acrn-hypervisor/devicemodel/hw/pci
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
..
virtio dm:replace perror with pr_err 2020-01-08 13:37:57 +08:00
ahci.c dm: refine the check of return value of snprintf 2019-10-15 13:53:58 +08:00
core.c dm:keep pci bar property unchanged when updating pci bar address 2020-01-13 16:47:25 +08:00
gsi_sharing.c dm: reduce potential crash caused by LIST_FOREACH 2019-10-15 14:37:39 +08:00
gvt.c dm:replace perror with pr_err 2020-01-08 13:37:57 +08:00
hostbridge.c DM: cleanup for header inclusions 2018-06-07 14:35:30 +08:00
irq.c dm: refine 'assert' usage in irq.c and wdt_i6300esb.c 2019-06-20 08:55:44 +08:00
lpc.c dm:use acrn-dm logger function instread of fprintf 2019-11-14 15:34:04 +08:00
npk.c dm: modify DIR handler reference postion 2019-10-16 10:26:23 +08:00
passthrough.c dm:passthrough opregion to uos gpu 2020-01-17 09:23:13 +08:00
platform_gsi_info.c DM: update GSI sharing info 2018-08-09 15:42:51 +08:00
uart.c dm:use acrn-dm logger function instread of fprintf 2019-11-14 15:34:04 +08:00
wdt_i6300esb.c dm:replace perror with pr_err 2020-01-08 13:37:57 +08:00
xhci.c dm: fix memory free issue for xhci 2019-11-27 10:22:27 +08:00