mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00
fix(xilinx): fix sending sgi to linux
Currently in Versal NET TF-A writing 32 bits in icc_asgi1r_el1 register to raise SGI to Linux but this register is of 64 bits. Also its writing only CPU number and SGI number to this register but along with that it needs to write cluster number and other information. Which is not happening currently. So use generic function plat_ic_raise_ns_sgi() to raise SGI to Linux. Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com> Change-Id: I6f5146c8315a321b705ed2ef79e2dc927b805ffb
This commit is contained in:
parent
5949701600
commit
427e46ddea
1 changed files with 1 additions and 7 deletions
|
@ -45,13 +45,7 @@ bool pwrdwn_req_received;
|
|||
|
||||
static void notify_os(void)
|
||||
{
|
||||
int32_t cpu;
|
||||
uint32_t reg;
|
||||
|
||||
cpu = plat_my_core_pos() + 1U;
|
||||
|
||||
reg = (cpu | (sgi << XSCUGIC_SGIR_EL1_INITID_SHIFT));
|
||||
write_icc_asgi1r_el1(reg);
|
||||
plat_ic_raise_ns_sgi(sgi, read_mpidr_el1());
|
||||
}
|
||||
|
||||
static uint64_t cpu_pwrdwn_req_handler(uint32_t id, uint32_t flags,
|
||||
|
|
Loading…
Add table
Reference in a new issue