]> git.ipfire.org Git - thirdparty/linux.git/commit
memory: tegra: Set BPMP msg flags to reset IPC channels
authorThierry Reding <treding@nvidia.com>
Mon, 9 Oct 2023 10:05:57 +0000 (15:35 +0530)
committerThierry Reding <treding@nvidia.com>
Fri, 13 Oct 2023 12:23:41 +0000 (14:23 +0200)
commitf344675a34383ae26a8230f4b1cd99cbd0defebd
tree8ff2ac9f172e2729516c6d734cf3d25ffedc4f02
parent364b40c6dd2de76a60157f5054921f8d9b594b0f
memory: tegra: Set BPMP msg flags to reset IPC channels

Set the 'TEGRA_BPMP_MESSAGE_RESET' bit in newly added 'flags' field
of 'struct tegra_bpmp_message' to request for the reset of BPMP IPC
channels. This is used along with the 'suspended' check in BPMP driver
for handling early bandwidth requests due to the hotplug of CPU's
during system resume before the driver gets resumed.

Fixes: f41e1442ac5b ("cpufreq: tegra194: add OPP support and set bandwidth")
Co-developed-by: Sumit Gupta <sumitg@nvidia.com>
Signed-off-by: Sumit Gupta <sumitg@nvidia.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/memory/tegra/tegra234.c