Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1242900ybp; Wed, 9 Oct 2019 10:56:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqxTqJjeBBhdrCtKxVIvEPpZ7QFDtils545ODsr2Xj2F2XYT0+GY+dT96VSsCuBZIiDdJ6Ib X-Received: by 2002:a17:906:6a4f:: with SMTP id n15mr4050850ejs.19.1570643809309; Wed, 09 Oct 2019 10:56:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570643809; cv=none; d=google.com; s=arc-20160816; b=onHF5suJRj48pNLBqN3JIYg0Gz4totr2Mq5Rkbx+sfyjMcpHWVeB5nQAjVmKRr5zRl 2pK1KzFbFiTfQQRhp1Ku/sMfXWghFNXo/L9WtvbXVLi1UN9t3y5XbE4DhClPwKRd9TTw uk778qwuGpK4b7nTh4Huc25uSYi6ZrUCe6+QcsiP4p8IpZrmmmIHQwbcKznv/R3gX0yl UU9W+gf9vHqL3+5pesbheZEVaSsuy9sm469ZP7uaISz23BUtJv+eb/CklJ2qqnBKDs6w v0td+FMtvhQ7XXypY4rYrzPMkZ5buJlvIwh0/ZihsrEhgutMLNDjPNyb60/TIxOESY8Z pDEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=PMw+kSYqYUuu078V5yDARfkO7aBA1Un8BKx0eEVNnLk=; b=etI2vVkV1XoodNttSaPT2OvXnGED0ELpWkf39Q6WmD7fr9+4bgJErF5bCNXUZ/BbGt yu9POG6UvCLUH6OBj5G/upK41SZ/hj6GJPk6WhCXXzlXHNC9NPOT8zUKjIKxfmNXaqQz MoNulLK93Q2PBa7GBBc5rxIZI15ZOizbZdEjvgERBSHHReGQ+LJxpSNSULZ9BvfbJpfy PCwQ21AoQl6p6+gZUDgm0GUjo7S4ReTzbMf5hLmBlX+tfoPnO+IW3U6SeTrNlq15whg3 tEGyG1qZS89YOt31wy6NAI7+/UycTxUeCtza3tmV3otY3NRADjsBYqt+/zAW8i+7iInU 3ItQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=kIFj4m7b; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p14si1830131edc.227.2019.10.09.10.56.25; Wed, 09 Oct 2019 10:56:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=kIFj4m7b; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731158AbfJIR4U (ORCPT + 99 others); Wed, 9 Oct 2019 13:56:20 -0400 Received: from mail.skyhub.de ([5.9.137.197]:44004 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730546AbfJIR4U (ORCPT ); Wed, 9 Oct 2019 13:56:20 -0400 Received: from zn.tnic (p200300EC2F0C2000CC8F9AE7D5DA1569.dip0.t-ipconnect.de [IPv6:2003:ec:2f0c:2000:cc8f:9ae7:d5da:1569]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 3A6FE1EC0B4D; Wed, 9 Oct 2019 19:56:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1570643775; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=PMw+kSYqYUuu078V5yDARfkO7aBA1Un8BKx0eEVNnLk=; b=kIFj4m7bp3BoISRedv96BVS6x7yG0joePdwsTT368QgfcY9VHQF68tBlidp3zmQFRH4o5N zejXObN1Zx4VvsXxUJlNNPDE1o0w+q9x3k8CshF/MgfJoT46LuTtf1fWZMgo6ExA656xS6 ux2Clqs5YoSIAgZzQsMfu7hXZCTdD8A= Date: Wed, 9 Oct 2019 19:56:08 +0200 From: Borislav Petkov To: Benjamin Berg Cc: linux-kernel@vger.kernel.org, Hans de Goede , Srinivas Pandruvada , Christian Kellner , Tony Luck , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, linux-edac@vger.kernel.org Subject: Re: [PATCH] x86/mce: Lower throttling MCE messages to warnings Message-ID: <20191009175608.GK10395@zn.tnic> References: <20191009155424.249277-1-bberg@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191009155424.249277-1-bberg@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 09, 2019 at 05:54:24PM +0200, Benjamin Berg wrote: > On modern CPUs it is quite normal that the temperature limits are > reached and the CPU is throttled. In fact, often the thermal design is > not sufficient to cool the CPU at full load and limits can quickly be > reached when a burst in load happens. This will even happen with > technologies like RAPL limitting the long term power consumption of > the package. > > So these messages do not usually indicate a hardware issue (e.g. > insufficient cooling). Log them as warnings to avoid confusion about > their severity. > > Signed-off-by: Benjamin Berg > Tested-by: Christian Kellner > --- > arch/x86/kernel/cpu/mce/therm_throt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/x86/kernel/cpu/mce/therm_throt.c b/arch/x86/kernel/cpu/mce/therm_throt.c > index 6e2becf547c5..bc441d68d060 100644 > --- a/arch/x86/kernel/cpu/mce/therm_throt.c > +++ b/arch/x86/kernel/cpu/mce/therm_throt.c > @@ -188,7 +188,7 @@ static void therm_throt_process(bool new_event, int event, int level) > /* if we just entered the thermal event */ > if (new_event) { > if (event == THERMAL_THROTTLING_EVENT) > - pr_crit("CPU%d: %s temperature above threshold, cpu clock throttled (total events = %lu)\n", > + pr_warn("CPU%d: %s temperature above threshold, cpu clock throttled (total events = %lu)\n", > this_cpu, > level == CORE_LEVEL ? "Core" : "Package", > state->count); > -- This has carried over since its very first addition in commit 3867eb75b9279c7b0f6840d2ad9f27694ba6c4e4 Author: Dave Jones Date: Tue Apr 2 20:02:27 2002 -0800 [PATCH] x86 bluesmoke update. o Make MCE compile time optional (Paul Gortmaker) o P4 thermal trip monitoring. (Zwane Mwaikambo) o Non-fatal MCE logging. (Me) It used to be KERN_EMERG back then, though. And yes, this issue has come up in the past already so I think I'll take it. I'll just give Intel folks a couple of days to object should there be anything to object to. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette