[GIT PULL] More ACPI updates for v6.2-rc1

From: Rafael J. Wysocki
Date: Thu Dec 15 2022 - 13:07:29 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
acpi-6.2-rc1-2

with top-most commit 3d03140c4844bbd128728e8a367bb467d95f888e

Merge branch 'acpi-ec'

on top of commit bee74dcbd3908291f4bfff3c81a52d52dcd48814

Merge branches 'acpi-fan', 'acpi-pcc', 'acpi-misc' and 'pnp'

to receive additional ACPI updates for 6.2-rc1.

These fix an AML byte code execution issue in ACPICA and two issues in
the ACPI EC driver which requires rearranging ACPICA code.

Specifics:

- Avoid trying to resolve operands in AML when there are none (Amadeusz
Sławiński).

- Fix indentation in include/acpi/acpixf.h to help applying patches
from the upstream ACPICA git (Hans de Goede).

- Make it possible to install an address space handler without
evaluating _REG for Operation Regions in the given address space (Hans
de Goede).

- Defer the evaluation of _REG for ECDT described ECs till the matching
EC device in the DSDT gets parsed and acpi_ec_add() gets called for
it (Hans de Goede).

- Fix EC address space handler unregistration (Hans de Goede).

Thanks!


---------------

Amadeusz Sławiński (1):
ACPICA: Fix operand resolution

Hans de Goede (4):
ACPICA: include/acpi/acpixf.h: Fix indentation
ACPICA: Allow address_space_handler Install and _REG execution
as 2 separate steps
ACPI: EC: Fix EC address space handler unregistration
ACPI: EC: Fix ECDT probe ordering issues

---------------

drivers/acpi/acpica/dswexec.c | 6 +-
drivers/acpi/acpica/evxfregn.c | 92 ++++++++++++++++++++++++++---
drivers/acpi/ec.c | 32 ++++++----
drivers/acpi/internal.h | 1 +
include/acpi/acpixf.h | 130 ++++++++++++++++++++++-------------------
5 files changed, 181 insertions(+), 80 deletions(-)