Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/813565/?format=api
{ "id": 813565, "url": "http://patchwork.ozlabs.org/api/patches/813565/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170913182744.8309-1-afd@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": "<20170913182744.8309-1-afd@ti.com>", "list_archive_url": null, "date": "2017-09-13T18:27:44", "name": "[U-Boot] arm: mach-omap2: Relax checks on OP-TEE location to allow pageable image", "commit_ref": "a1e4bc65e174f169b4dfaa5093e8f65b5228dc44", "pull_url": null, "state": "accepted", "archived": false, "hash": "531a4bf7afbe1e0680288fa90a3fa81cce9cf4ff", "submitter": { "id": 67226, "url": "http://patchwork.ozlabs.org/api/people/67226/?format=api", "name": "Andrew Davis", "email": "afd@ti.com" }, "delegate": { "id": 3651, "url": "http://patchwork.ozlabs.org/api/users/3651/?format=api", "username": "trini", "first_name": "Tom", "last_name": "Rini", "email": "trini@ti.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170913182744.8309-1-afd@ti.com/mbox/", "series": [ { "id": 2962, "url": "http://patchwork.ozlabs.org/api/series/2962/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=2962", "date": "2017-09-13T18:27:44", "name": "[U-Boot] arm: mach-omap2: Relax checks on OP-TEE location to allow pageable image", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/2962/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/813565/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/813565/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", "Authentication-Results": [ "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ti.com header.i=@ti.com header.b=\"BSxkk1vK\";\n\tdkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xsqsX0X9Wz9s3T\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 14 Sep 2017 04:27:58 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 83520C21EF4; Wed, 13 Sep 2017 18:27:51 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 5C3C6C21C73;\n\tWed, 13 Sep 2017 18:27:49 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 2A6A2C21C33; Wed, 13 Sep 2017 18:27:48 +0000 (UTC)", "from fllnx210.ext.ti.com (fllnx210.ext.ti.com [198.47.19.17])\n\tby lists.denx.de (Postfix) with ESMTPS id 70231C21D88\n\tfor <u-boot@lists.denx.de>; Wed, 13 Sep 2017 18:27:47 +0000 (UTC)", "from dflxv15.itg.ti.com ([128.247.5.124])\n\tby fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v8DIRjxZ001800; \n\tWed, 13 Sep 2017 13:27:45 -0500", "from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22])\n\tby dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8DIRjQ7006065;\n\tWed, 13 Sep 2017 13:27:45 -0500", "from DFLE101.ent.ti.com (10.64.6.22) by DFLE101.ent.ti.com\n\t(10.64.6.22) with Microsoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34;\n\tWed, 13 Sep 2017 13:27:45 -0500", "from dlep33.itg.ti.com (157.170.170.75) by DFLE101.ent.ti.com\n\t(10.64.6.22) with Microsoft SMTP Server (version=TLS1_0,\n\tcipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend\n\tTransport; Wed, 13 Sep 2017 13:27:45 -0500", "from legion.dal.design.ti.com (legion.dal.design.ti.com\n\t[128.247.22.53])\n\tby dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8DIRite004087;\n\tWed, 13 Sep 2017 13:27:44 -0500", "from localhost (uda0226330.dhcp.ti.com [128.247.59.40])\n\tby legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id\n\tv8DIRi327361; Wed, 13 Sep 2017 13:27:44 -0500 (CDT)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com;\n\ts=ti-com-17Q1; t=1505327265;\n\tbh=iF+QQ6DqaC9hBtyuMinWgud0g39cYne7WwHX0UhNlbo=;\n\th=From:To:CC:Subject:Date;\n\tb=BSxkk1vKE76s1S0PINvcZoqW/O1kMJ7/u/kK67kYaKHdmRowEXbrobhxbzBDLqnOf\n\t5b7FQ33+BvZNr8IXmx68F5GdHfB3SbhK06stRhLR91mzcggvkoJGtcicDcXVImlaY7\n\tiSaxICX1vDHJychLvj9L2HTew0L4sPVS8AtB4RWc=", "From": "\"Andrew F. Davis\" <afd@ti.com>", "To": "Tom Rini <trini@konsulko.com>, Lokesh Vutla <lokeshvutla@ti.com>", "Date": "Wed, 13 Sep 2017 13:27:44 -0500", "Message-ID": "<20170913182744.8309-1-afd@ti.com>", "X-Mailer": "git-send-email 2.14.1", "MIME-Version": "1.0", "X-EXCLAIMER-MD-CONFIG": "e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180", "Cc": "u-boot@lists.denx.de", "Subject": "[U-Boot] [PATCH] arm: mach-omap2: Relax checks on OP-TEE location\n\tto allow pageable image", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.18", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/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": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>" }, "content": "From: Harinarayan Bhatta <harinarayan@ti.com>\n\nWhen the OP-TEE image is built for secure paging the load address may be\nin SRAM, remove checks that prevent this.\n\nSigned-off-by: Harinarayan Bhatta <harinarayan@ti.com>\nSigned-off-by: Andrew F. Davis <afd@ti.com>\n---\n arch/arm/mach-omap2/sec-common.c | 8 ++------\n 1 file changed, 2 insertions(+), 6 deletions(-)", "diff": "diff --git a/arch/arm/mach-omap2/sec-common.c b/arch/arm/mach-omap2/sec-common.c\nindex 2d54a3165e..52e1785b4a 100644\n--- a/arch/arm/mach-omap2/sec-common.c\n+++ b/arch/arm/mach-omap2/sec-common.c\n@@ -305,12 +305,8 @@ int secure_tee_install(u32 addr)\n \n \tif ((hdr->magic != OPTEE_MAGIC) ||\n \t (hdr->version != OPTEE_VERSION) ||\n-\t (hdr->init_load_addr_hi != 0) ||\n-\t (hdr->init_load_addr_lo < (sec_mem_start + sizeof(struct optee_header))) ||\n-\t (tee_file_size > size) ||\n-\t ((hdr->init_load_addr_lo + tee_file_size - 1) >\n-\t (sec_mem_start + size - 1))) {\n-\t\tprintf(\"Error in TEE header. Check load address and sizes\\n\");\n+\t (tee_file_size > size)) {\n+\t\tprintf(\"Error in TEE header. Check firewall and TEE sizes\\n\");\n \t\tunmap_sysmem(hdr);\n \t\treturn CMD_RET_FAILURE;\n \t}\n", "prefixes": [ "U-Boot" ] }