[PATCH 1/2] soc: qcom: llcc-qcom: Use lowercase hex consistently
From: Kathiravan Thirumoorthy
Date: Tue Oct 20 2026 - 12:57:24 EST
Convert the hex values in the Glymur and IPQ5424 configurations to
lowercase so that they are consistent with the rest of the driver.
Signed-off-by: Kathiravan Thirumoorthy <kathiravan.thirumoorthy@xxxxxxxxxxxxxxxx>
---
drivers/soc/qcom/llcc-qcom.c | 44 ++++++++++++++++++++++----------------------
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/drivers/soc/qcom/llcc-qcom.c b/drivers/soc/qcom/llcc-qcom.c
index d7a42a8040a1..2edc5ec31249 100644
--- a/drivers/soc/qcom/llcc-qcom.c
+++ b/drivers/soc/qcom/llcc-qcom.c
@@ -439,7 +439,7 @@ static const struct llcc_slice_config glymur_data[] = {
.slice_id = 1,
.max_cap = 7680,
.priority = 1,
- .bonus_ways = 0xFFF,
+ .bonus_ways = 0xfff,
.res_ways = 0x0,
.vict_prio = true,
.activate_on_init = true,
@@ -449,7 +449,7 @@ static const struct llcc_slice_config glymur_data[] = {
.max_cap = 512,
.priority = 3,
.fixed_size = true,
- .bonus_ways = 0xFFF,
+ .bonus_ways = 0xfff,
.res_ways = 0x0,
.vict_prio = true,
}, {
@@ -458,7 +458,7 @@ static const struct llcc_slice_config glymur_data[] = {
.max_cap = 1024,
.priority = 1,
.fixed_size = true,
- .bonus_ways = 0xFFF,
+ .bonus_ways = 0xfff,
.res_ways = 0x0,
.vict_prio = true,
}, {
@@ -467,7 +467,7 @@ static const struct llcc_slice_config glymur_data[] = {
.max_cap = 512,
.priority = 3,
.fixed_size = true,
- .bonus_ways = 0xFFF,
+ .bonus_ways = 0xfff,
.res_ways = 0x0,
.vict_prio = true,
}, {
@@ -476,7 +476,7 @@ static const struct llcc_slice_config glymur_data[] = {
.max_cap = 7680,
.priority = 1,
.fixed_size = true,
- .bonus_ways = 0xFFF,
+ .bonus_ways = 0xfff,
.res_ways = 0x0,
.vict_prio = true,
}, {
@@ -485,7 +485,7 @@ static const struct llcc_slice_config glymur_data[] = {
.max_cap = 512,
.priority = 1,
.fixed_size = true,
- .bonus_ways = 0xFFF,
+ .bonus_ways = 0xfff,
.res_ways = 0x0,
.vict_prio = true,
}, {
@@ -493,7 +493,7 @@ static const struct llcc_slice_config glymur_data[] = {
.slice_id = 9,
.max_cap = 7680,
.priority = 1,
- .bonus_ways = 0xFFF,
+ .bonus_ways = 0xfff,
.res_ways = 0x0,
.write_scid_en = true,
.write_scid_cacheable_en = true,
@@ -505,7 +505,7 @@ static const struct llcc_slice_config glymur_data[] = {
.max_cap = 768,
.priority = 1,
.fixed_size = true,
- .bonus_ways = 0xFFF,
+ .bonus_ways = 0xfff,
.res_ways = 0x0,
.vict_prio = true,
.activate_on_init = true,
@@ -515,7 +515,7 @@ static const struct llcc_slice_config glymur_data[] = {
.max_cap = 1024,
.priority = 1,
.fixed_size = true,
- .bonus_ways = 0xFFF,
+ .bonus_ways = 0xfff,
.res_ways = 0x0,
.vict_prio = true,
}, {
@@ -524,7 +524,7 @@ static const struct llcc_slice_config glymur_data[] = {
.max_cap = 64,
.priority = 3,
.fixed_size = true,
- .bonus_ways = 0xFFF,
+ .bonus_ways = 0xfff,
.res_ways = 0x0,
.vict_prio = true,
}, {
@@ -533,7 +533,7 @@ static const struct llcc_slice_config glymur_data[] = {
.max_cap = 1536,
.priority = 1,
.fixed_size = true,
- .bonus_ways = 0xFFF,
+ .bonus_ways = 0xfff,
.res_ways = 0x0,
.vict_prio = true,
.activate_on_init = true,
@@ -543,7 +543,7 @@ static const struct llcc_slice_config glymur_data[] = {
.max_cap = 256,
.priority = 3,
.fixed_size = true,
- .bonus_ways = 0xFFF,
+ .bonus_ways = 0xfff,
.res_ways = 0x0,
.vict_prio = true,
}, {
@@ -552,7 +552,7 @@ static const struct llcc_slice_config glymur_data[] = {
.max_cap = 768,
.priority = 3,
.fixed_size = true,
- .bonus_ways = 0xFFF,
+ .bonus_ways = 0xfff,
.res_ways = 0x0,
.alloc_oneway_en = true,
.vict_prio = true,
@@ -563,7 +563,7 @@ static const struct llcc_slice_config glymur_data[] = {
.max_cap = 3072,
.priority = 1,
.fixed_size = true,
- .bonus_ways = 0xFFF,
+ .bonus_ways = 0xfff,
.res_ways = 0x0,
.cache_mode = 2,
.vict_prio = true,
@@ -582,7 +582,7 @@ static const struct llcc_slice_config glymur_data[] = {
.max_cap = 256,
.priority = 3,
.fixed_size = true,
- .bonus_ways = 0xFFF,
+ .bonus_ways = 0xfff,
.res_ways = 0x0,
.vict_prio = true,
}, {
@@ -590,7 +590,7 @@ static const struct llcc_slice_config glymur_data[] = {
.slice_id = 5,
.max_cap = 512,
.priority = 1,
- .bonus_ways = 0xFFF,
+ .bonus_ways = 0xfff,
.res_ways = 0x0,
.vict_prio = true,
}, {
@@ -608,7 +608,7 @@ static const struct llcc_slice_config glymur_data[] = {
.max_cap = 256,
.priority = 1,
.fixed_size = true,
- .bonus_ways = 0xFFF,
+ .bonus_ways = 0xfff,
.res_ways = 0x0,
.vict_prio = true,
.activate_on_init = true,
@@ -618,7 +618,7 @@ static const struct llcc_slice_config glymur_data[] = {
.max_cap = 256,
.priority = 3,
.fixed_size = true,
- .bonus_ways = 0xFFF,
+ .bonus_ways = 0xfff,
.res_ways = 0x0,
.vict_prio = true,
}
@@ -630,7 +630,7 @@ static const struct llcc_slice_config ipq5424_data[] = {
.slice_id = 1,
.max_cap = 128,
.priority = 3,
- .bonus_ways = 0x0FFF,
+ .bonus_ways = 0xfff,
.retain_on_pc = true,
.activate_on_init = true,
.write_scid_cacheable_en = true,
@@ -647,7 +647,7 @@ static const struct llcc_slice_config ipq5424_data[] = {
.max_cap = 768,
.priority = 1,
.fixed_size = true,
- .bonus_ways = 0x0FFF,
+ .bonus_ways = 0xfff,
.retain_on_pc = true,
.activate_on_init = true,
.write_scid_cacheable_en = true,
@@ -659,7 +659,7 @@ static const struct llcc_slice_config ipq5424_data[] = {
.slice_id = 5,
.max_cap = 128,
.priority = 3,
- .bonus_ways = 0x0FFF,
+ .bonus_ways = 0xfff,
.retain_on_pc = true,
.activate_on_init = true,
.write_scid_cacheable_en = true,
@@ -675,7 +675,7 @@ static const struct llcc_slice_config ipq5424_data[] = {
.slice_id = 6,
.max_cap = 128,
.priority = 3,
- .bonus_ways = 0xC000,
+ .bonus_ways = 0xc000,
.retain_on_pc = true,
.activate_on_init = true,
.write_scid_cacheable_en = true,
--
2.34.1