acrn-hypervisor/devicemodel
Long Liu 4b03f3002e DM: PT: Add "d3hot_reset" sub-parameter for passthrough device
Some passthrough devices have no reset mechanisms which cause the device stay
in unknown status during boot/reboot flow. And such unknown status cause
unexpected behaviors in the guest. Except the ordinary reset mechanisms
like FLR, we can utilize enter/exit D3cold as the reset that D3cold will
power gate the entire hardware. But the D3cold is implemented as ACPI
method which has no user interface in the SOS side. But the D3cold is
implemented as ACPI method which has no user interface in the SOS side.
But base on our experience, some devices can utilize D3hot instead of
D3cold. But it is not useful for all PCI devices as the power status
of D3hot is implementation defined.
Provide one new API to program PowerState(D0/D1/D2/D3hot) in PMCSR
register.
Add "d3hot_reset" sub-parameter for passthrough device to enable utilize
enter/exit D3hot flow to implement reset mechanisms.

Tracked-On: #5067

Signed-off-by: Long Liu <long.liu@intel.com>
Reviewed-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com>
2020-07-23 10:10:27 +08:00
..
arch/x86 dm:use acrn-dm logger function instread of fprintf 2019-11-14 15:34:04 +08:00
bios OVMF release v2.1 2020-07-15 15:41:11 +08:00
core dm: Fix wrong hugetlb_lv_max 2020-07-08 15:32:15 +08:00
hw DM: PT: Add "d3hot_reset" sub-parameter for passthrough device 2020-07-23 10:10:27 +08:00
include dm: Data Stolen Memory (DSM) passthrough support for GVT-d on TGL 2020-07-08 13:19:05 +08:00
lib dm: Fix some issues from string operations 2018-12-25 18:40:04 +08:00
log DM: add wall time info into disk log file 2020-04-22 08:39:25 +08:00
samples doc: Enabling ACRN on top of QEMU/KVM 2020-05-29 09:10:42 -07:00
MAINTAINERS
Makefile use variables for installation directories. 2020-06-05 15:25:12 +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/