(subset) [PATCH 1/2] iommu/arm-smmu-v3: Document SVA interaction with new pagetable features
Catalin Marinas
catalin.marinas at arm.com
Thu Dec 5 10:23:36 PST 2024
On Thu, 05 Dec 2024 13:48:09 +0000, Robin Murphy wrote:
> Process pagetables may now be using new permission-indirection-based
> features which an SMMU may not understand when given such a table for
> SVA. Although SMMUv3.4 does add its own S1PIE feature, realistically
> we're still going to have to cope with feature mismatches between CPUs
> and SMMUs, so let's start simple and essentially just document the
> expectations for what falls out as-is. Although it seems unlikely for
> SVA applications to also depend on memory-hardening features, or
> vice-versa, the relative lifecycles make it tricky to enforce mutual
> exclusivity. Thankfully our PIE index allocation makes it relatively
> benign for an SMMU to keep interpreting them as direct permissions, the
> only real implication is that an SVA application cannot harden itself
> against its own devices with these features. Thus, inform the user about
> that just in case they have other expectations.
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[2/2] arm64: cpufeature: Add GCS to cpucap_is_possible()
https://git.kernel.org/arm64/c/f00b53f1614f
--
Catalin
More information about the linux-arm-kernel
mailing list