1*4a4a4e9eSQuan NguyenWhat:		/sys/bus/platform/devices/smpro-errmon.*/error_[core|mem|pcie|other]_[ce|ue]
2*4a4a4e9eSQuan NguyenKernelVersion:	6.1
3*4a4a4e9eSQuan NguyenContact:	Quan Nguyen <quan@os.amperecomputing.com>
4*4a4a4e9eSQuan NguyenDescription:
5*4a4a4e9eSQuan Nguyen		(RO) Contains the 48-byte Ampere (Vendor-Specific) Error Record printed
6*4a4a4e9eSQuan Nguyen		in hex format according to the table below:
7*4a4a4e9eSQuan Nguyen
8*4a4a4e9eSQuan Nguyen		+--------+---------------+-------------+------------------------------------------------------------+
9*4a4a4e9eSQuan Nguyen		| Offset |     Field     | Size (byte) |                     Description                            |
10*4a4a4e9eSQuan Nguyen		+--------+---------------+-------------+------------------------------------------------------------+
11*4a4a4e9eSQuan Nguyen		| 00     | Error Type    | 1           | See :ref:`the table below <smpro-error-types>` for details |
12*4a4a4e9eSQuan Nguyen		+--------+---------------+-------------+------------------------------------------------------------+
13*4a4a4e9eSQuan Nguyen		| 01     | Subtype       | 1           | See :ref:`the table below <smpro-error-types>` for details |
14*4a4a4e9eSQuan Nguyen		+--------+---------------+-------------+------------------------------------------------------------+
15*4a4a4e9eSQuan Nguyen		| 02     | Instance      | 2           | See :ref:`the table below <smpro-error-types>` for details |
16*4a4a4e9eSQuan Nguyen		+--------+---------------+-------------+------------------------------------------------------------+
17*4a4a4e9eSQuan Nguyen		| 04     | Error status  | 4           | See ARM RAS specification for details                      |
18*4a4a4e9eSQuan Nguyen		+--------+---------------+-------------+------------------------------------------------------------+
19*4a4a4e9eSQuan Nguyen		| 08     | Error Address | 8           | See ARM RAS specification for details                      |
20*4a4a4e9eSQuan Nguyen		+--------+---------------+-------------+------------------------------------------------------------+
21*4a4a4e9eSQuan Nguyen		| 16     | Error Misc 0  | 8           | See ARM RAS specification for details                      |
22*4a4a4e9eSQuan Nguyen		+--------+---------------+-------------+------------------------------------------------------------+
23*4a4a4e9eSQuan Nguyen		| 24     | Error Misc 1  | 8           | See ARM RAS specification for details                      |
24*4a4a4e9eSQuan Nguyen		+--------+---------------+-------------+------------------------------------------------------------+
25*4a4a4e9eSQuan Nguyen		| 32     | Error Misc 2  | 8           | See ARM RAS specification for details                      |
26*4a4a4e9eSQuan Nguyen		+--------+---------------+-------------+------------------------------------------------------------+
27*4a4a4e9eSQuan Nguyen		| 40     | Error Misc 3  | 8           | See ARM RAS specification for details                      |
28*4a4a4e9eSQuan Nguyen		+--------+---------------+-------------+------------------------------------------------------------+
29*4a4a4e9eSQuan Nguyen
30*4a4a4e9eSQuan Nguyen		The table below defines the value of error types, their subtype, subcomponent and instance:
31*4a4a4e9eSQuan Nguyen
32*4a4a4e9eSQuan Nguyen		.. _smpro-error-types:
33*4a4a4e9eSQuan Nguyen
34*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
35*4a4a4e9eSQuan Nguyen		|   Error Group   | Error Type | Sub type | Sub component  |               Instance                 |
36*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
37*4a4a4e9eSQuan Nguyen		| CPM (core)      | 0          | 0        | Snoop-Logic    | CPM #                                  |
38*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
39*4a4a4e9eSQuan Nguyen		| CPM (core)      | 0          | 2        | Armv8 Core 1   | CPM #                                  |
40*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
41*4a4a4e9eSQuan Nguyen		| MCU (mem)       | 1          | 1        | ERR1           | MCU # \| SLOT << 11                    |
42*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
43*4a4a4e9eSQuan Nguyen		| MCU (mem)       | 1          | 2        | ERR2           | MCU # \| SLOT << 11                    |
44*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
45*4a4a4e9eSQuan Nguyen		| MCU (mem)       | 1          | 3        | ERR3           | MCU #                                  |
46*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
47*4a4a4e9eSQuan Nguyen		| MCU (mem)       | 1          | 4        | ERR4           | MCU #                                  |
48*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
49*4a4a4e9eSQuan Nguyen		| MCU (mem)       | 1          | 5        | ERR5           | MCU #                                  |
50*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
51*4a4a4e9eSQuan Nguyen		| MCU (mem)       | 1          | 6        | ERR6           | MCU #                                  |
52*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
53*4a4a4e9eSQuan Nguyen		| MCU (mem)       | 1          | 7        | Link Error     | MCU #                                  |
54*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
55*4a4a4e9eSQuan Nguyen		| Mesh (other)    | 2          | 0        | Cross Point    | X \| (Y << 5) \| NS <<11               |
56*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
57*4a4a4e9eSQuan Nguyen		| Mesh (other)    | 2          | 1        | Home Node(IO)  | X \| (Y << 5) \| NS <<11               |
58*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
59*4a4a4e9eSQuan Nguyen		| Mesh (other)    | 2          | 2        | Home Node(Mem) | X \| (Y << 5) \| NS <<11 \| device<<12 |
60*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
61*4a4a4e9eSQuan Nguyen		| Mesh (other)    | 2          | 4        | CCIX Node      | X \| (Y << 5) \| NS <<11               |
62*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
63*4a4a4e9eSQuan Nguyen		| 2P Link (other) | 3          | 0        | N/A            | Altra 2P Link #                        |
64*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
65*4a4a4e9eSQuan Nguyen		| GIC (other)     | 5          | 0        | ERR0           | 0                                      |
66*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
67*4a4a4e9eSQuan Nguyen		| GIC (other)     | 5          | 1        | ERR1           | 0                                      |
68*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
69*4a4a4e9eSQuan Nguyen		| GIC (other)     | 5          | 2        | ERR2           | 0                                      |
70*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
71*4a4a4e9eSQuan Nguyen		| GIC (other)     | 5          | 3        | ERR3           | 0                                      |
72*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
73*4a4a4e9eSQuan Nguyen		| GIC (other)     | 5          | 4        | ERR4           | 0                                      |
74*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
75*4a4a4e9eSQuan Nguyen		| GIC (other)     | 5          | 5        | ERR5           | 0                                      |
76*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
77*4a4a4e9eSQuan Nguyen		| GIC (other)     | 5          | 6        | ERR6           | 0                                      |
78*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
79*4a4a4e9eSQuan Nguyen		| GIC (other)     | 5          | 7        | ERR7           | 0                                      |
80*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
81*4a4a4e9eSQuan Nguyen		| GIC (other)     | 5          | 8        | ERR8           | 0                                      |
82*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
83*4a4a4e9eSQuan Nguyen		| GIC (other)     | 5          | 9        | ERR9           | 0                                      |
84*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
85*4a4a4e9eSQuan Nguyen		| GIC (other)     | 5          | 10       | ERR10          | 0                                      |
86*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
87*4a4a4e9eSQuan Nguyen		| GIC (other)     | 5          | 11       | ERR11          | 0                                      |
88*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
89*4a4a4e9eSQuan Nguyen		| GIC (other)     | 5          | 12       | ERR12          | 0                                      |
90*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
91*4a4a4e9eSQuan Nguyen		| GIC (other)     | 5          | 13-21    | ERR13          | RC # + 1                               |
92*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
93*4a4a4e9eSQuan Nguyen		| SMMU (other)    | 6          | TCU      | 100            | RC #                                   |
94*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
95*4a4a4e9eSQuan Nguyen		| SMMU (other)    | 6          | TBU0     | 0              | RC #                                   |
96*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
97*4a4a4e9eSQuan Nguyen		| SMMU (other)    | 6          | TBU1     | 1              | RC #                                   |
98*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
99*4a4a4e9eSQuan Nguyen		| SMMU (other)    | 6          | TBU2     | 2              | RC #                                   |
100*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
101*4a4a4e9eSQuan Nguyen		| SMMU (other)    | 6          | TBU3     | 3              | RC #                                   |
102*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
103*4a4a4e9eSQuan Nguyen		| SMMU (other)    | 6          | TBU4     | 4              | RC #                                   |
104*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
105*4a4a4e9eSQuan Nguyen		| SMMU (other)    | 6          | TBU5     | 5              | RC #                                   |
106*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
107*4a4a4e9eSQuan Nguyen		| SMMU (other)    | 6          | TBU6     | 6              | RC #                                   |
108*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
109*4a4a4e9eSQuan Nguyen		| SMMU (other)    | 6          | TBU7     | 7              | RC #                                   |
110*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
111*4a4a4e9eSQuan Nguyen		| SMMU (other)    | 6          | TBU8     | 8              | RC #                                   |
112*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
113*4a4a4e9eSQuan Nguyen		| SMMU (other)    | 6          | TBU9     | 9              | RC #                                   |
114*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
115*4a4a4e9eSQuan Nguyen		| PCIe AER (pcie) | 7          | Root     | 0              | RC #                                   |
116*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
117*4a4a4e9eSQuan Nguyen		| PCIe AER (pcie) | 7          | Device   | 1              | RC #                                   |
118*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
119*4a4a4e9eSQuan Nguyen		| PCIe RC (pcie)  | 8          | RCA HB   | 0              | RC #                                   |
120*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
121*4a4a4e9eSQuan Nguyen		| PCIe RC (pcie)  | 8          | RCB HB   | 1              | RC #                                   |
122*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
123*4a4a4e9eSQuan Nguyen		| PCIe RC (pcie)  | 8          | RASDP    | 8              | RC #                                   |
124*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
125*4a4a4e9eSQuan Nguyen		| OCM (other)     | 9          | ERR0     | 0              | 0                                      |
126*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
127*4a4a4e9eSQuan Nguyen		| OCM (other)     | 9          | ERR1     | 1              | 0                                      |
128*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
129*4a4a4e9eSQuan Nguyen		| OCM (other)     | 9          | ERR2     | 2              | 0                                      |
130*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
131*4a4a4e9eSQuan Nguyen		| SMpro (other)   | 10         | ERR0     | 0              | 0                                      |
132*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
133*4a4a4e9eSQuan Nguyen		| SMpro (other)   | 10         | ERR1     | 1              | 0                                      |
134*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
135*4a4a4e9eSQuan Nguyen		| SMpro (other)   | 10         | MPA_ERR  | 2              | 0                                      |
136*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
137*4a4a4e9eSQuan Nguyen		| PMpro (other)   | 11         | ERR0     | 0              | 0                                      |
138*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
139*4a4a4e9eSQuan Nguyen		| PMpro (other)   | 11         | ERR1     | 1              | 0                                      |
140*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
141*4a4a4e9eSQuan Nguyen		| PMpro (other)   | 11         | MPA_ERR  | 2              | 0                                      |
142*4a4a4e9eSQuan Nguyen		+-----------------+------------+----------+----------------+----------------------------------------+
143*4a4a4e9eSQuan Nguyen
144*4a4a4e9eSQuan Nguyen		Example::
145*4a4a4e9eSQuan Nguyen
146*4a4a4e9eSQuan Nguyen		 # cat error_other_ue
147*4a4a4e9eSQuan Nguyen		 880807001e004010401040101500000001004010401040100c0000000000000000000000000000000000000000000000
148*4a4a4e9eSQuan Nguyen
149*4a4a4e9eSQuan Nguyen		The detail of each sysfs entries is as below:
150*4a4a4e9eSQuan Nguyen
151*4a4a4e9eSQuan Nguyen		+-------------+---------------------------------------------------------+----------------------------------+
152*4a4a4e9eSQuan Nguyen		|   Error     |                   Sysfs entry                           |   Description (when triggered)   |
153*4a4a4e9eSQuan Nguyen		+-------------+---------------------------------------------------------+----------------------------------+
154*4a4a4e9eSQuan Nguyen		| Core's CE   | /sys/bus/platform/devices/smpro-errmon.*/error_core_ce  | Core has CE error                |
155*4a4a4e9eSQuan Nguyen		+-------------+---------------------------------------------------------+----------------------------------+
156*4a4a4e9eSQuan Nguyen		| Core's UE   | /sys/bus/platform/devices/smpro-errmon.*/error_core_ue  | Core has UE error                |
157*4a4a4e9eSQuan Nguyen		+-------------+---------------------------------------------------------+----------------------------------+
158*4a4a4e9eSQuan Nguyen		| Memory's CE | /sys/bus/platform/devices/smpro-errmon.*/error_mem_ce   | Memory has CE error              |
159*4a4a4e9eSQuan Nguyen		+-------------+---------------------------------------------------------+----------------------------------+
160*4a4a4e9eSQuan Nguyen		| Memory's UE | /sys/bus/platform/devices/smpro-errmon.*/error_mem_ue   | Memory has UE error              |
161*4a4a4e9eSQuan Nguyen		+-------------+---------------------------------------------------------+----------------------------------+
162*4a4a4e9eSQuan Nguyen		| PCIe's CE   | /sys/bus/platform/devices/smpro-errmon.*/error_pcie_ce  | any PCIe controller has CE error |
163*4a4a4e9eSQuan Nguyen		+-------------+---------------------------------------------------------+----------------------------------+
164*4a4a4e9eSQuan Nguyen		| PCIe's UE   | /sys/bus/platform/devices/smpro-errmon.*/error_pcie_ue  | any PCIe controller has UE error |
165*4a4a4e9eSQuan Nguyen		+-------------+---------------------------------------------------------+----------------------------------+
166*4a4a4e9eSQuan Nguyen		| Other's CE  | /sys/bus/platform/devices/smpro-errmon.*/error_other_ce | any other CE error               |
167*4a4a4e9eSQuan Nguyen		+-------------+---------------------------------------------------------+----------------------------------+
168*4a4a4e9eSQuan Nguyen		| Other's UE  | /sys/bus/platform/devices/smpro-errmon.*/error_other_ue | any other UE error               |
169*4a4a4e9eSQuan Nguyen		+-------------+---------------------------------------------------------+----------------------------------+
170*4a4a4e9eSQuan Nguyen
171*4a4a4e9eSQuan Nguyen		UE: Uncorrect-able Error
172*4a4a4e9eSQuan Nguyen		CE: Correct-able Error
173*4a4a4e9eSQuan Nguyen
174*4a4a4e9eSQuan Nguyen		For details, see section `3.3 Ampere (Vendor-Specific) Error Record Formats,
175*4a4a4e9eSQuan Nguyen		Altra Family RAS Supplement`.
176*4a4a4e9eSQuan Nguyen
177*4a4a4e9eSQuan Nguyen
178*4a4a4e9eSQuan NguyenWhat:		/sys/bus/platform/devices/smpro-errmon.*/overflow_[core|mem|pcie|other]_[ce|ue]
179*4a4a4e9eSQuan NguyenKernelVersion:	6.1
180*4a4a4e9eSQuan NguyenContact:	Quan Nguyen <quan@os.amperecomputing.com>
181*4a4a4e9eSQuan NguyenDescription:
182*4a4a4e9eSQuan Nguyen		(RO) Return the overflow status of each type HW error reported:
183*4a4a4e9eSQuan Nguyen
184*4a4a4e9eSQuan Nguyen		  - 0      : No overflow
185*4a4a4e9eSQuan Nguyen		  - 1      : There is an overflow and the oldest HW errors are dropped
186*4a4a4e9eSQuan Nguyen
187*4a4a4e9eSQuan Nguyen		The detail of each sysfs entries is as below:
188*4a4a4e9eSQuan Nguyen
189*4a4a4e9eSQuan Nguyen		+-------------+-----------------------------------------------------------+---------------------------------------+
190*4a4a4e9eSQuan Nguyen		|   Overflow  |                   Sysfs entry                             |             Description               |
191*4a4a4e9eSQuan Nguyen		+-------------+-----------------------------------------------------------+---------------------------------------+
192*4a4a4e9eSQuan Nguyen		| Core's CE   | /sys/bus/platform/devices/smpro-errmon.*/overflow_core_ce | Core CE error overflow                |
193*4a4a4e9eSQuan Nguyen		+-------------+-----------------------------------------------------------+---------------------------------------+
194*4a4a4e9eSQuan Nguyen		| Core's UE   | /sys/bus/platform/devices/smpro-errmon.*/overflow_core_ue | Core UE error overflow                |
195*4a4a4e9eSQuan Nguyen		+-------------+-----------------------------------------------------------+---------------------------------------+
196*4a4a4e9eSQuan Nguyen		| Memory's CE | /sys/bus/platform/devices/smpro-errmon.*/overflow_mem_ce  | Memory CE error overflow              |
197*4a4a4e9eSQuan Nguyen		+-------------+-----------------------------------------------------------+---------------------------------------+
198*4a4a4e9eSQuan Nguyen		| Memory's UE | /sys/bus/platform/devices/smpro-errmon.*/overflow_mem_ue  | Memory UE error overflow              |
199*4a4a4e9eSQuan Nguyen		+-------------+-----------------------------------------------------------+---------------------------------------+
200*4a4a4e9eSQuan Nguyen		| PCIe's CE   | /sys/bus/platform/devices/smpro-errmon.*/overflow_pcie_ce | any PCIe controller CE error overflow |
201*4a4a4e9eSQuan Nguyen		+-------------+-----------------------------------------------------------+---------------------------------------+
202*4a4a4e9eSQuan Nguyen		| PCIe's UE   | /sys/bus/platform/devices/smpro-errmon.*/overflow_pcie_ue | any PCIe controller UE error overflow |
203*4a4a4e9eSQuan Nguyen		+-------------+-----------------------------------------------------------+---------------------------------------+
204*4a4a4e9eSQuan Nguyen		| Other's CE  | /sys/bus/platform/devices/smpro-errmon.*/overflow_other_ce| any other CE error overflow           |
205*4a4a4e9eSQuan Nguyen		+-------------+-----------------------------------------------------------+---------------------------------------+
206*4a4a4e9eSQuan Nguyen		| Other's UE  | /sys/bus/platform/devices/smpro-errmon.*/overflow_other_ue| other UE error overflow               |
207*4a4a4e9eSQuan Nguyen		+-------------+-----------------------------------------------------------+---------------------------------------+
208*4a4a4e9eSQuan Nguyen
209*4a4a4e9eSQuan Nguyen		where:
210*4a4a4e9eSQuan Nguyen
211*4a4a4e9eSQuan Nguyen		  - UE: Uncorrect-able Error
212*4a4a4e9eSQuan Nguyen		  - CE: Correct-able Error
213*4a4a4e9eSQuan Nguyen
214*4a4a4e9eSQuan NguyenWhat:		/sys/bus/platform/devices/smpro-errmon.*/[error|warn]_[smpro|pmpro]
215*4a4a4e9eSQuan NguyenKernelVersion:	6.1
216*4a4a4e9eSQuan NguyenContact:	Quan Nguyen <quan@os.amperecomputing.com>
217*4a4a4e9eSQuan NguyenDescription:
218*4a4a4e9eSQuan Nguyen		(RO) Contains the internal firmware error/warning printed as hex format.
219*4a4a4e9eSQuan Nguyen
220*4a4a4e9eSQuan Nguyen		The detail of each sysfs entries is as below:
221*4a4a4e9eSQuan Nguyen
222*4a4a4e9eSQuan Nguyen		+---------------+------------------------------------------------------+--------------------------+
223*4a4a4e9eSQuan Nguyen		|   Error       |                   Sysfs entry                        |        Description       |
224*4a4a4e9eSQuan Nguyen		+---------------+------------------------------------------------------+--------------------------+
225*4a4a4e9eSQuan Nguyen		| SMpro error   | /sys/bus/platform/devices/smpro-errmon.*/error_smpro | system has SMpro error   |
226*4a4a4e9eSQuan Nguyen		+---------------+------------------------------------------------------+--------------------------+
227*4a4a4e9eSQuan Nguyen		| SMpro warning | /sys/bus/platform/devices/smpro-errmon.*/warn_smpro  | system has SMpro warning |
228*4a4a4e9eSQuan Nguyen		+---------------+------------------------------------------------------+--------------------------+
229*4a4a4e9eSQuan Nguyen		| PMpro error   | /sys/bus/platform/devices/smpro-errmon.*/error_pmpro | system has PMpro error   |
230*4a4a4e9eSQuan Nguyen		+---------------+------------------------------------------------------+--------------------------+
231*4a4a4e9eSQuan Nguyen		| PMpro warning | /sys/bus/platform/devices/smpro-errmon.*/warn_pmpro  | system has PMpro warning |
232*4a4a4e9eSQuan Nguyen		+---------------+------------------------------------------------------+--------------------------+
233*4a4a4e9eSQuan Nguyen
234*4a4a4e9eSQuan Nguyen		For details, see section `5.10 RAS Internal Error Register Definitions,
235*4a4a4e9eSQuan Nguyen		Altra Family Soc BMC Interface Specification`.
236*4a4a4e9eSQuan Nguyen
237*4a4a4e9eSQuan NguyenWhat:		/sys/bus/platform/devices/smpro-errmon.*/event_[vrd_warn_fault|vrd_hot|dimm_hot]
238*4a4a4e9eSQuan NguyenKernelVersion:	6.1
239*4a4a4e9eSQuan NguyenContact:	Quan Nguyen <quan@os.amperecomputing.com>
240*4a4a4e9eSQuan NguyenDescription:
241*4a4a4e9eSQuan Nguyen		(RO) Contains the detail information in case of VRD/DIMM warning/hot events
242*4a4a4e9eSQuan Nguyen		in hex format as below::
243*4a4a4e9eSQuan Nguyen
244*4a4a4e9eSQuan Nguyen		    AAAA
245*4a4a4e9eSQuan Nguyen
246*4a4a4e9eSQuan Nguyen		where:
247*4a4a4e9eSQuan Nguyen
248*4a4a4e9eSQuan Nguyen		  - ``AAAA``: The event detail information data
249*4a4a4e9eSQuan Nguyen
250*4a4a4e9eSQuan Nguyen		The detail of each sysfs entries is as below:
251*4a4a4e9eSQuan Nguyen
252*4a4a4e9eSQuan Nguyen		+---------------+---------------------------------------------------------------+---------------------+
253*4a4a4e9eSQuan Nguyen		|   Event       |                        Sysfs entry                            |     Description     |
254*4a4a4e9eSQuan Nguyen		+---------------+---------------------------------------------------------------+---------------------+
255*4a4a4e9eSQuan Nguyen		| VRD HOT       | /sys/bus/platform/devices/smpro-errmon.*/event_vrd_hot        | VRD Hot             |
256*4a4a4e9eSQuan Nguyen		+---------------+---------------------------------------------------------------+---------------------+
257*4a4a4e9eSQuan Nguyen		| VR Warn/Fault | /sys/bus/platform/devices/smpro-errmon.*/event_vrd_warn_fault | VR Warning or Fault |
258*4a4a4e9eSQuan Nguyen		+---------------+---------------------------------------------------------------+---------------------+
259*4a4a4e9eSQuan Nguyen		| DIMM HOT      | /sys/bus/platform/devices/smpro-errmon.*/event_dimm_hot       | DIMM Hot            |
260*4a4a4e9eSQuan Nguyen		+---------------+---------------------------------------------------------------+---------------------+
261*4a4a4e9eSQuan Nguyen
262*4a4a4e9eSQuan Nguyen		For more details, see section `5.7 GPI Status Registers,
263*4a4a4e9eSQuan Nguyen		Altra Family Soc BMC Interface Specification`.
264*4a4a4e9eSQuan Nguyen
265