Skip to content

Commit 55751d3

Browse files
lumagandersson
authored andcommitted
firmware: qcom: tzmem: blacklist more platforms for SHM Bridge
The SHM bridge makes the Qualcomm RB3 and SM8150-HDK reset while probing the RMTFS (in qcom_scm_assign_mem()). Blacklist the SHM Bridge on corresponding platforms using SoC-level compat string. If later it's found that the bad behaviour is limited just to the particular boards rather than SoC, the compat strings can be adjusted. Reported-by: Neil Armstrong <[email protected]> Fixes: f86c614 ("firmware: qcom: tzmem: enable SHM Bridge support") Signed-off-by: Dmitry Baryshkov <[email protected]> Acked-by: Bartosz Golaszewski <[email protected]> Tested-by: Neil Armstrong <[email protected]> # on Qualcomm RB3 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent b066a2c commit 55751d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/firmware/qcom/qcom_tzmem.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ static bool qcom_tzmem_using_shm_bridge;
7878
/* List of machines that are known to not support SHM bridge correctly. */
7979
static const char *const qcom_tzmem_blacklist[] = {
8080
"qcom,sc8180x",
81+
"qcom,sdm845", /* reset in rmtfs memory assignment */
82+
"qcom,sm8150", /* reset in rmtfs memory assignment */
8183
NULL
8284
};
8385

0 commit comments

Comments
 (0)