From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3D8D21A0D07 for ; Sat, 2 May 2015 02:32:18 +1000 (AEST) Received: from e28smtp07.in.ibm.com (e28smtp07.in.ibm.com [122.248.162.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 9528914076A for ; Sat, 2 May 2015 02:32:17 +1000 (AEST) Received: from /spool/local by e28smtp07.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 1 May 2015 22:02:13 +0530 Received: from d28relay03.in.ibm.com (d28relay03.in.ibm.com [9.184.220.60]) by d28dlp03.in.ibm.com (Postfix) with ESMTP id D47B41258053 for ; Fri, 1 May 2015 22:04:12 +0530 (IST) Received: from d28av02.in.ibm.com (d28av02.in.ibm.com [9.184.220.64]) by d28relay03.in.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t41GW9Qk2032082 for ; Fri, 1 May 2015 22:02:09 +0530 Received: from d28av02.in.ibm.com (localhost [127.0.0.1]) by d28av02.in.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t41G1Rkh004750 for ; Fri, 1 May 2015 21:31:28 +0530 Message-ID: <5543AA87.9020009@linux.vnet.ibm.com> Date: Fri, 01 May 2015 22:02:07 +0530 From: Neelesh Gupta MIME-Version: 1.0 To: Joel Stanley , linuxppc-dev@ozlabs.org Subject: Re: [PATCH] powerpc/powernv: Silence SYSPARAM warning on boot References: <1430365807-14493-1-git-send-email-joel@jms.id.au> In-Reply-To: <1430365807-14493-1-git-send-email-joel@jms.id.au> Content-Type: multipart/alternative; boundary="------------040304050506050400010000" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. --------------040304050506050400010000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 04/30/2015 09:20 AM, Joel Stanley wrote: > OpenPower BMC machines do not place any sysparams in the device tree, so > at every boot we get a warning: > > [ 0.437176] SYSPARAM: Opal sysparam node not found > > Remove the warning, and reorder the init so we don't peform allocations > when there is no sysparam node in the device tree. Acked-by: Neelesh Gupta > > Signed-off-by: Joel Stanley > --- > arch/powerpc/platforms/powernv/opal-sysparam.c | 31 +++++++++++++------------- > 1 file changed, 15 insertions(+), 16 deletions(-) > > --------------040304050506050400010000 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit

On 04/30/2015 09:20 AM, Joel Stanley wrote:
OpenPower BMC machines do not place any sysparams in the device tree, so
at every boot we get a warning:

 [    0.437176] SYSPARAM: Opal sysparam node not found

Remove the warning, and reorder the init so we don't peform allocations
when there is no sysparam node in the device tree.

Acked-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com>


Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 arch/powerpc/platforms/powernv/opal-sysparam.c | 31 +++++++++++++-------------
 1 file changed, 15 insertions(+), 16 deletions(-)


--------------040304050506050400010000--