Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1986696iob; Sun, 15 May 2022 04:51:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxUYqVkfNvmNR3ttqRn2BG6Rh/UUbkGOCyoophPEjElHIms4V1x1pPbkZboYgzQB5pTfmw X-Received: by 2002:a05:6000:100c:b0:20a:c8db:69d2 with SMTP id a12-20020a056000100c00b0020ac8db69d2mr10434951wrx.19.1652615505180; Sun, 15 May 2022 04:51:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652615505; cv=none; d=google.com; s=arc-20160816; b=kHvzbzJxypwdnw4Nuv6C4ONHqPAYvysdk2+kxxbxp7NzhTrAavZmsnkGFVMnLo0a/K Oob9euJP7VcUPbwdb0K4zfM08wmIefa0mnuUnEoDHNxL0D0aEAQxVzQZ8Kug4hdvPFP+ JNPt8tgflTT3dJgHQrTFuy43Kriz/5UeyoaepJkpmXdCf7+e4rrduPfX2LZwsWh8xCw+ eGA3YGehIRxUewP5Hz7WLc8z86OUZ9od1f6zWZpl8o5lqStv4u//W85T8jhJlagCakIC SAAeejDDIriAJ/7gnpyeLrlN8QkPZEyLgEHgcuO/pJJ2BmePfYybTVBBeIYDQFUt6QUC rXlg== 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; bh=PhRSANIUAhc9k/ZHeTLXvEqldNE0Wp6wqrLcpy9rv0U=; b=qesu2AI80a+9Ci2Wbtg3zOGdWh9Vcx5lgMSEHy9JFFdp2pl13Qb/jBBjU2V6rER3Mx Hx81I+F7DaMSbHB9sdv4LUe6ERqkfMnPTa3pM6Bj9cno3Rvss50nRnRvWGyUhKNHaGiL m9m601xsMyIFIadPlMQmzL5p11HfwWHA3ZU4K2gTs17UN/ESfojDODSwQ3DJr7zvRGMJ Zt/AfUTIr+hXHlzAfHHiCsrqluQ/DzPEqyCpafEHWmbfnLpWWBNquvbRgF22hLP8nJ8D zBdYwASPwBULRbWHnFy3utOlzD6k1z4lUnoFPOVYAt2unTWegX5dF75zdDcAW3eDDzSv LKXw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r14-20020a5d6c6e000000b0020aa33d107asi9638336wrz.1010.2022.05.15.04.51.18; Sun, 15 May 2022 04:51:45 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235198AbiENUzO (ORCPT + 99 others); Sat, 14 May 2022 16:55:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229710AbiENUzN (ORCPT ); Sat, 14 May 2022 16:55:13 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69C1D403DB; Sat, 14 May 2022 13:55:10 -0700 (PDT) Received: from mail-yw1-f175.google.com ([209.85.128.175]) by mrelayeu.kundenserver.de (mreue106 [213.165.67.113]) with ESMTPSA (Nemesis) id 1MZCOl-1oL8aj1fSD-00V5zn; Sat, 14 May 2022 22:55:08 +0200 Received: by mail-yw1-f175.google.com with SMTP id 00721157ae682-2fb965b34easo120183737b3.1; Sat, 14 May 2022 13:55:08 -0700 (PDT) X-Gm-Message-State: AOAM530C4aEcGR9rEbOUJJhmVsVLUXfab0msFJB2+Am9qS2xQPDsnrGo 3AAkZulzSV3nll1YZciRxigy1lgCZRA9viLUH9o= X-Received: by 2002:a81:456:0:b0:2fe:dee5:fbbc with SMTP id 83-20020a810456000000b002fedee5fbbcmr1569021ywe.249.1652561707006; Sat, 14 May 2022 13:55:07 -0700 (PDT) MIME-Version: 1.0 References: <20220514080402.2650181-1-chenhuacai@loongson.cn> In-Reply-To: <20220514080402.2650181-1-chenhuacai@loongson.cn> From: Arnd Bergmann Date: Sat, 14 May 2022 22:54:50 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH V10 00/22] arch: Add basic LoongArch support To: Huacai Chen Cc: Arnd Bergmann , 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 , Huacai Chen , Guo Ren , Xuerui Wang , Jiaxun Yang , Stephen Rothwell , Ard Biesheuvel , Alexandre Belloni Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:RLYdBQMRfs0VRj5YvnHzqR4SnCvb0gHg6NTSCuHKS9abTBY9hIR 58Uou5At376gsaqKdwPLbXCruy8o3YAznEIwam+m4xLDQ0YZuPborKftLL+rOEbZlwmqFoD LrWsqauIcg9QWP4OZi/9PagjESYz9ttVTG2O9YrVrYmdieN087fAyBBtLGnIJ4IJN354TdG XUChB7hhKme9GFNBQWbzw== X-UI-Out-Filterresults: notjunk:1;V03:K0:x5w9uFk6R6Y=:pBWg+zbZvsCoPRzXDDv9ZI 4E/87Pq6on7G0qjNejfd+N4bmWxGAqylE2uCD13SfV+MHRUroa14oujr3P72qaGHC9/O4PDir UMbE9tNqsOiSBwkFFL2oTHYTpixbf2UThwjHR0UFLClGZ+PXg+SezzABTtW/08wzNYhmZccgo BprPq+EdMN48KQ75z1UOYXa3JyyuQ1RKMBc57CNGWAmNFNi8P8T5Rj8/VEtG4CciKQglDaxTG yV8wUc5gDNC1Q19GP3D2my8SbgGWtd4yjhGV2TPmUQG5CCnW38uR9MhT05fadlsdgsT6ak+El DZIyC4nM5W4dHbALWvSiuy7yKmGOlyU8hEXe7fwpv0Tksd4h8KJGdhEeRkyjSVKjxte2puwhc sgCebLD/ze/vV7Ypt53sLoFnazLOdGOgXjk41rgRZ5iRuwNVdq7BA49GdWHABSXtXVtglFdo9 FRcj82xsQsD8/xf45XT+vWreF0OSv7/wqPo7pAvntZ7WoJ4IhsD4h52qwkISknNCg/nbrSu0U SZahSILzY5P1tHCxz7+6XKxlaeijBJjSUiMIjcC1viqno1tCPA7gP+6RXenCpzYkbRPjUHE+1 ZgJd3a5V3ts5wqG0LJjzABD9yxYKMPjOBouAA6ZrrgLzqPI8rdiwA+1VSAtnnzcTPug8i8PJn 7a6P2qRj9RjVzGRTDh2AGuVBS12bYLJo6xxHuqrMv856xrbUydJ63+Wc/rqO04mzQWmyQVbc4 7BIz/GhpFZmysUeL3HH3vNHGLiSK+A8P813mxILRnOyDNVwO3+FuXQiSZ8sbc7oU958OAbhGM m3GKZZo5lJwxufH+5wsRAPAtQ7VcO9IMy//TfYib2nXocWIOiPa4deYyIjNFh8A0sm3Cn5r+W aID1LsnKSlp7HhuCV8lg== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_NONE,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 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. Arnd