From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 754C0C2D0C6 for ; Wed, 11 Dec 2019 14:52:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5697521556 for ; Wed, 11 Dec 2019 14:52:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729815AbfLKOwh (ORCPT ); Wed, 11 Dec 2019 09:52:37 -0500 Received: from mx2.suse.de ([195.135.220.15]:36450 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729443AbfLKOwf (ORCPT ); Wed, 11 Dec 2019 09:52:35 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id BBDABAE8C; Wed, 11 Dec 2019 14:52:33 +0000 (UTC) From: Thomas Renninger To: Greg KH Cc: Thomas Gleixner , Felix Schnizlein , linux-kernel@vger.kernel.org, Felix Schnizlein , linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux@armlinux.org.uk, will.deacon@arm.com, x86@kernel.org Subject: Re: [PATCH 2/3] x86 cpuinfo: implement sysfs nodes for x86 Date: Wed, 11 Dec 2019 15:52:33 +0100 Message-ID: <2139491.Komy7AgBfX@skinner.arch.suse.de> In-Reply-To: <20191211142647.GB605616@kroah.com> References: <20191206162421.15050-1-trenn@suse.de> <22533595.7ohjOCJ8As@skinner.arch.suse.de> <20191211142647.GB605616@kroah.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday, December 11, 2019 3:26:47 PM CET Greg KH wrote: > On Wed, Dec 11, 2019 at 03:12:51PM +0100, Thomas Renninger wrote: > > On Wednesday, December 11, 2019 2:56:19 PM CET Greg KH wrote: > > > On Wed, Dec 11, 2019 at 11:42:35AM +0100, Thomas Renninger wrote: ... > > I hope it is agreed that this info is worth exporting via sysfs. > > I don't think anyone is saying it is worth exporting this information > via sysfs at all here. Ok. I go for cpuid userspace tool then. I'd still say general files like: cpu/info/{name,vendor} make sense, so that if exported by an arch like in cpuinfo, it should show up in the same file. Every cpu has a model name and a vendor and cpuid is x86 only. If there should be need for /sys/devices/cpu/cpu0.. info/feature/name whatever in the future..., let me know ;) Thomas