2 ms·
PCIe devices are memory mapped in most systems now. The IOMMU and the MMU are basically the same thing, but there are separate ones because the IOMMU has to ha
by pclmulqdq 4y ago
PCIe devices are memory mapped in most systems now. The IOMMU and the MMU are basically the same thing, but there are separate ones because the IOMMU has to handle multiple "bus masters" - the IOMMU's main job now is to protect memory from transfers initiated by malicious accelerators on the PCIe bus. The MMU is separate to prevent contention.
The fiction of separate I/O and memory space is another abstraction that carries over from the 80's.
- rbanffy 4y agoIt's kind of fun that my first personal computer, the Apple II, used memory-mapped IO (because the 6502 was designed to be cheap, but still). :-)