lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20260102-pci_gdsc_fix-v1-0-b17ed3d175bc@oss.qualcomm.com>
Date: Fri, 02 Jan 2026 15:13:00 +0530
From: Krishna Chaitanya Chundru <krishna.chundru@....qualcomm.com>
To: Bjorn Andersson <andersson@...nel.org>,
        Michael Turquette <mturquette@...libre.com>,
        Stephen Boyd <sboyd@...nel.org>, Taniya Das <quic_tdas@...cinc.com>,
        Konrad Dybcio <konradybcio@...nel.org>,
        Bartosz Golaszewski <brgl@...nel.org>,
        Shazad Hussain <quic_shazhuss@...cinc.com>,
        Sibi Sankar <sibi.sankar@....qualcomm.com>,
        Bryan O'Donoghue <bryan.odonoghue@...aro.org>,
        Melody Olvera <quic_molvera@...cinc.com>,
        Dmitry Baryshkov <lumag@...nel.org>,
        Taniya Das <taniya.das@....qualcomm.com>,
        Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>,
        Konrad Dybcio <konrad.dybcio@....qualcomm.com>,
        Imran Shaik <quic_imrashai@...cinc.com>,
        Abel Vesa <abelvesa@...nel.org>, Abel Vesa <abelvesa@...nel.org>
Cc: linux-arm-msm@...r.kernel.org, linux-clk@...r.kernel.org,
        linux-kernel@...r.kernel.org,
        Rajendra Nayak <quic_rjendra@...cinc.com>,
        manivannan.sadhasivam@....qualcomm.com,
        Krishna Chaitanya Chundru <krishna.chundru@....qualcomm.com>,
        stable@...r.kernel.org
Subject: [PATCH 0/7] clk: qcom: gcc: Do not turn off PCIe GDSCs during
 gdsc_disable()

With PWRSTS_OFF_ON, PCIe GDSCs are turned off during gdsc_disable(). This
can happen during scenarios such as system suspend and breaks the resume
of PCIe controllers from suspend.

So use PWRSTS_RET_ON to indicate the GDSC driver to not turn off the GDSCs
during gdsc_disable() and allow the hardware to transition the GDSCs to
retention when the parent domain enters low power state during system
suspend.

Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@....qualcomm.com>
---
Krishna Chaitanya Chundru (7):
      clk: qcom: gcc-sc7280: Do not turn off PCIe GDSCs during gdsc_disable()
      clk: qcom: gcc-sa8775p: Do not turn off PCIe GDSCs during gdsc_disable()
      clk: qcom: gcc-sm8750: Do not turn off PCIe GDSCs during gdsc_disable()
      clk: qcom: gcc-glymur: Do not turn off PCIe GDSCs during gdsc_disable()
      clk: qcom: gcc-qcs8300: Do not turn off PCIe GDSCs during gdsc_disable()
      clk: qcom: gcc-x1e80100: Do not turn off PCIe GDSCs during gdsc_disable()
      clk: qcom: gcc-kaanapali: Do not turn off PCIe GDSCs during gdsc_disable()

 drivers/clk/qcom/gcc-glymur.c    | 16 ++++++++--------
 drivers/clk/qcom/gcc-kaanapali.c |  2 +-
 drivers/clk/qcom/gcc-qcs8300.c   |  4 ++--
 drivers/clk/qcom/gcc-sa8775p.c   |  4 ++--
 drivers/clk/qcom/gcc-sc7280.c    |  2 +-
 drivers/clk/qcom/gcc-sm8750.c    |  2 +-
 drivers/clk/qcom/gcc-x1e80100.c  | 16 ++++++++--------
 7 files changed, 23 insertions(+), 23 deletions(-)
---
base-commit: 98e506ee7d10390b527aeddee7bbeaf667129646
change-id: 20260102-pci_gdsc_fix-1dcf08223922

Best regards,
-- 
Krishna Chaitanya Chundru <krishna.chundru@....qualcomm.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ