]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
s390/mm: protection exception PSW for aborted transaction
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 16 Apr 2013 11:25:06 +0000 (13:25 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 17 Apr 2013 10:31:31 +0000 (12:31 +0200)
commitf752ac4d7d96159776b0eea47489796bd90856fd
tree896d5edfdf6669cf7c481d20fb6878d0039442d5
parentb66ac63e20b3f4d7931e67c986956aa5ffbea57f
s390/mm: protection exception PSW for aborted transaction

Protection exception usually are suppressing and the fault handler
needs to rewind the PSW by the instruction length to get the correct
fault address. Except for protection exceptions while the CPU is in
the middle of a transaction. The CPU stores the transaction abort
PSW at the start of the transaction, if the transaction is aborted
the PSW is already correct and may not be modified by the fault
handler.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/fault.c