Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2946074rwb; Wed, 30 Nov 2022 13:07:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf4yU8xj6tB55e3T/thscx6PzHXwZuYrdKXpMUW+57mTvjUYJiKPgE2npdnyJExobZvDH6uy X-Received: by 2002:a05:6402:910:b0:468:74:9668 with SMTP id g16-20020a056402091000b0046800749668mr39435923edz.394.1669842451143; Wed, 30 Nov 2022 13:07:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1669842451; cv=pass; d=google.com; s=arc-20160816; b=Xh0Wiu+fI2wDGaeYscunb4niC67PC8NZBK6NZAAGv3kjepCxwJmopn2yFV+LLci8VX /gxmOVaxNbdsiz4ti7yW9k89to0xiumRQPlGOeqL34HFaQqFP8sEUR/mUxz+oVhlcBdY 36qw3NLb+jgjOnNrE6+/40xBkffLcRX3y+3aNnBCaYaQvIr48OJ8Y0f71x1bZ0HsYJFK vaoiNRDcnJc2Xh7jbLBA2EiQah+l0h/yvuwNW6cLDn22LHgo8/TFwV804u9kHYeUBLXR /WmzEyUWWdQarq6MoDZ/PzIG1myHL5AFxEq2MCOwVm5WF1jX3vd2l7HX06HRUKVqaH1h iOKQ== 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:content-language:references:cc:to:subject:from :user-agent:date:message-id:dkim-signature; bh=j+8yQpp/15187et8ZalSLQdRLjmahK+MxKnHDjatUd4=; b=t88TgG8x5MFE/2eCxPEBg7x8/LNV//9nBYPhXucEjS8Mrttu3O4B0xjBUNo8O67HKr FWuTDrYsuYTeZKzk8mngaMi+FtlwdBg/HGgrzGSbl2Xr3Cf+7cq6LbS/kVEmDHW44lvO zwzJwIiOvFriYBpqPp9VgOke5q3QdvIZLaPFvYyf6SVMz+oY2iSEBF+NRgQdcYV+7pAy 89GoQ7yBxsCKw3Lr1ogdPW5hNewOeIHvgIn2DsFYG9H6SL9YdqEDATvEMmjJOHq2WyuD 1yVOd2JpbXxywt/l7j3kQaxSbbrDlEKWhO27MAvyEjXsCM8qZ8YDopkJ0Y3jX9sFc4Lr sYYg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=sDcDMbUG; 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:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sz15-20020a1709078b0f00b007ae743c61efsi1771476ejc.1002.2022.11.30.13.07.10; Wed, 30 Nov 2022 13:07:31 -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=@amd.com header.s=selector1 header.b=sDcDMbUG; 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:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230117AbiK3UXG (ORCPT + 83 others); Wed, 30 Nov 2022 15:23:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229769AbiK3UWl (ORCPT ); Wed, 30 Nov 2022 15:22:41 -0500 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2047.outbound.protection.outlook.com [40.107.220.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 708CEDF; Wed, 30 Nov 2022 12:21:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eFS5bYGoaUfI3J18Zz4juOOL0p/jY0uq9ShQZuvAcXQgXKsORzE6QoM+cSPZmlCTyx7e74gXoP1UZk0xLxKRA3vEVnYlqER63zrJCXCNxI8nt3Zd9iF7e+tSrosjyXvpHn2OVLJGi+IITBRsE9AxosWvQ7VvdRL9C/ctwbN+pirV9gN3ubNqGEA36BnG0LVXE2mj4XgLZ7sE0Z2wub7z3oWKGk1zsnefpdydHDLIQ43JE2hqGFZyE94aYOxiaOBWHcSDpOwyUzda4CheYDEUmm3/Aa2jGA15aWMvdHMveDf96znkUfF7HVdg1kPaTJQhExA5Aw0HtKdKRkbyxp7d5g== 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=j+8yQpp/15187et8ZalSLQdRLjmahK+MxKnHDjatUd4=; b=GuZvzq5jw5h3cuVQvLtvT/cmF+MRnck+R413FFC8eGRVM2LTrG2DpVsVP0XEXexuHfU8otDPRcbKu+n0Y5b/goDzbeb6TUzvLEJ9QVujIbrnuBD2bYvFloD79C8AnD15f1ZNvm1eLG4WY7NzUgopCEnn4TmEXvle4AwhMgst8422Ucu+O2bu/ouWO60pV6o62/rRXkkWNC2fW3pcgPobtJQJ4gDD99ICS3G9QBjLmM//mGA2FR+nz4kowU44Jxt8YkrwM/N2VYQBciopGqc01yra7KssS4IWCPmlenEPLtqrneVfYZ7xSgIO6IR44gN+D7hUG2+/SezlCxG5XO4F3w== 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=j+8yQpp/15187et8ZalSLQdRLjmahK+MxKnHDjatUd4=; b=sDcDMbUGpZ5cawWaT2chcr3E/O9CE98w4sXKnMs4r/M3OsHhY6VrXKmpavwNsS1UMEMObXltbwnJiXLJuc78atl+wojIPxaRwg5wUKrWAYLXl1I49Ld8dRLGJuQEyohgKdALySTIHJNztZFP4wogMgoPHiZxD8Ldgqk1T31IyU8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from BYAPR12MB3270.namprd12.prod.outlook.com (2603:10b6:a03:137::31) by BY5PR12MB4998.namprd12.prod.outlook.com (2603:10b6:a03:1d4::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.23; Wed, 30 Nov 2022 20:21:02 +0000 Received: from BYAPR12MB3270.namprd12.prod.outlook.com ([fe80::b770:9062:384e:6908]) by BYAPR12MB3270.namprd12.prod.outlook.com ([fe80::b770:9062:384e:6908%6]) with mapi id 15.20.5857.023; Wed, 30 Nov 2022 20:21:02 +0000 Message-ID: <34cda496-a942-8f66-c968-cf9f06a58efc@amd.com> Date: Wed, 30 Nov 2022 14:20:53 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 From: Ben Cheatham Subject: Re: [PATCH 0/3] ACPI, APEI, EINJ: Add new CXL Error Types To: Jay Lu , linux-kernel@vger.kernel.org, rafael@kernel.org, lenb@kernel.org, james.morse@arm.com, tony.luck@intel.com, bp@alien8.de, dave.hansen@linux.intel.com, jarkko@kernel.org, xueshuai@linux.alibaba.com Cc: yazen.ghannam@amd.com, linux-acpi@vger.kernel.org References: <20220729153550.181209-1-jaylu102@amd.com> Content-Language: en-US In-Reply-To: <20220729153550.181209-1-jaylu102@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: CH0PR03CA0033.namprd03.prod.outlook.com (2603:10b6:610:b3::8) To BYAPR12MB3270.namprd12.prod.outlook.com (2603:10b6:a03:137::31) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BYAPR12MB3270:EE_|BY5PR12MB4998:EE_ X-MS-Office365-Filtering-Correlation-Id: ed89093f-3329-4564-94f3-08dad3106696 X-LD-Processed: 3dd8961f-e488-4e60-8e11-a82d994e183d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yeLH53wN5W+7RkHouEd9fFb3d0ctbU0gd8wIzf4KoB66ESrSm3TkfMaiQfRsc6tpTVTXkpIc0TMnz5BGxdkr8xOnE4vdVONYj8QZSCwrbXF2rqnjYkzJnr3l0F7Bw9GDpl/fgkurLzqif8CNhsMZmRJryvmrXGILXPugOE01WijvLDnRnjWdABhf984jAG1oOq/bj2nXC+qplkxYzDqzj7iZ/yInTL3dnhZpT7MFN03b8bGuoepzs31DI770ExghHE30SsFeKS2ChDhfr8s/aJYZXz/JCMbECrYYohxcJaGRT0/iei0kuYQaN32guEoP6eZVGsBLG9obHIQeY+ZWXDQByL4E1ODtG+EtagFfk7mtTIwx+EjgZvgEhFTpBLs5eUM4CAItF/6Lbx0eMF8L2zEPqAyemWYrFj1rguqWZIxMgzVsvXVDJhZAkbiFMw424ROrggIS337Dqn9xglsaLNXZRfmkMvgw0yaTGakiazn1wocB7KWkOqYJoYdpjSIMBgmLBIedqYd6qdnDkx/gU4xyZK1m3w7/cHbkoY8DbdRXlQAlzRw/sMshpqaiQKwF9bY6stEcP1crqywgBujHCFMm4NgFvt3/4XjUc4si6FHgqOVSdVodomtWcDMcT1qXjHQtlAIKlMYBnGa7q24ENc+W6yqw2ZKhSvOtC6DQNs7PBWre3dW+nsjxImMZadbNL9kIaMb0HBSMluXs+MtBMAgWHTxfQDnajdVBcqtTb0Y= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR12MB3270.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(396003)(366004)(136003)(39860400002)(346002)(451199015)(41300700001)(7416002)(5660300002)(8936002)(4326008)(66476007)(8676002)(66556008)(4744005)(31686004)(86362001)(316002)(66946007)(36756003)(478600001)(2906002)(6512007)(53546011)(921005)(31696002)(6506007)(186003)(6486002)(2616005)(83380400001)(38100700002)(6666004)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?M09ScnhBRWc1N040VWdmZU5QdG5XODl6bDRpeHBwVWJrWXd0Y3FFSEtzNWRT?= =?utf-8?B?SUJjUVhRcnE4THdDaC9OQ0twY1hyY2JtcXYveHozaUtsaSszR1BIdDRRU1cv?= =?utf-8?B?cnJHVTU1UUEzT0NoUWVmWHI5NDZXVXp3VmNzNk9QZExPMVYwN1l6RnZpWDJD?= =?utf-8?B?cU5yYWk2U0tQM1RvZ08xcGR2bGhWNlB0Nm8zbzZVRmNMR2VSQnJvVmtEcWVW?= =?utf-8?B?amczb1JnQVI3ekhZN0l4VTl5bVFkVWxQM1dRWEVjNEZ4aVRTWk16TGtlbHNH?= =?utf-8?B?cmJoa3VlRFd5b1FheVdJeVc2WGVFVm9JWEF1Sm4yUjFLR3NjbVhlSVFoaXk4?= =?utf-8?B?OHYrWEJnbmdOWWVzZG9Oem5TYThmNTVoTm1wejVUMHoyU2dUUDJnSDhSZncz?= =?utf-8?B?UkdjZ0VaYkpwUVRQeFh3WHVGZl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ed89093f-3329-4564-94f3-08dad3106696 X-MS-Exchange-CrossTenant-AuthSource: BYAPR12MB3270.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Nov 2022 20:21:02.2147 (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: /wtkbtEQZ3JraNEB7hmVVU3bbh8b1wRDlPCkEUHt0Ldse7SekxEPC5RFPrPPSJNTB+Tu/htB+DplB1clbIVQPg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4998 X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 Hi all, Jay's internship at AMD ended a couple of months ago and I was asked to pick this up for her. I made the suggested changes and also have a EINJ patch given to me by Yazen that has to do with this one so I'll be adding that in as well. I'm still waiting for a machine to test with, but I expect to send out v2 later this week. Thanks On 7/29/22 10:35 AM, Jay Lu wrote: > Fix formatting errors alerted by checkpatch.pl, including missing > lines and indentations to clean up for following patches. > > Create an array to store error type descriptions for maintainability. > > Add new CXL error types so that they are advertised. > > Jay Lu (3): > ACPI, APEI, EINJ: Fix Formatting Errors > ACPI, APEI, EINJ: Refactor available_error_type_show > ACPI, APEI, EINJ: Add support for new CXL error types > > drivers/acpi/apei/einj.c | 62 ++++++++++++++++++++-------------------- > 1 file changed, 31 insertions(+), 31 deletions(-) >