[GIT PULL] ACPI fixes for v6.10-rc3
From: Rafael J. Wysocki
Date: Wed Jun 05 2024 - 13:59:05 EST
Hi Linus,
Please pull from the tag
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
acpi-6.10-rc3
with top-most commit 1bfc0835d40c8b4f19f8c1db8c42edddb265df5f
Merge branches 'acpi-ec', 'acpi-apei' and 'pnp'
on top of commit 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
Linux 6.10-rc1
to receive ACPI fixes for 6.10-rc3.
These fix the ACPI EC and AC drivers, the ACPI APEI error injection
driver and build issues related to the dev_is_pnp() macro referring
to pnp_bus_type that is not exported to modules.
Specifics:
- Fix error handling during EC operation region accesses in the ACPI EC
driver (Armin Wolf).
- Fix a memory leak in the APEI error injection driver introduced
during its conversion to a platform driver (Dan Williams).
- Fix build failures related to the dev_is_pnp() macro by redefining it
as a proper function and exporting it to modules as appropriate and
unexport pnp_bus_type which need not be exported any more (Andy
Shevchenko).
- Update the ACPI AC driver to use power_supply_changed() to let the
power supply core handle configuration changes properly (Thomas
Weißschuh).
Thanks!
---------------
Andy Shevchenko (2):
PNP: Make dev_is_pnp() to be a function and export it for modules
PNP: Hide pnp_bus_type from the non-PNP code
Armin Wolf (2):
ACPI: EC: Abort address space access upon error
ACPI: EC: Avoid returning AE_OK on errors in address space handler
Dan Williams (1):
ACPI: APEI: EINJ: Fix einj_dev release leak
Thomas Weißschuh (1):
ACPI: AC: Properly notify powermanagement core about changes
---------------
drivers/acpi/ac.c | 4 ++--
drivers/acpi/apei/einj-core.c | 2 +-
drivers/acpi/ec.c | 9 +++++++--
drivers/acpi/sbs.c | 4 ++--
drivers/pnp/base.h | 1 +
drivers/pnp/driver.c | 6 ++++++
include/linux/pnp.h | 6 ++----
7 files changed, 21 insertions(+), 11 deletions(-)