From: Etienne CARRIERE - foss <etienne.carriere@foss.st.com>
To: Simon Glass <sjg@chromium.org>,
AKASHI Takahiro <takahiro.akashi@linaro.org>
Cc: "trini@konsulko.com" <trini@konsulko.com>,
Etienne CARRIERE <etienne.carriere@st.com>,
"u-boot@lists.denx.de" <u-boot@lists.denx.de>
Subject: Re: [PATCH v2 01/12] scmi: refactor the code to hide a channel from devices
Date: Thu, 3 Aug 2023 09:20:45 +0000 [thread overview]
Message-ID: <b31fd00a7cce4e31ac91492af8606af8@foss.st.com> (raw)
In-Reply-To: <CAPnjgZ1zEVxosDzz9zG4iqGbqM2Bm6jFbHiOfRDr1yokz9s8yw@mail.gmail.com>
Hello Takahiro-san,
> From: U-Boot <u-boot-bounces@lists.denx.de> on behalf of Simon Glass <sjg@chromium.org>
> Sent: Thursday, July 27, 2023 2:50 AM
>
> On Wed, 26 Jul 2023 at 02:38, AKASHI Takahiro
> <takahiro.akashi@linaro.org> wrote:
> >
> > The commit 85dc58289238 ("firmware: scmi: prepare uclass to pass channel
> > reference") added an explicit parameter, channel, but it seems to make
> > the code complex.
> >
> > Hiding this parameter will allow for adding a generic (protocol-agnostic)
> > helper function, i.e. for PROTOCOL_VERSION, in a later patch.
> >
> > Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
> > ---
> > v2
> > * new patch
> > ---
> > drivers/clk/clk_scmi.c | 27 ++-------
> > drivers/firmware/scmi/scmi_agent-uclass.c | 74 ++++++++++++++++++-----
> > drivers/power/regulator/scmi_regulator.c | 27 +++------
> > drivers/reset/reset-scmi.c | 19 +-----
> > include/scmi_agent.h | 15 +++--
> > 5 files changed, 86 insertions(+), 76 deletions(-)
> >
>
> Reviewed-by: Simon Glass <sjg@chromium.org>
Sorry for this late feedback. I initially saw no issues with this patch series
but testing the series against stm32mp135f-dk board which is using SCMI
resources, I saw the board failed to boot. The issue is related to udevice
parent tree and common clock framework. I'll post comments on patch 01/12.
Best regards,
Etienne
next prev parent reply other threads:[~2023-08-03 10:30 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-26 8:37 [PATCH v2 00/12] firmware: scmi: add SCMI base protocol support AKASHI Takahiro
2023-07-26 8:37 ` [PATCH v2 01/12] scmi: refactor the code to hide a channel from devices AKASHI Takahiro
2023-07-27 0:50 ` Simon Glass
2023-08-03 9:20 ` Etienne CARRIERE - foss [this message]
2023-08-03 9:24 ` Etienne CARRIERE
2023-08-07 10:03 ` AKASHI Takahiro
2023-08-08 8:04 ` Etienne CARRIERE - foss
2023-07-26 8:37 ` [PATCH v2 02/12] firmware: scmi: implement SCMI base protocol AKASHI Takahiro
2023-07-27 0:50 ` Simon Glass
2023-08-03 9:35 ` Etienne CARRIERE
2023-08-08 2:21 ` AKASHI Takahiro
2023-07-26 8:37 ` [PATCH v2 03/12] firmware: scmi: move scmi_bind_protocols() backward AKASHI Takahiro
2023-07-27 0:50 ` Simon Glass
2023-08-03 9:37 ` Etienne CARRIERE
2023-07-26 8:38 ` [PATCH v2 04/12] firmware: scmi: framework for installing additional protocols AKASHI Takahiro
2023-07-27 0:53 ` Simon Glass
2023-08-03 9:57 ` Etienne CARRIERE
2023-07-26 8:38 ` [PATCH v2 05/12] firmware: scmi: install base protocol to SCMI agent AKASHI Takahiro
2023-07-27 0:50 ` Simon Glass
2023-07-27 1:07 ` AKASHI Takahiro
2023-07-27 2:44 ` Simon Glass
2023-08-03 10:01 ` Etienne CARRIERE
2023-07-26 8:38 ` [PATCH v2 06/12] sandbox: remove SCMI base node definition from test.dts AKASHI Takahiro
2023-08-03 10:02 ` Etienne CARRIERE
2023-07-26 8:38 ` [PATCH v2 07/12] firmware: scmi: fake base protocol commands on sandbox AKASHI Takahiro
2023-08-03 10:21 ` Etienne CARRIERE
2023-07-26 8:38 ` [PATCH v2 08/12] test: dm: simplify SCMI unit test " AKASHI Takahiro
2023-08-03 10:23 ` Etienne CARRIERE
2023-07-26 8:38 ` [PATCH v2 09/12] test: dm: add SCMI base protocol test AKASHI Takahiro
2023-07-27 0:53 ` Simon Glass
2023-08-03 10:25 ` Etienne CARRIERE
2023-07-26 8:38 ` [PATCH v2 10/12] cmd: add scmi command for SCMI firmware AKASHI Takahiro
2023-07-27 0:53 ` Simon Glass
2023-08-03 10:28 ` Etienne CARRIERE
2023-07-26 8:38 ` [PATCH v2 11/12] doc: cmd: add documentation for scmi AKASHI Takahiro
2023-07-27 0:53 ` Simon Glass
2023-08-03 10:31 ` Etienne CARRIERE
2023-07-26 8:38 ` [PATCH v2 12/12] test: dm: add scmi command test AKASHI Takahiro
2023-07-27 0:53 ` Simon Glass
2023-08-03 11:36 ` Etienne CARRIERE
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=b31fd00a7cce4e31ac91492af8606af8@foss.st.com \
--to=etienne.carriere@foss.st.com \
--cc=etienne.carriere@st.com \
--cc=sjg@chromium.org \
--cc=takahiro.akashi@linaro.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/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