Re: [PATCH v2] dma-debug: prevent an error message from causing runtime problems

2021-09-13 Thread Christoph Hellwig
Thanks a lot. I've applied this with a little change to avoid breaking up the printed string into two lines. ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu

[PATCH v2] dma-debug: prevent an error message from causing runtime problems

2021-09-10 Thread Hamza Mahfooz
For some drivers, that use the DMA API. This error message can be reached several millions of times per second, causing spam to the kernel's printk buffer and bringing the CPU usage up to 100% (so, it should be rate limited). However, since there is at least one driver that is in the mainline and s