Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1610482rdb; Mon, 8 Jan 2024 05:05:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IFBsCpl+Ajgc/+JoJ87SwpoG1CjMD63RW5qF4FZ+75C7YQVk7ZhwiBgIJXwLrfcyBbophjd X-Received: by 2002:a5d:914f:0:b0:7bb:f489:304a with SMTP id y15-20020a5d914f000000b007bbf489304amr3665745ioq.1.1704719156290; Mon, 08 Jan 2024 05:05:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704719156; cv=none; d=google.com; s=arc-20160816; b=EtIYy5MIAQZIuhrEtPcrCPHgjkbTZ90TgMUUBvIUDYeNB5fyVIzdKeNrpIZSPUOEeH HAZz5G1bwcqQq7xgr3N2L/SEgiJ63bbSq9HG6iom065cGCn5bVSquvkPDDEe55CBJFAf hZBsRdNrzwal5HDg1LibpzUxV11qiiXaGPNqzYByTSk2jVaKsXgPw7RIFf2Knrlngdbj 5/9SZ84oPXgeAeZFWQvfRykcGS6HfDBZ9k7radJddtXS/AIT+90+W6EfJgNGKFMr3ATM 2XddBxRQ6ZpQNujscvmBpOGEX/dizNsxZXas0aMoU6F74iluh/RESzyYIV+UqcaUrXPd ep2Q== ARC-Message-Signature: i=1; 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=Q1tweR7NDiklnLFx9kiLvBXLWWZTt2v2oy6QYGVdPN4=; fh=D5/TWD7bHAbEssXha5Rv8uTbCnv9M/RndN6gMOTPHRM=; b=BjdzKUMMhP7zn+F9Fmm/GNGhMMfhlTbIjYbBrR/LhF3oSbrt5QNPvjAB1w0l87AyY7 1jvNa7l1TtX7rENq7dNAFU2iVbGt9M339SJFsYRMvdyQQxCCl+J3vYkgEvfFoOd4zEKo q7Rft4cvQnTbzHi4w8WWpOabyWJVDZetKLJvT3ZVFS3v2K5u0jFNxWB6GFq3HLrOhde8 zCGS8t5IYgzeiDa2f9C9B5MGCL63+PFYoEUAWlSMomPpVg/DqrvR3PgmEqCzI3ZN3oZ/ jKf8dKxKWKwpyNSrNP3b1uOM5CzH4AuHtxXMNlCWsDpdLADRSqcHmZmT44IwxRt3culP 9fPg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-19584-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19584-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d34-20020a631d62000000b005ce95568654si5775916pgm.395.2024.01.08.05.05.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 05:05:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19584-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-19584-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19584-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 44316B21F19 for ; Mon, 8 Jan 2024 13:05:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4B69F4121F; Mon, 8 Jan 2024 13:05:43 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org 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 3A50C41202; Mon, 8 Jan 2024 13:05:38 +0000 (UTC) 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.216]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4T7vPL5z58z6K9V8; Mon, 8 Jan 2024 21:03:02 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id C5AE7140CB9; Mon, 8 Jan 2024 21:05:35 +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_128_GCM_SHA256) id 15.1.2507.35; Mon, 8 Jan 2024 13:05:35 +0000 Date: Mon, 8 Jan 2024 13:05:34 +0000 From: Jonathan Cameron To: Ira Weiny CC: Dan Williams , Smita Koralahalli , Shiju Jose , Yazen Ghannam , "Davidlohr Bueso" , Dave Jiang , "Alison Schofield" , Vishal Verma , Ard Biesheuvel , , , Subject: Re: [PATCH v5 2/9] cxl/events: Promote CXL event structures to a core header Message-ID: <20240108130534.000022f5@Huawei.com> In-Reply-To: <20231220-cxl-cper-v5-2-1bb8a4ca2c7a@intel.com> References: <20231220-cxl-cper-v5-0-1bb8a4ca2c7a@intel.com> <20231220-cxl-cper-v5-2-1bb8a4ca2c7a@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: lhrpeml500003.china.huawei.com (7.191.162.67) To lhrpeml500005.china.huawei.com (7.191.163.240) On Wed, 20 Dec 2023 16:17:29 -0800 Ira Weiny wrote: > UEFI code can process CXL events through CPER records. Those records > use almost the same format as the CXL events. > > Lift the CXL event structures to a core header to be shared in later > patches. > > Signed-off-by: Ira Weiny As a side note, seems we need some updates in here for 3.1 additions. Job for another day. One trivial comment on 'extra' docs that will probably bit rot. Otherwise Reviewed-by: Jonathan Cameron > diff --git a/include/linux/cxl-event.h b/include/linux/cxl-event.h > new file mode 100644 > index 000000000000..1c94e8fdd227 > --- /dev/null > +++ b/include/linux/cxl-event.h > @@ -0,0 +1,100 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > +#ifndef _LINUX_CXL_EVENT_H > +#define _LINUX_CXL_EVENT_H > + > +/* > + * CXL event records; CXL rev 3.0 That version number is nearly guaranteed to bit rot. I'd just not mention it here and keep the versioning local to the particular entries (where it is currently repeated). > + * > + * Copyright(c) 2023 Intel Corporation. > + */