|
@@ -700,7 +700,7 @@ static int ioat_alloc_chan_resources(struct dma_chan *c)
|
|
/* doing 2 32bit writes to mmio since 1 64b write doesn't work */
|
|
/* doing 2 32bit writes to mmio since 1 64b write doesn't work */
|
|
ioat_chan->completion =
|
|
ioat_chan->completion =
|
|
dma_pool_zalloc(ioat_chan->ioat_dma->completion_pool,
|
|
dma_pool_zalloc(ioat_chan->ioat_dma->completion_pool,
|
|
- GFP_KERNEL, &ioat_chan->completion_dma);
|
|
|
|
|
|
+ GFP_NOWAIT, &ioat_chan->completion_dma);
|
|
if (!ioat_chan->completion)
|
|
if (!ioat_chan->completion)
|
|
return -ENOMEM;
|
|
return -ENOMEM;
|
|
|
|
|
|
@@ -710,7 +710,7 @@ static int ioat_alloc_chan_resources(struct dma_chan *c)
|
|
ioat_chan->reg_base + IOAT_CHANCMP_OFFSET_HIGH);
|
|
ioat_chan->reg_base + IOAT_CHANCMP_OFFSET_HIGH);
|
|
|
|
|
|
order = IOAT_MAX_ORDER;
|
|
order = IOAT_MAX_ORDER;
|
|
- ring = ioat_alloc_ring(c, order, GFP_KERNEL);
|
|
|
|
|
|
+ ring = ioat_alloc_ring(c, order, GFP_NOWAIT);
|
|
if (!ring)
|
|
if (!ring)
|
|
return -ENOMEM;
|
|
return -ENOMEM;
|
|
|
|
|