[PATCH v2 0/2] ACPI: Implement FFH OpRegion support

Sudeep Holla sudeep.holla at arm.com
Thu Nov 10 05:45:03 PST 2022


Hi,

This short series adds supports for ACPI Fixed Function Hardware(FFH) based
Opregion that is being added to ACPI v6.5

The ACPICA support for the same is now merged and imported into linux-next
via PM tree.

The first patch adds a generic FFH OpRegion handler. Since handling of
FFH OpRegion is very platform and the generic handlers just call the platform/
architecture specific callbacks for all the work.

The last/second patch adds the ARM64 specific callback which handles FFH
OpRegion using arch specific SMC/HVC instructions using SMCCC. The
specification can be found at [1].

[1] https://developer.arm.com/docs/den0048/latest

Sudeep Holla (2):
  ACPI: Implement a generic FFH Opregion handler
  arm64: Add architecture specific ACPI FFH Opregion callbacks

 arch/arm64/kernel/acpi.c | 106 +++++++++++++++++++++++++++++++++++++++
 drivers/acpi/Kconfig     |  10 ++++
 drivers/acpi/Makefile    |   1 +
 drivers/acpi/acpi_ffh.c  |  55 ++++++++++++++++++++
 drivers/acpi/bus.c       |   6 +++
 include/linux/acpi.h     |   7 +++
 6 files changed, 185 insertions(+)
 create mode 100644 drivers/acpi/acpi_ffh.c

-- 
2.38.1




More information about the linux-arm-kernel mailing list