]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
PCI: dwc: Fix wrong PORT_LOGIC_LTSSM_STATE_MASK definition
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 14 Nov 2025 12:09:00 +0000 (20:09 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jan 2026 12:09:32 +0000 (13:09 +0100)
commit67d15b5ea0825bbb727288e8f707c4f597235c34
treedfd7ac3c7f8ab1f0c3fdb8f4ddde9ec881018d8c
parent7547755997b3f2788f216603fa0f4aeec7f68f54
PCI: dwc: Fix wrong PORT_LOGIC_LTSSM_STATE_MASK definition

[ Upstream commit bcc9a4a0bca3aee4303fa4a20302e57b24ac8f68 ]

As per DesignWare Cores PCI Express Controller Databook, section 5.50,
SII: Debug Signals, cxpl_debug_info[63:0]:

  [5:0] smlh_ltssm_state: LTSSM current state. Encoding is same as the
  dedicated smlh_ltssm_state output.

The mask should be 6 bits, from 0 to 5. Hence, fix the mask definition.

Fixes: 23fe5bd4be90 ("PCI: keystone: Cleanup ks_pcie_link_up()")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
[mani: reworded description]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/1763122140-203068-1-git-send-email-shawn.lin@rock-chips.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pci/controller/dwc/pcie-designware.h