Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp634410pxk; Thu, 17 Sep 2020 11:55:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTq5um+DHMgQKTCjsdl+fEXUqTP3SByDNLMs05jLmcIy6a2pBCn2r1UJ0PRkVqRAkWpB0B X-Received: by 2002:aa7:cc8d:: with SMTP id p13mr35869715edt.136.1600368914573; Thu, 17 Sep 2020 11:55:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600368914; cv=none; d=google.com; s=arc-20160816; b=urjkhox6bYFG6+fHtWiY12UUHhV2RP+QTOyKpIDKqn7V6S6KS3QxNH67mSHXwe//Ov NY81Svq4L9h7BpFzu1iQ4QenTCOsE/DZHpZiYeSDFIhSq7OrdQadodK4iSgUowuqo3f2 sISCRfj6VvTvCgtYakjvm5bsEHeW7DqSC8PlZ1tojlb4eA0OCk/zqPESvYK79fAtQhwk vOeaHTJ7OclvjeHotq10EZ3jP1J+20i/yV+pidAgeYyqqKnMR38Q2HR3pDniqRjj3M0/ vMMOWZ7zjOHP6kwrOHjm0OmcfZeL6cVttv8+S5jv4QccJtJdL0eS4SxQF453LOHzhU7X 7XpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=BHzvji7e4mavYII8HhJz69sVt2hu6hNppnKtPkUHDaA=; b=RgdhzWcg6NAANAmrKBTDK29CgVQM+Er234kxMIk20vKJ4akehM3K8EYjpquzwZAFkn gvYaY286BdgexXcNF0yE0pYGGkj2IC9UoMhaE6FzJBiwQ9BJCUNAoNZCYy8lD9zym+RH fIcsn+0Fkq7dSJpKpD8Gv79jfy/tqytjC4K9lnfeAZgiCLdK+9jftWZ6ERe0hwMt+y6m yiR0d+oneHcy4/GexfMtkURNxdc9xpgQdBLYG2ljeB8KemPNa6/2Q3xnAtyVRvszdEtc kIdhSeQvh5+Td+udLP+6yPlLOY8TXOYEk1Jsygs9QSaP3ZCSgDMzWEttJvogDhzSqeJu /Tyg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u12si597044ejg.223.2020.09.17.11.54.51; Thu, 17 Sep 2020 11:55:14 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726262AbgIQSxs (ORCPT + 99 others); Thu, 17 Sep 2020 14:53:48 -0400 Received: from foss.arm.com ([217.140.110.172]:48708 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728408AbgIQQUb (ORCPT ); Thu, 17 Sep 2020 12:20:31 -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 4C88412FC; Thu, 17 Sep 2020 09:20:25 -0700 (PDT) Received: from e121166-lin.cambridge.arm.com (e121166-lin.cambridge.arm.com [10.1.196.255]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D90443F68F; Thu, 17 Sep 2020 09:20:22 -0700 (PDT) Date: Thu, 17 Sep 2020 17:20:17 +0100 From: Lorenzo Pieralisi To: Zhiqiang Hou Cc: linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, robh+dt@kernel.org, bhelgaas@google.com, shawnguo@kernel.org, leoyang.li@nxp.com, kishon@ti.com, gustavo.pimentel@synopsys.com, roy.zang@nxp.com, jingoohan1@gmail.com, andrew.murray@arm.com, mingkai.hu@nxp.com, minghuan.Lian@nxp.com Subject: Re: [PATCHv7 00/12]PCI: dwc: Add the multiple PF support for DWC and Layerscape Message-ID: <20200917162017.GA6830@e121166-lin.cambridge.arm.com> References: <20200811095441.7636-1-Zhiqiang.Hou@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200811095441.7636-1-Zhiqiang.Hou@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Aug 11, 2020 at 05:54:29PM +0800, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Add the PCIe EP multiple PF support for DWC and Layerscape, and use > a list to manage the PFs of each PCIe controller; add the doorbell > MSIX function for DWC; and refactor the Layerscape EP driver due to > some difference in Layercape platforms PCIe integration. > > Hou Zhiqiang (1): > misc: pci_endpoint_test: Add driver data for Layerscape PCIe > controllers > > Xiaowei Bao (11): > PCI: designware-ep: Add multiple PFs support for DWC > PCI: designware-ep: Add the doorbell mode of MSI-X in EP mode > PCI: designware-ep: Move the function of getting MSI capability > forward > PCI: designware-ep: Modify MSI and MSIX CAP way of finding > dt-bindings: pci: layerscape-pci: Add compatible strings for ls1088a > and ls2088a > PCI: layerscape: Fix some format issue of the code > PCI: layerscape: Modify the way of getting capability with different > PEX > PCI: layerscape: Modify the MSIX to the doorbell mode > PCI: layerscape: Add EP mode support for ls1088a and ls2088a > arm64: dts: layerscape: Add PCIe EP node for ls1088a > misc: pci_endpoint_test: Add LS1088a in pci_device_id table > > .../bindings/pci/layerscape-pci.txt | 2 + > .../arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 31 +++ > drivers/misc/pci_endpoint_test.c | 8 +- > .../pci/controller/dwc/pci-layerscape-ep.c | 100 +++++-- > .../pci/controller/dwc/pcie-designware-ep.c | 258 ++++++++++++++---- > drivers/pci/controller/dwc/pcie-designware.c | 59 ++-- > drivers/pci/controller/dwc/pcie-designware.h | 48 +++- > 7 files changed, 410 insertions(+), 96 deletions(-) Side note: I will change it for you but please keep Signed-off-by: tags together in the log instead of mixing them with other tags randomly. Can you rebase this series against my pci/dwc branch please and send a v8 ? I will apply it then. Thanks, Lorenzo