History

Merge tag 'platform-drivers-x86-v6.6-6' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86

Pull x86 platform driver fix from Hans de Goede: "A single patch to extend the AMD PMC driver DMI quirk list for laptops which need special handling to avoid NVME s2idle suspend/resume errors" * tag 'platform-drivers-x86-v6.6-6' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86: platform/x86: Add s2idle quirk for more Lenovo laptops

Linus Torvalds committed 3 years ago

Commit a78a67f2 parents 888cf78 3bde7ec1 file · +73 −0Browse files

Unified · Split

drivers/platform/x86/amd/pmc/pmc-quirks.c+73−0
@@ -111,6 +111,79 @@ static const struct dmi_system_id fwbug_list[] = { · 110 unmodified lines
111111 DMI_MATCH(DMI_PRODUCT_NAME, "21A1"),
112112 }
113113 },
114+ /* https://bugzilla.kernel.org/show_bug.cgi?id=218024 */
115+ {
116+ .ident = "V14 G4 AMN",
117+ .driver_data = &quirk_s2idle_bug,
118+ .matches = {
119+ DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
120+ DMI_MATCH(DMI_PRODUCT_NAME, "82YT"),
121+ }
122+ },
123+ {
124+ .ident = "V14 G4 AMN",
125+ .driver_data = &quirk_s2idle_bug,
126+ .matches = {
127+ DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
128+ DMI_MATCH(DMI_PRODUCT_NAME, "83GE"),
129+ }
130+ },
131+ {
132+ .ident = "V15 G4 AMN",
133+ .driver_data = &quirk_s2idle_bug,
134+ .matches = {
135+ DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
136+ DMI_MATCH(DMI_PRODUCT_NAME, "82YU"),
137+ }
138+ },
139+ {
140+ .ident = "V15 G4 AMN",
141+ .driver_data = &quirk_s2idle_bug,
142+ .matches = {
143+ DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
144+ DMI_MATCH(DMI_PRODUCT_NAME, "83CQ"),
145+ }
146+ },
147+ {
148+ .ident = "IdeaPad 1 14AMN7",
149+ .driver_data = &quirk_s2idle_bug,
150+ .matches = {
151+ DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
152+ DMI_MATCH(DMI_PRODUCT_NAME, "82VF"),
153+ }
154+ },
155+ {
156+ .ident = "IdeaPad 1 15AMN7",
157+ .driver_data = &quirk_s2idle_bug,
158+ .matches = {
159+ DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
160+ DMI_MATCH(DMI_PRODUCT_NAME, "82VG"),
161+ }
162+ },
163+ {
164+ .ident = "IdeaPad 1 15AMN7",
165+ .driver_data = &quirk_s2idle_bug,
166+ .matches = {
167+ DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
168+ DMI_MATCH(DMI_PRODUCT_NAME, "82X5"),
169+ }
170+ },
171+ {
172+ .ident = "IdeaPad Slim 3 14AMN8",
173+ .driver_data = &quirk_s2idle_bug,
174+ .matches = {
175+ DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
176+ DMI_MATCH(DMI_PRODUCT_NAME, "82XN"),
177+ }
178+ },
179+ {
180+ .ident = "IdeaPad Slim 3 15AMN8",
181+ .driver_data = &quirk_s2idle_bug,
182+ .matches = {
183+ DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
184+ DMI_MATCH(DMI_PRODUCT_NAME, "82XQ"),
185+ }
186+ },
114187 /* https://gitlab.freedesktop.org/drm/amd/-/issues/2684 */
115188 {
116189 .ident = "HP Laptop 15s-eq2xxx",