acrn-hypervisor/hypervisor/common
Jason Chen CJ 15030f6f2c io_emul: reshuffle io emulation path
This is the following patch after removing pending_pre_work, it make sure
all io emulation is done on its own cpu.

For hv emulated request, it follows the steps:
	hv_emulate_pio->emulate_pio_complete
	hv_emulate_mmio->emulate_mmio_complete

For dm emulated request, it follows the steps:
	acrn_insert_request->dm_emulate_io_complete
while in acrn_insert_request, it could trigger scheduling out then resume by
hcall_notify_ioreq_finish, or busy wait for ioreq completion if polling mode
is enabled.

Tracked-On: #2394
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Xu, Anthony <anthony.xu@intel.com>
2019-01-23 16:21:17 +08:00
..
hv_main.c io_emul: remove pending_pre_work 2019-01-23 16:21:17 +08:00
hypercall.c io_emul: reshuffle io emulation path 2019-01-23 16:21:17 +08:00
io_req.c io_emul: reshuffle io emulation path 2019-01-23 16:21:17 +08:00
ptdev.c HV: rename the term of vm0 to sos vm 2019-01-21 18:03:31 +08:00
schedule.c schedule: add full context switch support 2019-01-23 16:21:17 +08:00
softirq.c hv: remove the theoretic infinite loop 2018-12-05 13:17:38 +08:00
stack_protector.c HV:common:fix "expression is not Boolean" 2018-06-20 14:19:47 +08:00
static_checks.c hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
trusty_hypercall.c hv: tursty_hypercall: fix "Procedure has more than one exit point" 2018-12-27 09:04:32 +08:00
vm_load.c HV: rename the term of vm0 to sos vm 2019-01-21 18:03:31 +08:00