acrn-hypervisor/hypervisor/arch/x86
Junjie Mao 88f74b5dbb HV: io: unify vhm_request req and mem_io in vcpu
The current struct vcpu has two members, namely 'struct vhm_request req' and
'struct mem_io mmio', that hold similar info, including the address, direction, size,
value and status of mmio reqeusts.

As a step towards a unified framework for both MMIO/PIO, this patch unifies
these two members by a tailored version of vhm_reqeust, mostly with the reserved
fields dropped. The definitions to request types, directions and process status
are reused.

Handling errors during emulations will be revisited after the I/O emulation
paths are unified. Thus for this patch the mmio.mmio_status in inherited by
io_req.processed which is not yet properly processed.

Signed-off-by: Junjie Mao <junjie.mao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-07-27 10:50:19 +08:00
..
configs HV: config: add Kconfig and defconfigs for sbl & uefi 2018-06-08 17:21:13 +08:00
debug HV: prototyping non-static function 2018-07-16 10:35:54 +08:00
guest HV: io: unify vhm_request req and mem_io in vcpu 2018-07-27 10:50:19 +08:00
assign.c fix assign.c interger violations 2018-07-23 10:31:57 +08:00
cpu_primary.S HV:treewide:Replace HOST_GDT_RING0_CODE/DATA_SEL with constant 2018-07-18 12:31:42 +08:00
cpu_state_tbl.c fix x86 dir integer violations 2018-07-25 15:29:34 +08:00
cpu.c fix x86 dir integer violations 2018-07-25 15:29:34 +08:00
cpuid.c HV:treewide:fix "Attempt to change parameter passed by value" 2018-07-26 09:35:52 +08:00
ept.c HV: io: unify vhm_request req and mem_io in vcpu 2018-07-27 10:50:19 +08:00
gdt.c fix x86 dir integer violations 2018-07-25 15:29:34 +08:00
idt.S hv: cpu: using struct cpu_gp_regs for general-purpose regs in inter_excp_ctx 2018-07-25 13:05:38 +08:00
io.c HV: io: unify vhm_request req and mem_io in vcpu 2018-07-27 10:50:19 +08:00
ioapic.c fix x86 dir integer violations 2018-07-25 15:29:34 +08:00
irq.c HV:treewide:fix "Attempt to change parameter passed by value" 2018-07-26 09:35:52 +08:00
Kconfig HV: build: make relocation-related code configurable 2018-07-11 19:18:26 +08:00
lapic.c fix x86 dir integer violations 2018-07-25 15:29:34 +08:00
mmu.c hv: mmu: reimplement mmu_add to add page table mapping 2018-07-26 12:46:34 +08:00
mtrr.c hv: mmu: minor fix about hv mmu && ept modify 2018-07-24 12:48:45 +08:00
notify.c HV: Fix new MISRAC violations for brackets 2018-07-16 11:02:38 +08:00
pagetable.c hv: ept: add lookup_address to lookup the page table 2018-07-26 12:46:34 +08:00
pm.c HV: pm: cleanup for misra integral type violations 2018-07-12 17:31:11 +08:00
retpoline-thunk.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
softirq.c HV: handle integral issue report by MISRA-C 2018-07-16 16:24:29 +08:00
timer.c fix x86 dir integer violations 2018-07-25 15:29:34 +08:00
trampoline.S HV:treewide:Replace HOST_GDT_RING0_CODE/DATA_SEL with constant 2018-07-18 12:31:42 +08:00
trusty2.c hv: mmu: replace the old mmu_del 2018-07-26 12:46:34 +08:00
trusty.c hv: mmu: replace the old mmu_del 2018-07-26 12:46:34 +08:00
virq.c fix x86 dir integer violations 2018-07-25 15:29:34 +08:00
vmexit.c hv: add a missing semicolon in vmexit.c 2018-07-25 15:39:08 +08:00
vmx_asm.S hv: cpu: align general-purpose register layout with vmx 2018-07-25 13:05:38 +08:00
vmx.c fix x86 dir integer violations 2018-07-25 15:29:34 +08:00
vtd.c HV:treewide:Fixing pointer castings 2018-07-24 10:56:24 +08:00
wakeup.S hv: cpu: align general-purpose register layout with vmx 2018-07-25 13:05:38 +08:00