Error handling for I/O memory management units
Error handling for I/O memory management units
Posted Aug 23, 2014 22:34 UTC (Sat) by neilbrown (subscriber, #359)In reply to: Error handling for I/O memory management units by corsac
Parent article: Error handling for I/O memory management units
If you have a system without an IOMMU, then it is quite possible to program a DMA engine in some device to access an illegal address - maybe some address where there isn't any memory. Presumably an error gets reported .. or maybe it doesn't. Maybe it just silently fails.
If you add an IOMMU, then that greatly increases the range of addresses that are illegal for any given device, but surely the device will just fail in exactly the same way that it did before. I don't see any new sorts of errors. I must be missing something.
So I'm still hoping someone can explain to me what sort of errors one can get from an IOMMU.
Posted Aug 24, 2014 3:51 UTC (Sun)
by dlang (guest, #313)
[Link]
however with an IOMMU, the IOMMU can now report that the device attempted to access memory it's not allowed to.
The question is what should be done when a device misbehaves, and how should it be reported?
Error handling for I/O memory management units
