|
|
Subscribe / Log in / New account

Enable EINJv2 Support

From:  Zaid Alali <zaidal-AT-os.amperecomputing.com>
To:  rafael-AT-kernel.org, lenb-AT-kernel.org, james.morse-AT-arm.com, tony.luck-AT-intel.com, bp-AT-alien8.de, robert.moore-AT-intel.com, dan.j.williams-AT-intel.com, zaidal-AT-os.amperecomputing.com, Jonathan.Cameron-AT-huawei.com, Benjamin.Cheatham-AT-amd.com, Avadhut.Naik-AT-amd.com, viro-AT-zeniv.linux.org.uk, arnd-AT-arndb.de, ira.weiny-AT-intel.com, dave.jiang-AT-intel.com, sthanneeru.opensrc-AT-micron.com, linux-acpi-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, acpica-devel-AT-lists.linux.dev
Subject:  [PATCH v5 0/9] Enable EINJv2 Support
Date:  Thu, 03 Apr 2025 16:13:30 -0700
Message-ID:  <20250403231339.23708-1-zaidal@os.amperecomputing.com>
Archive-link:  Article

The goal of this update is to allow the driver to simultaneously
support EINJ and EINJv2. The implementation follows the approved
ACPI specs(1)(2) that enables the driver to discover system
capabilities through GET_ERROR_TYPE.

Note: The first two ACPICA patches are to be dropped once merged in
ACPICA project, see pull request(3).

(1) https://github.com/tianocore/edk2/issues/9449
(2) https://github.com/tianocore/edk2/issues/9017
(3) https://github.com/acpica/acpica/pull/977

Note: This revision includes a minor change to the user interface,
where users no longer input component array size, instead the size
of the array is parsed by counting lines from user input.

Zaid Alali (9):
  ACPICA: Update values to hex to follow ACPI specs
  ACPICA: Add EINJv2 get error type action
  ACPI: APEI: EINJ: Fix kernel test robot sparse warning
  ACPI: APEI: EINJ: Remove redundant calls to
    einj_get_available_error_type
  ACPI: APEI: EINJ: Enable the discovery of EINJv2 capabilities
  ACPI: APEI: EINJ: Add einjv2 extension struct
  ACPI: APEI: EINJ: Add debugfs files for EINJv2 support
  ACPI: APEI: EINJ: Enable EINJv2 error injections
  ACPI: APEI: EINJ: Update the documentation for EINJv2 support

 .../firmware-guide/acpi/apei/einj.rst         |  33 +-
 drivers/acpi/apei/apei-internal.h             |   2 +-
 drivers/acpi/apei/einj-core.c                 | 322 +++++++++++++-----
 drivers/acpi/apei/einj-cxl.c                  |   2 +-
 include/acpi/actbl1.h                         |  25 +-
 5 files changed, 291 insertions(+), 93 deletions(-)

-- 
2.43.0




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds