APPLIED: [PATCH 0/3] [SRU][Cosmic] Fix unusable SSD on configs that have 2 SSDs

Khaled Elmously khalid.elmously at canonical.com
Sun Jan 27 22:30:36 UTC 2019


On 2019-01-17 16:35:50 , Anthony Wong wrote:
> From: Anthony Wong <anthony.wong at canonical.com>
> 
> [Impact]
> 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.
> 
> [Fix]
> 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).
> 
> [Test]
> With this fix, both drives can be seen.
> 
> [Regression Potential]
> 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  |  5 +++--
>  3 files changed, 19 insertions(+), 11 deletions(-)
> 
> -- 
> 2.7.4
> 
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team



More information about the kernel-team mailing list