]> git.baikalelectronics.ru Git - kernel.git/commit
s390: fix DAT off memory access, e.g. on kdump
authorChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 9 Feb 2016 15:23:39 +0000 (16:23 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 11 Feb 2016 12:05:51 +0000 (13:05 +0100)
commit93ea32b954056e65d58e473df510bfc211800e27
tree2a25bb5e191a1ba24b950fe716cd1ed950e8b9a5
parentb3127d717c5448b78604afe519ec16f21aff8b71
s390: fix DAT off memory access, e.g. on kdump

commit b347513cf021 ("s390/irqflags: optimize irq restore") optimized
irqrestore to really only care about interrupts and adapted the
remaining low level users. One spot (memcpy_real) was not touched,
though - fix it. Otherwise a kdump kernel will fail while reading
the old kernel. As we re-enable irqs with a non-standard function
we have to tell lockdep about that.

Fixes: b347513cf021 ("s390/irqflags: optimize irq restore")
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/maccess.c