Skip to contentSkip to conversation

dt-bindings: mailbox: xlnx,zynqmp-ipi-mailbox: Document msg region requirement

PATCH Superseded Harini T 2 participants 4 messages Dec 22, 2025 – Feb 8

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Harini T

author
#0 lore raw

PATCH 1/1 dt-bindings: mailbox: xlnx,zynqmp-ipi-mailbox: Document msg region requirement

Add description clarifying that for Versal IPI mailboxes, both host and remote agents must have the "msg" register region defined for successful message passing. Without both, only notification-based communication works.

---
 .../bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml           | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml +6 -0
index 04d6473d666f..8fdf77c7935c 100644
@@ -165,6 +165,12 @@ allOf:
         reg-names: false
 
     else:
+      description:
+        For Versal IPI mailboxes, the "msg" register region is optional.
+        However, for successful message passing via mailbox, both the host IPI
+        agent and the remote IPI agent must have the "msg" register region
+        defined. If either agent lacks the "msg" field, only notification-based
+        communication (without message buffers) will work.
       properties:
         reg:
           items:
Signature · 1 line
2.43.0
#1 lore raw
Quoted 15 lines · Harini T

Add description clarifying that for Versal IPI mailboxes, both host and remote agents must have the "msg" register region defined for successful message passing. Without both, only notification-based communication works.

---
 .../bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml           | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml +0 -0
index 04d6473d666f..8fdf77c7935c 100644

Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml allOf: · line 168

Quoted 4 lines
Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml +1 -0
@@ -165,6 +165,12 @@ allOf:
         reg-names: false
 
     else:
+      description:

Else block cannot have description.

Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml allOf: · line 169

Quoted 1 line
Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml +1 -0
+        For Versal IPI mailboxes, the "msg" register region is optional.

So it is optional...

Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml allOf: · line 170

Quoted 1 line
Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml +1 -0
+        However, for successful message passing via mailbox, both the host IPI

And it is not optional. If nothing works, then it is not optional.

And why would it be optional in the first place? You generate your same IP with different settings?

Best regards,
Krzysztof

author
#2 lore raw

[Public]

Hi,

Quoted 40 lines

-----Original Message-----
From: Krzysztof Kozlowski <[email protected]>
Sent: Monday, December 22, 2025 2:39 PM
To: T, Harini <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; Simek, Michal <[email protected]>; Datta, Shubhrajyoti <[email protected]>; [email protected]; [email protected]; [email protected]; git (AMD- Xilinx) <[email protected]>
Subject: Re: [PATCH] dt-bindings: mailbox: xlnx,zynqmp-ipi-mailbox:
Document msg region requirement

Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.

Quoted 23 lines · Harini T

Add description clarifying that for Versal IPI mailboxes, both host and remote agents must have the "msg" register region defined for successful message passing. Without both, only notification-based communication works.

---
 .../bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml           | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.ya ml b/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.ya ml index 04d6473d666f..8fdf77c7935c 100644
---
a/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.ya ml
+++ b/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbo +++ x.yaml

Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml +0 -0
@@ -165,6 +165,12 @@ allOf:
         reg-names: false
 
Quoted 4 lines

Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml allOf: · line 168

Quoted 2 lines
Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml +1 -0
     else:
+      description:

Else block cannot have description.

Can I remove the description from else block and move the clarifying text to the top-level description field?

Quoted 4 lines

Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml allOf: · line 169

Quoted 2 lines
Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml +1 -0
+        For Versal IPI mailboxes, the "msg" register region is optional.

So it is optional...

The schema marks "msg" as optional to support both notification-only and message-passing use-cases. In hardware, some mailbox channels may be designed for notification only (no buffer), while others support full message passing (with buffer). The schema allows both, but for message passing, "msg" is required on both ends

Quoted 8 lines

Review allOf: · line 171

Quoted 3 lines
(quoted diff) +2 -0
+        However, for successful message passing via mailbox, both the
+ host IPI

And it is not optional. If nothing works, then it is not optional.

And why would it be optional in the first place? You generate your same IP with different settings?

There are 2 types of IPI channels (Buffered and Buffer-less)
Some IPI channels are used only for notification (no message buffer, so "msg" is omitted). Others are used for message passing (buffer present, so "msg" is required).
Reference: https://docs.amd.com/r/en-US/am026-versal-ai-edge-prime-gen2-trm/Features?tocId=K2dUHSdNOkFPpbvkR5v6bQ

Quoted 3 lines

Best regards,
Krzysztof

Thanks,
Harini T

#3 lore raw
Quoted 1 line · Harini

[Public]

What? Fix your email client, so we wan't be dealing with your corporate rules.

[Private]

or rather let's mess with corporate systems:

[Confidential]

Quoted 48 lines

Hi,

Quoted 40 lines

-----Original Message-----
From: Krzysztof Kozlowski <[email protected]>
Sent: Monday, December 22, 2025 2:39 PM
To: T, Harini <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; [email protected]; Simek, Michal <[email protected]>; Datta, Shubhrajyoti <[email protected]>; [email protected]; [email protected]; [email protected]; git (AMD- Xilinx) <[email protected]>
Subject: Re: [PATCH] dt-bindings: mailbox: xlnx,zynqmp-ipi-mailbox:
Document msg region requirement

Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.

Quoted 23 lines · Harini T

Add description clarifying that for Versal IPI mailboxes, both host and remote agents must have the "msg" register region defined for successful message passing. Without both, only notification-based communication works.

---
 .../bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml           | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.ya ml b/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.ya ml index 04d6473d666f..8fdf77c7935c 100644
---
a/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.ya ml
+++ b/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbo +++ x.yaml

Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml +0 -0
@@ -165,6 +165,12 @@ allOf:
         reg-names: false
 
Quoted 4 lines

Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml allOf: · line 168

Quoted 2 lines
Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml +1 -0
     else:
+      description:

Else block cannot have description.

Quoted 8 lines

Can I remove the description from else block and move the clarifying text to the top-level description field?

Quoted 4 lines

Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml allOf: · line 169

Quoted 2 lines
Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.yaml +1 -0
+        For Versal IPI mailboxes, the "msg" register region is optional.

So it is optional...

The schema marks "msg" as optional to support both notification-only and message-passing use-cases. In hardware, some mailbox channels may be designed for notification only (no buffer), while others support full message passing (with buffer). The schema allows both, but for message passing, "msg" is required on both ends

This is not wrapped. Again, fix your email client.

Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
(quoted diff) +2 -0
+        However, for successful message passing via mailbox, both the
+ host IPI
Quoted 7 lines
Quoted 4 lines

And it is not optional. If nothing works, then it is not optional.

And why would it be optional in the first place? You generate your same IP with different settings?

There are 2 types of IPI channels (Buffered and Buffer-less)
Some IPI channels are used only for notification (no message buffer, so "msg" is omitted).

Confusing description then.

Quoted 1 line

Best regards,
Krzysztof