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 X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7C2CC43387 for ; Tue, 15 Jan 2019 23:51:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7D75720645 for ; Tue, 15 Jan 2019 23:51:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391537AbfAOXvS (ORCPT ); Tue, 15 Jan 2019 18:51:18 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:53538 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391536AbfAOXvR (ORCPT ); Tue, 15 Jan 2019 18:51:17 -0500 Received: from [192.168.4.242] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gjYUF-0002A6-Cz; Tue, 15 Jan 2019 23:51:15 +0000 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1gjYUF-0006GR-7k; Tue, 15 Jan 2019 23:51:15 +0000 Message-ID: Subject: Re: boot stalls when booting sparc32 images on v3.16.y/v3.18.y in qemu From: Ben Hutchings To: Guenter Roeck , stable@vger.kernel.org Cc: "David S. Miller" , Greg Kroah-Hartman Date: Tue, 15 Jan 2019 23:51:06 +0000 In-Reply-To: <20190111221558.GA3067@roeck-us.net> References: <20190111212635.GA6399@roeck-us.net> <20190111221558.GA3067@roeck-us.net> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-tiqGbJdF9WMETFd2RMDY" User-Agent: Evolution 3.30.3-1 Mime-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.4.242 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org --=-tiqGbJdF9WMETFd2RMDY Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2019-01-14 at 15:15 +0000, Guenter Roeck wrote: > On Fri, Jan 11, 2019 at 01:26:35PM -0800, Guenter Roeck wrote: > > Hi, > >=20 > > I recently updated the sparc32 root file system in my testbed > > with one generated with buildroot. > >=20 > > As a result, sparc32 images no longer boot with v3.16.y and v3.18.y. > > The system starts to come up, but stalls while starting syslog. > > However, v3.16 and v3.18 do boot. > >=20 > > I bisected v3.18.y and ended up with commit 16c193364b4 ("sparc: Harden > > signal return frame checks.") as culprit; bisect results below. Reverti= ng > > this commit fixes the problem for both v3.16.y and v3.18.y. > >=20 > > Is it worth spending any time on this, or should I just stop testing > > sparc32 boot tests with v3.16.y and v3.18.y ? > >=20 >=20 > After some more digging ... here is the quite obvious fix: >=20 > commit 07b5ab3f71d318e52c18cc3b73c1d44c908aacfa > Author: Andreas Larsson > AuthorDate: Wed Nov 9 10:43:05 2016 +0100 > Commit: David S. Miller > CommitDate: Thu Nov 10 16:47:38 2016 -0800 >=20 > sparc32: Fix inverted invalid_frame_pointer checks on sigreturns Thanks, I've queued this up for 3.16. Ben. --=20 Ben Hutchings This sentence contradicts itself - no actually it doesn't. --=-tiqGbJdF9WMETFd2RMDY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAlw+ceoACgkQ57/I7JWG EQn2BxAAp9dCCouULdEdnb+4lR3UPrRnZHHQe1chHyCf9vh37o7yoZO0HsDhJPV7 lPjTSE0dqPhZnETEVWo2GoXTe4PRhVe4LMp00q8hsK7rIO1Z/9Y6/hVayIzqPZBo 7aoxXgB1FOr3rqtN1RvuBj77ANrLJuPXYrGKQ1Bviq+3VTXQKNS9pV0Ss9+v232x WSzyhfmXjcnIbjVf29OJUVH3s+nFrmZNHqiFyI15D9Pc06zaxlpRR3T8RN0tZzww KAuB03e/yVvWP31yDC4Xd51vo/IRmrGSYwbVTVUPUtEKs+Hb1C2xXZVRfSWhj85z E5Wg9jyJVvAy50C2L8krRcVilLqjK5NHnwQKNQhtI47z6ORL++qU1u0VRNcrdfNR BjsTB5qW0C7sus7n2A6R3vFs1PG22y8AmbKC5+X8TtNHSa6zlcOozAsp6YIBIKAA nre+ubhzNqd2OoIeaL/iRkaHlF/e8R2MkeC1XM2Q9W91A7q0nXcTccrZFNAz0FoN dxkeCutBSDuD7rngRdfKhBstGE2m1FH5p+9/PDONoFKqYcFYyhj+bnmsoF0Ea5cN uDenV7KpeUKwMc24oNMH4Q3zWKeo5xuzX9K+laB0apntjPzX5sbjfQyymBKWTo3U Ihvzd5sxikO86fgTiERUUhGMiMv3pE0YxiPUUyBEwMvZV2XElAc= =cQRs -----END PGP SIGNATURE----- --=-tiqGbJdF9WMETFd2RMDY--