mirror of https://gitee.com/openkylin/linux.git
dc4fbba11e
The enable_kernel_*() functions leave the relevant MSR bits enabled until we exit the kernel sometime later. Create disable versions that wrap the kernel use of FP, Altivec VSX or SPE. While we don't want to disable it normally for performance reasons (MSR writes are slow), it will be used for a debug boot option that does this and catches bad uses in other areas of the kernel. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> |
||
---|---|---|
.. | ||
test | ||
.gitignore | ||
Makefile | ||
algos.c | ||
altivec.uc | ||
avx2.c | ||
int.uc | ||
mktables.c | ||
mmx.c | ||
neon.c | ||
neon.uc | ||
recov.c | ||
recov_avx2.c | ||
recov_ssse3.c | ||
sse1.c | ||
sse2.c | ||
tilegx.uc | ||
unroll.awk | ||
x86.h |