Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp220502ybm; Thu, 28 May 2020 21:17:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfq91woTNiU80QyaVToKPHRRIqpnEiJJAOlowyXNar0wGXMapGhOeBNx0UGvLn/WsrGTbU X-Received: by 2002:a17:906:3d69:: with SMTP id r9mr5755285ejf.20.1590725825013; Thu, 28 May 2020 21:17:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590725825; cv=none; d=google.com; s=arc-20160816; b=vSqpBjduhIWmB2NJ6qUjx0Pffmd1mZbcrJwlqFrwnJ+sc2awQovzQeO4slC8LwGn3x /VgpRo0YEIWWa9zcGO7JDyyTK8LlUSfNqlQaey9BFfiisnmYd1TiS6+NhyIG2HYafEZq Pg5sB5Wx47tW3M0ZkAvZx4N8H0luTx8rnr8VZhWXQED5ATZ5gPYBsY0ho5bh6TOogkO8 81TfdvQ9/S9ALFNDtr69RffXmpWqEmSqOedSJkMuTkMhrrZ7GZQVXZQh+hzn4G0sI9Jg VwB/DQqKakb7+y1n399WT4dOK3TZkNIIskOQAweib245aCu0n0N+i0WehLtriXFtJuia XkSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=ABZvl1lYM8QmTi5wYB82oie/IHyifCzA4I+u8FVXCCk=; b=qg9lrH4rXGFoqaCtZLooZsYQ5Vqv9fqsw19oMZNzHvnaayjQOCupAVhk75QtYzVX6Y iMTFrwb7ha/fYs21HRe3Mh87XAOLBFtJLX+xfbV0eFOJD2GH17ss/ilGofdrLIsb7iQC pR8cS1UVhytCnt/9QzslSAFMn1+vSx4nQqdjPTyJzvbpK+qmd1FzJQUr+beyzOWLAAH+ q99F8aCCfC1BGbXxhS7lHXj5kTSjRUFTon3G4L5w/B4ho7teIR2wQkrcSBcI0M7gxjDg HReLSFUt9OGTP316cUlDJCT0AftU4W1Vwiyw7jGlUu/kMT2iaBFItsXQUfEUcTZ4A9QM JD2Q== 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 r27si2435076edl.187.2020.05.28.21.16.41; Thu, 28 May 2020 21:17:05 -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 S1728805AbgE2ENu (ORCPT + 99 others); Fri, 29 May 2020 00:13:50 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:45690 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725884AbgE2ENt (ORCPT ); Fri, 29 May 2020 00:13:49 -0400 Received: by mail-io1-f68.google.com with SMTP id y5so883032iob.12; Thu, 28 May 2020 21:13:48 -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; bh=ABZvl1lYM8QmTi5wYB82oie/IHyifCzA4I+u8FVXCCk=; b=M+F0feJLse2P2zSVkvT0MZzYb8c16WgZysW4VuP39Qugg1+4LbukY6YrkKiGLcyNMA vgW/clZBODJTAf2IXIOW+wiVyTrAtRtUbRDYWHl/penhd/7gzAXgwrsUo5xKivw+AEyg uWCMx0Fd6v0+4CVFV8KYFfr81Yn9KVmE3kJWLYmi4a16rwLSmK/FXZnlalA30xFsYjDc Ui+yFb2UmTzuaOO605Ui5KAlTmDtmivbGpNNuM5wD8d3PUMzPIgYneoc/Z7URRUdhiI7 wXmRrRXtC8Gcd9Z+sziDa8JxKJtP2h8XofqFBVz1tEyzcElnfoHYIYyW3N4Td3J2rcUK qseQ== X-Gm-Message-State: AOAM53243GMdpL2TL5COLHPYy7nzBjTaGrckPtL3hEDwXTn5sTSAdaU7 ySjVIsb8BiZe6vaK+ygc/vj0gMNk47RGkTQOxmk= X-Received: by 2002:a5d:9cc2:: with SMTP id w2mr5176349iow.42.1590725627953; Thu, 28 May 2020 21:13:47 -0700 (PDT) MIME-Version: 1.0 References: <20200529034338.1137776-1-jiaxun.yang@flygoat.com> In-Reply-To: <20200529034338.1137776-1-jiaxun.yang@flygoat.com> From: Huacai Chen Date: Fri, 29 May 2020 12:13:36 +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" 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 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. > > -- > 2.27.0.rc0 >