Re: [v5, 02/20] powerpc: Always restore FPU/VEC/VSX if hardware transactional memory in use

2016-10-04 Thread Michael Ellerman
On Fri, 2016-23-09 at 06:18:08 UTC, Cyril Bur wrote: > Comment from arch/powerpc/kernel/process.c:967: > If userspace is inside a transaction (whether active or > suspended) and FP/VMX/VSX instructions have ever been enabled > inside that transaction, then we have to keep them enabled > and kee

[PATCH v5 02/20] powerpc: Always restore FPU/VEC/VSX if hardware transactional memory in use

2016-09-22 Thread Cyril Bur
Comment from arch/powerpc/kernel/process.c:967: If userspace is inside a transaction (whether active or suspended) and FP/VMX/VSX instructions have ever been enabled inside that transaction, then we have to keep them enabled and keep the FP/VMX/VSX state loaded while ever the transaction conti