Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Levinsky <blevinsk@amd.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: "Levinsky,
	Ben <ben.levinsky@amd.com> jassisinghbrar@gmail.com"
	<jassisinghbrar@gmail.com>,
	"andersson@kernel.org" <andersson@kernel.org>,
	"mathieu.poirier@linaro.org" <mathieu.poirier@linaro.org>,
	"robh@kernel.org" <robh@kernel.org>,
	"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
	"conor+dt@kernel.org" <conor+dt@kernel.org>,
	"Simek, Michal" <michal.simek@amd.com>,
	"linux-remoteproc@vger.kernel.org"
	<linux-remoteproc@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"Shah, Tanmay" <tanmay.shah@amd.com>
Subject: Re: [PATCH 5/6] dt-bindings: remoteproc: Add RPMsg resources to AMD BRAM rproc
Date: Thu, 15 Oct 2026 07:32:15 -0700	[thread overview]
Message-ID: <1f6afb5d-47d6-4c15-9ea6-d4a96da9ee68@amd.com> (raw)
In-Reply-To: <DM4PR12MB64480F027338BA7A1EF91E17839C2@DM4PR12MB6448.namprd12.prod.outlook.com>



> 
> *From: *Krzysztof Kozlowski <krzk@kernel.org>
> *Date: *Thursday, October 15, 2026 at 2:50 AM
> *To: *Levinsky, Ben <ben.levinsky@amd.com>
> *Cc: *jassisinghbrar@gmail.com <jassisinghbrar@gmail.com>; andersson@kernel.org 
> <andersson@kernel.org>; mathieu.poirier@linaro.org <mathieu.poirier@linaro.org>; 
> robh@kernel.org <robh@kernel.org>; krzk+dt@kernel.org <krzk+dt@kernel.org>; 
> conor+dt@kernel.org <conor+dt@kernel.org>; Simek, Michal <michal.simek@amd.com>; 
> linux-remoteproc@vger.kernel.org <linux-remoteproc@vger.kernel.org>; 
> devicetree@vger.kernel.org <devicetree@vger.kernel.org>; linux-arm- 
> kernel@lists.infradead.org <linux-arm-kernel@lists.infradead.org>; linux- 
> kernel@vger.kernel.org <linux-kernel@vger.kernel.org>; Shah, Tanmay 
> <tanmay.shah@amd.com>
> *Subject: *Re: [PATCH 5/6] dt-bindings: remoteproc: Add RPMsg resources to AMD 
> BRAM rproc
> 
> On Wed, Oct 14, 2026 at 02:34:25PM -0700, Ben Levinsky wrote:
>  > Describe the optional mailbox channels and named reserved-memory
>  > regions used for RPMsg communication with a BRAM-based MicroBlaze
>  > remote processor.
>  >
>  > The three named memory regions provide the two virtio vrings and the
>  > shared RPMsg buffer pool. Firmware and its loaded resource table remain
>  > in the executable BRAM described by reg.
>  >
>  > Assisted-by: LLM sparse
> 
> How sparse can assist here?


  Hi Krzysztof,

  It did not. As in patch 3, the trailer was applied to the whole series
  by mistake. I will correct it in v2.

> 
>  > Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
>  > ---
>  >  .../bindings/remoteproc/amd,bram-rproc.yaml   | 31 +++++++++++++++++++
>  >  1 file changed, 31 insertions(+)
>  >
>  > diff --git a/Documentation/devicetree/bindings/remoteproc/amd,bram-rproc.yaml 
> b/Documentation/devicetree/bindings/remoteproc/amd,bram-rproc.yaml
>  > index c0359f447ea8..daff8e615ab6 100644
>  > --- a/Documentation/devicetree/bindings/remoteproc/amd,bram-rproc.yaml
>  > +++ b/Documentation/devicetree/bindings/remoteproc/amd,bram-rproc.yaml
>  > @@ -84,6 +84,33 @@ properties:
>  >      description:
>  >        GPIO specifier controlling the soft-core reset input.
>  >
>  > +  mboxes:
>  > +    maxItems: 2
>  > +
>  > +  mbox-names:
>  > +    items:
>  > +      - const: tx
>  > +      - const: rx
>  > +
>  > +  memory-region:
>  > +    maxItems: 3
>  > +
>  > +  memory-region-names:
>  > +    items:
>  > +      - const: vdev0vring0
>  > +      - const: vdev0vring1
>  > +      - const: vdev0buffer
>  > +
>  > +dependentRequired:
>  > +  mboxes:
>  > +    - mbox-names
>  > +  mbox-names:
>  > +    - mboxes
> 
> Why do you add this? Please instruct your LLM to actually understand and
> learn dtschema.
> 
> Best regards,
> Krzysztof
> 

  You are right. The core mailbox consumer schema already requires mboxes
  when mbox-names is present, and this block is not something bindings
  normally add. I will remove the whole dependentRequired block in v2.
  Thank you for pointing it out.

  Thanks,
  Ben



  parent reply	other threads:[~2026-10-15 14:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-14 21:34 [PATCH 0/6] Add AMD PL Mailbox and RPMsg support for the AMD BRAM remoteproc Ben Levinsky
2026-10-14 21:34 ` [PATCH 1/6] remoteproc: amd_mbv_bram: Bound device name formatting Ben Levinsky
2026-10-14 21:34 ` [PATCH 2/6] remoteproc: amd_mbv_bram: Restore reset GPIO direction after PL reconfig Ben Levinsky
2026-10-14 21:34 ` [PATCH 3/6] dt-bindings: mailbox: Add AMD PL Mailbox IP Ben Levinsky
2026-10-15  9:46   ` Krzysztof Kozlowski
     [not found]     ` <DM4PR12MB644859F1CA3A936684A3338B839C2@DM4PR12MB6448.namprd12.prod.outlook.com>
2026-10-15 14:29       ` Ben Levinsky
2026-10-15 15:31         ` Shah, Tanmay
2026-10-14 21:34 ` [PATCH 4/6] mailbox: Add AMD PL Mailbox soft IP controller Ben Levinsky
2026-10-15  9:48   ` Krzysztof Kozlowski
     [not found]     ` <DM4PR12MB6448B4B18D0B45CCA678814F839C2@DM4PR12MB6448.namprd12.prod.outlook.com>
2026-10-15 14:30       ` Ben Levinsky
2026-10-14 21:34 ` [PATCH 5/6] dt-bindings: remoteproc: Add RPMsg resources to AMD BRAM rproc Ben Levinsky
2026-10-15  9:49   ` Krzysztof Kozlowski
     [not found]     ` <DM4PR12MB64480F027338BA7A1EF91E17839C2@DM4PR12MB6448.namprd12.prod.outlook.com>
2026-10-15 14:32       ` Ben Levinsky [this message]
2026-10-14 21:34 ` [PATCH 6/6] remoteproc: amd_mbv_bram: Add RPMsg support Ben Levinsky
2026-10-15  9:51   ` Krzysztof Kozlowski
     [not found]     ` <DM4PR12MB6448FDE3208DB753A37EF3F9839C2@DM4PR12MB6448.namprd12.prod.outlook.com>
2026-10-15 14:33       ` Ben Levinsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1f6afb5d-47d6-4c15-9ea6-d4a96da9ee68@amd.com \
    --to=blevinsk@amd.com \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jassisinghbrar@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-remoteproc@vger.kernel.org \
    --cc=mathieu.poirier@linaro.org \
    --cc=michal.simek@amd.com \
    --cc=robh@kernel.org \
    --cc=tanmay.shah@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox