[PATCH 4/6] iommu/generic_pt: Add Broadcom BCM2712 page table format
Jason Gunthorpe
jgg at ziepe.ca
Sun Jul 12 15:05:54 PDT 2026
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 at reactivated.net>
> ---
> 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 at nvidia.com>
Jason
More information about the linux-arm-kernel
mailing list