Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1475325lqa; Mon, 29 Apr 2024 09:25:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW54uiKcLZXk4yWTxNm+MSuTt0h2EqS5yDPQ/98EM/IpZih8FFtodIHRgmSKyF4ZPFRvuyey/QKWMDXg2VPjX//cdfaAdzal2WQtvwf4A== X-Google-Smtp-Source: AGHT+IHfEK7Z9w1W2yRGgBz3T/65DC/qBRKilS2ynrRiwvawK+5eBTFCcPQQVZh5vG2L6yL6XQdi X-Received: by 2002:a17:903:230b:b0:1eb:1d30:64b5 with SMTP id d11-20020a170903230b00b001eb1d3064b5mr13489603plh.19.1714407926456; Mon, 29 Apr 2024 09:25:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714407926; cv=pass; d=google.com; s=arc-20160816; b=IbOv0sGeNJZ9ZpEGHInkntDe7p/H8+f46M+vkpMcLI/hE0zWCdHR7bsO2goHlM4vBA ROEsZ7BNITbY97gwu9b6TpOgsNqldmXIB/6F6BgXfOJWjn6qGWmVP/LpdJA7pgEKaRPB a47nSFF8RGXslT6wClRZVn46jKNb43QFUBEpwBPave+5iFwhDU10QIG0PeARQRDolvW0 MXNzpoiBwh3VlVUfFbBA8uYtR/sD3itxlTM9bxvdIZe+18phzp0MU0E7Na3jxyv8dVU6 hgpTlLBBY2HpetZ2B8QoyKJbfoSUrJZQyytCdvM9rqeVKUp/wOO2BHISOGSOkKeZyuIe KMKg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date; bh=EmaCMAW+JjNatowQC6AR+EeEKzj7h1gFtw7QQvBCRGc=; fh=JXPqre2Ujrsz3yPpWUVdaHLe2h4n3D9gu9suJtFbZ54=; b=WRNhKBOneORJgkXc0VlDh9fcjLbt47/iVqjbxqFf0gVLEIM4ltChcFWjAFN21xGCvm kS3GDG2ff7YIXFrK2ysfp/ArwBkt+vdXxHFJwlW4Telk3742A7EYE74J/h/ok/H3DBzg fLmWNkoTqhrhPU9ujR3flK/1+2g1Si4VmywvW7FunPUZxlxDeqRQEyRFXDn40HTgNg1T UVIpvfZFSaqfD092564+en7ItejE+sZTl4BPPczLWhxVmR38R2QH5GjqzlD1epS9Dd7B LNr3XRUbpp6dDbW/YxJfNQO7BKIjmLp516bVnFXGRqQfjsjKuVgoowM8aucM5dMwfPnI afSQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-162682-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162682-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id me5-20020a170902fc4500b001eb2e59aad9si5296489plb.88.2024.04.29.09.25.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 09:25:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162682-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-162682-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162682-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0CC2D280EEA for ; Mon, 29 Apr 2024 16:25:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4A80F84D22; Mon, 29 Apr 2024 16:25:19 +0000 (UTC) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8B6B2824AA; Mon, 29 Apr 2024 16:25:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714407918; cv=none; b=ANu+fKdqUWsC8gJL/iYPetDRgrjZOP1XeSeoqjxbOgAA+ygIvUkPsyCxPj1/C3byRUuBATyqby5IU4LZx5EkzMraZDnYHALf8BYttGbax6Kce9orVNWN9pwjkeYb78BByrWmcFoIsFy/P0N5HPnd76ZFoeg5F0vM9snsKXHkDkQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714407918; c=relaxed/simple; bh=a6EmMsCwFc/i8ok2IvxLLJm/x4bDMvPrVvC5G7+MQY4=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=n3xqbUvnTQsAd7uOIG7A0iIUXEqgLZr9y2O1nHyjf2g8L4pbq/m2KJQbZ5dNd9ECfDGWk4t5yqelnzMyaslXbyGJ05kkiehlJsgVAeUVbuwxPOe2UUEiYBlu76t05k+45TMOWTL/fNkuOrTx/yvGQcESD8ULJcYhR5IThKZPzzU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.231]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4VSpWt68d6z67Zdq; Tue, 30 Apr 2024 00:22:34 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id BD4EB1404F5; Tue, 30 Apr 2024 00:25:12 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 29 Apr 2024 17:25:12 +0100 Date: Mon, 29 Apr 2024 17:25:11 +0100 From: Jonathan Cameron To: Ira Weiny CC: Dave Jiang , Dan Williams , Smita Koralahalli , Shiju Jose , Dan Carpenter , "Yazen Ghannam" , Davidlohr Bueso , Alison Schofield , Vishal Verma , Ard Biesheuvel , , , Subject: Re: [PATCH v4 2/2] cxl/pci: Process CPER events Message-ID: <20240429172511.00001caf@Huawei.com> In-Reply-To: <20240426-cxl-cper3-v4-2-58076cce1624@intel.com> References: <20240426-cxl-cper3-v4-0-58076cce1624@intel.com> <20240426-cxl-cper3-v4-2-58076cce1624@intel.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml500006.china.huawei.com (7.191.161.198) To lhrpeml500005.china.huawei.com (7.191.163.240) On Fri, 26 Apr 2024 20:34:01 -0700 Ira Weiny wrote: > If the firmware has configured CXL event support to be firmware first > the OS will receive those events through CPER records. The CXL layer has > unique DPA to HPA knowledge and existing event trace parsing in > place.[0] > > Add a CXL CPER work item and register it with the GHES code to process > CPER events. > > Link: http://lore.kernel.org/r/cover.1711598777.git.alison.schofield@intel.com [0] > Reviewed-by: Dan Williams > Signed-off-by: Ira Weiny LGTM Reviewed-by: Jonathan Cameron