Skip to content
Commit dc09fe1c authored by Sven Peter's avatar Sven Peter Committed by Joerg Roedel
Browse files

iommu/io-pgtable-dart: Add DART PTE support for t6000



The DARTs present in the M1 Pro/Max/Ultra SoC use a diffent PTE format.
They support a 42bit physical address space by shifting the paddr and
extending its mask inside the PTE.
They also come with mandatory sub-page protection now which we just
configure to always allow access to the entire page. This feature is
already present but optional on the previous DARTs which allows to
unconditionally configure it.

Signed-off-by: default avatarSven Peter <sven@svenpeter.dev>
Co-developed-by: default avatarJanne Grunau <j@jannau.net>
Signed-off-by: default avatarJanne Grunau <j@jannau.net>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarHector Martin <marcan@marcan.st>
Link: https://lore.kernel.org/r/20220916094152.87137-5-j@jannau.net


Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent d8fe365a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment