s390/setup: fix virtual vs physical address confusion
authorGerald Schaefer <gerald.schaefer@linux.ibm.com>
Wed, 14 Feb 2024 15:17:08 +0000 (16:17 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Fri, 16 Feb 2024 13:30:12 +0000 (14:30 +0100)
commite8054eaeb5a57d1aa930962185e74060db0e9308
tree8bdd347adf2c6507d003b42724610bedf80edb18
parentb20ea29a709e46e929b33713f4bfdf51db3d99be
s390/setup: fix virtual vs physical address confusion

Fix virtual vs physical address confusion. This does not fix a bug
since virtual and physical address spaces are currently the same.

/proc/iomem should report the physical address ranges, so use __pa_symbol()
for resource registration, similar to other architectures.

Signed-off-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/setup.c