summaryrefslogtreecommitdiff
path: root/arch/s390
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2015-10-15 12:14:19 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-11-27 11:24:11 +0300
commitbbfed511c262db4d046a35f0389d98645124814f (patch)
tree86ae49acd04af16d2d44337cce954aefd35712c8 /arch/s390
parent4c5b03b60762bbe6b129b648e845f7faa5933f61 (diff)
downloadlinux-bbfed511c262db4d046a35f0389d98645124814f.tar.xz
s390/zcore: copy vector registers into the image data
The /sys/kernel/debug/zcore/mem interface delivers the memory of the old system with the CPU registers stored to the assigned locations in each prefix page. For the vector registers the prefix page of each CPU has an address of a 1024 byte save area at 0x11b0. But the /sys/kernel/debug/zcore/mem interface fails copy the vector registers saved at boot of the zfcpdump kernel into the dump image. Copy the saved vector registers of a CPU to the outout buffer if the memory area that is read via /sys/kernel/debug/zcore/mem intersects with the vector register save area of this CPU. Acked-by: Michael Holzheu <holzheu@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/include/asm/lowcore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/lowcore.h b/arch/s390/include/asm/lowcore.h
index afe1cfebf1a4..bc618067e725 100644
--- a/arch/s390/include/asm/lowcore.h
+++ b/arch/s390/include/asm/lowcore.h
@@ -35,6 +35,7 @@ struct save_area {
struct save_area_ext {
struct save_area sa;
__vector128 vx_regs[32];
+ u64 vx_sa_addr;
};
struct _lowcore {