Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2232537/?format=api
{ "id": 2232537, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2232537/?format=api", "web_url": "http://patchwork.ozlabs.org/project/opensbi/patch/20260504171342.1655882-3-raymondmaoca@gmail.com/", "project": { "id": 67, "url": "http://patchwork.ozlabs.org/api/1.1/projects/67/?format=api", "name": "OpenSBI development", "link_name": "opensbi", "list_id": "opensbi.lists.infradead.org", "list_email": "opensbi@lists.infradead.org", "web_url": "https://github.com/riscv/opensbi", "scm_url": "", "webscm_url": "" }, "msgid": "<20260504171342.1655882-3-raymondmaoca@gmail.com>", "date": "2026-05-04T17:13:42", "name": "[v2,3/3,NOT-FOR-UPSTREAM] platform: generic: virt: add APLIC M-mode IRQ test overlay", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "c4c75ca97349c16b89573b1fb6d11fa06e385ac1", "submitter": { "id": 91989, "url": "http://patchwork.ozlabs.org/api/1.1/people/91989/?format=api", "name": "Raymond Mao", "email": "raymondmaoca@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/opensbi/patch/20260504171342.1655882-3-raymondmaoca@gmail.com/mbox/", "series": [ { "id": 502701, "url": "http://patchwork.ozlabs.org/api/1.1/series/502701/?format=api", "web_url": "http://patchwork.ozlabs.org/project/opensbi/list/?series=502701", "date": "2026-05-04T17:13:40", "name": "[v2,1/3] lib: utils: irqchip: implement APLIC hwirq operation hooks", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/502701/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2232537/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2232537/checks/", "tags": {}, "headers": { "Return-Path": "\n <opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n secure) header.d=lists.infradead.org header.i=@lists.infradead.org\n header.a=rsa-sha256 header.s=bombadil.20210309 header.b=saBDQYas;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=BjJhQ/v6;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=none (no SPF record) smtp.mailfrom=lists.infradead.org\n (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org;\n envelope-from=opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from bombadil.infradead.org (bombadil.infradead.org\n [IPv6:2607:7c80:54:3::133])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g8St35Q4Fz1yJ9\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 05 May 2026 03:14:03 +1000 (AEST)", "from localhost ([::1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1wJwrq-0000000Do3G-2GYA;\n\tMon, 04 May 2026 17:14:02 +0000", "from mail-qt1-x82f.google.com ([2607:f8b0:4864:20::82f])\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1wJwrn-0000000Do1B-3sjS\n\tfor opensbi@lists.infradead.org;\n\tMon, 04 May 2026 17:14:01 +0000", "by mail-qt1-x82f.google.com with SMTP id\n d75a77b69052e-50fbd79350dso42718721cf.3\n for <opensbi@lists.infradead.org>;\n Mon, 04 May 2026 10:13:59 -0700 (PDT)", "from ubuntu.localdomain (172-97-209-197.cpe.distributel.net.\n [172.97.209.197])\n by smtp.gmail.com with ESMTPSA id\n d75a77b69052e-51040927789sm102332871cf.11.2026.05.04.10.13.57\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 04 May 2026 10:13:57 -0700 (PDT)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20210309; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:\n\tMessage-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=3HF7UQxdaUxvlz6zoUfIAsk+K3p3qyunJw3mn8cbBuI=; b=saBDQYasCPea7t\n\tBWWyHn7zUa2XYJqiNO73r0pRUFXAMgL/Gh5xg7qx/sIiiXn6MTnoSkZQNTHgeAP6sXFAp6dUW+rwU\n\tYjzQEgDM9Lcs9ePQcOOSFQCetaU0IEgSWx/W8zBhktWTN68IsKdOj2+qmEclnh82l1lf2dxbS9fYI\n\tWg9a12Gj74ucOnAIieuGdbHIGEF0zBJ50qOWp7r21V4pmo2HW906NIiFif4FR0c78KUrxMZPS2Mic\n\td5aoTFUp+yJy6fkOWCVfTzG5ZKD7tcnuCAHOUG942k9/kzkdiTWN4SeTZds5I1t5ip9+q/kmdI1aA\n\tlzjOmwbULuvlKOY066Cw==;", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1777914838; x=1778519638;\n darn=lists.infradead.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=9OpKhF7v0veecnKjbGBugILaGD4WV2r6Nl33+nrBSIA=;\n b=BjJhQ/v6lHylGHR5eYEf+Iki3sLmsxkP7FItiTew8klo5G057IKggcuyeYI4PjgAq0\n nD02KtmnNZLbMlUGKjIoQIr2CzED9s2k75OvhwDmq253q7ONaNv1jAvYDlKhJ4+U0DOt\n +oV03dGlI6K7ViyUp3BH00wkoEVwxhFXOOPQsw6CHQ5xCUZ7r8BZtQhollBKjf/8KKA/\n m3ICo+1nxwAZgVuhnR4DN22gK43CFffG2fBM3LHMETM7xPCOoPGmTimT53TZkw+bxAv3\n /QnXzW61FjJp6BaggZWTqYHhpFGunDVMtTeWGnD1Ed2+BG9MHjMUaeRR2TsM59vmy/EC\n al9Q==" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777914838; x=1778519638;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=9OpKhF7v0veecnKjbGBugILaGD4WV2r6Nl33+nrBSIA=;\n b=JcEF89poS0akm1yASl74MF4LyZ7+SL/LHtSYorTpgfD292zOXiBfKAxgTSo9LHSRrk\n 6ArtB8XUhqF9PoTA0VQ67dVzDqStrMmnP5jspArF3dVZwx1HtxbCZVUQAoyzKql4K7a+\n UJfzJ8Ph7NG7OKpcMq2VeW6riJQtFRluiT4W/IO3kBJtBRmW/Jgs4KWmiWCbYdmhiXL8\n EhB378p6C86Ao3voIb6TXDg6Vf1NFwyxHtVbewSs4iRHkuAQ6qu06L3LqbOcyY0edJz+\n SR7VtlKiMZrsIY7t63CeFhoMOpQUrYbu+6by9WH29/WaBMIOHSt/ACFs8IxdI3A1BXdT\n 1cmQ==", "X-Gm-Message-State": "AOJu0Yyvda1Kkm56IeR7hBf1tQx6KuV1SqGKerJKMCZpTx+JV8G/x0AP\n\tZ8lvEnU61GXCCRvGDxRf8ATnT+4b/xYPZgk01SGeUIyXc4JWXiFKIvJqZhgtqgaopJc=", "X-Gm-Gg": "AeBDievlx7Zd4sEuIGAru9drtJ1b07SxyvpM424RR6gdWVIgdhddxdkAq1EiIasG/8J\n\tPLwQpiv+1CD3w0Z/qGcXdCXL9K53JBkgqP6H8U9BtNEc3VGe1RrzBbd51C61tFB9UGehTxUQTSN\n\trJ8//bwt+4K4UbMQrE3wCyTJ2hxhrhyDCVxkyzIUS+ENeiiab4NfjQXX6LYLcwSVGKQz6z3wEms\n\tp1oux8JfSjmFosCfJQjAQyUZKnRq9ycLrnbujMlr8t27zCXZNWMznI/Ua8QtHla5K5TUjsJfHNj\n\tEeXQrufmFO0jXm3oQ/a/46L9x2phjDZShEAuNNxJm22i+b6wFR3Y2bdnNgRfkAw9/Ix0dYpZuak\n\tgVNhJ7CcyyFQ6SnIy5tJ80iDyElF4g+LnV7FBQ2OfgVXPxbog6VW9eCXw2IkcOMClawQ1EwpmQS\n\t1NMZnVFF60kS5GsEqj8/aA1wzwYP9IUj5ROVMKQKSWsl350wlQNpEH6pT8lLDv3ICxNv8VkQtSd\n\tSCiNXTWAaJJN/gFEdl7VQ==", "X-Received": "by 2002:a05:622a:208:b0:50f:783f:31a8 with SMTP id\n d75a77b69052e-5104bf428eamr152963271cf.28.1777914838181;\n Mon, 04 May 2026 10:13:58 -0700 (PDT)", "From": "Raymond Mao <raymondmaoca@gmail.com>", "To": "opensbi@lists.infradead.org", "Cc": "scott@riscstar.com,\n\tdave.patel@riscstar.com,\n\traymond.mao@riscstar.com,\n\trobin.randhawa@sifive.com,\n\tsamuel.holland@sifive.com,\n\tanup.patel@qti.qualcomm.com,\n\tanuppate@qti.qualcomm.com,\n\tanup@brainfault.org,\n\tdhaval@rivosinc.com,\n\tpeter.lin@sifive.com", "Subject": "[PATCH v2 3/3] [NOT-FOR-UPSTREAM] platform: generic: virt: add APLIC\n M-mode IRQ test overlay", "Date": "Mon, 4 May 2026 13:13:42 -0400", "Message-Id": "<20260504171342.1655882-3-raymondmaoca@gmail.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20260504171342.1655882-1-raymondmaoca@gmail.com>", "References": "<20260504171342.1655882-1-raymondmaoca@gmail.com>", "MIME-Version": "1.0", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20260504_101359_974919_4FCB6277 ", "X-CRM114-Status": "GOOD ( 13.63 )", "X-Spam-Score": "-2.1 (--)", "X-Spam-Report": "Spam detection software,\n running on the system \"bombadil.infradead.org\",\n has NOT identified this incoming email as spam. The original\n message has been attached to this so you can view it or label\n similar future email. If you have any questions, see\n the administrator of that system for details.\n Content preview: From: Raymond Mao Stock QEMU virt,aia=aplic delegates all\n wired IRQs from the M-mode APLIC to its child S-mode APLIC, which prevents\n the local APLIC_QEMU_WIRED_TEST path from exercising M-mode wired IRQ\n delivery. \n Content analysis details: (-2.1 points, 5.0 required)\n pts rule name description\n ---- ----------------------\n --------------------------------------------------\n -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no\n trust\n [2607:f8b0:4864:20:0:0:0:82f listed in]\n [list.dnswl.org]\n -0.0 SPF_PASS SPF: sender matches SPF record\n 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record\n 0.1 DKIM_SIGNED Message has a DKIM or DK signature,\n not necessarily valid\n -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n author's\n domain\n -0.1 DKIM_VALID Message has at least one valid DKIM or DK\n signature\n -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from\n envelope-from domain\n -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%\n [score: 0.0000]\n 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\n provider\n [raymondmaoca(at)gmail.com]", "X-BeenThere": "opensbi@lists.infradead.org", "X-Mailman-Version": "2.1.34", "Precedence": "list", "List-Id": "<opensbi.lists.infradead.org>", "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/opensbi>,\n <mailto:opensbi-request@lists.infradead.org?subject=unsubscribe>", "List-Archive": "<http://lists.infradead.org/pipermail/opensbi/>", "List-Post": "<mailto:opensbi@lists.infradead.org>", "List-Help": "<mailto:opensbi-request@lists.infradead.org?subject=help>", "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/opensbi>,\n <mailto:opensbi-request@lists.infradead.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "\"opensbi\" <opensbi-bounces@lists.infradead.org>", "Errors-To": "opensbi-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org" }, "content": "From: Raymond Mao <raymond.mao@riscstar.com>\n\nStock QEMU virt,aia=aplic delegates all wired IRQs from the M-mode\nAPLIC to its child S-mode APLIC, which prevents the local\nAPLIC_QEMU_WIRED_TEST path from exercising M-mode wired IRQ delivery.\n\nAdd a DT overlay that changes the M-mode APLIC delegation ranges from\n1..96 to 1..9 and 11..96, leaving hwirq 10 local to the M-mode APLIC.\nThis matches the local test path, which uses UART RX on hwirq 10.\n\nThe overlay is intended to be applied on top of a base DTB dumped from\nthe same QEMU virt,aia=aplic command line, so the embedded child\nphandle matches that dumped base DTB.\n\nUsage:\n- dump the base DTB from the target QEMU command line\n- compile this file as a DT overlay and apply it to the dumped base DTB\n- boot QEMU with the merged DTB and APLIC_QEMU_WIRED_TEST=y to verify\n M-mode wired IRQ delivery\n\nSigned-off-by: Raymond Mao <raymond.mao@riscstar.com>\n---\n .../virt/aplic_mmode_wired_irq_test.dts | 28 +++++++++++++++++++\n 1 file changed, 28 insertions(+)\n create mode 100644 platform/generic/virt/aplic_mmode_wired_irq_test.dts", "diff": "diff --git a/platform/generic/virt/aplic_mmode_wired_irq_test.dts b/platform/generic/virt/aplic_mmode_wired_irq_test.dts\nnew file mode 100644\nindex 00000000..8fb976b5\n--- /dev/null\n+++ b/platform/generic/virt/aplic_mmode_wired_irq_test.dts\n@@ -0,0 +1,28 @@\n+/dts-v1/;\n+/plugin/;\n+\n+/ {\n+\tfragment@0 {\n+\t\ttarget-path = \"/soc/interrupt-controller@c000000\";\n+\t\t__overlay__ {\n+\t\t\t/*\n+\t\t\t * Stock QEMU virt,aia=aplic delegates all wired IRQs from\n+\t\t\t * the M-mode APLIC to its child S-mode APLIC:\n+\t\t\t *\n+\t\t\t * <child-phandle 1 96>\n+\t\t\t *\n+\t\t\t * Keep hwirq 10 local to the M-mode APLIC by delegating\n+\t\t\t * only 1..9 and 11..96 to the child APLIC. This matches\n+\t\t\t * the local OpenSBI APLIC_QEMU_WIRED_TEST path, which\n+\t\t\t * exercises wired IRQ delivery via hwirq 10 (UART RX).\n+\t\t\t *\n+\t\t\t * This overlay is intended to be applied on top of a base\n+\t\t\t * DTB dumped from the same QEMU virt,aia=aplic command\n+\t\t\t * line. The child phandle value below therefore matches\n+\t\t\t * that dumped base DTB.\n+\t\t\t */\n+\t\t\triscv,delegate = <0x04 0x01 0x09 0x04 0x0b 0x60>;\n+\t\t\triscv,delegation = <0x04 0x01 0x09 0x04 0x0b 0x60>;\n+\t\t};\n+\t};\n+};\n", "prefixes": [ "v2", "3/3", "NOT-FOR-UPSTREAM" ] }