linux/drivers/nvme/host
Keith Busch 43cfff65c9 nvme: simplify stripe quirk
[ Upstream commit e6282aef7b ]

Some OEMs believe they own the Identify Controller vendor specific
region and will repurpose it with their own values. While not common,
we can't rely on the PCI VID:DID to tell use how to decode the field
we reserved for this as the stripe size so we need to do something else
for the list of devices using this quirk.

The field was supposed to allow flexibility on the device's back-end
striping, but it turned out that never materialized; the chunk is always
the same as MDTS in the products subscribing to this quirk, so this
patch removes the stripe_size field and sets the chunk to the max hw
transfer size for the devices using this quirk.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-04-12 12:41:18 +02:00
..
core.c nvme: simplify stripe quirk 2017-04-12 12:41:18 +02:00
fabrics.c Merge branch 'for-4.9/block' of git://git.kernel.dk/linux-block 2016-10-07 14:42:05 -07:00
fabrics.h Merge branch 'for-4.9/block' of git://git.kernel.dk/linux-block 2016-10-07 14:42:05 -07:00
Kconfig nvme-rdma: add back dependency on CONFIG_BLOCK 2016-09-12 22:29:43 +03:00
lightnvm.c lightnvm: invalid offset calculation for lba_shift 2016-11-11 18:27:32 -07:00
Makefile nvme-rdma: add a NVMe over Fabrics RDMA host driver 2016-07-08 08:38:49 -06:00
nvme.h nvme: simplify stripe quirk 2017-04-12 12:41:18 +02:00
pci.c nvme/pci: Disable on removal when disconnected 2017-04-08 09:30:36 +02:00
rdma.c nvme-rdma: stop and free io queues on connect failure 2016-11-14 02:08:53 +02:00
scsi.c nvme: Add tertiary number to NVME_VS 2016-10-19 11:36:22 -06:00