Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/817779/?format=api
{ "id": 817779, "url": "http://patchwork.ozlabs.org/api/patches/817779/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170923082656.27219-2-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-2-clg@kaod.org>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20170923082656.27219-2-clg@kaod.org/", "date": "2017-09-23T08:26:55", "name": "[1/2] powerpc/xive: fix IPI reset", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "927dc1909a7a27687098dba629f854c970cf2820", "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-2-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/817779/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/817779/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 [103.22.144.68])\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 3xzkXr3KHBz9t5b\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat, 23 Sep 2017 18:49:00 +1000 (AEST)", "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xzkXr1thkzDsPC\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat, 23 Sep 2017 18:49:00 +1000 (AEST)", "from 7.mo179.mail-out.ovh.net (7.mo179.mail-out.ovh.net\n\t[46.105.61.94])\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 3xzkVQ0SBKzDqTc\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tSat, 23 Sep 2017 18:46:52 +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 44C6064397\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tSat, 23 Sep 2017 10:27:42 +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 A98D8140084;\n\tSat, 23 Sep 2017 10:27:36 +0200 (CEST)" ], "Authentication-Results": "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=kaod.org\n\t(client-ip=46.105.61.94; helo=7.mo179.mail-out.ovh.net;\n\tenvelope-from=clg@kaod.org; receiver=<UNKNOWN>)", "From": "=?utf-8?q?C=C3=A9dric_Le_Goater?= <clg@kaod.org>", "To": "linuxppc-dev@lists.ozlabs.org", "Subject": "[PATCH 1/2] powerpc/xive: fix IPI reset", "Date": "Sat, 23 Sep 2017 10:26:55 +0200", "Message-Id": "<20170923082656.27219-2-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": "1944992089779571645", "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 resetting an IPI, hw_ipi should also be set to zero.\n\nSigned-off-by: Cédric Le Goater <clg@kaod.org>\n---\n arch/powerpc/sysdev/xive/spapr.c | 4 ++++\n 1 file changed, 4 insertions(+)", "diff": "diff --git a/arch/powerpc/sysdev/xive/spapr.c b/arch/powerpc/sysdev/xive/spapr.c\nindex f24a70bc6855..d9c4c9366049 100644\n--- a/arch/powerpc/sysdev/xive/spapr.c\n+++ b/arch/powerpc/sysdev/xive/spapr.c\n@@ -431,7 +431,11 @@ static int xive_spapr_get_ipi(unsigned int cpu, struct xive_cpu *xc)\n \n static void xive_spapr_put_ipi(unsigned int cpu, struct xive_cpu *xc)\n {\n+\tif (!xc->hw_ipi)\n+\t\treturn;\n+\n \txive_irq_bitmap_free(xc->hw_ipi);\n+\txc->hw_ipi = 0;\n }\n #endif /* CONFIG_SMP */\n \n", "prefixes": [ "1/2" ] }