[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220518132358.GA26902@lst.de>
Date: Wed, 18 May 2022 15:23:58 +0200
From: Christoph Hellwig <hch@....de>
To: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
Cc: bhelgaas@...gle.com, lorenzo.pieralisi@....com, kbusch@...nel.org,
hch@....de, linux-nvme@...ts.infradead.org,
linux-pci@...r.kernel.org, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org, svarbanov@...sol.com,
bjorn.andersson@...aro.org, axboe@...com,
quic_vbadigan@...cinc.com, quic_krichai@...cinc.com,
quic_nitirawa@...cinc.com, vidyas@...dia.com, sagi@...mberg.me,
linux-pm@...r.kernel.org, rafael@...nel.org,
Prasad Malisetty <quic_pmaliset@...cinc.com>
Subject: Re: [PATCH v2 3/3] PCI: qcom: Add system PM support
On Wed, May 18, 2022 at 06:49:13PM +0530, Manivannan Sadhasivam wrote:
> From: Prasad Malisetty <quic_pmaliset@...cinc.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.
Powered by blists - more mailing lists