summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorKeith Busch <keith.busch@intel.com>2016-08-23 16:36:42 -0500
committerBjorn Helgaas <bhelgaas@google.com>2016-08-23 16:36:42 -0500
commit21c80c9fefc3db10b530a96eb0478c29eb28bf77 (patch)
treef04f76432839643639668f8b9e011fa3dffdf741 /drivers/pci
parent5d0bdf2867825a92c0a563957a2fb059149ab0d4 (diff)
downloadop-kernel-dev-21c80c9fefc3db10b530a96eb0478c29eb28bf77.zip
op-kernel-dev-21c80c9fefc3db10b530a96eb0478c29eb28bf77.tar.gz
x86/PCI: VMD: Fix infinite loop executing irq's
We can't initialize the list head on deletion as this causes the node to point to itself, which causes an infinite loop if vmd_irq() happens to be servicing that node. The list initialization was trying to fix a bug from multiple calls to disable the same IRQ. Fix this instead by having the VMD driver track if the interrupt is enabled. [bhelgaas: changelog, add "Fixes"] Fixes: 97e923063575 ("x86/PCI: VMD: Initialize list item in IRQ disable") Reported-by: Grzegorz Koczot <grzegorz.koczot@intel.com> Tested-by: Miroslaw Drost <miroslaw.drost@intel.com> Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by Jon Derrick: <jonathan.derrick@intel.com>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud