162306a36Sopenharmony_ciWhat:		/sys/bus/platform/devices/smpro-errmon.*/error_[core|mem|pcie|other]_[ce|ue]
262306a36Sopenharmony_ciKernelVersion:	6.1
362306a36Sopenharmony_ciContact:	Quan Nguyen <quan@os.amperecomputing.com>
462306a36Sopenharmony_ciDescription:
562306a36Sopenharmony_ci		(RO) Contains the 48-byte Ampere (Vendor-Specific) Error Record printed
662306a36Sopenharmony_ci		in hex format according to the table below:
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci		+--------+---------------+-------------+------------------------------------------------------------+
962306a36Sopenharmony_ci		| Offset |     Field     | Size (byte) |                     Description                            |
1062306a36Sopenharmony_ci		+--------+---------------+-------------+------------------------------------------------------------+
1162306a36Sopenharmony_ci		| 00     | Error Type    | 1           | See :ref:`the table below <smpro-error-types>` for details |
1262306a36Sopenharmony_ci		+--------+---------------+-------------+------------------------------------------------------------+
1362306a36Sopenharmony_ci		| 01     | Subtype       | 1           | See :ref:`the table below <smpro-error-types>` for details |
1462306a36Sopenharmony_ci		+--------+---------------+-------------+------------------------------------------------------------+
1562306a36Sopenharmony_ci		| 02     | Instance      | 2           | See :ref:`the table below <smpro-error-types>` for details |
1662306a36Sopenharmony_ci		+--------+---------------+-------------+------------------------------------------------------------+
1762306a36Sopenharmony_ci		| 04     | Error status  | 4           | See ARM RAS specification for details                      |
1862306a36Sopenharmony_ci		+--------+---------------+-------------+------------------------------------------------------------+
1962306a36Sopenharmony_ci		| 08     | Error Address | 8           | See ARM RAS specification for details                      |
2062306a36Sopenharmony_ci		+--------+---------------+-------------+------------------------------------------------------------+
2162306a36Sopenharmony_ci		| 16     | Error Misc 0  | 8           | See ARM RAS specification for details                      |
2262306a36Sopenharmony_ci		+--------+---------------+-------------+------------------------------------------------------------+
2362306a36Sopenharmony_ci		| 24     | Error Misc 1  | 8           | See ARM RAS specification for details                      |
2462306a36Sopenharmony_ci		+--------+---------------+-------------+------------------------------------------------------------+
2562306a36Sopenharmony_ci		| 32     | Error Misc 2  | 8           | See ARM RAS specification for details                      |
2662306a36Sopenharmony_ci		+--------+---------------+-------------+------------------------------------------------------------+
2762306a36Sopenharmony_ci		| 40     | Error Misc 3  | 8           | See ARM RAS specification for details                      |
2862306a36Sopenharmony_ci		+--------+---------------+-------------+------------------------------------------------------------+
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ci		The table below defines the value of error types, their subtype, subcomponent and instance:
3162306a36Sopenharmony_ci
3262306a36Sopenharmony_ci		.. _smpro-error-types:
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
3562306a36Sopenharmony_ci		|   Error Group   | Error Type | Sub type | Sub component  |               Instance                 |
3662306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
3762306a36Sopenharmony_ci		| CPM (core)      | 0          | 0        | Snoop-Logic    | CPM #                                  |
3862306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
3962306a36Sopenharmony_ci		| CPM (core)      | 0          | 2        | Armv8 Core 1   | CPM #                                  |
4062306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
4162306a36Sopenharmony_ci		| MCU (mem)       | 1          | 1        | ERR1           | MCU # \| SLOT << 11                    |
4262306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
4362306a36Sopenharmony_ci		| MCU (mem)       | 1          | 2        | ERR2           | MCU # \| SLOT << 11                    |
4462306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
4562306a36Sopenharmony_ci		| MCU (mem)       | 1          | 3        | ERR3           | MCU #                                  |
4662306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
4762306a36Sopenharmony_ci		| MCU (mem)       | 1          | 4        | ERR4           | MCU #                                  |
4862306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
4962306a36Sopenharmony_ci		| MCU (mem)       | 1          | 5        | ERR5           | MCU #                                  |
5062306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
5162306a36Sopenharmony_ci		| MCU (mem)       | 1          | 6        | ERR6           | MCU #                                  |
5262306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
5362306a36Sopenharmony_ci		| MCU (mem)       | 1          | 7        | Link Error     | MCU #                                  |
5462306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
5562306a36Sopenharmony_ci		| Mesh (other)    | 2          | 0        | Cross Point    | X \| (Y << 5) \| NS <<11               |
5662306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
5762306a36Sopenharmony_ci		| Mesh (other)    | 2          | 1        | Home Node(IO)  | X \| (Y << 5) \| NS <<11               |
5862306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
5962306a36Sopenharmony_ci		| Mesh (other)    | 2          | 2        | Home Node(Mem) | X \| (Y << 5) \| NS <<11 \| device<<12 |
6062306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
6162306a36Sopenharmony_ci		| Mesh (other)    | 2          | 4        | CCIX Node      | X \| (Y << 5) \| NS <<11               |
6262306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
6362306a36Sopenharmony_ci		| 2P Link (other) | 3          | 0        | N/A            | Altra 2P Link #                        |
6462306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
6562306a36Sopenharmony_ci		| GIC (other)     | 5          | 0        | ERR0           | 0                                      |
6662306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
6762306a36Sopenharmony_ci		| GIC (other)     | 5          | 1        | ERR1           | 0                                      |
6862306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
6962306a36Sopenharmony_ci		| GIC (other)     | 5          | 2        | ERR2           | 0                                      |
7062306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
7162306a36Sopenharmony_ci		| GIC (other)     | 5          | 3        | ERR3           | 0                                      |
7262306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
7362306a36Sopenharmony_ci		| GIC (other)     | 5          | 4        | ERR4           | 0                                      |
7462306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
7562306a36Sopenharmony_ci		| GIC (other)     | 5          | 5        | ERR5           | 0                                      |
7662306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
7762306a36Sopenharmony_ci		| GIC (other)     | 5          | 6        | ERR6           | 0                                      |
7862306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
7962306a36Sopenharmony_ci		| GIC (other)     | 5          | 7        | ERR7           | 0                                      |
8062306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
8162306a36Sopenharmony_ci		| GIC (other)     | 5          | 8        | ERR8           | 0                                      |
8262306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
8362306a36Sopenharmony_ci		| GIC (other)     | 5          | 9        | ERR9           | 0                                      |
8462306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
8562306a36Sopenharmony_ci		| GIC (other)     | 5          | 10       | ERR10          | 0                                      |
8662306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
8762306a36Sopenharmony_ci		| GIC (other)     | 5          | 11       | ERR11          | 0                                      |
8862306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
8962306a36Sopenharmony_ci		| GIC (other)     | 5          | 12       | ERR12          | 0                                      |
9062306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
9162306a36Sopenharmony_ci		| GIC (other)     | 5          | 13-21    | ERR13          | RC # + 1                               |
9262306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
9362306a36Sopenharmony_ci		| SMMU (other)    | 6          | TCU      | 100            | RC #                                   |
9462306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
9562306a36Sopenharmony_ci		| SMMU (other)    | 6          | TBU0     | 0              | RC #                                   |
9662306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
9762306a36Sopenharmony_ci		| SMMU (other)    | 6          | TBU1     | 1              | RC #                                   |
9862306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
9962306a36Sopenharmony_ci		| SMMU (other)    | 6          | TBU2     | 2              | RC #                                   |
10062306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
10162306a36Sopenharmony_ci		| SMMU (other)    | 6          | TBU3     | 3              | RC #                                   |
10262306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
10362306a36Sopenharmony_ci		| SMMU (other)    | 6          | TBU4     | 4              | RC #                                   |
10462306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
10562306a36Sopenharmony_ci		| SMMU (other)    | 6          | TBU5     | 5              | RC #                                   |
10662306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
10762306a36Sopenharmony_ci		| SMMU (other)    | 6          | TBU6     | 6              | RC #                                   |
10862306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
10962306a36Sopenharmony_ci		| SMMU (other)    | 6          | TBU7     | 7              | RC #                                   |
11062306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
11162306a36Sopenharmony_ci		| SMMU (other)    | 6          | TBU8     | 8              | RC #                                   |
11262306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
11362306a36Sopenharmony_ci		| SMMU (other)    | 6          | TBU9     | 9              | RC #                                   |
11462306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
11562306a36Sopenharmony_ci		| PCIe AER (pcie) | 7          | Root     | 0              | RC #                                   |
11662306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
11762306a36Sopenharmony_ci		| PCIe AER (pcie) | 7          | Device   | 1              | RC #                                   |
11862306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
11962306a36Sopenharmony_ci		| PCIe RC (pcie)  | 8          | RCA HB   | 0              | RC #                                   |
12062306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
12162306a36Sopenharmony_ci		| PCIe RC (pcie)  | 8          | RCB HB   | 1              | RC #                                   |
12262306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
12362306a36Sopenharmony_ci		| PCIe RC (pcie)  | 8          | RASDP    | 8              | RC #                                   |
12462306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
12562306a36Sopenharmony_ci		| OCM (other)     | 9          | ERR0     | 0              | 0                                      |
12662306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
12762306a36Sopenharmony_ci		| OCM (other)     | 9          | ERR1     | 1              | 0                                      |
12862306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
12962306a36Sopenharmony_ci		| OCM (other)     | 9          | ERR2     | 2              | 0                                      |
13062306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
13162306a36Sopenharmony_ci		| SMpro (other)   | 10         | ERR0     | 0              | 0                                      |
13262306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
13362306a36Sopenharmony_ci		| SMpro (other)   | 10         | ERR1     | 1              | 0                                      |
13462306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
13562306a36Sopenharmony_ci		| SMpro (other)   | 10         | MPA_ERR  | 2              | 0                                      |
13662306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
13762306a36Sopenharmony_ci		| PMpro (other)   | 11         | ERR0     | 0              | 0                                      |
13862306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
13962306a36Sopenharmony_ci		| PMpro (other)   | 11         | ERR1     | 1              | 0                                      |
14062306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
14162306a36Sopenharmony_ci		| PMpro (other)   | 11         | MPA_ERR  | 2              | 0                                      |
14262306a36Sopenharmony_ci		+-----------------+------------+----------+----------------+----------------------------------------+
14362306a36Sopenharmony_ci
14462306a36Sopenharmony_ci		Example::
14562306a36Sopenharmony_ci
14662306a36Sopenharmony_ci		 # cat error_other_ue
14762306a36Sopenharmony_ci		 880807001e004010401040101500000001004010401040100c0000000000000000000000000000000000000000000000
14862306a36Sopenharmony_ci
14962306a36Sopenharmony_ci		The detail of each sysfs entries is as below:
15062306a36Sopenharmony_ci
15162306a36Sopenharmony_ci		+-------------+---------------------------------------------------------+----------------------------------+
15262306a36Sopenharmony_ci		|   Error     |                   Sysfs entry                           |   Description (when triggered)   |
15362306a36Sopenharmony_ci		+-------------+---------------------------------------------------------+----------------------------------+
15462306a36Sopenharmony_ci		| Core's CE   | /sys/bus/platform/devices/smpro-errmon.*/error_core_ce  | Core has CE error                |
15562306a36Sopenharmony_ci		+-------------+---------------------------------------------------------+----------------------------------+
15662306a36Sopenharmony_ci		| Core's UE   | /sys/bus/platform/devices/smpro-errmon.*/error_core_ue  | Core has UE error                |
15762306a36Sopenharmony_ci		+-------------+---------------------------------------------------------+----------------------------------+
15862306a36Sopenharmony_ci		| Memory's CE | /sys/bus/platform/devices/smpro-errmon.*/error_mem_ce   | Memory has CE error              |
15962306a36Sopenharmony_ci		+-------------+---------------------------------------------------------+----------------------------------+
16062306a36Sopenharmony_ci		| Memory's UE | /sys/bus/platform/devices/smpro-errmon.*/error_mem_ue   | Memory has UE error              |
16162306a36Sopenharmony_ci		+-------------+---------------------------------------------------------+----------------------------------+
16262306a36Sopenharmony_ci		| PCIe's CE   | /sys/bus/platform/devices/smpro-errmon.*/error_pcie_ce  | any PCIe controller has CE error |
16362306a36Sopenharmony_ci		+-------------+---------------------------------------------------------+----------------------------------+
16462306a36Sopenharmony_ci		| PCIe's UE   | /sys/bus/platform/devices/smpro-errmon.*/error_pcie_ue  | any PCIe controller has UE error |
16562306a36Sopenharmony_ci		+-------------+---------------------------------------------------------+----------------------------------+
16662306a36Sopenharmony_ci		| Other's CE  | /sys/bus/platform/devices/smpro-errmon.*/error_other_ce | any other CE error               |
16762306a36Sopenharmony_ci		+-------------+---------------------------------------------------------+----------------------------------+
16862306a36Sopenharmony_ci		| Other's UE  | /sys/bus/platform/devices/smpro-errmon.*/error_other_ue | any other UE error               |
16962306a36Sopenharmony_ci		+-------------+---------------------------------------------------------+----------------------------------+
17062306a36Sopenharmony_ci
17162306a36Sopenharmony_ci		UE: Uncorrect-able Error
17262306a36Sopenharmony_ci		CE: Correct-able Error
17362306a36Sopenharmony_ci
17462306a36Sopenharmony_ci		For details, see section `3.3 Ampere (Vendor-Specific) Error Record Formats,
17562306a36Sopenharmony_ci		Altra Family RAS Supplement`.
17662306a36Sopenharmony_ci
17762306a36Sopenharmony_ci
17862306a36Sopenharmony_ciWhat:		/sys/bus/platform/devices/smpro-errmon.*/overflow_[core|mem|pcie|other]_[ce|ue]
17962306a36Sopenharmony_ciKernelVersion:	6.1
18062306a36Sopenharmony_ciContact:	Quan Nguyen <quan@os.amperecomputing.com>
18162306a36Sopenharmony_ciDescription:
18262306a36Sopenharmony_ci		(RO) Return the overflow status of each type HW error reported:
18362306a36Sopenharmony_ci
18462306a36Sopenharmony_ci		  - 0      : No overflow
18562306a36Sopenharmony_ci		  - 1      : There is an overflow and the oldest HW errors are dropped
18662306a36Sopenharmony_ci
18762306a36Sopenharmony_ci		The detail of each sysfs entries is as below:
18862306a36Sopenharmony_ci
18962306a36Sopenharmony_ci		+-------------+-----------------------------------------------------------+---------------------------------------+
19062306a36Sopenharmony_ci		|   Overflow  |                   Sysfs entry                             |             Description               |
19162306a36Sopenharmony_ci		+-------------+-----------------------------------------------------------+---------------------------------------+
19262306a36Sopenharmony_ci		| Core's CE   | /sys/bus/platform/devices/smpro-errmon.*/overflow_core_ce | Core CE error overflow                |
19362306a36Sopenharmony_ci		+-------------+-----------------------------------------------------------+---------------------------------------+
19462306a36Sopenharmony_ci		| Core's UE   | /sys/bus/platform/devices/smpro-errmon.*/overflow_core_ue | Core UE error overflow                |
19562306a36Sopenharmony_ci		+-------------+-----------------------------------------------------------+---------------------------------------+
19662306a36Sopenharmony_ci		| Memory's CE | /sys/bus/platform/devices/smpro-errmon.*/overflow_mem_ce  | Memory CE error overflow              |
19762306a36Sopenharmony_ci		+-------------+-----------------------------------------------------------+---------------------------------------+
19862306a36Sopenharmony_ci		| Memory's UE | /sys/bus/platform/devices/smpro-errmon.*/overflow_mem_ue  | Memory UE error overflow              |
19962306a36Sopenharmony_ci		+-------------+-----------------------------------------------------------+---------------------------------------+
20062306a36Sopenharmony_ci		| PCIe's CE   | /sys/bus/platform/devices/smpro-errmon.*/overflow_pcie_ce | any PCIe controller CE error overflow |
20162306a36Sopenharmony_ci		+-------------+-----------------------------------------------------------+---------------------------------------+
20262306a36Sopenharmony_ci		| PCIe's UE   | /sys/bus/platform/devices/smpro-errmon.*/overflow_pcie_ue | any PCIe controller UE error overflow |
20362306a36Sopenharmony_ci		+-------------+-----------------------------------------------------------+---------------------------------------+
20462306a36Sopenharmony_ci		| Other's CE  | /sys/bus/platform/devices/smpro-errmon.*/overflow_other_ce| any other CE error overflow           |
20562306a36Sopenharmony_ci		+-------------+-----------------------------------------------------------+---------------------------------------+
20662306a36Sopenharmony_ci		| Other's UE  | /sys/bus/platform/devices/smpro-errmon.*/overflow_other_ue| other UE error overflow               |
20762306a36Sopenharmony_ci		+-------------+-----------------------------------------------------------+---------------------------------------+
20862306a36Sopenharmony_ci
20962306a36Sopenharmony_ci		where:
21062306a36Sopenharmony_ci
21162306a36Sopenharmony_ci		  - UE: Uncorrect-able Error
21262306a36Sopenharmony_ci		  - CE: Correct-able Error
21362306a36Sopenharmony_ci
21462306a36Sopenharmony_ciWhat:		/sys/bus/platform/devices/smpro-errmon.*/[error|warn]_[smpro|pmpro]
21562306a36Sopenharmony_ciKernelVersion:	6.1
21662306a36Sopenharmony_ciContact:	Quan Nguyen <quan@os.amperecomputing.com>
21762306a36Sopenharmony_ciDescription:
21862306a36Sopenharmony_ci		(RO) Contains the internal firmware error/warning printed as hex format.
21962306a36Sopenharmony_ci
22062306a36Sopenharmony_ci		The detail of each sysfs entries is as below:
22162306a36Sopenharmony_ci
22262306a36Sopenharmony_ci		+---------------+------------------------------------------------------+--------------------------+
22362306a36Sopenharmony_ci		|   Error       |                   Sysfs entry                        |        Description       |
22462306a36Sopenharmony_ci		+---------------+------------------------------------------------------+--------------------------+
22562306a36Sopenharmony_ci		| SMpro error   | /sys/bus/platform/devices/smpro-errmon.*/error_smpro | system has SMpro error   |
22662306a36Sopenharmony_ci		+---------------+------------------------------------------------------+--------------------------+
22762306a36Sopenharmony_ci		| SMpro warning | /sys/bus/platform/devices/smpro-errmon.*/warn_smpro  | system has SMpro warning |
22862306a36Sopenharmony_ci		+---------------+------------------------------------------------------+--------------------------+
22962306a36Sopenharmony_ci		| PMpro error   | /sys/bus/platform/devices/smpro-errmon.*/error_pmpro | system has PMpro error   |
23062306a36Sopenharmony_ci		+---------------+------------------------------------------------------+--------------------------+
23162306a36Sopenharmony_ci		| PMpro warning | /sys/bus/platform/devices/smpro-errmon.*/warn_pmpro  | system has PMpro warning |
23262306a36Sopenharmony_ci		+---------------+------------------------------------------------------+--------------------------+
23362306a36Sopenharmony_ci
23462306a36Sopenharmony_ci		For details, see section `5.10 RAS Internal Error Register Definitions,
23562306a36Sopenharmony_ci		Altra Family Soc BMC Interface Specification`.
23662306a36Sopenharmony_ci
23762306a36Sopenharmony_ciWhat:		/sys/bus/platform/devices/smpro-errmon.*/event_[vrd_warn_fault|vrd_hot|dimm_hot|dimm_2x_refresh]
23862306a36Sopenharmony_ciKernelVersion:	6.1 (event_[vrd_warn_fault|vrd_hot|dimm_hot]), 6.4 (event_dimm_2x_refresh)
23962306a36Sopenharmony_ciContact:	Quan Nguyen <quan@os.amperecomputing.com>
24062306a36Sopenharmony_ciDescription:
24162306a36Sopenharmony_ci		(RO) Contains the detail information in case of VRD/DIMM warning/hot events
24262306a36Sopenharmony_ci		in hex format as below::
24362306a36Sopenharmony_ci
24462306a36Sopenharmony_ci		    AAAA
24562306a36Sopenharmony_ci
24662306a36Sopenharmony_ci		where:
24762306a36Sopenharmony_ci
24862306a36Sopenharmony_ci		  - ``AAAA``: The event detail information data
24962306a36Sopenharmony_ci
25062306a36Sopenharmony_ci		The detail of each sysfs entries is as below:
25162306a36Sopenharmony_ci
25262306a36Sopenharmony_ci		+---------------+---------------------------------------------------------------+---------------------+
25362306a36Sopenharmony_ci		|   Event       |                        Sysfs entry                            |     Description     |
25462306a36Sopenharmony_ci		+---------------+---------------------------------------------------------------+---------------------+
25562306a36Sopenharmony_ci		| VRD HOT       | /sys/bus/platform/devices/smpro-errmon.*/event_vrd_hot        | VRD Hot             |
25662306a36Sopenharmony_ci		+---------------+---------------------------------------------------------------+---------------------+
25762306a36Sopenharmony_ci		| VR Warn/Fault | /sys/bus/platform/devices/smpro-errmon.*/event_vrd_warn_fault | VR Warning or Fault |
25862306a36Sopenharmony_ci		+---------------+---------------------------------------------------------------+---------------------+
25962306a36Sopenharmony_ci		| DIMM HOT      | /sys/bus/platform/devices/smpro-errmon.*/event_dimm_hot       | DIMM Hot            |
26062306a36Sopenharmony_ci		+---------------+---------------------------------------------------------------+---------------------+
26162306a36Sopenharmony_ci		| DIMM 2X       | /sys/bus/platform/devices/smpro-errmon.*/event_dimm_2x_refresh| DIMM 2x refresh rate|
26262306a36Sopenharmony_ci		| REFRESH RATE  |                                                               | event in high temp  |
26362306a36Sopenharmony_ci		+---------------+---------------------------------------------------------------+---------------------+
26462306a36Sopenharmony_ci
26562306a36Sopenharmony_ci		For more details, see section `5.7 GPI Status Registers and 5.9 Memory Error Register Definitions,
26662306a36Sopenharmony_ci		Altra Family Soc BMC Interface Specification`.
26762306a36Sopenharmony_ci
26862306a36Sopenharmony_ciWhat:		/sys/bus/platform/devices/smpro-errmon.*/event_dimm[0-15]_syndrome
26962306a36Sopenharmony_ciKernelVersion:	6.4
27062306a36Sopenharmony_ciContact:	Quan Nguyen <quan@os.amperecomputing.com>
27162306a36Sopenharmony_ciDescription:
27262306a36Sopenharmony_ci		(RO) The sysfs returns the 2-byte DIMM failure syndrome data for slot
27362306a36Sopenharmony_ci		0-15 if it failed to initialize.
27462306a36Sopenharmony_ci
27562306a36Sopenharmony_ci		For more details, see section `5.11 Boot Stage Register Definitions,
27662306a36Sopenharmony_ci		Altra Family Soc BMC Interface Specification`.
27762306a36Sopenharmony_ci
27862306a36Sopenharmony_ciWhat:		/sys/bus/platform/devices/smpro-misc.*/boot_progress
27962306a36Sopenharmony_ciKernelVersion:	6.1
28062306a36Sopenharmony_ciContact:	Quan Nguyen <quan@os.amperecomputing.com>
28162306a36Sopenharmony_ciDescription:
28262306a36Sopenharmony_ci		(RO) Contains the boot stages information in hex as format below::
28362306a36Sopenharmony_ci
28462306a36Sopenharmony_ci		    AABBCCCCCCCC
28562306a36Sopenharmony_ci
28662306a36Sopenharmony_ci		where:
28762306a36Sopenharmony_ci
28862306a36Sopenharmony_ci		  - ``AA``      : The boot stages
28962306a36Sopenharmony_ci
29062306a36Sopenharmony_ci		    - 00: SMpro firmware booting
29162306a36Sopenharmony_ci		    - 01: PMpro firmware booting
29262306a36Sopenharmony_ci		    - 02: ATF BL1 firmware booting
29362306a36Sopenharmony_ci		    - 03: DDR initialization
29462306a36Sopenharmony_ci		    - 04: DDR training report status
29562306a36Sopenharmony_ci		    - 05: ATF BL2 firmware booting
29662306a36Sopenharmony_ci		    - 06: ATF BL31 firmware booting
29762306a36Sopenharmony_ci		    - 07: ATF BL32 firmware booting
29862306a36Sopenharmony_ci		    - 08: UEFI firmware booting
29962306a36Sopenharmony_ci		    - 09: OS booting
30062306a36Sopenharmony_ci
30162306a36Sopenharmony_ci		  - ``BB``      : Boot status
30262306a36Sopenharmony_ci
30362306a36Sopenharmony_ci		    - 00: Not started
30462306a36Sopenharmony_ci		    - 01: Started
30562306a36Sopenharmony_ci		    - 02: Completed without error
30662306a36Sopenharmony_ci		    - 03: Failed.
30762306a36Sopenharmony_ci
30862306a36Sopenharmony_ci		  - ``CCCCCCCC``: Boot status information defined for each boot stages
30962306a36Sopenharmony_ci
31062306a36Sopenharmony_ci		For details, see section `5.11 Boot Stage Register Definitions`
31162306a36Sopenharmony_ci		and section `6. Processor Boot Progress Codes, Altra Family Soc BMC
31262306a36Sopenharmony_ci		Interface Specification`.
31362306a36Sopenharmony_ci
31462306a36Sopenharmony_ci
31562306a36Sopenharmony_ciWhat:		/sys/bus/platform/devices/smpro-misc*/soc_power_limit
31662306a36Sopenharmony_ciKernelVersion:	6.1
31762306a36Sopenharmony_ciContact:	Quan Nguyen <quan@os.amperecomputing.com>
31862306a36Sopenharmony_ciDescription:
31962306a36Sopenharmony_ci		(RW) Contains the desired SoC power limit in Watt.
32062306a36Sopenharmony_ci		Writes to this sysfs set the desired SoC power limit (W).
32162306a36Sopenharmony_ci		Reads from this register return the current SoC power limit (W).
32262306a36Sopenharmony_ci		The value ranges:
32362306a36Sopenharmony_ci
32462306a36Sopenharmony_ci		  - Minimum: 120 W
32562306a36Sopenharmony_ci		  - Maximum: Socket TDP power
326