Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4051447ima; Mon, 4 Feb 2019 09:23:11 -0800 (PST) X-Google-Smtp-Source: AHgI3IY4+78YSc4elguh1k06CpZ3gwI4INAVxS+G6rLFSWpekLBkMxcBYgP2cAL5sPiqhPquCFNl X-Received: by 2002:a17:902:9885:: with SMTP id s5mr507824plp.52.1549300991234; Mon, 04 Feb 2019 09:23:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549300991; cv=none; d=google.com; s=arc-20160816; b=PQgVUXMejZJy4dUBFDbul3iWcEVRhButbCVSb2yLQbP5VrMiRwKbUXOJuZJZ9AnVm9 Hp0C6AF2eeZkw6W6/omSYo71GtHm+385InhOhk4IDZrBjf2fkChKykTqMuISrGa4Gxob knV5C+az3iZjBt4mxQNEu1eUNejcHLTk5y0uYDa9sQXVS9B42T8sEruoD9bHgold75hf 0VNVmu0ydt3+c60x6URavvizfaGET11Q8uBhehP1DA39210GVzAsjQDcEvKyRRrOo92M zvOBCYxikHZzMKFvFqxkfdjBBr/N/8EeXAiBT3dbWedJ8zWtArfe6axrHPt5+WcTpxtG WG7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=7N2W0qSzlU8nu+h0MM3+xxgOcFEU/hKXP2kMyXNG65Q=; b=L1VjcBCuh/Ngl9KSS2XiDj4PbkSd8KnkZwzXBb22bktp4HspX4e3W9usphESMd4sVl GFIBLPgoof4OS2Sbh3hX6ahTAuKFXnLy2CM7xLiz91pd9GtgjpQWlX+jREmtJt1Pl5jy 9aVN7rqKUepSwKG3HP4Dp4k7RbGnExIxqqki4nJx6cC4ohGSZWSr6R9uoMDT3fDnr1f9 9mJ583gAQcfDVqJerhHBYpwpXDekBV9fktP53lgu/BLnbx8m/0/9fyv2+DlgwX7A9Olk vggRouJgIaNO81KyrxP/8RqSCxW3rRW60zFK411Pl5KNueeMC1INJikEe7MT95rD+NgN nR0g== ARC-Authentication-Results: i=1; mx.google.com; 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 s19si495404plp.151.2019.02.04.09.22.55; Mon, 04 Feb 2019 09:23:11 -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; 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 S1729086AbfBDQlH (ORCPT + 99 others); Mon, 4 Feb 2019 11:41:07 -0500 Received: from foss.arm.com ([217.140.101.70]:58126 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727062AbfBDQlH (ORCPT ); Mon, 4 Feb 2019 11:41:07 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2CF41EBD; Mon, 4 Feb 2019 08:41:06 -0800 (PST) Received: from e107981-ln.cambridge.arm.com (e107981-ln.cambridge.arm.com [10.1.197.40]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 807313F589; Mon, 4 Feb 2019 08:41:03 -0800 (PST) Date: Mon, 4 Feb 2019 16:40:54 +0000 From: Lorenzo Pieralisi To: Kishon Vijay Abraham I Cc: Gustavo Pimentel , Rob Herring , Jingoo Han , Bjorn Helgaas , Mark Rutland , Arnd Bergmann , Greg Kroah-Hartman , Murali Karicheri , Jesper Nilsson , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-kernel@axis.com Subject: Re: [PATCH 00/24] Add support for PCIe RC and EP mode in TI's AM654 SoC Message-ID: <20190204164054.GA21488@e107981-ln.cambridge.arm.com> References: <20190114132424.6445-1-kishon@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190114132424.6445-1-kishon@ti.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 14, 2019 at 06:54:00PM +0530, Kishon Vijay Abraham I wrote: > Add PCIe RC support for TI's AM654 SoC. The PCIe controller in AM654 > uses Synopsys core revision 4.90a and uses the same TI wrapper as used > in keystone2 with certain modification. Hence AM654 will use the same > pci wrapper driver pci-keystone.c > > This series was initially part of [1]. This series only includes patches > that has to be merged via Lorenzo's tree. The PHY patches and dt patches > will be sent separately. > > This series is created over my keystone MSI cleanup series [2] and EPC > features series [3]. Hi Kishon, so I would suggest we merge those series first, starting from the MSI clean-up. I will mark this series as awaiting upstream, it is on my radar but we have to get the two others done first. Thanks, Lorenzo > This series: > *) Cleanup pci-keystone driver so that both RC mode and EP mode of > AM654 can be supported > *) Modify epc-core to support allocation of aligned buffers required for > AM654 > *) Fix ATU unroll identification > *) Add support for both host mode and device mode in AM654 > > [1] -> https://lore.kernel.org/patchwork/cover/989487/ > [2] -> https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1883081.html > [3] -> https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1899011.html > > Kishon Vijay Abraham I (24): > PCI: keystone: Add start_link/stop_link dw_pcie_ops > PCI: keystone: Cleanup error_irq configuration > dt-bindings: PCI: keystone: Add "reg-names" binding information > PCI: keystone: Perform host initialization in a single function > PCI: keystone: Use platform_get_resource_byname to get memory > resources > PCI: keystone: Move initializations to appropriate places > dt-bindings: PCI: Add dt-binding to configure PCIe mode > PCI: keystone: Explicitly set the PCIe mode > dt-bindings: PCI: Document "atu" reg-names > PCI: dwc: Enable iATU unroll for endpoint too > PCI: dwc: Fix ATU identification for designware version >= 4.80 > PCI: keystone: Prevent ARM32 specific code to be compiled for ARM64 > dt-bindings: PCI: Add PCI RC dt binding documentation for AM654 > PCI: keystone: Add support for PCIe RC in AM654x Platforms > PCI: keystone: Invoke phy_reset API before enabling PHY > PCI: endpoint: Add support to allocate aligned buffers to be mapped in > BARs > PCI: dwc: Add const qualifier to struct dw_pcie_ep_ops > PCI: dwc: Fix dw_pcie_ep_find_capability to return correct capability > offset > PCI: dwc: Add callbacks for accessing dbi2 address space > PCI: keystone: Add support for PCIe EP in AM654x Platforms > PCI: designware-ep: Configure RESBAR to advertise the smallest size > PCI: designware-ep: Use aligned ATU window for raising MSI interrupts > misc: pci_endpoint_test: Add support to test PCI EP in AM654x > misc: pci_endpoint_test: Fix test_reg_bar to be updated in > pci_endpoint_test > > .../bindings/pci/designware-pcie.txt | 7 +- > .../devicetree/bindings/pci/pci-keystone.txt | 14 +- > drivers/misc/pci_endpoint_test.c | 17 + > drivers/pci/controller/dwc/Kconfig | 25 +- > drivers/pci/controller/dwc/pci-dra7xx.c | 2 +- > drivers/pci/controller/dwc/pci-keystone.c | 505 ++++++++++++++---- > drivers/pci/controller/dwc/pcie-artpec6.c | 2 +- > .../pci/controller/dwc/pcie-designware-ep.c | 55 +- > .../pci/controller/dwc/pcie-designware-host.c | 19 - > .../pci/controller/dwc/pcie-designware-plat.c | 2 +- > drivers/pci/controller/dwc/pcie-designware.c | 52 ++ > drivers/pci/controller/dwc/pcie-designware.h | 15 +- > drivers/pci/endpoint/functions/pci-epf-test.c | 5 +- > drivers/pci/endpoint/pci-epf-core.c | 10 +- > include/linux/pci-epc.h | 2 + > include/linux/pci-epf.h | 3 +- > 16 files changed, 587 insertions(+), 148 deletions(-) > > -- > 2.17.1 >