Li, Fei1
74e2bfc15f
Simple get_vmx_cap()
...
Don't check MSR Control Features in get_vmx_cap
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
2018-05-15 17:19:36 +08:00
Li, Fei1
cc2256d3f6
Call monitor_cap_detect in bsp_boot_init
...
On the APL NUC board (CPU family: 0x6 model: 92), the monitor is buggy.
We can't use it to wake up CPU core from mwait by memory monitor.
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
2018-05-15 17:19:36 +08:00
Mingqiang Chi
cc1d532131
add data structure in vm for enable trusty feature
...
add key info structure
add sworld_eptp in vm structure, and rename ept->nworld_eptp
add secure world control structure
Change-Id:
Tracked-On:220921
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
2018-05-15 17:19:36 +08:00
Jason Chen CJ
d14a7dbdd2
retpoline: add indirect thunk support
...
for gcc version > 7.3, enable CONFIG_RETPOLINE
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
2018-05-15 17:19:36 +08:00
Jason Chen CJ
c244e8b5a3
vpic: use calloc to init vpic instead of malloc
...
vpic struct should be init as 0
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
2018-05-15 17:19:36 +08:00
Jason Chen CJ
eed8104f69
uefi: restore cr registers according to efi context
...
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
2018-05-15 17:19:36 +08:00
Yin Fengwei
189329e0de
apicv: cancel event injection if vcpu is scheduled out
...
And re-inject the event after vcpu is scheduled in.
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
2018-05-15 17:19:36 +08:00
Jason Chen CJ
2cb8ce50c1
decouple hv sw version and api version
...
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
2018-05-11 14:44:29 +08:00
Eddie Dong
7a3a539b17
initial import
...
internal commit: 14ac2bc2299032fa6714d1fefa7cf0987b3e3085
Signed-off-by: Eddie Dong <eddie.dong@intel.com>
2018-05-11 14:44:28 +08:00