Medium
Driver read of a DMA-written buffer on a non-coherent platform
A NIC performs a DMA transfer, writing incoming packet data directly into a buffer in main memory, on a platform where DMA is not automatically snooped or kept coherent with the CPU's caches (some embedded SoCs, and certain buffer/bus configurations even on larger systems). The CPU had read that same buffer region earlier, while processing the previous packet. After the DMA completes and the driver is notified by interrupt, the driver reads the buffer through an ordinary load with no cache maintenance of any kind. What does it get?
20 of 47 in Computer Architecture