Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/2] nord : llcc : Adding LLCC dt bindings and SCT configurations
@ 2026-09-10 13:00 Anurag Pateriya
  2026-09-10 13:00 ` [PATCH 1/2] dt-bindings: cache: qcom,llcc: Add Nord compatible Anurag Pateriya
  2026-09-10 13:00 ` [PATCH 2/2] soc: qcom: llcc: Add LLCC configuration for Nord Anurag Pateriya
  0 siblings, 2 replies; 9+ messages in thread
From: Anurag Pateriya @ 2026-09-10 13:00 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Conor Dooley, Jonathan Cameron,
	Rob Herring, Krzysztof Kozlowski
  Cc: linux-arm-msm, linux-kernel, devicetree, Anurag Pateriya,
	zhangfei.gao, shengchao.guo

This series adds Last Level Cache Controller (LLCC) support for the Nord SoC.

Nord is a multi-cluster platform with four DDR slices, each containing four
MACH9 LLCC banks, for a total of sixteen banks plus a shared broadcast OR/AND
pair. 

The series consists of two patches:

1. dt-bindings: cache: qcom,llcc: Add Nord compatible
   - Updates the LLCC device tree binding to document Nord's sixteen-bank
     configuration
   - Raises maxItems for reg and reg-names from 14 to 18 to accommodate the
     additional banks and broadcast regions

2. soc: qcom: llcc: Add LLCC configuration for Nord
   - Adds the LLCC slice configuration table for Nord, derived from the Nord
     AU (Safe IVI) SCT table
   - Includes thirteen use cases with unique SCIDs and usecase IDs
   - Sets no_edac flag because the bootloader leaves LLCC EDAC registers locked

Signed-off-by: Anurag Pateriya <anurag.pateriya@oss.qualcomm.com>
---
Anurag Pateriya (2):
      dt-bindings: cache: qcom,llcc: Add Nord compatible
      soc: qcom: llcc: Add LLCC configuration for Nord

 .../devicetree/bindings/cache/qcom,llcc.yaml       |  55 +++++++-
 drivers/soc/qcom/llcc-qcom.c                       | 139 +++++++++++++++++++++
 include/linux/soc/qcom/llcc-qcom.h                 |   2 +
 3 files changed, 194 insertions(+), 2 deletions(-)
---
base-commit: 693de981a44b0e7e3b6a73f0b0bcbae9c8d068e6
change-id: 20260910-nord_llcc-51aabc83f8fe

Best regards,
-- 
Anurag Pateriya <anurag.pateriya@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/2] dt-bindings: cache: qcom,llcc: Add Nord compatible
  2026-09-10 13:00 [PATCH 0/2] nord : llcc : Adding LLCC dt bindings and SCT configurations Anurag Pateriya
@ 2026-09-10 13:00 ` Anurag Pateriya
  2026-09-11  6:31   ` Shawn Guo
  2026-09-11 13:04   ` Komal Bajaj
  2026-09-10 13:00 ` [PATCH 2/2] soc: qcom: llcc: Add LLCC configuration for Nord Anurag Pateriya
  1 sibling, 2 replies; 9+ messages in thread
From: Anurag Pateriya @ 2026-09-10 13:00 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Conor Dooley, Jonathan Cameron,
	Rob Herring, Krzysztof Kozlowski
  Cc: linux-arm-msm, linux-kernel, devicetree, Anurag Pateriya,
	zhangfei.gao, shengchao.guo

Nord has four DDR slices with four MACH9 LLCC banks each, so it exposes
sixteen bank regions plus the shared broadcast OR/AND pair. Add its
compatible with a matching reg/reg-names group and raise the top level
maxItems to eighteen.

Signed-off-by: Anurag Pateriya <anurag.pateriya@oss.qualcomm.com>
---
 .../devicetree/bindings/cache/qcom,llcc.yaml       | 55 +++++++++++++++++++++-
 1 file changed, 53 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml b/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
index a1340226a0d0..2141e5d4de63 100644
--- a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
+++ b/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
@@ -26,6 +26,7 @@ properties:
           - qcom,hawi-llcc
           - qcom,ipq5424-llcc
           - qcom,kaanapali-llcc
+          - qcom,nord-llcc
           - qcom,qcs615-llcc
           - qcom,qcs8300-llcc
           - qcom,qdu1000-llcc
@@ -56,11 +57,11 @@ properties:
 
   reg:
     minItems: 1
-    maxItems: 14
+    maxItems: 18
 
   reg-names:
     minItems: 1
-    maxItems: 14
+    maxItems: 18
 
   interrupts:
     maxItems: 1
@@ -355,6 +356,56 @@ allOf:
             - const: llcc3_base
             - const: llcc_broadcast_base
             - const: llcc_broadcast_and_base
+
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - qcom,nord-llcc
+    then:
+      properties:
+        reg:
+          items:
+            - description: LLCC0 base register region
+            - description: LLCC1 base register region
+            - description: LLCC2 base register region
+            - description: LLCC3 base register region
+            - description: LLCC4 base register region
+            - description: LLCC5 base register region
+            - description: LLCC6 base register region
+            - description: LLCC7 base register region
+            - description: LLCC8 base register region
+            - description: LLCC9 base register region
+            - description: LLCC10 base register region
+            - description: LLCC11 base register region
+            - description: LLCC12 base register region
+            - description: LLCC13 base register region
+            - description: LLCC14 base register region
+            - description: LLCC15 base register region
+            - description: LLCC broadcast OR register region
+            - description: LLCC broadcast AND register region
+        reg-names:
+          items:
+            - const: llcc0_base
+            - const: llcc1_base
+            - const: llcc2_base
+            - const: llcc3_base
+            - const: llcc4_base
+            - const: llcc5_base
+            - const: llcc6_base
+            - const: llcc7_base
+            - const: llcc8_base
+            - const: llcc9_base
+            - const: llcc10_base
+            - const: llcc11_base
+            - const: llcc12_base
+            - const: llcc13_base
+            - const: llcc14_base
+            - const: llcc15_base
+            - const: llcc_broadcast_base
+            - const: llcc_broadcast_and_base
+
   - if:
       properties:
         compatible:

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/2] soc: qcom: llcc: Add LLCC configuration for Nord
  2026-09-10 13:00 [PATCH 0/2] nord : llcc : Adding LLCC dt bindings and SCT configurations Anurag Pateriya
  2026-09-10 13:00 ` [PATCH 1/2] dt-bindings: cache: qcom,llcc: Add Nord compatible Anurag Pateriya
@ 2026-09-10 13:00 ` Anurag Pateriya
  2026-09-10 13:50   ` Zhangfei Gao
                     ` (3 more replies)
  1 sibling, 4 replies; 9+ messages in thread
From: Anurag Pateriya @ 2026-09-10 13:00 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Conor Dooley, Jonathan Cameron,
	Rob Herring, Krzysztof Kozlowski
  Cc: linux-arm-msm, linux-kernel, devicetree, Anurag Pateriya,
	zhangfei.gao, shengchao.guo

Add the sub-cache table for Nord, derived from the Nord AU (Safe IVI)
SCT table and limited to the POR use cases that have a unique SCID and a
usecase ID in llcc-qcom.h. Nord has the CFG0/CFG1 pairs and the full
ALGO_ALLOC0..3 set, so it uses the v6 register offsets.

num_banks is set explicitly because LLCC_LB_CNT in LLCC_COMMON_STATUS0
is four bits wide and cannot report sixteen banks; a wrong count makes
the driver map a bank aperture in place of the broadcast region and abort
on the first broadcast read. no_edac is set because the bootloader
leaves the LLCC EDAC registers locked, as on Glymur.

Signed-off-by: Anurag Pateriya <anurag.pateriya@oss.qualcomm.com>
---
 drivers/soc/qcom/llcc-qcom.c       | 139 +++++++++++++++++++++++++++++++++++++
 include/linux/soc/qcom/llcc-qcom.h |   2 +
 2 files changed, 141 insertions(+)

diff --git a/drivers/soc/qcom/llcc-qcom.c b/drivers/soc/qcom/llcc-qcom.c
index 5e45a10663c4..d7a42a8040a1 100644
--- a/drivers/soc/qcom/llcc-qcom.c
+++ b/drivers/soc/qcom/llcc-qcom.c
@@ -1054,6 +1054,128 @@ static const struct llcc_slice_config kaanapali_data[] = {
 	   },
 };
 
+static const struct llcc_slice_config nord_data[] = {
+	{
+		.usecase_id = LLCC_CPUSS,
+		.slice_id = 1,
+		.max_cap = 3072,
+		.priority = 0,
+		.bonus_ways = 0xff,
+		.activate_on_init = true,
+		.write_scid_en = true,
+		.write_scid_cacheable_en = true,
+		.vict_prio = true,
+	}, {
+		.usecase_id = LLCC_CMPT,
+		.slice_id = 34,
+		.max_cap = 0,
+		.priority = 1,
+		.fixed_size = true,
+		.bonus_ways = 0xff,
+		.vict_prio = true,
+	}, {
+		.usecase_id = LLCC_GPUHTW,
+		.slice_id = 11,
+		.max_cap = 512,
+		.priority = 1,
+		.fixed_size = true,
+		.bonus_ways = 0xff,
+		.vict_prio = true,
+	}, {
+		.usecase_id = LLCC_GPU,
+		.slice_id = 12,
+		.max_cap = 2048,
+		.priority = 1,
+		.fixed_size = true,
+		.bonus_ways = 0xff,
+		.write_scid_en = true,
+		.write_scid_cacheable_en = true,
+		.vict_prio = true,
+	}, {
+		.usecase_id = LLCC_MMUHWT,
+		.slice_id = 13,
+		.max_cap = 1024,
+		.priority = 1,
+		.fixed_size = true,
+		.bonus_ways = 0xff,
+		.activate_on_init = true,
+		.vict_prio = true,
+	}, {
+		.usecase_id = LLCC_CAMFW,
+		.slice_id = 20,
+		.max_cap = 512,
+		.priority = 2,
+		.fixed_size = true,
+		.bonus_ways = 0xff,
+		.vict_prio = true,
+	}, {
+		.usecase_id = LLCC_ECC,
+		.slice_id = 26,
+		.max_cap = 1536,
+		.priority = 3,
+		.fixed_size = true,
+		.bonus_ways = 0xff,
+		.activate_on_init = true,
+		.write_scid_en = true,
+		.write_scid_cacheable_en = true,
+		.vict_prio = true,
+	}, {
+		.usecase_id = LLCC_WRCACHE,
+		.slice_id = 31,
+		.max_cap = 2048,
+		.priority = 1,
+		.fixed_size = true,
+		.bonus_ways = 0xff,
+		.activate_on_init = true,
+		.vict_prio = true,
+	}, {
+		.usecase_id = LLCC_LCPDARE,
+		.slice_id = 30,
+		.max_cap = 512,
+		.priority = 3,
+		.fixed_size = true,
+		.bonus_ways = 0xff,
+		.activate_on_init = true,
+		.alloc_oneway_en = true,
+		.vict_prio = true,
+	}, {
+		.usecase_id = LLCC_COMPUTE1,
+		.slice_id = 22,
+		.max_cap = 0,
+		.priority = 1,
+		.fixed_size = true,
+		.bonus_ways = 0xff,
+		.vict_prio = true,
+	}, {
+		.usecase_id = LLCC_PCIE_TCU,
+		.slice_id = 15,
+		.max_cap = 0,
+		.priority = 1,
+		.fixed_size = true,
+		.bonus_ways = 0xff,
+		.activate_on_init = true,
+		.vict_prio = true,
+	}, {
+		.usecase_id = LLCC_GPU_LITTLE,
+		.slice_id = 9,
+		.max_cap = 2048,
+		.priority = 1,
+		.fixed_size = true,
+		.bonus_ways = 0xff,
+		.write_scid_en = true,
+		.write_scid_cacheable_en = true,
+		.vict_prio = true,
+	}, {
+		.usecase_id = LLCC_GPUHTW_LITTLE,
+		.slice_id = 14,
+		.max_cap = 512,
+		.priority = 1,
+		.fixed_size = true,
+		.bonus_ways = 0xff,
+		.vict_prio = true,
+	},
+};
+
 static const struct llcc_slice_config sa8775p_data[] =  {
 	{
 		.usecase_id = LLCC_CPUSS,
@@ -4484,6 +4606,17 @@ static const struct qcom_llcc_config glymur_cfg[] = {
 	},
 };
 
+static const struct qcom_llcc_config nord_cfg[] = {
+	{
+		.sct_data	= nord_data,
+		.size		= ARRAY_SIZE(nord_data),
+		.reg_offset	= llcc_v6_reg_offset,
+		.edac_reg_offset = &llcc_v6_edac_reg_offset,
+		.num_banks	= 16,
+		.no_edac	= true,
+	},
+};
+
 static const struct qcom_llcc_config qcs615_cfg[] = {
 	{
 		.sct_data	= qcs615_data,
@@ -4751,6 +4884,11 @@ static const struct qcom_sct_config glymur_cfgs = {
 	.num_config	= ARRAY_SIZE(glymur_cfg),
 };
 
+static const struct qcom_sct_config nord_cfgs = {
+	.llcc_config	= nord_cfg,
+	.num_config	= ARRAY_SIZE(nord_cfg),
+};
+
 static const struct qcom_sct_config qcs615_cfgs = {
 	.llcc_config	= qcs615_cfg,
 	.num_config	= ARRAY_SIZE(qcs615_cfg),
@@ -5693,6 +5831,7 @@ static const struct of_device_id qcom_llcc_of_match[] = {
 	{ .compatible = "qcom,hawi-llcc", .data = &hawi_sct_cfgs },
 	{ .compatible = "qcom,ipq5424-llcc", .data = &ipq5424_cfgs},
 	{ .compatible = "qcom,kaanapali-llcc", .data = &kaanapali_cfgs},
+	{ .compatible = "qcom,nord-llcc", .data = &nord_cfgs},
 	{ .compatible = "qcom,qcs615-llcc", .data = &qcs615_cfgs},
 	{ .compatible = "qcom,qcs8300-llcc", .data = &qcs8300_cfgs},
 	{ .compatible = "qcom,qdu1000-llcc", .data = &qdu1000_cfgs},
diff --git a/include/linux/soc/qcom/llcc-qcom.h b/include/linux/soc/qcom/llcc-qcom.h
index 1ccc429401e8..713cb0221b14 100644
--- a/include/linux/soc/qcom/llcc-qcom.h
+++ b/include/linux/soc/qcom/llcc-qcom.h
@@ -74,6 +74,7 @@
 #define LLCC_CAMSRTIP	 73
 #define LLCC_CAMRTRF	 74
 #define LLCC_CAMSRTRF	 75
+#define LLCC_GPU_LITTLE  80
 #define LLCC_OOBM_NS	 81
 #define LLCC_OOBM_S	 82
 #define LLCC_VIDEO_APV	 83
@@ -85,6 +86,7 @@
 #define LLCC_CAM_OFE_STROV	 93
 #define LLCC_CPUSS_HEU	 94
 #define LLCC_PCIE_TCU	 97
+#define LLCC_GPUHTW_LITTLE	 98
 #define LLCC_MDM_PNG_FIXED	 100
 #define LLCC_PPE_RXDESC		 101
 #define LLCC_PPE_RXFILL		 102

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] soc: qcom: llcc: Add LLCC configuration for Nord
  2026-09-10 13:00 ` [PATCH 2/2] soc: qcom: llcc: Add LLCC configuration for Nord Anurag Pateriya
@ 2026-09-10 13:50   ` Zhangfei Gao
  2026-09-11  6:38   ` Shawn Guo
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 9+ messages in thread
From: Zhangfei Gao @ 2026-09-10 13:50 UTC (permalink / raw)
  To: Anurag Pateriya, Bjorn Andersson, Konrad Dybcio, Conor Dooley,
	Jonathan Cameron, Rob Herring, Krzysztof Kozlowski
  Cc: linux-arm-msm, linux-kernel, devicetree, shengchao.guo



On 9/10/2026 9:00 PM, Anurag Pateriya wrote:
> Add the sub-cache table for Nord, derived from the Nord AU (Safe IVI)
> SCT table and limited to the POR use cases that have a unique SCID and a
> usecase ID in llcc-qcom.h. Nord has the CFG0/CFG1 pairs and the full
> ALGO_ALLOC0..3 set, so it uses the v6 register offsets.
> 
> num_banks is set explicitly because LLCC_LB_CNT in LLCC_COMMON_STATUS0
> is four bits wide and cannot report sixteen banks; a wrong count makes
> the driver map a bank aperture in place of the broadcast region and abort
> on the first broadcast read. no_edac is set because the bootloader
> leaves the LLCC EDAC registers locked, as on Glymur.
> 
> Signed-off-by: Anurag Pateriya <anurag.pateriya@oss.qualcomm.com>


Tested-by: Zhangfei Gao <zhangfei.gao@oss.qualcomm.com>



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] dt-bindings: cache: qcom,llcc: Add Nord compatible
  2026-09-10 13:00 ` [PATCH 1/2] dt-bindings: cache: qcom,llcc: Add Nord compatible Anurag Pateriya
@ 2026-09-11  6:31   ` Shawn Guo
  2026-09-11 13:04   ` Komal Bajaj
  1 sibling, 0 replies; 9+ messages in thread
From: Shawn Guo @ 2026-09-11  6:31 UTC (permalink / raw)
  To: Anurag Pateriya
  Cc: Bjorn Andersson, Konrad Dybcio, Conor Dooley, Jonathan Cameron,
	Rob Herring, Krzysztof Kozlowski, linux-arm-msm, linux-kernel,
	devicetree, zhangfei.gao

On Thu, Sep 10, 2026 at 06:30:43PM +0530, Anurag Pateriya wrote:
> Nord has four DDR slices with four MACH9 LLCC banks each, so it exposes
> sixteen bank regions plus the shared broadcast OR/AND pair. Add its
> compatible with a matching reg/reg-names group and raise the top level
> maxItems to eighteen.
> 
> Signed-off-by: Anurag Pateriya <anurag.pateriya@oss.qualcomm.com>

Reviewed-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] soc: qcom: llcc: Add LLCC configuration for Nord
  2026-09-10 13:00 ` [PATCH 2/2] soc: qcom: llcc: Add LLCC configuration for Nord Anurag Pateriya
  2026-09-10 13:50   ` Zhangfei Gao
@ 2026-09-11  6:38   ` Shawn Guo
  2026-09-11  7:51   ` Abel Vesa
  2026-09-11 13:06   ` Komal Bajaj
  3 siblings, 0 replies; 9+ messages in thread
From: Shawn Guo @ 2026-09-11  6:38 UTC (permalink / raw)
  To: Anurag Pateriya
  Cc: Bjorn Andersson, Konrad Dybcio, Conor Dooley, Jonathan Cameron,
	Rob Herring, Krzysztof Kozlowski, linux-arm-msm, linux-kernel,
	devicetree, zhangfei.gao

On Thu, Sep 10, 2026 at 06:30:44PM +0530, Anurag Pateriya wrote:
> Add the sub-cache table for Nord, derived from the Nord AU (Safe IVI)
> SCT table and limited to the POR use cases that have a unique SCID and a
> usecase ID in llcc-qcom.h. Nord has the CFG0/CFG1 pairs and the full
> ALGO_ALLOC0..3 set, so it uses the v6 register offsets.
> 
> num_banks is set explicitly because LLCC_LB_CNT in LLCC_COMMON_STATUS0
> is four bits wide and cannot report sixteen banks; a wrong count makes
> the driver map a bank aperture in place of the broadcast region and abort
> on the first broadcast read. no_edac is set because the bootloader
> leaves the LLCC EDAC registers locked, as on Glymur.
> 
> Signed-off-by: Anurag Pateriya <anurag.pateriya@oss.qualcomm.com>

Reviewed-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] soc: qcom: llcc: Add LLCC configuration for Nord
  2026-09-10 13:00 ` [PATCH 2/2] soc: qcom: llcc: Add LLCC configuration for Nord Anurag Pateriya
  2026-09-10 13:50   ` Zhangfei Gao
  2026-09-11  6:38   ` Shawn Guo
@ 2026-09-11  7:51   ` Abel Vesa
  2026-09-11 13:06   ` Komal Bajaj
  3 siblings, 0 replies; 9+ messages in thread
From: Abel Vesa @ 2026-09-11  7:51 UTC (permalink / raw)
  To: Anurag Pateriya
  Cc: Bjorn Andersson, Konrad Dybcio, Conor Dooley, Jonathan Cameron,
	Rob Herring, Krzysztof Kozlowski, linux-arm-msm, linux-kernel,
	devicetree, zhangfei.gao, shengchao.guo

On 26-09-10 18:30:44, Anurag Pateriya wrote:
> Add the sub-cache table for Nord, derived from the Nord AU (Safe IVI)
> SCT table and limited to the POR use cases that have a unique SCID and a
> usecase ID in llcc-qcom.h. Nord has the CFG0/CFG1 pairs and the full
> ALGO_ALLOC0..3 set, so it uses the v6 register offsets.
> 
> num_banks is set explicitly because LLCC_LB_CNT in LLCC_COMMON_STATUS0
> is four bits wide and cannot report sixteen banks; a wrong count makes
> the driver map a bank aperture in place of the broadcast region and abort
> on the first broadcast read. no_edac is set because the bootloader
> leaves the LLCC EDAC registers locked, as on Glymur.
> 
> Signed-off-by: Anurag Pateriya <anurag.pateriya@oss.qualcomm.com>

Reviewed-by: Abel Vesa <abel.vesa@oss.qualcomm.com>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] dt-bindings: cache: qcom,llcc: Add Nord compatible
  2026-09-10 13:00 ` [PATCH 1/2] dt-bindings: cache: qcom,llcc: Add Nord compatible Anurag Pateriya
  2026-09-11  6:31   ` Shawn Guo
@ 2026-09-11 13:04   ` Komal Bajaj
  1 sibling, 0 replies; 9+ messages in thread
From: Komal Bajaj @ 2026-09-11 13:04 UTC (permalink / raw)
  To: Anurag Pateriya, Bjorn Andersson, Konrad Dybcio, Conor Dooley,
	Jonathan Cameron, Rob Herring, Krzysztof Kozlowski
  Cc: linux-arm-msm, linux-kernel, devicetree, zhangfei.gao,
	shengchao.guo


On 9/10/2026 6:30 PM, Anurag Pateriya wrote:
> Nord has four DDR slices with four MACH9 LLCC banks each, so it exposes
> sixteen bank regions plus the shared broadcast OR/AND pair. Add its
> compatible with a matching reg/reg-names group and raise the top level
> maxItems to eighteen.
>
> Signed-off-by: Anurag Pateriya <anurag.pateriya@oss.qualcomm.com>

Reviewed-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] soc: qcom: llcc: Add LLCC configuration for Nord
  2026-09-10 13:00 ` [PATCH 2/2] soc: qcom: llcc: Add LLCC configuration for Nord Anurag Pateriya
                     ` (2 preceding siblings ...)
  2026-09-11  7:51   ` Abel Vesa
@ 2026-09-11 13:06   ` Komal Bajaj
  3 siblings, 0 replies; 9+ messages in thread
From: Komal Bajaj @ 2026-09-11 13:06 UTC (permalink / raw)
  To: Anurag Pateriya, Bjorn Andersson, Konrad Dybcio, Conor Dooley,
	Jonathan Cameron, Rob Herring, Krzysztof Kozlowski
  Cc: linux-arm-msm, linux-kernel, devicetree, zhangfei.gao,
	shengchao.guo


On 9/10/2026 6:30 PM, Anurag Pateriya wrote:
> Add the sub-cache table for Nord, derived from the Nord AU (Safe IVI)
> SCT table and limited to the POR use cases that have a unique SCID and a
> usecase ID in llcc-qcom.h. Nord has the CFG0/CFG1 pairs and the full
> ALGO_ALLOC0..3 set, so it uses the v6 register offsets.
>
> num_banks is set explicitly because LLCC_LB_CNT in LLCC_COMMON_STATUS0
> is four bits wide and cannot report sixteen banks; a wrong count makes
> the driver map a bank aperture in place of the broadcast region and abort
> on the first broadcast read. no_edac is set because the bootloader
> leaves the LLCC EDAC registers locked, as on Glymur.
>
> Signed-off-by: Anurag Pateriya <anurag.pateriya@oss.qualcomm.com>

Reviewed-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-09-11 13:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-10 13:00 [PATCH 0/2] nord : llcc : Adding LLCC dt bindings and SCT configurations Anurag Pateriya
2026-09-10 13:00 ` [PATCH 1/2] dt-bindings: cache: qcom,llcc: Add Nord compatible Anurag Pateriya
2026-09-11  6:31   ` Shawn Guo
2026-09-11 13:04   ` Komal Bajaj
2026-09-10 13:00 ` [PATCH 2/2] soc: qcom: llcc: Add LLCC configuration for Nord Anurag Pateriya
2026-09-10 13:50   ` Zhangfei Gao
2026-09-11  6:38   ` Shawn Guo
2026-09-11  7:51   ` Abel Vesa
2026-09-11 13:06   ` Komal Bajaj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox