Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iommu/vt-d: Downgrade the warning if enabling irq remapping fails

This triggers on a MacBook Pro.
See https://bugzilla.redhat.com/show_bug.cgi?id=948262 for
the problem report.

Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Joerg Roedel <joro@8bytes.org>

authored by

Andy Lutomirski and committed by
Joerg Roedel
d01140df 7d132055

+1 -2
+1 -2
drivers/iommu/intel_irq_remapping.c
··· 664 664 */ 665 665 666 666 if (x2apic_present) 667 - WARN(1, KERN_WARNING 668 - "Failed to enable irq remapping. You are vulnerable to irq-injection attacks.\n"); 667 + pr_warn("Failed to enable irq remapping. You are vulnerable to irq-injection attacks.\n"); 669 668 670 669 return -1; 671 670 }