get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 814713,
    "url": "http://patchwork.ozlabs.org/api/patches/814713/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170917232010.14183-2-f4bug@amsat.org/",
    "project": {
        "id": 14,
        "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api",
        "name": "QEMU Development",
        "link_name": "qemu-devel",
        "list_id": "qemu-devel.nongnu.org",
        "list_email": "qemu-devel@nongnu.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170917232010.14183-2-f4bug@amsat.org>",
    "list_archive_url": null,
    "date": "2017-09-17T23:20:05",
    "name": "[v3,1/6] mips: move hw/mips/cputimer.c to target/mips/",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "e37a3008fe134d8da2a1aabafca1f21f2e9facd4",
    "submitter": {
        "id": 70924,
        "url": "http://patchwork.ozlabs.org/api/people/70924/?format=api",
        "name": "Philippe Mathieu-Daudé",
        "email": "f4bug@amsat.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170917232010.14183-2-f4bug@amsat.org/mbox/",
    "series": [
        {
            "id": 3548,
            "url": "http://patchwork.ozlabs.org/api/series/3548/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=3548",
            "date": "2017-09-17T23:20:04",
            "name": "QOMify MIPS cpu",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/3548/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/814713/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/814713/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"GmhCyRkX\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xwQDT33KBz9s7G\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 18 Sep 2017 09:23:21 +1000 (AEST)",
            "from localhost ([::1]:33968 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dtiuF-0005A6-HW\n\tfor incoming@patchwork.ozlabs.org; Sun, 17 Sep 2017 19:23:19 -0400",
            "from eggs.gnu.org ([2001:4830:134:3::10]:42646)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dtirb-0003KT-ST\n\tfor qemu-devel@nongnu.org; Sun, 17 Sep 2017 19:20:39 -0400",
            "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dtirW-0007Vx-Nq\n\tfor qemu-devel@nongnu.org; Sun, 17 Sep 2017 19:20:35 -0400",
            "from mail-qk0-x241.google.com ([2607:f8b0:400d:c09::241]:36009)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dtirW-0007Vo-JY\n\tfor qemu-devel@nongnu.org; Sun, 17 Sep 2017 19:20:30 -0400",
            "by mail-qk0-x241.google.com with SMTP id i14so4567844qke.3\n\tfor <qemu-devel@nongnu.org>; Sun, 17 Sep 2017 16:20:30 -0700 (PDT)",
            "from yoga.offpageads.com ([181.93.89.178])\n\tby smtp.gmail.com with ESMTPSA id\n\tz75sm4132114qkb.71.2017.09.17.16.20.26\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 17 Sep 2017 16:20:29 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=0ooTVwaQg+SzMjVrplQeDk1G3KYqhjMDq9cGiQZux1s=;\n\tb=GmhCyRkXa8K/69nBrUbI2z4DRBD5GV/Ftklf/KsYOicFxzcwv64SEYW8vCeJ8FlijO\n\tj04ZJJkyRCRjpgaAUM6NAem9NGGtBygZmNQZmQjTPI+CjTbrq2AjuLkI8xz+MSSPZ+UN\n\tsLx4Gwp/xCwfWQ/lkqlbswzGYBKE3yVuz6YT8262GodwF6DlR4CAd5S2iSd3ZlvoV198\n\t99KiR+bqaTqPCRM9Ec8pyBD9vEgPC2uM6mdF/wTxWOEqYxnyz8yckOeJY5xNM/WgS1n4\n\t0lAkuwdNNcBdNSpy5n8oJSWhlu0qgmZJwpu2mZznQknf9mVJRub7pYt/yEwDcMiz5re3\n\tNwrw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references:mime-version:content-transfer-encoding;\n\tbh=0ooTVwaQg+SzMjVrplQeDk1G3KYqhjMDq9cGiQZux1s=;\n\tb=ZdhrqXDviM/EMqVbCi1mEF9hjpBycefFqBCZ9wx0oaaxv6/5kXoyeq/zHRPktUEHQ7\n\tEwgG4hou9RW5eKqC9AK6LlATIVRtb1wiOWP0HPo8Txh6Ho3Dy5Doeu3mcRrUAR180Mgn\n\tAXCIgbV8huiqC0fRYQgfz8YQ0Tgf5buPhJybC2qz7xy+OMKpiy7mB6GkaletPfWDdn0W\n\tea99wWww9/9JHFXuc6T+c3t09MFza8T3XVsl9g9IZWq9VEqAlJjb2ZSDC2yNFU8+b0Ba\n\t4TUNbe1hY/9MIh6qcqQbOGX60Eub/Xa1MdUFmkuoC7qPpgLpWBynElecKL8abcjy1sex\n\tv1FA==",
        "X-Gm-Message-State": "AHPjjUh/AN2bVKDRAPGWFj4kbUiohGAEdY4O3+VfRQn44byQdvmzuR7g\n\tyIBqWCYodS/bxQ==",
        "X-Google-Smtp-Source": "AOwi7QDceXLLDOrvinUH+mOvtv3ZpEGWhx8tdNcHw0nNNbPW7LrdxRhDNGurS6/tpClqrNN7EHIgbQ==",
        "X-Received": "by 10.55.96.69 with SMTP id u66mr18409515qkb.18.1505690430150;\n\tSun, 17 Sep 2017 16:20:30 -0700 (PDT)",
        "From": "=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org>",
        "To": "Igor Mammedov <imammedo@redhat.com>,\n\tEduardo Habkost <ehabkost@redhat.com>, \n\tAurelien Jarno <aurelien@aurel32.net>,\n\tYongbok Kim <yongbok.kim@imgtec.com>,\n\tMarcel Apfelbaum <marcel@redhat.com>",
        "Date": "Sun, 17 Sep 2017 20:20:05 -0300",
        "Message-Id": "<20170917232010.14183-2-f4bug@amsat.org>",
        "X-Mailer": "git-send-email 2.14.1",
        "In-Reply-To": "<20170917232010.14183-1-f4bug@amsat.org>",
        "References": "<20170917232010.14183-1-f4bug@amsat.org>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-detected-operating-system": "by eggs.gnu.org: Genre and OS details not\n\trecognized.",
        "X-Received-From": "2607:f8b0:400d:c09::241",
        "Subject": "[Qemu-devel] [PATCH v3 1/6] mips: move hw/mips/cputimer.c to\n\ttarget/mips/",
        "X-BeenThere": "qemu-devel@nongnu.org",
        "X-Mailman-Version": "2.1.21",
        "Precedence": "list",
        "List-Id": "<qemu-devel.nongnu.org>",
        "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.nongnu.org/archive/html/qemu-devel/>",
        "List-Post": "<mailto:qemu-devel@nongnu.org>",
        "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>",
        "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>",
        "Cc": "Thomas Huth <thuth@redhat.com>, James Hogan <james.hogan@imgtec.com>,\n\t=?utf-8?q?Herv=C3=A9_Poussineau?= <hpoussin@reactos.org>,\n\t=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org>,\n\tqemu-devel@nongnu.org",
        "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org",
        "Sender": "\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"
    },
    "content": "This timer is a required part of the MIPS32/MIPS64 System Control coprocessor\n(CP0). Moving it with the other architecture related files will allow an opaque\nuse of CPUMIPSState* in the next commit (introduce \"internal.h\").\n\nalso remove it from 'user' targets, remove an unnecessary include.\n\nSigned-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\nTested-by: Igor Mammedov <imammedo@redhat.com>\nTested-by: James Hogan <james.hogan@imgtec.com>\nAcked-by: Eduardo Habkost <ehabkost@redhat.com>\n---\n hw/mips/cputimer.c => target/mips/cp0_timer.c | 1 -\n hw/mips/Makefile.objs                         | 2 +-\n target/mips/Makefile.objs                     | 2 +-\n 3 files changed, 2 insertions(+), 3 deletions(-)\n rename hw/mips/cputimer.c => target/mips/cp0_timer.c (99%)",
    "diff": "diff --git a/hw/mips/cputimer.c b/target/mips/cp0_timer.c\nsimilarity index 99%\nrename from hw/mips/cputimer.c\nrename to target/mips/cp0_timer.c\nindex 8a166b3ea7..a9a58c5604 100644\n--- a/hw/mips/cputimer.c\n+++ b/target/mips/cp0_timer.c\n@@ -21,7 +21,6 @@\n  */\n \n #include \"qemu/osdep.h\"\n-#include \"hw/hw.h\"\n #include \"hw/mips/cpudevs.h\"\n #include \"qemu/timer.h\"\n #include \"sysemu/kvm.h\"\ndiff --git a/hw/mips/Makefile.objs b/hw/mips/Makefile.objs\nindex 48cd2ef50e..17a311aaba 100644\n--- a/hw/mips/Makefile.objs\n+++ b/hw/mips/Makefile.objs\n@@ -1,5 +1,5 @@\n obj-y += mips_r4k.o mips_malta.o mips_mipssim.o\n-obj-y += addr.o cputimer.o mips_int.o\n+obj-y += addr.o mips_int.o\n obj-$(CONFIG_JAZZ) += mips_jazz.o\n obj-$(CONFIG_FULONG) += mips_fulong2e.o\n obj-y += gt64xxx_pci.o\ndiff --git a/target/mips/Makefile.objs b/target/mips/Makefile.objs\nindex bc5ed8511f..651f36f517 100644\n--- a/target/mips/Makefile.objs\n+++ b/target/mips/Makefile.objs\n@@ -1,4 +1,4 @@\n obj-y += translate.o dsp_helper.o op_helper.o lmi_helper.o helper.o cpu.o\n obj-y += gdbstub.o msa_helper.o mips-semi.o\n-obj-$(CONFIG_SOFTMMU) += machine.o\n+obj-$(CONFIG_SOFTMMU) += machine.o cp0_timer.o\n obj-$(CONFIG_KVM) += kvm.o\n",
    "prefixes": [
        "v3",
        "1/6"
    ]
}