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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D6B19C433EF for ; Sun, 22 May 2022 04:18:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234433AbiEVESi (ORCPT ); Sun, 22 May 2022 00:18:38 -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 Precedence: bulk List-ID: X-Mailing-List: linux-arch@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.