Commit 6a1a3089 authored by Yi-De Wu's avatar Yi-De Wu Committed by Todd Kjos
Browse files

ANDROID: virt: geniezone: Refactoring memory region support



- Consolidate address translation functions to gzvm_mmu.c.
- To improve performance (especially for booting) we allocate memory
  pages in advance for protected VM. When the virtual machine monitor
  (e.g., crosvm) sets the virtual machine as protected via
  enable_cap ioctl, we allocate full memory pages in advance for the VM.

Change-Id: Ifee061e55e8cfa0e46d2b6dd4b84388a875580cb
Signed-off-by: default avatarJerry Wang <ze-yu.wang@mediatek.com>
Signed-off-by: default avatarYingshiuan Pan <yingshiuan.pan@mediatek.com>
Signed-off-by: default avatarLiju-Clr Chen <liju-clr.chen@mediatek.com>
Signed-off-by: default avatarYi-De Wu <yi-de.wu@mediatek.com>
Bug: 301179926
Link: https://lore.kernel.org/all/20230919111210.19615-12-yi-de.wu@mediatek.com/
parent 9f64b18d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment