* [PATCH V3] iommu/arm-smmu: add actlr settings for mdss on Qualcomm platforms
@ 2025-11-24 17:10 Charan Teja Kalla
2025-11-26 1:51 ` Dmitry Baryshkov
0 siblings, 1 reply; 3+ messages in thread
From: Charan Teja Kalla @ 2025-11-24 17:10 UTC (permalink / raw)
To: konrad.dybcio, robin.clark, will, robin.murphy, joro,
dmitry.baryshkov
Cc: iommu, linux-arm-msm, linux-arm-kernel, linux-kernel,
Charan Teja Kalla
Add ACTLR settings for missing MDSS devices on Qualcomm platforms.
These are QoS settings and are specific to per SoC thus different
settings, eg: some have shallow prefetch while others have no
prefetch.
Signed-off-by: Charan Teja Kalla <charan.kalla@oss.qualcomm.com>
---
Changes from V2:
1) Add actlr settings for all the mdss devices on Qualcomm platforms.
2) Improved the commit message that explain why different ACTLR
settings
https://lore.kernel.org/lkml/20251118171822.3539062-1-charan.kalla@oss.qualcomm.com/#t
Changes from V1:
1) Added actlr setting only for MDSS and dropped for fastrpc. --
konrad
2) ACTLR table is updated per alphanumeric order -- konrad
https://lore.kernel.org/all/20251105075307.1658329-1-charan.kalla@oss.qualcomm.com/
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
index c21a401c71eb..ead1a59d40ae 100644
--- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
+++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
@@ -41,12 +41,34 @@ static const struct of_device_id qcom_smmu_actlr_client_of_match[] = {
.data = (const void *) (PREFETCH_DEEP | CPRE | CMTLB) },
{ .compatible = "qcom,fastrpc",
.data = (const void *) (PREFETCH_DEEP | CPRE | CMTLB) },
+ { .compatible = "qcom,qcm2290-mdss",
+ .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
{ .compatible = "qcom,sc7280-mdss",
.data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
{ .compatible = "qcom,sc7280-venus",
.data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
+ { .compatible = "qcom,sc8180x-mdss",
+ .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
+ { .compatible = "qcom,sm6125-mdss",
+ .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
+ { .compatible = "qcom,sm6350-mdss",
+ .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
+ { .compatible = "qcom,sm8150-mdss",
+ .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
+ { .compatible = "qcom,sm8250-mdss",
+ .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
+ { .compatible = "qcom,sm8350-mdss",
+ .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
+ { .compatible = "qcom,sm8450-mdss",
+ .data = (const void *) (PREFETCH_DEFAULT | CMTLB) },
{ .compatible = "qcom,sm8550-mdss",
.data = (const void *) (PREFETCH_DEFAULT | CMTLB) },
+ { .compatible = "qcom,sm8650-mdss",
+ .data = (const void *) (PREFETCH_DEFAULT | CMTLB) },
+ { .compatible = "qcom,sm8750-mdss",
+ .data = (const void *) (PREFETCH_DEFAULT | CMTLB) },
+ { .compatible = "qcom,x1e80100-mdss",
+ .data = (const void *) (PREFETCH_DEFAULT | CMTLB) },
{ }
};
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH V3] iommu/arm-smmu: add actlr settings for mdss on Qualcomm platforms
2025-11-24 17:10 [PATCH V3] iommu/arm-smmu: add actlr settings for mdss on Qualcomm platforms Charan Teja Kalla
@ 2025-11-26 1:51 ` Dmitry Baryshkov
2025-11-26 11:36 ` Charan Teja Kalla
0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Baryshkov @ 2025-11-26 1:51 UTC (permalink / raw)
To: Charan Teja Kalla
Cc: konrad.dybcio, robin.clark, will, robin.murphy, joro, iommu,
linux-arm-msm, linux-arm-kernel, linux-kernel
On Mon, Nov 24, 2025 at 10:40:30PM +0530, Charan Teja Kalla wrote:
> Add ACTLR settings for missing MDSS devices on Qualcomm platforms.
>
> These are QoS settings and are specific to per SoC thus different
> settings, eg: some have shallow prefetch while others have no
> prefetch.
>
> Signed-off-by: Charan Teja Kalla <charan.kalla@oss.qualcomm.com>
> ---
> Changes from V2:
> 1) Add actlr settings for all the mdss devices on Qualcomm platforms.
> 2) Improved the commit message that explain why different ACTLR
> settings
> https://lore.kernel.org/lkml/20251118171822.3539062-1-charan.kalla@oss.qualcomm.com/#t
>
> Changes from V1:
> 1) Added actlr setting only for MDSS and dropped for fastrpc. --
> konrad
> 2) ACTLR table is updated per alphanumeric order -- konrad
> https://lore.kernel.org/all/20251105075307.1658329-1-charan.kalla@oss.qualcomm.com/
>
>
> drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 22 ++++++++++++++++++++++
> 1 file changed, 22 insertions(+)
>
> diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
> index c21a401c71eb..ead1a59d40ae 100644
> --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
> +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
> @@ -41,12 +41,34 @@ static const struct of_device_id qcom_smmu_actlr_client_of_match[] = {
> .data = (const void *) (PREFETCH_DEEP | CPRE | CMTLB) },
> { .compatible = "qcom,fastrpc",
> .data = (const void *) (PREFETCH_DEEP | CPRE | CMTLB) },
> + { .compatible = "qcom,qcm2290-mdss",
> + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
> { .compatible = "qcom,sc7280-mdss",
> .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
> { .compatible = "qcom,sc7280-venus",
> .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
> + { .compatible = "qcom,sc8180x-mdss",
> + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
sc8280xp? sm6115? sdm845? sdm660, msm8998?
> + { .compatible = "qcom,sm6125-mdss",
> + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
> + { .compatible = "qcom,sm6350-mdss",
> + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
> + { .compatible = "qcom,sm8150-mdss",
> + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
> + { .compatible = "qcom,sm8250-mdss",
> + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
> + { .compatible = "qcom,sm8350-mdss",
> + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
> + { .compatible = "qcom,sm8450-mdss",
> + .data = (const void *) (PREFETCH_DEFAULT | CMTLB) },
> { .compatible = "qcom,sm8550-mdss",
> .data = (const void *) (PREFETCH_DEFAULT | CMTLB) },
> + { .compatible = "qcom,sm8650-mdss",
> + .data = (const void *) (PREFETCH_DEFAULT | CMTLB) },
> + { .compatible = "qcom,sm8750-mdss",
> + .data = (const void *) (PREFETCH_DEFAULT | CMTLB) },
> + { .compatible = "qcom,x1e80100-mdss",
> + .data = (const void *) (PREFETCH_DEFAULT | CMTLB) },
> { }
> };
>
> --
> 2.34.1
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH V3] iommu/arm-smmu: add actlr settings for mdss on Qualcomm platforms
2025-11-26 1:51 ` Dmitry Baryshkov
@ 2025-11-26 11:36 ` Charan Teja Kalla
0 siblings, 0 replies; 3+ messages in thread
From: Charan Teja Kalla @ 2025-11-26 11:36 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: konrad.dybcio, robin.clark, will, robin.murphy, joro, iommu,
linux-arm-msm, linux-arm-kernel, linux-kernel
On 11/26/2025 7:21 AM, Dmitry Baryshkov wrote:
>> diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
>> index c21a401c71eb..ead1a59d40ae 100644
>> --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
>> +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
>> @@ -41,12 +41,34 @@ static const struct of_device_id qcom_smmu_actlr_client_of_match[] = {
>> .data = (const void *) (PREFETCH_DEEP | CPRE | CMTLB) },
>> { .compatible = "qcom,fastrpc",
>> .data = (const void *) (PREFETCH_DEEP | CPRE | CMTLB) },
>> + { .compatible = "qcom,qcm2290-mdss",
>> + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
>> { .compatible = "qcom,sc7280-mdss",
>> .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
>> { .compatible = "qcom,sc7280-venus",
>> .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
>> + { .compatible = "qcom,sc8180x-mdss",
>> + .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
> sc8280xp? sm6115? sdm845? sdm660, msm8998?
8280 and 6115 is slipped....will update in next revision.
This Prefetch feature is not implemented for all the platforms, I
captured only to those that are implemented(to the best of my knowledge)
-- I will put this in commit message.
Thanks,
Charan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-11-26 11:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-24 17:10 [PATCH V3] iommu/arm-smmu: add actlr settings for mdss on Qualcomm platforms Charan Teja Kalla
2025-11-26 1:51 ` Dmitry Baryshkov
2025-11-26 11:36 ` Charan Teja Kalla
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).