From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 122CFC433DF for ; Thu, 18 Jun 2020 01:58:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DD82322254 for ; Thu, 18 Jun 2020 01:58:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592445511; bh=XyRCdN9p5C6CuYb4vSPas0Kq+Ck26+4kNyBKxHF8lII=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=12B+joTM/15iPkkpE6p8geDIGefuhgBE/l7koC8FI011GtsTId6N8DoIc2OlkD23z 04tI/2K16PC/zhfwSFsC01ppISrPFgAtnCOYGDsLX8CTwpLQ785afksJFBMfndIQcr aouSXE4cJTn8Z9O3mTMTBQh8tAH5AX1xb9HjvzHY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731292AbgFRBYw (ORCPT ); Wed, 17 Jun 2020 21:24:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:59614 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731287AbgFRBYu (ORCPT ); Wed, 17 Jun 2020 21:24:50 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 069D820776; Thu, 18 Jun 2020 01:24:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592443490; bh=XyRCdN9p5C6CuYb4vSPas0Kq+Ck26+4kNyBKxHF8lII=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ok0XjG3IYzYZZUoSodprm4wQnD054k1IbMiwgUF6kYhMyTYzN46MZeiXhYZruUaUy ih5VLy3V8laOGFcz53ty8btVO1TqyMepAsVXroEEUrkpS6Ag/aWRsPBepKlG3GMULu S4vkGv0g9wnyA3ABfNlPQsfijfTUGSdJYOeaSd38= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Borislav Petkov , Sasha Levin Subject: [PATCH AUTOSEL 4.19 118/172] x86/apic: Make TSC deadline timer detection message visible Date: Wed, 17 Jun 2020 21:21:24 -0400 Message-Id: <20200618012218.607130-118-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200618012218.607130-1-sashal@kernel.org> References: <20200618012218.607130-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Borislav Petkov [ 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 Link: https://lkml.kernel.org/r/20200525104218.27018-1-bp@alien8.de Signed-off-by: Sasha Levin --- arch/x86/kernel/apic/apic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.25.1