s390/diag: handle diag 204 subcode 4 address correctly
authorHeiko Carstens <hca@linux.ibm.com>
Sun, 2 Jul 2023 19:20:09 +0000 (21:20 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 24 Jul 2023 10:12:21 +0000 (12:12 +0200)
commitc83cd4fe31d52bca0587370d9e98f00072aefa27
treeb9acbb4cfa7528cd67f80e608dca88fd1fd2c624
parent8cf57d7217c32133d25615324c0ab4aaacf4d9c4
s390/diag: handle diag 204 subcode 4 address correctly

Diagnose 204 subcode 4 requires a real (physical) address, but a
virtual address is passed to the inline assembly.

Convert the address to a physical address for only this specific case.

Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/diag.h
arch/s390/kernel/diag.c