Thread (8 messages) 8 messages, 3 authors, 2022-06-30

[PATCH 0/3] ACPI: Implement FFH OpRegion support

From: Sudeep Holla <hidden>
Date: 2022-06-16 09:02:26
Also in: linux-acpi

Hi,

This short series adds supports for ACPI Fixed Function Hardware(FFH) based
Opregion that is being added(via Code First approach[1]) to ACPI v6.5

The first patch added ACPICA support for the same and must be routed via
ACPICA project into the kernel and is part of the series just for the
reference. The pull request is already sent there[2].

The second patch added 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 patch added the ARM64 specific callback which handles FFH
OpRegion using arch specific SMC/HVC instructions using SMCCC. The
specification can be found at [3].

[1] https://bugzilla.tianocore.org/show_bug.cgi?id=3598
[2] https://github.com/acpica/acpica/pull/782
[3] https://developer.arm.com/docs/den0048/latest

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>

Sudeep Holla (3):
  ACPICA: Add support for FFH Opregion special context data
  ACPI: Implement a generic FFH Opregion handler
  arm64: Add architecture specific ACPI FFH Opregion callbacks

 arch/arm64/kernel/acpi.c       | 104 +++++++++++++++++++++++++++++++++
 drivers/acpi/Kconfig           |  10 ++++
 drivers/acpi/Makefile          |   1 +
 drivers/acpi/acpi_ffh.c        |  55 +++++++++++++++++
 drivers/acpi/acpica/evregion.c |   8 +++
 drivers/acpi/acpica/exfield.c  |   8 ++-
 drivers/acpi/acpica/exserial.c |   6 ++
 drivers/acpi/bus.c             |   6 ++
 include/acpi/acconfig.h        |   2 +
 include/acpi/actypes.h         |   7 +++
 include/linux/acpi.h           |   7 +++
 11 files changed, 212 insertions(+), 2 deletions(-)
 create mode 100644 drivers/acpi/acpi_ffh.c

--
2.36.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help