[PATCH 0/6][SRU][Jammy] touchpad and touchscreen doesn't work at all on ACER Spin 5 (SP513-54N)

AceLan Kao acelan.kao at canonical.com
Mon Aug 1 13:38:25 UTC 2022


From: "Chia-Lin Kao (AceLan)" <acelan.kao at canonical.com>

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

[Impact]
E820 reserved retire memory window, and make other hot-added devices unable
to get the required memory window.

[Fix]
It only can be fixed by a quirk to list the buggy machines, and
the backported commits are from v5.19-rc1 and v5.19-rc3

a2b36ffbf5b6 x86/PCI: Revert "x86/PCI: Clip only host bridge windows for E820 regions"
d341838d776a x86/PCI: Disable E820 reserved region clipping via quirks
fa6dae5d8208 x86/PCI: Add kernel cmdline options to use/ignore E820 reserved regions
4c5e242d3e93 x86/PCI: Clip only host bridge windows for E820 regions
31bf0f433325 x86: Log resource clipping for E820 regions
93d256cd3c1e x86/PCI: Eliminate remove_e820_regions() common subexpressions

[Test]
Verified by the bug reporter.

[Where problems could occur]
The 6 commits are all clean cherry-picked, and the sixth commit reverts the
third commit which are the 2 commits that do real functional changes.
a2b36ffbf5b6 ("x86/PCI: Revert \"x86/PCI: Clip only host bridge windows for E820 regions\"")
4c5e242d3e93 ("x86/PCI: Clip only host bridge windows for E820 regions")
The fourth and and fifth commits introduce a new quirk to ignore E820 reserved
regions and the quirk only affects the listed machines.
Drivers that operates E820 table may fail if we ignore the E820 regions,
but it should have no impact on the listed consumer PCs.

Bjorn Helgaas (3):
  x86/PCI: Eliminate remove_e820_regions() common subexpressions
  x86: Log resource clipping for E820 regions
  x86/PCI: Clip only host bridge windows for E820 regions

Hans de Goede (3):
  x86/PCI: Add kernel cmdline options to use/ignore E820 reserved
    regions
  x86/PCI: Disable E820 reserved region clipping via quirks
  x86/PCI: Revert "x86/PCI: Clip only host bridge windows for E820
    regions"

 .../admin-guide/kernel-parameters.txt         |  9 +++
 arch/x86/include/asm/pci_x86.h                | 10 +++
 arch/x86/kernel/resource.c                    | 17 ++++-
 arch/x86/pci/acpi.c                           | 66 +++++++++++++++++++
 arch/x86/pci/common.c                         |  8 +++
 5 files changed, 108 insertions(+), 2 deletions(-)

-- 
2.25.1




More information about the kernel-team mailing list