forked from zenglg/unvme
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modified UNVMe driver to use UIO device and no-IOMMU VFIO
This is the main transition away from an IOMMU-based driver to something that can work with a statically-mapped buffer defined with a UIO device, alongside VFIO running in no-IOMMU mode for access to PCIe. This change allows the driver to run on embedded devices without an IOMMU, but with the flexibility to allocate a chunk of memory to UNVMe through the device tree, such as the Xilinx Zynq UltraScale+ MPSoC. The implementation is currently quite restricted, requiring a UIO driver to be loaded at /dev/uio0, with its first memory map a region of DMA-able memory of size 1GiB and address 0x40000000.
- Loading branch information
1 parent
b6b85ab
commit a4f30b4
Showing
4 changed files
with
53 additions
and
93 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