Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1083925/?format=api
{ "id": 1083925, "url": "http://patchwork.ozlabs.org/api/patches/1083925/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190411110315.30720-7-yinbo.zhu@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": "<20190411110315.30720-7-yinbo.zhu@nxp.com>", "list_archive_url": null, "date": "2019-04-11T11:02:05", "name": "[U-Boot,v3,7/8] usb: ehci: ppc: adopt 32 bit address", "commit_ref": null, "pull_url": null, "state": "awaiting-upstream", "archived": false, "hash": "585ac4e7f6e8aad0d70d3614249847f2c8ff454c", "submitter": { "id": 71513, "url": "http://patchwork.ozlabs.org/api/people/71513/?format=api", "name": "Yinbo Zhu", "email": "yinbo.zhu@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/20190411110315.30720-7-yinbo.zhu@nxp.com/mbox/", "series": [ { "id": 102176, "url": "http://patchwork.ozlabs.org/api/series/102176/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=102176", "date": "2019-04-11T11:01:42", "name": "[U-Boot,v3,1/8] ppc: t2080qds: add eSDHC node", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/102176/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1083925/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1083925/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=\"kdaNgPWo\";\n\tdkim-atps=neutral", "spf=none (sender IP is )\n\tsmtp.mailfrom=yinbo.zhu@nxp.com; " ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 44fypM1vv1z9s47\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 11 Apr 2019 21:04:27 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid E9891C21BE5; Thu, 11 Apr 2019 11:03:08 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id A80E2C21DED;\n\tThu, 11 Apr 2019 11:03:06 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 4F3ACC21E31; Thu, 11 Apr 2019 11:02:10 +0000 (UTC)", "from EUR01-VE1-obe.outbound.protection.outlook.com\n\t(mail-eopbgr140078.outbound.protection.outlook.com [40.107.14.78])\n\tby lists.denx.de (Postfix) with ESMTPS id 6B107C21D9A\n\tfor <u-boot@lists.denx.de>; Thu, 11 Apr 2019 11:02:06 +0000 (UTC)", "from VI1PR04MB4158.eurprd04.prod.outlook.com (52.133.15.33) by\n\tVI1PR04MB5423.eurprd04.prod.outlook.com (20.178.121.77) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n\t15.20.1792.17; Thu, 11 Apr 2019 11:02:05 +0000", "from VI1PR04MB4158.eurprd04.prod.outlook.com\n\t([fe80::8015:ec84:d721:b566]) by\n\tVI1PR04MB4158.eurprd04.prod.outlook.com\n\t([fe80::8015:ec84:d721:b566%5]) with mapi id 15.20.1771.016;\n\tThu, 11 Apr 2019 11:02:05 +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", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n\tbh=4eP12PQ4HDhuIFHQvGp/vOJSiibOLgYUkQhHAFF/tgA=;\n\tb=kdaNgPWo3qAbL+jizqsaAicwsupCLAMjipYZe86W/C+jo7aNMAXW5D+22QJLReQhOqbHhK25NUWAQhYczOsliqAhHCv8NOmJbRGZKPTdSdxuAGNJAM5RzJM4hoc8TcUfZJCOZ+KmwNgHKscfNMOrHk7NydJff6It3UsO3Yf6as4=", "From": "Yinbo Zhu <yinbo.zhu@nxp.com>", "To": "York Sun <york.sun@nxp.com>,\n\t\"u-boot@lists.denx.de\" <u-boot@lists.denx.de>", "Thread-Topic": "[PATCH v3 7/8] usb: ehci: ppc: adopt 32 bit address", "Thread-Index": "AQHU8FX/eD8aFVqT8kWtfwgGVXLEtg==", "Date": "Thu, 11 Apr 2019 11:02:05 +0000", "Message-ID": "<20190411110315.30720-7-yinbo.zhu@nxp.com>", "References": "<20190411110315.30720-1-yinbo.zhu@nxp.com>", "In-Reply-To": "<20190411110315.30720-1-yinbo.zhu@nxp.com>", "Accept-Language": "zh-CN, en-US", "Content-Language": "en-US", "X-MS-Has-Attach": "", "X-MS-TNEF-Correlator": "", "x-clientproxiedby": "HK0PR01CA0025.apcprd01.prod.exchangelabs.com\n\t(2603:1096:203:3e::13) To VI1PR04MB4158.eurprd04.prod.outlook.com\n\t(2603:10a6:803:46::33)", "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=\"kdaNgPWo\";\n\tdkim-atps=neutral", "spf=none (sender IP is )\n\tsmtp.mailfrom=yinbo.zhu@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": "5acf8942-92ff-4111-4e51-08d6be6d21d5", "x-ms-office365-filtering-ht": "Tenant", "x-microsoft-antispam": "BCL:0; PCL:0;\n\tRULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020);\n\tSRVR:VI1PR04MB5423; ", "x-ms-traffictypediagnostic": "VI1PR04MB5423:", "x-microsoft-antispam-prvs": "<VI1PR04MB5423BAC9FC95F8E87B72E246E92F0@VI1PR04MB5423.eurprd04.prod.outlook.com>", "x-forefront-prvs": "00046D390F", "x-forefront-antispam-report": "SFV:NSPM;\n\tSFS:(10009020)(366004)(346002)(396003)(136003)(376002)(39860400002)(189003)(199004)(3846002)(105586002)(99286004)(5660300002)(508600001)(106356001)(68736007)(14454004)(1076003)(54906003)(110136005)(52116002)(316002)(2501003)(256004)(14444005)(186003)(25786009)(6486002)(26005)(102836004)(86362001)(71190400001)(6116002)(71200400001)(76176011)(6506007)(386003)(7736002)(305945005)(11346002)(446003)(36756003)(2616005)(6436002)(97736004)(486006)(4326008)(476003)(6512007)(53936002)(8676002)(81156014)(8936002)(81166006)(44832011)(2906002)(50226002)(66066001);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB5423;\n\tH:VI1PR04MB4158.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": "sGBEKYy2B9jFeuSuMoBveI5fLY3V8tptsc53L3sRhQBYVoqG3+cfNZJusEA9lpQh78gCtkMw5tZzjjSUZ55TBoysNbDSYveKJmkpozA0FNyOjqFej38R5d8XqnzB0lwTB9MDduq5AlWeRvDSOdOYUCYqWJt3w7DSbcBsvU1bm/TOjJsUPhgaMsGWtQE3ggnx6xy2w7ra4K4RbltpckQGAHW4I+kVc5AXJfmt5gFHftw2uutuY0s5Xcv/ye+454KTv7T58sLzLcXvpdrNxdr4yHo6KpxO+TTctCz4uL6PaMPGyF0DN18DISVGWE2emhjX1SDQ9Uvp+qL8DTL+TiyvBJ6PLkpfsHjTRUamzvl42m020zrVtLOILwSur6C7tjVN52aed2N8/YaBzEDDT+8jvDgCjfuOvJAeJQiUZglN6aU=", "MIME-Version": "1.0", "X-OriginatorOrg": "nxp.com", "X-MS-Exchange-CrossTenant-Network-Message-Id": "5acf8942-92ff-4111-4e51-08d6be6d21d5", "X-MS-Exchange-CrossTenant-originalarrivaltime": "11 Apr 2019 11:02:05.2577\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-Transport-CrossTenantHeadersStamped": "VI1PR04MB5423", "Cc": "Xiaobo Xie <xiaobo.xie@nxp.com>, Jiafei Pan <jiafei.pan@nxp.com>,\n\tRan Wang <ran.wang_1@nxp.com>, Yinbo Zhu <yinbo.zhu@nxp.com>", "Subject": "[U-Boot] [PATCH v3 7/8] usb: ehci: ppc: adopt 32 bit address", "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: Yinbo Zhu <yinbo.zhu@nxp.com>\n\nThis patch is to adopt 32 bit address for ppc\n\nSigned-off-by: Yinbo Zhu <yinbo.zhu@nxp.com>\n---\n drivers/usb/host/ehci-fsl.c | 10 +++++++++-\n 1 file changed, 9 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c\r\nindex 23e7e7125f..b8f8e7a794 100644\r\n--- a/drivers/usb/host/ehci-fsl.c\r\n+++ b/drivers/usb/host/ehci-fsl.c\r\n@@ -75,8 +75,12 @@ static int ehci_fsl_init_after_reset(struct ehci_ctrl *ctrl)\r\n \tstruct usb_ehci *ehci = NULL;\r\n \tstruct ehci_fsl_priv *priv = container_of(ctrl, struct ehci_fsl_priv,\r\n \t\t\t\t\t\t ehci);\r\n-\r\n+#ifdef CONFIG_PPC\r\n+\tehci = (struct usb_ehci *)lower_32_bits(priv->hcd_base);\r\n+#else\r\n \tehci = (struct usb_ehci *)priv->hcd_base;\r\n+#endif\r\n+\r\n \tif (ehci_fsl_init(priv, ehci, priv->ehci.hccr, priv->ehci.hcor) < 0)\r\n \t\treturn -ENXIO;\r\n \r\n@@ -103,7 +107,11 @@ static int ehci_fsl_probe(struct udevice *dev)\r\n \t\tdebug(\"Can't get the EHCI register base address\\n\");\r\n \t\treturn -ENXIO;\r\n \t}\r\n+#ifdef CONFIG_PPC\r\n+\tehci = (struct usb_ehci *)lower_32_bits(priv->hcd_base);\r\n+#else\r\n \tehci = (struct usb_ehci *)priv->hcd_base;\r\n+#endif\r\n \thccr = (struct ehci_hccr *)(&ehci->caplength);\r\n \thcor = (struct ehci_hcor *)\r\n \t\t((void *)hccr + HC_LENGTH(ehci_readl(&hccr->cr_capbase)));\r\n", "prefixes": [ "U-Boot", "v3", "7/8" ] }