aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2010-09-21 13:54:39 -0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-10-15 16:09:50 -0400
commit66db60eaf158aa953651d03e43e931e757e87262 (patch)
treeac095123c1c92b4a646d8e908cbca835b63ac611 /include
parentb22c3d82757109fa107ce17ba9484d45273eed05 (diff)
PCI: add quirk for non-symmetric-mode irq routing to versions 0 and 4 of the MCP55 northbridge
A long time ago I worked on a RHEL5 bug in which kdump hung during boot on a set of systems. The systems hung because they never received timer interrupts during calibrate_delay. These systems also all had Opteron processors on a hypertransport bus, bridged to a pci bus via an Nvidia MCP55 northbridge chip. After much wrangling I managed to learn from Nvidia that they have an undocumented register in some versions of that chip which control how legacy interrupts are send to the cpu complex when the ioapic isn't active. Nvidia defaults this register to only send legacy interrupts to the BSP, so if kdump happens to boot on an AP, we never get timer interrupts and boom. I had initially used this quirk as a workaround, with my intent being to move apic initalization to an earlier point in the boot process, so the setting of the register would be irrelevant. Given the work involved in doing that however, the fragile nature of the apic initalization code, and the fact that, over the 2 years since we found this bug, the MCP55 is the only chip which seems to have this issue, I've figure at this point its likely safer to just carry the quirk around. By setting the referenced bits in this hidden register, interrupts will be broadcast to all cpus when the ioapic isn't active on the above described systems. Acked-by: Simon Horman <horms@verge.net.au> Acked-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/pci_ids.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index 570fddeb0388..dc2827723c1e 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -1249,6 +1249,8 @@
1249#define PCI_DEVICE_ID_NVIDIA_GEFORCE_FX_GO5700_2 0x0348 1249#define PCI_DEVICE_ID_NVIDIA_GEFORCE_FX_GO5700_2 0x0348
1250#define PCI_DEVICE_ID_NVIDIA_QUADRO_FX_GO1000 0x034C 1250#define PCI_DEVICE_ID_NVIDIA_QUADRO_FX_GO1000 0x034C
1251#define PCI_DEVICE_ID_NVIDIA_QUADRO_FX_1100 0x034E 1251#define PCI_DEVICE_ID_NVIDIA_QUADRO_FX_1100 0x034E
1252#define PCI_DEVICE_ID_NVIDIA_MCP55_BRIDGE_V0 0x0360
1253#define PCI_DEVICE_ID_NVIDIA_MCP55_BRIDGE_V4 0x0364
1252#define PCI_DEVICE_ID_NVIDIA_NVENET_15 0x0373 1254#define PCI_DEVICE_ID_NVIDIA_NVENET_15 0x0373
1253#define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA 0x03E7 1255#define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA 0x03E7
1254#define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SMBUS 0x03EB 1256#define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SMBUS 0x03EB