diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2024-06-22 01:03:40 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2024-06-23 22:41:39 -0500 |
commit | 107924c14e3ddd85119ca43c26a4ee1056fa9b84 (patch) | |
tree | 6036c83369aa317ff8eb46549d22b7bdc4ecbc42 /scripts/gdb/linux/mm.py | |
parent | 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff) |
soc: qcom: pdr: protect locator_addr with the main mutex
If the service locator server is restarted fast enough, the PDR can
rewrite locator_addr fields concurrently. Protect them by placing
modification of those fields under the main pdr->lock.
Fixes: fbe639b44a82 ("soc: qcom: Introduce Protection Domain Restart helpers")
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8550-QRD
Tested-by: Steev Klimaszewski <steev@kali.org>
Tested-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240622-qcom-pd-mapper-v9-1-a84ee3591c8e@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions