Skip to content

thunderbolt: Changes for v4.17 merge window

Mika Westerberg lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest19 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19thunderbolt: Resume control channel after hibernation image is createddrivers/thunderbolt/nhi.c+1 -00 replies
2/19thunderbolt: Serialize PCIe tunnel creation with PCI rescandrivers/thunderbolt/switch.c+9 -00 replies
3/19thunderbolt: Handle connecting device in place of host properlydrivers/thunderbolt/icm.c+17 -90 replies
4/19thunderbolt: Do not overwrite error code when domain adding failsdrivers/thunderbolt/nhi.c+1 -10 replies
5/19thunderbolt: Wait a bit longer for root switch config spacedrivers/thunderbolt/icm.c+2 -10 replies
6/19thunderbolt: Wait a bit longer for ICM to authenticate the active NVMdrivers/thunderbolt/icm.c+5 -20 replies
7/19thunderbolt: Handle rejected Thunderbolt devicesdrivers/thunderbolt/icm.c drivers/thunderbolt/tb_msgs.h+7 -00 replies
8/19thunderbolt: Factor common ICM add and update operations outdrivers/thunderbolt/icm.c+87 -490 replies
9/19thunderbolt: Correct function name in kernel-doc commentdrivers/thunderbolt/switch.c+1 -10 replies
10/19thunderbolt: Add tb_switch_get()drivers/thunderbolt/tb.h+7 -00 replies
11/19thunderbolt: Add tb_switch_find_by_route()drivers/thunderbolt/switch.c drivers/thunderbolt/tb.h+34 -00 replies
12/19thunderbolt: Add tb_xdomain_find_by_route()drivers/thunderbolt/xdomain.c include/linux/thunderbolt.h+48 -120 replies
13/19thunderbolt: Add constant for approval timeoutdrivers/thunderbolt/icm.c+3 -20 replies
14/19thunderbolt: Move driver ready handling to struct icmdrivers/thunderbolt/icm.c drivers/thunderbolt/tb_msgs.h+35 -130 replies
15/19thunderbolt: Add 'boot' attribute for devicesDocumentation/ABI/testing/sysfs-bus-thunderbolt drivers/thunderbolt/icm.c drivers/thunderbolt/switch.c +2 more+32 -40 replies
16/19thunderbolt: Add support for preboot ACLDocumentation/ABI/testing/sysfs-bus-thunderbolt drivers/thunderbolt/domain.c drivers/thunderbolt/icm.c +3 more+335 -100 replies
17/19thunderbolt: Introduce USB only (SL4) security levelDocumentation/ABI/testing/sysfs-bus-thunderbolt Documentation/admin-guide/thunderbolt.rst drivers/thunderbolt/domain.c +1 more+23 -60 replies
18/19thunderbolt: Add support for Intel Titan Ridgedrivers/thunderbolt/dma_port.c drivers/thunderbolt/icm.c drivers/thunderbolt/nhi.c +3 more+546 -150 replies
19/19thunderbolt: Prevent crash when ICM firmware is not runningdrivers/thunderbolt/icm.c+3 -00 replies

Reviews trailers per patch

All 19 patches have a Reviewed-by or Acked-by.

PatchAndy ShevchenkoYehezkel Bernat
1/19R-b
2/19R-b
3/19R-b
4/19R-b
5/19R-b
6/19R-b
7/19R-b
8/19R-b
9/19R-b
10/19R-b
11/19R-b
12/19R-b
13/19R-b
14/19R-b
15/19R-b
16/19R-b
17/19R-b
18/19R-b
19/19A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/19] thunderbolt: Changes for v4.17 merge window

Hi Greg,

Here are Thunderbolt changes for v4.17 merge window as a patch series and there is also a signed tag that you may choose pull directly.

New features:

- Intel Titan Ridge Thunderbolt 3 controller support
- Preboot ACL supported, allowing more secure way to boot from Thunderbolt devices
- New "USB only" security level

In addition there are a couple of fixes for increasing timeout when authenticating the ICM firmware and reading root switch config space. Preventing a crash on certain Lenovo systems where ICM firmware for some reason is not always properly starting up.

Thanks!

The following changes since commit 661e50bc853209e41a5c14a290ca4decc43cbfd1:

Linux 4.16-rc4 (2018-03-04 14:54:11 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt.git tags/thunderbolt-for-v4.17

for you to fetch changes up to ea9d7bb798900096f26c585957d6ad9c532417e6:

thunderbolt: Prevent crash when ICM firmware is not running (2018-03-14 14:26:38 +0300)

Mika Westerberg (14):
thunderbolt: Resume control channel after hibernation image is created
thunderbolt: Serialize PCIe tunnel creation with PCI rescan
thunderbolt: Handle connecting device in place of host properly
thunderbolt: Do not overwrite error code when domain adding fails
thunderbolt: Wait a bit longer for root switch config space
thunderbolt: Wait a bit longer for ICM to authenticate the active NVM
thunderbolt: Handle rejected Thunderbolt devices
thunderbolt: Factor common ICM add and update operations out
thunderbolt: Add tb_switch_get()
thunderbolt: Add constant for approval timeout
thunderbolt: Move driver ready handling to struct icm
thunderbolt: Add support for preboot ACL
thunderbolt: Introduce USB only (SL4) security level
thunderbolt: Prevent crash when ICM firmware is not running

Radion Mirchevsky (4):
thunderbolt: Correct function name in kernel-doc comment
thunderbolt: Add tb_switch_find_by_route()
thunderbolt: Add tb_xdomain_find_by_route()
thunderbolt: Add support for Intel Titan Ridge

Yehezkel Bernat (1):
thunderbolt: Add 'boot' attribute for devices

 Documentation/ABI/testing/sysfs-bus-thunderbolt |  33 +
 Documentation/admin-guide/thunderbolt.rst       |  15 +-
 drivers/thunderbolt/dma_port.c                  |  28 +-
 drivers/thunderbolt/domain.c                    | 130 +++-
 drivers/thunderbolt/icm.c                       | 764 +++++++++++++++++++++---
 drivers/thunderbolt/nhi.c                       |   5 +-
 drivers/thunderbolt/nhi.h                       |   5 +
 drivers/thunderbolt/switch.c                    |  61 +-
 drivers/thunderbolt/tb.h                        |  14 +
 drivers/thunderbolt/tb_msgs.h                   | 180 +++++-
 drivers/thunderbolt/xdomain.c                   |  47 +-
 include/linux/thunderbolt.h                     |  19 +
 12 files changed, 1186 insertions(+), 115 deletions(-)
Signature · 1 line
2.16.2