Skip to content

Commit

Permalink
x86/PCI: Disable E820 reserved region clipping for Clevo NL4XLU laptops
Browse files Browse the repository at this point in the history
Clevo NL4XLU barebones have the same E820 reservation covering
the entire _CRS 32-bit window issue as the Lenovo *IIL* and
Clevo X170KM-G models, relevant dmesg bits (with pci=no_e820):

 BIOS-e820: [mem 0x000000005bc50000-0x00000000cfffffff] reserved
 pci_bus 0000:00: root bus resource [mem 0x6d800000-0xbfffffff window]

Note how the e820 reservation covers the entire PCI root mem window.

Add a no_e820 quirk for these models to fix the touchpad not working
(due to Linux being unable to assign a PCI BAR for the i2c-controller).

Link: https://bugzilla.kernel.org/show_bug.cgi?id=216565
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
  • Loading branch information
jwrdegoede committed Oct 10, 2022
1 parent 5a90e76 commit 0027141
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions arch/x86/pci/acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,19 @@ static const struct dmi_system_id pci_crs_quirks[] __initconst = {
DMI_MATCH(DMI_BOARD_NAME, "X170KM-G"),
},
},

/*
* Clevo NL4XLU barebones have the same E820 reservation covering
* the entire _CRS 32-bit window issue as the Lenovo *IIL* models.
* See https://bugzilla.kernel.org/show_bug.cgi?id=216565
*/
{
.callback = set_no_e820,
.ident = "Clevo NL4XLU Barebone",
.matches = {
DMI_MATCH(DMI_BOARD_NAME, "NL4XLU"),
},
},
{}
};

Expand Down

0 comments on commit 0027141

Please sign in to comment.