[PATCH v2] nvme: put some AMD PCIE downstream NVME device to simple suspend/resume path

Keith Busch kbusch at kernel.org
Thu Apr 1 02:51:12 BST 2021


On Thu, Apr 01, 2021 at 01:04:43AM +0000, Liang, Prike wrote:
> [AMD Official Use Only - Internal Distribution Only]

This header is not appropriate for public list communication.

> > > +static const struct pci_device_id pcie_ids[] = {
> > > +{ PCI_DEVICE(PCI_VENDOR_ID_AMD, AMD_PCIE_ID_RN) },
> > > +{ PCI_DEVICE(PCI_VENDOR_ID_AMD, AMD_PCIE_ID_CZN) },
> > > +{ }
> > > +};
> > > +
> >
> > why new global pci_device_id array is needed ?
> >
> [Prike] This pci_device_id  array contains the platform root complex DID which need shutdown the NVME in this armed platform for s2idle.

I think Chaitanya is just suggesting you move this declaration to the
scope that uses it. 



More information about the Linux-nvme mailing list