From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759453AbcIHTgc (ORCPT ); Thu, 8 Sep 2016 15:36:32 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:45665 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758508AbcIHTgb (ORCPT ); Thu, 8 Sep 2016 15:36:31 -0400 Date: Thu, 8 Sep 2016 21:33:37 +0200 (CEST) From: Thomas Gleixner To: Fenghua Yu cc: "H. Peter Anvin" , Ingo Molnar , Tony Luck , Peter Zijlstra , Tejun Heo , Borislav Petkov , Stephane Eranian , Marcelo Tosatti , David Carrillo-Cisneros , Shaohua Li , Ravi V Shankar , Vikas Shivappa , Sai Prakhya , linux-kernel , x86 Subject: Re: [PATCH v2 02/33] Documentation, ABI: Add a document entry for cache id In-Reply-To: <1473328647-33116-3-git-send-email-fenghua.yu@intel.com> Message-ID: References: <1473328647-33116-1-git-send-email-fenghua.yu@intel.com> <1473328647-33116-3-git-send-email-fenghua.yu@intel.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 8 Sep 2016, Fenghua Yu wrote: > +What: /sys/devices/system/cpu/cpu*/cache/index*/id > +Date: July 2016 > +Contact: Linux kernel mailing list > +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. And it never will be available on anything else than x86 because there is no other architecture providing CPUID leaf 4 .... If you want this to be generic then get rid of the x86isms in the explanation and describe the x86 specific part seperately. Thanks, tglx