mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 09:44:13 +00:00
hv_exc: Fix global IPIs
Reported-by: Joey Gouly <joey.gouly@arm.com> Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
72788291e6
commit
5787eb2d64
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ static bool hv_handle_msr(struct exc_info *ctx, u64 iss)
|
|||
case SYSREG_ISS(SYS_IMP_APL_IPI_RR_GLOBAL_EL1):
|
||||
assert(!is_read);
|
||||
u64 mpidr = (regs[rt] & 0xff) | ((regs[rt] & 0xff0000) >> 8);
|
||||
msr(SYS_IMP_APL_IPI_RR_LOCAL_EL1, regs[rt]);
|
||||
msr(SYS_IMP_APL_IPI_RR_GLOBAL_EL1, regs[rt]);
|
||||
for (int i = 0; i < MAX_CPUS; i++) {
|
||||
if (mpidr == (smp_get_mpidr(i) & 0xffff))
|
||||
ipi_queued[i] = true;
|
||||
|
|
Loading…
Reference in a new issue