Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1664262ioo; Sun, 22 May 2022 23:33:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQ92FT1Ng9sDUaB1cl8OTJjlSTXjaCE/ALfuS6IeE9BMD3SDVpsxGwcJ49prCbb6701xV9 X-Received: by 2002:a17:90b:4b4b:b0:1dc:8724:3f75 with SMTP id mi11-20020a17090b4b4b00b001dc87243f75mr24900236pjb.178.1653287610881; Sun, 22 May 2022 23:33:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653287610; cv=none; d=google.com; s=arc-20160816; b=e1tOl//2b1CThiAXjukopUQvjQxKBGUpQomtXZ9CH6UB00Y1Yp+zVR1L5NdragwoMA /BOAaRqzkyClwV/M13y0AIYttigTWKdMqulJc9n5L3STCuicUUOKqVCr5bde1D+czU1g zsQw2fKclgXmFVHmcypM6iam55jskD3mPy5XUbrsvAYFhpbI98IJkX+7PMAN2/1Jq2i/ niTHF4pYFllx7WuQt+f+citRgT0bV3ZSNylvYrU1tSC+XUkDJIYHQwScDz3ERleQk98d MDWJaE+xI48xDUW6gLFQvSvmHY7tOr0VZ/Id2/cSu+dQKZmYVZGkKzcEBRTevIE1apMH gVGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=wLfKYfpEPq80cdJ5wK1MGhYV6jIywxbW82fG06cshDU=; b=e1mScPB8/l/4swlDpmmwYFEfXlMzvutfeMuLiLZac2f6gRpgYt675AhUaUgGOevouh 23a41bLy3JSoOiBralWldeNoetB+XWd4tBpbdNKc5/p2eJKskUsXMjhbbtLt/yHSasBq 4rhhhnyK3U07GByw38tgJxbnqE8stkzoozDn7swbnWFQDasnUtJn1/cU9KdD3lmaq0YI BHOvHljRvXcC8fWUJOrs41CYzGprF/MhTujPEUqbJ+YzYIPqNWry3y9r975c76GBKtxi 71BC8C7jI+HBnuG/Uv+lRnCN6WoGGZFbGd7I1C1FI47C2TMBWNbgpWLPCbFui/N+GH+V LxmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xen0n.name header.s=mail header.b=Iam6Cd7x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id u15-20020a170902e5cf00b0015ed460e47asi9805486plf.432.2022.05.22.23.33.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 May 2022 23:33:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@xen0n.name header.s=mail header.b=Iam6Cd7x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 19E73326C0; Sun, 22 May 2022 23:09:03 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235200AbiEVESk (ORCPT + 99 others); Sun, 22 May 2022 00:18:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229545AbiEVESh (ORCPT ); Sun, 22 May 2022 00:18:37 -0400 Received: from mailbox.box.xen0n.name (mail.xen0n.name [115.28.160.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C79942EF9; Sat, 21 May 2022 21:18:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xen0n.name; s=mail; t=1653193110; bh=gg8YddmRkOsQykiQRV5c6FjMjg21WjjVj3sWpwCECMg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Iam6Cd7xPBBS7liumcmuG+p/7fi/TUEoxf1Z0lGNbt0OKopUbTr8AxPUDslwgvpgG MVU8gidpp8Pdyxwko6M3Cgy1k8zt/aS+eWhguH/ddGWeHcHN6HYjZOrWBphqbwnlbz lPHJ85GHyzr+4zMo9gonHR4OG8Ijsn0AfiXzGHs8= Received: from [192.168.9.172] (unknown [101.88.28.48]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailbox.box.xen0n.name (Postfix) with ESMTPSA id 6400860074; Sun, 22 May 2022 12:18:30 +0800 (CST) Message-ID: Date: Sun, 22 May 2022 12:18:29 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.0a1 Subject: Re: [PATCH V11 00/22] arch: Add basic LoongArch support To: Huacai Chen , Arnd Bergmann , Andy Lutomirski , Thomas Gleixner , Peter Zijlstra , Andrew Morton , David Airlie , Jonathan Corbet , Linus Torvalds Cc: linux-arch@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Xuefeng Li , Yanteng Si , Huacai Chen , Guo Ren , Xuerui Wang , Jiaxun Yang , Stephen Rothwell References: <20220518092619.1269111-1-chenhuacai@loongson.cn> Content-Language: en-US From: WANG Xuerui In-Reply-To: <20220518092619.1269111-1-chenhuacai@loongson.cn> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 5/18/22 17:25, Huacai Chen wrote: > [snip] > > V10 -> V11: > 1, Rebased on asm-generic tree; > 2, Fix fpreg macros definition; > 3, Fix ELF ABI macros definition; > 4, Fix magic number definition in efi header; > 5, Remove unneeded swab.h, bitfield.h and rtc.c; > 6, Remove __ARCH_WANT_NEW_STAT (glibc need update); Regarding the syscall ABI change taking out fstat and newfstatat, I've done the following to ensure a clean path forward: - Sent glibc patch [1] for upstream review; - Filed [2] on Loongson's glibc fork for them to test, and incorporate the 2nd patch in their port; - Updated my tool [3] for the small number of end users already on the previous ABI (me included, actually), to easily check if their systems are compatible before moving to newer kernels. [1]: https://sourceware.org/pipermail/libc-alpha/2022-May/138958.html [2]: https://github.com/loongson/glibc/pull/29 [3]: https://github.com/xen0n/shengloong > 7, Improve documents as WANG Xuerui suggested; > 8, Some other minor fixes and improvements.