提交 9ed5b01a 编写于 作者: D Dmitry Safonov 提交者: Linus Torvalds

x86/amd_gart: print stacktrace for a leak with KERN_ERR

It's under CONFIG_IOMMU_LEAK option which is enabled by debug config.
Likely the backtrace is worth to be seen - so aligning with log level of
error message in iommu_full().
Signed-off-by: NDmitry Safonov <dima@arista.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20200418201944.482088-46-dima@arista.comSigned-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 ab34b46d
......@@ -159,7 +159,7 @@ static void dump_leak(void)
return;
dump = 1;
show_stack(NULL, NULL);
show_stack_loglvl(NULL, NULL, KERN_ERR);
debug_dma_dump_mappings(NULL);
}
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册