Skip to contentSkip to conversation

Thunderbolt changes for v5.2

GIT PULL Mika Westerberg 2 participants 2 messages Apr 26, 2019 – Apr 27, 2019

lore
Share & tools
lore
#0 lore raw

Hi Greg,

The following changes since commit 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b:

Linux 5.1-rc1 (2019-03-17 14:22:26 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt.git tags/thunderbolt-for-v5.2

for you to fetch changes up to 37209783c73a47692dbf1e6b2dba0d07f6ce24b3:

thunderbolt: Make priority unsigned in struct tb_path (2019-04-25 12:18:27 +0300)

----------------------------------------------------------------
thunderbolt: Changes for v5.2 merge window

This improves software connection manager on older Apple systems with Thunderbolt 1 and 2 controller to support full PCIe daisy chains, Display Port tunneling and P2P networking. There are also fixes for potential NULL pointer dereferences at various places in the driver.

----------------------------------------------------------------

Aditya Pakki (4):
thunderbolt: Fix to check for kmemdup failure
thunderbolt: Fix to check return value of ida_simple_get
thunderbolt: xdomain: Fix to check return value of kmemdup
thunderbolt: Fix to check the return value of kmemdup

Kangjie Lu (3):
thunderbolt: property: Fix a NULL pointer dereference
thunderbolt: Fix a missing check of kmemdup
thunderbolt: property: Fix a missing check of kzalloc

Mika Westerberg (36):
net: thunderbolt: Unregister ThunderboltIP protocol handler when suspending
thunderbolt: Remove unused work field in struct tb_switch
thunderbolt: Drop duplicated get_switch_at_route()
thunderbolt: Block reads and writes if switch is unplugged
thunderbolt: Take domain lock in switch sysfs attribute callbacks
thunderbolt: Do not allocate switch if depth is greater than 6
thunderbolt: Enable TMU access when accessing port space on legacy devices
thunderbolt: Add dummy read after port capability list walk on Light Ridge
thunderbolt: Move LC specific functionality into a separate file
thunderbolt: Configure lanes when switch is initialized
thunderbolt: Set sleep bit when suspending switch
thunderbolt: Properly disable path
thunderbolt: Cache adapter specific capability offset into struct port
thunderbolt: Rename tunnel_pci to tunnel
thunderbolt: Generalize tunnel creation functionality
thunderbolt: Add functions for allocating and releasing HopIDs
thunderbolt: Assign remote for both ports in case of dual link
thunderbolt: Add helper function to iterate from one port to another
thunderbolt: Extend tunnel creation to more than 2 adjacent switches
thunderbolt: Deactivate all paths before restarting them
thunderbolt: Discover preboot PCIe paths the boot firmware established
thunderbolt: Add support for full PCIe daisy chains
thunderbolt: Scan only valid NULL adapter ports in hotplug
thunderbolt: Generalize port finding routines to support all port types
thunderbolt: Rework NFC credits handling
thunderbolt: Add support for Display Port tunnels
thunderbolt: Do not tear down tunnels when driver is unloaded
thunderbolt: Run tb_xdp_handle_request() in system workqueue
thunderbolt: Add XDomain UUID exchange support
thunderbolt: Add support for DMA tunnels
thunderbolt: Make tb_switch_alloc() return ERR_PTR()
thunderbolt: Add support for XDomain connections
thunderbolt: Make __TB_[SW|PORT]_PRINT take const parameters
thunderbolt: Make rest of the logging to happen at debug level
thunderbolt: Reword output of tb_dump_hop()
thunderbolt: Start firmware on Titan Ridge Apple systems

Nathan Chancellor (1):
thunderbolt: Make priority unsigned in struct tb_path

 drivers/net/thunderbolt.c        |   3 +
 drivers/thunderbolt/Makefile     |   4 +-
 drivers/thunderbolt/cap.c        |  85 ++++-
 drivers/thunderbolt/ctl.c        |   2 +-
 drivers/thunderbolt/icm.c        |  65 ++--
 drivers/thunderbolt/lc.c         | 179 ++++++++++
 drivers/thunderbolt/nhi.c        |   3 +-
 drivers/thunderbolt/path.c       | 420 ++++++++++++++++++++----
 drivers/thunderbolt/property.c   |  16 +-
 drivers/thunderbolt/switch.c     | 557 +++++++++++++++++++++++++------
 drivers/thunderbolt/tb.c         | 608 ++++++++++++++++++++++++++--------
 drivers/thunderbolt/tb.h         | 227 +++++++++++--
 drivers/thunderbolt/tb_msgs.h    |  11 +
 drivers/thunderbolt/tb_regs.h    |  50 ++-
 drivers/thunderbolt/tunnel.c     | 691 +++++++++++++++++++++++++++++++++++++++
 drivers/thunderbolt/tunnel.h     |  78 +++++
 drivers/thunderbolt/tunnel_pci.c | 226 -------------
 drivers/thunderbolt/tunnel_pci.h |  31 --
 drivers/thunderbolt/xdomain.c    | 170 ++++++++--
 include/linux/thunderbolt.h      |   8 +
 20 files changed, 2765 insertions(+), 669 deletions(-)
 create mode 100644 drivers/thunderbolt/lc.c
 create mode 100644 drivers/thunderbolt/tunnel.c
 create mode 100644 drivers/thunderbolt/tunnel.h
 delete mode 100644 drivers/thunderbolt/tunnel_pci.c
 delete mode 100644 drivers/thunderbolt/tunnel_pci.h
#1 lore raw
Quoted 9 lines · Mika Westerberg

Hi Greg,

The following changes since commit 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b:

Linux 5.1-rc1 (2019-03-17 14:22:26 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt.git tags/thunderbolt-for-v5.2

Now pulled and pushed out, thanks.

greg k-h