From: Ian Campbell Subject: Re: [PATCH] ARM: add Calxeda Midway platform Date: Thu, 15 Aug 2013 15:52:37 +0100 Message-ID: <1376578357.9273.191.camel@hastur.hellion.org.uk> References: <1376406787-23771-1-git-send-email-andre.przywara@linaro.org> <1376431345.9273.45.camel@hastur.hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: "xen-devel@lists.xen.org" , Patch Tracking , Andre Przywara , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Wed, 2013-08-14 at 10:33 +0100, Julien Grall wrote: > On 13 August 2013 23:02, Ian Campbell wrote: > > On Tue, 2013-08-13 at 17:13 +0200, Andre Przywara wrote: > >> avoid a warning on boot and provide the proper reset method. > > > > I've been wondering about taming that warning down to something less > > alarming like "Using generic platform fallback for platform > > $some_dt_name", or something like that. There are likely (going to be) > > many platforms where no specific code is really needed and the big > > WARNING is needlessly scary IMHO. > > All the platforms need at least the reset callback. Doesn't PSCI eventually cover this? > So, I think this WARNING should stay to let the developper know that > something is missing. A warning if the reset hook was NULL when Xen tries to call it would serve much the same purpose without worrying people needlessly during boot. Ian