Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iommu/arm-smmu-qcom: Restore ACTLR settings for MDSS on sa8775p
  2026-01-09 11:52 [PATCH v5] iommu/arm-smmu-qcom: add actlr settings for mdss on Qualcomm platforms Will Deacon
@ 2026-01-09 20:45 ` bibek.patro
  2026-01-16  6:32   ` Bibek Kumar Patro
  0 siblings, 1 reply; 7+ messages in thread
From: bibek.patro @ 2026-01-09 20:45 UTC (permalink / raw)
  To: will
  Cc: bibek.patro, catalin.marinas, charan.kalla, dmitry.baryshkov,
	iommu, joro, kernel-team, konrad.dybcio, linux-arm-kernel,
	linux-arm-msm, linux-kernel, robin.clark, robin.murphy

From: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>

The ACTLR configuration for the sa8775p MDSS client was inadvertently
dropped while reworking the commit f91879fdf70b ("iommu/arm-smmu-qcom:
Add actlr settings for mdss on Qualcomm platforms"). Without this
entry, the sa8775p MDSS block does not receive the intended default
ACTLR configuration.

Restore the missing compatible entry so that the platform receives the
expected behavior.

Signed-off-by: Bibek Kumar Patro <bibek.patro@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 456d5146831e..718d102356d9 100644
--- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
+++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
@@ -43,6 +43,8 @@ static const struct of_device_id qcom_smmu_actlr_client_of_match[] = {
 			.data = (const void *) (PREFETCH_DEEP | CPRE | CMTLB) },
 	{ .compatible = "qcom,qcm2290-mdss",
 			.data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
+	{ .compatible = "qcom,sa8775p-mdss",
+			.data = (const void *) (PREFETCH_DEFAULT | CMTLB) },
 	{ .compatible = "qcom,sc7280-mdss",
 			.data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
 	{ .compatible = "qcom,sc7280-venus",
--
2.34.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] iommu/arm-smmu-qcom: Restore ACTLR settings for MDSS on sa8775p
  2026-01-09 20:45 ` [PATCH] iommu/arm-smmu-qcom: Restore ACTLR settings for MDSS on sa8775p bibek.patro
@ 2026-01-16  6:32   ` Bibek Kumar Patro
  0 siblings, 0 replies; 7+ messages in thread
From: Bibek Kumar Patro @ 2026-01-16  6:32 UTC (permalink / raw)
  To: will
  Cc: catalin.marinas, charan.kalla, dmitry.baryshkov, iommu, joro,
	kernel-team, konrad.dybcio, linux-arm-kernel, linux-arm-msm,
	linux-kernel, robin.clark, robin.murphy

Hi Will,

Thanks for the clarification in [1].
I’ve sent the follow‑up patch on top, including the explanation in the 
commit message as suggested.
Please lmk if any further adjustment is needed.

https://lore.kernel.org/all/aWDsFoEe7PHQaL9F@willie-the-truck/

Thanks & Regards,
Bibek

On 1/10/2026 2:15 AM, bibek.patro@oss.qualcomm.com wrote:
> From: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>
> 
> The ACTLR configuration for the sa8775p MDSS client was inadvertently
> dropped while reworking the commit f91879fdf70b ("iommu/arm-smmu-qcom:
> Add actlr settings for mdss on Qualcomm platforms"). Without this
> entry, the sa8775p MDSS block does not receive the intended default
> ACTLR configuration.
> 
> Restore the missing compatible entry so that the platform receives the
> expected behavior.
> 
> Signed-off-by: Bibek Kumar Patro <bibek.patro@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 456d5146831e..718d102356d9 100644
> --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
> +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
> @@ -43,6 +43,8 @@ static const struct of_device_id qcom_smmu_actlr_client_of_match[] = {
>   			.data = (const void *) (PREFETCH_DEEP | CPRE | CMTLB) },
>   	{ .compatible = "qcom,qcm2290-mdss",
>   			.data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
> +	{ .compatible = "qcom,sa8775p-mdss",
> +			.data = (const void *) (PREFETCH_DEFAULT | CMTLB) },
>   	{ .compatible = "qcom,sc7280-mdss",
>   			.data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
>   	{ .compatible = "qcom,sc7280-venus",
> --
> 2.34.1
> 



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH] iommu/arm-smmu-qcom: Restore ACTLR settings for MDSS on sa8775p
@ 2026-01-20 15:11 bibek.patro
  2026-01-20 22:26 ` Dmitry Baryshkov
  2026-01-22 16:59 ` Will Deacon
  0 siblings, 2 replies; 7+ messages in thread
From: bibek.patro @ 2026-01-20 15:11 UTC (permalink / raw)
  To: will
  Cc: bibek.patro, catalin.marinas, charan.kalla, dmitry.baryshkov,
	iommu, joro, kernel-team, konrad.dybcio, linux-arm-kernel,
	linux-arm-msm, linux-kernel, robin.clark, robin.murphy

From: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>

The ACTLR configuration for the sa8775p MDSS client was inadvertently
dropped while reworking the commit f91879fdf70b ("iommu/arm-smmu-qcom:
Add actlr settings for mdss on Qualcomm platforms"). Without this
entry, the sa8775p MDSS block does not receive the intended default
ACTLR configuration.

Restore the missing compatible entry so that the platform receives the
expected behavior.

Signed-off-by: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>
---

Hello community,

Resending this patch as the earlier version was sent as an
in‑reply‑to within an ongoing discussion thread [1], instead of being sent
as a new standalone patch submission. This may have caused it to inherit
the same message-id and appear threaded incorrectly.

Please consider this as the correct patch submission.

[1]:
https://lore.kernel.org/all/20260109204551.845959-1-bibek.patro@oss.qualcomm.com/

Thanks & regards,
Bibek

 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 456d5146831e..718d102356d9 100644
--- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
+++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
@@ -43,6 +43,8 @@ static const struct of_device_id qcom_smmu_actlr_client_of_match[] = {
 			.data = (const void *) (PREFETCH_DEEP | CPRE | CMTLB) },
 	{ .compatible = "qcom,qcm2290-mdss",
 			.data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
+	{ .compatible = "qcom,sa8775p-mdss",
+			.data = (const void *) (PREFETCH_DEFAULT | CMTLB) },
 	{ .compatible = "qcom,sc7280-mdss",
 			.data = (const void *) (PREFETCH_SHALLOW | CPRE | CMTLB) },
 	{ .compatible = "qcom,sc7280-venus",
--
2.34.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH] iommu/arm-smmu-qcom: Restore ACTLR settings for MDSS on sa8775p
  2026-01-20 15:11 [PATCH] iommu/arm-smmu-qcom: Restore ACTLR settings for MDSS on sa8775p bibek.patro
@ 2026-01-20 22:26 ` Dmitry Baryshkov
  2026-01-22 11:22   ` Bibek Kumar Patro
  2026-01-22 16:59 ` Will Deacon
  1 sibling, 1 reply; 7+ messages in thread
From: Dmitry Baryshkov @ 2026-01-20 22:26 UTC (permalink / raw)
  To: bibek.patro
  Cc: will, catalin.marinas, charan.kalla, iommu, joro, kernel-team,
	konrad.dybcio, linux-arm-kernel, linux-arm-msm, linux-kernel,
	robin.clark, robin.murphy

On Tue, Jan 20, 2026 at 08:41:05PM +0530, bibek.patro@oss.qualcomm.com wrote:
> From: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>
> 
> The ACTLR configuration for the sa8775p MDSS client was inadvertently
> dropped while reworking the commit f91879fdf70b ("iommu/arm-smmu-qcom:
> Add actlr settings for mdss on Qualcomm platforms"). Without this
> entry, the sa8775p MDSS block does not receive the intended default
> ACTLR configuration.
> 
> Restore the missing compatible entry so that the platform receives the
> expected behavior.
> 
> Signed-off-by: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>

Missing Fixes tag. Otherwise LGTM

-- 
With best wishes
Dmitry


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] iommu/arm-smmu-qcom: Restore ACTLR settings for MDSS on sa8775p
  2026-01-20 22:26 ` Dmitry Baryshkov
@ 2026-01-22 11:22   ` Bibek Kumar Patro
  2026-01-22 11:25     ` Will Deacon
  0 siblings, 1 reply; 7+ messages in thread
From: Bibek Kumar Patro @ 2026-01-22 11:22 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: will, catalin.marinas, charan.kalla, iommu, joro, kernel-team,
	konrad.dybcio, linux-arm-kernel, linux-arm-msm, linux-kernel,
	robin.clark, robin.murphy



On 1/21/2026 3:56 AM, Dmitry Baryshkov wrote:
> On Tue, Jan 20, 2026 at 08:41:05PM +0530, bibek.patro@oss.qualcomm.com wrote:
>> From: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>
>>
>> The ACTLR configuration for the sa8775p MDSS client was inadvertently
>> dropped while reworking the commit f91879fdf70b ("iommu/arm-smmu-qcom:
>> Add actlr settings for mdss on Qualcomm platforms"). Without this
>> entry, the sa8775p MDSS block does not receive the intended default
>> ACTLR configuration.
>>
>> Restore the missing compatible entry so that the platform receives the
>> expected behavior.
>>
>> Signed-off-by: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>
> 
> Missing Fixes tag. Otherwise LGTM

It looks like [1] hasn’t landed on any release branch yet - it’s still
only present in Will’s tree, which is also where the referenced “fixed
‘commit f91879fdf70b’” SHA was taken from.
Given that, do we need a Fixes: tag in this case? and should it use the
same SHA from Will’s tree.

[1]:
https://lore.kernel.org/all/176764799410.1451727.17568755330994660848.b4-ty@kernel.org/

Thanks & regards,
Bibek

> 



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] iommu/arm-smmu-qcom: Restore ACTLR settings for MDSS on sa8775p
  2026-01-22 11:22   ` Bibek Kumar Patro
@ 2026-01-22 11:25     ` Will Deacon
  0 siblings, 0 replies; 7+ messages in thread
From: Will Deacon @ 2026-01-22 11:25 UTC (permalink / raw)
  To: Bibek Kumar Patro
  Cc: Dmitry Baryshkov, catalin.marinas, charan.kalla, iommu, joro,
	kernel-team, konrad.dybcio, linux-arm-kernel, linux-arm-msm,
	linux-kernel, robin.clark, robin.murphy

On Thu, Jan 22, 2026 at 04:52:10PM +0530, Bibek Kumar Patro wrote:
> 
> 
> On 1/21/2026 3:56 AM, Dmitry Baryshkov wrote:
> > On Tue, Jan 20, 2026 at 08:41:05PM +0530, bibek.patro@oss.qualcomm.com wrote:
> > > From: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>
> > > 
> > > The ACTLR configuration for the sa8775p MDSS client was inadvertently
> > > dropped while reworking the commit f91879fdf70b ("iommu/arm-smmu-qcom:
> > > Add actlr settings for mdss on Qualcomm platforms"). Without this
> > > entry, the sa8775p MDSS block does not receive the intended default
> > > ACTLR configuration.
> > > 
> > > Restore the missing compatible entry so that the platform receives the
> > > expected behavior.
> > > 
> > > Signed-off-by: Bibek Kumar Patro <bibek.patro@oss.qualcomm.com>
> > 
> > Missing Fixes tag. Otherwise LGTM
> 
> It looks like [1] hasn’t landed on any release branch yet - it’s still
> only present in Will’s tree, which is also where the referenced “fixed
> ‘commit f91879fdf70b’” SHA was taken from.
> Given that, do we need a Fixes: tag in this case? and should it use the
> same SHA from Will’s tree.

I'll add it when I apply, no worries. Still playing catch-up with patches
:(

Will


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] iommu/arm-smmu-qcom: Restore ACTLR settings for MDSS on sa8775p
  2026-01-20 15:11 [PATCH] iommu/arm-smmu-qcom: Restore ACTLR settings for MDSS on sa8775p bibek.patro
  2026-01-20 22:26 ` Dmitry Baryshkov
@ 2026-01-22 16:59 ` Will Deacon
  1 sibling, 0 replies; 7+ messages in thread
From: Will Deacon @ 2026-01-22 16:59 UTC (permalink / raw)
  To: bibek.patro
  Cc: catalin.marinas, kernel-team, Will Deacon, charan.kalla,
	dmitry.baryshkov, iommu, joro, konrad.dybcio, linux-arm-kernel,
	linux-arm-msm, linux-kernel, robin.clark, robin.murphy

On Tue, 20 Jan 2026 20:41:05 +0530, bibek.patro@oss.qualcomm.com wrote:
> The ACTLR configuration for the sa8775p MDSS client was inadvertently
> dropped while reworking the commit f91879fdf70b ("iommu/arm-smmu-qcom:
> Add actlr settings for mdss on Qualcomm platforms"). Without this
> entry, the sa8775p MDSS block does not receive the intended default
> ACTLR configuration.
> 
> Restore the missing compatible entry so that the platform receives the
> expected behavior.
> 
> [...]

Applied to iommu (arm/smmu/updates), thanks!

[1/1] iommu/arm-smmu-qcom: Restore ACTLR settings for MDSS on sa8775p
      https://git.kernel.org/iommu/c/14e9a138dd02

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-01-22 17:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-20 15:11 [PATCH] iommu/arm-smmu-qcom: Restore ACTLR settings for MDSS on sa8775p bibek.patro
2026-01-20 22:26 ` Dmitry Baryshkov
2026-01-22 11:22   ` Bibek Kumar Patro
2026-01-22 11:25     ` Will Deacon
2026-01-22 16:59 ` Will Deacon
  -- strict thread matches above, loose matches on Subject: below --
2026-01-09 11:52 [PATCH v5] iommu/arm-smmu-qcom: add actlr settings for mdss on Qualcomm platforms Will Deacon
2026-01-09 20:45 ` [PATCH] iommu/arm-smmu-qcom: Restore ACTLR settings for MDSS on sa8775p bibek.patro
2026-01-16  6:32   ` Bibek Kumar Patro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox