acrn-hypervisor/hypervisor/arch/x86
Zide Chen bf1aa5c134 hv: destroy IOMMU domain after vpci_cleanup()
In partition mode, unassign_iommu_device() is called from vpci_cleanup(),
so when shutdown_vm() is called, unassign_iommu_device() could fail because
of "domain id mismatch" and DMAR is not cleared.

Also move destroy_ept() after the call to destroy_iommu_domain().

Tracked-On: #2700
Signed-off-by: Zide Chen <zide.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-03-08 13:20:11 +08:00
..
boot function name change in init.c 2018-12-19 09:07:14 +08:00
configs HV: Fix modularization vm config code lost CAT code 2019-03-08 12:38:48 +08:00
guest hv: destroy IOMMU domain after vpci_cleanup() 2019-03-08 13:20:11 +08:00
cat.c HV: CAT: support config CAT from acrn_vm_config 2019-02-28 11:22:29 +08:00
cpu_caps.c hv:cleanup header file for per_cpu.h 2019-02-21 10:38:30 +08:00
cpu_state_tbl.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
cpu.c hv:move forward the initialization for iommu & ptdev 2019-03-02 07:10:12 +08:00
e820.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
gdt.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
idt.S move idt.S and idt.h out of boot component 2018-12-12 09:07:43 +08:00
init.c hv:move forward the initialization for iommu & ptdev 2019-03-02 07:10:12 +08:00
ioapic.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
irq.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
Kconfig HV: correct COM_IRQ default config type 2019-03-07 17:52:56 +08:00
lapic.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
mmu.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
notify.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
page.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
pagetable.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
pm.c hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
retpoline-thunk.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
sched.S replace arch_switch_to with pure asm code instead of inline asm 2019-01-25 11:39:47 +08:00
security.c hv: coding style: refine cpu related function to one exit 2018-12-21 13:34:01 +08:00
static_checks.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
timer.c hv:move several tsc APIs to timer.c 2019-03-07 20:23:22 +08:00
trampoline.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
vmx.c hv:cleanup header files for arch folder 2019-02-22 13:14:36 +08:00
vtd.c hv: Remove redundant get_dmar_info API calls 2019-03-02 07:10:25 +08:00
wakeup.S HV: modularization to refine pm related code. 2018-12-19 13:02:09 +08:00