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

As of fc02724b75 "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