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)
commit075b7d363c675ef7fa03918881caeca3458e2a96
tree716d9f779e78fe1550b32f4f9c563bc5e677913b
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07
Revert "PCI/portdrv: Do not setup up IRQs if there are no users"

This reverts commit 0e8ae5a6ff5952253cd7cc0260df838ab4c21009.

0e8ae5a6ff59 ("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 0e8ae5a6ff59, 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