Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3907972pxj; Tue, 15 Jun 2021 11:10:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0131YI4zadGLOoT24aUzUcY6GBqDGbJKFyrDcYsGMykflYt+MdxjuM2RaimTqj+yVfw9H X-Received: by 2002:a92:d3c5:: with SMTP id c5mr562107ilh.155.1623780600935; Tue, 15 Jun 2021 11:10:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623780600; cv=none; d=google.com; s=arc-20160816; b=R711t4pUsKQj+gxyrbT25DgAj7W2fj2gI2VFaOTUdhNGjBTidmoN0QLDTRc+hFQeWp Nkj7Um7XVKMS3Z7TzsIX582bYK0L9GZKUiGsarnCwM77Rqa9/Qgx3iks5YHf7B6gVO/6 9EfhMz9s61z0LBL4hbvnVfRp2Dd00+PFFGDnr4qJWwoLI43cnjrCf7uT0OJRdOLvgT9l jsFx0tDPmJC2GSCMi5xk5Wf/29ZqeINrX8NowX/HVHa/Nrds3iTyNjm02F4yYONF5ORr x3iKU3uCF7XNpEFgFlNngoLMoMCP4T8dmWJHX22TP6NR+L5fgn7qSRfSLN2yl2xNNR73 CNWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:ironport-sdr:ironport-sdr; bh=LZC9vtr/Gu+YFjyv0jVwMMRJ//ngdeenk5RmqtFi38Y=; b=mdirmbomgZlxdMj26t2jX5oDjQWWuvBl7fz60+5cg7J2qJ+OMlvbfDRJR+wgPFSRRv bToLRjaO1KMETWwWyAo5ILygJ2XoT9PjsKY+YSu3vK0szqCjeJ+RHShrHqMg+CSb/XtH syXIq+0D/DVzi+FUfb1GgDJXcoOh8dTY8yz40k//I4m/3g7MmHbqdsGzBgDjftaMFqU2 OUOc0XOks1SjtvnsYUdD/AOfjRomEwRXgIn+O5EtSXZu2b/VpBcTM6RR1CKUW3PhvqUu 35KJRcwoILC0eSi8YrvACewFia5MuaYAevP6nUartcm2tb4vJCpIJDfMRzux5eBIcP/p HHPw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v17si18674564jap.102.2021.06.15.11.09.49; Tue, 15 Jun 2021 11:10:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231380AbhFOSLL (ORCPT + 99 others); Tue, 15 Jun 2021 14:11:11 -0400 Received: from mga07.intel.com ([134.134.136.100]:37470 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230321AbhFOSLF (ORCPT ); Tue, 15 Jun 2021 14:11:05 -0400 IronPort-SDR: t74feb/Gj0GQrzLNPEOeTi3uzZ2ulkf0M+0WSpH2ViEGnx9Cr4MCQ4JVSA8rECnCFsqFbe9pPv 9arewqD6YZLg== X-IronPort-AV: E=McAfee;i="6200,9189,10016"; a="269894378" X-IronPort-AV: E=Sophos;i="5.83,275,1616482800"; d="scan'208";a="269894378" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2021 11:08:47 -0700 IronPort-SDR: Yo9ghuhg3O2X9tE9lFN6/bEB8QzvNC5ncG+Pl/rvU1Cc6CR/5qRu7quEJGE5wpUdPq0msTFj1Q 7qn4MT+jSStw== X-IronPort-AV: E=Sophos;i="5.83,275,1616482800"; d="scan'208";a="554528746" Received: from rchatre-mobl3.amr.corp.intel.com (HELO [10.212.184.247]) ([10.212.184.247]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2021 11:08:46 -0700 Subject: Re: [PATCH v4 11/24] x86/resctrl: Move the schemata names into struct resctrl_schema To: James Morse , x86@kernel.org, linux-kernel@vger.kernel.org Cc: Fenghua Yu , Thomas Gleixner , Ingo Molnar , Borislav Petkov , H Peter Anvin , Babu Moger , shameerali.kolothum.thodi@huawei.com, Jamie Iles , D Scott Phillips OS , lcherian@marvell.com References: <20210614200941.12383-1-james.morse@arm.com> <20210614200941.12383-12-james.morse@arm.com> From: Reinette Chatre Message-ID: Date: Tue, 15 Jun 2021 11:08:46 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210614200941.12383-12-james.morse@arm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi James, On 6/14/2021 1:09 PM, James Morse wrote: > resctrl 'info' directories and schema parsing use the schema name. > This lives in the struct rdt_resource, and is specified by the > architecture code. > > Once the CDP resources are merged, there will only be one resource > (and one name) in use by two schema. To allow the CDP CODE/DATA > property to be the tyoe of configuration the schema uses, the tyoe -> type Reinette