acrn-hypervisor/devicemodel/hw
Junming Liu 1b3754aaee dm:passthrough opregion to uos gpu
uos IGD driver need opregion when enable GVT-d.

This patch pass-thru opregion to uos gpu.
Here is the steps:
(1) set opregion gpa(guest physical addrress) 0xDFFFD000;
(2) get opregion hpa(host physical addrress);
(3) build EPT mapping for opregion.

v1 -> v2:
        * initialize the EPT mapping for passthrough GPU opregion region
        in passthru_init instead of reading the ASLS config space

v2 -> v3:
        * add EPT unmap when deinit
        * change some micro name

Tracked-On: #4360

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>
Reviewed-by: Wu Binbin <binbin.wu@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com>
2020-01-17 09:23:13 +08:00
..
pci dm:passthrough opregion to uos gpu 2020-01-17 09:23:13 +08:00
platform dm:use acrn-dm logger function instread of fprintf 2019-11-14 15:34:04 +08:00
block_if.c dm:replace perror with pr_err 2020-01-08 13:37:57 +08:00
uart_core.c dm: refine assert usage 2019-06-24 11:57:05 +08:00
usb_core.c DM USB: modify disconnecting logic to support Windows 10 2019-09-26 11:29:22 +08:00