Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp5388974ima; Tue, 5 Feb 2019 10:55:45 -0800 (PST) X-Google-Smtp-Source: AHgI3IZndtoB2EpXbnyEwGjq42ctb1xQCrxGAxhYJ3uQ0RJv4lNcEm2/dkI9bmuBR0NLTTWEvcTM X-Received: by 2002:a17:902:b60e:: with SMTP id b14mr6349332pls.301.1549392945670; Tue, 05 Feb 2019 10:55:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549392945; cv=none; d=google.com; s=arc-20160816; b=L2MzpggDgacRTibP9eUbgwTK7AkcKZd8x8ftH5+/tcjGsoehzg2TiGmE4PfK85uWrA 1kCREwA9SXsgbmij3GxmQPMzkauy7O6pxEMH5nhsxbE5Caw3zlNbq1Buuxoo5Gss5Jpg C9XQIFB1IDdpsyIyBSysfpKSczCle08lqpen10ThvdLvYSdl172scrmbQqqQOAsa8IUM 1/bZX9iScxXWC5aohgKdi7JCAKr63YZwQX9ZfUGWK9DoZCvIuYHo8gH35uLgOufsGAqY 7ND2fayAcA2PRd3JZ3c5jOVJb/rCtmf4uyNa8OubNbeSX2QEZQa9WHw3flwbdt01WNxh v23A== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=nGpIwtjdLVZ+t5ASl9uCArhuBc6rS4fZX5PJekS70s4=; b=NmDqqSbXU6YUveH6UJ0XBiGXDmbMrTje1RBoqTv9+LGZtRBnM3Hm8u90KXLMrtYe/y AZupmacj67AOoj8puDwKb0mqb9S1p9I5FKZz6tJJZD40PtARgmyXmcelAn4HZkUiuMT5 36ENvyDLYHOzlLrbyQkfDG+rpE/S+GcmjWQOvKGgQLIGFb7/6ogBasL3VFFghIYwoH2t ZtSZjKf+HexldqktXRB8P13ai/+oQi37Dm2dAczHOEkVJAPGx+PIc8MEK7FkCjjrfdcT 8C7QLNVw06CkLWAzansmJNGs8C02ew2XqcFd60vKq7CSHfwqUENhrvquMrClwjpfchNN Wfcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=G5IwqZU5; 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 144si3769176pga.322.2019.02.05.10.54.54; Tue, 05 Feb 2019 10:55:45 -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=@c-s.fr header.s=mail header.b=G5IwqZU5; 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 S1729406AbfBESLZ (ORCPT + 99 others); Tue, 5 Feb 2019 13:11:25 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:36243 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726685AbfBESLY (ORCPT ); Tue, 5 Feb 2019 13:11:24 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 43vCLx2Vgmz9v31Z; Tue, 5 Feb 2019 19:11:21 +0100 (CET) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=G5IwqZU5; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id DRlQCa-z-TpO; Tue, 5 Feb 2019 19:11:21 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 43vCLx0qnVz9v31Y; Tue, 5 Feb 2019 19:11:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1549390281; bh=nGpIwtjdLVZ+t5ASl9uCArhuBc6rS4fZX5PJekS70s4=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=G5IwqZU53Uv5oHsjy8F0pxOhLexe9ZgcCQsmCLME5ECrglK0XYZv46QEuYjmXQUgZ Hx05bDjQer0CXm0YiM+VZ8vR0klkfpXW9m/+N2kG1uet6MeNZgJZdZqXRR8l+NcZ67 Yjh/Vn67a7CopS1cRJHt8+/1n1Ju1ET459PIrRh8= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id CE1BC8B822; Tue, 5 Feb 2019 19:11:22 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id S1EOY5DY01m1; Tue, 5 Feb 2019 19:11:22 +0100 (CET) Received: from PO15451 (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 76E278B81A; Tue, 5 Feb 2019 19:11:22 +0100 (CET) Subject: Re: [PATCH] powerpc/mm: move a KERN_WARNING message to KERN_DEBUG To: Laurent Vivier , linux-kernel@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org, David Gibson References: <20190205180329.1452-1-lvivier@redhat.com> From: Christophe Leroy Message-ID: Date: Tue, 5 Feb 2019 19:11:22 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: <20190205180329.1452-1-lvivier@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 05/02/2019 à 19:03, Laurent Vivier a écrit : > 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 You should use pr_debug() instead. Christophe > "Unable to resize hash page table to target order %d: %d\n", > target_hpt_shift, rc); > } >