From: Borislav Petkov <bp@alien8.de>
To: Nick Desaulniers <ndesaulniers@google.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>,
Peter Zijlstra <peterz@infradead.org>,
x86@kernel.org, linux-kbuild@vger.kernel.org,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-um@lists.infradead.org, kvm@vger.kernel.org,
llvm@lists.linux.dev,
Linus Torvalds <torvalds@linux-foundation.org>,
Alexandre Belloni <alexandre.belloni@bootlin.com>
Subject: Re: [PATCH] Kconfig: eradicate CC_HAS_ASM_GOTO
Date: Fri, 19 Aug 2022 19:11:54 +0200 [thread overview]
Message-ID: <Yv/EWqYy0HzrpO2u@zn.tnic> (raw)
In-Reply-To: <20220819170053.2686006-1-ndesaulniers@google.com>
On Fri, Aug 19, 2022 at 10:00:53AM -0700, Nick Desaulniers wrote:
> GCC has supported asm goto since 4.5, and Clang has since version 9.0.0.
> The minimum supported versions of these tools for the build according to
> Documentation/process/changes.rst are 5.1 and 11.0.0 respectively.
>
> Remove the feature detection script, Kconfig option, and clean up some
> fallback code that is no longer supported.
>
> The removed script was also testing for a GCC specific bug that was
> fixed in the 4.7 release.
>
> The script was also not portable; users of Dash shell reported errors
> when it was invoked.
>
> Link: https://lore.kernel.org/lkml/CAK7LNATSr=BXKfkdW8f-H5VT_w=xBpT2ZQcZ7rm6JfkdE+QnmA@mail.gmail.com/
> Link: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48637
> Reported-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
> Suggested-by: Masahiro Yamada <masahiroy@kernel.org>
> Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
> ---
> Documentation/kbuild/kconfig-language.rst | 4 ++--
> arch/Kconfig | 3 +--
> arch/um/include/asm/cpufeature.h | 4 ++--
> arch/x86/Makefile | 4 ----
> arch/x86/include/asm/cpufeature.h | 4 ++--
> arch/x86/include/asm/rmwcc.h | 19 +------------------
> arch/x86/kvm/emulate.c | 2 +-
> init/Kconfig | 4 ----
> scripts/gcc-goto.sh | 22 ----------------------
> tools/arch/x86/include/asm/rmwcc.h | 21 ---------------------
> 10 files changed, 9 insertions(+), 78 deletions(-)
> delete mode 100755 scripts/gcc-goto.sh
Nice and good riddance.
Acked-by: Borislav Petkov <bp@suse.de>
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
WARNING: multiple messages have this Message-ID (diff)
From: Borislav Petkov <bp@alien8.de>
To: Nick Desaulniers <ndesaulniers@google.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>,
Peter Zijlstra <peterz@infradead.org>,
x86@kernel.org, linux-kbuild@vger.kernel.org,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-um@lists.infradead.org, kvm@vger.kernel.org,
llvm@lists.linux.dev,
Linus Torvalds <torvalds@linux-foundation.org>,
Alexandre Belloni <alexandre.belloni@bootlin.com>
Subject: Re: [PATCH] Kconfig: eradicate CC_HAS_ASM_GOTO
Date: Fri, 19 Aug 2022 19:11:54 +0200 [thread overview]
Message-ID: <Yv/EWqYy0HzrpO2u@zn.tnic> (raw)
In-Reply-To: <20220819170053.2686006-1-ndesaulniers@google.com>
On Fri, Aug 19, 2022 at 10:00:53AM -0700, Nick Desaulniers wrote:
> GCC has supported asm goto since 4.5, and Clang has since version 9.0.0.
> The minimum supported versions of these tools for the build according to
> Documentation/process/changes.rst are 5.1 and 11.0.0 respectively.
>
> Remove the feature detection script, Kconfig option, and clean up some
> fallback code that is no longer supported.
>
> The removed script was also testing for a GCC specific bug that was
> fixed in the 4.7 release.
>
> The script was also not portable; users of Dash shell reported errors
> when it was invoked.
>
> Link: https://lore.kernel.org/lkml/CAK7LNATSr=BXKfkdW8f-H5VT_w=xBpT2ZQcZ7rm6JfkdE+QnmA@mail.gmail.com/
> Link: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48637
> Reported-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
> Suggested-by: Masahiro Yamada <masahiroy@kernel.org>
> Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
> ---
> Documentation/kbuild/kconfig-language.rst | 4 ++--
> arch/Kconfig | 3 +--
> arch/um/include/asm/cpufeature.h | 4 ++--
> arch/x86/Makefile | 4 ----
> arch/x86/include/asm/cpufeature.h | 4 ++--
> arch/x86/include/asm/rmwcc.h | 19 +------------------
> arch/x86/kvm/emulate.c | 2 +-
> init/Kconfig | 4 ----
> scripts/gcc-goto.sh | 22 ----------------------
> tools/arch/x86/include/asm/rmwcc.h | 21 ---------------------
> 10 files changed, 9 insertions(+), 78 deletions(-)
> delete mode 100755 scripts/gcc-goto.sh
Nice and good riddance.
Acked-by: Borislav Petkov <bp@suse.de>
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
_______________________________________________
linux-um mailing list
linux-um@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-um
next prev parent reply other threads:[~2022-08-19 17:47 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-19 17:00 [PATCH] Kconfig: eradicate CC_HAS_ASM_GOTO Nick Desaulniers
2022-08-19 17:00 ` Nick Desaulniers
2022-08-19 17:11 ` Borislav Petkov [this message]
2022-08-19 17:11 ` Borislav Petkov
2022-08-19 17:16 ` Alexandre Belloni
2022-08-19 17:16 ` Alexandre Belloni
2022-08-19 17:28 ` Nick Desaulniers
2022-08-19 17:28 ` Nick Desaulniers
2022-08-19 17:41 ` Masahiro Yamada
2022-08-19 17:41 ` Masahiro Yamada
2022-08-19 18:31 ` Alexei Starovoitov
2022-08-19 18:31 ` Alexei Starovoitov
2022-08-19 19:06 ` [PATCH v2] asm goto: " Nick Desaulniers
2022-08-19 19:06 ` Nick Desaulniers
2022-08-19 20:04 ` Alexandre Belloni
2022-08-19 21:48 ` Nathan Chancellor
2022-08-19 21:48 ` Nathan Chancellor
2022-08-21 10:11 ` Ingo Molnar
2022-08-21 10:11 ` Ingo Molnar
2022-08-21 17:11 ` Linus Torvalds
2022-08-21 17:11 ` Linus Torvalds
2022-08-22 6:11 ` Sedat Dilek
2022-08-22 6:11 ` Sedat Dilek
2022-08-19 18:45 ` [PATCH] Kconfig: " Nick Desaulniers
2022-08-19 18:45 ` Nick Desaulniers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Yv/EWqYy0HzrpO2u@zn.tnic \
--to=bp@alien8.de \
--cc=alexandre.belloni@bootlin.com \
--cc=kvm@vger.kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-um@lists.infradead.org \
--cc=llvm@lists.linux.dev \
--cc=masahiroy@kernel.org \
--cc=ndesaulniers@google.com \
--cc=peterz@infradead.org \
--cc=torvalds@linux-foundation.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.