[PATCH 0/3] [SRU][Bionic] Fix unusable SSD on configs that have 2 SSDs
anthony.wong at canonical.com
Thu Jan 17 08:31:06 UTC 2019
From: Anthony Wong <anthony.wong at canonical.com>
On Thinkpad X1 Extreme with two SSDs, if NQN in the firmware are
identical, then only one drive can be seen. NQN is supposed to be unique
but some Intel drives do not follow that.
The device-supplied subnqn is ignored and one will be generated as if
the field is empty.
The upstream patch conflicts with a value in 'enum nvme_quirks' that we
added in a SAUCE patch, changed that from (1<<8) to (1<<15).
With this fix, both drives can be seen.
The fix limits to Intel 760p/Pro 7600p SSD, and the fix has been
verified by the bug reporter.
Bart Van Assche (1):
nvme-core: rework a NQN copying operation
James Dingwall (1):
nvme: introduce NVME_QUIRK_IGNORE_DEV_SUBNQN
Keith Busch (1):
nvme: pad fake subsys NQN vid and ssvid with zeros
drivers/nvme/host/core.c | 18 ++++++++++--------
drivers/nvme/host/nvme.h | 7 ++++++-
drivers/nvme/host/pci.c | 2 ++
3 files changed, 18 insertions(+), 9 deletions(-)
More information about the kernel-team