linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/2] nvme-pci: add AMD PCIe quirk for NVMe simple suspend/resume
@ 2021-05-18  2:24 Prike Liang
  2021-05-18  2:24 ` [PATCH v5 1/2] PCI: add AMD PCIe quirk for nvme shutdown opt Prike Liang
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Prike Liang @ 2021-05-18  2:24 UTC (permalink / raw)
  To: helgaas, linux-pci, kbusch, axboe, hch, sagi, linux-nvme
  Cc: Alexander.Deucher, stable, Shyam-sundar.S-k, Prike Liang

Those patch series can handle NVMe can't suspend to D3 during s2idle
entry on some AMD platform. In this case, can be settld by assigning and
passing a PCIe bus flag to the armed device which need NVMe shutdown opt
in s2idle suspend and then use PCIe power setting to put the NVMe device
to D3.

Prike Liang (2):
  PCI: add AMD PCIe quirk for nvme shutdown opt
  nvme-pci: add AMD PCIe quirk for simple suspend/resume

 drivers/nvme/host/pci.c | 2 ++
 drivers/pci/probe.c     | 5 ++++-
 drivers/pci/quirks.c    | 7 +++++++
 include/linux/pci.h     | 2 ++
 4 files changed, 15 insertions(+), 1 deletion(-)

-- 
2.7.4


_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

^ permalink raw reply	[flat|nested] 18+ messages in thread
* [PATCH v5 0/2] nvme-pci: add AMD PCIe quirk for NVMe simple suspend/resume
@ 2021-04-22  1:19 Prike Liang
  2021-04-22  1:19 ` [PATCH v5 1/2] PCI: add AMD PCIe quirk for nvme shutdown opt Prike Liang
  0 siblings, 1 reply; 18+ messages in thread
From: Prike Liang @ 2021-04-22  1:19 UTC (permalink / raw)
  To: linux-nvme, kbusch, hch, Chaitanya.Kulkarni, gregkh
  Cc: stable, Alexander.Deucher, Shyam-sundar.S-k, Prike Liang

Those patch series can handle NVMe can't suspend to D3 during s2idle
entry on some AMD platform. In this case, can be settld by assigning and
passing a PCIe bus flag to the armed device which need NVMe shutdown opt
in s2idle suspend and then use PCIe power setting to put the NVMe device
to D3.

Prike Liang (2):
  PCI: add AMD PCIe quirk for nvme shutdown opt
  nvme-pci: add AMD PCIe quirk for simple suspend/resume

 drivers/nvme/host/pci.c | 2 ++
 drivers/pci/probe.c     | 5 ++++-
 drivers/pci/quirks.c    | 7 +++++++
 include/linux/pci.h     | 2 ++
 4 files changed, 15 insertions(+), 1 deletion(-)

-- 
2.7.4


_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

^ permalink raw reply	[flat|nested] 18+ messages in thread
* [PATCH v5 0/2] nvme-pci: add AMD PCIe quirk for NVMe simple suspend/resume
@ 2021-04-16  6:54 Prike Liang
  2021-04-16  6:54 ` [PATCH v5 1/2] PCI: add AMD PCIe quirk for nvme shutdown opt Prike Liang
  0 siblings, 1 reply; 18+ messages in thread
From: Prike Liang @ 2021-04-16  6:54 UTC (permalink / raw)
  To: linux-nvme, kbusch, hch, Chaitanya.Kulkarni, gregkh
  Cc: stable, Alexander.Deucher, Shyam-sundar.S-k, Prike Liang

Those patch series can handle NVMe can't suspend to D3 during s2idle
entry on some AMD platform. In this case, can be settld by assigning and
passing a PCIe bus flag to the armed device which need NVMe shutdown opt
in s2idle suspend and then use PCIe power setting to put the NVMe device
to D3.

Prike Liang (2):
  PCI: add AMD PCIe quirk for nvme shutdown opt
  nvme-pci: add AMD PCIe quirk for simple suspend/resume

 drivers/nvme/host/pci.c | 2 ++
 drivers/pci/probe.c     | 5 ++++-
 drivers/pci/quirks.c    | 7 +++++++
 include/linux/pci.h     | 2 ++
 4 files changed, 15 insertions(+), 1 deletion(-)

-- 
2.7.4


_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2021-05-21  5:48 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18  2:24 [PATCH v5 0/2] nvme-pci: add AMD PCIe quirk for NVMe simple suspend/resume Prike Liang
2021-05-18  2:24 ` [PATCH v5 1/2] PCI: add AMD PCIe quirk for nvme shutdown opt Prike Liang
2021-05-19 21:33   ` Bjorn Helgaas
2021-05-20  6:57     ` Liang, Prike
2021-05-20 16:58       ` Bjorn Helgaas
2021-05-20 17:40         ` Deucher, Alexander
2021-05-20 18:03           ` Keith Busch
2021-05-20 18:30             ` Deucher, Alexander
2021-05-20 20:34               ` Limonciello, Mario
2021-05-21  5:47                 ` Liang, Prike
2021-05-20 19:00           ` Bjorn Helgaas
2021-05-18  2:24 ` [PATCH v5 2/2] nvme-pci: add AMD PCIe quirk for simple suspend/resume Prike Liang
2021-05-18  7:14 ` [PATCH v5 0/2] nvme-pci: add AMD PCIe quirk for NVMe " Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2021-04-22  1:19 Prike Liang
2021-04-22  1:19 ` [PATCH v5 1/2] PCI: add AMD PCIe quirk for nvme shutdown opt Prike Liang
2021-05-06  3:08   ` Liang, Prike
2021-05-10  1:18     ` Liang, Prike
2021-04-16  6:54 [PATCH v5 0/2] nvme-pci: add AMD PCIe quirk for NVMe simple suspend/resume Prike Liang
2021-04-16  6:54 ` [PATCH v5 1/2] PCI: add AMD PCIe quirk for nvme shutdown opt Prike Liang
2021-04-16 15:56   ` Keith Busch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).