Linux 6.7-rc7
[linux-modified.git] / Documentation / ABI / testing / sysfs-driver-qat_ras
1 What:           /sys/bus/pci/devices/<BDF>/qat_ras/errors_correctable
2 Date:           January 2024
3 KernelVersion:  6.7
4 Contact:        qat-linux@intel.com
5 Description:    (RO) Reports the number of correctable errors detected by the device.
6
7                 This attribute is only available for qat_4xxx devices.
8
9 What:           /sys/bus/pci/devices/<BDF>/qat_ras/errors_nonfatal
10 Date:           January 2024
11 KernelVersion:  6.7
12 Contact:        qat-linux@intel.com
13 Description:    (RO) Reports the number of non fatal errors detected by the device.
14
15                 This attribute is only available for qat_4xxx devices.
16
17 What:           /sys/bus/pci/devices/<BDF>/qat_ras/errors_fatal
18 Date:           January 2024
19 KernelVersion:  6.7
20 Contact:        qat-linux@intel.com
21 Description:    (RO) Reports the number of fatal errors detected by the device.
22
23                 This attribute is only available for qat_4xxx devices.
24
25 What:           /sys/bus/pci/devices/<BDF>/qat_ras/reset_error_counters
26 Date:           January 2024
27 KernelVersion:  6.7
28 Contact:        qat-linux@intel.com
29 Description:    (WO) Write to resets all error counters of a device.
30
31                 The following example reports how to reset the counters::
32
33                         # echo 1 > /sys/bus/pci/devices/<BDF>/qat_ras/reset_error_counters
34                         # cat /sys/bus/pci/devices/<BDF>/qat_ras/errors_correctable
35                         0
36                         # cat /sys/bus/pci/devices/<BDF>/qat_ras/errors_nonfatal
37                         0
38                         # cat /sys/bus/pci/devices/<BDF>/qat_ras/errors_fatal
39                         0
40
41                 This attribute is only available for qat_4xxx devices.