Eric W. Biederman
9f35575dfc
[PATCH] pci: Repair pci_save/restore_state so we can restore one save many times.
...
Because we do not reserve space for the pci-x and pci-e state in struct
pci dev we need to dynamically allocate it. However because we need
to support restore being called multiple times after a single save
it is never safe to free the buffers we have allocated to hold the
state.
So this patch modifies the save routines to first check to see
if we have already allocated a state buffer before allocating
a new one. Then the restore routines are modified to not free
the state after restoring it. Simple and it fixes some subtle
error path handling bugs, that are hard to test for.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Acked-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-12 16:31:50 -07:00
..
acpi
Pull bugzilla-7887 into release branch
2007-02-16 22:11:57 -05:00
asm-alpha
asm-arm
[ARM] 4263/1: fix IXP4XX_NPE[ABC]_BASE_VIRT address
2007-03-12 16:49:38 +00:00
asm-arm26
Storage class should be before const qualifier
2007-02-17 20:11:19 +01:00
asm-avr32
avr32: dma-mapping.h
2007-03-07 10:50:30 +01:00
asm-cris
asm-frv
[PATCH] FRV: Add some missng lazy MMU hooks for NOMMU mode
2007-03-01 14:53:36 -08:00
asm-generic
Revert "[PATCH] LOG2: Alter get_order() so that it can make use of ilog2() on a constant"
2007-03-06 19:38:01 -08:00
asm-h8300
asm-i386
[PATCH] i386: make x86_64 tsc header require i386 rather than vice-versa
2007-03-06 09:30:24 -08:00
asm-ia64
[IA64] Remove sparse warning from unwind code
2007-03-08 10:28:48 -08:00
asm-m32r
asm-m68k
asm-m68knommu
[PATCH] m68knommu: GPIO line defines for the ColdFire 5282
2007-03-06 18:08:38 -08:00
asm-mips
[MIPS] Sibyte: Fix ZBbus profiler
2007-03-09 20:27:31 +00:00
asm-parisc
Merge master.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6
2007-02-26 12:48:06 -08:00
asm-powerpc
[PATCH] sched: remove SMT nice
2007-03-05 07:57:51 -08:00
asm-ppc
asm-s390
[S390] check_bugs() should be inline.
2007-03-05 23:35:50 +01:00
asm-sh
sh: Revert lazy dcache writeback changes.
2007-03-05 19:46:47 +09:00
asm-sh64
asm-sparc
[SPARC]: Provide 'get_property()' alias for of_get_property().
2007-03-02 15:22:53 -08:00
asm-sparc64
[SPARC64]: Fix PARPORT build (again).
2007-03-08 15:00:03 -08:00
asm-um
[PATCH] uml: pte_mkread fix
2007-03-01 14:53:38 -08:00
asm-v850
asm-x86_64
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6
2007-03-06 18:05:10 -08:00
asm-xtensa
crypto
keys
linux
[PATCH] pci: Repair pci_save/restore_state so we can restore one save many times.
2007-03-12 16:31:50 -07:00
math-emu
media
V4L/DVB (5271): Add VIDIOC_TRY_ENCODER_CMD and VIDIOC_ENCODER_CMD ioctls.
2007-03-01 13:09:46 -02:00
mtd
net
[IPSEC]: xfrm_policy delete security check misplaced
2007-03-07 16:08:09 -08:00
pcmcia
serial: Add PCMCIA IDs for Quatech DSP-100 dual RS232 adapter.
2007-02-16 15:19:16 -08:00
rdma
RDMA/cma: Add multicast communication support
2007-02-16 14:29:07 -08:00
rxrpc
scsi
Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
2007-02-19 13:32:28 -08:00
sound
[ALSA] version 1.0.14rc3
2007-03-06 14:10:08 +01:00
video
Kbuild