get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/807466/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 807466,
    "url": "http://patchwork.ozlabs.org/api/patches/807466/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1504081806-16877-1-git-send-email-suresh.gupta@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": "<1504081806-16877-1-git-send-email-suresh.gupta@nxp.com>",
    "list_archive_url": null,
    "date": "2017-08-30T08:30:06",
    "name": "[U-Boot,v3] spi: fsl_qspi: Add controller busy check before new spi operation",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "078c604290cc9585519a785268272b228ff41a32",
    "submitter": {
        "id": 70239,
        "url": "http://patchwork.ozlabs.org/api/people/70239/?format=api",
        "name": "Suresh Gupta",
        "email": "suresh.gupta@nxp.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1504081806-16877-1-git-send-email-suresh.gupta@nxp.com/mbox/",
    "series": [
        {
            "id": 549,
            "url": "http://patchwork.ozlabs.org/api/series/549/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=549",
            "date": "2017-08-30T08:30:06",
            "name": "[U-Boot,v3] spi: fsl_qspi: Add controller busy check before new spi operation",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/549/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/807466/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/807466/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>)",
            "spf=fail (sender IP is 192.88.168.50)\n\tsmtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed)\n\theader.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com;"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xhzFm1W7Mz9t16\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 18:29:48 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid C6B4FC226EB; Wed, 30 Aug 2017 08:29:39 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id D74E4C22734;\n\tWed, 30 Aug 2017 08:29:35 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid ED6B0C22743; Wed, 30 Aug 2017 08:29:33 +0000 (UTC)",
            "from NAM02-BL2-obe.outbound.protection.outlook.com\n\t(mail-bl2nam02on0054.outbound.protection.outlook.com [104.47.38.54])\n\tby lists.denx.de (Postfix) with ESMTPS id 43FFAC226EB\n\tfor <u-boot@lists.denx.de>; Wed, 30 Aug 2017 08:29:33 +0000 (UTC)",
            "from CY4PR03CA0008.namprd03.prod.outlook.com (10.168.162.18) by\n\tCY1PR03MB2267.namprd03.prod.outlook.com (10.166.207.19) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id\n\t15.20.13.10; Wed, 30 Aug 2017 08:29:31 +0000",
            "from BY2FFO11FD037.protection.gbl (2a01:111:f400:7c0c::107) by\n\tCY4PR03CA0008.outlook.office365.com (2603:10b6:903:33::18) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.13.10 via\n\tFrontend Transport; Wed, 30 Aug 2017 08:29:31 +0000",
            "from tx30smr01.am.freescale.net (192.88.168.50) by\n\tBY2FFO11FD037.mail.protection.outlook.com (10.1.14.222) with\n\tMicrosoft SMTP Server (version=TLS1_0,\n\tcipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1385.11\n\tvia Frontend Transport; Wed, 30 Aug 2017 08:29:28 +0000",
            "from suresh_machine.ap.freescale.net\n\t(suresh_machine.ap.freescale.net [10.232.133.11])\n\tby tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id\n\tv7U8TPlu006646; Wed, 30 Aug 2017 01:29:26 -0700"
        ],
        "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=BAD_ENC_HEADER,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,\n\tSPF_HELO_PASS\n\tautolearn=unavailable autolearn_force=no version=3.4.0",
        "Received-SPF": "Fail (protection.outlook.com: domain of nxp.com does not\n\tdesignate 192.88.168.50 as permitted sender)\n\treceiver=protection.outlook.com; \n\tclient-ip=192.88.168.50; helo=tx30smr01.am.freescale.net;",
        "From": "Suresh Gupta <suresh.gupta@nxp.com>",
        "To": "<u-boot@lists.denx.de>",
        "Date": "Wed, 30 Aug 2017 14:00:06 +0530",
        "Message-ID": "<1504081806-16877-1-git-send-email-suresh.gupta@nxp.com>",
        "X-Mailer": "git-send-email 1.9.3",
        "X-EOPAttributedMessage": "0",
        "X-Matching-Connectors": "131485553706773056;\n\t(91ab9b29-cfa4-454e-5278-08d120cd25b8); ()",
        "X-Forefront-Antispam-Report": "CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI;\n\tSFV:NSPM;\n\tSFS:(10009020)(6009001)(336005)(39380400002)(39860400002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(551934003)(575784001)(86362001)(4326008)(50986999)(8676002)(110136004)(106466001)(54906002)(2351001)(97736004)(33646002)(8936002)(81156014)(81166006)(105606002)(50226002)(5660300001)(48376002)(50466002)(36756003)(356003)(39060400002)(305945005)(5003940100001)(47776003)(189998001)(6666003)(6916009)(8656003)(53936002)(498600001)(2906002)(68736007)(104016004)(77096006)(85426001)(626005);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR03MB2267;\n\tH:tx30smr01.am.freescale.net; \n\tFPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; ",
        "X-Microsoft-Exchange-Diagnostics": [
            "1; BY2FFO11FD037;\n\t1:BuziRVwaDw8XzxFTvd8ed8PuBO+PxD+9ZWh8pX1G0pW0D/l0TDTKWv1zMiocz/J5BG+mBFes51GAI2ANsUU/8EBQFt4xRQqPdQMa15V24o+Zin3CqWYogr5gL1UFp6j7",
            "1; CY1PR03MB2267;\n\t3:zIwf9Kco1P5r2cuhQ/dP6lv0/C5YZ1Mx/HU+DK5cs4Vak38nLq1qpcrNymNj8iBgWTjEmOHau9zTLdOljW1COVVjVwcRRDvhGJdDpfj9vfM5x+vjZbTVkqPD8CH1uYaEfg8ugoDM27EZtql8949BhLgn0d1C1pVoXx2LT99SDF6efDoXWPiMBSKAk6XJ+XDnNGfA83X6/j5KceZWaWFu7YTdzds7X51f3jPHct79hlJngo1qaeBLg/S9HfFecvF9STIcaMNpK5nkXh3v3hWj0OsegTaACBKcUyugb/UTlb83PTsXCCazieNXYGMsjNjTnJZRIdd+ll+U/8n6f0Zq14fAO6dhkWyOz8vMi5S6a88=;\n\t25:ZriTjHHjkjj/8bdZ+VRJS9Wl0cRv4Cue+UQrCZ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Dnuuo83MYCeLRBvL29fERqvPp5e6NG/xBctji/cg95HQtxgK8mt9d/U2dsuhR/DNl0BNWaj9ys84c/Ia43u3ykIgl4klHUqJfTth7MjQt0N/8oSKBUtAnqeHjNrplyZJlbvDnZXYbumXBfNX9SvGZxwqXRaZrRTNN9h3S5nJOy+lzHmOtl4KPkyE5xJb2qJN3RyVbv4ocybzSj3rHTlYGlV8aAIj24033uvrcIaePqdmsMp5CeTq6iN/9Z0z8C5DYyaMbuAwso5jOH0fPDVoMfZe4imlVlEuQQ6Zz+moHsRG+PP8G8z4JjXo83+bVXplIyinqvlxc3eg==;\n\t5:DAoQ/7uYNBBovAR9ReVt4xSTibgsT7JYTqvz7bfNCKNqM6T0WYzi9R/1kgLAE5FU2q+XRW6VAvUipz/WcYJUdeJI1Zf6O0a56o6+crHrmBvV/o2L5xYWuqugFrzEirxL2Pl51zgR/GzwQVQRof3eKA==;\n\t24:GPrvyP0SuGia3epz3C0MrAN84fmTijr4X3Z4jINmmCLH6AFb4syYJ+a6Pa0TRxDDfXcXXKq6BS8sRDb076x3bR7+6zIHShkH6m7j/OCMFy4=;\n\t7:WWK/Rn9FB0/VuUP1rAB7EOEgO6fuq6Fa4TMQUds27YDhofhp9Zq5V/T27iACdbcIsfw23PE8paEs+HKhfblWW7KBDFXDx8xYJSk1342WOUL6ZHCjqDGXZPrirMDmRtWv9AjlyKq5mueFHmU6BM5yYhjesakc8l1t3YpM0eqlIYi5b8yAOGjjQ7n0PR8Wsq17TdDUMwFVmJnEPmFsZlv6VFXOmqsCl8hY18qY1gB8K94="
        ],
        "MIME-Version": "1.0",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-Office365-Filtering-Correlation-Id": "34ee3ec3-b707-4171-9f40-08d4ef813c2d",
        "X-Microsoft-Antispam": "UriScan:; BCL:0; PCL:0;\n\tRULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);\n\tSRVR:CY1PR03MB2267; ",
        "X-MS-TrafficTypeDiagnostic": "CY1PR03MB2267:",
        "X-Exchange-Antispam-Report-Test": "UriScan:(185117386973197)(788757137089);",
        "X-Microsoft-Antispam-PRVS": "<CY1PR03MB2267DA1279A4C54C803A1772809C0@CY1PR03MB2267.namprd03.prod.outlook.com>",
        "X-Exchange-Antispam-Report-CFA-Test": "BCL:0; PCL:0;\n\tRULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13018025)(13016025)(8121501046)(5005006)(100000703101)(100105400095)(3002001)(93006095)(93001095)(10201501046)(6055026)(6096035)(20161123563025)(20161123565025)(20161123559100)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123561025)(20161123556025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);\n\tSRVR:CY1PR03MB2267; BCL:0; PCL:0;\n\tRULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);\n\tSRVR:CY1PR03MB2267; ",
        "X-Forefront-PRVS": "041517DFAB",
        "SpamDiagnosticOutput": "1:99",
        "SpamDiagnosticMetadata": "NSPM",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "30 Aug 2017 08:29:28.9769\n\t(UTC)",
        "X-MS-Exchange-CrossTenant-Id": "5afe0b00-7697-4969-b663-5eab37d5f47e",
        "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;\n\tIp=[192.88.168.50]; \n\tHelo=[tx30smr01.am.freescale.net]",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "CY1PR03MB2267",
        "Cc": "Suresh Gupta <suresh.gupta@nxp.com>",
        "Subject": "[U-Boot] [PATCH v3] spi: fsl_qspi: Add controller busy check before\n\tnew spi operation",
        "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": "It is recommended to check either controller is free to take\nnew spi action. The IP_ACC and AHB_ACC bits indicates that\nthe controller is busy in IP or AHB mode respectively.\nAnd the BUSY bit indicates that controller is currently\nbusy handling a transaction to an external flash device\n\nSigned-off-by: Suresh Gupta <suresh.gupta@nxp.com>\n---\nChnages in v3:\n - replace printf to debug\n - return whatever return from wait_for_bit, before it was -EBUSY\n\nChanges in v2:\n\n - Add wait_for_bit instead of while\n - move the busy check code to fsl_qspi_claim_bus form qspi_xfer\n\n\n drivers/spi/fsl_qspi.c | 28 +++++++++++++++++++++++++++-\n drivers/spi/fsl_qspi.h |  4 ++++\n 2 files changed, 31 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/spi/fsl_qspi.c b/drivers/spi/fsl_qspi.c\nindex 1dfa89a..8f0f29e 100644\n--- a/drivers/spi/fsl_qspi.c\n+++ b/drivers/spi/fsl_qspi.c\n@@ -14,6 +14,7 @@\n #include <dm.h>\n #include <errno.h>\n #include <watchdog.h>\n+#include <wait_bit.h>\n #include \"fsl_qspi.h\"\n \n DECLARE_GLOBAL_DATA_PTR;\n@@ -991,7 +992,7 @@ static int fsl_qspi_probe(struct udevice *bus)\n \tstruct fsl_qspi_platdata *plat = dev_get_platdata(bus);\n \tstruct fsl_qspi_priv *priv = dev_get_priv(bus);\n \tstruct dm_spi_bus *dm_spi_bus;\n-\tint i;\n+\tint i, ret;\n \n \tdm_spi_bus = bus->uclass_priv;\n \n@@ -1011,6 +1012,18 @@ static int fsl_qspi_probe(struct udevice *bus)\n \tpriv->flash_num = plat->flash_num;\n \tpriv->num_chipselect = plat->num_chipselect;\n \n+\t/* make sure controller is not busy anywhere */\n+\tret = wait_for_bit(__func__, &priv->regs->sr,\n+\t\t\t   QSPI_SR_BUSY_MASK |\n+\t\t\t   QSPI_SR_AHB_ACC_MASK |\n+\t\t\t   QSPI_SR_IP_ACC_MASK,\n+\t\t\t   false, 1000, false);\n+\n+\tif (ret) {\n+\t\tdebug(\"ERROR : The controller is busy\\n\");\n+\t\treturn ret;\n+\t}\n+\n \tmcr_val = qspi_read32(priv->flags, &priv->regs->mcr);\n \tqspi_write32(priv->flags, &priv->regs->mcr,\n \t\t     QSPI_MCR_RESERVED_MASK | QSPI_MCR_MDIS_MASK |\n@@ -1156,10 +1169,23 @@ static int fsl_qspi_claim_bus(struct udevice *dev)\n \tstruct fsl_qspi_priv *priv;\n \tstruct udevice *bus;\n \tstruct dm_spi_slave_platdata *slave_plat = dev_get_parent_platdata(dev);\n+\tint ret;\n \n \tbus = dev->parent;\n \tpriv = dev_get_priv(bus);\n \n+\t/* make sure controller is not busy anywhere */\n+\tret = wait_for_bit(__func__, &priv->regs->sr,\n+\t\t\t   QSPI_SR_BUSY_MASK |\n+\t\t\t   QSPI_SR_AHB_ACC_MASK |\n+\t\t\t   QSPI_SR_IP_ACC_MASK,\n+\t\t\t   false, 1000, false);\n+\n+\tif (ret) {\n+\t\tdebug(\"ERROR : The controller is busy\\n\");\n+\t\treturn ret;\n+\t}\n+\n \tpriv->cur_amba_base = priv->amba_base[slave_plat->cs];\n \n \tqspi_module_disable(priv, 0);\ndiff --git a/drivers/spi/fsl_qspi.h b/drivers/spi/fsl_qspi.h\nindex 6cb3610..e468eb2 100644\n--- a/drivers/spi/fsl_qspi.h\n+++ b/drivers/spi/fsl_qspi.h\n@@ -105,6 +105,10 @@ struct fsl_qspi_regs {\n #define QSPI_RBCT_RXBRD_SHIFT\t\t8\n #define QSPI_RBCT_RXBRD_USEIPS\t\t(1 << QSPI_RBCT_RXBRD_SHIFT)\n \n+#define QSPI_SR_AHB_ACC_SHIFT\t\t2\n+#define QSPI_SR_AHB_ACC_MASK\t\t(1 << QSPI_SR_AHB_ACC_SHIFT)\n+#define QSPI_SR_IP_ACC_SHIFT\t\t1\n+#define QSPI_SR_IP_ACC_MASK\t\t(1 << QSPI_SR_IP_ACC_SHIFT)\n #define QSPI_SR_BUSY_SHIFT\t\t0\n #define QSPI_SR_BUSY_MASK\t\t(1 << QSPI_SR_BUSY_SHIFT)\n \n",
    "prefixes": [
        "U-Boot",
        "v3"
    ]
}