x86/PCI: revert "Ignore E820 reservations for bridge windows on newer systems"
authorHans de Goede <hdegoede@redhat.com>
Wed, 9 Feb 2022 16:13:42 +0000 (17:13 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 9 Feb 2022 18:42:58 +0000 (19:42 +0100)
commit3eb616b26408ac813c67280cf883f36d98b8441d
tree400369d681f31251007b48d43e4682c68d08769f
parent7f7b4236f2040d19df1ddaf30047128b41e78de7
x86/PCI: revert "Ignore E820 reservations for bridge windows on newer systems"

Commit 7f7b4236f204 ("x86/PCI: Ignore E820 reservations for bridge windows
on newer systems") fixes the touchpad not working on laptops like
the Lenovo IdeaPad 3 15IIL05 and the Lenovo IdeaPad 5 14IIL05, as well as
fixing thunderbolt hotplug issues on the Lenovo Yoga C940.

Unfortunately it turns out that this is causing issues with suspend/resume
on Lenovo ThinkPad X1 Carbon Gen 2 laptops. So, per the no regressions
policy, rever this. Note I'm looking into another fix for the issues this
fixed.

Fixes: 7f7b4236f204 ("x86/PCI: Ignore E820 reservations for bridge windows on newer systems")
BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=2029207
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/kernel/resource.c