Re: [PATCH v2 0/6] mailbox: arm_mhu: add support for doorbell mode

From: Jassi Brar
Date: Thu May 25 2017 - 09:44:53 EST


On Thu, May 25, 2017 at 7:05 PM, Sudeep Holla <sudeep.holla@xxxxxxx> wrote:
>>> 1. The client driver is generic and expects it to be doorbell like
>>> mailbox controller. I am referring to SCMI which will be released
>>> soon. We can't embed ARM MHU or any other mailbox controller info
>>> into that.
>>>
>> If SCMI is to be usable over different platforms, there has to be 2
>> sub-parts of the SCMI - one platform agnostic high level protocol
>> implementation, and the other platform specific 'transport' layer
>> where actual message xfer is done.
>>
>
> It recommends doorbell kind of interface for the transport.
>
>> For the Nth time:-
>> The 'mssg' in mbox_send_message(struct mbox_chan *chan, void
>> *mssg) is platform specific. For MHU it is simple u32*, whereas for
>> other platform it will be like 'struct my_protocol_message *'
>>
>> I can't make it any clearer.
>>
>
> Why is that ? Just because it was used on your platform like that ?
> Sorry that's not a valid reason.
>
To be clear, by "other platform" I mean platforms with mailbox
controller other than MHU. (Not to mean SCMI can't run on MHU as of
today).

Do you intend SCMI to run only on platforms that have MHU controller?
I hope not.

Now re-read my last post until you get it.

Thanks.