Thread (4 messages) flat view 4 messages, 3 authors, 2021-06-12

Re: [PATCH v2] bus: mhi: Add inbound buffers allocation flag

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-06-11 18:31:21
Also in: linux-arm-msm

On Fri, 11 Jun 2021 09:00:16 +0200 Loic Poulain wrote:
quoted
On Fri, May 21, 2021 at 03:25:19PM +0200, Loic Poulain wrote:  
quoted
Currently, the MHI controller driver defines which channels should
have their inbound buffers allocated and queued. But ideally, this is
something that should be decided by the MHI device driver instead,
which actually deals with that buffers.

Add a flag parameter to mhi_prepare_for_transfer allowing to specify
if buffers have to be allocated and queued by the MHI stack.

Keep auto_queue flag for now, but should be removed at some point.

Signed-off-by: Loic Poulain <redacted>
Tested-by: Bhaumik Bhatt <redacted>
Reviewed-by: Bhaumik Bhatt <redacted>
Reviewed-by: Hemant Kumar <redacted>
Reviewed-by: Manivannan Sadhasivam <redacted>
---
 v2: Update API in mhi_wwan_ctrl driver

 drivers/bus/mhi/core/internal.h  |  2 +-
 drivers/bus/mhi/core/main.c      | 11 ++++++++---
 drivers/net/mhi/net.c            |  2 +-
 drivers/net/wwan/mhi_wwan_ctrl.c |  2 +-  
Since this patch touches the drivers under net/, I need an Ack from Dave or
Jakub to take it via MHI tree.  
Could you please ack|nack this patch?
Looks fine.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help