commit c92faf3e0a557270141be67f206d7cdb99bfc3a2 tree 0b5e00723e3f8a6512484df46c5445fddbc2e3e3 parent 9cec53cc4d2e70eec32c646148c477350fe9069f author Adrian Bunk Fri, 25 Aug 2006 22:51:14 +0200 committer Adrian Bunk Fri, 25 Aug 2006 22:51:14 +0200 Linux 2.6.16.28 commit 9cec53cc4d2e70eec32c646148c477350fe9069f tree b2a8516f120f7fc242e8a20b7ee5d91835afbfbc parent 13ade36f520a85babd05c36fb7e70c1ef5e570be author Adrian Bunk Wed, 23 Aug 2006 19:29:05 +0200 committer Adrian Bunk Wed, 23 Aug 2006 19:29:05 +0200 Linux 2.6.16.28-rc3 commit 13ade36f520a85babd05c36fb7e70c1ef5e570be tree 99a4c34f8cc671edf41fbefb07eed43ef47242d5 parent 28ea23d9847cadc58edf3d10b8c1651f18b8d26b author Danny Tholen Wed, 23 Aug 2006 19:28:41 +0200 committer Adrian Bunk Wed, 23 Aug 2006 19:28:41 +0200 1394: fix for recently added firewire patch that breaks things on ppc Recently a patch was added for preliminary suspend/resume handling on !PPC_PMAC. However, this broke both suspend and firewire on powerpc because it saves the pci state after the device has already been disabled. This moves the save state to before the pmac specific code. Signed-off-by: Danny Tholen Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Stefan Richter Signed-off-by: Adrian Bunk commit 28ea23d9847cadc58edf3d10b8c1651f18b8d26b tree 31ac7bbb39abccec7551722ed1167289463f612d parent b9a96aa8fa91f4f3187d141a84f0aeaed2935cbe author Sridhar Samudrala Wed, 23 Aug 2006 18:01:55 +0200 committer Adrian Bunk Wed, 23 Aug 2006 18:01:55 +0200 Fix sctp privilege elevation (CVE-2006-3745) sctp_make_abort_user() now takes the msg_len along with the msg so that we don't have to recalculate the bytes in iovec. It also uses memcpy_fromiovec() so that we don't go beyond the length allocated. It is good to have this fix even if verify_iovec() is fixed to return error on overflow. Signed-off-by: Sridhar Samudrala Acked-by: David Miller Signed-off-by: Adrian Bunk commit b9a96aa8fa91f4f3187d141a84f0aeaed2935cbe tree c18f8072d6b4f7f34996bdc782842081f4c4a0e4 parent ccef2db6c097ff35d4e446a6d85c657afb5567d2 author Jan Kara Wed, 23 Aug 2006 18:00:30 +0200 committer Adrian Bunk Wed, 23 Aug 2006 18:00:30 +0200 Fix possible UDF deadlock and memory corruption (CVE-2006-4145) UDF code is not really ready to handle extents larger that 1GB. This is the easy way to forbid creating those. Also truncation code did not count with the case when there are no extents in the file and we are extending the file. Signed-off-by: Jan Kara Signed-off-by: Adrian Bunk commit ccef2db6c097ff35d4e446a6d85c657afb5567d2 tree f927bcf3f492e855d38b4fb77e63e0ab942eb9ee parent d133b8ac886bf921a2a9efd871c3e71f1a5d6d80 author Adrian Bunk Tue, 22 Aug 2006 17:48:30 +0200 committer Adrian Bunk Tue, 22 Aug 2006 17:48:30 +0200 Linux 2.6.16.28-rc2 commit d133b8ac886bf921a2a9efd871c3e71f1a5d6d80 tree 4a3eb8e7de54b82e4ac29fbae9f834cf9ff545cd parent c1df7b7181ae16b4ec44a0b1e1bdf67f5a06f17e author Olof Johansson Fri, 18 Aug 2006 21:44:57 +0200 committer Adrian Bunk Fri, 18 Aug 2006 21:44:57 +0200 powerpc: Clear HID0 attention enable on PPC970 at boot time (CVE-2006-4093) Clear HID0[en_attn] at CPU init time on PPC970. Closes CVE-2006-4093. Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras Signed-off-by: Adrian Bunk commit c1df7b7181ae16b4ec44a0b1e1bdf67f5a06f17e tree f39aa905ad7cb26fffadb6127be6b9817ccf36fd parent 3cfd644882784276280c07ad4b9eb086fa44222f author Jens Axboe Fri, 18 Aug 2006 21:42:43 +0200 committer Adrian Bunk Fri, 18 Aug 2006 21:42:43 +0200 cdrom: fix bad cgc.buflen assignment (CVE-2006-2935) The code really means to mask off the high bits, not assign 0xff. Reported by Marcus Meissner . Signed-off-by: Jens Axboe Signed-off-by: Adrian Bunk commit 3cfd644882784276280c07ad4b9eb086fa44222f tree 5977cf96450e94c70e6d607096b92e8e427bafc7 parent d2b61ec602e7d7be485725bcda8f3b847cfc380e author Al Boldi Fri, 18 Aug 2006 21:30:53 +0200 committer Adrian Bunk Fri, 18 Aug 2006 21:30:53 +0200 ide-io: increase timeout value to allow for slave wakeup During an STR resume cycle, the ide master disk times-out when there is also a slave present (especially CD). Increasing the timeout in ide-io from 10,000 to 100,000 fixes this problem. Acked-by: Alan Cox Signed-off-by: Adrian Bunk commit d2b61ec602e7d7be485725bcda8f3b847cfc380e tree 96f271ca21a1ecdac9fe35eccdfa91ea78892682 parent 9169b8b2bb5169ff8339cca8a17b6bb1e152162c author David S. Miller Fri, 18 Aug 2006 21:28:03 +0200 committer Adrian Bunk Fri, 18 Aug 2006 21:28:03 +0200 SPARC64: Fix quad-float multiply emulation. Something is wrong with the 3-multiply (vs. 4-multiply) optimized version of _FP_MUL_MEAT_2_*(), so just use the slower version which actually computes correct values. Noticed by Rene Rebe Signed-off-by: David S. Miller Signed-off-by: Adrian Bunk commit 9169b8b2bb5169ff8339cca8a17b6bb1e152162c tree dfb7baa2b39375404b331116accba6d3899f3f9b parent 0575ec15879ef8efe3f363ab28aa8d90a56be350 author Bob Breuer Fri, 18 Aug 2006 21:26:56 +0200 committer Adrian Bunk Fri, 18 Aug 2006 21:26:56 +0200 SPARC32: Fix iommu_flush_iotlb end address Fix the calculation of the end address when flushing iotlb entries to ram. This bug has been a cause of esp dma errors, and it affects HyperSPARC systems much worse than SuperSPARC systems. Signed-off-by: Bob Breuer Signed-off-by: David S. Miller Acked-by: William Lee Irwin III Signed-off-by: Adrian Bunk 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