From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934576AbcJZV0C (ORCPT ); Wed, 26 Oct 2016 17:26:02 -0400 Received: from terminus.zytor.com ([198.137.202.10]:45126 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933050AbcJZV0A (ORCPT ); Wed, 26 Oct 2016 17:26:00 -0400 Date: Wed, 26 Oct 2016 14:25:09 -0700 From: tip-bot for Tony Luck Message-ID: Cc: tglx@linutronix.de, mingo@kernel.org, shli@fb.com, tony.luck@intel.com, sai.praneeth.prakhya@intel.com, mingo@elte.hu, fenghua.yu@intel.com, dave.hansen@intel.com, bp@suse.de, davidcc@google.com, h.peter.anvin@intel.com, eranian@google.com, ravi.v.shankar@intel.com, peterz@infradead.org, hpa@zytor.com, vikas.shivappa@linux.intel.com, nilayvaish@gmail.com, linux-kernel@vger.kernel.org Reply-To: dave.hansen@intel.com, bp@suse.de, davidcc@google.com, fenghua.yu@intel.com, shli@fb.com, mingo@kernel.org, tglx@linutronix.de, sai.praneeth.prakhya@intel.com, mingo@elte.hu, tony.luck@intel.com, nilayvaish@gmail.com, vikas.shivappa@linux.intel.com, peterz@infradead.org, hpa@zytor.com, linux-kernel@vger.kernel.org, ravi.v.shankar@intel.com, h.peter.anvin@intel.com, eranian@google.com In-Reply-To: <1477142405-32078-2-git-send-email-fenghua.yu@intel.com> References: <1477142405-32078-2-git-send-email-fenghua.yu@intel.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/cache] Documentation, ABI: Document the new sysfs files for cpu cache ids Git-Commit-ID: 1d78dc59f5ab6f467e49882518453adc7e4caa44 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 1d78dc59f5ab6f467e49882518453adc7e4caa44 Gitweb: http://git.kernel.org/tip/1d78dc59f5ab6f467e49882518453adc7e4caa44 Author: Tony Luck AuthorDate: Sat, 22 Oct 2016 06:19:48 -0700 Committer: Thomas Gleixner CommitDate: Wed, 26 Oct 2016 23:12:37 +0200 Documentation, ABI: Document the new sysfs files for cpu cache ids Add an ABI document entry for /sys/devices/system/cpu/cpu*/cache/index*/id. Signed-off-by: Tony Luck Signed-off-by: Fenghua Yu Cc: "Ravi V Shankar" Cc: "David Carrillo-Cisneros" Cc: "Sai Prakhya" Cc: "Peter Zijlstra" Cc: "Stephane Eranian" Cc: "Dave Hansen" Cc: "Shaohua Li" Cc: "Nilay Vaish" Cc: "Vikas Shivappa" Cc: "Ingo Molnar" Cc: "Borislav Petkov" Cc: "H. Peter Anvin" Link: http://lkml.kernel.org/r/1477142405-32078-2-git-send-email-fenghua.yu@intel.com Signed-off-by: Thomas Gleixner --- Documentation/ABI/testing/sysfs-devices-system-cpu | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-devices-system-cpu b/Documentation/ABI/testing/sysfs-devices-system-cpu index 4987417..2a4a423 100644 --- a/Documentation/ABI/testing/sysfs-devices-system-cpu +++ b/Documentation/ABI/testing/sysfs-devices-system-cpu @@ -272,6 +272,22 @@ 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: September 2016 +Contact: Linux kernel mailing list +Description: Cache id + + The id provides a unique number for a specific instance of + a cache of a particular type. E.g. there may be a level + 3 unified cache on each socket in a server and we may + assign them ids 0, 1, 2, ... + + Note that id value can be non-contiguous. E.g. level 1 + caches typically exist per core, but there may not be a + power of two cores on a socket, so these caches may be + numbered 0, 1, 2, 3, 4, 5, 8, 9, 10, ... + 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