Patch "PCI/TPH: Restore TPH Requester Enable correctly" has been added to the 6.13-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/TPH: Restore TPH Requester Enable correctly

to the 6.13-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-tph-restore-tph-requester-enable-correctly.patch
and it can be found in the queue-6.13 subdirectory.

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



commit 5cfa8c347f17380094d5b5ff9d5061c3c8844d48
Author: Robin Murphy <robin.murphy@xxxxxxx>
Date:   Wed Feb 5 12:52:13 2025 +0000

    PCI/TPH: Restore TPH Requester Enable correctly
    
    [ Upstream commit 6f64b83d9fe9729000a0616830cb1606945465d8 ]
    
    When we reenable TPH after changing a Steering Tag value, we need the
    actual TPH Requester Enable value, not the ST Mode (which only happens to
    work out by chance for non-extended TPH in interrupt vector mode).
    
    Link: https://lore.kernel.org/r/13118098116d7bce07aa20b8c52e28c7d1847246.1738759933.git.robin.murphy@xxxxxxx
    Fixes: d2e8a34876ce ("PCI/TPH: Add Steering Tag support")
    Signed-off-by: Robin Murphy <robin.murphy@xxxxxxx>
    Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>
    Reviewed-by: Wei Huang <wei.huang2@xxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/pci/tph.c b/drivers/pci/tph.c
index 1e604fbbda657..07de59ca2ebfa 100644
--- a/drivers/pci/tph.c
+++ b/drivers/pci/tph.c
@@ -360,7 +360,7 @@ int pcie_tph_set_st_entry(struct pci_dev *pdev, unsigned int index, u16 tag)
 		return err;
 	}
 
-	set_ctrl_reg_req_en(pdev, pdev->tph_mode);
+	set_ctrl_reg_req_en(pdev, pdev->tph_req_type);
 
 	pci_dbg(pdev, "set steering tag: %s table, index=%d, tag=%#04x\n",
 		(loc == PCI_TPH_LOC_MSIX) ? "MSI-X" : "ST", index, tag);




[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