Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp405466ybh; Wed, 11 Mar 2020 03:28:45 -0700 (PDT) X-Google-Smtp-Source: ADFU+vs0spYctJF6wOkNqIdsNq4j6Yq4BQBuHp1Ii0/n/eBXxDKvK2xmtBRwsgw/sXhK9fH8KXu7 X-Received: by 2002:aca:3101:: with SMTP id x1mr1368755oix.15.1583922525061; Wed, 11 Mar 2020 03:28:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583922525; cv=none; d=google.com; s=arc-20160816; b=HABurZxTDw2BM8ACiOHvIObJrkGC+eeY3wsAqkeAnH+y7t8DF42JoVUUwUkos4nRis nypJSIwIZxWkrIIieR5OPWHAFlGoFm4xH+ZpX+kyenhiyW6hzXrDLeYFBYdxhiVtja4c tNa30cUOUJZ19AogL+mMX3F8BdWsErIT9jt46Q7u4LFNea5Sq6CQytytLQZyBi3fiC33 YOz3esfKB53hngZr1/H49C9Gx/hevJiwXPGsYybq7co1gifrG2ktrEzQb1XW0go4zx/z cbdwpEeUJgoeRdsOlqT0xrzjqW0+tMzU9RSQa3FjXSUGqOLA7Z70GTfaV2ztbM26gS2V uX5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature; bh=3JtcSwh2mJxc7wOGkPwcMUPW0qPL58nKY7AyPUUwUa0=; b=ufqkfg3WHUIqfC75BpltQAwkCOG76GvYg8zZNQCnK7ZCt6JKF5pveVXyHCwnL2AACK gNjOOr3MugDoGi98vpTJkOWxNghwrDVcy/F6XZwgvV/rCgRldEnZs04Y7IdyGadv2vHg neDjDa+FVlt5xAfxj5RRfXSNy20Ewf1Q1Sq+LEq6WNW0ST44wMIvfvg6SAdanaL090k0 P909YUyvF1S1mvflbUpe3ZF7iSDwrafPnU9jjHweVojQcpnjDteetF9Q/rj13MBLy+zj eoInvRnKlTsz21mGwhye+hm7pg9QZVLty7FSzCUufJyUL8SVCgMhJNu1zoU39CJBnYWC 03BQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@flygoat.com header.s=mail header.b=X452yBY9; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t20si947650oif.85.2020.03.11.03.28.33; Wed, 11 Mar 2020 03:28:45 -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; dkim=fail header.i=@flygoat.com header.s=mail header.b=X452yBY9; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728966AbgCKK2O (ORCPT + 99 others); Wed, 11 Mar 2020 06:28:14 -0400 Received: from sender3-op-o12.zoho.com.cn ([124.251.121.243]:17873 "EHLO sender3-op-o12.zoho.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726000AbgCKK2O (ORCPT ); Wed, 11 Mar 2020 06:28:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1583922472; s=mail; d=flygoat.com; i=jiaxun.yang@flygoat.com; h=Date:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding:Subject:To:CC:From:Message-ID; bh=3JtcSwh2mJxc7wOGkPwcMUPW0qPL58nKY7AyPUUwUa0=; b=X452yBY9ONVbwpQAj0flhzXrLG/MY1sKLO46rhgX15EuWaZYodJfE8PQflfVkC5a gittBRI/vWJzL1sDLeKux26J6fF2PbM+px34+CBBvP+65xabEiVjknNI2hfB6i84ylr 5M9+kR0wMbzyd5pwKPjvldeRMYhOwZ/PZ+n7cFbk= Received: from [10.233.233.252] (60.177.107.241 [60.177.107.241]) by mx.zoho.com.cn with SMTPS id 1583922468959882.4961712556443; Wed, 11 Mar 2020 18:27:48 +0800 (CST) Date: Wed, 11 Mar 2020 18:27:48 +0800 User-Agent: K-9 Mail for Android In-Reply-To: References: <1583908414-22858-1-git-send-email-yangtiezhu@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH] MIPS: Loongson: Add model name to /proc/cpuinfo To: Manuel Lauss , Tiezhu Yang CC: Thomas Bogendoerfer , Huacai Chen , Linux-MIPS , LKML , Xuefeng Li From: Jiaxun Yang Message-ID: <788597FA-6AD6-4218-886F-35C0916EA3F2@flygoat.com> X-ZohoCNMailClient: External Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org =E4=BA=8E 2020=E5=B9=B43=E6=9C=8811=E6=97=A5 GMT+08:00 =E4=B8=8B=E5=8D=885= :58:48, Manuel Lauss =E5=86=99=E5=88=B0: >Hello, > >> Model name: Loongson-3A R3 (Loongson-3A3000) @ 1449MHz > >How is this different from the __cpu_name[] array? Doesn't it serve >the same purpose? >E=2Eg=2E on Alchemy, it lists the correct Model name=2E (I=2Ee=2E "Au1000= ", >"Au1250", =2E=2E=2E) Hi, __cpu_name[] will be displayed as "cpu model" in cpuinfo, however in x86 world, the name line is started with "model name"=2E Most user applications like lscpu, hwinfo is following x86's rule, we don'= t have superpower to move all of them=2E Also rename "cpu model" will break current ABI, so just create a new array for it would be a better option=2E For why Loongson is doing this, I guess they need a chance to show their business processor name instead of revision=2E Thanks > >Manuel --=20 Jiaxun Yang