Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1116/?format=api
{ "id": 1116, "url": "http://patchwork.ozlabs.org/api/patches/1116/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/200809231743.23828.ossthema@de.ibm.com/", "project": { "id": 7, "url": "http://patchwork.ozlabs.org/api/projects/7/?format=api", "name": "Linux network development", "link_name": "netdev", "list_id": "netdev.vger.kernel.org", "list_email": "netdev@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<200809231743.23828.ossthema@de.ibm.com>", "list_archive_url": null, "date": "2008-09-23T15:43:23", "name": "[HACK] powerpc: quick hack to get a functional eHEA with hardirq preemption, eHCA is close", "commit_ref": null, "pull_url": null, "state": "deferred", "archived": true, "hash": "0eaa85da1c144d80c6f92473f608d43acc5374fd", "submitter": { "id": 448, "url": "http://patchwork.ozlabs.org/api/people/448/?format=api", "name": "Jan-Bernd Themann", "email": "ossthema@de.ibm.com" }, "delegate": { "id": 36, "url": "http://patchwork.ozlabs.org/api/users/36/?format=api", "username": "jgarzik", "first_name": "Jeff", "last_name": "Garzik", "email": "jgarzik@pobox.com" }, "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/200809231743.23828.ossthema@de.ibm.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/1116/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1116/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<netdev-owner@vger.kernel.org>", "X-Original-To": "patchwork-incoming@ozlabs.org", "Delivered-To": "patchwork-incoming@ozlabs.org", "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.176.167])\n\tby ozlabs.org (Postfix) with ESMTP id 84D17DE6A1\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 24 Sep 2008 01:44:09 +1000 (EST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751700AbYIWPoB (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tTue, 23 Sep 2008 11:44:01 -0400", "(majordomo@vger.kernel.org) by vger.kernel.org id S1751459AbYIWPoA\n\t(ORCPT <rfc822; netdev-outgoing>); Tue, 23 Sep 2008 11:44:00 -0400", "from mtagate4.de.ibm.com ([195.212.29.153]:36737 \"EHLO\n\tmtagate4.de.ibm.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751438AbYIWPn7 (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Tue, 23 Sep 2008 11:43:59 -0400", "from d12nrmr1607.megacenter.de.ibm.com\n\t(d12nrmr1607.megacenter.de.ibm.com [9.149.167.49])\n\tby mtagate4.de.ibm.com (8.13.8/8.13.8) with ESMTP id m8NFhjQw288728; \n\tTue, 23 Sep 2008 15:43:45 GMT", "from d12av01.megacenter.de.ibm.com (d12av01.megacenter.de.ibm.com\n\t[9.149.165.212])\n\tby d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v9.1) with\n\tESMTP id m8NFhj0A3678316; Tue, 23 Sep 2008 17:43:45 +0200", "from d12av01.megacenter.de.ibm.com (loopback [127.0.0.1])\n\tby d12av01.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP\n\tid m8NFhfoW016737; Tue, 23 Sep 2008 17:43:42 +0200", "from dyn-9-152-217-53.boeblingen.de.ibm.com\n\t(dyn-9-152-217-53.boeblingen.de.ibm.com [9.152.217.53])\n\tby d12av01.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with\n\tESMTP id m8NFhf4R016228; Tue, 23 Sep 2008 17:43:41 +0200" ], "From": "Jan-Bernd Themann <ossthema@de.ibm.com>", "To": "Sebastien Dugue <sebastien.dugue@bull.net>", "Subject": "Re: [PATCH HACK] powerpc: quick hack to get a functional eHEA with\n\thardirq preemption, eHCA is close", "Date": "Tue, 23 Sep 2008 17:43:23 +0200", "User-Agent": "KMail/1.8.2", "Cc": "Christoph Raisch <RAISCH@de.ibm.com>,\n\tBenjamin Herrenschmidt <bherren@au1.ibm.com>,\n\tgilles.carry@ext.bull.net, Jan-Bernd Themann <THEMANN@de.ibm.com>,\n\tjean-pierre.dion@bull.net, linux-kernel <linux-kernel@vger.kernel.org>,\n\tLinux-rt <linux-rt-users@vger.kernel.org>,\n\tlinux-ppc <linuxppc-dev@ozlabs.org>, netdev@vger.kernel.org,\n\tThomas Q Klein <TKLEIN@de.ibm.com>, tinytim@us.ibm.com,\n\tHoang-Nam Nguyen <HNGUYEN@de.ibm.com>", "References": "<20080915100406.342e027a@bull.net>\n\t<OFD7842B7A.ADC47EED-ONC12574C8.003A2CB3-C12574C8.003AC948@de.ibm.com>\n\t<20080918143146.77db81d5@bull.net>", "In-Reply-To": "<20080918143146.77db81d5@bull.net>", "MIME-Version": "1.0", "Content-Type": "text/plain;\n charset=\"iso-8859-1\"", "Content-Transfer-Encoding": "7bit", "Content-Disposition": "inline", "Message-Id": "<200809231743.23828.ossthema@de.ibm.com>", "Sender": "netdev-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netdev.vger.kernel.org>", "X-Mailing-List": "netdev@vger.kernel.org" }, "content": "Hi,\n\nI think these are the \"functional\" changes that need to be included in\nthe ibmebus driver. We'll add a RT flag in the final version to enable\nthese changes only for RT-Linux for now. \nBen, can you / your team look into the implementation\nof the set_irq_type functionality needed for XICS?\n\nRegards,\nJan-Bernd & Christoph\n\n\n\n--\nTo unsubscribe from this list: send the line \"unsubscribe netdev\" in\nthe body of a message to majordomo@vger.kernel.org\nMore majordomo info at http://vger.kernel.org/majordomo-info.html", "diff": "diff -Nurp b/arch/powerpc/kernel/ibmebus.c a/arch/powerpc/kernel/ibmebus.c\n--- b/arch/powerpc/kernel/ibmebus.c\t2008-09-22 00:29:55.000000000 +0200\n+++ a/arch/powerpc/kernel/ibmebus.c\t2008-09-23 12:04:53.000000000 +0200\n@@ -216,12 +216,16 @@ int ibmebus_request_irq(u32 ist, irq_han\n \t\t\tunsigned long irq_flags, const char *devname,\n \t\t\tvoid *dev_id)\n {\n+\tint ret;\n \tunsigned int irq = irq_create_mapping(NULL, ist);\n \n \tif (irq == NO_IRQ)\n \t\treturn -EINVAL;\n \n-\treturn request_irq(irq, handler, irq_flags, devname, dev_id);\n+\tret = request_irq(irq, handler, irq_flags, devname, dev_id);\n+\tset_irq_type(irq, IRQ_TYPE_EDGE_RISING);\n+\n+\treturn ret;\n }\n EXPORT_SYMBOL(ibmebus_request_irq);\n \n", "prefixes": [ "HACK" ] }