acrn-hypervisor/devicemodel/hw/platform
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
..
acpi dm: mmio_dev: add mmio device pass through support 2020-07-23 20:13:20 +08:00
rpmb dm:use acrn-dm logger function instread of fprintf 2019-11-14 15:34:04 +08:00
tpm dm:use acrn-dm logger function instread of fprintf 2019-11-14 15:34:04 +08:00
atkbdc.c dm:use acrn-dm logger function instread of printf 2019-11-14 15:34:04 +08:00
cmos_io.c dm:use acrn-dm logger function instread of printf 2019-11-14 15:34:04 +08:00
debugexit.c dm: cleanup assert in core.c 2019-07-05 09:36:02 +08:00
hpet.c dm: vhpet: clean up asserts 2019-07-03 13:19:43 +08:00
ioapic.c DM: cleanup for header inclusions 2018-06-07 14:35:30 +08:00
ioc.c DM: separate pty vuart operation from IOC 2019-09-11 16:43:22 +08:00
ioc_cbc.c IOC mediator: fix wakeup reason issue when UOS resuming 2018-11-06 16:18:35 +08:00
pit.c dm:use acrn-dm logger function instread of printf 2019-11-14 15:34:04 +08:00
ps2kbd.c dm:use acrn-dm logger function instread of fprintf 2019-11-14 15:34:04 +08:00
ps2mouse.c dm:use acrn-dm logger function instread of fprintf 2019-11-14 15:34:04 +08:00
pty_vuart.c DM: separate pty vuart operation from IOC 2019-09-11 16:43:22 +08:00
rtc.c dm: refine 'assert' usage in timer.c and rtc.c 2019-06-20 08:55:44 +08:00
usb_mouse.c DM USB: dynamically allocate block count for struct usb_xfer 2019-09-26 11:29:22 +08:00
usb_pmapper.c DM USB: modify disconnecting logic to support Windows 10 2019-09-26 11:29:22 +08:00