FROMLIST: nvme-pci: Remove O2 Queue Depth quirk
PCI_DEVICE(0x1217, 0x8760) (O2 Micro, Inc. FORESEE E2M2 NVMe SSD)
is a NMVe to eMMC bridge, that can be used with different eMMC
memory devices.
The NVMe device name contains the eMMC device name, for instance:
`BAYHUB SanDisk-DA4128-91904055-128GB`
The bridge is known to work with many eMMC devices, we need to limit
the queue depth once we know which eMMC device is behind the bridge.
Fixes: commit 83bdfcbdbe5d ("nvme-pci: qdepth 1 quirk")
Cc: stable@vger.kernel.org
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
(am from https://lore.kernel.org/r/20241029024236.2702721-1-gwendal@chromium.org)
BUG=b:372696281
UPSTREAM-TASK=b:376927781
TEST=Check nvme0n1/device/queue_count is not 2:
Tested on dewatt with "BAYHUB SanDisk-DA4128-91904055-128GB":
cat /sys/block/nvme0n1/device/sqsize
Before: 1
After: 1023
Change-Id: Ibbe16a9b06d2eb751321b03d6c3776b10983ebe7
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/5985430
Reviewed-by: Sarthak Kukreti <sarthakkukreti@google.com>
Commit-Queue: Gwendal Grignou <gwendal@chromium.org>
Tested-by: Gwendal Grignou <gwendal@chromium.org>
(cherry picked from commit 4c9af35e70cd83dd168e161a37c4cb70d7e0337f)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/5985447
Reviewed-by: Divya Chauhan <chauhandivya@google.com>
1 file changed