Yash Shah <yash.shah@xxxxxxxxxx> 於 2020年6月16日 週二 下午8:01寫道: > > The patch series adds the support for dynamic CPU frequency switching > for FU540-C000 SoC on the HiFive Unleashed board. All the patches are > based on Paul Walmsley's work. > > This series is based on Linux v5.7 and tested on HiFive unleashed board. > > Yash Shah (3): > riscv: defconfig, Kconfig: enable CPU power management > riscv: dts: fu540-c000: define hart clocks > riscv: dts: HiFive Unleashed: define a default set of CPU OPPs > > arch/riscv/Kconfig | 8 +++++ > arch/riscv/boot/dts/sifive/fu540-c000.dtsi | 5 +++ > .../riscv/boot/dts/sifive/hifive-unleashed-a00.dts | 38 ++++++++++++++++++++++ > arch/riscv/configs/defconfig | 5 +++ > 4 files changed, 56 insertions(+) > Hi Yash, Thank you for the patch. It works for me to test with cpufreq-ljt-stress-test. Here is my log. CPU stress test, which is doing JPEG decoding by libjpeg-turbo at different cpufreq operating points. Testing CPU 0 1400 MHz ............................................................ OK 999 MHz ............................................................ OK 700 MHz ............................................................ OK 350 MHz ............................................................ OK Testing CPU 1 1400 MHz ............................................................ OK 999 MHz ............................................................ OK 700 MHz ............................................................ OK 350 MHz ............................................................ OK Testing CPU 2 1400 MHz ............................................................ OK 999 MHz ............................................................ OK 700 MHz ............................................................ OK 350 MHz ............................................................ OK Testing CPU 3 1400 MHz ............................................................ OK 999 MHz ............................................................ OK 700 MHz ............................................................ OK 350 MHz ............................................................ OK Overall result : PASSED Tested-by: Greentime Hu <greentime.hu@xxxxxxxxxx>