Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1012400pxb; Wed, 6 Apr 2022 06:42:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy31vGQ/4u8+o9wUk0/kCG0d9jd+eZtaFjPBRGY2cml37Wtp0KHDzjhHHrFZRebBipxVEtS X-Received: by 2002:a17:90b:3b45:b0:1c7:5fbe:f503 with SMTP id ot5-20020a17090b3b4500b001c75fbef503mr9980193pjb.178.1649252547682; Wed, 06 Apr 2022 06:42:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1649252547; cv=pass; d=google.com; s=arc-20160816; b=M9uE7T3bIKk8DzRNjpCet/QFHzpT8Ndt0ObVeXtLti4y+YaOS2KyX3c7+myyx1n5L6 X39QvbCEhdfP8Cr4Q1vaI7YJ22XaHk283uD61G74f0Ly1c5yIaO2Q5eNvtA7Whgt1nCP LWU10kHFgFrOcwaVz8qQcvXneuBtxXmhwnyd3vSFE0JVQwJA6JficlesdfPp7OjXl7Vv y+fXccj/8J0zi2DWDdBlmFHXDoEz4zqRhcRStb6E03LKfkDpGvd/zz19HiwiQyP6uldn K3ZP7QqwKnfrcTAIyY+r1+uLVxblOb9qhxAhggqgmuw4qj1kJ7sQnHmaHuemGTNnqoFc ylmA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ivyLuN48NtH1RRa4wwVkzzmeC78DirHzhue0sQOJJu0=; b=Fel8R0mw0JXqZqiYpf/IEj0X1qE8Llhk6lME5ODJyfYDaIwV+Rpv4weh+gpvKAzaBE pqusaXDVKNnBTgFBzAjGNEBGiZMt2ZbFjDVIWqRpq3oWqAnNqYs5tY/5qFlwZzgvbAqC B4ChtyOkS9zpiJq/JJGgDIYEe7nLDL74rEkIF/T/BcS8Koni8/payoABy3k1//zq/wAu Hq87CRVvqAjC8DXZAGQfZxTIlywFsX/pZjndFv5BK977AKInwTlFo+CRmJSbVKgieiW9 iM2HvhIwSHbgAWkOqwsrbQM/fjDnqUB01gdJWpA02N9PiBSFXCrjmh3yFsfFTbcZTXVp ZNhg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=GA8o5wnc; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 64-20020a630643000000b00399579dc073si5470113pgg.12.2022.04.06.06.42.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 06:42:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=GA8o5wnc; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D66B9601357; Wed, 6 Apr 2022 04:30:20 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1845874AbiDFCBr (ORCPT + 99 others); Tue, 5 Apr 2022 22:01:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1572995AbiDERna (ORCPT ); Tue, 5 Apr 2022 13:43:30 -0400 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam08on2062.outbound.protection.outlook.com [40.107.102.62]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86EC3B91A9; Tue, 5 Apr 2022 10:41:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bDZUivlWHHZUzLFHr7aqR37e4YjbyPfr4hAnIe77bP0GX6shq5LldrLmN6Ubq+9oaCX2/K/2wFAYrFELYdrtrOSU5lIqhlvZVd9oMILd5Afas6x8zNBJ06PG9KrfkK1kQC2/lSf8JnPmCAUc2wu172xjVnBISMejGkN7UW4qFky68oKoqtbsk2rSIY7h8U9fYcR6yl7M39hM/WjAvTRCwWG1HIBVj/XOARVAZuWc878SnANWN9n8BSep80ivgZ2kDi2cw79WmyxGGnghuYyLFdmeumTLnfhyLTg0+eW3w5W4yGNT4iWZ86cN7AY1iuETH38fQPXpXBvPCfLOeonEog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ivyLuN48NtH1RRa4wwVkzzmeC78DirHzhue0sQOJJu0=; b=JdtRhz7trgzNmT6bxwfuUBt3WZ8lApLSof0q6C/2kDfjgkrK8Gz6Rq8WLa/3sBTIgjfhO6g9OFR07+9ZOusBmli+bnCWEVIEg1Lb08a3hzvZnI/4BYHpRGRcVmLDnbs6LyTljqMvWgcsgqVf/FRE1123+f16c6dgnog+HiNbTdj2Ac93e/lxNgIadf6Z/UI3Ne2w4DHXR03diYG/AIzudu3A4HqjbYE6+zhTRiXuJCRNDoKLSX8BXMfpJuVBjd/w6sZtfDQt6esq47zpEHn68KCNNuuP5zJkdx4WWVayXznjD3f87gWVkhU5fhn1+ez0P4Plf5wlXIhYBqMbdiqLJg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ivyLuN48NtH1RRa4wwVkzzmeC78DirHzhue0sQOJJu0=; b=GA8o5wnczXiuTxf9RKlMcLTZUezrXuswsUkqrU5l8Xb31iUIh9Z12DwV9rGr1zJqJnaN+C4DOR9fv9xgaaNCceIKBRXfEtN7Qgzh9f8DeiADUaAI82Hgx2McAayTz7/SaeLwpCPh0mMvB28r5X/gcgXT6MMOwqv+/95mrtOzyg4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from BN8PR12MB3108.namprd12.prod.outlook.com (2603:10b6:408:40::20) by DM6PR12MB4252.namprd12.prod.outlook.com (2603:10b6:5:211::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5123.31; Tue, 5 Apr 2022 17:41:29 +0000 Received: from BN8PR12MB3108.namprd12.prod.outlook.com ([fe80::a941:fe42:23a5:c501]) by BN8PR12MB3108.namprd12.prod.outlook.com ([fe80::a941:fe42:23a5:c501%3]) with mapi id 15.20.5123.031; Tue, 5 Apr 2022 17:41:29 +0000 Date: Tue, 5 Apr 2022 17:41:25 +0000 From: Yazen Ghannam To: Carlos Bilbao Cc: bp@alien8.de, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, linux-kernel@vger.kernel.org, linux-edac@vger.kernel.org, bilbao@vt.edu Subject: Re: [PATCH v2 1/2] x86/mce: Extend AMD severity grading function with new types of errors Message-ID: References: <20220331163849.6850-1-carlos.bilbao@amd.com> <20220331163849.6850-2-carlos.bilbao@amd.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: BLAPR03CA0026.namprd03.prod.outlook.com (2603:10b6:208:32b::31) To BN8PR12MB3108.namprd12.prod.outlook.com (2603:10b6:408:40::20) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 12fb42e3-6d10-4781-7533-08da172b83d8 X-MS-TrafficTypeDiagnostic: DM6PR12MB4252:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: l2Wtz4mfaRmXvbLf4tsBlVUeQN+RKAL1rXR1EV+IrlWI2M0MdzC/Ss5GvVAPpll3aO7FxW0gq5F14wspmC79MQjbNXcZUJ+dX+q3gIP5Pr0aEE/5Yzbpri00pjBxm/WHf1oE3Wil1j15HjUzP4jxygWUEAMnX4/1ePzsB2YxB65JBkuFRiYbAwT/oRx1nmrmDoKNoqyrSYHBpCkf2FcJWahkLDzywshKt9aY4WSddvG84ah9opS8EEoZN8b1gSuMLsrGQVnEwlPjTW/QzITXcp3nb0ajIiAq0y+DNLsVZiY9gA7wPzTOXZQfxCIpZSYwlWdDycu76WQ6cFhtZf0Sxt2Frh8m0XzwHRCY0lTd0zo4jfp/ppewwmaj8XPfHWX2h9oUQlgHRMTdm24L4EKrHOj6bELJBnYGSfxjukvpHxPUOd2MeyJI9bWOQteMcEXhuG27PrWf3+6Zl1/4pdCGMeIvtxAU6G2vs1Jz8hd0WlPBJNcJreszvEh6kd9Lt+OkgrlHmXRr4Y74lwq+k7wgUBUhxA6Uo1wLreR1mDR25O4xYVPUZcy83B1y6wnKP+aEU1kRa7s5YR4APJ+LXnDxnQLOTzK2auFEyZUp6XcNQsvkhSPUGncp32V0eIBuJnMcwxU6kc970Vd+nzEqmbS7Ng== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN8PR12MB3108.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(7916004)(4636009)(366004)(6636002)(6486002)(8676002)(66476007)(26005)(186003)(66946007)(4326008)(66556008)(508600001)(6862004)(316002)(9686003)(86362001)(2906002)(6506007)(38100700002)(53546011)(33716001)(83380400001)(44832011)(8936002)(5660300002)(4744005)(6666004)(6512007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?wp8R3/I+P/r8ymHkilP0dMKkPlXCh4FUIVLwVRFLS9yzzKzLXyWSYoxa/dun?= =?us-ascii?Q?xNC7OvrbOb7rEPWLjpfauQQ19A9BMv703CH04LcyGt7aehfTjf4qREKiu166?= =?us-ascii?Q?lj1IWnU6zft+yZ6pKYTGBlRoqQkQhNR7kPQ3busyHAie3+LSImhvdAd57S6n?= =?us-ascii?Q?TNvOUktt7iV8vs8JJUu1MtbXb025RJAuVTGfYw1X9XU4nAU2scce4zwqMMTE?= =?us-ascii?Q?p9s02TOPfA0eipUt1mcbQ1uKjjhdqLo3j0hydP+p7uIiddB8CI0H1ZBXdtcD?= =?us-ascii?Q?HFX2JUmR4AyRPM3qzfEYzwhwwqK2nP2Tl9YewZ/ABLvHJwnHN0gj8Rb3Y06a?= =?us-ascii?Q?4ZBPhsqxmBvCYb6NI1MjtdUkyaeaf2Hd32w4asEhRhPyj8e0pAfC7EbsVDbb?= =?us-ascii?Q?Cb2+guRqOaMHMxR30noz7jNRwWTq+A83FhzWcE+KTPhbRwOUpcPXvqK29adE?= =?us-ascii?Q?32191C60+aebLxMlRUn19m1EDXJi4NQW899jzP0b8IBqkhGPQ+yThRPb3YIw?= =?us-ascii?Q?6oi4qJ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2K+zSI6?= =?us-ascii?Q?KlNOOonpV/iXee+dxygU+EAfYWkFRosFkJpxTfJ22M48McFACchfOkA4LPxE?= =?us-ascii?Q?MctvJlz0s5AkIGGtpCI+qecQ/m4gow+sv3s3viiT29GNV7rQ2uDupnWyM/xl?= =?us-ascii?Q?8ftEAyIUPWKKwbJPuXXci+D6h8cSjH61WFg0UbVGcOvkAg9sNCV96kWeXb+5?= =?us-ascii?Q?oMCJJB2br/AUhWWTXQEbV0kJAT4gcuHN/WsJmvK5zLX41WEj3O2KPG28zjxB?= =?us-ascii?Q?ZoMD1i1DTtZzdUYGsSX2OIRWUj+By1YdQjG8inNZXnyHlxVRXIXVvM67Ls+S?= =?us-ascii?Q?9DXwQDkb8A=3D=3D?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 12fb42e3-6d10-4781-7533-08da172b83d8 X-MS-Exchange-CrossTenant-AuthSource: BN8PR12MB3108.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2022 17:41:29.0473 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: V1K7wbHUquIhfHAaLhaCLxnvfiHufGoLDgdiuTrjfQEy1ZYgeKIncsQ/ujAKLR5QdlY+LGY/2jgCfjjuf9K8Gg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4252 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Tue, Apr 05, 2022 at 12:24:31PM -0500, Carlos Bilbao wrote: > On 4/5/2022 12:18 PM, Yazen Ghannam wrote: > > On Thu, Mar 31, 2022 at 11:38:49AM -0500, Carlos Bilbao wrote: > >> The MCE handler needs to understand the severity of the machine errors to > >> act accordingly. In the case of AMD, very few errors are covered in the > >> grading logic. > >> > >> Extend the MCEs severity grading of AMD to cover new types of machine > >> errors. > >> > > > > This patch does not add new types of machine errors. Please update the commit > > message (and cover letter) to be consistent with changes made between patch > > revisions. > > > > I'm thinking "cover error cases not previously considered". > Please elaborate. It seems that all the cases in this patch are already covered in the existing code. This patch seems to simplify the existing code. Thanks, Yazen