Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp5338931ima; Tue, 5 Feb 2019 10:04:42 -0800 (PST) X-Google-Smtp-Source: AHgI3IbYwuNbCoLLVagtyUwwLOCupdhDMM21QBnyf4NjGv3TCE1vn5jCg63Qa6uOppMV83j1WXvB X-Received: by 2002:a62:cd1:: with SMTP id 78mr6209327pfm.219.1549389882750; Tue, 05 Feb 2019 10:04:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549389882; cv=none; d=google.com; s=arc-20160816; b=ztEDigdPqMC7PDVBJ7h+Gz2X0j5UKxcb6+HNmq/G1TO5RIlfsPKFuecWSlf+vGSfHZ EybUnhWooUkdb4NqXr1ZPF/jxwVTZJoLa8MmRgFj2CSMWtJy0vC6qQCImHFiKWZzHvM/ eEoPF/QejYLUZx4oIsS1ub4N4x1BbZu66kCeWr9IFzJI3VqvWmI3y6pchKlV1lDzL3B0 x8N5Ebwe4YU27SGutfRwwjNDIh6ThbVMr7A0nt8sBhUwBgA9V3pKKfJI0NhomUugQ7/s QcyUHFZi1ay+qlz6LteYYn341h7Xai1scJS2/E7dpviEKyq0+E4Zw2+k+XOLh1sDXfNc FxBg== 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 :message-id:date:subject:cc:to:from; bh=PrZN4yALIZiija77jgGLKTt3CMM8diWkvpiv/xwkvd4=; b=Sxz4fkRmVEMILwYfBsicJQddJ6IfxX/RBEVWnR5Tb3eJ9dzJqn/My9zf/FiOVSMkr/ loPiukUngOm3ttgVYhJAE5133OPpSlWW+Khl7uGQMz7XHMe5nSOy09bQ361X4iWyEqCP o5llbhAT6rBOcu109MYzthgj4t3PfTOa5Txx2A1PI1Nj6OZ0YaVL1BlqrYaATVgUjIuo gPNdHMNgTDY4C6929HmwJnwarjIPUBAEm3xCTFV1P9HDtKGuXRsdEbzJLJxamDf8EP0i jg4u8Qh6PQCnaXtE4wxH/Jl7dM89dQQh+rd0Fu1IT3wO5xEtrqwpVmda+ZxwTTVjYV7I xibQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o7si3580093pgl.42.2019.02.05.10.04.27; Tue, 05 Feb 2019 10:04:42 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729263AbfBESDf (ORCPT + 99 others); Tue, 5 Feb 2019 13:03:35 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35152 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726288AbfBESDf (ORCPT ); Tue, 5 Feb 2019 13:03:35 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6E307C05093A; Tue, 5 Feb 2019 18:03:35 +0000 (UTC) Received: from thinkpad.redhat.com (ovpn-204-71.brq.redhat.com [10.40.204.71]) by smtp.corp.redhat.com (Postfix) with ESMTP id C5861166C1; Tue, 5 Feb 2019 18:03:33 +0000 (UTC) From: Laurent Vivier To: linux-kernel@vger.kernel.org Cc: Michael Ellerman , linuxppc-dev@lists.ozlabs.org, David Gibson Subject: [PATCH] powerpc/mm: move a KERN_WARNING message to KERN_DEBUG Date: Tue, 5 Feb 2019 19:03:29 +0100 Message-Id: <20190205180329.1452-1-lvivier@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Tue, 05 Feb 2019 18:03:35 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org resize_hpt_for_hotplug() reports a warning when it cannot increase the hash page table ("Unable to resize hash page table to target order") but this is not blocking and can make user thinks something has not worked properly. If the operation cannot be done the real error message will be reported by arch_add_memory() if create_section_mapping() fails. Signed-off-by: Laurent Vivier --- arch/powerpc/mm/hash_utils_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c index 0cc7fbc3bd1c..b762bdceb510 100644 --- a/arch/powerpc/mm/hash_utils_64.c +++ b/arch/powerpc/mm/hash_utils_64.c @@ -778,7 +778,7 @@ void resize_hpt_for_hotplug(unsigned long new_mem_size) rc = mmu_hash_ops.resize_hpt(target_hpt_shift); if (rc && (rc != -ENODEV)) - printk(KERN_WARNING + printk(KERN_DEBUG "Unable to resize hash page table to target order %d: %d\n", target_hpt_shift, rc); } -- 2.20.1