acrn-hypervisor/hypervisor/arch/x86
Minggui Cao ac5da17e52 enable rdtscp instruction for guest OS all vCPUs
before just AP can run "rdtscp" intruction, if run it on BSP,
it will cause "illegal instruction"; now align BSP & AP.
also remove duplicated code.

Signed-off-by: Minggui Cao <minggui.cao@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
2018-05-15 17:25:55 +08:00
..
guest revise type of 'exit_reason' and 'inst_len' in vcpu_arch 2018-05-15 17:25:55 +08:00
assign.c ptdev: bug fix on operating list 2018-05-15 17:25:27 +08:00
cpu.c hv: xsave: remove is_xsave_supported 2018-05-15 17:25:55 +08:00
cpu_primary.S UEFI: change the efi_ctx passing method 2018-05-15 17:19:39 +08:00
cpu_secondary.S mmu:create temporary page tables for guest at run time 2018-05-15 17:25:26 +08:00
cpu_state_tbl.c HV: add px data of bxt j3455 SOC 2018-05-15 17:25:25 +08:00
cpuid.c hv: xsave: remove is_xsave_supported 2018-05-15 17:25:55 +08:00
ept.c rename vmexit handlers 2018-05-15 17:25:55 +08:00
gdt.c initial import 2018-05-11 14:44:28 +08:00
idt.S initial import 2018-05-11 14:44:28 +08:00
interrupt.c check validity of 'VM-exit Int-Info' before extracting vector 2018-05-15 17:25:55 +08:00
intr_lapic.c MMU: bug fix on operating va <=> pa convertion 2018-05-15 17:25:55 +08:00
intr_main.c uefi: init vlapic according to native lapic 2018-05-15 17:19:37 +08:00
io.c rename vmexit handlers 2018-05-15 17:25:55 +08:00
ioapic.c MMU: bug fix on operating va <=> pa convertion 2018-05-15 17:25:55 +08:00
irq.c cpu: change cpu_halt name to cpu_dead 2018-05-15 17:25:27 +08:00
mmu.c MMU: bug fix on operating va <=> pa convertion 2018-05-15 17:25:55 +08:00
notify.c initial import 2018-05-11 14:44:28 +08:00
retpoline-thunk.S retpoline: add indirect thunk support 2018-05-15 17:19:36 +08:00
softirq.c initial import 2018-05-11 14:44:28 +08:00
timer.c hv: lapic: export write_lapic_reg32 2018-05-15 17:19:38 +08:00
trusty.c hv: cache tsc_offset 2018-05-15 17:25:26 +08:00
vmexit.c enable rdtscp instruction for guest OS all vCPUs 2018-05-15 17:25:55 +08:00
vmx.c enable rdtscp instruction for guest OS all vCPUs 2018-05-15 17:25:55 +08:00
vmx_asm.S Jmp to vm_exit directly to avoid calling vmlaunch again if vm-entry fails in vmresume 2018-05-15 17:19:37 +08:00
vtd.c MMU: bug fix on operating va <=> pa convertion 2018-05-15 17:25:55 +08:00