From patchwork Mon Dec 12 20:05:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Borislav Petkov X-Patchwork-Id: 32521 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2443782wrr; Mon, 12 Dec 2022 12:12:39 -0800 (PST) X-Google-Smtp-Source: AA0mqf6rb0eqnqH61+tl6YLfGpmJgvFJ681lgmiRy9prjdO1DMu+H1gmCOn6EDfS2rZJ9kUuyXOm X-Received: by 2002:a17:907:d12:b0:7c1:54b9:c688 with SMTP id gn18-20020a1709070d1200b007c154b9c688mr13619155ejc.60.1670875959310; Mon, 12 Dec 2022 12:12:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670875959; cv=none; d=google.com; s=arc-20160816; b=jUIpM8HwsK++wXkNGDTO1GWRaCDutO7DlcGLolvt4Ymic46Uo4wGWDNuQVCPQLqQqF 9Bj717l9+AtdpPek3chc8NjeEA/ODN92pPEwWwRda9pUu1yREINcT1PJRS3rp18CoXzl El2QgNDIpo0y81u05VP2FSS8Lw9S20zQy6CPTt/7Eb/0+BHPQKnsV8ysYw+juJiaXDoW NhE+sCQawFmB2mWy2Gn+lDgYHeZ8GqINwnaIWL/pPEr5Zi3kN5FTGipv8u3DtUFFwXvU wQ+WEKsUHHKUFsQEudBIVEcQ8ayK76YS2n/T0cJ+AIFFHtl3VaF3cal8+2pD4QX/lV9e B/Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=jlQcQtosWgVLltDqKXLfrqn4T86TR6jlKeOQ7vGHwYM=; b=QTbGG2kcJCgZrucyB2CMg87upMbBzPnU1MrfPgkTbi8SXJkDhPBzFCiMvSEJMLeu4S hBkWtyE/hK5tQixhY4uXHPPt5BJL8h4LvxAv7R66v8VNsbz9BNnXiC4l9TYjEO54TufM 4Nep7sAaAtyYbTUd+YwS2xfgx835blhPikafSciEN+jS1G4NjB/Nwj0eKvATYYxt9+Oo JqGjHtsiF2WKwr2Au3bmZpkpLgTBQVw2jHiBkcYUkUnLZZRIDNupyMS5U7B4W5IxavPl /b/WizCB0PE/WfEGQvT1E3llEEwC/iNslxCu8i+9OyOR3gEbohnaoDSNUtY7nm1q4WMc Up3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=MZSlkLwz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pw9-20020a17090720a900b007878144285csi5176923ejb.314.2022.12.12.12.12.15; Mon, 12 Dec 2022 12:12:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=MZSlkLwz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S233204AbiLLUFy (ORCPT + 99 others); Mon, 12 Dec 2022 15:05:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233413AbiLLUFu (ORCPT ); Mon, 12 Dec 2022 15:05:50 -0500 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42551178A0 for ; Mon, 12 Dec 2022 12:05:47 -0800 (PST) Received: from zn.tnic (p5de8e9fe.dip0.t-ipconnect.de [93.232.233.254]) (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 9086C1EC069C; Mon, 12 Dec 2022 21:05:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1670875544; 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:references; bh=jlQcQtosWgVLltDqKXLfrqn4T86TR6jlKeOQ7vGHwYM=; b=MZSlkLwz3pKd064Zoc6XxwdihUpHC9i61S1pTDCSuKTzs9ECJirBIiiooz94ZRJKaBBTaS CzLC925f9JgwZ+LUWwaK6CLCRCvnXDVFADGTQOLtmzF58eMl9TZJKDSohSb/UGg5JTDnrO gMI/eEL55O6gXXwT0fYnhCUKwJd60iA= Date: Mon, 12 Dec 2022 21:05:39 +0100 From: Borislav Petkov To: Linus Torvalds Cc: x86-ml , lkml Subject: [GIT PULL] ras/core for v6.2 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752040429657626432?= X-GMAIL-MSGID: =?utf-8?q?1752040429657626432?= Hi Linus, please pull some updates to the RAS side of things, for 6.2. Thx. --- The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780: Linux 6.1-rc1 (2022-10-16 15:36:24 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/ras_core_for_v6.2 for you to fetch changes up to 50865c14f34edbd03f8113147fac069b39f4e390: RAS: Fix return value from show_trace() (2022-10-31 18:55:18 +0100) ---------------------------------------------------------------- - Fix confusing output from /sys/kernel/debug/ras/daemon_active - Add another MCE severity error case to the Intel error severity table to promote UC and AR errors to panic severity and remove the corresponding code condition doing that. - Make sure the thresholding and deferred error interrupts on AMD SMCA systems clear the all registers reporting an error so that there are no multiple errors logged for the same event ---------------------------------------------------------------- Tony Luck (2): x86/mce: Use severity table to handle uncorrected errors in kernel RAS: Fix return value from show_trace() Yazen Ghannam (1): x86/MCE/AMD: Clear DFR errors found in THR handler arch/x86/kernel/cpu/mce/amd.c | 33 ++++++++++++++++++++------------- arch/x86/kernel/cpu/mce/severity.c | 8 +++++--- drivers/ras/debugfs.c | 2 +- 3 files changed, 26 insertions(+), 17 deletions(-)