Thread (13 messages) 13 messages, 6 authors, 2021-05-21

RE: [PATCH v5 1/2] PCI: add AMD PCIe quirk for nvme shutdown opt

From: "Deucher, Alexander" <Alexander.Deucher@amd.com>
Date: 2021-05-20 18:30:37
Also in: linux-pci, linux-pm, stable

[AMD Public Use]
-----Original Message-----
From: Keith Busch <kbusch@kernel.org>
Sent: Thursday, May 20, 2021 2:04 PM
To: Deucher, Alexander <Alexander.Deucher@amd.com>
Cc: Bjorn Helgaas <helgaas@kernel.org>; Liang, Prike
[off-list ref]; linux-pci@vger.kernel.org; axboe@fb.com;
hch@lst.de; sagi@grimberg.me; linux-nvme@lists.infradead.org;
stable@vger.kernel.org; S-k, Shyam-sundar [off-list ref];
Chaitanya Kulkarni [off-list ref]; Rafael J. Wysocki
[off-list ref]; linux-pm@vger.kernel.org
Subject: Re: [PATCH v5 1/2] PCI: add AMD PCIe quirk for nvme shutdown opt

On Thu, May 20, 2021 at 05:40:54PM +0000, Deucher, Alexander wrote:
quoted
It doesn't really have anything to do with PCI.  The PCI link is just
a proxy for specific AMD platforms.  It's platform firmware behavior
we are catering to.  This was originally posted as an nvme quirk, but
during the review it was recommended to move the quirk into PCI
because the quirk is not specific a particular NVMe device, but rather
a set of AMD platforms.  Lots of other platforms seems to do similar
things in the nvme driver based on ACPI or DMI flags, etc.  On our
hardware this nvme flag is required for all cezanne and renoir platforms.
The quirk was initially presented as specific to the pci root. Does it make
more sense for nvme to recognize the limitation from querying a different
platform component instead of the pci bus?
Maybe.  I'm not sure what the best way to tie this to a specific platform is.  @Limonciello, Mario?

Alex

_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help