[PATCH v11 12/16] iommu/tegra241-cmdqv: Add a helper to quiesce VCMDQs

Nicolin Chen nicolinc at nvidia.com
Wed Sep 30 13:03:23 PDT 2026


On Wed, Sep 30, 2026 at 07:57:12PM +0000, Pranjal Shrivastava wrote:
> I'm planning to add an impl->suspend op now.. that will cover this, and
> also the late breaking IRQ changes you're referring to in the other
> thread. Roughly:
>  - set STOP_FLAG on all lvcmdqs
>  - wait for owners & drain all lvcmdqs
>  - handle any pending CMDQV errors
>  - tegra241_vintf_hw_deinit(vintf0)
> 
> I'll call it from arm_smmu_runtime_suspend() before gating the main
> CMDQ, so the CMD_SYNC in tegra241_vcmdq_hw_flush_timeout() still goes
> through and any late cmd simply falls back to smmu->cmdq.

That sounds good to me.

Nicolin



More information about the linux-arm-kernel mailing list