[RFC 1/2] vfio/pci: keep the prefetchable attribute of a BAR region in VMA

Shanker R Donthineni sdonthineni at nvidia.com
Mon May 3 13:08:15 BST 2021


Hi Marc,

On 5/3/21 4:50 AM, Marc Zyngier wrote:
> You are mixing two things: what Linux/arm64 gives to kernel drivers,
> and what KVM, as an implementation of the ARMv8 architecture, gives to
> virtual machines. There is zero reason for the two to match if there
> is no definition of what we need to provide.
Suggestion here is memory-types PROT_NORMAL_NC and PROT_DEVICE_nGnRE
are applicable to braemetal only and don't use for device memory inside VM.



More information about the linux-arm-kernel mailing list