generated from riscv/docs-spec-template
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GIPC: Introduce G-stage page table In Process Context (GIPC) capability
The current G-stage page table resides within the device context and is only bound to one PCI-e function. Consequently, this setup limits the function's capability to serve only a single virtual machine. PCI-e introduces SR-IOV to address this issue, yet it comes with constraints: SR-IOV consumes PCI configuration address space and must be configured during the PCI device enumeration process. Its finite capacity and inflexibility make it ill-suited for fulfilling the needs of higher-density I/O environments. The number of use cases for virtualizing DMA devices that do not have built-in SR_IOV capability is increasing. The Linux VFIO driver framework provides device-agnostic and unified APIs for direct device access. This framework is called as Virtual Function I/O (VFIO) Mediated devices. The GIPC of riscv IOMMU could bind any mediated devices to any virtual machine without SR-IOV. Here is the abstract of this approach: - Use PC.iohgatp instead of DC.iohgatp. - Use PC.msi* instead of DC.msi*. - Use SPA instead of GPA for DC.fsc.pdtp and PDT. (PDT is maintained by the host instead of guest. e.g. The guest use virtio-IOMMU API to configure a portion, not the entire, of the PDT. Every PDT entry could be a software-defined device for any VM.) - Use SPA instead of GPA for DC.fsc.pdtp and PDT. (The host maintains the PDT instead of the guest. For example, the guest uses the virtio-IOMMU API to configure a portion, not the entire PDT. Every PDT entry could be a software-defined device for any VM.) TODO: - iommu_ref_model Signed-off-by: Guo Ren <[email protected]> Signed-off-by: Hao Ziyi <[email protected]> Signed-off-by: Dust Li <[email protected]> Signed-off-by: Shuai Xue <[email protected]> Signed-off-by: Feng Guanghui <[email protected]>
- Loading branch information
Showing
4 changed files
with
124 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters