Files
acrn-hypervisor/devicemodel/include
Junming Liu 89908bf510 dm:gvt:update gvt bars before other pci devices write bar address
The current design has the following problem:
uos kernel may update gvt bars' regions,
but ACRN-DM doesn't know this update.
ACRN-DM only know out-of-date gvt bar regions,
For simplicity, mark these bar regions as OOD bar regions.
uos kernel may allocate OOD bar regions for
other pci devices, which will result in ACRN-DM
bar regions inconsistency with uos kernel.

The new design is the following:
When other pci device update bar regions
(1) ACRN-DM updates gvt bars' regions
provided by a system file.
(2) ACRN-DM updates this pci device bar regions

v5 -> v6:
	* add more comments

v4 -> v5:
	* remove & for callback func assignment

v3 -> v4:
	* compare gpu bar address to avoid unnecessary
	* unregistered/registered operation

v2 -> v3:
	* call unregister_bar and register_bar when update gvt bars
	* update gvt reserved regions when update gvt bars

Tracked-On: projectacrn#4005

Signed-off-by: Junming Liu <junming.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
Reviewed-by: Liu XinYun <xinyun.liu@intel.com>
Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com>
2019-12-05 11:20:11 +08:00
..
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-11-30 14:55:17 +08:00
2019-10-11 13:20:19 +08:00
2019-05-24 11:51:00 +08:00
2018-05-16 15:09:48 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-10-09 13:24:47 +08:00
2018-05-11 14:44:28 +08:00
2018-12-07 20:21:33 +08:00
2019-05-07 09:08:50 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-06-07 16:11:49 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2018-10-09 13:24:47 +08:00
2018-05-25 10:45:24 +08:00
2019-05-24 11:51:00 +08:00
2018-05-11 14:44:28 +08:00
2018-05-11 14:44:28 +08:00
2019-01-23 10:33:28 +08:00
2018-11-29 09:19:16 +08:00
2019-03-21 10:28:17 +08:00
2019-06-20 11:21:51 +08:00
2018-12-27 09:58:20 +08:00
2018-05-11 14:44:28 +08:00
2019-10-11 13:20:19 +08:00