Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp625096pxu; Thu, 7 Jan 2021 13:50:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJxBd/emIGnj20bsdW7Xn1VIGifejMQAYnrdRce23qwj0HRlblmud3wb+aoEbNOR4RtytC5e X-Received: by 2002:aa7:d3d4:: with SMTP id o20mr3135967edr.190.1610056222642; Thu, 07 Jan 2021 13:50:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610056222; cv=none; d=google.com; s=arc-20160816; b=oEXuojsWtZ0lgyhtTxk9L8ix5CSg0zswTK3BDoyTV2IpSJ1Wtkvdkrab3xx2y3q54d h2/ptr6114y6Ye4qtoQ+MdzM7fYyEBSamZVx8j/8nLi70ixejpW77bByteQukmmmhvn/ qiHJTCuP7RSRSF4FGVK3vOwqIUcTyseBExyjvNA/H6P708egmMc7808OW6LkMsws8laL yRpH+PxTBKWP9TE3ka2pXh7xBfQxaQgCzUEt4+xIbj/BOFW6LvsExHXNUwaSoR6Jc4cs /2D/DPAsvNOstKHlbBTADRLyVzqReF+MeERlbaPVzBqjcnnUTIVi9ExeLx3uV/iZ4Prb eAfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=SzzVlEG5zERSC+F/JVApc4aUNN+cdrDMMwc5R7op1nk=; b=BfEHpJYuEIzjthvvLkZMd9RUFHqmgMqMphfbMY6ZJcT4UNOPMzDNH227Fka2ng/Lbl zJoD2qf5mL9WWW8J7qWYN3VHmMv96sDEhHnDIfolM6TcuhNn8CZyUWBhjkAPqekaaTMU bNNB7gWvANE4tIj081LEMI55/1OOqm6VQftJgTiSE5bIfmrg2dS8nCCW2MuuwY22J3Ow w7JpeBhCHpWlSbsAlMuSukDit8b6jc0+S2cGHIWFXQj0a53I3ladHA/5lsO0iidt7vdZ E+WJX3fQdDIPbvsW4iL5YkXSPt5g9QLGycrHv1K/o5AZBkDnD16629iK/y7CbT0ouITg vlCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="iD+ZK/lf"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d11si2830152edv.195.2021.01.07.13.49.58; Thu, 07 Jan 2021 13:50:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="iD+ZK/lf"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727571AbhAGVtE (ORCPT + 99 others); Thu, 7 Jan 2021 16:49:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:37198 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726477AbhAGVtD (ORCPT ); Thu, 7 Jan 2021 16:49:03 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id DE3E923406; Thu, 7 Jan 2021 21:48:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610056103; bh=TQDWjh3f5pNnQ2t5MjxQ5TqLIEAU1dudzHdK0zBk+Ns=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=iD+ZK/lfojmMkxhXnyH/1v8Tb0AwiXwyMFfxZhtAIZgz0HAke5gQ1BQxg7lVHp9TI gAdpITwTpkBqqsroyiceqy/xOW06ifTk4RCD4LdxhCin8jH5ninfACplB869eaWj56 hQbubbiixp2WEM1jJcIFTIxzmxmotz+Xke8JTSV3jPycIBMLSjfEpuCozaSEv3HzqT WXwiw2vKOAwe2NN3ljw0hT5F4Qabo2Tnj8NBEzzeD5M6JuHuxYSDQcbwR3uBtpvQNK lpnVGmcDiM5jsCTzQvTuYSIiA9zg5G4dIY1dyOQifQm8BXopQbA4xcakFyzcS8PVXg 05/ozQdCD06ug== Received: by mail-ot1-f50.google.com with SMTP id i6so7806129otr.2; Thu, 07 Jan 2021 13:48:22 -0800 (PST) X-Gm-Message-State: AOAM532JjXRaFQ1Y3e7ztIpKwAtdyXWYq3eg4k0OEMdRvlvLPjb4QKAm g3pR9+m5bzEO5YZ3m8y9/cKRS7st18LWfUVHApU= X-Received: by 2002:a9d:7a4b:: with SMTP id z11mr421259otm.305.1610056102295; Thu, 07 Jan 2021 13:48:22 -0800 (PST) MIME-Version: 1.0 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> <20210107133747.GP1551@shell.armlinux.org.uk> In-Reply-To: From: Arnd Bergmann Date: Thu, 7 Jan 2021 22:48:05 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Aarch64 EXT4FS inode checksum failures - seems to be weak memory ordering issues To: "Theodore Ts'o" Cc: Russell King - ARM Linux admin , Will Deacon , linux-toolchains@vger.kernel.org, Mark Rutland , "linux-kernel@vger.kernel.org" , Andreas Dilger , Ext4 Developers List , Linux ARM Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 7, 2021 at 5:27 PM Theodore Ts'o wrote: > > On Thu, Jan 07, 2021 at 01:37:47PM +0000, Russell King - ARM Linux admin wrote: > > > 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? > > Russell, Arnd, thanks so much for tracking down the root cause of the > bug! There is one more thing that I wondered about when looking through the ext4 code: Should it just call the crc32c_le() function directly instead of going through the crypto layer? It seems that with Ard's rework from 2018, that can just call the underlying architecture specific implementation anyway. > I will note that RHEL 7 uses gcc 4.8. I personally don't have an > objections to requiring developers using RHEL 7 to have to install a > more modern gcc (since I use Debian Testing and gcc 10.2.1, myself, > and gcc 5.1 is so five years ago :-), but I could imagine that being > considered inconvenient for some. The main users of gcc-4.9 that I recall from previous discussions were Android and Debian 8, but both of them are done now: Debian 8 has reached its end of life last summer, and Android uses clang for building new kernels. Arnd