x86_64: Fix memory access size for locore EOI
Newer QEMU (5.1) hangs / timeouts on a number of tests on x86_64. In debugging the issue this is related to a fix in QEMU 5.1 that validates memory region access. QEMU has the APIC region only allowing 1 to 4 byte access. 64-bit access is treated as an error. Change the APIC EOI access in locore.S back to just doing a 32-bit access. Fixes # 28453 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
c1c10993c7
commit
283a057279
1 changed files with 1 additions and 1 deletions
|
@ -696,7 +696,7 @@ irq_dispatch:
|
|||
wrmsr
|
||||
#else /* xAPIC */
|
||||
movq z_loapic_regs, %rdx
|
||||
movq %rax, LOAPIC_EOI(%rdx)
|
||||
movl %eax, LOAPIC_EOI(%rdx)
|
||||
#endif /* CONFIG_X2APIC */
|
||||
|
||||
movq %gs:__x86_tss64_t_cpu_OFFSET, %rsi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue