]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/mmx_32: Remove X86_USE_3DNOW
authorPeter Zijlstra <peterz@infradead.org>
Mon, 15 Nov 2021 16:46:39 +0000 (17:46 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Sat, 11 Dec 2021 08:09:45 +0000 (09:09 +0100)
commitc6dbd3e5e69cf3ca47a3864115d4cbdd44619243
tree1b0c415e73a50ff8f0e036856c325ceccf0db483
parentbff8c3848e071d387d8b0784dc91fa49cd563774
x86/mmx_32: Remove X86_USE_3DNOW

This code puts an exception table entry on the PREFETCH instruction to
overwrite it with a JMP.d8 when it triggers an exception. Except of
course, our code is no longer writable, also SMP.

Instead of fixing this broken mess, simply take it out.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/YZKQzUmeNuwyvZpk@hirez.programming.kicks-ass.net
arch/x86/Kconfig
arch/x86/Kconfig.cpu
arch/x86/include/asm/mmx.h
arch/x86/include/asm/page_32.h
arch/x86/include/asm/required-features.h
arch/x86/include/asm/string_32.h
arch/x86/lib/Makefile
arch/x86/lib/memcpy_32.c
arch/x86/lib/mmx_32.c
arch/x86/lib/usercopy_32.c
tools/arch/x86/include/asm/required-features.h