Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1153772/?format=api
{ "id": 1153772, "url": "http://patchwork.ozlabs.org/api/patches/1153772/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190827110440.11523-19-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-19-Zhiqiang.Hou@nxp.com>", "list_archive_url": null, "date": "2019-08-27T11:03:51", "name": "[U-Boot,PATCHv2,18/47] powerpc: T104xRDB: Disable legacy PCIe driver when DM_PCI is enabled", "commit_ref": "75974847becfc96d8f7562797048b0048f8a458d", "pull_url": null, "state": "accepted", "archived": false, "hash": "583d354af0b954e66adfa7cc5f35159970cc4c22", "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-19-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/1153772/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1153772/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=\"YnLud+hD\";\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 46HmV31wHBz9s00\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 27 Aug 2019 21:14:19 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid EF30AC22060; Tue, 27 Aug 2019 11:11:54 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 19989C2206A;\n\tTue, 27 Aug 2019 11:11:53 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid A719AC22078; Tue, 27 Aug 2019 11:03:55 +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 4D9FBC2203B\n\tfor <u-boot@lists.denx.de>; Tue, 27 Aug 2019 11:03:52 +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:51 +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:51 +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=nxSUg4a305zcjKSLLC+qGTekQsXvShrCNzL8PKDrFcmvW1W07QNnzMCq5QNQ6aJCaa6L/QAVGZtVSVvpRemgN4hoHazyBO0RGoYhS0TYlsjFTpHDsjhm56+ys5LSJA8Cdp9S+nw9Lae53aXxSSiSTUqp2j5Zot3I2MO73+9Oc+mGlJSzZy+wHENLsd7Wo1wagvCyTJY5caDaWdAHhb3yg1hSRP9p0sxkcETtzlv+STTZAZNW8abDtVzRBtp+oZbmRA5auJ//xCpflovn6udUNknsiHa6ysoMsbpGpE1uN7iEtlTQzj9tlx+WrFS79WzX6EeAPK0rKAvPCNoaiG0vRw==", "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=F4w471CnawSBZr8utDzrKEVq8jFpJthQRYFaq9uDSEE=;\n\tb=OKLDu5Qc/jVU+Du31835ZrW14Fleb1zIfHU/OmQ5jrKhbcth/rneYHXVhpT+FGIrYzX2z60ox3410saIp+Eb7UUw6f5I/Wx5EUD0sgeTD7JNhSL/fJ9n0iBUdKe+WdV0/GHoRlCCU8Hv31WfSR4NtnuLxJ5VHBSeQj3Saau5oTHPUK2WKXsyYwQbpSHB4+6yRM/huqsJAkbBZ2Td2ZwZMApeoKeh3l4KLg9jg8OpoBbuPjj0D310z55cneVbDx6RlRk+JjzdYcXoGxe2+ZiZaiS7bRRYHxoSmVehXtmkUKdylfsXTIPZ/QvXQzhxmfc0raG6TL/O9QY31M5EJzhIvw==", "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=F4w471CnawSBZr8utDzrKEVq8jFpJthQRYFaq9uDSEE=;\n\tb=YnLud+hDNVjmsAagvowJfg2Qi2pmd4OGU1ChrQLLh7vtngcmzgByO4nmqHq0egvZ56MVi48WBAR6ydTpKtVwG0ma8SqOz3jbuvtvGN3/zv3fCGhk5PClQYWgL16xeQLhMINohUDAFxNOpcbe0d2qyE1e+/3NH80RXB8Cs/ToayA=", "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 18/47] powerpc: T104xRDB: Disable legacy PCIe driver\n\twhen DM_PCI is enabled", "Thread-Index": "AQHVXMcbHK08KVCFt0q+Yg6WYIhiRA==", "Date": "Tue, 27 Aug 2019 11:03:51 +0000", "Message-ID": "<20190827110440.11523-19-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=\"YnLud+hD\";\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": "0ad5cc44-eb7d-44a1-90d6-08d72ade3e42", "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": "<DB8PR04MB5849384492FD6A8A3CAC38C584A00@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": "PQRHSWe+uXFI7/YIqi/aBl/cgLQ3Z6Pf3scYD9/dSXQ15JOKmA5CZL6+C+6hUcXSWZFPeJl+fCh8T8Fi+sihMsHO+sgBL4oAoCJo8PQzI8XSLV+VeCqEPz0lSA4HAmh/DiH20OBGRc1CB8D041YIgbMXlE2tiDo5Kg4BQx/sKAKXEc8mJ1GKLH8nJbQU+QcpSuYP6gYQjakCEnjkw4H7YhvKvbt+sbaw192aSBybNU33zcn8b6KUV+jF2QL8IAjIRRovP/sXzazPxqZVYJD/AnqgB1z/MmTV6bDinP0JnwXS6gC7uVZHWY+QBizrc05/QeFPkOB6dHBqhglnVsSLeJK0cEwb2qkJ9l8+xBfwwhDM4sJFp5XQXqavk4SfFXi3k8juprHqSB0559jePUswaVFe69B9vp2fQvFnXgDznuI=", "MIME-Version": "1.0", "X-OriginatorOrg": "nxp.com", "X-MS-Exchange-CrossTenant-Network-Message-Id": "0ad5cc44-eb7d-44a1-90d6-08d72ade3e42", "X-MS-Exchange-CrossTenant-originalarrivaltime": "27 Aug 2019 11:03:51.3569\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": "Zo4K4gkzhuvjKQz8MQlyNyd+eewCh7O6YPeUdS95EjuOvFZJiz5Or+yo5dsP5wfy9go5hRQsYrviUV9axJnL0g==", "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "DB8PR04MB5849", "Cc": "\"Z.q. Hou\" <zhiqiang.hou@nxp.com>", "Subject": "[U-Boot] [PATCHv2 18/47] powerpc: T104xRDB: 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/T104xRDB.h | 38 ++++++++++++++++++++------------------\n 1 file changed, 20 insertions(+), 18 deletions(-)", "diff": "diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h\nindex 56ddef07f5..53ee1484d0 100644\n--- a/include/configs/T104xRDB.h\n+++ b/include/configs/T104xRDB.h\n@@ -145,13 +145,11 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg\n \n #define CONFIG_SYS_FSL_CPC\t\t/* Corenet Platform Cache */\n #define CONFIG_SYS_NUM_CPC\t\tCONFIG_SYS_NUM_DDR_CTLRS\n-#define CONFIG_PCI_INDIRECT_BRIDGE\n #define CONFIG_PCIE1\t\t\t/* PCIE controller 1 */\n #define CONFIG_PCIE2\t\t\t/* PCIE controller 2 */\n #define CONFIG_PCIE3\t\t\t/* PCIE controller 3 */\n #define CONFIG_PCIE4\t\t\t/* PCIE controller 4 */\n \n-#define CONFIG_FSL_PCI_INIT\t\t/* Use common FSL init code */\n #define CONFIG_SYS_PCI_64BIT\t\t/* enable 64-bit PCI resources */\n \n #define CONFIG_ENV_OVERWRITE\n@@ -524,51 +522,55 @@ $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg\n /* controller 1, direct to uli, tgtid 3, Base address 20000 */\n #ifdef CONFIG_PCIE1\n #define\tCONFIG_SYS_PCIE1_MEM_VIRT\t0x80000000\n-#define\tCONFIG_SYS_PCIE1_MEM_BUS\t0xe0000000\n #define\tCONFIG_SYS_PCIE1_MEM_PHYS\t0xc00000000ull\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 #define CONFIG_SYS_PCIE1_IO_PHYS\t0xff8000000ull\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-#define CONFIG_SYS_PCIE2_MEM_BUS\t0xe0000000\n #define CONFIG_SYS_PCIE2_MEM_PHYS\t0xc10000000ull\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 #define CONFIG_SYS_PCIE2_IO_PHYS\t0xff8010000ull\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-#define CONFIG_SYS_PCIE3_MEM_BUS\t0xe0000000\n #define CONFIG_SYS_PCIE3_MEM_PHYS\t0xc20000000ull\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 #define CONFIG_SYS_PCIE3_IO_PHYS\t0xff8020000ull\n-#define CONFIG_SYS_PCIE3_IO_SIZE\t0x00010000\t/* 64k */\n #endif\n \n /* controller 4, Base address 203000 */\n #ifdef CONFIG_PCIE4\n #define CONFIG_SYS_PCIE4_MEM_VIRT\t0xb0000000\n-#define CONFIG_SYS_PCIE4_MEM_BUS\t0xe0000000\n #define CONFIG_SYS_PCIE4_MEM_PHYS\t0xc30000000ull\n-#define CONFIG_SYS_PCIE4_MEM_SIZE\t0x10000000\t/* 256M */\n #define CONFIG_SYS_PCIE4_IO_VIRT\t0xf8030000\n-#define CONFIG_SYS_PCIE4_IO_BUS\t\t0x00000000\n #define CONFIG_SYS_PCIE4_IO_PHYS\t0xff8030000ull\n-#define CONFIG_SYS_PCIE4_IO_SIZE\t0x00010000\t/* 64k */\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\t/* 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_SYS_PCIE4_MEM_BUS\t0xe0000000\n+#define CONFIG_SYS_PCIE4_MEM_SIZE\t0x10000000\t/* 256M */\n+#define CONFIG_SYS_PCIE4_IO_BUS\t\t0x00000000\n+#define CONFIG_SYS_PCIE4_IO_SIZE\t0x00010000\t/* 64k */\n+#define CONFIG_PCI_INDIRECT_BRIDGE\n+#endif\n #define CONFIG_PCI_SCAN_SHOW\t\t/* show pci devices on startup */\n #endif\t/* CONFIG_PCI */\n \n", "prefixes": [ "U-Boot", "PATCHv2", "18/47" ] }