]> www.infradead.org Git - users/dwmw2/linux.git/commit
x86/apic: Make TSC deadline timer detection message visible
authorBorislav Petkov <bp@suse.de>
Mon, 25 May 2020 10:38:39 +0000 (12:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jun 2020 15:48:55 +0000 (17:48 +0200)
commit646f6be320195549dafe78fb11270eb19a0d1d84
treed5d1ae3c400f82c814ae8838a8ad7e8b95d63ae1
parent9c0cec79e5c914662c2cf98b4a729c0fcc8c872e
x86/apic: Make TSC deadline timer detection message visible

[ Upstream commit de308d1815c9e8fe602a958c5c76142ff6501d75 ]

The commit

  c84cb3735fd5 ("x86/apic: Move TSC deadline timer debug printk")

removed the message which said that the deadline timer was enabled.
It added a pr_debug() message which is issued when deadline timer
validation succeeds.

Well, issued only when CONFIG_DYNAMIC_DEBUG is enabled - otherwise
pr_debug() calls get optimized away if DEBUG is not defined in the
compilation unit.

Therefore, make the above message pr_info() so that it is visible in
dmesg.

Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200525104218.27018-1-bp@alien8.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/kernel/apic/apic.c