mbox series

[0/7] iommu: dart: Apple t8110 DART support

Message ID 20230113105029.26654-1-marcan@marcan.st (mailing list archive)
Headers show
Series iommu: dart: Apple t8110 DART support | expand

Message

Hector Martin Jan. 13, 2023, 10:50 a.m. UTC
Hi all,

This series adds support for the T8110 DARTs used for the Thunderbolt
controllers on T600x SoCs and everywhere on T8112 SoCs.

This new DART revision shuffles the registers around and removes
support for multiple TTBR registers per SID (which never made sense on
16K configurations), but otherwise works much like the existing DART
hardware. The pagetable format is the same as t600x, so no changes are
needed there.

Once reviewed, I'd like to merge patch #1 through the Asahi-SoC tree so
we can start using it in device trees right away, instead of waiting for
one release cycle. Patches #2 onwards should go through the IOMMU tree.

v2: Addressed minor review comments (style nits and minor fixes).

Hector Martin (7):
  dt-bindings: iommu: dart: add t8110 compatible
  iommu: dart: Add suspend/resume support
  iommu: dart: Support >64 stream IDs
  iommu: dart: Support a variable number of TTBRs per stream
  iommu: dart: Fix DART_PARAMS1/2 bit define names
  iommu: dart: Support different variants with different registers
  iommu: dart: Add t8110 DART support

 .../devicetree/bindings/iommu/apple,dart.yaml |   1 +
 drivers/iommu/apple-dart.c                    | 557 ++++++++++++++----
 2 files changed, 448 insertions(+), 110 deletions(-)

--
2.35.1

Comments

Joerg Roedel Jan. 20, 2023, 9:36 a.m. UTC | #1
On Fri, Jan 13, 2023 at 07:50:23PM +0900, Hector Martin wrote:
> Hector Martin (7):
>   dt-bindings: iommu: dart: add t8110 compatible
>   iommu: dart: Add suspend/resume support
>   iommu: dart: Support >64 stream IDs
>   iommu: dart: Support a variable number of TTBRs per stream
>   iommu: dart: Fix DART_PARAMS1/2 bit define names
>   iommu: dart: Support different variants with different registers
>   iommu: dart: Add t8110 DART support
> 
>  .../devicetree/bindings/iommu/apple,dart.yaml |   1 +
>  drivers/iommu/apple-dart.c                    | 557 ++++++++++++++----
>  2 files changed, 448 insertions(+), 110 deletions(-)

Applied, thanks Hector.