Patch "PCI: qcom: Update ICC and OPP values after Link Up event" has been added to the 6.12-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    PCI: qcom: Update ICC and OPP values after Link Up event

to the 6.12-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     pci-qcom-update-icc-and-opp-values-after-link-up-eve.patch
and it can be found in the queue-6.12 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit ac4c966928f56e7fe55ba1be3b6c272b4111df15
Author: Krishna chaitanya chundru <quic_krichai@xxxxxxxxxxx>
Date:   Sat Nov 23 00:40:01 2024 +0530

    PCI: qcom: Update ICC and OPP values after Link Up event
    
    [ Upstream commit f0639013d340580b72df95d012a93f35eeb0da64 ]
    
    4581403f6792 ("PCI: qcom: Enumerate endpoints based on Link up event in
    'global_irq' interrupt") added the Link Up-based enumeration support, but
    did not update the ICC/OPP vote once link is up. Before that, the update
    happened during probe and the endpoints may or may not be enumerated at
    that time, so the ICC/OPP vote was not guaranteed to be accurate.
    
    With Link Up-based enumeration support, the driver can request the accurate
    vote based on the PCIe link.
    
    Call qcom_pcie_icc_opp_update() in qcom_pcie_global_irq_thread() after
    enumerating the endpoints.
    
    Fixes: 4581403f6792 ("PCI: qcom: Enumerate endpoints based on Link up event in 'global_irq' interrupt")
    Link: https://lore.kernel.org/r/20241123-remove_wait2-v5-3-b5f9e6b794c2@xxxxxxxxxxx
    Signed-off-by: Krishna chaitanya chundru <quic_krichai@xxxxxxxxxxx>
    [kwilczynski: commit log]
    Signed-off-by: Krzysztof Wilczyński <kwilczynski@xxxxxxxxxx>
    Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
    Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx>
    Reviewed-by: Niklas Cassel <cassel@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c
index 6483e1874477e..4c141e05f84e9 100644
--- a/drivers/pci/controller/dwc/pcie-qcom.c
+++ b/drivers/pci/controller/dwc/pcie-qcom.c
@@ -1559,6 +1559,8 @@ static irqreturn_t qcom_pcie_global_irq_thread(int irq, void *data)
 		pci_lock_rescan_remove();
 		pci_rescan_bus(pp->bridge->bus);
 		pci_unlock_rescan_remove();
+
+		qcom_pcie_icc_opp_update(pcie);
 	} else {
 		dev_WARN_ONCE(dev, 1, "Received unknown event. INT_STATUS: 0x%08x\n",
 			      status);




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux