From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8ABCB264FBD for ; Mon, 18 Aug 2025 04:11:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755490310; cv=none; b=XL/Kv2xhEhlajl6XUSgXLTur9Kgx99SAKYT4ygvakbUw9ZDMt5k7k1J0P769wEHLNrmxuQcC6oESvyVFepk3biNTUViKoG+6ZnSSd4sjzn5AyBB23LUTu0/RQWb1ei4b2zw4cOSFz5CfiB+xrDNgzv9EfNU9fqQ8OaJyCPVuug4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755490310; c=relaxed/simple; bh=vvd5aEr1EHa2kYCEzZk7/ahZeLh22JQayJGJfQ0Amwk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OlyLHUrFIEPzu1DEybQ0BY1z0qIIHn1eebLM9QLyQAmdMIoDE83g5aKa8iwkfNlC56Ik7PekeCJ0vZRcMHm59teTuPSHwEannz9Xs+Owvw89pZizVOdyL7Sqf/LzXBAmEox3yNnqmVVlDNMOJbYxDpGlYl7UxAs2kkqXsa0I140= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com; spf=pass smtp.mailfrom=ventanamicro.com; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b=LkAp9ZAl; arc=none smtp.client-ip=209.85.216.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="LkAp9ZAl" Received: by mail-pj1-f45.google.com with SMTP id 98e67ed59e1d1-323267872f3so3077688a91.1 for ; Sun, 17 Aug 2025 21:11:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1755490307; x=1756095107; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XIoG0/2CSPJ7QI1BAwRn3+gvtI7NC6tH67IoLVRWsu8=; b=LkAp9ZAl9AZAnnoMhvkKo/0OElAgVHQgVEZ96iNoIKtE/Rc1BhQG3J5sJWECZqdhXs EXf6utF772YRVxHbn4KXhs2f8smwlAYiRSbc7PO/M4iD74JSeP5dB7JoUEqLJ9vL1fvi YyFmSwDNola/zivTmYvMGnuBZNSTaeVm/E0IE8Vr6Spw687WY/QTtmWJtqxLIFvhz0m2 yjOHkrtrateXCfka5jY8FHNk1JkoRDPHHyLfQGG042Eb2E1/bVXjHUWfqcKEeS46GANP KnwnHmMwHUbEPavFeLryRL18zM4f1TkANtGPj96O2CfTHJqGWPs5dsVba6aLNDsVkyFV 1Ylg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755490307; x=1756095107; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XIoG0/2CSPJ7QI1BAwRn3+gvtI7NC6tH67IoLVRWsu8=; b=TXyHOo+s6QMOfrNxwUraWUgrxTjByEqz6mhYIMkA8YSfgP5dc+cIemldMpm2H71uTm Dg+6xiVqgezAd9oXsk3KIMsFzOY6XrVtlQw4pfek8aRjOWywRuRCMA/fWExjD2XNgUPl +DmvpKWsQyVem0QP5yGo0jUUWSyqezqTLvqD9nRXjQ2dictMphD2qiE8gyjPMqZ5aggh KMQbelXA8QwprETN5amdkGj3aftQUCjT6zJryjAMDi8dpyqyxcBldzhuNQOeWHpum8UF HC7ntiNZHY7Gq3kRDrxmlF5IMGwymnePY8o5AGGlC0A9BAhyoX3n4OXYvNq38yyQI61+ aeEA== X-Forwarded-Encrypted: i=1; AJvYcCWdfL0IreSBNp1pkGPacHCmK6qfrGf2t2Q0+C71Tn/vTm4lwaoYf7epMPUIJ5iVI0UuKxnX+3I9n6au@vger.kernel.org X-Gm-Message-State: AOJu0YzPEimG1rPCX2pPoXxhB1WOE6eZLgq7W8Oj3Bht+lRilxSGMLoZ R3ww4qjczr1egWsSqMnFiWlJE+uMetVaNOwayHlL/A7k2R4yFp/jQWySq0dO9ebNnQM= X-Gm-Gg: ASbGncvYNc7MXUO9s5mC3tWJ1UV6rgomvj7B8vapjPM4p2VwI/YgwXjFoDV0YVh348r SQzC6XkntjQI8OGyhMcLmPc7SKFWkOZHZY53WhVwnTojpDZjkwEwZKKqv76Sq9jzKHdLsRUCIx9 EDXfQ6gol+aCgKWIrKuf4KrqtGbmXTzDOqlqZe/U5F0K0I5ylUMqO+4ZulcELifmSIOBToe5h9j Iy2/Tsjz9/rhl3VjAYVP2Xz6D7JqYDg3TGiomjsxdJQv4suOUC7wkJDr4TPfAgXp8GoTov9YPhC I/ckXfSYLxakl75maq9Vol3G/JNLQVZEVZ1IpYIs16G9ovaWLZLMHLnXTafCXyw4z5FMSOFRZhl NRc9cpe9tF6vp9pUAPL1sFfBv23Dy9mJ1wLng1VQTEtBLCAi9CQx+WQ== X-Google-Smtp-Source: AGHT+IEgAT9AYq4pQahHXmwpuFEuM/W9qCllak2PA0hDXHdQU0xExFRnQJZQzNUnJraBHIA3ajZAJQ== X-Received: by 2002:a17:90b:3849:b0:31f:d0:95bc with SMTP id 98e67ed59e1d1-323422386bbmr13467205a91.25.1755490306539; Sun, 17 Aug 2025 21:11:46 -0700 (PDT) Received: from localhost.localdomain ([122.171.17.53]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-32343c70356sm6560972a91.25.2025.08.17.21.11.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Aug 2025 21:11:46 -0700 (PDT) From: Anup Patel To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jassi Brar , Thomas Gleixner , "Rafael J . Wysocki" , Mika Westerberg , Andy Shevchenko , Linus Walleij , Bartosz Golaszewski , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Cc: Palmer Dabbelt , Paul Walmsley , Alexandre Ghiti , Len Brown , Sunil V L , Rahul Pathak , Leyfoon Tan , Atish Patra , Andrew Jones , Samuel Holland , Anup Patel , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-acpi@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Anup Patel , Atish Patra , Conor Dooley Subject: [PATCH v10 12/24] dt-bindings: Add RPMI system MSI interrupt controller bindings Date: Mon, 18 Aug 2025 09:39:08 +0530 Message-ID: <20250818040920.272664-13-apatel@ventanamicro.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250818040920.272664-1-apatel@ventanamicro.com> References: <20250818040920.272664-1-apatel@ventanamicro.com> Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add device tree bindings for the RPMI system MSI service group based interrupt controller for the supervisor software. The RPMI system MSI service group is defined by the RISC-V platform management interface (RPMI) specification. Reviewed-by: Atish Patra Reviewed-by: Conor Dooley Signed-off-by: Anup Patel --- .../riscv,rpmi-system-msi.yaml | 74 +++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/riscv,rpmi-system-msi.yaml diff --git a/Documentation/devicetree/bindings/interrupt-controller/riscv,rpmi-system-msi.yaml b/Documentation/devicetree/bindings/interrupt-controller/riscv,rpmi-system-msi.yaml new file mode 100644 index 000000000000..b10a0532e586 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/riscv,rpmi-system-msi.yaml @@ -0,0 +1,74 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/riscv,rpmi-system-msi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: RISC-V RPMI system MSI service group based interrupt controller + +maintainers: + - Anup Patel + +description: | + The RISC-V Platform Management Interface (RPMI) [1] defines a + messaging protocol which is modular and extensible. The supervisor + software can send/receive RPMI messages via SBI MPXY extension [2] + or some dedicated supervisor-mode RPMI transport. + + The RPMI specification [1] defines system MSI service group which + allow application processors to receive MSIs upon system events + such as P2A doorbell, graceful shutdown/reboot request, CPU hotplug + event, memory hotplug event, etc from the platform microcontroller. + The supervisor software can access RPMI system MSI service group via + SBI MPXY channel or some dedicated supervisor-mode RPMI transport. + + =========================================== + References + =========================================== + + [1] RISC-V Platform Management Interface (RPMI) v1.0 (or higher) + https://github.com/riscv-non-isa/riscv-rpmi/releases + + [2] RISC-V Supervisor Binary Interface (SBI) v3.0 (or higher) + https://github.com/riscv-non-isa/riscv-sbi-doc/releases + +allOf: + - $ref: /schemas/interrupt-controller.yaml# + +properties: + compatible: + description: + Intended for use by the supervisor software. + const: riscv,rpmi-system-msi + + mboxes: + maxItems: 1 + description: + Mailbox channel of the underlying RPMI transport or SBI message proxy channel. + + msi-parent: true + + interrupt-controller: true + + "#interrupt-cells": + const: 1 + +required: + - compatible + - mboxes + - msi-parent + - interrupt-controller + - "#interrupt-cells" + +additionalProperties: false + +examples: + - | + interrupt-controller { + compatible = "riscv,rpmi-system-msi"; + mboxes = <&mpxy_mbox 0x2000 0x0>; + msi-parent = <&imsic_slevel>; + interrupt-controller; + #interrupt-cells = <1>; + }; +... -- 2.43.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0B484CA0EE4 for ; Mon, 18 Aug 2025 05:18:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=tNZnuvmGBAC2Fr/wH8nNlOCYbjGeBs7XMHcb+hvrPBs=; b=K5G7dDL+3GzmzM fufn8fX4NVx2CZKCMF8WabwQPO+hBBZXIimXAd1olvYb9U0coxRcj76IUIbCN6s7IrSKSmpckiRvq 56w6Q5q6JcVRQQUwWzYgocbyGj5lIQBQUOL/F5d2k8JCmljUAHl65YChWDm69vaDcFSLEGBBWvble 56jBZnltLfNtoHELZPC0CqtLcS1mtm0sOVIyqnDlEgz/eRU6SF6kWDeB4ofy2MJmtk5jlCc5Wj647 omsoVyw9xlHYKyIirdliDBHBKmCLEkVTBX2ogRQXtc/qwmsl9Ct9xIIBPKuoxiDYUkA6vwGHhlx1x Za6QgyszLTGkn/GWQX+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1unsGJ-00000006XAr-205E; Mon, 18 Aug 2025 05:18:27 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1unrET-00000006Rcv-2WHL for linux-riscv@bombadil.infradead.org; Mon, 18 Aug 2025 04:12:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=XIoG0/2CSPJ7QI1BAwRn3+gvtI7NC6tH67IoLVRWsu8=; b=erYfL2VMuXZdG9ueQz6EALgHpO VBmV36LYZVY/sSm+8TZdR2txw0ffRYuqzWcM0FpYuTKXvwN5JytEow/FzC44TpHKXyQu/GFeeV+as 9pi+ljWFPimP/Eu6g45McVjwszR3Bh7Mww6rIx3QoXKZ0tTxgd4nwJrgRLZiNH6jvMTcZsP3LPdSo kFN1r3/Gc0R+fa8emxTjW2XyQVsxirwvZcSl4/y7VMKEIu7MQnEZtBIgZtO7amDPtvagfwUAbuU2d oXViw996DtxlBoCrI3/mg+HWyrqIqoiCGQQr3odUfB7VKKaOATT44nVfAsz74st8caLLw5d05QpCS pD+Yy5zw==; Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]) by desiato.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1unrDo-0000000HE8s-42OM for linux-riscv@lists.infradead.org; Mon, 18 Aug 2025 04:12:14 +0000 Received: by mail-pj1-x102e.google.com with SMTP id 98e67ed59e1d1-323266b1d1aso1980968a91.0 for ; Sun, 17 Aug 2025 21:11:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1755490307; x=1756095107; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XIoG0/2CSPJ7QI1BAwRn3+gvtI7NC6tH67IoLVRWsu8=; b=g1b6E1oVsOqsLDj0PiW7YivV5BovHdUvszno3zVtrClKXJeWEju4xFJoolsHVwtap6 lrhRTx+wQb0R2Vj0z/WEXo/kglW/sLXzzrln79Mr+ufJmv5W+s7c8OLMTbOxhCnqB8yV 8OXrkD17Di4qADoIi20t98XyMdwiyzVzXFPFhzYnyeWhUGomWnR8VOEXn9yes21QELo7 sSa3pIf1Wo6g5qKRkE2KKlB3HAceGNUaEOuqBcQayRw1GvXQsZEWc69VutPhl1dscoLG Q/4Xf/W+q2UtPqiwJXvkztOjNXPZQhb7E98cXBqlW6XLJTAi9zY34cxRwbdLUB9FachW Xmhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755490307; x=1756095107; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XIoG0/2CSPJ7QI1BAwRn3+gvtI7NC6tH67IoLVRWsu8=; b=GjkUMJB5p8dQuFbY9xE48zasTeR2PO3rin7+s3StgRjDE5xmGc0wvqzS8+LMydBGRQ 1a2PvSLePkbCD2BIBTjcEY7VZr2/pX+mXLNEAfHlkREshmBvV/RBalg+Qa31ch2gTlZ2 2S80Y1qCLw9QNPGNg7NAEDup+TjsSH1o4zu/WNf3LtAg9XrruRL82aBMhnLZCF8iw1ns gS3xAxH13bD86F2nRyOH3x8YTFoaAdUtQEgnKR3c+NSaWKBiNVej76xPE0MHcXdw1FSw a9+Je5D4jMkc2D3Os0ZPy3PZnQaXtIWQ1x9bNi0laTJt311vguw3yNAJJCKnhbDF8Mt7 JeLw== X-Forwarded-Encrypted: i=1; AJvYcCXdLPMu7K8b6tKQIp0+aLJzVX3nnZJ4RXHJY8sOWOuki1Vn1Lh+1WUlxwZ/QQ72AKBIRJpFZ0pSXGadeQ==@lists.infradead.org X-Gm-Message-State: AOJu0YzIdLrQZR/EKQfFhWEzwSiFHxEcIqewTqhdVF2Viic8UeTwFT0U z2lxcy4poDHlBa6BZrZrt8fHc2nBa0ewgVx7/kwa0wjvSotae0FNkgWYEOBeUGJWV5k= X-Gm-Gg: ASbGncvTmfuEJML0RgDY1JTIXF/8mtDBALr/jZbds85mZ6PSSQQQhmr5QoVCVVbMVLV Gc2qtjVotcFc9WB1c94TCsM0GATFjtLNEeq4L7j6RfDNWuEywHClAaEB++8nRgr44a9EbNTQMX4 jMRj/v36ozI5wNcAkGNA608AWN0Ttg4Iq0w9sxiZBuQYBJcWuiwX0PBl+pCxq9NGpr3f3mY/66F jCaHDGqciaEtZRnJcCmmb34P29ulI6SezKDTICwI0qecxoLqqa55+R8o6EgIutJ6LGT1Y2p+muQ /1Fs1kjPCxrHe0DK9MM8+1chC01O+PExRHzH88Ku6oRRDbHkMBosWTHYaXA4BdJsFbmQ4jp0LET SZDZHmukMWxkTj++lx3mMpWKfWEUc5IIpgzAdjU8zpdklALRg1kOnHw== X-Google-Smtp-Source: AGHT+IEgAT9AYq4pQahHXmwpuFEuM/W9qCllak2PA0hDXHdQU0xExFRnQJZQzNUnJraBHIA3ajZAJQ== X-Received: by 2002:a17:90b:3849:b0:31f:d0:95bc with SMTP id 98e67ed59e1d1-323422386bbmr13467205a91.25.1755490306539; Sun, 17 Aug 2025 21:11:46 -0700 (PDT) Received: from localhost.localdomain ([122.171.17.53]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-32343c70356sm6560972a91.25.2025.08.17.21.11.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Aug 2025 21:11:46 -0700 (PDT) From: Anup Patel To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jassi Brar , Thomas Gleixner , "Rafael J . Wysocki" , Mika Westerberg , Andy Shevchenko , Linus Walleij , Bartosz Golaszewski , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Subject: [PATCH v10 12/24] dt-bindings: Add RPMI system MSI interrupt controller bindings Date: Mon, 18 Aug 2025 09:39:08 +0530 Message-ID: <20250818040920.272664-13-apatel@ventanamicro.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250818040920.272664-1-apatel@ventanamicro.com> References: <20250818040920.272664-1-apatel@ventanamicro.com> MIME-Version: 1.0 X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Anup Patel , devicetree@vger.kernel.org, Andrew Jones , Alexandre Ghiti , Atish Patra , Leyfoon Tan , Anup Patel , Atish Patra , linux-kernel@vger.kernel.org, Samuel Holland , linux-acpi@vger.kernel.org, Conor Dooley , Palmer Dabbelt , Paul Walmsley , linux-riscv@lists.infradead.org, Len Brown , linux-clk@vger.kernel.org, Rahul Pathak Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Add device tree bindings for the RPMI system MSI service group based interrupt controller for the supervisor software. The RPMI system MSI service group is defined by the RISC-V platform management interface (RPMI) specification. Reviewed-by: Atish Patra Reviewed-by: Conor Dooley Signed-off-by: Anup Patel --- .../riscv,rpmi-system-msi.yaml | 74 +++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/riscv,rpmi-system-msi.yaml diff --git a/Documentation/devicetree/bindings/interrupt-controller/riscv,rpmi-system-msi.yaml b/Documentation/devicetree/bindings/interrupt-controller/riscv,rpmi-system-msi.yaml new file mode 100644 index 000000000000..b10a0532e586 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/riscv,rpmi-system-msi.yaml @@ -0,0 +1,74 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/riscv,rpmi-system-msi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: RISC-V RPMI system MSI service group based interrupt controller + +maintainers: + - Anup Patel + +description: | + The RISC-V Platform Management Interface (RPMI) [1] defines a + messaging protocol which is modular and extensible. The supervisor + software can send/receive RPMI messages via SBI MPXY extension [2] + or some dedicated supervisor-mode RPMI transport. + + The RPMI specification [1] defines system MSI service group which + allow application processors to receive MSIs upon system events + such as P2A doorbell, graceful shutdown/reboot request, CPU hotplug + event, memory hotplug event, etc from the platform microcontroller. + The supervisor software can access RPMI system MSI service group via + SBI MPXY channel or some dedicated supervisor-mode RPMI transport. + + =========================================== + References + =========================================== + + [1] RISC-V Platform Management Interface (RPMI) v1.0 (or higher) + https://github.com/riscv-non-isa/riscv-rpmi/releases + + [2] RISC-V Supervisor Binary Interface (SBI) v3.0 (or higher) + https://github.com/riscv-non-isa/riscv-sbi-doc/releases + +allOf: + - $ref: /schemas/interrupt-controller.yaml# + +properties: + compatible: + description: + Intended for use by the supervisor software. + const: riscv,rpmi-system-msi + + mboxes: + maxItems: 1 + description: + Mailbox channel of the underlying RPMI transport or SBI message proxy channel. + + msi-parent: true + + interrupt-controller: true + + "#interrupt-cells": + const: 1 + +required: + - compatible + - mboxes + - msi-parent + - interrupt-controller + - "#interrupt-cells" + +additionalProperties: false + +examples: + - | + interrupt-controller { + compatible = "riscv,rpmi-system-msi"; + mboxes = <&mpxy_mbox 0x2000 0x0>; + msi-parent = <&imsic_slevel>; + interrupt-controller; + #interrupt-cells = <1>; + }; +... -- 2.43.0 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv