From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E2DEAC433EF for ; Wed, 18 May 2022 13:29:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237964AbiERN3A (ORCPT ); Wed, 18 May 2022 09:29:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238148AbiERN2l (ORCPT ); Wed, 18 May 2022 09:28:41 -0400 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 964641BE116 for ; Wed, 18 May 2022 06:28:10 -0700 (PDT) Received: by mail-pl1-x62d.google.com with SMTP id bh5so1761837plb.6 for ; Wed, 18 May 2022 06:28:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=cyJx2Ikk3M6UREufrh2Jxx8zfYV2z4VljnQeZDclXoY=; b=nAIZWcCQB0vEb9Hi5ushwVJZSD3o0Tc6//fRfTNV7FBk5tCIzKAoqjzGPrE1mdIWXY DQTe3O40KH/Ja4N36vW17qmplhql2M75ZNPepdcNiNnN4Pauuhu0I+p704bP+5jPtY7G kI3kj70JEr2G6C4P2Z5epOLsdSSX4B6UKyn+f2o6EYBIE/F//87hCW6GRqSjlqGd2mSN RuzZDH/hurmV0y++ddqDJ4eGDDVbtqhplvDFcFS3wTLLz9GFyT3YT2/OD7FdRaKbRLbD TVTerhPsWMEDIKL42XkFCDljIQ84D1h96PsHD19F6YTrxNsarsxVo577uAsEnTTVYOQu M0sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=cyJx2Ikk3M6UREufrh2Jxx8zfYV2z4VljnQeZDclXoY=; b=xajElBO8359m4ejZJm7YE5N8EYsZcZkxyf43ajMMV+WUOXeb4LYmleecQJFg+3s+gZ F180uVX2RWuQMAgr555/ny7hZBVxgAI29AmPkD9jGisjZwPSLBGOiY6GSy/7useTVZ2N 3mYdVEzMU4h9iy/qeAWu6m5Is4BVrRIhgu0PU+xsVYXLppzGzkI0YHwEVQa1u2WjkgAz 4zPU8A8NN43B0osAVSyidu8n05tMX4USsMePnPL6Nxhftb6RxujyGBu0xrx98fMd1sXR 0YZko93rhV+I4eC/YB4S9WFXth6YsPe1NYYX5dkfn71lg4aaEp0i6dzarDFrV8ogj2FR laZg== X-Gm-Message-State: AOAM533xbgNYbYJNEP9FQyFtGSwE3aqPAut679LkvybuLfOY6evYcZq/ 2ShGCzsOWlKGg7mTcjCWrqvc X-Google-Smtp-Source: ABdhPJzB+pOxRPGTV08iwOjpsuVMYv3p58e06J814Q36NWj7SUgbEYF+KcxLnJLZX577FAOHqLDTdQ== X-Received: by 2002:a17:90b:50b:b0:1dc:a0b1:c783 with SMTP id r11-20020a17090b050b00b001dca0b1c783mr42309190pjz.49.1652880484629; Wed, 18 May 2022 06:28:04 -0700 (PDT) Received: from thinkpad ([117.217.181.192]) by smtp.gmail.com with ESMTPSA id bf7-20020a170902b90700b0015f2e3e495asm1653407plb.239.2022.05.18.06.27.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 06:28:04 -0700 (PDT) Date: Wed, 18 May 2022 18:57:57 +0530 From: Manivannan Sadhasivam To: Christoph Hellwig Cc: bhelgaas@google.com, lorenzo.pieralisi@arm.com, kbusch@kernel.org, linux-nvme@lists.infradead.org, linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, svarbanov@mm-sol.com, bjorn.andersson@linaro.org, axboe@fb.com, quic_vbadigan@quicinc.com, quic_krichai@quicinc.com, quic_nitirawa@quicinc.com, vidyas@nvidia.com, sagi@grimberg.me, linux-pm@vger.kernel.org, rafael@kernel.org, Prasad Malisetty Subject: Re: [PATCH v2 3/3] PCI: qcom: Add system PM support Message-ID: <20220518132757.GC4791@thinkpad> References: <20220518131913.26974-1-manivannan.sadhasivam@linaro.org> <20220518131913.26974-4-manivannan.sadhasivam@linaro.org> <20220518132358.GA26902@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220518132358.GA26902@lst.de> Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org 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 > > > > 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 -- மணிவண்ணன் சதாசிவம்