]> git.baikalelectronics.ru Git - kernel.git/commit
s390/smp: sort out physical vs virtual pointers usage
authorAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 15 Feb 2022 13:10:48 +0000 (14:10 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 1 Mar 2022 20:05:10 +0000 (21:05 +0100)
commitbaac036c1f144d1b9863ff1a6966e42d26f6070d
treef2020ebd316219d6549d3955806fc0d784e8b3b7
parent8e528ec3e658dddafa866f329bc2091ecd2b4f2b
s390/smp: sort out physical vs virtual pointers usage

With commit 2ef2984b7a73 ("s390/smp: reallocate IPL CPU lowcore")
virtual addresses are wrongly passed to memblock_free_late() and
SPX instructions on IPL CPU reinitialization.

Note: this does not fix a bug currently, since virtual and
physical addresses are identical.

Fixes: 2ef2984b7a73 ("s390/smp: reallocate IPL CPU lowcore")
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/smp.c