acrn-hypervisor/devicemodel/include
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
..
public dm: add IOCTL command to get platform information 2019-04-18 15:02:48 +08:00
acpi.h dm: pm: move host power button related code out of pm.c 2019-09-11 13:27:10 +08:00
acpi_hpet.h dm: vhpet: add HPET-related header files 2019-01-23 10:33:28 +08:00
ahci.h
ata.h
atkbdc.h
atomic.h
att_keybox.h DM: Attestation Keybox support in SOS DM 2019-02-25 16:40:25 +08:00
block_if.h dm: virtio-block: extend the max iov number of virtio block 2019-04-16 15:03:04 +08:00
console.h DM: remove unused function console_ptr_event 2019-05-24 11:51:00 +08:00
cpuset.h
dm.h dm: pci: reset passthrough device by default 2019-12-30 13:43:07 +08:00
dm_string.h doc: replace return with retval 2018-11-30 14:55:17 +08:00
gc.h DM: remove unused function gc_init 2019-05-24 11:51:00 +08:00
gpio_dm.h DM: virtio-gpio: implement GPIO operations via accessing PIO 2019-04-08 10:51:49 +08:00
hpet.h dm: vhpet: add HPET-related header files 2019-01-23 10:33:28 +08:00
i8253reg.h
inout.h dm: completely remove enable_bar()/disable_bar() functions 2019-04-22 15:18:21 +08:00
ioapic.h
ioc.h IOC mediator: dynamically enable dummy channels 2019-02-01 16:05:43 +08:00
iodev.h
irq.h
log.h dm:use acrn-dm logger function instread of printf 2019-11-14 15:34:04 +08:00
lpc.h
macros.h
mc146818rtc.h
mei.h
mem.h dm: completely remove enable_bar()/disable_bar() functions 2019-04-22 15:18:21 +08:00
mevent.h dm: enhence the mevent API 2018-12-07 20:21:33 +08:00
monitor.h DM: Virtio-Blk Rescan 2019-05-07 09:08:50 +08:00
mptable.h
mptbl.h DM: remove unused function mptable_add_oemtbl 2019-05-24 11:51:00 +08:00
netmap.h
netmap_user.h
npk.h
ns16550.h
pci_core.h dm:gvt:update gvt bars before other pci devices write bar address 2019-12-05 11:20:11 +08:00
pciio.h
pcireg.h dm:passthrough opregion to uos gpu 2020-01-17 09:23:13 +08:00
pit.h
pm.h dm: pm: add dm option to select guest notify method 2019-09-11 13:27:10 +08:00
pm_vuart.h DM: add guest vm power manager by vuart 2019-09-11 16:43:22 +08:00
ps2kbd.h
ps2mouse.h
pty_vuart.h DM: separate pty vuart operation from IOC 2019-09-11 16:43:22 +08:00
rpmb.h
rpmb_backend.h
rpmb_sim.h
rtc.h DM: remove unused function vrtc_reset 2019-05-24 11:51:00 +08:00
segments.h
specialreg.h
sw_load.h dm:reserve 64M hole for graphics stolen memory in e820 table 2020-01-17 09:23:13 +08:00
timer.h dm: vhpet: add vHPET support 2019-01-23 10:33:28 +08:00
tpm.h DM: Add support for virtual TPM enabling 2018-11-29 09:19:16 +08:00
tree.h dm: clean up mem.c 2019-03-21 10:28:17 +08:00
types.h dm: pci: clean up assert() in pci core 2019-06-20 11:21:51 +08:00
uart_core.h dm: refine the uart_core 2018-12-27 09:58:20 +08:00
usb.h
usb_core.h DM USB: modify disconnecting logic to support Windows 10 2019-09-26 11:29:22 +08:00
usb_pmapper.h DM USB: re-implement the data block process logic 2019-09-26 11:29:22 +08:00
usbdi.h
vbs_common_if.h
vhost.h dm: vhost: remove support for non-msix devices 2018-12-14 19:49:55 +08:00
virtio.h dm: Add Oracle subsystem vendor ID 2019-10-11 13:20:19 +08:00
virtio_kernel.h
vmm.h
vmmapi.h dm:gvt:update gvt bars before other pci devices write bar address 2019-12-05 11:20:11 +08:00
vrpmb.h
xhci.h DM USB: xHCI: rename some variables about ERST 2019-09-26 11:29:22 +08:00
xhcireg.h DM USB: xHCI: re-implement the emulation of extented capabilities 2019-05-24 13:21:12 +08:00