From 36e7e7999ca076db43f2e7240072085967066a65 Mon Sep 17 00:00:00 2001 From: Yanteng Si Date: Tue, 14 May 2024 10:03:12 +0800 Subject: [PATCH] LoongArch: update defconfig for cpufreq Enable cpufreq features in deepin_loongarch_desktop_defconfig and loongson3_defconfig. Signed-off-by: Chong Qiao Signed-off-by: Hongchen Zhang Signed-off-by: Yanteng Si Co-authored-by: Mingcong Bai --- arch/loongarch/configs/deepin_loongarch_desktop_defconfig | 4 ++++ arch/loongarch/configs/loongson3_defconfig | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/arch/loongarch/configs/deepin_loongarch_desktop_defconfig b/arch/loongarch/configs/deepin_loongarch_desktop_defconfig index 68b6ce03077af..56a9036b1e34d 100644 --- a/arch/loongarch/configs/deepin_loongarch_desktop_defconfig +++ b/arch/loongarch/configs/deepin_loongarch_desktop_defconfig @@ -70,6 +70,10 @@ CONFIG_ACPI_TAD=m CONFIG_ACPI_DOCK=y CONFIG_ACPI_IPMI=m CONFIG_ACPI_PCI_SLOT=y +CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_STAT=y +CONFIG_CPU_FREQ_GOV_POWERSAVE=y +CONFIG_LOONGSON3_ACPI_CPUFREQ=y CONFIG_ACPI_HOTPLUG_MEMORY=y CONFIG_ACPI_HED=y CONFIG_ACPI_CUSTOM_METHOD=y diff --git a/arch/loongarch/configs/loongson3_defconfig b/arch/loongarch/configs/loongson3_defconfig index f18c2ba871eff..d9154b4b1c6ef 100644 --- a/arch/loongarch/configs/loongson3_defconfig +++ b/arch/loongarch/configs/loongson3_defconfig @@ -65,6 +65,10 @@ CONFIG_ACPI_DOCK=y CONFIG_ACPI_IPMI=m CONFIG_ACPI_HOTPLUG_CPU=y CONFIG_ACPI_PCI_SLOT=y +CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_STAT=y +CONFIG_CPU_FREQ_GOV_POWERSAVE=y +CONFIG_LOONGSON3_ACPI_CPUFREQ=y CONFIG_ACPI_HOTPLUG_MEMORY=y CONFIG_VIRTUALIZATION=y CONFIG_KVM=m