linux/drivers/virt
Yonghua Huang 8a6e85f75a virt: acrn: obtain pa from VMA with PFNMAP flag
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: 88f537d5e8 ("virt: acrn: Introduce EPT mapping management")
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Signed-off-by: Fei Li <fei1.li@intel.com>
Link: https://lore.kernel.org/r/20220228022212.419406-1-yonghua.huang@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-03-18 13:49:56 +01:00
..
acrn virt: acrn: obtain pa from VMA with PFNMAP flag 2022-03-18 13:49:56 +01:00
nitro_enclaves Merge 5.16-rc8 into char-misc-next 2022-01-03 13:44:38 +01:00
vboxguest virt: vbox: Do not use wait_event_interruptible when called from kernel context 2021-01-27 14:37:02 +01:00
fsl_hypervisor.c virt: fsl_hypervisor: Directly return 0 instead of using local ret variable 2022-03-18 13:49:00 +01:00
Kconfig virt: acrn: Introduce ACRN HSM basic driver 2021-02-09 10:58:18 +01:00
Makefile virt: acrn: Introduce ACRN HSM basic driver 2021-02-09 10:58:18 +01:00