Message ID | 20190325022546.38427-1-Zhiqiang.Hou@nxp.com |
---|---|
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="Wo3V2YXM"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 44SJ4C3FZhz9sS8 for <incoming@patchwork.ozlabs.org>; Mon, 25 Mar 2019 13:24:25 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 61B88C21E15; Mon, 25 Mar 2019 02:24:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 447FBC21DDC; Mon, 25 Mar 2019 02:24:16 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 0EC10C21DDC; Mon, 25 Mar 2019 02:24:14 +0000 (UTC) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140058.outbound.protection.outlook.com [40.107.14.58]) by lists.denx.de (Postfix) with ESMTPS id 6F4ECC21DB6 for <u-boot@lists.denx.de>; Mon, 25 Mar 2019 02:24:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CiRJV3ugALiP7tN+uvu3ZBVkOp+g+rCk8JjXS8XdTgc=; b=Wo3V2YXMRwz9aNA5F8wQH6YHh0jN7Mttx3fgLLMOvSgjJY0hjj8pl/I9hjsVBAYbbL1/7Zb9JXWOfObRRwhlaxwFLBe4YzU+Et4g+J4ZmqnA+kbJBvGUA63wMFUnuf0ZdR/JWRBdNXSYop90QHytoyNjZrLjMAP3kxEurUoDsqo= Received: from AM6PR04MB5781.eurprd04.prod.outlook.com (20.179.3.19) by AM6PR04MB4838.eurprd04.prod.outlook.com (20.177.33.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1730.19; Mon, 25 Mar 2019 02:24:12 +0000 Received: from AM6PR04MB5781.eurprd04.prod.outlook.com ([fe80::30cc:e034:1f7a:2cc7]) by AM6PR04MB5781.eurprd04.prod.outlook.com ([fe80::30cc:e034:1f7a:2cc7%2]) with mapi id 15.20.1730.019; Mon, 25 Mar 2019 02:24:12 +0000 From: "Z.q. Hou" <zhiqiang.hou@nxp.com> To: "u-boot@lists.denx.de" <u-boot@lists.denx.de>, "albert.u.boot@aribaud.net" <albert.u.boot@aribaud.net>, Priyanka Jain <priyanka.jain@nxp.com>, York Sun <york.sun@nxp.com>, "sriram.dash@nxp.com" <sriram.dash@nxp.com>, "yamada.masahiro@socionext.com" <yamada.masahiro@socionext.com>, Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>, Mingkai Hu <mingkai.hu@nxp.com>, "M.h. Lian" <minghuan.lian@nxp.com>, "bmeng.cn@gmail.com" <bmeng.cn@gmail.com> Thread-Topic: [RESEND PATCHv4 0/9] pci: Add PCIe Gen4 controller driver for NXP Layerscape SoCs Thread-Index: AQHU4rHVQHXi7relmEOQz81UoP9t/w== Date: Mon, 25 Mar 2019 02:24:12 +0000 Message-ID: <20190325022546.38427-1-Zhiqiang.Hou@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HK2PR06CA0005.apcprd06.prod.outlook.com (2603:1096:202:2e::17) To AM6PR04MB5781.eurprd04.prod.outlook.com (2603:10a6:20b:ad::19) authentication-results: spf=none (sender IP is ) smtp.mailfrom=zhiqiang.hou@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a33013e8-f670-439c-351a-08d6b0c8f819 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR04MB4838; x-ms-traffictypediagnostic: AM6PR04MB4838: x-microsoft-antispam-prvs: <AM6PR04MB483874D8636D86268BB40829845E0@AM6PR04MB4838.eurprd04.prod.outlook.com> x-forefront-prvs: 0987ACA2E2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6029001)(39860400002)(346002)(396003)(376002)(366004)(136003)(199004)(189003)(256004)(106356001)(71190400001)(71200400001)(2201001)(26005)(8676002)(105586002)(386003)(66066001)(6506007)(4326008)(53936002)(68736007)(5660300002)(6512007)(81156014)(81166006)(476003)(86362001)(316002)(2616005)(110136005)(8936002)(486006)(3846002)(14454004)(6486002)(2501003)(99286004)(6436002)(1076003)(52116002)(478600001)(50226002)(36756003)(102836004)(97736004)(2906002)(305945005)(7736002)(6116002)(25786009)(186003)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR04MB4838; H:AM6PR04MB5781.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: hiFLnxgMr4bC1N3EdlreXnADM0eV84EhGjHB6YrRVZ98vp4SC2zdjLVzSuvulpgH/2ExwJLRLl8hb4XXDKEVysYnlB/c0hfmCraT8pmv95GUSjJ+6QDI744USYex0PNFcgEbuOYTnIL4xmBLK1tRj0quWeKW2tbD2AUhComWMj9TO46VLBvKtBEBIdPxbRTq33GKPiCPDNlWmfUAgS9lWp95GmZ0d//rxIsd6K3ADWDZ2nYcMANtjo/6xSGiSlWtLQCoWuSEd+kuSYgholVxNSb47IXT6jSeC+jFeOBB4tGJdzcOcERg8uu12/3jiab1PWvghaVnIg6xX+Txdap7uw61Zd2sl7Kxbx//aolkeTdP2Q59sNn+sAlSZFO0F7oq40cFgElCUPUpmuDfelEKNHP1pAkFTUV6XCOJD1dEni8= Content-ID: <7D7AF17BD580434FBB933E4BD6CD979E@eurprd04.prod.outlook.com> MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a33013e8-f670-439c-351a-08d6b0c8f819 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Mar 2019 02:24:12.4645 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4838 Cc: "Z.q. Hou" <zhiqiang.hou@nxp.com> Subject: [U-Boot] [RESEND PATCHv4 0/9] pci: Add PCIe Gen4 controller driver for NXP Layerscape SoCs X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
pci: Add PCIe Gen4 controller driver for NXP Layerscape SoCs
|
expand
|
From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Add PCIe Gen4 driver for the NXP Layerscape series SoCs. Resend this patch set with the rev1.0 only workaround patches removed. Hou Zhiqiang (9): armv8: fsl-layerscpae: correct the PCIe controllers' region size armv8: lx2160a: add MMU table entries for PCIe pci: Add PCIe Gen4 controller driver for NXP Layerscape SoCs kconfig: add dependency PCIE_LAYERSCAPE_GEN4 for FSL_PCIE_COMPAT pci: ls_pcie_g4: add device tree fixups for PCI Stream IDs armv8: lx2160a: add PCIe controller DT nodes armv8: lx2160a: enable PCIe support dm: pci: add APIs for capability accessors dm: pci: add APIs for MPS and MRRS accessors arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 2 +- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 12 + arch/arm/dts/fsl-lx2160a.dtsi | 85 +++ .../arm/include/asm/arch-fsl-layerscape/cpu.h | 9 + .../asm/arch-fsl-layerscape/immap_lsch3.h | 14 +- configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 5 + configs/lx2160aqds_tfa_defconfig | 6 + configs/lx2160ardb_tfa_SECURE_BOOT_defconfig | 5 + configs/lx2160ardb_tfa_defconfig | 6 + drivers/pci/Kconfig | 8 + drivers/pci/Makefile | 2 + drivers/pci/pci-uclass.c | 245 ++++++++ drivers/pci/pcie_layerscape_gen4.c | 572 ++++++++++++++++++ drivers/pci/pcie_layerscape_gen4.h | 264 ++++++++ drivers/pci/pcie_layerscape_gen4_fixup.c | 249 ++++++++ include/pci.h | 33 + 16 files changed, 1515 insertions(+), 2 deletions(-) create mode 100644 drivers/pci/pcie_layerscape_gen4.c create mode 100644 drivers/pci/pcie_layerscape_gen4.h create mode 100644 drivers/pci/pcie_layerscape_gen4_fixup.c