Linux-Clk Archive on lore.kernel.org
 help / color / Atom feed
* cpuidle big_little driver on Odroid-xu4
@ 2019-09-01 13:13 Jaafar Ali
  2019-09-06  7:52 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 2+ messages in thread
From: Jaafar Ali @ 2019-09-01 13:13 UTC (permalink / raw)
  To: Sylwester Nawrocki
  Cc: linux-samsung-soc, linux-kernel, kgene, Krzysztof Kozlowski, sam,
	linux-clk

Dear Sylwester,
Kernel 5.3rc1
Hardware Odroid-XU4
cpuidle-big_little driver for exynos 5422 of odroid-xu3/4 is not working.
when I enable it in the defconfig , CONFIG_ARM_BIG_LITTLE_CPUIDLE=y,
the device will not boot and the heartbeat blue LED stops.
when the powerdown state[1] is removed form cpuidle-big_little driver
or the function bl_enter_powerdown is disabled by early return, the
kernel boots successfully and I can see cpuidle driver inside
/sys/devices/system/cpu/cpuidle/current_driver
both cpuidle-big_little power down state (exynos5420) and suspend
stuff are using mcpm_cpu_suspend() which in turn calls
mcpm_cpu_power_down() eventually.
while suspend stuff is working correctly and the cpu can
suspend/resume without problems, the cpuidle-bl is not working
the few difference between suspend.c and cpuidle-big_little that I
found are suspend.c do some more preparations such as storing resume
entry point "mcpm_entry_point" into S5P_INFORM0, reset
EXYNOS5420_CPU_STATE and save and restore some other registers.
Can we repeat the scenario of suspend in cpuidle-big_little

Best Regards
-- 
Jaafar Khalaf

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cpuidle big_little driver on Odroid-xu4
  2019-09-01 13:13 cpuidle big_little driver on Odroid-xu4 Jaafar Ali
@ 2019-09-06  7:52 ` Krzysztof Kozlowski
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2019-09-06  7:52 UTC (permalink / raw)
  To: Jaafar Ali
  Cc: Sylwester Nawrocki, linux-samsung-soc, linux-kernel, kgene, sam,
	linux-clk, Marek Szyprowski

On Sun, 1 Sep 2019 at 15:19, Jaafar Ali <jaafarkhalaf@gmail.com> wrote:
>
> Dear Sylwester,
> Kernel 5.3rc1
> Hardware Odroid-XU4
> cpuidle-big_little driver for exynos 5422 of odroid-xu3/4 is not working.
> when I enable it in the defconfig , CONFIG_ARM_BIG_LITTLE_CPUIDLE=y,
> the device will not boot and the heartbeat blue LED stops.
> when the powerdown state[1] is removed form cpuidle-big_little driver
> or the function bl_enter_powerdown is disabled by early return, the
> kernel boots successfully and I can see cpuidle driver inside
> /sys/devices/system/cpu/cpuidle/current_driver
> both cpuidle-big_little power down state (exynos5420) and suspend
> stuff are using mcpm_cpu_suspend() which in turn calls
> mcpm_cpu_power_down() eventually.
> while suspend stuff is working correctly and the cpu can
> suspend/resume without problems, the cpuidle-bl is not working
> the few difference between suspend.c and cpuidle-big_little that I
> found are suspend.c do some more preparations such as storing resume
> entry point "mcpm_entry_point" into S5P_INFORM0, reset
> EXYNOS5420_CPU_STATE and save and restore some other registers.
> Can we repeat the scenario of suspend in cpuidle-big_little

Hi Jaafar,

Thank you for the report. I am not sure whether big-little cpuidle was
working properly before... (before v5.3-rc1) I added your report to
https://exynos.wiki.kernel.org/todo_tasks

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-01 13:13 cpuidle big_little driver on Odroid-xu4 Jaafar Ali
2019-09-06  7:52 ` Krzysztof Kozlowski

Linux-Clk Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-clk/0 linux-clk/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-clk linux-clk/ https://lore.kernel.org/linux-clk \
		linux-clk@vger.kernel.org linux-clk@archiver.kernel.org
	public-inbox-index linux-clk


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-clk


AGPL code for this site: git clone https://public-inbox.org/ public-inbox