]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
remoteproc: qcom_q6v5_mss: Re-order writes to the IMEM region
authorSibi Sankar <quic_sibis@quicinc.com>
Mon, 19 Aug 2024 07:30:20 +0000 (13:00 +0530)
committerBjorn Andersson <andersson@kernel.org>
Sat, 16 Nov 2024 03:36:38 +0000 (19:36 -0800)
commit7b22b7719fc17d5979a991c918c868ab041be5c8
tree51b5e94850240a0a8ab3bcab9bae7b0fba2e9f50
parent70d35819531875a14f12fe341486992676df5c6d
remoteproc: qcom_q6v5_mss: Re-order writes to the IMEM region

Any write access to the IMEM region when the Q6 is setting up XPU
protection on it will result in a XPU violation. Fix this by ensuring
IMEM writes related to the MBA post-mortem logs happen before the Q6
is brought out of reset.

Fixes: 318130cc9362 ("remoteproc: qcom_q6v5_mss: Add MBA log extraction support")
Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20240819073020.3291287-1-quic_sibis@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/remoteproc/qcom_q6v5_mss.c