Linux pvscsi driver features and bug fixes
search cancel

Linux pvscsi driver features and bug fixes

book

Article ID: 367552

calendar_today

Updated On:

Products

VMware vSphere ESXi VMware Desktop Hypervisor

Issue/Introduction

This article provides a summary of the important features and bug fixes implemented in the Linux pvscsi drivers contributed to the upstream Linux kernel. Linux distro releases are expected to include all of the changes described below through the specific version of kernel that the distro release is based.  The OS vendor or community may also have back ported a subset of changes from newer linux kernels to their releases.  Please contact the OS vendor or community for availability of specific patches that have been back ported from newer kernel versions.

Resolution

Changes implemented by Linux kernel versions:

PVSCSI changes

5.19
1. 0848ccaea664970e559d99348484615ba0f7ab63 ("scsi: vmw_pvscsi: No need to clear memory after a dma_alloc_coherent() call")

5.18
1. cf71d59c2eceadfcde0fb52e237990a0909880d7 ("scsi: vmw_pvscsi: Expand vcpuHint to 16 bits")

5.16
1. aeb2627dcfd98b57d0a5a8de9d268e586cad6e35 ("scsi: vmw_pvscsi: Call scsi_done() directly")
2. af049dfd0b105bab32170d1c68826a4cd8424efdb ("scsi: core: Remove the 'done' argument from SCSI queuecommand_lck functions")

5.15
1. 142c779d05d1fef75134c3cb63f52ccbc96d9e1f ("scsi: vmw_pvscsi: Set residual data length conditionally")

5.14
1. 464a00c9e0ad45e3f42ff6ea705491a356df818e ("scsi: core: Kill DRIVER_SENSE")
2. 16576ad8a8f0c05f8cd86779e3f2c0ee9f5e5552 ("scsi: core: Do not use DRIVER_INVALID")
3. bd31b9efbf549d9630bf2f269a3a56dcb29fcac1 ("Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi"")

5.12
1. 1112963427d6d186f8729cf36fefb70d5ca5a84a ("scsi: vmw_pvscsi: MAINTAINERS: Update maintainer")

5.10
1. e662502b3a782d479e67736a5a1c169a703d853a ("scsi: vmw_pvscsi: Set correct residual data length")

5.9
1. df561f6688fef775baa341a0f5d960becd248b11 ("treewide: Use fallthrough pseudo-keyword")

5.8
1. 013f69a931e72aa0a38030d23f3c9b7cdafae9cc ("scsi: vmw_pvscsi: Use true, false for adapter->use_msg")

5.6
1. f4652752a428f65936a7da5884095ef43a3cac18 ("scsi: vmw_pvscsi: Fix swiotlb operation")
2. d8dd7d768131010cb6e064036bf525db68ce78b8 ("scsi: vmw_pvscsi: Silence dma mapping errors")

5.3
1. cf9648cb71d6f1a463553d2fcd4c8137587dc060 ("scsi: vmw_pscsi: use sg helper to iterate over scatterlist")
2. 240b4cc8fd5db138b675297d4226ec46594d9b3b ("scsi: vmw_pscsi: Fix use-after-free in pvscsi_queue_lck()")
3. 1f7563f743d7081710a9d186a8b203997d09f383 ("Merge tag 'scsi-sg' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi"")

5.0
1. 2a3d4eb8e228061c09d5ca8bf39e7f00c2091213 ("scsi: flip the default on use_clustering")
2. 938edb8a31b976c9a92eb0cd4ff481e93f76c1f1 ("Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi"")

4.20
1. 9b7ca6c24cb4bef2a704f34b4e11c471360d02a0 ("scsi: vmw_pscsi: switch to generic DMA API")

4.19
1. 02f425f811cefcc4d325d7a72272651e622dc97e ("scsi: vmw_pscsi: Rearrange code to avoid multiple calls to free_irq during unload")

4.14
1. f4b024271ae3e9786e5d6f1c05b01b57a74e1d6d ("scsi: vmw-pvscsi: return DID_BUS_BUSY for adapter-initated aborts")
2. e95153b64d03c2b6e8d62e51bdcc33fcad6e0856 ("scsi: vmw_pvscsi: Return DID_RESET for status SAM_STAT_COMMAND_TERMINATED")

4.11
1. 2e48e3491189c40dc9ea9d4a53412d2b66c87555 ("scsi: vmw_pvscsi: switch to pci_alloc_irq_vectors")
2. c527de41aea24c2cdb6638818008d810013b4d39 ("scsi: vmw_pvscsi: handle the return value from pci_alloc_irq_vectors correctly")

4.9
1. aac173e9618faadf8f92af6cc05e64f7acc64d79 ("scsi: vmw_pvscsi: return SUCCESS for successful command aborts")

4.8
1. 29374ec6e2160290e758a3cac1d2d81dd9613f4a ("vmw_pvscsi: Change to update maintainer details (name, email)")

4.5
1. c965853ab06b3e8a9d024d86730b373c333fc6f3 ("VMW_PVSCSI: Fix the issue of DMA-API related warnings.")

3.19
1. 609aa22f3be76d470a334f39cc2197112dc91bd7 ("scsi: remove ordered_tags scsi_device field")
2. c8b09f6fb67df7fc1b51ced1037fa9b677428149 ("scsi: don't set tagging state from scsi_adjust_queue_depth")
3. 6932fc677ef67632137008f94d5c485a55946813 ("vmw_pvscsi: fixup tagging")
4. 1e6f2416044c062a56091ebf8d76760956dd5872 ("scsi: don't allow setting of queue_depth bigger than can_queue")
5. db5ed4dfd5dd0142ec36ff7b335e0ec3b836b3e6 ("scsi: drop reason argument from ->change_queue_depth")
6. 39f79500014a7d23dea06ad8a6ece86862ecd82a ("vmw_pscsi: simplify ->change_queue_depth")

3.18
1. 94e57fea62020dbf6e5d0093eabcd28366e86044 ("PCI: Move PCI_VENDOR_ID_VMWARE to pci_ids.h")

3.17
1. db1924d08dd4be3274771486664e7952439ee956 ("vmw_pvscsi: Use pci_enable_msix_exact() instead of pci_enable_msix()")

3.15
1. a2713cceb3a8efef8b86bec06f10689c95ddbc8c ("[SCSI] vmw_pvscsi: Fix pvscsi_abort() function.")
2. 2a815b5ac374d670f347f2d3a39db07105715398 ("[SCSI] vmw_pvscsi: Add support for I/O requests coalescing.")
3. 02845560090749dfd0bc0f3816c32f77b1efc56b ("[SCSI] vmw_pvscsi: Some improvements in pvscsi driver.")

3.13
1. 08b7e10716a518af01b07915dbb1938868bbf878 ("SCSI: remove unnecessary pci_set_drvdata()")

3.8
1. 6f039790510fd630ff348efe8c4802dbaa041fba ("Drivers: scsi: remove __dev* attributes.")

3.7
1. 59e13d48334c38a73aec1759fe9a13eb4e476bf6 ("scsi: fix various printk and comment typos")

3.4
1. a93107355d2d4557e7e19ea1724bdb710268cd34 ("[SCSI] vmw_pvscsi: Try setting host->max_id as suggested by the device.")

3.3
1. 42b2aa86c6670347a2a07e6d7af0e0ecc8fdbff9 ("treewide: Fix typos in various parts of the kernel, and fix some comments")

2.6
1. 851b164231d1117673aa44c00c7622e48b7dfcf4 ("[SCSI] vmw_pvscsi: SCSI driver for VMware's virtual HBA.")
2. d0e2ddff7c4b493acff50a9000564b67cbe7d676 ("[SCSI] vmw_pvscsi: fix signedness warning with newer compilers")
3. 5a0e3ad6af8660be21ca98a971cd00f331318c05 ("include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h")
4. f281233d3eba15fb225d21ae2e228fd4553d824a ("SCSI host lock push-down")