]> git.baikalelectronics.ru Git - kernel.git/commit
mtip32xx: ѕtop abusing the managed resource APIs
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Jan 2019 20:23:30 +0000 (21:23 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 31 Jan 2019 19:50:12 +0000 (12:50 -0700)
commit3fc248e0c7c2a7a103de6c90632afce6e245f84b
tree26fef09e0dfa9bfebb896acee4bf577bc1fb19c5
parentd91626f54a165744819401f5b3002fdda9213631
mtip32xx: ѕtop abusing the managed resource APIs

The mtip32xx driver uses managed resources for DMA coherent memory
and irqs, but then always pairs them with free calls anyway, making
the resource tracking rather pointless.  Given some DMA allocations
are transient anyway, the irq freeing seems to require ordering vs
other hardware access the best solution seems to be to stop using
the managed resource API entirely.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.c