Skip to content

Commit c1507e7

Browse files
committed
deepin: config: enable PM_ADVANCED_DEBUG
deepin inclusion category: debug pm_debug is very useful for debugging suspend issues such as wakeup, and it has a dynamic debug output, used with kernel debug cmdline with: "no_console_suspend pm_debug_messages" to enable it. PM_ADVANCED_DEBUG is useful for debug device runtime powersaving: /sys/devices/.../power/runtime_usage,runtime_active_kids,runtime_enabled,async. Also clean useless config, CONFIG_PM_STD_PARTITION, which set by system runtime. Fixes: 00d6d38 ("arch: arm64: loongarch: x86: clean up release-bound kernel configs (deepin-community#335)") Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
1 parent 19a90fb commit c1507e7

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

arch/arm64/configs/deepin_arm64_desktop_defconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ CONFIG_ARM64_ACPI_PARKING_PROTOCOL=y
114114
CONFIG_CMDLINE="pcie_aspm=off"
115115
CONFIG_SUSPEND_SKIP_SYNC=y
116116
CONFIG_HIBERNATION=y
117-
CONFIG_PM_STD_PARTITION="/dev/sda2"
117+
CONFIG_PM_DEBUG=y
118+
CONFIG_PM_ADVANCED_DEBUG=y
118119
CONFIG_ENERGY_MODEL=y
119120
CONFIG_CPU_IDLE_GOV_LADDER=y
120121
CONFIG_CPU_IDLE_GOV_MENU=y

arch/loongarch/configs/deepin_loongarch_desktop_defconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ CONFIG_LOONGSON3_ACPI_CPUFREQ=y
7272
CONFIG_HIBERNATION=y
7373
CONFIG_PM_AUTOSLEEP=y
7474
CONFIG_PM_WAKELOCKS=y
75+
CONFIG_PM_DEBUG=y
76+
CONFIG_PM_ADVANCED_DEBUG=y
7577
CONFIG_WQ_POWER_EFFICIENT_DEFAULT=y
7678
CONFIG_ACPI_SPCR_TABLE=y
7779
CONFIG_ACPI_TAD=m

arch/x86/configs/deepin_x86_desktop_defconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ CONFIG_HZ_1000=y
109109
CONFIG_LIVEPATCH=y
110110
CONFIG_HIBERNATION=y
111111
CONFIG_PM_WAKELOCKS=y
112+
CONFIG_PM_DEBUG=y
113+
CONFIG_PM_ADVANCED_DEBUG=y
112114
CONFIG_WQ_POWER_EFFICIENT_DEFAULT=y
113115
CONFIG_ENERGY_MODEL=y
114116
CONFIG_ACPI_FPDT=y

0 commit comments

Comments
 (0)