]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
bus: ti-sysc: Fix gpt12 system timer issue with reserved status
authorTony Lindgren <tony@atomide.com>
Fri, 11 Jun 2021 05:42:50 +0000 (08:42 +0300)
committerTony Lindgren <tony@atomide.com>
Fri, 11 Jun 2021 05:42:50 +0000 (08:42 +0300)
commit3ff340e24c9dd5cff9fc07d67914c5adf67f80d6
tree80f108c7ea4ea23ee8514db7bf145394df0fd915
parent78b4b165280d3d70e7a217599f0c06a4c0bb11f9
bus: ti-sysc: Fix gpt12 system timer issue with reserved status

Jarkko Nikula <jarkko.nikula@bitmer.com> 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>
Tested-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/bus/ti-sysc.c