acrn-hypervisor/hypervisor/include/arch/x86
Shuo A Liu 952943c3ea hv: decouple IO completion polling from idle thread
IO completion polling will access vcpu and vm structs. If doing it in
idle thread, there might be some race issues between vm destroying and
idle thread. They are running on different cores.
Got suggestion from Fengwei, decouple the polling action from idle
thread and just do it in vcpu thread, then we can guarantee idle thread
in really idle status.

Tracked-On: #1821
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
2018-12-27 12:35:40 +08:00
..
boot move idt.S and idt.h out of boot component 2018-12-12 09:07:43 +08:00
guest hv: coding style: refine the remaining functions to one exit point 2018-12-21 19:39:56 +08:00
abl_seed_parse.h HV:treewide:rename vm data structure 2018-11-05 15:35:49 +08:00
apicreg.h hv: replace CPU_PAGE_SIZE with PAGE_SIZE 2018-12-03 15:14:57 +08:00
assign.h hv: assign: change ptirq vpin source type from enum to macro 2018-12-20 13:43:47 +08:00
cpu_caps.h move security related funcs into security.c 2018-12-19 09:07:14 +08:00
cpu.h hv: use asm_pause() to replace inline ASM to satisfy MISRAC 2018-12-27 12:35:40 +08:00
cpufeatures.h hv: add fast string enhanced rep movsb/stosb check on initial 2018-12-18 16:30:27 +08:00
cpuid.h hv: vcpuid: cpuid leaf 07h has subleaf 2018-12-27 09:05:12 +08:00
e820.h hv: coding style: refine page related 2018-12-20 15:44:08 +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: modularization to refine pm related code. 2018-12-19 13:02:09 +08:00
hv_arch.h scheduler: refine runqueue related functions 2018-12-21 10:34:15 +08:00
idt.h hv: irq: fix MISRA-C violations in irq.c and idt.h 2018-12-20 09:09:31 +08:00
init.h function name change in init.c 2018-12-19 09:07:14 +08:00
io.h hv: mmio_read: add const qualifier 2018-12-26 10:57:41 +08:00
ioapic.h Patch for modularising ioapic.[c/h] and related files. 2018-12-21 09:58:25 +08:00
ioreq.h hv: decouple IO completion polling from idle thread 2018-12-27 12:35:40 +08:00
irq.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
lapic.h doc: hv: add comments to irq APIs for documentation 2018-11-02 15:34:36 -07:00
mmu.h HV: [v2] bugfix in 'hv_access_memory_region_update()' 2018-12-25 22:06:02 +08:00
msr.h hv: add fast string enhanced rep movsb/stosb check on initial 2018-12-18 16:30:27 +08:00
multiboot.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
page.h hv: coding style: refine page related 2018-12-20 15:44:08 +08:00
per_cpu.h move security related funcs into security.c 2018-12-19 09:07:14 +08:00
pgtable.h doc: replace return with retval 2018-11-30 14:55:17 +08:00
sbl_seed_parse.h HV:treewide:rename vm data structure 2018-11-05 15:35:49 +08:00
security.h Make ibrs_type as internal variable 2018-12-19 09:07:14 +08:00
timer.h remove check_tsc 2018-12-17 14:31:52 +08:00
trampoline.h hv: update coding style for tampoline.c 2018-12-25 13:25:14 +08:00
trusty.h hv: coding style: refine initialize_trusty to one exit 2018-12-20 21:53:51 +08:00
vmcs.h modulization: move functions related with cpu caps into cpu_caps.c 2018-12-19 09:07:14 +08:00
vmexit.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
vmx.h modulization: vmx on/off should not use vcpu param 2018-12-18 10:00:56 +08:00
vtd.h hv: Write Buffer Flush - VT-d 2018-12-24 22:18:30 +08:00
zeropage.h hv: minimize the case of "identifier reuse" 2018-12-07 15:21:39 +08:00