]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s: Don't read H_BLOCK_REMOVE characteristics in radix mode
authorLaurent Dufour <ldufour@linux.ibm.com>
Mon, 23 May 2022 16:43:53 +0000 (18:43 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 29 Jun 2022 09:37:07 +0000 (19:37 +1000)
commitefa09d46e17cac77dee6e22f7ade21b184715780
tree611f835cb68c29ddcf4cc1e95e9a0bdc1bea4529
parent833c7b6d7562d4f723198c55c534de5be0a0e744
powerpc/64s: Don't read H_BLOCK_REMOVE characteristics in radix mode

There is no need to read the H_BLOCK_REMOVE characteristics when running in
Radix mode because this hcall is never called.

Furthermore since the commit f10b804e100f ("powerpc/64s: Move hash MMU
support code under CONFIG_PPC_64S_HASH_MMU") define
pseries_lpar_read_hblkrm_characteristics as un empty function if
CONFIG_PPC_64S_HASH_MMU is not set, the #ifdef block can be removed.

Signed-off-by: Laurent Dufour <ldufour@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220523164353.26441-1-ldufour@linux.ibm.com
arch/powerpc/platforms/pseries/setup.c