acrn-hypervisor/devicemodel
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
..
arch/x86 dm:use acrn-dm logger function instread of fprintf 2019-11-14 15:34:04 +08:00
bios OVMF release v1.5 2019-12-20 10:31:15 +08:00
core dm:passthrough graphics stolen memory to uos gpu 2020-01-17 09:23:13 +08:00
hw dm:passthrough opregion to uos gpu 2020-01-17 09:23:13 +08:00
include dm:passthrough opregion to uos gpu 2020-01-17 09:23:13 +08:00
lib dm: Fix some issues from string operations 2018-12-25 18:40:04 +08:00
log dm:replace perror with pr_err 2020-01-08 13:37:57 +08:00
samples DM: samples: Correct parameter of intel_pstate 2019-11-12 22:04:51 +08:00
MAINTAINERS
Makefile Makefile: add gcc flags to prevent some optimization 2019-12-10 10:02:15 +08:00
README.rst Documentation: clean-up of isolated README.rst files 2018-11-20 11:09:53 -08:00

README.rst

ACRN Device Model
#################

Introduction
============
The ACRN Device Model provides **device sharing** capabilities between the
Service OS and Guest OSs. It is a component that is used in conjunction with
the `ACRN Hypervisor`_ and this is installed within the Service OS. You can
find out more about Project ACRN on the `Project ACRN documentation`_ website.

.. _`ACRN Hypervisor`: https://github.com/projectacrn/acrn-hypervisor
.. _`Project ACRN documentation`: https://projectacrn.github.io/