built a new testing kernel (test9), in the test9, applied the below trial fix to test8, after testing the test9 kernel, please also upload a complete dmesg since I put some printk() in the test9:
https://people.canonical.com/~hwang4/lp2111521/test9/ diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 29883525b1a2..bf5d9823b49c 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -1241,7 +1241,9 @@ 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..5cd55ced2c02 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -6298,3 +6298,9 @@ 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) +{ + dev->dev_flags |= PCI_DEV_FLAGS_NO_RRS_SV; +} +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
