Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/428132/?format=api
{ "id": 428132, "url": "http://patchwork.ozlabs.org/api/patches/428132/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1421096249-27864-1-git-send-email-arnab_basu@rocketmail.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": "<1421096249-27864-1-git-send-email-arnab_basu@rocketmail.com>", "list_archive_url": null, "date": "2015-01-12T20:57:29", "name": "[U-Boot,v2,9/9] ARMv8: PSCI: Enable SMC", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "2238ca956a81c3e0ff0cd32d5f698ce66d68ce91", "submitter": { "id": 65465, "url": "http://patchwork.ozlabs.org/api/people/65465/?format=api", "name": "Arnab Basu", "email": "arnab_basu@rocketmail.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/1421096249-27864-1-git-send-email-arnab_basu@rocketmail.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/428132/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/428132/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 43DDC14015A\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 13 Jan 2015 08:02:42 +1100 (AEDT)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 702BD4B6A8;\n\tMon, 12 Jan 2015 22:02:05 +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 wb3-lfkwqma3; Mon, 12 Jan 2015 22:02:05 +0100 (CET)", "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 073564B610;\n\tMon, 12 Jan 2015 22:01:37 +0100 (CET)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id D7F704B608\n\tfor <u-boot@lists.denx.de>; Mon, 12 Jan 2015 22:00:35 +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 raA9n-9WRR6T for <u-boot@lists.denx.de>;\n\tMon, 12 Jan 2015 22:00:35 +0100 (CET)", "from nm45-vm2.bullet.mail.ne1.yahoo.com\n\t(nm45-vm2.bullet.mail.ne1.yahoo.com [98.138.121.66])\n\tby theia.denx.de (Postfix) with ESMTPS id 5E91B4B605\n\tfor <u-boot@lists.denx.de>; Mon, 12 Jan 2015 22:00:31 +0100 (CET)", "from [127.0.0.1] by nm45.bullet.mail.ne1.yahoo.com with NNFMP;\n\t12 Jan 2015 21:00:30 -0000", "from [98.138.101.132] by nm45.bullet.mail.ne1.yahoo.com with NNFMP;\n\t12 Jan 2015 20:57:36 -0000", "from [106.10.166.127] by tm20.bullet.mail.ne1.yahoo.com with NNFMP;\n\t12 Jan 2015 20:57:36 -0000", "from [106.10.167.146] by tm16.bullet.mail.sg3.yahoo.com with NNFMP;\n\t12 Jan 2015 20:57:35 -0000", "from [127.0.0.1] by smtp119.mail.sg3.yahoo.com with NNFMP;\n\t12 Jan 2015 20:57:35 -0000" ], "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-sha256; c=relaxed/relaxed; d=rocketmail.com;\n\ts=s2048; \n\tt=1421096430; bh=4aByJvLnX0EkgBe9/MCvSLqDEvz28FtG5Wi1gvti+dk=;\n\th=From:To:Cc:Subject:Date:From:Subject;\n\tb=phjc1ZOnk/mb6C689N1VrmeNVkEv1EABaYPePTe8fr1NwOdJ0CREFs1ADFwaCjI+6gFBc9dN1JKUzX3zwY7kGgMdZuReUbpq+UeqtC7tBEOEC4PcB8XFwoPARuxiDVydDWa6eQpTA1eJUSa+8MVNWWUUxkZjdDHmBeRTsrP0JnjA2ldtQwJ16fvUVe9p0okTc0opeU+Tf5qvdA/NuBTJMZTR0nnsc8l7YbkxXeAGIcllw0iWOablaUacpO5/8ceqqa8eJPPR+cTxIr+j+b8PqdYztG54iyKYdXuquPQBvVjxsxLLNBIYdFQLl2ZzS8jUuIFF5lWUeW/AszxXEZ7Acg==", "DomainKey-Signature": "a=rsa-sha1; q=dns; c=nofws; s=s2048; d=rocketmail.com; \n\tb=LXZtycDiYHPOCIhRPhXkiwDQk54P3wFP3Ss/Z8vHJq1URKaVJZVDclPapBgKJnO5ggm1GlHyUQ0T8OxAzjxnNyhLpe78kB08Qf2SMXOEpe5eAwvQ1Mt0WokanpICGC2usQ1mj+hz889Rbl8cHjtlFrmdY4p9Cg3NliWXyuay8D3Y7X+Qd1h59vqYyXIyDkiZHG9ns0Ndu/VhlBVkRtzEkQaDC+r5SfLpQhf6C3AhIHQvX9kWTX+oZc7JfIPCS+HIGaIlGrw/V0ceqTSmD/1N6XY5LUe2Jd0UKylNZmTI/hO8LrR+/d7nFWd/6KgpS5qnmpIkGah84xvyDO/f5NkiSA==;", "X-Yahoo-Newman-Id": "817330.82248.bm@smtp119.mail.sg3.yahoo.com", "X-Yahoo-Newman-Property": "ymail-4", "X-YMail-OSG": "_DNcX_sVM1mUEcf8GfyI0EG1022.GBPIB8omKtBsmj2ka_2\n\tX8kBMmwuNdzkE2ScPzptBMjwi51KaZMdM7sV.kTSdTcSBCiPJRJ5RrM4.Qmr\n\tGkLDr7YJipe0Tt.ZBZG2464a8w00ANJu_lcTaDFbSiWdN27a5XmLvvqoFJwP\n\tNUIi7QCUiucyMybUrkKzoewKpKytW5zV4JjUxDjmMyfTr05svAcJd0PVU1xC\n\tJ7nVaQsrBIHbl0J6RLPRIv7CrrF4O8mZ0EeMwOt5JzZC9TrvX3.LP2ppkBwq\n\tOnNIrXbdfV47H17BPs2liY_k4DmxVpcSdcZ9ywqmwGQtbB7m_Z1r0FLJ4HVh\n\tmOgxIH5oz_CbjS.KlYXSkzCqGA9PSVxTZkHl8ex5RrThivSOFiNSKvjG4LAz\n\t6YvmVvCwzIJf8uVGwr9o4_lTkdhuvk_8a7zIwsUoK0vtkM1KhzKYAU5Ksgb4\n\tsrxrpgfkfN_bKwFk6FcW3W.FkVxbsINo6Jwuor.e0.ks61iKuWeZEW1BvIJs\n\tDSkX3aFpnVdVh9oESKqaQ5EdopRwZg70Xqatam5JODxot0.GAVcu5cCh5Xmt\n\tvW_wGQlKyIdmliOSB", "X-Yahoo-SMTP": "crLrLjSswBAdKO_oWys7UTWLvPXPfbdd3XtEOYM5nEof1j3oy80-", "From": "Arnab Basu <arnab_basu@rocketmail.com>", "To": "u-boot@lists.denx.de,\n\tAlbert Aribaud <albert.u.boot@aribaud.net>", "Date": "Tue, 13 Jan 2015 02:27:29 +0530", "Message-Id": "<1421096249-27864-1-git-send-email-arnab_basu@rocketmail.com>", "X-Mailer": "git-send-email 1.9.1", "X-Mailman-Approved-At": "Mon, 12 Jan 2015 22:01:16 +0100", "Cc": "stuart.yoder@freescale.com, Marc Zyngier <marc.zyngier@arm.com>,\n\tyorksun@freescale.com", "Subject": "[U-Boot] [PATCH v2 9/9] ARMv8: PSCI: Enable SMC", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.13", "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": "Enable the SMC instruction so that the kernel can use the psci code\n\nSigned-off-by: Arnab Basu <arnab_basu@rocketmail.com>\nCc: Bhupesh Sharma <bhupesh.sharma@freescale.com>\nCc: Marc Zyngier <marc.zyngier@arm.com>\n---\n arch/arm/include/asm/macro.h | 5 +++++\n 1 file changed, 5 insertions(+)", "diff": "diff --git a/arch/arm/include/asm/macro.h b/arch/arm/include/asm/macro.h\nindex 1c8c425..e36f043 100644\n--- a/arch/arm/include/asm/macro.h\n+++ b/arch/arm/include/asm/macro.h\n@@ -106,8 +106,13 @@ lr\t.req\tx30\n .endm\n \n .macro armv8_switch_to_el2_m, xreg1\n+#ifdef CONFIG_ARMV8_PSCI\n+\t/* 64bit EL2 | HCE | RES1 (Bits[5:4]) | Non-secure EL0/EL1 */\n+\tmov\t\\xreg1, #0x531\n+#else\n \t/* 64bit EL2 | HCE | SMD | RES1 (Bits[5:4]) | Non-secure EL0/EL1 */\n \tmov\t\\xreg1, #0x5b1\n+#endif\n \tmsr\tscr_el3, \\xreg1\n \tmsr\tcptr_el3, xzr\t\t/* Disable coprocessor traps to EL3 */\n \tmov\t\\xreg1, #0x33ff\n", "prefixes": [ "U-Boot", "v2", "9/9" ] }