From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 57F20C48BDF for ; Tue, 15 Jun 2021 18:09:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3ED39610A1 for ; Tue, 15 Jun 2021 18:09:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231398AbhFOSLO (ORCPT ); Tue, 15 Jun 2021 14:11:14 -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