powerpc: Add ppc_strict_facility_enable boot option
authorAnton Blanchard <anton@samba.org>
Thu, 29 Oct 2015 00:44:06 +0000 (11:44 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 1 Dec 2015 02:52:26 +0000 (13:52 +1100)
commit3eb5d5888dc68c9b187998ca4249b8b9fa481eeb
tree16c17e1867d56207321c404f361c1115aac6320e
parentdc4fbba11e4661a6a77a1f89ba32f9082e6395ff
powerpc: Add ppc_strict_facility_enable boot option

Add a boot option that strictly manages the MSR unavailable bits.
This catches kernel uses of FP/Altivec/SPE that would otherwise
corrupt user state.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Documentation/kernel-parameters.txt
arch/powerpc/include/asm/reg.h
arch/powerpc/include/asm/switch_to.h
arch/powerpc/kernel/process.c