]> www.infradead.org Git - users/hch/misc.git/commit
PCI/TPH: Restore TPH Requester Enable correctly
authorRobin Murphy <robin.murphy@arm.com>
Wed, 5 Feb 2025 12:52:13 +0000 (12:52 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Feb 2025 16:30:11 +0000 (10:30 -0600)
commit6f64b83d9fe9729000a0616830cb1606945465d8
treec6c7d074c8dd2307c882c299bbb8b14111bd637e
parent7507eb3e7bfac7c3baef8dd377fdf5871eefd42b
PCI/TPH: Restore TPH Requester Enable correctly

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@arm.com
Fixes: d2e8a34876ce ("PCI/TPH: Add Steering Tag support")
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Wei Huang <wei.huang2@amd.com>
drivers/pci/tph.c