summaryrefslogtreecommitdiffstats
path: root/drivers/s390/crypto
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2015-10-09 13:48:03 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-10-14 14:32:18 +0200
commit29b0a8250ba63beffba4fe3a42fa75dddf4bd06a (patch)
tree07d567892411d28f22003f73193ae37a80cf4d17 /drivers/s390/crypto
parent7cc8944e13c73374b6f33b39ca24c0891c87b077 (diff)
downloadop-kernel-dev-29b0a8250ba63beffba4fe3a42fa75dddf4bd06a.zip
op-kernel-dev-29b0a8250ba63beffba4fe3a42fa75dddf4bd06a.tar.gz
s390/etr,stp: fix possible deadlock on machine check
The first level machine check handler for etr and stp machine checks may call queue_work() while in nmi context. This may deadlock e.g. if the machine check happened when the interrupted context did hold a lock, that also will be acquired by queue_work(). Therefore split etr and stp machine check handling into first and second level handling. The second level handling will then issue the queue_work() call in process context which avoids the potential deadlock. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/crypto')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud