From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com ([217.140.101.70]:46232 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752688AbbGXQyj (ORCPT ); Fri, 24 Jul 2015 12:54:39 -0400 Message-ID: <55B26DC9.8010408@arm.com> Date: Fri, 24 Jul 2015 17:54:33 +0100 From: Marc Zyngier MIME-Version: 1.0 To: Lorenzo Pieralisi , "linux-arm-kernel@lists.infradead.org" , "linux-pci@vger.kernel.org" CC: Bjorn Helgaas , Russell King , James Morse , Gabriele Paoloni , Jayachandran C , Pratyush Anand , Arnd Bergmann , Jingoo Han , Simon Horman , Thomas Petazzoni , Thierry Reding , Michal Simek Subject: Re: [PATCH v2 1/2] ARM: PCI: bios32: replace panic with WARN messages on failures References: <1437754383-8162-1-git-send-email-lorenzo.pieralisi@arm.com> In-Reply-To: <1437754383-8162-1-git-send-email-lorenzo.pieralisi@arm.com> Content-Type: text/plain; charset=windows-1252 Sender: linux-pci-owner@vger.kernel.org List-ID: On 24/07/15 17:13, Lorenzo Pieralisi wrote: > In the ARM PCI bios32 layer, failures to dynamically allocate pci_sys_data > for a PCI bus, or a PCI bus scan failure have to be considered serious > warnings but they should not trigger a system panic so that at least the > system is given a chance to be debugged. > > This patch replaces the panic statements with WARN() messages to > improve error reporting in the ARM PCI bios32 layer. > > Signed-off-by: Lorenzo Pieralisi > Cc: Bjorn Helgaas > Cc: Russell King > Cc: Marc Zyngier Acked-by: Marc Zyngier M. -- Jazz is not dead. It just smells funny...