From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9CB9AC433ED for ; Thu, 15 Apr 2021 15:16:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 70AD661131 for ; Thu, 15 Apr 2021 15:16:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234121AbhDOPRR (ORCPT ); Thu, 15 Apr 2021 11:17:17 -0400 Received: from foss.arm.com ([217.140.110.172]:48688 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234595AbhDOPJs (ORCPT ); Thu, 15 Apr 2021 11:09:48 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 86098106F; Thu, 15 Apr 2021 08:09:25 -0700 (PDT) Received: from e123427-lin.arm.com (unknown [10.57.59.122]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 3027A3FA35; Thu, 15 Apr 2021 08:09:24 -0700 (PDT) From: Lorenzo Pieralisi To: Gustavo Pimentel , Jisheng Zhang , Bjorn Helgaas , Jingoo Han , Rob Herring , Bjorn Helgaas Cc: Lorenzo Pieralisi , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] PCI: dwc: move dw_pcie_msi_init() to dw_pcie_setup_rc() Date: Thu, 15 Apr 2021 16:09:18 +0100 Message-Id: <161849933971.28465.1647999882970399921.b4-ty@arm.com> X-Mailer: git-send-email 2.26.1 In-Reply-To: <20210325152604.6e79deba@xhacker.debian> References: <20210325152604.6e79deba@xhacker.debian> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 25 Mar 2021 15:26:04 +0800, Jisheng Zhang wrote: > If the host which makes use of IP's integrated MSI Receiver losts > power during suspend, we need to reinit the RC and MSI Receiver in > resume. But after we move dw_pcie_msi_init() into the core, we have no > API to do so. Usually the dwc users need to call dw_pcie_setup_rc() to > reinit the RC, we can solve this problem by moving dw_pcie_msi_init() > to dw_pcie_setup_rc(). Applied to pci/dwc, thanks! [1/1] PCI: dwc: Move dw_pcie_msi_init() to dw_pcie_setup_rc() https://git.kernel.org/lpieralisi/pci/c/fe08db2835 Thanks, Lorenzo