Don't bind the IPS driver if no irq is assigned (typically BIOS bug). (rhbz 804353)

This commit is contained in:
Dave Jones 2012-03-20 16:50:59 -04:00 committed by Josh Boyer
parent 890cdcf1b4
commit cb6adeaa2b
2 changed files with 22 additions and 0 deletions

15
ips-noirq.patch Normal file
View File

@ -0,0 +1,15 @@
--- a/drivers/platform/x86/intel_ips.c
+++ a/drivers/platform/x86/intel_ips.c
@@ -1603,6 +1603,12 @@ static int ips_probe(struct pci_dev *dev, const struct pci_device_id *id)
goto error_unmap;
}
+ /* No IRQ assigned is a BIOS failure... */
+ if (dev->irq <= 0) {
+ ret = -ENODEV;
+ goto error_unmap;
+ }
+
/*
* IRQ handler for ME interaction
* Note: don't use MSI here as the PCH has bugs.

View File

@ -734,6 +734,8 @@ Patch14010: lis3-improve-handling-of-null-rate.patch
Patch15000: bluetooth-use-after-free.patch
Patch19000: ips-noirq.patch
Patch20000: utrace.patch
# Flattened devicetree support
@ -1411,6 +1413,8 @@ ApplyPatch lis3-improve-handling-of-null-rate.patch
ApplyPatch bluetooth-use-after-free.patch
ApplyPatch ips-noirq.patch
# utrace.
ApplyPatch utrace.patch
@ -2194,6 +2198,9 @@ fi
# and build.
%changelog
* Wed Mar 28 2012 Dave Jones <davej@redhat.com>
- Don't bind the IPS driver if no irq is assigned (typically BIOS bug). (rhbz 804353)
* Tue Mar 27 2012 Josh Boyer <jwboyer@redhat.com>
- Implement xen apic_ops to fix early crash in Xen Dom0 (rhbz 804347)
- Apply patch to fix MCE rcu splat (rhbz 789644)