mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] arm-smmu: pick up lost qcom impl compatibles
@ 2023-08-10 17:45 Konrad Dybcio
  2023-08-10 17:45 ` [PATCH 1/4] iommu/arm-smmu-qcom: Sort the compatible list alphabetically Konrad Dybcio
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Konrad Dybcio @ 2023-08-10 17:45 UTC (permalink / raw)
  To: Will Deacon, Robin Murphy, Joerg Roedel
  Cc: Marijn Suijten, linux-arm-kernel, iommu, linux-kernel,
	Konrad Dybcio, Dmitry Baryshkov, Konrad Dybcio

I noticed that some of the compatibles for either matching SMMU probe
or peripheral workarounds were lingering on my branch.

This series collects them in an effort to get them merged.

The bindings are all there.

I don't think it makes sense for me to look for the source series of
each patch.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Konrad Dybcio (4):
      iommu/arm-smmu-qcom: Sort the compatible list alphabetically
      iommu/arm-smmu-qcom: Add SM6375 DPU compatible
      iommu/arm-smmu-qcom: Add SM6350 DPU compatible
      iommu/arm-smmu-qcom: Add SM6375 SMMUv2

 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
base-commit: 21ef7b1e17d039053edaeaf41142423810572741
change-id: 20230810-topic-lost_smmu_compats-116f2e9f231a

Best regards,
-- 
Konrad Dybcio <konrad.dybcio@linaro.org>


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

* [PATCH 1/4] iommu/arm-smmu-qcom: Sort the compatible list alphabetically
  2023-08-10 17:45 [PATCH 0/4] arm-smmu: pick up lost qcom impl compatibles Konrad Dybcio
@ 2023-08-10 17:45 ` Konrad Dybcio
  2023-08-10 17:45 ` [PATCH 2/4] iommu/arm-smmu-qcom: Add SM6375 DPU compatible Konrad Dybcio
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Konrad Dybcio @ 2023-08-10 17:45 UTC (permalink / raw)
  To: Will Deacon, Robin Murphy, Joerg Roedel
  Cc: Marijn Suijten, linux-arm-kernel, iommu, linux-kernel,
	Konrad Dybcio, Dmitry Baryshkov

It got broken at some point, fix it up.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
index c71afda79d64..3800ab478216 100644
--- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
+++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
@@ -251,10 +251,10 @@ static const struct of_device_id qcom_smmu_client_of_match[] __maybe_unused = {
 	{ .compatible = "qcom,sc7280-mss-pil" },
 	{ .compatible = "qcom,sc8180x-mdss" },
 	{ .compatible = "qcom,sc8280xp-mdss" },
-	{ .compatible = "qcom,sm8150-mdss" },
-	{ .compatible = "qcom,sm8250-mdss" },
 	{ .compatible = "qcom,sdm845-mdss" },
 	{ .compatible = "qcom,sdm845-mss-pil" },
+	{ .compatible = "qcom,sm8150-mdss" },
+	{ .compatible = "qcom,sm8250-mdss" },
 	{ }
 };
 

-- 
2.41.0


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

* [PATCH 2/4] iommu/arm-smmu-qcom: Add SM6375 DPU compatible
  2023-08-10 17:45 [PATCH 0/4] arm-smmu: pick up lost qcom impl compatibles Konrad Dybcio
  2023-08-10 17:45 ` [PATCH 1/4] iommu/arm-smmu-qcom: Sort the compatible list alphabetically Konrad Dybcio
@ 2023-08-10 17:45 ` Konrad Dybcio
  2023-08-10 17:45 ` [PATCH 3/4] iommu/arm-smmu-qcom: Add SM6350 " Konrad Dybcio
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Konrad Dybcio @ 2023-08-10 17:45 UTC (permalink / raw)
  To: Will Deacon, Robin Murphy, Joerg Roedel
  Cc: Marijn Suijten, linux-arm-kernel, iommu, linux-kernel,
	Konrad Dybcio, Dmitry Baryshkov

Add the SM6375 DPU compatible to clients compatible list, as it also
needs the workarounds.

Acked-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
index 3800ab478216..cc574928c707 100644
--- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
+++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
@@ -253,6 +253,7 @@ static const struct of_device_id qcom_smmu_client_of_match[] __maybe_unused = {
 	{ .compatible = "qcom,sc8280xp-mdss" },
 	{ .compatible = "qcom,sdm845-mdss" },
 	{ .compatible = "qcom,sdm845-mss-pil" },
+	{ .compatible = "qcom,sm6375-mdss" },
 	{ .compatible = "qcom,sm8150-mdss" },
 	{ .compatible = "qcom,sm8250-mdss" },
 	{ }

-- 
2.41.0


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

* [PATCH 3/4] iommu/arm-smmu-qcom: Add SM6350 DPU compatible
  2023-08-10 17:45 [PATCH 0/4] arm-smmu: pick up lost qcom impl compatibles Konrad Dybcio
  2023-08-10 17:45 ` [PATCH 1/4] iommu/arm-smmu-qcom: Sort the compatible list alphabetically Konrad Dybcio
  2023-08-10 17:45 ` [PATCH 2/4] iommu/arm-smmu-qcom: Add SM6375 DPU compatible Konrad Dybcio
@ 2023-08-10 17:45 ` Konrad Dybcio
  2023-08-10 17:45 ` [PATCH 4/4] iommu/arm-smmu-qcom: Add SM6375 SMMUv2 Konrad Dybcio
  2023-08-11 11:44 ` [PATCH 0/4] arm-smmu: pick up lost qcom impl compatibles Will Deacon
  4 siblings, 0 replies; 6+ messages in thread
From: Konrad Dybcio @ 2023-08-10 17:45 UTC (permalink / raw)
  To: Will Deacon, Robin Murphy, Joerg Roedel
  Cc: Marijn Suijten, linux-arm-kernel, iommu, linux-kernel,
	Konrad Dybcio, Konrad Dybcio, Dmitry Baryshkov

From: Konrad Dybcio <konrad.dybcio@somainline.org>

Add the SM6350 DPU compatible to clients compatible list, as it also
needs the workarounds.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Acked-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
index cc574928c707..bdeb587552c0 100644
--- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
+++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
@@ -253,6 +253,7 @@ static const struct of_device_id qcom_smmu_client_of_match[] __maybe_unused = {
 	{ .compatible = "qcom,sc8280xp-mdss" },
 	{ .compatible = "qcom,sdm845-mdss" },
 	{ .compatible = "qcom,sdm845-mss-pil" },
+	{ .compatible = "qcom,sm6350-mdss" },
 	{ .compatible = "qcom,sm6375-mdss" },
 	{ .compatible = "qcom,sm8150-mdss" },
 	{ .compatible = "qcom,sm8250-mdss" },

-- 
2.41.0


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

* [PATCH 4/4] iommu/arm-smmu-qcom: Add SM6375 SMMUv2
  2023-08-10 17:45 [PATCH 0/4] arm-smmu: pick up lost qcom impl compatibles Konrad Dybcio
                   ` (2 preceding siblings ...)
  2023-08-10 17:45 ` [PATCH 3/4] iommu/arm-smmu-qcom: Add SM6350 " Konrad Dybcio
@ 2023-08-10 17:45 ` Konrad Dybcio
  2023-08-11 11:44 ` [PATCH 0/4] arm-smmu: pick up lost qcom impl compatibles Will Deacon
  4 siblings, 0 replies; 6+ messages in thread
From: Konrad Dybcio @ 2023-08-10 17:45 UTC (permalink / raw)
  To: Will Deacon, Robin Murphy, Joerg Roedel
  Cc: Marijn Suijten, linux-arm-kernel, iommu, linux-kernel, Konrad Dybcio

SM6375 uses a qcom,smmu-v2-style SMMU just for Adreno and friends.
Add a compatible for it.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
 drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
index bdeb587552c0..7f52ac67495f 100644
--- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
+++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
@@ -530,6 +530,7 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = {
 	{ .compatible = "qcom,sm6125-smmu-500", .data = &qcom_smmu_500_impl0_data },
 	{ .compatible = "qcom,sm6350-smmu-v2", .data = &qcom_smmu_v2_data },
 	{ .compatible = "qcom,sm6350-smmu-500", .data = &qcom_smmu_500_impl0_data },
+	{ .compatible = "qcom,sm6375-smmu-v2", .data = &qcom_smmu_v2_data },
 	{ .compatible = "qcom,sm6375-smmu-500", .data = &qcom_smmu_500_impl0_data },
 	{ .compatible = "qcom,sm8150-smmu-500", .data = &qcom_smmu_500_impl0_data },
 	{ .compatible = "qcom,sm8250-smmu-500", .data = &qcom_smmu_500_impl0_data },

-- 
2.41.0


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

* Re: [PATCH 0/4] arm-smmu: pick up lost qcom impl compatibles
  2023-08-10 17:45 [PATCH 0/4] arm-smmu: pick up lost qcom impl compatibles Konrad Dybcio
                   ` (3 preceding siblings ...)
  2023-08-10 17:45 ` [PATCH 4/4] iommu/arm-smmu-qcom: Add SM6375 SMMUv2 Konrad Dybcio
@ 2023-08-11 11:44 ` Will Deacon
  4 siblings, 0 replies; 6+ messages in thread
From: Will Deacon @ 2023-08-11 11:44 UTC (permalink / raw)
  To: Joerg Roedel, Robin Murphy, Konrad Dybcio
  Cc: catalin.marinas, kernel-team, Will Deacon, linux-kernel, iommu,
	Marijn Suijten, Dmitry Baryshkov, Konrad Dybcio,
	linux-arm-kernel

On Thu, 10 Aug 2023 19:45:03 +0200, Konrad Dybcio wrote:
> I noticed that some of the compatibles for either matching SMMU probe
> or peripheral workarounds were lingering on my branch.
> 
> This series collects them in an effort to get them merged.
> 
> The bindings are all there.
> 
> [...]

Applied to will (for-joerg/arm-smmu/updates), thanks!

[1/4] iommu/arm-smmu-qcom: Sort the compatible list alphabetically
      https://git.kernel.org/will/c/ec2ff4d8160f
[2/4] iommu/arm-smmu-qcom: Add SM6375 DPU compatible
      https://git.kernel.org/will/c/6ebaa77ce483
[3/4] iommu/arm-smmu-qcom: Add SM6350 DPU compatible
      https://git.kernel.org/will/c/7e85676a4523
[4/4] iommu/arm-smmu-qcom: Add SM6375 SMMUv2
      https://git.kernel.org/will/c/757d591d965f

Cheers,
-- 
Will

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

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

end of thread, other threads:[~2023-08-11 11:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-10 17:45 [PATCH 0/4] arm-smmu: pick up lost qcom impl compatibles Konrad Dybcio
2023-08-10 17:45 ` [PATCH 1/4] iommu/arm-smmu-qcom: Sort the compatible list alphabetically Konrad Dybcio
2023-08-10 17:45 ` [PATCH 2/4] iommu/arm-smmu-qcom: Add SM6375 DPU compatible Konrad Dybcio
2023-08-10 17:45 ` [PATCH 3/4] iommu/arm-smmu-qcom: Add SM6350 " Konrad Dybcio
2023-08-10 17:45 ` [PATCH 4/4] iommu/arm-smmu-qcom: Add SM6375 SMMUv2 Konrad Dybcio
2023-08-11 11:44 ` [PATCH 0/4] arm-smmu: pick up lost qcom impl compatibles Will Deacon

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

all inboxes | Powered by JetHome®