linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ACPI: Implement FFH OpRegion support
@ 2022-06-16  9:01 Sudeep Holla
  2022-06-16  9:01 ` [PATCH 1/3] ACPICA: Add support for FFH Opregion special context data Sudeep Holla
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Sudeep Holla @ 2022-06-16  9:01 UTC (permalink / raw)
  To: linux-acpi, linux-arm-kernel
  Cc: Sudeep Holla, Rafael J . Wysocki, Lorenzo Pieralisi,
	Catalin Marinas, Will Deacon

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-06-30 13:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-16  9:01 [PATCH 0/3] ACPI: Implement FFH OpRegion support Sudeep Holla
2022-06-16  9:01 ` [PATCH 1/3] ACPICA: Add support for FFH Opregion special context data Sudeep Holla
2022-06-22 12:50   ` Rafael J. Wysocki
2022-06-22 14:00     ` Sudeep Holla
2022-06-22 14:10       ` Rafael J. Wysocki
2022-06-16  9:01 ` [PATCH 2/3] ACPI: Implement a generic FFH Opregion handler Sudeep Holla
2022-06-16  9:01 ` [PATCH 3/3] arm64: Add architecture specific ACPI FFH Opregion callbacks Sudeep Holla
2022-06-30 13:35   ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).