[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJe_ZheptRQSmQp2gagqUyXqkOpi1qaTo8QPDTFpQ-+62B6kUw@mail.gmail.com>
Date: Thu, 6 Oct 2016 18:40:04 +0530
From: Jassi Brar <jaswinder.singh@...aro.org>
To: Horng-Shyang Liao <hs.liao@...iatek.com>
Cc: CK Hu <ck.hu@...iatek.com>, Daniel Kurtz <djkurtz@...omium.org>,
Monica Wang <monica.wang@...iatek.com>,
Jiaguang Zhang <jiaguang.zhang@...iatek.com>,
Nicolas Boichat <drinkcat@...omium.org>,
Jassi Brar <jassisinghbrar@...il.com>,
cawa cheng <cawa.cheng@...iatek.com>,
Bibby Hsieh <bibby.hsieh@...iatek.com>,
YT Shen <yt.shen@...iatek.com>,
Damon Chu <damon.chu@...iatek.com>,
Devicetree List <devicetree@...r.kernel.org>,
Sascha Hauer <kernel@...gutronix.de>,
Daoyuan Huang <daoyuan.huang@...iatek.com>,
Sascha Hauer <s.hauer@...gutronix.de>,
Glory Hung <glory.hung@...iatek.com>,
Rob Herring <robh+dt@...nel.org>,
linux-mediatek@...ts.infradead.org,
Matthias Brugger <matthias.bgg@...il.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
srv_heupstream@...iatek.com,
Josh-YC Liu <josh-yc.liu@...iatek.com>,
lkml <linux-kernel@...r.kernel.org>,
Dennis-YC Hsieh <dennis-yc.hsieh@...iatek.com>,
Philipp Zabel <p.zabel@...gutronix.de>
Subject: Re: [PATCH v14 2/4] CMDQ: Mediatek CMDQ driver
On 6 October 2016 at 18:31, Horng-Shyang Liao <hs.liao@...iatek.com> wrote:
> Back to our original statement, we need to flush all tasks to queue
> in GCE HW; i.e. we need to use mbox_client_txdone after
> mbox_send_message, or send tx_done once mailbox controller receive
> message (task). However, we still need a way to notice done tasks to
> clients. Currently, we don't have a good way to call callback in mailbox
> framework. Therefore, CMDQ driver has its owner callback functions.
>
mbox_client_txdone() is called by the client driver when only it knows
the messages has been transmitted (i.e your submitted tasks are done).
Obviously the client driver should do any callbacks to its users
upstream.
Powered by blists - more mailing lists