lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 29 Jul 2022 10:35:50 -0500
From:   Jay Lu <jaylu102@....com>
To:     <jaylu102@....com>, <linux-kernel@...r.kernel.org>,
        <rafael@...nel.org>, <lenb@...nel.org>, <james.morse@....com>,
        <tony.luck@...el.com>, <bp@...en8.de>,
        <dave.hansen@...ux.intel.com>, <jarkko@...nel.org>,
        <xueshuai@...ux.alibaba.com>
CC:     <terry.bowman@....com>, <yazen.ghannam@....com>,
        <smita.koralahallichannabasappa@....com>, <robert.richter@....com>,
        <linux-acpi@...r.kernel.org>, <jayakumar.govindankalivu@....com>
Subject: [PATCH 3/3] ACPI, APEI, EINJ: Add support for new CXL error types

EINJ module allows new CXL error types to be passed through sysfs
interface, but it doesn't advertise new CXL error types in sysfs.
Update EINJ so that it displays new CXL errors.

Signed-off-by: Jay Lu <jaylu102@....com>
---
 drivers/acpi/apei/einj.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/acpi/apei/einj.c b/drivers/acpi/apei/einj.c
index a68103280f74..4aed0eab329e 100644
--- a/drivers/acpi/apei/einj.c
+++ b/drivers/acpi/apei/einj.c
@@ -582,6 +582,12 @@ static const char * const einj_error_type_string[] = {
 	"0x00000200\tPlatform Correctable\n",                           /* bit 9  */
 	"0x00000400\tPlatform Uncorrectable non-fatal\n",               /* bit 10 */
 	"0x00000800\tPlatform Uncorrectable fatal\n",                   /* bit 11 */
+	"0x00001000\tCXL.cache Protocol Correctable\n",                 /* bit 12 */
+	"0x00002000\tCXL.cache Protocol Uncorrectable non-fatal\n",     /* bit 13 */
+	"0x00004000\tCXL.cache Protocol Uncorrectable fatal\n",         /* bit 14 */
+	"0x00008000\tCXL.mem Protocol Correctable\n",                   /* bit 15 */
+	"0x00010000\tCXL.mem Protocol Uncorrectable non-fatal\n",       /* bit 16 */
+	"0x00020000\tCXL.mem Protocol Uncorrectable fatal\n",           /* bit 17 */
 };
 
 static int available_error_type_show(struct seq_file *m, void *v)
-- 
2.27.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ