get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2195792/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2195792,
    "url": "http://patchwork.ozlabs.org/api/patches/2195792/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/opensbi/patch/20260211222025.2463312-2-raymondmaoca@gmail.com/",
    "project": {
        "id": 67,
        "url": "http://patchwork.ozlabs.org/api/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": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": "https://github.com/riscv/opensbi/commit/{}"
    },
    "msgid": "<20260211222025.2463312-2-raymondmaoca@gmail.com>",
    "list_archive_url": null,
    "date": "2026-02-11T22:20:23",
    "name": "[1/3] lib: sbi_irqchip: Add irqchip private context pointer in sbi_irqchip_device",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "9a88c1ff1f6237927925b1204b8a1e53eda0335a",
    "submitter": {
        "id": 91989,
        "url": "http://patchwork.ozlabs.org/api/people/91989/?format=api",
        "name": "Raymond Mao",
        "email": "raymondmaoca@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/opensbi/patch/20260211222025.2463312-2-raymondmaoca@gmail.com/mbox/",
    "series": [
        {
            "id": 491914,
            "url": "http://patchwork.ozlabs.org/api/series/491914/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/opensbi/list/?series=491914",
            "date": "2026-02-11T22:20:24",
            "name": "APLIC hwirq implementation for irqchip",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/491914/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2195792/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2195792/checks/",
    "tags": {},
    "related": [],
    "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=IusZaCJs;\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=20230601 header.b=Wh9Rtsk/;\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 4fBCZ05zLxz1xxG\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 12 Feb 2026 09:20:51 +1100 (AEDT)",
            "from localhost ([::1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1vqIZf-000000017wb-0c5p;\n\tWed, 11 Feb 2026 22:20:43 +0000",
            "from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832])\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1vqIZc-000000017w7-42nj\n\tfor opensbi@lists.infradead.org;\n\tWed, 11 Feb 2026 22:20:42 +0000",
            "by mail-qt1-x832.google.com with SMTP id\n d75a77b69052e-506362ac5f7so53768691cf.1\n        for <opensbi@lists.infradead.org>;\n Wed, 11 Feb 2026 14:20:40 -0800 (PST)",
            "from ubuntu.localdomain (174-138-202-16.cpe.distributel.net.\n [174.138.202.16])\n        by smtp.gmail.com with ESMTPSA id\n d75a77b69052e-50684b6b576sm22824291cf.21.2026.02.11.14.20.38\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Wed, 11 Feb 2026 14:20:39 -0800 (PST)"
        ],
        "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=ZX/r6UG6LS7OxshDAgIVPjx7XruWLZdckV8u8u3NXws=; b=IusZaCJsGnvlRr\n\tiIOBXoZXdno60EoS+i7cI7H2KhCey7GS9Jy66eyoEDGfeDcAEnzpPkAIToRlcb6ah08dPCU3LpQvx\n\t8gLD8sNvlinwf/n+/uBCFLwrVPFFhEzifTbmphLAk96lBKQykkyOn0KRC0d+PyBuUd0Tnh40jLVhv\n\tybQGYuoAHGaouuRbU3wqIs46hksbBVztZXmEhKBec4lVx/gSaEFB4A+3ZVmtmub+hv8zQK3jKuD2F\n\t8SUwV8K5C4nqC+7NF2AQEpUerdn8mcKETC5Iry6WDNzH3rLNWmTvBDIgZBy7YjGk0UsvFIVayAcg+\n\t2vhCgTIcBVmkUGtG9/mA==;",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20230601; t=1770848439; x=1771453239;\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=jIwNQ/1syVGNrDDzavJzxoaIr0RpRr/P5kdAqu/8y64=;\n        b=Wh9Rtsk/278AFYr0E0/QWzGFtnNaLj4/6OA5NEFJyZdPUbJOPr8YPp8ftLZJD8TC4r\n         vwNinfI3vw/uyC+X0cFS86k+Fd4hy/3hrfIm/UNz+F7iK5dOkEAzmMjMHoedLzF6cq5A\n         9sXMyIs8IvCWgFvVQPFHByiSlgtNb/U7H0EdedlvRhE344WdPSWZTct94PnyTr1QQxHh\n         WRULohVls7q1v/bhB79Fg0VWBKLH7FR7GTCl12yBHmr9ktES0TMJfzZvK727BcKGZvtp\n         9q6zXLt09mPHUWmYW6bIvsYBf++CKNb1pLqYhwiS8kfRFUVxFcwtIHpws9BB4oVW6ppI\n         FPzg=="
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20230601; t=1770848439; x=1771453239;\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=jIwNQ/1syVGNrDDzavJzxoaIr0RpRr/P5kdAqu/8y64=;\n        b=N+KRle5ZozQCdBSygFpqK+vtknV+47X2Y7phimLQbIa7bpR3r4Mr4165LMFdvaX+A1\n         yrf9gZ2nNs71R5TL3JdbHMWlWHTOwcavzPiDEOIu1YLsk9OShbndoYV7OxVGrbNb3Ial\n         6s4Q1f+h7Dj06S/SChd/8wBQwneX5+7Jc0RQ0RvB7yjoZOIWbKrLuvNHbhVvSvpqodk2\n         EPjRzJbjkGDbd9vEQqO5a0Xryv7mXJHqKgFtJJjMPiDnxxAxAlGCtMsqFOoj5r0YyMQO\n         E52XqcPEAXfHTr8RyLPOeciiIeORoCsP97S7TBCSvDOE2UirdvnT4DsxE4p0XnNXd//h\n         hRqQ==",
        "X-Gm-Message-State": "AOJu0YzqJX7e7noadNJ5U2rCV+hAa7eiz5ohUJLmGURelAxmDtZAo+SF\n\tMNU7EqmjVSkhJ6n4LieYRnwdTvpFzEdx1NUc+KMWo5dzj3G9fa5ZCSk5Bh+riA==",
        "X-Gm-Gg": "AZuq6aIECU+EfWwCq9aY5t3oiXgwBbCfkt+RaCMK+BBmIWNqYWhCbYitWGoZzUmzHoI\n\tuoe01aKc+nkFyXMy38fmh/jV+Cxz0dkmkI/NBhNpdS4vlXplOO45RTCIs3qVQcO4THqYGxzUqtq\n\t5QyT/XrCk/ZqzR7DRFQTFeY3yVFCbOXZPbCsdNczr/xUAg1mvn6Amjqwt+dWBcHuSwPGC63XLb2\n\tDtB+M/hUgCSaMstr2sG3m3HubWDLwWnDALm7xcPf0/jt4lfW5HDusvORvDqcMwoidxBB8GCmRO9\n\thhSHtwZgHPZa6NOrOSLy2V2Il6NgMBPI0nHkYmxIdeYzLiHoCV153jFcuWe0xQg3FQFDdymeFSb\n\tOQnVAK3dD865akseyNvDuF2cjGCK/90SRoaoXnnw+bJtLlztEWOfGOT7GJjWjmjpBVT9TvwVWtf\n\tiXA/K7bpBqcBgyvt4odxLLtWfaVXWd+qAxiz+1c5hX6jByR/M+Cfh9tT2Jwd3xZfmgN22IU9Qr4\n\t0q8KFMow3Y=",
        "X-Received": "by 2002:ac8:7e81:0:b0:4ee:2154:8032 with SMTP id\n d75a77b69052e-50691c603d9mr16401041cf.6.1770848439467;\n        Wed, 11 Feb 2026 14:20:39 -0800 (PST)",
        "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\tdhaval@rivosinc.com,\n\tpeter.lin@sifive.com",
        "Subject": "[PATCH 1/3] lib: sbi_irqchip: Add irqchip private context pointer in\n sbi_irqchip_device",
        "Date": "Wed, 11 Feb 2026 17:20:23 -0500",
        "Message-Id": "<20260211222025.2463312-2-raymondmaoca@gmail.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20260211222025.2463312-1-raymondmaoca@gmail.com>",
        "References": "<20260211222025.2463312-1-raymondmaoca@gmail.com>",
        "MIME-Version": "1.0",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20260211_142041_005904_4B57618C ",
        "X-CRM114-Status": "UNSURE (   8.25  )",
        "X-CRM114-Notice": "Please train this message.",
        "X-Spam-Score": "-1.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 HW specific private data is required for\n    irqchip device operations, for example, for APLIC, address,\n num_idc and num_source\n    are needed for mask / unmask / claim an IRQ, thus it is reasonable to add\n    a [...]\n Content analysis details:   (-1.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:832 listed in]\n                             [list.dnswl.org]\n  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record\n -0.0 SPF_PASS               SPF: sender matches SPF record\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_SIGNED            Message has a DKIM or DK signature,\n not necessarily valid\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]\n  1.0 FORGED_GMAIL_RCVD      'From' gmail.com does not match 'Received'\n headers",
        "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\nHW specific private data is required for irqchip device operations,\nfor example, for APLIC, address, num_idc and num_source are needed\nfor mask / unmask / claim an IRQ, thus it is reasonable to add a\nprivate HW data pointer in sbi_irqchip_device.\n\nSigned-off-by: Raymond Mao <raymond.mao@riscstar.com>\n---\n include/sbi/sbi_irqchip.h | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/include/sbi/sbi_irqchip.h b/include/sbi/sbi_irqchip.h\nindex 77b54110..af820ec1 100644\n--- a/include/sbi/sbi_irqchip.h\n+++ b/include/sbi/sbi_irqchip.h\n@@ -56,6 +56,9 @@ struct sbi_irqchip_device {\n \n \t/** Unmask a hardware interrupt of this irqchip */\n \tvoid (*hwirq_unmask)(struct sbi_irqchip_device *chip, u32 hwirq);\n+\n+\t/** Irqchip device private context */\n+\tvoid *chip_priv;\n };\n \n /**\n",
    "prefixes": [
        "1/3"
    ]
}