[PATCH v2 0/2] Add support for downstream port reset(DPR)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tunnels created by boot firmware results in incorrect PCI resource
allocation, which results in failure of extending daisy chain.

This series aligns with windows behaviour of performing a teardown of
tunnels and resetting the downstream ports using DPR during the init
sequence.

Changes since V1:
 - Perform DPR only for USB4 routers.
 - Update kernel-doc and return value to -EOPNOTSUPP.
 - Limit delay range to 10-15ms.

Sanath S (2):
  thunderbolt: Introduce tb_switch_reset_ports(), tb_port_reset() and
    usb4_port_reset()
  thunderbolt: Teardown tunnels and reset downstream ports created by
    boot firmware

 drivers/thunderbolt/switch.c  | 35 +++++++++++++++++++++++++++++++
 drivers/thunderbolt/tb.c      | 11 ++++++++++
 drivers/thunderbolt/tb.h      |  2 ++
 drivers/thunderbolt/tb_regs.h |  1 +
 drivers/thunderbolt/usb4.c    | 39 +++++++++++++++++++++++++++++++++++
 5 files changed, 88 insertions(+)

-- 
2.34.1





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux