From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756958AbdLTWzy (ORCPT ); Wed, 20 Dec 2017 17:55:54 -0500 Received: from mga03.intel.com ([134.134.136.65]:22024 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755928AbdLTWym (ORCPT ); Wed, 20 Dec 2017 17:54:42 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,433,1508828400"; d="scan'208";a="14007855" From: "Fenghua Yu" To: "Thomas Gleixner" , "Ingo Molnar" , "H. Peter Anvin" , "Tony Luck" , "Shivappa, Vikas" , "Ravi V Shankar" , "Prakhya, Sai Praneeth" , "Chatre, Reinette" , "linux-kernel" , "x86" Cc: Fenghua Yu Subject: [PATCH 2/6] x86/intel_rdt: Add L2 Code and Data Prioritization (CDP) support in documentation Date: Wed, 20 Dec 2017 14:57:20 -0800 Message-Id: <1513810644-78015-3-git-send-email-fenghua.yu@intel.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1513810644-78015-1-git-send-email-fenghua.yu@intel.com> References: <1513810644-78015-1-git-send-email-fenghua.yu@intel.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Fenghua Yu A new mount parameter "cdpl2" is added to enable L2 CDP in documentation. The legacy mount parameter "cdp" is still used to enable L3 CDP. L2 and L3 CDP can be enabled separately. Signed-off-by: Fenghua Yu --- Documentation/x86/intel_rdt_ui.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/x86/intel_rdt_ui.txt b/Documentation/x86/intel_rdt_ui.txt index 1ad77b1..86bc5b2 100644 --- a/Documentation/x86/intel_rdt_ui.txt +++ b/Documentation/x86/intel_rdt_ui.txt @@ -10,18 +10,22 @@ This feature is enabled by the CONFIG_INTEL_RDT Kconfig and the X86 /proc/cpuinfo flag bits: RDT (Resource Director Technology) Allocation - "rdt_a" CAT (Cache Allocation Technology) - "cat_l3", "cat_l2" -CDP (Code and Data Prioritization ) - "cdp_l3" +CDP (Code and Data Prioritization ) - "cdp_l3", "cdp_l2" CQM (Cache QoS Monitoring) - "cqm_llc", "cqm_occup_llc" MBM (Memory Bandwidth Monitoring) - "cqm_mbm_total", "cqm_mbm_local" MBA (Memory Bandwidth Allocation) - "mba" To use the feature mount the file system: - # mount -t resctrl resctrl [-o cdp] /sys/fs/resctrl + # mount -t resctrl resctrl [-o cdp[,cdpl2]] /sys/fs/resctrl mount options are: "cdp": Enable code/data prioritization in L3 cache allocations. +"cdpl2": Enable code/data prioritization in L2 cache allocations. + +Please note: We keep the "cdp" option for enabling L3 CDP to maintain +legacy interface. L2 and L3 CDP can be enabled separately. RDT features are orthogonal. A particular system may support only monitoring, only control, or both monitoring and control. -- 1.8.3.1