acrn-hypervisor/hypervisor/dm/vpci
Tao Yuhong 5ecca6b256 HV: vpci: check if address is in VM BAR MMIO space
When guest doing BAR re-programming, we should check whether
the base address of the BAR is valid.This patch does this check by:
1. whether the gpa is located in the responding MMIO window
2. whether the gpa is aligned with the BAR size

Tracked-On: #6011
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
Reviewed-by: Li Fei <fei1.li@intel.com>
2021-06-08 08:39:01 +08:00
..
ivshmem.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
pci_pt.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vdev.c HV: vpci: check if address is in VM BAR MMIO space 2021-06-08 08:39:01 +08:00
vhostbridge.c hv: some coding style fixes 2021-05-12 16:50:34 +08:00
vmcs9900.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vmsi.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vmsix.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vmsix_on_msi.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vpci.c HV: vpci: check if address is in VM BAR MMIO space 2021-06-08 08:39:01 +08:00
vpci_bridge.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vpci_priv.h hv: enable doorbell for hv-land ivshmem device 2020-10-26 08:44:13 +08:00
vroot_port.c hv: PTM: Create virtual root port 2021-05-19 13:54:24 +08:00
vsriov.c hv/mod_timer: separate delay functions from the timer module 2021-05-18 16:43:28 +08:00