Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3907718pxj; Tue, 15 Jun 2021 11:09:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqYrNSSj6MpODfpxBq/YuQ1e10w6U3EVbR0CrwuaO+YY1z7b8aob0OchbVYvzfKQgaJP7j X-Received: by 2002:a05:6602:2be3:: with SMTP id d3mr488103ioy.54.1623780584107; Tue, 15 Jun 2021 11:09:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623780584; cv=none; d=google.com; s=arc-20160816; b=lGx2haKvEE2gTqXoDy16tdeaagU2ABbHiaL7mPCuStCbZVjzRaUDy/yph35ouCPIGj BKVYD+Oq/LFDhtpmGFnRr85hOj0kmfOZQHgOxQz4KPEHpYx2eEiHaYaI9Pk/dv6ZWTNa lxaEXTveIPaqGR3ujAYAn4k74zanSMNp6GN7mgnHEHkIjHtaqBdk7Ahy5CEBKtlqIw16 YkG4u8C1ugArRM9la9ByKrCsn29XQmZATlUDB2mz4p/u9ElBPN/qmKUOAmB26A3FQhe9 TSrA8SExqc2SUQjm6P3Go44e26ipVfnqTohtZZwyYncLJ0BCFHSNh07gp8Ei9tJUmHbQ IiYA== 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=IgNgZwvDpvPY45dLqYea/pfKccvXvImXrM+UgUhuzL8=; b=0pbAMl2U3oJ7fvGsXe2u2W2CX69sVbTKRMD77/eGir7hb+y6AN6NCs7mV5bb70bViC 75+JEKN3lJdkQuosUh/5CFf8Bs8DpFW7HP2B/nL6WEsrdaKsDNqCBeUYZW50x515oYZ+ siyWti+W1f2ymBBAqe0O48tG1IWOhCjSmQHFgIE4Or8o0OnCsBj5tNi9oehtRakZv73g v72ehRMxeiFs0K/xQ2u/s/TLfYa0epsI5m9onW1mngl4Q47U9zp3Ldt5iKPdtS4khRWj ZQfw+gDw338h/koIWcY2krp2J28xBKDyMb6QtClVSuja71NB6rCTLXdp4PnB8K9If1vO q6NA== 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 m12si23594882jav.22.2021.06.15.11.09.30; Tue, 15 Jun 2021 11:09:44 -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 S231312AbhFOSKo (ORCPT + 99 others); Tue, 15 Jun 2021 14:10:44 -0400 Received: from mga04.intel.com ([192.55.52.120]:8507 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231310AbhFOSKi (ORCPT ); Tue, 15 Jun 2021 14:10:38 -0400 IronPort-SDR: mm49MQ+BYyXFJYaKOO/SeDqtF7o7pOwzr0e8Hgt3X42bLCakc+uMRR/h0MYV/rGhyK/RePS7bX esEs1JLCSI4A== X-IronPort-AV: E=McAfee;i="6200,9189,10016"; a="204214760" X-IronPort-AV: E=Sophos;i="5.83,275,1616482800"; d="scan'208";a="204214760" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jun 2021 11:08:33 -0700 IronPort-SDR: c6XTqjrWQIyZzTz3w9nHqLikaRZuHAzePtscXMLHPg1HNQGVSFObNCmYSwSSZUQY+q/1Z/HZ42 Ewnl+TeXRwdg== X-IronPort-AV: E=Sophos;i="5.83,275,1616482800"; d="scan'208";a="554528715" 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:32 -0700 Subject: Re: [PATCH v4 09/24] x86/resctrl: Pass the schema to resctrl filesystem functions 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-10-james.morse@arm.com> From: Reinette Chatre Message-ID: Date: Tue, 15 Jun 2021 11:08:31 -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-10-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: > Once the CDP resources are merged, there will be two struct > resctrl_schema for one struct rdt_resource. CDP becomes a type of > configuration that belongs to the schema. > > Heplers like rdtgroup_cbm_overlaps() need access to the schema to Heplers -> Helpers Reinette