mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-19 08:42:22 +00:00
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> |
||
---|---|---|
.. | ||
virtio | ||
ahci.c | ||
core.c | ||
gsi_sharing.c | ||
gvt.c | ||
hostbridge.c | ||
irq.c | ||
lpc.c | ||
npk.c | ||
passthrough.c | ||
platform_gsi_info.c | ||
uart.c | ||
wdt_i6300esb.c | ||
xhci.c |