OSDN Git Service

s390/kdump: fix REGSET_VX_LOW vector register ELF notes
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Thu, 11 Jun 2015 17:59:04 +0000 (19:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Jul 2015 16:45:41 +0000 (09:45 -0700)
commite08c3716c754f58ed028c750b7e85cbd3dfc78e3
treefdebe68edc349e849a53b9e1ab8b0d43e158e83c
parent83302da0c6463ef0a8e351c4d8b01d8452442fce
s390/kdump: fix REGSET_VX_LOW vector register ELF notes

commit 3c8e5105e759e7b2d88ea8a85b1285e535bc7500 upstream.

The REGSET_VX_LOW ELF notes should contain the lower 64 bit halfes of the
first sixteen 128 bit vector registers. Unfortunately currently we copy
the upper halfes.

Fix this and correctly copy the lower halfes.

Fixes: a62bc0739253 ("s390/kdump: add support for vector extension")
Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/kernel/crash_dump.c