Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3908732pxj; Tue, 15 Jun 2021 11:10:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzz+HdNy6LtQAiSbwL47A7c+0T3JEumQRiglKx/ttQ/GuAnLJo95O7larIbdLpJvnYQWARz X-Received: by 2002:a17:906:c311:: with SMTP id s17mr929739ejz.202.1623780656553; Tue, 15 Jun 2021 11:10:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623780656; cv=none; d=google.com; s=arc-20160816; b=ATUo1ewpYt3Ps+0ai72IOU25eIdwzQbjqdBOw2ZJMDy/UgQoI8vHYHqaJkuRslZkRH qanrEA8H5xjwx5cvk0QFwtxiKhzvQ5Yb3VSHmGClKRZ10UBWqGrLKAbs7wM9hq8b8oQ5 fU0U0q8o0REpmrhoDVTHr7KsquERhmM5QQE8h5dnHCB10OdnIZgrN+7+nlKrWq2yoKN6 Ug08uCrOLCPEAl5p6JNad48gpoOnmX6WRiBEx7RlF/sfRJorCv4BFMRBQv/U3pZbeNx5 Xet0FPDv7J0YrNjkJcHQRB9oa/hSSxfTTUMvG3/xsH+riimgTliOHbez/946Hj7FNH36 uxDA== 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=UYr5DcRRC9i2sTTEvkNtg9ODhbZSaE+OlFj4kZqkrVs=; b=LvX41HUMFdf8wyAiKQcelkzmTlJmvIES3TPDBeeM9g3U7JVfQlEzhaJ/EDiA5TuxGV CYE57Ep1xRkYTGRHDEegE3QZe8/4lVm1H4yB6a1xJkMsxkJRBOBxxQYYeK54CpUwpLT4 nk+6yYeiQswN1eX0uQvcAg+gtH8cM9nMSWSBZIlq6EAfzO/StikZWwRymrPUUwz0qBZ9 tV88G3qGgsOCXQQx8JplgEtjvgCQxXvSFqksXqCJdNfvnbYaO9rKpw4rmBcPObDlaoBi ntqlogmM5TLw4ohJR94GIolU5WM3sRHiGl7QkjZGx27NgzFMIU0EQAxOsybxysbGk8S9 vVzg== 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 z2si871908edr.77.2021.06.15.11.10.32; Tue, 15 Jun 2021 11:10:56 -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 S230233AbhFOSKc (ORCPT + 99 others); Tue, 15 Jun 2021 14:10:32 -0400 Received: from mga04.intel.com ([192.55.52.120]:8494 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbhFOSKb (ORCPT ); Tue, 15 Jun 2021 14:10:31 -0400 IronPort-SDR: yjCf7fH2UC4hB+N1dv/hx2zE+q4Z+RfDkpqDGvZ8aix0zmUHeWI60EionaCn9Ai8GPCX2uPEJd 5ADi4QRh/6Dg== X-IronPort-AV: E=McAfee;i="6200,9189,10016"; a="204214731" X-IronPort-AV: E=Sophos;i="5.83,275,1616482800"; d="scan'208";a="204214731" 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:17 -0700 IronPort-SDR: ngBHJ8PvHNIQ1V/kAIE99CkLaYLqAG4azbnScU/5Sz/KT77kNJP8uGldDW4JtwmNQcKexAm3m5 dlBmqpFBrg6w== X-IronPort-AV: E=Sophos;i="5.83,275,1616482800"; d="scan'208";a="554528686" 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:16 -0700 Subject: Re: [PATCH v4 05/24] x86/resctrl: Label the resources with their configuration type 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-6-james.morse@arm.com> From: Reinette Chatre Message-ID: Date: Tue, 15 Jun 2021 11:08:15 -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-6-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: ... > diff --git a/include/linux/resctrl.h b/include/linux/resctrl.h > index 425e7913dc8d..81073d0751c9 100644 > --- a/include/linux/resctrl.h > +++ b/include/linux/resctrl.h > @@ -15,6 +15,14 @@ int proc_resctrl_show(struct seq_file *m, > > #endif > > +enum resctrl_conf_type { > + /* No prioritisation, both code and data are controlled or monitored. */ > + CDP_NONE, > + > + CDP_CODE, > + CDP_DATA, > +}; > + Please follow style of the rest of this file - please no inline documentation, use proper kernel-doc instead. Reinette