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=-5.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 325FFC433E0 for ; Thu, 7 Jan 2021 13:38:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DAB2B225AC for ; Thu, 7 Jan 2021 13:38:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728609AbhAGNic (ORCPT ); Thu, 7 Jan 2021 08:38:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728026AbhAGNib (ORCPT ); Thu, 7 Jan 2021 08:38:31 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13945C0612F4; Thu, 7 Jan 2021 05:37:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=3VXG1gjVht0cxl9ViTm3PDVS6dPgMzDNMoqL8tdmikk=; b=k64FnmbV4KB12EIuVh77t+bl1 J1Rcz2wbaBMBbYJXF+n3xQC676/dz0YE1rB2ymmNi3E8YvzTOKw8W2t4D36ZM6/YCUs5mYzo3pfAX +5nN1SsuRbhqSKjuVPS0aWTGGkbyivSp+erTSrUTXjoQvIuoxjTHotYq/CGFhCknE+jtWDjOpRiFf n0ksS53oJEuP5Odzn9Xar9/F/ODZBNLYdLGF6Oa5vL7eTFUMT25mPLTj35TOA60D42t5xfP+R+tW/ KuxQV0bBi1ixf4erXhXp8DdBtbiVVhOXf9iQz7AMFwbhvCUqMkFNXmwknRgx7FvUPVpzrER+ITOsR hl9NLNZxA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:45222) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kxVU4-0002sQ-BI; Thu, 07 Jan 2021 13:37:48 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1kxVU3-0001DA-Bm; Thu, 07 Jan 2021 13:37:47 +0000 Date: Thu, 7 Jan 2021 13:37:47 +0000 From: Russell King - ARM Linux admin To: Arnd Bergmann Cc: Will Deacon , linux-toolchains@vger.kernel.org, Mark Rutland , Theodore Ts'o , "linux-kernel@vger.kernel.org" , Andreas Dilger , Ext4 Developers List , Linux ARM Subject: Re: Aarch64 EXT4FS inode checksum failures - seems to be weak memory ordering issues Message-ID: <20210107133747.GP1551@shell.armlinux.org.uk> References: <20210105154726.GD1551@shell.armlinux.org.uk> <20210106115359.GB26994@C02TD0UTHF1T.local> <20210106135253.GJ1551@shell.armlinux.org.uk> <20210106172033.GA2165@willie-the-truck> <20210106223223.GM1551@shell.armlinux.org.uk> <20210107111841.GN1551@shell.armlinux.org.uk> <20210107124506.GO1551@shell.armlinux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: Russell King - ARM Linux admin Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 07, 2021 at 02:16:25PM +0100, Arnd Bergmann wrote: > On Thu, Jan 7, 2021 at 1:47 PM Russell King - ARM Linux admin > wrote: > > > Arnd has found via bisecting gcc: > > > > 7e8c2bd54af ("[AArch64] fix unsafe access to deallocated stack") > > > > which seems to be https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63293 > > > > That seems to suggest that gcc-5.0.0 is also affected. > > > > Looking at the changelog in Debian's gcc-8.3 packages, this doesn't > > feature, so it's not easy just to look at the changelogs to work out > > which versions are affected. > > I checked the history to confirm that all gcc-5 releases (5.0.x is pre-release) > and later have the fix. > > The gcc bugzilla mentions backports into gcc-linaro, but I do not see > them in my git history. So, do we raise the minimum gcc version for the kernel as a whole to 5.1 or just for aarch64? -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! 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=-5.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no 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 42F1FC433DB for ; Thu, 7 Jan 2021 13:39:52 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A6843224BD for ; Thu, 7 Jan 2021 13:39:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A6843224BD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject: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=pmwLS/dfF1Mtek3O5UB9cjSKPLvuJhJOREADLWOjWVk=; b=fylOMfr8Llni7cKM3iwYTWjkp M+KB0AU72vDUoa5/JR4XzaQF/WCbhqxElmQmLmoUYd2R9gQmglimcVTihJJ5I8m4sCRmHbEg+DdwX UPuzFu5lys4dR6csVbRGIPvGtGfrQ4IQZJr3Q2uQ0RaJB+b25L7M1w3QLGKpqLccPnYUG8jRhoB1C mXdRg5fkk+TgqCrTjjTRVM2yL92Gw/7T1zbXZSptCoFJPSIK6NPzrEMGHdDjOpOconfhJ7Wff0625 pKEZDu7H01K7YwZ2YdT78vj69eUnHw5YVC2kMpmOTi+lX3bTJfvDSDbgOuVEDkdwDVOaBUqs94x7N Jbai8K0tA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxVUF-00032x-Dv; Thu, 07 Jan 2021 13:37:59 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxVUB-00032O-6C for linux-arm-kernel@lists.infradead.org; Thu, 07 Jan 2021 13:37:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=3VXG1gjVht0cxl9ViTm3PDVS6dPgMzDNMoqL8tdmikk=; b=k64FnmbV4KB12EIuVh77t+bl1 J1Rcz2wbaBMBbYJXF+n3xQC676/dz0YE1rB2ymmNi3E8YvzTOKw8W2t4D36ZM6/YCUs5mYzo3pfAX +5nN1SsuRbhqSKjuVPS0aWTGGkbyivSp+erTSrUTXjoQvIuoxjTHotYq/CGFhCknE+jtWDjOpRiFf n0ksS53oJEuP5Odzn9Xar9/F/ODZBNLYdLGF6Oa5vL7eTFUMT25mPLTj35TOA60D42t5xfP+R+tW/ KuxQV0bBi1ixf4erXhXp8DdBtbiVVhOXf9iQz7AMFwbhvCUqMkFNXmwknRgx7FvUPVpzrER+ITOsR hl9NLNZxA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:45222) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kxVU4-0002sQ-BI; Thu, 07 Jan 2021 13:37:48 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1kxVU3-0001DA-Bm; Thu, 07 Jan 2021 13:37:47 +0000 Date: Thu, 7 Jan 2021 13:37:47 +0000 From: Russell King - ARM Linux admin To: Arnd Bergmann Subject: Re: Aarch64 EXT4FS inode checksum failures - seems to be weak memory ordering issues Message-ID: <20210107133747.GP1551@shell.armlinux.org.uk> References: <20210105154726.GD1551@shell.armlinux.org.uk> <20210106115359.GB26994@C02TD0UTHF1T.local> <20210106135253.GJ1551@shell.armlinux.org.uk> <20210106172033.GA2165@willie-the-truck> <20210106223223.GM1551@shell.armlinux.org.uk> <20210107111841.GN1551@shell.armlinux.org.uk> <20210107124506.GO1551@shell.armlinux.org.uk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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-20210107_083755_276493_5D4F3A84 X-CRM114-Status: GOOD ( 18.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Theodore Ts'o , "linux-kernel@vger.kernel.org" , Andreas Dilger , linux-toolchains@vger.kernel.org, Ext4 Developers List , Will Deacon , Linux ARM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Jan 07, 2021 at 02:16:25PM +0100, Arnd Bergmann wrote: > On Thu, Jan 7, 2021 at 1:47 PM Russell King - ARM Linux admin > wrote: > > > Arnd has found via bisecting gcc: > > > > 7e8c2bd54af ("[AArch64] fix unsafe access to deallocated stack") > > > > which seems to be https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63293 > > > > That seems to suggest that gcc-5.0.0 is also affected. > > > > Looking at the changelog in Debian's gcc-8.3 packages, this doesn't > > feature, so it's not easy just to look at the changelogs to work out > > which versions are affected. > > I checked the history to confirm that all gcc-5 releases (5.0.x is pre-release) > and later have the fix. > > The gcc bugzilla mentions backports into gcc-linaro, but I do not see > them in my git history. So, do we raise the minimum gcc version for the kernel as a whole to 5.1 or just for aarch64? -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel