acrn-hypervisor/hypervisor/include
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
..
arch/x86/asm hv: nested: Introduce L2 VM EPT VIOLATION handler 2021-06-04 13:53:47 +08:00
common hv/mod_timer: refine timer interface 2021-05-18 16:43:28 +08:00
debug hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
dm HV: vpci: check if address is in VM BAR MMIO space 2021-06-08 08:39:01 +08:00
hw hv: ensure PTM root is always enabled in hw 2021-05-27 09:00:50 +08:00
lib hv: bugfix in min() and max() MACROs 2021-04-23 09:58:21 +08:00
public hv: hypercall: 72 reserved bytes are used in struct hc_platform_info to pass physical APIC and cat IDs shift to DM 2021-05-26 11:23:06 +08:00