[PATCH v2 3/3] PCI: qcom: Add system PM support
Manivannan Sadhasivam
manivannan.sadhasivam at linaro.org
Wed May 18 06:27:57 PDT 2022
On Wed, May 18, 2022 at 03:23:58PM +0200, Christoph Hellwig wrote:
> On Wed, May 18, 2022 at 06:49:13PM +0530, Manivannan Sadhasivam wrote:
> > From: Prasad Malisetty <quic_pmaliset at quicinc.com>
> >
> > Add suspend and resume callbacks to handle system suspend and resume in
> > the Qcom PCIe controller driver. When the system suspends, PME turnoff
> > message will be sent to the device and the RC driver will wait for the
> > device to enter L23 Ready state. After that, the PHY will be powered down
> > and clocks/regulators will be disabled.
>
> So what about just not doing this stupid power disabling to start
> with? Unlike x86 where we do not have choice due to the BIOS, we
> apparently do here. And disabling power is the wrong thing to do at
> least for SSDs as it massively increases the wear on the NAND.
That's the requirement the Chromebook based on SC7280 has. I will check
internally and get back.
Thanks,
Mani
--
மணிவண்ணன் சதாசிவம்
More information about the Linux-nvme
mailing list