kernel-ark/drivers
Matthew Garrett b0825488a6 [PATCH] agp: restore APBASE after setting APSIZE
When leaving S3 state, the AGP bridge may not have all PCI configuration
registers set in the same way as they were at boot.  This should be fixed
by pci_restore_state - however, the APBASE register cannot be set to
conflict with the APSIZE register.  If APSIZE is larger than it was before
suspend, pci_restore_state will not restore APBASE correctly.  The attached
patch adds an extra item to the agp_bridge_data structure and uses it to
store the value of APBASE.  On resume, this is then written after APSIZE
has been set.  This patch only touches the path used for Intel chipsets
without integrated graphics, and may need to be extended to work with the
others.

Without this patch, I get the symptoms described in bug 4921 - APBASE ends
up overlapping various PCI devices, and as a result they fail to work after
resume.

Signed-off-by: Matthew Garrett <mjg59@srcf.ucam.org>
Acked-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-07-29 15:01:15 -07:00
..
acorn
acpi
atm
base
block [PATCH] cciss per disk queue 2005-07-28 08:39:01 -07:00
bluetooth
cdrom
char [PATCH] agp: restore APBASE after setting APSIZE 2005-07-29 15:01:15 -07:00
cpufreq Here are two possible cleanups in cpufreq.c: 2005-07-28 09:43:56 -07:00
crypto
dio
eisa
fc4
firmware [PATCH] PCDP: if PCDP contains parity information, use it 2005-07-28 08:39:02 -07:00
hwmon [PATCH] I2C: use time_after in 3 chip drivers 2005-07-29 13:12:50 -07:00
i2c [PATCH] I2C: 24RF08 corruption prevention (again) 2005-07-29 13:12:51 -07:00
ide
ieee1394
infiniband
input Merge master.kernel.org:/pub/scm/linux/kernel/git/dtor/input 2005-07-29 09:48:34 -07:00
isdn
macintosh
mca
md [PATCH] device-mapper: fix md->lock deadlocks in core 2005-07-28 21:46:03 -07:00
media
message
misc
mmc
mtd
net [PATCH] e1000: no need for reboot notifier 2005-07-28 08:39:02 -07:00
nubus
oprofile
parisc
parport
pci [PATCH] PCI: remove PCI_BRIDGE_CTL_VGA handling from setup-bus.c 2005-07-29 13:12:51 -07:00
pcmcia [PATCH] pcmcia: disable read prefetch/write burst on old O2Micro bridges 2005-07-28 08:39:01 -07:00
pnp
s390 [PATCH] s390: device recognition 2005-07-29 15:01:14 -07:00
sbus
scsi Merge head 'upstream' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev 2005-07-29 09:04:47 -07:00
serial [PATCH] serial: add MMIO support to 8250_pnp 2005-07-29 15:01:13 -07:00
sh
sn
tc
telephony
usb [PATCH] USB: hidinput_hid_event() oops fix 2005-07-29 13:12:54 -07:00
video [PATCH] fbdev: Replace memcpy with for-loop when preparing bitmap 2005-07-29 15:01:14 -07:00
w1 [PATCH] w1: kconfig/Makefile fix. 2005-07-29 13:12:51 -07:00
zorro
Kconfig
Makefile