acrn-hypervisor/hypervisor/include/arch/x86
Binbin Wu f0d06165d3 hv: vmsr: handle guest msr ia32_misc_enable read/write
Guest MSR_IA32_MISC_ENABLE read simply returns the value set by guest.
Guest MSR_IA32_MISC_ENABLE write:
- Clear EFER.NXE if MSR_IA32_MISC_ENABLE_XD_DISABLE set.
- MSR_IA32_MISC_ENABLE_MONITOR_ENA:
  Allow guest to control this feature when HV doesn't use this feature and hw has no bug.

vcpuid update according to the change of the msr will be covered in following patch.

Tracked-On: #2834
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-05-09 16:35:15 +08:00
..
boot hv:Move severl variable declaration for boot code 2019-01-25 21:32:21 +08:00
guest vm_state: Update vm state VM_STATE_INVALID to VM_POWERED_OFF 2019-05-08 16:58:41 +08:00
apicreg.h hv: Use Interrupt Remapping format for programming interrupt sources 2019-02-01 15:54:55 +08:00
board.h hv: remove CONFIG_PARTITION_MODE for pre-launched VM vE820 creation 2019-03-19 14:28:43 +08:00
cat.h HV: CAT: support config CAT from acrn_vm_config 2019-02-28 11:22:29 +08:00
cpu_caps.h hv: vmsr: handle guest msr ia32_misc_enable read/write 2019-05-09 16:35:15 +08:00
cpu.h hv:remove some unnecessary includes 2019-05-07 09:10:13 +08:00
cpufeatures.h HV: CAT: capability enumaration 2019-02-28 11:22:29 +08:00
cpuid.h hv: disable mpx capability for guest 2019-03-20 13:07:31 +08:00
default_acpi_info.h HV: refine location of platform_acpi_info header 2019-03-08 10:34:14 +08:00
e820.h hv: remove CONFIG_PARTITION_MODE for pre-launched VM vE820 creation 2019-03-19 14:28:43 +08:00
gdt.h hv: coding style: remove no real declaration for external variable 2018-12-20 20:20:08 +08:00
host_pm.h HV: enable acpi pm1a register info fixup 2019-05-07 11:39:51 +08:00
idt.h hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
init.h HV: Add prefix 'p' before 'cpu' to physical cpu related functions 2019-04-24 10:50:28 +08:00
io.h hv:modulization for IO Emulation 2019-01-21 13:49:54 +08:00
ioapic.h hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
irq.h hv: rename 'interrupt_init' to 'init_interrupt' 2019-05-06 16:58:27 +08:00
lapic.h HV: Remove the check pcpu active status when sending INIT 2019-04-04 00:27:55 +08:00
mmu.h HV: Add prefix 'p' before 'cpu' to physical cpu related functions 2019-04-24 10:50:28 +08:00
msr.h hv: msr: use UL since ia32_misc_enable is 64bit 2019-05-09 16:35:15 +08:00
multiboot.h restruct boot and bsp dir for firmware stuff 2019-05-09 16:33:44 +08:00
page.h hv: add support of EPT mapping of high MMIO 2019-02-28 18:33:11 +08:00
per_cpu.h HV: Add prefix 'p' before 'cpu' to physical cpu related functions 2019-04-24 10:50:28 +08:00
pgtable.h hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
security.h Make ibrs_type as internal variable 2018-12-19 09:07:14 +08:00
seed.h hv: seed: refine header file 2019-03-15 14:09:56 +08:00
timer.h hv:move 'udelay' to timer.c 2019-03-22 08:38:13 +08:00
trampoline.h hv:Move severl variable declaration for boot code 2019-01-25 21:32:21 +08:00
vm_config.h HV: rename structure acrn_vm_type 2019-05-05 11:50:36 +08:00
vmx.h hv: allocate vpid based on vm_id and vcpu_id mapping 2019-04-22 19:57:28 +08:00
vtd.h hv: Remove need for init_fallback_iommu_domain and fallback_iommu_domain 2019-04-17 11:42:36 +08:00
zeropage.h hv:remove common header files 2019-05-07 09:10:13 +08:00