]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8348d61ae3f699a0559e6a01f004f60c27abf033
tree338d7c361dc8b6c3ec9c7d2d9e4fd421fab755dd
parent3c88acc85395c611fc7b06d8553bd003ec5a181a
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