linux-stable/drivers/s390
Eric Farman 61f3a16b9d vfio/ccw: allocate/populate the guest idal
Today, we allocate memory for a list of IDAWs, and if the CCW
being processed contains an IDAL we read that data from the guest
into that space. We then copy each IDAW into the pa_iova array,
or fabricate that pa_iova array with a list of addresses based
on a direct-addressed CCW.

Combine the reading of the guest IDAL with the creation of a
pseudo-IDAL for direct-addressed CCWs, so that both CCW types
have a "guest" IDAL that can be populated straight into the
pa_iova array.

Signed-off-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2023-01-09 14:34:09 +01:00
..
block block: handle bio_split_to_limits() NULL return 2023-01-04 09:05:23 -07:00
char s390/con3270: add special output handling when oops_in_progress is set 2023-01-09 14:34:06 +01:00
cio vfio/ccw: allocate/populate the guest idal 2023-01-09 14:34:09 +01:00
crypto VFIO updates for v6.2-rc1 2022-12-15 13:12:15 -08:00
net s390/qeth: convert sysfs snprintf to sysfs_emit 2022-12-28 12:10:42 +00:00
scsi Random number generator updates for Linux 6.2-rc1. 2022-12-12 16:22:22 -08:00
virtio virtio: Revert "virtio: find_vqs() add arg sizes" 2022-08-16 01:40:24 -04:00
Makefile