Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2223962/?format=api
{ "id": 2223962, "url": "http://patchwork.ozlabs.org/api/patches/2223962/?format=api", "web_url": "http://patchwork.ozlabs.org/project/ltp/patch/20260416124144.19343-1-sachinp@linux.ibm.com/", "project": { "id": 59, "url": "http://patchwork.ozlabs.org/api/projects/59/?format=api", "name": "Linux Test Project development", "link_name": "ltp", "list_id": "ltp.lists.linux.it", "list_email": "ltp@lists.linux.it", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260416124144.19343-1-sachinp@linux.ibm.com>", "list_archive_url": null, "date": "2026-04-16T12:41:44", "name": "lapi/io_uring: Add fallback definitions for OP_READ(WRITE)", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "8e966b9f5051a5f505b7e254e3d5667869a14d14", "submitter": { "id": 83212, "url": "http://patchwork.ozlabs.org/api/people/83212/?format=api", "name": "Sachin Sant", "email": "sachinp@linux.ibm.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/ltp/patch/20260416124144.19343-1-sachinp@linux.ibm.com/mbox/", "series": [ { "id": 500155, "url": "http://patchwork.ozlabs.org/api/series/500155/?format=api", "web_url": "http://patchwork.ozlabs.org/project/ltp/list/?series=500155", "date": "2026-04-16T12:41:44", "name": "lapi/io_uring: Add fallback definitions for OP_READ(WRITE)", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/500155/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2223962/comments/", "check": "success", "checks": "http://patchwork.ozlabs.org/api/patches/2223962/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "ltp@lists.linux.it" ], "Delivered-To": [ "patchwork-incoming@legolas.ozlabs.org", "ltp@picard.linux.it" ], "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256\n header.s=pp1 header.b=HFKC8NIN;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=2001:1418:10:5::2; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2])\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 4fxHhP52lSz1yG9\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 16 Apr 2026 22:41:57 +1000 (AEST)", "from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 6B2403E2926\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 16 Apr 2026 14:41:55 +0200 (CEST)", "from in-6.smtp.seeweb.it (in-6.smtp.seeweb.it [217.194.8.6])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id 4D8F83C1E06\n for <ltp@lists.linux.it>; Thu, 16 Apr 2026 14:41:52 +0200 (CEST)", "from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com\n [148.163.156.1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by in-6.smtp.seeweb.it (Postfix) with ESMTPS id 92B9D1400998\n for <ltp@lists.linux.it>; Thu, 16 Apr 2026 14:41:50 +0200 (CEST)", "from pps.filterd (m0356517.ppops.net [127.0.0.1])\n by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 63G8DJDY1834976; Thu, 16 Apr 2026 12:41:49 GMT", "from ppma11.dal12v.mail.ibm.com\n (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219])\n by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4dh89rnd6a-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n Thu, 16 Apr 2026 12:41:48 +0000 (GMT)", "from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1])\n by ppma11.dal12v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id\n 63G83E96003379;\n Thu, 16 Apr 2026 12:41:48 GMT", "from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224])\n by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 4djbh94exd-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n Thu, 16 Apr 2026 12:41:47 +0000", "from smtpav06.fra02v.mail.ibm.com (smtpav06.fra02v.mail.ibm.com\n [10.20.54.105])\n by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id\n 63GCfkhi57934210\n (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);\n Thu, 16 Apr 2026 12:41:46 GMT", "from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id 415AE20049;\n Thu, 16 Apr 2026 12:41:46 +0000 (GMT)", "from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id 687E520040;\n Thu, 16 Apr 2026 12:41:45 +0000 (GMT)", "from localhost.localdomain (unknown [9.43.36.193])\n by smtpav06.fra02v.mail.ibm.com (Postfix) with ESMTP;\n Thu, 16 Apr 2026 12:41:45 +0000 (GMT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc\n :content-transfer-encoding:date:from:message-id:mime-version\n :subject:to; s=pp1; bh=jakdZ2s6iRIP6mMD9FEugAfmL9VBz9+8+i8Ad6LrO\n vw=; b=HFKC8NINfahBxEou7LrWKgYnR8M5nM3lUW1Q7GWu6Y9CwNVL1ARIt27XA\n 70L2Litb446sNQFEEOT8mDW8UY/UtR9FaesxGmp5ZEHAX8NZQwnUXW/yOJ0leQYt\n KAuTpJaxIr8Enh4EvQtKfgNEhlm0NWSkx/drSZqeSYjIEGZ1I5VwPW+o3zOuUb+G\n esyRjgqlNFwx1EQhiUALg7VmAcnbpoDbtgw0pEsIzsJ6PQjKDzracAFVpi92dbxI\n MIeqtgA/S7tBYwchxmAY2elzKQyYqvO5Xgwp/nBqmGkmQ8+HTbbXtQeWV4u7idzr\n RRU8EixgtiAeTUTlZVSTQV8J+ea+g==", "From": "Sachin Sant <sachinp@linux.ibm.com>", "To": "ltp@lists.linux.it", "Date": "Thu, 16 Apr 2026 18:11:44 +0530", "Message-Id": "<20260416124144.19343-1-sachinp@linux.ibm.com>", "X-Mailer": "git-send-email 2.39.1", "MIME-Version": "1.0", "X-TM-AS-GCONF": "00", "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNDE2MDExNyBTYWx0ZWRfXwr/MLvmXpefT\n o6kWviK8OI9FKHJDKfYNJj7JHLIVZCqJOxetfcAnBi9XCnt6U47wc4qxxcEzUQCU/k1zKUZBXi/\n vdqs9estoTRMQ9qnjeVXwSzZM0FyFvcidpUSWI4NHaRshO0ccvMFs9mWPvBgSnGp3zvQPlsL8Or\n qjcAg9+z4FrU7TNTuLHfwu8i8x3ayCQ5Jx2QWYZ9wZqdATtbkL8JPFfozL7i732LoSsJDhiGOk4\n YBB5sBbaUfh6RcY7jemZ6ygL3WPlNZSYmOnt3JhE1gZtq0z5zojgKVck2jZaR5ul56ywCRxQVBi\n fkvjyBrLMghxzazjIGHchL2dskty6LBXrV8+hMCMtb3BdM5kh1TYS8WXuCBLyA/ZT3qKIw+rKvP\n 1cQk0ST+nGw+EU35pRlXEUh5yHrkqwTP2hlvk7559/K1xazGUIoItm6h69NbgSrsudsFHFSLV4U\n hBObmq7lHa1Yc/vVuhg==", "X-Proofpoint-ORIG-GUID": "z7qhPVEHCCluiCx6wpLS0TjePFhjpfZS", "X-Proofpoint-GUID": "z7qhPVEHCCluiCx6wpLS0TjePFhjpfZS", "X-Authority-Analysis": "v=2.4 cv=fYidDUQF c=1 sm=1 tr=0 ts=69e0d90c cx=c_pps\n a=aDMHemPKRhS1OARIsFnwRA==:117 a=aDMHemPKRhS1OARIsFnwRA==:17\n a=A5OVakUREuEA:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22\n a=U7nrCbtTmkRpXpFmAIza:22 a=VnNF1IyMAAAA:8 a=mzktdtn0ohvn0wdvKOkA:9", "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-16_03,2026-04-16_01,2025-10-01_01", "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n adultscore=0 impostorscore=0 clxscore=1015 malwarescore=0 phishscore=0\n bulkscore=0 priorityscore=1501 spamscore=0 suspectscore=0 lowpriorityscore=0\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2604070000 definitions=main-2604160117", "X-Spam-Status": "No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=disabled version=4.0.1", "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on in-6.smtp.seeweb.it", "X-Virus-Scanned": "clamav-milter 1.0.9 at in-6.smtp.seeweb.it", "X-Virus-Status": "Clean", "Subject": "[LTP] [PATCH] lapi/io_uring: Add fallback definitions for\n OP_READ(WRITE)", "X-BeenThere": "ltp@lists.linux.it", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "Linux Test Project <ltp.lists.linux.it>", "List-Unsubscribe": "<https://lists.linux.it/options/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=unsubscribe>", "List-Archive": "<http://lists.linux.it/pipermail/ltp/>", "List-Post": "<mailto:ltp@lists.linux.it>", "List-Help": "<mailto:ltp-request@lists.linux.it?subject=help>", "List-Subscribe": "<https://lists.linux.it/listinfo/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it", "Sender": "\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>" }, "content": "Add fallback definitions for IORING_OP_READ and IORING_OP_WRITE\nopcodes to support building on older distributions with kernel\nheaders between v5.1 and v5.5.\n\nThese opcodes were introduced in kernel v5.6, but some distros\nmay have io_uring support from v5.1+ without these newer\noperation codes.\n\nFixes: fcc4887e73ca (io_uring: Test IORING READ and WRITE operations)\nReported-by: Martin Doucha <mdoucha@suse.cz>\nSigned-off-by: Sachin Sant <sachinp@linux.ibm.com>\n---\n include/lapi/io_uring.h | 10 ++++++++++\n 1 file changed, 10 insertions(+)", "diff": "diff --git a/include/lapi/io_uring.h b/include/lapi/io_uring.h\nindex c05517595..d95a4cd59 100644\n--- a/include/lapi/io_uring.h\n+++ b/include/lapi/io_uring.h\n@@ -267,6 +267,16 @@ struct io_uring_probe {\n #define IOSQE_ASYNC\t\t(1U << IOSQE_ASYNC_BIT)\n #endif /* IOSQE_ASYNC */\n \n+#ifndef IORING_OP_READ\n+/* Added in kernel v5.6 */\n+#define IORING_OP_READ\t\t22\n+#endif /* IORING_OP_READ */\n+\n+#ifndef IORING_OP_WRITE\n+/* Added in kernel v5.6 */\n+#define IORING_OP_WRITE\t\t23\n+#endif /* IORING_OP_WRITE */\n+\n #ifndef HAVE_IO_URING_REGISTER\n static inline int io_uring_register(int fd, unsigned int opcode, void *arg,\n \tunsigned int nr_args)\n", "prefixes": [] }