Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1107596ybp; Wed, 9 Oct 2019 08:55:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqwWndnC46VSnliqXGDca8+zZ8ZmSDF/+Cmy/iraIhqfaHZlkLWxst30rRkCTrs/ZPhkOvbS X-Received: by 2002:aa7:d884:: with SMTP id u4mr3535659edq.207.1570636551460; Wed, 09 Oct 2019 08:55:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570636551; cv=none; d=google.com; s=arc-20160816; b=hGhKL/NMGUlzBqu9kBwF81bb327vNhvP2JgI+xgLe+5sWGvatE249drK0LRdBH2AYK d99M/5g+1eW3HQ00IKlpykbAf3lefjX1xrzLnNvi8o2J/PocVtpxR084Yy6wcY1vmKJI v1799mrEwx742JXZS+hB2oUQ4mmIdYyLIBMy9wFOqnXZ7VTFyfT5+w4QEyDypVuhQsmI a0lqKwLZTvjV5Q57woN+zLSnKQ1dYLUrtirGxCbMBRNWf3eU+yqhyJ+ADkmST0B3iM4m TFTYVOVhpWT9/6Ae1/ut3S6ypEoe2F8wsHop/s8j49KRG6/YIJWoSc6OwoPpguZzmrvI lhYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Il+fUAlL9+6q7Nx99hIuetXKXObhkJ9zaizsYklGekQ=; b=gpuWruZNSzxzeTShFEcnK2RRzKXugGp8SugvwkXCus45W2IJhVDOBlkbLTOXWI8sby SPsXRlVG8XJ1HHlalsN5GM61agsXSGNG8JuIvGxnC3ATAX0GKIVnaUrsf6/+S+gUkMvK 3/IyMCpG908lWBaSDkUfNePvGjzWNVyVkW7qZJaEjzrgD0GDEEHChlJ44uFeZQ86xbPT MHWtsnpZ5yZZ4vzKF0L14q6hMOGzONM+99YWWpyUw+Ypb4x1nw0m14FIDabtrXP8gyia NFuPWarBYuq9xya+RkPc3ak+CFMF40wON6xZQ2++Ygur70dxVShyhsG1B4vZruD0ZA6R 2gFw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id om23si1301665ejb.194.2019.10.09.08.55.26; Wed, 09 Oct 2019 08:55:51 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731263AbfJIPzW (ORCPT + 99 others); Wed, 9 Oct 2019 11:55:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60802 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729883AbfJIPzW (ORCPT ); Wed, 9 Oct 2019 11:55:22 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C8A4630BB370; Wed, 9 Oct 2019 15:55:21 +0000 (UTC) Received: from ben-x1.muc.redhat.com (dhcp-64-153.muc.redhat.com [10.32.64.153]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9B44C60920; Wed, 9 Oct 2019 15:55:19 +0000 (UTC) From: Benjamin Berg To: linux-kernel@vger.kernel.org Cc: Hans de Goede , Srinivas Pandruvada , Benjamin Berg , Christian Kellner , Tony Luck , Borislav Petkov , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, linux-edac@vger.kernel.org Subject: [PATCH] x86/mce: Lower throttling MCE messages to warnings Date: Wed, 9 Oct 2019 17:54:24 +0200 Message-Id: <20191009155424.249277-1-bberg@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Wed, 09 Oct 2019 15:55:21 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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); -- 2.23.0