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=-5.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 D916FC433ED for ; Wed, 19 May 2021 12:48:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BA52F611AD for ; Wed, 19 May 2021 12:48:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233234AbhESMtc (ORCPT ); Wed, 19 May 2021 08:49:32 -0400 Received: from bee.birch.relay.mailchannels.net ([23.83.209.14]:60359 "EHLO bee.birch.relay.mailchannels.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233371AbhESMt1 (ORCPT ); Wed, 19 May 2021 08:49:27 -0400 X-Sender-Id: dreamhost|x-authsender|tuliom@ascii.art.br Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id D9342342272; Wed, 19 May 2021 12:39:41 +0000 (UTC) Received: from pdx1-sub0-mail-a6.g.dreamhost.com (100-96-16-62.trex.outbound.svc.cluster.local [100.96.16.62]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 1BE5B34255C; Wed, 19 May 2021 12:39:41 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|tuliom@ascii.art.br Received: from pdx1-sub0-mail-a6.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.16.62 (trex/6.2.1); Wed, 19 May 2021 12:39:41 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|tuliom@ascii.art.br X-MailChannels-Auth-Id: dreamhost X-Harmony-Bottle: 414366c233488d91_1621427981418_23098169 X-MC-Loop-Signature: 1621427981418:425922509 X-MC-Ingress-Time: 1621427981418 Received: from pdx1-sub0-mail-a6.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a6.g.dreamhost.com (Postfix) with ESMTP id D053587870; Wed, 19 May 2021 05:39:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=ascii.art.br; h=from:to:cc :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=ascii.art.br; bh=Moiw1J8H3kFxYbF9Og3ijiVM3XY=; b= TI2OTUkb2gOk2/7xGzALPcJAIQiK+aa2a2Xcsj0Ub7UyauxJc5A2N2962czBl/nX QG18QIdDGFE1Wt5XFvq9ia/CnpPWTjl7a6Oyv2xAV9bE8m5JibK1tGCVCW1Igctb dvmp2xy1ygBzlKUeZdXMk8VhoioaFduOrZvLhbSueI8= Received: from ascii.art.br (ip-131-161-4-75.isp.valenet.com.br [131.161.4.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: tuliom@ascii.art.br) by pdx1-sub0-mail-a6.g.dreamhost.com (Postfix) with ESMTPSA id 393D47FFC7; Wed, 19 May 2021 05:39:37 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a6 From: Tulio Magno Quites Machado Filho To: Nicholas Piggin , "Dmitry V. Levin" Cc: libc-alpha@sourceware.org, musl@lists.openwall.com, linux-api@vger.kernel.org, libc-dev@lists.llvm.org, linuxppc-dev@lists.ozlabs.org Subject: Re: Linux powerpc new system call instruction and ABI In-Reply-To: <1621421721.r9fefebis8.astroid@bobo.none> References: <20200611081203.995112-1-npiggin@gmail.com> <20210518231331.GA8464@altlinux.org> <1621385544.nttlk5qugb.astroid@bobo.none> <20210519102403.GA15207@altlinux.org> <1621421721.r9fefebis8.astroid@bobo.none> User-Agent: Notmuch/0.31.3 (http://notmuchmail.org) Emacs/27.2 (x86_64-redhat-linux-gnu) Date: Wed, 19 May 2021 09:39:33 -0300 Message-ID: <87r1i2kid6.fsf@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-api@vger.kernel.org Nicholas Piggin via Libc-alpha writes: > As a more hacky thing you could make a syscall with -1 and see how > the error looks, and then assume all syscalls will be the same. I'm not sure this would work. Even in glibc, it's expected that early syscalls will use sc while scv is used later in the execution. -- Tulio Magno