s390/airq: use DMA memory for adapter interrupts
authorHalil Pasic <pasic@linux.ibm.com>
Thu, 13 Sep 2018 16:57:16 +0000 (18:57 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Sat, 15 Jun 2019 10:25:05 +0000 (12:25 +0200)
commitb50623e5db802e41736f3305cb54c03bc7f0e30a
tree338d7c361dc8b6c3ec9c7d2d9e4fd421fab755dd
parent37db8985b2116c89a3cbaf87083a02f83afaba5b
s390/airq: use DMA memory for adapter interrupts

Protected virtualization guests have to use shared pages for airq
notifier bit vectors, because the hypervisor needs to write these bits.

Let us make sure we allocate DMA memory for the notifier bit vectors by
replacing the kmem_cache with a dma_cache and kalloc() with
cio_dma_zalloc().

Signed-off-by: Halil Pasic <pasic@linux.ibm.com>
Reviewed-by: Sebastian Ott <sebott@linux.ibm.com>
Reviewed-by: Michael Mueller <mimu@linux.ibm.com>
Tested-by: Michael Mueller <mimu@linux.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/include/asm/airq.h
drivers/s390/cio/airq.c
drivers/s390/cio/cio.h
drivers/s390/cio/css.c