aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMika Westerberg <[email protected]>2021-01-08 14:57:19 +0200
committerMika Westerberg <[email protected]>2021-03-18 18:25:31 +0300
commit46b494f286812a88caba28dd0810cf3a55747431 (patch)
tree13ca189783f360871f249c73fc261c13c153b046 /tools/perf/scripts/python
parent7d3084c0b77c6c417a16fc1c5bf3bc3149d20fab (diff)
thunderbolt: Add support for maxhopid XDomain property
USB4 inter-domain spec mandates that the compatible hosts expose a new property "maxhopid" that tells the connection manager on the other side what is the maximum supported input HopID over the connection. Since this is depend on the lane adapter the cable is connected it needs to be filled in dynamically. For this reason we take a copy of the global properties and fill then for each XDomain connection upon first connect, and then keep updating it if the generation changes as services are being added/removed. We also take advantage of this copy to fill in the hostname. We also expose this maxhopid as an attribute under each XDomain device. While there drop kernel-doc entry for property_lock which seems to be left there when the structure was originally introduced. Signed-off-by: Mika Westerberg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions