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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9215E7719A for ; Sat, 11 Jan 2025 11:26:43 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 31B1B6B007B; Sat, 11 Jan 2025 06:26:43 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 2CAD96B0082; Sat, 11 Jan 2025 06:26:43 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 145136B0083; Sat, 11 Jan 2025 06:26:43 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id E9A7B6B007B for ; Sat, 11 Jan 2025 06:26:42 -0500 (EST) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 87702C121C for ; Sat, 11 Jan 2025 11:26:42 +0000 (UTC) X-FDA: 82994943444.06.6061BC9 Received: from fout-a7-smtp.messagingengine.com (fout-a7-smtp.messagingengine.com [103.168.172.150]) by imf21.hostedemail.com (Postfix) with ESMTP id 6D8EF1C0009 for ; Sat, 11 Jan 2025 11:26:40 +0000 (UTC) Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=arndb.de header.s=fm1 header.b=ghlZMLDe; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="l OvnQ3S"; spf=pass (imf21.hostedemail.com: domain of arnd@arndb.de designates 103.168.172.150 as permitted sender) smtp.mailfrom=arnd@arndb.de; dmarc=pass (policy=none) header.from=arndb.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1736594800; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=306DKy1iW1JzjoeCQKfH4cZUMdXrxc6521qKQil5/zQ=; b=5Nbmu6U7yDOf0akyIq+SyY2QU7dav9YwmvP5ef0dhDILWeIScdiSzVeTmEgllB/86NMjDp 1kLECz67EfAjeWAxMuS+QwuwyRvL2IgwBuLSUHlqI4uDrr92Nvn2ouSv+bkZlseVCrbHsi cN40+UVtmXQ1q73t/ajwfiDh+SY9q/0= ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=pass header.d=arndb.de header.s=fm1 header.b=ghlZMLDe; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="l OvnQ3S"; spf=pass (imf21.hostedemail.com: domain of arnd@arndb.de designates 103.168.172.150 as permitted sender) smtp.mailfrom=arnd@arndb.de; dmarc=pass (policy=none) header.from=arndb.de ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1736594800; a=rsa-sha256; cv=none; b=lTZVDCePcg5ePlvCafKXIoW9oM3P7vF3QOvDxa28iFrB3bTmyFOKSNcbvwsvSZxqjVcgcw Hw4hPHiraPK7JyP11XNpb6niuVIg5QAmypiKInbspq118/BLXtwWm0qLkt2gqueZ4iMpJW FY8kl/mvMWsmxYWiix5rnshM/wo9c0I= Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfout.phl.internal (Postfix) with ESMTP id BBC7413801D9; Sat, 11 Jan 2025 06:26:39 -0500 (EST) Received: from phl-imap-11 ([10.202.2.101]) by phl-compute-10.internal (MEProxy); Sat, 11 Jan 2025 06:26:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1736594799; x=1736681199; bh=306DKy1iW1JzjoeCQKfH4cZUMdXrxc6521qKQil5/zQ=; b= ghlZMLDeXknyJQN4sbOdEwf1wQ6c68VsdnA5+xgGkeSgkoqVTHWJ/yYZWCvFgIqF jQCnIWi6hDudul1avjuCwVVg7hknVGs+bPgF231fGu19in0Mt7Uil/lN/fDUSSiP Aj5ZD1ZmgxpqzsBlByiYzZJCuFJPDU9SghhVDbxMIpmchdxgSNsbmxgZ4WJhxZOf z3nRXeqbyPaXpqqCJEdeoEyNTejYC3OnnaoeWHPs5rgeMJ/bUzx2FEdRYisVIHCp IalY27nh8IiBjXlf8RjUq7grkW0UW0SEzs4KBzGPVuP6LYcSutyMsv2im9iIVVsK rtPqZp9eUaVU47XtQqvMnQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1736594799; x= 1736681199; bh=306DKy1iW1JzjoeCQKfH4cZUMdXrxc6521qKQil5/zQ=; b=l OvnQ3SAVg5D0usL6wfD5jhG0pZzeu9dvJu8qgIzqjSmqc37pXG+P491hthbPz7wF Tu/UQrozxSOzYLS6wBoDbHWNJt6hP5mCV9rvlAjUN7s6LCpcXSRsOahZLpZge0yd 2NLryAO5vA0d7pEe4kZhFgHTn+AesF252t8IZd0oK9I3SGKGo80s/NQ3UZSbwkaL U3cjJ1HN9zlSi+qcmX5oHx34rgsl2T/9rWyzGo2WN5hi0uMMvFVqqzhAnmPmpNMx AGjn9Om5mFDzvuRHRw45W4J95PcFaLXHky5hmHMXkgoMes13118b1C0f0UDy7itm ByArRUFBOG0dYLDZ38xwQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudehtddgvdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepofggfffhvfevkfgjfhfutgfgsehtjeertdertddt necuhfhrohhmpedftehrnhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrd guvgeqnecuggftrfgrthhtvghrnhepfefhheetffduvdfgieeghfejtedvkeetkeejfeek keelffejteevvdeghffhiefhnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrhhnugesrghr nhgusgdruggvpdhnsggprhgtphhtthhopedukedpmhhouggvpehsmhhtphhouhhtpdhrtg hpthhtohepiigvhhgrseguvggsihgrnhdrohhrghdprhgtphhtthhopehsrghmsehgvghn thhoohdrohhrghdprhgtphhtthhopehmrghtthhsthekkeesghhmrghilhdrtghomhdprh gtphhtthhopehkvggvsheskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepphgruhhlmhgt kheskhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqmhhmsehkvhgrtghkrd horhhgpdhrtghpthhtoheprhhitghhrghrugdrhhgvnhguvghrshhonheslhhinhgrrhho rdhorhhgpdhrtghpthhtohepghgvvghrtheslhhinhhugidqmheikehkrdhorhhgpdhrtg hpthhtoheplhhoohhnghgrrhgthheslhhishhtshdrlhhinhhugidruggvvh X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 625092220073; Sat, 11 Jan 2025 06:26:38 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 Date: Sat, 11 Jan 2025 12:26:18 +0100 From: "Arnd Bergmann" To: "Eric W. Biederman" , "John Paul Adrian Glaubitz" Cc: "Richard Henderson" , "Matt Turner" , "Kees Cook" , "Paul E. McKenney" , linux-alpha@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, "Michael Cree" , "Sam James" , "Maciej W. Rozycki" , "Geert Uytterhoeven" , "Michael Karcher" , "Chris Hofstaedtler" , util-linux@vger.kernel.org, linux-mips@vger.kernel.org, loongarch@lists.linux.dev Message-Id: <6c1f31be-cd3b-4090-abbd-fd3968858e1b@app.fastmail.com> In-Reply-To: <87jzb2tdb7.fsf_-_@email.froward.int.ebiederm.org> References: <20250103140148.370368-1-glaubitz@physik.fu-berlin.de> <24f03227-1b55-4e50-b6e9-7ac74fda2602@app.fastmail.com> <678ee681-12c3-4e79-a04b-495daf343846@app.fastmail.com> <82d33a2d-dffe-4268-a175-4536b3f9c07f@app.fastmail.com> <87jzb2tdb7.fsf_-_@email.froward.int.ebiederm.org> Subject: Re: [PATCH] alpha/elf: Fix misc/setarch test of util-linux by removing 32bit support Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 6D8EF1C0009 X-Stat-Signature: yei93t1u5ipou7gx8uma1ezgoqaguds9 X-Rspam-User: X-Rspamd-Server: rspam11 X-HE-Tag: 1736594800-357919 X-HE-Meta: U2FsdGVkX18bsG6ZxUzLSB9U7D4N4QEhQpwvkWYyrupbioDXJxszaOT8m85wWKv+t0P6i/0HamiQu3yKnqot/bPD/7ib+uFhFmxXhPDvzs1A9i8EDTncsooUZgqt4q3DqgKP6pqZF97fcVyEm1YX1kPTFvydmPG2BYkyZnUVssT+fymz+xouMn0ixLaSqJLhAe1usrSb0oFzeF8DYjFkHBXeZ4+wzZgv156d3RSPAdnUh7weAvp4STZFBf3CYhcPROsRws+DZtAgCKFghvP5PGi1K73x2Q7S2PnN1ppGU/b81h7CniUX1INiu9UR2p0NfKeZj6xn8waxBF/jjzpbeznLl1foeL4nEu1AQm5+j6GNzGHQjiIFi8EtMtVLD6bU9q2HAHzPzdKt3TSPYYL7F/tztSMmgknyRSZfXvssFB2S9I+roLf8vNEaRB9eID5BC4/gyUH4PPDr9mlRxw+qIQFS2hra8VcJWL6KYZCJo+OEjTT4p99D3Z2QfKBQywXkxRKm7Du0QWd0fIf05VEGLFhcI/TMWQaJnLeGiLNaEHa7XztWueuXfb/yjXd86DN1MtIRUk64fSSYBvKggOTlO48ONhNDH1T38ium/hp5CpqRVd5STYlvn3joN9fjA9ySBkKPY/hNS9/Qg7Lh5nSgi9PA0ic8080+b9Xue8SU7HJsgQcvRtmGLQVypWedvd+tsZcbrEZyDENaHFR/nlkz0/Ny60lFRUFefj5v1K7tA1KjSLP4+5B9aqTPZJukc6WhjNhSg7eG/6JmFYLY+SHFfkysyJ5BScfhotMKlHEar1KZ8XheEYauTo6R1K1Jq5KNSWmwKyiH6bccqqoUfDPd9xNDDx4+UaSPT521yl/ToXhk54KzhM9vdPzJ0aajLjFP9GNVxmWyN0ob4w1miBBOBkS85Ybx6ZKA7B1b+YUuUKz5l+RW4D8yrEUQM4VVZFqO9qjChL0qZvCqjXErRk8 0pD2sSaF mSACz/hOQHghWyedbFl6rdJTiISMqAt1R0PMG2dt5satNO3FHdXKfIuXYwWW65/f0Y9dr6D8I/P9WoLVGjpJgjzFxkTAgrBHJ4x+ulndG7g1aiFQr3CwLGKJ8/5w7j9sH7C2nxAhVUUyDJu7aio0JYwV8QpfgoF5ORGWNP1DVxl6XAg2JZIM4iEYPmH2GGYVXl9bux1yR5CdCMpqR4jMiSJECln5jhYRZ8pVkRsgACBG5O1Yw4Hu7QIVA6Pw5KHyjvz7a0LwAvno/vSc5Bqn+MpzRUiUt36elYKp3hS2HL6wfFM2tubNYBby2rBmrIDZTf6tSI4x4b0WYB4/Hhq4zkHYDwgoDFTnELtgn X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Sat, Jan 11, 2025, at 01:16, Eric W. Biederman wrote: > Richard Henderson writes[1]: > >> There was a Spec benchmark (I forget which) which was memory bound and ran >> twice as fast with 32-bit pointers. >> >> I copied the idea from DEC to the ELF abi, but never did all the other work >> to allow the toolchain to take advantage. >> >> Amusingly, a later Spec changed the benchmark data sets to not fit into a >> 32-bit address space, specifically because of this. >> >> I expect one could delete the ELF bit and personality and no one would >> notice. Not even the 10 remaining Alpha users. > > In [2] it was pointed out that parts of setarch weren't working > properly on alpha because it has it's own SET_PERSONALITY > implementation. In the discussion that followed Richard Henderson > pointed out that the 32bit pointer support for alpha was never > completed. > > Fix this by removing alpha's 32bit pointer support. > > As a bit of paranoia refuse to execute any alpha binaries that hafe > the EF_ALPHA_32BIT flag set. Just to fail explicitly in case someone > somewhere has binaries that trying to use alpha's 32bit pointer > support. > > [1] > https://lkml.kernel.org/r/CAFXwXrkgu=4Qn-v1PjnOR4SG0oUb9LSa0g6QXpBq4ttm52pJOQ@mail.gmail.com > [2] > https://lkml.kernel.org/r/20250103140148.370368-1-glaubitz@physik.fu-berlin.de > Signed-off-by: "Eric W. Biederman" Reviewed-by: Arnd Bergmann