powerpc/numa: Suppress "VPHN is not supported" messages
authorSatheesh Rajendran <sathnaga@linux.vnet.ibm.com>
Thu, 8 Nov 2018 05:17:56 +0000 (10:47 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Dec 2018 08:42:54 +0000 (09:42 +0100)
commit2a968a024116dc75b9488744a4711b0166ac3172
tree28fe6a498d8f051659913d667b4ac0c2981a6d35
parent281a4f41c6be4f6c09859f1877ab7a8b294ead62
powerpc/numa: Suppress "VPHN is not supported" messages

[ Upstream commit 437ccdc8ce629470babdda1a7086e2f477048cbd ]

When VPHN function is not supported and during cpu hotplug event,
kernel prints message 'VPHN function not supported. Disabling
polling...'. Currently it prints on every hotplug event, it floods
dmesg when a KVM guest tries to hotplug huge number of vcpus, let's
just print once and suppress further kernel prints.

Signed-off-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/powerpc/mm/numa.c