commit 0575ec15879ef8efe3f363ab28aa8d90a56be350 tree a221c15c159a4b3e8d36d81132f246978b9495ee parent d2fec325d8d56034dc476b90fcbf6f74af8be28a author Adrian Bunk Sat, 12 Aug 2006 19:00:06 +0200 committer Adrian Bunk Sat, 12 Aug 2006 19:00:06 +0200 Linux 2.6.16.28-rc1 commit d2fec325d8d56034dc476b90fcbf6f74af8be28a tree 06622f4af8f99594ec5f5c5cfedbe1918098862c parent aae3d53f64c9725c549e0f8fec9ede6107b08e99 author Adrian Bunk Sat, 12 Aug 2006 18:59:17 +0200 committer Adrian Bunk Sat, 12 Aug 2006 18:59:17 +0200 update the i386 defconfig The i386 defconfig wasn't updated for ages. Instead of running "make oldconfig" on the old defconfig and trying to give reasonable answers at all new options, this patch replaces it with the one I'm using in 2.6.16-rc1. This way, it's a .config that is confirmed to work on at least one computer in the world. ;-) Signed-off-by: Adrian Bunk commit aae3d53f64c9725c549e0f8fec9ede6107b08e99 tree e75e444dcfc4a54f3498520be32b18c32b1d03fc parent 6e2a6204481622fe71d7cb2a60be6dd9f9455163 author Stefan Richter Fri, 11 Aug 2006 23:42:30 +0200 committer Adrian Bunk Fri, 11 Aug 2006 23:42:30 +0200 ieee1394: sbp2: enable auto spin-up for Maxtor disks At least Maxtor OneTouch III require a "start stop unit" command after auto spin-down before the next access can proceed. This patch activates the responsible code in scsi_mod for all Maxtor SBP-2 disks. https://bugzilla.novell.com/show_bug.cgi?id=183011 Maybe that should be done for all SBP-2 disks, but better be cautious. Signed-off-by: Stefan Richter Signed-off-by: Adrian Bunk commit 6e2a6204481622fe71d7cb2a60be6dd9f9455163 tree dcab6d6396bc9bac9929b4cc49d14af427af33e9 parent 02ee43fcfd3f10b7416e1402263b6b49853e4e48 author Robert Hancock Fri, 11 Aug 2006 23:41:52 +0200 committer Adrian Bunk Fri, 11 Aug 2006 23:41:52 +0200 Fix broken suspend/resume in ohci1394 I've been experimenting to track down the cause of suspend/resume problems on my Compaq Presario X1050 laptop: http://bugzilla.kernel.org/show_bug.cgi?id=6075 Essentially the ACPI Embedded Controller and keyboard controller would get into a bizarre, confused state after resume. I found that unloading the ohci1394 module before suspend and reloading it after resume made the problem go away. Diffing the dmesg output from resume, with and without the module loaded, I found that with the module loaded I was missing these: PM: Writing back config space on device 0000:02:00.0 at offset 1. (Was 2100080, writing 2100007) PM: Writing back config space on device 0000:02:00.0 at offset 3. (Was 0, writing 8008) PM: Writing back config space on device 0000:02:00.0 at offset 4. (Was 0, writing 90200000) PM: Writing back config space on device 0000:02:00.0 at offset 5. (Was 1, writing 2401) PM: Writing back config space on device 0000:02:00.0 at offset f. (Was 20000100, writing 2000010a) The default PCI driver performs the pci_restore_state when no driver is loaded for the device. When the ohci1394 driver is loaded, it is supposed to do this, however it appears not to do so. I created the patch below and tested it, and it appears to resolve the suspend problems I was having with the module loaded. I only added in the pci_save_state and pci_restore_state - however, though I know little of this hardware, surely the driver should really be doing more than this when suspending and resuming? Currently it does almost nothing, what if there are commands in progress, etc? Signed-off-by: Robert Hancock Signed-off-by: Stefan Richter Signed-off-by: Adrian Bunk commit 02ee43fcfd3f10b7416e1402263b6b49853e4e48 tree 2085511f0f3cb7eef47f3623342a97f4a7706623 parent dec0370af02c080b1a9c240058a9887fc53a5f08 author Jens Axboe Fri, 11 Aug 2006 22:43:42 +0200 committer Adrian Bunk Fri, 11 Aug 2006 22:43:42 +0200 fix debugfs inode leak Looking at the reiser4 crash, I found a leak in debugfs. In debugfs_mknod(), we create the inode before checking if the dentry already has one attached. We don't free it if that is the case. Signed-off-by: Jens Axboe Signed-off-by: Adrian Bunk commit dec0370af02c080b1a9c240058a9887fc53a5f08 tree 5010837f0a234d091fc28e693e5c1d20e320cf87 parent 296b3f9ee6e8176e54229ef1d357b4e044c01fb2 author Jens Axboe Fri, 11 Aug 2006 22:29:11 +0200 committer Adrian Bunk Fri, 11 Aug 2006 22:29:11 +0200 Fix missing ret assignment in __bio_map_user() error path If get_user_pages() returns less pages than what we asked for, we jump to out_unmap which will return ERR_PTR(ret). But ret can contain a positive number just smaller than local_nr_pages, so be sure to set it to -EFAULT always. Problem found and diagnosed by Damien Le Moal Signed-off-by: Jens Axboe Signed-off-by: Adrian Bunk commit 296b3f9ee6e8176e54229ef1d357b4e044c01fb2 tree ee27efe5f82ada3ca78079bdda7489d7515c8b0d parent 6f2e5a4840d8bf0708dea3c01a1cf5bf2a14bdc9 author Dave Jones Thu, 10 Aug 2006 00:03:27 +0200 committer Adrian Bunk Thu, 10 Aug 2006 00:03:27 +0200 [AGPGART] Fix Nforce3 suspend on amd64. kernel.org bugzilla #6206 Based on patch from Serge Belyshev Signed-off-by: Dave Jones Signed-off-by: Adrian Bunk commit 6f2e5a4840d8bf0708dea3c01a1cf5bf2a14bdc9 tree 7b28833b7b45fd1c69e45635339af4dc75fe1891 parent 1f36317d1c914651c979c76fb4fb6d356b90a6dd author Adrian Bunk Wed, 09 Aug 2006 23:26:03 +0200 committer Adrian Bunk Wed, 09 Aug 2006 23:26:03 +0200 SOUND_SSCAPE shouldn't depend on OBSOLETE_OSS_DRIVER Due to a regression in the correcponding ALSA driver (ALSA #2234), the OSS driver should stay until it's fixed. Signed-off-by: Adrian Bunk commit 1f36317d1c914651c979c76fb4fb6d356b90a6dd tree aabb7182b6755428c52ced9e01c986614a329a7f parent 5443cf44e9f256b5bd85b7ea621ccb179c4217d3 author Chuck Ebbert <76306.1226@compuserve.com> Tue, 08 Aug 2006 23:23:12 +0200 committer Adrian Bunk Tue, 08 Aug 2006 23:23:12 +0200 ieee80211: TKIP requires CRC32 ieee80211_crypt_tkip will not work without CRC32. LD .tmp_vmlinux1 net/built-in.o: In function `ieee80211_tkip_encrypt': net/ieee80211/ieee80211_crypt_tkip.c:349: undefined reference to `crc32_le' Reported by Toralf Foerster Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Adrian Bunk commit 5443cf44e9f256b5bd85b7ea621ccb179c4217d3 tree aae51731cdfd10734028ed40e4463de7f68aece2 parent d92165febdccd522e2a8b55008ffdb0ed121141a author Yasunori Goto Tue, 08 Aug 2006 17:35:33 +0200 committer Adrian Bunk Tue, 08 Aug 2006 17:35:33 +0200 memory hotplug: solve config broken: undefined reference to `online_page' Memory hotplug code of i386 adds memory to only highmem. So, if CONFIG_HIGHMEM is not set, CONFIG_MEMORY_HOTPLUG shouldn't be set. Otherwise, it causes compile error. In addition, many architecture can't use memory hotplug feature yet. So, I introduce CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG. Signed-off-by: Yasunori Goto Signed-off-by: Adrian Bunk commit d92165febdccd522e2a8b55008ffdb0ed121141a tree afa5d789c3ac2e1fecaf90a231edab43b03f0672 parent 3d6cf29b3f117605c66583b9145f53d39c695a6e author Pavel Machek Tue, 08 Aug 2006 11:58:01 +0200 committer Adrian Bunk Tue, 08 Aug 2006 11:58:01 +0200 pdflush: handle resume wakeups 2.6.16 needs this. It was merged into 2.6.18-rc1. pdflush is carefully designed to ensure that all wakeups have some corresponding work to do - if a woken-up pdflush thread discovers that it hasn't been given any work to do then this is considered an error. That all broke when swsusp came along - because a timer-delivered wakeup to a frozen pdflush thread will just get lost. This causes the pdflush thread to get lost as well: the writeback timer is supposed to be re-armed by pdflush in process context, but pdflush doesn't execute the callout which does this. Fix that up by ignoring the return value from try_to_freeze(): jsut proceed, see if we have any work pending and only go back to sleep if that is not the case. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Pavel Machek Signed-off-by: Adrian Bunk commit 3d6cf29b3f117605c66583b9145f53d39c695a6e tree 7a6e7ab73e7269a89bc4c0fdff27e92b67ab2161 parent ad29cb6531ebcc567327ab3030516f2f400a1c4e author Andi Kleen Mon, 07 Aug 2006 21:26:18 +0200 committer Adrian Bunk Mon, 07 Aug 2006 21:26:18 +0200 BLOCK: Fix bounce limit address check This fixes some OOMs on 64bit systems with <4GB of RAM when accessing the cdrom. Do a safer check for when to enable DMA. Currently we enable ISA DMA for cases that do not need it, resulting in OOM conditions when ZONE_DMA runs out of space. Signed-off-by: Andi Kleen Signed-off-by: Jens Axboe Signed-off-by: Adrian Bunk commit ad29cb6531ebcc567327ab3030516f2f400a1c4e tree 0d604ea70866db8227cbf238ecb0bba87ca3dcdd parent 1fdb33cb352bce98804bfa8342a671a132d9dd54 author Michael S. Tsirkin Mon, 07 Aug 2006 19:04:22 +0200 committer Adrian Bunk Mon, 07 Aug 2006 19:04:22 +0200 IB/mthca: restore missing PCI registers after reset mthca does not restore the following PCI-X/PCI Express registers after reset: PCI-X device: PCI-X command register PCI-X bridge: upstream and downstream split transaction registers PCI Express : PCI Express device control and link control registers This causes instability and/or bad performance on systems where one of these registers is set to a non-default value by BIOS. Signed-off-by: Michael S. Tsirkin Signed-off-by: Adrian Bunk commit 1fdb33cb352bce98804bfa8342a671a132d9dd54 tree 4869ceb139781f4df00bea15b2f641db71c6c65f parent 94bf2b6d7ac552c84888860d17696e47e0e69cdd author Adrian Bunk Thu, 03 Aug 2006 21:58:11 +0200 committer Adrian Bunk Thu, 03 Aug 2006 21:58:11 +0200 fix the SND_FM801_TEA575X dependencies CONFIG_SND_FM801=y, CONFIG_SND_FM801_TEA575X=m resulted in the following compile error: <-- snip --> ... LD vmlinux sound/built-in.o: In function 'snd_fm801_free': fm801.c:(.text+0x3c15b): undefined reference to 'snd_tea575x_exit' sound/built-in.o: In function 'snd_card_fm801_probe': fm801.c:(.text+0x3cfde): undefined reference to 'snd_tea575x_init' make: *** [vmlinux] Error 1 <-- snip --> This patch fixes kernel Bugzilla #6458. Signed-off-by: Adrian Bunk commit 94bf2b6d7ac552c84888860d17696e47e0e69cdd tree d3b8b4102e6aac008a017297ae1356f9378bd3c7 parent 659eadfc20751c1e0784f4910d194fcd836b86db author Pavel Machek Thu, 03 Aug 2006 21:56:53 +0200 committer Adrian Bunk Thu, 03 Aug 2006 21:56:53 +0200 remove obsolete swsusp_encrypt Remove SWSUSP_ENCRYPT config option; it is no longer implemented. Signed-off-by: Pavel Machek Signed-off-by: Adrian Bunk