All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] iommu: M1 Pro/Max DART support
@ 2021-11-17 21:15 ` Sven Peter via iommu
  0 siblings, 0 replies; 24+ messages in thread
From: Sven Peter @ 2021-11-17 21:15 UTC (permalink / raw)
  To: iommu
  Cc: Sven Peter, Joerg Roedel, Will Deacon, Rob Herring, Janne Grunau,
	Hector Martin, Robin Murphy, Alyssa Rosenzweig, devicetree,
	linux-kernel, linux-arm-kernel

Hi,

This is a fairly brief series to add support for the DARTs present in the
M1 Pro/Max. They have two differences that make them incompatible with
those in the M1:

  - the physical addresses are shifted left by 4 bits and and have 2 more
    bits inside the PTE entries
  - the subpage protection feature is now mandatory. For Linux we can
    just configure it to always allow access to the entire page.

Note that this needs a fix to the core pagetable code. Hector already
sent a first version separately to the mailing list since the problem
is (at least in theory) also present on other SoCs using the LPAE format
with a large physical address space [1].

Sven

[1] https://lore.kernel.org/linux-iommu/a2b45243-7e0a-a2ac-4e14-5256a3e7abb4@arm.com/T/#t

Sven Peter (4):
  dt-bindings: iommu: dart: add t6000 compatible
  iommu/io-pgtable: Add DART subpage protection support
  iommu/io-pgtable: Add DART PTE support for t6000
  iommu: dart: Support t6000 variant

 .../devicetree/bindings/iommu/apple,dart.yaml |  4 +-
 drivers/iommu/apple-dart.c                    | 19 ++++++++-
 drivers/iommu/io-pgtable-arm.c                | 40 ++++++++++++++++++-
 include/linux/io-pgtable.h                    |  2 +
 4 files changed, 61 insertions(+), 4 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2021-12-06 12:08 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17 21:15 [PATCH 0/4] iommu: M1 Pro/Max DART support Sven Peter
2021-11-17 21:15 ` Sven Peter
2021-11-17 21:15 ` Sven Peter via iommu
2021-11-17 21:15 ` [PATCH 1/4] dt-bindings: iommu: dart: add t6000 compatible Sven Peter
2021-11-17 21:15   ` Sven Peter
2021-11-17 21:15   ` Sven Peter via iommu
2021-11-29 22:50   ` Rob Herring
2021-11-29 22:50     ` Rob Herring
2021-11-29 22:50     ` Rob Herring
2021-11-17 21:15 ` [PATCH 2/4] iommu/io-pgtable: Add DART subpage protection support Sven Peter
2021-11-17 21:15   ` Sven Peter
2021-11-17 21:15   ` Sven Peter via iommu
2021-11-17 21:15 ` [PATCH 3/4] iommu/io-pgtable: Add DART PTE support for t6000 Sven Peter
2021-11-17 21:15   ` Sven Peter
2021-11-17 21:15   ` Sven Peter via iommu
2021-11-17 21:15 ` [PATCH 4/4] iommu: dart: Support t6000 variant Sven Peter
2021-11-17 21:15   ` Sven Peter
2021-11-17 21:15   ` Sven Peter via iommu
2021-11-30 20:56 ` [PATCH 0/4] iommu: M1 Pro/Max DART support Janne Grunau
2021-11-30 20:56   ` Janne Grunau
2021-11-30 20:56   ` Janne Grunau
2021-12-06 12:07 ` Joerg Roedel
2021-12-06 12:07   ` Joerg Roedel
2021-12-06 12:07   ` Joerg Roedel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.