summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2013-06-09 21:23:19 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-25 14:07:21 -0700
commit81bcd526fea6383be0361b1827fcac656d276d57 (patch)
treea3d8ea1a27dffd215e05afc3769241abd02e4445 /include
parentf6ff89fc47b05a061017200128ce154ae7165469 (diff)
downloadlinux-3.10-81bcd526fea6383be0361b1827fcac656d276d57.tar.gz
linux-3.10-81bcd526fea6383be0361b1827fcac656d276d57.tar.bz2
linux-3.10-81bcd526fea6383be0361b1827fcac656d276d57.zip
powerpc/tm: Fix return of active 64bit signals
commit 87b4e5393af77f5cba124638f19f6c426e210aec upstream. Currently we only restore signals which are transactionally suspended but it's possible that the transaction can be restored even when it's active. Most likely this will result in a transactional rollback by the hardware as the transaction will have been doomed by an earlier treclaim. The current code is a legacy of earlier kernel implementations which did software rollback of active transactions in the kernel. That code has now gone but we didn't correctly fix up this part of the signals code which still makes assumptions based on having software rollback. This changes the signal return code to always restore both contexts on 64 bit signal return. It also ensures that the MSR TM bits are properly restored from the signal context which they are not currently. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions