From: Georgi Djakov <djakov@kernel.org>
To: Arnd Bergmann <arnd@arndb.de>, pandith.n@intel.com
Cc: gregkh <gregkh@linuxfoundation.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
furong.zhou@intel.com, mgross@linux.intel.com,
mallikarjunappa.sangannavar@intel.com,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
lakshmi.bai.raja.subramanian@intel.com,
Linux PM list <linux-pm@vger.kernel.org>
Subject: Re: [PATCH V5 1/1] misc: NOC Probe Counters
Date: Fri, 16 Jul 2021 15:33:41 +0300 [thread overview]
Message-ID: <483da98c-b2fe-87e3-0f68-0de5b4184136@kernel.org> (raw)
In-Reply-To: <CAK8P3a1ZYzHQTPDQP+kQH1-x6DmA70H8bJ+kE_iE4NbTs8w3vw@mail.gmail.com>
Hi Pandith,
On 13.07.21 10:22, Arnd Bergmann wrote:
> On Tue, Jul 13, 2021 at 8:54 AM <pandith.n@intel.com> wrote:
>>
>> From: Pandith N <pandith.n@intel.com>
>>
>> Add support for Network on Chip(NOC) counters. Enable features to configure
>> and capture NOC probe counters, needed for DDR bandwidth measurement. NOC
>> driver is specific to Intel Keem Bay SOC. NOC hardware counters are used
>> for DDR statistics profiling, it is not related to timers.
>> Interface details are provided in include/uapi/linux/noc_uapi.h
>>
>> Signed-off-by: Pandith N <pandith.n@intel.com>
>> Reviewed-by: Mark Gross <mgross@linux.intel.com>
>
> I'm missing some explanation here regarding why this is not part of
> drivers/interconnect/.
>
> I assume you have discussed this with Georgi Djakov before, but if not, then
> please do. From a very high-level perspective, I would have guessed that this
> would be part of the interconnect framework, with any user facing setup being
> either derived from the DT, or exposed through debugfs.
Thank you for the patch! We already have several drivers that support
some NXP and Qualcomm Network-On-Chip hardware, that is also based on
FlexNoC. I suspect that they also may support counters, but nobody
added that support yet. So maybe it makes sense to have this in
drivers/interconnect/.
I am wondering what is the plan for this. Who will be using the info
from this counters - is it some driver or tool? Who and how will use
the statistics? We already have some debugfs interface that shows the
current bandwidth thats being requested by users on the several ports.
Maybe we could add also information about measured bandwidth? Before
doing a detailed review on the patch, i would like to learn more about
how this and is there any specific reason for choosing ioctl interface
for this? Thanks!
>
> (full quote below for Georgi, no further comments there)
Thank you Arnd!
BR,
Georgi
prev parent reply other threads:[~2021-07-16 12:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210713065347.21554-1-pandith.n@intel.com>
2021-07-13 7:22 ` [PATCH V5 1/1] misc: NOC Probe Counters Arnd Bergmann
2021-07-16 12:33 ` Georgi Djakov [this message]
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=483da98c-b2fe-87e3-0f68-0de5b4184136@kernel.org \
--to=djakov@kernel.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=arnd@arndb.de \
--cc=furong.zhou@intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=lakshmi.bai.raja.subramanian@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mallikarjunappa.sangannavar@intel.com \
--cc=mgross@linux.intel.com \
--cc=pandith.n@intel.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;
as well as URLs for NNTP newsgroup(s).