]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s/radix: Fix memory hot-unplug page table split
authorNicholas Piggin <npiggin@gmail.com>
Wed, 24 Jul 2019 08:46:35 +0000 (18:46 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 20 Aug 2019 11:22:19 +0000 (21:22 +1000)
commit4930c98a9c537f015e01bb92164386da157ed215
tree023cb9597d5b128a96bb71219914e0885d9d5d17
parent369c595dc84e7b59368daffa8d74c85115593fe3
powerpc/64s/radix: Fix memory hot-unplug page table split

create_physical_mapping expects physical addresses, but splitting
these mapping on hot unplug is supplying virtual (effective)
addresses.

Fixes: 0138e25123fa5 ("powerpc/mm/radix: Split linear mapping on hot-unplug")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190724084638.24982-2-npiggin@gmail.com
arch/powerpc/mm/book3s64/radix_pgtable.c