]> git.itanic.dy.fi Git - linux-stable/commit
ACPI: Implement a generic FFH Opregion handler
authorSudeep Holla <sudeep.holla@arm.com>
Thu, 10 Nov 2022 13:45:04 +0000 (13:45 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 14 Nov 2022 18:09:07 +0000 (19:09 +0100)
commite81c782c16844dc758a784899c2fe5260386211b
tree8ca58e1702340b4392e04ced892cf057fedab381
parent094226ad94f471a9f19e8f8e7140a09c2625abaa
ACPI: Implement a generic FFH Opregion handler

This registers the FFH OpRegion handler before ACPI tables are
loaded. The platform support for the same is checked via Platform-Wide
OSPM Capabilities(OSC) before registering the OpRegion handler.

It relies on the special context data passed to offset and the length.
However the interpretation of the values is platform/architecture
specific. This generic handler just passed all the information to
the platform/architecture specific callback. It also implements the
default callbacks which return as not supported.

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/Kconfig
drivers/acpi/Makefile
drivers/acpi/acpi_ffh.c [new file with mode: 0644]
drivers/acpi/bus.c
include/linux/acpi.h