acrn-hypervisor/hypervisor/include/dm
Li Fei1 5f5ba1d647 hv: vmsi: refine write_vmsi_cfg implementation
1. disable physical MSI before writing the virtual MSI CFG space
2. do the remap_vmsi if the guest wants to enable MSI or update MSI address or data
3. disable INTx and enable MSI after step 2.

The previous Message Control check depends on the guest write MSI Message Control
Register at the offset of Message Control Register. However, the guest could access
this register at the offset of MSI Capability ID register. This patch remove this
constraint. Also, The previous implementation didn't really disable MSI when guest
wanted to disable MSI.

Tracked-On: #3475
Signed-off-by: Li Fei1 <fei1.li@intel.com>
2019-12-05 16:43:22 +08:00
..
io_req.h hv: io: add unregister_mmio_emulation_handler API 2019-10-29 14:49:55 +08:00
vacpi.h hv:tiny cleanup 2019-09-05 09:58:47 +08:00
vioapic.h HV: Clean vpic and vioapic logic when lapic is pt 2019-06-12 14:29:50 +08:00
vpci.h hv: vmsi: refine write_vmsi_cfg implementation 2019-12-05 16:43:22 +08:00
vpic.h HV:Modularize vpic code to remove usage of acrn_vm 2019-06-13 09:54:52 +08:00
vuart.h hv: rename vuart operations 2019-11-08 09:01:01 +08:00