Messages in this thread | | | Date | Wed, 1 Dec 2010 00:51:52 -0800 | From | Chris Wright <> | Subject | Re: [patch 3/4] x86: enable the intr-remap fault handling after local apic setup |
| |
* Suresh Siddha (suresh.b.siddha@intel.com) wrote: > From: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> > Subject: x86: enable the intr-remap fault handling after local apic setup > > Interrupt-remapping gets enabled very early in the boot, as it determines the > apic mode that the processor can use. And the current code enables the vt-d > fault handling before the setup_local_APIC(). And hence the APIC LDR registers > and data structure in the memory may not be initialized. So the vt-d fault > handling in logical xapic/x2apic modes were broken. > > Fix this by enabling the vt-d fault handling in the end_local_APIC_setup() > > A cleaner fix of enabling fault handling while enabling intr-remapping > will be addressed for v2.6.38. [ Enabling intr-remapping determines the > usage of x2apic mode and the apic mode determines the fault-handling > configuration. ] > > Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> > Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Acked-by: Chris Wright <chrisw@sous-sol.org>
| |