| Date | Thu, 23 Aug 2012 22:58:40 +0200 | From | Sebastian Andrzej Siewior <> | Subject | Re: [PATCH 02/19] [RFC] x86, apic: Mask IO-APIC and PIC unconditionally on LAPIC resume |
| |
On Mon, Aug 20, 2012 at 03:55:48PM +0200, Joerg Roedel wrote: > IO-APIC and PIC use the same resume routines when IRQ > remapping is enabled or disabled. So it should be safe to > mask the other APICs for the IRQ-remapping-disabled case > too.
So your point is that it works with irq-remapping so it should work without as well. The lapic code registers its opcodes as the first syscore device so this code is always executed before the lapic's and pic resume code. PIC masks its sources during init so it does not matter if they are masked earlier. And ioapic, well it restores its entries as well. So yes, I think this safe to do here.
Sebastian
|