Hi, On 7/11/25 4:56 PM, Damien Zammit wrote: > This avoids race condition with multiple devices raising interrupts > simultaneously on the same IRQ and causing mask to fail.
If we add locking per apic pin, we need to lock in EOI as well. I have been testing a patch locally here but it has introduced a regression with real machine sometimes crashing and rebooting. I think it might be related to keyboard spurious interrupt before init_irqs() is called, but I can't replicate in qemu yet. When I figure out how to resolve that, I will probably submit a revised patch. Please ignore this patch for now, as it needs refactoring anyway. Damien