[PATCH v6 3/5] kvm: arm64: New memslot flag to indicate cacheable mapping

Ankit Agrawal ankita at nvidia.com
Mon May 26 21:33:41 PDT 2025


> I thought we agreed not to do this? Sean was strongly against it
> right?

> There is no easy way for VFIO to know to set it, and the kernel will
> not allow switching a cachable VMA to non-cachable anyhow.

> So all it does is make it harder to create a memslot.

Oliver had mentioned earlier that he would still prefer a memslot flag as
VMM should convey its intent through that flag:
https://lore.kernel.org/all/aAdKCGCuwlUeUXKY@linux.dev/

Oliver, could you please confirm if you are convinced with not having this
flag? Can we rely on MT_NORMAL in vma mapping to convey this?



More information about the linux-arm-kernel mailing list