acrn-hypervisor/arch/x86
Victor Sun d0b7c172d4 HV: trap and validate px request
Currently acrn partitions cpus between SOS and UOS, so the default
policy is to allow guest managing CPU px state. However we would
not blindly passthrough perf_ctrl MSR to guest. Instead guest access
is always trapped and validated by acrn hypervisor before forwarding
to pcpu. Doing so leaves room for future power budget control in
hypervisor, e.g. limiting turbo percentage that a cpu can enter.

Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
2018-04-08 16:54:42 +08:00
..
guest HV: trap and validate px request 2018-04-08 16:54:42 +08:00
assign.c ptdev: fix ptdev_hv_owned_intx under release version 2018-03-28 16:05:51 +08:00
cpu_primary.S UEFI: change the efi_ctx passing method 2018-03-30 19:48:46 +08:00
cpu_secondary.S initial import 2018-03-07 21:05:38 +08:00
cpu_state_tbl.c HV: trap and validate px request 2018-04-08 16:54:42 +08:00
cpu.c HV: load cpu px data in boot 2018-04-08 16:54:42 +08:00
cpuid.c hv: pass-through xsave feature to guests 2018-04-03 17:50:27 +08:00
ept.c hv:add destroy Secure world API 2018-04-06 12:32:44 +08:00
gdt.c initial import 2018-03-07 21:05:38 +08:00
idt.S initial import 2018-03-07 21:05:38 +08:00
interrupt.c mmu: refine functions for invept 2018-04-08 16:50:02 +08:00
intr_lapic.c hv: lapic: export write_lapic_reg32 2018-03-28 10:46:32 +08:00
intr_main.c uefi: init vlapic according to native lapic 2018-03-21 12:14:01 +08:00
io.c io: remove pio emulation restriction 2018-03-29 14:54:23 +08:00
ioapic.c initial import 2018-03-07 21:05:38 +08:00
irq.c uefi: remove old interrupt injection method 2018-03-21 12:14:01 +08:00
mmu.c mmu: refine functions for invept 2018-04-08 16:50:02 +08:00
notify.c initial import 2018-03-07 21:05:38 +08:00
retpoline-thunk.S retpoline: add indirect thunk support 2018-03-15 16:25:53 +08:00
softirq.c initial import 2018-03-07 21:05:38 +08:00
timer.c hv: lapic: export write_lapic_reg32 2018-03-28 10:46:32 +08:00
trusty.c mmu: refine functions for invept 2018-04-08 16:50:02 +08:00
vmexit.c hv: pass-through xsave feature to guests 2018-04-03 17:50:27 +08:00
vmx_asm.S Jmp to vm_exit directly to avoid calling vmlaunch again if vm-entry fails in vmresume 2018-03-20 14:36:41 +08:00
vmx.c enable TSC-offset & add TSC MSR emulation 2018-04-04 10:23:03 +08:00
vtd.c replace malloc and memset with calloc 2018-04-06 12:34:26 +08:00