From nobody Mon Feb 9 00:27:30 2026 Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) (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 5F489202C2B for ; Wed, 2 Jul 2025 05:15:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751433332; cv=none; b=Og2kJup/5GIDz/RQofTYTHrDmJ5VUgjDCbt5LPKKOg55TKu0vYVy+TTbI6uIrBjdwgL25ASjKnAdE48XSKA0jJSepZkhqf840puvZGTDnPTidlI2/dRDwAfE+COeaWAaqn3X33wjTstgk4RZpIiPuMdgfSsKhLa37E0cT/JxHEw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751433332; c=relaxed/simple; bh=sbelvMc++opfxCsxTvRuuhoDW5jErxOHLIiEYhi1zkg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=R3VnJHDJN05XNlBgy1rHqdng2ZUY0rI/+jKhfzr94RGhNu5N7vkFJdTiCOS2Hq5m6K3kIA35KBsX0YemI1WRHj45aPXm/vUIq54xhWI2tDaKC5O1llih8JWlYRNl8j3oWiHsrcGKC1LP+CGN0IAH/+X7MEzyos8V+0U0GylDRR0= 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=Lsr5t3D4; arc=none smtp.client-ip=209.85.214.180 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="Lsr5t3D4" Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-23636167b30so37270845ad.1 for ; Tue, 01 Jul 2025 22:15:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1751433330; x=1752038130; 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=a9cEkN+1nA6DRTpT1SF2rNqhyyXGV6gcs+oqiG40Gi8=; b=Lsr5t3D40qQ1yumxUnR/nGd+nCXQCKgcMoaHusA5OcNH3o/PkOvqUZstalX15HZTtu ix/iUpfQopoHa/TfS3Qp6r3sefcs3iX6y5pmEs+tSLdc34dL/QkLeTpBDQf/qRbXietH GNsGVXNOld1YY43bOAyDmEt0j4vkwePFK5bWVzwFxdmWY+EFTsvCxYD9mC3xqRcHr1sb JoAMiM0CiEysMtY+13R4glVhln+Sa3z6tX4NNpmkFW2kivTV463OeKGo/92M3pzkPuKM IyURgHmHQuvyER9eYs/Szzv4kb4wv63bSYTOOzbsSEMzH04KSagOxpiF3B/jOMHxl74z M3dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751433330; x=1752038130; 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=a9cEkN+1nA6DRTpT1SF2rNqhyyXGV6gcs+oqiG40Gi8=; b=QT3ou2VKiTpuYnOLY5apk+b/FRl+Sw2HYiLOxplfW59vCIlFXqpDFmgmsvBgOO3KJs ZNDvZ6T7LMwh7Srms0fW5ahtVHX4jkISI+f8esPeh2x2IKugAr5rZQj8u238VoLHv57g ytIt6vNYkxgKLFgQHsozhCwNwjmmvT6p7GlbFHGA2bphtW/rA93iBG9Ve5LlUsrLxExt Gxy6hfLjymIVoheaqi7dk5lcgHgTgA339lYKsxatZaFeWTX85niU6zNovUuo9cadR/kX ylRcxebcNty+4k8WYLhVHIFSw3yf9hMa6ekRXFWNYjG7lmE/JEExSHy7+IHWMpf3BscY A7DA== X-Forwarded-Encrypted: i=1; AJvYcCVfVlyFe7JgCIoUty8POUtwCS4RnG1eXitJrHE/GF6IFbei+JZOI71UBTmdLb61lGFRSMHdu5RFMDMx+hA=@vger.kernel.org X-Gm-Message-State: AOJu0YwW4fNsKSvo1IuxaY+Y1M4vYtCa6uSfNepLkku5VXQHFpsZW/N9 vUu2jPIYEl8Ww4OkEgvlGkXRiLOJXFlqG7i9en9Zh2giMAsOky/tUDE03044Uly4S40= X-Gm-Gg: ASbGnct9x80T/uRabwY2clU2o6RPbuSr0XAqMvbH7atIY/B2CJ5cwXJnEtvHsmxGvVF AGe6SqdSy5a5dgj0IEHc3M88T7GJrlPTwZF++95aqBWCcs6nGAOW1vT4GDa20ge85muEjYP6Obn hLR7FmhYzrLohOsLSeRztCT5hoxOp10ys4Sy20RBTQYNfU7Zh+fmnScXvMB/1+gCzmkzGCsNwry q6E7KDbk5bRL4Yn8NqYdiVwNfOocbTSmWZl/3dhKddnsLrSw3cD4HorkXfMpFqnZInPxj3TD/LZ vm2kQd2s34a5Nv1YAgFkJWYIh7ezVnhdWpr5KbFYC3983+4KPiJA2fNMUJIPU4YqqHGQGDd2sRe uRLVgsnH2vbrgPJaU X-Google-Smtp-Source: AGHT+IFkSVDLCtizadO6/SefSREM+o/lLAXhKCmmv4wW4SQI87DpfrniV0LznmsSNzm//rR3xEBV7g== X-Received: by 2002:a17:903:1983:b0:234:d7b2:2ab4 with SMTP id d9443c01a7336-23c6e4b9073mr19484855ad.17.1751433330503; Tue, 01 Jul 2025 22:15:30 -0700 (PDT) Received: from localhost.localdomain ([14.141.91.70]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-23c6fe31933sm4719595ad.220.2025.07.01.22.15.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Jul 2025 22:15:30 -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 v7 11/24] dt-bindings: Add RPMI system MSI message proxy bindings Date: Wed, 2 Jul 2025 10:43:32 +0530 Message-ID: <20250702051345.1460497-12-apatel@ventanamicro.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250702051345.1460497-1-apatel@ventanamicro.com> References: <20250702051345.1460497-1-apatel@ventanamicro.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add device tree bindings for the RPMI system MSI service group based message proxy implemented by the SBI implementation (machine mode firmware or hypervisor). 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-mpxy-system-msi.yaml | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/= riscv,rpmi-mpxy-system-msi.yaml diff --git a/Documentation/devicetree/bindings/interrupt-controller/riscv,r= pmi-mpxy-system-msi.yaml b/Documentation/devicetree/bindings/interrupt-cont= roller/riscv,rpmi-mpxy-system-msi.yaml new file mode 100644 index 000000000000..1991f5c7446a --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/riscv,rpmi-mpx= y-system-msi.yaml @@ -0,0 +1,67 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/riscv,rpmi-mpxy-sy= stem-msi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: RISC-V RPMI system MSI service group based message proxy + +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 SBI implementation (machine mode firmware or hypervisor) can + implement an SBI MPXY channel to allow RPMI system MSI service + group access to the supervisor software. + + =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + References + =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + + [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 + +properties: + compatible: + description: + Intended for use by the SBI implementation. + const: riscv,rpmi-mpxy-system-msi + + mboxes: + maxItems: 1 + description: + Mailbox channel of the underlying RPMI transport. + + riscv,sbi-mpxy-channel-id: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + The SBI MPXY channel id to be used for providing RPMI access to + the supervisor software. + +required: + - compatible + - mboxes + - riscv,sbi-mpxy-channel-id + +additionalProperties: false + +examples: + - | + interrupt-controller { + compatible =3D "riscv,rpmi-mpxy-system-msi"; + mboxes =3D <&rpmi_shmem_mbox 0x2>; + riscv,sbi-mpxy-channel-id =3D <0x2000>; + }; +... --=20 2.43.0