Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp3572152rwl; Tue, 27 Dec 2022 11:12:48 -0800 (PST) X-Google-Smtp-Source: AMrXdXs3HW30Kl6W+ieocns3C0gM7+FRmQOlcybtvPggkFkBYxK+Kt8ciFg6TjKtJfrrsJzulo1+ X-Received: by 2002:a17:902:9f8e:b0:191:4b88:9eeb with SMTP id g14-20020a1709029f8e00b001914b889eebmr25132049plq.25.1672168368086; Tue, 27 Dec 2022 11:12:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672168368; cv=none; d=google.com; s=arc-20160816; b=ul5IvOVN7kA06FwqbyQtdrwk42CpqKoTvG35UGOOZ8ny5XvTNLlPbK4hsumX8It0xj 8QA0N+V5qinAn7RU9sMBaQ4dOp+A7VJOifxOaelPqDjCUc8i5WhX8RCuu9liDCFiI6rh hIHGHSpgV/yU6SJLdAiqD/Yfe+BYnktQaQ3Zxtv5ckG9Wr4yT4boXASqKqU3ZQ8coLl1 XmFwQr6j9hbxleVCbt4TIX7/rh7TeZjyZnl6Fi5BRQ2ddJcPVhgxQQKGVhtGgMUiqhDY R3tgprhMuOhHqO9rpbPUfMi6NyGFyr14chirNW2qw3PffPTJUGw2A6FUAusuAkT2Ul9I Z14g== 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=5WAmU/BIg4mKw4JndIiBKeVYm8K8sCvtzjFw33jEUKM=; b=GUbUTLWXFKnLpdQiL8XpMOwf4shPtewVPOFbYvceDjNwkCL6bGkr+9NDNegix0UBQL i2qMHju7a4lQdyOFw1z0iwWTzWauRgBQvOWQXHv8rsUXl+LK+NkHJSdv8gZRx6RByXP9 0PSoD/WQOP/62F7z4cK0eDsz9Q2cvZ0kdj5kE7vooJP87bnAYxh6fSAy3NQZjNU3HnSV +Ix1bYqHTPTl2GKTZ8oW8BXO/PZRuI5ifi4QBgvU3MR99aam4zFnwwkzfh0O6vjuj2hM k6REZLNFiLZaJfEBXfqXwwAkOXMX121r1gyLSumOjmslwADFfrQ86twyhFMNWKRfmSfX s1nQ== 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 o9-20020a170903210900b00179c921918esi12891352ple.17.2022.12.27.11.12.39; Tue, 27 Dec 2022 11:12:48 -0800 (PST) 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 S229679AbiL0S6s (ORCPT + 66 others); Tue, 27 Dec 2022 13:58:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229488AbiL0S6r (ORCPT ); Tue, 27 Dec 2022 13:58:47 -0500 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 08263D108; Tue, 27 Dec 2022 10:58:45 -0800 (PST) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 2BRIwaWS006309; Tue, 27 Dec 2022 19:58:36 +0100 Date: Tue, 27 Dec 2022 19:58:36 +0100 From: Willy Tarreau To: Ammar Faizi Cc: Shuah Khan , "Paul E. McKenney" , Gilang Fachrezy , VNLX Kernel Department , Alviro Iskandar Setiawan , Kanna Scarlet , Muhammad Rizki , GNU/Weeb Mailing List , Linux Kernel Mailing List , Linux Kselftest Mailing List Subject: Re: [RFC PATCH v1 0/8] nolibc signal handling support Message-ID: <20221227185836.GB6287@1wt.eu> References: <20221222035134.3467659-1-ammar.faizi@intel.com> <20221222043452.GB29086@1wt.eu> <20221222134615.3535422-1-ammar.faizi@intel.com> <20221227062640.GA5337@1wt.eu> <00eee75f-59fa-83b2-c7e1-f0da347b2dde@gnuweeb.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 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 On Tue, Dec 27, 2022 at 08:36:41PM +0700, Ammar Faizi wrote: > On 12/27/22 8:32 PM, Ammar Faizi wrote: > > > Thus now my focus will be on storing these variables where relevant > > > for all archs, so that your getauxval() implementation works on top > > > of it. It will be much cleaner and will also improve programs' ease > > > of implementation and reliability. > > > > Are you going to wire up a patchset for it? > > > > If so, I'll wait for it. When it's already committed, I'll base this > > series on top it. > > > > Or I take your series locally then submit your patches and mine in a > > single series. > > > > What do you prefer? > > Side note: > I only know x86 Assembly. So unfortunately, I can't get them working > on all arch(s). The nice thing about assembly is that once you know one, others are easy to learn to permit you to write code that you can test. You can have a look at MIPS for delayed slots, SPARC for register banks, ARM for instructions that do multiple operations at once and you'll have seen most of the basics that you'll ever need. Also all of these are RISC based and cannot load a full-length register in a single instruction, that's possibly the most confusing thing when you come from x86. And it's also very interesting to see differences in constraints ;-) Willy