]> git.baikalelectronics.ru Git - kernel.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)
commita1ddc8ab848c05178960ed96e2f6a9d9d5ce7fc4
tree896d5edfdf6669cf7c481d20fb6878d0039442d5
parent874b2878e23a25db45db7d55bc49af92d3bb8106
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