diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2021-12-16 13:27:10 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2021-12-20 10:21:55 +0100 |
commit | a0e45d40d5f8461aeee9374c0ffa7b1da87c203c (patch) | |
tree | 9db5bd01c39381defaf63600bf37a6441c082422 /arch/s390/kernel/guarded_storage.c | |
parent | 39d02827ed40fd421a758a36264c255d69f5d035 (diff) | |
download | linux-a0e45d40d5f8461aeee9374c0ffa7b1da87c203c.tar.gz |
s390/crash_dump: fix virtual vs physical address handling
Signal processor STORE STATUS requires a physical address where register
contents are supposed to be written to, however the kernel must read the
data via the corresponding virtual address.
Also the allocated save_area, where register contents are copied to,
resides in virtual address space.
Fix this by using proper __pa() conversion, or correct memblock_alloc()
invocation.
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/guarded_storage.c')
0 files changed, 0 insertions, 0 deletions