Commit: 72be3fc830471a1b85069b6c1876f752d036c169 Author: Adrian Bunk Wed, 22 Nov 2006 19:06:31 +0100 Linux 2.6.16.33 Commit: 6d44d60a6b7d1cbd24efbd62e51eb3287de9ed46 Author: Adrian Bunk Mon, 20 Nov 2006 22:51:17 +0100 Linux 2.6.16.33-rc1 Commit: 371899a77a7a4e8d7f973846d2f8c16bf0722825 Author: Benjamin Herrenschmidt Mon, 20 Nov 2006 22:45:49 +0100 POWERPC: Make alignment exception always check exception table The alignment exception used to only check the exception table for -EFAULT, not for other errors. That opens an oops window if we can coerce the kernel into getting an alignment exception for other reasons in what would normally be a user-protected accessor, which can be done via some of the futex ops. This fixes it by always checking the exception tables. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Adrian Bunk Commit: 70c505610f4cda24c28b018db8c260c02f533a4f Author: Daniele Venzano Mon, 20 Nov 2006 22:43:31 +0100 Add new PHY to sis900 supported list This patch adds support for a new PHY to the sis900 driver. See also Bugzilla 6919. Signed-off-by: Daniele Venzano Signed-off-by: Adrian Bunk Commit: 0379a9a1d4e8caa7dbc9e73969435d4889751a2b Author: Artur Skawina Mon, 20 Nov 2006 22:32:56 +0100 sis900 adm7001 PHY support this patch is required to get a SIS964 based motherboard ethernet working (FSC D1875) (picking the #1 transceiver, instead of the last one, in case no known ones were found might be a better default, and would have worked in this case too) Signed-off-by: Artur Skawina Signed-off-by: Adrian Bunk Commit: c61120c340f2916d331db65fe565868a90cd9779 Author: Michael-Luke Jones Mon, 20 Nov 2006 22:30:21 +0100 Old IDE, fix SATA detection for cabling This patch is identical to that introduced in 1a1276e7b6cba549553285f74e87f702bfff6fac to the Linus' 2.6 development tree by Alan Cox. 'This is based on the proposed patches flying around but also checks that the device in question is new enough to have word 93 rather thanb blindly assuming word 93 == 0 means SATA (see ATA-5, ATA-7)' -- Alan Cox Required for my SATA drive on an Asus Pundit-R to operate above 33MBps. Signed-off-by: Michael-Luke Jones Signed-off-by: Adrian Bunk Commit: 2c8e2c9fe5a7f6952b2c16d934ee9cc112643f0f Author: Diego Calleja Mon, 20 Nov 2006 22:25:17 +0100 Fix BeFS slab corruption In bugzilla #6941, Jens Kilian reported: "The function befs_utf2nls (in fs/befs/linuxvfs.c) writes a 0 byte past the end of a block of memory allocated via kmalloc(), leading to memory corruption. This happens only for filenames which are pure ASCII and a multiple of 4 bytes in length. [...] Without DEBUG_SLAB, this leads to further corruption and hard lockups; I believe this is the bug which has made kernels later than 2.6.8 unusable for me. (This must be due to changes in memory management, the bug has been in the BeFS driver since the time it was introduced (AFAICT).) Steps to reproduce: Create a directory (in BeOS, naturally :-) with files named, e.g., "1", "22", "333", "4444", ... Mount it in Linux and do an "ls" or "find"" This patch implements the suggested fix. Credits to Jens Kilian for debugging the problem and finding the right fix. Signed-off-by: Diego Calleja Signed-off-by: Adrian Bunk Commit: facabd6146f0622312f0493c80a3d26227cebf69 Author: Adrian Bunk Mon, 20 Nov 2006 04:56:03 +0100 V4L/DVB: Saa7134: rename dmasound_{init,exit} Two different exports with the same name are not a good idea: $ grep -r EXPORT_SYMBOL\(dmasound_init\) * drivers/media/video/saa7134/saa7134-core.c:EXPORT_SYMBOL(dmasound_init); sound/oss/dmasound/dmasound_core.c:EXPORT_SYMBOL(dmasound_init); $ This patch renames the saa7134 dmasound_{init,exit} to saa7134_dmasound_{init,exit}. Signed-off-by: Adrian Bunk Commit: 705cb93548ca3f5e552ea10832203373fb7b7917 Author: David Miller Mon, 20 Nov 2006 00:21:04 +0100 [RTNETLINK]: Fix IFLA_ADDRESS handling. The ->set_mac_address handlers expect a pointer to a sockaddr which contains the MAC address, whereas IFLA_ADDRESS provides just the MAC address itself. So whip up a sockaddr to wrap around the netlink attribute for the ->set_mac_address call. Signed-off-by: David S. Miller Signed-off-by: Adrian Bunk Commit: 02db407979ff96eb7b619d3683155e5298021908 Author: Adrian Bunk Mon, 20 Nov 2006 00:15:06 +0100 drivers/scsi/psi240i.c: fix an array overrun This patch fixes an array overrun spotted by the Coverity checker. Signed-off-by: Adrian Bunk Commit: 9d41b6ad6669529146a588fae30af28ab4443450 Author: Michael Chan Mon, 20 Nov 2006 00:12:55 +0100 [TG3]: Fix array overrun in tg3_read_partno(). Use proper upper limits for the loops and check for all error conditions. The problem was noticed by Adrian Bunk. Signed-off-by: Michael Chan Signed-off-by: Adrian Bunk Commit: de6c0ccfa9ab24a9104c8791030e8ebecb1e2c5a Author: Andrew Morton Mon, 20 Nov 2006 00:11:42 +0100 disable debugging version of write_lock() We've confirmed that the debug version of write_lock() can get stuck for long enough to cause NMI watchdog timeouts and hence a crash. We don't know why, yet. Disable it for now. Also disable the similar read_lock() code. Just in case. Thanks to Dave Olson for reporting and testing. Signed-off-by: Andrew Morton Signed-off-by: Adrian Bunk Commit: 9e9c71470300baacb977ef0f332038691f8dc46a Author: Dmitry Mishin Fri, 17 Nov 2006 17:53:07 +0100 Fix timer race in dst GC code Replace add_timer() by mod_timer() in dst_run_gc in order to avoid BUG message. CPU1 CPU2 dst_run_gc() entered dst_run_gc() entered spin_lock(&dst_lock) ..... del_timer(&dst_gc_timer) fail to get lock .... mod_timer() <--- puts timer back to the list add_timer(&dst_gc_timer) <--- BUG because timer is in list already. Found during OpenVZ internal testing. At first we thought that it is OpenVZ specific as we added dst_run_gc(0) call in dst_dev_event(), but as Alexey pointed to me it is possible to trigger this condition in mainstream kernel. F.e. timer has fired on CPU2, but the handler was preeempted by an irq before dst_lock is tried. Meanwhile, someone on CPU1 adds an entry to gc list and starts the timer. If CPU2 was preempted long enough, this timer can expire simultaneously with resuming timer handler on CPU1, arriving exactly to the situation described. Signed-off-by: Dmitry Mishin Signed-off-by: Kirill Korotaev Signed-off-by: Adrian Bunk Commit: 770af3b42ad36c622586eee13db3799837567102 Author: Badari Pulavarty Fri, 17 Nov 2006 17:47:22 +0100 ext3 -nobh option causes oops For files other than IFREG, nobh option doesn't make sense. Modifications to them are journalled and needs buffer heads to do that. Without this patch, we get kernel oops in page_buffers(). Signed-off-by: Badari Pulavarty Signed-off-by: Adrian Bunk Commit: 39a2b41be778a3d075bd52925c1967744ad5093f Author: Alexey Dobriyan Fri, 17 Nov 2006 17:44:46 +0100 ipmi_si_intf.c: fix "&& 0xff" typos Signed-off-by: Alexey Dobriyan Signed-off-by: Adrian Bunk Commit: e6169b53986005dff5307cc8ac1f555334073d09 Author: Adrian Bunk Fri, 17 Nov 2006 17:42:43 +0100 security/seclvl.c: fix time wrap (CVE-2005-4352) initlvl=2 in seclvl gives the guarantee "Cannot decrement the system time". But it was possible to set the time to the maximum unixtime value (19 Jan 2038) resulting in a wrap to the minimum value. This patch fixes this by disallowing setting the time to any date after 2030 with initlvl=2. Signed-off-by: Adrian Bunk Commit: 6e16bd44c369e8fd336ef4c11116adaef6d6f3a2 Author: Paul Fulghum Fri, 17 Nov 2006 00:13:41 +0100 synclink_gt fix receive tty error handling Fix receive tty error handling in synclink_gt driver. Adrian reported compiler warning for incorrect bit test against char variable. I determined these and other device specific error bits were incorrectly defined. Signed-off-by: Paul Fulghum Signed-off-by: Adrian Bunk Commit: 9ca0bc2ceee9e65e71310336f40af7ca1a348fc2 Author: Daniel Ritz Wed, 15 Nov 2006 17:07:33 +0100 fix via586 irq routing for pirq 5 fix interrput routing for via 586 bridges. pirq can be 5 which needs to be mapped to INTD. but currently the access functions can handle only pirq 1-4. this is similar to the other via chipsets where pirq 4 and 5 are both mapped to INTD. fixes bugzilla #7490 Signed-off-by: Daniel Ritz Signed-off-by: Adrian Bunk Commit: 891bdfcddd44095747bdcdc18e348139fa6b9d70 Author: Daniel Drake Wed, 15 Nov 2006 16:26:16 +0100 sata_promise: Support FastTrak TX4300/TX4310 This patch adds support for the Promise FastTrak TX4300/TX4310 4-port PCI SATA controllers based on the PDC40719 chip. Signed-off-by: Daniel Drake Signed-off-by: Adrian Bunk Commit: 1b1469021a2ff1e84827fb51c30c757f7cdb94c1 Author: Bob Moore Wed, 15 Nov 2006 16:20:37 +0100 Reduce ACPI verbosity on null handle condition As detailed at http://bugs.gentoo.org/131534 : 2.6.16 converted many ACPI debug messages into error or warning messages. One extraneous message was incorrectly converted, resulting in logs being flooded by "Handle is NULL and Pathname is relative" messages on some systems. This patch (part of a larger ACPICA commit) converts the message back to debug level. Signed-off-by: Daniel Drake Signed-off-by: Adrian Bunk