[PATCH v8 11/12] iommu/arm-smmu-v3: Invoke pm_runtime before hw access

Nicolin Chen nicolinc at nvidia.com
Mon Jun 1 17:24:18 PDT 2026


On Mon, Jun 01, 2026 at 09:59:08PM +0000, Pranjal Shrivastava wrote:
> -static inline bool arm_smmu_can_elide(struct arm_smmu_device *smmu)
> +static inline bool arm_smmu_cmdq_can_elide(struct arm_smmu_device *smmu)
>  {
>  	return !!Q_STOP(READ_ONCE(smmu->cmdq.q.llq.prod));
>  }

Can it be named perfectly at the beginning?

And again, should it check Q_STOP in vcmdq?

Nicolin



More information about the linux-arm-kernel mailing list