ANDROID: pkvm: vmx: Flush l1d for the guest in the pkvm hypervisor
The l1d flushing before entering the guest was done by the host if this
is required. As the host is untrusted, move the l1d flushing to the pkvm
hypervisor so that the flushing can be guaranteed. When a guest vcpu is
loaded by the host, mark its l1d flushing flag as true so that the l1d
contents can be flushed before this guest vcpu runs.
Bug: 420681877
Upstream-Task: 402758258
Change-Id: I7fda3d8d6dcae04d64f69cc7740f29dc321d7cf3
Signed-off-by:
Chuanxiao Dong <chuanxiao.dong@intel.com>
Loading
Please sign in to comment