* [PATCH 00/11] Hook up ACV enable_mask for everybody
@ 2023-08-11 13:04 Konrad Dybcio
2023-08-11 13:04 ` [PATCH 01/11] interconnect: qcom: qdu1000: Set ACV enable_mask Konrad Dybcio
` (10 more replies)
0 siblings, 11 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 13:04 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, 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>
---
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/bcm-voter.h | 2 ++
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 +
12 files changed, 13 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 01/11] interconnect: qcom: qdu1000: Set ACV enable_mask
2023-08-11 13:04 [PATCH 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
@ 2023-08-11 13:04 ` Konrad Dybcio
2023-08-11 18:19 ` Mike Tipton
2023-08-11 13:04 ` [PATCH 02/11] interconnect: qcom: sc7180: " Konrad Dybcio
` (9 subsequent siblings)
10 siblings, 1 reply; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 13:04 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, 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/bcm-voter.h | 2 ++
drivers/interconnect/qcom/qdu1000.c | 1 +
2 files changed, 3 insertions(+)
diff --git a/drivers/interconnect/qcom/bcm-voter.h b/drivers/interconnect/qcom/bcm-voter.h
index b4d36e349f3c..da92267877f9 100644
--- a/drivers/interconnect/qcom/bcm-voter.h
+++ b/drivers/interconnect/qcom/bcm-voter.h
@@ -16,4 +16,6 @@ struct bcm_voter *of_bcm_voter_get(struct device *dev, const char *name);
void qcom_icc_bcm_voter_add(struct bcm_voter *voter, struct qcom_icc_bcm *bcm);
int qcom_icc_bcm_voter_commit(struct bcm_voter *voter);
+#define ACV_RSC_APPS BIT(3)
+
#endif
diff --git a/drivers/interconnect/qcom/qdu1000.c b/drivers/interconnect/qcom/qdu1000.c
index bf800dd7d4ba..c504bf348294 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 = ACV_RSC_APPS,
.num_nodes = 1,
.nodes = { &ebi },
};
--
2.41.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 02/11] interconnect: qcom: sc7180: Set ACV enable_mask
2023-08-11 13:04 [PATCH 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
2023-08-11 13:04 ` [PATCH 01/11] interconnect: qcom: qdu1000: Set ACV enable_mask Konrad Dybcio
@ 2023-08-11 13:04 ` Konrad Dybcio
2023-08-11 13:04 ` [PATCH 03/11] interconnect: qcom: sc7280: " Konrad Dybcio
` (8 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 13:04 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, 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..013b6840d59d 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 = ACV_RSC_APPS,
.keepalive = false,
.num_nodes = 1,
.nodes = { &ebi },
--
2.41.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 03/11] interconnect: qcom: sc7280: Set ACV enable_mask
2023-08-11 13:04 [PATCH 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
2023-08-11 13:04 ` [PATCH 01/11] interconnect: qcom: qdu1000: Set ACV enable_mask Konrad Dybcio
2023-08-11 13:04 ` [PATCH 02/11] interconnect: qcom: sc7180: " Konrad Dybcio
@ 2023-08-11 13:04 ` Konrad Dybcio
2023-08-11 13:04 ` [PATCH 04/11] interconnect: qcom: sc8180x: " Konrad Dybcio
` (7 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 13:04 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, 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..f20b0ef47835 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 = ACV_RSC_APPS,
.num_nodes = 1,
.nodes = { &ebi },
};
--
2.41.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 04/11] interconnect: qcom: sc8180x: Set ACV enable_mask
2023-08-11 13:04 [PATCH 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
` (2 preceding siblings ...)
2023-08-11 13:04 ` [PATCH 03/11] interconnect: qcom: sc7280: " Konrad Dybcio
@ 2023-08-11 13:04 ` Konrad Dybcio
2023-08-11 13:04 ` [PATCH 05/11] interconnect: qcom: sc8280xp: " Konrad Dybcio
` (6 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 13:04 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, 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..7d92ef960e7d 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 = ACV_RSC_APPS,
.num_nodes = 1,
.nodes = { &slv_ebi }
};
--
2.41.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 05/11] interconnect: qcom: sc8280xp: Set ACV enable_mask
2023-08-11 13:04 [PATCH 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
` (3 preceding siblings ...)
2023-08-11 13:04 ` [PATCH 04/11] interconnect: qcom: sc8180x: " Konrad Dybcio
@ 2023-08-11 13:04 ` Konrad Dybcio
2023-08-11 13:04 ` [PATCH 06/11] interconnect: qcom: sdm670: " Konrad Dybcio
` (5 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 13:04 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, 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..141101c1bb44 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 = ACV_RSC_APPS,
.num_nodes = 1,
.nodes = { &ebi },
};
--
2.41.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 06/11] interconnect: qcom: sdm670: Set ACV enable_mask
2023-08-11 13:04 [PATCH 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
` (4 preceding siblings ...)
2023-08-11 13:04 ` [PATCH 05/11] interconnect: qcom: sc8280xp: " Konrad Dybcio
@ 2023-08-11 13:04 ` Konrad Dybcio
2023-08-11 13:04 ` [PATCH 07/11] interconnect: qcom: sdm845: " Konrad Dybcio
` (4 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 13:04 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, 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..af2801c38854 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 = ACV_RSC_APPS,
.keepalive = false,
.num_nodes = 1,
.nodes = { &ebi },
--
2.41.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 07/11] interconnect: qcom: sdm845: Set ACV enable_mask
2023-08-11 13:04 [PATCH 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
` (5 preceding siblings ...)
2023-08-11 13:04 ` [PATCH 06/11] interconnect: qcom: sdm670: " Konrad Dybcio
@ 2023-08-11 13:04 ` Konrad Dybcio
2023-08-11 13:04 ` [PATCH 08/11] interconnect: qcom: sm6350: " Konrad Dybcio
` (3 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 13:04 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, 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..8bd65df3aa86 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 = ACV_RSC_APPS,
.keepalive = false,
.num_nodes = 1,
.nodes = { &ebi },
--
2.41.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 08/11] interconnect: qcom: sm6350: Set ACV enable_mask
2023-08-11 13:04 [PATCH 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
` (6 preceding siblings ...)
2023-08-11 13:04 ` [PATCH 07/11] interconnect: qcom: sdm845: " Konrad Dybcio
@ 2023-08-11 13:04 ` Konrad Dybcio
2023-08-11 13:04 ` [PATCH 09/11] interconnect: qcom: sm8150: " Konrad Dybcio
` (2 subsequent siblings)
10 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 13:04 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, 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..5b6b174735a4 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 = ACV_RSC_APPS,
.keepalive = false,
.num_nodes = 1,
.nodes = { &ebi },
--
2.41.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 09/11] interconnect: qcom: sm8150: Set ACV enable_mask
2023-08-11 13:04 [PATCH 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
` (7 preceding siblings ...)
2023-08-11 13:04 ` [PATCH 08/11] interconnect: qcom: sm6350: " Konrad Dybcio
@ 2023-08-11 13:04 ` Konrad Dybcio
2023-08-11 13:04 ` [PATCH 10/11] interconnect: qcom: sm8250: " Konrad Dybcio
2023-08-11 13:04 ` [PATCH 11/11] interconnect: qcom: sm8350: " Konrad Dybcio
10 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 13:04 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, 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..1fc4323633ea 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 = ACV_RSC_APPS,
.keepalive = false,
.num_nodes = 1,
.nodes = { &ebi },
--
2.41.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 10/11] interconnect: qcom: sm8250: Set ACV enable_mask
2023-08-11 13:04 [PATCH 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
` (8 preceding siblings ...)
2023-08-11 13:04 ` [PATCH 09/11] interconnect: qcom: sm8150: " Konrad Dybcio
@ 2023-08-11 13:04 ` Konrad Dybcio
2023-08-11 13:04 ` [PATCH 11/11] interconnect: qcom: sm8350: " Konrad Dybcio
10 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 13:04 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, 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..19d5ecbb5a48 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 = ACV_RSC_APPS,
.keepalive = false,
.num_nodes = 1,
.nodes = { &ebi },
--
2.41.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 11/11] interconnect: qcom: sm8350: Set ACV enable_mask
2023-08-11 13:04 [PATCH 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
` (9 preceding siblings ...)
2023-08-11 13:04 ` [PATCH 10/11] interconnect: qcom: sm8250: " Konrad Dybcio
@ 2023-08-11 13:04 ` Konrad Dybcio
10 siblings, 0 replies; 13+ messages in thread
From: Konrad Dybcio @ 2023-08-11 13:04 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, 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..b13814b3d6d0 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 = ACV_RSC_APPS,
.keepalive = false,
.num_nodes = 1,
.nodes = { &ebi },
--
2.41.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [PATCH 01/11] interconnect: qcom: qdu1000: Set ACV enable_mask
2023-08-11 13:04 ` [PATCH 01/11] interconnect: qcom: qdu1000: Set ACV enable_mask Konrad Dybcio
@ 2023-08-11 18:19 ` Mike Tipton
0 siblings, 0 replies; 13+ messages in thread
From: Mike Tipton @ 2023-08-11 18:19 UTC (permalink / raw)
To: Konrad Dybcio
Cc: Andy Gross, Bjorn Andersson, Georgi Djakov, Melody Olvera,
Odelu Kukatla, Richard Acayan, David Dai, Rob Herring,
Greg Kroah-Hartman, Luca Weiss, Sibi Sankar, Jonathan Marek,
Vinod Koul, Marijn Suijten, linux-arm-msm, linux-pm, linux-kernel
On Fri, Aug 11, 2023 at 03:04:08PM +0200, Konrad Dybcio wrote:
> 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/bcm-voter.h | 2 ++
> drivers/interconnect/qcom/qdu1000.c | 1 +
> 2 files changed, 3 insertions(+)
>
> diff --git a/drivers/interconnect/qcom/bcm-voter.h b/drivers/interconnect/qcom/bcm-voter.h
> index b4d36e349f3c..da92267877f9 100644
> --- a/drivers/interconnect/qcom/bcm-voter.h
> +++ b/drivers/interconnect/qcom/bcm-voter.h
> @@ -16,4 +16,6 @@ struct bcm_voter *of_bcm_voter_get(struct device *dev, const char *name);
> void qcom_icc_bcm_voter_add(struct bcm_voter *voter, struct qcom_icc_bcm *bcm);
> int qcom_icc_bcm_voter_commit(struct bcm_voter *voter);
>
> +#define ACV_RSC_APPS BIT(3)
This isn't entirely common to all chips. It's been BIT(3) for most of
history and is for all the chips in the series. But there upcoming chips
where it'll be different. There are only a finite number of ACV bits
available, so depending on the requirements they can be repurposed. We
should probably just have the raw mask defined in the target files.
> + #endif diff --git a/drivers/interconnect/qcom/qdu1000.c
> b/drivers/interconnect/qcom/qdu1000.c index bf800dd7d4ba..c504bf348294
> 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 = ACV_RSC_APPS,
> .num_nodes = 1,
> .nodes = { &ebi },
> };
>
> --
> 2.41.0
>
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2023-08-11 18:20 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-11 13:04 [PATCH 00/11] Hook up ACV enable_mask for everybody Konrad Dybcio
2023-08-11 13:04 ` [PATCH 01/11] interconnect: qcom: qdu1000: Set ACV enable_mask Konrad Dybcio
2023-08-11 18:19 ` Mike Tipton
2023-08-11 13:04 ` [PATCH 02/11] interconnect: qcom: sc7180: " Konrad Dybcio
2023-08-11 13:04 ` [PATCH 03/11] interconnect: qcom: sc7280: " Konrad Dybcio
2023-08-11 13:04 ` [PATCH 04/11] interconnect: qcom: sc8180x: " Konrad Dybcio
2023-08-11 13:04 ` [PATCH 05/11] interconnect: qcom: sc8280xp: " Konrad Dybcio
2023-08-11 13:04 ` [PATCH 06/11] interconnect: qcom: sdm670: " Konrad Dybcio
2023-08-11 13:04 ` [PATCH 07/11] interconnect: qcom: sdm845: " Konrad Dybcio
2023-08-11 13:04 ` [PATCH 08/11] interconnect: qcom: sm6350: " Konrad Dybcio
2023-08-11 13:04 ` [PATCH 09/11] interconnect: qcom: sm8150: " Konrad Dybcio
2023-08-11 13:04 ` [PATCH 10/11] interconnect: qcom: sm8250: " Konrad Dybcio
2023-08-11 13:04 ` [PATCH 11/11] interconnect: qcom: sm8350: " 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).