Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2523680imu; Thu, 29 Nov 2018 06:23:12 -0800 (PST) X-Google-Smtp-Source: AFSGD/UXKiHb9ketM1cjyces4Wp6y4zzUKZKPtWnfV/4FUjq+OkFbmVQwr8bnIhI9RyQdMR4DqZt X-Received: by 2002:a62:4851:: with SMTP id v78mr1585406pfa.97.1543501392753; Thu, 29 Nov 2018 06:23:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543501392; cv=none; d=google.com; s=arc-20160816; b=PP0+c5x4Wpi6vpDDxPJNuXm3drV9RxW+7qmjw3A529rGmgFSsUT18jkp9GTNhYsTvO GJOWpSAlnJRwnZjIwBHsKY2Ng2UipCJIYco1RQaOWh+z0wzknJpksVFsSRytR7bDPckU q6Wk1vwKTp5ARv5wzpyRproDyuYtc+dI2+oAnw2/fD4Ykgu7C+MkUqw8Er3pAsMkUYEM I/YKNAMxP+uXe1V2SvX8bAY+5QJ7Hs64OLK2l0WKQkrZqQQ4qrBIj1q1orLJfbcW1TU5 FlsgzdEZ9m7cN9h7h/O6bcLVfAmIVGGq9w3DK8AlXdWktNsFiB+aj1YQDQldGJT4+WXP 7OZA== 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=ctaR9gRgwuD5WDT5LPvrCovg5UkLV0dm7cgdpHIDZv4=; b=im/OFdMj6fZGOzNH1R6c6L8kstcrJO1uQgdxxB3z/4i4B5pqQEbqznRAW1agWg82Cf eZ8vfzfwWE+Mpn7Nv9w+xHcEcl3nnOeqOmvZQ0kBej7JicYQ27aGnzxlVYRuGNahAWYY 2SqLtgX+fduWtJs0My7r/5iwfJ8R5/L0XN3SyhBsC3ZyebQqrH8dCmzA2QxmDUp/LYDY z+0H5eMrQiLEkHNJhDRWY86sFg4BIoMuvaVLr7UDWj47hgkicjZJrV/PIM8bnk1tzg6C RwhsXFa3InoNOdq6OvBRsS/kFqlHcPvbTlln6sChnYBd5C045Fg/TiwVSE7kk18Wbdwn 3feA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0Pb33+OY; 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 r11si2323359pli.175.2018.11.29.06.22.57; Thu, 29 Nov 2018 06:23:12 -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=0Pb33+OY; 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 S1731785AbeK3B1V (ORCPT + 99 others); Thu, 29 Nov 2018 20:27:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:52166 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731108AbeK3B1U (ORCPT ); Thu, 29 Nov 2018 20:27:20 -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 E4A522133F; Thu, 29 Nov 2018 14:21:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543501309; bh=q9RVMTGQbCTryLC2a9rGXFZzYcOMmjmT+1m6pghCVew=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0Pb33+OYAMpgDidbaeQx53MThG1ytjBWOFtsEYb7VQChujHksCCjnAeLWph77xbLY 10P6YqoAjvTquLHuhV54y96dx4qJisNFocbZgka71HhZWwK/2KbeAVijahNjc+jKFg LI2jezs3AvwJNN5hnV7Q5t7W55tfIZPHkopepEgQ= 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.9 38/92] powerpc/numa: Suppress "VPHN is not supported" messages Date: Thu, 29 Nov 2018 15:12:07 +0100 Message-Id: <20181129140109.348451913@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181129140106.520639693@linuxfoundation.org> References: <20181129140106.520639693@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.9-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 6cff96e0d77b..0ef83c274019 100644 --- a/arch/powerpc/mm/numa.c +++ b/arch/powerpc/mm/numa.c @@ -1289,7 +1289,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