Re: [PATCH v3] iommu: Fix mapping check for 0x0 to avoid re-mapping it
From: Joerg Roedel
Date: Tue Mar 17 2026 - 08:33:45 EST
On Fri, Feb 27, 2026 at 09:06:37AM +0100, Antheas Kapenekakis wrote:
> Suggested-by: Robin Murphy <robin.murphy@xxxxxxx>
> Fixes: 789a5913b29c ("iommu/amd: Use the generic iommu page table")
> Signed-off-by: Antheas Kapenekakis <lkml@xxxxxxxxxxx>
>
> ---
> V2: https://lore.kernel.org/all/20260226204400.15573-1-lkml@xxxxxxxxxxx/
> V1: https://lore.kernel.org/lkml/20260221235050.2558321-1-lkml@xxxxxxxxxxx/
>
> Changes since V2:
> - When addr is 0, check for address 1 instead. Add Suggested by for
> Robin. This is an alternate fix.
>
> Changes since V1:
> - Remove closes tag. Turns out there are multiple compounding bugs.
> See [1]
> - Remove warn log
> - Remove the addr check and make skipping universal
> - Cleanup commit message
>
> [1] https://github.com/CachyOS/linux-cachyos/issues/704
> ---
> drivers/iommu/iommu.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
Applied, thanks