acrn-hypervisor/devicemodel/include
Li Fei1 f13d5c25b6 dm: mmio_dev: add mmio device pass through support
We could add MMIO device pass through by two ways:
a) If the MMIO device only has MMIO regions and no ACPI Table touched, using
"--mmiodev_pt MMIO_regions",
b) If the MMIO device touches ACPI Table, using "--acpidev_pt HID"

Now only support TPM2 MSFT0101 MMIO device pass through through launch script
using "--acpidev_pt MSFT0101". When we want to pass through the TPM2 deivce,
we would not allow to emulate the vTPM2 at the same time. This is becuase
the ACRN-DM emulate the TPM2 as MSFT0101 too. Otherwise, the VM can't boot.

Besides, we could only support one TPM2 device PT and one MMIO device PT.
For TPM2 device PT, the MMIO resources are hard-coded. For the MMIO device PT,
we could pass through the MMIO resources on the cmdline.

ToDo:
1. We may use HID to discover the MMIO regions and ACPI Table instaed of
hard-coded.
2. To identify a MMIO device only by MMIO regions.
3. To allocate virtual MMIO regions in a reserved guest MMIO regions.

Tracked-On: #5053
Signed-off-by: Li Fei1 <fei1.li@intel.com>
2020-07-23 20:13:20 +08:00
..
public dm: mmio_dev: add hypercall to support mmio device pass through 2020-07-23 20:13:20 +08:00
acpi_hpet.h dm: vhpet: add HPET-related header files 2019-01-23 10:33:28 +08:00
acpi.h Revert "dm: acpi: add PSDS table in ACPI table" 2020-05-29 09:03:52 +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_string.h doc: replace return with retval 2018-11-30 14:55:17 +08:00
dm.h dm: mmio_dev: add mmio device pass through support 2020-07-23 20:13:20 +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 dm: mei: add mei hbm protocol definitions header. 2018-10-23 11:40:15 +08:00
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
mmio_dev.h dm: mmio_dev: add mmio device pass through support 2020-07-23 20:13:20 +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_user.h
netmap.h
npk.h
ns16550.h
pci_core.h dm: remove vdev_update_bar_map callback for PCIe device 2020-03-02 16:42:17 +08:00
pciio.h
pcireg.h dm: Data Stolen Memory (DSM) passthrough support for GVT-d on TGL 2020-07-08 13:19:05 +08:00
pit.h
pm_vuart.h DM: add guest vm power manager by vuart 2019-09-11 16:43:22 +08:00
pm.h dm: pm: add dm option to select guest notify method 2019-09-11 13:27:10 +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_backend.h
rpmb_sim.h
rpmb.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: mmio_dev: add mmio device pass through support 2020-07-23 20:13:20 +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_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
usb.h
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_kernel.h doc: update virtio related functions doc comments 2018-11-04 20:32:50 -08:00
virtio.h dm: Add Oracle subsystem vendor ID 2019-10-11 13:20:19 +08:00
vmm.h acrn-dm: add some logs for vm state transition 2020-05-15 10:06:23 +08:00
vmmapi.h dm: mmio_dev: add hypercall to support mmio device pass through 2020-07-23 20:13:20 +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