acrn-hypervisor/hypervisor/include/arch/x86
Victor Sun 7647517a15 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-05-15 17:25:25 +08:00
..
guest HV: setup px info when create vm 2018-05-15 17:25:25 +08:00
apicreg.h Fix compiler warnings when building for UEFI 2018-05-15 17:19:38 +08:00
assign.h ptdev: refine the functions name & code position 2018-05-15 17:19:38 +08:00
cpu_state_tbl.h HV: trap and validate px request 2018-05-15 17:25:25 +08:00
cpu.h HV: load cpu px data in boot 2018-05-15 17:25:25 +08:00
cpuid.h HV: add cpu model name 2018-05-15 17:25:25 +08:00
gdt.h initial import 2018-05-11 14:44:28 +08:00
hv_arch.h HV: setup px info when create vm 2018-05-15 17:25:25 +08:00
idt.h initial import 2018-05-11 14:44:28 +08:00
intr_ctx.h initial import 2018-05-11 14:44:28 +08:00
io.h initial import 2018-05-11 14:44:28 +08:00
ioapic.h initial import 2018-05-11 14:44:28 +08:00
irq.h uefi: remove old interrupt injection method 2018-05-15 17:19:37 +08:00
lapic.h hv: lapic: export write_lapic_reg32 2018-05-15 17:19:38 +08:00
mmu.h mmu: refine functions for invept 2018-05-15 17:25:25 +08:00
msr.h initial import 2018-05-11 14:44:28 +08:00
multiboot.h UEFI: change the efi_ctx passing method 2018-05-15 17:19:39 +08:00
softirq.h initial import 2018-05-11 14:44:28 +08:00
timer.h initial import 2018-05-11 14:44:28 +08:00
trusty.h hv:add destroy Secure world API 2018-05-15 17:25:24 +08:00
vmexit.h initial import 2018-05-11 14:44:28 +08:00
vmx.h hv: pass-through xsave feature to guests 2018-05-15 17:25:23 +08:00
vtd.h initial import 2018-05-11 14:44:28 +08:00
zeropage.h vm load: fix bug in loading kernel 2018-05-15 17:19:37 +08:00