Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1624417rdb; Mon, 8 Jan 2024 05:31:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IEQfesjEq8Fm8+yMllF+qAeLO9TEofRCk6lvQqpyCiT6+ffXDZ4Z2aMboapbC61XAOe4D4E X-Received: by 2002:a05:6a21:789f:b0:199:75e9:a684 with SMTP id bf31-20020a056a21789f00b0019975e9a684mr1186920pzc.112.1704720681856; Mon, 08 Jan 2024 05:31:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704720681; cv=none; d=google.com; s=arc-20160816; b=fQv47+gfk94h6avxSqvVkfJmXscuazwt/TuWmkF4SH9byizYcCt/K9c0CoJBgQkwyI FwHV2RRPfZu8HlxhSGGjSGj3u4If0oTYQAZY/cAma1d/iRCp2L2So64cLTh5HDWC07BZ 2u66ML2cdBot2nyIT1V8ObdTlQ3JnmhEgDPfKztwT6KdLRpM2EiZuuc5L9/g5oKEYABs cL9YQ2A9T2eLUg3AE1o9iR52OHlRuWHuv+XBQNaUv33MPxm7Gp1p5T20e4QOmNfzCkfB ddhVZYWhhoLXX6XOindi2/VDdWA1XnFec08iUAeRXww0331wQb367F5wcwBh6dgv/Rlz 1Wxg== 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=U8mYVWcGVdg5tBZSWRiRpCp4PYqa/CAVmNXA0jngvI4=; fh=D5/TWD7bHAbEssXha5Rv8uTbCnv9M/RndN6gMOTPHRM=; b=x2z4IZFeaH+kQEUMXsd0pPV5LkpKFFzTjktCHePnvSv9G6wDQffCDmq76mRwrJzp87 aWBHYGB4pi/OMkbX5oJsQirjBajDuUzoo6BmJ+y5QSDgCIGCJdB2qca2BwIJvaA9e9Te HbhW1pCh2ud4WTcwxLA/kKpw31DVebAwdErsHWX+bCdSKxaOnOW5G24owQj/wO3gykEW zw3RgfDPFtWecqxPuGSVo7cDXliVivvCVlGk1PqQc78bRaYNMSZN3Tq7DPOQJ4GbFlOV 6TtmGxQpzDKVcogcEtDE8OljtW+/3ZAuW4fcR2tCmp0nLwx51KoTpjcT6hL8N6YV6fOk b+ng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-19621-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19621-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d29-20020a63735d000000b005ce26be11cbsi5942215pgn.234.2024.01.08.05.31.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 05:31:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19621-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-19621-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19621-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 874402829EE for ; Mon, 8 Jan 2024 13:31:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E0B8E44C9C; Mon, 8 Jan 2024 13:31:09 +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 3251A44C86; Mon, 8 Jan 2024 13:31:06 +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.231]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4T7vyl1PsCz6K9V4; Mon, 8 Jan 2024 21:28:31 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 2F4621404F5; Mon, 8 Jan 2024 21:31:04 +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:31:03 +0000 Date: Mon, 8 Jan 2024 13:31:02 +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 6/9] cxl/events: Create a CXL event union Message-ID: <20240108133102.0000059d@Huawei.com> In-Reply-To: <20231220-cxl-cper-v5-6-1bb8a4ca2c7a@intel.com> References: <20231220-cxl-cper-v5-0-1bb8a4ca2c7a@intel.com> <20231220-cxl-cper-v5-6-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: lhrpeml500002.china.huawei.com (7.191.160.78) To lhrpeml500005.china.huawei.com (7.191.163.240) On Wed, 20 Dec 2023 16:17:33 -0800 Ira Weiny wrote: > The CXL CPER and event log records share everything but a UUID/GUID in > their structures. > > Define a cxl_event union without the UUID/GUID to be shared between the > CPER and event log record formats. Adjust the code to use this union. > > Signed-off-by: Ira Weiny Reviewed-by: Jonathan Cameron