Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp554841pxb; Wed, 13 Jan 2021 09:59:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJzpwAxgsAC4l+2M7dr6xtVSITGGjz3uzWrk1PrIdg2CNuDxn4SrsUeohQd6d+n6mM++i2Vt X-Received: by 2002:a50:9310:: with SMTP id m16mr2766551eda.94.1610560795111; Wed, 13 Jan 2021 09:59:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610560795; cv=none; d=google.com; s=arc-20160816; b=ispTa2C/QCp8q2fTG0oU9n3AUzov7rNG12g9TNYVx2VE1AGq7a6A5Gpic3WHwC4TC9 XUsz5ldryIplGdeC49nVUXaan2fHK2ekHXhTc+TCDQUetsgv10IiG45JX1qlRufIC8Cx zZO27lJR+jrI2Lt7835IQKinUW1VVYeAtWKAB0MylSvJSXQZk7p67zVDZKx2iIQ0xQjE fLNo7RQGhQY/WV4TxVDRHjFrLc6+huSCRCrI6yuHl6wj+b52HC/as80vVpvsQOcUoKU9 dK0/AU3w9iQwOh88gqDzPgYcP7ho+Bjxa3KuO8rZq8GACIXyIXTEH78ywLOYK/p+3ZwY 9mxg== 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:dkim-filter; bh=5QLVKZuMn5+SASfPyUyRYZJzylR2IbKY13Wi4rwHquM=; b=QcIZlzRu9Z7b9zjkxG9S1oceyacP24Ccq0QTzaXmwSfy1O1+wbniaylkKgqEyXdo7n fzXz7TXaaZCR1yn2CtxCxqknUdKi4/I3AzolL3xz96hvKjS1xaJMz/0HTHjEYf4oiNeJ LoLqWeJl3Q4hGNXI1b3sEl1U6PsmimNj3nYzovMab5twmzhH+2YcC569Bz0P3/edPTOF Kv/LlKrcp0xT1iz2mPZSNutdESWHmf49iMejSSAGJjEYePZodP1cwqC57ujbieT7lZeq pi8U5ZRQYBDr48AIFLvf0cTbKn4ZtdawE/HM14A0aESPiwJHEgermuKWAnbAhgmL/bG+ bCiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=P5ZlsuTI; 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 a25si1255860ejf.246.2021.01.13.09.59.31; Wed, 13 Jan 2021 09:59:54 -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=@nifty.com header.s=dec2015msa header.b=P5ZlsuTI; 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 S1728117AbhAMR6w (ORCPT + 99 others); Wed, 13 Jan 2021 12:58:52 -0500 Received: from conssluserg-05.nifty.com ([210.131.2.90]:28808 "EHLO conssluserg-05.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728064AbhAMR6v (ORCPT ); Wed, 13 Jan 2021 12:58:51 -0500 Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (authenticated) by conssluserg-05.nifty.com with ESMTP id 10DHvsCO008110 for ; Thu, 14 Jan 2021 02:57:55 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 10DHvsCO008110 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1610560675; bh=5QLVKZuMn5+SASfPyUyRYZJzylR2IbKY13Wi4rwHquM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=P5ZlsuTITcTtH4fgdsfnIRQA/RNX/XwYw6hh3aXjz8I5GBF0JhiJ0OZtOiv2XE9lw IyjCEjvPIOggSlld3JN8PjBDTBFtFT4Gx3ZU5V+2LDN87FkLl8dcGM37oDF7051xXF rVoX6bNtkUEhfe/1YDj1FrN73PpW6iSXXSlTKzepLaYmcxPJiQP9Mjf+gQjlOnDIzl 3rtesFZvnvxYANp1TIDBaYnwDtKiQSYpMYakEv+Y74mJ/Iv5iaHo4e0PRndqjygORf ybUEV3l7S3ylfL1u4w8WXp/kbPvvEoRh2yvzkLLZCDMF2qwdc7FNEYjF3hs2LJDrqN TfDmVg07oTQhw== X-Nifty-SrcIP: [209.85.210.176] Received: by mail-pf1-f176.google.com with SMTP id h186so1711599pfe.0 for ; Wed, 13 Jan 2021 09:57:55 -0800 (PST) X-Gm-Message-State: AOAM532QCENqHoNk4MDciRUXZSPdW2Ui2/Ca3SBhJ6zTjD8CU0Z/hNuz tTTZRYPhH3zvXfef9kx5ZjHLheACJYEI7V96amY= X-Received: by 2002:aa7:9501:0:b029:155:3b11:d5c4 with SMTP id b1-20020aa795010000b02901553b11d5c4mr3156162pfp.76.1610560674180; Wed, 13 Jan 2021 09:57:54 -0800 (PST) MIME-Version: 1.0 References: <20210112224832.10980-1-will@kernel.org> <161055398865.21762.12236232732054213928.b4-ty@arm.com> In-Reply-To: <161055398865.21762.12236232732054213928.b4-ty@arm.com> From: Masahiro Yamada Date: Thu, 14 Jan 2021 02:57:17 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] compiler.h: Raise minimum version of GCC to 5.1 for arm64 To: Catalin Marinas Cc: linux-arm-kernel , Will Deacon , Arnd Bergmann , Russell King , Linus Torvalds , Nick Desaulniers , "Theodore Ts'o" , "Cc: Android Kernel" , Linux Kernel Mailing List , Peter Zijlstra , Florian Weimer Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 14, 2021 at 1:08 AM Catalin Marinas wrote: > > On Tue, 12 Jan 2021 22:48:32 +0000, Will Deacon wrote: > > GCC versions >= 4.9 and < 5.1 have been shown to emit memory references > > beyond the stack pointer, resulting in memory corruption if an interrupt > > is taken after the stack pointer has been adjusted but before the > > reference has been executed. This leads to subtle, infrequent data > > corruption such as the EXT4 problems reported by Russell King at the > > link below. > > > > [...] > > Applied to arm64 (for-next/fixes), thanks! > > [1/1] compiler.h: Raise minimum version of GCC to 5.1 for arm64 > https://git.kernel.org/arm64/c/1f1244a5ddb7 > > -- > Catalin > Maybe, we can raise the minimal version to gcc 5.1 for all architectures. -- Best Regards Masahiro Yamada