]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: mediatek-gen3: Print LTSSM state when PCIe link down
authorJianjun Wang <jianjun.wang@mediatek.com>
Tue, 29 Mar 2022 03:07:15 +0000 (11:07 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 15 Jun 2022 19:58:22 +0000 (14:58 -0500)
commitc9a80ba1971023eaaff213ff69f83500f14c694b
tree768017893d1bffb4b36adc90e1daeef801a4f57d
parentc3dba7dcd6d9b2b78c5fe2dd2c4b70521303b385
PCI: mediatek-gen3: Print LTSSM state when PCIe link down

Print current LTSSM state when PCIe link down instead of the register
value to make it easier to get the link status.

Link: https://lore.kernel.org/r/20220329030715.7975-1-jianjun.wang@mediatek.com
Signed-off-by: Jianjun Wang <jianjun.wang@mediatek.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
drivers/pci/controller/pcie-mediatek-gen3.c