From: Lucas Stach <l.stach@pengutronix.de>
To: Peng Fan <peng.fan@nxp.com>,
"Peng Fan (OSS)" <peng.fan@oss.nxp.com>,
"djakov@kernel.org" <djakov@kernel.org>,
"shawnguo@kernel.org" <shawnguo@kernel.org>,
"s.hauer@pengutronix.de" <s.hauer@pengutronix.de>,
"festevam@gmail.com" <festevam@gmail.com>,
"robh+dt@kernel.org" <robh+dt@kernel.org>,
"krzysztof.kozlowski+dt@linaro.org"
<krzysztof.kozlowski+dt@linaro.org>,
Abel Vesa <abel.vesa@nxp.com>,
"abailon@baylibre.com" <abailon@baylibre.com>,
"laurent.pinchart@ideasonboard.com"
<laurent.pinchart@ideasonboard.com>,
"marex@denx.de" <marex@denx.de>,
"paul.elder@ideasonboard.com" <paul.elder@ideasonboard.com>,
"Markus.Niebel@ew.tq-group.com" <Markus.Niebel@ew.tq-group.com>,
"aford173@gmail.com" <aford173@gmail.com>
Cc: "kernel@pengutronix.de" <kernel@pengutronix.de>,
"linux-pm@vger.kernel.org" <linux-pm@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>,
dl-linux-imx <linux-imx@nxp.com>
Subject: Re: [PATCH 0/8] interconnect: support i.MX8MP
Date: Tue, 14 Jun 2022 19:39:33 +0200 [thread overview]
Message-ID: <c2034c030333f89e0ac7d86c906dd222cc151d52.camel@pengutronix.de> (raw)
In-Reply-To: <DU0PR04MB941799547BD863444C6F268D88AB9@DU0PR04MB9417.eurprd04.prod.outlook.com>
Hi Peng,
Am Montag, dem 13.06.2022 um 01:23 +0000 schrieb Peng Fan:
> All,
>
> > Subject: [PATCH 0/8] interconnect: support i.MX8MP
>
> I am going to send out V2 this week to address the comments until now.
> But before that I would like to see if any one has any comments on the
> design here.
>
> Georgi, do you have comments on Patch 2 " interconnect: add device
> managed bulk API"
>
> Lucas, since you had comments when I first use syscon to configure NoC,
> are you ok with the design to use interconnect in this patchset?
>
I'm still not 100% convinced that the blk-ctrl is the right consumer
for the interconnect, since it doesn't do any busmastering. However,
the design looks much better than the syscon based one.
I mostly worry about being able to extend this to do more than the
current static configuration if/when NXP decides to release more
information about the NoC configuration options or someone reverse
engineers this part of the SoC. I still hope that we could optimize NoC
usage by setting real bandwidth and latency limits for the devices
connected to the NoC. As the blk-ctrl doesn't have any clue about this
right now, we can't really set any more specific requests than the
current INT_MAX ones.
I guess we could extend things in this way by making the blk-ctrl not
only be a simple consumer of the interconnect, but aggregate requests
from the devices in the blk-ctrl domain and forward them to the NOC
provider, right?
Regards,
Lucas
> Thanks,
> Peng.
>
> >
> > From: Peng Fan <peng.fan@nxp.com>
> >
> > This patchset is to support i.MX8MP NoC settings, i.MX8MP NoC initial value
> > after power up is invalid, need set a valid value after related power domain up.
> >
> > This patchset also includes two patch[1,2] during my development to enable the
> > ICC feature for i.MX8MP.
> >
> > I not include ddrc DVFS in this patchset, ths patchset is only to support NoC
> > value mode/priority/ext_control being set to a valid value that suggested by
> > i.MX Chip Design Team. The value is same as NXP downstream one inside Arm
> > Trusted Firmware:
> > https://source.codeaurora.org/external/imx/imx-atf/tree/plat/imx/imx8m/imx
> > 8mp/gpc.c?h=lf_v2.4#n97
> >
> > A repo created here:
> > https://github.com/MrVan/linux/tree/imx8mp-interconnect
> >
> > Peng Fan (8):
> > dt-bindings: interconnect: imx8m: Add bindings for imx8mp noc
> > interconnect: add device managed bulk API
> > interconnect: imx: fix max_node_id
> > interconnect: imx: set src node
> > interconnect: imx: introduce imx_icc_provider
> > interconnect: imx: set of_node for interconnect provider
> > interconnect: imx: configure NoC mode/prioriry/ext_control
> > interconnect: imx: Add platform driver for imx8mp
> >
> > .../bindings/interconnect/fsl,imx8m-noc.yaml | 6 +
> > drivers/interconnect/bulk.c | 34 +++
> > drivers/interconnect/imx/Kconfig | 4 +
> > drivers/interconnect/imx/Makefile | 2 +
> > drivers/interconnect/imx/imx.c | 68 +++--
> > drivers/interconnect/imx/imx.h | 25 +-
> > drivers/interconnect/imx/imx8mm.c | 2 +-
> > drivers/interconnect/imx/imx8mn.c | 2 +-
> > drivers/interconnect/imx/imx8mp.c | 232
> > ++++++++++++++++++
> > drivers/interconnect/imx/imx8mq.c | 2 +-
> > include/dt-bindings/interconnect/fsl,imx8mp.h | 59 +++++
> > include/linux/interconnect.h | 6 +
> > 12 files changed, 424 insertions(+), 18 deletions(-) create mode 100644
> > drivers/interconnect/imx/imx8mp.c create mode 100644
> > include/dt-bindings/interconnect/fsl,imx8mp.h
> >
> > --
> > 2.25.1
>
next prev parent reply other threads:[~2022-06-14 17:39 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-01 9:41 [PATCH 0/8] interconnect: support i.MX8MP Peng Fan (OSS)
2022-06-01 9:41 ` [PATCH 1/8] dt-bindings: interconnect: imx8m: Add bindings for imx8mp noc Peng Fan (OSS)
2022-06-01 11:55 ` Krzysztof Kozlowski
2022-06-01 12:06 ` Peng Fan
2022-06-01 12:13 ` Krzysztof Kozlowski
2022-06-01 9:41 ` [PATCH 2/8] interconnect: add device managed bulk API Peng Fan (OSS)
2022-06-01 12:33 ` kernel test robot
2022-06-01 13:15 ` kernel test robot
2022-06-01 13:37 ` kernel test robot
2022-06-01 14:58 ` kernel test robot
2022-06-13 18:27 ` Georgi Djakov
2022-06-01 9:41 ` [PATCH 3/8] interconnect: imx: fix max_node_id Peng Fan (OSS)
2022-06-04 0:14 ` Laurent Pinchart
2022-06-13 1:17 ` Peng Fan
2022-06-01 9:41 ` [PATCH 4/8] interconnect: imx: set src node Peng Fan (OSS)
2022-06-01 9:41 ` [PATCH 5/8] interconnect: imx: introduce imx_icc_provider Peng Fan (OSS)
2022-06-01 9:41 ` [PATCH 6/8] interconnect: imx: set of_node for interconnect provider Peng Fan (OSS)
2022-06-01 9:41 ` [PATCH 7/8] interconnect: imx: configure NoC mode/prioriry/ext_control Peng Fan (OSS)
2022-06-01 9:41 ` [PATCH 8/8] interconnect: imx: Add platform driver for imx8mp Peng Fan (OSS)
2022-06-01 11:56 ` Krzysztof Kozlowski
2022-06-01 12:03 ` Peng Fan
2022-06-13 1:23 ` [PATCH 0/8] interconnect: support i.MX8MP Peng Fan
2022-06-14 17:39 ` Lucas Stach [this message]
2022-06-14 23:38 ` Peng Fan
2022-06-15 9:06 ` Lucas Stach
2022-06-15 9:28 ` Peng Fan
2022-06-15 10:30 ` Lucas Stach
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=c2034c030333f89e0ac7d86c906dd222cc151d52.camel@pengutronix.de \
--to=l.stach@pengutronix.de \
--cc=Markus.Niebel@ew.tq-group.com \
--cc=abailon@baylibre.com \
--cc=abel.vesa@nxp.com \
--cc=aford173@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=djakov@kernel.org \
--cc=festevam@gmail.com \
--cc=kernel@pengutronix.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=marex@denx.de \
--cc=paul.elder@ideasonboard.com \
--cc=peng.fan@nxp.com \
--cc=peng.fan@oss.nxp.com \
--cc=robh+dt@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.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).