Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp421730rdb; Wed, 20 Dec 2023 00:38:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IEGi1/U2d/6teijAdB25Y4S1errAyH6/n7Qh0bA3ulkCUMXzXMRkX1hhtDtL6osUbLjX1rX X-Received: by 2002:a17:903:40ce:b0:1d3:ee28:a762 with SMTP id t14-20020a17090340ce00b001d3ee28a762mr279307pld.104.1703061531867; Wed, 20 Dec 2023 00:38:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703061531; cv=none; d=google.com; s=arc-20160816; b=GNNwDZOuKdkTzJ7vmu3MVEAB7jnAcIBwhkidJY9DmczM+JuO9rz1mFsgupIIO6kOGk 9cm4vrvZSdEOi0xVt3CrMAEPCIKcVkySowZTmE+mfNFsGRWQRHzP85AZy2sXq9cKsnQi eh2ijAWRorj+e9ZhLcI6tJqosU42GcMtwwerN652yPok2ZN866FRSm6NHD84AxCNwFns RBR6hW3hgflXyHXRe0Jm0kbvlewbCG1XBwZue13Z3Xp4qLKUMZbEDND6IaYtP8YLsFlG N83gdG9GW9NnWmVYyeyMk90n/HLKsn/mrCR9FE6YCJsalYCWB0xl3CfG8xB8g03VZw4m 6S6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:cc:to:from:date:references:in-reply-to:message-id :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:feedback-id:dkim-signature; bh=ij6DQgeF+d6PkSWC3YjcjwPBE4nnKqtTyHNYPciWQwk=; fh=4B9V85E3guyBTuODoLy2L60dgfTRWg55ib8O4eSAglc=; b=CP04hKnAr8debDMudZs7r6cdpYLRwTwV/6kvLFHu1z0Kf57I2HYBy31q5q2X0WULhw k6IC0kunEj5lKWpsvtfz9UN4C2QxFoE4zR5QK668mIV7C2t2dlr6K4l64XqQdmrBHXm3 ezbnKE06iejJ9ub3XJhphkm7yDikK6ktffuZlcSDWINAydSyUjtNigjDdEZOCk5sZSKo HWPKJh1bxIC7/BoeKFZ9DFF/wF4QM2qtP6BDYvKEmXEjXjGqsIKEbW+NUMy8GW5M1/gl jscGLawSNBC0WwpJHH340Ny8LX3hzkUTr5KfDYZF8Wtb4CTcbkqVaGQSVg8E5GMk0pKF nEJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mEDYC2jQ; spf=pass (google.com: domain of linux-kernel+bounces-6581-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6581-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id i1-20020a17090332c100b001d3bf26fd7csi4814831plr.305.2023.12.20.00.38.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 00:38:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6581-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mEDYC2jQ; spf=pass (google.com: domain of linux-kernel+bounces-6581-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6581-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 24316B24BC4 for ; Wed, 20 Dec 2023 08:37:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 759771C69C; Wed, 20 Dec 2023 08:36:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mEDYC2jQ" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A61121CA8C; Wed, 20 Dec 2023 08:36:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9AF05C433C8; Wed, 20 Dec 2023 08:36:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703061417; bh=AdqAwz81NSKcWiMU11RDDZBgCQhJ9xWGLTtbQCSJNbU=; h=In-Reply-To:References:Date:From:To:Cc:Subject:From; b=mEDYC2jQqWm8vnT9Nkrs+3k0nHT+0K4lQ81FXcmNW9hquUi1VceiooL6YC+EoD/v3 E45aScEhmnrdWxm4r26Vnxr3Rh7k+dJidaRRZ4RSjKfvl7q1yxCo6V4LpWHEdDgPhB ds7woxKIH/rFoQZYoLzGAzcU0D0XzSzCn4aVWulmweX5orveJg58kyG+GspFDnbkSb qSVBse1t2OgkYQQZ1c2Jrq7v7yzV4JoTZ2LsotOOEz1ScV10Ljpsk80fA5wHV3vze7 xDgyn3V75H+2vBfcbDeCKMPzJyhox0V3p7xlDmTsj4T3jcyMiypTc9VYAHi2Tweq9O M2Pe3ZFztQnhg== Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id 8650227C0061; Wed, 20 Dec 2023 03:36:55 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Wed, 20 Dec 2023 03:36:55 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdduuddguddvtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugeskhgvrhhnvghlrdhorhhgqeenucggtf frrghtthgvrhhnpedvveeigfetudegveeiledvgfevuedvgfetgeefieeijeejffeggeeh udegtdevheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpegrrhhnugdomhgvshhmthhprghuthhhphgvrhhsohhnrghlihhthidquddvkeehudej tddvgedqvdekjedttddvieegqdgrrhhnugeppehkvghrnhgvlhdrohhrghesrghrnhgusg druggv X-ME-Proxy: Feedback-ID: i36794607:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4B72AB6008D; Wed, 20 Dec 2023 03:36:54 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1364-ga51d5fd3b7-fm-20231219.001-ga51d5fd3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <01ea8c41-88cd-4123-95c7-391640845fc3@app.fastmail.com> In-Reply-To: <20231219-sam-sparc32-sunset-v3-v1-0-64bb44b598c5@ravnborg.org> References: <20231219-sam-sparc32-sunset-v3-v1-0-64bb44b598c5@ravnborg.org> Date: Wed, 20 Dec 2023 08:36:36 +0000 From: "Arnd Bergmann" To: "Sam Ravnborg" , "David S . Miller" , "Andreas Larsson" Cc: "Helge Deller" , "Alexander Viro" , "Greg Kroah-Hartman" , "Alan Stern" , "Jaroslav Kysela" , "Takashi Iwai" , sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sound@vger.kernel.org Subject: Re: [PATCH 00/27] sparc32: sunset sun4m and sun4d Content-Type: text/plain On Tue, Dec 19, 2023, at 22:03, Sam Ravnborg via B4 Relay wrote: > TODO before this can be applied: > - Ack from davem - as he is the principal sparc maintainer > - Tested-by: preferably on a target or QEMU (see above) > I expect bugs as there are some involved changes! > > Ideas for the future > - Apply the most relevant downstream Gaisler patches > - The ones introducing CAS should have preference as we then > can drop the cmpxchg emulation One note about the CAS -- as far as I can tell, the absence of the futex() syscall on sparc32 kernels means that no glibc from the past decade can work correctly as it now requires futex for its internal locking, though it does work on sparc64 kernels in compat32 mode as well as the LEON3 kernel that adds futex support. There have been a number of other bugs in sun4m/sun4d support that ended up making the system unusable during the same timeframe, I remember sysvipc being broken in native 32-bit mode (but again not in compat mode) and I think Al Viro has a list of things that he fixed over the years. All of these were found through inspection rather than testing, so there is a good chance that other fatal kernel bugs prevent testing in qemu, at least until the fixes from Andreas' tree are included. Arnd