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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C6130D3E2A1 for ; Mon, 28 Oct 2024 18:41:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ek29lxR6g00/9jAh9fH2VYgRnMqm2ZzZD8wQM6+8rOo=; b=Hc7cvqkQuyeanJaTbjWMwpW9Pa Dv6OnHNlUMu8YuQ9WndPAU9LLkPvvkNB0tC9+9/dRO1dvFyNl1XuBKpkgoJJBG7OqXP/rJ8b2vJBm pFtR9Rwo9gFwc5Rnrl+CyhJTUI7119caH+DY9KinXOsUAnkMMewX8zykWUjpNFwBFObGglKzUGw6Y iGnP6IWHlaq/FegoLjd+sqjoW+S+LRw9q1E8SLuNaiSvReLzLDdGRly3DA3oX4QY+BHUl21V2Qntn wa6x28aKV5x7CXqwPRUB/PG34bxLlDzSNPJzMgAP961ujXfHe4QSmPNcIh/rIXNpaya0w21zWy20G wv5jeDAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t5UgG-0000000Bri2-0ULx; Mon, 28 Oct 2024 18:41:32 +0000 Received: from nyc.source.kernel.org ([147.75.193.91]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t5Uec-0000000BrS0-1mcN; Mon, 28 Oct 2024 18:39:52 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 51C75A42B3F; Mon, 28 Oct 2024 18:37:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 611F4C4CEC3; Mon, 28 Oct 2024 18:39:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1730140789; bh=uk4BWPlVVVwanPbUBrAaB+ERcnlLbOL0Xx2a3Ixjboc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ufVbxxkTWxJDj8HIHfBS/e+90hOVJwh2ipSDoAm1RUfU5KMmgV7WmmTEjAnysS0gC z5jEygQH1q1/a4tB71R8Bp1ATC7U76OqZCKr7wjOu+I99j4mc2QjAt8Nucxunj7xg1 wZGv+VyMIcKunGsRclb7iUvRyfGDDFbVTaCVCog4/uhm9IRpC0XmzA5NwCl+5V8/Bn 9wZ5570n4BR8rOzU1bjzDuSdR42R13+66vSllQDn/p2SFwTnRgy26PwXV6Ke4S75WX FEIMyZc4Wgc+/rkrpAtXMY0SjfvDNi/ydcZe2lrkEs8d5xkzyJZMRC4Uj03ufeh6Rh 9Iy6DC7COCGhw== Date: Mon, 28 Oct 2024 18:39:38 +0000 From: Will Deacon To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: Guo Ren , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Catalin Marinas , Paul Walmsley , Palmer Dabbelt , Albert Ou , Russell King , Huacai Chen , WANG Xuerui , Theodore Ts'o , "Jason A. Donenfeld" , Thomas Bogendoerfer , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Naveen N Rao , Madhavan Srinivasan , Vincenzo Frascino , linux-csky@vger.kernel.org, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 05/28] arm64: vdso: Use only one single vvar mapping Message-ID: <20241028183937.GA3132@willie-the-truck> References: <20241010-vdso-generic-base-v1-0-b64f0842d512@linutronix.de> <20241010-vdso-generic-base-v1-5-b64f0842d512@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20241010-vdso-generic-base-v1-5-b64f0842d512@linutronix.de> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241028_113950_537476_CAE38BA9 X-CRM114-Status: GOOD ( 11.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Oct 10, 2024 at 09:01:07AM +0200, Thomas Weißschuh wrote: > The vvar mapping is the same for all processes. Use a single mapping to > simplify the logic and align it with the other architectures. > > In addition this will enable the move of the vvar handling into generic code. > > Signed-off-by: Thomas Weißschuh > --- > arch/arm64/kernel/vdso.c | 43 +++++++++++++------------------------------ > 1 file changed, 13 insertions(+), 30 deletions(-) I took this for a spin in qemu to double-check that compat and native tasks can peacefully co-exist while using the vDSO. It all seems ok, so: Acked-by: Will Deacon Tested-by: Will Deacon Will