lkml.org 
[lkml]   [2013]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] intel_iommu: Downgrade the warning if enabling irq remapping fails
On Mon, May 13, 2013 at 03:22:42PM -0700, Andy Lutomirski wrote:
> 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

Applied to x86/vt-d, thanks.




\
 
 \ /
  Last update: 2013-06-20 17:21    [W:0.048 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site