x2apic/intr-remap: decouple interrupt remapping from x2apic
authorHan, Weidong <weidong.han@intel.com>
Fri, 3 Apr 2009 09:15:50 +0000 (17:15 +0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 4 Apr 2009 09:42:28 +0000 (10:42 +0100)
commitd0b03bd1c6725a3463290d7f9626e4b583518a5a
treece4ef17315c5435a8a77cd8fdb47e17193093349
parent34aaaa948e3c9dd65b27fa499c5c9e8d8f1227cf
x2apic/intr-remap: decouple interrupt remapping from x2apic

interrupt remapping must be enabled before enabling x2apic, but
interrupt remapping doesn't depend on x2apic, it can be used
separately. Enable interrupt remapping in init_dmars even x2apic
is not supported.

[dwmw2: Update Kconfig accordingly, fix build with INTR_REMAP && !X2APIC]

Signed-off-by: Weidong Han <weidong.han@intel.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
arch/x86/Kconfig
arch/x86/include/asm/apic.h
arch/x86/kernel/apic/io_apic.c
drivers/pci/intel-iommu.c