Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp743342ybl; Wed, 11 Dec 2019 06:53:48 -0800 (PST) X-Google-Smtp-Source: APXvYqyyJ0L/gzADGiVy0kqIki4jpogMMvn5W8+JBmimirDC4I+mLKTaOIcREmpbHAkeykUO4vIN X-Received: by 2002:a54:4f14:: with SMTP id e20mr3010604oiy.84.1576076028857; Wed, 11 Dec 2019 06:53:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576076028; cv=none; d=google.com; s=arc-20160816; b=vL2pU9AB0NRHcs5ySRghABlDcsl2t7o7XebFRa3pWIx911z5QLuuLcxVZZTlwAg8Bk uep4dfl0BN0Nqyx/4IOZg/nVqvveSeqzYmmS3Ohqui+xFzE3GF9ybE4CchRs5ZOtwcsJ r0HAvXowcHSsxq45ryMTBaj9sYM56Wu/fqOZDVDACw18T+WW3UOlS4vh6uZ8UOQiJPLd zCLU+akli6w/IZ1vXeWqxebjW+QYRpgvq9Ad3vShMmvl/a6B4vOQWQs0CUgOEgR6/JAh +8lSQBpcTVzjA227/Pg6jad0EkbaR+TGAf5ygKSn4nCjV8quG13FVGrRH8/xxZFQu4UG 3usg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=5o95hGApG2BPNV/p781EN9V04zAWcg/XwujvbD0ZKP0=; b=QnXcmCwF3CGjwbkk+r2kyAqpRk633jwbaDKdKecVFY02pibB4MKFgBabJKWZDU7+1F kcfAh7qZzziHUS9Fccsm8Xmq7CvW9oa3ToKIGlpM7y3fnBnPb7ypwSF/m0uAtVEzwIoB 1AEpAUp87Zd7CSrV2ccZcmoL/EEfcOR+4Cv3l2nJbOPOsGCjfxEMBxlFr3ACo4wDDgNW s9mvn5UvvY8/bnZsPoA/9ep0tlHc7cfrJCe7pNoiRd45qC8s52Sbq36lc/wpgzknyItX a/vJt0qiRbvMymotFeQE/1uHTTs7F6tpp908q4H3Pgkh0V7+A8KCM0pEY7xLWQkvFRlm hg+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j13si1235104otk.9.2019.12.11.06.53.36; Wed, 11 Dec 2019 06:53:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729804AbfLKOwh (ORCPT + 99 others); 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