Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1153790/?format=api
{ "id": 1153790, "url": "http://patchwork.ozlabs.org/api/patches/1153790/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190827110440.11523-14-Zhiqiang.Hou@nxp.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20190827110440.11523-14-Zhiqiang.Hou@nxp.com>", "list_archive_url": null, "date": "2019-08-27T11:03:34", "name": "[U-Boot,PATCHv2,13/47] powerpc: T102xRDB: Disable legacy PCIe driver when DM_PCI is enabled", "commit_ref": "f9abe6dd17c8d6afa1df4cad7a8cd717dedf0ef6", "pull_url": null, "state": "accepted", "archived": false, "hash": "bed14c941439874aa10d62b8df4b084ed24fd4c6", "submitter": { "id": 67929, "url": "http://patchwork.ozlabs.org/api/people/67929/?format=api", "name": "Z.Q. Hou", "email": "zhiqiang.hou@nxp.com" }, "delegate": { "id": 2467, "url": "http://patchwork.ozlabs.org/api/users/2467/?format=api", "username": "prabhu_kush", "first_name": "Prabhakar", "last_name": "Kushwaha", "email": "prabhakar@freescale.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20190827110440.11523-14-Zhiqiang.Hou@nxp.com/mbox/", "series": [ { "id": 127526, "url": "http://patchwork.ozlabs.org/api/series/127526/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=127526", "date": "2019-08-27T11:02:49", "name": "powerpc: Enable PCIe DM drvier for some platforms", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/127526/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1153790/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1153790/checks/", "tags": {}, "related": [], "headers": { "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;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=nxp.com", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=nxp.com header.i=@nxp.com header.b=\"S1LXsU3d\";\n\tdkim-atps=neutral", "spf=none (sender IP is )\n\tsmtp.mailfrom=zhiqiang.hou@nxp.com; " ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 46Hmj31JzTz9sDQ\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 27 Aug 2019 21:23:51 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid E7707C22284; Tue, 27 Aug 2019 11:11:07 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 3DD79C2208E;\n\tTue, 27 Aug 2019 11:10:59 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 62C32C2207B; Tue, 27 Aug 2019 11:03:38 +0000 (UTC)", "from EUR04-HE1-obe.outbound.protection.outlook.com\n\t(mail-eopbgr70074.outbound.protection.outlook.com [40.107.7.74])\n\tby lists.denx.de (Postfix) with ESMTPS id 432E5C2203D\n\tfor <u-boot@lists.denx.de>; Tue, 27 Aug 2019 11:03:35 +0000 (UTC)", "from DB8PR04MB6747.eurprd04.prod.outlook.com (20.179.250.159) by\n\tDB8PR04MB5849.eurprd04.prod.outlook.com (20.179.11.223) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n\t15.20.2199.20; Tue, 27 Aug 2019 11:03:34 +0000", "from DB8PR04MB6747.eurprd04.prod.outlook.com\n\t([fe80::7c8a:ab5d:dc27:be5f]) by\n\tDB8PR04MB6747.eurprd04.prod.outlook.com\n\t([fe80::7c8a:ab5d:dc27:be5f%6]) with mapi id 15.20.2199.021;\n\tTue, 27 Aug 2019 11:03:34 +0000" ], "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\n\tautolearn=unavailable autolearn_force=no version=3.4.0", "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;\n\tb=eW1kCgaTbcACFqSGuO3WzoYwhin2LGnpT8k6HfImvceN+rqdp1M+qx28uIPKXUCfroom+94oSG53LeesQ0uhf2v2ZRkXkA+xDz8OWqSUbpoKsEvnvcffAbTjX/X6FjMk52soOIKs+1EbtpAGvBsHsMcZ6aKIQ3YkHwCPXGhQLgaHZsqtM0A68OO+QREybtt9cKWBGu/jpltVQ+btmwJHZfoBHQYuEBCgMPsW+PVG41/mktPtZ1+usGBt0gpSIvT51pLxDyirbPSxld4s0lAm1s1DLW8Rr6Oavvw74QflnGgpoZZ2/C8ZKhTLPOo86w89r/vRXZurUieztiWzI9gwag==", "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n\ts=arcselector9901;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n\tbh=VMWRrKNVlAHY3OQ7cpvu22+Nqyn6DoLRgpexSPdbCMA=;\n\tb=OHFrDTe1UtV5iptnciN8kegX2g2e/CpUcQJAE/spOeR4tpSuAWQn26kJsaFb9uzQVSuhjoAYIMgV9jC9oT/vTXcgjVqc2pyCmIn9p8NOM9sNhBRmICnNYupHThTURqbkmaGsEOHQpLBHDMDi90OKKCsT+cD2MqtVsuPI8V2b9Tx1NFHJPT9Yn9tmdOrVpA+cUXYBTV9doqL6n1/ITCGtHN+wXEglhbUBlF5eZlU4AgLXqwMuiKLJ9mvnvhRKWgx+SbjPhK2nm4KYxGh+xzQJqmJsJej5xVj8zJ9L9bfYm8zOA+i+Cz68l0uryzL15egTQ1NoBrLi87Lt/Hd4ZhSv0Q==", "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=pass\n\tsmtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com;\n\tdkim=pass header.d=nxp.com; arc=none", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n\tbh=VMWRrKNVlAHY3OQ7cpvu22+Nqyn6DoLRgpexSPdbCMA=;\n\tb=S1LXsU3dcwFzK+QlPI7+fOe5amkq6Ut84DxHVXwDmXEQEinjnR/S9U3sW/ApYG1ScX2taDXQWgramN34Zcq59ZqDsSNVMrbvTVsMoiiRzpe0sNvUdbJg/nuNluflC31FFz15O3jKkWEEyFlU2U582EMUru795+FTaZB5U8jeu0o=", "From": "\"Z.q. Hou\" <zhiqiang.hou@nxp.com>", "To": "\"u-boot@lists.denx.de\" <u-boot@lists.denx.de>, Prabhakar Kushwaha\n\t<prabhakar.kushwaha@nxp.com>, \"wd@denx.de\" <wd@denx.de>, Priyanka Jain\n\t<priyanka.jain@nxp.com>, Shengzhou Liu <shengzhou.liu@nxp.com>,\n\t\"bmeng.cn@gmail.com\" <bmeng.cn@gmail.com>", "Thread-Topic": "[PATCHv2 13/47] powerpc: T102xRDB: Disable legacy PCIe driver\n\twhen DM_PCI is enabled", "Thread-Index": "AQHVXMcRd30E2GmxC0KYFY1Uhagwgg==", "Date": "Tue, 27 Aug 2019 11:03:34 +0000", "Message-ID": "<20190827110440.11523-14-Zhiqiang.Hou@nxp.com>", "References": "<20190827110440.11523-1-Zhiqiang.Hou@nxp.com>", "In-Reply-To": "<20190827110440.11523-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": "HK0P153CA0039.APCP153.PROD.OUTLOOK.COM\n\t(2603:1096:203:17::27) To DB8PR04MB6747.eurprd04.prod.outlook.com\n\t(2603:10a6:10:10b::31)", "authentication-results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=nxp.com", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=nxp.com header.i=@nxp.com header.b=\"S1LXsU3d\";\n\tdkim-atps=neutral", "spf=none (sender IP is )\n\tsmtp.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": "4f2db75f-3130-460d-d114-08d72ade3410", "x-ms-office365-filtering-ht": "Tenant", "x-microsoft-antispam": "BCL:0; PCL:0;\n\tRULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);\n\tSRVR:DB8PR04MB5849; ", "x-ms-traffictypediagnostic": "DB8PR04MB5849:", "x-ms-exchange-transport-forked": "True", "x-microsoft-antispam-prvs": "<DB8PR04MB58494704C676EB18A86A50C384A00@DB8PR04MB5849.eurprd04.prod.outlook.com>", "x-ms-oob-tlc-oobclassifiers": "OLM:1186;", "x-forefront-prvs": "0142F22657", "x-forefront-antispam-report": "SFV:NSPM;\n\tSFS:(10009020)(4636009)(366004)(376002)(396003)(346002)(39860400002)(136003)(189003)(199004)(102836004)(6436002)(2616005)(476003)(486006)(186003)(26005)(71200400001)(386003)(478600001)(305945005)(2906002)(8676002)(1076003)(66066001)(8936002)(446003)(81156014)(256004)(81166006)(2501003)(11346002)(7736002)(6486002)(5660300002)(14454004)(36756003)(52116002)(86362001)(53936002)(110136005)(76176011)(99286004)(3846002)(6116002)(66556008)(66476007)(66446008)(71190400001)(64756008)(66946007)(4326008)(19627235002)(25786009)(50226002)(316002)(6512007)(6506007);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:DB8PR04MB5849;\n\tH:DB8PR04MB6747.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en;\n\tPTR:InfoNoRecords; MX:1; A:1; ", "received-spf": "None (protection.outlook.com: nxp.com does not designate\n\tpermitted sender hosts)", "x-ms-exchange-senderadcheck": "1", "x-microsoft-antispam-message-info": "G/hpmoNlyYLbMXnrhSHgCsSuXYxzrNlKs9l5f0INEsAiBF/K3XpivWCT0dx7LiJR0TVZdA/yYPMO3iX+ta/uBL64uTUKnk8w48yrzMEjL8qbBIf5H7muwu7pbXm0EWj8TDCOxUq8cO7WE/MsMLUmF2+71q2KIIxsa1BLEHKuluZ1giV9ITHfAElj/Cg3G4zU5sbz+YjarE8tJrjVrWB+GptUR5MqEXsdnr8tSaXXwyUN+azD56cSVtWM7YOsFnKcHZdAol0iG75PWNdzsqQxeFbiTLy0D8hGZco8+i1zGb+te+jI5nTBO2u72MPuYodYl4mcKyGFp+zp12MaQzErJO1sK46Itt9Gbr9BnGDne4szn/qZ6ihsH4vllhhinxtO1qF2ycqiw/UmZTg3iYnHh5VBLDzPn/1q/lqW9I0kJRE=", "MIME-Version": "1.0", "X-OriginatorOrg": "nxp.com", "X-MS-Exchange-CrossTenant-Network-Message-Id": "4f2db75f-3130-460d-d114-08d72ade3410", "X-MS-Exchange-CrossTenant-originalarrivaltime": "27 Aug 2019 11:03:34.2407\n\t(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-CrossTenant-userprincipalname": "GFXpHDGEd1RgC5wYc46+J+hZyiTKR/qNTbX4XLySyLBcGEcpJLJymFNfm+9OjkUyLCigXTOojDMOllT52TgWyg==", "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "DB8PR04MB5849", "Cc": "\"Z.q. Hou\" <zhiqiang.hou@nxp.com>", "Subject": "[U-Boot] [PATCHv2 13/47] powerpc: T102xRDB: Disable legacy PCIe\n\tdriver when DM_PCI is enabled", "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>,\n\t<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>,\n\t<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>" }, "content": "From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>\n\nDisable legacy PCIe driver and unused PCIe macros when DM_PCI enabled.\n\nSigned-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>\nReviewed-by: Bin Meng <bmeng.cn@gmail.com>\n---\nV2:\n - Rebased the patch.\n\n include/configs/T102xRDB.h | 54 +++++++++++---------------------------\n 1 file changed, 15 insertions(+), 39 deletions(-)", "diff": "diff --git a/include/configs/T102xRDB.h b/include/configs/T102xRDB.h\nindex b76ce8d69f..8c1434fb10 100644\n--- a/include/configs/T102xRDB.h\n+++ b/include/configs/T102xRDB.h\n@@ -494,72 +494,48 @@ unsigned long get_board_ddr_clk(void);\n #define CONFIG_PCIE1\t\t/* PCIE controller 1 */\n #define CONFIG_PCIE2\t\t/* PCIE controller 2 */\n #define CONFIG_PCIE3\t\t/* PCIE controller 3 */\n-#define CONFIG_FSL_PCI_INIT\t/* Use common FSL init code */\n #define CONFIG_SYS_PCI_64BIT\t/* enable 64-bit PCI resources */\n-#define CONFIG_PCI_INDIRECT_BRIDGE\n \n #ifdef CONFIG_PCI\n /* controller 1, direct to uli, tgtid 3, Base address 20000 */\n #ifdef CONFIG_PCIE1\n #define\tCONFIG_SYS_PCIE1_MEM_VIRT\t0x80000000\n-#ifdef CONFIG_PHYS_64BIT\n-#define\tCONFIG_SYS_PCIE1_MEM_BUS\t0xe0000000\n #define\tCONFIG_SYS_PCIE1_MEM_PHYS\t0xc00000000ull\n-#else\n-#define CONFIG_SYS_PCIE1_MEM_BUS\t0x80000000\n-#define CONFIG_SYS_PCIE1_MEM_PHYS\t0x80000000\n-#endif\n-#define CONFIG_SYS_PCIE1_MEM_SIZE\t0x10000000\t/* 256M */\n #define CONFIG_SYS_PCIE1_IO_VIRT\t0xf8000000\n-#define CONFIG_SYS_PCIE1_IO_BUS\t\t0x00000000\n-#ifdef CONFIG_PHYS_64BIT\n #define CONFIG_SYS_PCIE1_IO_PHYS\t0xff8000000ull\n-#else\n-#define CONFIG_SYS_PCIE1_IO_PHYS\t0xf8000000\n-#endif\n-#define CONFIG_SYS_PCIE1_IO_SIZE\t0x00010000\t/* 64k */\n #endif\n \n /* controller 2, Slot 2, tgtid 2, Base address 201000 */\n #ifdef CONFIG_PCIE2\n #define CONFIG_SYS_PCIE2_MEM_VIRT\t0x90000000\n-#ifdef CONFIG_PHYS_64BIT\n-#define CONFIG_SYS_PCIE2_MEM_BUS\t0xe0000000\n #define CONFIG_SYS_PCIE2_MEM_PHYS\t0xc10000000ull\n-#else\n-#define CONFIG_SYS_PCIE2_MEM_BUS\t0x90000000\n-#define CONFIG_SYS_PCIE2_MEM_PHYS\t0x90000000\n-#endif\n-#define CONFIG_SYS_PCIE2_MEM_SIZE\t0x10000000\t/* 256M */\n #define CONFIG_SYS_PCIE2_IO_VIRT\t0xf8010000\n-#define CONFIG_SYS_PCIE2_IO_BUS\t\t0x00000000\n-#ifdef CONFIG_PHYS_64BIT\n #define CONFIG_SYS_PCIE2_IO_PHYS\t0xff8010000ull\n-#else\n-#define CONFIG_SYS_PCIE2_IO_PHYS\t0xf8010000\n-#endif\n-#define CONFIG_SYS_PCIE2_IO_SIZE\t0x00010000\t/* 64k */\n #endif\n \n /* controller 3, Slot 1, tgtid 1, Base address 202000 */\n #ifdef CONFIG_PCIE3\n #define CONFIG_SYS_PCIE3_MEM_VIRT\t0xa0000000\n-#ifdef CONFIG_PHYS_64BIT\n-#define CONFIG_SYS_PCIE3_MEM_BUS\t0xe0000000\n #define CONFIG_SYS_PCIE3_MEM_PHYS\t0xc20000000ull\n-#else\n-#define CONFIG_SYS_PCIE3_MEM_BUS\t0xa0000000\n-#define CONFIG_SYS_PCIE3_MEM_PHYS\t0xa0000000\n-#endif\n-#define CONFIG_SYS_PCIE3_MEM_SIZE\t0x10000000\t/* 256M */\n #define CONFIG_SYS_PCIE3_IO_VIRT\t0xf8020000\n-#define CONFIG_SYS_PCIE3_IO_BUS\t\t0x00000000\n-#ifdef CONFIG_PHYS_64BIT\n #define CONFIG_SYS_PCIE3_IO_PHYS\t0xff8020000ull\n-#else\n-#define CONFIG_SYS_PCIE3_IO_PHYS\t0xf8020000\n #endif\n+\n+#if !defined(CONFIG_DM_PCI)\n+#define CONFIG_FSL_PCI_INIT\t/* Use common FSL init code */\n+#define CONFIG_SYS_PCIE1_MEM_BUS\t0xe0000000\n+#define CONFIG_SYS_PCIE1_MEM_SIZE\t0x10000000\t/* 256M */\n+#define CONFIG_SYS_PCIE1_IO_BUS\t\t0x00000000\n+#define CONFIG_SYS_PCIE1_IO_SIZE\t0x00010000\t/* 64k */\n+#define CONFIG_SYS_PCIE2_MEM_BUS\t0xe0000000\n+#define CONFIG_SYS_PCIE2_MEM_SIZE\t0x10000000 /* 256M */\n+#define CONFIG_SYS_PCIE2_IO_BUS\t\t0x00000000\n+#define CONFIG_SYS_PCIE2_IO_SIZE\t0x00010000\t/* 64k */\n+#define CONFIG_SYS_PCIE3_MEM_BUS\t0xe0000000\n+#define CONFIG_SYS_PCIE3_MEM_SIZE\t0x10000000\t/* 256M */\n+#define CONFIG_SYS_PCIE3_IO_BUS\t\t0x00000000\n #define CONFIG_SYS_PCIE3_IO_SIZE\t0x00010000\t/* 64k */\n+#define CONFIG_PCI_INDIRECT_BRIDGE\n #endif\n \n #define CONFIG_PCI_SCAN_SHOW\t\t/* show pci devices on startup */\n", "prefixes": [ "U-Boot", "PATCHv2", "13/47" ] }