]> git.baikalelectronics.ru Git - kernel.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)
commit085d7c978ddb63f3bafe75e65e424e8b40281d15
tree1b0c415e73a50ff8f0e036856c325ceccf0db483
parentf57d58311e4a7f43fc4fa5d32f1f6d19e037c3f4
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