3 ms·
Most importantly they can't be directly memory mapped without going through the page cache. It's been ages since I last did anything with PCI MMIO, but it was
by nitrogen 12y ago
Most importantly they can't be directly memory mapped without going through the page cache.
It's been ages since I last did anything with PCI MMIO, but it was definitely possible to map PCI devices' own memory into a process's address space using /dev/mem, and into kernel space as well. Is there no longer an equivalent concept for PCIe? Or was MMIO always attached to real RAM?
- wmf 12y agoMMIO still exists but memory-mapping NAND flash isn't a good idea. Stalling the processor for ~50 us on a cache miss is likely to lead to horrible performance.