Skip to content

ACPI: Implement FFH OpRegion support

Sudeep Holla linux-acpi linux-arm-kernel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v13 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ACPI: Implement a generic FFH Opregion handlerdrivers/acpi/Kconfig drivers/acpi/Makefile drivers/acpi/acpi_ffh.c +2 more+79 -00 replies
2/2arm64: Add architecture specific ACPI FFH Opregion callbacksarch/arm64/kernel/acpi.c+106 -02 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchCatalin Marinas
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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
Signature · 1 line
2.38.1