1. 02 May, 2019 37 commits
  2. 29 Apr, 2019 1 commit
  3. 27 Apr, 2019 2 commits
    • Greg Kroah-Hartman's avatar
      Merge tag 'thunderbolt-for-v5.2' of... · c0286f56
      Greg Kroah-Hartman authored
      Merge tag 'thunderbolt-for-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt into char-misc-next
      
      Mika writes:
      
      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.
      
      * tag 'thunderbolt-for-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt: (44 commits)
        thunderbolt: Make priority unsigned in struct tb_path
        thunderbolt: Start firmware on Titan Ridge Apple systems
        thunderbolt: Reword output of tb_dump_hop()
        thunderbolt: Make rest of the logging to happen at debug level
        thunderbolt: Make __TB_[SW|PORT]_PRINT take const parameters
        thunderbolt: Add support for XDomain connections
        thunderbolt: Make tb_switch_alloc() return ERR_PTR()
        thunderbolt: Add support for DMA tunnels
        thunderbolt: Add XDomain UUID exchange support
        thunderbolt: Run tb_xdp_handle_request() in system workqueue
        thunderbolt: Do not tear down tunnels when driver is unloaded
        thunderbolt: Add support for Display Port tunnels
        thunderbolt: Rework NFC credits handling
        thunderbolt: Generalize port finding routines to support all port types
        thunderbolt: Scan only valid NULL adapter ports in hotplug
        thunderbolt: Add support for full PCIe daisy chains
        thunderbolt: Discover preboot PCIe paths the boot firmware established
        thunderbolt: Deactivate all paths before restarting them
        thunderbolt: Extend tunnel creation to more than 2 adjacent switches
        thunderbolt: Add helper function to iterate from one port to another
        ...
      c0286f56
    • Mariusz Bialonczyk's avatar
      w1: fix the resume command API · 62909da8
      Mariusz Bialonczyk authored
      >From the DS2408 datasheet [1]:
      "Resume Command function checks the status of the RC flag and, if it is set,
       directly transfers control to the control functions, similar to a Skip ROM
       command. The only way to set the RC flag is through successfully executing
       the Match ROM, Search ROM, Conditional Search ROM, or Overdrive-Match ROM
       command"
      
      The function currently works perfectly fine in a multidrop bus, but when we
      have only a single slave connected, then only a Skip ROM is used and Match
      ROM is not called at all. This is leading to problems e.g. with single one
      DS2408 connected, as the Resume Command is not working properly and the
      device is responding with failing results after the Resume Command.
      
      This commit is fixing this by using a Skip ROM instead in those cases.
      The bandwidth / performance advantage is exactly the same.
      
      Refs:
      [1] https://datasheets.maximintegrated.com/en/ds/DS2408.pdfSigned-off-by: default avatarMariusz Bialonczyk <manio@skyboo.net>
      Reviewed-by: default avatarJean-Francois Dagenais <jeff.dagenais@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      62909da8