Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp709505pxv; Thu, 15 Jul 2021 14:06:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxs8PmVpvS7PlaS2Js6i6d7yB0ZIK2cxUhLM9vlHI8KdmOvJRzUAzlNAjUu2NCJAXsaZ4jC X-Received: by 2002:a17:906:2752:: with SMTP id a18mr7890384ejd.458.1626383187669; Thu, 15 Jul 2021 14:06:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626383187; cv=none; d=google.com; s=arc-20160816; b=su4NbUAqNQL9b6mWSmgwXz2fL8M+HccNr96QEEMYgkQCL3L8wbBkx/WwPXrJ3A1jFq NQfQyqJet2Pgt6R5nqGXoaKqgZCh4q+KbUkWkjwQj4fApfmSiT6SI9rZ5PN/iMp1taz/ cnIepbXYKeAtq9f4SBD97Nhygj8jymgjJmTfwt7cbWGGUPUkL0m3HSAcbZUhaG1vLK4E Sz9bHXi2rvihJPPGwEn4ftmRYg4DkQ8hApsL6wHqB3AmR6OaVBf5NLCODHjsvgzBdII7 kWGUM71/IEhKWIRxymExOpdgXwnVaCEMG2uKjxLVoFOdS4laE0rYSjzHb+cZMCPehTUl ne4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=f/aGO2chWsuGZyWyDeJVQ62TuZqfiSd0MfbIqVIuc2A=; b=f80Gf8ofFRSplTrMws8ht/piN5RvXRuO0X1Gqe70yT3I49Vk8DXQK/oepmg6NnJnmL YeuoETgJ7xCYMA0AgdjMR+o2DKGiPD6gpvsnFKZQe//ZJzWsl2vO/y1ARVwPKQC/RFT5 krUwoDh3SJ54TjTAYL1c8+R9yp2igLZcOGfRr0U73nxIUc6e3dCx6exkugAAKsiW14Bp SFI/l5wwdAZs9xwd9zIzwUc5X8EH09jarPd7rFbUqq/IxVqC67tHTraOLZmEsRtooJ6y a9Hc3qZEE+WPgvMSBQ4DttAQqXmQcyFgr5+iVzng9H6DV72QOvCh1BKFh1meoZQb+ri+ N/jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=qa9m4TY0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id sb1si7558334ejb.309.2021.07.15.14.06.04; Thu, 15 Jul 2021 14:06:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=qa9m4TY0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244414AbhGOTRb (ORCPT + 99 others); Thu, 15 Jul 2021 15:17:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:38830 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243369AbhGOTEU (ORCPT ); Thu, 15 Jul 2021 15:04:20 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 34ECC613FE; Thu, 15 Jul 2021 19:00:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626375600; bh=p4UoKnK//5jgto48d8wuORtdCGB0SzO6Zsdb0CdF16A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qa9m4TY0tbBcAomjWEczHOrLRIKQxh/TTQOLV7POqRbo09JJyo8qkq4CSEylAI0qc TJO8znbvGw8ld0YSM/ia/fLBU/l/lTWLq/71qMrd1IhRjIRzpSyLBdYXM3emxYYECW 0OA2yvZdkhHLjD/qRrcxNklrYkziGwqhqibl05Es= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jon Hunter , Vidya Sagar , Lorenzo Pieralisi , Bjorn Helgaas Subject: [PATCH 5.12 154/242] PCI: tegra194: Fix host initialization during resume Date: Thu, 15 Jul 2021 20:38:36 +0200 Message-Id: <20210715182620.324770673@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182551.731989182@linuxfoundation.org> References: <20210715182551.731989182@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Vidya Sagar commit c4bf1f25c6c187864681d5ad4dd1fa92f62d5d32 upstream. Commit 275e88b06a27 ("PCI: tegra: Fix host link initialization") broke host initialization during resume as it misses out calling the API dw_pcie_setup_rc() which is required for host and MSI initialization. Link: https://lore.kernel.org/r/20210504172157.29712-1-vidyas@nvidia.com Fixes: 275e88b06a27 ("PCI: tegra: Fix host link initialization") Tested-by: Jon Hunter Signed-off-by: Vidya Sagar Signed-off-by: Lorenzo Pieralisi Signed-off-by: Bjorn Helgaas Signed-off-by: Greg Kroah-Hartman --- drivers/pci/controller/dwc/pcie-tegra194.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/pci/controller/dwc/pcie-tegra194.c +++ b/drivers/pci/controller/dwc/pcie-tegra194.c @@ -2214,6 +2214,8 @@ static int tegra_pcie_dw_resume_noirq(st goto fail_host_init; } + dw_pcie_setup_rc(&pcie->pci.pp); + ret = tegra_pcie_dw_start_link(&pcie->pci); if (ret < 0) goto fail_host_init;