Skip to content

Commit 35d8bc1

Browse files
quic-kdybcioandersson
authored andcommitted
soc: qcom: llcc: Enable LLCC_WRCACHE at boot on X1
The Last Level Cache is split into many slices, each one of which can be toggled on or off. Only certain slices are recommended to be turned on unconditionally, in order to reach optimal performance/latency/power levels. Enable WRCACHE on X1 at boot, in accordance with internal recommendations. No significant performance difference is expected. Fixes: b3cf69a ("soc: qcom: llcc: Add configuration data for X1E80100") Cc: [email protected] Reviewed-by: Rajendra Nayak <[email protected]> Signed-off-by: Konrad Dybcio <[email protected]> Reviewed-by: Johan Hovold <[email protected]> Tested-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/20241219-topic-llcc_x1e_wrcache-v3-1-b9848d9c3d63@oss.qualcomm.com Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 6994c65 commit 35d8bc1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/soc/qcom/llcc-qcom.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3004,6 +3004,7 @@ static const struct llcc_slice_config x1e80100_data[] = {
30043004
.fixed_size = true,
30053005
.bonus_ways = 0xfff,
30063006
.cache_mode = 0,
3007+
.activate_on_init = true,
30073008
}, {
30083009
.usecase_id = LLCC_CAMEXP0,
30093010
.slice_id = 4,

0 commit comments

Comments
 (0)