[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAN5uoS8o96sZfgx2qU0Mw-3Phud4kjOcVvxz8HXpqo6-WnUK=A@mail.gmail.com>
Date: Thu, 30 Jan 2020 17:24:51 +0100
From: Etienne Carriere <etienne.carriere@...aro.org>
To: Viresh Kumar <viresh.kumar@...aro.org>
Cc: linux-kernel@...r.kernel.org, Peng Fan <peng.fan@....com>,
Sudeep Holla <sudeep.holla@....com>
Subject: Re: [PATCH V5] firmware: arm_scmi: Make scmi core independent of the
transport type
On Thu, 30 Jan 2020 at 10:41, Viresh Kumar <viresh.kumar@...aro.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
Powered by blists - more mailing lists