]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: dwc: Add L1 Substates context to ltssm_status of debugfs
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 12 Dec 2025 01:33:24 +0000 (09:33 +0800)
committerManivannan Sadhasivam <mani@kernel.org>
Thu, 18 Dec 2025 08:23:17 +0000 (13:53 +0530)
commit679ec639f29cbdaf36bd79bf3e98240fffa335ee
tree568e1f2a4f32eb2861542a959f7c28c118e596dd
parent6a1394990902f0393706d7f96f58c21d88b65df7
PCI: dwc: Add L1 Substates context to ltssm_status of debugfs

DWC core couldn't distinguish LTSSM state among L1.0, L1.1 and L1.2. But
the vendor glue driver may implement additional logic to convey this
information. So add two pseudo definitions for vendor glue drivers to
translate their internal L1 Substates for debugfs to show.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/1765503205-22184-1-git-send-email-shawn.lin@rock-chips.com
drivers/pci/controller/dwc/pcie-designware-debugfs.c
drivers/pci/controller/dwc/pcie-designware.h