powerpc: create flush_all_to_thread()
authorAnton Blanchard <anton@samba.org>
Thu, 29 Oct 2015 00:44:09 +0000 (11:44 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 2 Dec 2015 08:34:40 +0000 (19:34 +1100)
commit579e633e764e6e5f7784b74e7df3e81fe11f40de
treeb2c0152e295aaee02ffe74eba1b567b404115593
parentc208505900b232ecdc81dee54cb3a032e75d88d6
powerpc: create flush_all_to_thread()

Create a single function that flushes everything (FP, VMX, VSX, SPE).
Doing this all at once means we only do one MSR write.

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