linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Paul Mackerras <paulus@samba.org>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org
Subject: [PATCH 0/3] Transactional memory fixes
Date: Mon, 13 Jan 2014 15:56:27 +1100	[thread overview]
Message-ID: <1389588990-25953-1-git-send-email-paulus@samba.org> (raw)

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(-)

             reply	other threads:[~2014-01-13  4:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-13  4:56 Paul Mackerras [this message]
2014-01-13  4:56 ` [PATCH 1/3] powerpc: Reclaim two unused thread_info flag bits Paul Mackerras
2014-01-13  4:56 ` [PATCH 2/3] powerpc: Don't corrupt transactional state when using FP/VMX in kernel Paul Mackerras
2014-01-13  4:56 ` [PATCH 3/3] powerpc: Fix transactional FP/VMX/VSX unavailable handlers Paul Mackerras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1389588990-25953-1-git-send-email-paulus@samba.org \
    --to=paulus@samba.org \
    --cc=benh@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).