• Halil Pasic's avatar
    s390/airq: use DMA memory for summary indicators · 9d792ef1
    Halil Pasic authored
    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 b50623e5 ("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: default avatarHalil Pasic <pasic@linux.ibm.com>
    Reviewed-by: default avatarHarald Freudenberger <freude@linux.ibm.com>
    Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
    9d792ef1
airq.c 7.73 KB