mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kathiravan Thirumoorthy <kathiravan.thirumoorthy@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Abel Vesa <abelvesa@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
	Kathiravan Thirumoorthy
	<kathiravan.thirumoorthy@oss.qualcomm.com>
Subject: [PATCH 1/2] soc: qcom: llcc-qcom: Use lowercase hex consistently
Date: Tue, 20 Oct 2026 22:24:50 +0530	[thread overview]
Message-ID: <20261020-lower_case_hex-v1-1-bfac89824646@oss.qualcomm.com> (raw)
In-Reply-To: <20261020-lower_case_hex-v1-0-bfac89824646@oss.qualcomm.com>

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@oss.qualcomm.com>
---
 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


  reply	other threads:[~2026-10-20 16:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-20 16:54 [PATCH 0/2] Miscellaneous updates to the Qualcomm LLCC driver Kathiravan Thirumoorthy
2026-10-20 16:54 ` Kathiravan Thirumoorthy [this message]
2026-10-20 16:54 ` [PATCH 2/2] soc: qcom: llcc-qcom: Fix whitespace in slice config arrays Kathiravan Thirumoorthy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261020-lower_case_hex-v1-1-bfac89824646@oss.qualcomm.com \
    --to=kathiravan.thirumoorthy@oss.qualcomm.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®