projects
/
sdk
/
emulator
/
emulator-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c0b40c
)
nvme-pci: add BOGUS_NID for Intel 0a54 device
author
Keith Busch
<kbusch@kernel.org>
Thu, 12 Oct 2023 18:13:51 +0000
(11:13 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 25 Oct 2023 10:03:14 +0000
(12:03 +0200)
commit
5c3f4066462a5f6cac04d3dd81c9f551fabbc6c7
upstream.
These ones claim cmic and nmic capable, so need special consideration to ignore
their duplicate identifiers.
Link:
https://bugzilla.kernel.org/show_bug.cgi?id=217981
Reported-by: welsh@cassens.com
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvme/host/pci.c
patch
|
blob
|
history
diff --git
a/drivers/nvme/host/pci.c
b/drivers/nvme/host/pci.c
index 64990a2cfd0a74648258ded43ebbcb231b9a941f..886c3fc9578e48b68cd287811eee0f0362f6b5c7 100644
(file)
--- a/
drivers/nvme/host/pci.c
+++ b/
drivers/nvme/host/pci.c
@@
-3439,7
+3439,8
@@
static const struct pci_device_id nvme_id_table[] = {
{ PCI_VDEVICE(INTEL, 0x0a54), /* Intel P4500/P4600 */
.driver_data = NVME_QUIRK_STRIPE_SIZE |
NVME_QUIRK_DEALLOCATE_ZEROES |
- NVME_QUIRK_IGNORE_DEV_SUBNQN, },
+ NVME_QUIRK_IGNORE_DEV_SUBNQN |
+ NVME_QUIRK_BOGUS_NID, },
{ PCI_VDEVICE(INTEL, 0x0a55), /* Dell Express Flash P4600 */
.driver_data = NVME_QUIRK_STRIPE_SIZE |
NVME_QUIRK_DEALLOCATE_ZEROES, },