]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/pci/pci.c
PCI: Enable INTx if BIOS left them disabled
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 29 Jan 2014 23:13:51 +0000 (16:13 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 18 Feb 2014 22:54:04 +0000 (15:54 -0700)
commit1e2571a78138361f74afeb4c5df859b9536b2d8e
treee1e83c3e55ba1e23cc23f58b7afacb05f7b79c89
parent058a2e1bb065f143a291fa0df88274cecd228f28
PCI: Enable INTx if BIOS left them disabled

Some firmware leaves the Interrupt Disable bit set even if the device uses
INTx interrupts.  Clear Interrupt Disable so we get those interrupts.

Based on the report mentioned below, if the user selects the "EHCI only"
option in the Intel Baytrail BIOS, the EHCI device is handed off to the OS
with the PCI_COMMAND_INTX_DISABLE bit set.

Link: http://lkml.kernel.org/r/20140114181721.GC12126@xanatos
Link: https://bugzilla.kernel.org/show_bug.cgi?id=70601
Reported-by: Chris Cheng <chris.cheng@atrustcorp.com>
Reported-and-tested-by: Jamie Chen <jamie.chen@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: stable@vger.kernel.org
CC: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/pci/pci.c