xref: /linux/Documentation/ABI/testing/sysfs-driver-qat_ras (revision ab93e0dd72c37d378dd936f031ffb83ff2bd87ce)
1532d7f6bSShashank GuptaWhat:		/sys/bus/pci/devices/<BDF>/qat_ras/errors_correctable
2532d7f6bSShashank GuptaDate:		January 2024
3532d7f6bSShashank GuptaKernelVersion:	6.7
4532d7f6bSShashank GuptaContact:	qat-linux@intel.com
5532d7f6bSShashank GuptaDescription:	(RO) Reports the number of correctable errors detected by the device.
6532d7f6bSShashank Gupta
7*662c62bbSSuman Kumar Chakraborty		This attribute is only available for qat_4xxx and qat_6xxx devices.
8532d7f6bSShashank Gupta
9532d7f6bSShashank GuptaWhat:		/sys/bus/pci/devices/<BDF>/qat_ras/errors_nonfatal
10532d7f6bSShashank GuptaDate:		January 2024
11532d7f6bSShashank GuptaKernelVersion:	6.7
12532d7f6bSShashank GuptaContact:	qat-linux@intel.com
13532d7f6bSShashank GuptaDescription:	(RO) Reports the number of non fatal errors detected by the device.
14532d7f6bSShashank Gupta
15*662c62bbSSuman Kumar Chakraborty		This attribute is only available for qat_4xxx and qat_6xxx devices.
16532d7f6bSShashank Gupta
17532d7f6bSShashank GuptaWhat:		/sys/bus/pci/devices/<BDF>/qat_ras/errors_fatal
18532d7f6bSShashank GuptaDate:		January 2024
19532d7f6bSShashank GuptaKernelVersion:	6.7
20532d7f6bSShashank GuptaContact:	qat-linux@intel.com
21532d7f6bSShashank GuptaDescription:	(RO) Reports the number of fatal errors detected by the device.
22532d7f6bSShashank Gupta
23*662c62bbSSuman Kumar Chakraborty		This attribute is only available for qat_4xxx and qat_6xxx devices.
24532d7f6bSShashank Gupta
25532d7f6bSShashank GuptaWhat:		/sys/bus/pci/devices/<BDF>/qat_ras/reset_error_counters
26532d7f6bSShashank GuptaDate:		January 2024
27532d7f6bSShashank GuptaKernelVersion:	6.7
28532d7f6bSShashank GuptaContact:	qat-linux@intel.com
29532d7f6bSShashank GuptaDescription:	(WO) Write to resets all error counters of a device.
30532d7f6bSShashank Gupta
31532d7f6bSShashank Gupta		The following example reports how to reset the counters::
32532d7f6bSShashank Gupta
33532d7f6bSShashank Gupta			# echo 1 > /sys/bus/pci/devices/<BDF>/qat_ras/reset_error_counters
34532d7f6bSShashank Gupta			# cat /sys/bus/pci/devices/<BDF>/qat_ras/errors_correctable
35532d7f6bSShashank Gupta			0
36532d7f6bSShashank Gupta			# cat /sys/bus/pci/devices/<BDF>/qat_ras/errors_nonfatal
37532d7f6bSShashank Gupta			0
38532d7f6bSShashank Gupta			# cat /sys/bus/pci/devices/<BDF>/qat_ras/errors_fatal
39532d7f6bSShashank Gupta			0
40532d7f6bSShashank Gupta
41*662c62bbSSuman Kumar Chakraborty		This attribute is only available for qat_4xxx and qat_6xxx devices.
42