Re: [PATCH] bus: ti-sysc: Fix gpt12 system timer issue with reserved status
From: Jarkko Nikula <jarkko.nikula@bitmer.com>
Date: 2021-06-11 13:46:14
Also in:
linux-arm-kernel, lkml
From: Jarkko Nikula <jarkko.nikula@bitmer.com>
Date: 2021-06-11 13:46:14
Also in:
linux-arm-kernel, lkml
On 11.6.2021 9.02, Tony Lindgren wrote:
Jarkko Nikula [off-list ref] reported that Beagleboard
revision c2 stopped booting. Jarkko bisected the issue down to
commit 6cfcd5563b4f ("clocksource/drivers/timer-ti-dm: Fix suspend
and resume for am3 and am4").
Let's fix the issue by tagging system timers as reserved rather than
ignoring them. And let's not probe any interconnect target module child
devices for reserved modules.
This allows PM runtime to keep track of clocks and clockdomains for
the interconnect target module, and prevent the system timer from idling
as we already have SYSC_QUIRK_NO_IDLE and SYSC_QUIRK_NO_IDLE_ON_INIT
flags set for system timers.
Fixes: 6cfcd5563b4f ("clocksource/drivers/timer-ti-dm: Fix suspend and resume for am3 and am4")
Reported-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
drivers/bus/ti-sysc.c | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)I tested this on top of 06af8679449d ("coredump: Limit what can
interrupt coredumps"). I tested Tony's earlier test diff which does the
same that this actual patch also on top of 6cfcd5563b4f.
Tested-by: Jarkko Nikula <jarkko.nikula@bitmer.com>