On 10/17/25 07:01, Jason Gunthorpe wrote: >>> The other alternative is to have arch_vmap_pmd_supported() return false >>> when SVA is active, or maybe when it's supported on the platform. >>> >>> Either of those are 10-ish lines of code and easy to backport. >> Hi iommu folks, any insights on this? > IDK, the only SVA user on x86 I know is IDXD, so if you do the above > plan you break IDXD in all stable kernels. Doesn't sound OK? Vinicius, any thoughts on this? I'm thinking that even messing with arch_vmap_pmd_supported() would be suboptimal. The easiest thing is to just stick the attached patch in stable kernels and disable SVA at compile time. There just aren't enough SVA users out in the wild to justify more complexity than this.