Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/142517/?format=api
{ "id": 142517, "url": "http://patchwork.ozlabs.org/api/patches/142517/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1329934363-6078-1-git-send-email-linz@li-pro.net/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1329934363-6078-1-git-send-email-linz@li-pro.net>", "list_archive_url": null, "date": "2012-02-22T18:12:43", "name": "[U-Boot] microblaze: avoid interrupt race conditions", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "28dcc8063ae2eaf71a067147c58ba7b827e3f33c", "submitter": { "id": 5893, "url": "http://patchwork.ozlabs.org/api/people/5893/?format=api", "name": "Stephan Linz", "email": "linz@li-pro.net" }, "delegate": { "id": 1692, "url": "http://patchwork.ozlabs.org/api/users/1692/?format=api", "username": "monstr", "first_name": "Michal", "last_name": "Simek", "email": "monstr@monstr.eu" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1329934363-6078-1-git-send-email-linz@li-pro.net/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/142517/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/142517/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Received": [ "from theia.denx.de (theia.denx.de [85.214.87.163])\n\tby ozlabs.org (Postfix) with ESMTP id 0490CB6F98\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 23 Feb 2012 05:13:17 +1100 (EST)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 91C1528080;\n\tWed, 22 Feb 2012 19:13:15 +0100 (CET)", "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id p-Qb7tE8o8bY; Wed, 22 Feb 2012 19:13:15 +0100 (CET)", "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 070D92807B;\n\tWed, 22 Feb 2012 19:13:13 +0100 (CET)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id C49142807B\n\tfor <u-boot@lists.denx.de>; Wed, 22 Feb 2012 19:13:10 +0100 (CET)", "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id e41KRVpaylX7 for <u-boot@lists.denx.de>;\n\tWed, 22 Feb 2012 19:13:07 +0100 (CET)", "from mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.160])\n\tby theia.denx.de (Postfix) with ESMTPS id 5F51A28078\n\tfor <u-boot@lists.denx.de>; Wed, 22 Feb 2012 19:13:05 +0100 (CET)", "from localhost.localdomain (i5E86DC12.versanet.de [94.134.220.18])\n\tby smtp.strato.de (fruni mo46) (RZmta 27.7 AUTH)\n\twith ESMTPA id D02eedo1MHtGUP ; Wed, 22 Feb 2012 19:12:45 +0100 (MET)" ], "X-Virus-Scanned": [ "Debian amavisd-new at theia.denx.de", "Debian amavisd-new at theia.denx.de" ], "X-policyd-weight": "NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5\n\tNOT_IN_BL_NJABL=-1.5 (only DNSBL check requested)", "DKIM-Signature": "v=1; a=rsa-sha1; c=relaxed/relaxed; t=1329934384; l=1252;\n\ts=domk; d=li-pro.net;\n\th=Date:Subject:Cc:To:From:X-RZG-CLASS-ID:X-RZG-AUTH;\n\tbh=lj2JnMx+ijSN8jxckKbMiRSEKF4=;\n\tb=TDivM4FYb3LjK67Ykmtqh5dzMmLsONApIJNjKWT3d6C3R3flkdFLWI56qTmFZtV5wj7\n\ta2c23kilbJ9Xz4Ba7kY9xa4ShMtvzyxJSbp7meOfCUMEmgIpcUYrv8KjL4dC/yAQ8x4CE\n\tOJ7nmBFliA+3eNd01MQzVav5VoKOl0KIblE=", "X-RZG-AUTH": ":IGUKb2CkcrLHmZv+FHarxbxlXmJO7WRQLa+vsyW+4B7AQuz+obYqwH60sYs=", "X-RZG-CLASS-ID": "mo00", "From": "Stephan Linz <linz@li-pro.net>", "To": "monstr@monstr.eu", "Date": "Wed, 22 Feb 2012 19:12:43 +0100", "Message-Id": "<1329934363-6078-1-git-send-email-linz@li-pro.net>", "X-Mailer": "git-send-email 1.7.0.4", "Cc": "Stephan Linz <linz@li-pro.net>, u-boot@lists.denx.de", "Subject": "[U-Boot] [PATCH] microblaze: avoid interrupt race conditions", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.11", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<http://lists.denx.de/mailman/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<http://lists.denx.de/pipermail/u-boot>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<http://lists.denx.de/mailman/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "u-boot-bounces@lists.denx.de", "Errors-To": "u-boot-bounces@lists.denx.de" }, "content": "The interrupt acknowledge action have to run after the\nregistered interrupt handler. So we have a chance to\nbear out the corresponding interrupt request in the\ncorresponding controller hardware.\n\nWith this reordering, we optain a proper interrupt\nhandling for level triggered interrupt sources -- for\nexample the new axi_timer v1.02.a introduced in ISE 13.2.\n\nSigned-off-by: Stephan Linz <linz@li-pro.net>\nAcked-by: Michal Simek <monstr@monstr.eu>\n---\n arch/microblaze/cpu/interrupts.c | 4 ++--\n 1 files changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/arch/microblaze/cpu/interrupts.c b/arch/microblaze/cpu/interrupts.c\nindex 5a13211..e7ca859 100644\n--- a/arch/microblaze/cpu/interrupts.c\n+++ b/arch/microblaze/cpu/interrupts.c\n@@ -155,8 +155,6 @@ void interrupt_handler (void)\n #endif\n \tstruct irq_action *act = vecs + irqs;\n \n-\tintc->iar = mask << irqs;\n-\n #ifdef DEBUG_INT\n \tprintf\n \t (\"Jumping to interrupt handler rutine addr %x,count %x,arg %x\\n\",\n@@ -165,6 +163,8 @@ void interrupt_handler (void)\n \tact->handler (act->arg);\n \tact->count++;\n \n+\tintc->iar = mask << irqs;\n+\n #ifdef DEBUG_INT\n \tprintf (\"Dump INTC reg, isr %x, ier %x, iar %x, mer %x\\n\", intc->isr,\n \t\tintc->ier, intc->iar, intc->mer);\n", "prefixes": [ "U-Boot" ] }