Skip to content

Commit cec87ca

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 5e2cf5c commit cec87ca

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

arch/arm64/configs/deepin_arm64_desktop_defconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ CONFIG_ARM64_ACPI_PARKING_PROTOCOL=y
117117
CONFIG_CMDLINE="pcie_aspm=off"
118118
CONFIG_SUSPEND_SKIP_SYNC=y
119119
CONFIG_HIBERNATION=y
120-
CONFIG_PM_STD_PARTITION="/dev/sda2"
120+
CONFIG_PM_DEBUG=y
121+
CONFIG_PM_ADVANCED_DEBUG=y
121122
CONFIG_ENERGY_MODEL=y
122123
CONFIG_CPU_IDLE_GOV_LADDER=y
123124
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
@@ -73,6 +73,8 @@ CONFIG_LOONGSON3_ACPI_CPUFREQ=y
7373
CONFIG_HIBERNATION=y
7474
CONFIG_PM_AUTOSLEEP=y
7575
CONFIG_PM_WAKELOCKS=y
76+
CONFIG_PM_DEBUG=y
77+
CONFIG_PM_ADVANCED_DEBUG=y
7678
CONFIG_WQ_POWER_EFFICIENT_DEFAULT=y
7779
CONFIG_ACPI_SPCR_TABLE=y
7880
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
@@ -102,6 +102,8 @@ CONFIG_HZ_1000=y
102102
CONFIG_LIVEPATCH=y
103103
CONFIG_HIBERNATION=y
104104
CONFIG_PM_WAKELOCKS=y
105+
CONFIG_PM_DEBUG=y
106+
CONFIG_PM_ADVANCED_DEBUG=y
105107
CONFIG_WQ_POWER_EFFICIENT_DEFAULT=y
106108
CONFIG_ENERGY_MODEL=y
107109
CONFIG_ACPI_FPDT=y

0 commit comments

Comments
 (0)