From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id /l9qHHBnLWN8rj4AWB0awg (envelope-from ) for ; Fri, 23 Sep 2022 03:59:44 -0400 Received: by simark.ca (Postfix, from userid 112) id 68C491E112; Fri, 23 Sep 2022 03:59:44 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=gY95nHyU; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id C16591E0D5 for ; Fri, 23 Sep 2022 03:59:43 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3632D385780D for ; Fri, 23 Sep 2022 07:59:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3632D385780D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1663919983; bh=7RvjTyPp1w/I7HFDo7gVvXUnQQ+oMi3cOc8iVgEvEIA=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=gY95nHyUIyK10I/GwhpjAwPnaTZV0+u0zzabs0TVIhiky2VJVpWCzsXVeec1F8LKm P0D/Tvx3d/0C/MiKuOrb6Zd/U9Odrsx5EtAU5l1AyUT+gjMs3lyxpy5ToyrFy1rpn2 1U9W7V1ciqjTFuarhs54+VvskNpYFEzU77NJfoJ0= Received: from lndn.lancelotsix.com (vps-42846194.vps.ovh.net [IPv6:2001:41d0:801:2000::2400]) by sourceware.org (Postfix) with ESMTPS id BD8CC385742D for ; Fri, 23 Sep 2022 07:58:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BD8CC385742D Received: from ubuntu.lan (cust120-dsl54.idnet.net [212.69.54.120]) by lndn.lancelotsix.com (Postfix) with ESMTPSA id AB6858758D; Fri, 23 Sep 2022 07:58:42 +0000 (UTC) Date: Fri, 23 Sep 2022 07:58:07 +0000 To: Luis Machado Subject: Re: [PATCH,v3] [aarch64] Fix removal of non-address bits for PAuth Message-ID: <20220923075807.6pffexs3kncrk6qo@ubuntu.lan> References: <20220705140037.135012-1-luis.machado@arm.com> <20220823202936.1561526-1-luis.machado@arm.com> <20220922125805.hvekyxcf3nc2i764@ubuntu.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.11 (lndn.lancelotsix.com [0.0.0.0]); Fri, 23 Sep 2022 07:58:42 +0000 (UTC) X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Lancelot SIX via Gdb-patches Reply-To: Lancelot SIX Cc: thiago.bauermann@linaro.org, gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" > > If either one of the register reads fail, then we assign the default MASK. Otherwise we > continue with using the mask that's been read from the register. > > Does that make sense? > Yes of curse, I have no idea how I read this wrong. My bad. Sorry for the noise. > > Although this is only used on Linux systems at the moment, it is not technically Linux-specific. > > When we say kernel-space, it means the other half of the VA space (non-user). > > I have an upcoming patch (relying on this one) to use this function for bare metal pointer authentication > support (with user QEMU). So I think it makes sense to have this function in arch-specific code > and not in Linux-specific code. > Thanks, for the clarification. As far as I can tell, this looks reasonable, I’ll leave it to a maintainer to approve. Best, Lanelot.