* [PATCH] m68k: Drop -fno-strength-reduce from KBUILD_CFLAGS
@ 2021-02-07 7:02 Finn Thain
2021-02-07 8:51 ` John Paul Adrian Glaubitz
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Finn Thain @ 2021-02-07 7:02 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: linux-m68k, linux-kernel
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 <fthain@telegraphics.com.au>
---
arch/m68k/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/m68k/Makefile b/arch/m68k/Makefile
index ea14f2046fb4..5be4efec173a 100644
--- 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\"
--
2.26.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] m68k: Drop -fno-strength-reduce from KBUILD_CFLAGS
2021-02-07 7:02 [PATCH] m68k: Drop -fno-strength-reduce from KBUILD_CFLAGS Finn Thain
@ 2021-02-07 8:51 ` John Paul Adrian Glaubitz
2021-02-07 9:45 ` Geert Uytterhoeven
2021-05-05 23:07 ` Finn Thain
2021-05-06 7:19 ` Geert Uytterhoeven
2 siblings, 1 reply; 5+ messages in thread
From: John Paul Adrian Glaubitz @ 2021-02-07 8:51 UTC (permalink / raw)
To: Finn Thain, Geert Uytterhoeven; +Cc: linux-m68k, linux-kernel
On 2/7/21 8:02 AM, Finn Thain wrote:
> References: commit 565bae6a4a8f ("[SCSI] 53c7xx: kill driver")
Does that mean there is currently no driver for the A4091?
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] m68k: Drop -fno-strength-reduce from KBUILD_CFLAGS
2021-02-07 8:51 ` John Paul Adrian Glaubitz
@ 2021-02-07 9:45 ` Geert Uytterhoeven
0 siblings, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2021-02-07 9:45 UTC (permalink / raw)
To: John Paul Adrian Glaubitz
Cc: Finn Thain, linux-m68k, Linux Kernel Mailing List
Hi Adrian,
On Sun, Feb 7, 2021 at 9:51 AM John Paul Adrian Glaubitz
<glaubitz@physik.fu-berlin.de> wrote:
> On 2/7/21 8:02 AM, Finn Thain wrote:
> > References: commit 565bae6a4a8f ("[SCSI] 53c7xx: kill driver")
>
> Does that mean there is currently no driver for the A4091?
Supported by the replacement driver:
45804fbb00eea27b ("[SCSI] 53c700: Amiga Zorro NCR53c710 SCSI")
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] m68k: Drop -fno-strength-reduce from KBUILD_CFLAGS
2021-02-07 7:02 [PATCH] m68k: Drop -fno-strength-reduce from KBUILD_CFLAGS Finn Thain
2021-02-07 8:51 ` John Paul Adrian Glaubitz
@ 2021-05-05 23:07 ` Finn Thain
2021-05-06 7:19 ` Geert Uytterhoeven
2 siblings, 0 replies; 5+ messages in thread
From: Finn Thain @ 2021-05-05 23:07 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: linux-m68k, linux-kernel
Ping...
On Sun, 7 Feb 2021, 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 <fthain@telegraphics.com.au>
> ---
> arch/m68k/Makefile | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/m68k/Makefile b/arch/m68k/Makefile
> index ea14f2046fb4..5be4efec173a 100644
> --- 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\"
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] m68k: Drop -fno-strength-reduce from KBUILD_CFLAGS
2021-02-07 7:02 [PATCH] m68k: Drop -fno-strength-reduce from KBUILD_CFLAGS Finn Thain
2021-02-07 8:51 ` John Paul Adrian Glaubitz
2021-05-05 23:07 ` Finn Thain
@ 2021-05-06 7:19 ` Geert Uytterhoeven
2 siblings, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2021-05-06 7:19 UTC (permalink / raw)
To: Finn Thain; +Cc: linux-m68k, Linux Kernel Mailing List, Masahiro Yamada
On Sun, Feb 7, 2021 at 8:08 AM Finn Thain <fthain@telegraphics.com.au> 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 <fthain@telegraphics.com.au>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-05-06 7:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-07 7:02 [PATCH] m68k: Drop -fno-strength-reduce from KBUILD_CFLAGS Finn Thain
2021-02-07 8:51 ` John Paul Adrian Glaubitz
2021-02-07 9:45 ` Geert Uytterhoeven
2021-05-05 23:07 ` Finn Thain
2021-05-06 7:19 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).