Hook up ACV enable_mask for everybody
Subsystems (2)
v2 cover Hook up ACV enable_mask for everybody
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/[email protected]/T/#t
---
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/[email protected]
---
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,
Signature · 1 line
Konrad Dybcio <[email protected]>
PATCH v2 1/11 interconnect: qcom: qdu1000: Set ACV enable_mask
ACV expects an enable_mask corresponding to the APPS RSC, fill it in.
--- drivers/interconnect/qcom/qdu1000.c | 1 + 1 file changed, 1 insertion(+)
drivers/interconnect/qcom/qdu1000.c +1 -0
@@ -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 }, };
Signature · 1 line
2.41.0
PATCH v2 2/11 interconnect: qcom: sc7180: Set ACV enable_mask
In reply to Konrad DybcioACV expects an enable_mask corresponding to the APPS RSC, fill it in.
--- drivers/interconnect/qcom/sc7180.c | 1 + 1 file changed, 1 insertion(+)
drivers/interconnect/qcom/sc7180.c +1 -0
@@ -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 },
Signature · 1 line
2.41.0
PATCH v2 3/11 interconnect: qcom: sc7280: Set ACV enable_mask
In reply to Konrad DybcioACV expects an enable_mask corresponding to the APPS RSC, fill it in.
--- drivers/interconnect/qcom/sc7280.c | 1 + 1 file changed, 1 insertion(+)
drivers/interconnect/qcom/sc7280.c +1 -0
@@ -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 }, };
Signature · 1 line
2.41.0
PATCH v2 4/11 interconnect: qcom: sc8180x: Set ACV enable_mask
In reply to Konrad DybcioACV expects an enable_mask corresponding to the APPS RSC, fill it in.
--- drivers/interconnect/qcom/sc8180x.c | 1 + 1 file changed, 1 insertion(+)
drivers/interconnect/qcom/sc8180x.c +1 -0
@@ -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 } };
Signature · 1 line
2.41.0
PATCH v2 5/11 interconnect: qcom: sc8280xp: Set ACV enable_mask
In reply to Konrad DybcioACV expects an enable_mask corresponding to the APPS RSC, fill it in.
--- drivers/interconnect/qcom/sc8280xp.c | 1 + 1 file changed, 1 insertion(+)
drivers/interconnect/qcom/sc8280xp.c +1 -0
@@ -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 }, };
Signature · 1 line
2.41.0
PATCH v2 6/11 interconnect: qcom: sdm670: Set ACV enable_mask
In reply to Konrad DybcioACV expects an enable_mask corresponding to the APPS RSC, fill it in.
--- drivers/interconnect/qcom/sdm670.c | 1 + 1 file changed, 1 insertion(+)
drivers/interconnect/qcom/sdm670.c +1 -0
@@ -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 },
Signature · 1 line
2.41.0
PATCH v2 7/11 interconnect: qcom: sdm845: Set ACV enable_mask
In reply to Konrad DybcioACV expects an enable_mask corresponding to the APPS RSC, fill it in.
--- drivers/interconnect/qcom/sdm845.c | 1 + 1 file changed, 1 insertion(+)
drivers/interconnect/qcom/sdm845.c +1 -0
@@ -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 },
Signature · 1 line
2.41.0
PATCH v2 8/11 interconnect: qcom: sm6350: Set ACV enable_mask
In reply to Konrad DybcioACV expects an enable_mask corresponding to the APPS RSC, fill it in.
--- drivers/interconnect/qcom/sm6350.c | 1 + 1 file changed, 1 insertion(+)
drivers/interconnect/qcom/sm6350.c +1 -0
@@ -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 },
Signature · 1 line
2.41.0
PATCH v2 9/11 interconnect: qcom: sm8150: Set ACV enable_mask
In reply to Konrad DybcioACV expects an enable_mask corresponding to the APPS RSC, fill it in.
--- drivers/interconnect/qcom/sm8150.c | 1 + 1 file changed, 1 insertion(+)
drivers/interconnect/qcom/sm8150.c +1 -0
@@ -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 },
Signature · 1 line
2.41.0
PATCH v2 10/11 interconnect: qcom: sm8250: Set ACV enable_mask
In reply to Konrad DybcioACV expects an enable_mask corresponding to the APPS RSC, fill it in.
--- drivers/interconnect/qcom/sm8250.c | 1 + 1 file changed, 1 insertion(+)
drivers/interconnect/qcom/sm8250.c +1 -0
@@ -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 },
Signature · 1 line
2.41.0
PATCH v2 11/11 interconnect: qcom: sm8350: Set ACV enable_mask
In reply to Konrad DybcioACV expects an enable_mask corresponding to the APPS RSC, fill it in.
--- drivers/interconnect/qcom/sm8350.c | 1 + 1 file changed, 1 insertion(+)
drivers/interconnect/qcom/sm8350.c +1 -0
@@ -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 },
Signature · 1 line
2.41.0
Quoted 11 lines · Konrad Dybcio
In the downstream kernel, ACV
enable_maskhas 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/[email protected]/T/#t
Quoted 5 lines
Signed-off-by Konrad Dybcio <[email protected]>---
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