s390/setup: use physical pointers for memblock_reserve()
authorAlexander Gordeev <agordeev@linux.ibm.com>
Thu, 21 Jan 2021 12:06:02 +0000 (13:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jul 2022 14:34:56 +0000 (16:34 +0200)
commit06de5cf61538eca18aa2baccf65fa175e07c58d9
treea9b94e37e05dd59d703cd9872744ff0972e30fab
parent6ed826c949cf3cb38aba063a55be260d52c0ce55
s390/setup: use physical pointers for memblock_reserve()

[ Upstream commit 04f11ed7d8e018e1f01ebda5814ddfeb3a1e6ae1 ]

memblock_reserve() function accepts physcal address of a memory
block to be reserved, but provided with virtual memory pointers.

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/s390/kernel/setup.c