From: Greg Kroah-Hartman Date: Tue, 3 Apr 2018 17:39:39 +0000 (+0200) Subject: 4.4-stable patches X-Git-Tag: v3.18.103~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5684e21c229bedc461cf891c014cea6c31856fb2;p=thirdparty%2Fkernel%2Fstable-queue.git 4.4-stable patches added patches: scsi-virtio_scsi-always-read-vpd-pages-for-multiqueue-too.patch --- diff --git a/queue-4.4/scsi-virtio_scsi-always-read-vpd-pages-for-multiqueue-too.patch b/queue-4.4/scsi-virtio_scsi-always-read-vpd-pages-for-multiqueue-too.patch new file mode 100644 index 00000000000..9d9e2bdc353 --- /dev/null +++ b/queue-4.4/scsi-virtio_scsi-always-read-vpd-pages-for-multiqueue-too.patch @@ -0,0 +1,36 @@ +From a680f1d463aeaeb00d22af257a56e111967c2f18 Mon Sep 17 00:00:00 2001 +From: Paolo Bonzini +Date: Wed, 5 Jul 2017 10:30:56 +0200 +Subject: scsi: virtio_scsi: always read VPD pages for multiqueue too + +From: Paolo Bonzini + +commit a680f1d463aeaeb00d22af257a56e111967c2f18 upstream. + +Multi-queue virtio-scsi uses a different scsi_host_template struct. Add +the .device_alloc field there, too. + +Fixes: 25d1d50e23275e141e3a3fe06c25a99f4c4bf4e0 +Cc: stable@vger.kernel.org +Cc: David Gibson +Signed-off-by: Paolo Bonzini +Reviewed-by: Fam Zheng +Reviewed-by: Stefan Hajnoczi +Signed-off-by: Martin K. Petersen +Cc: Ben Hutchings +Signed-off-by: Greg Kroah-Hartman + +--- + drivers/scsi/virtio_scsi.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/drivers/scsi/virtio_scsi.c ++++ b/drivers/scsi/virtio_scsi.c +@@ -819,6 +819,7 @@ static struct scsi_host_template virtscs + .eh_abort_handler = virtscsi_abort, + .eh_device_reset_handler = virtscsi_device_reset, + ++ .slave_alloc = virtscsi_device_alloc, + .can_queue = 1024, + .dma_boundary = UINT_MAX, + .use_clustering = ENABLE_CLUSTERING, diff --git a/queue-4.4/series b/queue-4.4/series index 6dbe54a0b40..4fe5b1cfee9 100644 --- a/queue-4.4/series +++ b/queue-4.4/series @@ -40,3 +40,4 @@ netfilter-bridge-ebt_among-add-more-missing-match-size-checks.patch netfilter-x_tables-add-and-use-xt_check_proc_name.patch bluetooth-fix-missing-encryption-refresh-on-security-request.patch llist-clang-introduce-member_address_is_nonnull.patch +scsi-virtio_scsi-always-read-vpd-pages-for-multiqueue-too.patch