dmaengine: ioat setting ioat timeout as module parameter
authorLeonid Ravich <Leonid.Ravich@emc.com>
Wed, 1 Jul 2020 18:48:12 +0000 (21:48 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jul 2020 08:19:51 +0000 (10:19 +0200)
commitc3b88d2b750a8392f3c2cddeff80e7ae14b8cadb
treeda926ebbd162b8046074eb94ad390ee6b37b2354
parent7ee49b3743183b11a42e811bc8b27485c85bc408
dmaengine: ioat setting ioat timeout as module parameter

[ Upstream commit 87730ccbddcb48478b1b88e88b14e73424130764 ]

DMA transaction time to completion is a function of PCI bandwidth,
transaction size and a queue depth.  So hard coded value for timeouts
might be wrong for some scenarios.

Signed-off-by: Leonid Ravich <Leonid.Ravich@emc.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20200701184816.29138-1-leonid.ravich@dell.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/dma/ioat/dma.c
drivers/dma/ioat/dma.h