Re: [PATCH 1/2] arm64: dts: qcom: sa8775p: Delete duplicate fastrpc nodes
From: Dmitry Baryshkov
Date: Tue Jan 21 2025 - 06:59:48 EST
On Tue, Jan 21, 2025 at 05:24:03PM +0530, Ling Xu wrote:
> There are some items come out to be same value if we do SID & ~MASK.
> Remove duplicate compute-cb nodes for sa8775p to simplify.
No, you are not removing duplicate compute-cb nodes, you are removing
extra entries from the iommus property.
>
> Signed-off-by: Ling Xu <quic_lxu5@xxxxxxxxxxx>
> ---
> arch/arm64/boot/dts/qcom/sa8775p.dtsi | 240 +++-----------------------
> 1 file changed, 24 insertions(+), 216 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
> index 9da62d7c4d27..0aa27db21f3d 100644
> --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi
> @@ -4517,15 +4517,7 @@ compute-cb@1 {
> compatible = "qcom,fastrpc-compute-cb";
> reg = <1>;
> iommus = <&apps_smmu 0x2141 0x04a0>,
> - <&apps_smmu 0x2161 0x04a0>,
> - <&apps_smmu 0x2181 0x0400>,
> - <&apps_smmu 0x21c1 0x04a0>,
> - <&apps_smmu 0x21e1 0x04a0>,
> - <&apps_smmu 0x2541 0x04a0>,
> - <&apps_smmu 0x2561 0x04a0>,
> - <&apps_smmu 0x2581 0x0400>,
> - <&apps_smmu 0x25c1 0x04a0>,
> - <&apps_smmu 0x25e1 0x04a0>;
> + <&apps_smmu 0x2181 0x0400>;
> dma-coherent;
> };
>
--
With best wishes
Dmitry