* [PATCH V2 0/2] cache: qcom,llcc: Add llcc support for X1E80100
@ 2023-11-17 9:53 Sibi Sankar
2023-11-17 9:53 ` [PATCH V2 1/2] dt-bindings: cache: qcom,llcc: Add X1E80100 compatible Sibi Sankar
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Sibi Sankar @ 2023-11-17 9:53 UTC (permalink / raw)
To: andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt
Cc: agross, conor+dt, quic_rjendra, abel.vesa, linux-arm-msm,
devicetree, linux-kernel, quic_tsoni, neil.armstrong, Sibi Sankar
This series adds llcc support for the Qualcomm X1E80100 platform, aka Snapdragon X Elite.
Our v1 post of the patchsets adding support for Snapdragon X Elite SoC had
the part number sc8380xp which is now updated to the new part number x1e80100
based on the new branding scheme and refers to the exact same SoC.
v2:
* Update the part number from sc8380xp to x1e80100.
* Pickup Rbs.
Dependencies: None
Release Link: https://www.qualcomm.com/news/releases/2023/10/qualcomm-unleashes-snapdragon-x-elite--the-ai-super-charged-plat
Rajendra Nayak (2):
dt-bindings: cache: qcom,llcc: Add X1E80100 compatible
soc: qcom: llcc: Add configuration data for X1E80100
.../devicetree/bindings/cache/qcom,llcc.yaml | 2 +
drivers/soc/qcom/llcc-qcom.c | 39 +++++++++++++++++++
2 files changed, 41 insertions(+)
--
2.17.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH V2 1/2] dt-bindings: cache: qcom,llcc: Add X1E80100 compatible
2023-11-17 9:53 [PATCH V2 0/2] cache: qcom,llcc: Add llcc support for X1E80100 Sibi Sankar
@ 2023-11-17 9:53 ` Sibi Sankar
2023-11-17 23:37 ` Konrad Dybcio
2023-11-17 9:53 ` [PATCH V2 2/2] soc: qcom: llcc: Add configuration data for X1E80100 Sibi Sankar
2023-12-08 14:55 ` [PATCH V2 0/2] cache: qcom,llcc: Add llcc support " Bjorn Andersson
2 siblings, 1 reply; 7+ messages in thread
From: Sibi Sankar @ 2023-11-17 9:53 UTC (permalink / raw)
To: andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt
Cc: agross, conor+dt, quic_rjendra, abel.vesa, linux-arm-msm,
devicetree, linux-kernel, quic_tsoni, neil.armstrong, Sibi Sankar
From: Rajendra Nayak <quic_rjendra@quicinc.com>
Add the compatible for X1E80100 platforms.
Signed-off-by: Rajendra Nayak <quic_rjendra@quicinc.com>
Co-developed-by: Sibi Sankar <quic_sibis@quicinc.com>
Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
v2:
* Update the part number from sc8380xp to x1e80100.
* Pickup Rbs.
Documentation/devicetree/bindings/cache/qcom,llcc.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml b/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
index 580f9a97ddf7..d82cb76509a0 100644
--- a/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
+++ b/Documentation/devicetree/bindings/cache/qcom,llcc.yaml
@@ -33,6 +33,7 @@ properties:
- qcom,sm8350-llcc
- qcom,sm8450-llcc
- qcom,sm8550-llcc
+ - qcom,x1e80100-llcc
reg:
minItems: 2
@@ -104,6 +105,7 @@ allOf:
- qcom,qdu1000-llcc
- qcom,sc8180x-llcc
- qcom,sc8280xp-llcc
+ - qcom,x1e80100-llcc
then:
properties:
reg:
--
2.17.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH V2 2/2] soc: qcom: llcc: Add configuration data for X1E80100
2023-11-17 9:53 [PATCH V2 0/2] cache: qcom,llcc: Add llcc support for X1E80100 Sibi Sankar
2023-11-17 9:53 ` [PATCH V2 1/2] dt-bindings: cache: qcom,llcc: Add X1E80100 compatible Sibi Sankar
@ 2023-11-17 9:53 ` Sibi Sankar
2023-12-08 14:55 ` [PATCH V2 0/2] cache: qcom,llcc: Add llcc support " Bjorn Andersson
2 siblings, 0 replies; 7+ messages in thread
From: Sibi Sankar @ 2023-11-17 9:53 UTC (permalink / raw)
To: andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt
Cc: agross, conor+dt, quic_rjendra, abel.vesa, linux-arm-msm,
devicetree, linux-kernel, quic_tsoni, neil.armstrong, Sibi Sankar
From: Rajendra Nayak <quic_rjendra@quicinc.com>
Add LLCC configuration data for X1E80100 SoC.
Signed-off-by: Rajendra Nayak <quic_rjendra@quicinc.com>
Co-developed-by: Sibi Sankar <quic_sibis@quicinc.com>
Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
---
v2:
* Update the part number from sc8380xp to x1e80100.
* Pickup Rbs.
drivers/soc/qcom/llcc-qcom.c | 39 ++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/drivers/soc/qcom/llcc-qcom.c b/drivers/soc/qcom/llcc-qcom.c
index 674abd0d6700..bc83cefae403 100644
--- a/drivers/soc/qcom/llcc-qcom.c
+++ b/drivers/soc/qcom/llcc-qcom.c
@@ -392,6 +392,29 @@ static const struct llcc_slice_config qdu1000_data_8ch[] = {
{ LLCC_WRCACHE, 31, 512, 1, 1, 0x3, 0x0, 0, 0, 0, 0, 1, 0, 0 },
};
+static const struct llcc_slice_config x1e80100_data[] = {
+ {LLCC_CPUSS, 1, 6144, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0},
+ {LLCC_VIDSC0, 2, 512, 3, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
+ {LLCC_AUDIO, 6, 3072, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
+ {LLCC_CMPT, 10, 6144, 1, 1, 0xFFF, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
+ {LLCC_GPUHT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, 0x4, 0x0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
+ {LLCC_CAMEXP2, 19, 3072, 3, 1, 0xFFF, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
+ {LLCC_CAMEXP3, 20, 3072, 3, 1, 0xFFF, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
+ {LLCC_CAMEXP4, 21, 3072, 3, 1, 0xFFF, 0x0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
+};
+
static const struct llcc_edac_reg_offset llcc_v1_edac_reg_offset = {
.trp_ecc_error_status0 = 0x20344,
.trp_ecc_error_status1 = 0x20348,
@@ -610,6 +633,16 @@ static const struct qcom_llcc_config sm8550_cfg[] = {
},
};
+static const struct qcom_llcc_config x1e80100_cfg[] = {
+ {
+ .sct_data = x1e80100_data,
+ .size = ARRAY_SIZE(x1e80100_data),
+ .need_llcc_cfg = true,
+ .reg_offset = llcc_v2_1_reg_offset,
+ .edac_reg_offset = &llcc_v2_1_edac_reg_offset,
+ },
+};
+
static const struct qcom_sct_config qdu1000_cfgs = {
.llcc_config = qdu1000_cfg,
.num_config = ARRAY_SIZE(qdu1000_cfg),
@@ -675,6 +708,11 @@ static const struct qcom_sct_config sm8550_cfgs = {
.num_config = ARRAY_SIZE(sm8550_cfg),
};
+static const struct qcom_sct_config x1e80100_cfgs = {
+ .llcc_config = x1e80100_cfg,
+ .num_config = ARRAY_SIZE(x1e80100_cfg),
+};
+
static struct llcc_drv_data *drv_data = (void *) -EPROBE_DEFER;
/**
@@ -1249,6 +1287,7 @@ static const struct of_device_id qcom_llcc_of_match[] = {
{ .compatible = "qcom,sm8350-llcc", .data = &sm8350_cfgs },
{ .compatible = "qcom,sm8450-llcc", .data = &sm8450_cfgs },
{ .compatible = "qcom,sm8550-llcc", .data = &sm8550_cfgs },
+ { .compatible = "qcom,x1e80100-llcc", .data = &x1e80100_cfgs },
{ }
};
MODULE_DEVICE_TABLE(of, qcom_llcc_of_match);
--
2.17.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH V2 1/2] dt-bindings: cache: qcom,llcc: Add X1E80100 compatible
2023-11-17 9:53 ` [PATCH V2 1/2] dt-bindings: cache: qcom,llcc: Add X1E80100 compatible Sibi Sankar
@ 2023-11-17 23:37 ` Konrad Dybcio
2023-11-20 6:56 ` Sibi Sankar
2023-11-20 10:02 ` Krzysztof Kozlowski
0 siblings, 2 replies; 7+ messages in thread
From: Konrad Dybcio @ 2023-11-17 23:37 UTC (permalink / raw)
To: Sibi Sankar, andersson, robh+dt, krzysztof.kozlowski+dt
Cc: agross, conor+dt, quic_rjendra, abel.vesa, linux-arm-msm,
devicetree, linux-kernel, quic_tsoni, neil.armstrong
On 17.11.2023 10:53, Sibi Sankar wrote:
> From: Rajendra Nayak <quic_rjendra@quicinc.com>
>
> Add the compatible for X1E80100 platforms.
>
> Signed-off-by: Rajendra Nayak <quic_rjendra@quicinc.com>
> Co-developed-by: Sibi Sankar <quic_sibis@quicinc.com>
> Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
Unrelated to this patch alone, but I noticed that with this new naming
scheme, patterns in Documentation/devicetree/bindings/arm/qcom-soc.yaml will
require an update as well.
Konrad
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH V2 1/2] dt-bindings: cache: qcom,llcc: Add X1E80100 compatible
2023-11-17 23:37 ` Konrad Dybcio
@ 2023-11-20 6:56 ` Sibi Sankar
2023-11-20 10:02 ` Krzysztof Kozlowski
1 sibling, 0 replies; 7+ messages in thread
From: Sibi Sankar @ 2023-11-20 6:56 UTC (permalink / raw)
To: Konrad Dybcio, andersson, robh+dt, krzysztof.kozlowski+dt
Cc: agross, conor+dt, quic_rjendra, abel.vesa, linux-arm-msm,
devicetree, linux-kernel, quic_tsoni, neil.armstrong
On 11/18/23 05:07, Konrad Dybcio wrote:
> On 17.11.2023 10:53, Sibi Sankar wrote:
>> From: Rajendra Nayak <quic_rjendra@quicinc.com>
>>
>> Add the compatible for X1E80100 platforms.
>>
>> Signed-off-by: Rajendra Nayak <quic_rjendra@quicinc.com>
>> Co-developed-by: Sibi Sankar <quic_sibis@quicinc.com>
>> Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>> ---
> Unrelated to this patch alone, but I noticed that with this new naming
> scheme, patterns in Documentation/devicetree/bindings/arm/qcom-soc.yaml will
> require an update as well.
Thanks for catching ^^. Will include it in the next re-spin of
the appropriate series.
-Sibi
>
> Konrad
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH V2 1/2] dt-bindings: cache: qcom,llcc: Add X1E80100 compatible
2023-11-17 23:37 ` Konrad Dybcio
2023-11-20 6:56 ` Sibi Sankar
@ 2023-11-20 10:02 ` Krzysztof Kozlowski
1 sibling, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2023-11-20 10:02 UTC (permalink / raw)
To: Konrad Dybcio, Sibi Sankar, andersson, robh+dt,
krzysztof.kozlowski+dt
Cc: agross, conor+dt, quic_rjendra, abel.vesa, linux-arm-msm,
devicetree, linux-kernel, quic_tsoni, neil.armstrong
On 18/11/2023 00:37, Konrad Dybcio wrote:
> On 17.11.2023 10:53, Sibi Sankar wrote:
>> From: Rajendra Nayak <quic_rjendra@quicinc.com>
>>
>> Add the compatible for X1E80100 platforms.
>>
>> Signed-off-by: Rajendra Nayak <quic_rjendra@quicinc.com>
>> Co-developed-by: Sibi Sankar <quic_sibis@quicinc.com>
>> Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
>> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>> ---
> Unrelated to this patch alone, but I noticed that with this new naming
> scheme, patterns in Documentation/devicetree/bindings/arm/qcom-soc.yaml will
> require an update as well.
I'll fix existing platforms.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH V2 0/2] cache: qcom,llcc: Add llcc support for X1E80100
2023-11-17 9:53 [PATCH V2 0/2] cache: qcom,llcc: Add llcc support for X1E80100 Sibi Sankar
2023-11-17 9:53 ` [PATCH V2 1/2] dt-bindings: cache: qcom,llcc: Add X1E80100 compatible Sibi Sankar
2023-11-17 9:53 ` [PATCH V2 2/2] soc: qcom: llcc: Add configuration data for X1E80100 Sibi Sankar
@ 2023-12-08 14:55 ` Bjorn Andersson
2 siblings, 0 replies; 7+ messages in thread
From: Bjorn Andersson @ 2023-12-08 14:55 UTC (permalink / raw)
To: konrad.dybcio, robh+dt, krzysztof.kozlowski+dt, Sibi Sankar
Cc: agross, conor+dt, quic_rjendra, abel.vesa, linux-arm-msm,
devicetree, linux-kernel, quic_tsoni, neil.armstrong
On Fri, 17 Nov 2023 15:23:13 +0530, Sibi Sankar wrote:
> This series adds llcc support for the Qualcomm X1E80100 platform, aka Snapdragon X Elite.
>
> Our v1 post of the patchsets adding support for Snapdragon X Elite SoC had
> the part number sc8380xp which is now updated to the new part number x1e80100
> based on the new branding scheme and refers to the exact same SoC.
>
> v2:
> * Update the part number from sc8380xp to x1e80100.
> * Pickup Rbs.
>
> [...]
Applied, thanks!
[1/2] dt-bindings: cache: qcom,llcc: Add X1E80100 compatible
commit: e9ceb595c2d30edb2879f173f8d0dbbedd5e301c
[2/2] soc: qcom: llcc: Add configuration data for X1E80100
commit: b3cf69a43502a8836b6d615c8aba05b88f00d8d8
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-12-08 14:51 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-17 9:53 [PATCH V2 0/2] cache: qcom,llcc: Add llcc support for X1E80100 Sibi Sankar
2023-11-17 9:53 ` [PATCH V2 1/2] dt-bindings: cache: qcom,llcc: Add X1E80100 compatible Sibi Sankar
2023-11-17 23:37 ` Konrad Dybcio
2023-11-20 6:56 ` Sibi Sankar
2023-11-20 10:02 ` Krzysztof Kozlowski
2023-11-17 9:53 ` [PATCH V2 2/2] soc: qcom: llcc: Add configuration data for X1E80100 Sibi Sankar
2023-12-08 14:55 ` [PATCH V2 0/2] cache: qcom,llcc: Add llcc support " Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).