[GIT PULL] ACPI updates for v5.11-rc1

From: Rafael J. Wysocki
Date: Tue Dec 15 2020 - 12:47:02 EST


Hi Linus,

Please pull from the tag

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

with top-most commit 38a0925c5fc89689433f2a2ad415982397cf626e

Merge branch 'acpi-ec'

on top of commit 0477e92881850d44910a7e94fc2c46f96faa131f

Linux 5.10-rc7

to receive ACPI updates for 5.11-rc1.

These update the ACPICA code in the kernel to upstream revision
20201113, fix and clean up some resources manipulation code, extend
the enumeration and gpio-line-names property documentation, clean up
the handling of _DEP during device enumeration, add a new backlight
DMI quirk, clean up transaction handling in the EC driver and make
some assorted janitorial changes.

Specifics:

- Update ACPICA code in the kernel to upstream revision 20201113
with changes as follows:

* Add 5 new UUIDs to the known UUID table (Bob Moore).
* Remove extraneous "the" in comments (Colin Ian King).
* Add function trace macros to improve debugging (Erik Kaneda).
* Fix interpreter memory leak (Erik Kaneda).
* Handle "orphan" _REG for GPIO OpRegions (Hans de Goede).

- Introduce resource_union() and resource_intersection() helpers
and clean up some resource-manipulation code with the help of
them (Andy Shevchenko).

- Revert problematic commit related to the handling of resources
in the ACPI core (Daniel Scally).

- Extend the ACPI device enumeration documentation and the
gpio-line-names _DSD property documentation, clean up the
latter (Flavio Suligoi).

- Clean up _DEP handling during device enumeration, modify the list
of _DEP exceptions and the handling of it and fix up terminology
related to _DEP (Hans de Goede, Rafael Wysocki).

- Eliminate in_interrupt() usage from the ACPI EC driver (Sebastian
Andrzej Siewior).

- Clean up the advance_transaction() routine and related code in
the ACPI EC driver (Rafael Wysocki).

- Add new backlight quirk for GIGABYTE GB-BXBT-2807 (Jasper
St. Pierre).

- Make assorted janitorial changes in several ACPI-related pieces
of code (Hanjun Guo, Jason Yan, Punit Agrawal).

Thanks!


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

Andy Shevchenko (9):
resource: Simplify region_intersects() by reducing conditionals
resource: Group resource_overlaps() with other inline helpers
resource: Introduce resource_union() for overlapping resources
resource: Introduce resource_intersection() for overlapping resources
resource: Add test cases for new resource API
PCI/ACPI: Replace open coded variant of resource_union()
ACPI: watchdog: Replace open coded variant of resource_union()
ASoC: Intel: catpt: Replace open coded variant of resource_intersection()
resource: provide meaningful MODULE_LICENSE() in test suite

Bob Moore (2):
ACPICA: Add 5 new UUIDs to the known UUID table
ACPICA: Update version to 20201113

Colin Ian King (1):
ACPICA: Remove extreaneous "the" in comments

Daniel Scally (1):
Revert "ACPI / resources: Use AE_CTRL_TERMINATE to terminate
resources walks"

Erik Kaneda (2):
ACPICA: Add function trace macros to improve debugging
ACPICA: Interpreter: fix memory leak by using existing buffer

Flavio Suligoi (3):
Documentation: ACPI: explain how to use gpio-line-names
Documentation: ACPI: _DSD: enable hyperlink in final references
Documentation: ACPI: enumeration: add PCI hierarchy representation

Hanjun Guo (7):
ACPI: processor: Remove the duplicated ACPI_PROCESSOR_CLASS macro
ACPI: debug: Remove the not used function
ACPI: SBS: Simplify the driver init code
ACPI: SBS: Simplify the code using module_acpi_driver()
ACPI: tiny-power-button: Simplify the code using module_acpi_driver()
ACPI: acpi_drivers.h: Remove the leftover dead code
ACPI: acpi_drivers.h: Update the kernel doc

Hans de Goede (3):
ACPICA: Also handle "orphan" _REG methods for GPIO OpRegions
ACPI: scan: Add acpi_info_matches_hids() helper
ACPI: scan: Call acpi_get_object_info() from acpi_add_single_object()

Jason Yan (1):
ACPI, APEI: make apei_resources_all static

Jasper St. Pierre (1):
ACPI: video: Add DMI quirk for GIGABYTE GB-BXBT-2807

Punit Agrawal (1):
ACPI: processor: Drop duplicate setting of shared_cpu_map

Rafael J. Wysocki (8):
ACPI: EC: Fold acpi_ec_clear_gpe() into its caller
ACPI: EC: Rename acpi_ec_is_gpe_raised()
ACPI: EC: Simplify error handling in advance_transaction()
ACPI: EC: Untangle error handling in advance_transaction()
ACPI: EC: Clean up status flags checks in advance_transaction()
ACPI: scan: Add PNP0D80 to the _DEP exceptions list
ACPI: scan: Drop INT3396 from acpi_ignore_dep_ids[]
ACPI: scan: Fix up _DEP-related terminology with supplier/consumer

Sebastian Andrzej Siewior (1):
ACPI: EC: Eliminate in_interrupt() usage

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

Documentation/firmware-guide/acpi/dsd/leds.rst | 8 +-
Documentation/firmware-guide/acpi/enumeration.rst | 154 +++++++++++++++++++++
.../firmware-guide/acpi/gpio-properties.rst | 56 +++++++-
drivers/acpi/acpi_dbg.c | 7 -
drivers/acpi/acpi_watchdog.c | 6 +-
drivers/acpi/acpica/accommon.h | 2 +-
drivers/acpi/acpica/evregion.c | 54 ++++----
drivers/acpi/acpica/nspredef.c | 10 +-
drivers/acpi/acpica/nsprepkg.c | 38 ++---
drivers/acpi/acpica/nsrepair2.c | 39 +++---
drivers/acpi/apei/apei-base.c | 2 +-
drivers/acpi/ec.c | 117 +++++++---------
drivers/acpi/internal.h | 3 +-
drivers/acpi/pci_root.c | 4 +-
drivers/acpi/power.c | 2 +-
drivers/acpi/processor_idle.c | 1 -
drivers/acpi/processor_perflib.c | 2 -
drivers/acpi/processor_thermal.c | 2 -
drivers/acpi/processor_throttling.c | 1 -
drivers/acpi/resource.c | 2 +-
drivers/acpi/sbs.c | 24 +---
drivers/acpi/scan.c | 78 ++++++++---
drivers/acpi/tiny-power-button.c | 4 +-
drivers/acpi/video_detect.c | 7 +
include/acpi/acpi_drivers.h | 12 +-
include/acpi/acpixf.h | 2 +-
include/acpi/acuuid.h | 5 +
include/linux/ioport.h | 34 ++++-
kernel/Makefile | 1 +
kernel/resource.c | 10 +-
kernel/resource_kunit.c | 152 ++++++++++++++++++++
lib/Kconfig.debug | 11 ++
sound/soc/intel/catpt/core.h | 11 --
sound/soc/intel/catpt/loader.c | 2 +-
34 files changed, 612 insertions(+), 251 deletions(-)