]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
thunderbolt: Avoid reserved fields in path config space for USB4 routers
authorGil Fine <gil.fine@linux.intel.com>
Sun, 2 Nov 2025 21:58:34 +0000 (23:58 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 5 May 2026 11:53:45 +0000 (13:53 +0200)
commit7e49bb89df860bb7352974100cd5dd48752bb646
tree45cd531dac2b089b44835f879a9195b55306c104
parentbabaad95670d1871860306beddd7ef1c4f114ffe
thunderbolt: Avoid reserved fields in path config space for USB4 routers

According to USB4 spec, USB4 Connection Manager shall not change value
of any fields that are defined as "RsvdZ" or "VD".  Specifically fields:
Path Credits Allocated, IFC, ISE fields in path config space shall not
be written by CM. To handle this, CM shall first read current path
config space from the hardware, change only the fields that can be
changed, and then write back the path config space.

Signed-off-by: Gil Fine <gil.fine@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/path.c