Skip to contentSkip to conversation

soc: qcom: llcc-qcom: Fix SM8750 settings

PATCH Applied Konrad Dybcio 2 participants 2 messages Nov 25 – Dec 4

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 soc: qcom: llcc-qcom: Fix SM8750 settings

Bring the settings in line with the recommendations (and also with the downstream kernel).

Fixes 2c04e58e30ce ("soc: qcom: llcc-qcom: Add support for SM8750")

---
Changes in v2:
- Fix typos in the commit message
- Rebase on next-20261124 (NOP)
- Link to v1: https://lore.kernel.org/r/[email protected]

---
 drivers/soc/qcom/llcc-qcom.c | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)
drivers/soc/qcom/llcc-qcom.c +10 -9
index fa7407a0fd09c6b67241b71232a0123456d59584..d545edd5c78da0894d62e3d99feeecc6ddafc7d3 100644
@@ -3930,7 +3930,8 @@ static const struct llcc_slice_config sm8750_data[] = {
 		.priority = 5,
 		.fixed_size = true,
 		.bonus_ways = 0xffffffff,
-		.vict_prio = true,
+		.ovcap_en = true,
+		.parent_slice_id = 33,
 	}, {
 		.usecase_id = LLCC_MODPE,
 		.slice_id = 29,
@@ -3984,7 +3985,7 @@ static const struct llcc_slice_config sm8750_data[] = {
 		.max_cap = 7936,
 		.priority = 7,
 		.fixed_size = true,
-		.bonus_ways = 0x7fffffff,
+		.res_ways = 0x7fffffff,
 	}, {
 		.usecase_id = LLCC_DISP_WB,
 		.slice_id = 23,
@@ -4007,7 +4008,7 @@ static const struct llcc_slice_config sm8750_data[] = {
 		.fixed_size = true,
 		.bonus_ways = 0xffffffff,
 		.cache_mode = 2,
-		.ovcap_prio = true,
+		.ovcap_en = true,
 		.parent_slice_id = 33,
 	}, {
 		.usecase_id = LLCC_CAMOFE,
@@ -4017,7 +4018,7 @@ static const struct llcc_slice_config sm8750_data[] = {
 		.fixed_size = true,
 		.bonus_ways = 0xffffffff,
 		.stale_en = true,
-		.ovcap_prio = true,
+		.ovcap_en = true,
 		.parent_slice_id = 33,
 	}, {
 		.usecase_id = LLCC_CAMRTIP,
@@ -4027,7 +4028,7 @@ static const struct llcc_slice_config sm8750_data[] = {
 		.fixed_size = true,
 		.bonus_ways = 0xffffffff,
 		.stale_en = true,
-		.ovcap_prio = true,
+		.ovcap_en = true,
 		.parent_slice_id = 33,
 	}, {
 		.usecase_id = LLCC_CAMSRTIP,
@@ -4037,17 +4038,17 @@ static const struct llcc_slice_config sm8750_data[] = {
 		.fixed_size = true,
 		.bonus_ways = 0xffffffff,
 		.stale_en = true,
-		.ovcap_prio = true,
+		.ovcap_en = true,
 		.parent_slice_id = 33,
 	}, {
 		.usecase_id = LLCC_CAMRTRF,
 		.slice_id = 7,
 		.max_cap = 3584,
-		.priority = 1,
+		.priority = 3,
 		.fixed_size = true,
 		.bonus_ways = 0xffffffff,
 		.stale_en = true,
-		.ovcap_prio = true,
+		.ovcap_en = true,
 		.parent_slice_id = 33,
 	}, {
 		.usecase_id = LLCC_CAMSRTRF,
@@ -4057,7 +4058,7 @@ static const struct llcc_slice_config sm8750_data[] = {
 		.fixed_size = true,
 		.bonus_ways = 0xffffffff,
 		.stale_en = true,
-		.ovcap_prio = true,
+		.ovcap_en = true,
 		.parent_slice_id = 33,
 	}, {
 		.usecase_id = LLCC_CPUSSMPAM,

---
base-commit: 3dd8c790a7b7027abdd568e36db5e82ffaea7c77
change-id: 20261113-topic-8750_llcc-bd228d96b455

Best regards,

Signature · 1 line
Konrad Dybcio <[email protected]>
maintainer Applied
#1 lore raw
Quoted 2 lines · Konrad Dybcio

Bring the settings in line with the recommendations (and also with the downstream kernel).

Applied, thanks!

[1/1] soc: qcom: llcc-qcom: Fix SM8750 settings

      commit: b30e0cbc96fdce04dc865b4f0f9dda9e58582de9

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>