diff options
author | Yinghai Lu <yinghai@kernel.org> | 2009-02-16 20:29:58 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-17 06:22:20 -0500 |
commit | 06cd9a7dc8a58186060a91b6ddc031057435fd34 (patch) | |
tree | cc015c3a966f31ef77cb458e0b480ffc0eb12acd /arch/x86/Kconfig | |
parent | 9f361c221912b6ffa1f7836e0bbf843917f6fce7 (diff) |
x86: add x2apic config
Impact: cleanup
so could deselect x2apic
and INTR_REMAP will select x2apic
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 1042d69b267d..bce241fe1d2d 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -235,6 +235,20 @@ config SMP | |||
235 | 235 | ||
236 | If you don't know what to do here, say N. | 236 | If you don't know what to do here, say N. |
237 | 237 | ||
238 | config X86_X2APIC | ||
239 | bool "Support x2apic" | ||
240 | depends on X86_LOCAL_APIC && X86_64 | ||
241 | ---help--- | ||
242 | This enables x2apic support on CPUs that have this feature. | ||
243 | |||
244 | This allows 32-bit apic IDs (so it can support very large systems), | ||
245 | and accesses the local apic via MSRs not via mmio. | ||
246 | |||
247 | ( On certain CPU models you may need to enable INTR_REMAP too, | ||
248 | to get functional x2apic mode. ) | ||
249 | |||
250 | If you don't know what to do here, say N. | ||
251 | |||
238 | config SPARSE_IRQ | 252 | config SPARSE_IRQ |
239 | bool "Support sparse irq numbering" | 253 | bool "Support sparse irq numbering" |
240 | depends on PCI_MSI || HT_IRQ | 254 | depends on PCI_MSI || HT_IRQ |
@@ -1828,6 +1842,7 @@ config DMAR_FLOPPY_WA | |||
1828 | config INTR_REMAP | 1842 | config INTR_REMAP |
1829 | bool "Support for Interrupt Remapping (EXPERIMENTAL)" | 1843 | bool "Support for Interrupt Remapping (EXPERIMENTAL)" |
1830 | depends on X86_64 && X86_IO_APIC && PCI_MSI && ACPI && EXPERIMENTAL | 1844 | depends on X86_64 && X86_IO_APIC && PCI_MSI && ACPI && EXPERIMENTAL |
1845 | select X86_X2APIC | ||
1831 | ---help--- | 1846 | ---help--- |
1832 | Supports Interrupt remapping for IO-APIC and MSI devices. | 1847 | Supports Interrupt remapping for IO-APIC and MSI devices. |
1833 | To use x2apic mode in the CPU's which support x2APIC enhancements or | 1848 | To use x2apic mode in the CPU's which support x2APIC enhancements or |