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)
commit7339390d772ddee0447886d72c3aebc3b58d9583
tree443fd56af3df0ba0a7d74f3e80faf1fe65c65dca
parent4be4119d1fbd93c44d5c639735c3124d0526976c
powerpc/pseries: Don't give a warning when HPT resizing isn't available

As of 438cc81a41 "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