mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 23:46:49 +08:00
Enable the reporting of error counters through sysfs for QAT GEN6
devices and update the ABI documentation.
This enables the reporting of the following:
- errors_correctable - hardware correctable errors that allow the
system to recover without data loss.
- errors_nonfatal: errors that can be isolated to specific in-flight
requests.
- errors_fatal: errors that cannot be contained to a request,
requiring a Function Level Reset (FLR) upon occurrence.
Signed-off-by: Suman Kumar Chakraborty <suman.kumar.chakraborty@intel.com>
Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
What: /sys/bus/pci/devices/<BDF>/qat_ras/errors_correctable
|
|
Date: January 2024
|
|
KernelVersion: 6.7
|
|
Contact: qat-linux@intel.com
|
|
Description: (RO) Reports the number of correctable errors detected by the device.
|
|
|
|
This attribute is only available for qat_4xxx and qat_6xxx devices.
|
|
|
|
What: /sys/bus/pci/devices/<BDF>/qat_ras/errors_nonfatal
|
|
Date: January 2024
|
|
KernelVersion: 6.7
|
|
Contact: qat-linux@intel.com
|
|
Description: (RO) Reports the number of non fatal errors detected by the device.
|
|
|
|
This attribute is only available for qat_4xxx and qat_6xxx devices.
|
|
|
|
What: /sys/bus/pci/devices/<BDF>/qat_ras/errors_fatal
|
|
Date: January 2024
|
|
KernelVersion: 6.7
|
|
Contact: qat-linux@intel.com
|
|
Description: (RO) Reports the number of fatal errors detected by the device.
|
|
|
|
This attribute is only available for qat_4xxx and qat_6xxx devices.
|
|
|
|
What: /sys/bus/pci/devices/<BDF>/qat_ras/reset_error_counters
|
|
Date: January 2024
|
|
KernelVersion: 6.7
|
|
Contact: qat-linux@intel.com
|
|
Description: (WO) Write to resets all error counters of a device.
|
|
|
|
The following example reports how to reset the counters::
|
|
|
|
# echo 1 > /sys/bus/pci/devices/<BDF>/qat_ras/reset_error_counters
|
|
# cat /sys/bus/pci/devices/<BDF>/qat_ras/errors_correctable
|
|
0
|
|
# cat /sys/bus/pci/devices/<BDF>/qat_ras/errors_nonfatal
|
|
0
|
|
# cat /sys/bus/pci/devices/<BDF>/qat_ras/errors_fatal
|
|
0
|
|
|
|
This attribute is only available for qat_4xxx and qat_6xxx devices.
|