]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ACPI: APEI: EINJ: Create debugfs files to enter device id and syndrome
authorTony Luck <tony.luck@intel.com>
Tue, 17 Jun 2025 19:30:24 +0000 (12:30 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 18 Jun 2025 18:49:32 +0000 (20:49 +0200)
commit90711f7bdf76faa9ed766236bc1f1fbd4364b5e7
treeb06a6d36303e5f835086ee115fc2a19a7ea56c10
parent691a0f0a557b19316ef533f9ca34c72ab6c7ae56
ACPI: APEI: EINJ: Create debugfs files to enter device id and syndrome

EINJv2 allows users to inject multiple errors at the same time by
specifying the device id and syndrome bits for each error in a flex
array.

Create files in the einj debugfs directory to enter data for each
device id and syndrome value. Note that the specification says these
are 128-bit little-endian values. Linux doesn't have a handy helper
to manage objects of this type.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Zaid Alali <zaidal@os.amperecomputing.com>
Link: https://patch.msgid.link/20250617193026.637510-6-zaidal@os.amperecomputing.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/apei/einj-core.c