[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <65b836cd-8d5d-b9c2-eb8f-2ee3ef46112b@nvidia.com>
Date: Tue, 1 Feb 2022 21:52:28 +0530
From: Vidya Sagar <vidyas@...dia.com>
To: <rafael.j.wysocki@...el.com>, <keith.busch@...el.com>, <hch@....de>
CC: <bhelgaas@...gle.com>, <mmaddireddy@...dia.com>,
<kthota@...dia.com>, <sagar.tv@...il.com>,
<linux-pci@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Query related to shutting down NVMe during system suspend
Hi Rafael & Christoph,
My query is regarding the comment and the code that follows after it at
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/nvme/host/pci.c?h=v5.17-rc2#n3243
What I understood from it is that, there is an underlying assumption
that the power to the devices is not removed during the suspend call.
In the case of device-tree based platforms like Tegra194, power is
indeed removed to the devices during suspend-resume process. Hence, the
NVMe devices need to be taken through the shutdown path irrespective of
whether the ASPM states are enabled or not.
I would like to hear from you the best method to follow to achieve this.
Thanks & Regards,
Vidya Sagar
Powered by blists - more mailing lists