diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2019-04-01 21:38:19 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-04-23 08:13:54 +0300 |
commit | f147384774a7b24dda4783a3dcd61af272757ea8 (patch) | |
tree | c3e44e527a058fb3521dd00c18917c532b3c8ada /drivers/dma/sh | |
parent | 79a3aaa7b82e3106be97842dedfd8429248896e6 (diff) | |
download | linux-f147384774a7b24dda4783a3dcd61af272757ea8.tar.xz |
dmaengine: bcm2835: Avoid GFP_KERNEL in device_prep_slave_sg
The commit af19b7ce76ba ("mmc: bcm2835: Avoid possible races on
data requests") introduces a possible circular locking dependency,
which is triggered by swapping to the sdhost interface.
So instead of reintroduce the race condition again, we could also
avoid this situation by using GFP_NOWAIT for the allocation of the
DMA buffer descriptors.
Reported-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Fixes: af19b7ce76ba ("mmc: bcm2835: Avoid possible races on data requests")
Link: http://lists.infradead.org/pipermail/linux-rpi-kernel/2019-March/008615.html
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/sh')
0 files changed, 0 insertions, 0 deletions