ACPI: Introduce Platform Firmware Runtime Telemetry driver
authorChen Yu <yu.c.chen@intel.com>
Wed, 22 Dec 2021 04:32:02 +0000 (12:32 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 27 Dec 2021 16:12:58 +0000 (17:12 +0100)
commitb0013e037a8b07772c74ce24f1ae4743b30fc3cf
tree3b4508dd531dc8dff80467ae209f1ab06a2ffc39
parent0db89fa243e5edc5de38c88b369e4c3755c5fb74
ACPI: Introduce Platform Firmware Runtime Telemetry driver

This driver allows user space to fetch telemetry data from the
firmware with the help of the Platform Firmware Runtime Telemetry
interface.

Both PFRU and PFRT are based on ACPI _DSM interfaces located under
special device objects in the ACPI Namespace, but these interfaces
are different from each other, so it is better to provide a separate
driver from each of them, even though they share some common
definitions and naming conventions.

Tested-by: Hongyu Ning <hongyu.ning@intel.com>
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/Kconfig
drivers/acpi/Makefile
drivers/acpi/pfr_telemetry.c [new file with mode: 0644]
include/uapi/linux/pfrut.h