xref: /linux/Documentation/ABI/testing/sysfs-driver-qat_ras (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1What:		/sys/bus/pci/devices/<BDF>/qat_ras/errors_correctable
2Date:		January 2024
3KernelVersion:	6.7
4Contact:	qat-linux@intel.com
5Description:	(RO) Reports the number of correctable errors detected by the device.
6
7		This attribute is only available for qat_4xxx devices.
8
9What:		/sys/bus/pci/devices/<BDF>/qat_ras/errors_nonfatal
10Date:		January 2024
11KernelVersion:	6.7
12Contact:	qat-linux@intel.com
13Description:	(RO) Reports the number of non fatal errors detected by the device.
14
15		This attribute is only available for qat_4xxx devices.
16
17What:		/sys/bus/pci/devices/<BDF>/qat_ras/errors_fatal
18Date:		January 2024
19KernelVersion:	6.7
20Contact:	qat-linux@intel.com
21Description:	(RO) Reports the number of fatal errors detected by the device.
22
23		This attribute is only available for qat_4xxx devices.
24
25What:		/sys/bus/pci/devices/<BDF>/qat_ras/reset_error_counters
26Date:		January 2024
27KernelVersion:	6.7
28Contact:	qat-linux@intel.com
29Description:	(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.
42