Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752249AbbGaIS7 (ORCPT ); Fri, 31 Jul 2015 04:18:59 -0400 Received: from mail-pd0-f181.google.com ([209.85.192.181]:35534 "EHLO mail-pd0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750982AbbGaIS4 convert rfc822-to-8bit (ORCPT ); Fri, 31 Jul 2015 04:18:56 -0400 References: <1437515651-20883-1-git-send-email-m-karicheri2@ti.com> Mime-Version: 1.0 (1.0) In-Reply-To: <1437515651-20883-1-git-send-email-m-karicheri2@ti.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8BIT Message-Id: <81A7634D-6946-45CB-9DFF-4FD728632D14@gmail.com> Cc: "" , "" , "" , "" , jingoohan1@gmail.com X-Mailer: iPhone Mail (11D257) From: Jingoo Han Subject: Re: [Resend: PATCH] PCI: designware: fix the boot noise for missing *config* reg space Date: Fri, 31 Jul 2015 17:18:49 +0900 To: Murali Karicheri Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1695 Lines: 46 On 2015. 7. 22., at AM 6:54, Murali Karicheri wrote: > > Currently on Keystone SoCs, boot up log shows an unnecessary boot > noise as follows:- > > [ 0.365823] keystone-pcie 21021000.pcie: missing *config* reg space > > Keystone uses older version of designware h/w that doesn't have ATU > support. So va_cfg0_base and va_cfg1_base are already set up in > ks_dw_pcie_host_init() before calling dw_pcie_host_init() and > they point to the remote config space address va (both same for Keystone). > So add a check to avoid this boot noise on Keystone. > > Signed-off-by: Murali Karicheri Acked-by: Jingoo Han Best regards, Jingoo Han > --- > - Resend with "PCI: designware" prefix in subject > drivers/pci/host/pcie-designware.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c > index 69486be..b48b8a2 100644 > --- a/drivers/pci/host/pcie-designware.c > +++ b/drivers/pci/host/pcie-designware.c > @@ -388,7 +388,7 @@ int dw_pcie_host_init(struct pcie_port *pp) > addrp = of_get_address(np, index, NULL, NULL); > pp->cfg0_mod_base = of_read_number(addrp, ns); > pp->cfg1_mod_base = pp->cfg0_mod_base + pp->cfg0_size; > - } else { > + } else if (!pp->va_cfg0_base) { > dev_err(pp->dev, "missing *config* reg space\n"); > } > > -- > 1.9.1 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/