Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp964014pxb; Wed, 6 Apr 2022 05:28:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5PVwY9J8DHW7MsCbIUY0/wevGHnL7ow+tvf9/Kfk0c4M3fYTk6Lx33ycPzVlnYWwTZGhg X-Received: by 2002:a63:8ac3:0:b0:398:9e2b:b85 with SMTP id y186-20020a638ac3000000b003989e2b0b85mr7042724pgd.32.1649248106686; Wed, 06 Apr 2022 05:28:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1649248106; cv=pass; d=google.com; s=arc-20160816; b=ZWbQM0fKJ3HqlhLUEbBZflRsapyfmEOczroanBeiBFsZw6V+nFHDKjEPPO6cxdanQS onhrJQIdvqtVoY+fooQbt3ToyMbum8AmbWH27SEnMhL49hpBmHg1x7TUEvjZa9t62q8N aZrMq5eisVjs9Goj15ApQDmP+8YRYfoNE2+Yii58Gw5iaeG0GR8WdCYPNXIUO/M6hn4n 87VunJP7adEnfi1ZOu8wweha+hbvIaDleVoqQlNP0Ny3UGiIjYguKY3xv19ySMjqIzH6 FvrzpCfHgtvvUIf3apRpQcoIoCimWJvRU/YPA01xiz67/86fsDYvt4CMdpJBDIRDCTOp dmQg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=JV5+lWivMPFDqC4arQv+GIJdLRycJwGHCA3ijOG52WE=; b=MYukco2z2xEBu14mP/egdruhrDvYvjrjex6TH4bSIPW5G3jm4tM0HXg2LrWCr1QSCl bzNVJo+dJvp2dXGjD0r9hUL77d8K4/STtzUSAIWIrAzDl0c0Drz9G892Ci8P3LH0AymU cAvXksSFJg7/QOD6xATRzi/BByX/xUWeu/Rcy6oAfMlMtkD6fymMbzvs/3lKeeQ6FeIh O1Xi9gILDDiecpJ8F5OHUwM3ip6N5Dapu0VMonhqqKqK83+tREdifzjfsmcfnmyguo6i jCUVkgafk2oftwabRJ8VNnzkxK0LXU6lfI2d+P44E2qJ79BHU/GuEQDC97n6lGqD/v4Q pCKw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=oeR6p8jm; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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. [23.128.96.19]) by mx.google.com with ESMTPS id f29-20020aa79d9d000000b004faf1d84ebcsi14745066pfq.279.2022.04.06.05.28.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 05:28:26 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=oeR6p8jm; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 C2D416F6491; Wed, 6 Apr 2022 04:39:18 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356474AbiDEUXk (ORCPT + 99 others); Tue, 5 Apr 2022 16:23:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1573043AbiDERsH (ORCPT ); Tue, 5 Apr 2022 13:48:07 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2069.outbound.protection.outlook.com [40.107.223.69]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89C94D1110; Tue, 5 Apr 2022 10:46:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EtZRl8iVobZMicMtSM+FjcBsCK8kFJPzPaPragrhKwPDhm7VbhoDtjbl7Ioj7Dcb41OR0iBZXJi1KUAbWRoc3nsGozvQG0TMbuZnuzYbv0q3NXMfbpwhL3j4kYTSMSZdporFGZwnwIvO29DeDfO2jAmqVX4clKrwkzvj53HujolGizqLSSufZ1asUxJaPQF77PTRCGKubCNogmTbWxIuiCnxcD+uHZayD8aKRtBtp+LjDqm0AXegyK+W0ON/91aXUtGNPm3InEpOtBd9OgC9PvnM88+jseLpTDQLskIGLNfhRwSbG1X2d8EuzGt6d6+ysFS6NIpZ3VNJmxLhHABBMw== 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=JV5+lWivMPFDqC4arQv+GIJdLRycJwGHCA3ijOG52WE=; b=n35ILqQ021Xvq7yW/OCvplSUn+UOF9Zk2YQK81HEajj1186QpnCgvQZ4hxSF3ErTnr8g2rg/iIDPO5f7EzErRyDiuf8UZ1bqvNBmfOmtltvkCO47SsDQBkd5DSkYCmS9etrX6pvw3oWzMMmOPaVfHXWjiUX7YkfEPk8GAfn2QwCZgub1RJ4EjaMxM6pK1qHA1ULUMqhdRh8HavJ0thGHx/hmaFspamL33IVtlRDJ92xSZGYLjOceprCdNR3/s18pHAZzya27OxJkA5K2P6ByN3Mpy2puFm/HMXVH0dJ2bLCV6qGmYzSO2hukrqvVccqdk429rviGl4ZDtgA2cqbAbA== 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=JV5+lWivMPFDqC4arQv+GIJdLRycJwGHCA3ijOG52WE=; b=oeR6p8jmmbXgyqSAXDZavF3vUXfnwcgPkOcJkhQhxaPyCc+hhtBhKicLmSXAU2Wu1MRozUUNIXJwX9WR1Gvv7m50O9F0bcZZyZ7aZ0xM4A/PhLY47vSB0aIX+PJUZAVtRw/R36grUT0qQ3u5zH+KqJ3v68Dn7JiUcMSzUMM4/cg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from BL1PR12MB5874.namprd12.prod.outlook.com (2603:10b6:208:396::17) by MN2PR12MB4486.namprd12.prod.outlook.com (2603:10b6:208:263::23) 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:46:06 +0000 Received: from BL1PR12MB5874.namprd12.prod.outlook.com ([fe80::981c:a9e4:48c:e82f]) by BL1PR12MB5874.namprd12.prod.outlook.com ([fe80::981c:a9e4:48c:e82f%8]) with mapi id 15.20.5123.031; Tue, 5 Apr 2022 17:46:06 +0000 Message-ID: <495705cc-be0e-9eba-48d4-231f851354b0@amd.com> Date: Tue, 5 Apr 2022 12:46:04 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v2 1/2] x86/mce: Extend AMD severity grading function with new types of errors Content-Language: en-US To: Yazen Ghannam 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 References: <20220331163849.6850-1-carlos.bilbao@amd.com> <20220331163849.6850-2-carlos.bilbao@amd.com> From: Carlos Bilbao In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MN2PR07CA0015.namprd07.prod.outlook.com (2603:10b6:208:1a0::25) To BL1PR12MB5874.namprd12.prod.outlook.com (2603:10b6:208:396::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b4e4ac35-5344-4b2a-c5c4-08da172c2947 X-MS-TrafficTypeDiagnostic: MN2PR12MB4486: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: ISFM7SJ8vBtLlJWKOe8SkwwLQdjAPCjjAbY4IZqd26T+kXXyk3h5ob6q99x/b+6Fc35CdT2ZlxrhwYlu1cJZr+JeSpe11WlPBTRe4+Dd+KX2PK2nS7ZAuFbw63+QfXHJ7iaf81dRqGB78KnUtnjVI9qBuQ55Y8QPVgL8sWGglCjRg9KPXO0KXLNBzEihtY/v9k0Tni6VVQHv0bC/Bu22FxJmxwezn8fmvbg9EFv64H8RGURVTnlflshLz7L4JcG6NtpT+6zk2etZW+33WkxqSNgryzOlrouabWlG/kOitLCnS2fqoCAXG5150P9wsAGAy9TI9VNuRh5wJZHFcZLnNF0tFdzYwkqes9D2bsq1IjDhgdq4rlHKHpaNzCBK3ungciC3vChNDXHNBTZhGMc5WQ84tq6XjnwzVDyv2buWNn/3jOQvpGiUhgc8Ra7j12LPd6HIZ0xPOIXM+aWsq9bX1jV8zzmcJFY7PIKY7ZJZhIjSEYZLGcMc0XsdJaXxIe74Pey/+f7cc+iZqjauskqiDFY/K1SghLRTDqhgPOa2eGyB0lwFFg1f9SmGPwn8MJs8jNKgoTwrrmjl3aOBQQLjrKnQLBpIRcn1eWF8IRFBQ+VsZpA0+YPWHHdmF9tuQTzCYkIpTDFbkt9T5MGFiRpN98EbhG4qx6Tm3jcFSl16aTHL895lFGpNtNvY2pyTfzGklRW+9BLWSOyPduxuKgg4ENN8rSwpmQ9DPdpUcSD7E97cP0pFWHDxgCtXsHSY8rfS X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL1PR12MB5874.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(53546011)(6506007)(6512007)(2906002)(6636002)(36756003)(37006003)(316002)(44832011)(508600001)(38100700002)(31686004)(8936002)(66946007)(2616005)(26005)(186003)(5660300002)(6486002)(4326008)(31696002)(83380400001)(86362001)(66556008)(8676002)(6862004)(66476007)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Q2xtd1RXallxdzZlZUVYL2RmZlQrd2dBNU8vVXdEZ1QzT2U1VFQrc2htRmlK?= =?utf-8?B?OWdIY3hWWmR0WU9NcUpVQ28zWDZLcFVRMitVR09GaDVseG4zd3RYZkM3WWhy?= =?utf-8?B?WkR5QnFweWU2ZFIzZHNIbklIbHdsWjB6cENFSHI4cmRNRGlzRDM4Zjc0VlRC?= =?utf-8?B?RlJRUFo1Vk5ZTFlRVUEwVWdqNEVCNS9HOXc4UGt4TWk4cm9HTnFIUHM4SWVv?= =?utf-8?B?SGF6SWp0aEpZT1h0NUpLRng5bk1RazNxQmp3eDVYU1FOMVlHQTZJaGZFVjlr?= =?utf-8?B?UVpSOHIxdllQUUhBNUNkL295L3pTNXg1U2dpbkcyTytiQXpQVE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hST2JXQ1pwNTF6Slhu?= =?utf-8?B?WWlFYjJTVzhDOUxtNG5jUk1NaGFMc2RNUXJDT0ZTU0JSM3ZUdTkrY3NaRUxy?= =?utf-8?B?RjBlVnhaVmkvOTJwU29SODZzejg4QWYzTmYxTmNnSUJuTzlqNHBXTnd2VEVT?= =?utf-8?B?UDgvU09maExGZFVyMjhRdGkyVkpLd3RIRzEwMjc4dzRsMUxCQ3Q3QT09?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: b4e4ac35-5344-4b2a-c5c4-08da172c2947 X-MS-Exchange-CrossTenant-AuthSource: BL1PR12MB5874.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2022 17:46:06.6622 (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: 1QIRfoIBNXQMXDixNgxKJwSLM+30Icx2ulmokqoeH8gUmTkxClbph1vmjGA0AmSKpoJgoizuSJea39bO1AHhvw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4486 X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 4/5/2022 12:41 PM, Yazen Ghannam wrote: > 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. > You are right, will update. Since we don't "extend" the severity grading anymore, i.e. will change commit message, it's probably best if I send a completely new patch set instead of considering the next iteration v3. > Thanks, > Yazen Thanks, Carlos