14a4a4e9eSQuan NguyenWhat: /sys/bus/platform/devices/smpro-errmon.*/error_[core|mem|pcie|other]_[ce|ue] 24a4a4e9eSQuan NguyenKernelVersion: 6.1 34a4a4e9eSQuan NguyenContact: Quan Nguyen <quan@os.amperecomputing.com> 44a4a4e9eSQuan NguyenDescription: 54a4a4e9eSQuan Nguyen (RO) Contains the 48-byte Ampere (Vendor-Specific) Error Record printed 64a4a4e9eSQuan Nguyen in hex format according to the table below: 74a4a4e9eSQuan Nguyen 84a4a4e9eSQuan Nguyen +--------+---------------+-------------+------------------------------------------------------------+ 94a4a4e9eSQuan Nguyen | Offset | Field | Size (byte) | Description | 104a4a4e9eSQuan Nguyen +--------+---------------+-------------+------------------------------------------------------------+ 114a4a4e9eSQuan Nguyen | 00 | Error Type | 1 | See :ref:`the table below <smpro-error-types>` for details | 124a4a4e9eSQuan Nguyen +--------+---------------+-------------+------------------------------------------------------------+ 134a4a4e9eSQuan Nguyen | 01 | Subtype | 1 | See :ref:`the table below <smpro-error-types>` for details | 144a4a4e9eSQuan Nguyen +--------+---------------+-------------+------------------------------------------------------------+ 154a4a4e9eSQuan Nguyen | 02 | Instance | 2 | See :ref:`the table below <smpro-error-types>` for details | 164a4a4e9eSQuan Nguyen +--------+---------------+-------------+------------------------------------------------------------+ 174a4a4e9eSQuan Nguyen | 04 | Error status | 4 | See ARM RAS specification for details | 184a4a4e9eSQuan Nguyen +--------+---------------+-------------+------------------------------------------------------------+ 194a4a4e9eSQuan Nguyen | 08 | Error Address | 8 | See ARM RAS specification for details | 204a4a4e9eSQuan Nguyen +--------+---------------+-------------+------------------------------------------------------------+ 214a4a4e9eSQuan Nguyen | 16 | Error Misc 0 | 8 | See ARM RAS specification for details | 224a4a4e9eSQuan Nguyen +--------+---------------+-------------+------------------------------------------------------------+ 234a4a4e9eSQuan Nguyen | 24 | Error Misc 1 | 8 | See ARM RAS specification for details | 244a4a4e9eSQuan Nguyen +--------+---------------+-------------+------------------------------------------------------------+ 254a4a4e9eSQuan Nguyen | 32 | Error Misc 2 | 8 | See ARM RAS specification for details | 264a4a4e9eSQuan Nguyen +--------+---------------+-------------+------------------------------------------------------------+ 274a4a4e9eSQuan Nguyen | 40 | Error Misc 3 | 8 | See ARM RAS specification for details | 284a4a4e9eSQuan Nguyen +--------+---------------+-------------+------------------------------------------------------------+ 294a4a4e9eSQuan Nguyen 304a4a4e9eSQuan Nguyen The table below defines the value of error types, their subtype, subcomponent and instance: 314a4a4e9eSQuan Nguyen 324a4a4e9eSQuan Nguyen .. _smpro-error-types: 334a4a4e9eSQuan Nguyen 344a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 354a4a4e9eSQuan Nguyen | Error Group | Error Type | Sub type | Sub component | Instance | 364a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 374a4a4e9eSQuan Nguyen | CPM (core) | 0 | 0 | Snoop-Logic | CPM # | 384a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 394a4a4e9eSQuan Nguyen | CPM (core) | 0 | 2 | Armv8 Core 1 | CPM # | 404a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 414a4a4e9eSQuan Nguyen | MCU (mem) | 1 | 1 | ERR1 | MCU # \| SLOT << 11 | 424a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 434a4a4e9eSQuan Nguyen | MCU (mem) | 1 | 2 | ERR2 | MCU # \| SLOT << 11 | 444a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 454a4a4e9eSQuan Nguyen | MCU (mem) | 1 | 3 | ERR3 | MCU # | 464a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 474a4a4e9eSQuan Nguyen | MCU (mem) | 1 | 4 | ERR4 | MCU # | 484a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 494a4a4e9eSQuan Nguyen | MCU (mem) | 1 | 5 | ERR5 | MCU # | 504a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 514a4a4e9eSQuan Nguyen | MCU (mem) | 1 | 6 | ERR6 | MCU # | 524a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 534a4a4e9eSQuan Nguyen | MCU (mem) | 1 | 7 | Link Error | MCU # | 544a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 554a4a4e9eSQuan Nguyen | Mesh (other) | 2 | 0 | Cross Point | X \| (Y << 5) \| NS <<11 | 564a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 574a4a4e9eSQuan Nguyen | Mesh (other) | 2 | 1 | Home Node(IO) | X \| (Y << 5) \| NS <<11 | 584a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 594a4a4e9eSQuan Nguyen | Mesh (other) | 2 | 2 | Home Node(Mem) | X \| (Y << 5) \| NS <<11 \| device<<12 | 604a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 614a4a4e9eSQuan Nguyen | Mesh (other) | 2 | 4 | CCIX Node | X \| (Y << 5) \| NS <<11 | 624a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 634a4a4e9eSQuan Nguyen | 2P Link (other) | 3 | 0 | N/A | Altra 2P Link # | 644a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 654a4a4e9eSQuan Nguyen | GIC (other) | 5 | 0 | ERR0 | 0 | 664a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 674a4a4e9eSQuan Nguyen | GIC (other) | 5 | 1 | ERR1 | 0 | 684a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 694a4a4e9eSQuan Nguyen | GIC (other) | 5 | 2 | ERR2 | 0 | 704a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 714a4a4e9eSQuan Nguyen | GIC (other) | 5 | 3 | ERR3 | 0 | 724a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 734a4a4e9eSQuan Nguyen | GIC (other) | 5 | 4 | ERR4 | 0 | 744a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 754a4a4e9eSQuan Nguyen | GIC (other) | 5 | 5 | ERR5 | 0 | 764a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 774a4a4e9eSQuan Nguyen | GIC (other) | 5 | 6 | ERR6 | 0 | 784a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 794a4a4e9eSQuan Nguyen | GIC (other) | 5 | 7 | ERR7 | 0 | 804a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 814a4a4e9eSQuan Nguyen | GIC (other) | 5 | 8 | ERR8 | 0 | 824a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 834a4a4e9eSQuan Nguyen | GIC (other) | 5 | 9 | ERR9 | 0 | 844a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 854a4a4e9eSQuan Nguyen | GIC (other) | 5 | 10 | ERR10 | 0 | 864a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 874a4a4e9eSQuan Nguyen | GIC (other) | 5 | 11 | ERR11 | 0 | 884a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 894a4a4e9eSQuan Nguyen | GIC (other) | 5 | 12 | ERR12 | 0 | 904a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 914a4a4e9eSQuan Nguyen | GIC (other) | 5 | 13-21 | ERR13 | RC # + 1 | 924a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 934a4a4e9eSQuan Nguyen | SMMU (other) | 6 | TCU | 100 | RC # | 944a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 954a4a4e9eSQuan Nguyen | SMMU (other) | 6 | TBU0 | 0 | RC # | 964a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 974a4a4e9eSQuan Nguyen | SMMU (other) | 6 | TBU1 | 1 | RC # | 984a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 994a4a4e9eSQuan Nguyen | SMMU (other) | 6 | TBU2 | 2 | RC # | 1004a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 1014a4a4e9eSQuan Nguyen | SMMU (other) | 6 | TBU3 | 3 | RC # | 1024a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 1034a4a4e9eSQuan Nguyen | SMMU (other) | 6 | TBU4 | 4 | RC # | 1044a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 1054a4a4e9eSQuan Nguyen | SMMU (other) | 6 | TBU5 | 5 | RC # | 1064a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 1074a4a4e9eSQuan Nguyen | SMMU (other) | 6 | TBU6 | 6 | RC # | 1084a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 1094a4a4e9eSQuan Nguyen | SMMU (other) | 6 | TBU7 | 7 | RC # | 1104a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 1114a4a4e9eSQuan Nguyen | SMMU (other) | 6 | TBU8 | 8 | RC # | 1124a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 1134a4a4e9eSQuan Nguyen | SMMU (other) | 6 | TBU9 | 9 | RC # | 1144a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 1154a4a4e9eSQuan Nguyen | PCIe AER (pcie) | 7 | Root | 0 | RC # | 1164a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 1174a4a4e9eSQuan Nguyen | PCIe AER (pcie) | 7 | Device | 1 | RC # | 1184a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 1194a4a4e9eSQuan Nguyen | PCIe RC (pcie) | 8 | RCA HB | 0 | RC # | 1204a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 1214a4a4e9eSQuan Nguyen | PCIe RC (pcie) | 8 | RCB HB | 1 | RC # | 1224a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 1234a4a4e9eSQuan Nguyen | PCIe RC (pcie) | 8 | RASDP | 8 | RC # | 1244a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 1254a4a4e9eSQuan Nguyen | OCM (other) | 9 | ERR0 | 0 | 0 | 1264a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 1274a4a4e9eSQuan Nguyen | OCM (other) | 9 | ERR1 | 1 | 0 | 1284a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 1294a4a4e9eSQuan Nguyen | OCM (other) | 9 | ERR2 | 2 | 0 | 1304a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 1314a4a4e9eSQuan Nguyen | SMpro (other) | 10 | ERR0 | 0 | 0 | 1324a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 1334a4a4e9eSQuan Nguyen | SMpro (other) | 10 | ERR1 | 1 | 0 | 1344a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 1354a4a4e9eSQuan Nguyen | SMpro (other) | 10 | MPA_ERR | 2 | 0 | 1364a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 1374a4a4e9eSQuan Nguyen | PMpro (other) | 11 | ERR0 | 0 | 0 | 1384a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 1394a4a4e9eSQuan Nguyen | PMpro (other) | 11 | ERR1 | 1 | 0 | 1404a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 1414a4a4e9eSQuan Nguyen | PMpro (other) | 11 | MPA_ERR | 2 | 0 | 1424a4a4e9eSQuan Nguyen +-----------------+------------+----------+----------------+----------------------------------------+ 1434a4a4e9eSQuan Nguyen 1444a4a4e9eSQuan Nguyen Example:: 1454a4a4e9eSQuan Nguyen 1464a4a4e9eSQuan Nguyen # cat error_other_ue 1474a4a4e9eSQuan Nguyen 880807001e004010401040101500000001004010401040100c0000000000000000000000000000000000000000000000 1484a4a4e9eSQuan Nguyen 1494a4a4e9eSQuan Nguyen The detail of each sysfs entries is as below: 1504a4a4e9eSQuan Nguyen 1514a4a4e9eSQuan Nguyen +-------------+---------------------------------------------------------+----------------------------------+ 1524a4a4e9eSQuan Nguyen | Error | Sysfs entry | Description (when triggered) | 1534a4a4e9eSQuan Nguyen +-------------+---------------------------------------------------------+----------------------------------+ 1544a4a4e9eSQuan Nguyen | Core's CE | /sys/bus/platform/devices/smpro-errmon.*/error_core_ce | Core has CE error | 1554a4a4e9eSQuan Nguyen +-------------+---------------------------------------------------------+----------------------------------+ 1564a4a4e9eSQuan Nguyen | Core's UE | /sys/bus/platform/devices/smpro-errmon.*/error_core_ue | Core has UE error | 1574a4a4e9eSQuan Nguyen +-------------+---------------------------------------------------------+----------------------------------+ 1584a4a4e9eSQuan Nguyen | Memory's CE | /sys/bus/platform/devices/smpro-errmon.*/error_mem_ce | Memory has CE error | 1594a4a4e9eSQuan Nguyen +-------------+---------------------------------------------------------+----------------------------------+ 1604a4a4e9eSQuan Nguyen | Memory's UE | /sys/bus/platform/devices/smpro-errmon.*/error_mem_ue | Memory has UE error | 1614a4a4e9eSQuan Nguyen +-------------+---------------------------------------------------------+----------------------------------+ 1624a4a4e9eSQuan Nguyen | PCIe's CE | /sys/bus/platform/devices/smpro-errmon.*/error_pcie_ce | any PCIe controller has CE error | 1634a4a4e9eSQuan Nguyen +-------------+---------------------------------------------------------+----------------------------------+ 1644a4a4e9eSQuan Nguyen | PCIe's UE | /sys/bus/platform/devices/smpro-errmon.*/error_pcie_ue | any PCIe controller has UE error | 1654a4a4e9eSQuan Nguyen +-------------+---------------------------------------------------------+----------------------------------+ 1664a4a4e9eSQuan Nguyen | Other's CE | /sys/bus/platform/devices/smpro-errmon.*/error_other_ce | any other CE error | 1674a4a4e9eSQuan Nguyen +-------------+---------------------------------------------------------+----------------------------------+ 1684a4a4e9eSQuan Nguyen | Other's UE | /sys/bus/platform/devices/smpro-errmon.*/error_other_ue | any other UE error | 1694a4a4e9eSQuan Nguyen +-------------+---------------------------------------------------------+----------------------------------+ 1704a4a4e9eSQuan Nguyen 1714a4a4e9eSQuan Nguyen UE: Uncorrect-able Error 1724a4a4e9eSQuan Nguyen CE: Correct-able Error 1734a4a4e9eSQuan Nguyen 1744a4a4e9eSQuan Nguyen For details, see section `3.3 Ampere (Vendor-Specific) Error Record Formats, 1754a4a4e9eSQuan Nguyen Altra Family RAS Supplement`. 1764a4a4e9eSQuan Nguyen 1774a4a4e9eSQuan Nguyen 1784a4a4e9eSQuan NguyenWhat: /sys/bus/platform/devices/smpro-errmon.*/overflow_[core|mem|pcie|other]_[ce|ue] 1794a4a4e9eSQuan NguyenKernelVersion: 6.1 1804a4a4e9eSQuan NguyenContact: Quan Nguyen <quan@os.amperecomputing.com> 1814a4a4e9eSQuan NguyenDescription: 1824a4a4e9eSQuan Nguyen (RO) Return the overflow status of each type HW error reported: 1834a4a4e9eSQuan Nguyen 1844a4a4e9eSQuan Nguyen - 0 : No overflow 1854a4a4e9eSQuan Nguyen - 1 : There is an overflow and the oldest HW errors are dropped 1864a4a4e9eSQuan Nguyen 1874a4a4e9eSQuan Nguyen The detail of each sysfs entries is as below: 1884a4a4e9eSQuan Nguyen 1894a4a4e9eSQuan Nguyen +-------------+-----------------------------------------------------------+---------------------------------------+ 1904a4a4e9eSQuan Nguyen | Overflow | Sysfs entry | Description | 1914a4a4e9eSQuan Nguyen +-------------+-----------------------------------------------------------+---------------------------------------+ 1924a4a4e9eSQuan Nguyen | Core's CE | /sys/bus/platform/devices/smpro-errmon.*/overflow_core_ce | Core CE error overflow | 1934a4a4e9eSQuan Nguyen +-------------+-----------------------------------------------------------+---------------------------------------+ 1944a4a4e9eSQuan Nguyen | Core's UE | /sys/bus/platform/devices/smpro-errmon.*/overflow_core_ue | Core UE error overflow | 1954a4a4e9eSQuan Nguyen +-------------+-----------------------------------------------------------+---------------------------------------+ 1964a4a4e9eSQuan Nguyen | Memory's CE | /sys/bus/platform/devices/smpro-errmon.*/overflow_mem_ce | Memory CE error overflow | 1974a4a4e9eSQuan Nguyen +-------------+-----------------------------------------------------------+---------------------------------------+ 1984a4a4e9eSQuan Nguyen | Memory's UE | /sys/bus/platform/devices/smpro-errmon.*/overflow_mem_ue | Memory UE error overflow | 1994a4a4e9eSQuan Nguyen +-------------+-----------------------------------------------------------+---------------------------------------+ 2004a4a4e9eSQuan Nguyen | PCIe's CE | /sys/bus/platform/devices/smpro-errmon.*/overflow_pcie_ce | any PCIe controller CE error overflow | 2014a4a4e9eSQuan Nguyen +-------------+-----------------------------------------------------------+---------------------------------------+ 2024a4a4e9eSQuan Nguyen | PCIe's UE | /sys/bus/platform/devices/smpro-errmon.*/overflow_pcie_ue | any PCIe controller UE error overflow | 2034a4a4e9eSQuan Nguyen +-------------+-----------------------------------------------------------+---------------------------------------+ 2044a4a4e9eSQuan Nguyen | Other's CE | /sys/bus/platform/devices/smpro-errmon.*/overflow_other_ce| any other CE error overflow | 2054a4a4e9eSQuan Nguyen +-------------+-----------------------------------------------------------+---------------------------------------+ 2064a4a4e9eSQuan Nguyen | Other's UE | /sys/bus/platform/devices/smpro-errmon.*/overflow_other_ue| other UE error overflow | 2074a4a4e9eSQuan Nguyen +-------------+-----------------------------------------------------------+---------------------------------------+ 2084a4a4e9eSQuan Nguyen 2094a4a4e9eSQuan Nguyen where: 2104a4a4e9eSQuan Nguyen 2114a4a4e9eSQuan Nguyen - UE: Uncorrect-able Error 2124a4a4e9eSQuan Nguyen - CE: Correct-able Error 2134a4a4e9eSQuan Nguyen 2144a4a4e9eSQuan NguyenWhat: /sys/bus/platform/devices/smpro-errmon.*/[error|warn]_[smpro|pmpro] 2154a4a4e9eSQuan NguyenKernelVersion: 6.1 2164a4a4e9eSQuan NguyenContact: Quan Nguyen <quan@os.amperecomputing.com> 2174a4a4e9eSQuan NguyenDescription: 2184a4a4e9eSQuan Nguyen (RO) Contains the internal firmware error/warning printed as hex format. 2194a4a4e9eSQuan Nguyen 2204a4a4e9eSQuan Nguyen The detail of each sysfs entries is as below: 2214a4a4e9eSQuan Nguyen 2224a4a4e9eSQuan Nguyen +---------------+------------------------------------------------------+--------------------------+ 2234a4a4e9eSQuan Nguyen | Error | Sysfs entry | Description | 2244a4a4e9eSQuan Nguyen +---------------+------------------------------------------------------+--------------------------+ 2254a4a4e9eSQuan Nguyen | SMpro error | /sys/bus/platform/devices/smpro-errmon.*/error_smpro | system has SMpro error | 2264a4a4e9eSQuan Nguyen +---------------+------------------------------------------------------+--------------------------+ 2274a4a4e9eSQuan Nguyen | SMpro warning | /sys/bus/platform/devices/smpro-errmon.*/warn_smpro | system has SMpro warning | 2284a4a4e9eSQuan Nguyen +---------------+------------------------------------------------------+--------------------------+ 2294a4a4e9eSQuan Nguyen | PMpro error | /sys/bus/platform/devices/smpro-errmon.*/error_pmpro | system has PMpro error | 2304a4a4e9eSQuan Nguyen +---------------+------------------------------------------------------+--------------------------+ 2314a4a4e9eSQuan Nguyen | PMpro warning | /sys/bus/platform/devices/smpro-errmon.*/warn_pmpro | system has PMpro warning | 2324a4a4e9eSQuan Nguyen +---------------+------------------------------------------------------+--------------------------+ 2334a4a4e9eSQuan Nguyen 2344a4a4e9eSQuan Nguyen For details, see section `5.10 RAS Internal Error Register Definitions, 2354a4a4e9eSQuan Nguyen Altra Family Soc BMC Interface Specification`. 2364a4a4e9eSQuan Nguyen 237b0f64c80SQuan NguyenWhat: /sys/bus/platform/devices/smpro-errmon.*/event_[vrd_warn_fault|vrd_hot|dimm_hot|dimm_2x_refresh] 238b0f64c80SQuan NguyenKernelVersion: 6.1 (event_[vrd_warn_fault|vrd_hot|dimm_hot]), 6.4 (event_dimm_2x_refresh) 2394a4a4e9eSQuan NguyenContact: Quan Nguyen <quan@os.amperecomputing.com> 2404a4a4e9eSQuan NguyenDescription: 2414a4a4e9eSQuan Nguyen (RO) Contains the detail information in case of VRD/DIMM warning/hot events 2424a4a4e9eSQuan Nguyen in hex format as below:: 2434a4a4e9eSQuan Nguyen 2444a4a4e9eSQuan Nguyen AAAA 2454a4a4e9eSQuan Nguyen 2464a4a4e9eSQuan Nguyen where: 2474a4a4e9eSQuan Nguyen 2484a4a4e9eSQuan Nguyen - ``AAAA``: The event detail information data 2494a4a4e9eSQuan Nguyen 2504a4a4e9eSQuan Nguyen The detail of each sysfs entries is as below: 2514a4a4e9eSQuan Nguyen 2524a4a4e9eSQuan Nguyen +---------------+---------------------------------------------------------------+---------------------+ 2534a4a4e9eSQuan Nguyen | Event | Sysfs entry | Description | 2544a4a4e9eSQuan Nguyen +---------------+---------------------------------------------------------------+---------------------+ 2554a4a4e9eSQuan Nguyen | VRD HOT | /sys/bus/platform/devices/smpro-errmon.*/event_vrd_hot | VRD Hot | 2564a4a4e9eSQuan Nguyen +---------------+---------------------------------------------------------------+---------------------+ 2574a4a4e9eSQuan Nguyen | VR Warn/Fault | /sys/bus/platform/devices/smpro-errmon.*/event_vrd_warn_fault | VR Warning or Fault | 2584a4a4e9eSQuan Nguyen +---------------+---------------------------------------------------------------+---------------------+ 2594a4a4e9eSQuan Nguyen | DIMM HOT | /sys/bus/platform/devices/smpro-errmon.*/event_dimm_hot | DIMM Hot | 2604a4a4e9eSQuan Nguyen +---------------+---------------------------------------------------------------+---------------------+ 261b0f64c80SQuan Nguyen | DIMM 2X | /sys/bus/platform/devices/smpro-errmon.*/event_dimm_2x_refresh| DIMM 2x refresh rate| 262b0f64c80SQuan Nguyen | REFRESH RATE | | event in high temp | 263b0f64c80SQuan Nguyen +---------------+---------------------------------------------------------------+---------------------+ 2644a4a4e9eSQuan Nguyen 265b0f64c80SQuan Nguyen For more details, see section `5.7 GPI Status Registers and 5.9 Memory Error Register Definitions, 2664a4a4e9eSQuan Nguyen Altra Family Soc BMC Interface Specification`. 2674a4a4e9eSQuan Nguyen 268*c2c99326SQuan NguyenWhat: /sys/bus/platform/devices/smpro-errmon.*/event_dimm[0-15]_syndrome 269*c2c99326SQuan NguyenKernelVersion: 6.4 270*c2c99326SQuan NguyenContact: Quan Nguyen <quan@os.amperecomputing.com> 271*c2c99326SQuan NguyenDescription: 272*c2c99326SQuan Nguyen (RO) The sysfs returns the 2-byte DIMM failure syndrome data for slot 273*c2c99326SQuan Nguyen 0-15 if it failed to initialize. 274*c2c99326SQuan Nguyen 275*c2c99326SQuan Nguyen For more details, see section `5.11 Boot Stage Register Definitions, 276*c2c99326SQuan Nguyen Altra Family Soc BMC Interface Specification`. 277*c2c99326SQuan Nguyen 278763dc90eSQuan NguyenWhat: /sys/bus/platform/devices/smpro-misc.*/boot_progress 279763dc90eSQuan NguyenKernelVersion: 6.1 280763dc90eSQuan NguyenContact: Quan Nguyen <quan@os.amperecomputing.com> 281763dc90eSQuan NguyenDescription: 282763dc90eSQuan Nguyen (RO) Contains the boot stages information in hex as format below:: 283763dc90eSQuan Nguyen 284763dc90eSQuan Nguyen AABBCCCCCCCC 285763dc90eSQuan Nguyen 286763dc90eSQuan Nguyen where: 287763dc90eSQuan Nguyen 288763dc90eSQuan Nguyen - ``AA`` : The boot stages 289763dc90eSQuan Nguyen 290763dc90eSQuan Nguyen - 00: SMpro firmware booting 291763dc90eSQuan Nguyen - 01: PMpro firmware booting 292763dc90eSQuan Nguyen - 02: ATF BL1 firmware booting 293763dc90eSQuan Nguyen - 03: DDR initialization 294763dc90eSQuan Nguyen - 04: DDR training report status 295763dc90eSQuan Nguyen - 05: ATF BL2 firmware booting 296763dc90eSQuan Nguyen - 06: ATF BL31 firmware booting 297763dc90eSQuan Nguyen - 07: ATF BL32 firmware booting 298763dc90eSQuan Nguyen - 08: UEFI firmware booting 299763dc90eSQuan Nguyen - 09: OS booting 300763dc90eSQuan Nguyen 301763dc90eSQuan Nguyen - ``BB`` : Boot status 302763dc90eSQuan Nguyen 303763dc90eSQuan Nguyen - 00: Not started 304763dc90eSQuan Nguyen - 01: Started 305763dc90eSQuan Nguyen - 02: Completed without error 306763dc90eSQuan Nguyen - 03: Failed. 307763dc90eSQuan Nguyen 308763dc90eSQuan Nguyen - ``CCCCCCCC``: Boot status information defined for each boot stages 309763dc90eSQuan Nguyen 310763dc90eSQuan Nguyen For details, see section `5.11 Boot Stage Register Definitions` 311763dc90eSQuan Nguyen and section `6. Processor Boot Progress Codes, Altra Family Soc BMC 312763dc90eSQuan Nguyen Interface Specification`. 313763dc90eSQuan Nguyen 314763dc90eSQuan Nguyen 315763dc90eSQuan NguyenWhat: /sys/bus/platform/devices/smpro-misc*/soc_power_limit 316763dc90eSQuan NguyenKernelVersion: 6.1 317763dc90eSQuan NguyenContact: Quan Nguyen <quan@os.amperecomputing.com> 318763dc90eSQuan NguyenDescription: 319763dc90eSQuan Nguyen (RW) Contains the desired SoC power limit in Watt. 320763dc90eSQuan Nguyen Writes to this sysfs set the desired SoC power limit (W). 321763dc90eSQuan Nguyen Reads from this register return the current SoC power limit (W). 322763dc90eSQuan Nguyen The value ranges: 323763dc90eSQuan Nguyen 324763dc90eSQuan Nguyen - Minimum: 120 W 325763dc90eSQuan Nguyen - Maximum: Socket TDP power 326