Skip to content

Apple M1 USB4/Thunderbolt DART support

Sven Peter asahi linux-arm-kernel linux-devicetree linux-iommu lkml 4 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 2 repliesApplied
  2. v33 patches 1 replySuperseded
  3. v24 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches5 repliesSuperseded

Changes in v4 from the cover letter

none

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3dt-bindings: iommu: dart: Add t8103-usb4-dart compatibleDocumentation/devicetree/bindings/iommu/apple,dart.yaml+1 -00 replies
2/3iommu: dart: Write to all DART_T8020_STREAM_SELECTdrivers/iommu/apple-dart.c+4 -20 replies
3/3iommu: dart: Add support for t8103 USB4 DARTdrivers/iommu/apple-dart.c+29 -00 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHector MartinRob HerringNeal Gompa
SeriesR-b
1/3A-b A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/3] Apple M1 USB4/Thunderbolt DART support

Hi,

The M1 SoCs have a second slightly different variant of the regular DART used for the USB4 PCIe ports. It supports 64 instead of 16 streams which requires a minor change to the MMIO layout.
There seems to be no way to tell them apart from the regular DARTs by just looking at the DART_PARAMs register so we have to add a new compatible for those.

Changes since v3:
none

Changes since v2:
- drop the manual bypass disable
- added Rob's tag

Changes since v1:
- apple,t8103-usb4-dart instead of apple,t8103-dart-usb4 as the compatible
- collected Hector's tags

Best,

Sven

Sven Peter (3):
dt-bindings: iommu: dart: Add t8103-usb4-dart compatible
iommu: dart: Write to all DART_T8020_STREAM_SELECT
iommu: dart: Add support for t8103 USB4 DART

 .../devicetree/bindings/iommu/apple,dart.yaml |  1 +
 drivers/iommu/apple-dart.c                    | 35 +++++++++++++++++--
 2 files changed, 34 insertions(+), 2 deletions(-)
Signature · 1 line
2.34.1