[PATCH v5 0/2] x86/PCI: Ignore E820 reservations for bridge windows on newer systems

From: Hans de Goede
Date: Thu Oct 14 2021 - 14:39:59 EST


Hi All,

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

Changes in v5:
- Drop mention of Windows behavior from the commit msg, replace with a
reference to the specs
- Improve documentation in Documentation/admin-guide/kernel-parameters.txt
- Reword the big comment added, use "PCI host bridge window" in it and drop
all references to Windows
- Add a second patch moving the arch/x86/pci/acpi.c printk-s to pr_info/warn

Changes in v4:
- Rewrap the big comment block to fit in 80 columns

I believe that this is ready for merging now.

Bjorn, can you review/ack this please ?

x86/tip folks it would be ideal if you can pick this up and send at
least the first patch as a fix to Linus for 5.15. This fixes a bug which
has been plaguing a lot of users (see all the bug links in the commit msg).

Regards,

Hans


Hans de Goede (2):
x86/PCI: Ignore E820 reservations for bridge windows on newer systems
x86/PCI/ACPI: Replace printk calls with pr_info/pr_warn calls

.../admin-guide/kernel-parameters.txt | 9 ++++
arch/x86/include/asm/pci_x86.h | 10 ++++
arch/x86/kernel/resource.c | 4 ++
arch/x86/pci/acpi.c | 49 +++++++++++++++----
arch/x86/pci/common.c | 6 +++
5 files changed, 68 insertions(+), 10 deletions(-)

--
2.31.1