From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62943C4338F for ; Fri, 30 Jul 2021 20:50:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3CE6C60F6B for ; Fri, 30 Jul 2021 20:50:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231276AbhG3Uuk (ORCPT ); Fri, 30 Jul 2021 16:50:40 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:58559 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230310AbhG3Uuj (ORCPT ); Fri, 30 Jul 2021 16:50:39 -0400 Received: from mail-wr1-f44.google.com ([209.85.221.44]) by mrelayeu.kundenserver.de (mreue107 [213.165.67.113]) with ESMTPSA (Nemesis) id 1MTigN-1mbFMj379x-00U1oJ for ; Fri, 30 Jul 2021 22:50:32 +0200 Received: by mail-wr1-f44.google.com with SMTP id b7so12862469wri.8 for ; Fri, 30 Jul 2021 13:50:32 -0700 (PDT) X-Gm-Message-State: AOAM533qIE9ewxlJemQmgkToup7H/bAoLsRqOKbZcNTBP1eiMk32MmIK K5n6T9fuajuPETM8Bkluu8mIH95SssfvtrfiOcc= X-Google-Smtp-Source: ABdhPJw6WSmttc95b2x6DQ9hXdSmmaa82QFTWnPh5f3dzt776aMKtNL+al5JEBjLenAr6HTIME5mHl2rfpF2eMTpNpg= X-Received: by 2002:a5d:44c7:: with SMTP id z7mr5269445wrr.286.1627678232366; Fri, 30 Jul 2021 13:50:32 -0700 (PDT) MIME-Version: 1.0 References: <20210706041820.1536502-1-chenhuacai@loongson.cn> In-Reply-To: From: Arnd Bergmann Date: Fri, 30 Jul 2021 22:50:16 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 00/19] arch: Add basic LoongArch support To: Huacai Chen Cc: Arnd Bergmann , Huacai Chen , Andy Lutomirski , Thomas Gleixner , Peter Zijlstra , Andrew Morton , David Airlie , Linus Torvalds , linux-arch , Xuefeng Li , Jiaxun Yang , Chen Zhu Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:67kjGOHZyCFtS8Yp6rpPteA2fRIUzPLxgaIsuTqDJGo6ws/iryv ef9ycpWl2r6F/4TO2jgJ0ut2UpX/4AcF50ToNS9afT9OZPy27T+fe04dYDLc4tsjcoZkXEz f8oh2p8m2/CuAjJmTffQLvf3uNk/TbYTgiuIfqVS6bc0qQUA8wBv5JxQ4iDkPBohbkaF+bv d89qRomtthfgdA/BLbLdQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:cXZcGsB3AvQ=:ELiYN8VTxPeFHT/QS8qRHE Pa6a1lk8aW6hzZF9nkpXVBszI55MRouvBdmtsvPdsgFUE6Vg2UZ44VXDxRtqZEb3uqHJ7hZdC 3j+tzFcd4t+aWlwgwpZcFzVxFDxGf3PC4aFqQruh9Y4jgs2bC37gvOGM1n2urS4hPhbdYtvOv dKD0xQueCz852DmR+QJTC1uyk+jseUJ7NWgORARm1zcIBCD/1kLiXxfjiUNvg26Eq4Pwq9QlG 7LzN2ADsG7+PZMZ6st4yQJ/ExwVUxOZVJokFnvATaB7/n55ArVrZ1oEf8tGrlOh0Cz+LxYJwx qQoe+MbiAqaN/ttFBhuaWbxLW7UxBN2RZe2tDXhfc+bcyzjkSjbcOhTMPsX/Ii3PXLQseAdGf 9CrgjvqXte9o6vB8/SZKfk7NgJvM1sjKwPq44v6/49bLVLE22UAIdrADeOKvYj9BZiCCKNtbV lBl+/WAtONzNW3S/XlHCxkG/MtN1W4jQhrIH09d9V4euAF7XJsTXhSKfieifCa4bU9wk2K7Wh NIvdfLGAuyxrq9ZqXfeK/NBVPG175tHH1KNY9k+BAtZihmnd7s+FFTSx2nWutmLigi7MKsRdu 9+SjpQtOfVFMPb4u7qkePTiDAxcn4CQ+T0TVQMoe83RFCDdehN0U2l9J+k6eLfCWZBmMpr77A 740AJ88do00ZUAOZobMBtkDKpFq/eNlbT+TjVrgOtFD4K8QmLnJcljerW4bUae6uUMFb/3CTM bKAErDmeAmA4WHL3KupkbYyLzvJd8ZkE2lwQ5IYSKS8auP831lBlTHLqx40iVQQkB0jO/NOf3 EqxgHJfWv8xGZm2Jvq5EC19DbPvsKUviDIBrMARTtXSHJouhwvkWBZONF3r81Tm4XiI5qs/fj hV6RrOfxCmf4KrvS7quXxsRzmLfIbYTHw6x/PGuYQWZEUoBNwe0MB22ipLL4c1/1pJT6ISTby Tky1nz6owT+lQ2pjs46vPWKH8kWgRL3J/5BnhSxH6WGam90+0mq30 Precedence: bulk List-ID: X-Mailing-List: linux-arch@vger.kernel.org On Thu, Jul 29, 2021 at 6:48 PM Huacai Chen wrote: > On Wed, Jul 7, 2021 at 3:28 PM Arnd Bergmann wrote: > Now toolchain of LoongArch is open, please take a look at it. I think > there are also something need to change. In order to reduce > compatiability problems in future, please focus on those things > interactive with Linux kernel. Thank you very much! > > https://github.com/loongson/glibc/tree/loongarch_2_33 > https://github.com/loongson/binutils-gdb/tree/loongarch-2_37 > https://github.com/loongson/gcc/tree/loongarch-12 Thanks a lot for letting me know. I won't actually review the code since I'm not familiar with the code base, but having gcc and binutils available is definitely a requirement for the kernel merge. Conversely, the glibc bits should just follow whatever we do for the kernel in the syscall ABI. I have not built any gcc-12 binaries for https://mirrors.edge.kernel.org/pub/tools/crosstool/ yet, but when we get closer to merging the loongarch kernel portions, I can take your latest snapshot and build that for all target architectures to publish there. Arnd