mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 16:41:58 +00:00
8a6e85f75a
acrn_vm_ram_map can't pin the user pages with VM_PFNMAP flag
by calling get_user_pages_fast(), the PA(physical pages)
may be mapped by kernel driver and set PFNMAP flag.
This patch fixes logic to setup EPT mapping for PFN mapped RAM region
by checking the memory attribute before adding EPT mapping for them.
Fixes:
|
||
---|---|---|
.. | ||
acrn | ||
nitro_enclaves | ||
vboxguest | ||
fsl_hypervisor.c | ||
Kconfig | ||
Makefile |