Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4046617ima; Mon, 4 Feb 2019 09:18:52 -0800 (PST) X-Google-Smtp-Source: AHgI3IbjGm7u8ZF7V5kg+dVLWGBKfK+MrrXK/OVZKIV2MHzBTOMycYlIt17hHfjl458qk59+qRWD X-Received: by 2002:a63:6bc1:: with SMTP id g184mr390930pgc.25.1549300732415; Mon, 04 Feb 2019 09:18:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549300732; cv=none; d=google.com; s=arc-20160816; b=rnldGts77rUbP9noR9jQehW63Usu42obB9HsLZikGYvSODBJYmmYbHEzDmpNNxYyeo xCN0CsqZX2uD4uNkFYkF77yChb8sNW+kfRkpGlqyml1nKFxDEU2em05DfiLqKZfXweTf m+tSXH+13ViLTsGPEsM0RKya5w3cMDONXq7NZt5U0oMLAD/gTGiN5xH5UFMysSUJDXym cw4/fjuADx8kec831as/R3Dpmh93Ix5qd6+d7Eq6wgiUPwHnu35N7Zoe+7YHjUtpqyrB BwHoS1lHAPnfS3SkHrTWCywrtvVUyiyYBe/TjIsPLOCnIBaUeMWp0+zJZxCozBPQUvV2 Nhnw== 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=lzWTNDVoYsbVvxyixWWwxF75mX2rmGdX1lb3/rNCqVk=; b=EK/q1nctwBiTLEwW7Js1Ko7yXjTCzHjSX69zhZlB1XR/pnlAx6vVlhA8plwHPb58nx NfxTthQ4pnTar1V+BTzR8mJi6nJn5TnErevRmwbRa1eVze+OYELNRAzF/jorZNliIUAp 8marntBWywY5fLnOutU1tuha5t7Qu0UX76vMS8yTlhT/1rCYmUwb0e8mynQqqE2NWdDU o47hFWa9qo7hQLP2d3ggEAnkt4sozqXuCJOdcilkhsQCCsB0OBr59HAZhZOa8Kb71SR2 AbJkytwC6T8M5oWes05Wik9VR008/9EzFaPgJtk8nQFeUy7HSwg29zTryQOxgvVX1Sk+ Tufw== 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 g10si572805plm.1.2019.02.04.09.18.36; Mon, 04 Feb 2019 09:18:52 -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 S1729448AbfBDQNI (ORCPT + 99 others); Mon, 4 Feb 2019 11:13:08 -0500 Received: from foss.arm.com ([217.140.101.70]:57698 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726979AbfBDQNI (ORCPT ); Mon, 4 Feb 2019 11:13:08 -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 C08C080D; Mon, 4 Feb 2019 08:13:07 -0800 (PST) Received: from red-moon (red-moon.cambridge.arm.com [10.1.197.39]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1E1C43F589; Mon, 4 Feb 2019 08:13:04 -0800 (PST) Date: Mon, 4 Feb 2019 16:13:03 +0000 From: Lorenzo Pieralisi To: Subrahmanya Lingappa Cc: "Z.q. Hou" , "linux-pci@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "bhelgaas@google.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , Leo Li , "catalin.marinas@arm.com" , "will.deacon@arm.com" , Mingkai Hu , "M.h. Lian" , Xiaowei Bao Subject: Re: [PATCHv3 00/27] PCI: refactor Mobiveil driver and add PCIe Gen4 driver for NXP Layerscape SoCs Message-ID: <20190204161303.GA18220@red-moon> References: <20190129080926.36773-1-Zhiqiang.Hou@nxp.com> <20190129113910.GA7467@e107981-ln.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 04, 2019 at 07:44:25PM +0530, Subrahmanya Lingappa wrote: > Bjorn, > My apologies, I was away for a while from this work. > I am starting to review now. Hi, I am not Bjorn and as I told you before you should not reply with html context (ie use plain text, the public lists will reject your emails otherwise) and top-post. You are supposed to maintain this code, if you can't it is fine but I should know because there are developers who are waiting for your review, please understand. Thanks, Lorenzo > Thanks, > ~subbu > On Tue, Jan 29, 2019 at 5:09 PM Lorenzo Pieralisi > wrote: > > On Tue, Jan 29, 2019 at 08:08:28AM +0000, Z.q. Hou wrote: > > From: Hou Zhiqiang > > > > This patch set is aim to refactor the Mobiveil driver and add > > PCIe support for NXP Layerscape series SoCs integrated Mobiveil's > > PCIe Gen4 controller. > > > > Hou Zhiqiang (27): > > PCI: mobiveil: uniform the register accessors > > PCI: mobiveil: format the code without function change > > PCI: mobiveil: correct the returned error number > > PCI: mobiveil: remove flag MSI_FLAG_MULTI_PCI_MSI > > PCI: mobiveil: correct PCI base address in MEM/IO outbound windows > > PCI: mobiveil: replace the resource list iteration function > > PCI: mobiveil: use WIN_NUM_0 explicitly for CFG outbound window > > PCI: mobiveil: use the 1st inbound window for MEM inbound > transactions > > PCI: mobiveil: correct inbound/outbound window setup routines > > PCI: mobiveil: fix the INTx process error > > PCI: mobiveil: only fix up the Class Code field > > PCI: mobiveil: move out the link up waiting from mobiveil_host_init > > PCI: mobiveil: move irq chained handler setup out of DT parse > > PCI: mobiveil: initialize Primary/Secondary/Subordinate bus number > > dt-bindings: pci: mobiveil: change gpio_slave and apb_csr to > optional > > PCI: mobiveil: refactor Mobiveil PCIe Host Bridge IP driver > > PCI: mobiveil: fix the checking of valid device > > PCI: mobiveil: continue to initialize the host upon no PCIe link > > PCI: mobiveil: disabled IB and OB windows set by bootloader > > PCI: mobiveil: add Byte and Half-Word width register accessors > > PCI: mobiveil: make mobiveil_host_init can be used to re-init host > > dt-bindings: pci: Add NXP Layerscape SoCs PCIe Gen4 controller > > PCI: mobiveil: add PCIe Gen4 RC driver for NXP Layerscape SoCs > > PCI: mobiveil: ls_pcie_g4: add Workaround for A-011577 > > PCI: mobiveil: ls_pcie_g4: add Workaround for A-011451 > > arm64: dts: freescale: lx2160a: add pcie DT nodes > > arm64: defconfig: Enable CONFIG_PCI_LAYERSCAPE_GEN4 > > Subrahmanya, > > Either you review this series or I will have to drop you from > the MAINTAINERS list for this driver, I am sorry but I asked you > before to no avail. > > Thanks, > Lorenzo > > > .../bindings/pci/layerscape-pci-gen4.txt | 52 ++ > > .../devicetree/bindings/pci/mobiveil-pcie.txt | 2 + > > MAINTAINERS | 10 +- > > .../arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 163 ++++ > > arch/arm64/configs/defconfig | 1 + > > drivers/pci/controller/Kconfig | 11 +- > > drivers/pci/controller/Makefile | 2 +- > > drivers/pci/controller/mobiveil/Kconfig | 34 + > > drivers/pci/controller/mobiveil/Makefile | 5 + > > .../controller/mobiveil/pci-layerscape-gen4.c | 306 +++++++ > > .../controller/mobiveil/pcie-mobiveil-host.c | 640 +++++++++++++ > > .../controller/mobiveil/pcie-mobiveil-plat.c | 54 ++ > > .../pci/controller/mobiveil/pcie-mobiveil.c | 246 +++++ > > .../pci/controller/mobiveil/pcie-mobiveil.h | 229 +++++ > > drivers/pci/controller/pcie-mobiveil.c | 861 > ------------------ > > 15 files changed, 1743 insertions(+), 873 deletions(-) > > create mode 100644 > Documentation/devicetree/bindings/pci/layerscape-pci-gen4.txt > > create mode 100644 drivers/pci/controller/mobiveil/Kconfig > > create mode 100644 drivers/pci/controller/mobiveil/Makefile > > create mode 100644 > drivers/pci/controller/mobiveil/pci-layerscape-gen4.c > > create mode 100644 > drivers/pci/controller/mobiveil/pcie-mobiveil-host.c > > create mode 100644 > drivers/pci/controller/mobiveil/pcie-mobiveil-plat.c > > create mode 100644 drivers/pci/controller/mobiveil/pcie-mobiveil.c > > create mode 100644 drivers/pci/controller/mobiveil/pcie-mobiveil.h > > delete mode 100644 drivers/pci/controller/pcie-mobiveil.c > > > > -- > > 2.17.1 > >