]> git.baikalelectronics.ru Git - kernel.git/commit
s390/kasan: add kdump support
authorVasily Gorbik <gor@linux.ibm.com>
Tue, 20 Aug 2019 17:45:47 +0000 (19:45 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 29 Aug 2019 13:34:58 +0000 (15:34 +0200)
commita8fd32806fbd14535a5a5f8d02aaf50a28e4903d
tree2489664e6d2241d4b2b3b6cad33d90479fec9e0f
parent1c4623ecde6c3173ac48a059a9c515a3d6521476
s390/kasan: add kdump support

If kasan enabled kernel is used as crash kernel it crashes itself with
program check loop during kdump execution. The reason for that is that
kasan shadow memory backed by pages beyond OLDMEM_SIZE. Make kasan memory
allocator respect physical memory limit imposed by kdump.

Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/mm/kasan_init.c