[PATCH v3] iommu: arm-smmu-qcom: Ensure smmu is powered up in set_ttbr0_cfg
Will Deacon
will at kernel.org
Tue May 19 08:22:52 PDT 2026
On Thu, 07 May 2026 17:43:15 +0200, Anna Maniscalco wrote:
> arm_smmu_write_context_bank() assumes it is being called with RPM
> active, but it turns out that is not guaranteed in the path from
> qcom_adreno_smmu_set_ttbr0_cfg(), so it's possible for the register
> writes to get lost when configuring the context bank while the GPU is
> idle, leading to page faults later.
> Add the RPM calls here to make sure the SMMU is active before we touch
> it.
>
> [...]
Applied to iommu (arm/smmu/updates), thanks!
[1/1] iommu: arm-smmu-qcom: Ensure smmu is powered up in set_ttbr0_cfg
https://git.kernel.org/iommu/c/8a0aab012b52
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list