* [PATCH] iommu/arm-smmu-qcom: Add glymur MDSS to ACTLR client table
@ 2026-04-28 9:43 Lokanadha M R
2026-04-28 10:26 ` Dmitry Baryshkov
2026-05-05 10:54 ` Pankaj Patil
0 siblings, 2 replies; 3+ messages in thread
From: Lokanadha M R @ 2026-04-28 9:43 UTC (permalink / raw)
To: Rob Clark, Will Deacon, Robin Murphy, Joerg Roedel
Cc: iommu, linux-arm-msm, linux-arm-kernel, linux-kernel,
Lokanadha M R
Add qcom,glymur-mdss to the qcom_smmu_actlr_client_of_match[]
table to configure the SMMU-500 context bank for the display
subsystem (MDSS) on the Glymur platform.
The settings disable the next-page prefetcher while keeping
macro TLB caching enabled. Without this entry,
qcom_smmu_set_actlr_dev() finds no match for the glymur MDSS
device and leaves the context bank ACTLR at its reset value.
Signed-off-by: Lokanadha M R <lokanadha.r@oss.qualcomm.com>
---
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
index edd41b5a3b6a..6df48499a4b2 100644
--- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
+++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
@@ -41,6 +41,8 @@ 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,glymur-mdss",
+ .data = (const void *) (PREFETCH_DEFAULT | CMTLB) },
{ .compatible = "qcom,qcm2290-mdss",
.data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
{ .compatible = "qcom,sa8775p-mdss",
---
base-commit: 7080e32d3f09d8688c4a87d81bdcc71f7f606b16
change-id: 20260428-add_glymur_mdss_compatible-44f5b2837498
Best regards,
--
Lokanadha M R <lokanadha.r@oss.qualcomm.com>
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] iommu/arm-smmu-qcom: Add glymur MDSS to ACTLR client table
2026-04-28 9:43 [PATCH] iommu/arm-smmu-qcom: Add glymur MDSS to ACTLR client table Lokanadha M R
@ 2026-04-28 10:26 ` Dmitry Baryshkov
2026-05-05 10:54 ` Pankaj Patil
1 sibling, 0 replies; 3+ messages in thread
From: Dmitry Baryshkov @ 2026-04-28 10:26 UTC (permalink / raw)
To: Lokanadha M R
Cc: Rob Clark, Will Deacon, Robin Murphy, Joerg Roedel, iommu,
linux-arm-msm, linux-arm-kernel, linux-kernel
On Tue, Apr 28, 2026 at 03:13:50PM +0530, Lokanadha M R wrote:
> Add qcom,glymur-mdss to the qcom_smmu_actlr_client_of_match[]
> table to configure the SMMU-500 context bank for the display
> subsystem (MDSS) on the Glymur platform.
>
> The settings disable the next-page prefetcher while keeping
> macro TLB caching enabled. Without this entry,
> qcom_smmu_set_actlr_dev() finds no match for the glymur MDSS
> device and leaves the context bank ACTLR at its reset value.
>
> Signed-off-by: Lokanadha M R <lokanadha.r@oss.qualcomm.com>
> ---
> drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 2 ++
> 1 file changed, 2 insertions(+)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] iommu/arm-smmu-qcom: Add glymur MDSS to ACTLR client table
2026-04-28 9:43 [PATCH] iommu/arm-smmu-qcom: Add glymur MDSS to ACTLR client table Lokanadha M R
2026-04-28 10:26 ` Dmitry Baryshkov
@ 2026-05-05 10:54 ` Pankaj Patil
1 sibling, 0 replies; 3+ messages in thread
From: Pankaj Patil @ 2026-05-05 10:54 UTC (permalink / raw)
To: Lokanadha M R, Rob Clark, Will Deacon, Robin Murphy, Joerg Roedel
Cc: iommu, linux-arm-msm, linux-arm-kernel, linux-kernel
On 4/28/2026 3:13 PM, Lokanadha M R wrote:
> Add qcom,glymur-mdss to the qcom_smmu_actlr_client_of_match[]
> table to configure the SMMU-500 context bank for the display
> subsystem (MDSS) on the Glymur platform.
>
> The settings disable the next-page prefetcher while keeping
> macro TLB caching enabled. Without this entry,
> qcom_smmu_set_actlr_dev() finds no match for the glymur MDSS
> device and leaves the context bank ACTLR at its reset value.
>
> Signed-off-by: Lokanadha M R <lokanadha.r@oss.qualcomm.com>
> ---
> drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
> index edd41b5a3b6a..6df48499a4b2 100644
> --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
> +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
> @@ -41,6 +41,8 @@ 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,glymur-mdss",
> + .data = (const void *) (PREFETCH_DEFAULT | CMTLB) },
> { .compatible = "qcom,qcm2290-mdss",
> .data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
> { .compatible = "qcom,sa8775p-mdss",
>
> ---
> base-commit: 7080e32d3f09d8688c4a87d81bdcc71f7f606b16
> change-id: 20260428-add_glymur_mdss_compatible-44f5b2837498
>
> Best regards,
> --
> Lokanadha M R <lokanadha.r@oss.qualcomm.com>
>
>
Reviewed-by: Pankaj Patil <pankaj.patil@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-05-05 10:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-28 9:43 [PATCH] iommu/arm-smmu-qcom: Add glymur MDSS to ACTLR client table Lokanadha M R
2026-04-28 10:26 ` Dmitry Baryshkov
2026-05-05 10:54 ` Pankaj Patil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox