acrn-hypervisor/hypervisor/dm
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
..
vpci HV: vpci: check if address is in VM BAR MMIO space 2021-06-08 08:39:01 +08:00
io_req.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
mmio_dev.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vgpio.c hv: paging: rename ppt_set/clear_ATTR to set_paging_ATTR 2021-05-14 09:18:00 +08:00
vioapic.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vpic.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vrtc.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
vuart.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00