linux-stable-rt/drivers/pci
Kenji Kaneshige 2485b8674b PCI: ignore bit0 of _OSC return code
Currently acpi_run_osc() checks all the bits in _OSC result code (the
first DWORD in the capabilities buffer) to see error condition. But the
bit 0, which doesn't indicate any error, must be ignored.

The bit 0 is used as the query flag at _OSC invocation time. Some
platforms clear it during _OSC evaluation, but the others don't. On
latter platforms, current acpi_run_osc() mis-detects error when _OSC is
evaluated with query flag set because it doesn't ignore the bit 0.
Because of this, the __acpi_query_osc() always fails on such platforms.

And this is the cause of the problem that pci_osc_control_set() doesn't
work since the commit 4e39432f4d which
changed pci_osc_control_set() to use __acpi_query_osc().

Tested-by:"Tomasz Czernecki <czernecki@gmail.com>
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2008-11-11 13:33:05 -08:00
..
hotplug Fix PCI hotplug printk format 2008-10-23 19:48:29 -07:00
pcie
.gitignore
Kconfig
Makefile PCI: add routines for debugging and handling lost interrupts 2008-10-23 14:54:18 -07:00
access.c
bus.c
dmar.c
hotplug-pci.c
hotplug.c
htirq.c
intel-iommu.c
intr_remapping.c
intr_remapping.h
iova.c
irq.c PCI: add routines for debugging and handling lost interrupts 2008-10-23 14:54:18 -07:00
msi.c
msi.h
pci-acpi.c PCI: ignore bit0 of _OSC return code 2008-11-11 13:33:05 -08:00
pci-driver.c
pci-sysfs.c PCI: fix range check on mmapped sysfs resource files 2008-11-03 14:41:16 -08:00
pci.c PCI: fix ARI code to be compatible with mixed ARI/non-ARI systems 2008-10-23 14:42:13 -07:00
pci.h
probe.c PCI: remove unused resource assignment in pci_read_bridge_bases() 2008-10-23 16:17:47 -07:00
proc.c
quirks.c PCI: fix VPD limit quirk for Broadcom 5708S 2008-11-03 14:30:27 -08:00
remove.c
rom.c PCI: remove excess kernel-doc notation 2008-11-03 14:32:46 -08:00
search.c
setup-bus.c
setup-irq.c
setup-res.c
slot.c
syscall.c