acrn-hypervisor/hypervisor/arch/x86
Zide Chen 865ee2956e hv: emulate ACPI reset register for Service OS guest
Handle the PIO reset register that is defined in host ACPI:

Parse host FADT table to get the host reset register info, and emulate
it for Service OS:

- return all '1' for guest reads because the read behavior is not defined
  in ACPI.
- ignore guest writes with the reset value to stop it from resetting host;
  if guest writes other values, passthru it to hardware in case the reset
  register supports other functionalities.

Tracked-On: #2700
Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com>
Signed-off-by: Zide Chen <zide.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-05-15 11:20:12 +08:00
..
boot hv:remove some unnecessary includes 2019-05-07 09:10:13 +08:00
configs hv: emulate ACPI reset register for Service OS guest 2019-05-15 11:20:12 +08:00
guest hv: emulate ACPI reset register for Service OS guest 2019-05-15 11:20:12 +08:00
lib hv:move several files related X86 for lib 2019-05-13 10:12:20 +08:00
seed hv:remove some unnecessary includes 2019-05-07 09:10:13 +08:00
Kconfig HV: enable Kconfig of ACPI_PARSE_ENABLED 2019-05-14 11:53:02 +08:00
cat.c hv:remove some unnecessary includes 2019-05-07 09:10:13 +08:00
cpu.c hv: refine 'init_percpu_lapic_id' 2019-05-10 14:51:29 +08:00
cpu_caps.c hv: vmsr: handle guest msr ia32_misc_enable read/write 2019-05-09 16:35:15 +08:00
cpu_state_tbl.c HV: Add prefix 'p' before 'cpu' to physical cpu related functions 2019-04-24 10:50:28 +08:00
e820.c
gdt.c
idt.S
init.c rename function & definition from firmware to guest boot 2019-05-09 16:33:44 +08:00
ioapic.c
irq.c rename function & definition from firmware to guest boot 2019-05-09 16:33:44 +08:00
lapic.c HV: Add prefix 'p' before 'cpu' to physical cpu related functions 2019-04-24 10:50:28 +08:00
mmu.c HV: enable Kconfig of ACPI_PARSE_ENABLED 2019-05-14 11:53:02 +08:00
notify.c HV: Add prefix 'p' before 'cpu' to physical cpu related functions 2019-04-24 10:50:28 +08:00
page.c
pagetable.c
pm.c HV: remove some redundant includes 2019-05-08 16:57:46 +08:00
retpoline-thunk.S
sched.S
security.c HV: Add prefix 'p' before 'cpu' to physical cpu related functions 2019-04-24 10:50:28 +08:00
timer.c HV: Add prefix 'p' before 'cpu' to physical cpu related functions 2019-04-24 10:50:28 +08:00
trampoline.c rename function & definition from firmware to guest boot 2019-05-09 16:33:44 +08:00
vmx.c
vtd.c
wakeup.S hv:remove some unnecessary includes 2019-05-07 09:10:13 +08:00