Skip to content

Commit dc69fec

Browse files
suryasaimadhugregkh
authored andcommitted
x86/apic: Make TSC deadline timer detection message visible
[ Upstream commit de308d1 ] The commit c84cb37 ("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>
1 parent af92e4a commit dc69fec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎arch/x86/kernel/apic/apic.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2099,7 +2099,7 @@ void __init init_apic_mappings(void)
20992099
unsigned int new_apicid;
21002100

21012101
if (apic_validate_deadline_timer())
2102-
pr_debug("TSC deadline timer available\n");
2102+
pr_info("TSC deadline timer available\n");
21032103

21042104
if (x2apic_mode) {
21052105
boot_cpu_physical_apicid = read_apic_id();

0 commit comments

Comments
 (0)