Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/109616/?format=api
{ "id": 109616, "url": "http://patchwork.ozlabs.org/api/patches/109616/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1313073345-29773-4-git-send-email-aneesh@ti.com/", "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": "<1313073345-29773-4-git-send-email-aneesh@ti.com>", "list_archive_url": null, "date": "2011-08-11T14:35:44", "name": "[U-Boot,v3,3/4] armv7: stronger barrier for cache-maintenance operations", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "128ed515f9c67df9be2dd821839d18813b5b6ee3", "submitter": { "id": 6298, "url": "http://patchwork.ozlabs.org/api/people/6298/?format=api", "name": "Aneesh V", "email": "aneesh@ti.com" }, "delegate": { "id": 1694, "url": "http://patchwork.ozlabs.org/api/users/1694/?format=api", "username": "aaribaud", "first_name": "Albert", "last_name": "ARIBAUD", "email": "albert.aribaud@free.fr" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1313073345-29773-4-git-send-email-aneesh@ti.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/109616/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/109616/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 98780B6F8E\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 12 Aug 2011 00:40:54 +1000 (EST)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id A9EB5281BC;\n\tThu, 11 Aug 2011 16:40:52 +0200 (CEST)", "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 fk960WIakeW3; Thu, 11 Aug 2011 16:40:52 +0200 (CEST)", "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id EEFC0281B9;\n\tThu, 11 Aug 2011 16:40:49 +0200 (CEST)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 1E10E281BE\n\tfor <u-boot@lists.denx.de>; Thu, 11 Aug 2011 16:40:48 +0200 (CEST)", "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 wMlveuLQrLBQ for <u-boot@lists.denx.de>;\n\tThu, 11 Aug 2011 16:40:47 +0200 (CEST)", "from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41])\n\tby theia.denx.de (Postfix) with ESMTPS id B79DD2819B\n\tfor <u-boot@lists.denx.de>; Thu, 11 Aug 2011 16:40:45 +0200 (CEST)", "from dbdp20.itg.ti.com ([172.24.170.38])\n\tby bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id p7BEeXTI026888\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);\n\tThu, 11 Aug 2011 09:40:35 -0500", "from dbde70.ent.ti.com (localhost [127.0.0.1])\n\tby dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id p7BEeVvP027041;\n\tThu, 11 Aug 2011 20:10:32 +0530 (IST)", "from dbdp31.itg.ti.com (172.24.170.98) by DBDE70.ent.ti.com\n\t(172.24.170.148) with Microsoft SMTP Server id 8.3.106.1;\n\tThu, 11 Aug 2011 20:10:31 +0530", "from localhost (a0393566pc.apr.dhcp.ti.com [172.24.137.55])\tby\n\tdbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id p7BEeVb4016167;\n\tThu, 11 Aug 2011 20:10:31 +0530 (IST)" ], "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)", "From": "Aneesh V <aneesh@ti.com>", "To": "<u-boot@lists.denx.de>", "Date": "Thu, 11 Aug 2011 20:05:44 +0530", "Message-ID": "<1313073345-29773-4-git-send-email-aneesh@ti.com>", "X-Mailer": "git-send-email 1.7.0.4", "In-Reply-To": "<1312197486-31712-2-git-send-email-aneesh@ti.com>", "References": "<1312197486-31712-2-git-send-email-aneesh@ti.com>", "MIME-Version": "1.0", "Cc": "santosh.shilimkar@ti.com", "Subject": "[U-Boot] [PATCH v3 3/4] armv7: stronger barrier for\n\tcache-maintenance operations", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.9", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<http://lists.denx.de/mailman/listinfo/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>", "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": "set-way operations need a DSB after them to ensure the\noperation is complete. DMB may not be enough. Use DSB\nafter all operations instead of DMB.\n\nSigned-off-by: Aneesh V <aneesh@ti.com>\n---\n arch/arm/cpu/armv7/cache_v7.c | 12 ++++++------\n 1 files changed, 6 insertions(+), 6 deletions(-)", "diff": "diff --git a/arch/arm/cpu/armv7/cache_v7.c b/arch/arm/cpu/armv7/cache_v7.c\nindex 3e1e1bf..665f025 100644\n--- a/arch/arm/cpu/armv7/cache_v7.c\n+++ b/arch/arm/cpu/armv7/cache_v7.c\n@@ -81,8 +81,8 @@ static void v7_inval_dcache_level_setway(u32 level, u32 num_sets,\n \t\t\t\t\t: : \"r\" (setway));\n \t\t}\n \t}\n-\t/* DMB to make sure the operation is complete */\n-\tCP15DMB;\n+\t/* DSB to make sure the operation is complete */\n+\tCP15DSB;\n }\n \n static void v7_clean_inval_dcache_level_setway(u32 level, u32 num_sets,\n@@ -108,8 +108,8 @@ static void v7_clean_inval_dcache_level_setway(u32 level, u32 num_sets,\n \t\t\t\t\t: : \"r\" (setway));\n \t\t}\n \t}\n-\t/* DMB to make sure the operation is complete */\n-\tCP15DMB;\n+\t/* DSB to make sure the operation is complete */\n+\tCP15DSB;\n }\n \n static void v7_maint_dcache_level_setway(u32 level, u32 operation)\n@@ -227,8 +227,8 @@ static void v7_dcache_maint_range(u32 start, u32 stop, u32 range_op)\n \t\tbreak;\n \t}\n \n-\t/* DMB to make sure the operation is complete */\n-\tCP15DMB;\n+\t/* DSB to make sure the operation is complete */\n+\tCP15DSB;\n }\n \n /* Invalidate TLB */\n", "prefixes": [ "U-Boot", "v3", "3/4" ] }