Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp1116207pxy; Thu, 6 May 2021 00:21:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRMDntWzhN+flbRPnAKEC0sjjjOUFNL1mO//Kv8djjw9nFdqjyWMZDLWgAvLuXPBQQPD52 X-Received: by 2002:a17:90a:d085:: with SMTP id k5mr15657159pju.221.1620285684443; Thu, 06 May 2021 00:21:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620285684; cv=none; d=google.com; s=arc-20160816; b=qoVYCeEpryAz2R8F3LlezHu9IhhiSmLLYjXIn8VOql5HF2XHTWt8mgAw2nfXZtBosD LE7IcmrI1lXhLOmymjB1ST+EI8rrXQrTGTWz/INR2AlI84VZYY5OpbWeOdKa4H5rbJ/d ROgN/Vos72Fch0gJ0PCVC9giLPqlKzcu8thQNIXTAr9dOTLsYj9UfjYQCSXPTqSWtYUC UsywambEKI5ljE2yQx2DGVEFAesWHSst7LCKkHV/TQMCy2MF0QBQZRJrnPdUkeVSm7Na 1YbdaB1ZVYaVHrcW4h6VtmMp77Vy57aMzy2TkAb5oUIGOoQKHQFFQqjRNeeQDA/TtfzC ebsg== 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; bh=WNhCIMMz7EzD3Z1FLPhhrJxU/Pgtk8lSDeyYeHyvjnk=; b=Psn4VCEhy7ssYaJ4Mi2P0mQSnmea0ZYZD/pfXmyClUyxaM4VU+LJpK1ErWS/3Alawa 26IJa+OcYZPvYeoI1w+1ebC4kWFPYWsoErdAvoSLWOwOGffkAjN2pgQpNZlei4Yi9aEP KxJY4BkdGHgYgZczGjrFDw51Yqg2dNz8S5KDEB1IFc/Wd7HaQvd73qLVXkd+DqpBgC0Z TjBpj+yKf/RcoEO+2hjpCpTisFM5+zOpubD5GOhRjgvFOLbpnzpsDSM7popKWAt6NiJa Z4sw8vpyoh0kI1s0jLAIwyKC24Hu0PLwcQYtyVDJV6oUyznKTwLCrESjEHZBfgzqY2n2 0+YQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j191si2072295pge.6.2021.05.06.00.21.12; Thu, 06 May 2021 00:21:24 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233351AbhEFHU4 (ORCPT + 99 others); Thu, 6 May 2021 03:20:56 -0400 Received: from mail-vs1-f48.google.com ([209.85.217.48]:40513 "EHLO mail-vs1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233127AbhEFHUy (ORCPT ); Thu, 6 May 2021 03:20:54 -0400 Received: by mail-vs1-f48.google.com with SMTP id o192so2437420vsd.7 for ; Thu, 06 May 2021 00:19:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WNhCIMMz7EzD3Z1FLPhhrJxU/Pgtk8lSDeyYeHyvjnk=; b=l759jmjeaf3yFBDuOjS16wacqTsuGq+UF+0Z82XA8l+vBNUxz2knrAU+nSEksZ63oz eEqGlv5bBFWiz7ZA6pFpeV74Ze/MUNAcT5nOytDGfd4KegABlyXX96H+EPG19DpptjL7 +POCpt32b6Z05KtnUR8vMwnO+xS4/Kz3tmy3E4sKWoESvEYwQIS0c2OQK9hvqD9FfXNO bY9vMpzPBQnRY5gzncqTpBWu1kxuvoCKE1ByMH1NxunvYkUEN3YD/cSgKZ1hesAwZTIs UW/vsoy2P/SoLmCy/G5NukfxDn2zyk/Dm3EOmTVUiOYFfVQayEcKMaieDdF6CVpK/3/v KOGw== X-Gm-Message-State: AOAM531/t5n5uBpWBbrswvOTh5UB6CnuYx7Oa9X1Cge0ZjYejhMy0LgA 5l4P0s1H1QggZj4d4VmBFZvGyhnMQPxxqlHGUIo= X-Received: by 2002:a67:f25a:: with SMTP id y26mr2273655vsm.40.1620285596056; Thu, 06 May 2021 00:19:56 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Geert Uytterhoeven Date: Thu, 6 May 2021 09:19:44 +0200 Message-ID: Subject: Re: [PATCH] m68k: Drop -fno-strength-reduce from KBUILD_CFLAGS To: Finn Thain Cc: linux-m68k , Linux Kernel Mailing List , Masahiro Yamada Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 7, 2021 at 8:08 AM Finn Thain wrote: > This workaround became redundant either when the driver in question was > removed (in Linux v2.6.23) or when the compiler flag became a no-op > (in GCC v4.2). Linux has required GCC v4.6 or later since v4.19. > > Link: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=efa1cdf01850b28c2f6f7035ebd4420259494615 > References: commit 565bae6a4a8f ("[SCSI] 53c7xx: kill driver") > References: commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6") > Signed-off-by: Finn Thain Reviewed-by: Geert Uytterhoeven i.e. will queue in the m68k for-v5.14 branch. > --- a/arch/m68k/Makefile > +++ b/arch/m68k/Makefile > @@ -66,8 +66,7 @@ KBUILD_CFLAGS += $(cpuflags-y) > KBUILD_CFLAGS += -pipe -ffreestanding > > ifdef CONFIG_MMU > -# without -fno-strength-reduce the 53c7xx.c driver fails ;-( > -KBUILD_CFLAGS += -fno-strength-reduce -ffixed-a2 > +KBUILD_CFLAGS += -ffixed-a2 > else > # we can use a m68k-linux-gcc toolchain with these in place > KBUILD_CPPFLAGS += -DUTS_SYSNAME=\"uClinux\" Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds