[SRU] [B/OEM-B] [PATCH 0/8] Backport ACPI module-level code functionality

Kai-Heng Feng kai.heng.feng at canonical.com
Thu Jul 4 04:50:14 UTC 2019


BugLink: https://bugs.launchpad.net/bugs/1835357

[Impact]
After S3, DVD-ROM on HP ZBook 17 G5 stops working.

[Fix]
In the past we use dmi_match to set acpi_gbl_parse_table_as_term_list,
so the ACPI core can parse an entire ACPI table as a method.

Unfotunately this workaround doesn't work for the system in question.

So fully backport commit 5a8361f7ecce ("ACPICA: Integrate package
handling with module-level code") and subsequent fix commits, to solve
the issue.

[Test]
After applying the fix, DVD-ROM keeps working after S3.

[Regression Potential]
Medium. I've test several systems and I don't see anything break.
But if we want to be safe, we can merge this into Bionic after we are
sure there's no regression on OEM-B.

Bob Moore (2):
  ACPICA: Cleanup/simplify module-level code support
  ACPICA: Add deferred package support for the Load and loadTable
    operators

Erik Schmauss (2):
  ACPICA: Remove acpi_gbl_group_module_level_code and only use
    acpi_gbl_execute_tables_as_methods instead
  ACPI: probe ECDT before loading AML tables regardless of module-level
    code flag

Kai-Heng Feng (2):
  Revert "UBUNTU: SAUCE: ACPI / bus: Add some Lenovo laptops in list of
    acpi table term list"
  Revert "ACPI / bus: Parse tables as term_list for Dell XPS 9570 and
    Precision M5530"

Rafael J. Wysocki (1):
  ACPI: EC: Look for ECDT EC after calling acpi_load_tables()

Schmauss, Erik (1):
  ACPICA: Integrate package handling with module-level code

 drivers/acpi/acpica/acnamesp.h  |   4 +
 drivers/acpi/acpica/dspkginit.c | 128 ++++++++++++++++++--------------
 drivers/acpi/acpica/dswexec.c   |   6 +-
 drivers/acpi/acpica/evrgnini.c  |   3 +
 drivers/acpi/acpica/exconfig.c  |  14 ++++
 drivers/acpi/acpica/nseval.c    |  14 ++++
 drivers/acpi/acpica/nsinit.c    |  71 ++++++++++++++----
 drivers/acpi/acpica/nsload.c    |  24 +++---
 drivers/acpi/acpica/nsparse.c   |  24 +++++-
 drivers/acpi/acpica/psloop.c    |  24 +++++-
 drivers/acpi/acpica/pstree.c    |   1 +
 drivers/acpi/acpica/tbdata.c    |  18 +++--
 drivers/acpi/acpica/tbxfload.c  |  14 ++--
 drivers/acpi/acpica/utxfinit.c  |  48 +++++-------
 drivers/acpi/bus.c              | 114 ++++++----------------------
 include/acpi/acpixf.h           |   9 +--
 include/acpi/actypes.h          |  20 ++---
 17 files changed, 292 insertions(+), 244 deletions(-)

-- 
2.17.1




More information about the kernel-team mailing list