Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2110009imm; Mon, 16 Jul 2018 02:18:49 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfX8zSbGqK8fNxWpmHgfvs8gdH3Sw3RQmentzGJkDpYRoRGMwxJ4gjs+wzlgXT2rL9VSZIz X-Received: by 2002:a62:4a41:: with SMTP id x62-v6mr17335369pfa.45.1531732728962; Mon, 16 Jul 2018 02:18:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531732728; cv=none; d=google.com; s=arc-20160816; b=BsXdJKlGPUxcgPPYH71hWHQNCqBsXrz9hSEyr3vmQwYRlAIzrAOVU09NkA8xVIKUI5 E9NaLgIg9zzB5miOca4kVvleNjMyKttTomwAwWpfM2UXdXMUvWzTStisKH8DogMmzHKY zwVQAIyMOc33YMa3htwRAHQQ2vQlpLaQVD39SQmWrRJutL3XwbXH+32SyHGwzsM7QKia Uidsbl9C6Q1EW7yMa45eJ2dJSPlA9BmyHCPYf08cc4bf1ETZlSoHJinzDoH6XUjyEHqA 1P/OAnms5vBov/Xa73N/p0Acn458C/qitx/pyzRddpTUhzxTj/E426M1WRf5IVD+fvni adQw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :arc-authentication-results; bh=D8g9F7YS8FZxw12We0CZT47yblIB3VKwT0XDFKLZC3g=; b=D3xeFwqAMZmbucT1YVrjF5iLZbhMOyyLz/nMN0nJEmDN+L0nTRIXFYlibnAP5PZQyl l/aMZONHgBCezgdrchHowHYr72GAAetXeSAhyP+tnfV1IUoZFqw0OfFMGxGwMaN/EXm0 dqXjAh+Ap/QGFAaz5nJkSihQSn6jpdAXKB+1ncPOhYuSxbfLH9hNKjEgPbamaRtOR9R/ WekeammmiDBCs9gV9kzTLXOzkIZGIn2Rwt2sZIt7R0AtkWy1hKQygfJhWLh9HJbpqvhD vdMZxhFv6bIeaaRvumxBaR3VEdbmjFzbxTSuKtG+sWDTsxaDQYCIwDqlOvGel15Hnb65 d+lw== 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 d18-v6si27626860pgp.214.2018.07.16.02.18.34; Mon, 16 Jul 2018 02:18:48 -0700 (PDT) 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 S1728794AbeGPJnu (ORCPT + 99 others); Mon, 16 Jul 2018 05:43:50 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:55436 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727594AbeGPJnt (ORCPT ); Mon, 16 Jul 2018 05:43:49 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EBE087A9; Mon, 16 Jul 2018 02:17:21 -0700 (PDT) Received: from [10.1.206.75] (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0B56D3F589; Mon, 16 Jul 2018 02:17:20 -0700 (PDT) Subject: Re: [PATCH] arm64: cpuinfo: Include cleartext implementer and part strings To: Olof Johansson , Catalin Marinas , Will Deacon Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20180715035342.11371-1-olof@lixom.net> From: Marc Zyngier Organization: ARM Ltd Message-ID: Date: Mon, 16 Jul 2018 10:17:18 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180715035342.11371-1-olof@lixom.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Olof, On 15/07/18 04:53, Olof Johansson wrote: > There's some use in printing out what the implementer and part numbers > decode to for cases where they're known. > > I filled in the table based on public information; mostly from ARM TRMs > and other tools (and some of the SSBD tables in the kernel, etc). > > Apple IDs came from > https://github.com/apple/darwin-xnu/blob/master/osfmk/arm/cpuid.h > > Signed-off-by: Olof Johansson > --- > arch/arm64/kernel/cpuinfo.c | 79 +++++++++++++++++++++++++++++++++++++++++++-- > 1 file changed, 76 insertions(+), 3 deletions(-) [...] The same thing pops up every so often. And the answer is the same each time: - it breaks an existing userspace ABI by changing the format of cpuinfo - it is unmaintainable in the long run - userspace already has this information by simply running "lscpu" What has changed? M. -- Jazz is not dead. It just smells funny...