From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.skyhub.de ([5.9.137.197]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oP5Xh-00Adgy-Vz for linux-um@lists.infradead.org; Fri, 19 Aug 2022 17:12:23 +0000 Date: Fri, 19 Aug 2022 19:11:54 +0200 From: Borislav Petkov Subject: Re: [PATCH] Kconfig: eradicate CC_HAS_ASM_GOTO Message-ID: References: <20220819170053.2686006-1-ndesaulniers@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220819170053.2686006-1-ndesaulniers@google.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-um" Errors-To: linux-um-bounces+geert=linux-m68k.org@lists.infradead.org To: Nick Desaulniers Cc: Masahiro Yamada , Peter Zijlstra , 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 , Alexandre Belloni 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 > Suggested-by: Masahiro Yamada > Signed-off-by: Nick Desaulniers > --- > 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 -- 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