]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: dwc: ep: Add comment explaining controller level PTM access in multi PF setup
authorAksh Garg <a-garg7@ti.com>
Fri, 30 Jan 2026 11:55:16 +0000 (17:25 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 3 Feb 2026 23:10:15 +0000 (17:10 -0600)
commite3c3a5d25dc090c237ec768fdded96e9184fe2ae
tree3a58784b7a11c9ff8ac00c0c5e9936beeeb83251
parent72cb5ed2a5c6d87f71a409347f7d3b228fee6bee
PCI: dwc: ep: Add comment explaining controller level PTM access in multi PF setup

PCIe r6.0, section 7.9.15 requires PTM capability in exactly one
function to control all PTM-capable functions. This makes PTM registers
controller level rather than per-function.

Add a comment explaining why PTM capability registers are accessed
using the standard DBI accessors instead of func_no indexed
per-function accessors.

Suggested-by: Niklas Cassel <cassel@kernel.org>
Signed-off-by: Aksh Garg <a-garg7@ti.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Link: https://patch.msgid.link/20260130115516.515082-4-a-garg7@ti.com
drivers/pci/controller/dwc/pcie-designware-ep.c