Commit 3fb42535 authored by Chuanxiao Dong's avatar Chuanxiao Dong Committed by Grzegorz Jaszczyk
Browse files

ANDROID: x86/pkvm: Use hypercall to access the pci mmcfg



Overwrite the pci mmcfg accessing callbacks in the MMIO pv ops to use
hypercall to access the pci mmcfg rather than "mov" instruction to avoid
decoding instruction in the pkvm hypervisor.

Bug: 391539939
Bug: 353950489
BUG: 399581144
Test: Microdroid works as a protected VM
Upstream-Task: 402758258

Change-Id: I5c5bc5585126629b9113901cc12474bcad14904b
Signed-off-by: default avatarChuanxiao Dong <chuanxiao.dong@intel.com>
Signed-off-by: default avatarGrzegorz Jaszczyk <jaszczyk@google.com>
parent e8ff3bef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment