soc: qcom: llcc: Flip the manual slice configuration condition
authorKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Mon, 4 Nov 2024 15:10:53 +0000 (16:10 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 6 Nov 2024 00:13:25 +0000 (16:13 -0800)
commit92f3397c8c8d63fefe0d045425ad54c5ee5d57bb
tree7e0e286d78c150092052b7529355df6e72c5367b
parent4cadd106208143a919c957171a0634e16fd32f82
soc: qcom: llcc: Flip the manual slice configuration condition

Commit c14e64b46944 ("soc: qcom: llcc: Support chipsets that can write
to llcc") made the code not configure certain registers on SDM845 due
to firmware security policies. That turned out only to concern SDM845,
but the condition was chosen such that all other entries (for SoCs that
didnot need it) were required to set .need_llcc_cfg = true.

Flip the condition, so the default is "doesn't need the workaround".

Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20241104-topic-llcc_flip-v1-1-3003c846d131@oss.qualcomm.com
[bjorn: Dropped a few newly added need_llcc_cfg uses]
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/soc/qcom/llcc-qcom.c