[GIT PULL] More ACPI updates for v5.17-rc1
From: Rafael J. Wysocki
Date: Mon Jan 17 2022 - 13:10:14 EST
Hi Linus,
Please pull from the tag
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
acpi-5.17-rc1-2
with top-most commit e3daa2607b1f4bb1d09a5a8ad89ad9f7327a2e63
Merge branch 'acpi-pfrut'
on top of commit bca21755b9fc00dbe371994b53389eb5d70b8e72
Merge tag 'acpi-5.17-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
to receive more ACPI updates for 5.17-rc1.
The most significant item here is the Platform Firmware Runtime
Update and Telemetry (PFRUT) support designed to allow certain
pieces of the platform firmware to be updated on the fly, among
other things.
Also important is the e820 handling change on x86 that should work
around PCI BAR allocation issues on some systems shipping since
2019.
The rest is just a handful of assorted fixes and cleanups on top
of the ACPI material merged previously.
Specifics:
- Add support for the the Platform Firmware Runtime Update and
Telemetry (PFRUT) interface based on ACPI to allow certain pieces
of the platform firmware to be updated without restarting the
system and to provide a mechanism for collecting platform firmware
telemetry data (Chen Yu, Dan Carpenter, Yang Yingliang).
- Ignore E820 reservations covering PCI host bridge windows on
sufficiently recent x86 systems to avoid issues with allocating
PCI BARs on systems where the E820 reservations cover the entire
PCI host bridge memory window returned by the _CRS object in the
system's ACPI tables (Hans de Goede).
- Fix and clean up acpi_scan_init() (Rafael Wysocki).
- Add more sanity checking to ACPI SPCR tables parsing (Mark
Langsdorf).
- Fix up ACPI APD (AMD Soc) driver initialization (Jiasheng Jiang).
- Drop unnecessary "static" from the ACPI PCC address space handling
driver added recently (kernel test robot).
Thanks!
---------------
Chen Yu (4):
efi: Introduce EFI_FIRMWARE_MANAGEMENT_CAPSULE_HEADER and
corresponding structures
ACPI: Introduce Platform Firmware Runtime Update device driver
ACPI: Introduce Platform Firmware Runtime Telemetry driver
ACPI: tools: Introduce utility for firmware updates/telemetry
Dan Carpenter (1):
ACPI: pfr_telemetry: Fix info leak in pfrt_log_ioctl()
Hans de Goede (1):
x86/PCI: Ignore E820 reservations for bridge windows on newer systems
Jiasheng Jiang (1):
ACPI: APD: Check for NULL pointer after calling devm_ioremap()
Mark Langsdorf (1):
ACPI: SPCR: check if table->serial_port.access_width is too wide
Rafael J. Wysocki (3):
ACPI: scan: Change acpi_scan_init() return value type to void
ACPI: scan: Simplify initialization of power and sleep buttons
ACPI: scan: Rename label in acpi_scan_init()
Yang Yingliang (1):
ACPI: pfr_update: Fix return value check in pfru_write()
kernel test robot (1):
ACPI: PCC: pcc_ctx can be static
---------------
Documentation/userspace-api/ioctl/ioctl-number.rst | 1 +
arch/x86/kernel/resource.c | 23 +-
drivers/acpi/Kconfig | 22 +
drivers/acpi/Makefile | 1 +
drivers/acpi/acpi_apd.c | 2 +
drivers/acpi/acpi_pcc.c | 2 +-
drivers/acpi/internal.h | 2 +-
drivers/acpi/pfr_telemetry.c | 435 ++++++++++++++++
drivers/acpi/pfr_update.c | 575 +++++++++++++++++++++
drivers/acpi/scan.c | 76 +--
drivers/acpi/spcr.c | 9 +-
include/linux/efi.h | 46 ++
include/uapi/linux/pfrut.h | 262 ++++++++++
tools/power/acpi/.gitignore | 1 +
tools/power/acpi/Makefile | 16 +-
tools/power/acpi/Makefile.rules | 2 +-
tools/power/acpi/man/pfrut.8 | 137 +++++
tools/power/acpi/tools/pfrut/Makefile | 23 +
tools/power/acpi/tools/pfrut/pfrut.c | 424 +++++++++++++++
19 files changed, 1997 insertions(+), 62 deletions(-)