* [PATCH v2 00/11] Hook up ACV enable_mask for everybody
@ 2023-08-11 23:20 Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 01/11] interconnect: qcom: qdu1000: Set ACV enable_mask Konrad Dybcio
` (11 more replies)
0 siblings, 12 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 23:20 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Mike Tipton, Georgi Djakov,
Melody Olvera, Odelu Kukatla, Richard Acayan, David Dai,
Rob Herring, Greg Kroah-Hartman, Luca Weiss, Sibi Sankar,
Jonathan Marek, Vinod Koul
Cc: Marijn Suijten, linux-arm-msm, linux-pm, linux-kernel, Konrad Dybcio
In the downstream kernel, ACV enable_mask has not been mentioned
explicitly, rather being handled by a sneaky if-condition [1], [2].
Add it to all RPMh platforms to actually enable that BCM.
Based atop [3].
[1] https://git.codelinaro.org/clo/la/kernel/msm-4.19/-/blob/LA.UM.10.2.1.c25/drivers/soc/qcom/msm_bus/msm_bus_arb_rpmh.c#L556-567
[2] https://git.codelinaro.org/clo/la/kernel/msm-4.19/-/blob/LA.UM.10.2.1.c25/drivers/soc/qcom/msm_bus/msm_bus_arb_rpmh.c#L475-495
[3] https://lore.kernel.org/linux-arm-msm/20230811-topic-icc_retire_macrosd-v1-0-c03aaeffc769@linaro.org/T/#t
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Changes in v2:
- Remove the define and use raw BIT(3) as the APPS mask may change (Mike)
- Pick up tags (Bjorn)
- Link to v1: https://lore.kernel.org/r/20230811-topic-acv-v1-0-a85b6e94f46d@linaro.org
---
Konrad Dybcio (11):
interconnect: qcom: qdu1000: Set ACV enable_mask
interconnect: qcom: sc7180: Set ACV enable_mask
interconnect: qcom: sc7280: Set ACV enable_mask
interconnect: qcom: sc8180x: Set ACV enable_mask
interconnect: qcom: sc8280xp: Set ACV enable_mask
interconnect: qcom: sdm670: Set ACV enable_mask
interconnect: qcom: sdm845: Set ACV enable_mask
interconnect: qcom: sm6350: Set ACV enable_mask
interconnect: qcom: sm8150: Set ACV enable_mask
interconnect: qcom: sm8250: Set ACV enable_mask
interconnect: qcom: sm8350: Set ACV enable_mask
drivers/interconnect/qcom/qdu1000.c | 1 +
drivers/interconnect/qcom/sc7180.c | 1 +
drivers/interconnect/qcom/sc7280.c | 1 +
drivers/interconnect/qcom/sc8180x.c | 1 +
drivers/interconnect/qcom/sc8280xp.c | 1 +
drivers/interconnect/qcom/sdm670.c | 1 +
drivers/interconnect/qcom/sdm845.c | 1 +
drivers/interconnect/qcom/sm6350.c | 1 +
drivers/interconnect/qcom/sm8150.c | 1 +
drivers/interconnect/qcom/sm8250.c | 1 +
drivers/interconnect/qcom/sm8350.c | 1 +
11 files changed, 11 insertions(+)
---
base-commit: ee4aa20e094643232438b896f49a405361406fbf
change-id: 20230811-topic-acv-72aca8ad6f41
Best regards,
--
Konrad Dybcio <konrad.dybcio@linaro.org>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH v2 01/11] interconnect: qcom: qdu1000: Set ACV enable_mask
2023-08-11 23:20 [PATCH v2 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
@ 2023-08-11 23:20 ` Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 02/11] interconnect: qcom: sc7180: " Konrad Dybcio
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 23:20 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Mike Tipton, Georgi Djakov,
Melody Olvera, Odelu Kukatla, Richard Acayan, David Dai,
Rob Herring, Greg Kroah-Hartman, Luca Weiss, Sibi Sankar,
Jonathan Marek, Vinod Koul
Cc: Marijn Suijten, linux-arm-msm, linux-pm, linux-kernel, Konrad Dybcio
ACV expects an enable_mask corresponding to the APPS RSC, fill it in.
Fixes: 1f51339f7dd0 ("interconnect: qcom: Add QDU1000/QRU1000 interconnect driver")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/interconnect/qcom/qdu1000.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/interconnect/qcom/qdu1000.c b/drivers/interconnect/qcom/qdu1000.c
index bf800dd7d4ba..a7392eb73d4a 100644
--- a/drivers/interconnect/qcom/qdu1000.c
+++ b/drivers/interconnect/qcom/qdu1000.c
@@ -769,6 +769,7 @@ static struct qcom_icc_node xs_sys_tcu_cfg = {
static struct qcom_icc_bcm bcm_acv = {
.name = "ACV",
+ .enable_mask = BIT(3),
.num_nodes = 1,
.nodes = { &ebi },
};
--
2.41.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH v2 02/11] interconnect: qcom: sc7180: Set ACV enable_mask
2023-08-11 23:20 [PATCH v2 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 01/11] interconnect: qcom: qdu1000: Set ACV enable_mask Konrad Dybcio
@ 2023-08-11 23:20 ` Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 03/11] interconnect: qcom: sc7280: " Konrad Dybcio
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 23:20 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Mike Tipton, Georgi Djakov,
Melody Olvera, Odelu Kukatla, Richard Acayan, David Dai,
Rob Herring, Greg Kroah-Hartman, Luca Weiss, Sibi Sankar,
Jonathan Marek, Vinod Koul
Cc: Marijn Suijten, linux-arm-msm, linux-pm, linux-kernel, Konrad Dybcio
ACV expects an enable_mask corresponding to the APPS RSC, fill it in.
Fixes: 2d1f95ab9feb ("interconnect: qcom: Add SC7180 interconnect provider driver")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/interconnect/qcom/sc7180.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/interconnect/qcom/sc7180.c b/drivers/interconnect/qcom/sc7180.c
index d94ab9b39f3d..af2be1543840 100644
--- a/drivers/interconnect/qcom/sc7180.c
+++ b/drivers/interconnect/qcom/sc7180.c
@@ -1238,6 +1238,7 @@ static struct qcom_icc_node xs_sys_tcu_cfg = {
static struct qcom_icc_bcm bcm_acv = {
.name = "ACV",
+ .enable_mask = BIT(3),
.keepalive = false,
.num_nodes = 1,
.nodes = { &ebi },
--
2.41.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH v2 03/11] interconnect: qcom: sc7280: Set ACV enable_mask
2023-08-11 23:20 [PATCH v2 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 01/11] interconnect: qcom: qdu1000: Set ACV enable_mask Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 02/11] interconnect: qcom: sc7180: " Konrad Dybcio
@ 2023-08-11 23:20 ` Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 04/11] interconnect: qcom: sc8180x: " Konrad Dybcio
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 23:20 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Mike Tipton, Georgi Djakov,
Melody Olvera, Odelu Kukatla, Richard Acayan, David Dai,
Rob Herring, Greg Kroah-Hartman, Luca Weiss, Sibi Sankar,
Jonathan Marek, Vinod Koul
Cc: Marijn Suijten, linux-arm-msm, linux-pm, linux-kernel, Konrad Dybcio
ACV expects an enable_mask corresponding to the APPS RSC, fill it in.
Fixes: 46bdcac533cc ("interconnect: qcom: Add SC7280 interconnect provider driver")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/interconnect/qcom/sc7280.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/interconnect/qcom/sc7280.c b/drivers/interconnect/qcom/sc7280.c
index 6592839b4d94..a626dbc71999 100644
--- a/drivers/interconnect/qcom/sc7280.c
+++ b/drivers/interconnect/qcom/sc7280.c
@@ -1285,6 +1285,7 @@ static struct qcom_icc_node srvc_snoc = {
static struct qcom_icc_bcm bcm_acv = {
.name = "ACV",
+ .enable_mask = BIT(3),
.num_nodes = 1,
.nodes = { &ebi },
};
--
2.41.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH v2 04/11] interconnect: qcom: sc8180x: Set ACV enable_mask
2023-08-11 23:20 [PATCH v2 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
` (2 preceding siblings ...)
2023-08-11 23:20 ` [PATCH v2 03/11] interconnect: qcom: sc7280: " Konrad Dybcio
@ 2023-08-11 23:20 ` Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 05/11] interconnect: qcom: sc8280xp: " Konrad Dybcio
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 23:20 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Mike Tipton, Georgi Djakov,
Melody Olvera, Odelu Kukatla, Richard Acayan, David Dai,
Rob Herring, Greg Kroah-Hartman, Luca Weiss, Sibi Sankar,
Jonathan Marek, Vinod Koul
Cc: Marijn Suijten, linux-arm-msm, linux-pm, linux-kernel, Konrad Dybcio
ACV expects an enable_mask corresponding to the APPS RSC, fill it in.
Fixes: 9c8c6bac1ae8 ("interconnect: qcom: Add SC8180x providers")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/interconnect/qcom/sc8180x.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/interconnect/qcom/sc8180x.c b/drivers/interconnect/qcom/sc8180x.c
index 0fb4898dabcf..bdd3471d4ac8 100644
--- a/drivers/interconnect/qcom/sc8180x.c
+++ b/drivers/interconnect/qcom/sc8180x.c
@@ -1345,6 +1345,7 @@ static struct qcom_icc_node slv_qup_core_2 = {
static struct qcom_icc_bcm bcm_acv = {
.name = "ACV",
+ .enable_mask = BIT(3),
.num_nodes = 1,
.nodes = { &slv_ebi }
};
--
2.41.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH v2 05/11] interconnect: qcom: sc8280xp: Set ACV enable_mask
2023-08-11 23:20 [PATCH v2 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
` (3 preceding siblings ...)
2023-08-11 23:20 ` [PATCH v2 04/11] interconnect: qcom: sc8180x: " Konrad Dybcio
@ 2023-08-11 23:20 ` Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 06/11] interconnect: qcom: sdm670: " Konrad Dybcio
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 23:20 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Mike Tipton, Georgi Djakov,
Melody Olvera, Odelu Kukatla, Richard Acayan, David Dai,
Rob Herring, Greg Kroah-Hartman, Luca Weiss, Sibi Sankar,
Jonathan Marek, Vinod Koul
Cc: Marijn Suijten, linux-arm-msm, linux-pm, linux-kernel, Konrad Dybcio
ACV expects an enable_mask corresponding to the APPS RSC, fill it in.
Fixes: f29dabda7917 ("interconnect: qcom: Add SC8280XP interconnect provider")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/interconnect/qcom/sc8280xp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/interconnect/qcom/sc8280xp.c b/drivers/interconnect/qcom/sc8280xp.c
index b82c5493cbb5..0270f6c64481 100644
--- a/drivers/interconnect/qcom/sc8280xp.c
+++ b/drivers/interconnect/qcom/sc8280xp.c
@@ -1712,6 +1712,7 @@ static struct qcom_icc_node srvc_snoc = {
static struct qcom_icc_bcm bcm_acv = {
.name = "ACV",
+ .enable_mask = BIT(3),
.num_nodes = 1,
.nodes = { &ebi },
};
--
2.41.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH v2 06/11] interconnect: qcom: sdm670: Set ACV enable_mask
2023-08-11 23:20 [PATCH v2 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
` (4 preceding siblings ...)
2023-08-11 23:20 ` [PATCH v2 05/11] interconnect: qcom: sc8280xp: " Konrad Dybcio
@ 2023-08-11 23:20 ` Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 07/11] interconnect: qcom: sdm845: " Konrad Dybcio
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 23:20 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Mike Tipton, Georgi Djakov,
Melody Olvera, Odelu Kukatla, Richard Acayan, David Dai,
Rob Herring, Greg Kroah-Hartman, Luca Weiss, Sibi Sankar,
Jonathan Marek, Vinod Koul
Cc: Marijn Suijten, linux-arm-msm, linux-pm, linux-kernel, Konrad Dybcio
ACV expects an enable_mask corresponding to the APPS RSC, fill it in.
Fixes: 7e438e18874e ("interconnect: qcom: add sdm670 interconnects")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/interconnect/qcom/sdm670.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/interconnect/qcom/sdm670.c b/drivers/interconnect/qcom/sdm670.c
index 540a2108b77c..907e1ff4ff81 100644
--- a/drivers/interconnect/qcom/sdm670.c
+++ b/drivers/interconnect/qcom/sdm670.c
@@ -1047,6 +1047,7 @@ static struct qcom_icc_node xs_sys_tcu_cfg = {
static struct qcom_icc_bcm bcm_acv = {
.name = "ACV",
+ .enable_mask = BIT(3),
.keepalive = false,
.num_nodes = 1,
.nodes = { &ebi },
--
2.41.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH v2 07/11] interconnect: qcom: sdm845: Set ACV enable_mask
2023-08-11 23:20 [PATCH v2 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
` (5 preceding siblings ...)
2023-08-11 23:20 ` [PATCH v2 06/11] interconnect: qcom: sdm670: " Konrad Dybcio
@ 2023-08-11 23:20 ` Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 08/11] interconnect: qcom: sm6350: " Konrad Dybcio
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 23:20 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Mike Tipton, Georgi Djakov,
Melody Olvera, Odelu Kukatla, Richard Acayan, David Dai,
Rob Herring, Greg Kroah-Hartman, Luca Weiss, Sibi Sankar,
Jonathan Marek, Vinod Koul
Cc: Marijn Suijten, linux-arm-msm, linux-pm, linux-kernel, Konrad Dybcio
ACV expects an enable_mask corresponding to the APPS RSC, fill it in.
Fixes: b5d2f741077a ("interconnect: qcom: Add sdm845 interconnect provider driver")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/interconnect/qcom/sdm845.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/interconnect/qcom/sdm845.c b/drivers/interconnect/qcom/sdm845.c
index b9243c0aa626..855802be93fe 100644
--- a/drivers/interconnect/qcom/sdm845.c
+++ b/drivers/interconnect/qcom/sdm845.c
@@ -1265,6 +1265,7 @@ static struct qcom_icc_node xs_sys_tcu_cfg = {
static struct qcom_icc_bcm bcm_acv = {
.name = "ACV",
+ .enable_mask = BIT(3),
.keepalive = false,
.num_nodes = 1,
.nodes = { &ebi },
--
2.41.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH v2 08/11] interconnect: qcom: sm6350: Set ACV enable_mask
2023-08-11 23:20 [PATCH v2 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
` (6 preceding siblings ...)
2023-08-11 23:20 ` [PATCH v2 07/11] interconnect: qcom: sdm845: " Konrad Dybcio
@ 2023-08-11 23:20 ` Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 09/11] interconnect: qcom: sm8150: " Konrad Dybcio
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 23:20 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Mike Tipton, Georgi Djakov,
Melody Olvera, Odelu Kukatla, Richard Acayan, David Dai,
Rob Herring, Greg Kroah-Hartman, Luca Weiss, Sibi Sankar,
Jonathan Marek, Vinod Koul
Cc: Marijn Suijten, linux-arm-msm, linux-pm, linux-kernel, Konrad Dybcio
ACV expects an enable_mask corresponding to the APPS RSC, fill it in.
Fixes: 6a6eff73a954 ("interconnect: qcom: Add SM6350 driver support")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/interconnect/qcom/sm6350.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/interconnect/qcom/sm6350.c b/drivers/interconnect/qcom/sm6350.c
index 49aed492e9b8..f41d7e19ba26 100644
--- a/drivers/interconnect/qcom/sm6350.c
+++ b/drivers/interconnect/qcom/sm6350.c
@@ -1164,6 +1164,7 @@ static struct qcom_icc_node xs_sys_tcu_cfg = {
static struct qcom_icc_bcm bcm_acv = {
.name = "ACV",
+ .enable_mask = BIT(3),
.keepalive = false,
.num_nodes = 1,
.nodes = { &ebi },
--
2.41.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH v2 09/11] interconnect: qcom: sm8150: Set ACV enable_mask
2023-08-11 23:20 [PATCH v2 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
` (7 preceding siblings ...)
2023-08-11 23:20 ` [PATCH v2 08/11] interconnect: qcom: sm6350: " Konrad Dybcio
@ 2023-08-11 23:20 ` Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 10/11] interconnect: qcom: sm8250: " Konrad Dybcio
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 23:20 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Mike Tipton, Georgi Djakov,
Melody Olvera, Odelu Kukatla, Richard Acayan, David Dai,
Rob Herring, Greg Kroah-Hartman, Luca Weiss, Sibi Sankar,
Jonathan Marek, Vinod Koul
Cc: Marijn Suijten, linux-arm-msm, linux-pm, linux-kernel, Konrad Dybcio
ACV expects an enable_mask corresponding to the APPS RSC, fill it in.
Fixes: a09b817c8bad ("interconnect: qcom: Add SM8150 interconnect provider driver")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/interconnect/qcom/sm8150.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/interconnect/qcom/sm8150.c b/drivers/interconnect/qcom/sm8150.c
index c7c9cf7f746b..edfe824cad35 100644
--- a/drivers/interconnect/qcom/sm8150.c
+++ b/drivers/interconnect/qcom/sm8150.c
@@ -1282,6 +1282,7 @@ static struct qcom_icc_node xs_sys_tcu_cfg = {
static struct qcom_icc_bcm bcm_acv = {
.name = "ACV",
+ .enable_mask = BIT(3),
.keepalive = false,
.num_nodes = 1,
.nodes = { &ebi },
--
2.41.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH v2 10/11] interconnect: qcom: sm8250: Set ACV enable_mask
2023-08-11 23:20 [PATCH v2 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
` (8 preceding siblings ...)
2023-08-11 23:20 ` [PATCH v2 09/11] interconnect: qcom: sm8150: " Konrad Dybcio
@ 2023-08-11 23:20 ` Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 11/11] interconnect: qcom: sm8350: " Konrad Dybcio
2023-08-11 23:25 ` [PATCH v2 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
11 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 23:20 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Mike Tipton, Georgi Djakov,
Melody Olvera, Odelu Kukatla, Richard Acayan, David Dai,
Rob Herring, Greg Kroah-Hartman, Luca Weiss, Sibi Sankar,
Jonathan Marek, Vinod Koul
Cc: Marijn Suijten, linux-arm-msm, linux-pm, linux-kernel, Konrad Dybcio
ACV expects an enable_mask corresponding to the APPS RSC, fill it in.
Fixes: 6df5b349491e ("interconnect: qcom: Add SM8250 interconnect provider driver")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/interconnect/qcom/sm8250.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/interconnect/qcom/sm8250.c b/drivers/interconnect/qcom/sm8250.c
index d4a4ecef11f0..661dc18d99db 100644
--- a/drivers/interconnect/qcom/sm8250.c
+++ b/drivers/interconnect/qcom/sm8250.c
@@ -1397,6 +1397,7 @@ static struct qcom_icc_node qup2_core_slave = {
static struct qcom_icc_bcm bcm_acv = {
.name = "ACV",
+ .enable_mask = BIT(3),
.keepalive = false,
.num_nodes = 1,
.nodes = { &ebi },
--
2.41.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH v2 11/11] interconnect: qcom: sm8350: Set ACV enable_mask
2023-08-11 23:20 [PATCH v2 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
` (9 preceding siblings ...)
2023-08-11 23:20 ` [PATCH v2 10/11] interconnect: qcom: sm8250: " Konrad Dybcio
@ 2023-08-11 23:20 ` Konrad Dybcio
2023-08-11 23:25 ` [PATCH v2 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
11 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 23:20 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Mike Tipton, Georgi Djakov,
Melody Olvera, Odelu Kukatla, Richard Acayan, David Dai,
Rob Herring, Greg Kroah-Hartman, Luca Weiss, Sibi Sankar,
Jonathan Marek, Vinod Koul
Cc: Marijn Suijten, linux-arm-msm, linux-pm, linux-kernel, Konrad Dybcio
ACV expects an enable_mask corresponding to the APPS RSC, fill it in.
Fixes: d26a56674497 ("interconnect: qcom: Add SM8350 interconnect provider driver")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/interconnect/qcom/sm8350.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/interconnect/qcom/sm8350.c b/drivers/interconnect/qcom/sm8350.c
index bdf75839e6d1..562322d4fc3c 100644
--- a/drivers/interconnect/qcom/sm8350.c
+++ b/drivers/interconnect/qcom/sm8350.c
@@ -1356,6 +1356,7 @@ static struct qcom_icc_node qns_mem_noc_sf_disp = {
static struct qcom_icc_bcm bcm_acv = {
.name = "ACV",
+ .enable_mask = BIT(3),
.keepalive = false,
.num_nodes = 1,
.nodes = { &ebi },
--
2.41.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [PATCH v2 00/11] Hook up ACV enable_mask for everybody
2023-08-11 23:20 [PATCH v2 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
` (10 preceding siblings ...)
2023-08-11 23:20 ` [PATCH v2 11/11] interconnect: qcom: sm8350: " Konrad Dybcio
@ 2023-08-11 23:25 ` Konrad Dybcio
11 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 23:25 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Mike Tipton, Georgi Djakov,
Melody Olvera, Odelu Kukatla, Richard Acayan, David Dai,
Rob Herring, Greg Kroah-Hartman, Luca Weiss, Sibi Sankar,
Jonathan Marek, Vinod Koul
Cc: Marijn Suijten, linux-arm-msm, linux-pm, linux-kernel
On 12.08.2023 01:20, Konrad Dybcio wrote:
> In the downstream kernel, ACV enable_mask has not been mentioned
> explicitly, rather being handled by a sneaky if-condition [1], [2].
>
> Add it to all RPMh platforms to actually enable that BCM.
>
> Based atop [3].
>
> [1] https://git.codelinaro.org/clo/la/kernel/msm-4.19/-/blob/LA.UM.10.2.1.c25/drivers/soc/qcom/msm_bus/msm_bus_arb_rpmh.c#L556-567
> [2] https://git.codelinaro.org/clo/la/kernel/msm-4.19/-/blob/LA.UM.10.2.1.c25/drivers/soc/qcom/msm_bus/msm_bus_arb_rpmh.c#L475-495
> [3] https://lore.kernel.org/linux-arm-msm/20230811-topic-icc_retire_macrosd-v1-0-c03aaeffc769@linaro.org/T/#t
>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> ---
> Changes in v2:
> - Remove the define and use raw BIT(3) as the APPS mask may change (Mike)
> - Pick up tags (Bjorn)
Whoops sorry, there were no tags (and none were picked up)!
Konrad
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2023-08-11 23:25 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-11 23:20 [PATCH v2 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 01/11] interconnect: qcom: qdu1000: Set ACV enable_mask Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 02/11] interconnect: qcom: sc7180: " Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 03/11] interconnect: qcom: sc7280: " Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 04/11] interconnect: qcom: sc8180x: " Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 05/11] interconnect: qcom: sc8280xp: " Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 06/11] interconnect: qcom: sdm670: " Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 07/11] interconnect: qcom: sdm845: " Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 08/11] interconnect: qcom: sm6350: " Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 09/11] interconnect: qcom: sm8150: " Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 10/11] interconnect: qcom: sm8250: " Konrad Dybcio
2023-08-11 23:20 ` [PATCH v2 11/11] interconnect: qcom: sm8350: " Konrad Dybcio
2023-08-11 23:25 ` [PATCH v2 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
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).