diff options
author | Sven Schnelle <svens@linux.ibm.com> | 2024-07-22 15:41:27 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2024-07-23 16:02:32 +0200 |
commit | 97cee3dd4a07413a4175e247f550a4931d39cee1 (patch) | |
tree | 01e53015a6219fc01bf1172d51f9e4367f951dc0 /arch/s390/kernel/machine_kexec.c | |
parent | 361f6ec2fe203760353c708480099e0325295b21 (diff) | |
download | linux-97cee3dd4a07413a4175e247f550a4931d39cee1.tar.gz linux-97cee3dd4a07413a4175e247f550a4931d39cee1.tar.bz2 linux-97cee3dd4a07413a4175e247f550a4931d39cee1.zip |
s390/kdump: Make kdump ready for lowcore relocation
In preparation of having lowcore at different address than zero,
add the base register to all lowcore accesses in store_status()
and __do_machine_kdump().
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/machine_kexec.c')
-rw-r--r-- | arch/s390/kernel/machine_kexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/machine_kexec.c b/arch/s390/kernel/machine_kexec.c index f4cf65da6d49..8f681ccfb83a 100644 --- a/arch/s390/kernel/machine_kexec.c +++ b/arch/s390/kernel/machine_kexec.c @@ -62,7 +62,7 @@ static void __do_machine_kdump(void *data) * This need to be done *after* s390_reset_system set the * prefix register of this CPU to zero */ - memcpy(absolute_pointer(__LC_FPREGS_SAVE_AREA), + memcpy(absolute_pointer(get_lowcore()->floating_pt_save_area), phys_to_virt(prefix + __LC_FPREGS_SAVE_AREA), 512); call_nodat(1, int, purgatory, int, 1); |