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

Melody Olvera posted 2 patches 3 years, 4 months ago
There is a newer version of this series
[PATCH 2/2] drivers: arm-smmu-impl: Add QDU1000 and QRU1000 iommu implementation
Posted by Melody Olvera 3 years, 4 months ago
Add compatible for Qualcomm QDU1000 and QRU1000 SoCs to add iommu
support for them.

Signed-off-by: Melody Olvera <quic_molvera@quicinc.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 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
Re: [PATCH 2/2] drivers: arm-smmu-impl: Add QDU1000 and QRU1000 iommu implementation
Posted by Krzysztof Kozlowski 3 years, 4 months ago
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 <quic_molvera@quicinc.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 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
Re: [PATCH 2/2] drivers: arm-smmu-impl: Add QDU1000 and QRU1000 iommu implementation
Posted by Melody Olvera 3 years, 4 months ago

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 <quic_molvera@quicinc.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 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