From: Etienne Carriere <etienne.carriere@linaro.org>
To: Viresh Kumar <viresh.kumar@linaro.org>
Cc: linux-kernel@vger.kernel.org, Peng Fan <peng.fan@nxp.com>,
Sudeep Holla <sudeep.holla@arm.com>
Subject: Re: [PATCH V5] firmware: arm_scmi: Make scmi core independent of the transport type
Date: Thu, 30 Jan 2020 17:24:51 +0100 [thread overview]
Message-ID: <CAN5uoS8o96sZfgx2qU0Mw-3Phud4kjOcVvxz8HXpqo6-WnUK=A@mail.gmail.com> (raw)
In-Reply-To: <20200130094103.mrz7ween6ukfa4fk@vireshk-i7>
On Thu, 30 Jan 2020 at 10:41, Viresh Kumar <viresh.kumar@linaro.org> wrote:
>
> On 30-01-20, 10:25, Etienne Carriere wrote:
> > I've made a first port (draft) for adding new transport channels, next
> > to existing mailbox channel, on top of your change.
> > You can find it here: https://github.com/etienne-lms/linux/pull/1.
> >
> > I don't have specific comments on your change but the one below.
> > I think SMT header should move out of mailbox.c, but that may be a bit
> > out of the scope of your change.
>
> If it is guaranteed that someone will end up using those routines
> apart from mailbox.c, then surely it can be done.
>
> > I would prefer an optional mak_txdone callback:
> >
> > if (info->desc->ops->mark_txdone)
> > info->desc->ops->mark_txdone(cinfo, ret);
>
> So you are sure that mark_txdone won't be required in your case? I can
> make it optional then.
I think there is nothing to be done from mark_txdone() in my setup.
Making it optional is more flexible. But transport can also register
an empty function if needed.
etienne
>
> --
> viresh
next prev parent reply other threads:[~2020-01-30 16:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-30 9:25 [PATCH V5] firmware: arm_scmi: Make scmi core independent of the transport type Etienne Carriere
2020-01-30 9:41 ` Viresh Kumar
2020-01-30 10:21 ` Sudeep Holla
2020-01-30 16:24 ` Etienne Carriere [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-01-28 10:54 Viresh Kumar
2020-01-28 17:35 ` Sudeep Holla
2020-01-30 11:58 ` Peter Hilber
2020-01-31 4:33 ` Viresh Kumar
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='CAN5uoS8o96sZfgx2qU0Mw-3Phud4kjOcVvxz8HXpqo6-WnUK=A@mail.gmail.com' \
--to=etienne.carriere@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peng.fan@nxp.com \
--cc=sudeep.holla@arm.com \
--cc=viresh.kumar@linaro.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).