[PATCH 2/3] PCI: Support asynchronous shutdown
Bart Van Assche
bart.vanassche at gmail.com
Wed Dec 13 09:50:10 PST 2023
On 12/12/23 10:09, Jeremy Allison wrote:
> From: Tanjore Suresh <tansuresh at google.com>
>
> Enhances the base PCI driver to add support for asynchronous
> shutdown.
>
> Assume a device takes n secs to shutdown. If a machine has been
> populated with M such devices, the total time spent in shutting down
> all the devices will be M * n secs, if the shutdown is done
> synchronously. For example, if NVMe PCI Controllers take 5 secs
> to shutdown and if there are 16 such NVMe controllers in a system,
> system will spend a total of 80 secs to shutdown all
> NVMe devices in that system.
>
> In order to speed up the shutdown time, asynchronous interface to
> shutdown has been implemented. This will significantly reduce
> the machine reboot time.
>
> Signed-off-by: Tanjore Suresh <tansuresh at google.com>
> ---
> drivers/pci/pci-driver.c | 17 ++++++++++++++---
> include/linux/pci.h | 2 ++
> 2 files changed, 16 insertions(+), 3 deletions(-)
Please Cc the PCI maintainer (Bjorn Helgaas) when reposting this patch
series.
Thanks,
Bart.
More information about the Linux-nvme
mailing list