acrn-hypervisor/hypervisor/arch/x86
Shuo A Liu dadcdcefa0 hv: sched: support vcpu context switch on one pcpu
To support cpu sharing, multiple vcpu can run on same pcpu. We need do
necessary vcpu context switch. This patch add below actions in context
switch.
  1) fxsave/fxrstor;
  2) save/restore MSRs: MSR_IA32_STAR, MSR_IA32_LSTAR,
	MSR_IA32_FMASK, MSR_IA32_KERNEL_GS_BASE;
  3) switch vmcs.

Tracked-On: #3813
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Signed-off-by: Yu Wang <yu1.wang@intel.com>
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-10-23 12:47:08 +08:00
..
boot hv:remove some unnecessary includes 2019-05-07 09:10:13 +08:00
configs hv: pci: update function "bdf_is_equal" 2019-09-25 13:45:39 +08:00
guest hv: sched: support vcpu context switch on one pcpu 2019-10-23 12:47:08 +08:00
lib hv: move 3 files to lib & arch folder 2019-06-14 14:22:51 +08:00
seed HV: fix violations touched type conversion 2019-07-11 09:16:09 +08:00
cat.c Fix the first problem: CPUID(EAX = 10H, ECX = ResID=1 or 2).EAX Bits 04 - 00: Length of the capacity bit mask for the corresponding ResID using minus-one notation 2019-09-19 08:44:45 +08:00
cpu_caps.c hv:fixed compilation error in Ubuntu 2019-09-26 14:03:51 +08:00
cpu_state_tbl.c HV: add board specific cpu state table to support Px Cx 2019-07-29 20:25:16 +08:00
cpu.c hv:check pcpu numbers during init_pcpu_pre 2019-09-24 09:02:05 +08:00
e820.c hv: cleanup some hva/hpa conversion code 2019-03-15 09:03:14 +08:00
gdt.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
idt.S move idt.S and idt.h out of boot component 2018-12-12 09:07:43 +08:00
init.c hv:remove some unnecessary includes 2019-10-15 14:40:39 +08:00
ioapic.c HV: fix violations touched type conversion 2019-07-11 09:16:09 +08:00
irq.c hv: fix Violations touched ACRN Coding Guidelines 2019-08-15 09:47:11 +08:00
Kconfig hv: support minimum set of TLFS 2019-10-22 10:09:16 +08:00
lapic.c hv: fix some potential array overflow risk 2019-07-12 09:41:15 +08:00
mmu.c hv:change function parameter for invept 2019-09-05 16:32:30 +08:00
notify.c hv: fix some potential array overflow risk 2019-07-12 09:41:15 +08:00
page.c hv: ept: flush cache for modified ept entries 2019-08-26 10:47:17 +08:00
pagetable.c hv: mmu: remove strict check for deleting page table mapping 2019-09-10 15:28:07 +08:00
pm.c hv: save/restore TSC in host's suspend/resume path 2019-09-19 13:50:50 +08:00
sched.S hv: sched: rename schedule related structs and vars 2019-10-16 10:25:53 +08:00
security.c HV: check security mitigation support for SSBD 2019-07-10 10:55:34 +08:00
sgx.c hv: sgx: add basic support to init sgx resource for vm 2019-05-29 11:24:13 +08:00
timer.c softirq: disable interrupt when modify timer_list 2019-08-01 15:45:02 +08:00
trampoline.c hv: delay enabling SMEP/SMAP until the end of PCPU initialization 2019-06-10 11:35:15 +08:00
vmx.c hv:fix "no prototype for non-static function" 2019-07-09 10:36:03 +08:00
vtd.c hv: pci: update "union pci_bdf" 2019-09-25 13:45:39 +08:00
wakeup.S hv: pm: correct the function name 2019-09-11 17:30:24 +08:00