Skip to content

PCI: Add support for Apple M1

Marc Zyngier linux-devicetree linux-pci linuxppc-dev lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest14 patches 17 repliesIn review
  2. v410 patches 6 repliesSuperseded
  3. v310 patches 19 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14irqdomain: Make of_phandle_args_to_fwspec generally availableinclude/linux/irqdomain.h kernel/irq/irqdomain.c+7 -30 replies
2/14of/irq: Allow matching of an interrupt-map local to an interrupt controllerdrivers/of/irq.c+12 -50 replies
3/14PCI: of: Allow matching of an interrupt-map local to a PCI devicedrivers/pci/of.c+8 -20 replies
4/14PCI: apple: Add initial hardware bring-upMAINTAINERS drivers/pci/controller/Kconfig drivers/pci/controller/Makefile +1 more+257 -00 replies
5/14PCI: apple: Set up reference clocks when probingdrivers/pci/controller/pcie-apple.c+46 -00 replies
6/14PCI: apple: Add INTx and per-port interrupt supportdrivers/pci/controller/pcie-apple.c+209 -00 replies
7/14PCI: apple: Implement MSI supportdrivers/pci/controller/pcie-apple.c+168 -10 replies
8/14iommu/dart: Exclude MSI doorbell from PCIe device IOVA rangedrivers/iommu/apple-dart.c drivers/pci/controller/Kconfig drivers/pci/controller/pcie-apple.c+35 -10 replies
9/14PCI: apple: Configure RID to SID mapper on device additiondrivers/pci/controller/pcie-apple.c+163 -20 replies
10/14arm64: apple: Add pinctrl nodesarch/arm64/boot/dts/apple/t8103.dtsi+83 -05 replies
11/14arm64: apple: Add PCIe nodearch/arm64/boot/dts/apple/t8103.dtsi+63 -01 reply
12/14arm64: dts: apple: t8103: Add PCIe DARTsarch/arm64/boot/dts/apple/t8103.dtsi+30 -01 reply
13/14arm64: dts: apple: t8103: Add root port interrupt routingarch/arm64/boot/dts/apple/t8103.dtsi+30 -31 reply
14/14arm64: dts: apple: j274: Expose PCI node for the Ethernet MAC addressarch/arm64/boot/dts/apple/t8103-j274.dts+23 -01 reply

Reviews trailers per patch

10 of 14 patches have a Reviewed-by or Acked-by.

PatchAlyssa RosenzweigRob HerringSven PeterBjorn HelgaasMarc ZyngierLinus WalleijHector Martin
1/14T-b
2/14T-b R-b
3/14T-b R-b A-b
4/14R-b R-b
5/14
6/14T-b
7/14T-b
8/14T-b R-b
9/14T-b R-b
10/14R-b
11/14A-b A-b
12/14A-b
13/14T-b A-b
14/14A-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 7 reviewers.

Read the v5 thread

Cover letter [PATCH v5 00/14] PCI: Add support for Apple M1

This is v5 of the series adding PCIe support for the M1 SoC. Not a lot has changed this time around, and most of what I was saying in [1] is still valid.

Very little has changed code wise (a couple of bug fixes). The series however now carries a bunch of DT updates so that people can actually make use of PCIe on an M1 box (OK, not quite, you will still need [2], or whatever version replaces it). The corresponding bindings are either already merged, or queued for 5.16 (this is the case for the PCI binding).

It all should be in a state that makes it mergeable (yeah, I said that last time... I mean it this time! ;-).

As always, comments welcome.

	M.

[1] https://lore.kernel.org/r/[email protected]
[2] https://lore.kernel.org/r/[email protected]

Alyssa Rosenzweig (2):
PCI: apple: Add initial hardware bring-up
PCI: apple: Set up reference clocks when probing

Marc Zyngier (10):
irqdomain: Make of_phandle_args_to_fwspec generally available of/irq: Allow matching of an interrupt-map local to an interrupt
controller
PCI: of: Allow matching of an interrupt-map local to a PCI device
PCI: apple: Add INTx and per-port interrupt support
PCI: apple: Implement MSI support
iommu/dart: Exclude MSI doorbell from PCIe device IOVA range
PCI: apple: Configure RID to SID mapper on device addition
arm64: dts: apple: t8103: Add PCIe DARTs
arm64: dts: apple: t8103: Add root port interrupt routing
arm64: dts: apple: j274: Expose PCI node for the Ethernet MAC address

Mark Kettenis (2):
arm64: apple: Add pinctrl nodes
arm64: apple: Add PCIe node

 MAINTAINERS                              |   7 +
 arch/arm64/boot/dts/apple/t8103-j274.dts |  23 +
 arch/arm64/boot/dts/apple/t8103.dtsi     | 203 ++++++
 drivers/iommu/apple-dart.c               |  27 +
 drivers/of/irq.c                         |  17 +-
 drivers/pci/controller/Kconfig           |  17 +
 drivers/pci/controller/Makefile          |   1 +
 drivers/pci/controller/pcie-apple.c      | 822 +++++++++++++++++++++++
 drivers/pci/of.c                         |  10 +-
 include/linux/irqdomain.h                |   4 +
 kernel/irq/irqdomain.c                   |   6 +-
 11 files changed, 1127 insertions(+), 10 deletions(-)
 create mode 100644 drivers/pci/controller/pcie-apple.c
Signature · 1 line
2.30.2