aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2015-10-15 11:14:19 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-11-27 09:24:11 +0100
commitbbfed511c262db4d046a35f0389d98645124814f (patch)
tree86ae49acd04af16d2d44337cce954aefd35712c8 /arch/s390/include/asm
parents390/zcore: remove invalid kfree in init_cpu_info (diff)
downloadlinux-dev-bbfed511c262db4d046a35f0389d98645124814f.tar.xz
linux-dev-bbfed511c262db4d046a35f0389d98645124814f.zip
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/include/asm')
-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 {