mbox series

[v5,0/9] Enable EINJv2 Support

Message ID 20250403231339.23708-1-zaidal@os.amperecomputing.com (mailing list archive)
Headers show
Series Enable EINJv2 Support | expand

Message

Zaid Alali April 3, 2025, 11:13 p.m. UTC
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(-)

Comments

Jonathan Cameron April 4, 2025, 9:25 a.m. UTC | #1
On Thu,  3 Apr 2025 16:13:30 -0700
Zaid Alali <zaidal@os.amperecomputing.com> wrote:

> 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.
No change log here or in patches.  Ideal is a summary of the big
stuff here and details under the --- in each individual patch.


> 
> 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(-)
>