Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp25192783rwd; Sun, 2 Jul 2023 12:13:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlGfipKBL0iDpHtyTdKggkwj9nM4rI0SU2yAjQv2QZna1UY68HOMMgx8tUD/NXC0FR5tuAZ8 X-Received: by 2002:a05:6a20:8e1f:b0:122:231c:32d6 with SMTP id y31-20020a056a208e1f00b00122231c32d6mr8748971pzj.61.1688325199034; Sun, 02 Jul 2023 12:13:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688325199; cv=none; d=google.com; s=arc-20160816; b=FNHAz5+fGHmElvctiJ8uVid6kL7pWYD+I0t3zNDacvwtccgrsStrEWGmDgEEqgGYsa BsUxD8vPQjFV/n0Xk/ImvrPst/nLDs1r9xQ9GiFLJuZeWUWCzo4lrcFbbPd9lNUtjauj ebk6DWDvPFtczLyQltHUTcmxa1zGbbXLeFA8KRes6P/tQQ/qFvX6KYHNsmY5aVDLY4u6 GJQV57wpfiqi6H5yynbqDLasQ12eTdQXj9Ctmx+caJOmehxiRRROpBOnWZfELxio4WpQ bzqkPr01udFKbBj1xJN8CJO1XxFHkAFofLdVxbLVP9SzscBRGrkYIFKO0VfDYbTjEhQs hyOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=HuFaPLG6BDaVJ0wYS8y5zGDisof9PyDAosKfBYOuYww=; fh=5Q8QI6WNR7p/0THTqj1PEFDsdN5oaVk4zWg9deckm6o=; b=Phx8HaaQn9bY/ocsYjC12H1VP0XF079Z8nd6uuT9D1K6lNQwxSeCyDq7TDMaq+YKPR ZLwXHlm60UYScO/p0hzuNCSI1p/zvEFAAAZwKkekwVy6CoGSpHb+GVRFcpXyZWw+myFK AZYgCjBYR0PtZEwhF2z5DSlWCFnFEAkq+zTlziQDLBRc/w9Sn3UhNnvihwtP2+gPiNHF LunTNNnDPFwaee0QPQ+AxhB03YTez7Yp/24IcZ/eKCL5++0GywKkzK5Xf6fc3JVEkECv fucxyFtM1d7lzCFf2kJvvudIeCGw2XrExMiHanyx7eTxLghyul13/2BQNtHL+ap+WbGt 4q4A== 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 r34-20020a635d22000000b00542da138a68si17406533pgb.226.2023.07.02.12.13.01; Sun, 02 Jul 2023 12:13:19 -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 S230433AbjGBS4s (ORCPT + 99 others); Sun, 2 Jul 2023 14:56:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230468AbjGBS4l (ORCPT ); Sun, 2 Jul 2023 14:56:41 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 31A6DCE; Sun, 2 Jul 2023 11:56:20 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 362Itnlj017400; Sun, 2 Jul 2023 20:55:49 +0200 Date: Sun, 2 Jul 2023 20:55:49 +0200 From: Willy Tarreau To: Zhangjin Wu Cc: thomas@t-8ch.de, arnd@arndb.de, david.laight@aculab.com, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v5 09/14] tools/nolibc: add missing my_syscall6() for mips Message-ID: <20230702185549.GH16233@1wt.eu> References: <5089ddd75a7cb01486f664c025876c803fe26d5b.1687957589.git.falcon@tinylab.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5089ddd75a7cb01486f664c025876c803fe26d5b.1687957589.git.falcon@tinylab.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS,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 Hi Zhangjin, On Wed, Jun 28, 2023 at 09:37:29PM +0800, Zhangjin Wu wrote: > It is able to pass the 6th argument like the 5th argument via the stack > for mips, let's add a new my_syscall6() now, see [1] for details: > > The mips/o32 system call convention passes arguments 5 through 8 on > the user stack. > > Both mmap() and pselect6() require my_syscall6(). Very interesting, I didn't manage to make it work previously. Did you test it to confirm that it works ? I guess so but since you didn't mention, I preferred to ask. Thanks! Willy