[PATCH] iommu/vt-d: Fix return value check of parse_ioapics_under_ir()
From: Joerg Roedel
Date: Mon Nov 02 2015 - 06:00:27 EST
On Mon, Nov 02, 2015 at 04:39:18PM +0800, kernel test robot wrote:
> FYI, we noticed the below changes on
>
> https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git x86/vt-d
> commit a13c8f27e4d79420ae7bcb48123fa13851026428 ("iommu/vt-d: Adjust the return value of the parse_ioapics_under_ir")
>
> We found the following new message in kernel log.
>
> [ 0.126325] DMAR-IR: Failed to enable irq remapping. You are vulnerable to irq-injection attacks.
Thanks for the report, I just queued the fix below.