commit a44fe13eab664ac488ced0845d9885b019bd24c5 tree 83da95a5b4b6a9b30c7c3dd0e129b589082b61aa parent 7644143cd6f7e029f3a8ea64f5fb0ab33ec39f72 author Benjamin Herrenschmidt Fri, 30 Sep 2005 08:25:17 +1000 committer Linus Torvalds Thu, 29 Sep 2005 15:42:58 -0700 [PATCH] Fix ppc64 smu driver locking The SMU driver has a small mistake in the locking of the interrupt code, if polled access and interrupt access race, interrupt may take a lock and return without releasing it. This fixes it. With that patch, the driver is rock solid with my experimental thermal control (which bangs it pretty hard) racing with real time clock and cpufreq handling. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit 7644143cd6f7e029f3a8ea64f5fb0ab33ec39f72 tree 253112e894c11c37a52ac93fe0f470fe990c2c18 parent 7d318d774789657c37a5e994a4a2cf59d4879ae7 author Mike Waychison Fri, 30 Sep 2005 00:01:27 +0200 committer Linus Torvalds Thu, 29 Sep 2005 15:41:42 -0700 [PATCH] x86_64: Fix mce_log The attempt to fixup the lockless mce log buffer introduced an infinite loop when trying to find a free entry. And: Using rcu_dereference() to load mcelog.next doesn't seem to be sufficient enough to ensure that mcelog.next is loaded each time around the loop in mce_log(). Instead, use an explicit rmb() to ensure that the compiler gets it right. AK: turned the smp_wmbs into true wmbs to make sure they are not reordered by the compiler on UP. Signed-off-by: Mike Waychison Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 7d318d774789657c37a5e994a4a2cf59d4879ae7 tree ac48b3dd2cd7c8bedb049f4062ef9959bc5c73bb parent 5acbc5cb507e6c381b70093b1081854708e82b16 author Andi Kleen Thu, 29 Sep 2005 22:05:55 +0200 committer Linus Torvalds Thu, 29 Sep 2005 15:41:42 -0700 [PATCH] Fix up TLB flush filter disabling I checked with AMD and they requested to only disable it for family 15. Also disable it for i386 too. And some style fixes. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5acbc5cb507e6c381b70093b1081854708e82b16 tree 504bf5b1a1079fedd424d130589a336745f803e9 parent 4a8342d233a39ee582e9f7260e12d2f5fd194a05 author Roland McGrath Thu, 29 Sep 2005 14:54:42 -0700 committer Linus Torvalds Thu, 29 Sep 2005 15:20:47 -0700 [PATCH] Fix task state testing properly in do_signal_stop() Any tests using < TASK_STOPPED or the like are left over from the time when the TASK_ZOMBIE and TASK_DEAD bits were in the same word, and it served to check for "stopped or dead". I think this one in do_signal_stop is the only such case. It has been buggy ever since exit_state was separated, and isn't testing the exit_state value. Signed-off-by: Roland McGrath Signed-off-by: Linus Torvalds commit 4a8342d233a39ee582e9f7260e12d2f5fd194a05 tree cf0972e1deec828977794cc300597bb448535d4c parent aa55a08687059aa169d10a313c41f238c2070488 author Linus Torvalds Thu, 29 Sep 2005 15:18:21 -0700 committer Linus Torvalds Thu, 29 Sep 2005 15:18:21 -0700 Revert task flag re-ordering, add comments Roland points out that the flags end up having non-obvious dependencies elsewhere, so revert aa55a08687059aa169d10a313c41f238c2070488 and add some comments about why things are as they are. We'll just have to fix up the broken comparisons. Roland has a patch. Signed-off-by: Linus Torvalds commit aa55a08687059aa169d10a313c41f238c2070488 tree 9eaad6fc01e385778142b451a22bef99af9ecc68 parent b20fd6508c565df04a6b5816f17e03b04d4f924d author Oleg Nesterov Thu, 29 Sep 2005 19:58:53 +0400 committer Linus Torvalds Thu, 29 Sep 2005 09:05:52 -0700 [PATCH] fix TASK_STOPPED vs TASK_NONINTERACTIVE interaction do_signal_stop: for_each_thread(t) { if (t->state < TASK_STOPPED) ++sig->group_stop_count; } However, TASK_NONINTERACTIVE > TASK_STOPPED, so this loop will not count TASK_INTERRUPTIBLE | TASK_NONINTERACTIVE threads. See also wait_task_stopped(), which checks ->state > TASK_STOPPED. Signed-off-by: Oleg Nesterov [ We really probably should always use the appropriate bitmasks to test task states, not do it like this. Using something like #define TASK_RUNNABLE (TASK_RUNNING | TASK_INTERRUPTIBLE | \ TASK_UNINTERRUPTIBLE | TASK_NONINTERACTIVE) and then doing "if (task->state & TASK_RUNNABLE)" or similar. But the ordering of the task states is historical, and keeping the ordering does make sense regardless. ] Signed-off-by: Linus Torvalds commit b20fd6508c565df04a6b5816f17e03b04d4f924d tree a280e4a780f15a872b1b1bd61b5935613b591fbb parent b38708fca9cc60d8a073a67c3b366116e38011c5 parent f04da5def8c460b1b52d3142da827ab01efa3a15 author Linus Torvalds Thu, 29 Sep 2005 09:00:04 -0700 committer Linus Torvalds Thu, 29 Sep 2005 09:00:04 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit b38708fca9cc60d8a073a67c3b366116e38011c5 tree 3a49164d3120840a8d5a673ef90f9185f0fc000a parent eb693d2994eb762b2201aead31066265ab0be20b author Deepak Saxena Wed, 28 Sep 2005 18:07:01 -0700 committer Linus Torvalds Thu, 29 Sep 2005 08:59:33 -0700 [PATCH] Fix thinko in previous ARM 2917/1 patch Previous patch accidently add IXDP425 mach entry when IXDP465 is configured. Signed-off-by: Deepak Saxena Signed-off-by: Linus Torvalds commit eb693d2994eb762b2201aead31066265ab0be20b tree 424e1e7f3d272d0fd5888435176b386594ce121f parent 6dec3cf5cdb600f39b9eac3349f6bf50eab87731 parent 01d40f28b125e0a9aa0ec24642be67fc4c5dfaff author Linus Torvalds Thu, 29 Sep 2005 08:56:47 -0700 committer Linus Torvalds Thu, 29 Sep 2005 08:56:47 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 6dec3cf5cdb600f39b9eac3349f6bf50eab87731 tree 868cecce3567d1d63591d38c8086294deb07620d parent 82810a906f8734ae6503ea11436a7164d2f86f2e parent 705747ab87c96f1b4b8e73ba617c323d9087f6ac author Linus Torvalds Thu, 29 Sep 2005 08:55:43 -0700 committer Linus Torvalds Thu, 29 Sep 2005 08:55:43 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 82810a906f8734ae6503ea11436a7164d2f86f2e tree 10b7231280f71d29efc65897b4b06b8fb47a81bc parent fe984bba30a29398578da3d8c0503fa39e84b838 author Deepak Saxena Wed, 28 Sep 2005 16:42:54 -0700 committer Linus Torvalds Thu, 29 Sep 2005 08:55:13 -0700 [PATCH] Fix ixp4xx MTD driver module build Missing ';' breaks module build. Signed-off-by: Deepak Saxena Signed-off-by: Linus Torvalds commit fe984bba30a29398578da3d8c0503fa39e84b838 tree a6520c40ad3681e1731b98aa0794691bc034e9cd parent 375726d7ed08bd8cf2fe3cfe6b164ffb37fa7e90 author Ben Dooks Thu, 29 Sep 2005 05:24:38 +0800 committer Linus Torvalds Thu, 29 Sep 2005 08:54:20 -0700 [PATCH] s3c2410fb: Minor warning fix The function s3c2410fb_activate_var does not return a value, therefore it should be declared void. Signed-off-by: Ben Dooks Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds commit 375726d7ed08bd8cf2fe3cfe6b164ffb37fa7e90 tree 2b022133a66d947e5cdecfa6f9027d914d17ee3c parent b2846dfa4aa1bbbf3f9977d67566952d7f621009 author Antonino A. Daplas Thu, 29 Sep 2005 05:19:51 +0800 committer Linus Torvalds Thu, 29 Sep 2005 08:54:20 -0700 [PATCH] intelfb: Fix regression (blank display) from ioremap patch - Workaround for the ioremap patch that produces a blank display on some chipsets - Make hwcursor = 0 the default. The hardware cursor does not work with all hardware. Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds commit b2846dfa4aa1bbbf3f9977d67566952d7f621009 tree 5c58a8e6dc823daa49b41d4c3e802915454a4788 parent ae8aed0314064da3002879fedc2d262c72865a17 author Al Viro Thu, 29 Sep 2005 00:42:27 +0100 committer Linus Torvalds Thu, 29 Sep 2005 08:46:27 -0700 [PATCH] mv64x60_wdt __user annotations and cleanups - use nonseekable_open() instead of messing with if (*ppos != file->f_pos) return -EISPIPE in ->write() (->read is NULL). - trivial __user annotations Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit ae8aed0314064da3002879fedc2d262c72865a17 tree fdb7d2d6c62a218f61c8537122a05899b9373d1c parent be88ec74cb48d1f60d0c0f059843f846f4481d87 author Al Viro Thu, 29 Sep 2005 00:37:34 +0100 committer Linus Torvalds Thu, 29 Sep 2005 08:46:27 -0700 [PATCH] saa6588 __user annotations Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit be88ec74cb48d1f60d0c0f059843f846f4481d87 tree b5e8a093f5a66f17d34b748022073293736e2f05 parent a7625d6e49cb4fd94be7576d85422c33003101b7 author Al Viro Thu, 29 Sep 2005 00:36:10 +0100 committer Linus Torvalds Thu, 29 Sep 2005 08:46:27 -0700 [PATCH] i810-i2c iomem annotations Signed-off-by: Al Viro Acked-by: Antonino Daplas Signed-off-by: Linus Torvalds commit a7625d6e49cb4fd94be7576d85422c33003101b7 tree ff36979caf0158a5c9a669610309cf6202ace191 parent 9fcdfcd90526c8c5c2bd117fd3713f8f0f1a46a8 author Al Viro Thu, 29 Sep 2005 00:34:30 +0100 committer Linus Torvalds Thu, 29 Sep 2005 08:46:27 -0700 [PATCH] mv64x60 iomem annotations Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 9fcdfcd90526c8c5c2bd117fd3713f8f0f1a46a8 tree 6bccc18ad2349ef8471f25a4c1b99827f96873d4 parent ea8a918eb71b503be13b861dbe18b93932fd6b62 author Al Viro Thu, 29 Sep 2005 00:31:14 +0100 committer Linus Torvalds Thu, 29 Sep 2005 08:46:27 -0700 [PATCH] ppc32 ld.script fix for building on ppc64 In arch/ppc/boot/ld.script we need OUTPUT_ARCH(powerpc:common) for the same reasons why we need it in vmlinux.lds.S; when we build on ppc64 box, we need to be explicit about the target. See http://linus.bkbits.net:8080/linux-2.5/cset@1.1784.8.10 for the corresponding fix in vmlinux.lds.S. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit ea8a918eb71b503be13b861dbe18b93932fd6b62 tree 65f9fc1bd79f2d222fb6ca709cedef80625b931e parent c28144763a7dcdceb2c16a5ac9c8e0022d547d28 author Al Viro Thu, 29 Sep 2005 00:17:49 +0100 committer Linus Torvalds Thu, 29 Sep 2005 08:46:27 -0700 [PATCH] ppc64 get_user annotations long is not uintptr_t, unsigned long is. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit c28144763a7dcdceb2c16a5ac9c8e0022d547d28 tree 92fffccddfe1b14ff364ac2910042bba275bf9d3 parent 0cc13a5442901835192ba47427f0f4e4d525d935 author Al Viro Thu, 29 Sep 2005 00:16:02 +0100 committer Linus Torvalds Thu, 29 Sep 2005 08:46:27 -0700 [PATCH] s390 signal annotations Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 0cc13a5442901835192ba47427f0f4e4d525d935 tree 286340e5de10bba4e825c2b7820d9d960d3d8f4c parent 272cd2b71d478371e0a5bf2c76a1e50cbf178698 author Al Viro Thu, 29 Sep 2005 00:12:13 +0100 committer Linus Torvalds Thu, 29 Sep 2005 08:46:27 -0700 [PATCH] ia64 basic __user annotations - document places where we pass kernel address to low-level primitive that deals with kernel/user addresses - uintptr_t is unsigned long, not long Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 272cd2b71d478371e0a5bf2c76a1e50cbf178698 tree 390c40699d331ff0986c4f50249d1b2d02736c82 parent 2ad4f86b60b649fd7428265c08d73a3bd360c81b author Al Viro Thu, 29 Sep 2005 00:10:01 +0100 committer Linus Torvalds Thu, 29 Sep 2005 08:46:26 -0700 [PATCH] arm/rpc iomem annotations Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 2ad4f86b60b649fd7428265c08d73a3bd360c81b tree 827d9076685968dc03d4b59d9d419b3f4b188693 parent 775b048d09c85d87a65a7ccd9c4f9372953a5d95 author Al Viro Thu, 29 Sep 2005 00:09:02 +0100 committer Linus Torvalds Thu, 29 Sep 2005 08:46:26 -0700 [PATCH] arm/versatile iomem annotations Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 775b048d09c85d87a65a7ccd9c4f9372953a5d95 tree ebe25d3a9296bf38368116c82a5adae2fc167af9 parent 87e0f3dbd3693bc4583474ab191cbdd5e3d9d0fa author Al Viro Thu, 29 Sep 2005 00:07:29 +0100 committer Linus Torvalds Thu, 29 Sep 2005 08:46:26 -0700 [PATCH] cyblafb: portability fixes, sanitized work with pointers Signed-off-by: Al Viro Acked-by: Knut Petersen Signed-off-by: Linus Torvalds commit 87e0f3dbd3693bc4583474ab191cbdd5e3d9d0fa tree a5237a18e01b4a72359f869617524620c517561c parent 666002218d59db271e5c1ede1d80227170c51987 author Alexey Dobriyan Thu, 29 Sep 2005 00:05:58 +0100 committer Linus Torvalds Thu, 29 Sep 2005 08:46:26 -0700 [PATCH] n_r3964: drop bogus fmt casts - print pointers with %p - casting pointer structure field to int and printing it with %d... Signed-off-by: Alexey Dobriyan Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 666002218d59db271e5c1ede1d80227170c51987 tree 1fadcb278c817ce56a653e5c3c58637f5056feec parent ecba97d4aacf4e80c56eb73e39af0369cb8539a4 author Al Viro Wed, 28 Sep 2005 22:32:57 +0100 committer Linus Torvalds Thu, 29 Sep 2005 08:46:26 -0700 [PATCH] proc_mkdir() should be used to create procfs directories A bunch of create_proc_dir_entry() calls creating directories had crept in since the last sweep; converted to proc_mkdir(). Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit ecba97d4aacf4e80c56eb73e39af0369cb8539a4 tree 79b845eb73b34e75d9f53fae17e53bd264595960 parent 54bb5675a6e966a58755ac44e3407f8ec2272b82 author Al Viro Wed, 28 Sep 2005 22:27:23 +0100 committer Linus Torvalds Thu, 29 Sep 2005 08:46:26 -0700 [PATCH] uml makefiles sanitized UML makefiles sanitized: - number of generated headers reduced to 2 (from user-offsets.c and kernel-offsets.c resp.). The rest is made constant and simply includes those two. - mk_... helpers are gone now that we don't need to generate these headers - arch/um/include2 removed since everything under arch/um/include/sysdep is constant now and symlink can point straight to source tree. - dependencies seriously simplified. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 01d40f28b125e0a9aa0ec24642be67fc4c5dfaff tree 9e449cedf8332cc2c37cc96151af5080831e9b0c parent 735631a9196db42631b8817892605ee72e13a58b author David S. Miller Wed, 28 Sep 2005 22:37:53 -0700 committer David S. Miller Wed, 28 Sep 2005 22:37:53 -0700 [NET]: Fix reversed logic in eth_type_trans(). I got the second compare_eth_addr() test reversed, oops. Signed-off-by: David S. Miller commit 705747ab87c96f1b4b8e73ba617c323d9087f6ac tree efef5a442b2cccd76f94ae6cf3848519043e742d parent d2212bc7db13268bef0799d9ff4b2e511c284885 author David S. Miller Wed, 28 Sep 2005 16:48:40 -0700 committer David S. Miller Wed, 28 Sep 2005 16:48:40 -0700 [SPARC64]: Fix bug in unaligned load endianness swapping The in-memory value was being swapped, not the value we loaded into the register. Signed-off-by: David S. Miller commit 735631a9196db42631b8817892605ee72e13a58b tree d6a939f4390c9cbcaecf203772b8405e1fe3da2e parent 9301e320e98ff19a0e48881b038d0c24ca76e6c0 author Martin Whitaker Wed, 28 Sep 2005 16:35:22 -0700 committer David S. Miller Wed, 28 Sep 2005 16:35:22 -0700 [ATM]: fix bug in atm address list handling From: Martin Whitaker Signed-off-by: Chas Williams commit 9301e320e98ff19a0e48881b038d0c24ca76e6c0 tree b625aa1cb6dab99f343cdf85e0f32e7838a7ad93 parent e2c4b72158a9f1286df41dee478e774f1b94e93a author Chas Williams Wed, 28 Sep 2005 16:35:01 -0700 committer David S. Miller Wed, 28 Sep 2005 16:35:01 -0700 [ATM]: track and close listen sockets when sigd exits Signed-off-by: Chas Williams commit e2c4b72158a9f1286df41dee478e774f1b94e93a tree f524c94f1bbee68d094362271ce44ebd6ac3e3e7 parent 6b251858d377196b8cea20e65cae60f584a42735 author Roman Kagan Wed, 28 Sep 2005 16:34:24 -0700 committer David S. Miller Wed, 28 Sep 2005 16:34:24 -0700 [ATM]: net/atm/ioctl.c: autoload pppoatm and br2684 Signed-off-by: Roman Kagan Signed-off-by: Chas Williams commit 6b251858d377196b8cea20e65cae60f584a42735 tree 4078d1d7fb50c25e222db5c54562da10ea4b4d5d parent 64233bffbb50f12e576c61d1698a573c8033004a author David S. Miller Wed, 28 Sep 2005 16:31:48 -0700 committer David S. Miller Wed, 28 Sep 2005 16:31:48 -0700 [TCP]: Fix init_cwnd calculations in tcp_select_initial_window() Match it up to what RFC2414 really specifies. Noticed by Rick Jones. Signed-off-by: David S. Miller commit 54bb5675a6e966a58755ac44e3407f8ec2272b82 tree d613e03fbe389509fc8086c262b1773ba56874cd parent 1146bc743e074760ef0dd08b3457f35a68069a54 author Dominik Brodowski Wed, 28 Sep 2005 19:29:59 +0200 committer Dominik Brodowski Wed, 28 Sep 2005 20:11:30 +0200 [PATCH] pcmcia: only start up nonstatic sockets if both mem and io are available Only start up nonstatic sockets if both IO and MEM resources are available. Thanks to Russell King and Matthew Wilcox for tracking this down. Signed-off-by: Dominik Brodowski commit 1146bc743e074760ef0dd08b3457f35a68069a54 tree db9ca4e89087f2a3d26319f5b637f958b669c414 parent 664cceb0093b755739e56572b836a99104ee8a75 author Dominik Brodowski Wed, 28 Sep 2005 19:28:37 +0200 committer Dominik Brodowski Wed, 28 Sep 2005 20:11:26 +0200 [PATCH] pcmcia: allow one port excludes Allow for excluding only one port in /etc/pcmcia/config.otps Signed-off-by: Dominik Brodowski commit 664cceb0093b755739e56572b836a99104ee8a75 tree dbaa3ab802803879f29532db4d8a91a54294cf88 parent 5134fc15b643dc36eb9aa77e4318b886844a9ac5 author David Howells Wed, 28 Sep 2005 17:03:15 +0100 committer Linus Torvalds Wed, 28 Sep 2005 09:10:47 -0700 [PATCH] Keys: Add possessor permissions to keys [try #3] The attached patch adds extra permission grants to keys for the possessor of a key in addition to the owner, group and other permissions bits. This makes SUID binaries easier to support without going as far as labelling keys and key targets using the LSM facilities. This patch adds a second "pointer type" to key structures (struct key_ref *) that can have the bottom bit of the address set to indicate the possession of a key. This is propagated through searches from the keyring to the discovered key. It has been made a separate type so that the compiler can spot attempts to dereference a potentially incorrect pointer. The "possession" attribute can't be attached to a key structure directly as it's not an intrinsic property of a key. Pointers to keys have been replaced with struct key_ref *'s wherever possession information needs to be passed through. This does assume that the bottom bit of the pointer will always be zero on return from kmem_cache_alloc(). The key reference type has been made into a typedef so that at least it can be located in the sources, even though it's basically a pointer to an undefined type. I've also renamed the accessor functions to be more useful, and all reference variables should now end in "_ref". Signed-Off-By: David Howells Signed-off-by: Linus Torvalds commit 5134fc15b643dc36eb9aa77e4318b886844a9ac5 tree 170339651303da0bb530c407300f09d3cd39caa2 parent 2dd3c1df95fb29e9227f16ccd7d786d129e2b34d author Paul Jackson Wed, 28 Sep 2005 06:42:24 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:58:51 -0700 [PATCH] cpuset read past eof memory leak fix Don't leak a page of memory if user reads a cpuset file past eof. Signed-off-by: KUROSAWA Takahiro Signed-off-by: Paul Jackson Signed-off-by: Linus Torvalds commit 2dd3c1df95fb29e9227f16ccd7d786d129e2b34d tree 60f05d91184e73d3e85b125f6e13ac0ceedc3231 parent 5c382300876f2337f7b945c159ffcaf285f296ea parent a1c337afaf4ec4d4eabc75a5e1170d03161de4e1 author Linus Torvalds Wed, 28 Sep 2005 07:47:55 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:47:55 -0700 Merge branch 'for-linus' from master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband commit 5c382300876f2337f7b945c159ffcaf285f296ea tree d505f231c23d415f2609c6bf0ef7c196503dc161 parent 0f9578b70a9f112bfb541e1d5ab486a376e64503 author Alok N Kataria Tue, 27 Sep 2005 21:45:46 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:42 -0700 [PATCH] kmalloc_node IRQ safety fix In kmalloc_node we are checking if the allocation is for the same node when interrupts are "on". This may lead to an allocation on another node than intended. This patch just shifts the check for the current node in __cache_alloc_node when interrupts are disabled. Signed-off-by: Alok N Kataria Acked-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0f9578b70a9f112bfb541e1d5ab486a376e64503 tree 00e93df9f9920c43ace34e28298255dc8a0f9263 parent 485ef69edefd7fc7f351c94d0d77b3ed8a242f7b author Benjamin Herrenschmidt Tue, 27 Sep 2005 21:45:45 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:42 -0700 [PATCH] ppc64: More hugepage fixes My previous patch fixing invalidation of huge PTEs wasn't good enough, we still had an issue if a PTE invalidation batch contained both small and large pages. This patch fixes this by making sure the batch is flushed if the page size fed to it changes. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 485ef69edefd7fc7f351c94d0d77b3ed8a242f7b tree 597d4529ae29a56fe433399ce840d3cdce7b1680 parent 269fd2a6f84828fd96218d164dace8c413fa5c03 author Alasdair G Kergon Tue, 27 Sep 2005 21:45:45 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:42 -0700 [PATCH] device-mapper: Fix queue_if_no_path initialisation When creating a multipath device, if the queue_if_no_path parameter is specified it gets ignored. While the queue_if_no_path variable is correctly set to 1, the saved_queue_if_no_path gets set to 0. When the device is subsequently made live (resumed), the saved value (0) always overwrites the live value (1) so the option *always* gets turned off. The fix adds a parameter to the queue_if_no_path() function to indicate whether the previous value should be preserved or not - if not, as when the device is being set up, the saved value is set to the new value (1). Signed-Off-By: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 269fd2a6f84828fd96218d164dace8c413fa5c03 tree 20496da0d4e5c5a6096a0e690b5b603ace6f7baf parent 0f7347c20c410c300be0db4c132945fd02e54110 author goggin, edward Tue, 27 Sep 2005 21:45:44 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:42 -0700 [PATCH] device-mapper: Trigger an event when a table is deleted If anything is waiting on a device's table when the device is removed, we must first wake it up so it will release its reference. Otherwise the table's reference count will not drop to zero and the table will not get removed. Signed-Off-By: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0f7347c20c410c300be0db4c132945fd02e54110 tree 8f8a059eaed60c6d4f98a62f7dde447d4a76b9e3 parent f65a4d10c8a4eb9f919cf416e5dcd720b7d20f50 author Rafael J. Wysocki Tue, 27 Sep 2005 21:45:43 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:41 -0700 [PATCH] swsusp: avoid problems if there are too many pages to save The following patch makes swsusp avoid problems during resume if there are too many pages to save on suspend. It adds a constant that allows us to verify if we are going to save too many pages and implements the check (this is done as early as we can tell that the check will trigger, which is in swsusp_alloc()). Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f65a4d10c8a4eb9f919cf416e5dcd720b7d20f50 tree 71bb423f5c16dddcb16c5ec9ca431f8658ace866 parent b3ca80935100af47f226be439cb266378dab7bf7 author Benjamin Herrenschmidt Tue, 27 Sep 2005 21:45:41 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:41 -0700 [PATCH] orinoco: Fix flood of kernel log with stupid WE warnings Latest wireless extensions moved a field from netdev -> wireless_handlers. The WE core will now printk a warning on every call to get_wireless_stats() on a driver that still uses the old field. This patch fixes orinoco. Signed-off-by: Benjamin Herrenschmidt Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b3ca80935100af47f226be439cb266378dab7bf7 tree 8633bb97958ccc79a5f7a96d391aaca1bab926cd parent ed90fb4a19956cece996eb1d26534f592918730e author Anton Blanchard Tue, 27 Sep 2005 21:45:38 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:41 -0700 [PATCH] ppc64: Add missing barrier() in kexec code Mikey and I were testing kexec and hit a lockup. It turns out gcc 4.0 optimises the kexec_prepare_cpus loop so we avoid reloading paca.hw_cpu_id. A gcc barrier() fixes the problem. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed90fb4a19956cece996eb1d26534f592918730e tree 4338f247d95cc6fb3e881d8119ace746b6d299cd parent 6c132b5fe6579ed4b4892c02fe6c05f7e3afc579 author Paul Jackson Tue, 27 Sep 2005 21:45:37 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:41 -0700 [PATCH] cpuset maintainers Specify the cpuset maintainers. Signed-off-by: Paul Jackson Signed-off-by: Simon Derr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6c132b5fe6579ed4b4892c02fe6c05f7e3afc579 tree 4dd6236d24fdd9aec545b8feb51516bbf052c12e parent a9d014afc3609e3094fd06176380ed057edd4a1b author john stultz Tue, 27 Sep 2005 21:45:36 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:41 -0700 [PATCH] x86-64: Fix bad assumption that dualcore cpus have synced TSCs This should resolve the issue seen in bugme bug #5105, where it is assumed that dualcore x86_64 systems have synced TSCs. This is not the case, and alternate timesources should be used instead. For more details, see: http://bugzilla.kernel.org/show_bug.cgi?id=5105 Andi's earlier concerns that the TSCs should be synced on dualcore systems have been resolved by confirmation from AMD folks that they can be unsynced. Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a9d014afc3609e3094fd06176380ed057edd4a1b tree 655a49bf63f90cdbd4ff7822e54219a575d57bc2 parent f4208b9a9538baabad197276076bc1d4f52d42b9 author Corey Minyard Tue, 27 Sep 2005 21:45:35 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:41 -0700 [PATCH] Add IPMI poweroff control to sysfs Put the IPMI poweroff_powercycle parameter into sysfs. This field is dynamically settable and is valuable to have in sysfs. Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f4208b9a9538baabad197276076bc1d4f52d42b9 tree a13d24a36d77d948c47b8f948cd426aa84da42ff parent f36462f078403c1859a7e58177b28e01b3a179e4 author Benjamin Herrenschmidt Tue, 27 Sep 2005 21:45:35 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:41 -0700 [PATCH] ppc: fix stupid thinko in oprofile fix I did something stupid in my oprofile fix, here's the obvious fix: Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f36462f078403c1859a7e58177b28e01b3a179e4 tree 48cc5b800e8fb6701a18135e015ebe57b4f1be60 parent e3306dd5f7eb2e699f36a4a313fca4b48b18d5e1 author Rusty Russell Tue, 27 Sep 2005 21:45:34 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:41 -0700 [PATCH] Ignore trailing whitespace on kernel parameters correctly Dave Jones says: ... if the modprobe.conf has trailing whitespace, modules fail to load with the following helpful message.. snd_intel8x0: Unknown parameter `' Previous version truncated last argument. Signed-off-by: Rusty Russell Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e3306dd5f7eb2e699f36a4a313fca4b48b18d5e1 tree 2b9a02d3b5b4fdd421267ff7c925222a5caddb79 parent f2d613799af915da1fd78463ba8ec5086a0d6f92 author Davide Libenzi Tue, 27 Sep 2005 21:45:33 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:41 -0700 [PATCH] epoll: handle timeout overflow Handle the timeout upper boundary for epoll. Signed-off-by: Davide Libenzi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f2d613799af915da1fd78463ba8ec5086a0d6f92 tree dba02c1108bd9e101ce4986c458a2fa2a400eb56 parent 254b54771cc4c00002f796be65d2885191dca9dc author Rafael J. Wysocki Tue, 27 Sep 2005 21:45:32 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:40 -0700 [PATCH] swsusp: prevent possible memory leak Prevent swsusp from leaking some memory in case of an error in read_pagedir(). It also prevents the BUG_ON() from triggering if there's an error while reading swap. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 254b54771cc4c00002f796be65d2885191dca9dc tree bb9503e93d40da3f5a19aa2db45f3e31338e5a63 parent 249a6771afcdfaca0ac178f63343aff2c4dc2853 author Rafael J. Wysocki Tue, 27 Sep 2005 21:45:31 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:40 -0700 [PATCH] swsusp: remove wrong code from data_free The following patch removes some wrong code from the data_free() function in swsusp. This function could only be called if there's an error while writing the suspend image to swap, so it is not triggered easily. However, if triggered, it would probably corrupt some memory. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 249a6771afcdfaca0ac178f63343aff2c4dc2853 tree 7a3c940650dc10a7c57f1a907ec7c7c470eba662 parent 88bdcc5d5e9a7ea280f99262f48b70aba9d949bf author Peter Osterlund Tue, 27 Sep 2005 21:45:30 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:40 -0700 [PATCH] pktcdvd: MAINTAINERS record Add a MAINTAINERS entry for the pktcdvd driver. Signed-off-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88bdcc5d5e9a7ea280f99262f48b70aba9d949bf tree 2543d9a35e2ae0e6ff577065edd577ed5b1dfdb1 parent 0b8dd17762194ec77066d339e0b2866b0c66b715 author Jon Burgess Tue, 27 Sep 2005 21:45:26 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:40 -0700 [PATCH] dvb: fix NULL pointer dereference when loading the budget-av module Ralph Metzler wrote: > AFAIR, there is a bug in tda10021.c in tda10021_readreg() which > references state->frontend.dvb->num > This is fatal if the frontend is not at the probed address and thus > not yet registered (no dvb entry set yet -> NULL pointer ...). The attached patch should get rid of the oops. Signed-off-by: Jon Burgess Cc: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0b8dd17762194ec77066d339e0b2866b0c66b715 tree 710bb489487c83fc03008228080d47f08662cc9f parent dc7b5fd6b0d3beb41f9e5e3a94dd1eadf52209f3 author Latchesar Ionkov Tue, 27 Sep 2005 21:45:24 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:40 -0700 [PATCH] v9fs: fix races in fid allocation Fid management cleanup. The patch attempts to fix the races in dentry's fid management. Dentries don't keep the opened fids anymore, they are moved to the file structs. Ideally there should be no more than one fid with fidcreate equal to zero in the dentry's list of fids. v9fs_fid_create initializes the important fields (fid, fidcreated) before v9fs_fid is added to the list. v9fs_fid_lookup returns only fids that are not created by v9fs_create. v9fs_fid_get_created returns the fid created by the same process by v9fs_create (if any) and removes it from dentry's list Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dc7b5fd6b0d3beb41f9e5e3a94dd1eadf52209f3 tree 4ec658a634151c19af2f9b2b184aaa22949ef1a3 parent 9ed6c2fb34a1fb493caec8a9644d05bb880a6923 author Chris Sykes Tue, 27 Sep 2005 21:45:23 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:40 -0700 [PATCH] Fix ext3_new_inode() failure paths Fix failure paths in ext3_new_inode() and clean up duplicated code: - DQUOT_DROP() was not being called if ext3_init_security() failed. Signed-off-by: Chris Sykes Cc: Stephen Smalley Cc: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ed6c2fb34a1fb493caec8a9644d05bb880a6923 tree 17dddf69de7c856a1f8d81a8a8709bc1640aecf5 parent ee4e52719ce474af339f4b81ece2ce9ecf920dfd author Chris Sykes Tue, 27 Sep 2005 21:45:22 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:40 -0700 [PATCH] Fix ext2_new_inode() failure paths Fix failure paths in ext2_new_inode() and clean up duplicated code: - DQUOT_DROP() was not being called if ext2_init_security() failed. Signed-off-by: Chris Sykes Cc: Stephen Smalley Cc: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ee4e52719ce474af339f4b81ece2ce9ecf920dfd tree ffcc4b530d1cc88d35b665b7efcfc93a0044800f parent 909021ea7a8f4ef13af54935b87b03a20906e08a author Miklos Szeredi Tue, 27 Sep 2005 21:45:21 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:40 -0700 [PATCH] fuse: check reserved node ID values This patch checks reserved node ID values returned by lookup and creation operations. In case one of the reserved values is sent, return -EIO. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 909021ea7a8f4ef13af54935b87b03a20906e08a tree 648136fc96e39cc47626aa2c5eb74f5a658426ae parent 8b1f3124618b54cf125dea3a074b9cf469117723 author Miklos Szeredi Tue, 27 Sep 2005 21:45:20 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:40 -0700 [PATCH] fuse: add required version info Add information about required version of the userspace library/utilities to Documentation/Changes. Also add pointer to this and to FUSE documentation from Kconfig. Thanks to Anton Altaparmakov for the reminder. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b1f3124618b54cf125dea3a074b9cf469117723 tree 19ef8a7fe9cc5b1c46dc973ea151edab4aba2b8a parent 95001ee9256df846e374f116c92ca8e0beec1527 author Nick Piggin Tue, 27 Sep 2005 21:45:18 -0700 committer Linus Torvalds Wed, 28 Sep 2005 07:46:40 -0700 [PATCH] mm: move_pte to remap ZERO_PAGE Move the ZERO_PAGE remapping complexity to the move_pte macro in asm-generic, have it conditionally depend on __HAVE_ARCH_MULTIPLE_ZERO_PAGE, which gets defined for MIPS. For architectures without __HAVE_ARCH_MULTIPLE_ZERO_PAGE, move_pte becomes a noop. From: Hugh Dickins Fix nasty little bug we've missed in Nick's mremap move ZERO_PAGE patch. The "pte" at that point may be a swap entry or a pte_file entry: we must check pte_present before perhaps corrupting such an entry. Patch below against 2.6.14-rc2-mm1, but the same bug is in 2.6.14-rc2's mm/mremap.c, and more dangerous there since it's affecting all arches: I think the safest course is to send Nick's patch and Yoichi's build fix and this fix (build tested) on to Linus - so only MIPS can be affected. Signed-off-by: Nick Piggin Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d2212bc7db13268bef0799d9ff4b2e511c284885 tree 8f1ff9d5b790272de29381f3d707251f0dc43c5d parent f16af555cc46a724507da371fbac94b430c93315 author David S. Miller Tue, 27 Sep 2005 22:50:06 -0700 committer David S. Miller Tue, 27 Sep 2005 22:50:06 -0700 [SPARC64]: Add missing IDs for newer cpus. Also, the us3_cpufreq driver can work on Ultra-IV and IV+. They use the SAFARI bus register to control the clock divider just like Ultra-III and III+ do. Signed-off-by: David S. Miller commit f16af555cc46a724507da371fbac94b430c93315 tree 163fa08a1e8f12c9ed0a9b222cc8468bbe945d4f parent 95001ee9256df846e374f116c92ca8e0beec1527 author David S. Miller Tue, 27 Sep 2005 22:37:08 -0700 committer David S. Miller Tue, 27 Sep 2005 22:37:08 -0700 [SPARC64]: Add defines for 32MB/256MB PTE page size on Ultra-IV+. Signed-off-by: David S. Miller commit 64233bffbb50f12e576c61d1698a573c8033004a tree f7dfba61e92688189150549d892617e7ae1869ab parent ba645c16026ed733a51f904df34756f61bc155fc author Oliver Dawid Tue, 27 Sep 2005 16:11:29 -0700 committer David S. Miller Tue, 27 Sep 2005 16:11:29 -0700 [APPLETALK]: Fix broadcast bug. From: Oliver Dawid we found a bug in net/appletalk/ddp.c concerning broadcast packets. In kernel 2.4 it was working fine. The bug first occured 4 years ago when switching to new SNAP layer handling. This bug can be splitted up into a sending(1) and reception(2) problem: Sending(1) In kernel 2.4 broadcast packets were sent to a matching ethernet device and atalk_rcv() was called to receive it as "loopback" (so loopback packets were shortcutted and handled in DDP layer). When switching to the new SNAP structure, this shortcut was removed and the loopback packet was send to SNAP layer. The author forgot to replace the remote device pointer by the loopback device pointer before sending the packet to SNAP layer (by calling ddp_dl->request() ) therfor the packet was not sent back by underlying layers to ddp's atalk_rcv(). Reception(2) In atalk_rcv() a packet received by this loopback mechanism contains now the (rigth) loopback device pointer (in Kernel 2.4 it was the (wrong) remote ethernet device pointer) and therefor no matching socket will be found to deliver this packet to. Because a broadcast packet should be send to the first matching socket (as it is done in many other protocols (?)), we removed the network comparison in broadcast case. Below you will find a patch to correct this bug. Its diffed to kernel 2.6.14-rc1 Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit ba645c16026ed733a51f904df34756f61bc155fc tree 504d51adf47bb9fa3cd548e5594f15a60faeba6c parent 2fab35d78f32fc107e1af4b1ec23f557fa20d911 author David S. Miller Tue, 27 Sep 2005 16:03:05 -0700 committer David S. Miller Tue, 27 Sep 2005 16:03:05 -0700 [NET]: Slightly optimize ethernet address comparison. We know the thing is at least 2-byte aligned, so take advantage of that instead of invoking memcmp() which results in truly horrifically inefficient code because it can't assume anything about alignment. Signed-off-by: David S. Miller commit 2fab35d78f32fc107e1af4b1ec23f557fa20d911 tree d9380be1b80e53ea2308f72bba43f0f527fec947 parent 520d1b830a93086c1f9e969d98f7ef01f0356493 author Ben Dooks Tue, 27 Sep 2005 15:59:43 -0700 committer David S. Miller Tue, 27 Sep 2005 15:59:43 -0700 [NET]: Fix GCC4 compile error: sysctl in linux/if_ether.h The following is generated when compiling a recent (2.6.14-rc2-git5) kernel configured for ARM, with GCC4. CC init/main.o In file included from include/linux/netdevice.h:29, from include/net/sock.h:48, from init/main.c:50: include/linux/if_ether.h:114: error: array type has incomplete element type It seems that if CONFIG_SYSCTL is not set, then the compiler will throw an error due to the definition of the ether_table[] array Attached is a solution to the problem Signed-off-by: Ben Dooks Signed-off-by: David S. Miller commit 520d1b830a93086c1f9e969d98f7ef01f0356493 tree e1bc5f9e73b43b8fb3ae4fb8c6c0bc06ba3286e4 parent a83cd2cc90bd9390cf03cd40bba204d9ed520633 author Alexey Dobriyan Tue, 27 Sep 2005 15:45:15 -0700 committer David S. Miller Tue, 27 Sep 2005 15:45:15 -0700 [ROSE]: fix typo (regeistration) Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit a83cd2cc90bd9390cf03cd40bba204d9ed520633 tree b5c829bd75b2252a7fe0232c7625035783a2eaea parent 70ff3b66d79c5110e533f3f2aea1a5b2fc5f8d90 author Alexey Dobriyan Tue, 27 Sep 2005 15:44:36 -0700 committer David S. Miller Tue, 27 Sep 2005 15:44:36 -0700 [ROSE]: check rose_ndevs earlier * Don't bother with proto registering if rose_ndevs is bad. * Make escape structure more coherent. Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit 70ff3b66d79c5110e533f3f2aea1a5b2fc5f8d90 tree 49eb955f8989de09ae4a77fcf8b92538f4a76bdb parent c3c4ed652e8f2c348ebdd3f2e45664a0e238ee52 author Alexey Dobriyan Tue, 27 Sep 2005 15:43:46 -0700 committer David S. Miller Tue, 27 Sep 2005 15:43:46 -0700 [ROSE]: return sane -E* from rose_proto_init() Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit c3c4ed652e8f2c348ebdd3f2e45664a0e238ee52 tree ec5633fcc20280857b850937645467bb618bfd4d parent 1f26dac32057baaf67d10b45c6b5277db862911d author Alexey Dobriyan Tue, 27 Sep 2005 15:42:58 -0700 committer David S. Miller Tue, 27 Sep 2005 15:42:58 -0700 [ROSE]: do proto_unregister() on exit paths Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit 1f26dac32057baaf67d10b45c6b5277db862911d tree b9a6872f69deb7642f7034dcd39c29cac5e78222 parent a79af59efd20990473d579b1d8d70bb120f0920c author David S. Miller Tue, 27 Sep 2005 15:24:13 -0700 committer David S. Miller Tue, 27 Sep 2005 15:24:13 -0700 [NET]: Add Sun Cassini driver. Written by Adrian Sun (asun@darksunrising.com). Ported to 2.6.x by Tom 'spot' Callaway . Further cleaned up and integrated by David S. Miller Signed-off-by: David S. Miller commit a79af59efd20990473d579b1d8d70bb120f0920c tree 763cc7f083cf922e30537c89d92765415ada78e4 parent 9356b8fc07dc126cd91d2b12f314d760ab48996e author Frank Filz Tue, 27 Sep 2005 15:23:38 -0700 committer David S. Miller Tue, 27 Sep 2005 15:23:38 -0700 [NET]: Fix module reference counts for loadable protocol modules I have been experimenting with loadable protocol modules, and ran into several issues with module reference counting. The first issue was that __module_get failed at the BUG_ON check at the top of the routine (checking that my module reference count was not zero) when I created the first socket. When sk_alloc() is called, my module reference count was still 0. When I looked at why sctp didn't have this problem, I discovered that sctp creates a control socket during module init (when the module ref count is not 0), which keeps the reference count non-zero. This section has been updated to address the point Stephen raised about checking the return value of try_module_get(). The next problem arose when my socket init routine returned an error. This resulted in my module reference count being decremented below 0. My socket ops->release routine was also being called. The issue here is that sock_release() calls the ops->release routine and decrements the ref count if sock->ops is not NULL. Since the socket probably didn't get correctly initialized, this should not be done, so we will set sock->ops to NULL because we will not call try_module_get(). While searching for another bug, I also noticed that sys_accept() has a possibility of doing a module_put() when it did not do an __module_get so I re-ordered the call to security_socket_accept(). Signed-off-by: Frank Filz Signed-off-by: David S. Miller commit 9356b8fc07dc126cd91d2b12f314d760ab48996e tree 908b193442d0e2ad345c05547d227809bc162a0a parent 2d7ceece08ad940d0ceac98ab1b5a3b82dfc2a0a author Eric Dumazet Tue, 27 Sep 2005 15:23:16 -0700 committer David S. Miller Tue, 27 Sep 2005 15:23:16 -0700 [NET]: Reorder some hot fields of struct net_device Place them on separate cache lines in SMP to lower memory bouncing between multiple CPU accessing the device. - One part is mostly used on receive path (including eth_type_trans()) (poll_list, poll, quota, weight, last_rx, dev_addr, broadcast) - One part is mostly used on queue transmit path (qdisc) (queue_lock, qdisc, qdisc_sleeping, qdisc_list, tx_queue_len) - One part is mostly used on xmit path (device) (xmit_lock, xmit_lock_owner, priv, hard_start_xmit, trans_start) 'features' is placed outside of these hot points, in a location that may be shared by all cpus (because mostly read) name_hlist is moved close to name[IFNAMSIZ] to speedup __dev_get_by_name() Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller commit 2d7ceece08ad940d0ceac98ab1b5a3b82dfc2a0a tree 7b439a9d765c2cb63f33deddda649014957bfc00 parent bc8dfcb93970ad7139c976356bfc99d7e251deaf author Eric Dumazet Tue, 27 Sep 2005 15:22:58 -0700 committer David S. Miller Tue, 27 Sep 2005 15:22:58 -0700 [NET]: Prefetch dev->qdisc_lock in dev_queue_xmit() We know the lock is going to be taken. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller commit bc8dfcb93970ad7139c976356bfc99d7e251deaf tree afcd38d0fda2f35edf11535d56fc9c54acab4808 parent 95001ee9256df846e374f116c92ca8e0beec1527 author Daniel Phillips Tue, 27 Sep 2005 15:22:35 -0700 committer David S. Miller Tue, 27 Sep 2005 15:22:35 -0700 [NET]: Use non-recursive algorithm in skb_copy_datagram_iovec() Use iteration instead of recursion. Fraglists within fraglists should never occur, so we BUG check this. Signed-off-by: Daniel Phillips Signed-off-by: David S. Miller commit a1c337afaf4ec4d4eabc75a5e1170d03161de4e1 tree a0d90a032233b63c93f3053ee2e9f9ea86e3ee9c parent f02b16bea2d8411b21a531fc381e066985895387 author Jack Morgenstein Tue, 27 Sep 2005 13:54:44 -0700 committer Roland Dreier Tue, 27 Sep 2005 13:54:44 -0700 [IB] mthca: fix hw_ver value returned from mthca_query_device The IB spec defines the field to be 32 bits, not 16 bits. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 95001ee9256df846e374f116c92ca8e0beec1527 tree ef682e01be51423592d19c5c9425363ef3881ca7 parent 63906e41fe70fe8a376c5887429448272a0ee7d4 parent 0dc461069879b45a2d5333bd16990f8080a318fd author Linus Torvalds Tue, 27 Sep 2005 13:33:25 -0700 committer Linus Torvalds Tue, 27 Sep 2005 13:33:25 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 63906e41fe70fe8a376c5887429448272a0ee7d4 tree 38129b935e279d1e127eed4ad20fcfeb60187602 parent 59175839783287d3b03f18460bb3539c69300837 parent c8a6c2963982c68475f409aeee21aa80b923cb9c author Linus Torvalds Tue, 27 Sep 2005 13:32:33 -0700 committer Linus Torvalds Tue, 27 Sep 2005 13:32:33 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 59175839783287d3b03f18460bb3539c69300837 tree 8abf324e8c8621d82774bb92a981a0629ae77944 parent 5c1f4cac6ff75a4a602bae960a054ed3df7e9765 author Krzysztof Benedyczak Tue, 27 Sep 2005 22:21:36 +0200 committer Linus Torvalds Tue, 27 Sep 2005 13:30:45 -0700 [PATCH] Make POSIX message queue sys_mq_open() honor umask We ignored umask when creating new queues via mq_open (when creating with open() on mqueue fs it is ok of course). According to the specification this a bug. This trivial patch fixes this. Signed-off-by: Krzysztof Benedyczak Signed-off-by: Linus Torvalds commit c8a6c2963982c68475f409aeee21aa80b923cb9c tree 781fe0d6bfcf836c898f99ab8a50929247c614ca parent f9804ddbeec2ea709255830a8822bfb4e7584f6a author David S. Miller Tue, 27 Sep 2005 12:13:38 -0700 committer David S. Miller Tue, 27 Sep 2005 12:13:38 -0700 [TG3]: Update driver version and release date. Signed-off-by: David S. Miller commit f9804ddbeec2ea709255830a8822bfb4e7584f6a tree 09aad8dd07b795540a718bb48f6f1c1a7f1c496d parent c94e39418ab6eccf863581f4e0d847da0080b2d3 author Michael Chan Tue, 27 Sep 2005 12:13:10 -0700 committer David S. Miller Tue, 27 Sep 2005 12:13:10 -0700 [TG3]: misc. fixes Fix interrupt test handler by adding check for IRQ assertion in PCI_STATE register in addition to the status block updated bit. Add test for valid ethernet address in tg3_set_mac_addr(). Add tg3_bus_string() to setup the PCI bus speed/width string for all PCI/PCIX/PCI Express devices. This is used to print the bus type during init_one(). Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit c94e39418ab6eccf863581f4e0d847da0080b2d3 tree d7b38279d14d93160ffaed214898973fb2062061 parent 667347f1ca7e099f6833551f194cf2bcc778871b author Michael Chan Tue, 27 Sep 2005 12:12:42 -0700 committer David S. Miller Tue, 27 Sep 2005 12:12:42 -0700 [TG3]: 5780 PHY fixes Fix 5780 PHY related problems: 1. MAC_RX_MODE reset must be done before setting up the MAC_MODE register on 5705_PLUS chips or the chip will stop receiving after a while. The MAC_RX_MODE reset is needed to prevent intermittently losing the first receive packet on serdes chips. 2. Skip MAC loopback test on 5780 because of hardware errata. Normal traffic including PHY loopback is not affected by the errata. 3. PHY loopback fails intermittently on 5708S and this is fixed by putting the PHY in loopback mode first before programming the MAC mode register. A MAC_RX_MODE reset is also added. 4. Return -EINVAL in tg3_nway_reset() if device is in TBI mode. Allow nway_reset if 5780S is in parallel detect mode. 5. Add missing PHY IDs in KNOWN_PHY_ID() macro. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 667347f1ca7e099f6833551f194cf2bcc778871b tree 6478c6911e69a62b10ad3599d0294372905f5b2d parent 56e9b263242ca80a70abd8831343b268315c27dc author David S. Miller Tue, 27 Sep 2005 12:07:44 -0700 committer David S. Miller Tue, 27 Sep 2005 12:07:44 -0700 [NEIGH]: Add debugging check when adding timers. If we double-add a neighbour entry timer, which should be impossible but has been reported, dump the current state of the entry so that we can debug this. Signed-off-by: David S. Miller commit f02b16bea2d8411b21a531fc381e066985895387 tree e129e595b978238b2f2c9966acab0cc8a761e0ad parent 63c47c286d062d93e0501d60797274c84a587e97 author Michael S. Tsirkin Mon, 26 Sep 2005 21:12:26 -0700 committer Roland Dreier Mon, 26 Sep 2005 21:12:26 -0700 [IB] mthca: Round up number of slots in HCA context memory table When allocating a table for mem-free HCA context, don't assume that obj_size * nobj is an even multiple of MTHCA_TABLE_CHUNK_SIZE. In particular, make sure we allocate at least one slot even if the table is smaller than MTHCA_TABLE_CHUNK_SIZE. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 5c1f4cac6ff75a4a602bae960a054ed3df7e9765 tree 31b0b05a41345e9dbf802a309ddf21eb506e8550 parent c6a519d2aac024d8ca5658bddd78af474b274e4b parent 56e9b263242ca80a70abd8831343b268315c27dc author Linus Torvalds Mon, 26 Sep 2005 18:33:26 -0700 committer Linus Torvalds Mon, 26 Sep 2005 18:33:26 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit c6a519d2aac024d8ca5658bddd78af474b274e4b tree e4af2a089c9722a9314aa1e965147b9d200ffe70 parent bf0cbb3e4264e9d6493af757f63d4b0527d21eab parent 819ccc86a43739e0cf443b6d6641a8722869be01 author Linus Torvalds Mon, 26 Sep 2005 18:32:48 -0700 committer Linus Torvalds Mon, 26 Sep 2005 18:32:48 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit bf0cbb3e4264e9d6493af757f63d4b0527d21eab tree 61903263aa73f98d0d6d7fbc77013080b0eb8856 parent 0b1556945475e8529328edf98ff0d201ed133edb parent 4fb7edce52e5b6cf41e3375822d74a27f0b6f2dd author Linus Torvalds Mon, 26 Sep 2005 18:31:36 -0700 committer Linus Torvalds Mon, 26 Sep 2005 18:31:36 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/brodo/pcmcia-fixes-2.6 commit 0b1556945475e8529328edf98ff0d201ed133edb tree 2093425c89eae4ab7dbb9be70c2efb8d084ced2a parent a880948b2b88c05af9a471ca5c52883e64d3f7b8 author Al Viro Mon, 26 Sep 2005 07:49:27 +0100 committer Linus Torvalds Mon, 26 Sep 2005 18:29:50 -0700 [PATCH] missing dependency on arm O= builds arm maketools needs include/asm-arm in place in the build tree. On normal builds it's always there, of course, but on O= it's created (by generic code) too late - when we get to asm-offset.h. We used to get away with that by accident - creation of include/asm-arm/arch symlink creates include/asm-arm and it happened to go before maketools. However, we did not have such dependency, so that luck didn't last - now maketools is picked first and we are screwed. Both the symlink and maketools are prerequisites of the same target (archprepare). This fix is obvious - make the latter explicitly depend on the former and be done with that. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit a880948b2b88c05af9a471ca5c52883e64d3f7b8 tree d4329f5c54a7bd7e57699a8c194446109a6f6047 parent c74dbac71419cdeaca8cd637ee666d6947961695 author Al Viro Mon, 26 Sep 2005 06:19:28 +0100 committer Linus Torvalds Mon, 26 Sep 2005 18:29:50 -0700 [PATCH] m32r: more basic __user annotations Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit c74dbac71419cdeaca8cd637ee666d6947961695 tree 0d1a25a9a9d664d31fa2715be93b886b42bb0eb1 parent 24558a0f7a00fccd19a6e6502956463f056ce90e author Al Viro Mon, 26 Sep 2005 06:19:28 +0100 committer Linus Torvalds Mon, 26 Sep 2005 18:29:50 -0700 [PATCH] m32r: set CHECKFLAGS properly We do _not_ need "sparse" in sparse arguments ;-) What we do need is __BIG_ENDIAN__; right now unconditional, when m32r starts using CPU_LITTLE_ENDIAN, we'll need to adjust. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 24558a0f7a00fccd19a6e6502956463f056ce90e tree 45d150a4e1855a19f1c575719d266112789f9451 parent ce3a161e693388aaa66d43d26156053311a39b7d author Al Viro Mon, 26 Sep 2005 06:19:28 +0100 committer Linus Torvalds Mon, 26 Sep 2005 18:29:50 -0700 [PATCH] m32r: missing __iomem in ioremap() declaration Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit ce3a161e693388aaa66d43d26156053311a39b7d tree dc70910ba6321c8aef0721909edc8141907ba595 parent 7625d483a454cbc8090c5d304eea0847210d6b99 author Al Viro Mon, 26 Sep 2005 05:49:44 +0100 committer Linus Torvalds Mon, 26 Sep 2005 18:29:50 -0700 [PATCH] useless includes of linux/irq.h in arch/i386 Most of these guys are simply not needed (pulled by other stuff via asm-i386/hardirq.h). One that is not entirely useless is hilarious - arch/i386/oprofile/nmi_timer_int.c includes linux/irq.h... as a way to get linux/errno.h Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 7625d483a454cbc8090c5d304eea0847210d6b99 tree 81d992fb9946564c7fabc614baa777337cbebe3b parent e2fcc61ef0d654887b651bd99ffcb52f7344b836 author Al Viro Mon, 26 Sep 2005 05:25:59 +0100 committer Linus Torvalds Mon, 26 Sep 2005 18:29:49 -0700 [PATCH] missing asm/irq.h (cs89x0) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 0dc461069879b45a2d5333bd16990f8080a318fd tree d1f4b129750655352ac6a2ac1bee80fc95213a4f parent c5bd50a9533533d7b9ac3469fa679b2368e7e26c author David S. Miller Mon, 26 Sep 2005 16:12:18 -0700 committer David S. Miller Mon, 26 Sep 2005 16:12:18 -0700 [SPARC64]: Do not do TLB pre-filling any more. In order to do it correctly on UltraSPARC-III+ and later we'd need to add some complicated code to set the TAG access extension register before loading the TLB. Since this optimization gives questionable gains, it's best to just remove it for now instead of adding the fix for Ultra-III+ Signed-off-by: David S. Miller commit c5bd50a9533533d7b9ac3469fa679b2368e7e26c tree 166aee9c0d1525ee8c4a7228015f2d4e37634c77 parent 80dc0d6b44ce0f01df58d8899e46612690ed7d81 author David S. Miller Mon, 26 Sep 2005 16:06:03 -0700 committer David S. Miller Mon, 26 Sep 2005 16:06:03 -0700 [SPARC64]: Simplify Spitfire D-cache page flush. It tries to batch up the tag loads and comparisons, and then the stores. And this is just complicated instead of efficient. Also, make the symbol of the Cheetah version more grepable. Signed-off-by: David S. Miller commit 56e9b263242ca80a70abd8831343b268315c27dc tree 19a4fe82be6725754a1b0a25638e693d994ac86d parent 188bab3ae0ed164bc18f98be932512d777dd038b parent 8420e1b541fe92aee1d8d4d25d9e33eaca756a7b author David S. Miller Mon, 26 Sep 2005 15:29:31 -0700 committer David S. Miller Mon, 26 Sep 2005 15:29:31 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/acme/llc-2.6 commit 188bab3ae0ed164bc18f98be932512d777dd038b tree 58a4a77478e8abf0af5afa53dee6a6b1e5828387 parent b85daee0e497c8fe7c4dc3531674ede645b37cdf author Harald Welte Mon, 26 Sep 2005 15:25:11 -0700 committer David S. Miller Mon, 26 Sep 2005 15:25:11 -0700 [NETFILTER]: Fix invalid module autoloading by splitting iptable_nat When you've enabled conntrack and NAT as a module (standard case in all distributions), and you've also enabled the new conntrack netlink interface, loading ip_conntrack_netlink.ko will auto-load iptable_nat.ko. This causes a huge performance penalty, since for every packet you iterate the nat code, even if you don't want it. This patch splits iptable_nat.ko into the NAT core (ip_nat.ko) and the iptables frontend (iptable_nat.ko). Threfore, ip_conntrack_netlink.ko will only pull ip_nat.ko, but not the frontend. ip_nat.ko will "only" allocate some resources, but not affect runtime performance. This separation is also a nice step in anticipation of new packet filters (nf-hipac, ipset, pkttables) being able to use the NAT core. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit b85daee0e497c8fe7c4dc3531674ede645b37cdf tree 632a691e2ae8596584bad087c37e30079eab2f37 parent c62dba9011b93fd88fde929848582b2a98309878 author David S. Miller Mon, 26 Sep 2005 15:23:58 -0700 committer David S. Miller Mon, 26 Sep 2005 15:23:58 -0700 [AF_PACKET]: Remove bogus checks added to packet_sendmsg(). These broke existing apps, and the checks are superfluous as the values being verified aren't even used. Signed-off-by: David S. Miller commit c62dba9011b93fd88fde929848582b2a98309878 tree 66273f4c7f4fa1867d777904a88cb9e3a7bd27e1 parent acd042bb2de50d4e6fb969281a00cc8b8b71e46d author Herbert Xu Mon, 26 Sep 2005 15:10:16 -0700 committer David S. Miller Mon, 26 Sep 2005 15:10:16 -0700 [IPV6]: Fix [Bug 5306] Oops on IPv6 route lookup > Steps to reproduce: > 1. Boot Linux, do NOT setup any IPv6 routes > 2. ip route get 2001::1 (or any unroutable address) Well caught. We never set rt6i_idev on ip6_null_entry. This patch should make the problem go away. Signed-off-by: Herbert Xu Acked-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit acd042bb2de50d4e6fb969281a00cc8b8b71e46d tree c696f1c0bdbc6eabcb9c13d395abb73f0d08e129 parent b9d717a7b413f227ebb2d61d9c118335f7292137 author Evgeniy Polyakov Mon, 26 Sep 2005 15:06:50 -0700 committer David S. Miller Mon, 26 Sep 2005 15:06:50 -0700 [CONNECTOR]: async connector mode. If input message rate from userspace is too high, do not drop them, but try to deliver using work queue allocation. Failing there is some kind of congestion control. It also removes warn_on on this condition, which scares people. Signed-off-by: Evgeniy Polyakov Signed-off-by: David S. Miller commit b9d717a7b413f227ebb2d61d9c118335f7292137 tree fc1bd234ab42678c08a06bcf72a92ea1497c69b6 parent 8ddec7460d2f5db3ac35812c03676b1473d1d668 author Alex Williamson Mon, 26 Sep 2005 14:28:02 -0700 committer David S. Miller Mon, 26 Sep 2005 14:28:02 -0700 [NET]: Make sure ctl buffer is aligned properly in sys_sendmsg(). It's on the stack and declared as "unsigned char[]", but pointers and similar can be in here thus we need to give it an explicit alignment attribute. Signed-off-by: Alex Williamson Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 63c47c286d062d93e0501d60797274c84a587e97 tree 7be7c3402e456ed857c5041cd5ee6a699f772701 parent 44dd823b00fa64bf01e53557d28555011f122a88 author Roland Dreier Mon, 26 Sep 2005 13:01:03 -0700 committer Roland Dreier Mon, 26 Sep 2005 13:01:03 -0700 [IB] uverbs: Close some exploitable races Al Viro pointed out that the current IB userspace verbs interface allows userspace to cause mischief by closing file descriptors before we're ready, or issuing the same command twice at the same time. This patch closes those races, and fixes other obvious problems such as a module reference leak. Some other interface bogosities will require an ABI change to fix properly, so I'm deferring those fixes until 2.6.15. Signed-off-by: Roland Dreier commit 819ccc86a43739e0cf443b6d6641a8722869be01 tree c7161e1a629c6d70bc2ffb841b9c8f0e3ff6f0c2 parent 6132f9e146150473f803323dc8064a5506e33952 author Vincent Sanders Mon, 26 Sep 2005 19:52:57 +0100 committer Russell King Mon, 26 Sep 2005 19:52:57 +0100 [ARM] 2936/1: ixp4xx default config fixes Patch from Vincent Sanders A recent patch which made IXP4xx mach_desc's depend on config options had the effect of not building the kernel for several machines it possibly could be, this patch updates the default config to ensure all possible machines are built for by default. Signed-off-by: Vincent Sanders Signed-off-by: Russell King commit 6132f9e146150473f803323dc8064a5506e33952 tree 81bb5bd0c434d09b2523c5f280d377863a1c9205 parent cbf8fd9f5aa5164e05cb04d4a34fcbe82f60beeb author David Vrabel Mon, 26 Sep 2005 19:52:56 +0100 committer Russell King Mon, 26 Sep 2005 19:52:56 +0100 [ARM] 2935/1: ixp4xx: fix warnings in ixp4xx_set_irq_type Patch from David Vrabel Signed-off-by: David Vrabel Signed-off-by: Russell King commit 44dd823b00fa64bf01e53557d28555011f122a88 tree 7245a298b11123ef81ded5afb92f1c711d643fed parent f7ed3a5971da98acdc506bdbdef25cfe51c334a2 author Michael S. Tsirkin Mon, 26 Sep 2005 09:42:09 -0700 committer Roland Dreier Mon, 26 Sep 2005 09:42:09 -0700 [IB] mthca: Fix off by one bug in mthca_map_cmd The loop in mthca_map_cmd() would fill one entry past the end of the mailbox buffer before calling the firmware command. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit f7ed3a5971da98acdc506bdbdef25cfe51c334a2 tree 1e2cff00ff81b1a20be326d5b58e672846663102 parent 018771f435388f22f388eb8658c652086fb3633e author Michael S. Tsirkin Mon, 26 Sep 2005 09:29:33 -0700 committer Roland Dreier Mon, 26 Sep 2005 09:38:34 -0700 [IB] mthca: fix off by one in clr_int calculation We should use the first word of the clear interrupt register if the bit we're after is < 32, not < 31. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 018771f435388f22f388eb8658c652086fb3633e tree d18f3929acf5acff74a786f233ba8421bfe95c84 parent 8ddec7460d2f5db3ac35812c03676b1473d1d668 author Roland Dreier Wed, 21 Sep 2005 21:40:12 -0700 committer Roland Dreier Mon, 26 Sep 2005 09:38:26 -0700 [IB] mthca: Fix doorbell record resource leak If we allocate a bunch of doorbell records and then free them, we'll end up with completely empty pages, which we then free. However, when we come back to allocate more doorbell pages, we have to reallocate those empty pages rather than always trying to take a slot that we've never used. If we don't, we eventually use up every slot and fail to allocate a doorbell record, even though we have plenty of free space. Signed-off-by: Roland Dreier commit e2fcc61ef0d654887b651bd99ffcb52f7344b836 tree 487b20d0e6ef4acf5db7a30028f28d30d15bccc7 parent e8c2cd99a3933d93413910bc93cbd5b53177110b author Anton Altaparmakov Mon, 26 Sep 2005 17:02:41 +0100 committer Anton Altaparmakov Mon, 26 Sep 2005 17:02:41 +0100 NTFS: Re-fix sparse warnings in a more correct way, i.e. don't use an enum with different types in it but #define the two constants instead. Signed-off-by: Anton Altaparmakov commit cbf8fd9f5aa5164e05cb04d4a34fcbe82f60beeb tree 8f303f4c12d5ca3da20aac5d782656736366c126 parent 5b58745203f16ab83e50f4a015eea84c416d9279 author Russell King Mon, 26 Sep 2005 15:30:20 +0100 committer Russell King Mon, 26 Sep 2005 15:30:20 +0100 [ARM] Remove SA_IRQNOMASK SA_IRQNOMASK is unused, remove it. Signed-off-by: Russell King commit 4fb7edce52e5b6cf41e3375822d74a27f0b6f2dd tree b8732f31a90fc4574127e7849295653980370b31 parent 2570b746484cfddf4b7b4715dbb69d53d5284f4d author Kars de Jong Sun, 25 Sep 2005 14:39:46 +0200 committer Dominik Brodowski Mon, 26 Sep 2005 13:13:58 +0200 [PATCH] pcmcia: fix cross-platform issues with pcmcia module aliases - Added a missing TO_NATIVE call to scripts/mod/file2alias.c:do_pcmcia_entry() - Add an alignment attribute to struct pcmcia_device_no to solve an alignment issue seen when cross-compiling on x86 for m68k. Signed-off-by: Kars de Jong Signed-off-by: Dominik Brodowski commit 2570b746484cfddf4b7b4715dbb69d53d5284f4d tree 0dda0a5bae045c311a5a384c5f90632d21d3b9b9 parent f9cb8b71e7d6c858b1afe665fd0a09169fdf4390 author Dominik Brodowski Sat, 17 Sep 2005 11:17:56 +0200 committer Dominik Brodowski Mon, 26 Sep 2005 13:11:31 +0200 [PATCH] pcmcia: update ID for NinjaATA Christian Zoz reported there are multiple NinjaATA devices all sharing the second product ID string, but not the first one. Signed-off-by: Dominik Brodowski commit f9cb8b71e7d6c858b1afe665fd0a09169fdf4390 tree da6aa9b6456a6024a02913e8f193c5b2fdefa1b8 parent a42f0dc4376fc574980864f890d1527894719cde author Daniel Ritz Sat, 24 Sep 2005 23:12:46 -0700 committer Dominik Brodowski Mon, 26 Sep 2005 13:11:29 +0200 [PATCH] yenta: more ENE bridges Adds better support for the CB-710, CB-712, CB-720 and CB-722 bridges from EnE Signed-off-by: Daniel Ritz Signed-off-by: Dominik Brodowski commit a42f0dc4376fc574980864f890d1527894719cde tree 1676d457f735ac1643d70fe87157c8890e3952a0 parent 6c1a10dba92cbacb58563f5eacf93807125b488a author Dominik Brodowski Sat, 24 Sep 2005 23:12:44 -0700 committer Dominik Brodowski Mon, 26 Sep 2005 13:11:28 +0200 [PATCH] pcmcia: new IDs for serial_cs Add new ID to serial_cs.c; the CIS fimware override is available by the manufacturer at http://www.sierrawireless.com . Remember to name the CIS binary SW_7xx_SER.cis and to put it into /lib/firmware/ Signed-off-by: Dominik Brodowski commit 6c1a10dba92cbacb58563f5eacf93807125b488a tree beba514dd10c205ad123997423ed97b88b92d87f parent 81000808b636b75a0ff5ef86c28f24fc6f5151eb author Daniel Ritz Tue, 20 Sep 2005 14:12:17 -0700 committer Dominik Brodowski Mon, 26 Sep 2005 13:11:27 +0200 [PATCH] yenta: add support for more TI bridges Support some more TI cardbus bridges. most of them are multifunction devices which adds 1394 controllers, smartcard readers etc. this could also help with the various problems with the XX21 controllers seen on the linux-pcmcia list. Signed-off-by: Daniel Ritz Signed-off-by: Dominik Brodowski commit 81000808b636b75a0ff5ef86c28f24fc6f5151eb tree 794f3c84a97b7ee774b1c34ff8f25fda6296894a parent 8e5d17ebe41eb98a538ef13aad36da5136701aab author Komuro Sat, 24 Sep 2005 23:12:40 -0700 committer Dominik Brodowski Mon, 26 Sep 2005 13:11:26 +0200 [PATCH] pcmcia: fix Kconfig dependency TCIC depends on ISA. It is used with ISA-bus system only. Signed-off-by: komurojun-mbn@nifty.com Signed-off-by: Dominik Brodowski commit 8e5d17ebe41eb98a538ef13aad36da5136701aab tree 95a6ba3afade2d9c721e21046af00d16492b2d4f parent a413c09094e4df714c274690928dcf8125daf7e8 author Dominik Brodowski Wed, 07 Sep 2005 16:00:28 -0700 committer Dominik Brodowski Mon, 26 Sep 2005 13:11:25 +0200 [PATCH] yenta: tiny cleanup pci_set_power_state is not needed, as we call pci_enable_device() somewhere else. Also, the resource we write to PCI_BASE_ADDRESS_0 needs to be converted to bus-centric view first. Signed-off-by: Dominik Brodowski commit a413c09094e4df714c274690928dcf8125daf7e8 tree fc7fcdbd1f85686638aa959a632cab0328abf47f parent 8c3520d4eb3b1bbf2e45fbae8dcfb8db06d5e775 author Daniel Ritz Wed, 24 Aug 2005 17:03:23 +0200 committer Dominik Brodowski Mon, 26 Sep 2005 13:11:24 +0200 [PATCH] yenta: don't mess with bridge control register In interrupt probing (both ISA and PCI) the bridge control register is used to change interrupt routing to ISA or PCI by changing bit 7. But this bit only controls the routing of card functional interrupts, not the CSC interrupts which are used for interrupt probing. A bad side effect of messing with this register in yenta_probe_irq() is that it can lead to irq storms if a card is inserted and already powered by the BIOS. Usage in yenta_sock_init() and yenta_config_init() seem to be fishy as well. Signed-off-by: Daniel Ritz Signed-off-by: Andrew Morton Signed-off-by: Dominik Brodowski commit 8c3520d4eb3b1bbf2e45fbae8dcfb8db06d5e775 tree df9b4f49e8f9ffa34657776be458fbd124b2e87b parent 8ddec7460d2f5db3ac35812c03676b1473d1d668 author Daniel Ritz Sun, 21 Aug 2005 22:29:26 -0700 committer Dominik Brodowski Mon, 26 Sep 2005 13:09:20 +0200 [PATCH] yenta: auto-tune EnE bridges for CardBus cards Echo Audio cardbus products are known to be incompatible with EnE bridges. in order to maybe solve the problem a EnE specific test bit has to be set, another cleared...but other setups have a good chance to break when just forcing the bits. so do the whole thingy automatically. The patch adds a hook in cb_alloc() that allows special tuning for the different chipsets. for ene just match the Echo products and set/clear the test bits, defaults to do the same thing as w/o the patch to not break working setups. Signed-off-by: Daniel Ritz Cc: Linus Torvalds Signed-off-by: Andrew Morton Signed-off-by: Dominik Brodowski commit e8c2cd99a3933d93413910bc93cbd5b53177110b tree ea4c1d63b1bdeb9ef1aacacad0ac9c7dc0768fdc parent 5a8c0cc32bb6e029cd9c36f655c6b0955b0d9967 parent 8ddec7460d2f5db3ac35812c03676b1473d1d668 author Anton Altaparmakov Mon, 26 Sep 2005 10:50:29 +0100 committer Anton Altaparmakov Mon, 26 Sep 2005 10:50:29 +0100 Merge branch 'master' of /home/src/linux-2.6/ commit 5a8c0cc32bb6e029cd9c36f655c6b0955b0d9967 tree 115b84c84ba7aa031c5db8f6e3988ba90f3849b9 parent 838bf9675a3d1ede01408aa105357b9ab43faf1b author Anton Altaparmakov Mon, 26 Sep 2005 10:48:54 +0100 committer Anton Altaparmakov Mon, 26 Sep 2005 10:48:54 +0100 NTFS: More $LogFile handling fixes: when chkdsk has been run, it can leave the restart pages in the journal without multi sector transfer protection fixups (i.e. the update sequence array is empty and in fact does not exist). Signed-off-by: Anton Altaparmakov commit 838bf9675a3d1ede01408aa105357b9ab43faf1b tree 622f4e0e0628ababd604ef9a848b50d8a2b2e8b5 parent 715dc636b64b57aee7aee7e8b5bf4f5267a6df48 author Anton Altaparmakov Mon, 26 Sep 2005 10:45:46 +0100 committer Anton Altaparmakov Mon, 26 Sep 2005 10:45:46 +0100 NTFS: Fix the definition of the CHKD ntfs record magic. It had an off by two error causing it to be CHKB instead of CHKD. Signed-off-by: Anton Altaparmakov commit 80dc0d6b44ce0f01df58d8899e46612690ed7d81 tree 570b8e834c0fae0793bdf75dd2fd2516b0fabf4f parent 56425306517ef28a9b480161cdb96d182172bc1d author David S. Miller Mon, 26 Sep 2005 00:32:17 -0700 committer David S. Miller Mon, 26 Sep 2005 00:32:17 -0700 [SPARC64]: Probe D/I/E-cache config and use. At boot time, determine the D-cache, I-cache and E-cache size and line-size. Use them in cache flushes when appropriate. This change was motivated by discovering that the D-cache on UltraSparc-IIIi and later are 64K not 32K, and the flushes done by the Cheetah error handlers were assuming a 32K size. There are still some pieces of code that are hard coding things and will need to be fixed up at some point. While we're here, fix the D-cache and I-cache parity error handlers to run with interrupts disabled, and when the trap occurs at trap level > 1 log the event via a counter displayed in /proc/cpuinfo. Signed-off-by: David S. Miller commit 56425306517ef28a9b480161cdb96d182172bc1d tree 204cfbef0e5d86954f87b6b40d79d57f8157e5ea parent 52f26deb7c67d5f34910660200b925c1a2b8df8c author David S. Miller Sun, 25 Sep 2005 16:46:57 -0700 committer David S. Miller Sun, 25 Sep 2005 16:46:57 -0700 [SPARC64]: Add CONFIG_DEBUG_PAGEALLOC support. The trick is that we do the kernel linear mapping TLB miss starting with an instruction sequence like this: ba,pt %xcc, kvmap_load xor %g2, %g4, %g5 succeeded by an instruction sequence which performs a full page table walk starting at swapper_pg_dir. We first take over the trap table from the firmware. Then, using this constant PTE generation for the linear mapping area above, we build the kernel page tables for the linear mapping. After this is setup, we patch that branch above into a "nop", which will cause TLB misses to fall through to the full page table walk. With this, the page unmapping for CONFIG_DEBUG_PAGEALLOC is trivial. Signed-off-by: David S. Miller commit 5b58745203f16ab83e50f4a015eea84c416d9279 tree dd71a7f359dfce9f58c2076ad6c54bf92b7b024d parent ef6bd6eb90ad72ee8ee7ba8b271f27102e9a90c1 author Ben Dooks Sun, 25 Sep 2005 23:04:48 +0100 committer Russell King Sun, 25 Sep 2005 23:04:48 +0100 [ARM] 2934/1: Anubis - fix VA offsets for CPLD registers Patch from Ben Dooks The VA addresses of the Anubis CPLD registers confoict with the addresses for the ISA space maps used by the rest of the s3c2410 architecture Signed-off-by: Ben Dooks Signed-off-by: Russell King commit f04da5def8c460b1b52d3142da827ab01efa3a15 tree 6d4e7dbf697eacb3fbcd9fc79e6a470c42677243 parent ef6bd6eb90ad72ee8ee7ba8b271f27102e9a90c1 author Ben Dooks Sun, 25 Sep 2005 23:02:49 +0100 committer Russell King Sun, 25 Sep 2005 23:02:49 +0100 [ARM] 2933/1: S3C2410 - fix serial port warnings Patch from Ben Dooks Fix the following warnings produced from drivers/char/s3c2410.c. drivers/serial/s3c2410.c:757: warning: 'clk' may be used uninitialized drivers/serial/s3c2410.c:756: warning: 'clksrc' may be used uninitialized Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 52f26deb7c67d5f34910660200b925c1a2b8df8c tree cf3074fa1d1ac3d67f8b09b8f5f7e46a669b060d parent 898cf0ecb7959db97d71cbce19685ce73a28d47c author David S. Miller Sat, 24 Sep 2005 23:06:14 -0700 committer David S. Miller Sat, 24 Sep 2005 23:06:14 -0700 [SPARC64]: Fix mask formation in tomatillo_wsync_handler() "1" needs to be "1UL", this is a 64-bit mask we're creating. Signed-off-by: David S. Miller commit 8ddec7460d2f5db3ac35812c03676b1473d1d668 tree 58621a95af9bfcea83a20382659ef088d9921511 parent 8689c07e47e928f8e329f667df8cf697a37425dd author Harald Welte Sat, 24 Sep 2005 16:56:08 -0700 committer David S. Miller Sat, 24 Sep 2005 16:56:08 -0700 [NETFILTER] ip_conntrack: Update event cache when status changes The GRE, SCTP and TCP protocol helpers did not call ip_conntrack_event_cache() when updating ct->status. This patch adds the respective calls. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 8689c07e47e928f8e329f667df8cf697a37425dd tree 588c48af8de8530a0d1f6135cbdd32b3b1920f73 parent 15166fadb0308496bbff50c08ed5fe6a18d5cc4f author Alexey Dobriyan Sat, 24 Sep 2005 16:55:17 -0700 committer David S. Miller Sat, 24 Sep 2005 16:55:17 -0700 [IRDA]: *irttp cleanup * Remove useless comment. * Remove useless assertions. * Remove useless comparison. Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit 15166fadb0308496bbff50c08ed5fe6a18d5cc4f tree 0a3fd6cd2224155fef9a7140d0d05f882771a3d8 parent 45fc3b11f1d419ed6c636e5ca84472d9805f520e author Alexey Dobriyan Sat, 24 Sep 2005 16:54:50 -0700 committer David S. Miller Sat, 24 Sep 2005 16:54:50 -0700 [IRDA]: Fix memory leak in irttp_init() Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit 45fc3b11f1d419ed6c636e5ca84472d9805f520e tree 77e836734bb3339fe0aad77dadc24075e1eca379 parent d67b24c40f81823abe5c1eb808bba1038969142b author Amos Waterland Sat, 24 Sep 2005 16:53:16 -0700 committer David S. Miller Sat, 24 Sep 2005 16:53:16 -0700 [NET]: Protect neigh_stat_seq_fops by CONFIG_PROC_FS From: Amos Waterland If CONFIG_PROC_FS is not selected, the compiler emits this warning: net/core/neighbour.c:64: warning: `neigh_stat_seq_fops' defined but not used Which is correct, because neigh_stat_seq_fops is in fact only initialized and used by code that is protected by CONFIG_PROC_FS. So this patch fixes that up. Signed-off-by: Amos Waterland Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit d67b24c40f81823abe5c1eb808bba1038969142b tree 4aaaed47837f6ae7dc30f0d8a44211de3d057dbf parent ef6bd6eb90ad72ee8ee7ba8b271f27102e9a90c1 author Harald Welte Sat, 24 Sep 2005 16:52:03 -0700 committer David S. Miller Sat, 24 Sep 2005 16:52:03 -0700 [NETFILTER]: Fix ip[6]t_NFQUEUE Kconfig dependency We have to introduce a separate Kconfig menu entry for the NFQUEUE targets. They cannot "just" depend on nfnetlink_queue, since nfnetlink_queue could be linked into the kernel, whereas iptables can be a module. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit ef6bd6eb90ad72ee8ee7ba8b271f27102e9a90c1 tree 6e391d595c78b59396f6ae9e9fb322325ec9a9fe parent 2e55b57a6000ff05f6aadcddf204ecb42749a332 parent 6b9ea4213e3a9c9b8de29a001a2b8d8799cbc1c9 author Linus Torvalds Sat, 24 Sep 2005 13:50:35 -0700 committer Linus Torvalds Sat, 24 Sep 2005 13:50:35 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-ucb commit 2e55b57a6000ff05f6aadcddf204ecb42749a332 tree 24ffdb922b0e20300dd13cb2eb4d7f68048ac1a3 parent f50c02831d833a27321388bc595a3c376ae941e4 parent f993724210744a9b07cf5496808828c4da6ab6df author Linus Torvalds Sat, 24 Sep 2005 13:49:37 -0700 committer Linus Torvalds Sat, 24 Sep 2005 13:49:37 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit f50c02831d833a27321388bc595a3c376ae941e4 tree 8a9b29f9d2684a7dab6c20662b10e49f057c8bb6 parent ff13f98b97cb6c5a2d201dfa4db0a2fd0b4d9d50 parent d2f607484f8210cf19b1730dee26d426a5a770a5 author Linus Torvalds Sat, 24 Sep 2005 13:49:01 -0700 committer Linus Torvalds Sat, 24 Sep 2005 13:49:01 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit ff13f98b97cb6c5a2d201dfa4db0a2fd0b4d9d50 tree bce3878acb3cafa95267bb1c95bb5031e7b52e79 parent 87e807b6c461bbd449496a4c3ab78ab164a4ba97 author Dmitry Torokhov Sat, 24 Sep 2005 02:02:29 -0500 committer Linus Torvalds Sat, 24 Sep 2005 10:44:25 -0700 [PATCH] Input: check switch bitmap when matching handlers The wwitch bitmap was added to input_device_id structure and we should check it when matching handlers and input devices. Signed-off-by: Dmitry Torokhov Signed-off-by: Linus Torvalds commit d2f607484f8210cf19b1730dee26d426a5a770a5 tree b05e0376b0843063e14342811dbedc8bf2f4177b parent 87e807b6c461bbd449496a4c3ab78ab164a4ba97 author Russell King Sat, 24 Sep 2005 10:42:06 +0100 committer Russell King Sat, 24 Sep 2005 10:42:06 +0100 [ARM] Fix compiler warnings for memcpy_toio/memcpy_fromio/memset_io Add 'volatile' to the __iomem pointers for these functions as per x86. Signed-off-by: Russell King commit 6b9ea4213e3a9c9b8de29a001a2b8d8799cbc1c9 tree c678c9ace865ad4d4ebd4a6cb7daceb9cb0556e2 parent 87e807b6c461bbd449496a4c3ab78ab164a4ba97 author Russell King Sat, 24 Sep 2005 10:24:37 +0100 committer Russell King Sat, 24 Sep 2005 10:24:37 +0100 [MFD] Fix "bious one-bit signed bitfield" errors ucb1x00-ts declared a couple of one-bit 'int' bitfields. Make them unsigned. Signed-off-by: Russell King commit f993724210744a9b07cf5496808828c4da6ab6df tree c9e5b09fafc392546d41c05d30119a6cb3367275 parent 87e807b6c461bbd449496a4c3ab78ab164a4ba97 author Russell King Sat, 24 Sep 2005 10:12:47 +0100 committer Russell King Sat, 24 Sep 2005 10:12:47 +0100 [SERIAL] Remove unused variable in clps711x.c Signed-off-by: Russell King commit 87e807b6c461bbd449496a4c3ab78ab164a4ba97 tree 6f5af52317ace30c1229e356a332093981763e39 parent 2ead1aa6f14ed542af0c9e2302a51ea02128f587 parent 536f8098026bde1368bbfcbcb9682a7637b73df2 author Linus Torvalds Fri, 23 Sep 2005 16:44:52 -0700 committer Linus Torvalds Fri, 23 Sep 2005 16:44:52 -0700 Merge branch 'upstream' from master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev commit 2ead1aa6f14ed542af0c9e2302a51ea02128f587 tree dfaf465122239a8bb450913b2e95f4647d24892f parent 7f28f394bd68e58bf3938c67bbeca7825b4687b8 parent c8868611389aa28e0e5e0d63f468727781eac68c author Linus Torvalds Fri, 23 Sep 2005 16:44:01 -0700 committer Linus Torvalds Fri, 23 Sep 2005 16:44:01 -0700 Merge branch 'upstream-fixes' from master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit c8868611389aa28e0e5e0d63f468727781eac68c tree da07d9bb09f99cdcb058bed5117dcac998e0b8ae parent 9389d79fbf9a0167ff2de87e8796c6bb803219bf author Stephen Hemminger Fri, 23 Sep 2005 09:08:30 -0700 committer Jeff Garzik Fri, 23 Sep 2005 19:07:12 -0400 [PATCH] skge: fix Yukon-Lite A0 workaround This is one of those workarounds sucked over from sk98lin driver. The skge driver needs to detect the Yukon-Lite A0 chip properly, and turn of Rx FIFO Flush. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 536f8098026bde1368bbfcbcb9682a7637b73df2 tree cf83d2e1afa503b6aeba103b55cd1da0af4e7a4c parent e86ee6682b649183c11013a98be02f25e9ae399d parent 3fd07d3bf0077dcc0f5a33d2eb1938ea050da8da author Jeff Garzik Fri, 23 Sep 2005 19:03:21 -0400 committer Jeff Garzik Fri, 23 Sep 2005 19:03:21 -0400 Merge /spare/repo/linux-2.6/ commit 7f28f394bd68e58bf3938c67bbeca7825b4687b8 tree b62e7b8e179ccce3244e3f3c75703082f1c2d91c parent dbdb90450059e17e8e005ebd3ce0a1fd6008a0c8 parent 73394322a4bf4108847ba3c2eee33a81b1b44450 author Linus Torvalds Fri, 23 Sep 2005 14:01:52 -0700 committer Linus Torvalds Fri, 23 Sep 2005 14:01:52 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 73394322a4bf4108847ba3c2eee33a81b1b44450 tree 8f87725077eb63534d5ec0ccad118ab71f954a0c parent e484585ec3ee66cd07a627d3a9e2364640a3807f author Russell King Fri, 23 Sep 2005 21:49:58 +0100 committer Russell King Fri, 23 Sep 2005 21:49:58 +0100 [ARM] Fix context switch with ARMv6 + TLS We accidentally corrupted the TLS value when clearing out the ARMv6 exclusive monitor. Avoid doing so. Signed-off-by: Russell King commit dbdb90450059e17e8e005ebd3ce0a1fd6008a0c8 tree 0dc0220667566698e5c602bcd408d4255c86037a parent 86513e726b494796175b6c4fdd705797f01b0ca2 author Andrew Morton Fri, 23 Sep 2005 13:24:10 -0700 committer Linus Torvalds Fri, 23 Sep 2005 13:35:37 -0700 [PATCH] revert oversized kmalloc check As davem points out, this wasn't such a great idea. There may be some code which does: size = 1024*1024; while (kmalloc(size, ...) == 0) size /= 2; which will now explode. Cc: "David S. Miller" Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 86513e726b494796175b6c4fdd705797f01b0ca2 tree aa5ee75b87732caa618665a650e33a771ed50458 parent e7c965084392e23a3494f0247c75795360a3fa0d author Harald Welte Fri, 23 Sep 2005 13:24:10 -0700 committer Linus Torvalds Fri, 23 Sep 2005 13:35:37 -0700 [PATCH] documentation: sparse no longer uses bk, but git Signed-off-by: Harald Welte Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e7c965084392e23a3494f0247c75795360a3fa0d tree 24fab39beb7cf8a5d8fd270e3add76fc3d2dce91 parent 67b108131df1230bad20a7279a8897de123d690b author Hironobu Ishii Fri, 23 Sep 2005 13:24:08 -0700 committer Linus Torvalds Fri, 23 Sep 2005 13:35:37 -0700 [PATCH] ipmi_msghandler: inconsistent spin_lock usage I found an inconsistent spin_lock usage in ipmi_smi_msg_received. Signed-off-by: Hironobu Ishii Cc: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 67b108131df1230bad20a7279a8897de123d690b tree d9551fb8d2d610840e5538760ac5ba61c8c32c7e parent 2601c2e278863cd48c01bce1377b4c9747893025 author Benjamin Herrenschmidt Fri, 23 Sep 2005 13:24:07 -0700 committer Linus Torvalds Fri, 23 Sep 2005 13:35:36 -0700 [PATCH] ppc64: Fix huge pages MMU mapping bug Current kernel has a couple of sneaky bugs in the ppc64 hugetlb code that cause huge pages to be potentially left stale in the hash table and TLBs (improperly invalidated), with all the nasty consequences that can have. One is that we forgot to set the "secondary" bit in the hash PTEs when hashing a huge page in the secondary bucket (fortunately very rare). The other one is on non-LPAR machines (like Apple G5s), flush_hash_range() which is used to flush a batch of PTEs simply did not work for huge pages. Historically, our huge page code didn't batch, but this was changed without fixing this routine. This patch fixes both. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2601c2e278863cd48c01bce1377b4c9747893025 tree 7d0de071e962b55c57f302106b6356761c08923e parent a3b5f0d43863402b03b3af9a7eaec0037a823374 author Andrew Morton Fri, 23 Sep 2005 13:24:06 -0700 committer Linus Torvalds Fri, 23 Sep 2005 13:35:36 -0700 [PATCH] atyfb c99 fix - fix this: drivers/video/aty/xlinit.c: In function `atyfb_xl_init': drivers/video/aty/xlinit.c:256: warning: ISO C90 forbids mixed declarations and code - repair some kooky coding style - Use ARRAY_SIZE() Cc: Tom 'spot' Callaway Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a3b5f0d43863402b03b3af9a7eaec0037a823374 tree 8b0593dfbd596f253347272d9e026ac09a56a827 parent 188a1eafa03aaa5e5fe6f53e637e704cd2c31c7c author Karsten Keil Fri, 23 Sep 2005 13:24:05 -0700 committer Linus Torvalds Fri, 23 Sep 2005 13:35:36 -0700 [PATCH] hisax: remove URB_ASYNC_UNLINK usb_unlink_urb is always async now, so URB_ASYNC_UNLINK was removed from core USB and we must do as well. Signed-off-by: Karsten Keil Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 188a1eafa03aaa5e5fe6f53e637e704cd2c31c7c tree 33d9480c792724c10e4e6fb681fc69c477cf1ff0 parent ede1327ea4ca8019ec6df24b3e837def091c26b8 author Linus Torvalds Fri, 23 Sep 2005 13:22:21 -0700 committer Linus Torvalds Fri, 23 Sep 2005 13:22:21 -0700 Make sure SIGKILL gets proper respect Bhavesh P. Davda noticed that SIGKILL wouldn't properly kill a process under just the right cicumstances: a stopped task that already had another signal queued would get the SIGKILL queued onto the shared queue, and there it would remain until SIGCONT. This simplifies the signal acceptance logic, and fixes the bug in the process. Losely based on an earlier patch by Bhavesh. Signed-off-by: Linus Torvalds commit 898cf0ecb7959db97d71cbce19685ce73a28d47c tree 321c4dcfd6a63fc9beda9663c9852422bfbce5a0 parent 1c9ea5db001142a96fec8fed0f92f26892a1b6ac author David S. Miller Fri, 23 Sep 2005 11:59:44 -0700 committer David S. Miller Fri, 23 Sep 2005 11:59:44 -0700 [SPARC64]: Mark functions called by paging_init() as __init. Signed-off-by: David S. Miller commit 1c9ea5db001142a96fec8fed0f92f26892a1b6ac tree d2cf2ed167a61d07fe95f9becac7e877f58ce830 parent a8201c61065f3b5a4fe2fde1db1c817e288916be author David S. Miller Fri, 23 Sep 2005 11:54:43 -0700 committer David S. Miller Fri, 23 Sep 2005 11:54:43 -0700 [SPARC64]: Kill unused variable in setup_arch() 'highest_paddr' is set, but never actually used. Signed-off-by: David S. Miller commit ede1327ea4ca8019ec6df24b3e837def091c26b8 tree f34c9293ae84a0f52828a41807b10ddf74260f9a parent 12f44f46bc9c6dc79255e661b085797af395d8da author Steve French Tue, 30 Aug 2005 20:10:14 -0700 committer Linus Torvalds Fri, 23 Sep 2005 11:37:53 -0700 [PATCH] cifs: Add support for suspend cifsd had been preventing software suspend from completing. Signed-off-by: pavel@suse.de Signed-off-by: Steve French lightly modified Signed-off-by: Linus Torvalds commit 12f44f46bc9c6dc79255e661b085797af395d8da tree cec3ab7b0bfd7f90fba01b6fb6ecb896eed00079 parent bfab08c097df5f6a60dd07f0f8c78c54e725780b author Ivan Kokshaysky Thu, 22 Sep 2005 21:06:31 -0700 committer Linus Torvalds Fri, 23 Sep 2005 08:05:16 -0700 [PATCH] pci: fixup parent subordinate busnr I believe the change that broke things is introduction of pci_fixup_parent_subordinate_busnr(). The patch here does two things: - hunk #1 should fix the problems you've seen when you boot without additional "pci" kernel options; - hunk #2 supposedly fixes boot with "pci=assign-busses" option which otherwise hangs Acer TM81xx machines as reported. Please try this with and without "pci=assign-busses". If it boots, I'd like to see 'lspci -vvx' for both cases. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bfab08c097df5f6a60dd07f0f8c78c54e725780b tree a93536a2bbcb2331e47d72dd182bb4c4d27b6d8b parent eb0e0076878a4f9e8e6e7e524ded0d6f7d4a6130 parent 438282d85de2c8f8c5183fdf55140e51a0b18670 author Linus Torvalds Fri, 23 Sep 2005 07:40:53 -0700 committer Linus Torvalds Fri, 23 Sep 2005 07:40:53 -0700 Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/shaggy/jfs-2.6 commit 715dc636b64b57aee7aee7e8b5bf4f5267a6df48 tree 967c70011391cb38e232015902189623eb9c5193 parent 91fbc6edfa7086b5fcdb74ea82ab747104541f1f author Anton Altaparmakov Fri, 23 Sep 2005 11:24:28 +0100 committer Anton Altaparmakov Fri, 23 Sep 2005 11:24:28 +0100 NTFS: Change ntfs_cluster_free() to require a write locked runlist on entry since we otherwise get into a lock reversal deadlock if a read locked runlist is passed in. In the process also change it to take an ntfs inode instead of a vfs inode as parameter. Signed-off-by: Anton Altaparmakov commit 9389d79fbf9a0167ff2de87e8796c6bb803219bf tree 760e6d88a9cd18cd3f8e22ab7ce374aa124c36fd parent 3fd07d3bf0077dcc0f5a33d2eb1938ea050da8da author Paul Gortmaker Fri, 23 Sep 2005 05:18:45 -0400 committer Jeff Garzik Fri, 23 Sep 2005 05:18:45 -0400 [PATCH] 8390 Tx fix for non i386 machines While this is true, E8390_CMD is zero on i386, and thus there should be no effect for these machines. Machines like Mac, Amiga etc. which use Alan's clever register mapping may have a non-zero E8390_CMD and result in bogus "transmitter busy" type messages from this bug. Fixes BUG# 3991. commit eb0e0076878a4f9e8e6e7e524ded0d6f7d4a6130 tree 456e8ec8ac8fe9f646748456a575b25919dba230 parent 1dfbab59498d6f227c91988bab6c71af049a5333 author Sridhar Samudrala Thu, 22 Sep 2005 23:48:38 -0700 committer David S. Miller Thu, 22 Sep 2005 23:48:38 -0700 [SCTP]: Fix SCTP_SHUTDOWN notifications. Fix to allow SCTP_SHUTDOWN notifications to be received on 1-1 style SCTP SOCK_STREAM sockets. Add SCTP_SHUTDOWN notification to the receive queue before updating the state of the association. Signed-off-by: Sridhar Samudrala Signed-off-by: Neil Horman Signed-off-by: David S. Miller commit 1dfbab59498d6f227c91988bab6c71af049a5333 tree 6b20409a232ebe8c37f16d06b3fbcde6bec8f328 parent a82b748930fce0dab22c64075c38c830ae116904 author Harald Welte Thu, 22 Sep 2005 23:46:57 -0700 committer David S. Miller Thu, 22 Sep 2005 23:46:57 -0700 [NETFILTER] Fix conntrack event cache deadlock/oops This patch fixes a number of bugs. It cannot be reasonably split up in multiple fixes, since all bugs interact with each other and affect the same function: Bug #1: The event cache code cannot be called while a lock is held. Therefore, the call to ip_conntrack_event_cache() within ip_ct_refresh_acct() needs to be moved outside of the locked section. This fixes a number of 2.6.14-rcX oops and deadlock reports. Bug #2: We used to call ct_add_counters() for unconfirmed connections without holding a lock. Since the add operations are not atomic, we could race with another CPU. Bug #3: ip_ct_refresh_acct() lost REFRESH events in some cases where refresh (and the corresponding event) are desired, but no accounting shall be performed. Both, evenst and accounting implicitly depended on the skb parameter bein non-null. We now re-introduce a non-accounting "ip_ct_refresh()" variant to explicitly state the desired behaviour. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit a82b748930fce0dab22c64075c38c830ae116904 tree c2f231123bea5861bc77e6d735b371b6dc1fa564 parent 67497205b12e3cb408259cc09b50c3a9d12cd935 author Harald Welte Thu, 22 Sep 2005 23:45:44 -0700 committer David S. Miller Thu, 22 Sep 2005 23:45:44 -0700 [NETFILTER] remove unneeded structure definition from conntrack helper Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 67497205b12e3cb408259cc09b50c3a9d12cd935 tree b06cc4b76736ca7df03717f30ff57cab8848ab2a parent 0ae5d253adcc467b1c52b512bbca9419eb438409 author Alexey Dobriyan Thu, 22 Sep 2005 23:45:24 -0700 committer David S. Miller Thu, 22 Sep 2005 23:45:24 -0700 [NETFILTER] Fix sparse endian warnings in pptp helper Signed-off-by: Alexey Dobriyan Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 0ae5d253adcc467b1c52b512bbca9419eb438409 tree 2a928ecc8efffa4872d8e0e7a6f468b43df8197f parent 2a7bc3c94cbca32d3d6e03e7d5a71662f591d28a author Harald Welte Thu, 22 Sep 2005 23:44:58 -0700 committer David S. Miller Thu, 22 Sep 2005 23:44:58 -0700 [NETFILTER] fix DEBUG statement in PPTP helper As noted by Alexey Dobriyan, the DEBUGP statement prints the wrong callID. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 2a7bc3c94cbca32d3d6e03e7d5a71662f591d28a tree 9d6b23b66b6a5522e2333dc885137b41be636e5c parent 83ca28befc43e93849e79c564cda10e39d983e75 author Vlad Drukker Thu, 22 Sep 2005 23:35:34 -0700 committer David S. Miller Thu, 22 Sep 2005 23:35:34 -0700 [BRIDGE]: TSO fix in br_dev_queue_push_xmit Signed-off-by: Vlad Drukker Acked-by: Stephen Hemminger Signed-off-by: David S. Miller commit 83ca28befc43e93849e79c564cda10e39d983e75 tree b86c768738f929246e4a0f858f8f6df88c015da8 parent e484585ec3ee66cd07a627d3a9e2364640a3807f author Herbert Xu Thu, 22 Sep 2005 23:32:56 -0700 committer David S. Miller Thu, 22 Sep 2005 23:32:56 -0700 [TCP]: Adjust Reno SACK estimate in tcp_fragment Since the introduction of TSO pcount a year ago, it has been possible for tcp_fragment() to cause packets_out to decrease. Prior to that, tcp_retrans_try_collapse() was the only way for that to happen on the retransmission path. When this happens with Reno, it is possible for sasked_out to become invalid because it is only an estimate and not tied to any particular packet on the retransmission queue. Therefore we need to adjust sacked_out as well as left_out in the Reno case. The following patch does exactly that. This bug is pretty difficult to trigger in practice though since you need a SACKless peer with a retransmission that occurs just as the cached MTU value expires. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit e484585ec3ee66cd07a627d3a9e2364640a3807f tree 38d0cd1f7b1699b4a14ea77b77b9c0f5a87197cc parent 10d2c46f9408d404bffef89d5052953a3b1d9288 author Paolo 'Blaisorblade' Giarrusso Thu, 22 Sep 2005 21:44:29 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:37 -0700 [PATCH] Add dm-snapshot tutorial in Documentation I've recently discovered the real functionality of device-mapper snapshots, and since they are not well known, I've decided to write some docs for them. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 10d2c46f9408d404bffef89d5052953a3b1d9288 tree 5eace052aa3b694d9e1e8a523bf66641e0c51966 parent f7b3a4359b25311fb5894c8809478a2df6bed480 author Nick Wilson Thu, 22 Sep 2005 21:44:28 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:37 -0700 [PATCH] NFS: fix client oops when debugging is on nfs_readpage_release() causes an oops while accessing a file with NFS debugging turned on (echo 32767 > /proc/sys/sunrpc/nfs_debug) and a kernel built with CONFIG_DEBUG_SLAB. This patch moves the debugging statement above nfs_release_request() to avoid accessing freed memory. Signed-off-by: Nick Wilson Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f7b3a4359b25311fb5894c8809478a2df6bed480 tree ef2e2a707f1b5d5095c9e2e1e6d760d77ad2b31b parent 8bdac5d1ed892da54b6b2069e50a47b3aa39460f author Rob Landley Thu, 22 Sep 2005 21:44:27 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:37 -0700 [PATCH] Fix bd_claim() error code. Problem: In some circumstances, bd_claim() is returning the wrong error code. If we try to swapon an unused block device that isn't swap formatted, we get -EINVAL. But if that same block device is already mounted, we instead get -EBUSY, even though it still isn't a valid swap device. This issue came up on the busybox list trying to get the error message from "swapon -a" right. If a swap device is already enabled, we get -EBUSY, and we shouldn't report this as an error. But we can't distinguish the two -EBUSY conditions, which are very different errors. In the code, bd_claim() returns either 0 or -EBUSY, but in this case busy means "somebody other than sys_swapon has already claimed this", and _that_ means this block device can't be a valid swap device. So return -EINVAL there. Signed-off-by: Rob Landley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8bdac5d1ed892da54b6b2069e50a47b3aa39460f tree 7b141ffd02ccdea86eaad1a6ad0ebfe655f7937a parent f65d9bea8692d7343e4636763f291408f025834f author Glauber de Oliveira Costa Thu, 22 Sep 2005 21:44:26 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:37 -0700 [PATCH] ext3: EXT3_DEBUG build fixes Fix some warnings and a build error when EXT3_DEBUG is enabled. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f65d9bea8692d7343e4636763f291408f025834f tree 426b4f07df2c92abc5d6788bf145ebc4c42e19fc parent 288a60cf4d7cc35f84f46cd8ffd0b34f9d8e7346 author Clemens Buchacher Thu, 22 Sep 2005 21:44:24 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:37 -0700 [PATCH] oss: don't concatenate __FUNCTION__ with strings It's deprecated. Use "%s", __FUNCTION__ instead. Signed-off-by: Clemens Buchacher Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 288a60cf4d7cc35f84f46cd8ffd0b34f9d8e7346 tree 24691394b7e1aaa0b8e9a64f0e1723df3f3974bb parent fac97ae0b1a206e2952baf1f9eb46305d673adc6 author Chris Zankel Thu, 22 Sep 2005 21:44:23 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:37 -0700 [PATCH] xtensa: remove io_remap_page_range and minor clean-ups Remove io_remap_page_range() from all of Linux 2.6.x (as requested and suggested by Randy Dunlap) and minor clean-ups. Signed-off-by: Chris Zankel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fac97ae0b1a206e2952baf1f9eb46305d673adc6 tree d44e4d9d414c4fbef057e4991dbb60a4c31baa5d parent 79ae2cb856ed6a8c48f455d52d5ed5960c671e67 author Paolo 'Blaisorblade' Giarrusso Thu, 22 Sep 2005 21:44:22 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:37 -0700 [PATCH] uml: replace printk with "stack-friendly" printf - to report console failure User get *a lot* confused when consoles don't work but we don't report anything. And, as reported in the comment, using printk to report "your console doesn't work" isn't likely to go that far. Fix the problem on the base of this: stack consumption by host printf(). Use kernel sprintf() and os_write_file, using a wild guess that one page will be enough for the message, to preallocate the buffer with kmalloc(). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 79ae2cb856ed6a8c48f455d52d5ed5960c671e67 tree b72431f31bb99e03d86c40cbfb17e766034ac2ef parent 46db4a42dd1190a311c2fb45106dfd0842c65a94 author Paolo 'Blaisorblade' Giarrusso Thu, 22 Sep 2005 21:44:21 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:37 -0700 [PATCH] uml: use GFP_ATOMIC for allocations under spinlocks. setup_initial_poll is only called with sigio_lock() held, so use appropriate allocation. Also, parse_chan() can also be called when holding a spinlock (see line_open() -> parse_chan_pair()). I have sporadic problems (spinlock taken twice, with spinlock debugging on UP) which could be caused by a sequence like "take spinlock, alloc and go to sleep, take again the spinlock in the other thread". Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46db4a42dd1190a311c2fb45106dfd0842c65a94 tree 2542832bf69acd1b55d0d93f67e01c34bf445b25 parent fea03cb40a15e3c6647c0927300202e062e6792a author Paolo 'Blaisorblade' Giarrusso Thu, 22 Sep 2005 21:44:20 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:37 -0700 [PATCH] uml: Fix GFP_ flags usage GFP_ATOMIC | GFP_KERNEL is meaningless and won't work. Actually it never worked, even in 2.4. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fea03cb40a15e3c6647c0927300202e062e6792a tree 2e7933807e29b7d62dd9104c4bc3e640c703ab83 parent 12ebcd73e40e09f0dfddf89e465cc0541e0ff8b1 author Paolo 'Blaisorblade' Giarrusso Thu, 22 Sep 2005 21:44:20 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:36 -0700 [PATCH] uml: avoid fixing faults while atomic Following i386, we should maybe refuse trying to fault in pages when we're doing atomic operations, because to handle the fault we could need to take already taken spinlocks. Also, if we're doing an atomic operation (in the sense of in_atomic()) we're surely in kernel mode and we're surely going to handle adequately the failed fault, so it's safe to behave this way. Currently, on UML SMP is rarely used, and we don't support PREEMPT, so this is unlikely to create problems right now, but it might in the future. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 12ebcd73e40e09f0dfddf89e465cc0541e0ff8b1 tree 74e70293160716a23c37b97659893e8fa2278f8a parent dc36abf34e13aabbe06cdd060c434b3cdd80e7da author Paolo 'Blaisorblade' Giarrusso Thu, 22 Sep 2005 21:44:19 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:36 -0700 [PATCH] uml: run mconsole "sysrq" in process context Things are breaking horribly with sysrq called in interrupt context. I want to try to fix it, but probably this is simpler. To tell the truth, sysrq is normally run in interrupt context, so there shouldn't be any problem. There's also a warning from the fault handler because it's run in atomic context (I have a patch for that, only I deferred it). This is why I'm doing this. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dc36abf34e13aabbe06cdd060c434b3cdd80e7da tree 2ad214661db54b424154c90eee71cb7b2fb410aa parent 546fe1cbf91d4d62e3849517c31a2327c992e5c5 author Paolo 'Blaisorblade' Giarrusso Thu, 22 Sep 2005 21:44:18 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:36 -0700 [PATCH] uml: fix condition in tlb flush Avoid setting w = 0 twice. Spotted this (trivial) thing which is needed for another patch. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 546fe1cbf91d4d62e3849517c31a2327c992e5c5 tree c2be2cd1eb19e04c49d22ec77119973fa8f0ea13 parent 69e1e688f5698287b45fbff22a01de91b20804cd author Paolo 'Blaisorblade' Giarrusso Thu, 22 Sep 2005 21:44:16 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:36 -0700 [PATCH] uml: fix hang in TT mode on fault The current code doesn't handle well general protection faults on the host - it thinks that cr2 is always the address of a page fault. While actually, on general protection faults, that address is not accessible, so we'd better assume we couldn't satisfy the fault. Currently instead we think we've fixed it, so we go back, retry the instruction and fault again endlessly. This leads to the kernel hanging when doing copy_from_user(dest, -1, ...) in TT mode, since reading *(-1) causes a GFP, and we don't support kernel preemption. Thanks to Luo Xin for testing UML with LTP and reporting the failures he got. Cc: Luo Xin Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69e1e688f5698287b45fbff22a01de91b20804cd tree 2570b75a608a3deddc69afc8b989dbb66557efea parent a8bfb94c58238666df0d6856861d18f0f52fc752 author Paolo 'Blaisorblade' Giarrusso Thu, 22 Sep 2005 21:44:15 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:36 -0700 [PATCH] uml: don't redundantly mark pte as newpage in pte_modify pte_modify marks a page as needing flush, which is redundant because the resulting PTE is still set with set_pte, which already handles that. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a8bfb94c58238666df0d6856861d18f0f52fc752 tree ff22df262edafd55c9004a32a25dfb818c0841a9 parent 3a02d6c051cf3c214aab38e4330b4bcec5f6e3f8 author Paolo 'Blaisorblade' Giarrusso Thu, 22 Sep 2005 21:44:14 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:36 -0700 [PATCH] strlcat: use for uml umid.c Simplify the code by using strlcat() instead of strncat() and manual appending. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a02d6c051cf3c214aab38e4330b4bcec5f6e3f8 tree 6d99dd06a5228ab6ea9a72dd7dfbc43458861825 parent 8686bcd0a5f5e3f599ed9f1028ec9e449e7b87e3 author Paolo 'Blaisorblade' Giarrusso Thu, 22 Sep 2005 21:44:12 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:36 -0700 [PATCH] uml: don't remove umid files in conflict case Only remove the UML pidfile and management socket if we created them. Currently in case two UMLs are started with the same umid, the second will remove the first's ones. Probably we should also panic() at that point, not sure however. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8686bcd0a5f5e3f599ed9f1028ec9e449e7b87e3 tree d8622e5819108fb4d90ea3cc0bbd3b1cc04d3a3d parent eafb42707b21beb42bba4eae7b742f837ee9d2e0 author Pavel Machek Thu, 22 Sep 2005 21:44:11 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:36 -0700 [PATCH] swsusp: fix comments Fix comments in swsusp. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eafb42707b21beb42bba4eae7b742f837ee9d2e0 tree a2b4f7042bb622ecbe8aaa003a96a6024d8bbc00 parent 0cdc82ee1ae36c1ae4631fc3a782faeb0b90df38 author Christoph Lameter Thu, 22 Sep 2005 21:44:10 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:36 -0700 [PATCH] __kmalloc: Generate BUG if size requested is too large. I had an issue on ia64 where I got a bug in kernel/workqueue because kzalloc returned a NULL pointer due to the task structure getting too big for the slab allocator. Usually these cases are caught by the kmalloc macro in include/linux/slab.h. Compilation will fail if a too big value is passed to kmalloc. However, kzalloc uses __kmalloc which has no check for that. This patch makes __kmalloc bug if a too large entity is requested. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0cdc82ee1ae36c1ae4631fc3a782faeb0b90df38 tree 38dbeb4253338f25392c074a5e289c74e0b7ee9c parent 98b4f5929ce5e616d0d0e13c71baf50083ab7397 author Benjamin Herrenschmidt Thu, 22 Sep 2005 21:44:09 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:36 -0700 [PATCH] mesh scsi: fix error handling The PowerMac mesh SCSI driver had some missing error handling which would trigger warnings due to lack of handling of return value from scsi_add_host. This fixes it. Signed-off-by: Benjamin Herrenschmidt Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 98b4f5929ce5e616d0d0e13c71baf50083ab7397 tree f7a903755d1f2744e1d8736a48d680adae6ffc41 parent e3fc4cc17ac4dbadab0ba0d5c8233d3b18170d4a author Chuck Ebbert <76306.1226@compuserve.com> Thu, 22 Sep 2005 21:44:08 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:35 -0700 [PATCH] atiixp_modem printk fixes Correctly identify atiixp_modem in its error messages. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Cc: Vojtech Pavlik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e3fc4cc17ac4dbadab0ba0d5c8233d3b18170d4a tree c69b93069f7ee9640ec2f643afcf27b7f580435b parent 0365ba7fb1fa94a41289d6a3d36b4d95960e56cc author Randy Dunlap Thu, 22 Sep 2005 21:44:07 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:35 -0700 [PATCH] corrections to top-level README Corrections to the recent top-level README changes. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0365ba7fb1fa94a41289d6a3d36b4d95960e56cc tree 1da4b5fb97266849d86a78010141e7345cc599aa parent 0f329075fb1dbd6845db03e9bb8252024fdbea1f author Benjamin Herrenschmidt Thu, 22 Sep 2005 21:44:06 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:35 -0700 [PATCH] ppc64: SMU driver update & i2c support The SMU is the "system controller" chip used by Apple recent G5 machines including the iMac G5. It drives things like fans, i2c busses, real time clock, etc... The current kernel contains a very crude driver that doesn't do much more than reading the real time clock synchronously. This is a completely rewritten driver that provides interrupt based command queuing, a userland interface, and an i2c/smbus driver for accessing the devices hanging off the SMU i2c busses like temperature sensors. This driver is a basic block for upcoming work on thermal control for those machines, among others. Signed-off-by: Benjamin Herrenschmidt Cc: Jean Delvare Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0f329075fb1dbd6845db03e9bb8252024fdbea1f tree c2bca92a93c7a1983ddd77811bec7e7409eb4147 parent f951da3757cf46444a6ea52e97b8aa9400fe761a author Anton Blanchard Thu, 22 Sep 2005 21:44:05 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:35 -0700 [PATCH] ppc64: Fix 64bit ptrace DABR support Fix my stupid bug in the 64bit version of PTRACE_SET_DEBUGREG. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f951da3757cf46444a6ea52e97b8aa9400fe761a tree 1bcbfc0c595ce7c08b7a6242a781e7c623b428f5 parent 586a90eb4c0b512df766e08a7718af7c6b9b2dcf author Anton Blanchard Thu, 22 Sep 2005 21:44:05 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:35 -0700 [PATCH] ppc64: Fix build with iommu debug enabled Fix build when iommu debug is enabled. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 586a90eb4c0b512df766e08a7718af7c6b9b2dcf tree 0472f79c20c605141abf4790faa4cbc4e41f8fd2 parent 275abf5b06676ca057cf3e15f0d027eafcb204a0 author Anton Blanchard Thu, 22 Sep 2005 21:44:04 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:35 -0700 [PATCH] ppc64: Fix LPAR regression The recent iommu fix broke booting on some POWER4 and POWER5 LPAR boxes. It looks like we have been calling the non LPAR iommu_dev_setup on LPAR machines for a while. The recent iommu fix caused that code path to fail. It looks like we just need to hook up the devices iommu_table to the parents one, so do that instead of calling iommu_dev_setup_pSeries and crossing the streams. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 275abf5b06676ca057cf3e15f0d027eafcb204a0 tree 2e922e35183eaae5111577f8c084b9f7f7c17460 parent ff69416e6323fe9d38c42a06ebdefeb58bbe9336 author OGAWA Hirofumi Thu, 22 Sep 2005 21:44:03 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:35 -0700 [PATCH] ext3: ext3_show_options fix EXT3_MOUNT_DATA_FLAGS is not a boolean. This fixes it. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ff69416e6323fe9d38c42a06ebdefeb58bbe9336 tree c97b81660f38ff7a06196dc47b92bd5f44c26305 parent 57487f4376e16558ccbe45a5b41d8cb5192309a4 author Christoph Lameter Thu, 22 Sep 2005 21:44:02 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:35 -0700 [PATCH] slab: fix handling of pages from foreign NUMA nodes The numa slab allocator may allocate pages from foreign nodes onto the lists for a particular node if a node runs out of memory. Inspecting the slab->nodeid field will not reflect that the page is now in use for the slabs of another node. This patch fixes that issue by adding a node field to free_block so that the caller can indicate which node currently uses a slab. Also removes the check for the current node from kmalloc_cache_node since the process may shift later to another node which may lead to an allocation on another node than intended. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 57487f4376e16558ccbe45a5b41d8cb5192309a4 tree 0f2712787db8a8eb7021ccac41deef40d6890f41 parent 4c87b74c72d42f7272aa4bf8f17c73bb53774eee author Rafael J. Wysocki Thu, 22 Sep 2005 21:44:01 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:35 -0700 [PATCH] swsusp: do not trigger BUG_ON() if there is not enough memory The following patch makes swsusp avoid triggering the BUG_ON() in swsusp_suspend() if there is not enough memory for suspend. Signed-off-by: Rafael J. Wysocki Cc: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c87b74c72d42f7272aa4bf8f17c73bb53774eee tree 0547b7d7d9f0fc8b271fdf22a5d78617bc8e4bca parent 609725f87709724218047a1049913ed233f79d3c author Robert Love Thu, 22 Sep 2005 21:44:00 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:34 -0700 [PATCH] hdaps: small update. - Handle dmi_system_check() elegantly, now that my bugfix is upstream. - Add support for the X41 and R52. - Cleanup some comments do I do not have to keep updating them with each new whitelisted laptop. Signed-off-by: Robert Love Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 609725f87709724218047a1049913ed233f79d3c tree 7ccc4b12808b4de7d248ba7a722637f244155f26 parent 7243cc05bafdda4c4de77cba00cf87666bd237f7 author Keir Fraser Thu, 22 Sep 2005 21:43:59 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:34 -0700 [PATCH] Fix mmap() of /dev/hpet The address passed to io_remap_pfn_range() in hpet_mmap() does not need to be converted using __pa(): it is already a physical address. This bug was found and the patch suggested by Clay Harris. I introduced this particular bug when making io_remap_pfn_range changes a few months ago. In fact mmap()ing /dev/hpet has *never* previously worked: before my changes __pa() was being executed on an ioremap()ed virtual address, which is also invalid. Signed-off-by: Keir Fraser Cc: Robert Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7243cc05bafdda4c4de77cba00cf87666bd237f7 tree a893a19e774de07face851ace998830ea1487612 parent 4b3c86a7452df8608c32a1c1f19c0cc0723c145f author Ivan Kokshaysky Thu, 22 Sep 2005 21:43:58 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:34 -0700 [PATCH] slab: alpha inlining fix It is essential that index_of() be inlined. But alpha undoes the gcc inlining hackery and index_of() ends up out-of-line. So fiddle with things to make that function inline again. Cc: Richard Henderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b3c86a7452df8608c32a1c1f19c0cc0723c145f tree c752756f7a569d2ae49f5725cd9a794550ad8059 parent 720b9429e8f41f7c4ee9df293403650905042035 author Ivan Kokshaysky Thu, 22 Sep 2005 21:43:57 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:34 -0700 [PATCH] alpha: fix kernel panic during SysRq-b acquire_console_sem() does BUG() in interrupt context now, as in the case of SysRq-b. Cc: Richard Henderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 720b9429e8f41f7c4ee9df293403650905042035 tree b9ad4fecd9cfeec716fd0a7746c6adaf12616ac5 parent 244bc050d5c9431682b7d834aff92e663fe88bb2 author Randy Dunlap Thu, 22 Sep 2005 21:43:56 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:34 -0700 [PATCH] SOFTWARE_SUSPEND needs HOTPLUG_CPU on SMP Signed-off-by: Randy Dunlap Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 244bc050d5c9431682b7d834aff92e663fe88bb2 tree de338fb876f51ba3d4a476b1b69694b3f7b36e5a parent 66c81f0059b57e18aad43a5b0d330102c237cd72 author Benjamin Herrenschmidt Thu, 22 Sep 2005 21:43:55 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:34 -0700 [PATCH] ppc32: fix build with oprofile Current -git tree doesn't build when enabling oprofile on a non-bookE CPU (like on a PowerMac for example). While there is no performance counter support for these CPUs implemented yet, it's still nice to be able to use the timer based sampling, and that got broken. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 66c81f0059b57e18aad43a5b0d330102c237cd72 tree 4e9d21331d25960c9984159b94ee6f3dfd31a53b parent e1e70a262d5cb5a02d2fc171e0178197849482d4 author Grant Coady Thu, 22 Sep 2005 21:43:54 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:34 -0700 [PATCH] DEBUG redefined in drivers/mtd/devices/docecc.c Fix namespace clash: drivers/mtd/devices/docecc.c:43:1: warning: "DEBUG" redefined In file included from drivers/mtd/devices/docecc.c:40: include/linux/mtd/mtd.h:219:1: warning: this is the location of the previous definition Signed-off-by: Grant Coady Cc: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e1e70a262d5cb5a02d2fc171e0178197849482d4 tree 571e4e06fa1504d4198675a60de73268b7733419 parent f71626a461e7d4af099ca71830ea530e96c22e11 author Bernd Petrovitsch Thu, 22 Sep 2005 21:43:53 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:34 -0700 [PATCH] Rename vprintk define in bttpvp.h Rename the (apparently) bttv intern #define vprintk to verbprintk to resolve a name clash. Reason: vprintk() is defined in include/linux/kernel.h similar to printk but with a va_list argument. (akpm: I changed it to bttv_printk) Cc: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f71626a461e7d4af099ca71830ea530e96c22e11 tree 69cc1ef26c39887a938618d8e8a6f788ae8b4488 parent a1f9d8d23fef301ba0c0b4983e0aa947168e1c37 author Latchesar Ionkov Thu, 22 Sep 2005 21:43:53 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:33 -0700 [PATCH] v9fs: don't free root dentry & inode if error occurs in v9fs_get_sb If error occurs while in v9fs_get_sb after it calles sget, the dentry object of the root and its inode may be freed twice -- once while handling the error in v9fs_get_sb, and second time when v9fs_get_sb calles deactivate_super (which in turn calls v9fs_kill_super) The patch removes the unnecessary code that frees the root dentry and its inode. Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1f9d8d23fef301ba0c0b4983e0aa947168e1c37 tree c8927b500a1b93aed027776b88bc6a1e8664c5fa parent a8e63bff521f0387fb4f4e486dede0e78dca8f41 author Latchesar Ionkov Thu, 22 Sep 2005 21:43:52 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:33 -0700 [PATCH] v9fs: replace strlen on newly allocated by __getname buffers to PATH_MAX v9fs_vfs_readlink allocates space for the link using __getname and errorneously uses strlen on the newly allocated buffer to check if the buffer passed by the user is bigger than the one returned by __getname. The patch replaces the strlen usage to PATH_MAX, which is the actual size of the buffers returned by __getname. Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a8e63bff521f0387fb4f4e486dede0e78dca8f41 tree 8267e3f5e8a5eb3d6fe92659def6f5bee1190b03 parent 5b067676234715051cbde87083c36c8ea83f77b8 author Latchesar Ionkov Thu, 22 Sep 2005 21:43:51 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:33 -0700 [PATCH] v9fs: make copy of the transport prototype instead of using it directly When a new session is created it uses a template object of the specified transport type to instantiate its own copy. The code for the making a copy of the template object was lost, and the object itself is attached to the v9fs session. This leads to many sessions using the same transport instead of having their own copy. The patch puts back the code that makes a copy of the template object. Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b067676234715051cbde87083c36c8ea83f77b8 tree e6552ebec3b3cc18fad03d7e60feef80a0abe19e parent d06a8fb130085c9f61e4c1a40445163087ecf89f author Latchesar Ionkov Thu, 22 Sep 2005 21:43:50 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:33 -0700 [PATCH] v9fs: allocate the Rwalk qid array from the right conv buffer When v9fs_deserealize_fcall deserializes a Rwalk message, it incorrectly allocates space for the qid array in the source instead of the destination buffer. Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d06a8fb130085c9f61e4c1a40445163087ecf89f tree c98595f83201adcd791ef9d3509aa1f157f3dfa2 parent 89559a6119e9779c732fdc7aef5e175bf090dd69 author Latchesar Ionkov Thu, 22 Sep 2005 21:43:48 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:33 -0700 [PATCH] v9fs: make conv functions to check for conv buffer overflow buf_check_size function checks if the conv buffer has enough space for the performed operation, but it doesn't return the result back to the calling function, only logs an error in the log. The report-back-error functionality was lost when buf_check_size was converted from macro to inline function. The return in the macro used to exit from the functions that include it, after the conversion it just exits from the inline function itself. The patch makes buf_check_size to return flag and all functions that use it check if they should perform the operation, or exit. Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 89559a6119e9779c732fdc7aef5e175bf090dd69 tree c3c93f05718dce852e5910e4315fdcf84b5ffad4 parent 88d10bbaaec38856f913313b6c0858d9e9b7a066 author Prasanna S Panchamukhi Thu, 22 Sep 2005 21:43:47 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:33 -0700 [PATCH] Update maintainers list with the kprobes maintainers This patch updates the maintainers list with kprobes maintainers. Signed-of-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88d10bbaaec38856f913313b6c0858d9e9b7a066 tree 0d38947da1e0d72d00ae35e64b25f7d1c31d1556 parent e4c94330e3395ae87451bded2840a25d04f27902 author Eric W. Biederman Thu, 22 Sep 2005 21:43:46 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:33 -0700 [PATCH] suspend: cleanup calling of power off methods. In the lead up to 2.6.13 I fixed a large number of reboot problems by making the calling conventions consistent. Despite checking and double checking my work it appears I missed an obvious one. The S4 suspend code for PM_DISK_PLATFORM was also calling device_shutdown without setting system_state, and was not calling the appropriate reboot_notifier. This patch fixes the bug by replacing the call of device_suspend with kernel_poweroff_prepare. Various forms of this failure have been fixed and tracked for a while. Thanks for tracking this down go to: Alexey Starikovskiy, Meelis Roos , Nigel Cunningham , Pierre Ossman History of this bug is at: http://bugme.osdl.org/show_bug.cgi?id=4320 Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e4c94330e3395ae87451bded2840a25d04f27902 tree 860c6a1070492cb2fa8cc5847a366b1841f8c6a5 parent 0678e5feaab8b359b18858e8532bb6017edb112b author Eric W. Biederman Thu, 22 Sep 2005 21:43:45 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:33 -0700 [PATCH] reboot: comment and factor the main reboot functions In the lead up to 2.6.13 I fixed a large number of reboot problems by making the calling conventions consistent. Despite checking and double checking my work it appears I missed an obvious one. This first patch simply refactors the reboot routines so all of the preparation for various kinds of reboots are in their own functions. Making it very hard to get the various kinds of reboot out of sync. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0678e5feaab8b359b18858e8532bb6017edb112b tree 41b09ba42b40f75afebd2408d5e101ef214000b5 parent e53897e2fb48526a62116ef8e72d7441d5ee8752 author Andrew Morton Thu, 22 Sep 2005 21:43:44 -0700 committer Linus Torvalds Thu, 22 Sep 2005 22:17:33 -0700 [PATCH] proc_task_root_link c99 fix fs/proc/base.c: In function `proc_task_root_link': fs/proc/base.c:364: warning: ISO C90 forbids mixed declarations and code Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a8201c61065f3b5a4fe2fde1db1c817e288916be tree 90dbf2a6440621437db31f7d8060882c0f2866c5 parent bff06d552240ba7f5b49482a4865871d7bc03dc2 author David S. Miller Thu, 22 Sep 2005 20:31:29 -0700 committer David S. Miller Thu, 22 Sep 2005 20:31:29 -0700 [SPARC64]: Fix comment typo in head.S Signed-off-by: David S. Miller commit bff06d552240ba7f5b49482a4865871d7bc03dc2 tree ee760e252023bec338921296b12bb54987bedcac parent 40fd3533c93f0062b6d1d8540961ef70fc8ab750 author David S. Miller Thu, 22 Sep 2005 20:11:33 -0700 committer David S. Miller Thu, 22 Sep 2005 20:11:33 -0700 [SPARC64]: Rewrite bootup sequence. Instead of all of this cpu-specific code to remap the kernel to the correct location, use portable firmware calls to do this instead. What we do now is the following in position independant assembler: chosen_node = prom_finddevice("/chosen"); prom_mmu_ihandle_cache = prom_getint(chosen_node, "mmu"); vaddr = 4MB_ALIGN(current_text_addr()); prom_translate(vaddr, &paddr_high, &paddr_low, &mode); prom_boot_mapping_mode = mode; prom_boot_mapping_phys_high = paddr_high; prom_boot_mapping_phys_low = paddr_low; prom_map(-1, 8 * 1024 * 1024, KERNBASE, paddr_low); and that replaces the massive amount of by-hand TLB probing and programming we used to do here. The new code should also handle properly the case where the kernel is mapped at the correct address already (think: future kexec support). Consequently, the bulk of remap_kernel() dies as does the entirety of arch/sparc64/prom/map.S We try to share some strings in the PROM library with the ones used at bootup, and while we're here mark input strings to oplib.h routines with "const" when appropriate. There are many more simplifications now possible. For one thing, we can consolidate the two copies we now have of a lot of cpu setup code sitting in head.S and trampoline.S. This is a significant step towards CONFIG_DEBUG_PAGEALLOC support. Signed-off-by: David S. Miller commit e53897e2fb48526a62116ef8e72d7441d5ee8752 tree ecbcf922d84829386fbf72244357bb2b38b36f7e parent 3fd07d3bf0077dcc0f5a33d2eb1938ea050da8da parent 4881e2cd25d2d9cf9fca263caff3a0ce732d7d6b author Linus Torvalds Thu, 22 Sep 2005 16:23:04 -0700 committer Linus Torvalds Thu, 22 Sep 2005 16:23:04 -0700 Merge branch 'release' of master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 4881e2cd25d2d9cf9fca263caff3a0ce732d7d6b tree 6d93cddd18ed37395d4522799f2d31a862669d10 parent 20bb86852a6b7d9ca8c48ff921ff3904038959cf author Hidetoshi Seto Tue, 20 Sep 2005 16:34:41 +0900 committer Tony Luck Thu, 22 Sep 2005 13:27:59 -0700 [IA64] MCA recovery verify pfn_valid Verify the pfn is valid before calling pfn_to_page(), and cut isolation message if nothing was done. Signed-off-by: Hidetoshi Seto Acked-by: Russ Anderson Signed-off-by: Tony Luck commit 20bb86852a6b7d9ca8c48ff921ff3904038959cf tree 7db40dee86256b322a1036a6187db2e189e0bd0a parent 83a78d9ba792660418d692fd6737871aefdbff36 author Keith Owens Thu, 22 Sep 2005 18:49:15 +1000 committer Tony Luck Thu, 22 Sep 2005 13:24:19 -0700 [IA64] Wire in the MCA/INIT handler stacks Wire the MCA/INIT handler stacks into DTR[2] and track them in IA64_KR(CURRENT_STACK). This gives the MCA/INIT handler stacks the same TLB status as normal kernel stacks. Reload the old CURRENT_STACK data on return from OS to SAL. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit 40fd3533c93f0062b6d1d8540961ef70fc8ab750 tree 89df38fa456ba31551cc7a803677da556ab1e912 parent 2bdb3cb265830aee823444d115a8a84eca2b934e author David S. Miller Thu, 22 Sep 2005 13:03:36 -0700 committer David S. Miller Thu, 22 Sep 2005 13:03:36 -0700 [SPARC64]: Kill readjust_prom_translations() Testing shows that the prom_unmap() calls do absolutely nothing. Signed-off-by: David S. Miller commit 83a78d9ba792660418d692fd6737871aefdbff36 tree bdacedc3e5bdf6a638975d8e7a52f81e1e23abc9 parent 0fc084eaffe0a9a82a0c94da9ee9f7060ade8b04 author Peter Chubb Mon, 19 Sep 2005 09:36:12 +1000 committer Tony Luck Thu, 22 Sep 2005 10:42:39 -0700 [IA64] Fix simscsi for new SCSI midlayer The sd driver now uses scsi_execute_req() for almost everything. scsi_execute_req() converts requests into scatterlists. Fix the HP SCSI disk simulator to understand scatterlists for more commands. Without this patch the current kernel will not boot on the simulator (the disks are always detected as having no sectors, and so cannot be mounted). Signed-off-by: Peter Chubb Signed-off-by: Tony Luck commit 3fd07d3bf0077dcc0f5a33d2eb1938ea050da8da tree 7d6b7175975e342b7749c06d2f41867783836f73 parent 0fc084eaffe0a9a82a0c94da9ee9f7060ade8b04 author Kumar Gala Wed, 21 Sep 2005 23:54:58 -0500 committer Linus Torvalds Thu, 22 Sep 2005 09:41:35 -0700 [PATCH] ppc32: Fix configuration of PCI IO space on MPC85xx platform For platforms that don't have PCI IO at 0 the outbound window registers were not being properly configured. Signed-off-by: Andrew Klossner Signed-off-by: Kumar K. Gala Signed-off-by: Linus Torvalds commit 0fc084eaffe0a9a82a0c94da9ee9f7060ade8b04 tree c1a9694603bbd4bf1ca280e4062298bcabdf6287 parent c6c88834b2c6635df9d17695feb50c835bc8efc6 author Alan Stern Thu, 22 Sep 2005 00:49:51 -0700 committer Linus Torvalds Thu, 22 Sep 2005 07:58:26 -0700 [PATCH] USB: Update Documentation/usb/URB.txt This patch (as564) updates Documentation/usb/URB.txt, bringing it roughly up to the current level. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit c6c88834b2c6635df9d17695feb50c835bc8efc6 tree 2de03fe67fa25cd0be119bc32ed24ede01a77aef parent 3a8c1e2910daaff7590173e9d4ca07153e8a3517 author Pete Zaitcev Thu, 22 Sep 2005 00:49:45 -0700 committer Linus Torvalds Thu, 22 Sep 2005 07:58:26 -0700 [PATCH] ub: Comment out unconditional stall clear This code appears to be more trouble than it's worth, considering that no normal users reload drivers. So, we comment it for now. It is not removed outright for the benefit of hackers (that is, myself). Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 3a8c1e2910daaff7590173e9d4ca07153e8a3517 tree fb4306e9c3638c23b688e691c3002d0df6b2c755 parent b27c73dcab61826e5f1228d69d56f469b0abfc05 author David Hollis Thu, 22 Sep 2005 00:49:39 -0700 committer Linus Torvalds Thu, 22 Sep 2005 07:58:26 -0700 [PATCH] USB: Add Novatel CDMA Wireless PC card IDs to airprime USB: Add device id's for Novatel Wireless CDMA wireless PC card. The Novatel CDMA card behaves the same as the AirPrime by providing a USB serial port. Signed-off-by: David Hollis Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit b27c73dcab61826e5f1228d69d56f469b0abfc05 tree da3ef027dcbd3896556cbb1269116b2e1328002f parent a85a46f2c38def5150251816890393803fdae7d0 author Matthias Urlichs Thu, 22 Sep 2005 00:49:33 -0700 committer Linus Torvalds Thu, 22 Sep 2005 07:58:26 -0700 [PATCH] usb/serial/option.c: Increase input buffer size The card sometimes sends >2000 bytes in one single chunk. Ouch. Signed-Off-By: Matthias Urlichs Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit a85a46f2c38def5150251816890393803fdae7d0 tree 98cfbc561911ee869d29a30b40847fae15bd65f1 parent 4b2e790a4d73d729d936cc42f3b08af34f8ea5c6 author Kevin Vigor Thu, 22 Sep 2005 00:49:24 -0700 committer Linus Torvalds Thu, 22 Sep 2005 07:58:26 -0700 [PATCH] USB: fix pegasus driver Addresses some small bugs in the pegasus ethernet-over-USB driver. Specifically, malformed long packets from the adapter could cause a kernel panic; the interrupt interval calculation was inappropriate for high-speed devices; the return code from read_mii_word was tested incorrectly; and failure to unlink outstanding URBs before freeing them could lead to kernel panics when unloading the driver. Signed-off-by: Kevin Vigor Cc: Petko Manolov Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 4b2e790a4d73d729d936cc42f3b08af34f8ea5c6 tree d052c4c7d260b0eeb3e83376f7f4eb952e1cfd60 parent 2ba08e825e5a666f540bff15e9977725675e8de6 author David Brownell Thu, 22 Sep 2005 00:49:07 -0700 committer Linus Torvalds Thu, 22 Sep 2005 07:58:25 -0700 [PATCH] USB: sl811-hcd minor fixes Three minor sl811-hcd fixes: - Elminate memory leak on one (rare) disable/shutdown path. - For periodic transfers that don't need to be scheduled, update urb->start_frame to represent the transfer phase correctly. - Report the (single) port as removable, by default. Since no drivers yet use start_frame or that part of the hub descriptor, only that leak is likely to ever matter. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds drivers/usb/host/sl811-hcd.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) commit 2ba08e825e5a666f540bff15e9977725675e8de6 tree 2ba1c9233c507683881565a9991ba5e0aed55fc3 parent 72a755fce0243d4168a6153813a1b533b05a7d72 author Richard Purdie Thu, 22 Sep 2005 00:48:58 -0700 committer Linus Torvalds Thu, 22 Sep 2005 07:58:25 -0700 [PATCH] USB: fix pxa2xx_udc compile warnings This patch fixes several types in the PXA25x udc driver and hence fixes several compiler warnings. Signed-off-by: Richard Purdie Acked-by: David Brownell Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 72a755fce0243d4168a6153813a1b533b05a7d72 tree 9a43f379879f0cf8cdf95f7f11edb9ae4ca39654 parent b6137383bda844a433d65e027502df7b20ba45c2 author Peter Favrholdt Thu, 22 Sep 2005 00:48:49 -0700 committer Linus Torvalds Thu, 22 Sep 2005 07:58:25 -0700 [PATCH] USB: ftdi_sio: allow baud rate to be changed without raising RTS and DTR I'm using a 2 port USB RS232 dongle to connect to a serial-IR cradle for a bar code reader). Detecting the baudrate of the serial-IR involves keeping DTR low while changing baudrate. This works using normal 16550A serial ports as well as the FTDI driver version 1.4.0 (Linux 2.6.8) but stopped working with the change to "ensure RTS and DTR are raised when changing baudrate" introduced in version 1.4.1 (Linux 2.6.9). The attached patch fixes this, so RTS and DTR is only raised when changing baudrate iff the previous baudrate was B0. Signed-off-by: Peter Favrholdt Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit b6137383bda844a433d65e027502df7b20ba45c2 tree a76e831344beca1960e6437de973ab2e6e8ef47c parent 64bd84538ac7f8ba3080eda4d92c66a8441cc6cc author Matthias Urlichs Thu, 22 Sep 2005 00:48:40 -0700 committer Linus Torvalds Thu, 22 Sep 2005 07:58:25 -0700 [PATCH] USB: more device IDs for Option card driver Added support for HUAWEI E600 and Audiovox AirCard User reports say that these devices work without driver modification. Signed-off-by: Matthias Urlichs Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 64bd84538ac7f8ba3080eda4d92c66a8441cc6cc tree 5afbf6858d5f44b962f3ea1cb78ab1ccfaf65d65 parent 02fe75a9ad797b4f8ccf1ee8e49833b77cc30c6a author Pete Zaitcev Thu, 22 Sep 2005 00:48:29 -0700 committer Linus Torvalds Thu, 22 Sep 2005 07:58:25 -0700 [PATCH] ub: fix burning cds This patch fixes a few problems with ub and cleans up a couple of things: - Bump UB_MAX_REQ_SG, this allows to burn CDs - Drop initialization of urb.transfer_flags, now that URB_UNLINK_ASYNC is gone - Add forgotten processing of stalls at GetMaxLUN - Remove a few more P3-tagged printks whose time has come - Correct comment about ZIP-100 Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds drivers/block/ub.c | 53 +++++++++++++++++++++++++++-------------------------- 1 file changed, 27 insertions(+), 26 deletions(-) commit 02fe75a9ad797b4f8ccf1ee8e49833b77cc30c6a tree 030827c54f248461b7384021a1cbd22bec0e53cf parent 3c6de9295d28a4fc868b2c09f23e318e3e7b9b6b author Linda Xie Thu, 22 Sep 2005 00:48:24 -0700 committer Linus Torvalds Thu, 22 Sep 2005 07:58:25 -0700 [PATCH] PCI Hotplug: Fix buffer overrun in rpadlpar_sysfs.c Signed-off-by: Linda Xie Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 3c6de9295d28a4fc868b2c09f23e318e3e7b9b6b tree bc328ba9645a9d19c3b132f71e74ef3f7ed76f7a parent 656da9da3745abcbbbdca598745d04c6de2c8843 author Amos Waterland Thu, 22 Sep 2005 00:48:19 -0700 committer Linus Torvalds Thu, 22 Sep 2005 07:58:25 -0700 [PATCH] fix drivers/pci/probe.c warning This function expects an unsigned 32-bit type as its third argument: static u32 pci_size(u32 base, u32 maxbase, u32 mask) However, given these definitions: #define PCI_BASE_ADDRESS_MEM_MASK (~0x0fUL) #define PCI_ROM_ADDRESS_MASK (~0x7ffUL) these two calls in drivers/pci/probe.c are problematic for architectures for which a UL is not equivalent to a u32: sz = pci_size(l, sz, PCI_BASE_ADDRESS_MEM_MASK); sz = pci_size(l, sz, PCI_ROM_ADDRESS_MASK); Hence the below compile warning when building for ARCH=ppc64: drivers/pci/probe.c: In function `pci_read_bases': /.../probe.c:168: warning: large integer implicitly truncated to unsigned type /.../probe.c:218: warning: large integer implicitly truncated to unsigned type Here is a simple fix. Signed-off-by: Amos Waterland Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 656da9da3745abcbbbdca598745d04c6de2c8843 tree f18072653649eb5bae6823a2d5ec22d62e60462b parent 1029d6b58adc3225911c56af26895871dd2ea8cf author Pekka Enberg Thu, 22 Sep 2005 00:48:11 -0700 committer Linus Torvalds Thu, 22 Sep 2005 07:58:24 -0700 [PATCH] PCI: convert kcalloc to kzalloc This patch converts kcalloc(1, ...) calls to use the new kzalloc() function. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 1029d6b58adc3225911c56af26895871dd2ea8cf tree 88168e6762dbb15e3198ee9a874b856a748275e1 parent dba28010b27ab56d2c4cec5f361e0947295addfd author Bjorn Helgaas Thu, 22 Sep 2005 00:48:02 -0700 committer Linus Torvalds Thu, 22 Sep 2005 07:58:24 -0700 [PATCH] PCI: remove unused "scratch" Unused variable. Signed-off-by: Bjorn Helgaas Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit dba28010b27ab56d2c4cec5f361e0947295addfd tree 2cf6a6acdaf2012ec5526c8bfd3af10f56c7e317 parent 3e51377dc412df9d4933c4fd1a147b5b560abe10 author Greg Kroah-Hartman Thu, 22 Sep 2005 00:47:46 -0700 committer Linus Torvalds Thu, 22 Sep 2005 07:58:24 -0700 [PATCH] I2C: remove me from the MAINTAINERS file for i2c Remove my name from the I2C maintainer, Jean is more than capable of handling it all now. Signed-off-by: Greg Kroah-Hartman Signed-off-by: Jean Delvare Signed-off-by: Linus Torvalds commit 3e51377dc412df9d4933c4fd1a147b5b560abe10 tree 2a73926a882a883f82b1066d9e72fd0962d58237 parent d305ef5d2a4e77bfa66160513f4a7494126a506b author Bill Nottingham Thu, 22 Sep 2005 00:47:36 -0700 committer Linus Torvalds Thu, 22 Sep 2005 07:58:24 -0700 [PATCH] fix class symlinks in sysfs The class symlinks in sysfs don't properly handle changing device names. To demonstrate, rename your network device from eth0 to eth1. Your pci (or usb, or whatever) device will still have a 'net:eth0' link, except now it points to /sys/class/net/eth1. The attached patch makes sure the class symlink name changes when the class device name changes. It isn't 100% correct, it should be using sysfs_rename_link. Unfortunately, sysfs_rename_link doesn't exist. Signed-off-by: Bill Nottingham Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit d305ef5d2a4e77bfa66160513f4a7494126a506b tree f70f435571fb6c4d520fea0f3c769a2a6df73f84 parent 4c898c7f2f286b204fefc5dddb568f755d195d0c author Daniel Ritz Thu, 22 Sep 2005 00:47:24 -0700 committer Linus Torvalds Thu, 22 Sep 2005 07:58:24 -0700 [PATCH] driver core: add helper device_is_registered() add the helper and use it instead of open coding the klist_node_attached() check (which is a layering violation IMHO) idea by Alan Stern. Signed-off-by: Daniel Ritz Cc: Alan Stern Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 4c898c7f2f286b204fefc5dddb568f755d195d0c tree 026fead9aef220a5fd994e2eaa269ed598651d39 parent 0b50f81d5a63428f131ff20596f4e3d473e5b94f author Daniel Ritz Thu, 22 Sep 2005 00:47:11 -0700 committer Linus Torvalds Thu, 22 Sep 2005 07:58:24 -0700 [PATCH] Driver Core: fis bus rescan devices race bus_rescan_devices_helper() does not hold the dev->sem when it checks for !dev->driver(). device_attach() holds the sem, but calls again device_bind_driver() even when dev->driver is set. What happens is that a first device_attach() call (module insertion time) is on the way binding the device to a driver. Another thread calls bus_rescan_devices(). Now when bus_rescan_devices_helper() checks for dev->driver it is still NULL 'cos the the prior device_attach() is not yet finished. But as soon as the first one releases the dev->sem the second device_attach() tries to rebind the already bound device again. device_bind_driver() does this blindly which leads to a corrupt driver->klist_devices list (the device links itself, the head points to the device). Later a call to device_release_driver() sets dev->driver to NULL and breaks the link it has to itself on knode_driver. Rmmoding the driver later calls driver_detach() which leads to an endless loop 'cos the list head in klist_devices still points to the device. And since dev->driver is NULL it's stuck with the same device forever. Boom. And rmmod hangs. Very easy to reproduce with new-style pcmcia and a 16bit card. Just loop modprobe ;cardctl eject; rmmod . Easiest fix is to check if the device is already bound to a driver in device_bind_driver(). This avoids the double binding. Signed-off-by: Daniel Ritz Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 91fbc6edfa7086b5fcdb74ea82ab747104541f1f tree 37fc00d0402e634d9de6b880098bba68bdc2da78 parent efb0372bbaf5b829ff8c39db372779928af542a7 author Anton Altaparmakov Thu, 22 Sep 2005 13:26:44 +0100 committer Anton Altaparmakov Thu, 22 Sep 2005 13:26:44 +0100 NTFS: Fix sparse warnings that have crept in over time. Signed-off-by: Anton Altaparmakov commit 8420e1b541fe92aee1d8d4d25d9e33eaca756a7b tree c427c8cfe59bfae22eac2dc4c325aa947f7cb0eb parent d389424e00f9097cd24b3df4ca0ab7221f140eeb author Arnaldo Carvalho de Melo Thu, 22 Sep 2005 08:29:08 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 08:29:08 -0300 [LLC]: fix llc_ui_recvmsg, making it behave like tcp_recvmsg In fact it is an exact copy of the parts that makes sense to LLC :-) Signed-off-by: Arnaldo Carvalho de Melo commit d389424e00f9097cd24b3df4ca0ab7221f140eeb tree 9ffa95a4e791b19e5d793a06943e40221858b236 parent 2928c19e1086e2f1e90d05931437ab6f1e4cfdc8 author Arnaldo Carvalho de Melo Thu, 22 Sep 2005 07:57:21 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 07:57:21 -0300 [LLC]: Fix the accept path Borrowing the structure of TCP/IP for this. On the receive of new connections I was bh_lock_socking the _new_ sock, not the listening one, duh, now it survives the ssh connections storm I've been using to test this specific bug. Also fixes send side skb sock accounting. Signed-off-by: Arnaldo Carvalho de Melo commit 2928c19e1086e2f1e90d05931437ab6f1e4cfdc8 tree 47bd56109e8d6b0792735c01108a4df685539459 parent 0519d8fbabc4eb215a8263f29143ccd86c328157 author Arnaldo Carvalho de Melo Thu, 22 Sep 2005 05:14:33 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 05:14:33 -0300 [LLC]: Fix sparse warnings Signed-off-by: Arnaldo Carvalho de Melo commit 2bdb3cb265830aee823444d115a8a84eca2b934e tree 967596d2e3ab18772761dd1202d67803d0830c85 parent 5085b4a5492f4f8bd32d0cc5b1cad4bf522c2e1a author David S. Miller Thu, 22 Sep 2005 01:08:57 -0700 committer David S. Miller Thu, 22 Sep 2005 01:08:57 -0700 [SPARC64]: Remove unnecessary paging_init() cruft. Because we don't access the PAGE_OFFSET linear mappings any longer before we take over the trap table from the firmware, we don't need to load dummy mappings there into the TLB and we don't need the bootmap_base hack any longer either. While we are here, check for a larger than 8MB kernel and halt the boot with an error message. We know that doesn't work, so instead of failing mysteriously we should let the user know exactly what's wrong. Signed-off-by: David S. Miller commit 0519d8fbabc4eb215a8263f29143ccd86c328157 tree 4374f22b1b1111705cadb4ec9dbcd90c2935600e parent 096f0eb1dff326ddebfedeb128fb48d5b7ca75e1 author Jochen Friedrich Thu, 22 Sep 2005 04:51:56 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 04:51:56 -0300 [TR]: Set correct frame type for SNAP packets Signed-off-by: Jochen Friedrich Signed-off-by: Arnaldo Carvalho de Melo commit 096f0eb1dff326ddebfedeb128fb48d5b7ca75e1 tree 9beeb19dc06be5b21bcc982d74b17c890640c71a parent 5564af21ae7900889c5151e5b16bd42cdda11a77 author Jochen Friedrich Thu, 22 Sep 2005 04:48:46 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 04:48:46 -0300 [LLC]: Fix llc_fixup_skb() bug llc_fixup_skb() had a bug dropping 3 bytes packets (like UA frames). Token ring doesn't pad these frames. Signed-off-by: Jochen Friedrich Signed-off-by: Arnaldo Carvalho de Melo commit 5564af21ae7900889c5151e5b16bd42cdda11a77 tree 37dc0ade71e1a495ad9c2fc216dabb264a1ef852 parent cf309e3fb863b7a245b91f816193957f6daf786f author Jochen Friedrich Thu, 22 Sep 2005 04:46:44 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 04:46:44 -0300 [LLC]: Fix for Bugzilla ticket #5157 Signed-off-by: Jochen Friedrich Signed-off-by: Arnaldo Carvalho de Melo commit 5085b4a5492f4f8bd32d0cc5b1cad4bf522c2e1a tree ea8ecb5d0a99f577b6517fe13583d63d8a8e800e parent 405599bd98b01d648becb020efb503abf19f9c9f author David S. Miller Thu, 22 Sep 2005 00:45:41 -0700 committer David S. Miller Thu, 22 Sep 2005 00:45:41 -0700 [SPARC64]: Do not allocate OBP page tables using bootmem Just allocate them physically starting from the end of the kernel image. This incredibly simplifies our MM bootstrap in that we don't need any mappings in the linear PAGE_OFFSET area working in order to bootstrap ourselves and take over the trap table from the firmware. Many further simplifications are possible now, and this also sets the stage for CONFIG_DEBUG_PAGEALLOC support. Signed-off-by: David S. Miller commit cf309e3fb863b7a245b91f816193957f6daf786f tree dea98fdd919c726857d63b9a0f60e9ba89ca32d8 parent 6e2144b76840be09924de1626e2dcd7b315f75b3 author Jochen Friedrich Thu, 22 Sep 2005 04:44:55 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 04:44:55 -0300 [LLC]: Fix for Bugzilla ticket #5156 Signed-off-by: Jochen Friedrich Signed-off-by: Arnaldo Carvalho de Melo commit 6e2144b76840be09924de1626e2dcd7b315f75b3 tree 33044cb63f368270229e2b40aa2ad024325c7e8b parent 04e4223f44b89e50f275cb6b95a58ebe2c4909be author Arnaldo Carvalho de Melo Thu, 22 Sep 2005 04:43:05 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 04:43:05 -0300 [LLC]: Use refcounting with struct llc_sap Signed-off-by: Jochen Friedrich Signed-off-by: Arnaldo Carvalho de Melo commit 04e4223f44b89e50f275cb6b95a58ebe2c4909be tree 16f797eef4e2620b4150ddb94da78eaeb2baa679 parent afdbe35787ea3390af0f1dd38b3dd9d8a8d313e7 author Arnaldo Carvalho de Melo Thu, 22 Sep 2005 04:40:59 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 04:40:59 -0300 [LLC]: Do better struct sock accounting on skbs Signed-off-by: Jochen Friedrich Signed-off-by: Arnaldo Carvalho de Melo commit afdbe35787ea3390af0f1dd38b3dd9d8a8d313e7 tree f0d05f1e081523e4ea38f4659f9b57af1a17fc11 parent 249ff1c6d35fd32ca945967c3f0b948210a96baa author Arnaldo Carvalho de Melo Thu, 22 Sep 2005 04:37:07 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 04:37:07 -0300 [LLC]: Use sk_wait_data Signed-off-by: Jochen Friedrich Signed-off-by: Arnaldo Carvalho de Melo commit 249ff1c6d35fd32ca945967c3f0b948210a96baa tree b7f13f3a7c0d09d523e86ccac3dce0856288f726 parent 590232a7150674b2036291eaefce085f3f9659c8 author Arnaldo Carvalho de Melo Thu, 22 Sep 2005 04:32:10 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 04:32:10 -0300 [LLC]: Use some more likely/unlikely Signed-off-by: Jochen Friedrich Signed-off-by: Arnaldo Carvalho de Melo commit 590232a7150674b2036291eaefce085f3f9659c8 tree f14ca696cc9eead769933d24d04105928260f028 parent 54fb7f25f19a4539d3ec012e410439913650dc06 author Arnaldo Carvalho de Melo Thu, 22 Sep 2005 04:30:44 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 04:30:44 -0300 [LLC]: Add sysctl support for the LLC timeouts Signed-off-by: Jochen Friedrich Signed-off-by: Arnaldo Carvalho de Melo commit 54fb7f25f19a4539d3ec012e410439913650dc06 tree 0260014fa5ce4f751fadba1b0032dd9fadde1d6f parent b35bd11019ed1084a36632f1c1d936244d9cfb5b author Arnaldo Carvalho de Melo Thu, 22 Sep 2005 04:26:14 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 04:26:14 -0300 [LLC]: Use the sk_wait_event primitive Signed-off-by: Jochen Friedrich Signed-off-by: Arnaldo Carvalho de Melo commit b35bd11019ed1084a36632f1c1d936244d9cfb5b tree 731acb821880f84586c4d414ddb4c08a0eee7e35 parent 72b1ad4a7e239a2224e87194654acba56fc477d4 author Arnaldo Carvalho de Melo Thu, 22 Sep 2005 04:22:39 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 04:22:39 -0300 [LLC]: Convert llc_ui_wait_for_ functions to use prepare_to_wait/finish_wait And make it look more like the similar routines in the TCP/IP source code. Signed-off-by: Jochen Friedrich Signed-off-by: Arnaldo Carvalho de Melo commit 72b1ad4a7e239a2224e87194654acba56fc477d4 tree 80fbdad067fa012611ee607433479940eb0aa4ab parent b9441fc3375a6637a81bc1635c5e12da4dc7acc6 author Arnaldo Carvalho de Melo Thu, 22 Sep 2005 04:19:52 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 04:19:52 -0300 [LLC]: Remove unused functions from llc_c_ev.c Signed-off-by: Jochen Friedrich Signed-off-by: Arnaldo Carvalho de Melo commit 405599bd98b01d648becb020efb503abf19f9c9f tree ccf791e5a40f8c550103b0f7db054dca2973ae79 parent b206fc4c0997ee858bc3ed35f157d7c3cda54cfd author David S. Miller Thu, 22 Sep 2005 00:12:35 -0700 committer David S. Miller Thu, 22 Sep 2005 00:12:35 -0700 [SPARC64]: Break up inherit_prom_mappings() into it's constituent parts. This thing was just a huge monolithic mess, so chop it up. Signed-off-by: David S. Miller commit b9441fc3375a6637a81bc1635c5e12da4dc7acc6 tree fee0dce96e91d57d6f987c6765ac5d760c8e258a parent af426d327c38bcb8cbb87c60134d42d2e93b20cc author Arnaldo Carvalho de Melo Thu, 22 Sep 2005 04:09:45 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 04:09:45 -0300 [LLC]: Use const in llc_c_ev.c Signed-off-by: Jochen Friedrich Signed-off-by: Arnaldo Carvalho de Melo commit af426d327c38bcb8cbb87c60134d42d2e93b20cc tree 913af84609a80231cf38d1f64e5775fb66121c95 parent 0eb8017242cb7e8b18af4751b03646436b8f90e3 author Arnaldo Carvalho de Melo Thu, 22 Sep 2005 03:59:22 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 03:59:22 -0300 [LLC]: Help the compiler with likely/unlikely, saving some more bytes Signed-off-by: Jochen Friedrich Signed-off-by: Arnaldo Carvalho de Melo commit 0eb8017242cb7e8b18af4751b03646436b8f90e3 tree dd006059d1da23b4cd62d20fdedd9083615bd803 parent 5a770c0262262e96979fe05d5c2fa1d1f409dbdc author Arnaldo Carvalho de Melo Thu, 22 Sep 2005 03:57:55 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 03:57:55 -0300 [LLC]: Mark llc_find_next_offset as __init, saving some more bytes Signed-off-by: Jochen Friedrich Signed-off-by: Arnaldo Carvalho de Melo commit 5a770c0262262e96979fe05d5c2fa1d1f409dbdc tree 88d458a79c9db7f67df6336a5f7160e52a7e6e2d parent 774ccb4f64020dad40d38efa63685220e1f245cc author Arnaldo Carvalho de Melo Thu, 22 Sep 2005 03:56:26 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 03:56:26 -0300 [LLC]: Update comments for llc_ui_bind and llc_ui_autobind to match new behaviour Signed-off-by: Jochen Friedrich Signed-off-by: Arnaldo Carvalho de Melo commit 774ccb4f64020dad40d38efa63685220e1f245cc tree 403a80fc4269c4ecc78a0d95ff9dff97d755c7b4 parent e0dd55190ff8c6485a721c9473ded92d03c0fe01 author Arnaldo Carvalho de Melo Thu, 22 Sep 2005 03:53:35 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 03:53:35 -0300 [LLC]: Remove unneeded temp net_device variables Signed-off-by: Jochen Friedrich Signed-off-by: Arnaldo Carvalho de Melo commit e0dd55190ff8c6485a721c9473ded92d03c0fe01 tree 52a00bdf50392b457e2eaf5b6c8fddd6d9726366 parent 838a75dae05d59b7d7894c299508ae3d7dea9630 author Arnaldo Carvalho de Melo Thu, 22 Sep 2005 03:50:15 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 03:50:15 -0300 [LLC]: introduce llc_conn_tmr_common_cb, to avoid code duplication Signed-off-by: Jochen Friedrich Signed-off-by: Arnaldo Carvalho de Melo commit 838a75dae05d59b7d7894c299508ae3d7dea9630 tree 2b34b0b138cf43de012f7764f0f19ce5883076bd parent bdcc66cca89cc2e97e93054d139b2e9a2b2ec1a7 author Arnaldo Carvalho de Melo Thu, 22 Sep 2005 03:44:23 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 03:44:23 -0300 [LLC]: Remove unneeded f_bit variables Signed-off-by: Jochen Friedrich Signed-off-by: Arnaldo Carvalho de Melo commit bdcc66cca89cc2e97e93054d139b2e9a2b2ec1a7 tree b63038631b65b0ed00366bc6bd74c5700f1bc8b3 parent 1d67e6501b8dba54ef8dcabebe2ad049b8ad0d67 author Arnaldo Carvalho de Melo Thu, 22 Sep 2005 03:38:15 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 03:38:15 -0300 [LLC]: Simplify llc_c_ac code, removing unneeded assignments to variables Signed-off-by: Jochen Friedrich Signed-off-by: Arnaldo Carvalho de Melo commit 1d67e6501b8dba54ef8dcabebe2ad049b8ad0d67 tree 0913ff017c81e0c0b4d8a0a790d99619906ddeaa parent efb0372bbaf5b829ff8c39db372779928af542a7 author Arnaldo Carvalho de Melo Thu, 22 Sep 2005 03:27:56 -0300 committer Arnaldo Carvalho de Melo Thu, 22 Sep 2005 03:27:56 -0300 [LLC]: Make llc_frame_alloc take a net_device as an argument So as to set the newly created sk_buff ->dev member with it, that way we stop using dev_base->next, that is the wrong thing to do, as there may well be several interfaces being used with LLC. This was not such a big problem after all as most of the users of llc_alloc_frame were setting the correct dev, but this way code is reduced. This also fixes another bug in llc_station_ac_send_null_dsap_xid_c, that was not setting the skb->dev field. Signed-off-by: Jochen Friedrich Signed-off-by: Arnaldo Carvalho de Melo commit b206fc4c0997ee858bc3ed35f157d7c3cda54cfd tree c23da9880e719b5219d119fd1c966794ec66d4de parent 1ac4f5ebaa496a23ab4a148c9864d7e30a6c6cd3 author David S. Miller Wed, 21 Sep 2005 22:31:13 -0700 committer David S. Miller Wed, 21 Sep 2005 22:31:13 -0700 [SPARC64]: Do not allocate prom translations using bootmem. Use __initdata instead. Signed-off-by: David S. Miller commit 1ac4f5ebaa496a23ab4a148c9864d7e30a6c6cd3 tree 1ab1e111f596b8c66c741e63f14d721cb1818c7a parent 059deb693ec191e563ec69533d24f3feff0b78cd author David S. Miller Wed, 21 Sep 2005 21:49:32 -0700 committer David S. Miller Wed, 21 Sep 2005 21:49:32 -0700 [SPARC64]: Remove ktlb.S instruction patching. This was kind of ugly, and actually buggy. The bug was that we didn't handle a machine with memory starting > 4GB. If the 'prompmd' was allocated in physical memory > 4GB we'd croak because the obp_iaddr_patch and obp_daddr_patch things only supported a 32-bit physical address. So fix this by just loading the appropriate values from two variables in the kernel image, which is locked into the TLB and thus accesses to them can't cause a recursive TLB miss. Signed-off-by: David S. Miller commit e86ee6682b649183c11013a98be02f25e9ae399d tree d51c0d04e5a777ae6805a1193d2ab252ecc97263 parent 17b14451fd2b187ddd6303726755a3af0a926b6c author Andy Currid Mon, 19 Sep 2005 06:17:52 -0700 committer Jeff Garzik Wed, 21 Sep 2005 22:52:19 -0400 [PATCH] Add NVIDIA device ID in sata_nv Signed-off-by: Andy Currid Signed-off-by: Jeff Garzik commit 0b50f81d5a63428f131ff20596f4e3d473e5b94f tree afb7d2f8382bb7798e90d88d6a690e63b5dfeb92 parent 383181ac7e59542ff47e2b81f7e4c40aba39b30b author Tommy Christensen Wed, 21 Sep 2005 12:13:57 -0700 committer Jeff Garzik Wed, 21 Sep 2005 22:49:07 -0400 [PATCH] r8169: call proper VLAN receive function vlan_hwaccel_rx should be used when in interrupt context. Fixes bug http://bugzilla.kernel.org/show_bug.cgi?id=5284 Signed-off-by: Tommy S. Christensen Cc: Francois Romieu Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 383181ac7e59542ff47e2b81f7e4c40aba39b30b tree a738880a7da8c987aa0c0b09af4966bbdfb951dd parent c3f8be961808313a502c67d59e2b7f930477faf3 author Stephen Hemminger Mon, 19 Sep 2005 15:37:16 -0700 committer Jeff Garzik Wed, 21 Sep 2005 22:32:50 -0400 [PATCH] skge: check length from PHY Cleanup receive buffer allocation and management, Add more error handling checks from PHY and bump version. Signed-off-by: Jeff Garzik commit c3f8be961808313a502c67d59e2b7f930477faf3 tree 67893c2d9b1aa45740317c53b164d90fe49e239f parent 552709d5aee9145f325bf07348fb299e84b2e5b3 author Stephen Hemminger Mon, 19 Sep 2005 15:37:34 -0700 committer Jeff Garzik Wed, 21 Sep 2005 22:32:50 -0400 [PATCH] skge: expand ethtool debug register dump Expand the returned data for ethtool debug access to include all of the mapped PCI area; except for the small set of registers that are for diagnostic RAM access. Access to those registers will hang the system. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 059deb693ec191e563ec69533d24f3feff0b78cd tree 9700526260fb0a621ba798f42399f6bb3502bdc9 parent 2a7e2990340a1c42321d79dc99755683ea5a1026 author David S. Miller Wed, 21 Sep 2005 19:23:48 -0700 committer David S. Miller Wed, 21 Sep 2005 19:23:48 -0700 [SPARC64]: Kill SZ_BITS define from dtlb_backend.S This is just a replica of the existing _PAGE_SZBITS, and thus unnecessary. Signed-off-by: David S. Miller commit 552709d5aee9145f325bf07348fb299e84b2e5b3 tree e2087d962b5f2b6b74ea58c842a28d242a422edd parent efb0372bbaf5b829ff8c39db372779928af542a7 author nsxfreddy@gmail.com Wed, 21 Sep 2005 14:18:04 -0500 committer Jeff Garzik Wed, 21 Sep 2005 22:23:13 -0400 [PATCH] bonding: Fix link monitor capability check (was skge: set mac address oops with bonding) Fix bond_enslave link monitoring warning to check use_carrier status and ethtool_ops in addition to do_ioctl. This version checks ethtool_ops as well as do_ioctl, and also uses the per-bond params.use_carrier instead of the global use_carrier. Signed-off-by: Jason R. Martin Signed-off-by: Jeff Garzik commit 2a7e2990340a1c42321d79dc99755683ea5a1026 tree 4423f305fd52c7a28a38f00cd826d01ad60f2e97 parent efb0372bbaf5b829ff8c39db372779928af542a7 author David S. Miller Wed, 21 Sep 2005 18:50:51 -0700 committer David S. Miller Wed, 21 Sep 2005 18:50:51 -0700 [SPARC64]: Move kernel TLB miss handling into a seperate file. Signed-off-by: David S. Miller commit efb0372bbaf5b829ff8c39db372779928af542a7 tree bd45777341bb85727ee4c301bb8e44d73c2554ac parent a46c9047642d70f5619e4a14129d74dd1f6ea74f author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 18:40:49 +0200 committer Linus Torvalds Wed, 21 Sep 2005 16:16:30 -0700 [PATCH] uml: fix compile warning after consolidation patch The header declaring this function wasn't included, so the function declaration was totally bogus wrt. the proto - even if this wasn't going to fail at all. It was so bad that the compile warning I got was "control reaches end of non-void function", i.e. missing return. Actually, this has been there for ages, the consolidation patch just added the warning which was needed to clean it up. Nice. Really. Cc: Allan Graves Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit a46c9047642d70f5619e4a14129d74dd1f6ea74f tree 1d0850d57ad6c3d109c700c071e7cd468306a1e8 parent ae756df8ddd00a30bb3bdf6774b514c096dda4a4 author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 18:40:29 +0200 committer Linus Torvalds Wed, 21 Sep 2005 16:16:30 -0700 [PATCH] uml: comment about cast build fix Explain why the casting we do to silence this warning is indeed safe. It is because the field we're casting from, though being 64-bit wide, was filled with a pointer in first place by ourselves. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit ae756df8ddd00a30bb3bdf6774b514c096dda4a4 tree ba7bade58318a6fe1ff645e4edb349e0bfef5394 parent 41c79dc3825545d9aa2d5e5b1a99f8faabf51455 author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 18:40:10 +0200 committer Linus Torvalds Wed, 21 Sep 2005 16:16:30 -0700 [PATCH] uml: readd removed unistd.h inclusion Readd this header (deleted in 60d339f6fe0831060600c62418b71a62ad26c281). A warning is spit out here about undeclared getpgrp(). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit 41c79dc3825545d9aa2d5e5b1a99f8faabf51455 tree 52e160a072f238eac8506ed95cfd21ab0c7eb75b parent fd7481047882eaa0a692a545d5f8419612ece1b0 author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 18:39:47 +0200 committer Linus Torvalds Wed, 21 Sep 2005 16:16:30 -0700 [PATCH] uml: fix bogus HOST_ELF_CLASS symbol name Even if with a bit of misunderstanding, Al fixed this in commit 95608261dae863bc43292e6fbd946a3abd3aa49f. Well, the symbol was intended to come from userspace (it exists there on normal host), but since some hosts may miss that, using the kernel one is just as fine. However, rename it to be named consistently with the rest. Actually, he missed converting ELFCLASS32 to coming from kernel headers. For consistence, add ELFCLASS64 too. Cc: Al Viro Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit fd7481047882eaa0a692a545d5f8419612ece1b0 tree af6c5283673881234f9f7615472b0d417ee6ca8f parent 8e5cb35a60c8792ffc3ba89ea66ebdd3c2f01cb1 author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 18:39:32 +0200 committer Linus Torvalds Wed, 21 Sep 2005 16:16:30 -0700 [PATCH] uml: Fix conflict between libc and ipv6 gcc is now complaining during link on some hosts - fix it as for other things. Reported by Antoine Martin . Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit 8e5cb35a60c8792ffc3ba89ea66ebdd3c2f01cb1 tree 85d8b8f9926a765e96024bd8f0d08bf0e6de08e0 parent 36decba90b184a25b7f77fb7df1612125cc41ac5 author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 18:39:14 +0200 committer Linus Torvalds Wed, 21 Sep 2005 16:16:30 -0700 [PATCH] uml: fix uname output on 32-bit binary on 64-bit host Translate uname output taken from the host if needed. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit 36decba90b184a25b7f77fb7df1612125cc41ac5 tree adaf26bbb1306a0d3b52c983b9fa9e5b57b780a5 parent 76629ac154aacfec8883954c3ff9871905d2fb8e author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 18:38:57 +0200 committer Linus Torvalds Wed, 21 Sep 2005 16:16:29 -0700 [PATCH] uml: fix modify_ldt - missing break in switch I am a lamer :-(. Luckily, Luo Xin performed LTP testing and found this failure. Btw, the fact that the patch in which I introduced this was merged shows that: a) I'm really trusted by people b) sometimes they're wrong about point a). c) lack of time for reviewers. CC: Luo Xin Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit 76629ac154aacfec8883954c3ff9871905d2fb8e tree 76cf6da4fe5493e463ccccd2b80b65608c9a4db9 parent 676067cfeaa16f6f338e067e83ce4733b41c0b24 author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 18:38:33 +0200 committer Linus Torvalds Wed, 21 Sep 2005 16:16:29 -0700 [PATCH] uml: remove verify_area_{tt,skas} When removing verify_area, verify_area_{tt,skas} were forgotten. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit 676067cfeaa16f6f338e067e83ce4733b41c0b24 tree 4468541d1b970fc240c115b69d894443d3ed564c parent c51179fb0c77ad91df5825f8f7eb670da97e137e author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 18:38:09 +0200 committer Linus Torvalds Wed, 21 Sep 2005 16:16:29 -0700 [PATCH] Remove unused var from asm/futex.h As recently done by Russell King for ARM, commit 4732efbeb997189d9f9b04708dc26bf8613ed721 introduces a generic asm/futex.h copied along most arches, which includes a "-ENOSYS support" to be changed if needed. However, it includes an unused var (taken from the "real" version) which GCC warns about. Remove it from all arches having that file version (i.e. same GIT id). $ git-diff-tree -r HEAD and $ git-ls-tree -r HEAD include/|grep 9feff4ce1424bc390608326240be369eb13aa648 may be more interesting than looking at the patch itself, to make sure I've just copied the arm header to all other archs having the original dummy version of this file. Cc: Jakub Jelinek Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit c51179fb0c77ad91df5825f8f7eb670da97e137e tree e1f4b8abef1caf0be32a6d777074fd84a80ef165 parent f62378fcfc9c13a57b0b69dbd43336a4df8155a5 author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 18:37:14 +0200 committer Linus Torvalds Wed, 21 Sep 2005 16:16:29 -0700 [PATCH] uml: adapt asm/futex.h to our arch Follow up to 4732efbeb997189d9f9b04708dc26bf8613ed721 - uml must just reuse as-is the backing architecture support. There is a micro-fixup is needed for the included file, which won't affect i386 behaviour at all. I've not tested compilation on x86_64, only on x86, but the code is almost the same except the culprit test, so everything should be ok on x86_64 too. Cc: Jakub Jelinek Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit f62378fcfc9c13a57b0b69dbd43336a4df8155a5 tree b2682850f0d15079e0618ee09a23ba7ee71df55b parent a418500b42c5c54f3f9d68036950c701740a2765 parent 6a1ced59b3ac5d1088f597fd0613a724cdf19e2c author Linus Torvalds Wed, 21 Sep 2005 14:30:37 -0700 committer Linus Torvalds Wed, 21 Sep 2005 14:30:37 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 6a1ced59b3ac5d1088f597fd0613a724cdf19e2c tree 8165b4ab26e448b2bd1a54a460a007521f1d5661 parent a9f7baf4d695dbe3028d40ca374c1d11499eaee6 author Catalin Marinas Wed, 21 Sep 2005 22:14:05 +0100 committer Russell King Wed, 21 Sep 2005 22:14:05 +0100 [ARM] 2932/1: Avoid the "noreturn" warning in arch/arm/kernel/traps.c Patch from Catalin Marinas This patch prevents the "noreturn function does return" warning in the __bug() function in arch/arm/kernel/traps.c Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit a418500b42c5c54f3f9d68036950c701740a2765 tree 17541c0ab858c3251a4e0ef802a9ac74f425943e parent 62a36c43c898d45efcfe3376ea1da6a9a182e1ad parent f2065e4242e5078d53c521b973c5cd4eae91eca2 author Linus Torvalds Wed, 21 Sep 2005 13:21:35 -0700 committer Linus Torvalds Wed, 21 Sep 2005 13:21:35 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband commit f2065e4242e5078d53c521b973c5cd4eae91eca2 tree 08cd44403ac326f41715e918f781d077367cb70b parent 972d512a17c1bb7c4b784a9da2ca75745fcc6989 author Hal Rosenstock Wed, 21 Sep 2005 12:33:09 -0700 committer Roland Dreier Wed, 21 Sep 2005 12:33:09 -0700 [IB] Fix RMPP receive length calculation Based on simplification idea from Sean Hefty Signed-off-by: Hal Rosenstock Signed-off-by: Roland Dreier commit 972d512a17c1bb7c4b784a9da2ca75745fcc6989 tree 91eb1a1a0c1affe19e23b15069b6a5fd86d3ca72 parent 2fe9f798ba3cf7c939e638b78f46975e79039978 author Sean Hefty Wed, 21 Sep 2005 12:31:26 -0700 committer Roland Dreier Wed, 21 Sep 2005 12:31:26 -0700 [IB] Add MAD data field size definitions Clean up code by using enums instead of hard-coded magic numbers. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 62a36c43c898d45efcfe3376ea1da6a9a182e1ad tree 3d2e39625a2ca620ef71433cf100ff51a225438b parent 89d7cbf73e1a85241eb42339f6cb7a429fec178c author Stephane Kardas Wed, 21 Sep 2005 09:55:45 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:12:18 -0700 [PATCH] fat: fix adate During a forensic analysis on the fat file system, I found than the result for the last access date on this file system was different between the stat command and the istat command (package tct-utils). The istat command display a true date (the right windows date) but the stat primitive (so stat, find, ls command) displays a wrong date. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 89d7cbf73e1a85241eb42339f6cb7a429fec178c tree e74da41540922732f5d1d4f236c890c019545262 parent 7980cbbb30bf044e6f40912a3f6456204ddfc27e author Randy Dunlap Wed, 21 Sep 2005 09:55:44 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:12:18 -0700 [PATCH] update URL for HPET spec. Correct URL for HPET spec. Signed-off-by: Randy Dunlap Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7980cbbb30bf044e6f40912a3f6456204ddfc27e tree 8bd1ccb91431f1c81ab5980a5cc8474f1d490136 parent 4b1ac9ab15c1fc1e0b73d887a0c0cafe92991f97 author Eric Dumazet Wed, 21 Sep 2005 09:55:43 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:12:18 -0700 [PATCH] Adds sys_set_mempolicy() in include/linux/syscalls.h Signed-off-by: Eric Dumazet Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b1ac9ab15c1fc1e0b73d887a0c0cafe92991f97 tree 60d469d5c1ebc67da4f14380804bd1b721ac840a parent 8f91648dcb0685d58aa046b25c69ce0d5f284f8c author Stephen Hemminger Wed, 21 Sep 2005 09:55:41 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:55 -0700 [PATCH] skge: add maintainer Add MAINTAINER record for Andrew ;-) Signed-off-by: Stephen Hemminger Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f91648dcb0685d58aa046b25c69ce0d5f284f8c tree 728475d2e8a2a4c92bf251657daa7287e5bb36e2 parent 7e2cff42cfac27c25202648c5c89f9171e5bc085 author Christoph Hellwig Wed, 21 Sep 2005 09:55:40 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:55 -0700 [PATCH] fixup Documentation/DocBook/kernel-hacking.tmpl __FUNCTION__ is the prefered kernel idiom, __func__ is not supported by gcc 2.95 (we actually map __FUNCTION__ to __func__ for more recent compilers, but it should never be used directly) Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e2cff42cfac27c25202648c5c89f9171e5bc085 tree 5579fa13b1fc8081201f05d687e6dc795d9d648f parent 7e871b6c8f1f4fda41e51ef86147facecac3be9f author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 09:55:39 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:55 -0700 [PATCH] mm: add a note about partially hardcoded VM_* flags Hugh made me note this line for permission checking in mprotect(): if ((newflags & ~(newflags >> 4)) & 0xf) { after figuring out what's that about, I decided it's nasty enough. Btw Hugh itself didn't like the 0xf. We can safely change it to VM_READ|VM_WRITE|VM_EXEC because we never change VM_SHARED, so no need to check that. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Acked-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e871b6c8f1f4fda41e51ef86147facecac3be9f tree d03c9af90786ea7fa8f5e77ce1e71437ab7de4df parent f875a1a6650edce859bd21051a22e1c27ac7ea63 author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 09:55:38 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:55 -0700 [PATCH] mm: update stale comment for removal of page->list Update comment for the 2.6.6-rc1 conversion from page->list and address_space->{clean,dirty,locked}_pages to radix tree tagging and ->lru. I've mostly avoided to mention page lists (at least I've shortened the comment). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Acked-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f875a1a6650edce859bd21051a22e1c27ac7ea63 tree 7244466f1ed3caf93a8a9fd955b4f365ce39299e parent f10df6860498c7f52db4f00ff00a1ba334bcfea0 author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 09:55:37 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:55 -0700 [PATCH] README update from the stone age We have no options which the user can set in the Makefile. Only the EXTRAVERSION, which is also useful in place of the "backup modules" suggestion. We don't have configuration options in the top Makefile. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f10df6860498c7f52db4f00ff00a1ba334bcfea0 tree aa1a75645a002e869886aaae9d09d332a69f8bba parent 8b20f6da20d874a58becc7a08b130c4382ea7325 author Paolo 'Blaisorblade' Giarrusso Wed, 21 Sep 2005 09:55:37 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:55 -0700 [PATCH] fix locking comment in unmap_region() That comment is plain wrong (we even take the pagetable lock inside unmap_region()). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Acked-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b20f6da20d874a58becc7a08b130c4382ea7325 tree 351214ad8719c6d46291d21b212996db46aef0dd parent 40da47e1159b89f2df5c718d2d5e269ced72b541 author Deepak Saxena Wed, 21 Sep 2005 09:55:35 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:54 -0700 [PATCH] Fix I2O config-osm init to return proper error We currently unregister the config-osm driver if initialization of the legacy ioctl() handlers failed but still return success. We should be returning -EBUSY in this case. Signed-off-by: Deepak Saxena Cc: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 40da47e1159b89f2df5c718d2d5e269ced72b541 tree 9051017d52f9354670cd5a18b8804c4249328305 parent bbcc6bee9e5bf45ec35e87a4e0755dff09fe25d4 author Benjamin Herrenschmidt Wed, 21 Sep 2005 09:55:34 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:54 -0700 [PATCH] ppc64: Build zImage.vmode for G5 zImage.vmode was recently added. It's a version of zImage in which the ELF note section used by open firmware indicates that it requires a virtual mode instance of OF instead of real mode. This allows it to work with Apple OF, and thus is directly bootable (or netbootable) from OF command line. (Unfortunately, pSeries OF sort-of requires real mode and Apple OF sort-of requires virtual mode, and both tend to be unhappy if no notes section specifies the mode at all). However, we forgot to add zImage.vmode to the default G5 build. This fixes it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bbcc6bee9e5bf45ec35e87a4e0755dff09fe25d4 tree 1408c9d960ffca08e8f053cec060cf52ab0f352d parent 1bc2a3bb86688ffca691ba2ad30a2d5dcba774cf author Christoph Hellwig Wed, 21 Sep 2005 09:55:33 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:54 -0700 [PATCH] remove blkdev_scsi_issue_flush_fn again This function was removed a while ago, but crept in again via a recent scsi merge. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1bc2a3bb86688ffca691ba2ad30a2d5dcba774cf tree 09e8f19669e0494cd3464b0d5babebf259778c30 parent d6dbf42ee36d4f9ffc2a93877c19937c81974124 author Anton Blanchard Wed, 21 Sep 2005 09:55:33 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:54 -0700 [PATCH] ppc64: Fix issue with non zero boot cpu The new version of the flattened device tree passes the boot cpuid in the header instead of via a linux,boot-cpu property. We need to update the in kernel OF parsing code to do this, otherwise machines with a non zero boot cpuid fail to come up. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d6dbf42ee36d4f9ffc2a93877c19937c81974124 tree f7896850214230318c504b58f81cdbab5401ca96 parent 3c2822ccb1f8cc96fc006aa82e68e1944290014a author Mike Miller Wed, 21 Sep 2005 09:55:32 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:54 -0700 [PATCH] cciss: busy_initializing bug fix This patch fixes the problem Bjorn reported. The busy_initializing flag should have cleared before going into the for loop. Signed-off-by: Mike Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c2822ccb1f8cc96fc006aa82e68e1944290014a tree 3834b0004ef12b96f699529ca8008a0644531fa3 parent 31f6d9d628739c097964b8dbae939ea997da94a3 author Olof Johansson Wed, 21 Sep 2005 09:55:31 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:54 -0700 [PATCH] PPC64: Fix boot for some pre-POWER4 systems Some RS64 systems (such as F80) have non-python host bridges with EADS. However, they have two EADS with 4 buses each under them, so the old logic that assumed no more than 7 busses per PHB failed miserably. Big thanks to Olaf Hering for helping me test this, he's got one of the few machines that broke from the previous logic. Also, to be a bit smarter at detecting the need for a PHB-level IOMMU table by checking for the presence of an ISA bus. Only PHBs with ISA bridges should need the PHB-level table. Signed-off-by: Olof Johansson Cc: Anton Blanchard Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 31f6d9d628739c097964b8dbae939ea997da94a3 tree a559531440fbf6685e68ebce5f5a26695ae7d5d9 parent 66dcca062847bcd261ebb3ac96d51101f31a8630 author Andrew Morton Wed, 21 Sep 2005 09:55:30 -0700 committer Linus Torvalds Wed, 21 Sep 2005 10:11:54 -0700 [PATCH] Add printk_clock() ia64's sched_clock() accesses per-cpu data which isn't set up at boot time. Hence ia64 cannot use printk timestamping, because printk() will crash in sched_clock(). So make printk() use printk_clock(), defaulting to sched_clock(), overrideable by the architecture via attribute(weak). Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 66dcca062847bcd261ebb3ac96d51101f31a8630 tree 12f23a499ae0af8107d0c4a3afcff75e6697fa3b parent d79e743e9fcf03f521300a970eb1ab69641910ba author Sripathi Kodi Mon, 19 Sep 2005 18:26:12 -0500 committer Linus Torvalds Wed, 21 Sep 2005 09:15:34 -0700 [PATCH] Fix invisible threads problem When the main thread of a thread group has done pthread_exit() and died, the other threads are still happily running, but will not be visible under /proc because their leader is no longer accessible. This fixes the access control so that we can see the sub-threads again. Signed-off-by: Sripathi Kodi Acked-by: Al Viro Signed-off-by: Linus Torvalds commit d79e743e9fcf03f521300a970eb1ab69641910ba tree 9672cd40a47d1791d906c0c5d3990f7274a20ff9 parent 2fe9f798ba3cf7c939e638b78f46975e79039978 author Paul Mackerras Wed, 21 Sep 2005 14:14:22 +1000 committer Linus Torvalds Wed, 21 Sep 2005 09:15:34 -0700 [PATCH] ppc64: Fix PCI flags when using OF device tree My code to set up the PCI tree from the Open Firmware device tree was setting IORESOURCE_* flags on the resources for the devices, but not the PCI_BASE_ADDRESS_* flags. This meant that some drivers misbehaved, and /proc/pci showed the wrong types for the resources. This fixes it. Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds commit 2fe9f798ba3cf7c939e638b78f46975e79039978 tree f65153c806f68bd6e965d65d7c7e4104b27fff90 parent 76abf3e71c5a4d315ec95e23e5aedd15fbfcd6df parent a131430c200f6bda313bf5d0a8e238c41afdfe0a author Linus Torvalds Wed, 21 Sep 2005 07:53:38 -0700 committer Linus Torvalds Wed, 21 Sep 2005 07:53:38 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 76abf3e71c5a4d315ec95e23e5aedd15fbfcd6df tree 396d39575c2e1bb43f0e5794969814cdb2387909 parent d90d4392b395083a7d295b7cdf0edfd849d4c2a3 parent 7957aed72b104f7528da484f292442c6f3a131a1 author Linus Torvalds Wed, 21 Sep 2005 07:53:05 -0700 committer Linus Torvalds Wed, 21 Sep 2005 07:53:05 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit a131430c200f6bda313bf5d0a8e238c41afdfe0a tree c156cf5e4b65af0ad7bd2f5828e7697884a3c358 parent 1a3e64aa480101d11d8cac94ca57fd8bbe2536b7 author Christopher Zimmermann Wed, 21 Sep 2005 00:41:22 -0700 committer David S. Miller Wed, 21 Sep 2005 00:41:22 -0700 [SPARC] cs4231: Fix SBUS support in this driver. From: Christopher Zimmermann This patch enables SBus support for the cs4231 sound driver. It is tested on an Ultra2. Capture and playback both work. I experienced lags and crashes using certain threaded players like ogg123 and mp3blaster, while the former is lagging far more. This behavior may be specific to SMP systems. It is reproducable using the dummy sound card driver. Sox works flawlessly. Setting up the calculation of ptr in snd_cs4231_playback_pointer was a bit strange. I got it to work by not incrementing the [pc]_periods_sent counter when starting DMA the first time in cs4231_dma_trigger. Therefore this dummy thing. [ I did some minor cleanups -DaveM ] Signed-off-by: David S. Miller commit 1a3e64aa480101d11d8cac94ca57fd8bbe2536b7 tree 371ca21e83c83ccabe48484f9f62078232d4660a parent 729b4f7de68191478b20fab19a6d0c6b8c4380c9 author Tom 'spot' Callaway Wed, 21 Sep 2005 00:29:16 -0700 committer David S. Miller Wed, 21 Sep 2005 00:29:16 -0700 [ATYFB]: Fix build with CONFIG_FB_ATY_GENERIC_LCD disabled. Signed-off-by: Tom 'spot' Callaway Signed-off-by: David S. Miller commit 7957aed72b104f7528da484f292442c6f3a131a1 tree be24b967df59eefbdf3eacc5d8891f14225dd44b parent 78c6671a88313fd3c4364dc46e8c8186612616b8 author Stephen Hemminger Wed, 21 Sep 2005 00:19:46 -0700 committer David S. Miller Wed, 21 Sep 2005 00:19:46 -0700 [TCP]: Set default congestion control correctly for incoming connections. Patch from Joel Sing to fix the default congestion control algorithm for incoming connections. If a new congestion control handler is added (via module), it should become the default for new connections. Instead, the incoming connections use reno. The cause is incorrect initialisation causes the tcp_init_congestion_control() function to return after the initial if test fails. Signed-off-by: Stephen Hemminger Acked-by: Ian McDonald Signed-off-by: David S. Miller commit 78c6671a88313fd3c4364dc46e8c8186612616b8 tree 55ad469a2f178eb7a0172daf06798a356aa314f9 parent 0fb375fb9b93b7d822debc6a734052337ccfdb1f author Stephen Hemminger Wed, 21 Sep 2005 00:15:39 -0700 committer David S. Miller Wed, 21 Sep 2005 00:15:39 -0700 [FIB_TRIE]: message cleanup Cleanup the printk's in fib_trie: * Convert a couple of places in the dump code to BUG_ON * Put log level's on each message The version message really needed the message since it leaks out on the pretty Fedora bootup. Signed-off-by: Stephen Hemminger Acked-by: Robert Olsson , Signed-off-by: David S. Miller commit 0fb375fb9b93b7d822debc6a734052337ccfdb1f tree 0aec28fa88b0b83e2101e1eee4c7c66ae10b5301 parent 6d67e34de5a378de2f461137944c5d931283d557 author Eric W. Biederman Wed, 21 Sep 2005 00:11:37 -0700 committer David S. Miller Wed, 21 Sep 2005 00:11:37 -0700 [AF_PACKET]: Allow for > 8 byte hardware addresses. The convention is that longer addresses will simply extend the hardeware address byte arrays at the end of sockaddr_ll and packet_mreq. In making this change a small information leak was also closed. The code only initializes the hardware address bytes that are used, but all of struct sockaddr_ll was copied to userspace. Now we just copy sockaddr_ll to the last byte of the hardware address used. For error checking larger structures than our internal maximums continue to be allowed but an error is signaled if we can not fit the hardware address into our internal structure. Signed-off-by: Eric W. Biederman Signed-off-by: David S. Miller commit d90d4392b395083a7d295b7cdf0edfd849d4c2a3 tree ca223472e3a125fdc83d0d316d144529f0f18195 parent 6d67e34de5a378de2f461137944c5d931283d557 parent 71eea47d853bb0ce0c6befe11b3e08111263170f author Linus Torvalds Tue, 20 Sep 2005 17:38:51 -0700 committer Linus Torvalds Tue, 20 Sep 2005 17:38:51 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband commit 6d67e34de5a378de2f461137944c5d931283d557 tree ef559dbcbb3c2336f13f2b1d8d5995abca137000 parent 7a482425f45e695a2e2821b32a887865f016fbf9 author Antonino A. Daplas Wed, 21 Sep 2005 07:32:49 +0800 committer Linus Torvalds Tue, 20 Sep 2005 17:36:38 -0700 [PATCH] fbdev: Fix reversed back and front porches In fbdev perspective, the frontporch is the lower/right margin and the backporch is the upper/left margin. Correct. Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds commit 7a482425f45e695a2e2821b32a887865f016fbf9 tree d368ef974461fd071bf0d6c48f96b3cdff6b58f2 parent c90eef84b8f5c7416cb99ab6907896f2dd392b4d author Antonino A. Daplas Wed, 21 Sep 2005 07:30:21 +0800 committer Linus Torvalds Tue, 20 Sep 2005 17:36:38 -0700 [PATCH] nvidiafb: Fix absence of cursor in nvidiafb A recent change in nvidiafb caused nvidiafb_cursor to always return -ENXIO instead of using the soft_cursor. This will happen if the parameter "hwcur" is not set, which happens to be the default. Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds commit a9f7baf4d695dbe3028d40ca374c1d11499eaee6 tree 9696d31ce6d599f2b65979f0e5c09048cc791ab7 parent 840ff6a4f6174d7fe19c206b5f36ff64123a2f45 author Russell King Tue, 20 Sep 2005 21:01:13 +0100 committer Russell King Tue, 20 Sep 2005 21:01:13 +0100 [ARM] Fix pcf8583 to build Seems that the Acorn RTC driver missed an update. Fix it. Signed-off-by: Russell King commit 438282d85de2c8f8c5183fdf55140e51a0b18670 tree ee90f834ebbf60d45b11d48c4a3fac82a1b62752 parent 6cb1269b9607649b5edf1c4e7818e0cf34a9db71 author Dave Kleikamp Tue, 20 Sep 2005 14:58:11 -0500 committer Dave Kleikamp Tue, 20 Sep 2005 14:58:11 -0500 JFS: don't dereference tlck->ip from txUpdateMap The inode pointer may no longer be valid Signed-off-by: Dave Kleikamp commit 729b4f7de68191478b20fab19a6d0c6b8c4380c9 tree c3515037d7797643a6f83e2331ab9d2cd1dd1f64 parent 6a9b490d5fd7f23c5bcd75f970e01633ad3136e3 author David S. Miller Tue, 20 Sep 2005 12:18:38 -0700 committer David S. Miller Tue, 20 Sep 2005 12:18:38 -0700 [SPARC64]: Verify vmalloc TLB misses more strictly. Arrange the modules, OBP, and vmalloc areas such that a range verification can be done quite minimally. Signed-off-by: David S. Miller commit 71eea47d853bb0ce0c6befe11b3e08111263170f tree ff675d57b8d3dc6688a2016b41b0d41b54611231 parent 8d2cae0651502028bf64844508ab18528bbd65c2 author Michael S. Tsirkin Tue, 20 Sep 2005 10:54:48 -0700 committer Roland Dreier Tue, 20 Sep 2005 10:54:48 -0700 [PATCH] IB/mthca: Fix device removal memory leak Clean up QP table array on device removal. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 8d2cae0651502028bf64844508ab18528bbd65c2 tree 6e166a94e5f581c683d2b29e792665082b21afd5 parent eff4c654b1a4a5e5493fbdc3affa6dd48765c085 author Roland Dreier Tue, 20 Sep 2005 10:52:04 -0700 committer Roland Dreier Tue, 20 Sep 2005 10:52:04 -0700 [PATCH] IPoIB: Don't flush workqueue from within workqueue ipoib_mcast_restart_task() is always called from within the single-threaded IPoIB workqueue, so flushing the workqueue from within the function can lead to a recursion overflow. But since we're running in a single-threaded workqueue, we're already synchronized against other items in the workqueue, so just get rid of the flush in ipoib_mcast_restart_task(). Signed-off-by: Roland Dreier commit 840ff6a4f6174d7fe19c206b5f36ff64123a2f45 tree 1b66816135fad5a97d5ea0862b95341278f4227f parent 5fe10ab19046d84f3fd243436cbd5fa01019e809 author Russell King Tue, 20 Sep 2005 17:52:13 +0100 committer Russell King Tue, 20 Sep 2005 17:52:13 +0100 [ARM] Prevent deadlock in page fault handler As per x86, we may deadlock while trying to get the mmap semaphore. Implement the same fix, which allows (eg) recursive faults to cause an oops instead of deadlocking. Signed-off-by: Russell King commit 5fe10ab19046d84f3fd243436cbd5fa01019e809 tree 3b79a956940cf021801f9c8ae757d77b996c4355 parent 9d0fd1eb8a3c19f3ede5418540b3c9f64fac4b86 author Ben Dooks Tue, 20 Sep 2005 17:24:33 +0100 committer Russell King Tue, 20 Sep 2005 17:24:33 +0100 [ARM] 2928/1: S3C2410 - make machine init code static Patch from Ben Dooks This code is not being exported, declare it static Signed-off-by: Ben Dooks Signed-off-by: Russell King commit c90eef84b8f5c7416cb99ab6907896f2dd392b4d tree 556a077afb13e93461601666ba9cb5dd83c4e554 parent 9600c11ba3602be161cd376f1460f3de561fc299 parent eed8b2dee7cff46dd4bf5b82dc53465d229162ba author Linus Torvalds Tue, 20 Sep 2005 08:54:33 -0700 committer Linus Torvalds Tue, 20 Sep 2005 08:54:33 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/aia21/ntfs-2.6 commit 9600c11ba3602be161cd376f1460f3de561fc299 tree d071c2427a8f7ad601aec6d8ae76b0f61410becf parent 676d55ae30ea3b688f0386f70553489f25f24d55 parent 13e1e1f08c1c098c7574c1fa72bd8c67792dc89b author Linus Torvalds Tue, 20 Sep 2005 08:50:49 -0700 committer Linus Torvalds Tue, 20 Sep 2005 08:50:49 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-for-linus-2.6 commit 9d0fd1eb8a3c19f3ede5418540b3c9f64fac4b86 tree 2d25f3e3428c7d0310a596805448143db10e2c3b parent 02b7dd1244aab9267ae4078e1ad6a2fdaabeb6ed author Ben Dooks Tue, 20 Sep 2005 16:45:20 +0100 committer Russell King Tue, 20 Sep 2005 16:45:20 +0100 [ARM] 2927/1: .arch.info - postfix section with .init for `make buildcheck` Patch from Ben Dooks The `make buildcheck` is erroneously reporting that the .arch.info list is referencing items in the .init section as it is not itself postfixed with .init Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 02b7dd1244aab9267ae4078e1ad6a2fdaabeb6ed tree 27e3ee0cb242a58aca567537af5bc9c971904390 parent bfe6815e0465035d013b2b676444376fe2b3716e author Ben Dooks Tue, 20 Sep 2005 16:35:03 +0100 committer Russell King Tue, 20 Sep 2005 16:35:03 +0100 [ARM] 2926/1: .proc.info - postfix section with .init for `make buildcheck` Patch from Ben Dooks The `make buildcheck` is erroneously reporting that the .proc.info list is referencing items in the .init section as it is not itself postfixed with .init Signed-off-by: Ben Dooks Signed-off-by: Russell King commit bfe6815e0465035d013b2b676444376fe2b3716e tree 98666f80d1e828a1822009dabfc85d032358f322 parent 58dd48a6575d3ba86ba659eb8c6fc23246783fba author Ben Dooks Tue, 20 Sep 2005 16:25:12 +0100 committer Russell King Tue, 20 Sep 2005 16:25:12 +0100 [ARM] 2925/3: earlyparam - postfix section with .init for `make buildcheck` Patch from Ben Dooks The `make buildcheck` is erroneously reporting that the earlyparam list is referencing items in the .init section as it is not itself postfixed with .init Also, as per rmk's suggestion, rename the __early_param to .early_param to bring it into line with everything else Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 58dd48a6575d3ba86ba659eb8c6fc23246783fba tree 81ea9d313a6df18fe1decbc6c9edc77d408bd8f1 parent 9506057fca54464f3291b62156e6cd907c4cbc95 author Vincent Sanders Tue, 20 Sep 2005 16:21:42 +0100 committer Russell King Tue, 20 Sep 2005 16:21:42 +0100 [ARM] 2922/1: compile fix for shark Patch from Vincent Sanders Shark platform fails to build with gcc 4 because of a bad lvalue assignement Signed-off-by: Vincent Sanders Signed-off-by: Russell King commit 9506057fca54464f3291b62156e6cd907c4cbc95 tree efbc13a3a992be184c50db9bba4e3f4e80600b21 parent 676d55ae30ea3b688f0386f70553489f25f24d55 author Ben Dooks Tue, 20 Sep 2005 16:20:49 +0100 committer Russell King Tue, 20 Sep 2005 16:20:49 +0100 [ARM] 2924/3: taglist - postfix section with .init for `make buildcheck` Patch from Ben Dooks The `make buildcheck` is erroneously reporting that the taglist is referencing items in the .init section as it is not itself postfixed with .init Signed-off-by: Ben Dooks Signed-off-by: Russell King commit eed8b2dee7cff46dd4bf5b82dc53465d229162ba tree 1508bedde4dda971c56dc30c7edf1e36bfbefc9e parent 676d55ae30ea3b688f0386f70553489f25f24d55 author Anton Altaparmakov Tue, 20 Sep 2005 14:19:30 +0100 committer Anton Altaparmakov Tue, 20 Sep 2005 14:19:30 +0100 NTFS: More runlist handling fixes from Richard Russon and myself. Signed-off-by: Anton Altaparmakov commit 6a9b490d5fd7f23c5bcd75f970e01633ad3136e3 tree dd3ad10d43a5dd765705f32ff1fca6fc1bab88fd parent e0487992ce1dd7ae7da9c6aabdb19570bb95432b author David S. Miller Mon, 19 Sep 2005 20:11:57 -0700 committer David S. Miller Mon, 19 Sep 2005 20:11:57 -0700 [SPARC64]: Move DCACHE_ALIASING_POSSIBLE define to asm/page.h This showed that arch/sparc64/kernel/ptrace.c was not getting the define properly, and thus the code protected by this ifdef was never actually compiled before. So fix that too. Signed-off-by: David S. Miller commit e0487992ce1dd7ae7da9c6aabdb19570bb95432b tree a2d748df1ae99d8f9e6c8e6055e9ef9a3153d1cf parent ff171d8f66a7fe1a000e610e9de11224749f9a22 author Ed L. Cashin Mon, 19 Sep 2005 19:57:36 -0700 committer David S. Miller Mon, 19 Sep 2005 19:57:36 -0700 [BYTEORDER]: Document alignment and byteorder macros This patch comments the fact that although passing le64_to_cpup et al. is within the intended use of the byteorder macros, using get_unaligned is the recommended way to go. Signed-off-by: Ed L. Cashin Signed-off-by: David S. Miller commit ff171d8f66a7fe1a000e610e9de11224749f9a22 tree 5cd542d07cb547d80bbf71fbd0e26df25d0895ea parent 875bd5ab01bc0b760fd4e97838931cd2e7456cbd author David S. Miller Mon, 19 Sep 2005 19:56:06 -0700 committer David S. Miller Mon, 19 Sep 2005 19:56:06 -0700 [SPARC64]: Handle little-endian unaligned loads/stores correctly. Because we use byte loads/stores to cons up the value in and out of registers, we can't expect the ASI endianness setting to take care of this for us. So do it by hand. This case is triggered by drivers/block/aoe/aoecmd.c in the ataid_complete() function where it goes: /* word 100: number lba48 sectors */ ssize = le64_to_cpup((__le64 *) &id[100<<1]); This &id[100<<1] address is 4 byte, rather than 8 byte aligned, thus triggering the unaligned exception. Signed-off-by: David S. Miller commit eff4c654b1a4a5e5493fbdc3affa6dd48765c085 tree 1ddbbdaa978b310f5ac11b9778ac8e5f775d0783 parent 6577ae51cf52f5fb0e4a85e673dd7bf2d0074e3e author Hal Rosenstock Mon, 19 Sep 2005 13:51:01 -0700 committer Roland Dreier Mon, 19 Sep 2005 13:51:01 -0700 [PATCH] IB: Fix data length for RMPP SA sends We need to subtract off the header length from our payload length when sending multi-packet SA messages. Signed-off-by: Hal Rosenstock Signed-off-by: Roland Dreier commit 13e1e1f08c1c098c7574c1fa72bd8c67792dc89b tree aa07ca5b3ac4d21cf76b5f9aa8059334756f4c7f parent aef4a983090fa590481a86d9690dc3fa6bb121fa author Andreas Herrmann Mon, 19 Sep 2005 16:56:17 +0200 committer James Bottomley Mon, 19 Sep 2005 13:04:15 -0500 [SCSI] zfcp: add additional fc_host attributes this patch adds some fc host attributes and removes its equivalents from the zfcp_adapter structure and zfcp specific sysfs subtree. Furthermore it removes superfluous calls to fc_remort_port_delete when an adapter is set offline because rports will be removed by fc_remove_host anyway. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit aef4a983090fa590481a86d9690dc3fa6bb121fa tree 12b78b227102dc2f41dda227fe83f34a8838e015 parent 8a36e4532ea10471f0a8605207d071361d7be2c3 author Maxim Shchetynin Tue, 13 Sep 2005 21:51:16 +0200 committer James Bottomley Mon, 19 Sep 2005 13:03:45 -0500 [SCSI] zfcp: provide support for NPIV N_Port ID Virtualization (NPIV) allows a single FCP port to appear as multiple, distinct ports providing separate port identification. NPIV is supported by FC HBAs on System z9. zfcp was adapted to support this new feature. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 8a36e4532ea10471f0a8605207d071361d7be2c3 tree f34e5928de7d73b9aaf385f3fb0847a6c52c297b parent 810f1e3ea5cc0a812816af97020a27c73441f8e9 author Maxim Shchetynin Tue, 13 Sep 2005 21:50:38 +0200 committer James Bottomley Mon, 19 Sep 2005 13:03:00 -0500 [SCSI] zfcp: enhancement of zfcp debug features Debug features (DBFs) els_dbf, cmd_dbf and abt_dbf were removed and san_dbf, hba_dbf and scsi_dbf were introduced. The erp_dbf did not change. The new traces improve debugging of problems with zfcp, scsi-stack, multipath and hardware in the SAN. san_dbf traces things like ELS and CT commands, hba_dbf saves HBA specific information of requests, and scsi_dbf saves FCP and SCSI specific information of requests. Common to all new DBFs is that they provide a so called structured view. This significantly improves readability of the traces. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 810f1e3ea5cc0a812816af97020a27c73441f8e9 tree 7f98b35f5dcf950d3835adde0a4854be141887ab parent 77eb1699c76177af2f3d65c8ae7934cf304e0254 author Andreas Herrmann Tue, 13 Sep 2005 21:49:52 +0200 committer James Bottomley Mon, 19 Sep 2005 13:02:21 -0500 [SCSI] zfcp: shorten eh_bus_reset and eh_host_reset handlers Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 77eb1699c76177af2f3d65c8ae7934cf304e0254 tree ac3f780aa91d63be314feee54f306d48d996b09c parent 059c97d0434834d291eff94669ca2dd3eaac9d28 author Andreas Herrmann Tue, 13 Sep 2005 21:48:33 +0200 committer James Bottomley Mon, 19 Sep 2005 13:01:53 -0500 [SCSI] zfcp: remove function zfcp_fsf_req_wait_and_cleanup Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 059c97d0434834d291eff94669ca2dd3eaac9d28 tree 70719559f65366c74eb82ee8c7c7a01a0d80aca9 parent 3734d24b2e8d85796de70c13705cfb7cbb1d77df author Andreas Herrmann Tue, 13 Sep 2005 21:47:52 +0200 committer James Bottomley Mon, 19 Sep 2005 13:01:23 -0500 [SCSI] zfcp: remove union zfcp_req_data, use unit refcount for FCP commands o union zfcp_req_data removed o increment unit refcount when processing FCP commands (This fixes a theoretical race: When all scsi commands of a unit are aborted and the scsi_device is removed then the unit could be removed before all fsf_requests of that unit are completely processed.) Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 3734d24b2e8d85796de70c13705cfb7cbb1d77df tree c89ddff8f636bea1a33bc88873e40dc7d562be46 parent e0fc15bef0e8c6b5abad6e10cfe3d42e278ae8e8 author Andreas Herrmann Tue, 13 Sep 2005 21:47:11 +0200 committer James Bottomley Mon, 19 Sep 2005 13:00:50 -0500 [SCSI] zfcp: fix race conditions when accessing erp_action lists o always use locking when changing erp_action lists, o avoid escalation to ERP_ACTION_REOPEN_PORT_FORCED if erp_action is still in use for ERP_ACTION_REOPEN_PORT Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit e0fc15bef0e8c6b5abad6e10cfe3d42e278ae8e8 tree f7a96e8b93a0de251b25c2b6543c115eba3abc8c parent 466544d8898fc87ed6e2e62ac14af7c50ab7a1a4 author Moore, Eric Dean Thu, 15 Sep 2005 13:17:14 -0600 committer James Bottomley Mon, 19 Sep 2005 12:48:22 -0500 [SCSI] fusion SAS support (mptsas driver) minor fix On Thursday, September 15, 2005 6:22 AM, Christoph Hellwig wrote: > Looks good to me, except for the spurious scsi_print_command prototype > in mptscsih.h. The attached patch addresses that concern. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 466544d8898fc87ed6e2e62ac14af7c50ab7a1a4 tree a23688bc1424a2af986482bac159768d625b5deb parent 0c33b27deb93178f10778b3d2669af1674793cef author Moore, Eric Dean Wed, 14 Sep 2005 18:09:10 -0600 committer James Bottomley Mon, 19 Sep 2005 12:45:38 -0500 [SCSI] fusion SAS support (mptsas driver) updates Summary of Changes: * splitting mpt_interrupt per Christophs suggestion about a month ago * rename ScsiCfgData to SpiCfgData structure, then move all the raid related info into new structure called RaidCfgData. This is done because SAS supports RAID, as well as SPI, so the raid stuff should be seperate. * incorrect timeout calculation for cntdn inside WaitForDoorbellAck and WaitForDoortbellInt * add support for interpreting SAS Log Info * Increase Event Log Size from 0xA to 0x32 * Fix bug in mptsas/mptfc/mptspi - when controller has Initiator Mode Disabled, and only running in TargetMode, the mptctl would panic when loading. The fix is to return 0, instead of -ENODEV, in SCSI LLD respective probe routines * Fix bug in mptlan.c - driver will panic if there is host reset, due to dev being set to zero in mpt_lan_ioc_reset * Fix's for SPI - Echo Buffer * Several fix's in mptscsih_io_done - FCP Response info, RESIDUAL_MISMATCH, Data Underrun, etc. * Cleanup Error Handling - EH handlers, mptscsih_flush_cmds, and zeroing out ScsiLookup from mptscsih_qcmd * Cleanup asyn event handling from mptscsih -> mptscsih_event_process. Also added support for SAS Persistent Table Full, an asyn event Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 0c33b27deb93178f10778b3d2669af1674793cef tree a16c7ce2f10947c696041febe89e13a98ba32b48 parent 82ffb67164064752a56669511545316075b41e1d author Christoph Hellwig Fri, 09 Sep 2005 16:27:19 +0200 committer James Bottomley Mon, 19 Sep 2005 12:42:57 -0500 [SCSI] fusion SAS support (mptsas driver) Adds the actual mptsas driver, based upon the LSI driver with new work for SAS transport class integration from Eric Moore and me. This obviously depends on the SAS transport class. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 82ffb67164064752a56669511545316075b41e1d tree 7b5c92f76e25ddf66419668412db147cde35a410 parent 3ed7a4704beb66a155acd67b78b7e9a5674d55fb author Christoph Hellwig Fri, 09 Sep 2005 16:25:54 +0200 committer James Bottomley Mon, 19 Sep 2005 12:42:31 -0500 [SCSI] fusion core changes for SAS support - various bits for SAS support from the LSI driver. - use the device private data for the fusion target private data. this should be using the midlayer target data framework, but we can't move over to that until fusion has been switched to the generic DV code - use target ID and channel from the fusion target private data, because those in scsi_device will be different for mptsas Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 6577ae51cf52f5fb0e4a85e673dd7bf2d0074e3e tree 3c3be701f7954d52f850c116903deb2698bb8038 parent 3853194c2e174cee4da093c67bd54cbf9a38559a author Roland Dreier Mon, 19 Sep 2005 09:17:56 -0700 committer Roland Dreier Mon, 19 Sep 2005 09:17:56 -0700 [PATCH] IB/mthca: Don't try to set srq->last for userspace SRQs Userspace SRQs don't have a buffer allocated for them in the kernel, so it doesn't make sense to set srq->last during initialization. In fact, this can crash trying to follow a nonexistent buffer pointer. Signed-off-by: Roland Dreier commit 3ed7a4704beb66a155acd67b78b7e9a5674d55fb tree 0a0ad71a64888fb2ab69e2b0acb99005dbc3af04 parent 939647ee308e0ad924e776657704c7bedd498664 author James Bottomley Mon, 19 Sep 2005 09:50:04 -0500 committer James Bottomley Mon, 19 Sep 2005 09:50:04 -0500 [SCSI] Fix thread termination for the SCSI error handle From: Alan Stern This patch (as561) fixes the error handler's thread-exit code. The kthread_stop call won't wake the thread from a down_interruptible, so the patch gets rid of the semaphore and simply does set_current_state(TASK_INTERRUPTIBLE); Signed-off-by: Alan Stern Modified to simplify the termination loop and correct the sleep condition. Signed-off-by: James Bottomley commit 939647ee308e0ad924e776657704c7bedd498664 tree cfff68b8f65a53e186fd1e7443aa370885ac1ed9 parent a64358db1253b35d508a411e80a3ad23b859ec88 author James Bottomley Sun, 18 Sep 2005 15:05:20 -0500 committer James Bottomley Mon, 19 Sep 2005 09:24:52 -0500 [SCSI] fix oops on usb storage device disconnect We fix the oops by enforcing the host state model. There have also been two extra states added: SHOST_CANCEL_RECOVERY and SHOST_DEL_RECOVERY so we can take the model through host removal while the recovery thread is active. Signed-off-by: James Bottomley commit 3853194c2e174cee4da093c67bd54cbf9a38559a tree 3939280d0bf49b4b24068215f30aefdc38aaf0bc parent c915033fc62d7186d243d89f88782d6be33fd8f6 author Roland Dreier Sun, 18 Sep 2005 14:00:17 -0700 committer Roland Dreier Sun, 18 Sep 2005 22:02:38 -0700 [PATCH] IB/mthca: Fix posting work requests to shared receive queues The error handling paths in mthca_tavor_post_srq_recv() and mthca_arbel_post_srq_recv() are quite bogus, the result of a screwed up merge. Fix them so they work as intended. Pointed out by Michael S. Tsirkin Signed-off-by: Roland Dreier commit c915033fc62d7186d243d89f88782d6be33fd8f6 tree e509ef63ef6dba42f31807b5c9f6c20b48be3a9a parent ce5b65cc9626feac0d4ffb96f798407e50c45575 author Roland Dreier Sun, 18 Sep 2005 13:52:06 -0700 committer Roland Dreier Sun, 18 Sep 2005 22:02:38 -0700 [PATCH] IB/mthca: Initialize eq->nent before we use it In mthca_create_eq(), we call get_eqe() before setting eq->nent. This is wrong, because get_eqe() uses eq->nent. Fix this, and clean up the code a little while we're at it. (We got lucky with the current code, because eq->nent was cleared to 0, which get_eqe() made happen to do the right thing) Pointed out by Michael S. Tsirkin Signed-off-by: Roland Dreier commit ce5b65cc9626feac0d4ffb96f798407e50c45575 tree 42803ff0ecbc1f0d47adb628d88378232d03b1d6 parent d6cff021e24515255b296d399ec517a68bf2ed08 author Hal Rosenstock Sun, 18 Sep 2005 13:47:53 -0700 committer Roland Dreier Sun, 18 Sep 2005 22:02:38 -0700 [PATCH] IPoIB: Fix SA client retransmission strategy We got a little mixed up with what the backoff member holds in the IPoIB multicast group structure: sometimes it was used as a number of seconds, and sometimes it was used as a number of jiffies. Fix the code so that backoff is always in seconds. Signed-off-by: Hal Rosenstock Signed-off-by: Roland Dreier commit d6cff021e24515255b296d399ec517a68bf2ed08 tree f3d21aca027cb7065522629c00f65fc3a8fb1d96 parent bb4a7f0da75ce9f3e933880428d39b2aa1f16961 author Roland Dreier Tue, 13 Sep 2005 10:41:03 -0700 committer Roland Dreier Sun, 18 Sep 2005 22:02:37 -0700 [PATCH] IB/mthca: fix posting of first work request Fix posting first WQE for mem-free HCAs: we need to link to previous WQE even in that case. While we're at it, simplify code for Tavor-mode HCAs. We don't really need the conditional test there either; we can similarly always link to the previous WQE. Based on Michael S. Tsirkin's analogous fix for userspace libmthca. Signed-off-by: Roland Dreier commit bb4a7f0da75ce9f3e933880428d39b2aa1f16961 tree 9034e0db70f28c93317ad8794437523e3c3c9c52 parent 51574e0398a2d93cbf7f26e36b673cd919062268 author Roland Dreier Mon, 12 Sep 2005 14:08:51 -0700 committer Roland Dreier Sun, 18 Sep 2005 22:02:37 -0700 [PATCH] IB/mthca: assign ACK timeout field correctly The hardware reads the ACK timeout field from the most significant 5 bits of struct mthca_qp_path's ackto field, not the least significant bits. This fix has the driver put the timeout in the right place. Without this, we get a timeout that is 2^8 times too small. Signed-off-by: Roland Dreier commit 51574e0398a2d93cbf7f26e36b673cd919062268 tree c8cb3e2331b71227109433ce3256c0a655506d69 parent 6c0741fbdee5bd0f8ed13ac287c4ab18e8ba7d83 author Michael S. Tsirkin Mon, 12 Sep 2005 09:52:28 -0700 committer Roland Dreier Sun, 18 Sep 2005 22:02:37 -0700 [PATCH] IPoIB: fix module removal race Since ipoib uses queue_delayed_work to run flush task on port state events, it must flush scheduled work after unregistering the event handler. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit a64358db1253b35d508a411e80a3ad23b859ec88 tree e222f3f17d6962a84d966620485d19f67d7fafa7 parent b95be99d52ce4f9db9ff0bd5f10e9e2066da6d2e author Alan Stern Tue, 26 Jul 2005 10:27:10 -0400 committer James Bottomley Sun, 18 Sep 2005 15:22:06 -0500 [SCSI] SCSI scanning and removal fixes This patch (as545) fixes the list traversals in __scsi_remove_target and scsi_forget_host. In each case the existing code list_for_each_entry_safe in an _unsafe_ manner, because the list was not protected from outside modification while the iteration was running. The new scsi_forget_host routine takes the moderately controversial step of iterating over devices for removal rather than iterating over targets. This makes more sense to me because the current scheme treats targets as second-class citizens, created and removed on demand, rather than as objects corresponding to actual hardware. (Also I couldn't figure out any safe way to iterate over the target list, since it's not so easy to tell when a target has already been removed.) Signed-off-by: Alan Stern Signed-off-by: James Bottomley commit b95be99d52ce4f9db9ff0bd5f10e9e2066da6d2e tree 6b01de07c638fd596cc254ca6a095aa4f5ef9ba2 parent 1832a5862f2e1b4e5835611ee14bc30a8ed3cad5 author Alan Stern Thu, 15 Sep 2005 13:52:51 -0400 committer James Bottomley Sat, 17 Sep 2005 15:24:53 -0500 [SCSI] fix oops in scsi_release_buffers() I found one other thing that needs to be fixed. The call to scsi_release_buffers in scsi_unprep_request causes an oops, because the sgtable has already been freed in scsi_io_completion. The following patch is needed. Signed-off-by: Alan Stern Signed-off-by: James Bottomley commit 1832a5862f2e1b4e5835611ee14bc30a8ed3cad5 tree f56d509fbe68e5f76c26da4ff74a965fe68ff46e parent 541950027f8b7c96a639bc16e48930c590f1b98a author Andreas Herrmann Fri, 16 Sep 2005 11:01:14 +0200 committer James Bottomley Fri, 16 Sep 2005 11:25:50 -0400 [SCSI] change port speed definitions for scsi_transport_fc obviously FC Port Speeds in scsi_transport_fc.h are defined according to FC-HBA: #define FC_PORTSPEED_1GBIT 1 #define FC_PORTSPEED_2GBIT 2 #define FC_PORTSPEED_10GBIT 4 #define FC_PORTSPEED_4GBIT 8 Problem is, whoever invented FC-HBA did not care about FC-FS or FC-GS-x. Following FC-FS/FC-GS-x defintions of port speeds would look like: 1 GBit: 0x0001 2 GBit: 0x0002 4 GBit: 0x0004 10GBit: 0x0008 (and new in FC-LS: 8 Gbit: 0x0010 16GBit: 0x0020) I really appreciate if scsi_transport_fc.h would define port speeds according to FC-GS-x/FC-FS. Thus mapping of port speed capabilities to values defined in scsi_transport_fc.h can be avoided in the LLDD. Attached is a patch to change the definitions. Signed-off-by: James Bottomley commit 17b14451fd2b187ddd6303726755a3af0a926b6c tree b0f3572bcb47eef8a4988b44795ddcab95da3118 parent 7a83e90b32a2b2500e0be6a5317ab411b39222c9 author Alan Cox Thu, 15 Sep 2005 15:44:00 +0100 committer Jeff Garzik Fri, 16 Sep 2005 02:39:01 -0400 [PATCH] PATCH: remove function for non-PCI as requested Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 7a83e90b32a2b2500e0be6a5317ab411b39222c9 tree 446dd64df7fe21425fce695b8c343d69d10a63fb parent d8ac10639b6a1ed900efbee38c18baaca31e64dc author Alan Cox Thu, 15 Sep 2005 15:24:59 +0100 committer Jeff Garzik Fri, 16 Sep 2005 02:37:47 -0400 [PATCH] PATCH: silly in piix driver Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 6cb1269b9607649b5edf1c4e7818e0cf34a9db71 tree d76dd36252cb5b6d7fa9afa8ec6dc4c03d30834c parent f3591fff043f5df937120962668c8adfcd3f5b29 author Dave Kleikamp Thu, 15 Sep 2005 23:25:41 -0500 committer Dave Kleikamp Thu, 15 Sep 2005 23:25:41 -0500 JFS: Fix sparse warnings, including endian error The fix in inode.c is a real bug. It could result in undeleted, yet unconnected files on big-endian hardware. The others are trivial. Signed-off-by: Dave Kleikamp commit 541950027f8b7c96a639bc16e48930c590f1b98a tree 69d367dab3f738c888bf16646ed85cde69e3bf2a parent b5683557331b129658ab435391df527ef72d63dc author Alan Stern Thu, 15 Sep 2005 21:52:51 -0400 committer James Bottomley Thu, 15 Sep 2005 22:03:54 -0400 [SCSI] fix use after potential free in scsi_remove_device Signed-off-by: Alan Stern Signed-off-by: James Bottomley commit b5683557331b129658ab435391df527ef72d63dc tree 121d9502ed38b7b01c17532e2a28806a1108f457 parent 59897dad98d63ac15e1e36fcc3a107c892b1826c author James Bottomley Thu, 15 Sep 2005 08:59:36 -0500 committer James Bottomley Thu, 15 Sep 2005 08:59:36 -0500 [SCSI] atp870u: fix memory addressing bug From: Alan Cox The virt_to_bus() wasn't correctly taken out of this driver. It needs to be able to track both physical and virtual addresses for its prd table. Update the driver to do this with separate tracking entries. Signed-off-by: Alan Cox Signed-off-by: James Bottomley commit 59897dad98d63ac15e1e36fcc3a107c892b1826c tree 42e65c1e3e99ab12ab484b0311c4487ae7a76148 parent d39a942c3f4061d2218dcadf79ce10010dbcdb3c author James Bottomley Wed, 14 Sep 2005 12:57:42 -0400 committer James Bottomley Wed, 14 Sep 2005 16:59:03 -0400 [SCSI] fix sym scsi boot hang On Wed, 2005-09-14 at 18:06 +1000, Anton Blanchard wrote: > And in particular it looks like the scsi_unprep_request in > scsi_queue_insert is causing it. The following patch fixes the boot > problems on the vscsi machine: OK, my fault. Your fix is almost correct .. I was going to do this eventually, honest, because there's no need to unprep and reprep a command that comes in through scsi_queue_insert(). However, I decided to leave it in to exercise the scsi_unprep_request() path just to make sure it was working. What's happening, I think, is that we also use this path for retries. Since we kill and reget the command each time, the retries decrement is never seen, so we're retrying forever. Signed-off-by: James Bottomley commit d39a942c3f4061d2218dcadf79ce10010dbcdb3c tree d9a963b86932d8e7715f6d4a932c3f89b667a2fb parent 186d330e682210100c671355580a8592e4a21692 author Randy.Dunlap Tue, 13 Sep 2005 21:43:56 -0700 committer James Bottomley Wed, 14 Sep 2005 16:58:26 -0400 [SCSI] scsi: 2 drivers need MODULE_LICENSE() Modules need a license to prevent kernel tainting. Signed-off-by: Randy Dunlap Signed-off-by: James Bottomley commit 186d330e682210100c671355580a8592e4a21692 tree 63c9956263463c950c2965a5e871508d41aa9de3 parent a89f29f6ea8dba0b7c4ae5d1d0b43de6cb500ea6 author Timothy Thelin Tue, 13 Sep 2005 19:56:28 -0700 committer James Bottomley Wed, 14 Sep 2005 16:54:12 -0400 [SCSI] scsi: sd, sr, st, and scsi_lib all fail to copy cmd_len to new cmd This fixes an issue in scsi command initialization from a request where sd, sr, st, and scsi_lib all fail to copy the request's cmd_len to the scsi command's cmd_len field. Signed-off-by: Timothy Thelin Signed-off-by: James Bottomley commit a89f29f6ea8dba0b7c4ae5d1d0b43de6cb500ea6 tree 66e7c34459c41b4ade0d202258184fb2df84e907 parent 154fb614df83086ceb18a2c19908154e78d4dc98 author James Bottomley Tue, 30 Aug 2005 11:48:07 -0500 committer James Bottomley Tue, 13 Sep 2005 14:24:48 -0500 [SCSI] aic7xxx: move to dma_get_required_mask() and correct 39 bit assumptions This patch moves aic7xxx over to the dma_get_required_mask() API and dumps its open coded memory check. It also appears from this bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=167049 That 39 bit addressing doesn't work on older cards. I surmise that the AHC_LARGE_SCBS flag is the one that marks cards capable of using 39 bit addressing, so I also folded that check into the code. Signed-off-by: James Bottomley commit 154fb614df83086ceb18a2c19908154e78d4dc98 tree 4db0b4124cc635d4eadc245ea4716d13ec5d293b parent 1c5363153dc7ae694404e7732b4ce36eecc94ca7 author Dave C Boutcher Tue, 13 Sep 2005 10:09:02 -0500 committer James Bottomley Tue, 13 Sep 2005 10:15:10 -0500 [SCSI] ibmvscsi compatibility fix Linda Xie ever so gently pointed out that she had a patch to preserve compatibility with older SLES targets, and I told her we didn't need to push it to mainline. This patch explicitly checks the version of the IBMVSCSI target and ensures that large scatterlists are not sent to older targets. Signed-off-by: Linda Xie Signed-off-by: Dave Boutcher Signed-off-by: James Bottomley commit 1c5363153dc7ae694404e7732b4ce36eecc94ca7 tree 91476e383f04f25f5883b04517adfd92f6b66231 parent 2f4ba45a75d6383b4a1201169a808ffea416ffa0 author James Bottomley Mon, 12 Sep 2005 09:15:14 -0500 committer James Bottomley Tue, 13 Sep 2005 09:52:19 -0500 [SCSI] blacklist REPORT LUNS usage on transtec arrays They report being SCSI-3 but seem to give back rubbish to a REPORT_LUNS command. Force them to be sequentially scanned. Signed-off-by: James Bottomley