Re: Access to local APIC registers during an interrupt handler

From: Robert Uhl
Date: Sun Jun 12 2011 - 08:22:23 EST


On 12.06.2011 13:01, Mikael Pettersson wrote:
> movq (lapic_idregister), %rcx
> movq (%rcx), %rcx

You're doing a 64-bit load from a 32-bit lapic register.

If changing the above movq (%rcx), %rcx to use movl instead makes it
work in real HW, then you've found an accepts-invalid bug in qemu.

It works with movl, thank you very much!
I will send a bug report to the qemu team.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/