Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp862709pxb; Thu, 15 Apr 2021 08:17:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyBDDNc/DnRTqiiu1oeD6Dle61go+rsJbwh4exLXuMO8E9coUbFxrA66u4YZtHMGIjWXeC X-Received: by 2002:a65:4046:: with SMTP id h6mr3837567pgp.345.1618499853801; Thu, 15 Apr 2021 08:17:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618499853; cv=none; d=google.com; s=arc-20160816; b=G/yCvU/fDhWMiBz36syUC7NezBdbIJalmYXQLIH3v3fQHbN2x3RxP6GjmmzeKqpypt 58V7OeZAgGfTK+OFZ2+wygmVHO6AShhkoWfA/T5Gv43s1ei3f6xmXo5peaUxxId1kOo4 LZtm4iKShgPRnJzNvzJvOF7txvIMm2M2bNRc2AmK50QFd9aMIJl9Tbucby4yv77Aho6o CN4cDItexB8bqjAKEYAZznrjrd13KEVYZfwc55F8lQz3cX1mPZlQy+ktHww1H0AOx6vV 0wtWKKCGgTY3uPP0yfwRLWobvIkUNvFf0KNqEnptAMiiYJ0bftLB9L9fRl/4P+gin8ls eIfA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=S0+6ZR/BHptIwaiDjlFrDzJ8xXlRsnGZ2jSU6c25G1c=; b=GiD8ghmIN/F2N25Rin70oVJHwOZd0ZKsCtL5nIA8r1tBqwZgy9sB5VDIh07a3UpMJj UpwZFP5ImLW19udSTNuN+ayG3dZ4Dahkf1TVh/XRdUbWMBqSCFhq77lLIfljihZUewHi HwsyIqfyMTZ4C31CXQlL+J1OlZJJr2Q9RCjSfVb0l4rTCv0/Ob2HHYMWdIFcKosKJLPy Fd6vYoivSuFAXqdvQag9MyeijkbWzW7HHMhKg7/9N+gMMotbm0xsbyjXESrTjrKLcSDy vN1VRsU9SDwq2gotL/qGA5unEC9A8MBDficmykJfRlNcRenU996DdbixUdl1UHYaqkjq QgwA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j8si3382027plx.25.2021.04.15.08.17.21; Thu, 15 Apr 2021 08:17:33 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235111AbhDOPRK (ORCPT + 99 others); Thu, 15 Apr 2021 11:17:10 -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