Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp392616ybm; Fri, 29 May 2020 02:50:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLCUKOsipGvaabn9JnP5QpbbGmnGH8bZeVa2U2y9xKotx/Q38/+M1lGJ4yM0JzylLECb6x X-Received: by 2002:a50:f106:: with SMTP id w6mr1149201edl.131.1590745810253; Fri, 29 May 2020 02:50:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590745810; cv=none; d=google.com; s=arc-20160816; b=NJ/w1l5vApwTBo4lRVQIWO12siGLMn448hwjTsicOBr4UMecc48mPDgyK8tpYV+XhR KXD7393XlxsOtnFDBnINMuSt23806ZBusyBEO9bpE1KsiSPYmHKptEef+2zcr8N8ulzn VM9fzGozBpnb/EtVJleUFGnrAwpHioAOH+byOIniA8M8Vr6FMGQ/xIARv9fsmvfn8sG1 Kjk7+fVACB2iVI+oC/Snz/Gc5t66cG5QoHuXSgQjF0AsKznUkXko//vGlM2T9wx3DETD O2PEzNZoZQyaNLhHE9gpZLuP1yolkPv+8NHdCPZE6ia2cSW2UqB1j1FVWH/NxaWQoTuy 4jgA== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=mDFGbZ3qT/VFt/UxC33w9zxVI1ZAkQMbvScrJ2H1+Qw=; b=mI1Jg2nrn+6LzQoIFeGOYEtLKJndIT3QTg+mtEbJDi16RmhCPyBsMbniZJNCb35EEr qwYrWSgdj8QCqr7qcPPed0sQntmbIsM6lIXBXnY8yjphWKyNTccb3JjdLoLpPs9FZH9G sTc4rKzmrFYbuDEy15nmQdRkt+JyrlcDd5cDHjLkJoYdEjR46fLssy12AUSTlD6HWv9y S/uYIaLPBWsNxtH54JqtwoXfZTHRl7Qv+6BdQ6pX8TC9UugPV+kekkBg67T3+jA+yxC/ FoDTrPdQ3UttKaTUlWGZ8MG2PhtoM1hEJvLRBjX0wjtKkuHzIiszHTnLU5DAQ80V//1E PoIA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ly19si3035495ejb.394.2020.05.29.02.49.47; Fri, 29 May 2020 02:50:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725901AbgE2Jrh convert rfc822-to-8bit (ORCPT + 99 others); Fri, 29 May 2020 05:47:37 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:45927 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725306AbgE2Jrh (ORCPT ); Fri, 29 May 2020 05:47:37 -0400 Received: by mail-io1-f65.google.com with SMTP id y5so1609967iob.12; Fri, 29 May 2020 02:47:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=OfElml7yhf6Z5HsY5EprK27AdaqzJIHqrLNGeQYTUtU=; b=RU8558+eITsDuz1ZlX+eBUgZ3DYHmfou4CJKxjPyNzDODnSvHehllPpr7LTz9P93Gt kaH/55SHg4nweIlHYt4FRlj/IzWlA0QNEABWlJ8HDTZEhD9WwH6Pgv7ZhGRzhwoW4hHZ qqM2a+WJJNQ3lHP0BOi9WmX9slDOQkXqF6x9jqK/APzrPVxnK/zYW19A8vdLd5fVajZ/ 35GJUvr5Wj901gRaYYDE8MfyVGTLaxh5hKoXWCsMf2rrr0aMjyORZaefHc0wY8u5f7yR tuYhw2//wKNuXU4zIdRE9teo7NnwNp309u1zYfiMc+pV3CHDdo79aRg+ZOjj4CnYlu6k mEsw== X-Gm-Message-State: AOAM53054ys+shZ1A7EINKUqYTDg6zJxRswi5Si+dulT9cI55nN5Tby0 5PMFBCgGl88YFZFlA5NCyk9SlP+OJnzv8cIzWZs= X-Received: by 2002:a02:958e:: with SMTP id b14mr6500889jai.126.1590745655399; Fri, 29 May 2020 02:47:35 -0700 (PDT) MIME-Version: 1.0 References: <20200529034338.1137776-1-jiaxun.yang@flygoat.com> <82608FDB-FEF8-45FA-85D7-236B46F906B7@flygoat.com> In-Reply-To: <82608FDB-FEF8-45FA-85D7-236B46F906B7@flygoat.com> From: Huacai Chen Date: Fri, 29 May 2020 17:47:24 +0800 Message-ID: Subject: Re: [PATCH 0/3] MIPS: Loongson64: Initial LS7A PCH support To: Jiaxun Yang Cc: Marc Zyngier , Thomas Bogendoerfer , Rob Herring , "open list:MIPS" , devicetree@vger.kernel.org, LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Jiaxun, On Fri, May 29, 2020 at 12:37 PM Jiaxun Yang wrote: > > > > 于 2020年5月29日 GMT+08:00 下午12:13:36, Huacai Chen 写到: > >Hi, Jiaxun, > > > >On Fri, May 29, 2020 at 11:45 AM Jiaxun Yang wrote: > >> > >> With this series, LS7A and Loongson-3A4000 is finally supported > >> note that this series should depend on irqchip support[1], which > >> is likely to get merged soon. > >> > >> Thanks. > >> > >> [1]: https://lkml.org/lkml/2020/5/16/72 > >> > >> Jiaxun Yang (3): > >> dt-bindings: mips: Document two Loongson generic boards > >> MIPS: Loongson64: DeviceTree for LS7A PCH > >> MIPS: Loongson64:Load LS7A dtbs > >> > >> .../bindings/mips/loongson/devices.yaml | 8 + > >> arch/mips/boot/dts/loongson/Makefile | 5 +- > >> .../dts/loongson/loongson3-r4-package.dtsi | 74 +++++++ > >> .../dts/loongson/loongson3_4core_ls7a.dts | 25 +++ > >> .../boot/dts/loongson/loongson3_r4_ls7a.dts | 10 + > >> arch/mips/boot/dts/loongson/ls7a-pch.dtsi | 185 ++++++++++++++++++ > >> .../asm/mach-loongson64/builtin_dtbs.h | 2 + > >> arch/mips/loongson64/env.c | 56 +++--- > >> 8 files changed, 342 insertions(+), 23 deletions(-) > >> create mode 100644 arch/mips/boot/dts/loongson/loongson3-r4-package.dtsi > >> create mode 100644 arch/mips/boot/dts/loongson/loongson3_4core_ls7a.dts > >> create mode 100644 arch/mips/boot/dts/loongson/loongson3_r4_ls7a.dts > >> create mode 100644 arch/mips/boot/dts/loongson/ls7a-pch.dtsi > >I think the naming can be like this: Old processor (Loongson 3A R1~R3) > >use loongson64c_ prefix instead of loongson3, new processor (Loongson > >3A R4) use loongson64g_ prefix instead of loongson3_r4, and > >Loongson-2K use loongson64r_ prefix, this makes them consistent with > >their PRID definitions. > > > DeviceTree bindings have stable ABI. Although they're currently > only used internally in Kernel. I don't think it's a good idea > to rename existing bindings. I think consistency is important, and this renaming doesn't break anything. > > Also, Loongson64C/64G/64R never came to a part of Loongson's > official naming. I doubt if end users will recognize these names. > > I'd prefer keep naming as is. It's really not a big deal. > > Thanks. > > > > > >> > >> -- > >> 2.27.0.rc0 > >> > > -- > Jiaxun Yang