Re: [PATCH v2 2/2] PCI: NVMe device specific reset quirk

From: Sinan Kaya
Date: Mon Jul 23 2018 - 20:40:05 EST


On 7/23/2018 5:13 PM, Alex Williamson wrote:
+ * The NVMe specification requires that controllers support PCIe FLR, but
+ * but some Samsung SM961/PM961 controllers fail to recover after FLR (-1
+ * config space) unless the device is quiesced prior to FLR.

Does disabling the memory bit in PCI config space as part of the FLR reset function help? (like the very first thing)

Can we do that in the pcie_flr() function to cover other endpoint types
that might be pushing traffic while code is trying to do a reset?