get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 817773,
    "url": "http://patchwork.ozlabs.org/api/patches/817773/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170923082656.27219-3-clg@kaod.org/",
    "project": {
        "id": 2,
        "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api",
        "name": "Linux PPC development",
        "link_name": "linuxppc-dev",
        "list_id": "linuxppc-dev.lists.ozlabs.org",
        "list_email": "linuxppc-dev@lists.ozlabs.org",
        "web_url": "https://github.com/linuxppc/wiki/wiki",
        "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git",
        "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/",
        "list_archive_url": "https://lore.kernel.org/linuxppc-dev/",
        "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/",
        "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}"
    },
    "msgid": "<20170923082656.27219-3-clg@kaod.org>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20170923082656.27219-3-clg@kaod.org/",
    "date": "2017-09-23T08:26:56",
    "name": "[2/2] powerpc/xive: fix cpu removal",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "808ace5e759af734a25d8f3aba750ee91ad8d188",
    "submitter": {
        "id": 68548,
        "url": "http://patchwork.ozlabs.org/api/people/68548/?format=api",
        "name": "Cédric Le Goater",
        "email": "clg@kaod.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170923082656.27219-3-clg@kaod.org/mbox/",
    "series": [
        {
            "id": 4746,
            "url": "http://patchwork.ozlabs.org/api/series/4746/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=4746",
            "date": "2017-09-23T08:26:56",
            "name": "powerpc/xive: fix CPU hot unplug",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/4746/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/817773/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/817773/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>",
        "X-Original-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xzkJF1TC8z9t5Y\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat, 23 Sep 2017 18:38:05 +1000 (AEST)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xzkJF0dvqzDsN0\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat, 23 Sep 2017 18:38:05 +1000 (AEST)",
            "from 1.mo179.mail-out.ovh.net (1.mo179.mail-out.ovh.net\n\t[178.33.111.220])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xzkH16GbQzDqR8\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tSat, 23 Sep 2017 18:37:01 +1000 (AEST)",
            "from player794.ha.ovh.net (b6.ovh.net [213.186.33.56])\n\tby mo179.mail-out.ovh.net (Postfix) with ESMTP id E069C64C9D\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tSat, 23 Sep 2017 10:27:47 +0200 (CEST)",
            "from zorba.kaod.org.com\n\t(i15-les03-th2-31-37-69-229.sfr.lns.abo.bbox.fr [31.37.69.229])\n\t(Authenticated sender: clg@kaod.org)\n\tby player794.ha.ovh.net (Postfix) with ESMTPSA id 4FDCC14006B;\n\tSat, 23 Sep 2017 10:27:42 +0200 (CEST)"
        ],
        "Authentication-Results": "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=kaod.org\n\t(client-ip=178.33.111.220; helo=1.mo179.mail-out.ovh.net;\n\tenvelope-from=clg@kaod.org; receiver=<UNKNOWN>)",
        "X-Greylist": "delayed 551 seconds by postgrey-1.36 at bilbo;\n\tSat, 23 Sep 2017 18:37:01 AEST",
        "From": "=?utf-8?q?C=C3=A9dric_Le_Goater?= <clg@kaod.org>",
        "To": "linuxppc-dev@lists.ozlabs.org",
        "Subject": "[PATCH 2/2] powerpc/xive: fix cpu removal",
        "Date": "Sat, 23 Sep 2017 10:26:56 +0200",
        "Message-Id": "<20170923082656.27219-3-clg@kaod.org>",
        "X-Mailer": "git-send-email 2.13.5",
        "In-Reply-To": "<20170923082656.27219-1-clg@kaod.org>",
        "References": "<20170923082656.27219-1-clg@kaod.org>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-Ovh-Tracer-Id": "1946399467966729149",
        "X-VR-SPAMSTATE": "OK",
        "X-VR-SPAMSCORE": "-100",
        "X-VR-SPAMCAUSE": "gggruggvucftvghtrhhoucdtuddrfeelledrieeigddthecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd",
        "X-BeenThere": "linuxppc-dev@lists.ozlabs.org",
        "X-Mailman-Version": "2.1.24",
        "Precedence": "list",
        "List-Id": "Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>",
        "List-Unsubscribe": "<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.ozlabs.org/pipermail/linuxppc-dev/>",
        "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>",
        "List-Subscribe": "<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>",
        "Cc": "David Gibson <david@gibson.dropbear.id.au>, =?utf-8?q?C=C3=A9dric_Le_G?=\n\t=?utf-8?q?oater?= <clg@kaod.org>",
        "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org",
        "Sender": "\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"
    },
    "content": "When a CPU is hot unplugged, the IPI interrupt source should be\ndeconfigured and the event queue cleared.\n\nSigned-off-by: Cédric Le Goater <clg@kaod.org>\n---\n arch/powerpc/sysdev/xive/common.c | 8 ++++++++\n 1 file changed, 8 insertions(+)",
    "diff": "diff --git a/arch/powerpc/sysdev/xive/common.c b/arch/powerpc/sysdev/xive/common.c\nindex 1c087ed7427f..b9440ac7a3c1 100644\n--- a/arch/powerpc/sysdev/xive/common.c\n+++ b/arch/powerpc/sysdev/xive/common.c\n@@ -1398,6 +1398,14 @@ void xive_teardown_cpu(void)\n \n \tif (xive_ops->teardown_cpu)\n \t\txive_ops->teardown_cpu(cpu, xc);\n+\n+#ifdef CONFIG_SMP\n+\t/* Get rid of IPI */\n+\txive_cleanup_cpu_ipi(cpu, xc);\n+#endif\n+\n+\t/* Disable and free the queues */\n+\txive_cleanup_cpu_queues(cpu, xc);\n }\n \n void xive_kexec_teardown_cpu(int secondary)\n",
    "prefixes": [
        "2/2"
    ]
}