Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp113374imj; Thu, 7 Feb 2019 01:15:33 -0800 (PST) X-Google-Smtp-Source: AHgI3IZZ/55e4mXBwDtKmj0nT/ObsgzfAmg52lnhixted0dy/eYEPiIDKM9R94FYPgL3Q3zrqAtg X-Received: by 2002:a63:4948:: with SMTP id y8mr13902191pgk.32.1549530933195; Thu, 07 Feb 2019 01:15:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549530933; cv=none; d=google.com; s=arc-20160816; b=NIibZ5FzNfPgQxCN/omYRFe583GLlYQM7nSFH9S7ljrPVGEy/hANQblSDQ3atFu/v+ z8kkkOWOrzxo4+9ciE5sFV+R3q+2ABC0x/48Ru3QVI+VhBIqqVK4coF1ATc7aWWPaxJh 8/vklo4lKtwOvwtn9MS8bQzaNrobho2hxLoH5UJPttxuATTQ224cRmmxfzesj9RrYNGP INhgElgQdEPYktY5PC/vlHtYjMroKBsLJ/5egDjJPmz9soYozR62VpWnpfPm4Qmb78tU CMpa8XAh/sGo6BNdQV7ywvvpfs5zl/yAlz+NDrBAqe/mufDIBQw9Dfuw+HU9irRxCm+J ODUQ== 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; bh=WBFBV3bJ1XnR+ieuTB+kmC+knYl5lEdsJR5mRCdNgDg=; b=v0575sY1A59JreUBlSmw7TwKtpbD+qom8nHQxOMa1kpyAd5JxA/ziQ+QDoONh/QeY9 cwMAaT6U0K8asy+1BYaJQ/or4u+MaErx/vAh80R2zT7iNG2WSe1AIl3egALRVybfsV6L FLQ4Cn2p04Dyza5QPvjwGkXxloeM3A4nVuE2x3dcADxZdCaqnAYhBosGbdz2zLa6qOO0 d6cG2/uw1jOioN58Q5eSwPfG8ZAnF6TwOwfLoE0oTuUbPfpRRT2DztpqN7oqyvCAJ/sy 0aQayc683KhCUpHpxL/6lt+D2JS+oP2rw1pcwlES4itljWKEQGd56FqsnEiyyiI3IxTv zVcA== 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 r29si8250186pga.477.2019.02.07.01.15.15; Thu, 07 Feb 2019 01:15:33 -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 S1726748AbfBGJNu (ORCPT + 99 others); Thu, 7 Feb 2019 04:13:50 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36692 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726448AbfBGJNu (ORCPT ); Thu, 7 Feb 2019 04:13:50 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A5E40C065F63; Thu, 7 Feb 2019 09:13:49 +0000 (UTC) Received: from [10.40.204.71] (ovpn-204-71.brq.redhat.com [10.40.204.71]) by smtp.corp.redhat.com (Postfix) with ESMTP id 315F96155B; Thu, 7 Feb 2019 09:13:47 +0000 (UTC) Subject: Re: [PATCH v2] powerpc/mm: move a KERN_WARNING message to pr_debug() To: Michael Ellerman , linux-kernel@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org, David Gibson , Christophe Leroy References: <20190205202133.5048-1-lvivier@redhat.com> <8736p0kyiy.fsf@concordia.ellerman.id.au> From: Laurent Vivier Message-ID: <866a19ec-93b2-de04-d8a3-11858fcaacea@redhat.com> Date: Thu, 7 Feb 2019 10:13:47 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <8736p0kyiy.fsf@concordia.ellerman.id.au> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Thu, 07 Feb 2019 09:13:50 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/02/2019 05:33, Michael Ellerman wrote: > Hi Laurent, > > I'm not sure I'm convinced about this one. It seems like we're just > throwing away the warning because it's annoying. > > Laurent Vivier writes: >> 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. > > Something did not work properly, the resize didn't work properly. Right? > >> As we move the message to the debug area, report again the >> ENODEV error. >> >> If the operation cannot be done the real error message >> will be reported by arch_add_memory() if create_section_mapping() >> fails. > > Can you explain that more. Isn't the fact that the resize failed "the > real error message"? In arch_add_memory(), after calling resize_hpt_for_hotplug() it calls create_section_mapping() and if create_section_mapping() fails we will have the error message "Unable to create mapping for hot added memory" and the real exit (EFAULT). > >> Fixes: 7339390d772dd >> powerpc/pseries: Don't give a warning when HPT resizing isn't available > > This should all be on one line, and formatted as: > > Fixes: 7339390d772d ("powerpc/pseries: Don't give a warning when HPT resizing isn't available") > > See Documentation/process/submitting-patches.rst for more info and how > to configure git to do it automatically for you. Thank you, I didn't know the format was documented. Thanks, Laurent