mbox series

[v9,0/3] x86/PCI: Ignore E820 reservations for bridge windows on future systems

Message ID 20220519152150.6135-1-hdegoede@redhat.com (mailing list archive)
Headers show
Series x86/PCI: Ignore E820 reservations for bridge windows on future systems | expand

Message

Hans de Goede May 19, 2022, 3:21 p.m. UTC
Hi All,

Here is v9 of my patch to address the E820 reservations vs PCI host bridge
ranges issue which are causing touchpad and/or thunderbolt issues on many
different laptop models.

After previous attempts to identify these systems by looking for E820
reservations covering the entire bridge window, which broke the boot
on some coreboot based ChromeBooks we are now back to using a bios date
+ DMI quirks based approach.

Changes in v9:
- Split making use_e820=false the default for BIOS year >= 2023 out into
  a separate patch
- Split the addition of DMI quirks out into a separate patch
- Add a DMI quirk for the TUXEDO Book XUX7 - Gen12

Changes in v8:
- Change the cut-off for no longer excluding E820 reservations from
  the bridge window to BIOS year >= 2023 so that this only applies to
  upcoming systems.
- Use DMI quirks for existing systems on which excluding E820
  reservations from the _CRS returned bridge window is an issue.

This is based on top of Bjorn's pci/resource branch:
https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git/log/?h=pci/resource

Regards,

Hans


Hans de Goede (3):
  x86/PCI: Add kernel cmdline options to use/ignore E820 reserved
    regions
  x86/PCI: Add DMI quirks to ignore E820 reserved regions on some
    systems
  x86/PCI: Ignore E820 reserved regions for bridge windows on future
    systems

 .../admin-guide/kernel-parameters.txt         |   9 ++
 arch/x86/include/asm/pci_x86.h                |   2 +
 arch/x86/pci/acpi.c                           | 121 +++++++++++++++++-
 arch/x86/pci/common.c                         |   8 ++
 4 files changed, 138 insertions(+), 2 deletions(-)