Eric W. Biederman
b1cbf4e4dd
[PATCH] msi: fix up the msi enable/disable logic
...
enable/disable_msi_mode have several side effects which keeps them from being
generally useful. So this patch replaces them with with two much more
targeted functions: msi_set_enable and msix_set_enable.
This patch makes pci_dev->msi_enabled and pci_dev->msix_enabled the definitive
way to test if linux has enabled the msi capability, and has the appropriate
msi data structures set up.
This patch ensures that while writing the msi messages in save/restore and
during device initialization we have the msi capability disabled so we don't
get into races. The pci spec requires that we do not have the msi capability
enabled and the msi messages unmasked while we write the messages. Completely
disabling the capability is overkill but it is easy :)
Care has been taken so we never have both a msi capability and intx enabled
simultaneously. We haven't run into a problem yet but better safe then sorry.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Michael Ellerman <michael@ellerman.id.au>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-05 07:57:50 -08:00
..
acorn
[ARM] Acorn: move the i2c bus driver into drivers/i2c
2007-03-04 20:40:50 +00:00
acpi
[PATCH] ACPI: make bay depend on dock
2007-03-01 14:53:38 -08:00
amba
ata
[libata] pata_jmicron: build fix
2007-03-03 10:36:19 -05:00
atm
atm: Use ARRAY_SIZE macro when appropriate
2007-02-17 15:30:48 -05:00
auxdisplay
[PATCH] cfag12864b: fix crash when built-in and no parport present
2007-02-20 17:10:14 -08:00
base
Driver core: fix error by cleanup up symlinks properly
2007-02-23 14:52:09 -08:00
block
[AOE]: Add get_unaligned() calls where needed.
2007-03-02 15:22:55 -08:00
bluetooth
[Bluetooth] Make use of MODULE_FIRMWARE
2007-02-26 11:42:42 -08:00
cdrom
[PATCH] sysctl: remove insert_at_head from register_sysctl
2007-02-14 08:09:59 -08:00
char
[PATCH] cyclades: return closing_wait
2007-03-05 07:57:50 -08:00
clocksource
[PATCH] Allow early access to the power management timer
2007-02-16 08:13:58 -08:00
connector
cpufreq
Revert "[CPUFREQ] constify cpufreq_driver where possible."
2007-02-26 14:55:48 -08:00
crypto
[PATCH] remove many unneeded #includes of sched.h
2007-02-14 08:09:54 -08:00
dio
dma
edac
eisa
fc4
[PATCH] remove many unneeded #includes of sched.h
2007-02-14 08:09:54 -08:00
firmware
hid
HID: fix Logitech DiNovo Edge touchwheel and Logic3 /SpectraVideo middle button
2007-03-01 09:54:44 +01:00
hwmon
hwmon/vt1211: Add probing of alternate config index port
2007-02-14 21:15:05 +01:00
i2c
[ARM] Acorn: move the i2c bus driver into drivers/i2c
2007-03-04 20:40:50 +00:00
ide
ide: make legacy IDE VLB modules check for the "probe" kernel params (v2)
2007-03-03 17:48:55 +01:00
ieee1394
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial
2007-02-19 13:29:02 -08:00
infiniband
IPoIB: Correct debugging output when path record lookup fails
2007-02-26 12:57:08 -08:00
input
Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/dtor/input
2007-02-19 13:31:34 -08:00
isdn
[PATCH] Fix buffer overflow and races in capi debug functions
2007-03-01 14:53:39 -08:00
kvm
KVM: Move kvmfs magic number to <linux/magic.h>
2007-03-04 11:12:43 +02:00
leds
leds: Add support for Cobalt Server front LED
2007-02-15 21:37:29 +00:00
macintosh
backlight: Separate backlight properties from backlight ops pointers
2007-02-20 09:26:53 +00:00
mca
md
[PATCH] md: add support for reshape of a raid6
2007-03-01 14:53:36 -08:00
media
V4L/DVB (5260): Cx88-blackbird: allow usage of both 376836 and 262144 sized firmware images
2007-03-03 10:14:36 -02:00
message
[PATCH] remove many unneeded #includes of sched.h
2007-02-14 08:09:54 -08:00
mfd
[PATCH] drivers/mfd/sm501.c: Replace pci_module_init with pci_register_driver
2007-02-26 12:35:47 -08:00
misc
backlight: Separate backlight properties from backlight ops pointers
2007-02-20 09:26:53 +00:00
mmc
Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm
2007-02-19 13:18:39 -08:00
mtd
[ARM] 4233/1: nand/s3c2410.c: warning fix
2007-02-25 16:41:41 +00:00
net
[VLAN]: Avoid a 4-order allocation.
2007-03-02 20:44:51 -08:00
nubus
oprofile
parisc
Merge master.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6
2007-02-26 12:48:06 -08:00
parport
[PATCH] parport_pc: fix parport_pc_probe_port section warning
2007-02-20 17:10:16 -08:00
pci
[PATCH] msi: fix up the msi enable/disable logic
2007-03-05 07:57:50 -08:00
pcmcia
Driver core: more fallout from class_device changes for pcmcia
2007-02-23 14:52:09 -08:00
pnp
Pull misc-for-upstream into release branch
2007-02-16 18:52:41 -05:00
ps3
[POWERPC] PS3: System manager support
2007-02-16 14:00:19 +11:00
rapidio
[PATCH] remove many unneeded #includes of sched.h
2007-02-14 08:09:54 -08:00
rtc
[ARM] rtc-pcf8583: Final fixes for this RTC on RiscPC
2007-03-04 20:33:07 +00:00
s390
[VLAN]: Avoid a 4-order allocation.
2007-03-02 20:44:51 -08:00
sbus
[SPARC] uctrl: Check request_irq() return value.
2007-02-26 11:35:51 -08:00
scsi
[ARM] ARM SCSI: Don't try to dma_map_sg too many scatterlist entries
2007-03-04 20:33:31 +00:00
serial
Merge master.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6
2007-02-26 12:48:06 -08:00
sh
sn
spi
[PATCH] spi_s3c2410_gpio.c spi mode 2 and 3 support
2007-02-20 17:10:16 -08:00
tc
[PATCH] remove many unneeded #includes of sched.h
2007-02-14 08:09:54 -08:00
telephony
[PATCH] remove many unneeded #includes of sched.h
2007-02-14 08:09:54 -08:00
usb
HID: fix Logitech DiNovo Edge touchwheel and Logic3 /SpectraVideo middle button
2007-03-01 09:54:44 +01:00
video
[RADEON]: Fix blanking return value.
2007-03-02 15:22:54 -08:00
w1
zorro
[PATCH] mark struct file_operations const 6
2007-02-12 09:48:45 -08:00
Kconfig
Makefile