[PATCH rc] iommu/arm-smmu-v3: Do not set disable_ats unless vSTE is Translate
Will Deacon
will at kernel.org
Fri Jan 23 09:49:50 PST 2026
On Wed, 14 Jan 2026 17:12:43 -0800, Nicolin Chen wrote:
> A vSTE may have three configuration types: Abort, Bypass, and Translate.
>
> An Abort vSTE wouldn't enable ATS, but the other two might.
>
> It makes sense for a Transalte vSTE to rely on the guest vSTE.EATS field.
>
> For a Bypass vSTE, it would end up with an S2-only physical STE, similar
> to an attachment to a regular S2 domain. However, the nested case always
> disables ATS following the Bypass vSTE, while the regular S2 case always
> enables ATS so long as arm_smmu_ats_supported(master) == true.
>
> [...]
Applied to iommu (arm/smmu/updates), thanks!
[1/1] iommu/arm-smmu-v3: Do not set disable_ats unless vSTE is Translate
https://git.kernel.org/iommu/c/a45dd3466302
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list