Skip to content

Commit e58d911

Browse files
committed
Merge tag 'pm-4.17-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull power management fixes from Rafael Wysocki: "These are a Low Power S0 Idle quirk, a hibernation handling fix for the PCI bus type and a brcmstb-avs-cpufreq driver fixup removing development debug code from it. Specifics: - Blacklist the Low Power S0 Idle _DSM on ThinkPad X1 Tablet(2016) where it causes issues and make it use ACPI S3 which works instead of the non-working suspend-to-idle by default (Chen Yu). - Fix the handling of hibernation in the PCI core for devices with the DPM_FLAG_SMART_SUSPEND flag set to fix a regression affecting intel-lpss I2C devices (Mika Westerberg). - Drop development debug code from the brcmstb-avs-cpufreq driver (Markus Mayer)" * tag 'pm-4.17-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: cpufreq: brcmstb-avs-cpufreq: remove development debug support PCI / PM: Do not clear state_saved in pci_pm_freeze() when smart suspend is set ACPI / PM: Blacklist Low Power S0 Idle _DSM for ThinkPad X1 Tablet(2016)
2 parents 665fa00 + e140c4a commit e58d911

4 files changed

Lines changed: 17 additions & 334 deletions

File tree

‎drivers/acpi/sleep.c‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,19 @@ static const struct dmi_system_id acpisleep_dmi_table[] __initconst = {
364364
DMI_MATCH(DMI_PRODUCT_NAME, "XPS 13 9360"),
365365
},
366366
},
367+
/*
368+
* ThinkPad X1 Tablet(2016) cannot do suspend-to-idle using
369+
* the Low Power S0 Idle firmware interface (see
370+
* https://bugzilla.kernel.org/show_bug.cgi?id=199057).
371+
*/
372+
{
373+
.callback = init_no_lps0,
374+
.ident = "ThinkPad X1 Tablet(2016)",
375+
.matches = {
376+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
377+
DMI_MATCH(DMI_PRODUCT_NAME, "20GGA00L00"),
378+
},
379+
},
367380
{},
368381
};
369382

‎drivers/cpufreq/Kconfig.arm‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,6 @@ config ARM_BRCMSTB_AVS_CPUFREQ
7171

7272
Say Y, if you have a Broadcom SoC with AVS support for DFS or DVFS.
7373

74-
config ARM_BRCMSTB_AVS_CPUFREQ_DEBUG
75-
bool "Broadcom STB AVS CPUfreq driver sysfs debug capability"
76-
depends on ARM_BRCMSTB_AVS_CPUFREQ
77-
help
78-
Enabling this option turns on debug support via sysfs under
79-
/sys/kernel/debug/brcmstb-avs-cpufreq. It is possible to read all and
80-
write some AVS mailbox registers through sysfs entries.
81-
82-
If in doubt, say N.
83-
8474
config ARM_EXYNOS5440_CPUFREQ
8575
tristate "SAMSUNG EXYNOS5440"
8676
depends on SOC_EXYNOS5440

0 commit comments

Comments
 (0)