Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.0/patches/2219319/?format=api
{ "id": 2219319, "url": "http://patchwork.ozlabs.org/api/1.0/patches/2219319/?format=api", "project": { "id": 2, "url": "http://patchwork.ozlabs.org/api/1.0/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/" }, "msgid": "<20260403004011.44417-6-adubey@linux.ibm.com>", "date": "2026-04-03T00:40:11", "name": "[v2,5/5] selftest/bpf: Add tailcall verifier selftest for powerpc64", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "6064dab5d728d9bc41a6d99e89a69100c10aced5", "submitter": { "id": 88541, "url": "http://patchwork.ozlabs.org/api/1.0/people/88541/?format=api", "name": "adubey", "email": "adubey@linux.ibm.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20260403004011.44417-6-adubey@linux.ibm.com/mbox/", "series": [ { "id": 498551, "url": "http://patchwork.ozlabs.org/api/1.0/series/498551/?format=api", "date": "2026-04-03T00:40:06", "name": "powerpc/bpf: Add support for verifier selftest", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/498551/mbox/" } ], "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2219319/checks/", "tags": {}, "headers": { "Return-Path": "\n <linuxppc-dev+bounces-19237-incoming=patchwork.ozlabs.org@lists.ozlabs.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linuxppc-dev@lists.ozlabs.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256\n header.s=pp1 header.b=ofkaw4dE;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=2404:9400:21b9:f100::1; helo=lists.ozlabs.org;\n envelope-from=linuxppc-dev+bounces-19237-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)", "lists.ozlabs.org;\n arc=none smtp.remote-ip=148.163.156.1", "lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=linux.ibm.com", "lists.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256\n header.s=pp1 header.b=ofkaw4dE;\n\tdkim-atps=neutral", "lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=linux.ibm.com\n (client-ip=148.163.156.1; helo=mx0a-001b2d01.pphosted.com;\n envelope-from=adubey@linux.ibm.com; receiver=lists.ozlabs.org)" ], "Received": [ "from lists.ozlabs.org (lists.ozlabs.org\n [IPv6:2404:9400:21b9:f100::1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fmtzl1QHnz1yCt\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 03 Apr 2026 07:41:07 +1100 (AEDT)", "from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4fmtzT1n2hz2ysZ;\n\tFri, 03 Apr 2026 07:40:53 +1100 (AEDT)", "from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com\n [148.163.156.1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 4fmtzS378Jz2yrt\n\tfor <linuxppc-dev@lists.ozlabs.org>; Fri, 03 Apr 2026 07:40:52 +1100 (AEDT)", "from pps.filterd (m0353729.ppops.net [127.0.0.1])\n\tby mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 6329JE1V2273702;\n\tThu, 2 Apr 2026 20:40:39 GMT", "from ppma11.dal12v.mail.ibm.com\n (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219])\n\tby mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4d66nnxh0h-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n\tThu, 02 Apr 2026 20:40:38 +0000 (GMT)", "from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1])\n\tby ppma11.dal12v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id\n 632H3boj008703;\n\tThu, 2 Apr 2026 20:40:38 GMT", "from smtprelay06.fra02v.mail.ibm.com ([9.218.2.230])\n\tby ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 4d6v11udxq-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n\tThu, 02 Apr 2026 20:40:37 +0000", "from smtpav03.fra02v.mail.ibm.com (smtpav03.fra02v.mail.ibm.com\n [10.20.54.102])\n\tby smtprelay06.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id\n 632KeYAe26018266\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);\n\tThu, 2 Apr 2026 20:40:34 GMT", "from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1])\n\tby IMSVA (Postfix) with ESMTP id 341A020043;\n\tThu, 2 Apr 2026 20:40:34 +0000 (GMT)", "from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1])\n\tby IMSVA (Postfix) with ESMTP id 2E10D20040;\n\tThu, 2 Apr 2026 20:40:32 +0000 (GMT)", "from ltcrain4-lp15.ltc.tadn.ibm.com (unknown [9.5.7.39])\n\tby smtpav03.fra02v.mail.ibm.com (Postfix) with ESMTP;\n\tThu, 2 Apr 2026 20:40:31 +0000 (GMT)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1775162453;\n\tcv=none;\n b=JziCsyxjblgtc/CQtAj26MexY4wfwUdxn5ITyqJK5cEZfvmiPcTChlyQXptyC+Sv85IE7356PiUkF9dYmJfo60YyNWGhSandTWHjHz1PzIQH8E3+88gkHwi96/Iquzc3+YU62RjRaLPZoUhNmRcTgBfOQBg5lVuky9rXD4tHYTC6iiTsC2e/clC9BvejiSTIAhA8t8q8pcQZBrU7O68XEn4KnaBVFdbkpgCuEMPzN7ZKBlrQtc1o0QUBBvUvq5rDWrXANKfklKUbCH/G3JvZe2w/VBc1s5BzaTaERY7vKIR0OXjLt27uYJXjg8xLlPbLpRieRRmTnT63mXbIN2Dclw==", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1775162453; c=relaxed/relaxed;\n\tbh=7UzgUOcOLrOw8m6H+qH2Iej3AcpM2LCHHy+6zVvTD8I=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=TfKuL+ga+h/iALGuAyytRQahHfYSuGBHLPaS8FbNhvlgZRaH/MT6gGGARuCy7Vwlr0RORvaE41JrrzglCmoh9BCx0pq+DRJw0k45VSE2p4aekuWmA4UYdxDz+yM7Cxe24Uy5luoY8i+wXm6ZqSq6QV33wxjfTp2uggreAQ1/Yn8oSX9rovZy41m1agZK0hU8HQVSV+24gS6DxUwjjdpxGFRh4MHT40NluhMhgFslpcElapPwV3CVLumeAUNyMZmrIcZUCZCihbgY1W6ueSd8t/rlXtHtiU7ylQX2BpWg98S+nAzdDI47zJB9BgdJbC+thrxKjWFifpv4VH5DGn/g0Q==", "ARC-Authentication-Results": "i=1; lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=linux.ibm.com;\n dkim=pass (2048-bit key;\n unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256\n header.s=pp1 header.b=ofkaw4dE; dkim-atps=neutral;\n spf=pass (client-ip=148.163.156.1; helo=mx0a-001b2d01.pphosted.com;\n envelope-from=adubey@linux.ibm.com;\n receiver=lists.ozlabs.org) smtp.mailfrom=linux.ibm.com", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc\n\t:content-transfer-encoding:date:from:in-reply-to:message-id\n\t:mime-version:references:subject:to; s=pp1; bh=7UzgUOcOLrOw8m6H+\n\tqH2Iej3AcpM2LCHHy+6zVvTD8I=; b=ofkaw4dEek/dY6Fs0ycvUKPH/RE7Dd24D\n\t9nY45jswkmVSPgCnmdSxuB+O8zLQebEYrL79vvYFb/Yjo3yCQwC+H/O0s2mBUu4S\n\tjy7N+mtV+JAdnL61VoM5nWhdGw6gLkzn0t3iBdS8BHFMy4J20dpuZGZ0ZMJ9w6DP\n\tKvhCWsmepny/xtk0c8t7J/US0S0mccIGYIt+F9XaEzwZZHTmcTWzpQBUC9j+TQj8\n\t+OucGAjPUYo1fSJWzoc0KIMrie2fp3+4UuZED4FThPmc2LKQ8HtT+1Is7dlkJQ+R\n\tkAFEcBODXDM65IjMEpbBKnNPWSWYxHXvDSYW4vJdqX+F8xXW2PULQ==", "From": "adubey@linux.ibm.com", "To": "linuxppc-dev@lists.ozlabs.org", "Cc": "hbathini@linux.ibm.com, bpf@vger.kernel.org, maddy@linux.ibm.com,\n ast@kernel.org, andrii@kernel.org, daniel@iogearbox.net,\n shuah@kernel.org, linux-kselftest@vger.kernel.org,\n stable@vger.kernel.org, Abhishek Dubey <adubey@linux.ibm.com>", "Subject": "[PATCH v2 5/5] selftest/bpf: Add tailcall verifier selftest for\n powerpc64", "Date": "Thu, 2 Apr 2026 20:40:11 -0400", "Message-ID": "<20260403004011.44417-6-adubey@linux.ibm.com>", "X-Mailer": "git-send-email 2.52.0", "In-Reply-To": "<20260403004011.44417-1-adubey@linux.ibm.com>", "References": "<20260403004011.44417-1-adubey@linux.ibm.com>", "X-Mailing-List": "linuxppc-dev@lists.ozlabs.org", "List-Id": "<linuxppc-dev.lists.ozlabs.org>", "List-Help": "<mailto:linuxppc-dev+help@lists.ozlabs.org>", "List-Owner": "<mailto:linuxppc-dev+owner@lists.ozlabs.org>", "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>", "List-Archive": "<https://lore.kernel.org/linuxppc-dev/>,\n <https://lists.ozlabs.org/pipermail/linuxppc-dev/>", "List-Subscribe": "<mailto:linuxppc-dev+subscribe@lists.ozlabs.org>,\n <mailto:linuxppc-dev+subscribe-digest@lists.ozlabs.org>,\n <mailto:linuxppc-dev+subscribe-nomail@lists.ozlabs.org>", "List-Unsubscribe": "<mailto:linuxppc-dev+unsubscribe@lists.ozlabs.org>", "Precedence": "list", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-TM-AS-GCONF": "00", "X-Proofpoint-GUID": "u3gkjjA-ZqZ8kOVb1U1L23XQQGzZRaOr", "X-Authority-Analysis": "v=2.4 cv=KslAGGWN c=1 sm=1 tr=0 ts=69ced447 cx=c_pps\n a=aDMHemPKRhS1OARIsFnwRA==:117 a=aDMHemPKRhS1OARIsFnwRA==:17\n a=A5OVakUREuEA:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22\n a=uAbxVGIbfxUO_5tXvNgY:22 a=VnNF1IyMAAAA:8 a=FPGcE6EkJ86GxW4wuzUA:9", "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNDAyMDE4MSBTYWx0ZWRfX7Ulc1JmB9+sY\n A0RIbe9A3VqwEwup4hH3MM1VFAuwI+WjwiMdJSgpfCfeRi6+E3rAFQUnnnmNxb8KCTmpXxMjazU\n GQgkdOACv7153mBnsjO30SwAQq9DQwSt2vRDkZ1JHj34giMuz3LiVDyak+u9e2L8DVMiA4L8m6P\n gIoBBLuf7QBD0ry2LbeIbXS/OeArEcFc8asdNQ+Tf7EtFwOC4c8YJGwd3VVUCQDlOCsRvAMCEhK\n LJmOmRRqB05tX7sSPDmz6SZhajuBHH5Xx5bMeVibPqgc+de6w1sxJRyWRtrm4FfakfQqrQGYGV0\n /HvQxe+McvxU6oFiPblYiMD7W0B/SLoGyHuPz5V0CMC2SdoU4jEZQLHFWwkIW9rhildZyY7cLrc\n mswXbcOLubKMjWR84CSx+6PUsvun9IXv/p0Xgy8nH1d3nwatGusAuF92jP0Xl2pRj68PdyWSrzW\n /gu4loXa0Q+6+jS8E7g==", "X-Proofpoint-ORIG-GUID": "u3gkjjA-ZqZ8kOVb1U1L23XQQGzZRaOr", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-04-02_03,2026-04-02_05,2025-10-01_01", "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n malwarescore=0 lowpriorityscore=0 priorityscore=1501 suspectscore=0\n phishscore=0 adultscore=0 bulkscore=0 impostorscore=0 clxscore=1015\n spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound\n adjust=0 reason=mlx scancount=1 engine=8.22.0-2603050001\n definitions=main-2604020181", "X-Spam-Status": "No, score=1.7 required=3.0 tests=DATE_IN_FUTURE_03_06,\n\tDKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H4,\n\tRCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=disabled\n\tversion=4.0.1 OzLabs 8", "X-Spam-Level": "*", "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on lists.ozlabs.org" }, "content": "From: Abhishek Dubey <adubey@linux.ibm.com>\n\nVerifier testcase result for tailcalls:\n\n# ./test_progs -t verifier_tailcall\n#618/1 verifier_tailcall/invalid map type for tail call:OK\n#618/2 verifier_tailcall/invalid map type for tail call @unpriv:OK\n#618 verifier_tailcall:OK\n#619/1 verifier_tailcall_jit/main:OK\n#619 verifier_tailcall_jit:OK\nSummary: 2/3 PASSED, 0 SKIPPED, 0 FAILED\n\nSigned-off-by: Abhishek Dubey <adubey@linux.ibm.com>\n---\n .../bpf/progs/verifier_tailcall_jit.c | 69 +++++++++++++++++++\n 1 file changed, 69 insertions(+)", "diff": "diff --git a/tools/testing/selftests/bpf/progs/verifier_tailcall_jit.c b/tools/testing/selftests/bpf/progs/verifier_tailcall_jit.c\nindex 8d60c634a114..17475ecb3207 100644\n--- a/tools/testing/selftests/bpf/progs/verifier_tailcall_jit.c\n+++ b/tools/testing/selftests/bpf/progs/verifier_tailcall_jit.c\n@@ -90,6 +90,75 @@ __jited(\"\tpopq\t%rax\")\n __jited(\"\tjmp\t{{.*}}\")\t\t/* jump to tail call tgt */\n __jited(\"L0:\tleave\")\n __jited(\"\t{{(retq|jmp\t0x)}}\")\t\t/* return or jump to rethunk */\n+__arch_powerpc64\n+/* program entry for main(), regular function prologue */\n+__jited(\"\tnop\")\n+__jited(\"\tld 2, 16(13)\")\n+__jited(\"\tli 9, 0\")\n+__jited(\"\tstd 9, -8(1)\")\n+__jited(\"\tmflr 0\")\n+__jited(\"\tstd 0, 16(1)\")\n+__jited(\"\tstdu 1, {{.*}}(1)\")\n+/* load address and call sub() via count register */\n+__jited(\"\tlis 12, {{.*}}\")\n+__jited(\"\tsldi 12, 12, 32\")\n+__jited(\"\toris 12, 12, {{.*}}\")\n+__jited(\"\tori 12, 12, {{.*}}\")\n+__jited(\"\tmtctr 12\")\n+__jited(\"\tbctrl\")\n+__jited(\"\tmr\t8, 3\")\n+__jited(\"\tli 8, 0\")\n+__jited(\"\taddi 1, 1, {{.*}}\")\n+__jited(\"\tld 0, 16(1)\")\n+__jited(\"\tmtlr 0\")\n+__jited(\"\tmr\t3, 8\")\n+__jited(\"\tblr\")\n+__jited(\"...\")\n+__jited(\"func #1\")\n+/* subprogram entry for sub() */\n+__jited(\"\tnop\")\n+__jited(\"\tld 2, 16(13)\")\n+/* tail call prologue for subprogram */\n+__jited(\"\tld 10, 0(1)\")\n+__jited(\"\tld 9, -8(10)\")\n+__jited(\"\tcmplwi\t9, 33\")\n+__jited(\"\tbt\t{{.*}}, {{.*}}\")\n+__jited(\"\taddi 9, 10, -8\")\n+__jited(\"\tstd 9, -8(1)\")\n+__jited(\"\tlis {{.*}}, {{.*}}\")\n+__jited(\"\tsldi {{.*}}, {{.*}}, 32\")\n+__jited(\"\toris {{.*}}, {{.*}}, {{.*}}\")\n+__jited(\"\tori {{.*}}, {{.*}}, {{.*}}\")\n+__jited(\"\tli {{.*}}, 0\")\n+__jited(\"\tlwz 9, {{.*}}({{.*}})\")\n+__jited(\"\tslwi {{.*}}, {{.*}}, 0\")\n+__jited(\"\tcmplw\t{{.*}}, 9\")\n+__jited(\"\tbf\t0, {{.*}}\")\n+/* bpf_tail_call implementation */\n+__jited(\"\tld 9, -8(1)\")\n+__jited(\"\tcmplwi\t9, 33\")\n+__jited(\"\tbf\t{{.*}}, {{.*}}\")\n+__jited(\"\tld 9, 0(9)\")\n+__jited(\"\tcmplwi\t9, 33\")\n+__jited(\"\tbt\t{{.*}}, {{.*}}\")\n+__jited(\"\taddi 9, 9, 1\")\n+__jited(\"\tmulli 10, {{.*}}, 8\")\n+__jited(\"\tadd 10, 10, {{.*}}\")\n+__jited(\"\tld 10, {{.*}}(10)\")\n+__jited(\"\tcmpldi\t10, 0\")\n+__jited(\"\tbt\t{{.*}}, {{.*}}\")\n+__jited(\"\tld 10, {{.*}}(10)\")\n+__jited(\"\taddi 10, 10, 16\")\n+__jited(\"\tmtctr 10\")\n+__jited(\"\tld 10, -8(1)\")\n+__jited(\"\tcmplwi\t10, 33\")\n+__jited(\"\tbt\t{{.*}}, {{.*}}\")\n+__jited(\"\taddi 10, 1, -8\")\n+__jited(\"\tstd 9, 0(10)\")\n+__jited(\"\tbctr\")\n+__jited(\"\tmr\t3, 8\")\n+__jited(\"\tblr\")\n+\n SEC(\"tc\")\n __naked int main(void)\n {\n", "prefixes": [ "v2", "5/5" ] }