From: Nishanth Menon <nm@ti.com>
To: Andrew Davis <afd@ti.com>
Cc: Vaishnav Achath <vaishnav.a@ti.com>, <vigneshr@ti.com>,
<kristo@kernel.org>, <robh+dt@kernel.org>,
<krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<j-choudhary@ti.com>, <u-kumar1@ti.com>
Subject: Re: [PATCH 2/3] arm64: dts: ti: Introduce J722S family of SoCs
Date: Thu, 14 Dec 2023 12:33:56 -0600 [thread overview]
Message-ID: <20231214183356.hi5d6cuqmqltiy6i@footnote> (raw)
In-Reply-To: <f2bc6c68-742a-4a21-956e-91ee0933dd96@ti.com>
On 09:43-20231214, Andrew Davis wrote:
> On 12/14/23 6:27 AM, Nishanth Menon wrote:
> > On 14:07-20231214, Vaishnav Achath wrote:
> > [..]
> > > > Trim this down to what is different from AM62P?
> > > >
> > >
> > > Thanks for the review, I will trim this down in next revision, but the above is
> > > just a summary of the main features of this SoC, pointing to AM62P feature set
> > > here seems confusing to me. why does a new user/developer using J722S need to be
> > > aware of the existence of AM62P to just understand a high level summary about
> > > this device?
> >
> > Since this is a reuse device. Helps with review and focus on deltas.
> >
> > [...]
> >
> > > > > + l2_0: l2-cache0 {
> > > > > + compatible = "cache";
> > > > > + cache-unified;
> > > > > + cache-level = <2>;
> > > > > + cache-size = <0x80000>;
> > > > > + cache-line-size = <64>;
> > > > > + cache-sets = <512>;
> > > > > + };
> > > >
> > > > ^^ this is a duplication of am62p5.dtsi? what about the spins with
> > > > different CPUs enabled?
> > > >
> > >
> > > Yes it is a duplicate, as of now we are not aware of plan for spins with cores
> > > disabled, so just followed the pattern followed for other Jacinto devices
> > > (J721e, J7200, J721s2, J784s4).
> >
> > None of the devices have been as close a reuse device as this has been.
>
> I'd argue J721e and J7200 are more similar in terms of reuse. It was a
> mistake to model them as simple super/subsets of each other, only causes
> confusion later. Let's keep at least this top level file, we will end up
> using it more as more features/deltas are enabled/found.
>
yes, we do need a top level dtsi for the SoC. just minimize the amount
of duplication.
[...]
> > >
> > > [ 7.492406] platform 79000000.r5f: configured R5F for remoteproc mode
> > > [ 7.499887] platform 79000000.r5f: device does not have reserved memory
> > > regions, ret = -22
> > > [ 7.508271] k3_r5_rproc bus@f0000:bus@4000000:r5fss@79000000: reserved memory
> > > init failed, ret = -22
> > > [ 7.517549] remoteproc remoteproc0: releasing 79000000.r5f
> > > [ 7.523338] k3_r5_rproc bus@f0000:bus@4000000:r5fss@79000000:
> > > k3_r5_cluster_rproc_init failed, ret = -22
> > > [ 7.532993] k3_r5_rproc: probe of bus@f0000:bus@4000000:r5fss@79000000 failed
> > > with error -22
> >
> > Yes, and the approach should rather be to disable the remote procs in
> > the board or at the SoC dtsi in a consistent manner. I had previously
> > suggested to do that SoC level (which means at am62p dtsi) since the remoteprocs have direct
> > dependency on how the memory layouts are partitioned in board.dts - but
> > i had asked folks working on remote procs to do that consistently across
> > SoCs. I don't see that having been done so far.
> >
>
> I fixed this for a couple SoCs way back last year (7e48b665100ee), seems
> folks kept adding mailboxes/rprocs un-disabled in the base .dtbi for
> new SoCs anyway :( This needs fixed in AM62p .dtsi first, then these
> disables can be removed from here.
>
Yes, hence blocking it from here on. Cleanup, then add.
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
next prev parent reply other threads:[~2023-12-14 18:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-13 12:49 [PATCH 0/3] arm64: dts: ti: Introduce J722S SoC and EVM Vaishnav Achath
2023-12-13 12:49 ` [PATCH 1/3] dt-bindings: arm: ti: Add bindings for J722S SoCs Vaishnav Achath
2023-12-13 16:03 ` Conor Dooley
2023-12-14 7:42 ` Krzysztof Kozlowski
2023-12-13 12:49 ` [PATCH 2/3] arm64: dts: ti: Introduce J722S family of SoCs Vaishnav Achath
2023-12-13 20:27 ` Nishanth Menon
2023-12-14 8:37 ` Vaishnav Achath
2023-12-14 12:27 ` Nishanth Menon
2023-12-14 15:43 ` Andrew Davis
2023-12-14 18:33 ` Nishanth Menon [this message]
2023-12-13 12:49 ` [PATCH 3/3] arm64: dts: ti: Add support for TI J722S Evaluation Module Vaishnav Achath
2023-12-13 20:28 ` Nishanth Menon
2024-01-15 10:22 ` Kumar, Udit
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=20231214183356.hi5d6cuqmqltiy6i@footnote \
--to=nm@ti.com \
--cc=afd@ti.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=j-choudhary@ti.com \
--cc=kristo@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=u-kumar1@ti.com \
--cc=vaishnav.a@ti.com \
--cc=vigneshr@ti.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