Hi Marek, On Wed, 17 Jun 2020 at 15:18, Marek Szyprowski <m.szyprowski@xxxxxxxxxxx> wrote: > > Hi Anand, > > On 16.06.2020 22:58, Anand Moon wrote: > > On Tue, 16 Jun 2020 at 13:44, Marek Szyprowski <m.szyprowski@xxxxxxxxxxx> wrote: > >> The ARM big.LITTLE cpuidle driver has been enabled and tested on Samsung > >> Exynos 5420/5800 based Peach Pit/Pi Chromebooks and in fact it worked > >> only on those boards. > >> > >> However, support for it was broken by the commit 833b5794e330 ("ARM: > >> EXYNOS: reset Little cores when cpu is up") and then never enabled in the > >> exynos_defconfig. This patchset provides the needed fix to the common > >> code and restores support for it. Thanks to Lukasz Luba who motivated me > >> to take a look into this issue. > >> > > Thanks for this updates. > > > > But I feel some DTS changes are missing for example > > d2e5c871ed8a drivers: cpuidle: initialize big.LITTLE driver through DT > > This is not strictly needed. The bl-cpuidle matches also to the A7/A15 > CPU product ids and it is properly instantiated on the Peach Pit/Pi > Chromebooks. Those CPU DT properties were added as a future-proof > generic solution. I won't hurt to add them though. > Ok Thanks. > > But I feel that this feature is not working as desired since > > still some missing code changes for cluster idle states are missing. > > like clock PWR_CTR and PWR_CTRL2. > > I cannot judge now. All I can test now is a that the boards enters those > idle states and system works stable. I cannot measure power consumption, > because currently I have only remote access to the boards. > Ok, Thanks. What I meant was in order to cpu cluster to enter into IDLE states, it's controlled by the EXYNOS5422_PWR_CTRL and EXYNOS5422_PWR_CTRL2 clk fields See below example from the Exynos5422 cpu idle driver. [0] https://github.com/hardkernel/linux/blob/odroidxu3-3.10.y/arch/arm/mach-exynos/cpuidle-exynos5422.c#L319-L379 Just link Exynos5250 clk driver we need to Initialize PWR_CTRL and PWR_CTRL2 for Exynos542x clocks [1] https://github.com/torvalds/linux/blob/master/drivers/clk/samsung/clk-exynos5250.c#L828-L846 which will help support cpu idle drivers. -Anand