And both of your machines have the pcie root port
8086:2030/8086:2031/8086:2032 for nvme disks, maybe the problem is only
for the combination of (this root port + this nvme disk)?
I will build a test10 kernel with:
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index 29883525b1a2..21837434b994 100644
--- a/drivers/pci/probe.c
+++ b/drivers/pci/probe.c
@@ -1241,7 +1241,10 @@ static void pci_enable_crs(struct pci_dev *pdev)
if (root_cap & PCI_EXP_RTCAP_CRSVIS) {
pcie_capability_set_word(pdev, PCI_EXP_RTCTL,
PCI_EXP_RTCTL_CRSSVE);
- pdev->config_crs_sv = 1;
+
+ if (!(pdev->dev_flags & PCI_DEV_FLAGS_NO_RRS_SV))
+ pdev->config_crs_sv = 1;
}
}
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index c29684acf50d..696ec1ba2ab0 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -6298,3 +6298,21 @@ static void pci_fixup_d3cold_delay_1sec(struct pci_dev
*pdev)
pdev->d3cold_delay = 1000;
}
DECLARE_PCI_FIXUP_FINAL(0x5555, 0x0004, pci_fixup_d3cold_delay_1sec);
+
+static void quirk_no_ssr_sv(struct pci_dev *dev)
+{
+ struct pci_dev *root;
+
+ root = pcie_find_root_port(dev);
+ if (root) {
+ root->dev_flags |= PCI_DEV_FLAGS_NO_RRS_SV;
+ root->config_crs_sv = 0;
+ }
+}
+DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x0a54, quirk_no_ssr_sv);
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 4716a8ab9130..42ad62f0f3e3 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -245,6 +245,8 @@ enum pci_dev_flags {
PCI_DEV_FLAGS_NO_RELAXED_ORDERING = (__force pci_dev_flags_t) (1 << 11),
/* Device does honor MSI masking despite saying otherwise */
PCI_DEV_FLAGS_HAS_MSI_MASKING = (__force pci_dev_flags_t) (1 << 12),
+ /* Do not use Configuration Request Retry Status polling in
pci_dev_wait() */
+ PCI_DEV_FLAGS_NO_RRS_SV = (__force pci_dev_flags_t) (1 << 13),
};
enum pci_irq_reroute_variant {
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2111521
Title:
nvme no longer detected on boot after upgrade to 6.8.0-60
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2111521/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs