From: Rob Herring <robh+dt@kernel.org>
To: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
Cc: Mailing List <devicetree-spec@vger.kernel.org>,
devicetree@vger.kernel.org, Stephen Boyd <swboyd@chromium.org>,
Bjorn Andersson <bjorn.andersson@linaro.org>,
Rajendra Nayak <rnayak@codeaurora.org>
Subject: Re: [PATCH] Add system-cache-controller to the list of generic node names
Date: Thu, 30 Sep 2021 08:33:45 -0500 [thread overview]
Message-ID: <CAL_Jsq+vkpigu3P+dkAVXT7nypnJA_R8LBPGgj9wERcCW6P36w@mail.gmail.com> (raw)
In-Reply-To: <d9894ca86ed9a56ebf118a91bfe1b91d@codeaurora.org>
On Wed, Sep 29, 2021 at 11:06 PM Sai Prakash Ranjan
<saiprakash.ranjan@codeaurora.org> wrote:
>
> On 2021-09-29 18:12, Rob Herring wrote:
> > On Wed, Sep 29, 2021 at 12:26 AM Sai Prakash Ranjan
> > <saiprakash.ranjan@codeaurora.org> wrote:
> >>
> >> System Cache Controller (Last Level Cache Controller/LLCC) does not
> >> have a cache-level associated with it as enforced by the already
> >> existing 'cache-controller' node name, so add system-cache-controller
> >> to the list of generic node names as decided on the lkml in [1][2]
> >> and already being used in the dts for sometime now.
> >>
> >> [1]
> >> https://lore.kernel.org/lkml/5dcd8588.1c69fb81.2528a.3460@mx.google.com/
> >> [2]
> >> https://lore.kernel.org/lkml/cover.1573814758.git.saiprakash.ranjan@codeaurora.org/
> >>
> >> Cc: Stephen Boyd <swboyd@chromium.org>
> >> Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
> >> Cc: Rajendra Nayak <rnayak@codeaurora.org>
> >> Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org>
> >> ---
> >> source/chapter2-devicetree-basics.rst | 1 +
> >> 1 file changed, 1 insertion(+)
> >>
> >> diff --git a/source/chapter2-devicetree-basics.rst
> >> b/source/chapter2-devicetree-basics.rst
> >> index 40be22192b2f..c06c5063c68b 100644
> >> --- a/source/chapter2-devicetree-basics.rst
> >> +++ b/source/chapter2-devicetree-basics.rst
> >> @@ -276,6 +276,7 @@ name should be one of the following choices:
> >> * sram-controller
> >> * ssi-controller
> >> * syscon
> >> + * system-cache-controller
> >
> > I don't want to encourage others to use this over 'cache-controller'
> > and the standard binding.
> >
>
> Right, but why would others use this over cache-controller? This is
> supposed
> to be used only for last level cache controllers where there is no
> cache-level
> associated with it like in the system cache controller/LLCC found in QTI
> SoCs.
I don't agree there's never a level.
Using the cache binding will be necessary if you want to populate the
kernel's cache info. If your caches have MPAM support, they are going
to need to follow the cache binding as well.
> Also you had acked the corresponding change in the DT binding for LLCC
> [1].
Yes, but that doesn't mean it belongs in the spec. Maybe when we have
more than 1 case that will change, but for now I don't think it should
be in the spec.
Rob
next prev parent reply other threads:[~2021-09-30 13:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-29 5:26 [PATCH] Add system-cache-controller to the list of generic node names Sai Prakash Ranjan
2021-09-29 12:42 ` Rob Herring
2021-09-30 4:06 ` Sai Prakash Ranjan
2021-09-30 13:33 ` Rob Herring [this message]
2021-10-01 4:23 ` Sai Prakash Ranjan
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=CAL_Jsq+vkpigu3P+dkAVXT7nypnJA_R8LBPGgj9wERcCW6P36w@mail.gmail.com \
--to=robh+dt@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree-spec@vger.kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=rnayak@codeaurora.org \
--cc=saiprakash.ranjan@codeaurora.org \
--cc=swboyd@chromium.org \
/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;
as well as URLs for NNTP newsgroup(s).