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 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=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 E73F9C43603 for ; Wed, 11 Dec 2019 14:53:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AA2DB214AF for ; Wed, 11 Dec 2019 14:53:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="I39C0Bu0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AA2DB214AF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6DEIRqUh2LNKjxDa6OBbCwOKSVm3EGLAJEwkmSwWnxU=; b=I39C0Bu0gTA9Uc SMBluoVd1/CQ5+862KHysKHsk8DRcBgccHi/rB5BTvPAqmqJoHNfPjwbOe26YvZ2KKRkZSbTdeLld WTa0xW3vNId7pJoIzWZRIbu1zzONil2CfIb1bjvFcFPRzkAsfjWQ8fVYNhpomVavuvwsd5hA3DB6Z k8WcnRjm391RLlVK9lfSHR3PNeC+630MoOLTyH3j2mBA23C5OqqPcAb3cz3oX4kpK2Ks4NphZIfWt eBwdF6iI5YdHawTI7pEn5N+349fjGPo/iGZjRWILzIluqCBH9dypSO9zkrtasZhnwehWfMfdhBCBP XD/GSkQEnWf2293g5axw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1if3MK-00084X-HJ; Wed, 11 Dec 2019 14:53:00 +0000 Received: from mx2.suse.de ([195.135.220.15] helo=mx1.suse.de) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1if3Lv-0007eE-T8 for linux-arm-kernel@lists.infradead.org; Wed, 11 Dec 2019 14:52:37 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191211_065236_119530_357C4C6F X-CRM114-Status: UNSURE ( 9.44 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, Felix Schnizlein , Felix Schnizlein , x86@kernel.org, will.deacon@arm.com, linux-kernel@vger.kernel.org, linux@armlinux.org.uk, Thomas Gleixner , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel