Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/807591/?format=api
{ "id": 807591, "url": "http://patchwork.ozlabs.org/api/patches/807591/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170830104512.13502-1-mikey@neuling.org/", "project": { "id": 2, "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api", "name": "Linux PPC development", "link_name": "linuxppc-dev", "list_id": "linuxppc-dev.lists.ozlabs.org", "list_email": "linuxppc-dev@lists.ozlabs.org", "web_url": "https://github.com/linuxppc/wiki/wiki", "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git", "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/", "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/", "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}" }, "msgid": "<20170830104512.13502-1-mikey@neuling.org>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20170830104512.13502-1-mikey@neuling.org/", "date": "2017-08-30T10:45:12", "name": "selftests/powerpc: Force ptrace tests to build -fno-pie", "commit_ref": "a3c01050584da30405181505d20cd62cb42f3cdd", "pull_url": null, "state": "accepted", "archived": false, "hash": "557abf4b45ff42b4a63fb1638bd381abe9c356a6", "submitter": { "id": 109, "url": "http://patchwork.ozlabs.org/api/people/109/?format=api", "name": "Michael Neuling", "email": "mikey@neuling.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170830104512.13502-1-mikey@neuling.org/mbox/", "series": [ { "id": 587, "url": "http://patchwork.ozlabs.org/api/series/587/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=587", "date": "2017-08-30T10:45:12", "name": "selftests/powerpc: Force ptrace tests to build -fno-pie", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/587/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/807591/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/807591/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>", "X-Original-To": [ "patchwork-incoming@ozlabs.org", "linuxppc-dev@lists.ozlabs.org" ], "Delivered-To": [ "patchwork-incoming@ozlabs.org", "linuxppc-dev@lists.ozlabs.org" ], "Received": [ "from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xj2Hd2KPWz9s7c\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 30 Aug 2017 20:46:37 +1000 (AEST)", "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xj2Hd1RYbzDqXl\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 30 Aug 2017 20:46:37 +1000 (AEST)", "from ozlabs.org (bilbo.ozlabs.org [103.22.144.67])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xj2GG6D2qzDqMY\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tWed, 30 Aug 2017 20:45:26 +1000 (AEST)", "from localhost.localdomain (localhost [127.0.0.1])\n\tby ozlabs.org (Postfix) with ESMTP id 3xj2GG4xyDz9s8P;\n\tWed, 30 Aug 2017 20:45:26 +1000 (AEST)", "by localhost.localdomain (Postfix, from userid 1000)\n\tid 86E32EEDE21; Wed, 30 Aug 2017 20:45:26 +1000 (AEST)" ], "From": "Michael Neuling <mikey@neuling.org>", "To": "mpe@ellerman.id.au", "Subject": "[PATCH] selftests/powerpc: Force ptrace tests to build -fno-pie", "Date": "Wed, 30 Aug 2017 20:45:12 +1000", "Message-Id": "<20170830104512.13502-1-mikey@neuling.org>", "X-Mailer": "git-send-email 2.11.0", "X-BeenThere": "linuxppc-dev@lists.ozlabs.org", "X-Mailman-Version": "2.1.23", "Precedence": "list", "List-Id": "Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>", "List-Unsubscribe": "<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>", "List-Archive": "<http://lists.ozlabs.org/pipermail/linuxppc-dev/>", "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>", "List-Help": "<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>", "List-Subscribe": "<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>", "Cc": "mikey@neuling.org, linuxppc-dev@lists.ozlabs.org,\n\tAnshuman Khandual <khandual@linux.vnet.ibm.com>", "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org", "Sender": "\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>" }, "content": "Currently these tests won't build with a `--enable-default-pie`\ncompiler as they require r30 to be clobbered. This gives\nan error:\n ptrace-tm-spd-gpr.c:41:2: error: PIC register clobbered by 'r30' in 'asm'\n\nThis forces these tests to be built no-pie.\n\nSigned-off-by: Michael Neuling <mikey@neuling.org>\n---\n tools/testing/selftests/powerpc/ptrace/Makefile | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/tools/testing/selftests/powerpc/ptrace/Makefile b/tools/testing/selftests/powerpc/ptrace/Makefile\nindex fe6bc60dfc..8932263e5a 100644\n--- a/tools/testing/selftests/powerpc/ptrace/Makefile\n+++ b/tools/testing/selftests/powerpc/ptrace/Makefile\n@@ -6,7 +6,7 @@ include ../../lib.mk\n \n all: $(TEST_PROGS)\n \n-CFLAGS += -m64 -I../../../../../usr/include -I../tm -mhtm\n+CFLAGS += -m64 -I../../../../../usr/include -I../tm -mhtm -fno-pie\n \n $(TEST_PROGS): ../harness.c ../utils.c ../lib/reg.S ptrace.h\n \n", "prefixes": [] }