[PATCH 4/6] iommu/generic_pt: Add Broadcom BCM2712 page table format
Jason Gunthorpe
jgg at ziepe.ca
Mon Jul 13 05:00:53 PDT 2026
On Mon, Jul 13, 2026 at 11:02:15AM +0100, Nick Hollinghurst wrote:
> Hi Daniel,
>
> On Sun, 12 Jul 2026 at 22:19, Daniel Drake <dan at reactivated.net> 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.
>
> I should admit that a single-level huge page mapping is possible, but
> I was too lazy to implement it (and haven't much tested it).
>
> It can be done by setting bits 31, 30 and 28 of the top-level entry
> (all other combinations of bits 31, 30 will point to a next-level
> table). The page number is in 4K units but must be 4MB aligned.
Let's do that instead of the weird full level contiguation page thing
please
Jason
More information about the linux-arm-kernel
mailing list