mbox series

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

Message ID 20221110134505.1375955-1-sudeep.holla@arm.com
Headers show
Series ACPI: Implement FFH OpRegion support | expand

Message

Sudeep Holla Nov. 10, 2022, 1:45 p.m. UTC
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