Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1619290imj; Fri, 8 Feb 2019 04:40:03 -0800 (PST) X-Google-Smtp-Source: AHgI3Ib0P2NcVKDxvObCBCq4eLE++Ec0+T0uTZcBVquhXlsRulDKFJjrKdQUOpAMr/ZqKNVz6bdw X-Received: by 2002:a17:902:2c83:: with SMTP id n3mr22698797plb.104.1549629603258; Fri, 08 Feb 2019 04:40:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549629603; cv=none; d=google.com; s=arc-20160816; b=CiZI+DGSWxfglDEDI422lzjd135l+Mi39nnkT1uJLShj34q0qPA0Oa8u3G0wZpU33l O/VSLOqh+vT9QW2wnrhh3G/sUjwZ0KOWKqm56Zo561eB9P39uBcHrA57u/Q7plRCRXLH ZxsaALxDUGkEZsrUeskDR+UtEv/8npN/olT/GEtWUk5rwsaMuPbdGHY2ctVkomyZDgPX Luu2SRwLpkzkiSfEvjWB0e5iH19+J+84fGwmgRhzqd2hXKuzKNM6UIReGh3Mv8fvEnzV d5L8TTKyxJ5+A3GteJ3jdBK0IJbUCyU2dSUazyWAfDjoqai0mF/Bd80kMQ7O/M4Gar6D AAVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=SOmmoEnVav+euIt9Iv/uAN2WfRPzXaYHTM5sqnc8FUg=; b=aXOFVN+Mpba6kDvpxHdyJoXtL21WibcYIoLsSxcZC+TvBQOSKASXfmGMs/qihtfTE1 jHRnVfFIzUD5ql2O0A/GeZc+vgr0GAyz+Co5J0HGxvOLVfDohcX49hSyDxvBjD6zsJ1W eIq2bmtj/hxwdCgG+WJWBNQ/EEhznZINYoNVw94BSl3SCESRB4pYFwlUMFvc5sQ66/SY qyBCJjRDXOsRMNU9zNrt6IncF2pDt79OLkQrO+Fxgd8nGgVdL91Du4nMHe3KrH7+cQCM AmMdLMHbQu3s4XosKBKr6G5AItjy96N13RWgieM4PQr7hNo7Jq+zHgvlsk1xcfV8Lfsl 7HdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mobiveil.co.in header.s=google header.b=fHYpdPCu; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b24si2085605pgg.288.2019.02.08.04.39.47; Fri, 08 Feb 2019 04:40:03 -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; dkim=pass header.i=@mobiveil.co.in header.s=google header.b=fHYpdPCu; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727461AbfBHMjK (ORCPT + 99 others); Fri, 8 Feb 2019 07:39:10 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:33819 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726624AbfBHMjK (ORCPT ); Fri, 8 Feb 2019 07:39:10 -0500 Received: by mail-wm1-f65.google.com with SMTP id y185so6710289wmd.1 for ; Fri, 08 Feb 2019 04:39:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mobiveil.co.in; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SOmmoEnVav+euIt9Iv/uAN2WfRPzXaYHTM5sqnc8FUg=; b=fHYpdPCuqrHZZ8RtFUO8NNmfzDp8Hp+hyisTU7ORlGPs+J7aGd7wnv9Vj0aASwU2ZP CA9u2vEdVZvsq0UwbBucKmlcDIP72/hSmegsjMGX9ybOb55p9E5+961tIdC2hK+p8DqI AmuvcI1cWY17NJvHINuU3Pl5Q6XYPARf6imrw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SOmmoEnVav+euIt9Iv/uAN2WfRPzXaYHTM5sqnc8FUg=; b=DLYCSbwJa6/+1vtpG6IdCFr7aqEcVCRs8yOtv02893+VEDUxtMoAgVZ5wa2HQ1+45m t1iNpr/9BKwqDwZVT15gGg6z3h8Itll+ck2Z/FuHtgNZ5bfB8KYP0MTYNFnyob1Ah1e8 hE6mt9KaEvF4ZEJe3qNo1vPJPUKJ6fOB8Uiw1M5DybJfLIQzL7w6BgOB1ge3WAVp7KUF C7q+qBigmXnEaQNRBukYbjJN8KL3Tp/v2w1lp711MZeOQFXUyh+hEledpkyLh6lwM4ez KChUbFP1+tav3DQrr4bCKLcFkOoYXBR0vaYj8XZbfHnOx8ecy81yp0PIVhE1WeY2f3VO Ghiw== X-Gm-Message-State: AHQUAubFJKwtA5rHZ6EKaPU8jzlaeCGG0sM4Lilo20ij42NWrrTmG0dm oq88xCSoxjKBPxnNPsZemQ+1+tXjd02ORj1Hd3hKJA== X-Received: by 2002:a7b:c458:: with SMTP id l24mr12191490wmi.143.1549629548841; Fri, 08 Feb 2019 04:39:08 -0800 (PST) MIME-Version: 1.0 References: <20190129080926.36773-1-Zhiqiang.Hou@nxp.com> <20190129080926.36773-19-Zhiqiang.Hou@nxp.com> In-Reply-To: <20190129080926.36773-19-Zhiqiang.Hou@nxp.com> From: Subrahmanya Lingappa Date: Fri, 8 Feb 2019 18:11:48 +0530 Message-ID: Subject: Re: [PATCHv3 18/27] PCI: mobiveil: continue to initialize the host upon no PCIe link To: "Z.q. Hou" Cc: "linux-pci@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "bhelgaas@google.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , Leo Li , "lorenzo.pieralisi@arm.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , Mingkai Hu , "M.h. Lian" , Xiaowei Bao Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 29, 2019 at 1:40 PM Z.q. Hou wrote: > > From: Hou Zhiqiang > > Sometimes there is not a PCIe Endpoint in the PCIe slot, so do > not exit when the PCIe link is not up. And degrade the print > level of link up info. > > Signed-off-by: Hou Zhiqiang > Reviewed-by: Minghuan Lian > --- > V3: > - No change > > drivers/pci/controller/mobiveil/pcie-mobiveil-host.c | 1 - > drivers/pci/controller/mobiveil/pcie-mobiveil.c | 2 +- > 2 files changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/pci/controller/mobiveil/pcie-mobiveil-host.c b/drivers/pci/controller/mobiveil/pcie-mobiveil-host.c > index 1ae82e790562..d1765d572f44 100644 > --- a/drivers/pci/controller/mobiveil/pcie-mobiveil-host.c > +++ b/drivers/pci/controller/mobiveil/pcie-mobiveil-host.c > @@ -596,7 +596,6 @@ int mobiveil_pcie_host_probe(struct mobiveil_pcie *pcie) > ret = mobiveil_bringup_link(pcie); > if (ret) { > dev_info(dev, "link bring-up failed\n"); > - goto error; > } > > /* setup the kernel resources for the newly added PCIe root bus */ > diff --git a/drivers/pci/controller/mobiveil/pcie-mobiveil.c b/drivers/pci/controller/mobiveil/pcie-mobiveil.c > index ee678a60825d..370658d6546d 100644 > --- a/drivers/pci/controller/mobiveil/pcie-mobiveil.c > +++ b/drivers/pci/controller/mobiveil/pcie-mobiveil.c > @@ -222,7 +222,7 @@ int mobiveil_bringup_link(struct mobiveil_pcie *pcie) > usleep_range(LINK_WAIT_MIN, LINK_WAIT_MAX); > } > > - dev_err(&pcie->pdev->dev, "link never came up\n"); > + dev_info(&pcie->pdev->dev, "link never came up\n"); > > return -ETIMEDOUT; > } > -- > 2.17.1 > Reviewed-by: Subrahmanya Lingappa