]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
PCI: rockchip-host: Fix "Unexpected Completion" log message
authorHans Zhang <18255117159@163.com>
Sat, 7 Jun 2025 16:01:59 +0000 (00:01 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Aug 2025 10:05:00 +0000 (12:05 +0200)
[ Upstream commit fcc5f586c4edbcc10de23fb9b8c0972a84e945cd ]

Fix the debug message for the PCIE_CORE_INT_UCR interrupt to clearly
indicate "Unexpected Completion" instead of a duplicate "malformed TLP"
message.

Fixes: e77f847df54c ("PCI: rockchip: Add Rockchip PCIe controller support")
Signed-off-by: Hans Zhang <18255117159@163.com>
[mani: added fixes tag]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Acked-by: Shawn Lin <shawn.lin@rock-chips.com>
Link: https://patch.msgid.link/20250607160201.807043-2-18255117159@163.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pci/controller/pcie-rockchip-host.c

index 7352b5ff8d35981e8b3093f8dbe5e395938db00a..bd982390e04c4d4975472e0bc44a6f50c8b97b9f 100644 (file)
@@ -439,7 +439,7 @@ static irqreturn_t rockchip_pcie_subsys_irq_handler(int irq, void *arg)
                        dev_dbg(dev, "malformed TLP received from the link\n");
 
                if (sub_reg & PCIE_CORE_INT_UCR)
-                       dev_dbg(dev, "malformed TLP received from the link\n");
+                       dev_dbg(dev, "Unexpected Completion received from the link\n");
 
                if (sub_reg & PCIE_CORE_INT_FCE)
                        dev_dbg(dev, "an error was observed in the flow control advertisements from the other side\n");