| From 42ba3c84abfea57314bf01c5a228213040c384b9 Mon Sep 17 00:00:00 2001 |
| From: Thomas Gleixner <tglx@linutronix.de> |
| Date: Fri, 18 Sep 2009 17:40:49 +0200 |
| Subject: [PATCH] x86: Disable SPARSE_IRQ, DMAR, INTR_REMAP when PREEMPT_RT=y |
| |
| commit 82c07cbbdf7d44564497122eb6d984ffe2497fa3 in tip. |
| |
| Memory allocations in irq/preempt disabled regions is the main cause |
| of grief with these features. Needs some real work to get that solved. |
| |
| Signed-off-by: Thomas Gleixner <tglx@linutronix.de> |
| |
| diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig |
| index 8b29139..f50f8b0 100644 |
| --- a/arch/x86/Kconfig |
| +++ b/arch/x86/Kconfig |
| @@ -289,6 +289,7 @@ config X86_X2APIC |
| config SPARSE_IRQ |
| bool "Support sparse irq numbering" |
| depends on PCI_MSI || HT_IRQ |
| + depends on !PREEMPT_RT |
| ---help--- |
| This enables support for sparse irqs. This is useful for distro |
| kernels that want to define a high CONFIG_NR_CPUS value but still |
| @@ -1906,7 +1907,7 @@ config PCI_MMCONFIG |
| |
| config DMAR |
| bool "Support for DMA Remapping Devices (EXPERIMENTAL)" |
| - depends on PCI_MSI && ACPI && EXPERIMENTAL |
| + depends on PCI_MSI && ACPI && EXPERIMENTAL && !PREEMPT_RT |
| help |
| DMA remapping (DMAR) devices support enables independent address |
| translations for Direct Memory Access (DMA) from devices. |
| @@ -1949,6 +1950,7 @@ config DMAR_FLOPPY_WA |
| config INTR_REMAP |
| bool "Support for Interrupt Remapping (EXPERIMENTAL)" |
| depends on X86_64 && X86_IO_APIC && PCI_MSI && ACPI && EXPERIMENTAL |
| + depends on !PREEMPT_RT |
| ---help--- |
| Supports Interrupt remapping for IO-APIC and MSI devices. |
| To use x2apic mode in the CPU's which support x2APIC enhancements or |
| -- |
| 1.7.1.1 |
| |