On 02/08/17 02:42 PM, Robin Murphy wrote:
FWIW I'm not aware of anything that does exactly what you want (other than some trick patches I keep around that only work for arm64), but it does come to mind that it ought to be fairly straightforward to give dma-debug the ability to dump out the information it already captures. It wouldn't be viable for deployment in non-development kernels, but it's a idea - for production kernels, the simple answer is probably "boot with iommu=off|pt when GPU debugging" anyway.
The genesis of this requirement is that IOMMU is a requirement in a lot of new development (for instance, virtualization) and newer systems cannot operate with it disabled.
Previously, ya I'd tell umr (our debugger) users to turn it off but that's becoming increasingly hard to sell :-)
Right now our tracepoint seems to work but relatively light workloads but can become somewhat laggy on higher loads and I fear that on data center type loads will become completely unusable.
Tom _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu
