Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3321404iob; Mon, 16 May 2022 19:19:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkKUEUOnXqgrMIrbukBgtk9KgYyr6tjMOSUtVgKYzf+s300nPPzqOQRvs4BAwlJSra+sVv X-Received: by 2002:a17:907:7242:b0:6f5:2921:a89c with SMTP id ds2-20020a170907724200b006f52921a89cmr17427719ejc.445.1652753980711; Mon, 16 May 2022 19:19:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652753980; cv=none; d=google.com; s=arc-20160816; b=xurYcofk8CPXiLB0Vc8NuJPL3NrW/0Cbuzsl5yMgF35qTyNAjOnSCq39N9+nHKh3z7 Wrh8NYBQLSgg/Qh66sG2ZuZ4ASq3Tuw4KPyv9rAFA70VBOfTjiu9MYGPB6MhGUs+OBjY Xzsh2LzgGOjF2UF1WSLv6x3+hWgSgyo0Esr4XOxd7QHDcni4/aXoN93kw11pBOJv/iuY 4dLN3dbSvm3+n6zyydnRuc7tCEhWlggG7FHZ4JtMPBo3itft20LGCf+KgFwCEUlvK/QL njKZ5BIhGIMZzWromUq8j/KTgDPaIjBZ+DvfnZSI5R2xMMt8tDRne05N7jex+NV9N9ap 3tMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=da0tSqTpoZccXNC6Mon6l1Je9BJX/v1Bpiwu4fXyLMQ=; b=oPMEe1Pk+awX5OQaCMxoQH2cpUzmledsaqsaJC0CwW7dCS11wZ6x74N0Vo1na/v4Az k1Dxpk6zyVs2y+lLwVu/SkNA8/pTTt85R1R15Wiesr92fwd//DbU2y7VbsJi3Zs5d0+t lCBScvH4msaXXzCSe45+Fc150gnWiuaIDZbBk7hehZbJ9qfVOnz/N1kqX/lX/+dPjgB6 BCeg+c11Xh1aqR6wOcnCpiRSP1DBA6TOlaUviWkWrx3kKOLlNqe5VrLXZMw0YleIkhJ+ N6NCOpW0L4fkdKacLdafXyXGpnRS1dHMSPY8MvQxX088DmV5zBicuwSyDmRqKgmxZt+r Jiag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MN1SfpWt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fq17-20020a1709069d9100b006f3bcda163bsi986854ejc.165.2022.05.16.19.19.14; Mon, 16 May 2022 19:19:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MN1SfpWt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241106AbiEPHlb (ORCPT + 99 others); Mon, 16 May 2022 03:41:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241243AbiEPHlM (ORCPT ); Mon, 16 May 2022 03:41:12 -0400 Received: from mail-vs1-xe32.google.com (mail-vs1-xe32.google.com [IPv6:2607:f8b0:4864:20::e32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3712261C; Mon, 16 May 2022 00:41:10 -0700 (PDT) Received: by mail-vs1-xe32.google.com with SMTP id e19so14582843vsu.12; Mon, 16 May 2022 00:41:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=da0tSqTpoZccXNC6Mon6l1Je9BJX/v1Bpiwu4fXyLMQ=; b=MN1SfpWtfgHZisIRElpcWhlOvw1hNBSnFuOn6GxqAoHNiqWAP+xjY4LJFLvdBIlqs4 feqjLC/vRblVTe6p5VqKxIKMbdCRPvbxiIVumSo9aPEeiegmwaZysWj07xAA+5c+xr1I 3aldzCwPPLPJPD9TeS8HXWUIFEqYictOfhlHrBk3vMIpsqci7LTd8PV3zxt5wrO0cNkp HN3sA1u/ByVZwfxRIw0clGdONDzzq4jsXrdEFXIm0nvqKIHzZOghxcrUl2vyd0tY3kik cXWFjffR95p+kRsRBjdXURg6F27B879a9uVv6QhsCM7KZtAG/RjUPInC/6GVqTVsyaYo SqvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=da0tSqTpoZccXNC6Mon6l1Je9BJX/v1Bpiwu4fXyLMQ=; b=N3lr3VJQ9z3tXglUxIKuRlYjYxn7GMKlFM3H6roU4IIe4TNixZUxoQ2KEGBqwd5JTf t3Er/0BNeXtEI99tt+pn2rXePumCcNQXdZHQXWvJRsxToslV0m0CvWwB2lCyIpBaA1nX gZHB+jB5vPo6PFQyEE/QDO84OA1kyU54gMoYq71XMbzQUmpYubNI2yBdqqxNgzZUVW+7 2EUgcPQD6EDj0INnrzgiOEwlLpaTXmWYDVnozf+b75YBdu7JtUU17SXKSv/PFN+PMWci PHUperQBqY2Fcp9srg46YFN/0pYWBF7gxYUhmvSzaeLhrUzKEJsh5DJppJUZ6C/Iaun7 0jow== X-Gm-Message-State: AOAM531Uh6R16Ljjii1/x7I6DKAmMWGA9b6kuzceFC+lx8nZsn4hnMVT ddGHP3iLCBKedlAl4LULjmeJLtn0XOTMarGts00= X-Received: by 2002:a67:be0b:0:b0:32c:d82f:6723 with SMTP id x11-20020a67be0b000000b0032cd82f6723mr6170771vsq.67.1652686869723; Mon, 16 May 2022 00:41:09 -0700 (PDT) MIME-Version: 1.0 References: <20220514080402.2650181-1-chenhuacai@loongson.cn> In-Reply-To: From: Huacai Chen Date: Mon, 16 May 2022 15:41:01 +0800 Message-ID: Subject: Re: [PATCH V10 00/22] arch: Add basic LoongArch support To: Arnd Bergmann Cc: Huacai Chen , Andy Lutomirski , Thomas Gleixner , Peter Zijlstra , Andrew Morton , David Airlie , Jonathan Corbet , Linus Torvalds , linux-arch , "open list:DOCUMENTATION" , Linux Kernel Mailing List , Xuefeng Li , Yanteng Si , Guo Ren , Xuerui Wang , Jiaxun Yang , Stephen Rothwell , Ard Biesheuvel , Alexandre Belloni Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Arnd, On Sun, May 15, 2022 at 4:55 AM Arnd Bergmann wrote: > > On Sat, May 14, 2022 at 10:03 AM Huacai Chen wrote: > > Cross-compile tool chain to build kernel: > > https://github.com/loongson/build-tools/releases/download/2021.12.21/loongarch64-clfs-2022-03-03-cross-tools-gcc-glibc.tar.xz > > I also uploaded a clean build of gcc-12.1 with loongarch64 in the > https://mirrors.edge.kernel.org/pub/tools/crosstool/ builds. > I have not tried it yet. > > > This patchset is adding basic LoongArch support in mainline kernel, we > > can see a complete snapshot here: > > https://github.com/loongson/linux/tree/loongarch-next > > Note: I have pulled in the generic ticket lock series into the asm-generic tree. > Please rebase your series on top of > git://git.kernel.org/pub/scm/linux/kernel/git/palmer/linux > generic-ticket-spinlocks-v6 > to avoid duplicating the commits. As long as you are based on top of the > 9282d0996936 commit, that should be fine. > > > V9 -> V10: > > 1, Rebased on 5.18-rc6; > > 2, Use generic efi stub; > > 3, Use generic string library; > > 4, Use generic ticket spinlock; > > 5, Use more meaningful macro naming; > > 6, Remove the zboot patch; > > 7, Fix commit message and documentations; > > 8, Some other minor fixes and improvements. > > I think with this you have addressed the comments that I had in the past. > Xuerui Wang and some others had additional comments that of course > need to be addressed, but this is looking good to me. Thanks, I will solve the problems and send V11 ASAP. Huacai > > Arnd