linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Nokia N900 OFF mode regression between v5.10 and v5.11
@ 2021-12-10 23:20 Merlijn Wajer
  2021-12-11  7:54 ` Andreas Kemnade
  0 siblings, 1 reply; 6+ messages in thread
From: Merlijn Wajer @ 2021-12-10 23:20 UTC (permalink / raw)
  To: linux-omap, Tony Lindgren, Adam Ford
  Cc: Ivaylo Dimitrov, Pavel Machek, Dev Null, Andreas Kemnade,
	H. Nikolaus Schaller, Aaro Koskinen

Hi Tony, Adam,

I noticed that after I fixed the OFF mode regression between v5.9 and
v5.10 that there are another one between v5.10 and v5.11. Fortunately,
much like the other change it can be worked around with a config change,
and in fact it looks like the commit identified by git bisect is indeed
just a commit to change omap2plus_defconfig.

a82820fcd079e38309403f595f005a8cc318a13c ("ARM: omap2plus_defconfig:
Enable OMAP3_THERMAL") prevents the N900 from entering OFF mode pretty
much all the time (I've seen scenarios with OFF:2,RET:500), but with the
config change reverted, stuff like this is more common: OFF:13,RET:2

We will probably to keep the thermal features enabled, but maybe we can
figure out why it causes the SoC to not enter sleep modes?

The good news is that this seems to be one of the last regressions with
regards to OFF mode (there might be smaller ones that cause slightly
more wakeups, but those will be harder to find). With this
(CONFIG_OMAP3_THERMAL) config option disabled as well; as fixes from my
other recent emails I can get my 5.15 branch to enter OFF mode again:

> # uname -a
> Linux (none) 5.15.2-00597-g68be8fac7cbd #48 SMP PREEMPT Sat Dec 11 00:14:05 CET 2021 armv7l GNU/Linux
> # grep ^core_pwrdm /sys/kernel/debug/pm_debug/count | cut -d',' -f2,
> OFF:13,RET:10

Regards,
Merlijn

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

end of thread, other threads:[~2021-12-13  5:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-10 23:20 Nokia N900 OFF mode regression between v5.10 and v5.11 Merlijn Wajer
2021-12-11  7:54 ` Andreas Kemnade
2021-12-11 10:23   ` Merlijn Wajer
2021-12-11 10:43     ` Andreas Kemnade
2021-12-13  5:54       ` Tony Lindgren
2021-12-11 10:43     ` Merlijn Wajer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).