요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Authorization, secure key, identity, and link lanes
sysfs-bus-thunderbolt:64-203장치 authorization과 secure challenge, DROM identity, UUID·UID, RX/TX lane 정보 및 NVM version을 제공합니다.
NVM validation, flush, and authentication
sysfs-bus-thunderbolt:204-245NVM image는 검증·flush·authentication을 분리하거나 결합할 수 있고 지원 장치는 disconnect 시 자동 인증을 준비할 수 있습니다.
XDomain service protocol metadata
sysfs-bus-thunderbolt:246-295XDomain service는 예약 protocol key, MODALIAS, protocol·software version과 service-specific bitmask를 제공합니다.
Type-C connector, link, offline mode, and rescan
sysfs-bus-thunderbolt:296-338USB4 port는 connector symlink와 link mode를 제공하며 cable이 없는 조건에서 onboard retimer NVM 작업용 offline/rescan을 지원합니다.
Retimer identity and NVM firmware
sysfs-bus-thunderbolt:339-370각 retimer는 hardware device·vendor ID와 NVM version, non-active image authentication 상태를 노출합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
What: /sys/bus/thunderbolt/devices/.../domainX/boot_acl
Date: Jun 2018
KernelVersion: 4.17
Contact: Mika Westerberg <[email protected]>
Description: Holds a comma separated list of device unique_ids that
are allowed to be connected automatically during system
startup (e.g boot devices). The list always contains
maximum supported number of unique_ids where unused
entries are empty. This allows the userspace software
to determine how many entries the controller supports.
If there are multiple controllers, each controller has
its own ACL list and size may be different between the
controllers.
System BIOS may have an option "Preboot ACL" or similar
that needs to be selected before this list is taken into
consideration.
Software always updates a full list in each write.
If a device is authorized automatically during boot its
boot attribute is set to 1.
What: /sys/bus/thunderbolt/devices/.../domainX/deauthorization
Date: May 2021
KernelVersion: 5.12
Contact: Mika Westerberg <[email protected]>
Description: This attribute tells whether the system supports
de-authorization of devices. Value of 1 means user can
de-authorize PCIe tunnel by writing 0 to authorized
attribute under each device.
What: /sys/bus/thunderbolt/devices/.../domainX/iommu_dma_protection
Date: Mar 2019
KernelVersion: 4.21
Contact: Mika Westerberg <[email protected]>
Description: This attribute tells whether the system uses IOMMU
for DMA protection. Value of 1 means IOMMU is used 0 means
it is not (DMA protection is solely based on Thunderbolt
security levels).
What: /sys/bus/thunderbolt/devices/.../domainX/security
Date: Sep 2017
KernelVersion: 4.13
Contact: Mika Westerberg <[email protected]>
Description: This attribute holds current Thunderbolt security level
set by the system BIOS. Possible values are:
======= ==================================================
none All devices are automatically authorized
user Devices are only authorized based on writing
appropriate value to the authorized attribute
secure Require devices that support secure connect at
minimum. User needs to authorize each device.
dponly Automatically tunnel Display port (and USB). No
PCIe tunnels are created.
usbonly Automatically tunnel USB controller of the
connected Thunderbolt dock (and Display Port). All
PCIe links downstream of the dock are removed.
nopcie USB4 system where PCIe tunneling is disabled from
the BIOS.
======= ==================================================
What: /sys/bus/thunderbolt/devices/.../authorized
Date: Sep 2017
KernelVersion: 4.13
Contact: Mika Westerberg <[email protected]>
Description: This attribute is used to authorize Thunderbolt devices
after they have been connected. If the device is not
authorized, no PCIe devices are available to the system.
Contents of this attribute will be 0 when the device is not
yet authorized.
Possible values are supported:
== ===================================================
0 The device will be de-authorized (only supported if
deauthorization attribute under domain contains 1)
1 The device will be authorized and connected
== ===================================================
When key attribute contains 32 byte hex string the possible
values are:
== ========================================================
0 The device will be de-authorized (only supported if
deauthorization attribute under domain contains 1)
1 The 32 byte hex string is added to the device NVM and
the device is authorized.
2 Send a challenge based on the 32 byte hex string. If the
challenge response from device is valid, the device is
authorized. In case of failure errno will be ENOKEY if
the device did not contain a key at all, and
EKEYREJECTED if the challenge response did not match.
== ========================================================
What: /sys/bus/thunderbolt/devices/.../boot
Date: Jun 2018
KernelVersion: 4.17
Contact: Mika Westerberg <[email protected]>
Description: This attribute contains 1 if Thunderbolt device was already
authorized on boot and 0 otherwise.
What: /sys/bus/thunderbolt/devices/.../generation
Date: Jan 2020
KernelVersion: 5.5
Contact: Christian Kellner <[email protected]>
Description: This attribute contains the generation of the Thunderbolt
controller associated with the device. It will contain 4
for USB4.
What: /sys/bus/thunderbolt/devices/.../key
Date: Sep 2017
KernelVersion: 4.13
Contact: Mika Westerberg <[email protected]>
Description: When a devices supports Thunderbolt secure connect it will
have this attribute. Writing 32 byte hex string changes
authorization to use the secure connection method instead.
Writing an empty string clears the key and regular connection
method can be used again.
What: /sys/bus/thunderbolt/devices/.../device
Date: Sep 2017
KernelVersion: 4.13
Contact: Mika Westerberg <[email protected]>
Description: This attribute contains id of this device extracted from
the device DROM.
What: /sys/bus/thunderbolt/devices/.../device_name
Date: Sep 2017
KernelVersion: 4.13
Contact: Mika Westerberg <[email protected]>
Description: This attribute contains name of this device extracted from
the device DROM.
What: /sys/bus/thunderbolt/devices/.../maxhopid
Date: Jul 2021
KernelVersion: 5.13
Contact: Mika Westerberg <[email protected]>
Description: Only set for XDomains. The maximum HopID the other host
supports as its input HopID.
What: /sys/bus/thunderbolt/devices/.../rx_speed
Date: Jan 2020
KernelVersion: 5.5
Contact: Mika Westerberg <[email protected]>
Description: This attribute reports the device RX speed per lane.
All RX lanes run at the same speed.
What: /sys/bus/thunderbolt/devices/.../rx_lanes
Date: Jan 2020
KernelVersion: 5.5
Contact: Mika Westerberg <[email protected]>
Description: This attribute reports number of RX lanes the device is
using simultaneously through its upstream port.
What: /sys/bus/thunderbolt/devices/.../tx_speed
Date: Jan 2020
KernelVersion: 5.5
Contact: Mika Westerberg <[email protected]>
Description: This attribute reports the TX speed per lane.
All TX lanes run at the same speed.
What: /sys/bus/thunderbolt/devices/.../tx_lanes
Date: Jan 2020
KernelVersion: 5.5
Contact: Mika Westerberg <[email protected]>
Description: This attribute reports number of TX lanes the device is
using simultaneously through its upstream port.
What: /sys/bus/thunderbolt/devices/.../vendor
Date: Sep 2017
KernelVersion: 4.13
Contact: Mika Westerberg <[email protected]>
Description: This attribute contains vendor id of this device extracted
from the device DROM.
What: /sys/bus/thunderbolt/devices/.../vendor_name
Date: Sep 2017
KernelVersion: 4.13
Contact: Mika Westerberg <[email protected]>
Description: This attribute contains vendor name of this device extracted
from the device DROM.
What: /sys/bus/thunderbolt/devices/.../unique_id
Date: Sep 2017
KernelVersion: 4.13
Contact: Mika Westerberg <[email protected]>
Description: This attribute contains unique_id string of this device.
This is either read from hardware registers (UUID on
newer hardware) or based on UID from the device DROM.
Can be used to uniquely identify particular device.
What: /sys/bus/thunderbolt/devices/.../nvm_version
Date: Sep 2017
KernelVersion: 4.13
Contact: Mika Westerberg <[email protected]>
Description: If the device has upgradeable firmware the version
number is available here. Format: %x.%x, major.minor.
If the device is in safe mode reading the file returns
-ENODATA instead as the NVM version is not available.
What: /sys/bus/thunderbolt/devices/.../nvm_authenticate
Date: Sep 2017
KernelVersion: 4.13
Contact: Mika Westerberg <[email protected]>
Description: When new NVM image is written to the non-active NVM
area (through non_activeX NVMem device), the
authentication procedure is started by writing to
this file.
If everything goes well, the device is
restarted with the new NVM firmware. If the image
verification fails an error code is returned instead.
This file will accept writing values "1", "2" or "3".
- Writing "1" will flush the image to the storage
area and authenticate the image in one action.
- Writing "2" will run some basic validation on the image
and flush it to the storage area.
- Writing "3" will authenticate the image that is
currently written in the storage area. This is only
supported with USB4 devices and retimers.
When read holds status of the last authentication
operation if an error occurred during the process. This
is directly the status value from the DMA configuration
based mailbox before the device is power cycled. Writing
0 here clears the status.
What: /sys/bus/thunderbolt/devices/.../nvm_authenticate_on_disconnect
Date: Oct 2020
KernelVersion: v5.9
Contact: Mario Limonciello <[email protected]>
Description: For supported devices, automatically authenticate the new Thunderbolt
image when the device is disconnected from the host system.
This file will accept writing values "1" or "2"
- Writing "1" will flush the image to the storage
area and prepare the device for authentication on disconnect.
- Writing "2" will run some basic validation on the image
and flush it to the storage area.
What: /sys/bus/thunderbolt/devices/<xdomain>.<service>/key
Date: Jan 2018
KernelVersion: 4.15
Contact: Mika Westerberg <[email protected]>
Description: This contains name of the property directory the XDomain
service exposes. This entry describes the protocol in
question. Following directories are already reserved by
the Apple XDomain specification:
======== ===============================================
network IP/ethernet over Thunderbolt
targetdm Target disk mode protocol over Thunderbolt
extdisp External display mode protocol over Thunderbolt
======== ===============================================
What: /sys/bus/thunderbolt/devices/<xdomain>.<service>/modalias
Date: Jan 2018
KernelVersion: 4.15
Contact: Mika Westerberg <[email protected]>
Description: Stores the same MODALIAS value emitted by uevent for
the XDomain service. Format: tbtsvc:kSpNvNrN
What: /sys/bus/thunderbolt/devices/<xdomain>.<service>/prtcid
Date: Jan 2018
KernelVersion: 4.15
Contact: Mika Westerberg <[email protected]>
Description: This contains XDomain protocol identifier the XDomain
service supports.
What: /sys/bus/thunderbolt/devices/<xdomain>.<service>/prtcvers
Date: Jan 2018
KernelVersion: 4.15
Contact: Mika Westerberg <[email protected]>
Description: This contains XDomain protocol version the XDomain
service supports.
What: /sys/bus/thunderbolt/devices/<xdomain>.<service>/prtcrevs
Date: Jan 2018
KernelVersion: 4.15
Contact: Mika Westerberg <[email protected]>
Description: This contains XDomain software version the XDomain
service supports.
What: /sys/bus/thunderbolt/devices/<xdomain>.<service>/prtcstns
Date: Jan 2018
KernelVersion: 4.15
Contact: Mika Westerberg <[email protected]>
Description: This contains XDomain service specific settings as
bitmask. Format: %x
What: /sys/bus/thunderbolt/devices/usb4_portX/connector
Date: April 2022
Contact: Heikki Krogerus <[email protected]>
Description:
Symlink to the USB Type-C connector. This link is only
created when USB Type-C Connector Class is enabled,
and only if the system firmware is capable of
describing the connection between a port and its
connector.
What: /sys/bus/thunderbolt/devices/usb4_portX/link
Date: Sep 2021
KernelVersion: v5.14
Contact: Mika Westerberg <[email protected]>
Description: Returns the current link mode. Possible values are
"usb4", "tbt" and "none".
What: /sys/bus/thunderbolt/devices/usb4_portX/offline
Date: Sep 2021
KernelVersion: v5.14
Contact: Rajmohan Mani <[email protected]>
Description: Writing 1 to this attribute puts the USB4 port into
offline mode. Only allowed when there is nothing
connected to the port (link attribute returns "none").
Once the port is in offline mode it does not receive any
hotplug events. This is used to update NVM firmware of
on-board retimers. Writing 0 puts the port back to
online mode.
This attribute is only visible if the platform supports
powering on retimers when there is no cable connected.
What: /sys/bus/thunderbolt/devices/usb4_portX/rescan
Date: Sep 2021
KernelVersion: v5.14
Contact: Rajmohan Mani <[email protected]>
Description: When the USB4 port is in offline mode writing 1 to this
attribute forces rescan of the sideband for on-board
retimers. Each retimer appear under the USB4 port as if
the USB4 link was up. These retimers act in the same way
as if the cable was connected so upgrading their NVM
firmware can be done the usual way.
What: /sys/bus/thunderbolt/devices/<device>:<port>.<index>/device
Date: Oct 2020
KernelVersion: v5.9
Contact: Mika Westerberg <[email protected]>
Description: Retimer device identifier read from the hardware.
What: /sys/bus/thunderbolt/devices/<device>:<port>.<index>/nvm_authenticate
Date: Oct 2020
KernelVersion: v5.9
Contact: Mika Westerberg <[email protected]>
Description: When new NVM image is written to the non-active NVM
area (through non_activeX NVMem device), the
authentication procedure is started by writing 1 to
this file. If everything goes well, the device is
restarted with the new NVM firmware. If the image
verification fails an error code is returned instead.
When read holds status of the last authentication
operation if an error occurred during the process.
Format: %x.
What: /sys/bus/thunderbolt/devices/<device>:<port>.<index>/nvm_version
Date: Oct 2020
KernelVersion: v5.9
Contact: Mika Westerberg <[email protected]>
Description: Holds retimer NVM version number. Format: %x.%x, major.minor.
What: /sys/bus/thunderbolt/devices/<device>:<port>.<index>/vendor
Date: Oct 2020
KernelVersion: v5.9
Contact: Mika Westerberg <[email protected]>
Description: Retimer vendor identifier read from the hardware.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Thunderbolt controller boot ACL
1-23| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/.../domainX/boot_acl |
| Date | 2018년 6월 |
| KernelVersion | 4.17 |
| Contact | Mika Westerberg <[email protected]> |
| Description | System 시작 중 자동 연결을 허용하는 장치 unique_id의 comma-separated 목록을 담습니다. 목록은 controller가 지원하는 최대 unique_id 수를 항상 유지하며 사용하지 않는 항목은 비어 있으므로 userspace가 지원 항목 수를 알 수 있습니다. Controller가 여러 개면 각 controller가 자체 ACL을 가지며 크기도 서로 다를 수 있습니다. 이 목록을 적용하려면 system BIOS의 "Preboot ACL" 또는 비슷한 option을 선택해야 할 수 있습니다. Software는 쓸 때마다 전체 목록을 갱신합니다. Boot 중 장치가 자동 authorize되면 그 장치의 boot 속성이 1로 설정됩니다. |
Thunderbolt device de-authorization 지원
24-32| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/.../domainX/deauthorization |
| Date | 2021년 5월 |
| KernelVersion | 5.12 |
| Contact | Mika Westerberg <[email protected]> |
| Description | System이 장치 de-authorization을 지원하는지 나타냅니다. 값이 1이면 각 장치의 authorized 속성에 0을 써서 PCIe tunnel authorization을 해제할 수 있습니다. |
IOMMU DMA protection 상태
33-41| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/.../domainX/iommu_dma_protection |
| Date | 2019년 3월 |
| KernelVersion | 4.21 |
| Contact | Mika Westerberg <[email protected]> |
| Description | System이 DMA protection에 IOMMU를 사용하는지 나타냅니다. 1은 IOMMU를 사용함을, 0은 사용하지 않아 DMA protection이 Thunderbolt security level에만 의존함을 뜻합니다. |
Thunderbolt security level
42-63| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/.../domainX/security |
| Date | 2017년 9월 |
| KernelVersion | 4.13 |
| Contact | Mika Westerberg <[email protected]> |
| Description | System BIOS가 설정한 현재 Thunderbolt security level을 담습니다. |
BIOS가 선택할 수 있는 authorization 및 tunneling 정책입니다.
Thunderbolt device authorization
64-97| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/.../authorized |
| Date | 2017년 9월 |
| KernelVersion | 4.13 |
| Contact | Mika Westerberg <[email protected]> |
| Description | 연결된 Thunderbolt 장치를 authorize할 때 사용합니다. 장치가 authorize되지 않으면 system에서 PCIe 장치를 사용할 수 없습니다. 아직 authorize되지 않은 장치는 이 속성 값이 0입니다. |
Key를 사용하지 않는 장치의 authorization 및 de-authorization 동작입니다.
Key 속성에 32바이트 16진수 문자열이 들어 있는 경우에는 다음 값이 적용됩니다.
32바이트 key가 있는 장치에서 key 저장 또는 challenge를 수행하는 값입니다.
Boot 중 authorization 상태
98-104| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/.../boot |
| Date | 2018년 6월 |
| KernelVersion | 4.17 |
| Contact | Mika Westerberg <[email protected]> |
| Description | Thunderbolt 장치가 boot 중 이미 authorize되었으면 1, 그렇지 않으면 0을 담습니다. |
Thunderbolt controller generation
105-112| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/.../generation |
| Date | 2020년 1월 |
| KernelVersion | 5.5 |
| Contact | Christian Kellner <[email protected]> |
| Description | 장치와 연결된 Thunderbolt controller의 generation을 담습니다. USB4에서는 4입니다. |
Thunderbolt secure-connect key
113-122| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/.../key |
| Date | 2017년 9월 |
| KernelVersion | 4.13 |
| Contact | Mika Westerberg <[email protected]> |
| Description | Thunderbolt secure connect를 지원하는 장치에 제공됩니다. 32바이트 16진수 문자열을 쓰면 authorization이 secure connection method를 사용하도록 바뀝니다. 빈 문자열을 쓰면 key를 지우고 다시 일반 connection method를 사용할 수 있습니다. |
Thunderbolt device DROM ID
123-129| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/.../device |
| Date | 2017년 9월 |
| KernelVersion | 4.13 |
| Contact | Mika Westerberg <[email protected]> |
| Description | Device DROM에서 추출한 이 장치의 ID를 담습니다. |
Thunderbolt device DROM 이름
130-136| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/.../device_name |
| Date | 2017년 9월 |
| KernelVersion | 4.13 |
| Contact | Mika Westerberg <[email protected]> |
| Description | Device DROM에서 추출한 이 장치의 이름을 담습니다. |
XDomain maximum input HopID
137-143| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/.../maxhopid |
| Date | 2021년 7월 |
| KernelVersion | 5.13 |
| Contact | Mika Westerberg <[email protected]> |
| Description | XDomain에만 설정됩니다. 다른 host가 input HopID로 지원하는 최대 HopID입니다. |
Thunderbolt RX lane speed
144-150| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/.../rx_speed |
| Date | 2020년 1월 |
| KernelVersion | 5.5 |
| Contact | Mika Westerberg <[email protected]> |
| Description | 장치의 lane당 RX speed를 보고합니다. 모든 RX lane은 같은 speed로 동작합니다. |
Thunderbolt active RX lane 수
151-157| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/.../rx_lanes |
| Date | 2020년 1월 |
| KernelVersion | 5.5 |
| Contact | Mika Westerberg <[email protected]> |
| Description | 장치가 upstream port를 통해 동시에 사용하는 RX lane 수를 보고합니다. |
Thunderbolt TX lane speed
158-164| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/.../tx_speed |
| Date | 2020년 1월 |
| KernelVersion | 5.5 |
| Contact | Mika Westerberg <[email protected]> |
| Description | Lane당 TX speed를 보고합니다. 모든 TX lane은 같은 speed로 동작합니다. |
Thunderbolt active TX lane 수
165-171| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/.../tx_lanes |
| Date | 2020년 1월 |
| KernelVersion | 5.5 |
| Contact | Mika Westerberg <[email protected]> |
| Description | 장치가 upstream port를 통해 동시에 사용하는 TX lane 수를 보고합니다. |
Thunderbolt device DROM vendor ID
172-178| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/.../vendor |
| Date | 2017년 9월 |
| KernelVersion | 4.13 |
| Contact | Mika Westerberg <[email protected]> |
| Description | Device DROM에서 추출한 이 장치의 vendor ID를 담습니다. |
Thunderbolt device DROM vendor 이름
179-185| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/.../vendor_name |
| Date | 2017년 9월 |
| KernelVersion | 4.13 |
| Contact | Mika Westerberg <[email protected]> |
| Description | Device DROM에서 추출한 이 장치의 vendor 이름을 담습니다. |
Thunderbolt device unique ID
186-194| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/.../unique_id |
| Date | 2017년 9월 |
| KernelVersion | 4.13 |
| Contact | Mika Westerberg <[email protected]> |
| Description | 장치의 unique_id 문자열을 담습니다. 새 hardware에서는 hardware register의 UUID를 읽고, 그 밖에는 device DROM의 UID에 기반합니다. 특정 장치를 고유하게 식별하는 데 사용할 수 있습니다. |
Thunderbolt device NVM version
195-203| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/.../nvm_version |
| Date | 2017년 9월 |
| KernelVersion | 4.13 |
| Contact | Mika Westerberg <[email protected]> |
| Description | 장치 firmware를 upgrade할 수 있으면 version 번호를 제공합니다. 형식은 major.minor를 뜻하는 %x.%x입니다. 장치가 safe mode이면 NVM version을 사용할 수 없으므로 읽을 때 -ENODATA를 반환합니다. |
Thunderbolt device NVM authentication
204-231| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/.../nvm_authenticate |
| Date | 2017년 9월 |
| KernelVersion | 4.13 |
| Contact | Mika Westerberg <[email protected]> |
| Description | Non-active NVM 영역에 non_activeX NVMem 장치를 통해 새 NVM image를 쓴 뒤 이 file에 써서 authentication을 시작합니다. 성공하면 새 NVM firmware로 장치를 재시작하고 image verification이 실패하면 error code를 반환합니다. 읽으면 과정 중 오류가 발생한 경우 마지막 authentication operation의 status를 담습니다. 이는 장치 power cycle 전 DMA configuration-based mailbox의 status 값입니다. 0을 쓰면 status를 지웁니다. |
| 쓴 값 | 한국어 전문 번역 |
|---|---|
| 1 | Image를 storage 영역에 flush하고 한 동작으로 authenticate합니다. |
| 2 | Image를 기본 검증한 뒤 storage 영역에 flush합니다. |
| 3 | 현재 storage 영역에 쓰인 image를 authenticate합니다. USB4 장치와 retimer에서만 지원됩니다. |
Disconnect 시 Thunderbolt NVM authentication
232-245| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/.../nvm_authenticate_on_disconnect |
| Date | 2020년 10월 |
| KernelVersion | v5.9 |
| Contact | Mario Limonciello <[email protected]> |
| Description | 지원 장치에서 host system과 연결이 끊길 때 새 Thunderbolt image를 자동 authenticate합니다. |
| 쓴 값 | 한국어 전문 번역 |
|---|---|
| 1 | Image를 storage 영역에 flush하고 disconnect 시 authentication하도록 장치를 준비합니다. |
| 2 | Image를 기본 검증한 뒤 storage 영역에 flush합니다. |
XDomain service property key
246-260| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/<xdomain>.<service>/key |
| Date | 2018년 1월 |
| KernelVersion | 4.15 |
| Contact | Mika Westerberg <[email protected]> |
| Description | XDomain service가 노출하는 property directory 이름을 담고 해당 protocol을 설명합니다. Apple XDomain specification은 다음 directory를 이미 예약했습니다. |
Thunderbolt XDomain specification이 예약한 protocol directory 이름입니다.
XDomain service MODALIAS
261-267| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/<xdomain>.<service>/modalias |
| Date | 2018년 1월 |
| KernelVersion | 4.15 |
| Contact | Mika Westerberg <[email protected]> |
| Description | XDomain service의 uevent가 내보내는 것과 같은 MODALIAS 값을 저장합니다. 형식은 tbtsvc:kSpNvNrN입니다. |
XDomain protocol identifier
268-274| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/<xdomain>.<service>/prtcid |
| Date | 2018년 1월 |
| KernelVersion | 4.15 |
| Contact | Mika Westerberg <[email protected]> |
| Description | XDomain service가 지원하는 XDomain protocol identifier를 담습니다. |
XDomain protocol version
275-281| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/<xdomain>.<service>/prtcvers |
| Date | 2018년 1월 |
| KernelVersion | 4.15 |
| Contact | Mika Westerberg <[email protected]> |
| Description | XDomain service가 지원하는 XDomain protocol version을 담습니다. |
XDomain software version
282-288| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/<xdomain>.<service>/prtcrevs |
| Date | 2018년 1월 |
| KernelVersion | 4.15 |
| Contact | Mika Westerberg <[email protected]> |
| Description | XDomain service가 지원하는 XDomain software version을 담습니다. |
XDomain service-specific settings
289-295| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/<xdomain>.<service>/prtcstns |
| Date | 2018년 1월 |
| KernelVersion | 4.15 |
| Contact | Mika Westerberg <[email protected]> |
| Description | XDomain service별 setting을 bitmask로 담습니다. 형식은 %x입니다. |
USB4 port Type-C connector link
296-305| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/usb4_portX/connector |
| Date | 2022년 4월 |
| Contact | Heikki Krogerus <[email protected]> |
| Description | USB Type-C connector로 향하는 symlink입니다. USB Type-C Connector Class가 활성화되어 있고 system firmware가 port와 connector의 연결을 설명할 수 있을 때만 생성됩니다. |
USB4 port current link mode
306-312| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/usb4_portX/link |
| Date | 2021년 9월 |
| KernelVersion | v5.14 |
| Contact | Mika Westerberg <[email protected]> |
| Description | 현재 link mode를 반환합니다. 가능한 값은 "usb4", "tbt", "none"입니다. |
USB4 port offline mode
313-327| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/usb4_portX/offline |
| Date | 2021년 9월 |
| KernelVersion | v5.14 |
| Contact | Rajmohan Mani <[email protected]> |
| Description | 1을 쓰면 USB4 port를 offline mode로 전환합니다. Port에 아무것도 연결되지 않아 link 속성이 "none"을 반환할 때만 허용됩니다. Offline mode에서는 hotplug event를 받지 않으며 onboard retimer의 NVM firmware를 update할 때 사용합니다. 0을 쓰면 다시 online mode가 됩니다. Cable이 연결되지 않았을 때도 retimer power-on을 지원하는 platform에서만 이 속성이 보입니다. |
USB4 onboard retimer sideband rescan
328-338| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/usb4_portX/rescan |
| Date | 2021년 9월 |
| KernelVersion | v5.14 |
| Contact | Rajmohan Mani <[email protected]> |
| Description | USB4 port가 offline mode일 때 1을 쓰면 onboard retimer의 sideband를 강제로 rescan합니다. 각 retimer는 USB4 link가 up인 것처럼 USB4 port 아래에 나타나고 cable이 연결된 것과 같은 방식으로 동작하므로 일반 절차로 NVM firmware를 upgrade할 수 있습니다. |
Thunderbolt retimer device ID
339-344| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/<device>:<port>.<index>/device |
| Date | 2020년 10월 |
| KernelVersion | v5.9 |
| Contact | Mika Westerberg <[email protected]> |
| Description | Hardware에서 읽은 retimer device identifier입니다. |
Thunderbolt retimer NVM authentication
345-359| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/<device>:<port>.<index>/nvm_authenticate |
| Date | 2020년 10월 |
| KernelVersion | v5.9 |
| Contact | Mika Westerberg <[email protected]> |
| Description | Non-active NVM 영역에 non_activeX NVMem 장치를 통해 새 NVM image를 쓴 뒤 1을 쓰면 authentication을 시작합니다. 성공하면 새 NVM firmware로 장치를 재시작하고 image verification이 실패하면 error code를 반환합니다. 읽으면 과정 중 오류가 발생한 경우 마지막 authentication operation의 status를 담으며 형식은 %x입니다. |
Thunderbolt retimer NVM version
360-365| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/<device>:<port>.<index>/nvm_version |
| Date | 2020년 10월 |
| KernelVersion | v5.9 |
| Contact | Mika Westerberg <[email protected]> |
| Description | Retimer NVM version 번호를 담습니다. 형식은 major.minor를 뜻하는 %x.%x입니다. |
Thunderbolt retimer vendor ID
366-370| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/bus/thunderbolt/devices/<device>:<port>.<index>/vendor |
| Date | 2020년 10월 |
| KernelVersion | v5.9 |
| Contact | Mika Westerberg <[email protected]> |
| Description | Hardware에서 읽은 retimer vendor identifier입니다. |
Boot ACL, de-authorization, IOMMU, and BIOS security
sysfs-bus-thunderbolt:1-63Domain은 boot ACL 크기와 BIOS 적용 조건, PCIe tunnel de-authorization, IOMMU DMA protection 및 여섯 security level을 노출합니다.