]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: qcom-ep: Reword the error message for receiving unknown global IRQ event
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Wed, 28 Aug 2024 15:46:12 +0000 (21:16 +0530)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Sun, 1 Sep 2024 08:12:26 +0000 (08:12 +0000)
commit95bebcbd657cf8eb86025a2b20961e43d2e433f5
tree45c87a323ec5d10f1803237f526cac54265bb656
parent3858e8a5ea719411d6682e2218c41eff27092463
PCI: qcom-ep: Reword the error message for receiving unknown global IRQ event

Current error message just prints the contents of PARF_INT_ALL_STATUS
register as if like the IRQ event number. It could mislead the users.
Reword it to make it clear that the error message is actually showing the
interrupt status register to help debug spurious IRQ events.

While at it, let's also switch over to dev_WARN_ONCE() so that any IRQ
storm won't flood the kernel log buffer.

Link: https://lore.kernel.org/linux-pci/20240828-pci-qcom-hotplug-v4-2-263a385fbbcb@linaro.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
drivers/pci/controller/dwc/pcie-qcom-ep.c