Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2530189imu; Thu, 29 Nov 2018 06:28:32 -0800 (PST) X-Google-Smtp-Source: AFSGD/Ukaxl23a1qaBhVcPyL7hjLcDAoxQy9Qr8q4TfmzcSPJnJ2A71M0SIjsATEuoXyvPMQW+va X-Received: by 2002:a63:1321:: with SMTP id i33mr1457563pgl.380.1543501712879; Thu, 29 Nov 2018 06:28:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543501712; cv=none; d=google.com; s=arc-20160816; b=NXmDyOt6rdN5r5kwXV7lvJ8MnzX8DpxotqwrLItz8VpyFm8+tW+9dFO6e2svWNs9f9 cMIeNK8QP239foEwGcWsdLESGOvQQaupoXB07OxR5ev7V/z2v+FJ0UeM7iFDdiLPCqS6 /qiCwWdm1OPoBozooMDbcxZ+F77bfNkPIY4Sy7POxUmbBuX5fuwxRBq7KT+E7b+ZuHGq 0MvCeXDCDa98/dVmtxf9yOXkQ4MEe0XK7UpV4EtBnuLdJZQf3QDzEZCUj7xn+DWiRptZ V5j0lqietF25PcOPJ0dTmYNkO5IHhpnQxRwEjbpShgBExjEwDPXWASjrGDb610XEXXSE g5Uw== 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=YpMng6KC+pPaW2+GTg+vTH7z1LiT9XmIhmNG8xlZt+8=; b=inZnXD0pNLsYYczk8+39gXLdbHAE+wuwz7rYgFZZXVrxKQcQnYTv03AJlJ3Yj0mVuX pi3xAH/xYFWBYcLy7/V5U9mpVmGwRhY1u6BTLnjZHdBR6fr3f3+LyFtU0zPpt/cw2cfN ag8AzMF9TSuYOYz0sRIiEdx+67wtkXPKnaKx9vaqDgF3z7eaXI2pYbSoMJw+S9usv0F3 rfaGo6Q83JGo/f+4OBKnIMTYW7uXb5o+J7G/pM8aOwzGuuIPaeANRngh8VYYaC2YgEUc yhxk5D6BKy3jcMMNkbH5j6eWL/wVhLW3eP+4onAlAxdNrOL5mbJHR+sS3Nk4VOfZfyTp 9FJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DB0VI9M0; 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 y12si2106411pgh.289.2018.11.29.06.28.16; Thu, 29 Nov 2018 06:28:32 -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=DB0VI9M0; 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 S1733308AbeK3BcC (ORCPT + 99 others); Thu, 29 Nov 2018 20:32:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:59882 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728574AbeK3BcB (ORCPT ); Thu, 29 Nov 2018 20:32:01 -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 CE18C213A2; Thu, 29 Nov 2018 14:26:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543501589; bh=WMwy+pIzC00bDTu2bnH06e3RQX1CWcWWmehmj3HTELM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DB0VI9M0Hms6K58XrOoJUg+r36yjpxWCsgoYUtjVEpIvocsbEMWb/D0bw9ImaYroK iugkL9RNsUMvpEGM/Thx2q9Pw+THT/tlzqwo0CJzJrXXlF69L6AhFr5WhIuypkrOyR Ez8KMG7dcmLMRqGkH5rAXC5FWEZ/gW1xOCKCjf8M= 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.14 060/100] powerpc/numa: Suppress "VPHN is not supported" messages Date: Thu, 29 Nov 2018 15:12:30 +0100 Message-Id: <20181129140104.244080148@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181129140058.768942700@linuxfoundation.org> References: <20181129140058.768942700@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.14-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 9fead0796364..40fb9a8835fe 100644 --- a/arch/powerpc/mm/numa.c +++ b/arch/powerpc/mm/numa.c @@ -1261,7 +1261,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