]> git.baikalelectronics.ru Git - kernel.git/commit
s390/airq: use DMA memory for summary indicators
authorHalil Pasic <pasic@linux.ibm.com>
Tue, 14 Dec 2021 14:54:16 +0000 (15:54 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 7 Mar 2022 23:33:00 +0000 (00:33 +0100)
commit8280e3edd0d553ff8ee71b118b875722e91d400b
tree1c6686c7baf4f8ef0b0f8386b7aa9c5dbf4c60ba
parent17ae7a26fae1f0728d90c758c0b23e7c04580a68
s390/airq: use DMA memory for summary indicators

Protected virtualization guests have to use shared pages for airq
notifier bit vectors and summary bytes or bits, thus these need to be
allocated as DMA coherent memory.  Commit 8348d61ae3f6 ("s390/airq: use
DMA memory for adapter interrupts")  took care of the notifier bit
vectors, but omitted to take care of the summary bytes/bits.

In practice this omission is not a big deal, because the summary ain't
necessarily allocated here, but can be supplied by the driver. Currently
all the I/O we have for SE guests is virtio-ccw, and  virtio-ccw uses a
self-allocated array of summary indicators.

Let us cover all our bases nevertheless!

Signed-off-by: Halil Pasic <pasic@linux.ibm.com>
Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/cio/airq.c