Skip to content

Commit 94ac72f

Browse files
SriMNvidiakobak2026
authored andcommitted
NVIDIA: VR: SAUCE: Documentation: ABI: Add CXL PCI cxl_reset sysfs attribute
BugLink: https://bugs.launchpad.net/bugs/2143032 Document the cxl_reset sysfs attribute added to PCI devices that support CXL Reset. Signed-off-by: Srirangan Madhavan <smadhavan@nvidia.com> (cherry picked from https://lore.kernel.org/linux-cxl/20260306092322.148765-1-smadhavan@nvidia.com/) Signed-off-by: Jiandi An <jan@nvidia.com> Acked-by: Jamie Nguyen <jamien@nvidia.com> Acked-by: Nirmoy Das <nirmoyd@nvidia.com> Acked-by: Carol L Soto <csoto@nvidia.com> Acked-by: Matthew R. Ochs <mochs@nvidia.com> Signed-off-by: Brad Figg <bfigg@nvidia.com> (cherry picked from commit 33b53e1 nv-kernels/24.04_linux-nvidia-6.17-next) Signed-off-by: Koba Ko <kobak@nvidia.com>
1 parent d7094de commit 94ac72f

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

Documentation/ABI/testing/sysfs-bus-pci

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,28 @@ Description:
174174
similiar to writing 1 to their individual "reset" file, so use
175175
with caution.
176176

177+
What: /sys/bus/pci/devices/.../cxl_reset
178+
Date: February 2026
179+
Contact: linux-cxl@vger.kernel.org
180+
Description:
181+
This attribute is only visible when the device advertises
182+
CXL Reset Capable in the CXL DVSEC Capability register
183+
(CXL r3.2, section 8.1.3).
184+
185+
Writing 1 to this file triggers a CXL device reset which
186+
affects CXL.cache and CXL.mem state on all CXL functions
187+
(i.e. those not listed in the Non-CXL Function Map DVSEC,
188+
section 8.1.4), not just CXL.io/PCIe state. This is
189+
separate from the standard PCI reset interface because CXL
190+
Reset has different scope.
191+
192+
The reset will fail with -EBUSY if any CXL regions using this
193+
device have drivers bound. Active regions are torn down as
194+
part of the reset sequence.
195+
196+
This attribute is registered by the CXL core when a CXL device
197+
is discovered, independent of which driver binds the PCI device.
198+
177199
What: /sys/bus/pci/devices/.../vpd
178200
Date: February 2008
179201
Contact: Ben Hutchings <bwh@kernel.org>

0 commit comments

Comments
 (0)