[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210718212706.21659-1-digetx@gmail.com>
Date: Mon, 19 Jul 2021 00:27:04 +0300
From: Dmitry Osipenko <digetx@...il.com>
To: Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
Daniel Lezcano <daniel.lezcano@...aro.org>
Cc: linux-pm@...r.kernel.org, linux-tegra@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v1 0/2] Fix Tegra PMC driver racing with cpuidle driver
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
Powered by blists - more mailing lists