Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp409901lqp; Wed, 22 May 2024 08:08:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX7Ujoa3evtDKOiY4y1mixy6QR+R/03B/60pJaLRjhRdsWFi8KcsaTIAJ6HDfHPSuzfFxosFlf8j2uY4Qmp0A4GC1obGcMMWG4I843B6Q== X-Google-Smtp-Source: AGHT+IExnz30tggVt3AfbHVgLcjXT9NFsghv4d3xAFebG3IE8imxAf5a8XPajFa/LU6S1c3fHHRX X-Received: by 2002:a17:907:7818:b0:a52:65bd:a19a with SMTP id a640c23a62f3a-a6228125529mr165479166b.57.1716390505640; Wed, 22 May 2024 08:08:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716390505; cv=pass; d=google.com; s=arc-20160816; b=tXyMCPgetCjry4xmmKSZhO3z9j37SIaSGf+bi33b/3XhQkcf9+UJPukCbdCMWPQxfB 7YTEohyeNprAugrde7THONMZRD1XnRlPy6jUrxfpE+yYIl1NA6LJMU2U4EnBaCwFaocK 4xzKrOFQcu7dm1uSJCCbLcBZ1ONW07Ebg8/YT1PytRTcclYysRY2E8ekHv+q5rhtDm9n PRNUn0dvTsvWxdGzm1UF9WBaRswDWbE8DHEtwV4rdihS2mK+q9AOd/LmolQJG7OsGd9H +pISPVD2RgBsGuplb5+rwlzX0lZP9ek8khRXMQUiZdW+qpI+uw8sqdzAZgMjafXb2/ee hbcg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=5u1pAqC7bcWNv9oDzDFayxd4jMwBGvQClAEQfca3Sb0=; fh=hV0LitB0/2l0m07uw5QoJGTXNTB3zQr1xa2QTHuQXPs=; b=Z2tX5PnekyxorP61IuCjfiTdOjzRWqv1REe8ujTmbuHoZNcAGBgynqvuMc05j8P9ZX mM6fr7V4TRxuHKp/0x2HejPK7x9tg5q8NMHi4ucf0SnQmkZ3FQJ+FYSlVqaCo5tN0SEY H9njgMemQzp4dX2cOkEPanfuAnMA0x1INYCVUKFH4ljZFUJAfTKBuNhJTNErXs573NNA TkJAhnT2SXMvrlox4zEnsH37f4dJvh4DUOsFcUyFIHYiMboQ/RfOW21qQH+pPv5k4Z8n lBIYfS8v8//ZoJXuahzjt2HX20H37vpayFx9uw/MlxH61BZ5o3MbW+wx1ufz3KVnVgHF MGQQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IUBB4+ZW; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-186407-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186407-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a620ba62111si234483566b.849.2024.05.22.08.08.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 08:08:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186407-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IUBB4+ZW; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-186407-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186407-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7CAAB1F22883 for ; Wed, 22 May 2024 15:08:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B1FEE3D54B; Wed, 22 May 2024 15:08:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="IUBB4+ZW" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) (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 5C4753CF5E; Wed, 22 May 2024 15:08:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716390488; cv=none; b=GjB8buRxE6HlJRxQnCM4Vp6W5+W+rRE9g5nNfcz8M/Ae1ggfbyFmdme1YppCNTpvT/igLILmkhLpAhyiZUPOd7FLYQGElse3hldIOFxP9XpxeWmz0ajG3pzo0J3Wov7dU1zBT2D1g5upCt6C3TJHQjCbsoDFs77hf/LJvGlqFWU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716390488; c=relaxed/simple; bh=6IRdBy3FEtebXbSzks+rilS62GNYMlbFebw5/l+vRl4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mij528UALMr5N9puwyCRmbZIkwf9jP/Q+k+6EaoqBbiIKb2+qxe/3SBknLvUKhkt53fK5sVnRA1xea9h6WGEKOpg1kUx6oAj6xSWoTGlDM3r9deGcT89Efl3EhAVUN8YC/hYQUKee2c232JVDMX4IaqpcPcyAThzJRXGwumESwE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=IUBB4+ZW; arc=none smtp.client-ip=192.198.163.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1716390487; x=1747926487; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=6IRdBy3FEtebXbSzks+rilS62GNYMlbFebw5/l+vRl4=; b=IUBB4+ZWUUkyu1gvKppEDBFac3eyP+iwYpV0F1D4mBnGWP97OYBN4dyu ix9lzDLcaoNbG5HglHOSMiWeKSRHXToox9jvg3lS3sPKU/lFERCkEJe7t ecrFPH/ftFfuDLdn1TIQiMWmefko+81gwfJwsh7/xPRw9PNmEVYDSCbjQ ZZZcZWw2C0t0sMtbn+mSMxDW2n6ZHOwYgM/ztmSgPFWxSqTDrSmE1kDI1 v11jZNHqQdNVdzGJjIoQIygBd4EMie4mSGn1LHPVb93HQzRFVy+7dXg0B bhgzSrUsJ8NS2U4hE+Z+2Kc49q9fLXQNYVq3ClEwT0PdvR2fb/bF75B2C g==; X-CSE-ConnectionGUID: p+xX7/wdR1y0+8WtZZVsXw== X-CSE-MsgGUID: hmJ/5HicRle1dZaFEp8/ww== X-IronPort-AV: E=McAfee;i="6600,9927,11079"; a="11647743" X-IronPort-AV: E=Sophos;i="6.08,181,1712646000"; d="scan'208";a="11647743" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 May 2024 08:08:07 -0700 X-CSE-ConnectionGUID: 0SSeRQuvTpC/UP3YNlEMWA== X-CSE-MsgGUID: xeVkXVYZRAeIRpaBlWDSrA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,181,1712646000"; d="scan'208";a="37797831" Received: from ttiasha-mobl1.amr.corp.intel.com (HELO aschofie-mobl2) ([10.209.68.11]) by fmviesa003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 May 2024 08:08:07 -0700 Date: Wed, 22 May 2024 08:08:04 -0700 From: Alison Schofield To: "Fabio M. De Francesco" Cc: Davidlohr Bueso , Jonathan Cameron , Dave Jiang , Vishal Verma , Ira Weiny , Dan Williams , linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4] cxl/events: Use a common struct for DRAM and General Media events Message-ID: References: <20240521140750.26035-1-fabio.m.de.francesco@linux.intel.com> 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-Disposition: inline In-Reply-To: <20240521140750.26035-1-fabio.m.de.francesco@linux.intel.com> On Tue, May 21, 2024 at 04:05:08PM +0200, Fabio M. De Francesco wrote: > cxl_event_common was an unfortunate naming choice and caused confusion with > the existing Common Event Record. Furthermore, its fields didn't map all > the common information between DRAM and General Media Events. > > Remove cxl_event_common and introduce cxl_event_media_hdr to record common > information between DRAM and General Media events. > > cxl_event_media_hdr, which is embedded in both cxl_event_gen_media and > cxl_event_dram, leverages the commonalities between the two events to > simplify their respective handling. > > Suggested-by: Dan Williams > Signed-off-by: Fabio M. De Francesco Reviewed-by: Alison Schofield > --- >