OSDN Git Service

ACPI: APEI: EINJ: Add CXL error types
authorTony Luck <tony.luck@intel.com>
Tue, 14 Mar 2023 00:46:11 +0000 (17:46 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 20 Mar 2023 17:33:00 +0000 (18:33 +0100)
commitfe6603cafabbe9c0213cfaaca24bcbb3cc6e2a51
tree4cb9abff7df96382756c132549f3a8f6677af207
parente8d018dd0257f744ca50a729e3d042cf2ec9da65
ACPI: APEI: EINJ: Add CXL error types

ACPI 6.5 added six new error types for CXL. See chapter 18
table 18.30.

Add strings for the new types so that Linux will list them in the
/sys/kernel/debug/apei/einj/available_error_types file.

It seems no other changes are needed. Linux already accepts
the CXL codes (on a BIOS that advertises them).

Signed-off-by: Tony Luck <tony.luck@intel.com>
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/apei/einj.c