s390/ipl: fix virtual vs physical address confusion
authorAlexander Gordeev <agordeev@linux.ibm.com>
Wed, 16 Aug 2023 13:29:42 +0000 (15:29 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 18 Aug 2023 13:08:12 +0000 (15:08 +0200)
commit979fe44af819d76fc02a5a97ad1cb74f7d83578e
treec74f17b0d6f82bff14470e600a89347069552dda
parent386cb81e4ba7811573765aaaeb91b472639c2bae
s390/ipl: fix virtual vs physical address confusion

The value of ipl_cert_list_addr boot variable contains
a physical address, which is used directly. That works
because virtual and physical address spaces are currently
the same, but otherwise it is wrong.

While at it, fix also a comment for the platform keyring.

Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Reviewed-by: Mimi Zohar <zohar@linux.ibm.com>
Acked-by: Jarkko Sakkinen <jarkko@kernel.org>
Link: https://lore.kernel.org/r/20230816132942.2540411-1-agordeev@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/machine_kexec_file.c
arch/s390/kernel/setup.c
security/integrity/platform_certs/load_ipl_s390.c