PCI: qcom: Allow ASPM L1 and substates for 2.7.0
authorKrishna chaitanya chundru <quic_krichai@quicinc.com>
Fri, 15 Jul 2022 11:59:25 +0000 (17:29 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 29 Jul 2022 17:17:00 +0000 (12:17 -0500)
commit5147ba8af2d707d9bbd65e84286c42b11d612c83
tree0bd7a52a03f1992dd3e1d5d3a83e5273ec978b2a
parent839fbdee4c080eb95567cbcf6366072a56d3a3cc
PCI: qcom: Allow ASPM L1 and substates for 2.7.0

Allow ASPM L1 and its substates.  By default this is disabled in the qcom
specific hardware.  Enable it explicitly only for controllers belonging to
2_7_0.

This does not affect any link capability registers; it will allow the link
transitions to L1 and its substates only if they are already supported.

Link: https://lore.kernel.org/r/1657886366-32685-1-git-send-email-quic_krichai@quicinc.com
Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Acked-by: Stanimir Varbanov <svarbanov@mm-sol.com>
drivers/pci/controller/dwc/pcie-qcom.c