Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2711388rdb; Mon, 12 Feb 2024 14:05:25 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWFueaqtGZ8+9B8clBKxfN+nkCRTAU9zan+/XSJPRJBz8LFsu4opvDrPkDF3qWrnA1Cw7XIQE71E+PvCXXDFpCNalq/nHpY8xg7PS3s9A== X-Google-Smtp-Source: AGHT+IEUS8G5c+BujxI0GsctchcAMtWXkH7pGjlCPx3XBchUQ9VwjpeZnRVnIXwnatYyJvD94BVR X-Received: by 2002:a05:6a00:2f97:b0:6e0:3f77:ddcd with SMTP id fm23-20020a056a002f9700b006e03f77ddcdmr6855014pfb.25.1707775525398; Mon, 12 Feb 2024 14:05:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707775525; cv=pass; d=google.com; s=arc-20160816; b=e3hPbXqy3XymOX5+8eu9YGsvdGOcWVLsAn0dMrS91tvlGq1CpcMc6qpqSW/xsZImr2 rNEkhWzcNLTJqGcZNGUbbvZuP3+5bTor9TEqIyXXVxBs8GLMSbrHbR6Cc3pAsekF5Dhf LUzkcpGqoaJw0tpB5mZ3nLMvvEaBbtUKKk1gYv6P5G1ZtRu0cegCkXbwXw8jrpy3S3Zb CjD7L/cPo1Ifp+IkLgEqO/YSRYCFxey+beJWTHwwNJwMpIKrgfiPlQx9Czx8b+jv5cin iLDEpzv31MYpSAksAheNOtxDuwlDbMT58cznapwV9iYLx8ylN+TRNmI3RLzzi+17ye5K emFQ== 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=v0vuSC0/BklOzk+ZbTxl6sRZ0u4xk2zYit3YYALb9ZQ=; fh=Tw/AdpKvqSc8/PrdrE2YamDxXIeeSS6L7Lyqj4XgcHA=; b=JbLsPtCYNGdbEj0xlHv4nqERPgsnZ9BQZjgDDRSoWzNdZ5dOTll2zfr8umek7I+KlP wfwE/nPAEityJVfGsVTbqFbjYqA/VvPX8VdvFkMALExRlSYmJPuwHOcOukxoZNh27q0t ECOwRaPolwibJRcrAjryBryz65yWULMx7QDOmV/MlneKWmwfiBzPHYtizxdYysgGRYVG v5RYSH9LZSYye5XT2YqiH8VPJYEFPNxjwqzjOiBZXXp3Y5mcxlNxRUUa0vFL6UIDkEkG aKwl0TsVs/q+z2/S9Zapa65ijtG/fBeoUB/+sYnoAHwEQDHttgiuHCDXPwUVUoimhPeR FDFw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=eap62WKl; 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-62451-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62451-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=2; AJvYcCVXXyjMD57//Ii4Zd++8DzmbNvin+2p0fJ81q5IIq6DvFVwLr4x+l1S5KdQBYmcxRyXXauuUA0HEcGaXHHRWgWLZDPMQ2jv/CY3YhNS9A== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q4-20020a056a00084400b006e02ce964b9si621927pfk.371.2024.02.12.14.05.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 14:05:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62451-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; dkim=pass header.i=@intel.com header.s=Intel header.b=eap62WKl; 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-62451-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62451-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 17A4B28193C for ; Mon, 12 Feb 2024 22:05:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 199DC4D133; Mon, 12 Feb 2024 22:05:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="eap62WKl" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) (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 C5AF9481D7; Mon, 12 Feb 2024 22:05:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707775516; cv=none; b=l2iLXM4u0P6R8IrQffxInmtrErWRGTmN2TG8fTQ85mGhUy5moQS0WgY23jxXud04Em9ke4lqaIztx9S8VCuJPhSV+nPnyD+0GhoGt6ys2ROiH3lITdQ699foj0i4NJvGjNbakRnYf/rm8oy0Vs6hHo3jFZrkTgdMlKMan6ibeHE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707775516; c=relaxed/simple; bh=2RLRDPhu3sgf3BDJLN3IMc0/kUDRPZfmsdCW2qjmaAE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=eZA95dFsaqQVaE7SP88KvRe6IvD42RFzCRHA1IGZ8aG+9bKOKcJArAYvmwyBs6hixJyUQOUmWRFM/bUeOd4bu5p5PVgD0EwHRPDQLI8r3HFYFYPFr4qKwLN6m+RULofnrSyGxoT9VCK9hWYGTsdUDbBpSpuU70bUWO0zq7XN3Z0= 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=eap62WKl; arc=none smtp.client-ip=198.175.65.18 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=1707775515; x=1739311515; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=2RLRDPhu3sgf3BDJLN3IMc0/kUDRPZfmsdCW2qjmaAE=; b=eap62WKlW15MTim66z3vB3XdRvDBZx6xyn8UkgzeZbd6lg7pKeqOwIWR 8g0ke+8PTmOxBT7SVt44LtVLXeZqXkBzSEMmJcaa2/mJ47VZbYOksr4Vc xHpA4uqThk6k5YfQzHnmdElPDwCaq8imucKBC6Bvhu8+b6gih3mze6xpl NJfxtS/vWi8CkRqi/h9Ha2nP26C4+fH0ltVEzZR516ATxTWCFnbIzGcz+ t5OZ6eG8EK3rFjglamzPRSnw5Ryj1qPDsrbM/NIIwR4kcr64t+sHDxPC8 /DpypXQJkRbLq8tgVipZq2ovlVt8F3CQOCl46rfg51tavd3W0KixAQz/4 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10982"; a="1897542" X-IronPort-AV: E=Sophos;i="6.06,155,1705392000"; d="scan'208";a="1897542" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Feb 2024 14:05:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,155,1705392000"; d="scan'208";a="25902072" Received: from agluck-desk3.sc.intel.com (HELO agluck-desk3) ([172.25.222.74]) by fmviesa002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Feb 2024 14:05:11 -0800 Date: Mon, 12 Feb 2024 14:05:10 -0800 From: Tony Luck To: Reinette Chatre Cc: "babu.moger@amd.com" , "Yu, Fenghua" , Peter Newman , Jonathan Corbet , Shuah Khan , "x86@kernel.org" , Shaopeng Tan , James Morse , Jamie Iles , Randy Dunlap , Drew Fustini , "linux-kernel@vger.kernel.org" , "linux-doc@vger.kernel.org" , "patches@lists.linux.dev" Subject: Re: [PATCH v15-RFC 0/8] Add support for Sub-NUMA cluster (SNC) systems Message-ID: References: <20240126223837.21835-1-tony.luck@intel.com> <20240130222034.37181-1-tony.luck@intel.com> <91bd281e-e21f-4b60-9e73-2f14fcbec316@amd.com> <642f81da-669b-4057-8b97-2894dd57842b@intel.com> <16a63923-2fd2-4d44-a8a3-32d8d6eeee9e@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: <16a63923-2fd2-4d44-a8a3-32d8d6eeee9e@intel.com> On Mon, Feb 12, 2024 at 01:43:56PM -0800, Reinette Chatre wrote: > Hi Tony, > > On 2/12/2024 11:57 AM, Luck, Tony wrote: > >>> To be honest, I like this series more than the previous series. I always > >>> thought RDT_RESOURCE_L3_MON should have been a separate resource by itself. > >> > >> Would you prefer that your "Reviewed-by" tag be removed from the > >> previous series? > > > > I'm thinking that I could continue splitting things and break "struct rdt_resource" into > > separate "ctrl" and "mon" structures. Then we'd have a clean split from top to bottom. > > It is not obvious what you mean with "continue splitting things". Are you > speaking about "continue splitting from v14" or "continue splitting from v15-RFC"? I'm speaking of some future potential changes. Not proposing to do this now. > I think that any solution needs to consider what makes sense for resctrl > as a whole instead of how to support SNC with smallest patch possible. I am officially abandoning my v15-RFC patches. I wasn't clear enough in my e-mail earlier today. https://lore.kernel.org/all/SJ1PR11MB608378D1304224D9E8A9016FFC482@SJ1PR11MB6083.namprd11.prod.outlook.com/ > > There should not be any changes that makes resctrl harder to understand > and maintain, as exemplified by confusion introduced by a simple thing as > resource name choice [1]. > > > > > Doing that would get rid of the rdt_resources_all[] array. Replacing with individual > > rdt_hw_ctrl_resource and rdt_hw_mon_resource declarations for each feature. > > > > Features found on a system would be added to a list of ctrl or list of mon resources. > > Could you please elaborate what is architecturally wrong with v14 and how this > new proposal addresses that? There is nothing architecturally wrong with v14. I thought it was more complex than it needed to be. You have convinced me that my v15-RFC series, while simpler, is not a reasonable path for long-term resctrl maintainability. > > Reinette > > [1] https://lore.kernel.org/lkml/ZcZyqs5hnQqZ5ZV0@agluck-desk3/ -Tony