From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 2725 invoked from network); 6 Apr 2022 02:08:41 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 6 Apr 2022 02:08:41 -0000 Received: (qmail 3858 invoked by uid 550); 6 Apr 2022 02:08:38 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 3822 invoked from network); 6 Apr 2022 02:08:37 -0000 To: musl@lists.openwall.com References: <64c0ef49-4618-8eca-c826-bd2a840c284b@loongson.cn> <20220331184719.GH7074@brightrain.aerifal.cx> <1fec7c01-ea91-aa7c-d6d5-474c00d9347c@loongson.cn> From: =?UTF-8?B?546L5rSq5Lqu?= Message-ID: Date: Wed, 6 Apr 2022 10:08:24 +0800 User-Agent: Mozilla/5.0 (X11; Linux mips64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <1fec7c01-ea91-aa7c-d6d5-474c00d9347c@loongson.cn> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-CM-TRANSID:AQAAf9Dxr88Y9kxiB9EYAA--.51745S3 X-Coremail-Antispam: 1UD129KBjvJXoW7KryxCFWrCFWfur4fuFW5trb_yoW8Ww18pF yY9F40krs8Ary7u3sFvwn5ur1ayr1fJryYqr15t348Crnxt34fAr40y3s8CF1Utw1fu3W2 qr4xKr47Z3WDZaDanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUvIb7Iv0xC_KF4lb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Xr0_Ar1l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Cr0_Gr1UM28EF7xvwVC2z280aVAFwI0_Gr1j6F4UJwA2z4x0Y4 vEx4A2jsIEc7CjxVAFwI0_Gr1j6F4UJwAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40E FcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr 0_Gr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcVAKI48JMxk0xIA0c2IEe2xFo4CEbIxv r21lc2xSY4AK6svPMxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I 0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWU JVWUXwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcV CY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v20xvaj40_WFyUJVCq3wCI42IY6I8E87Iv 67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v26r1j6r4UYxBIdaVFxhVjvjDU0xZFpf 9x07jOb18UUUUU= X-CM-SenderInfo: pzdqwxxrqjzxhdqjqz5rrqw2lrqou0/ Subject: Re: [musl] Re: add loongarch64 port 在 2022/4/2 下午3:59, 王洪亮 写道: > > 在 2022/4/1 上午2:47, Rich Felker 写道: >> On Thu, Mar 31, 2022 at 02:20:51PM +0800, 王洪亮 wrote: >>> 在 2022/3/29 下午4:26, Arnd Bergmann 写道: >>>> On Tue, Mar 29, 2022 at 10:12 AM 王洪亮 >>>> wrote: >>>>> Hi, >>>>> >>>>> we have published 0001-add-loongarch64-port-v2.patch in >>>>> >>>>> https://github.com/loongson/musl/tree/loongarch-v1.0. >>>>> >>>>> The patch v2 fixed the issues pointed out in v1. >>>>> >>>>> have any other issues to modify? >>>> I see you still refer to the system calls that I asked to be >>>> removed from >>>> the kernel: clone() and the old stat() family (pre-statx). Please use >>>> only the system calls that are actually supported in mainline kernels, >>>> otherwise it does not work. >>> Hi,  Arnd >>> >>> I understand the new system call is clone3() ? >>> >>> I found musl does not support the clone3() call now, I can implement >>> the >>> >>> clone3() in LoongArch for future called. >> The point isn't that there should be a clone3() function (there >> shouldn't) but that __clone has to be implemented by making the >> __NR_clone3 syscall not the (nonexistant) __NR_clone syscall. >> Rich > > > Hi, Rich > > > I understand the meaning is that keep the architecture-independent code > and the __clone input parameter unchanged,within the __clone, convert > input parameter to clone3 parameter, and then __NR_clone3 syscall. > > will that confusion between clone and clone3? > > > Hongliang Wang Hi, Rich within __clone() implement __NR_clone3 syscall, will that confusion between clone and clone3? Hongliang Wang