Commit 8411371709610c826bf65684f886bfdfb5780ca1
Committed by
Jesse Barnes
1 parent
1cc1c96c16
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
x86/PCI: use host bridge _CRS info on MSI MS-7253
In the spirit of commit 29cf7a30f8a0 ("x86/PCI: use host bridge _CRS info on ASUS M2V-MX SE"), this DMI quirk turns on "pci_use_crs" by default on a board that needs it. This fixes boot failures and oopses introduced in 3e3da00c01d0 ("x86/pci: AMD one chain system to use pci read out res"). The quirk is quite targetted (to a specific board and BIOS version) for two reasons: (1) to emphasize that this method of tackling the problem one quirk at a time is a little insane (2) to give BIOS vendors an opportunity to use simpler tables and allow us to return to generic behavior (whatever that happens to be) with a later BIOS update In other words, I am not at all happy with having quirks like this. But it is even worse for the kernel not to work out of the box on these machines, so... Reference: https://bugzilla.kernel.org/show_bug.cgi?id=42619 Reported-by: Svante Signell <svante.signell@telia.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Showing 1 changed file with 11 additions and 0 deletions Side-by-side Diff
arch/x86/pci/acpi.c
... | ... | @@ -60,6 +60,17 @@ |
60 | 60 | DMI_MATCH(DMI_BIOS_VENDOR, "American Megatrends Inc."), |
61 | 61 | }, |
62 | 62 | }, |
63 | + /* https://bugzilla.kernel.org/show_bug.cgi?id=42619 */ | |
64 | + { | |
65 | + .callback = set_use_crs, | |
66 | + .ident = "MSI MS-7253", | |
67 | + .matches = { | |
68 | + DMI_MATCH(DMI_BOARD_VENDOR, "MICRO-STAR INTERNATIONAL CO., LTD"), | |
69 | + DMI_MATCH(DMI_BOARD_NAME, "MS-7253"), | |
70 | + DMI_MATCH(DMI_BIOS_VENDOR, "Phoenix Technologies, LTD"), | |
71 | + DMI_MATCH(DMI_BIOS_VERSION, "V1.6"), | |
72 | + }, | |
73 | + }, | |
63 | 74 | |
64 | 75 | /* Now for the blacklist.. */ |
65 | 76 |