acrn-hypervisor/hypervisor/include/arch/x86
Yin Fengwei f039d75998 hv: pm: enhencement platform S5 entering operation
Now, we have assumption that SOS control whether the platform
should enter S5 or not. So when SOS tries enter S5, we just
forward the S5 request to native port which make sure platform
S5 is totally aligned with SOS S5.

With higher serverity guest introduced,this assumption is not
true any more. We need to extend the platform S5 process to
handle higher severity guest:
  - For DM launched RTVM, we need to make sure these guests
    is off before put the whole platfrom to S5.

  - For pre-launched VM, there are two cases:
    * if os running in it support S5, we wait for guests off.
    * if os running in it doesn't support S5, we expect it
      will invoke one hypercall to notify HV to shutdown it.
      NOTE: this case is not supported yet. Will add it in the
      future.

Tracked-On: #3564
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Reviewed-by: Li, Fei1 <fei1.li@intel.com>
2019-09-11 17:30:24 +08:00
..
boot hv:Move severl variable declaration for boot code 2019-01-25 21:32:21 +08:00
guest hv:add volatile keyword for some variables 2019-09-10 11:26:35 +08:00
lib hv: atomic: remove atomic load/store and set/clear 2019-07-17 09:20:54 +08:00
apicreg.h HV: fix violations touched type conversion 2019-07-11 09:16:09 +08:00
board.h HV: add board specific cpu state table to support Px Cx 2019-07-29 20:25:16 +08:00
cat.h hv: cat: isolate hypervisor from rtvm 2019-09-05 09:59:13 +08:00
cpu_caps.h hv: add "invariant TSC" cap detection 2019-09-05 09:58:16 +08:00
cpu.h hv: cat: isolate hypervisor from rtvm 2019-09-05 09:59:13 +08:00
cpufeatures.h hv: add "invariant TSC" cap detection 2019-09-05 09:58:16 +08:00
cpuid.h hv: add "invariant TSC" cap detection 2019-09-05 09:58:16 +08:00
default_acpi_info.h hv: emulate ACPI reset register for Service OS guest 2019-05-15 11:20:12 +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: pm: enhencement platform S5 entering operation 2019-09-11 17:30:24 +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: Avoid run-time buffer overflows with IOAPIC data structures 2019-06-24 11:41:10 +08:00
irq.h hv: remove unnecessary cancel_event_injection related stuff 2019-07-09 09:23:12 +08:00
lapic.h doc: remove hard-coded interfaces in .rst files 2019-05-22 12:40:52 -07:00
mmu.h hv:change function parameter for invept 2019-09-05 16:32:30 +08:00
msr.h hv: cleanup vmcs.h 2019-08-22 14:13:15 +08:00
multiboot.h hv:tiny cleanup 2019-09-05 09:58:47 +08:00
page.h hv: ept: flush cache for modified ept entries 2019-08-26 10:47:17 +08:00
pci_dev.h hv: vpci: add emulated PCI device configure for SOS 2019-08-09 14:19:49 +08:00
per_cpu.h hv: fix Violations touched ACRN Coding Guidelines 2019-08-15 09:47:11 +08:00
pgtable.h hv:change function parameter for invept 2019-09-05 16:32:30 +08:00
security.h hv:tiny cleanup 2019-09-05 09:58:47 +08:00
seed.h hv: seed: refine header file 2019-03-15 14:09:56 +08:00
sgx.h hv: sgx: add basic support to init sgx resource for vm 2019-05-29 11:24:13 +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: remove mptable code for pre-launched VMs 2019-08-29 10:12:25 +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: vtd: export iommu_flush_cache 2019-08-26 10:47:17 +08:00
zeropage.h hv:remove common header files 2019-05-07 09:10:13 +08:00