summaryrefslogtreecommitdiffstats
path: root/include/linux/io-pgtable.h
diff options
context:
space:
mode:
authorSven Peter <sven@svenpeter.dev>2022-09-16 11:41:51 +0200
committerJoerg Roedel <jroedel@suse.de>2022-09-26 13:49:40 +0200
commitdc09fe1c5edd9c27a52cb6dc5a7bb4452d45c71c (patch)
tree07a0ab89382e6d199cf9cc71ad944332602aa98c /include/linux/io-pgtable.h
parentd8fe365a4f1c1aa5e2da3e41f50a08c9bd8d6112 (diff)
downloadlinux-dc09fe1c5edd9c27a52cb6dc5a7bb4452d45c71c.tar.gz
linux-dc09fe1c5edd9c27a52cb6dc5a7bb4452d45c71c.tar.bz2
linux-dc09fe1c5edd9c27a52cb6dc5a7bb4452d45c71c.zip
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: Sven Peter <sven@svenpeter.dev> Co-developed-by: Janne Grunau <j@jannau.net> Signed-off-by: Janne Grunau <j@jannau.net> Reviewed-by: Rob Herring <robh@kernel.org> Acked-by: Hector Martin <marcan@marcan.st> Link: https://lore.kernel.org/r/20220916094152.87137-5-j@jannau.net Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/linux/io-pgtable.h')
-rw-r--r--include/linux/io-pgtable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/io-pgtable.h b/include/linux/io-pgtable.h
index ca98aeadcc80..b768937382cd 100644
--- a/include/linux/io-pgtable.h
+++ b/include/linux/io-pgtable.h
@@ -17,6 +17,7 @@ enum io_pgtable_fmt {
ARM_MALI_LPAE,
AMD_IOMMU_V1,
APPLE_DART,
+ APPLE_DART2,
IO_PGTABLE_NUM_FMTS,
};