On Tue, Oct 22, 2024 at 09:21:21AM +0800, Ming Lei wrote: > Can you take coherent DMA into account on kernel/dma/debug.c first? We intentionally don't to force people to write portable code. > Otherwise the warning still may be triggered on coherent DMA. Well, it is a valid warning for the above reason.