[PATCH V2 3/3] arm64: dts: nvidia: Add nodes for CMDQV
Thierry Reding
thierry.reding at gmail.com
Mon Dec 1 06:11:00 PST 2025
On Mon, Dec 01, 2025 at 03:06:55PM +0530, Ashish Mhetre wrote:
>
> On 11/25/2025 3:52 PM, Jon Hunter wrote:
> >
> >
> > On 25/11/2025 07:16, Ashish Mhetre wrote:
> > > The Command Queue Virtualization (CMDQV) hardware is part of the
> > > SMMUv3 implementation on NVIDIA Tegra SoCs. It assists in
> > > virtualizing the command queue for the SMMU.
> > >
> > > Update SMMU compatible strings to use nvidia,tegra264-smmu to enable
> > > CMDQV support. Add device tree nodes for the CMDQV hardware and enable
> > > them on the tegra264-p3834 platform where SMMUs are enabled. Each SMMU
> > > instance is paired with its corresponding CMDQV instance via the
> > > nvidia,cmdqv property.
> > >
> > > Signed-off-by: Ashish Mhetre <amhetre at nvidia.com>
> > > ---
> > > .../arm64/boot/dts/nvidia/tegra264-p3834.dtsi | 8 +++
> > > arch/arm64/boot/dts/nvidia/tegra264.dtsi | 55 +++++++++++++++++--
> > > 2 files changed, 58 insertions(+), 5 deletions(-)
> > >
> > > diff --git a/arch/arm64/boot/dts/nvidia/tegra264-p3834.dtsi
> > > b/arch/arm64/boot/dts/nvidia/tegra264-p3834.dtsi
> > > index 06795c82427a..375d122b92fa 100644
> > > --- a/arch/arm64/boot/dts/nvidia/tegra264-p3834.dtsi
> > > +++ b/arch/arm64/boot/dts/nvidia/tegra264-p3834.dtsi
> > > @@ -26,5 +26,13 @@ iommu at 5000000 {
> > > iommu at 6000000 {
> > > status = "okay";
> > > };
> > > +
> > > + cmdqv at 5200000 {
> > > + status = "okay";
> > > + };
> >
> > This needs to be ordered in the file according to its address.
>
> Hi Jon, Thanks for the review.
> cmdqv nodes follow same ordering as its corresponding iommu nodes.
> I have added them immediately after corresponding iommu nodes.
No, you didn't. It seems like you sorted by type and then address. But
we always sort by address first. Type doesn't matter.
This node belongs above the iommu at 6000000 node and after iommu at 5000000.
The same ordering should be respected in the DTS include.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20251201/f864b193/attachment.sig>
More information about the linux-arm-kernel
mailing list