[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240702152737.1184244-1-chenhuacai@loongson.cn>
Date: Tue, 2 Jul 2024 23:27:35 +0800
From: Huacai Chen <chenhuacai@...ngson.cn>
To: "Rafael J . Wysocki" <rafael@...nel.org>,
Viresh Kumar <viresh.kumar@...aro.org>,
Huacai Chen <chenhuacai@...nel.org>
Cc: loongarch@...ts.linux.dev,
linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org,
Xuerui Wang <kernel@...0n.name>,
Jiaxun Yang <jiaxun.yang@...goat.com>,
Huacai Chen <chenhuacai@...ngson.cn>
Subject: [PATCH V2 0/2] LoongArch: Add Loongson-3 CPUFreq driver support
This series add architectural preparation and CPUFreq driver for
Loongson-3 (based on LoongArch).
Some of LoongArch processors support DVFS, their IOCSR.FEATURES has
IOCSRF_FREQSCALE set. And they has a micro-core in the package called
SMC (System Management Controller) to scale frequency, voltage, etc.
V1 -> V2:
1, Use module_platform_driver() instead of module_init()/module_exit();
2, Move the lock protection into do_service_request();
3, Add light-weight hotplug support with help of online()/offline() callbacks;
4, Simplify loongson3_freq_data by removing cur_cpu_freq;
5, Remove unneeded cpu_online() checking.
Huacai Chen(2):
LoongArch: Add architectural preparation for CPUFreq.
cpufreq: Add Loongson-3 CPUFreq driver support.
Signed-off-by: Huacai Chen <chenhuacai@...ngson.cn>
---
2.27.0
Powered by blists - more mailing lists