linux_dsm_epyc7002/drivers/soc/tegra
Dmitry Osipenko a1ad124c83 soc/tegra: regulators: Fix locking up when voltage-spread is out of range
commit ef85bb582c41524e9e68dfdbde48e519dac4ab3d upstream.

Fix voltage coupler lockup which happens when voltage-spread is out
of range due to a bug in the code. The max-spread requirement shall be
accounted when CPU regulator doesn't have consumers. This problem is
observed on Tegra30 Ouya game console once system-wide DVFS is enabled
in a device-tree.

Fixes: 783807436f ("soc/tegra: regulators: Add regulators coupler for Tegra30")
Cc: stable@vger.kernel.org
Reported-by: Peter Geis <pgwipeout@gmail.com>
Tested-by: Peter Geis <pgwipeout@gmail.com> # Ouya T30
Tested-by: Matt Merhar <mattmerhar@protonmail.com> # Ouya T30
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-05-14 09:49:58 +02:00
..
fuse soc/tegra: fuse: Fix index bug in get_process_id 2020-12-26 16:02:38 +01:00
common.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
flowctrl.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
Kconfig arm64: tegra: Initial Tegra234 VDK support 2020-09-18 15:58:07 +02:00
Makefile soc/tegra: regulators: Add regulators coupler for Tegra30 2019-10-29 14:02:59 +01:00
pmc.c soc/tegra: pmc: Fix completion of power-gate toggling 2021-05-11 14:47:18 +02:00
powergate-bpmp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
regulators-tegra20.c soc/tegra: regulators: Do nothing if voltage is unchanged 2020-01-10 15:42:58 +01:00
regulators-tegra30.c soc/tegra: regulators: Fix locking up when voltage-spread is out of range 2021-05-14 09:49:58 +02:00