thunderbolt: Add device links for Apple T2
Get series with b4
b4 am [email protected]Versions newest first
- v10 Latest3 patches 1 replyIn review
Patches in v10 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | thunderbolt: Move tb_apple_add_links() to pci.cdrivers/ drivers/ drivers/ +1 more | +103 | 0 replies | |
| 2/3 | thunderbolt: Add device links for Apple machines with Titan Ridgedrivers/ | +2 | 0 replies | |
| 3/3 | thunderbolt: Add device links for Apple systems with Ice Lakedrivers/ | +35 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v10 yet.
Cover letter [PATCH v10 0/3] thunderbolt: Add device links for Apple T2
Hi all,
Original cover letter:
This series adds support for Device linking on Titan ridge, and Icelake, which are used exclusively on Apple T2 machines.
I went and did some changes so wanted to check that these still work on the Apple T2 systems. I dropped Tested-by from Alexander Fischer because these are not anymore the same patches. I would appreciate if you could re-test these and let me know if they still work or not.
The changes I did:
- Make ->add_links a NHI operation instead.
- Move the check to nhi.c instead after we have selected software CM.
- Split out add_link() helper that can be used both integrated and discrete case.
- Link only the matching PCIe root ports to the NHI that actually tunnels them. The previous version (v9) linked all four for each NHI so there are duplicate links. Each NHI tunnels just up to 2 PCIe root ports in Ice Lake.
v9 of the patch series can be found here:
https://lore.kernel.org/linux-usb/[email protected]/
Atharva Tiwari (3):
thunderbolt: Move tb_apple_add_links() to pci.c
thunderbolt: Add device links for Apple machines with Titan Ridge
thunderbolt: Add device links for Apple systems with Ice Lake
drivers/thunderbolt/nhi.c | 34 +++++++++--- drivers/thunderbolt/nhi.h | 2 + drivers/thunderbolt/pci.c | 113 ++++++++++++++++++++++++++++++++++++++ drivers/thunderbolt/tb.c | 78 -------------------------- 4 files changed, 140 insertions(+), 87 deletions(-)
Signature · 1 line
2.50.1