summaryrefslogtreecommitdiffstats
path: root/intel_iommu-Downgrade-the-warning-if-enabling-irq-remapping-fails.patch
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@redhat.com>2013-05-24 12:58:52 -0400
committerJosh Boyer <jwboyer@redhat.com>2013-05-24 13:00:26 -0400
commit00db28f1cadf8d8448a096cc778c52b96865b48d (patch)
tree495302438abba3647dbcf8f3213d379f49b35275 /intel_iommu-Downgrade-the-warning-if-enabling-irq-remapping-fails.patch
parenta63cdb706f3bc99f79338ef3eaa04b2730fd59e6 (diff)
downloadkernel-00db28f1cadf8d8448a096cc778c52b96865b48d.tar.gz
kernel-00db28f1cadf8d8448a096cc778c52b96865b48d.tar.xz
kernel-00db28f1cadf8d8448a096cc778c52b96865b48d.zip
Add patch to quiet irq remapping failures (rhbz 948262)
Diffstat (limited to 'intel_iommu-Downgrade-the-warning-if-enabling-irq-remapping-fails.patch')
-rw-r--r--intel_iommu-Downgrade-the-warning-if-enabling-irq-remapping-fails.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/intel_iommu-Downgrade-the-warning-if-enabling-irq-remapping-fails.patch b/intel_iommu-Downgrade-the-warning-if-enabling-irq-remapping-fails.patch
new file mode 100644
index 000000000..424d60350
--- /dev/null
+++ b/intel_iommu-Downgrade-the-warning-if-enabling-irq-remapping-fails.patch
@@ -0,0 +1,25 @@
+This triggers on a MacBook Pro.
+
+Signed-off-by: Andy Lutomirski <luto@amacapital.net>
+https://bugzilla.redhat.com/show_bug.cgi?id=948262
+---
+ drivers/iommu/intel_irq_remapping.c | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/drivers/iommu/intel_irq_remapping.c b/drivers/iommu/intel_irq_remapping.c
+index f3b8f23..a7e0ad1 100644
+--- a/drivers/iommu/intel_irq_remapping.c
++++ b/drivers/iommu/intel_irq_remapping.c
+@@ -654,8 +654,7 @@ error:
+ */
+
+ if (x2apic_present)
+- WARN(1, KERN_WARNING
+- "Failed to enable irq remapping. You are vulnerable to irq-injection attacks.\n");
++ pr_warn("Failed to enable irq remapping. You are vulnerable to irq-injection attacks.\n");
+
+ return -1;
+ }
+--
+1.8.1.4
+