[PATCH 0/3] Transactional memory fixes

Paul Mackerras paulus at samba.org
Mon Jan 13 15:56:27 EST 2014


This series of patches fixes a couple of cases where bugs in the
handling of FP/VMX/VSX state around transactions can lead to
corruption of the FP/VMX/VSX state visible to user processes.  The
bugs were found basically by inspection but then verified by writing
small test programs that provoke the bugs.

Paul.

 arch/powerpc/include/asm/processor.h   |   2 +
 arch/powerpc/include/asm/thread_info.h |   9 +-
 arch/powerpc/include/asm/tm.h          |   1 +
 arch/powerpc/kernel/entry_64.S         |  12 ++-
 arch/powerpc/kernel/fpu.S              |  16 ++++
 arch/powerpc/kernel/process.c          | 146 ++++++++++++++++++++++++++++++---
 arch/powerpc/kernel/signal.c           |   3 +-
 arch/powerpc/kernel/signal_32.c        |  21 ++---
 arch/powerpc/kernel/signal_64.c        |  14 ++--
 arch/powerpc/kernel/traps.c            |  57 +++++++++----
 arch/powerpc/kernel/vector.S           |  10 +++
 11 files changed, 231 insertions(+), 60 deletions(-)


More information about the Linuxppc-dev mailing list