get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2217358,
    "url": "http://patchwork.ozlabs.org/api/patches/2217358/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/opensbi/patch/20260328054347.3706029-4-david.garcia@aheadcomputing.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": "<20260328054347.3706029-4-david.garcia@aheadcomputing.com>",
    "list_archive_url": null,
    "date": "2026-03-28T05:43:46",
    "name": "[3/4] lib: utils: irqchip: imsic: Dispatch non-IPI interrupts via irqchip framework",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "eb807d994633d41b07af08f5ea636b6b95f5ad67",
    "submitter": {
        "id": 92994,
        "url": "http://patchwork.ozlabs.org/api/people/92994/?format=api",
        "name": "David E. Garcia Porras",
        "email": "david.garcia@aheadcomputing.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/opensbi/patch/20260328054347.3706029-4-david.garcia@aheadcomputing.com/mbox/",
    "series": [
        {
            "id": 497851,
            "url": "http://patchwork.ozlabs.org/api/series/497851/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/opensbi/list/?series=497851",
            "date": "2026-03-28T05:43:47",
            "name": "irqchip/rpmi: Expose APLIC/IMSIC interfaces for platform use",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/497851/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2217358/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2217358/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=XR3C5fGv;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=aheadcomputing.com header.i=@aheadcomputing.com\n header.a=rsa-sha256 header.s=selector1 header.b=QQh9vR7e;\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 4fjRKb6mtQz20Hl\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 28 Mar 2026 16:44:32 +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 1w6MTA-00000008bOe-1jn0;\n\tSat, 28 Mar 2026 05:44:24 +0000",
            "from mail-westus3azon11020097.outbound.protection.outlook.com\n ([52.101.201.97] helo=PH7PR06CU001.outbound.protection.outlook.com)\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1w6MT7-00000008bMe-0SoB\n\tfor opensbi@lists.infradead.org;\n\tSat, 28 Mar 2026 05:44:22 +0000",
            "from SA1P222CA0110.NAMP222.PROD.OUTLOOK.COM (2603:10b6:806:3c5::22)\n by SJ0PR22MB3415.namprd22.prod.outlook.com (2603:10b6:a03:43d::15) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9745.20; Sat, 28 Mar\n 2026 05:44:14 +0000",
            "from SA2PEPF00003AE8.namprd02.prod.outlook.com\n (2603:10b6:806:3c5:cafe::55) by SA1P222CA0110.outlook.office365.com\n (2603:10b6:806:3c5::22) with Microsoft SMTP Server (version=TLS1_3,\n cipher=TLS_AES_256_GCM_SHA384) id 15.20.9745.24 via Frontend Transport; Sat,\n 28 Mar 2026 05:44:11 +0000",
            "from mail.aheadcomputing.com (50.45.236.54) by\n SA2PEPF00003AE8.mail.protection.outlook.com (10.167.248.8) with Microsoft\n SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9745.21\n via Frontend Transport; Sat, 28 Mar 2026 05:44:13 +0000",
            "from davidAhead.lan (unknown [10.8.0.9])\n\tby mail.aheadcomputing.com (Postfix) with ESMTP id B8DA280AAC;\n\tFri, 27 Mar 2026 22:44:12 -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=O+Ll5mTuMoigObcpF1yjOm3fZo2E+NCs4YLbGBV/bT0=; b=XR3C5fGvnq2AqW\n\t9dwgZ2zxvWr26tDk+uxRSkNpqlZstEs88fN4WF313QYzWmnflQsUNOIYugl7gB4v9apaWWYBNIJ5j\n\tSBwKyZ1jF5+IAG4QOlJtWZOWxLGN7R7mR2ovDyoGGLysHB6PFsTRDXDD/b7d0/s/8SiRyXaKQYFI+\n\t8vpfvOvNKynd4qMeEdP0g0zojxeNYluk0ejNT+Zm6UrTa/BX9iIP5TKofD3xLOvXM0Pf3AkRL2zYA\n\tLApmbmd4Urio8Bg8DmG09T6CMjprOBzZjw4qEdO1QAICb+4KtPOo5M+0P7i8Hc62b9e0J8C1+Or7o\n\toH72O3rAT18NsZJNMyCA==;",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=aheadcomputing.com;\n s=selector1;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=hm0eVFAaxCXXYZXXahIU+DW6NJs+3qpr+V95zLCnyG4=;\n b=QQh9vR7egqQhduHnUZHF/Xbf5cYbpI6+KLTkY1xr/rEFzub70PMcXMLFkPj21cqmr5JCVBvvo+3C6GqnzjW4vl6T3XyVZRbou+ESSc3EepHsCagp3Rxqqs4Ef4t4EAbvcBsqT62RL4ZdsAvbchHkLsZ/tdZNd03oPHAlMUwoyqZ+zNGdNMqp8SurAg3zTMuhl/4dVhnOQyXnlVhgKPNxt/YUSsw1M/iYb10MbyJw+b0P03F/KEWxn1IWWvdNdzMFk+13A7EAQD/D2yiMw19l/QYAgArLH0eV/ttbYkU6RJgNCQbe9d2Vssh8RdOZZOxRAcLGYyF4CKnV/HuUaBYc0w=="
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=NIlstxYnThiRjDbb9mlbNtFAqAPKSgd0NS9MHljpt+hq+wFUibo3GE0goNuoApKZVDrTU05Z2wzT1XMkuHx765yoP135FcTyfp1p1nvKQjhlsb1nDUuQikjlvJ4Y0y/D/yg6oDZlUuNnetBygO3Jyu/NuB53DB3Bp4guHPBO9sEPQNV4db9gsBSzyYc3DU5HpzRsep4gDVe//CZKERb8y4efqxN9ta1wrep5Gcbh2Vi+3f/DdZf5uEv4owK4Rlzck9K2VeOeMGkisbCxqByjm01rai1zuHoF625WkVNt+WqsrsQvDtgddtK+8NeyCXdYNafyrAhpEUMO5Eonh/rIXA==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector10001;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;\n bh=hm0eVFAaxCXXYZXXahIU+DW6NJs+3qpr+V95zLCnyG4=;\n b=wmyIVGMqvTitYVDiSM0ODDFPBhPcoGbNtst2dNR2BbxUDDwi2Wdo8J3BLwIKy8Pm9k4IFzFpbX8dkF00xUOUzocKFAJu4vdFZyJ6KCMVyWeAEljQMeQEoBOgi87uBhYCHXXfktES5mMSgY896iy5UgcWMsRSQx1jp8hlOkG9pZ/Da3pl5HQBTpL9e6zJtoSUDK5fr3u/b3Vx9sVayRoWg8591K2bRhM02iCjhwoHVmJFUu+2OQiWwj+SSuzV5s9DyERiNxh8dTe1akdgAPcmndPfbPTWO3sExkT4162bg+f6WOC2Pvq6hN13u+C8aylz0WX57DdBghvbdZjPaSWWCQ==",
        "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=fail (sender ip is\n 50.45.236.54) smtp.rcpttodomain=aheadcomputing.com\n smtp.mailfrom=aheadcomputing.com; dmarc=fail (p=none sp=none pct=100)\n action=none header.from=aheadcomputing.com; dkim=none (message not signed);\n arc=none (0)",
        "X-MS-Exchange-Authentication-Results": "spf=fail (sender IP is 50.45.236.54)\n smtp.mailfrom=aheadcomputing.com; dkim=none (message not signed)\n header.d=none;dmarc=fail action=none header.from=aheadcomputing.com;",
        "Received-SPF": "Fail (protection.outlook.com: domain of aheadcomputing.com does\n not designate 50.45.236.54 as permitted sender)\n receiver=protection.outlook.com; client-ip=50.45.236.54;\n helo=mail.aheadcomputing.com;",
        "From": "\"David E. Garcia Porras\" <david.garcia@aheadcomputing.com>",
        "To": "opensbi@lists.infradead.org",
        "Cc": "\"David E. Garcia Porras\" <david.garcia@aheadcomputing.com>",
        "Subject": "[PATCH 3/4] lib: utils: irqchip: imsic: Dispatch non-IPI interrupts\n via irqchip framework",
        "Date": "Fri, 27 Mar 2026 23:43:46 -0600",
        "Message-ID": "<20260328054347.3706029-4-david.garcia@aheadcomputing.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260328054347.3706029-1-david.garcia@aheadcomputing.com>",
        "References": "<20260328054347.3706029-1-david.garcia@aheadcomputing.com>",
        "MIME-Version": "1.0",
        "X-EOPAttributedMessage": "0",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-TrafficTypeDiagnostic": "SA2PEPF00003AE8:EE_|SJ0PR22MB3415:EE_",
        "X-MS-Office365-Filtering-Correlation-Id": "17d0651f-f329-47ae-1a3e-08de8c8d0b44",
        "X-MS-Exchange-AtpMessageProperties": "SA",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-MS-Exchange-AntiSpam-Relay": "0",
        "X-Microsoft-Antispam": "\n BCL:0;ARA:13230040|1800799024|36860700016|376014|82310400026|56012099003|18002099003|22082099003|55112099003;",
        "X-Microsoft-Antispam-Message-Info": "\n mXMn2Zh3NaPDJgKuJQMu+PrggvwVn3/F8RbB2m1s+lIRmOJpjHZ7T3EnX6vgcDtwcB/ahOwNdgDZIZtIy9MpzajlTDBwRC9TlpvDLv8jte9v0SYn3e4yx1BWqNP+3pdS9eJimABBBj5THFMVlLGiN8A6D9Ki9YCVZddCKlrmsuhcVEphr5MLzT3R1RQoLadbc8eaXLCWKpAzDi6kwM5kPnxhF3wS48Dl4qI1IYbi9RQ9zjcUOLQhxkn6wUVpwLu4wbV9Wz5YE7gsxvB3kvCypdf9N3NdaF6u8SqRHywSHy1v5NyVILhp9LWNSSuRGitqyUUdvFH3Fvn+XEtZHkKvJlpWZ54QUfaxkgxJeULWnr2AYCJpguDlAjKlEUngIfSmXlkn2PJwzujgQB6SSvCRoIHrBNlUpXgMfNpGW7DKGC2LUek9+q18//E367gEqq95rAHyEcjGnS3nVRx38uX/WQwXYL9CrUMIPj5ypF3nTNHpBZT+qjVeSgvfupv8qP9I5eXcTep8pATBmYYMokV8aD5yYgyMUzZN5QJXQU0GLyGQmDJOd51ZhMLTP+fV0odX/pukVBfmdWEE077aWSZNsRCOvxtbIpb5c8sqdFQyQ1gKN8b8TuKMr02hjSl9a0tik8UKttgsk5rmFV/TbOED4uiQgmxDKsBAuVls2c21S7AiWmfjLr1gTw/IXxNGbYSsLF4jfnVS+DAZUdBEJpO8/nL71SfSNYatApajQUqxUydJeASyX94ClnRX8OYTmZa6OhVlLwozRnB1RXLrjR4spA==",
        "X-Forefront-Antispam-Report": "\n CIP:50.45.236.54;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.aheadcomputing.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(1800799024)(36860700016)(376014)(82310400026)(56012099003)(18002099003)(22082099003)(55112099003);DIR:OUT;SFP:1102;",
        "X-MS-Exchange-AntiSpam-MessageData-ChunkCount": "1",
        "X-MS-Exchange-AntiSpam-MessageData-0": "\n iyomaIwmvYtPcY4SnRLl158Ow8NoIAMAN/udxmoTp5L8UWO1Qv+RPmIrnpl0xGUNTTmDYLoPUAPSIBYd8IVK+Q/yHTlErLdEOmODQBCClS6DJs6BiTY2+XcD4t4J1S9eO19JXuNkjZM8icqwJVfiq0kyTnzoHvTpURSRdu/uFPJFquh+0zy0Jh7o4JriAxF6LaVOaZDrRoP6L7A5V64VMAX5+IPWyxwVAf962sgsq0BNipEtIft1q2ecGSAX/rGxal6xUqraPspCijGTgPvOtVv5qDXSl3y79+NuqntE+mLtJiSbqNQnlkgLb8fAIN/4IHYUsXTvcyrIkezUwjHRDfc7y+AQIk5aSgxzfeiw0yU8KMssNUnQN7g3zOm6VzFkwR1KD0iNHRjWGAJvSihr/Z+jb0xsZw6ElhPcPCEh1Ysn4Ux66S9JUKVXn2onf0Fv",
        "X-OriginatorOrg": "aheadcomputing.com",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "28 Mar 2026 05:44:13.9529\n (UTC)",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n 17d0651f-f329-47ae-1a3e-08de8c8d0b44",
        "X-MS-Exchange-CrossTenant-Id": "53cf747c-7b8f-4d06-8b1e-b22383a3fabf",
        "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "\n TenantId=53cf747c-7b8f-4d06-8b1e-b22383a3fabf;Ip=[50.45.236.54];Helo=[mail.aheadcomputing.com]",
        "X-MS-Exchange-CrossTenant-AuthSource": "\n SA2PEPF00003AE8.namprd02.prod.outlook.com",
        "X-MS-Exchange-CrossTenant-AuthAs": "Anonymous",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "SJ0PR22MB3415",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20260327_224421_149179_2C69C2A9 ",
        "X-CRM114-Status": "UNSURE (   7.36  )",
        "X-CRM114-Notice": "Please train this message.",
        "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:  Currently imsic_process_hwirqs() only handles the IPI\n interrupt\n    (IMSIC_IPI_ID) and logs all other external interrupts as unhandled.\n Platforms\n    using IMSIC in MSI delivery mode (APLIC wired to IMSIC) ha [...]\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                             [52.101.201.97 listed in 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_VALID_AU          Message has a valid DKIM or DK signature from\n author's\n                             domain\n  0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n not necessarily valid\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 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to\n                              Validity was blocked.  See\n                             https://knowledge.validity.com/hc/en-us/articles/20961730681243\n                              for more information.\n                             [52.101.201.97 listed in sa-accredit.habeas.com]\n  0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The\n                             query to Validity was blocked.  See\n                             https://knowledge.validity.com/hc/en-us/articles/20961730681243\n                              for more information.\n                          [52.101.201.97 listed in\n sa-trusted.bondedsender.org]\n  0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)\n                             [52.101.201.97 listed in wl.mailspike.net]\n  0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to\n                              Validity was blocked.  See\n                             https://knowledge.validity.com/hc/en-us/articles/20961730681243\n                              for more information.\n                             [52.101.201.97 listed in\n bl.score.senderscore.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": "Currently imsic_process_hwirqs() only handles the IPI interrupt\n(IMSIC_IPI_ID) and logs all other external interrupts as unhandled.\nPlatforms using IMSIC in MSI delivery mode (APLIC wired to IMSIC)\nhave no way to handle M-mode external interrupts through the\nexisting sbi_irqchip handler registration framework.\n\nRoute non-IPI interrupts through sbi_irqchip_process_hwirq() so\nthat handlers registered via sbi_irqchip_register_handler() are\ninvoked. Also implement hwirq_unmask and hwirq_mask callbacks\nusing the existing imsic_local_eix_update() helper, enabling\nsbi_irqchip_register_handler() to automatically enable interrupt\nidentities when a handler is registered.\n\nSigned-off-by: David E. Garcia Porras <david.garcia@aheadcomputing.com>\n---\n lib/utils/irqchip/imsic.c | 15 +++++++++++++--\n 1 file changed, 13 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/lib/utils/irqchip/imsic.c b/lib/utils/irqchip/imsic.c\nindex 7559a069..6fd82688 100644\n--- a/lib/utils/irqchip/imsic.c\n+++ b/lib/utils/irqchip/imsic.c\n@@ -159,8 +159,7 @@ static int imsic_process_hwirqs(struct sbi_irqchip_device *chip)\n \t\t\tsbi_ipi_process();\n \t\t\tbreak;\n \t\tdefault:\n-\t\t\tsbi_printf(\"%s: unhandled IRQ%d\\n\",\n-\t\t\t\t   __func__, (u32)mirq);\n+\t\t\tsbi_irqchip_process_hwirq(chip, mirq);\n \t\t\tbreak;\n \t\t}\n \t}\n@@ -353,10 +352,22 @@ static int imsic_hwirq_setup(struct sbi_irqchip_device *chip, u32 hwirq)\n \treturn 0;\n }\n \n+static void imsic_hwirq_unmask(struct sbi_irqchip_device *chip, u32 hwirq)\n+{\n+\timsic_local_eix_update(hwirq, 1, false, true);\n+}\n+\n+static void imsic_hwirq_mask(struct sbi_irqchip_device *chip, u32 hwirq)\n+{\n+\timsic_local_eix_update(hwirq, 1, false, false);\n+}\n+\n static struct sbi_irqchip_device imsic_device = {\n \t.warm_init\t= imsic_warm_irqchip_init,\n \t.process_hwirqs\t= imsic_process_hwirqs,\n \t.hwirq_setup\t= imsic_hwirq_setup,\n+\t.hwirq_unmask\t= imsic_hwirq_unmask,\n+\t.hwirq_mask\t= imsic_hwirq_mask,\n };\n \n int imsic_cold_irqchip_init(struct imsic_data *imsic)\n",
    "prefixes": [
        "3/4"
    ]
}