s390/vmcore: use vmcore for zfcpdump
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Wed, 11 Sep 2013 21:24:54 +0000 (14:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:59:15 +0000 (15:59 -0700)
commit6f79d33228fa7cf900826738a39f287cae96cd91
tree219851a19eb86c91c77241cb00b3889719fdab23
parent11e376a3f9ffa85bf444b65df5326612b083c501
s390/vmcore: use vmcore for zfcpdump

Modify the s390 copy_oldmem_page() and remap_oldmem_pfn_range() function
for zfcpdump to read from the HSA memory if memory below HSA_SIZE bytes is
requested.  Otherwise real memory is used.

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Cc: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
Cc: Jan Willeke <willeke@de.ibm.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/s390/Kconfig
arch/s390/include/asm/sclp.h
arch/s390/kernel/crash_dump.c
drivers/s390/char/zcore.c