Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp9242086rwi; Tue, 25 Oct 2022 17:22:44 -0700 (PDT) X-Google-Smtp-Source: AMsMyM41BZs+BbphtXjuY7F/YbJSgjLb0FNqD+2i2D42jCpdyfnxTpsIr3AahoCxpdh1zmt6o7wH X-Received: by 2002:a63:db42:0:b0:45c:9c73:d72e with SMTP id x2-20020a63db42000000b0045c9c73d72emr34190078pgi.181.1666743764085; Tue, 25 Oct 2022 17:22:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666743764; cv=pass; d=google.com; s=arc-20160816; b=ZAkdn96Ud2AdUTg3pVs2C4XWiN60ZYOn1ZiaWpdlprF4pW2RjMEqRvqiAny5smCKLz EZYEsH+ow55PxfoWOePsVuUXGXxT2/JeTRIBuoVb1CFVyMiSJ8fnEFSDsyzt1zQbYpm8 IAmPkQjhS2zR6/RheRKESLWGKtT5EiJkHbVm1IqLgiXg3qjMdc+Y/Q9lVXzdg92NOJoR 4C2mQBeXXzLejHSkSI4ved1WlPM3jP0i+S+aPUkvfA5WYeC1SFVornZKeMTkSnWD6bW+ GJIWC/6+9xkSeB8/G1BBmezfLKT/SA2021aaKOrhN8TMv2ZQBGnLB7mK873RdMvo3ndg ko+Q== 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=NhfvWRkfUq1BGBcalWKl5s7d4WBpxkPQFvx++oTpJto=; b=rXl3SffcQhz/b3fpCZmlluH2btV4NDzINq6+SIdFny/cq3p0qLDjBjFqgcZGBS+IBO AAksQsdHkUOdhisHqZ6TjaoWn48mB/zJ6lKOqDVxfnveovBCpd0mauq/zv448fUU/htd llTY96/qxlic9AHvGJJhGqZIN7/vN7xpZO1YPqwCn4L5r37mIVFKjBMwyZroKKLUbje2 wkqVL3fGxvhVSQGRAmJuhVyRxK7rT+XB74KUGmrHM3stoP5K/f/o7Tkpx8VbrPXo5QXB AETp+nor5uwf+BEhaULdVuDsA1V0cHcHiEmD/PvBxAzAyOWFraB39djLk+gZMzETv9jL r7XQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=iNJIWlBy; 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 i2-20020a654d02000000b00462f17e560csi4878281pgt.878.2022.10.25.17.22.31; Tue, 25 Oct 2022 17:22:44 -0700 (PDT) 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=iNJIWlBy; 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 S232977AbiJYXzk (ORCPT + 99 others); Tue, 25 Oct 2022 19:55:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232960AbiJYXze (ORCPT ); Tue, 25 Oct 2022 19:55:34 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2075.outbound.protection.outlook.com [40.107.223.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8804151A35; Tue, 25 Oct 2022 16:55:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JohEjFNC0AltGTegJ4llLRzc+0Vi1LrX966+T+t/o8rR92fZodblCJZzQCf97uW6IE7KP7xWQppkkAmeVaXIwJK9h7S5O6DVcWfZiX3/ibOL3wmq2FVVCL4o0pbddNwm5ZHLPKZXyyhu2mlYRyYXL3xUOhDdgEkgiNbt2qBfom85F6TaEWEQg5ps3jRQfozV0F17jV64A3cWPhX2fRszjlOTRHREf9L+tt8a/cggJhyVGp5SfhBPm+ID4kZgIPMH9irUpo4F7E1MNTMzfRdwBY9hlpHyqYTZZ0a7xK/7oYT5x19lFgcbNwiHX+ZI5WQDn0D5k/Pja6+QMaID3GSrAg== 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=NhfvWRkfUq1BGBcalWKl5s7d4WBpxkPQFvx++oTpJto=; b=A8+/jkcBKUT138YBitY4buKCcUFd5epDA1cCHAHy9NhjX5c8Ag1uC/knrFchkCBQqOb6f+567tz8jHRCZMuixUqS9qCzt5EJg58UaDsJU/AYHvqZ9ZK2IcVpbB28EeKLydfveAl9dfRRnX5C1G27slUMy7YUMw82y+uMu05jzmay84PqwrtDXCiW9KuLtLUgihr5SO1615hDPYRxM2euvsXhvn8B6GPdNZ1vomgbsNnJnZzRv2GgLuLpg8vH4un+X8xlj8mS87vwJcTA6IVmBeMP6E6hkBpv9vKnS6yPLif+RrgOZiCFp3LPMGfjWqCg3ri8WMIYtuQqvebhTQtT2w== 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=NhfvWRkfUq1BGBcalWKl5s7d4WBpxkPQFvx++oTpJto=; b=iNJIWlByPRNVYjhJ/uzEStezuQIS6uYNn7Hhvtkwtg3t/nTHwAlEa2SMl3r0OikCCK99sL7yhCKmo4+5ThkUEmvP+c/9akCppdAiTZ37pTZlEf1cwJh+XFFutmQXHLXbmEE26S55lv1lZZL7WiGDPN9W2gHHNTDydMQsNqmhTlQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from BYAPR12MB2869.namprd12.prod.outlook.com (2603:10b6:a03:132::30) by MN2PR12MB4320.namprd12.prod.outlook.com (2603:10b6:208:15f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.28; Tue, 25 Oct 2022 23:55:30 +0000 Received: from BYAPR12MB2869.namprd12.prod.outlook.com ([fe80::ea23:1c31:9580:cca]) by BYAPR12MB2869.namprd12.prod.outlook.com ([fe80::ea23:1c31:9580:cca%4]) with mapi id 15.20.5746.028; Tue, 25 Oct 2022 23:55:30 +0000 Message-ID: <151c093f-1e92-1c8e-957b-8781e488626a@amd.com> Date: Tue, 25 Oct 2022 16:55:24 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 0/2] efi/cper, cxl: Decode CXL Protocol Errors CPER Content-Language: en-US To: Dan Williams , linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Alison Schofield , Vishal Verma , Ira Weiny , Ben Widawsky , Robert Richter , Yazen Ghannam , Terry Bowman , Ard Biesheuvel References: <20221007211714.71129-1-Smita.KoralahalliChannabasappa@amd.com> <63531a9dd51b9_4da32946c@dwillia2-xfh.jf.intel.com.notmuch> From: Smita Koralahalli In-Reply-To: <63531a9dd51b9_4da32946c@dwillia2-xfh.jf.intel.com.notmuch> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: CH0PR03CA0119.namprd03.prod.outlook.com (2603:10b6:610:cd::34) To BYAPR12MB2869.namprd12.prod.outlook.com (2603:10b6:a03:132::30) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BYAPR12MB2869:EE_|MN2PR12MB4320:EE_ X-MS-Office365-Filtering-Correlation-Id: 67fe08bb-7494-4992-4b7c-08dab6e46581 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CYwXLBqEbd7ZSCz42dNepz2GKKdSE1kZyhxFUv7GfxO12qoksUEgtU6M7oVeXWz57gqk4Ag5V/H7J1iNuAhSEKhRwnSyFRy0psvueBDYTxjojxiOicOtkw9eL5Y00ADQBvRV7i7n9COXaAuNUaS9r+epkxLLNSeRRogknQbYYyUl7qkA5wpFU0VDpYHLCvg/CU4qBPE+kdy5EvNMtneme+MCLYr/jU9D9cXjJVIRqHxrGLOrEk00K/vkTDDa0uD76276sHfT+d0++Pf0bP1aTN9QvpilHdeXUnGK6Ir65xsmbswEG3Zqv+P7bsyX/zODZBksC/CgbNEwjB5kJ9DGVZ9QIVfVVvrkDaaQZl+cMUz2abdSfTYhdQFgQFMf4vYM3/Hl4uokE4NB9EDcWBUqBgQgVDzBUp70owuSncx5MEc6Atuk4nX2B6ApcG9bD0nKZTNjYUe2JeGLCPKF3VjiEjbE+B02kCULm+k64PEHCRqccNKD+cjS8QhnVMhHZ7NeV6xKfP3QMEvFm7blofuXy+gIdCnVuvtZxRaAr00UcgYB0ybvzzmbNzt49UCJtgkcCmmR/hMinLKd9BQC9dG1TMa8Kialv1fMbsoJQ48GVNCvx0/nVqFw2gpoJ4PINZIs5Aq1JvEYdCEuvf4yTluT1Oj/Zxf1GGHQryG/CffpDuwcv26iv6P+x+cwOjHJ6zFiN9ae47grgwCE76BI83RfqoS/pxdJTvJeHFlZKDULn1Iztkl5c2qy22WwgPWSA4fBL6sR/GOBz5WG5OMysZhWlTFrtUsRS2CTdspJozowwiQ= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR12MB2869.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(376002)(39860400002)(396003)(366004)(136003)(346002)(451199015)(36756003)(83380400001)(186003)(2616005)(38100700002)(4326008)(66556008)(8676002)(66946007)(66476007)(8936002)(41300700001)(5660300002)(2906002)(316002)(31696002)(86362001)(54906003)(6666004)(478600001)(53546011)(6512007)(6506007)(6486002)(26005)(31686004)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?N2NyWW16UDdUQTVYei9SMjA5Uk9wcEhmOHdVNGN2NHVEVUNRMWUxQmd4c3k5?= =?utf-8?B?ZGMrSEZOaEMwQmxrazNoUFV4TnpMTVpQdXJXb3pmckozc1ZpN3plaXVYWXNw?= =?utf-8?B?M2NFRzBKVG1WUEhpM3FBNU5CQ3ZqQ2ZZbDVzdW1VM0J3MWtPcTdhbmExa00r?= =?utf-8?B?czVFUjQyRXFqRnNkeStJbStXc2xlL2w0ZUFNQ1FtUzdRd0pjWjVSbGFIUlZ4?= =?utf-8?B?Nm94ZVpLYUVGd3V6SWhkTFZPWkFYQWcxSFpPVEw2QkVib2orcjVLYzVXTmRC?= =?utf-8?B?WEViVTNBb3FrN0dpVXRERTNadExDaTlaMSs2bkVRV3hCb3haZ28wSk1mWkhW?= =?utf-8?B?KzdNQ1Y4U3F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fe08bb-7494-4992-4b7c-08dab6e46581 X-MS-Exchange-CrossTenant-AuthSource: BYAPR12MB2869.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2022 23:55:29.9523 (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: UX4L0azO91Rr1vvLmjiwPAhMk3k9T9NyZdzEKrWqc5OtgKUZp9y+Q4CVe/wfSDlYQP4+3GFLz5fML8Sx/HtFYw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4320 X-Spam-Status: No, score=-2.1 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,URIBL_BLOCKED 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 Dan, On 10/21/2022 3:18 PM, Dan Williams wrote: > Hi Smita, > > Smita Koralahalli wrote: >> This series adds decoding for the CXL Protocol Errors Common Platform >> Error Record. > Be sure to copy Ard Biesheuvel , added, on > drivers/firmware/efi/ patches. > > Along those lines, drivers/cxl/ developers have an idea of what is > contained in the new CXL protocol error records and why Linux might want > to decode them, others from outside drivers/cxl/ might not. It always > helps to have a small summary of the benefit to end users of the > motivation to apply a patch set. Sure, will include in my v2. > >> Smita Koralahalli (2): >> efi/cper, cxl: Decode CXL Protocol Error Section >> efi/cper, cxl: Decode CXL Error Log >> >> drivers/firmware/efi/Makefile | 2 +- >> drivers/firmware/efi/cper.c | 9 +++ >> drivers/firmware/efi/cper_cxl.c | 108 ++++++++++++++++++++++++++++++++ >> drivers/firmware/efi/cper_cxl.h | 58 +++++++++++++++++ >> include/linux/cxl_err.h | 21 +++++++ >> 5 files changed, 197 insertions(+), 1 deletion(-) > I notice no updates for the trace events in ghes_do_proc(), is that next > in your queue? That's ok to be a follow-on after v2. Sorry, if I haven't understood this right. Are you implying about the "handling" of cxl memory errors in ghes_do_proc() or is it just copying of CPER entries to tracepoints? Thanks, Smita