mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
b8957f90a8
Platform device is another type of device which might be assigned directly to VM by using the same IOMMU DMA isolation technique. In contrary to PCI, platform device has no config space which describes device resources and makes it self-contained and self-discoverable. Therefore, platform device resources are described in FW and host is the one who enumerates/probes devices by parsing DT/ACPI. We have ioctl i/f which allows to expose all that info to VMM. Add platform bus specific calls to interact with host properly and plug in to aarch64 bus creation code. Note, for now all IRQs are abstracted to wired line (SPI in ARM GIC world) which means guest wont see MSI-X for platform devices. BUG=b:185504618 TEST=trogdor64-manatee SDHCI and GENIQUP device passthrough boots/works Change-Id: Id0e9efde3586af77ed1d0b8bf79ca485906afb83 Signed-off-by: Tomasz Nowicki <tn@semihalf.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2961216 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Tomasz Nowicki <tnowicki@google.com> Commit-Queue: Micah Morton <mortonm@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |