Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1696786 > unrolled thread

[PATCH 3/6] dma: bcm-sba-raid: pre-ack async tx descriptor

Started byAnup Patel <anup.patel@broadcom.com>
First post2017-07-26 07:40 +0200
Last post2017-07-26 07:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 3/6] dma: bcm-sba-raid: pre-ack async tx descriptor Anup Patel <anup.patel@broadcom.com> - 2017-07-26 07:40 +0200

#1696786 — [PATCH 3/6] dma: bcm-sba-raid: pre-ack async tx descriptor

FromAnup Patel <anup.patel@broadcom.com>
Date2017-07-26 07:40 +0200
Subject[PATCH 3/6] dma: bcm-sba-raid: pre-ack async tx descriptor
Message-ID<u7nd8-4CC-7@gated-at.bofh.it>
We should pre-ack async tx descriptor at time of
allocating SBA request (just like other RAID drivers).

Signed-off-by: Anup Patel <anup.patel@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
---
 drivers/dma/bcm-sba-raid.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/dma/bcm-sba-raid.c b/drivers/dma/bcm-sba-raid.c
index 321420b..db5e3db 100644
--- a/drivers/dma/bcm-sba-raid.c
+++ b/drivers/dma/bcm-sba-raid.c
@@ -236,6 +236,7 @@ static struct sba_request *sba_alloc_request(struct sba_device *sba)
 	atomic_set(&req->next_pending_count, 1);
 
 	dma_async_tx_descriptor_init(&req->tx, &sba->dma_chan);
+	async_tx_ack(&req->tx);
 
 	return req;
 }
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web