]> git.baikalelectronics.ru Git - kernel.git/commit
x86/amd_gart: print stacktrace for a leak with KERN_ERR
authorDmitry Safonov <dima@arista.com>
Tue, 9 Jun 2020 04:32:13 +0000 (21:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Jun 2020 16:39:12 +0000 (09:39 -0700)
commit39a15b26ca8146297b4e62482acb2190262b2e9e
tree75b7c7e01f51b9c0433bf2b61ac8095fe44629aa
parentba465c9d4a42237dde82e233f3fcab7fa368ce6c
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: Dmitry Safonov <dima@arista.com>
Signed-off-by: Andrew 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.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kernel/amd_gart_64.c