]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "PCI/portdrv: Do not setup up IRQs if there are no users"
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 7 Feb 2022 22:33:30 +0000 (16:33 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 11 Feb 2022 20:16:11 +0000 (14:16 -0600)
commitccbf8ea990a984017acd9a6fb11962bcb59a46d1
tree716d9f779e78fe1550b32f4f9c563bc5e677913b
parent991a5e519c2aa1f4ed2bf6e2139997d7e7967cb3
Revert "PCI/portdrv: Do not setup up IRQs if there are no users"

This reverts commit ac1fdc128b49102e188eac0fac71b392cf597d31.

ac1fdc128b49 ("PCI/portdrv: Do not setup up IRQs if there are no users")
reduced usage of IRQs when we don't think we need them.  But Joey, Sergiu,
and David reported choppy GUI rendering, systems that became unresponsive
every few seconds, incorrect values reported by cpufreq, and high IRQ 16
CPU usage.

Joey bisected the issues to ac1fdc128b49, so revert it until we figure out
a better solution.

Link: https://lore.kernel.org/r/20220210222717.GA658201@bhelgaas
Link: https://bugzilla.kernel.org/show_bug.cgi?id=215533
Link: https://bugzilla.kernel.org/show_bug.cgi?id=215546
Reported-by: Joey Corleone <joey.corleone@mail.ru>
Reported-by: Sergiu Deitsch <sergiu.deitsch@gmail.com>
Reported-by: David Spencer <dspencer577@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: stable@vger.kernel.org # v5.16+
Cc: Jan Kiszka <jan.kiszka@siemens.com>
drivers/pci/pcie/portdrv_core.c