]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Don't give a warning when HPT resizing isn't available
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 17 Mar 2017 01:11:19 +0000 (12:11 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 21 Jan 2018 18:48:34 +0000 (05:48 +1100)
commitf256adb8a5255da883620af439f7d7c7d6e7762e
tree443fd56af3df0ba0a7d74f3e80faf1fe65c65dca
parente01f2e3d0abaecf3c72cf795493b372438c7d90b
powerpc/pseries: Don't give a warning when HPT resizing isn't available

As of 2e52b8ebbf "powerpc/pseries: Automatically resize HPT for memory hot
add/remove" when running on the pseries platform, we always attempt to
use the PAPR extension to resize the hashed page table (HPT) when we add
or remove memory.

This is fine, but when the extension is available we'll give a harmless,
but scary warning.  This patch suppresses the warning in this case.  It
will still warn if the feature is supposed to be available, but didn't
work.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/hash_utils_64.c