From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751611AbdFHS17 (ORCPT ); Thu, 8 Jun 2017 14:27:59 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:33770 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751427AbdFHS16 (ORCPT ); Thu, 8 Jun 2017 14:27:58 -0400 Date: Thu, 8 Jun 2017 20:26:36 +0200 From: Greg KH To: Felix Schnizlein Cc: linux-kernel@vger.kernel.org, x86@vger.kernel.org, yanmin.zhang@intel.com, trenn@suse.com Subject: Re: [RFC PATCH 2/3] Implement sysfs based cpuinfo for x86 cpus. Message-ID: <20170608182636.GF13995@kroah.com> References: <1496940975-9164-1-git-send-email-fschnizlein@suse.com> <1496940975-9164-3-git-send-email-fschnizlein@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1496940975-9164-3-git-send-email-fschnizlein@suse.com> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 08, 2017 at 06:56:14PM +0200, Felix Schnizlein wrote: > A few entries have been omitted, due to already existing information in > sysfs: > > - microcode -> /sys/devices/system/cpu/cpu*/microcode/version > - cache -> /sys/devices/system/cpu/cpu*/cache/index*/size > - core_id -> /sys/devices/system/cpu/cpu*/topology/core_id > - siblings -> /sys/devices/system/cpu/cpu*/topology/core_siblings_list > - pyshical_id -> /sys/devices/system/cpu/cpu*/topology/physical_package_id > > Following attributes have been removed due to obsolete information or > legacy processors: wp, power management, f00f bug, coma bug, fdiv bug > > Signed-off-by: Thomas Renninger ??? > --- > arch/x86/kernel/Makefile | 1 + > arch/x86/kernel/cpuinfo_sysfs.c | 166 ++++++++++++++++++++++++++++++++++++++++ > drivers/base/cpuinfo.c | 4 - > 3 files changed, 167 insertions(+), 4 deletions(-) > create mode 100644 arch/x86/kernel/cpuinfo_sysfs.c > > diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile > index 4b99423..5c689d9 100644 > --- a/arch/x86/kernel/Makefile > +++ b/arch/x86/kernel/Makefile > @@ -65,6 +65,7 @@ obj-y += step.o > obj-$(CONFIG_INTEL_TXT) += tboot.o > obj-$(CONFIG_ISA_DMA_API) += i8237.o > obj-$(CONFIG_STACKTRACE) += stacktrace.o > +obj-$(CONFIG_CPUINFO_SYSFS) += cpuinfo_sysfs.o Use tabs properly please.