Hi Alvaro, Thanks for the patch! On Mon, Dec 19, 2022 at 10:35:10AM +0200, Alvaro Karsz wrote: > The DPU advertises FLR, but it may cause the device to hang. > This only happens with revision 0x1. Please update the subject line to: PCI: Avoid FLR for SolidRun SNET DPU rev 1 This makes the subject meaningful by itself and is similar to previous quirks: 5727043c73fd ("PCI: Avoid FLR for AMD Starship USB 3.0") 0d14f06cd665 ("PCI: Avoid FLR for AMD Matisse HD Audio & USB 3.0") f65fd1aa4f98 ("PCI: Avoid FLR for Intel 82579 NICs") Also, update the commit log so it says what this patch does, instead of simply describing the current situation. https://chris.beams.io/posts/git-commit/ is a good reference. With the above changes, Acked-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> > Signed-off-by: Alvaro Karsz <alvaro.karsz@xxxxxxxxxxxxx> > --- > drivers/pci/quirks.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c > index 285acc4aacc..809d03272c2 100644 > --- a/drivers/pci/quirks.c > +++ b/drivers/pci/quirks.c > @@ -5343,6 +5343,14 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_AMD, 0x149c, quirk_no_flr); > DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x1502, quirk_no_flr); > DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_INTEL, 0x1503, quirk_no_flr); > > +/* FLR may cause the SolidRun SNET DPU (rev 0x1) to hang */ > +static void quirk_no_flr_snet(struct pci_dev *dev) > +{ > + if (dev->revision == 0x1) > + quirk_no_flr(dev); > +} > +DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_SOLIDRUN, 0x1000, quirk_no_flr_snet); > + > static void quirk_no_ext_tags(struct pci_dev *pdev) > { > struct pci_host_bridge *bridge = pci_find_host_bridge(pdev->bus); > -- > 2.32.0 > > _______________________________________________ > Virtualization mailing list > Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx > https://lists.linuxfoundation.org/mailman/listinfo/virtualization _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/virtualization