get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 810754,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/810754/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-arc/patch/20170906182108.16765-1-Eugeniy.Paltsev@synopsys.com/",
    "project": {
        "id": 48,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/48/?format=api",
        "name": "Linux ARC development",
        "link_name": "linux-arc",
        "list_id": "linux-snps-arc.lists.infradead.org",
        "list_email": "linux-snps-arc@lists.infradead.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170906182108.16765-1-Eugeniy.Paltsev@synopsys.com>",
    "list_archive_url": null,
    "date": "2017-09-06T18:21:08",
    "name": "ARC: AXS10x: Add temporary quirk to reset ethernet IP",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "d9a6b85bdb03c35d250251f181d68e78a8aa1ce0",
    "submitter": {
        "id": 69220,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/69220/?format=api",
        "name": "Eugeniy Paltsev",
        "email": "Eugeniy.Paltsev@synopsys.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-arc/patch/20170906182108.16765-1-Eugeniy.Paltsev@synopsys.com/mbox/",
    "series": [
        {
            "id": 1864,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/1864/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-arc/list/?series=1864",
            "date": "2017-09-06T18:21:08",
            "name": "ARC: AXS10x: Add temporary quirk to reset ethernet IP",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1864/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/810754/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/810754/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"BeTWLCeI\"; \n\tdkim-atps=neutral"
        ],
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xnX3Q5297z9sRY\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  7 Sep 2017 04:21:38 +1000 (AEST)",
            "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dpexF-0003Ad-CN; Wed, 06 Sep 2017 18:21:37 +0000",
            "from us01smtprelay-2.synopsys.com ([198.182.47.9]\n\thelo=smtprelay.synopsys.com)\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dpexC-00038Y-T3 for linux-snps-arc@lists.infradead.org;\n\tWed, 06 Sep 2017 18:21:36 +0000",
            "from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239])\n\tby smtprelay.synopsys.com (Postfix) with ESMTP id C04CC24E1084;\n\tWed,  6 Sep 2017 11:21:12 -0700 (PDT)",
            "from mailhost.synopsys.com (localhost [127.0.0.1])\n\tby mailhost.synopsys.com (Postfix) with ESMTP id AB6AE5B3;\n\tWed,  6 Sep 2017 11:21:12 -0700 (PDT)",
            "from localhost.internal.synopsys.com (unknown [10.121.8.106])\n\tby mailhost.synopsys.com (Postfix) with ESMTP id 3347C586;\n\tWed,  6 Sep 2017 11:21:11 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:\n\tList-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:\n\tSubject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:\n\tResent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:\n\tReferences:List-Owner; bh=jZVpv+pTwS+ukZRGgv0q2sEw+INIOobrcN0L69DBe5U=;\n\tb=BeT\n\tWLCeI2E9Sm51iwZyLM6WggSHjkGl1bwz+y+Ys1TYbV+parX+bzsi22jkFfhksRQgqSJFtoNONY1sd\n\thUxzVJgcISE4JoHkAp7MWCyhAYxTGwcNApX7kh9BM3R1A7HP/lg72DLs5ZVw2O9XJ9EGa59jQ1QdY\n\tC2s4/n1poXj2fUUeKcMO9SPbXSQus8hfuxP+AwSobeH0BXi8Cq5jZePFRnUEMbWEBcluTwnGocttc\n\tUJR4gVQOQ40Edn8cXYejkQudnLJ7UqBYIc9TE9D/9WdrnG4rDrBf5NAL+58Bnm5/GRNMjREM5J6Ni\n\t9agEWesf6jYF/sHjCwrN2uHwB3vMpUg==;",
        "From": "Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>",
        "To": "linux-snps-arc@lists.infradead.org",
        "Subject": "[PATCH] ARC: AXS10x: Add temporary quirk to reset ethernet IP",
        "Date": "Wed,  6 Sep 2017 21:21:08 +0300",
        "Message-Id": "<20170906182108.16765-1-Eugeniy.Paltsev@synopsys.com>",
        "X-Mailer": "git-send-email 2.9.3",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20170906_112134_949910_251741B0 ",
        "X-CRM114-Status": "UNSURE (   5.92  )",
        "X-CRM114-Notice": "Please train this message.",
        "X-Spam-Score": "-1.9 (-)",
        "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-1.9 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno trust [198.182.47.9 listed in list.dnswl.org]\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]",
        "X-BeenThere": "linux-snps-arc@lists.infradead.org",
        "X-Mailman-Version": "2.1.21",
        "Precedence": "list",
        "List-Id": "Linux on Synopsys ARC Processors\n\t<linux-snps-arc.lists.infradead.org>",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-snps-arc>, \n\t<mailto:linux-snps-arc-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/linux-snps-arc/>",
        "List-Post": "<mailto:linux-snps-arc@lists.infradead.org>",
        "List-Help": "<mailto:linux-snps-arc-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-snps-arc>, \n\t<mailto:linux-snps-arc-request@lists.infradead.org?subject=subscribe>",
        "Cc": "Vineet Gupta <Vineet.Gupta1@synopsys.com>,\n\tAlexey Brodkin <Alexey.Brodkin@synopsys.com>,\n\tEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>,\n\tlinux-kernel@vger.kernel.org",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "\"linux-snps-arc\" <linux-snps-arc-bounces@lists.infradead.org>",
        "Errors-To": "linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "DW ethernet controller on AXS10x hangs sometimes after SW reset, so\nadd temporary quirk to reset DW ethernet controller IP core.\nThis quirk can be removed after axs10x reset driver\n(see http://patchwork.ozlabs.org/patch/800273/)\nor simple reset driver\n(see https://patchwork.kernel.org/patch/9903375/)\nwill be available in upstream.\n\nSigned-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>\n---\n arch/arc/plat-axs10x/axs10x.c | 7 +++++++\n 1 file changed, 7 insertions(+)",
    "diff": "diff --git a/arch/arc/plat-axs10x/axs10x.c b/arch/arc/plat-axs10x/axs10x.c\nindex f1ac679..cf14ebc 100644\n--- a/arch/arc/plat-axs10x/axs10x.c\n+++ b/arch/arc/plat-axs10x/axs10x.c\n@@ -111,6 +111,13 @@ static void __init axs10x_early_init(void)\n \n \taxs10x_enable_gpio_intc_wire();\n \n+\t/*\n+\t * Reset ethernet IP core.\n+\t * TODO: get rid of this quirk after axs10x reset driver (or simple\n+\t * reset driver) will be available in upstream.\n+\t */\n+\tiowrite32((1 << 5), (void __iomem *) CREG_MB_SW_RESET);\n+\n \tscnprintf(mb, 32, \"MainBoard v%d\", mb_rev);\n \taxs10x_print_board_ver(CREG_MB_VER, mb);\n }\n",
    "prefixes": []
}