[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1468244033-38667-3-git-send-email-fenghua.yu@intel.com>
Date: Mon, 11 Jul 2016 06:33:52 -0700
From: "Fenghua Yu" <fenghua.yu@...el.com>
To: "Ingo Molnar" <mingo@...e.hu>,
"Thomas Gleixner" <tglx@...utronix.de>,
"H. Peter Anvin" <h.peter.anvin@...el.com>,
"Borislav Petkov" <bp@...e.de>, "Tony Luck" <tony.luck@...el.com>,
"Ravi V Shankar" <ravi.v.shankar@...el.com>
Cc: "linux-kernel" <linux-kernel@...r.kernel.org>,
"x86" <x86@...nel.org>, "Fenghua Yu" <fenghua.yu@...el.com>
Subject: [PATCH v3 2/3] Documentation, ABI: Add a document entry for cache id
From: Fenghua Yu <fenghua.yu@...el.com>
Add an ABI document entry for /sys/devices/system/cpu/cpu*/cache/index*/id.
Signed-off-by: Fenghua Yu <fenghua.yu@...el.com>
Acked-by: Borislav Petkov <bp@...e.de>
---
Documentation/ABI/testing/sysfs-devices-system-cpu | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu
index 1650133..ecd82e4 100644
--- a/Documentation/ABI/testing/sysfs-devices-system-cpu
+++ b/Documentation/ABI/testing/sysfs-devices-system-cpu
@@ -272,6 +272,23 @@ Description: Parameters for the CPU cache attributes
the modified cache line is written to main
memory only when it is replaced
+
+What: /sys/devices/system/cpu/cpu*/cache/index*/id
+Date: July 2016
+Contact: Linux kernel mailing list <linux-kernel@...r.kernel.org>
+Description: Cache id
+
+ The id identifies a hardware cache of the system within a given
+ cache index in a set of cache indices. The "index" name is
+ simply a nomenclature from CPUID's leaf 4 which enumerates all
+ caches on the system by referring to each one as a cache index.
+ The (cache index, cache id) pair is unique for the whole
+ system.
+
+ Currently id is implemented on x86. On other platforms, id is
+ not enabled yet.
+
+
What: /sys/devices/system/cpu/cpuX/cpufreq/throttle_stats
/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/turbo_stat
/sys/devices/system/cpu/cpuX/cpufreq/throttle_stats/sub_turbo_stat
--
2.5.0
Powered by blists - more mailing lists