Re: [PATCH 07/10] s390/airq: use DMA memory for adapter interrupts

Sebastian Ott
2019-05-08T13:58:48Z

On Fri, 26 Apr 2019, Halil Pasic wrote:
> @@ -182,6 +190,8 @@ void airq_iv_release(struct airq_iv *iv)
> kfree(iv->ptr);
> kfree(iv->bitlock);
> kfree(iv->vector);

- kfree(iv->vector);

> + dma_free_coherent(cio_get_dma_css_dev(), iv_size(iv->bits),
> + iv->vector, iv->vector_dma);
> kfree(iv->avail);
> kfree(iv);
> }

Looks good to me but needs adaption to current code. Probably you can just
revert my changes introducing cacheline aligned vectors since we now use
a whole page.