Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/807888/?format=api
{ "id": 807888, "url": "http://patchwork.ozlabs.org/api/patches/807888/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170830194617.26621-5-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": "<20170830194617.26621-5-clg@kaod.org>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20170830194617.26621-5-clg@kaod.org/", "date": "2017-08-30T19:46:13", "name": "[v3,4/8] powerpc/xive: introduce xive_esb_write()", "commit_ref": "99f122573e76376088019d7c3a44744e62db9415", "pull_url": null, "state": "accepted", "archived": false, "hash": "4bca1b76572890b123ec916f67b8469383f909a1", "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/20170830194617.26621-5-clg@kaod.org/mbox/", "series": [ { "id": 695, "url": "http://patchwork.ozlabs.org/api/series/695/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=695", "date": "2017-08-30T19:46:17", "name": "guest exploitation of the XIVE interrupt controller", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/695/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/807888/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/807888/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 3xjH9h5JpYz9sNw\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 31 Aug 2017 06:27:20 +1000 (AEST)", "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xjH9h4PR8zDqVg\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 31 Aug 2017 06:27:20 +1000 (AEST)", "from 4.mo68.mail-out.ovh.net (4.mo68.mail-out.ovh.net\n\t[46.105.59.63])\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 3xjH8T12lRzDqNc\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tThu, 31 Aug 2017 06:26:17 +1000 (AEST)", "from player776.ha.ovh.net (b6.ovh.net [213.186.33.56])\n\tby mo68.mail-out.ovh.net (Postfix) with ESMTP id 4A1C97AF15\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tWed, 30 Aug 2017 21:46:58 +0200 (CEST)", "from zorba.kaod.org.com (LFbn-1-2231-173.w90-76.abo.wanadoo.fr\n\t[90.76.52.173]) (Authenticated sender: clg@kaod.org)\n\tby player776.ha.ovh.net (Postfix) with ESMTPSA id 1C67240006E;\n\tWed, 30 Aug 2017 21:46:52 +0200 (CEST)" ], "From": "=?utf-8?q?C=C3=A9dric_Le_Goater?= <clg@kaod.org>", "To": "linuxppc-dev@lists.ozlabs.org", "Subject": "[PATCH v3 4/8] powerpc/xive: introduce xive_esb_write()", "Date": "Wed, 30 Aug 2017 21:46:13 +0200", "Message-Id": "<20170830194617.26621-5-clg@kaod.org>", "X-Mailer": "git-send-email 2.13.5", "In-Reply-To": "<20170830194617.26621-1-clg@kaod.org>", "References": "<20170830194617.26621-1-clg@kaod.org>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "X-Ovh-Tracer-Id": "1599340820796050365", "X-VR-SPAMSTATE": "OK", "X-VR-SPAMSCORE": "-100", "X-VR-SPAMCAUSE": "gggruggvucftvghtrhhoucdtuddrfeelledrudeigddugedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddm", "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>, Paul Mackerras\n\t<paulus@samba.org>, =?utf-8?q?C=C3=A9dric_Le_Goater?= <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": "Some source support MMIO stores on the ESB page to perform EOI. Let's\nintroduce a specific routine for this case even if this should be the\nonly use of it.\n\nSigned-off-by: Cédric Le Goater <clg@kaod.org>\nReviewed-by: David Gibson <david@gibson.dropbear.id.au>\n---\n arch/powerpc/sysdev/xive/common.c | 11 ++++++++++-\n 1 file changed, 10 insertions(+), 1 deletion(-)", "diff": "diff --git a/arch/powerpc/sysdev/xive/common.c b/arch/powerpc/sysdev/xive/common.c\nindex 8a58662ed793..ac5f18a66742 100644\n--- a/arch/powerpc/sysdev/xive/common.c\n+++ b/arch/powerpc/sysdev/xive/common.c\n@@ -203,6 +203,15 @@ static u8 xive_esb_read(struct xive_irq_data *xd, u32 offset)\n \treturn (u8)val;\n }\n \n+static void xive_esb_write(struct xive_irq_data *xd, u32 offset, u64 data)\n+{\n+\t/* Handle HW errata */\n+\tif (xd->flags & XIVE_IRQ_FLAG_SHIFT_BUG)\n+\t\toffset |= offset << 4;\n+\n+\tout_be64(xd->eoi_mmio + offset, data);\n+}\n+\n #ifdef CONFIG_XMON\n static void xive_dump_eq(const char *name, struct xive_q *q)\n {\n@@ -297,7 +306,7 @@ void xive_do_source_eoi(u32 hw_irq, struct xive_irq_data *xd)\n {\n \t/* If the XIVE supports the new \"store EOI facility, use it */\n \tif (xd->flags & XIVE_IRQ_FLAG_STORE_EOI)\n-\t\tout_be64(xd->eoi_mmio + XIVE_ESB_STORE_EOI, 0);\n+\t\txive_esb_write(xd, XIVE_ESB_STORE_EOI, 0);\n \telse if (hw_irq && xd->flags & XIVE_IRQ_FLAG_EOI_FW) {\n \t\t/*\n \t\t * The FW told us to call it. This happens for some\n", "prefixes": [ "v3", "4/8" ] }