From: Stuart Hayes Date: Thu, 22 Aug 2024 20:28:05 +0000 (-0500) Subject: nvme-pci: Make driver prefer asynchronous shutdown X-Git-Tag: v6.12~307^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ba82e10c3c6b5b5d2c8279a8bd0dae5c2abaacfc;p=platform%2Fkernel%2Flinux-amlogic.git nvme-pci: Make driver prefer asynchronous shutdown Set the driver default to enable asynchronous shutdown. Signed-off-by: Stuart Hayes Signed-off-by: David Jeffery Reviewed-by: Sagi Grimberg Reviewed-by: Christoph Hellwig Reviewed-by: Keith Busch Tested-by: Keith Busch Link: https://lore.kernel.org/r/20240822202805.6379-5-stuart.w.hayes@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index 6cd9395ba9ec..58d0d517fead 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -3580,6 +3580,7 @@ static struct pci_driver nvme_driver = { .shutdown = nvme_shutdown, .driver = { .probe_type = PROBE_PREFER_ASYNCHRONOUS, + .async_shutdown_enable = true, #ifdef CONFIG_PM_SLEEP .pm = &nvme_dev_pm_ops, #endif