Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2520484imu; Thu, 29 Nov 2018 06:20:36 -0800 (PST) X-Google-Smtp-Source: AFSGD/UKxTN2ACuedjdEfVq0x5oEqg9+KPYc6P/BUENc2ejhhA/fZF+PKmHTL1OQSN6MR1WqS33n X-Received: by 2002:a17:902:7e4f:: with SMTP id a15mr1615331pln.149.1543501235960; Thu, 29 Nov 2018 06:20:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543501235; cv=none; d=google.com; s=arc-20160816; b=X6Qpf12PwSneb52Q4ahuXVRVa4xLLaOUNCOnJu0jI9DIpTjUcHPERmsmKoR7MFdICN aeKgFVHL2Z3qajp/K5dSw6m7rzEQqUUXePvi4+RNt9xNcVEdrgXb+oljE3tg2iPpbgeR o/Svwd9ldCn/6LIyvD+2AZ2ET2orkohwqbhCXdNbRoS8hqk2I1Jsk0q9H4e+IOID2DPy CLKIZv7sT71ocgqRZIIsVHYuoG7yUDR/s0jaaLMg3sr9tmKD5sEaTExCJFxSrkQTayII VNmetcytCN2GBWCIMfMJRC3Ef5omQrFC5EOJOvYk205d91TSoOVI0Nm/i6EzDMQYtQe6 o7fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ThN6aEM3bP8QO+e+N4MhtysY8NVbG0/HVWIuuPAQhgw=; b=rcsl314InanQ+hawqHCohOB3b78O8YuQUpIlDTV1zpUGh4+jUYRb78JrMCQD+Xwud4 CayRznuMfiBXHJyKfWTMy0dKYZaG7eqLIaHgUtSRVGL6xLaswbQLA/2wJRRiNIHBSfMi LaljIc+/TjJ5Nc/xIDjIvRsp6dpTfnjPz9qidtuJp+kuJ6V5ueA1KHDmebi5Ro8LTan6 DAwl8XymG0tuudHEyrSZcMtuFq/wRqWszDyUE/cEIVYeRB5b4rHJFsdfX3rmtC2KEPy2 REqUZ1zERm3UUWYeL/N1oqm6IZIfjV3Ab73mmQZuA32sszIS1JYeH6yjJWqfbXcHJxY9 nFAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gAGgS3dR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l3si2274233pld.155.2018.11.29.06.20.19; Thu, 29 Nov 2018 06:20:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=gAGgS3dR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730438AbeK3BXE (ORCPT + 99 others); Thu, 29 Nov 2018 20:23:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:45006 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728439AbeK3BXD (ORCPT ); Thu, 29 Nov 2018 20:23:03 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 128A3208E7; Thu, 29 Nov 2018 14:17:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543501053; bh=axDWVLzoI8DRAzw7fV8iSzl4xZ09b1yZs3Tiz/n+a9E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gAGgS3dRaM8MvVz6HqgPBOnKyYL1LXTz1t7FVkJO93CpJfUUxLXCn2S5gZTyBXNKe la24RwpjdJHDNn4UjhT9Z0e6/X0Aj0dRneI4F4xAIYdYSX6pcmcosKYkYxSoCUull7 D0frkPFfXbuFOxCNhQafelvc3LpIUvvrNX12CyhU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Satheesh Rajendran , Michael Ellerman , Sasha Levin Subject: [PATCH 4.4 23/86] powerpc/numa: Suppress "VPHN is not supported" messages Date: Thu, 29 Nov 2018 15:11:48 +0100 Message-Id: <20181129140111.738620451@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181129140109.832117862@linuxfoundation.org> References: <20181129140109.832117862@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ [ 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 Signed-off-by: Michael Ellerman Signed-off-by: Sasha Levin --- arch/powerpc/mm/numa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c index 3c4faa4c2742..bb3df222ae71 100644 --- a/arch/powerpc/mm/numa.c +++ b/arch/powerpc/mm/numa.c @@ -1319,7 +1319,7 @@ static long vphn_get_associativity(unsigned long cpu, switch (rc) { case H_FUNCTION: - printk(KERN_INFO + printk_once(KERN_INFO "VPHN is not supported. Disabling polling...\n"); stop_topology_update(); break; -- 2.17.1