[PATCH v1 0/2] Fix Tegra PMC driver racing with cpuidle driver

From: Dmitry Osipenko
Date: Sun Jul 18 2021 - 17:28:14 EST


I stumbled upon a problem where tegra-cpuidle driver is probed before
Power Management controller driver in a specific kernel configuration,
implicitly disabling the deepest CPU idling state. This series fixes
that trouble.

Dmitry Osipenko (2):
soc/tegra: pmc: Prevent racing with cpuilde driver
cpuidle: tegra: Check whether PMC is ready

arch/arm/mach-tegra/pm.c | 2 +-
arch/arm/mach-tegra/pm.h | 6 ------
arch/arm/mach-tegra/tegra.c | 2 --
drivers/cpuidle/cpuidle-tegra.c | 3 +++
drivers/soc/tegra/pmc.c | 14 +++++++++++++-
include/soc/tegra/pm.h | 6 ++++++
6 files changed, 23 insertions(+), 10 deletions(-)

--
2.32.0