Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp960814ybl; Fri, 6 Dec 2019 09:00:14 -0800 (PST) X-Google-Smtp-Source: APXvYqyPHpEqqBHjmK0ZVyezvES5Zimd1GaVAU1aG7q7Hoz9fC8fpHD3yiCq4IPxOy6PGJkpB3qS X-Received: by 2002:a9d:7586:: with SMTP id s6mr11398689otk.342.1575651614886; Fri, 06 Dec 2019 09:00:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575651614; cv=none; d=google.com; s=arc-20160816; b=r97wa92htLdG0V0aqIdmpXa1baAcArixrxqRu/PLMRW9L7KgfAwIeY1z43rOtCbMz0 p+hdTz0bFjLADLOiAVjetLl8Ho0+erXM8Ar4LSCvmeVjdN2Am20b0AKEoWIwc8OK3AKa yV/v+impnmSesXRV8PVSvHUnEQ5fuqKiv+VG54MQAFuk7o56C7u0i/kso0kjuO4Y3RJ7 4YOLAVPO4J0WTyXBdMFYfyHUG7dEzj21PxgUfIp1SG+GlRbD5Tg0mHTDpUDl1njM8wtj 7YHRpkbdLUwdbiHWxQAtrN492DLUMlEjdP6jutjmA3f45fbcvPGFqpzjjyoKo0vGpmnq Cbjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=vPqo5iIUH+ZWglG4YWBW+yD1kvSC4VyIRg5Aea7v5QQ=; b=AH5j2nHuMT4dhrZ3PDP1OBAVI4S4mkDgtEgUqwb3nFMA35bBLiN+62TefcwyR/la+p c7dIoMcnE/hxQjCT1SxHvguHaUOG6YdoTU3PaTq9eYINNuiEkF6Le83m3JwzamRvWOdW 4YtoGLs2nzh3hJGSmqpKviB6q5mJleEA9mtRrO9OFhgE8nPcFJRSW+7uNRaYTw6lBNe5 YRwwaXXPXe3mh1labfrakm6pdYbKYI1qSGotKFMbhlz0Y3I50V/SDXDUwPT6XdbSejpI wdGZfsgNxKPxl9SoH0Kwq5hFn7OWDxXedSt8CkD9UpmbBXwGv3prXVMz+97jF9EnmqJ+ m8wQ== 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 d13si7181862ote.242.2019.12.06.09.00.01; Fri, 06 Dec 2019 09:00:14 -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 S1726718AbfLFQ6H (ORCPT + 99 others); Fri, 6 Dec 2019 11:58:07 -0500 Received: from foss.arm.com ([217.140.110.172]:50636 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726271AbfLFQ6H (ORCPT ); Fri, 6 Dec 2019 11:58:07 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CBD1F31B; Fri, 6 Dec 2019 08:58:06 -0800 (PST) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9710F3F52E; Fri, 6 Dec 2019 08:58:05 -0800 (PST) Date: Fri, 6 Dec 2019 16:58:03 +0000 From: Mark Rutland To: Thomas Renninger Cc: linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux@armlinux.org.uk, will.deacon@arm.com, x86@kernel.org, fschnitzlein@suse.de Subject: Re: [PATCH v5 0/3] sysfs: add sysfs based cpuinfo Message-ID: <20191206165803.GD21671@lakrids.cambridge.arm.com> References: <20191206162421.15050-1-trenn@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191206162421.15050-1-trenn@suse.de> User-Agent: Mutt/1.11.1+11 (2f07cb52) (2018-12-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thomas, On Fri, Dec 06, 2019 at 05:24:18PM +0100, Thomas Renninger wrote: > I picked up Felix Schnizlein's work from 2017. > > It was already reviewed by Greg-KH at this time and even > pushed into linux-next tree, when it came out that the mails > never reached lkml, even the list was added to CC. > > ARM people then correctly complained that this needs more review > by ARCH people. It got reverted, Felix had no time anymore and this > nice patcheset was hanging around nowhere... Can you please provide a rationale for this? It's not entirely clear to me what information people need or want, and there's some data in /proc/cpuinfo that I think makes no sense to try to export export in a structured way (e.g. bogomips). > > Tested on aarch64: > > /sys/devices/system/cpu/cpu1/info/:[0]# ls > architecture bogomips flags implementer part revision variant > > ------------------------------------------------------------ > > for file in *;do echo $file; cat $file;echo;done > architecture > 8 > > bogomips > 40.00 > > flags > fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid asimdrdm > > implementer > 0x51 > > part > 0xc00 > > revision > 1 > > variant > 0x0 For arm64 we already expose the MIDR and REVIDR register values under /sys/devices/system/cpu/cpu*/regs/identification, and that's the bulk of the useful information above (aside from the flags/hwcaps). Thanks, Mark.