2022-10-01 03:24:48

by Melody Olvera

[permalink] [raw]
Subject: [PATCH 2/2] drivers: arm-smmu-impl: Add QDU1000 and QRU1000 iommu implementation

Add compatible for Qualcomm QDU1000 and QRU1000 SoCs to add iommu
support for them.

Signed-off-by: Melody Olvera <[email protected]>
---
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 b2708de25ea3..2b9a3c917aae 100644
--- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
+++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
@@ -439,6 +439,8 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = {
{ .compatible = "qcom,sm8250-smmu-500" },
{ .compatible = "qcom,sm8350-smmu-500" },
{ .compatible = "qcom,sm8450-smmu-500" },
+ { .compatible = "qcom,qdu1000-smmu-500" },
+ { .compatible = "qcom,qru1000-smmu-500" },
{ }
};

--
2.37.3


2022-10-01 09:36:20

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH 2/2] drivers: arm-smmu-impl: Add QDU1000 and QRU1000 iommu implementation

On 01/10/2022 05:06, Melody Olvera wrote:
> Add compatible for Qualcomm QDU1000 and QRU1000 SoCs to add iommu
> support for them.
>
> Signed-off-by: Melody Olvera <[email protected]>
> ---
> 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 b2708de25ea3..2b9a3c917aae 100644
> --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
> +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
> @@ -439,6 +439,8 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = {
> { .compatible = "qcom,sm8250-smmu-500" },
> { .compatible = "qcom,sm8350-smmu-500" },
> { .compatible = "qcom,sm8450-smmu-500" },
> + { .compatible = "qcom,qdu1000-smmu-500" },
> + { .compatible = "qcom,qru1000-smmu-500" },

Again wrong order...

Best regards,
Krzysztof

2022-10-04 20:35:43

by Melody Olvera

[permalink] [raw]
Subject: Re: [PATCH 2/2] drivers: arm-smmu-impl: Add QDU1000 and QRU1000 iommu implementation



On 10/1/2022 4:31 AM, Krzysztof Kozlowski wrote:
> On 01/10/2022 05:06, Melody Olvera wrote:
>> Add compatible for Qualcomm QDU1000 and QRU1000 SoCs to add iommu
>> support for them.
>>
>> Signed-off-by: Melody Olvera <[email protected]>
>> ---
>> 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 b2708de25ea3..2b9a3c917aae 100644
>> --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
>> +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
>> @@ -439,6 +439,8 @@ static const struct of_device_id __maybe_unused qcom_smmu_impl_of_match[] = {
>> { .compatible = "qcom,sm8250-smmu-500" },
>> { .compatible = "qcom,sm8350-smmu-500" },
>> { .compatible = "qcom,sm8450-smmu-500" },
>> + { .compatible = "qcom,qdu1000-smmu-500" },
>> + { .compatible = "qcom,qru1000-smmu-500" },
> Again wrong order...
Will fix.
>
> Best regards,
> Krzysztof
Thanks,
Melody