Re: [PATCH 4/6] iommu/generic_pt: Add Broadcom BCM2712 page table format
From: Jason Gunthorpe
Date: Sun Jul 12 2026 - 18:06:05 EST
On Sun, Jul 12, 2026 at 10:18:54PM +0100, Daniel Drake wrote:
> The BCM2712 IOMMU implements a 2-level page table format. It is relatively
> simple, with one unusual aspect: leaf entries can only be installed at
> Level 0.
>
> Adapted from Raspberry Pi's downstream bcm2712-iommu driver (original
> author Nick Hollinghurst).
>
> Signed-off-by: Daniel Drake <dan@xxxxxxxxxxxxxxx>
> ---
> drivers/iommu/generic_pt/.kunitconfig | 1 +
> drivers/iommu/generic_pt/Kconfig | 10 ++
> drivers/iommu/generic_pt/fmt/Makefile | 2 +
> drivers/iommu/generic_pt/fmt/bcm2712.h | 259 +++++++++++++++++++++++++++
> drivers/iommu/generic_pt/fmt/defs_bcm2712.h | 18 ++
> drivers/iommu/generic_pt/fmt/iommu_bcm2712.c | 10 ++
> include/linux/generic_pt/common.h | 7 +
> include/linux/generic_pt/iommu.h | 13 ++
> 8 files changed, 320 insertions(+)
Looks straightforward to me!
Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
Jason