{"id":2221495,"url":"http://patchwork.ozlabs.org/api/1.1/covers/2221495/?format=json","web_url":"http://patchwork.ozlabs.org/project/opensbi/cover/20260409145716.2611852-1-david.garcia@aheadcomputing.com/","project":{"id":67,"url":"http://patchwork.ozlabs.org/api/1.1/projects/67/?format=json","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":"<20260409145716.2611852-1-david.garcia@aheadcomputing.com>","date":"2026-04-09T14:57:14","name":"[0/2] MPXY MSI availability and RPMI notification updates","submitter":{"id":92994,"url":"http://patchwork.ozlabs.org/api/1.1/people/92994/?format=json","name":"David E. Garcia Porras","email":"david.garcia@aheadcomputing.com"},"mbox":"http://patchwork.ozlabs.org/project/opensbi/cover/20260409145716.2611852-1-david.garcia@aheadcomputing.com/mbox/","series":[{"id":499310,"url":"http://patchwork.ozlabs.org/api/1.1/series/499310/?format=json","web_url":"http://patchwork.ozlabs.org/project/opensbi/list/?series=499310","date":"2026-04-09T14:57:14","name":"MPXY MSI availability and RPMI notification updates","version":1,"mbox":"http://patchwork.ozlabs.org/series/499310/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/2221495/comments/","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=nTkJd2Od;\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=uSnltATe;\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 4fs32G3Zk5z1yD3\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 10 Apr 2026 00:57:42 +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 1wAqp3-0000000AkLb-0yJn;\n\tThu, 09 Apr 2026 14:57:33 +0000","from mail-westusazlp170100001.outbound.protection.outlook.com\n ([2a01:111:f403:c000::1] helo=BYAPR05CU005.outbound.protection.outlook.com)\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1wAqoz-0000000AkLF-3KcI\n\tfor opensbi@lists.infradead.org;\n\tThu, 09 Apr 2026 14:57:31 +0000","from BYAPR01CA0044.prod.exchangelabs.com (2603:10b6:a03:94::21) by\n DS4PPFA3A665146.namprd22.prod.outlook.com (2603:10b6:f:fc00::b3c) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9769.21; Thu, 9 Apr\n 2026 14:57:20 +0000","from SJ1PEPF00001CE4.namprd03.prod.outlook.com\n (2603:10b6:a03:94:cafe::1) by BYAPR01CA0044.outlook.office365.com\n (2603:10b6:a03:94::21) with Microsoft SMTP Server (version=TLS1_3,\n cipher=TLS_AES_256_GCM_SHA384) id 15.20.9769.41 via Frontend Transport; Thu,\n 9 Apr 2026 14:57:20 +0000","from mail.aheadcomputing.com (50.45.236.54) by\n SJ1PEPF00001CE4.mail.protection.outlook.com (10.167.242.20) with Microsoft\n SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9769.17\n via Frontend Transport; Thu, 9 Apr 2026 14:57:20 +0000","from davidAhead.lan (unknown [10.8.0.20])\n\tby mail.aheadcomputing.com (Postfix) with ESMTP id 1DA5C80AAA;\n\tThu,  9 Apr 2026 07:57:19 -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:Message-ID:Date:Subject:Cc\n\t:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:\n\tList-Owner; bh=xOp0JvlRxWy8k4OMmq3b/ycohmMLmzDt7CGVP5xXCAg=; b=nTkJd2OdSstCnB\n\t8OIqSvy34xKpvfGedPn90jZvZerE7RXutGWIJxF9OruJLd43hbbDZYY8d2UtLJgyimUiFzKC8vFVl\n\t9LiQIKDPEDduzhiSI8/BcqYWa8rmON7wBR/VSmAP29Yu2NtwMIjIWf66OghoDYhyTfgCiAa88VJcx\n\tAbpcWGI9Z0LpGgDja/okzCkiwHd39tel2rB09aV6uOiBEgmh+1Jf/Pzp5McSKVecBCRRio3FA/Tsn\n\t5671INpq/BTnB72CifX2VOEK4+B7+DzmvFOJBJk5J+AZHcQ8QH9jSTol7/hKHiELKx0u179RbNHq2\n\t979uKUXKkmeXtYBKZmVQ==;","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=HXGIworoXkxBBfssHq6GgzqSXHiJ5gm8CpugrLfeYt8=;\n b=uSnltATesh4OuFXQInBSBg17WopWuo+Q4l152UsQR5kEjfFc2xqoW/JbGT9HWe7jERjZ4VjyFySuplFLNd+2NfODltwd2tz5OCBy8W/XpGUQvX323WL0XNGjItjZg7tPk4UQdsJsP5G9BWc7KFrsYtkHDhWFUAsmnKILintM7zp5xlnlSa3axLa6ghxqErQkN34QYWXYFxu7vnGXtn+8witN7SuIwV1KybsXjFHP9FYJfCdq6tklKve3ajPqy3Xr36IJp6VIzWIKLITbVQNG8G+EarHb+BfxklgDuczLXjlQin00S1nbJTfNlnggrYMFTm51hDlzhMRrFDR8glJHJQ=="],"ARC-Seal":"i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=ygsgEG+h/ZKoapHCgCovhOFF3LbUlfrBhTp1B1QXS/qUVCJ/TRrxNntlek7lGU4SAJFYp+zt4kZ8sMjvxJGXomw+CNuppu8di6bsCdx5s27jKgcsj5Nva8ubydF++kCZBrms2+h7nye4Yz1SmD4UflmIxQ2s9glO96gkiECJeG99CtKKn8llFfhRzmK1/582/qejgaAcrDfk+GRu4FRdg6g5Y2B3dc04TrECuqJtYyq69iq7B1TZyV+8WIZAjohJhaMT0saj/C1KL8hhtu3ulgxjKdUzVe0gC+7ruU1l3s7cxMd/LUaZ02IWKg8X8JMrZS2q1NG1IXGQ3PCUObuFKA==","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=HXGIworoXkxBBfssHq6GgzqSXHiJ5gm8CpugrLfeYt8=;\n b=fkTlCg9/PIIMQh+/8AL3AneQ9dZWIL4pIXf8mqVqxIagId1O+PCExP+s3+5Zdq/PavTcpXyR2stKaI34uvGEKIyeK+z1QiflZu6Mh73TH/hBPQBPOOynn3v3tpOZaFEyjKnMslRdBxxHxI8mAVdGtpPpqa4nMv7+doVi4hFReUJQu1EAjrMSHL5vpDkzTRZjdPJbf/63fm8f1YmLK4J99yhWc+jz4lJwE6WeBGndowybxPuE7q5J49NHoUj33M2xyZJHv5qo24RtMyOo9oLBl92lpLHqU3glodnVLJi5/MPQtEGyVMVGG1biQy9yyLM/ubz4iTl3TTyeuECPKbRkOw==","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 0/2] MPXY MSI availability and RPMI notification updates","Date":"Thu,  9 Apr 2026 08:57:14 -0600","Message-ID":"<20260409145716.2611852-1-david.garcia@aheadcomputing.com>","X-Mailer":"git-send-email 2.43.0","MIME-Version":"1.0","X-EOPAttributedMessage":"0","X-MS-PublicTrafficType":"Email","X-MS-TrafficTypeDiagnostic":"SJ1PEPF00001CE4:EE_|DS4PPFA3A665146:EE_","X-MS-Office365-Filtering-Correlation-Id":"c1e110f8-7489-418f-fdde-08de96484ce7","X-MS-Exchange-AtpMessageProperties":"SA","X-MS-Exchange-SenderADCheck":"1","X-MS-Exchange-AntiSpam-Relay":"0","X-Microsoft-Antispam":"\n BCL:0;ARA:13230040|36860700016|376014|82310400026|1800799024|56012099003|55112099003|18002099003;","X-Microsoft-Antispam-Message-Info":"\n wqZQLoaowwBx2idGuneJ4IENsSH0cNEiddJO1hJNMbMY8t+KCF9m10tDzbAmCndnj0xFuJ0iaTu4LPOjfdb453wHbjIYwdj4uWmd9J4WS3qEKfDQci2vI6cludKhzdu9YhC1bt67iaWljGgC6uV79Sl56ScnU3BVDoW3bFo0+Rk6+RiQ1Cdzy8EXcSRRkIzysPHQxcad5MFZRuisfmdWBllKspnJjgh2sBtkCEV5uLXm1rOxIdXZZoDC8f61iSz3S/iSGFQLbgjPhfKIDz9pA/oKMyNr+WjEyK/VRZkQYxe7bH2HCZyLsVCgogzVaa4azGJY4N5jdhmRp+ocUp/TxWbzm6l880bY2QB3hjrHff89jgzle6su8FQIeiibsmiohXf1gQ8B1z7h/f4aNKHdj6XdVhkOmLM0QLdI7vCyUERlMLP5JirVhYglTKBcIdkfFObLxqezOCN9xZZdXzRvWnXGO4ehNHLX1TiPIDgbi2DIJykevf8ws7UnbFZkWmqasJg1ZjEjkxW+cZDKT5R3qAVjcjgEByDP1a9RqoD/dsl5PNfMDyaShaBfKD36At9gRtsNa2VDRR7ExQIk7F0u2LspBrAJKvhNg6avzi+wuMfcP/qDc6U5N5rjjunHbF1z1+ddC4Js/+oFWr+SeVZmyAkV9ggv40k4IGSHJS304m4Xc2xtf5bnVHenM9pcvyfiQYSVZehrmsO5dSPiGzrvyzKW3kB7obgphMNuLJeQPo3sdm4OJl59lBFlArcxZTtJ9zgopyhgVaZU7anYX+n4nw==","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)(36860700016)(376014)(82310400026)(1800799024)(56012099003)(55112099003)(18002099003);DIR:OUT;SFP:1102;","X-MS-Exchange-AntiSpam-MessageData-ChunkCount":"1","X-MS-Exchange-AntiSpam-MessageData-0":"\n nf35XX+VJP99zydvHNlSK5VoFRwe1/D7pZxMTLKTQzMYWvJfhbRw28V7WyHBMghi/q4zFQRH1DuuzhiOp2KCOmunEBI9l4L/mcWgsrPNZZtQDPP+QMGOuMaECuGfMFnXKyezVgYLr/SrHRM36clAtf1WlT6mkoIZNkenBQnwKbQRg5bZwtctCBg5q1x6oFnA0KyXTWj+QcfmdWpqDDmcL4CflkwssLktco0zo8cRWsD8qzFzqEOa5qnolkvsVlSWLjJ4NRANHn9ivziWvqwyDQmw1QzzpULIN4xJYV95jXWvK6H4ywT46qa3IBR9PIJ/CV8ZSVS7kkIEsw5JpBrYRQOUZQCPTPkLDIDoOd8wV8b1r4vkzWAzZ7f+WuIUWK8XTZA/dUvVxDLPIoD5AftHtP8YCA/M1EnYLLrqR1Bep6nAUOCusxgOOZ090STaJYl/","X-OriginatorOrg":"aheadcomputing.com","X-MS-Exchange-CrossTenant-OriginalArrivalTime":"09 Apr 2026 14:57:20.4948\n (UTC)","X-MS-Exchange-CrossTenant-Network-Message-Id":"\n c1e110f8-7489-418f-fdde-08de96484ce7","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 SJ1PEPF00001CE4.namprd03.prod.outlook.com","X-MS-Exchange-CrossTenant-AuthAs":"Anonymous","X-MS-Exchange-CrossTenant-FromEntityHeader":"HybridOnPrem","X-MS-Exchange-Transport-CrossTenantHeadersStamped":"DS4PPFA3A665146","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20260409_075730_091537_A6DBBC7B ","X-CRM114-Status":"UNSURE (   5.11  )","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:  This series enables proper MSI availability determination\n   for MPXY channels and updates RPMI notification structures and Performance\n    service group event definitions. Patch 1 replaces the hardcoded msi_avail\n    = false in MPXY channel setup with a runtime check using imsic_get_data()\n    to detect IMSIC presence per hart. A static inline stub is added for\n builds\n    without C [...]\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                             [2a01:111:f403:c000:0:0:0:1 listed in]\n                             [list.dnswl.org]\n -0.0 SPF_PASS               SPF: sender matches SPF record\n -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record\n -0.1 DKIM_VALID_EF          Message has a valid DKIM or DK signature from\n                             envelope-from domain\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 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n                             [score: 0.0000]","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":"This series enables proper MSI availability determination for MPXY\nchannels and updates RPMI notification structures and Performance\nservice group event definitions.\n\nPatch 1 replaces the hardcoded msi_avail = false in MPXY channel setup\nwith a runtime check using imsic_get_data() to detect IMSIC presence\nper hart. A static inline stub is added for builds without\nCONFIG_IRQCHIP_IMSIC.\n\nPatch 2 adds RPMI notification header macros, rpmi_event_notification_state\nenum, and missing req_state/current_state fields to the RPMI enable\nnotification request/response structs for RPMI spec compliance. Also adds\nnotification event ID enums and data structures for RPMI Performance\nservice group events (power change, limit change, and level change).\n\nDavid E. Garcia Porras (2):\n  lib: sbi_mpxy: Enable MPXY channel MSI availability determination\n  include: mailbox: Update RPMI notification structs and add Performance\n    event definitions\n\n include/sbi_utils/irqchip/imsic.h        |  2 +\n include/sbi_utils/mailbox/rpmi_msgprot.h | 49 ++++++++++++++++++++++++\n lib/sbi/sbi_mpxy.c                       |  8 ++--\n 3 files changed, 55 insertions(+), 4 deletions(-)"}