Commit 80f0885a authored by Chuanxiao Dong's avatar Chuanxiao Dong Committed by Grzegorz Jaszczyk
Browse files

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: default avatarChuanxiao Dong <chuanxiao.dong@intel.com>
parent 81502875
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment