[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <160987465284.30865.16684216909917986687.b4-ty@kernel.org>
Date: Tue, 5 Jan 2021 22:07:02 +0000
From: Will Deacon <will@...nel.org>
To: Johnathan Smithinovic <johnathan.smithinovic@....at>,
mingo@...hat.com, David Woodhouse <dwmw2@...radead.org>,
tglx@...utronix.de, bp@...en8.de
Cc: catalin.marinas@....com, kernel-team@...roid.com,
Will Deacon <will@...nel.org>, x86@...nel.org,
linux-kernel@...r.kernel.org,
iommu <iommu@...ts.linux-foundation.org>
Subject: Re: [PATCH] iommu/amd: Stop irq_remapping_select() matching when remapping is disabled
On Tue, 05 Jan 2021 01:36:13 +0000, David Woodhouse wrote:
> The AMD IOMMU initialisation registers the IRQ remapping domain for
> each IOMMU before doing the final sanity check that every I/OAPIC is
> covered.
>
> This means that the AMD irq_remapping_select() function gets invoked
> even when IRQ remapping has been disabled, eventually leading to a NULL
> pointer dereference in alloc_irq_table().
>
> [...]
Applied to arm64 (for-next/iommu/fixes), thanks!
[1/1] iommu/amd: Stop irq_remapping_select() matching when remapping is disabled
https://git.kernel.org/arm64/c/b34f10c2dc59
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Powered by blists - more mailing lists