]> 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)
commit0267f4e2246d548af35fa871206667c32e047801
treef2020ebd316219d6549d3955806fc0d784e8b3b7
parentd6694cfbc3367c7c1dac44ca2e49f5955e405786
s390/smp: sort out physical vs virtual pointers usage

With commit 238f8a59958b ("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: 238f8a59958b ("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