Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/800599/?format=api
{ "id": 800599, "url": "http://patchwork.ozlabs.org/api/1.2/patches/800599/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170811142341.22715-9-clg@kaod.org/", "project": { "id": 2, "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20170811142341.22715-9-clg@kaod.org>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20170811142341.22715-9-clg@kaod.org/", "date": "2017-08-11T14:23:41", "name": "[v2,8/8] powerpc/xive: improve debugging macros", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "9225bdf66ed7ae9b72c6e67293f687c9d3d76124", "submitter": { "id": 68548, "url": "http://patchwork.ozlabs.org/api/1.2/people/68548/?format=api", "name": "Cédric Le Goater", "email": "clg@kaod.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170811142341.22715-9-clg@kaod.org/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/800599/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/800599/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 3xTSWv3pT4z9sRq\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat, 12 Aug 2017 00:47:07 +1000 (AEST)", "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xTSWv2zNBzDrJ3\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat, 12 Aug 2017 00:47:07 +1000 (AEST)", "from 16.mo4.mail-out.ovh.net (16.mo4.mail-out.ovh.net\n\t[188.165.55.104])\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 3xTSPF1rk0zDr0Y\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tSat, 12 Aug 2017 00:41:21 +1000 (AEST)", "from player772.ha.ovh.net (b6.ovh.net [213.186.33.56])\n\tby mo4.mail-out.ovh.net (Postfix) with ESMTP id CF1BD8C9C9\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tFri, 11 Aug 2017 16:24:53 +0200 (CEST)", "from zorba.kaod.org.com (LFbn-1-10652-153.w90-89.abo.wanadoo.fr\n\t[90.89.238.153]) (Authenticated sender: clg@kaod.org)\n\tby player772.ha.ovh.net (Postfix) with ESMTPSA id B04A0740070;\n\tFri, 11 Aug 2017 16:24:47 +0200 (CEST)" ], "X-Greylist": "delayed 612 seconds by postgrey-1.36 at bilbo;\n\tSat, 12 Aug 2017 00:41:21 AEST", "From": "=?UTF-8?q?C=C3=A9dric=20Le=20Goater?= <clg@kaod.org>", "To": "linuxppc-dev@lists.ozlabs.org", "Subject": "[PATCH v2 8/8] powerpc/xive: improve debugging macros", "Date": "Fri, 11 Aug 2017 16:23:41 +0200", "Message-Id": "<20170811142341.22715-9-clg@kaod.org>", "X-Mailer": "git-send-email 2.13.4", "In-Reply-To": "<20170811142341.22715-1-clg@kaod.org>", "References": "<20170811142341.22715-1-clg@kaod.org>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "X-Ovh-Tracer-Id": "13705861044924746685", "X-VR-SPAMSTATE": "OK", "X-VR-SPAMSCORE": "-100", "X-VR-SPAMCAUSE": "gggruggvucftvghtrhhoucdtuddrfeelkedrkeelgdejiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd", "X-BeenThere": "linuxppc-dev@lists.ozlabs.org", "X-Mailman-Version": "2.1.23", "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>,\n\tPaul Mackerras <paulus@samba.org>,\n\t=?UTF-8?q?C=C3=A9dric=20Le=20Goater?= <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": "Having the CPU identifier in the debug logs is helpful when tracking\nissues. Also add some more logging and fix a compile issue in\nxive_do_source_eoi().\n\nSigned-off-by: Cédric Le Goater <clg@kaod.org>\n---\n arch/powerpc/sysdev/xive/common.c | 8 ++++++--\n 1 file changed, 6 insertions(+), 2 deletions(-)", "diff": "diff --git a/arch/powerpc/sysdev/xive/common.c b/arch/powerpc/sysdev/xive/common.c\nindex 8fd58773c241..1c087ed7427f 100644\n--- a/arch/powerpc/sysdev/xive/common.c\n+++ b/arch/powerpc/sysdev/xive/common.c\n@@ -40,7 +40,8 @@\n #undef DEBUG_ALL\n \n #ifdef DEBUG_ALL\n-#define DBG_VERBOSE(fmt...)\tpr_devel(fmt)\n+#define DBG_VERBOSE(fmt, ...)\tpr_devel(\"cpu %d - \" fmt, \\\n+\t\t\t\t\t smp_processor_id(), ## __VA_ARGS__)\n #else\n #define DBG_VERBOSE(fmt...)\tdo { } while(0)\n #endif\n@@ -344,7 +345,7 @@ void xive_do_source_eoi(u32 hw_irq, struct xive_irq_data *xd)\n \t\t\txive_esb_read(xd, XIVE_ESB_LOAD_EOI);\n \t\telse {\n \t\t\teoi_val = xive_esb_read(xd, XIVE_ESB_SET_PQ_00);\n-\t\t\tDBG_VERBOSE(\"eoi_val=%x\\n\", offset, eoi_val);\n+\t\t\tDBG_VERBOSE(\"eoi_val=%x\\n\", eoi_val);\n \n \t\t\t/* Re-trigger if needed */\n \t\t\tif ((eoi_val & XIVE_ESB_VAL_Q) && xd->trig_mmio)\n@@ -1004,6 +1005,9 @@ static void xive_ipi_eoi(struct irq_data *d)\n {\n \tstruct xive_cpu *xc = __this_cpu_read(xive_cpu);\n \n+\tDBG_VERBOSE(\"IPI eoi: irq=%d [0x%lx] (HW IRQ 0x%x) pending=%02x\\n\",\n+\t\t d->irq, irqd_to_hwirq(d), xc->hw_ipi, xc->pending_prio);\n+\n \t/* Handle possible race with unplug and drop stale IPIs */\n \tif (!xc)\n \t\treturn;\n", "prefixes": [ "v2", "8/8" ] }