Message ID | 1605566782-38013-1-git-send-email-hemantk@codeaurora.org |
---|---|
Headers | show |
Series | userspace MHI client interface driver | expand |
On Mon, 16 Nov 2020 at 23:46, Hemant Kumar <hemantk@codeaurora.org> wrote: > > Introduce mhi_get_free_desc_count() API to return number > of TREs available to queue buffer. MHI clients can use this > API to know before hand if ring is full without calling queue > API. > > Signed-off-by: Hemant Kumar <hemantk@codeaurora.org> > Reviewed-by: Jeffrey Hugo <jhugo@codeaurora.org> > Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> In case this series get new comments to address, I would suggest merging that patch in mhi-next separately so that other drivers can start benefiting this function (I would like to use it in mhi-net). Regards, Loic
On Wed, Nov 18, 2020 at 10:32:45AM +0100, Loic Poulain wrote: > On Mon, 16 Nov 2020 at 23:46, Hemant Kumar <hemantk@codeaurora.org> wrote: > > > > Introduce mhi_get_free_desc_count() API to return number > > of TREs available to queue buffer. MHI clients can use this > > API to know before hand if ring is full without calling queue > > API. > > > > Signed-off-by: Hemant Kumar <hemantk@codeaurora.org> > > Reviewed-by: Jeffrey Hugo <jhugo@codeaurora.org> > > Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> > > In case this series get new comments to address, I would suggest > merging that patch in mhi-next separately so that other drivers can > start benefiting this function (I would like to use it in mhi-net). > Greg doesn't like that. He asked me to pick APIs only when there an in-tree consumer available. Thanks, Mani > Regards, > Loic
On Sat, Nov 28, 2020 at 11:59:46AM +0530, Manivannan Sadhasivam wrote: > On Wed, Nov 18, 2020 at 10:32:45AM +0100, Loic Poulain wrote: > > On Mon, 16 Nov 2020 at 23:46, Hemant Kumar <hemantk@codeaurora.org> wrote: > > > > > > Introduce mhi_get_free_desc_count() API to return number > > > of TREs available to queue buffer. MHI clients can use this > > > API to know before hand if ring is full without calling queue > > > API. > > > > > > Signed-off-by: Hemant Kumar <hemantk@codeaurora.org> > > > Reviewed-by: Jeffrey Hugo <jhugo@codeaurora.org> > > > Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> > > > > In case this series get new comments to address, I would suggest > > merging that patch in mhi-next separately so that other drivers can > > start benefiting this function (I would like to use it in mhi-net). > > > > Greg doesn't like that. He asked me to pick APIs only when there an in-tree > consumer available. If someone wants to use it, then yes, by all means merge it. I can't just take new apis without any user. thanks, greg k-h