summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2020-05-25 12:38:39 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-25 15:32:59 +0200
commitbad579b96bf1929964d5446adc32b627b4962ae8 (patch)
treedf83e4bd7207869b363ebbba6798b4d164e6cd1a /arch
parent98fa991017981b52dcc4dc3924fc8e1e83e41bf4 (diff)
downloadlinux-stable-bad579b96bf1929964d5446adc32b627b4962ae8.tar.gz
linux-stable-bad579b96bf1929964d5446adc32b627b4962ae8.tar.bz2
linux-stable-bad579b96bf1929964d5446adc32b627b4962ae8.zip
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/apic/apic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c
index 53dc8492f02f..e9456a2eef58 100644
--- a/arch/x86/kernel/apic/apic.c
+++ b/arch/x86/kernel/apic/apic.c
@@ -2024,7 +2024,7 @@ void __init init_apic_mappings(void)
unsigned int new_apicid;
if (apic_validate_deadline_timer())
- pr_debug("TSC deadline timer available\n");
+ pr_info("TSC deadline timer available\n");
if (x2apic_mode) {
boot_cpu_physical_apicid = read_apic_id();