commit 8bbde0e6d52265158ee9625f383500c1a7d09ba9 Author: Linus Torvalds Date: Tue Apr 18 20:00:49 2006 -0700 Linux v2.6.17-rc2 commit d34cb28a3718a7055ed14e2ec058fe3e4574af63 Author: Ralf Baechle Date: Wed Apr 19 04:14:30 2006 +0200 [MAINTAINERS] The ham radio code now has website at http://www.linux-ax25.org. commit 3c68da798a3facbf94d536b1ed7ff6f1e7f4ad8d Author: Atsushi Nemoto Date: Sat Apr 8 01:33:31 2006 +0900 [MIPS] Use __ffs() instead of ffs() for waybit calculation. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 9200c0b2a07c430bd98c546fc44b94f50e67ac62 Author: Ralf Baechle Date: Thu Apr 6 00:44:25 2006 +0100 [MIPS] Fix Makefile bugs for MIPS32/MIPS64 R1 and R2. This fixes kernel builds with gcc 3.2 (not 64-bit, that is looking like it is beyond recovery) and 3.3. With these bugs fixed we now also can get undo 3b4c4996a0c24da9e6f8be764e3950b756b18cc0 and similar bits for SMTC that were added in 79cc8007b93838a670b164b8a55ab3e735a12a8b. Signed-off-by: Ralf Baechle commit 7e3bfc7cfc402458b0386086ab650ce811720927 Author: Ralf Baechle Date: Wed Apr 5 20:42:04 2006 +0100 [MIPS] Handle IDE PIO cache aliases on SMP. Signed-off-by: Ralf Baechle commit bb12d612d4b2e6dc260fab081f69df783b74289f Author: Ralf Baechle Date: Wed Apr 5 09:45:49 2006 +0100 [MIPS] Make mips_srs_init static. Nothing outside traps.c uses it. Signed-off-by: Ralf Baechle commit b4ade4bf8811c7267b9f32b4a5d8fcfde714adac Author: Ralf Baechle Date: Wed Apr 5 09:45:48 2006 +0100 [MIPS] MIPS boards: Set HZ to 100. 1000Hz will bring an FPGA CPU down on it's knees and it's even worse on multithreaded cores. Signed-off-by: Ralf Baechle commit 8f6539d55919b8e013583df768312a2503f4125d Author: Ralf Baechle Date: Wed Apr 5 09:45:48 2006 +0100 [MIPS] kgdb: Let gcc compute the array size itself. This is the same method as used in the serial driver. Signed-off-by: Ralf Baechle commit f088fc84f94c1a36943e28ad704a9a740a35f877 Author: Ralf Baechle Date: Wed Apr 5 09:45:47 2006 +0100 [MIPS] FPU affinity for MT ASE. Signed-off-by: Ralf Baechle commit 41c594ab65fc89573af296d192aa5235d09717ab Author: Ralf Baechle Date: Wed Apr 5 09:45:45 2006 +0100 [MIPS] MT: Improved multithreading support. Signed-off-by: Ralf Baechle commit 2600990e640e3bef29ed89d565864cf16ee83833 Author: Ralf Baechle Date: Wed Apr 5 09:45:45 2006 +0100 [MIPS] kpsd and other AP/SP improvements. Signed-off-by: Ralf Baechle commit bce1a28686ed6527977a198f698278b67c6bf9ec Author: Ralf Baechle Date: Wed Apr 5 09:45:45 2006 +0100 [MIPS] R2: Instruction hazard barrier. Signed-off-by: Ralf Baechle commit a682a2417007ad6265cd71b97b751753fd10e2fb Author: Ralf Baechle Date: Tue Apr 4 16:59:37 2006 +0100 [MIPS] Fix genrtc compilation. Signed-off-by: Ralf Roesch Signed-off-by: Ralf Baechle commit 193dd2ce2a4a1c5b2e7814544572424d497069db Author: Ralf Baechle Date: Tue Apr 4 15:09:06 2006 +0100 [MIPS] R2: Implement shadow register allocation without spinlock. Signed-off-by: Ralf Baechle commit 62a442155ea58a17497b487324b27ec2f2dc5c5c Author: Yoichi Yuasa Date: Tue Apr 4 20:48:47 2006 +0900 [MIPS] Fix VR41xx build errors. Signed-off-by: Ralf Baechle Signed-off-by: Yoichi Yuasa commit 67a3f6de939a5f52e0aea6dcff7778d4bcca0734 Author: Atsushi Nemoto Date: Tue Apr 4 17:34:14 2006 +0900 [MIPS] Fix tx49_blast_icache32_page_indexed. Fix the cache index value in tx49_blast_icache32_page_indexed(). This is a damage by de62893bc0725f8b5f0445250577cd7a10b2d8f8 commit. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 1cc89038f3921f4d79a9d24c8490aa9c0549e371 Author: Atsushi Nemoto Date: Tue Apr 4 13:11:45 2006 +0900 [MIPS] Enable SCHED_NO_NO_OMIT_FRAME_POINTER for MIPS. MIPS get_wchan() no longer requires -fno-omit-frame-pointer. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 675055bfb5f99be56a20a6a214439adf23591786 Author: Ralf Baechle Date: Mon Apr 3 23:32:39 2006 +0100 [MIPS] Use "R" constraint for cache_op. Gcc might emit an absolute address for the the "m" constraint which gas unfortunately does not permit. Signed-off-by: Ralf Baechle commit e4ac58afdfac792c0583af30dbd9eae53e24c78b Author: Ralf Baechle Date: Mon Apr 3 17:56:36 2006 +0100 [MIPS] Rewrite all the assembler interrupt handlers to C. Saves like 1,600 lines of code, is way easier to debug, compilers frequently do a better job than the cut and paste type of handlers many boards had. And finally having all the stuff done in a single place also means alot of bug potencial for the MT ASE is gone. The only surviving handler in assembler is the DECstation one; I hope Maciej will rewrite it. Signed-off-by: Ralf Baechle commit d35d473c25d43d7db3e5e18b66d558d2a631cca8 Author: Ralf Baechle Date: Mon Apr 3 13:17:41 2006 +0100 [MIPS] Fix the crime against humanity that mipsIRQ.S is. Signed-off-by: Ralf Baechle commit fde3505c695e0de8ae7504b58d373db2d0ba498a Author: Ralf Baechle Date: Mon Apr 3 14:44:50 2006 +0100 [MIPS] Fixup damage done by 22a9835c350782a5c3257343713932af3ac92ee0. Signed-off-by: Ralf Baechle commit 9c1f1257a364467d091c5166049addaf3e7d7118 Author: Ralf Baechle Date: Mon Apr 3 10:17:21 2006 +0100 [MIPS] Replace redundant declarations of _end by . Signed-off-by: Ralf Baechle commit ba8990f2aec85b5b62643aa82a1e71c738efc487 Author: Ralf Baechle Date: Mon Apr 3 00:21:30 2006 +0100 [MIPS] JMR3927 build fixes for the RTC code. Signed-off-by: Ralf Baechle commit 67cbeb334ec2f1303dd11930b0eb0379e8e39559 Author: Ralf Baechle Date: Sun Apr 2 22:17:09 2006 +0100 [MIPS] EV96100: ev96100_cpu_irq needs a struct pt_regs argument. Signed-off-by: Ralf Baechle commit 2ef2e1d9731bd8b3d8565e31bacd52a7c13a0aed Author: Ralf Baechle Date: Sun Apr 2 22:07:36 2006 +0100 [MIPS] EV96100: Fix over two year old typo in variable name. Signed-off-by: Ralf Baechle commit c40b92e09c029ef2cb0b2287cbd222ff14ae3de8 Author: Ralf Baechle Date: Sun Apr 2 18:43:09 2006 +0100 [MIPS] Ocelot 3: Fix build errors after the recent move of Marvell headers. Signed-off-by: Ralf Baechle commit 088cf96a692a0369973aa19dcbf36134d9e6a529 Author: Ralf Baechle Date: Sun Apr 2 18:06:43 2006 +0100 [MIPS] MV6434x: Add prototype of interrupt dispatch function. Signed-off-by: Ralf Baechle commit ac2384a855c94e1d5467afe20bcb8ca23f0f3853 Author: Ralf Baechle Date: Sun Apr 2 13:48:57 2006 +0100 [MIPS] it8172: Fix build of serial driver. Signed-off-by: Ralf Baechle commit ed00e87fd09f113dd9e79672b835734801f2a9ea Author: Ralf Baechle Date: Sun Apr 2 13:47:51 2006 +0100 [MIPS] ITE: Glue build. Signed-off-by: Ralf Baechle commit 13626a887fad4220bc7ca85f4b42ca8cfb805e11 Author: Ralf Baechle Date: Sun Apr 2 13:17:58 2006 +0100 [MIPS] MV6434x: The name of the CPP symbol is __mips__, not __MIPS__. Signed-off-by: Ralf Baechle commit b56bce9a25e8c117794fe74c1b9bf790de10d554 Author: Ralf Baechle Date: Sun Apr 2 13:16:45 2006 +0100 [MIPS] Jaguar: Fix build errors after the recent move of Marvell headers. Some things were renamed because the PPC variant of the MV-643XX now uses the same header and the Jaguar code didn't catch up on that. Signed-off-by: Ralf Baechle commit 0428657d874edf228fcd5396bb0e095b806e954c Author: Ralf Baechle Date: Sun Apr 2 13:14:42 2006 +0100 [MIPS] ITE8172: Fix build error due to missmatching prototypes. Signed-off-by: Ralf Baechle commit f13b68e8174657b0253ca7cf263521ed3ac19125 Author: Ralf Baechle Date: Sun Apr 2 13:13:19 2006 +0100 [MIPS] Fix CONFIG_LIMITED_DMA build. This fix a build error for the Momentum Jaguar ATX eval board. Signed-off-by: Ralf Baechle commit 41d4f0e61283f6807553c129416fc20766a7043f Author: Ralf Baechle Date: Sat Apr 1 21:25:28 2006 +0100 [MIPS] PNX8550 build fix. Signed-off-by: Ralf Baechle commit 93373ed4d87fb02554ce020d929388ac16913664 Author: Ralf Baechle Date: Sat Apr 1 21:17:45 2006 +0100 [MIPS] Rewrite spurious_interrupt from assembler to C. Signed-off-by: Ralf Baechle commit c9e321e095384f25f2b7ffef456794cfa876dafc Author: Ralf Baechle Date: Sat Apr 1 20:43:58 2006 +0100 [MIPS] Fix breakage due to the grand makefile crapectomy. It's cc-option not cc-options. Signed-off-by: Ralf Baechle commit e49ed7f5917de5baa9e25cf8af332b3b35724e51 Author: Ralf Baechle Date: Sat Apr 1 07:49:52 2006 +0100 [MIPS] Sort out duplicate exports. Signed-off-by: Ralf Baechle commit a8d587a71b76328447de165b12495650721b9286 Author: Ralf Baechle Date: Sat Apr 1 07:49:21 2006 +0100 [MIPS] Wire up sync_file_range(2). Signed-off-by: Ralf Baechle commit f115da9cd60ccd5f27941dcf9fe8038ae9486a77 Author: Ralf Baechle Date: Fri Mar 31 09:27:20 2006 +0100 [MIPS] Wire splice syscall. Signed-off-by: Ralf Baechle commit 84ada9f85686a6bfdbd65c24fd23ef5d641b0776 Author: Ralf Baechle Date: Thu Mar 30 21:27:47 2006 +0100 [MIPS] More SHT_* and SHF_* ELF definitions. Signed-off-by: Ralf Baechle commit 91b05e6776e173da5ce7c96d67b3ad186c4fa49f Author: Ralf Baechle Date: Wed Mar 29 18:53:00 2006 +0100 [MIPS] Fix vectored interrupt support in TLB exception handler generator. Signed-off-by: Ralf Baechle commit 15c4f67ab81b07d3b579a11fc4a30da84c0d4858 Author: Ralf Baechle Date: Wed Mar 29 18:51:06 2006 +0100 [MIPS] Provide access functions for c0_badvaddr. Signed-off-by: Ralf Baechle commit ff3eab2a985f8efac239768fe7dda8fffc028ded Author: Ralf Baechle Date: Wed Mar 29 14:12:58 2006 +0100 [MIPS] Some formatting fixes. Signed-off-by: Ralf Baechle commit 7acb783ecd5273a864cfb588ed63c0df0e217a9e Author: Ralf Baechle Date: Wed Mar 29 14:11:22 2006 +0100 [MIPS] Fixup printk in mips_srs_init. Signed-off-by: Ralf Baechle commit e76038dcc06fc22134abdc554338d444f87791c6 Author: Ralf Baechle Date: Wed Mar 29 14:10:09 2006 +0100 [MIPS] Remove redundant initialization of sr_allocated. Signed-off-by: Ralf Baechle commit b4d05cb9cbbf206ab0dc2c1740938b87b3d3ee44 Author: Ralf Baechle Date: Wed Mar 29 14:09:14 2006 +0100 [MIPS] Make set_vi_srs_handler static. Signed-off-by: Ralf Baechle commit 6fd11a2173709cd598345e15382af480979cf4fc Author: Ralf Baechle Date: Fri Mar 24 13:21:50 2006 +0000 [MIPS] Cleanup free_initmem the same way as i386 did. Signed-off-by: Ralf Baechle commit 18b68e1561ff464c9b773f96e535d724c352fb8a Author: Yoichi Yuasa Date: Wed Mar 22 11:22:09 2006 +0900 [MIPS] Added tb0287_defconfig back. Signed-off-by: Yoichi Yuasa Signed-off-by: Ralf Baechle commit f2a1585244681b92fd416d071a85de0db79235d2 Author: Jean-Luc Léger Date: Tue Apr 18 16:19:53 2006 -0700 [SPARC64]: Fix dependencies of HUGETLB_PAGE_SIZE_64K This patch fixes dependencies of HUGETLB_PAGE_SIZE_64K Signed-off-by: Jean-Luc Léger Signed-off-by: David S. Miller commit 63903ca6af3d9424a0c2b176f927fa7e7ab2ae8e Author: Jesper Juhl Date: Tue Apr 18 14:51:44 2006 -0700 [NET]: Remove redundant NULL checks before [kv]free Redundant NULL check before kfree removal from net/ Signed-off-by: Jesper Juhl Acked-by: James Morris Signed-off-by: David S. Miller commit 40daafc80b0f6a950c9252f9f1a242ab5cb6a648 Author: Dmitry Mishin Date: Tue Apr 18 14:50:10 2006 -0700 unaligned access in sk_run_filter() This patch fixes unaligned access warnings noticed on IA64 in sk_run_filter(). 'ptr' can be unaligned. Signed-off-By: Dmitry Mishin Signed-off-By: Kirill Korotaev Signed-off-by: David S. Miller commit b809739a1b455396c21de13bcbf6669faf82f747 Author: YOSHIFUJI Hideaki Date: Tue Apr 18 14:48:45 2006 -0700 [IPV6]: Clean up hop-by-hop options handler. - Removed unused argument (nhoff) for ipv6_parse_hopopts(). - Make ipv6_parse_hopopts() to align with other extension header handlers. - Removed pointless assignment (hdr), which is not used afterwards. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit e5d25a90886d62d88fdd7cd5c3375f4fe436be64 Author: YOSHIFUJI Hideaki Date: Tue Apr 18 14:47:44 2006 -0700 [IPV6] XFRM: Fix decoding session with preceding extension header(s). We did not correctly decode session with preceding extension header(s). This was because we had already pulled preceding headers, skb->nh.raw + 40 + 1 - skb->data was minus, and pskb_may_pull() failed. We now have IP6CB(skb)->nhoff and skb->h.raw, and we can start parsing / decoding upper layer protocol from current position. Tracked down by Noriaki TAKAMIYA and tested by Kazunori Miyazawa . Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit e3cae904d7df4f86ea1d13d459e667d389cc35e3 Author: YOSHIFUJI Hideaki Date: Tue Apr 18 14:46:52 2006 -0700 [IPV6] XFRM: Don't use old copy of pointer after pskb_may_pull(). Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit ec6700958a776a83681ecb11239c0525730c42ba Author: YOSHIFUJI Hideaki Date: Tue Apr 18 14:46:26 2006 -0700 [IPV6]: Ensure to have hop-by-hop options in our header of &sk_buff. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit ef5cb9738b488140eb6c3f32fffab08f39a4905e Author: Herbert Xu Date: Tue Apr 18 13:24:14 2006 -0700 [TCP]: Fix truesize underflow There is a problem with the TSO packet trimming code. The cause of this lies in the tcp_fragment() function. When we allocate a fragment for a completely non-linear packet the truesize is calculated for a payload length of zero. This means that truesize could in fact be less than the real payload length. When that happens the TSO packet trimming can cause truesize to become negative. This in turn can cause sk_forward_alloc to be -n * PAGE_SIZE which would trigger the warning. I've copied the code DaveM used in tso_fragment which should work here. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 9180053cacfec4aa233a6cabf1256960e75b0abd Author: Adrian Bunk Date: Wed Apr 19 00:07:28 2006 +0200 [CPUFREQ] powernow-k8.c: fix a check-after-use This patch fixes a check-after-use introduced by commit 4211a30349e8d2b724cfb4ce2584604f5e59c299 and spotted by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: Dave Jones commit 3aee086bd3ecce968283798ce4a73966c7ed44e3 Author: Tobias Klauser Date: Mon Apr 10 19:20:12 2006 +0200 [CPUFREQ] Remove duplicate check in powernow-k8 Remove a duplicate NULL pointer check introduced by commit 4211a30349e8d2b724cfb4ce2584604f5e59c299 Signed-off-by: Tobias Klauser Signed-off-by: Dave Jones commit 7b14dedd1fe72f33e128ed1b0cbf96d06acc7e9c Author: Adrian Bunk Date: Tue Apr 18 17:06:13 2006 +0200 [CPUFREQ] drivers/cpufreq/cpufreq.c: static functions mustn't be exported This patch removes the EXPORT_SYMBOL_GPL of the static function cpufreq_parse_governor(). Signed-off-by: Adrian Bunk Signed-off-by: Dave Jones commit 7970e08bf066900efcd7794a1a338c11eb8f5141 Author: Thomas Renninger Date: Thu Apr 13 15:14:04 2006 +0200 [CPUFREQ] If max_freq got reduced (e.g. by _PPC) a write to sysfs scaling_governor let cpufreq core stuck at low max_freq for ever The previous patch had bugs (locking and refcount). This one could also be related to the latest DELL reports. But they only slip into this if a user prog (e.g. powersave daemon does when AC got (un) plugged due to a scheme change) echos something to /sys/../cpufreq/scaling_governor while the frequencies got limited by BIOS. This one works: Subject: Max freq stucks at low freq if reduced by _PPC and sysfs gov access The problem is reproducable by(if machine is limiting freqs via BIOS): - Unplugging AC -> max freq gets limited - echo ${governor} >/sys/.../cpufreq/scaling_governor (policy->user_data.max gets overridden with policy->max and will never come up again.) This patch exchanged the cpufreq_set_policy call to __cpufreq_set_policy and duplicated it's functionality but did not override user_data.max. The same happens with overridding min/max values. If freqs are limited and you override the min freq value, the max freq global value will also get stuck to the limited freq, even if BIOS allows all freqs again. Last scenario does only happen if BIOS does not reduce the frequency to the lowest value (should never happen, just for correctness...) drivers/cpufreq/cpufreq.c | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) Signed-off-by: Thomas Renninger Signed-off-by: "Pallipadi, Venkatesh" Signed-off-by: Dave Jones commit 608c783aaa0abe39e3672f65b786cdade8db6df9 Author: Richard Purdie Date: Tue Apr 18 23:18:54 2006 +0100 [ARM] 3479/1: Corgi SSP: Fix potential concurrent access problem Patch from Richard Purdie corgi_ssp_probe() should not access GPDR directly but should use pxa_gpio_mode() which has appropriate locking and other safeguards. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 7ea3bbbc8997df1ae7dc4e736d163dabc00f4721 Author: Richard Purdie Date: Tue Apr 18 23:18:53 2006 +0100 [ARM] 3478/1: SharpSL SCOOP: Fix potenial build failure Patch from Richard Purdie Move platform_scoop_config from the SharpSL scoop PCMCIA driver to the SCOOP driver. This avoids build failures when PCMCIA is not built or is modular (scoop.c itself cannot be modular). Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 385910f2b275a636238f70844f1b6da9fda6f2da Author: Linus Torvalds Date: Tue Apr 18 13:22:59 2006 -0700 x86: be careful about tailcall breakage for sys_open[at] too Came up through a quick grep for other cases similar to the ftruncate() one in commit 0a489cb3b6a7b277030cdbc97c2c65905db94536. Also, add a comment, so that people who read the code understand why we do what looks like a no-op. (Again, this won't actually matter to any sane user, since libc will save and restore the register gcc stomps on, but it's still wrong to stomp on it) Signed-off-by: Linus Torvalds commit 0a489cb3b6a7b277030cdbc97c2c65905db94536 Author: Linus Torvalds Date: Tue Apr 18 13:02:48 2006 -0700 x86: don't allow tail-calls in sys_ftruncate[64]() Gcc thinks it owns the incoming argument stack, but that's not true for "asmlinkage" functions, and it corrupts the caller-set-up argument stack when it pushes the third argument onto the stack. Which can result in %ebx getting corrupted in user space. Now, normally nobody sane would ever notice, since libc will save and restore %ebx anyway over the system call, but it's still wrong. I'd much rather have "asmlinkage" tell gcc directly that it doesn't own the stack, but no such attribute exists, so we're stuck with our hacky manual "prevent_tail_call()" macro once more (we've had the same issue before with sys_waitpid() and sys_wait4()). Thanks to Hans-Werner Hilse for reporting the issue and testing the fix. Signed-off-by: Linus Torvalds commit 102e41fd9dfee357b71e21a38eec3c86ff557bc1 Author: Andi Kleen Date: Tue Apr 18 12:35:22 2006 +0200 [PATCH] i386: Move CONFIG_DOUBLEFAULT into arch/i386 where it belongs. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit f1233ab2cebb22a98df55de206a33a6693e3a78b Author: Andi Kleen Date: Tue Apr 18 12:35:19 2006 +0200 [PATCH] x86_64: Add tee and sync_file_range tee was already there for some reason for native 64bit, but sys_sync_file_range was missing. Also add it to the compat layer. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6fa679fdea22cd96287d4aa11ee771bcd46c6dfb Author: Andi Kleen Date: Tue Apr 18 12:35:16 2006 +0200 [PATCH] x86_64: Increase NUMA hash function nodemap Needed for some big Opteron systems to compute a numa hash function They have more than 12 bits significant address. TBD switch this over to dynamic allocation or use better hash Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 8bcc5280e68878d2b989c91d98305109e391c86a Author: Vivek Goyal Date: Tue Apr 18 12:35:13 2006 +0200 [PATCH] x86_64: x86_64 add crashdump trigger points o Start booting into the capture kernel after an Oops if system is in a unrecoverable state. System will boot into the capture kernel, if one is pre-loaded by the user, and capture the kernel core dump. o One of the following conditions should be true to trigger the booting of capture kernel. - panic_on_oops is set. - pid of current thread is 0 - pid of current thread is 1 - Oops happened inside interrupt context. Signed-off-by: Vivek Goyal Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 87cb23a48c208f31ab87c7a2aad37dbb355575f3 Author: Andi Kleen Date: Tue Apr 18 12:35:10 2006 +0200 [PATCH] i386/x86-64: Fix ACPI disabled LAPIC handling mismerge The patch I submitted earlier to fix disabled LAPIC handling in ACPI was mismerged for some reason I still don't quite understand. Parts of it was applied to the wrong function. This patch fixes it up. Cc: len.brown@intel.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit d16e86243ecf6f8fb97b5b7d685e0afa77a123e5 Author: Andi Kleen Date: Tue Apr 18 12:35:07 2006 +0200 [PATCH] x86_64: Update defconfig Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit be3b075354e170368a0d29558cae492205e80a64 Author: OGAWA Hirofumi Date: Tue Apr 18 19:18:31 2006 +0200 [PATCH] cfq: Further rbtree traversal and cfq_exit_queue() race fix In current code, we are re-reading cic->key after dead cic->key check. So, in theory, it may really re-read *after* cfq_exit_queue() seted NULL. To avoid race, we copy it to stack, then use it. With this change, I guess gcc will assign cic->key to a register or stack, and it wouldn't be re-readed. Signed-off-by: OGAWA Hirofumi Signed-off-by: Jens Axboe commit f39224a8c1828bdd327539da72a53d8a13595838 Author: Paul Mackerras Date: Tue Apr 18 21:49:11 2006 +1000 powerpc: Use correct sequence for putting CPU into nap mode We weren't using the recommended sequence for putting the CPU into nap mode. When I changed the idle loop, for some reason 7447A cpus started hanging when we put them into nap mode. Changing to the recommended sequence fixes that. The complexity here is that the recommended sequence is a loop that keeps putting the cpu back into nap mode. Clearly we need some way to break out of the loop when an interrupt (external interrupt, decrementer, performance monitor) occurs. Here we use a bit in the thread_info struct to indicate that we need this, and the exception entry code notices this and arranges for the exception to return to the value in the link register, thus breaking out of the loop. We use a new `local_flags' field in the thread_info which we can alter without needing to use an atomic update sequence. The PPC970 has the same recommended sequence, so we do the same thing there too. This also fixes a bug in the kernel stack overflow handling code on 32-bit, since it was causing a value that we needed in a register to get trashed. Signed-off-by: Paul Mackerras commit d253258c80117c2afaa644554e613201992e4ee9 Author: Jayachandran C Date: Mon Apr 10 23:18:28 2006 -0700 drm: Fix further issues in drivers/char/drm/via_irq.c Fix de-reference of 'dev_priv' before NULL check. Signed-off-by: Jayachandran C. Cc: Dave Airlie Signed-off-by: Andrew Morton commit 031de96af0e7ed6ad4a7ec2b74a77bf9782f966e Author: Adrian Bunk Date: Mon Apr 10 23:18:27 2006 -0700 drivers/char/drm/drm_memory.c: possible cleanups - #if 0 the following unused global function: - drm_ioremap_nocache() - make the following needlessly global functions static: - agp_remap() - drm_lookup_map() Signed-off-by: Adrian Bunk Cc: Dave Airlie Signed-off-by: Andrew Morton commit dbecf3ab40b5a6cc4499543778cd9f9682c0abad Author: OGAWA Hirofumi Date: Tue Apr 18 09:45:18 2006 +0200 [PATCH 2/2] cfq: fix cic's rbtree traversal When queue dies, we set cic->key=NULL as dead mark. So, when we traverse a rbtree, we must check whether it's still valid key. if it was invalidated, drop it, then restart the traversal from top. Signed-off-by: OGAWA Hirofumi Signed-off-by: Jens Axboe commit fba822722e3f9d438fca8fd9541d7ddd447d7a48 Author: OGAWA Hirofumi Date: Tue Apr 18 09:44:06 2006 +0200 [PATCH 1/2] iosched: fix typo and barrier() On rmmod path, cfq/as waits to make sure all io-contexts was freed. However, it's using complete(), not wait_for_completion(). I think barrier() is not enough in here. To avoid the following case, this patch replaces barrier() with smb_wmb(). cpu0 visibility cpu1 [ioc_gnone=NULL,ioc_count=1] ioc_gnone = &all_gone NULL,ioc_count=1 atomic_read(&ioc_count) NULL,ioc_count=1 wait_for_completion() NULL,ioc_count=0 atomic_sub_and_test() NULL,ioc_count=0 if ( && ioc_gone) [ioc_gone==NULL, so doesn't call complete()] &all_gone,ioc_count=0 Signed-off-by: OGAWA Hirofumi Signed-off-by: Jens Axboe commit a9a5cd5d2a57fb76dbae2115450f777b69beccf7 Author: Alexey Kuznetsov Date: Mon Apr 17 15:39:23 2006 +0400 [PATCH] IPC: access to unmapped vmalloc area in grow_ary() grow_ary() should not copy struct ipc_id_ary (it copies new->p, not new). Due to this, memcpy() src pointer could hit unmapped vmalloc page when near page boundary. Found during OpenVZ stress testing Signed-off-by: Alexey Kuznetsov Signed-off-by: Kirill Korotaev Signed-off-by: Linus Torvalds commit 69cf0fac6052c5bd3fb3469a41d4216e926028f8 Author: Hugh Dickins Date: Mon Apr 17 22:46:32 2006 +0100 [PATCH] Fix MADV_REMOVE protection checking madvise_remove needs to respect file and mmap protections. Signed-off-by: Hugh Dickins [ Will the real CVE-2006-1524 stand up, please.. ] Signed-off-by: Linus Torvalds commit d2c962b8530b84f4e035df8ade7e35f353a57cbe Author: Stephen Hemminger Date: Mon Apr 17 17:27:11 2006 -0700 [IPV4]: ip_route_input panic fix This fixes http://bugzilla.kernel.org/show_bug.cgi?id=6388 The bug is caused by ip_route_input dereferencing skb->nh.protocol of the dummy skb passed dow from inet_rtm_getroute (Thanks Thomas for seeing it). It only happens if the route requested is for a multicast IP address. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit b78b6af66a5fbaf17d7e6bfc32384df5e34408c8 Author: Hugh Dickins Date: Wed Apr 12 14:34:27 2006 -0700 [PATCH] shmat: stop mprotect from giving write permission to a readonly attachment (CVE-2006-1524) I found that all of 2.4 and 2.6 have been letting mprotect give write permission to a readonly attachment of shared memory, whether or not IPC would give the caller that permission. SUS says "The behaviour of this function [mprotect] is unspecified if the mapping was not established by a call to mmap", but I don't think we can interpret that as allowing it to subvert IPC permissions. I haven't tried 2.2, but the 2.2.26 source looks like it gets it right; and the patch below reproduces that behaviour - mprotect cannot be used to add write permission to a shared memory segment attached readonly. This patch is simple, and I'm sure it's what we should have done in 2.4.0: if you want to go on to switch write permission on and off with mprotect, just don't attach the segment readonly in the first place. However, we could have accumulated apps which attach readonly (even though they would be permitted to attach read/write), and which subsequently use mprotect to switch write permission on and off: it's not unreasonable. I was going to add a second ipcperms check in do_shmat, to check for writable when readonly, and if not writable find_vma and clear VM_MAYWRITE. But security_ipc_permission might do auditing, and it seems wrong to report an attempt for write permission when there has been none. Or we could flag the vma as SHM, note the shmid or shp in vm_private_data, and then get mprotect to check. But the patch below is a lot simpler: I'd rather stick with it, if we can convince ourselves somehow that it'll be safe. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit ca1e0484d9fe8a9048ac32b0f9894545f43704e8 Author: Mike Miller Date: Mon Apr 10 15:38:07 2006 -0700 [PATCH] cciss: bug fix for crash when running hpacucli Fix a crash when running hpacucli with multiple logical volumes on a cciss controller. We were not properly initializing the disk->queue and causing a fault. Thanks to Hasso Tepper for reporting the problem. Thanks to Steve Cameron for root causing the problem. Most of the patch just moves things around. The fix is a one-liner. Signed-off-by: Mike Miller Signed-off-by: Stephen Cameron Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 75616cf9854b83eb83a968b1338ae0ee11c9673c Author: Ananiev, Leonid I Date: Mon Apr 10 22:54:38 2006 -0700 [PATCH] ext3: Fix missed mutex unlock Missed unlock_super()call is added in error condition code path. Signed-off-by: Leonid Ananiev Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 2436f039d26a91e5404974ee0cb789b17db46168 Author: Stephen Rothwell Date: Mon Apr 10 00:17:20 2006 -0700 [PATCH] Fix block device symlink name As noted further on the this file, some block devices have a / in their name, so fix the "block:..." symlink name the same as the /sys/block name. Signed-off-by: Stephen Rothwell Cc: Al Viro Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 66e0a9888b774af625ce544f7c6597c7506d07db Author: Randy Dunlap Date: Wed Apr 5 12:03:45 2006 -0700 [PATCH] isd200: limit to BLK_DEV_IDE Limit USB_STORAGE_ISD200 to whatever BLK_DEV_IDE and USB_STORAGE are set to (y, m) since isd200 calls ide_fix_driveid() in the BLK_DEV_IDE code. Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman commit 5fdfd42e3a69e8a686fcfb6381616464945471e8 Author: David S. Miller Date: Mon Apr 17 13:34:44 2006 -0700 [SPARC64]: Export pcibios_resource_to_bus(). SYM2 driver uses it. Signed-off-by: David S. Miller commit 67ab7f596b6adbaef5abc539dbee822e298a36e1 Author: Russell King Date: Sat Apr 15 20:46:11 2006 +0100 [SERIAL] Update serial driver documentation Improve serial driver documentation: - Remove CVS id. - Update pointer to reference driver documentation. - Add comments about new uart_write_console function. - Add TIOCM_LOOP modem control bit description. - Add commentry about enable_ms method being called multiple times. - Add commentry about startup/shutdown method calling. - Mention that dereferencing port->info after shutdown is invalid. Signed-off-by: Russell King commit 463b158aab247b600e4e93614b7b8f42a66331c9 Author: Nicolas Pitre Date: Sat Apr 15 16:10:43 2006 +0100 [ARM] 3477/1: ARM EABI: undefine removed syscalls Patch from Nicolas Pitre Avoid confusion for libraries assuming that a given syscall is available when corresponding symbol is defined. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 2c5362007bc0a46461a9d94958cdd53bb027004c Author: David Brownell Date: Fri Apr 14 18:05:38 2006 -0700 Fix AT91RM9200 build breakage The at91_cf driver got out of sync with certain changes in the PCMCIA layer, notably getting rid of some duplication of data ... causing the version merged to kernel.org to fail compiling. This patch gives the at91_cf platform device a new iomem resource, using it so this new pcmcia scheme works. It also cleans up some whitepsace bugs that have accumulated over time (mostly too-long lines). Signed-off-by: David Brownell Signed-off-by: Linus Torvalds commit 64541d19702cfdb7ea946fdc20faee849f6874b1 Author: Eric W. Biederman Date: Fri Apr 14 12:43:15 2006 -0600 [PATCH] kill unushed __put_task_struct_cb Somehow in the midst of dotting i's and crossing t's during the merge up to rc1 we wound up keeping __put_task_struct_cb when it should have been killed as it no longer has any users. Sorry I probably should have caught this while it was still in the -mm tree. Having the old code there gets confusing when reading through the code and trying to understand what is happening. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 1f60245479ca6d4d3f2cf4a47c7dd18caf5afdf2 Author: H. Peter Anvin Date: Fri Apr 14 17:25:30 2006 -0700 [efficeon-agp] Add missing memory mask Original patch by Benjamin Herrenschmidt after debugging by Brian Hinz. Cc: Benjamin Herrenschmidt Cc: Brian Hinz Signed-off-by: H. Peter Anvin Signed-off-by: Linus Torvalds commit 3d9dd7564d5d7c28eb87b14c13a23806484667f3 Author: Zach Brown Date: Fri Apr 14 16:04:18 2006 -0700 [PATCH] ip_output: account for fraggap when checking to add trailer_len During other work I noticed that ip_append_data() seemed to be forgetting to include the frag gap in its calculation of a fragment that consumes the rest of the payload. Herbert confirmed that this was a bug that snuck in during a previous rework. Signed-off-by: Zach Brown Signed-off-by: David S. Miller commit 08d099974a09faf4cb11ffc46da87073fa132fc0 Author: Linus Walleij Date: Fri Apr 14 16:03:33 2006 -0700 [IRDA]: smsc-ircc2, smcinit support for ALi ISA bridges From: Linus Walleij This patch enables support for ALi ISA bridges when we run the smcinit code. It is needed to properly configure some Toshiba laptops. Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit 269690ac164fc0a7c2de03e7e0d2f554104d1516 Author: Samuel Ortiz Date: Fri Apr 14 16:02:07 2006 -0700 [IRDA]: irda-usb, unregister netdev when patch upload fails In the STIR421x case, when the firmware upload fails, we need to unregister_netdev. Otherwise we hit a BUG on free_netdev(), if sysfs is enabled. Signed-off-by: Samuel Ortiz Signed-off-by: David S. Miller commit 4909e488f65fc729fc0f8d42bd1600c56a8bd83c Author: Stephen Hemminger Date: Fri Apr 14 16:01:26 2006 -0700 [ATM] clip: add module info Add module information Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 5ff765f3d0b9367319d29ab0c0f55349da2fd53e Author: Stephen Hemminger Date: Fri Apr 14 16:00:59 2006 -0700 [ATM] clip: notifier related cleanups Cleanup some code around notifier. Don't need (void) casts to ignore return values, and use C90 style initializer. Just ignore unused device events. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit dcdb02752ff13a64433c36f2937a58d93ae7a19e Author: Stephen Hemminger Date: Fri Apr 14 16:00:25 2006 -0700 [ATM] clip: get rid of PROC_FS ifdef Don't need the ifdef here since create_proc_entry() is stubbed to always return NULL. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit e49e76db031fdfaadb4907a319ea3a1dc9d2925f Author: Stephen Hemminger Date: Fri Apr 14 15:59:37 2006 -0700 [ATM] clip: run through Lindent Run CLIP driver through Lindent script to fix formatting. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 2d9073922bc73f8cb847ce354f0896205f6981a1 Author: Stephen Hemminger Date: Fri Apr 14 15:56:02 2006 -0700 [ATM]: Clip timer race. By inspection, the clip idle timer code is racy on SMP. Here is a safe version of timer management. Untested, I don't have ATM hardware. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 5ecdd0f67c624714ccd5358e1cc88324f86f0e10 Author: Sam Ravnborg Date: Fri Apr 14 23:54:13 2006 +0200 kbuild: fix false section mismatch warnings Darren Jenkins pointed out a number of false positives where we referenced variables from a _driver variable. Fix it by check for that pattern and ignore it. Randy.Dunlap pointed out a similar set of warnings for a number of scsi drivers. In scsi world they misname their variables *_template or *_sht so add these to list of variables that may have references to .init.text with no warning. Randy.Dunlap also pointed out a scsi driver with many references to .exit.text from .rodata. This is compiler generated references and we already ignore these for .init.text, so ignore them for .exit.text also. Signed-off-by: Sam Ravnborg commit 5fdef394953d8660c70cc27b27db421582c42bf9 Author: David S. Miller Date: Fri Apr 14 15:29:32 2006 -0700 [SPARC]: Hook up sys_tee() into syscall tables. Signed-off-by: David S. Miller commit f3a0592b37b83e56a7f47826f552b35a2c3b2fc9 Author: Stephen Hemminger Date: Fri Apr 14 15:07:27 2006 -0700 [ATM]: clip causes unregister hang If Classical IP over ATM module is loaded, its neighbor table gets populated when permanent neighbor entries are created; but these entries are not flushed when the device is removed. Since the entry never gets flushed the unregister of the network device never completes. This version of the patch also adds locking around the reference to the atm arp daemon to avoid races with events and daemon state changes. (Note: barrier() was never really safe) Bug-reference: http://bugzilla.kernel.org/show_bug.cgi?id=6295 Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit b8a99520f78e23e47f9efffeb0060c1385064ff6 Author: Jamal Hadi Salim Date: Fri Apr 14 15:05:16 2006 -0700 [XFRM]: Add documentation for async events. Documentation to describe asynchronous xfrm events to help people writting HA code in user space. Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit 2717096ab41eacdbf07352dca6826b59470eb39a Author: Jamal Hadi Salim Date: Fri Apr 14 15:03:05 2006 -0700 [XFRM]: Fix aevent timer. Send aevent immediately if we have sent nothing since last timer and this is the first packet. Fixes a corner case when packet threshold is very high, the timer low and a very low packet rate input which is bursty. Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit 6c97e72a162648eaf7c401cfc139493cefa6bed2 Author: Adrian Bunk Date: Wed Apr 12 13:57:59 2006 -0700 [IPV4]: Possible cleanups. This patch contains the following possible cleanups: - make the following needlessly global function static: - arp.c: arp_rcv() - remove the following unused EXPORT_SYMBOL's: - devinet.c: devinet_ioctl - fib_frontend.c: ip_rt_ioctl - inet_hashtables.c: inet_bind_bucket_create - inet_hashtables.c: inet_bind_hash - tcp_input.c: sysctl_tcp_abc - tcp_ipv4.c: sysctl_tcp_tw_reuse - tcp_output.c: sysctl_tcp_mtu_probing - tcp_output.c: sysctl_tcp_base_mss Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 7676f83aeb774e7a3abe6af06ec92b29488b5b79 Author: James Bottomley Date: Fri Apr 14 09:47:59 2006 -0500 [SCSI] scsi_transport_sas: don't scan a non-existent end device Any end device that can't support any of the scanning protocols shouldn't be scanned, so set its id to -1 to prevent scsi_scan_target() being called for it. Signed-off-by: James Bottomley commit 78a596b4490e17b9990d87b9d468ef5bb70daa10 Author: Adrian Bunk Date: Fri Mar 31 01:38:12 2006 -0800 [PATCH] remove kernel/power/pm.c:pm_unregister() Since the last user is removed in -mm, we can now remove this long deprecated function. Signed-off-by: Adrian Bunk Cc: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 21440d313358043b0ce5e43b00ff3c9b35a8616c Author: David Brownell Date: Sat Apr 1 10:21:52 2006 -0800 [PATCH] dma doc updates This updates the DMA API documentation to address a few issues: - The dma_map_sg() call results are used like pci_map_sg() results: using sg_dma_address() and sg_dma_len(). That's not wholly obvious to folk reading _only_ the "new" DMA-API.txt writeup. - Buffers allocated by dma_alloc_coherent() may not be completely free of coherency concerns ... some CPUs also have write buffers that may need to be flushed. - Cacheline coherence issues are now mentioned as being among issues which affect dma buffers, and complicate/prevent using of static and (especially) stack based buffers with the DMA calls. I don't think many drivers currently need to worry about flushing write buffers, but I did hit it with one SOC using external SDRAM for DMA descriptors: without explicit writebuffer flushing, the on-chip DMA controller accessed descriptors before the CPU completed the writes. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 2d1e1c754d641bb8a32f0ce909dcff32906830ef Author: Jean Delvare Date: Sat Apr 1 16:46:35 2006 +0200 [PATCH] PCI: Add PCI quirk for SMBus on the Asus A6VA notebook The Asus A6VA notebook was reported to need a PCI quirk to unhide the SMBus. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 40d8b89b06cd03c2856eafb94a1f11d5a113a9d4 Author: Grzegorz Janoszka Date: Tue Mar 21 11:57:19 2006 +0100 [PATCH] arch/i386/pci/irq.c - new VIA chipsets (fwd) I use 2.6.15.6 Linux kernel and found some problems. I have about 100 Linux boxes (all with the same (binary the same) kernel). Last time I have upgraded all those boxes from 2.4.32 to 2.6.15.6 (first 2.6.15.1, next .2, .4 and .6) and I have found some problems on VIA based PC's. Probably the reason of this is that some VIA chipsets are unrecognized by IRQ router. In line 586 there is: /* FIXME: add new ones for 8233/5 */ There were only a few of chipsets ID's there, some of my VIA chipsets were not present and kernel used default IRQ router. I have added three entries, so that the code looks like: case PCI_DEVICE_ID_VIA_82C596: case PCI_DEVICE_ID_VIA_82C686: case PCI_DEVICE_ID_VIA_8231: case PCI_DEVICE_ID_VIA_8233A: case PCI_DEVICE_ID_VIA_8235: case PCI_DEVICE_ID_VIA_8237: case PCI_DEVICE_ID_VIA_8237_SATA: /* FIXME: add new ones for 8233/5 */ r->name = "VIA"; r->get = pirq_via_get; r->set = pirq_via_set; return 1; } The kernel goes fine but I haven't testes it for weeks, I'm just a moment after reboot :) One thing is different (better?): Using previus kernel I had: PCI: Via IRQ fixup for 0000:00:0f.1, from 255 to 0 now I have: PCI: Via IRQ fixup for 0000:00:0f.1, from 255 to 11 Maybe it is good idea to add there some more VIA chipsets? The ones I have added seem to be OK. From: Grzegorz Janoszka Acked-by: Martin Mares Signed-off-by: Greg Kroah-Hartman commit e6ad00576f8896b8209ba7ff47b23661614be64c Author: John Rose Date: Thu Mar 23 14:21:14 2006 -0600 [PATCH] PCI: rpaphp: remove init error condition The init function for the RPA PCI Hotplug driver returns -ENODEV in the case that no hotplug-capable slots are detected in the system. This is bad, since hot-capable slots can be added after boot to a purely virtual POWER partition. This is also bad because DLPAR I/O operations depend on the rpaphp module. Change the rpaphp init module to return success for the case of partitions that own no hotplug-capable slots at boot. Such slots can be dynamically added after boot. Signed-off-by: John Rose Signed-off-by: Greg Kroah-Hartman commit e778272dd547d53dedf92240e8b3dbdee44b87b6 Author: Roland Dreier Date: Thu Mar 30 12:55:10 2006 -0800 [PATCH] PCI: fix sparse warning about pci_bus_flags Sparse warns about casting to a __bitwise type. However, it's correct to do when defining the enum for pci_bus_flags_t, so add a __force to quiet the warnings. This will fix getting include/linux/pci.h:100:26: warning: cast to restricted type from sparse all over the build. Signed-off-by: Roland Dreier Signed-off-by: Greg Kroah-Hartman commit 5da594b1c523dffa19ebe7630e1ca285f439bd03 Author: John W. Linville Date: Mon Mar 20 14:33:56 2006 -0500 [PATCH] pci_ids.h: correct naming of 1022:7450 (AMD 8131 Bridge) The naming of the constant defined for PCI ID 1022:7450 does not seem to match the information at http://pciids.sourceforge.net/: http://pci-ids.ucw.cz/iii/?i=1022 There 1022:7450 is listed as "AMD-8131 PCI-X Bridge" while 1022:7451 is listed as "AMD-8131 PCI-X IOAPIC". Yet, the current definition for 0x7450 is PCI_DEVICE_ID_AMD_8131_APIC. It seems to me like that name should map to 0x7451, while a name like PCI_DEVICE_ID_AMD_8131_BRIDGE should map to 0x7450. Signed-off-by: John W. Linville Signed-off-by: Greg Kroah-Hartman commit 41017f0cac925e4a6bcf3359b75e5538112d4216 Author: Shaohua Li Date: Wed Feb 8 17:11:38 2006 +0800 [PATCH] PCI: MSI(X) save/restore for suspend/resume Add MSI(X) configure sapce save/restore in generic PCI helper. Signed-off-by: Shaohua Li Signed-off-by: Greg Kroah-Hartman commit 4f705ae3e94ffaafe8d35f71ff4d5c499bb06814 Author: Bjorn Helgaas Date: Mon Apr 3 17:09:22 2006 -0700 [PATCH] DMI: move dmi_scan.c from arch/i386 to drivers/firmware/ dmi_scan.c is arch-independent and is used by i386, x86_64, and ia64. Currently all three arches compile it from arch/i386, which means that ia64 and x86_64 depend on things in arch/i386 that they wouldn't otherwise care about. This is simply "mv arch/i386/kernel/dmi_scan.c drivers/firmware/" (removing trailing whitespace) and the associated Makefile changes. All three architectures already set CONFIG_DMI in their top-level Kconfig files. Signed-off-by: Bjorn Helgaas Cc: Andi Kleen Cc: "Luck, Tony" Cc: Andrey Panin Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 026694920579590c73b5c56705d543568ed5ad41 Author: Andrew Morton Date: Thu Mar 23 01:38:34 2006 -0800 [PATCH] pm: print name of failed suspend function Print more diagnostic info to help identify the source of power management suspend failures. Example: usb_hcd_pci_suspend(): pci_set_power_state+0x0/0x1af() returns -22 pci_device_suspend(): usb_hcd_pci_suspend+0x0/0x11b() returns -22 suspend_device(): pci_device_suspend+0x0/0x34() returns -22 Work-in-progress. It needs lots more suspend_report_result() calls sprinkled everywhere. Cc: Patrick Mochel Cc: Pavel Machek Cc: Nigel Cunningham Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 372254018eb1b65ee69210d11686bfc65c8d84db Author: Ryan Wilson Date: Wed Mar 22 16:26:25 2006 -0500 [PATCH] driver core: driver_bind attribute returns incorrect value The manual driver <-> device binding attribute in sysfs doesn't return the correct value on failure or success of driver_probe_device. driver_probe_device returns 1 on success (the driver accepted the device) or 0 on probe failure (when the driver didn't accept the device but no real error occured). However, the attribute can't just return 0 or 1, it must return the number of bytes consumed from buf or an error value. Returning 0 indicates to userspace that nothing was written (even though the kernel has tried to do the bind/probe and failed). Returning 1 indicates that only one character was accepted in which case userspace will re-try the write with a partial string. A more correct version of driver_bind would return count (to indicate the entire string was consumed) when driver_probe_device returns 1 and -ENODEV when driver_probe_device returns 0. This patch makes that change. Signed-off-by: Ryan Wilson Signed-off-by: Greg Kroah-Hartman commit a14388904ca67197c9a531dba2358d8131697865 Author: Jayachandran C Date: Mon Apr 3 12:31:53 2006 -0700 [PATCH] driver core: fix unnecessary NULL check in drivers/base/class.c This patch tries to fix an issue in drivers/base/class.c, please review and apply if correct. Patch Description: "parent_class" is checked for NULL already, so removed the unnecessary check. Signed-off-by: Jayachandran C. Signed-off-by: Greg Kroah-Hartman commit d4d7e5dffc4844ef51fe11f497bd774c04413a00 Author: Kay Sievers Date: Fri Mar 24 20:45:35 2006 +0100 [PATCH] BLOCK: delay all uevents until partition table is scanned [BLOCK] delay all uevents until partition table is scanned Here we delay the annoucement of all block device events until the disk's partition table is scanned and all partition devices are already created and sysfs is populated. We have a bunch of old bugs for removable storage handling where we probe successfully for a filesystem on the raw disk, but at the same time the kernel recognizes a partition table and creates partition devices. Currently there is no sane way to tell if partitions will show up or not at the time the disk device is announced to userspace. With the delayed events we can simply skip any probe for a filesystem on the raw disk when we find already present partitions. Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 0f836ca4c122f4ef096110d652a6326fe34e6961 Author: Alan Stern Date: Fri Mar 31 11:52:25 2006 -0500 [PATCH] driver core: safely unbind drivers for devices not on a bus This patch (as667) changes the __device_release_driver() routine to prevent it from crashing when it runs across a device not on any bus. This seems logical, inasmuch as the corresponding bus_add_device() routine has an explicit check allowing it to accept such devices. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 4508a7a734b111b8b7e39986237d84acb1168dd0 Author: NeilBrown Date: Mon Mar 20 17:53:53 2006 +1100 [PATCH] sysfs: Allow sysfs attribute files to be pollable It works like this: Open the file Read all the contents. Call poll requesting POLLERR or POLLPRI (so select/exceptfds works) When poll returns, close the file and go to top of loop. or lseek to start of file and go back to the 'read'. Events are signaled by an object manager calling sysfs_notify(kobj, dir, attr); If the dir is non-NULL, it is used to find a subdirectory which contains the attribute (presumably created by sysfs_create_group). This has a cost of one int per attribute, one wait_queuehead per kobject, one int per open file. The name "sysfs_notify" may be confused with the inotify functionality. Maybe it would be nice to support inotify for sysfs attributes as well? This patch also uses sysfs_notify to allow /sys/block/md*/md/sync_action to be pollable Signed-off-by: Neil Brown Signed-off-by: Greg Kroah-Hartman commit e97b81ddbb8b8c72b85330ac4a454a4513dcba8a Author: Mark M. Hoffman Date: Thu Mar 23 16:50:25 2006 +0100 [PATCH] i2c-parport: Make type parameter mandatory This patch forces the user to specify what type of adapter is present when loading i2c-parport or i2c-parport-light. If none is specified, the driver init simply fails - instead of assuming adapter type 0. This alleviates the sometimes lengthy boot time delays which can be caused by accidentally building one of these into a kernel along with several i2c slave drivers that have lengthy probe routines (e.g. hwmon drivers). Kconfig and documentation updated accordingly. Signed-off-by: Mark M. Hoffman Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 3cb8e1a92ef7588d3acdecf493ddddd0dd71a709 Author: Mark M. Hoffman Date: Thu Mar 23 16:49:34 2006 +0100 [PATCH] i2c-sis96x: Remove an init-time log message This patch removes an init-time kernel log message. http://marc.theaimsgroup.com/?l=linux-kernel&m=114232987208628&w=3 Signed-off-by: Mark M. Hoffman Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit ac987c1f65cedd98d953e14ba219db2f8cc009d4 Author: Jean Delvare Date: Thu Mar 23 16:38:21 2006 +0100 [PATCH] w83792d: Be quiet on misdetection Make the w83792d driver keep quiet when misdetecting a chip. This can happen, and the user doesn't need to know. Also renumber the messages, and add one, for consistency. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 8c750c0bd2fa6f73cd3cd3f1a58d48f94de343b6 Author: Mark A. Greer Date: Fri Mar 31 23:06:03 2006 +0200 [PATCH] i2c: convert m41t00 to use a workqueue The m41t00 i2c/rtc driver currently uses a tasklet to schedule interrupt-level writes to the rtc. This patch causes the driver to use a workqueue instead. Signed-off-by: Mark A. Greer Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 524465df2accf54604cb89c04dbaab0c8aaa5bb4 Author: Jean Delvare Date: Fri Mar 31 23:05:01 2006 +0200 [PATCH] i2c: convert ds1374 to use a workqueue A tasklet is not suitable for what the ds1374 driver does: neither sleeping nor mutex operations are allowed in tasklets, and ds1374_set_tlet may do both. We can use a workqueue instead, where both sleeping and mutex operations are allowed. Signed-off-by: Jean Delvare Acked-by: Randy Vinson Signed-off-by: Greg Kroah-Hartman commit f9814802dfec8feaf51ba873d7eac1a05ee65842 Author: Greg Kroah-Hartman Date: Thu Apr 13 08:09:52 2006 -0700 [PATCH] USB: add driver for funsoft usb serial device Cc: David Clare Signed-off-by: Greg Kroah-Hartman commit 69a4bf7c9525e5c92c0ecda0db0373f30162b28f Author: Paul Fulghum Date: Wed Apr 12 23:41:59 2006 +0200 [PATCH] USB: remove __init from usb_console_setup This prevents an Oops if booted with "console=ttyUSB0" but without a USB-serial dongle, and plugged one in afterwards. Signed-off-by: Greg Kroah-Hartman commit e853bf4af372afdae732c48be04a6b154f2de3d4 Author: Tomasz Kazmierczak Date: Thu Apr 6 22:07:12 2006 +0200 [PATCH] USB: pl2303: added support for OTi's DKU-5 clone cable This patch adds support for a clone of Nokia DKU-5 cable made by Ours Technology Inc for Nokia phones with PopPort (Nokia 3100 and others). The cable uses PL2303 USB-to-serial converter from Prolific Technology Inc. Signed-off-by: Tomasz Kazmierczak Signed-off-by: Greg Kroah-Hartman commit 3799c40189570133f9bb3176be24f0edb0e823c6 Author: Ben Dooks Date: Sun Apr 2 01:45:00 2006 +0100 [PATCH] USB: S3C2410: use clk_enable() to ensure 48MHz to OHCI core Get the "usb-bus" clock and ensure it is enabled when the OHCI core is in use. It seems that a few bootloaders do not enable the UPLL at startup, which stops the OHCI core having a 48MHz bus clock. The improvements to the clock framework for the s3c24xx now allow the USB PLL to be started and stopped when being used. Signed-off-by: Ben Dooks Signed-off-by: Greg Kroah-Hartman commit bfb25849f00d0b8453191ee12125738b5f5c9146 Author: Jeffrey Vandenbroucke sign Date: Tue Mar 28 15:21:36 2006 -0800 [PATCH] hid-core.c: fix "input irq status -32 received" for Silvercrest USB Keyboard When not using this patch, the kernel will continuously return "input irq status -32 received", while making the keyboard unusable. This can be easely resolved using HID_QUIRK_NOGET. Vendor-ID and Device-ID should be applied to hid-core.c, and making an entry to make use of it. Signed-off-by: Jeffrey Vandenbroucke Cc: Alan Stern Cc: Greg KH Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 8e32640672bdcb01e0d83f087f09dd65fcbc3275 Author: Alan Stern Date: Tue Apr 4 14:47:44 2006 -0400 [PATCH] USB: UHCI: don't track suspended ports Someone recently posted a bug report where it turned out that uhci-hcd was disagreeing with the UHCI controller over whether or not a port was suspended: The driver thought it wasn't and the hardware thought it was. This patch (as665) fixes the problem and simplifies the driver by removing the internal state-tracking completely. Now the driver just asks the hardware whether a port is suspended. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 01e89506351b84ac6f39eb70f99c71483768ca60 Author: Michael Downey Date: Mon Apr 3 08:58:07 2006 -0600 [PATCH] USB: keyspan-remote bugfix Signed-off-by: Michael Downey Signed-off-by: Greg Kroah-Hartman commit 48b1be6ac080c3bb5ad3e529d8816953507790ab Author: David Hollis Date: Tue Mar 28 20:15:42 2006 -0500 [PATCH] USB: Rename ax8817x_func() to asix_func() and add utility functions to reduce bloat Now that the ASIX code is supporting more than just the AX88172 devices, make the utility function names more generic: ax8817x_func -> asix_func. Functions that are chip specific now indicate as such: ax88772_func. Additionally, pull some common routines used in initialization and such into simple functions to reduce the verbosity of certain functions such as the bind() routines and to make the error handling consistent across the board. Signed-off-by: David Hollis Signed-off-by: Greg Kroah-Hartman commit 9fc4831cc3e063019079581ff5062f9790d9b0c7 Author: Pete Zaitcev Date: Sun Apr 2 10:21:26 2006 -0800 [PATCH] USB: linux/usb/net2280.h common definitions Move common definitions for NET2280 to , so that I can use them in prism54usb (it is not merged yet, but I plan to do it soon). Signed-off-by: Pete Zaitcev Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit e1394b49ee70bd8686acaf969e4d61b57da1c263 Author: David Brownell Date: Sun Apr 2 10:20:43 2006 -0800 [PATCH] USB: g_ether, highspeed conformance fix Be sure to record the peripheral's ep0 maxpacket size BEFORE using that to initialize the (high speed) device qualifier; that helps a lot with USBCV testing. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 8b5249019352eecd49fb00004d583904e891e7b1 Author: David Brownell Date: Sun Apr 2 10:20:15 2006 -0800 [PATCH] USB: usbtest: scatterlist OUT data pattern testing Previously, scatterlist tests didn't write patterned data. Given how many corner cases are addresed by them, this was a significant gap in Linux-USB test coverage. Moreover, when peripherals checked for correct data patterns, false error reports would drown out the true ones. This adds the pattern on the way OUT from the host, so scatterlist tests can now be used to uncover bugs like host TX or peripheral RX paths failing for back-to-back short packets. It's easy enough to get an error there with at least one of the {DMA,PIO}{RX,TX} code paths, or run into hardware races that need to be defended against. Note this patch doesn't add checking for correct data patterns on the way IN from peripherals, just a FIXME for later. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 68ba61b89c10b3412c7ee05cd649303ba5a588d1 Author: David Brownell Date: Sun Apr 2 20:26:21 2006 -0800 [PATCH] USB: at91 usb driver supend/resume fixes AT91: the two USB drivers (OHCI, UDC) got out of sync with various usbcore and driver model PM updates; fix. Also minor fixes to ohci: whitespace/style, MODULE_ALIAS so coldplug works using /sys/.../modalias, and turn off _both_ clocks during suspend. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 35fcca442aca1a8d927b697e7e15d3f655958bd7 Author: David Brownell Date: Sun Apr 2 10:19:43 2006 -0800 [PATCH] USB: gadget zero poisons OUT buffers Fill OUT buffers with 0x55 before RX, so that controller driver bugs that mangle data can be more readily detected during testing. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 984163338a24198863116ccf3e7762fd1fc3c663 Author: David Brownell Date: Sun Apr 2 10:19:23 2006 -0800 [PATCH] USB: gadgetfs highspeed bugfix This catches up to a change in the Kconfig support for highspeed modes; the change predated 2.6.10, and anyone using gadgetfs on a highspeed device would see the kernel wrongly reject the alternate descriptors. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 51400f1d6ef7ca871b584117527f7c6b12bf182b Author: David Brownell Date: Sun Apr 2 10:19:08 2006 -0800 [PATCH] USB: rndis_host whitespace/comment updates This adds a "avoid proprietary protocols" warnoff, identifying several of the known deficiencies in Microsoft's excuse-for-specification, and fixes some whitespace bugs. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 68dcc688d1f042842a8fb523e4a584b3211181d1 Author: David Brownell Date: Sun Apr 2 10:18:53 2006 -0800 [PATCH] USB: net2280 short rx status fix Some patch broke short-OUT packet handling for net2280, making it report illegal status values. This updates the status code so it's correct. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 42795410c325108d59d0b1e750657197a7374c04 Author: David Brownell Date: Sun Apr 2 10:18:34 2006 -0800 [PATCH] USB: fix gadget_is_musbhdrc() I submitted the wrong version of the patch teaching about the driver for Mentor's Highspeed Dual Role Controller (HDRC), whoops! This uses the right name for that driver. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 89ccbdc91bc5a433fa256c0136fbe181d7c5d474 Author: David Brownell Date: Sun Apr 2 10:18:09 2006 -0800 [PATCH] USB: otg hub support is optional USB OTG devices are not required to support external hubs. This adds a configuration option to disable that support. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 4d45e21867bee51e3bb42e95bc2929231d7c8192 Author: matthieu castet Date: Sun Apr 2 18:45:46 2006 +0200 [PATCH] USB: UEAGLE : memory leack fix this patch fix leak of memory allocated to intr if allocation of sc->urb_int fails. Found by the Coverity checker. Signed-off-by: Duncan Sands Signed-off-by: Matthieu CASTET Signed-off-by: Greg Kroah-Hartman commit 584958c3d2985396bdb6f96ae632971b43f6f984 Author: matthieu castet Date: Sun Apr 2 18:44:48 2006 +0200 [PATCH] USB: UEAGLE : null pointer dereference fix this patch fix potential null pointer dereference. Found by the Coverity checker. Signed-off-by: Duncan Sands Signed-off-by: Matthieu CASTET Signed-off-by: Greg Kroah-Hartman commit 22fcceb546227a4c557d1844c1796c13a5086c9f Author: matthieu castet Date: Sun Apr 2 18:44:20 2006 +0200 [PATCH] USB: UEAGLE : support geode - increase ack timeout for slow system (geode 233MHz where HZ=100) - reset the cmv ack flag when rebooting Signed-off-by: Matthieu CASTET Signed-off-by: Greg Kroah-Hartman commit 2a99b50719d3bff0a090fa8daf56d519c338296c Author: matthieu castet Date: Sun Apr 2 18:43:53 2006 +0200 [PATCH] USB: UEAGLE : cosmetic - improve debug trace in order to make easy to solve user problems. - indent some code - increase version number Signed-off-by: Matthieu CASTET Signed-off-by: Greg Kroah-Hartman commit 87ed0aeba8d59fe5d68df8d10ba469d63b254914 Author: Adrian Bunk Date: Tue Apr 4 09:56:04 2006 +0200 [PATCH] USB: drivers/usb/core/: remove unused exports This patch removes the following unused EXPORT_SYMBOL's: - hub.c: usb_set_device_state - usb.c: usb_alloc_dev - usb.c: usb_disconnect Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 016534cffc5847e2a75b25d10f8c52edec6c8cb7 Author: Petko Manolov Date: Thu Mar 30 09:59:22 2006 +0300 [PATCH] USB: pegasus driver bugfix Attached is a patch that fixes nasty bug, which i am afraid was there for a long time. It was spotted by Andre Draszik . From: Petko Manolov Signed-off-by: Greg Kroah-Hartman commit 999a6a6a2a24cf2e9fafc9b47ee263835f59b4a1 Author: Ping Cheng Date: Wed Mar 29 16:34:16 2006 -0800 [PATCH] USB: add new wacom devices to usb hid-core list This patch adds support for DTF 521, Intuos3 12x12 and 12x19 Signed-off-by: Ping Cheng Acked-by: Vojtech Pavlik Signed-off-by: Greg Kroah-Hartman commit 7d3fe085f9cdd3d3eea0154ea02e2f6b4a8f3974 Author: Ping Cheng Date: Wed Mar 29 16:33:49 2006 -0800 [PATCH] USB: wacom tablet driver update This patch adds support for DTF 521, Intuos3 12x12, and 12x19; fixes minor data report bugs. Signed-off-by: Ping Cheng Acked-by: Vojtech Pavlik Signed-off-by: Greg Kroah-Hartman commit aafe5bd6ec341edfaf3233d272febbb8862a7251 Author: Alan Stern Date: Fri Mar 31 11:46:43 2006 -0500 [PATCH] USB: g_file_storage: use module_param_array_named macro Randy Dunlap pointed out that there now is a module_param_array_named macro available. This patch (as666) updates g_file_storage to make use of it. It also adds a comment listing the specifications documents used in the design of the driver's SCSI operation (at Pat LaVarre's request). Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 5e32b5767fca231e1c84b84e877a26766c27510f Author: Daniel Ritz Date: Sat Apr 1 18:19:28 2006 +0200 [PATCH] usb/input: remove Kconfig entries of old touchscreen drivers in favour of usbtouchscreen Signed-off-by: Daniel Ritz Signed-off-by: Greg Kroah-Hartman commit 1d3e20236d7a5678d44602171bbd153c57c8c4bc Author: Daniel Ritz Date: Wed Mar 29 22:41:07 2006 +0200 [PATCH] USB: usbtouchscreen: unified USB touchscreen driver A new single driver for various USB touchscreen devices. It currently supports: - eGalax TouchKit - PanJit TouchSet - 3M/Microtouch - ITM Touchscreens Support for the diffent devices can be enabled/disable when CONFIG_EMBEDDED is set. Sizes for comparision: text data bss dec hex filename 2942 724 4 3670 e56 touchkitusb.ko 2647 660 0 3307 ceb mtouchusb.ko 2448 628 0 3076 c04 itmtouch.ko 4145 1012 12 5169 1431 usbtouchscreen.ko Signed-off-by: Daniel Ritz Signed-off-by: Greg Kroah-Hartman commit 62a13db346bb6ef80c112d373733d3e873dad90b Author: Folkert van Heusden Date: Tue Mar 28 20:41:26 2006 +0900 [PATCH] USB: add support for Papouch TMU (USB thermometer) This patch adds support for new vendor (papouch) and one of their devices - TMU (a USB thermometer). More information: vendor homepage: http://www.papouch.com/en/ product homepage (Polish): http://www.papouch.com/shop/scripts/_detail.asp?katcislo=0188 This patch is based on the submission from Folkert van Heusden [1]. Then reviseted by Kalin KOZHUHAROV [2] and retested by Folkert. [1] http://article.gmane.org/gmane.linux.kernel/392970 [2] http://article.gmane.org/gmane.linux.kernel/393386 Signed-off-by: Folkert van Heusden Signed-off-by: Kalin KOZHUHAROV Signed-off-by: Greg Kroah-Hartman commit fb9ac9bda9aee5a42d44f4b503bdbd7c414ac201 Author: Adrian Bunk Date: Sat Mar 25 18:03:38 2006 +0100 [PATCH] USB: input/: proper prototypes This patch adds proper prototypes in a header file for some global functions. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 75e2df603de69dba67dd64ab34a2313fdc52a4dd Author: Adrian Bunk Date: Sat Mar 25 18:01:53 2006 +0100 [PATCH] USB: pci-quirks.c: proper prototypes This patch adds a header file with proper prototypes for two functions in drivers/usb/host/pci-quirks.c. Signed-off-by: Adrian Bunk Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 1ce7dd26e0f0e34bb75ec56f7f546151af34fcf9 Author: Luiz Fernando Capitulino Date: Fri Mar 24 17:12:31 2006 -0300 [PATCH] USB serial: Converts port semaphore to mutexes. The usbserial's port semaphore used to synchronize serial_open() and serial_close() are strict mutexes, convert them to the mutex implementation. Signed-off-by: Luiz Capitulino Signed-off-by: Greg Kroah-Hartman commit 14cd5f8e85e90c9dead2393377b9a2c23131e0ce Author: Alan Stern Date: Thu Mar 23 15:07:25 2006 -0500 [PATCH] USB: g_file_storage: add comment about buffer allocation This patch (as664) adds a comment to file_storage.c, noting that the driver is slightly non-portable because it assumes that a buffer allocated for a bulk-in endpoint will also be useable for a bulk-out endpoint. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 70ffe6e14d7c5db84b92841471ce6fd0200010cd Author: Alan Stern Date: Thu Mar 23 15:05:16 2006 -0500 [PATCH] USB: g_file_storage: Set short_not_ok for bulk-out transfers I'm told that some UDC hardware may work better if it knows that receiving a short packet should always cause an error. Accordingly, this patch (as663) sets the short_not_ok flag for bulk-out transfers in g_file_storage. Oddly enough, there are no circumstances where that driver can legally receive a shorter-than-expected bulk-out packet. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 7e1c0b86aca9d42fa4de3fdad17c57bb462fe1e2 Author: Ian Abbott Date: Tue Mar 21 14:55:20 2006 +0000 [PATCH] USB: ftdi_sio: add support for Eclo COM to 1-Wire USB adapter This patch adds support for the Eclo COM to 1-Wire USB adapter to the ftdi_sio driver's device ID table. Details were provided by Martin Grill on the ftdi-sio-usb-devel mailing list and I (Ian Abbott) confirmed it matched the INF file in the Eclo's Windows driver package. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman commit f096e0434c717d7a2aa1614e0be0d1b7c64bec29 Author: Ben Dooks Date: Tue Mar 21 22:54:47 2006 +0000 [PATCH] USB: cleanups for ohci-s3c2410.c Fix compile errors due to functions not being defined static Signed-off-by: Ben Dooks Signed-off-by: Greg Kroah-Hartman commit 950ee4c8f094feecd3add994a2cf4fd335ca509b Author: Guennadi Liakhovetski Date: Sun Mar 19 20:49:14 2006 +0100 [PATCH] USB: net2282 and net2280 software compatibility Below is a patch to gadgets/net2280.[ch] which adds support for the net2282 controller. The original code was kindly provided by PLX Technology, I just merged it with the current net2280 driver in the kernel. Tested on 2.6.15.6, but only with 2282. I did the merge, so that the behaviour for the 2280 is unaffected (except for short delays for extra checks). Signed-off-by: G. Liakhovetski Signed-off-by: Greg Kroah-Hartman Support for net2282 in net2280 driver. commit f043ca43c1ae354346f72dc5826d820d5619f0b2 Author: Samuel Thibault Date: Wed Apr 12 02:21:25 2006 +0200 [PATCH] Enhancing accessibility of lxdialog For easily getting fairly good accessibility, the TTY cursor should always be left at the focus location. This patch fixes the checklist by just having the list refreshed after the dialog box (hence the cursor position remains in the list). Signed-off-by: Samuel Thibault Signed-off-by: Linus Torvalds commit e57a5059846e55d82b86d96dde40e988598601b3 Author: Roland McGrath Date: Wed Apr 12 16:30:20 2006 -0700 [PATCH] fix non-leader exec under ptrace This reverts most of commit 30e0fca6c1d7d26f3f2daa4dd2b12c51dadc778a. It broke the case of non-leader MT exec when ptraced. I think the bug it was intended to fix was already addressed by commit 788e05a67c343fa22f2ae1d3ca264e7f15c25eaf. Signed-off-by: Roland McGrath Acked-by: Oleg Nesterov Signed-off-by: Linus Torvalds commit c06511d12d720b23c8dffff23004f0a888698f20 Author: Eric W. Biederman Date: Fri Apr 14 04:05:55 2006 -0600 [PATCH] de_thread: Don't change our parents and ptrace flags. This is two distinct changes. - Not changing our real parents. - Not changing our ptrace parents. Not changing our real parents is trivially correct because both tasks have the same real parents as they are part of a thread group. Now that we demote the leader to a thread there is no longer any reason to change it's parentage. Not changing our ptrace parents is a user visible change if someone looks hard enough. I don't think user space applications will care or even notice. In the practical and I think common case a debugger will have attached to all of the threads using the same ptrace flags. From my quick skim of strace and gdb that appears to be the case. Which if true means debuggers will not notice a change. Before this point we have already generated a ptrace event in do_exit that reports the leaders pid has died so de_thread is visible to a debugger. Which means attempting to hide this case by copying flags around appears excessive. By not doing anything it avoids all of the weird locking issues between de_thread and ptrace attach, and removes one case from consideration for fixing the ptrace locking. This only addresses Oleg's first concern with ptrace_attach, that of the problems caused by reparenting. Oleg's second concern is essentially a race between ptrace_attach and release_task that causes an oops when we get to force_sig_specific. There is nothing special about de_thread with respect to that race. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 3c0c25b97c7d020ef07f6366cf1d668a8e980c7c Author: Moore, Eric Date: Thu Apr 13 16:08:17 2006 -0600 [SCSI] mptfusion - fix panic in mptsas_slave_configure Driver panic when RAID logical volume was present when driver loaded, or when a RAID logical volume was created on the fly. This issue was created in due to recent scsi_transport_sas change, when sas_read_port_mode_page was added into the mptsas drivers slave_config entry point. This new API expects that all sdev's to be assocated to an rphy, however that is not the case for logical volumes, as they are created using scsi_add_device, instead of sas_rphy_add(). Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit ace1d816a13ff42d4f41989862552032f9c19853 Author: Robin Holt Date: Thu Apr 13 15:34:45 2006 -0700 [IA64] Make show_mem() skip holes in a pgdat This patch modifies ia64's show_mem() to walk the vmem_map page tables and rapidly skip forward across regions where the page tables are missing. This prevents the pfn_valid() check from causing numerous unnecessary page faults. Without this patch on a 512 node 512 cpu system where every node has four memory holes, the show_mem() call takes 1 hour 18 minutes. With this patch, it takes less than 3 seconds. Signed-off-by: Robin Holt Signed-off-by: Tony Luck commit 356a5c1c6fdfb8eed6dbb3979d90c7cc7060017a Author: Keith Owens Date: Tue Apr 11 14:59:41 2006 +1000 [IA64] ia64_wait_for_slaves() incorrectly reports MCA ia64_wait_for_slaves() was changed in 2.6.17-rc1 to report the slave state. It incorrectly assumes that all slaves are for MCA, but ia64_wait_for_slaves() is also called from the INIT monarch handler. The existing message is very misleading, so correct it. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit 20ac94378de59d61dc39f10ed5530485e4ac8c07 Author: Eric W. Biederman Date: Thu Apr 13 04:49:07 2006 -0600 [PATCH] do_SAK: Don't recursively take the tasklist_lock By calling send_sig do_SAK is recursively taking the tasklist_lock, which is silly. In addition I just audited the kernel and this was the only place where tasklist_lock is taken inside of task_lock. So this one line change is a general worthwhile cleanup and it increases our options on how to fix the ptrace_attach races. Signed-off-by: Linus Torvalds commit 1e08dcb39c6b95ec84fc8bad97d5bdce879b76c9 Author: adam radford Date: Tue Apr 11 11:25:09 2006 -0700 [SCSI] 3ware 9000 disable local irqs during kmap_atomic Equivalent of the same patch for the 3w-xxxx driver. Signed-off-by: Adam Radford Signed-off-by: James Bottomley commit e36e0c80137af8f012528938dab2970c26d5ec4c Author: Tejun Heo Date: Tue Apr 11 17:27:53 2006 +0900 [SCSI] SCSI: fix scsi_kill_request() busy count handling scsi_kill_request() completes requests via normal SCSI completion path which decrements busy counts; however, requests which get passed to scsi_kill_request() aren't holding busy counts and scsi_kill_request() don't increment them before invoking completion path resulting in incorrect busy counts. Bump up busy counts before invoking completion path. Signed-off-by: Tejun Heo Signed-off-by: James Bottomley commit aedf349773e5877d716a89368d512b9baa3e8c7b Author: James Smart Date: Mon Apr 10 10:14:05 2006 -0400 [SCSI] FC transport: fixes for workq deadlocks As previously reported via Michael Reed, the FC transport took a hit in 2.6.15 (perhaps a little earlier) when we solved a recursion error. There are 2 deadlocks occurring: - With scan and the delete items sharing the same workq, flushing the workq for the delete code was getting it stalled behind a very long running scan code path. - There's a deadlock where scsi_remove_target() has to sit behind scsi_scan_target() due to contention over the scan_lock(). This patch resolves the 1st deadlock and significantly reduces the odds of the second. So far, we have only replicated the 2nd deadlock on a highly-parallel SMP system. More on the 2nd deadlock in a following email. This patch reworks the transport to: - Only use the scsi host workq for scanning - Use 2 other workq's internally. One for deletions, the other for scheduled deletions. Originally, we tried this with a single workq, but the occassional flushes of the scheduled queues was hitting the second deadlock with a slightly higher frequency. In the future, we'll look at the LLDD's and the transport to see if we can get rid of this extra overhead. - When moving to the other workq's we tightened up some object states and some lock handling. - Properly syncs adds/deletes - minor code cleanups - directly reference fc_host_attrs, rather than through attribute macros - flush the right workq on delayed work cancel failures. Large kudos to Michael Reed who has been working this issue for the last month. Signed-off-by: James Bottomley commit b0d2364887e94c880680f1e17943cd660bcf8979 Author: Hannes Reinecke Date: Fri Apr 7 13:47:03 2006 +0200 [SCSI] aic79xx: target hotplug fixes When a target is added aic79xx tries to be overly clever: it changes the command on the fly to TEST UNIT READY and tries to requeue the original command. Sadly this breaks SCSI compability and of course the midlayer is getting a bit confused by it. So we're just removing that bit of code and let the midlayer deal with it. It's clever enough by now. And the driver code is getting simpler. Signed-off-by: Hannes Reinecke Signed-off-by: James Bottomley commit 441f987ca4cdca9c72aaf32fdd0d0ca9ebf46e94 Author: FUJITA Tomonori Date: Sun Mar 26 10:19:10 2006 +0900 [SCSI] ibmvscsi: remove drivers/scsi/ibmvscsi/srp.h It's no longer needed after the convrsion to use the linux srp.h file. Signed-off-by: FUJITA Tomonori Signed-off-by: James Bottomley commit f41b5cec9bd6fec1b11b74500f5fb9c3e6e808b2 Author: Hannes Reinecke Date: Mon Apr 3 08:19:34 2006 +0200 [SCSI] aic79xx bus reset update As James B. correctly noted, ahd_reset_channel() in ahd_linux_bus_reset() should be protected by ahd_lock(). However, the main reason for not doing so was a deadlock with the interesting polling mechanism to detect the end a bus reset. This patch replaces the polling mechanism with a saner signalling via flags; it also gives us the benefit of detecting any multiple calls to ahd_reset_channel(). Signed-off-by: Hannes Reinecke Signed-off-by: James Bottomley commit 183b73ae7c9e4e19fa95d88e1778481899a65210 Author: Jordi Caubet Date: Wed Apr 12 17:44:27 2006 +0200 [PATCH] spufs: fix context-switch decrementer code We found that when the 'decrementer' is saved, the PPE saves the current time 'csa->suspend_time'. When restoring the 'decrementer', (Step 34) decrementer seems to be adjusted with the number of cycles th= at a spu thread has not been running. In that code it is missing a substract ('-') because 'delta_time' is assigned a not substracted(see bellow). Acked-by: Mark Nutter Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit f48b8296b3152bb45c07c544ce072eaa59dfbc7c Author: Olaf Hering Date: Tue Apr 11 20:42:08 2006 +0200 [PATCH] powerpc32: Set cpu explicitly in kernel compiles Compile the 32bit kernel with -mcpu=powerpc. This reduces the imagesize when a compiler is used that defaults to -mtune=power4. It inserts lots of nops to please the 64bit cpu instruction scheduling. But all these nops are not needed for 32bit kernels. Example with SLES10 gcc 4.1.0 and arch/powerpc/configs/pmac32_defconfig: vmlinux vmlinux.strip vmlinux.gz -O2 4980515 4187528 1846829 -Os 4618801 3827084 1673333 -O2 -mcpu=powerpc 4738851 3945868 1816253 -Os -mcpu=powerpc 4532785 3741068 1664688 Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras commit b055a9e10fd05c7fdd87904a50c1f413aea10ec4 Author: Linas Vepstas Date: Thu Apr 6 15:41:41 2006 -0500 [PATCH] powerpc/pseries: bugfix: balance calls to pci_device_put Repeated calls to eeh_remove_device() can result in multiple (and thus unbalanced) calls to pci_dev_put(). Make sure the pci_device_put() is called only once (since there was only one call to the matching pci_device_get()). Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit 6f806ceed53776ae5e04c8b334dc9daa0932ad1e Author: Michael Ellerman Date: Fri Apr 7 13:56:21 2006 +1000 [PATCH] powerpc: Fix machine detection in prom_init.c In e8222502ee6157e2713da9e0792c21f4ad458d50 the detection of machine types in prom_init broke for some machines. We should be checking /device_type instead of /model. This should make Power3 and Power4 boot again. Haven't been able to test this. We also need to relocate before comparing. Signed-off-by: Michael Ellerman Signed-off-by: Michael Neuling Signed-off-by: Paul Mackerras commit 132058f78a1bc8cce2c5a40245365938d51832fe Author: Vitaly Bordug Date: Mon Apr 3 15:26:32 2006 +0400 [PATCH] ppc32: Fix string comparing in platform_notify_map Fixed odd function behavior when dev->bus_id does not contain '.' - it compared that case 0 characters of the string and hereby reported success and executed callback. Now bus_id's are compared correctly, extra callback triggering eliminated. Signed-off-by: Vitaly Bordug Signed-off-by: Paul Mackerras commit 49c28e4e40be73019481f3c13a5966e0cc8f5a9d Author: Anton Blanchard Date: Sun Apr 2 20:18:32 2006 +1000 [PATCH] powerpc: Avoid __initcall warnings Fix __initcall return in proc_rtas_init and rtas_init. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit ddafddcfc78aab994cf95922befc54d98aaf371b Author: Anton Blanchard Date: Sun Apr 2 19:54:09 2006 +1000 [PATCH] powerpc: Ensure runlatch is off in the idle loop Since external and decrementer interrupts set the runlatch on, we need to ensure its set off again in the idle loop. At the moment we dont turn it off in the inner loop. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 4d7db04a7a69099accd84984a78c64d2178252f1 Author: James Bottomley Date: Fri Mar 31 20:07:45 2006 -0600 [SCSI] add SCSI_UNKNOWN and LUN transfer limit restrictions Original From: Ingo Flaschberger To support the RA4100 array from Compaq. This patch now correctly handles SCSI_UNKNOWN types with regard to BLIST_REPORTLUNS2 (allow it) and cdb[1] LUN inclusion (don't). It also allows a BLIST_MAX_512 flag to restrict the maximum transfer length to 512 blocks (apparently this is an RA4100 problem). Signed-off-by: James Bottomley commit d637c4543fdc86cbef5805c679d24bb665172a7d Author: Matthew Wilcox Date: Wed Mar 29 14:45:18 2006 -0700 [SCSI] sym2: Fix build when spinlock debugging is enabled When spinlock debugging is turned on, a struct completion grows beyond the size allowed for the scsi_pointer. So move the struct completion back onto the stack. The additional memory barriers are to keep us from completing a random piece of kernel stack if the command happens to complete after the error handling has finished. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 80286d478c2b0e07959e79cf34591a4061ff1797 Author: Brian King Date: Wed Mar 29 09:37:49 2006 -0600 [SCSI] ipr: Bump version Bump ipr driver version to 2.1.3 Signed-off-by: Brian King Signed-off-by: James Bottomley commit c65130967186dc53c0c66793cfe640521dcdada2 Author: Brian King Date: Wed Mar 29 09:37:43 2006 -0600 [SCSI] ipr: Reset device cleanup Encapsulate some more of the device reset processing in preparation for SATA support. Signed-off-by: Brian King Signed-off-by: James Bottomley commit fb3ed3cb4b8ba84e5b0899ef752495f213973843 Author: Brian King Date: Wed Mar 29 09:37:37 2006 -0600 [SCSI] ipr: printk macro cleanup/removal Remove some unused printk macros, make some more robust, and convert some to use standard printk macros when possible. Signed-off-by: Brian King Signed-off-by: James Bottomley commit fe964d0a4bfa7c25e75c53d81acbf53099777e9e Author: Brian King Date: Wed Mar 29 09:37:29 2006 -0600 [SCSI] ipr: Simplify status area dumping Simplify the dumping of the command status area by removing some device specific information that has proven to not be worthwhile. Signed-off-by: Brian King Signed-off-by: James Bottomley commit e4fbf44ed0618acce4a06010ed9fa9c02e06e36a Author: Brian King Date: Wed Mar 29 09:37:22 2006 -0600 [SCSI] ipr: Fixup device type check Fixup a check used by the ipr driver to determine if a given device is a SCSI disk. Due to the addition of support for attaching SATA devices, this check needs to be more robust. Signed-off-by: Brian King Signed-off-by: James Bottomley commit 1121b794a384bc317fe36e967b82308b0e2c3852 Author: Brian King Date: Wed Mar 29 09:37:16 2006 -0600 [SCSI] ipr: Disk remove path cleanup Instead of NULLing the resource entry pointer when a disk goes away to prevent any new commands being sent to it, set the adapter resource handle to an invalid value so new ops getting sent to it will fail with a selection timeout response. This patch is needed for future SATA patches. Signed-off-by: Brian King Signed-off-by: James Bottomley commit c06bb7f514567efa39062a781679120e51caa818 Author: Douglas Gilbert Date: Tue Mar 28 14:48:22 2006 -0500 [SCSI] sg: fix leak when dio setup fails when the sg driver is unable to setup direct IO, free that scatter gather list prior to falling back to indirect IO Further to this thread started by Bryan Holty: http://marc.theaimsgroup.com/?l=linux-scsi&m=114306885116728&w=2 Here is the reworked patch again. This time it has been tested with a program provided by Bryan. Signed-off-by: Douglas Gilbert Signed-off-by: James Bottomley commit d6159c17c2c76963a8067d1e1ac3c4c36c05e674 Author: James Bottomley Date: Mon Mar 27 16:45:34 2006 -0600 [SCSI] expose sas internal class for the domain transport necessary to make the domain class use the internal structures Signed-off-by: James Bottomley commit 530bba6fa898318fbf111d91402d49b1c538e3cd Author: KAMEZAWA Hiroyuki Date: Tue Mar 28 14:50:58 2006 -0800 [SCSI] for_each_possible_cpu: scsi for_each_cpu() actually iterates across all possible CPUs. We've had mistakes in the past where people were using for_each_cpu() where they should have been iterating across only online or present CPUs. This is inefficient and possibly buggy. We're renaming for_each_cpu() to for_each_possible_cpu() to avoid this in the future. This patch replaces for_each_cpu with for_each_possible_cpu. Signed-off-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit ac05165179f45d47da6cb54fdedb33e9df87781d Author: Matthew Wilcox Date: Tue Mar 28 11:03:44 2006 -0500 [SCSI] Version 2.2.3 Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 14ac8bf58d8ad46d8cd9e5db025beb9f8da24854 Author: Matthew Wilcox Date: Tue Mar 28 11:03:44 2006 -0500 [SCSI] Enable clustering and large transfers This patch enables clustering and sets max_sectors to 0xffff to enable reading and writing of large blocks with tapes (and large transfers with sg). This change is needed after the sg and st drivers started using chained bios through scsi_request_async() in 2.6.16. Signed-off-by: Kai Makisara Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit b4e93a739ed1352664defd41d5e4f82afa29b928 Author: Matthew Wilcox Date: Tue Mar 28 11:03:44 2006 -0500 [SCSI] Simplify error handling Use wait_for_completion_timeout() instead of using a timer (as Christoph Hellwig did for aic7xxx). That lets me eliminate the sym_eh_wait structure; the struct completion, the old_done pointer and the to_do flag can be folded into the sym_ucmd (which overrides the scsi_pointer in scsi_cmnd). The sym_eh_done() function becomes much simpler as the timeout handling is done in sym_eh_handler() directly. The host_lock can be unlocked earlier, and I cache the host in a local variable to make accesses to it quicker. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit c2349df918cdfd47dfe6afaaeed9f504b83255d0 Author: Matthew Wilcox Date: Tue Mar 28 11:03:44 2006 -0500 [SCSI] Allow nvram settings to determine bus mode The PDC code can set the bus mode, but we were ignoring that setting. Also move the code that determines bus mode into its own function. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 92d578b94c3c6263777687d8f2653c2a63d922bf Author: Matthew Wilcox Date: Tue Mar 28 11:03:44 2006 -0500 [SCSI] Use SPI messages where possible Now sym2 is using spi_print_msg, we don't need to have our own messages for IGNORE WIDE RESIDUE and MODIFY DATA POINTER, so provide the option of passing NULL for the label. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 3bea15a76eecc03729bf74d6ab2a1f849c08423e Author: Matthew Wilcox Date: Tue Mar 28 11:03:44 2006 -0500 [SCSI] Disable sym2 driver queueing Undef SYM_OPT_HANDLE_DEVICE_QUEUEING. Call sym_put_start_queue instead of sym_start_next_ccbs. Turn asserts into checks that we can send the command to the adapter, and return busy from queuecommand if we can't. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 76789f01768bb4cef706f4c9e7e2f3f4eb8c1431 Author: Matthew Wilcox Date: Tue Mar 28 11:03:44 2006 -0500 [SCSI] Mark div_10M array const Patch below is one out of a large series to mark kernel data const when possible, goal is to use .rodata and avoid false sharing Signed-off-by: Arjan van de Ven Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit ab19d52bec6c1b266228417b58ae6f36f3ea097c Author: Matthew Wilcox Date: Tue Mar 28 11:03:44 2006 -0500 [SCSI] Simplify error handling a bit - to_do was never set to SYM_EH_DO_COMPLETE, so remove that code - move the spinlocks inside the common error handler code path Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit b6d105d7ee188040a6e5eb86101e7476d94b3076 Author: Matthew Wilcox Date: Tue Mar 28 11:03:44 2006 -0500 [SCSI] Use pcibios_resource_to_bus() We had our own code (pci_get_base_address()) to get the bus address of a BAR. We can get this using pcibios_resource_to_bus() instead. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 1f61d82490a26dbcde903b33e24f6d11b758b64c Author: Matthew Wilcox Date: Tue Mar 28 11:03:43 2006 -0500 [SCSI] Change Kconfig option from IOMAPPED to MMIO Most of the Kconfig options for switching between IO Port and MMIO operations use the opposite sense from sym2. Really, this option should be set at a chipset level rather than per-driver. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 92aab6464be735139f9ea38fd039c3b84c722630 Author: Mike Anderson Date: Mon Mar 27 09:37:28 2006 -0800 [SCSI] sas transport: ref count update Fix puts so that release functions will be called. Signed-off-by: Mike Anderson Signed-off-by: James Bottomley commit 9a72f976d29091e4f4dfa08ed404ef84a56b0d47 Author: Mark Haverkamp Date: Mon Mar 27 09:44:37 2006 -0800 [SCSI] aacraid: Driver version update Received from Mark Salyzyn Fix module param Update driver version. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 3d2f98a66571d1aa8d66aab1a97bad6ffff61b24 Author: Mark Haverkamp Date: Mon Mar 27 09:44:33 2006 -0800 [SCSI] aacraid: Fix parenthesis placement error Received from Mark Salyzyn On 64 bit machines, when a 32 bit application tries to acquire the AIF, they will always get and EFAULT error response from the driver. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit d1ad94ad773c34a5a3491f9dcc0a97e264f971f6 Author: Mark Haverkamp Date: Mon Mar 27 09:44:29 2006 -0800 [SCSI] aacraid: Show max channel and max id is sysfs Received from Mark Salyzyn Add max_channel and max_id sysfs parameters. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit dc4adbf41385486b0c73e7382ce73f0e8b873243 Author: Mark Haverkamp Date: Mon Mar 27 09:44:26 2006 -0800 [SCSI] aacraid: Re-start helper thread if it dies Received from Mark Salyzyn Since the helper thread for the driver can be killed unceremoniously by an application, we detect the loss of the helper and restart it. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 1241f3593a8857fab4259b6aa9d17f26e7de3a86 Author: Mark Haverkamp Date: Mon Mar 27 09:44:23 2006 -0800 [SCSI] aacraid: General driver cleanup Received from Mark Salyzyn Remove superfluous code, optimize code, harden code, cast code, correct some text, use msleep instead of schedule_timeout_interruptible. No bugs. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 53926274f24e5c852dbe8f89dea16b7822549472 Author: Mark Haverkamp Date: Mon Mar 27 09:44:19 2006 -0800 [SCSI] aacraid: Fix extra unregister_chrdev Received from Mark Salyzyn If there are no aacraid controllers, we do not create the raid controller chrdev, thus when the driver is unloaded it performs a superfluous deregistration. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 95433badf0ff8dbc2caf14bc69c984841539715f Author: Mark Haverkamp Date: Mon Mar 27 09:44:15 2006 -0800 [SCSI] aacraid: Fix error in max_channel field Received from Mark Salyzyn The max_channel field is set one too large. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit e61b17fd3ae270c0ca83d12c8276b73e50466db9 Author: Mark Haverkamp Date: Mon Mar 27 09:44:11 2006 -0800 [SCSI] aacraid: Error path cleanup Received from Mark Salyzyn Some of the error return paths during initialization resulted in a zero report to caller Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 31876f328f22435c21cfc27f0c871a4a4b22f9db Author: Mark Haverkamp Date: Mon Mar 27 09:43:55 2006 -0800 [SCSI] aacraid: Add timeout for events Received from Mark Salyzyn Plug and play actions resulting from event sequences shall time out if they take longer than 30 seconds to complete. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 77d644d4d70c9ad5df51792575f43a950525c9aa Author: Mark Haverkamp Date: Mon Mar 27 09:43:40 2006 -0800 [SCSI] aacraid: Track command ownership in driver Received from Mark Salyzyn The loss of the ownership flags, despite their flaws, in the scsi command were sorely missed and are reinstated more accurately in the aacraid driver to track commands and permit us to properly handle error recovery actions. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit e5718774f12234c7c9be8944001cfd109ba955e1 Author: Mark Haverkamp Date: Mon Mar 27 09:43:25 2006 -0800 [SCSI] aacraid: Use scmd_ functions Received from Mark Salyzyn Clean up the remaining scsi id access methods, drop ID_LUN_TO_CONTAINER macro. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit ef265673434680f2307ceafae4a2badc657e94cc Author: FUJITA Tomonori Date: Sun Mar 26 03:57:14 2006 +0900 [SCSI] ibmvscsi: convert the ibmvscsi driver to use include/scsi/srp.h Signed-off-by: FUJITA Tomonori Signed-off-by: James Bottomley commit 9b833e428ad24dc7cec2c0c7e6898caa91449c95 Author: Dave C Boutcher Date: Thu Mar 23 13:47:07 2006 -0600 [SCSI] ibmvscsi: prevent scsi commands being sent in invalid state There is a window where we can be re-enabling an adapter, but still allow SCSI commands to be sent to the target. This fix sets our window (request_limit) to -1 as soon as we know the adapter is being reenabled, and closes a very teeny tiny window where we could set the window back to 1 before we grab a lock. Signed-off-by: Dave Boutcher Signed-off-by: James Bottomley commit 18c49b8cd69c360735df2cc6eeeb2593c01a81e8 Author: Mike Christie Date: Wed Mar 22 16:04:38 2006 -0600 [SCSI] fix sg leak when scsi_execute_async fails Doug found a bug where if scsi_execute_async fails, we are leaking sg resources. scsi_do_req never failed so we did not have to handle that case before. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 21b2f0c803adaf00fce1b606c50b49ae8b106773 Author: Christoph Hellwig Date: Wed Mar 22 17:52:04 2006 +0100 [SCSI] unify SCSI_IOCTL_SEND_COMMAND implementations We currently have two implementations of this obsolete ioctl, one in the block layer and one in the scsi code. Both of them have drawbacks. This patch kills the scsi layer version after updating the block version with the missing bits: - argument checking - use scatterlist I/O - set number of retries based on the submitted command This is the last user of non-S/G I/O except for the gdth driver, so getting this in ASAP and through the scsi tree would be nie to kill the non-S/G I/O path. Jens, what do you think about adding a check for non-S/G I/O in the midlayer? Thanks to Or Gerlitz for testing this patch. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 765fcab23d0a79ed7aab8da79766f5873d936f1b Author: James Bottomley Date: Tue Mar 28 12:04:40 2006 -0600 [SCSI] remove qlogicfc All participants agree that qla2xxx can now successfully replace this. Signed-off-by: James Bottomley commit f6835543440c85f20c86c5b006e8404fe6a78109 Author: Ben Dooks Date: Thu Apr 13 09:57:15 2006 +0100 [ARM] 3475/1: S3C2410: fix spelling mistake in SMDK partition table Patch from Ben Dooks Fix bad spelling of partition Signed-off-by: Ben Dooks Signed-off-by: Russell King commit c91e468a48a2afd2a2b0c2e29a35d6b8c51ea682 Author: Andreas Schwab Date: Tue Mar 28 18:10:38 2006 +0200 [PATCH] Use pci_set_consistent_dma_mask in ixgb driver The ixgb driver is using pci_alloc_consistent, thus is should also use pci_set_consistent_dma_mask. This allows the driver to work on SGI systems. In case of an error during probing it should also disable the device again. Signed-off-by: Andreas Schwab Signed-off-by: Jeff Garzik commit 43f2f10444c008296cc8de68a72fd87b33b50452 Author: Stephen Hemminger Date: Wed Apr 5 17:47:15 2006 -0700 [PATCH] sky2: bad memory reference on dual port cards Sky2 driver will oops referencing bad memory if used on a dual port card. The problem is accessing past end of MIB counter space. Applies for both 2.6.17 and 2.6.16 (with fuzz) Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 94843566d7119e049a72618a3c939d5c2be022c7 Author: Dale Farnsworth Date: Tue Apr 11 18:24:26 2006 -0700 [PATCH] mv643xx_eth: Fix tx_timeout to only conditionally wake tx queue After resetting the hardware on a tx_timeout, call netif_wake_queue() only if we have free tx descriptors. Also, attempt to recover if mv643xx_eth_start_xmit() is called when there are fewer free tx descriptors than expected. The BUG_ON() call we are replacing was hit on a tx_timeout that called netif_wake_queue(), indirectly via netif_device_attach(), even though we did not have enough free tx descriptors. Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 5c5374087707d7848cb13f15e7c175daf346301c Author: Brent Cook Date: Tue Apr 11 18:23:15 2006 -0700 [PATCH] mv643xx_eth: Always free completed tx descs on tx interrupt Fix the tx interrupt handler to free completed tx descriptors even when NAPI is enabled. Otherwise, the tx queue would fill up resulting in poor performance and "NETDEV WATCHDOG: : transmit timed out" messages. Signed-off-by: Brent Cook Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit e19360f2945f54eb44ae170ec9c33910d29834a2 Author: Randy Dunlap Date: Mon Apr 10 23:22:06 2006 -0700 [PATCH] net drivers: fix section attributes for gcc If CONFIG_HOTPLUG=n, gcc doesn't like some __initdata to be const (rodata) and other __initdata not const, so make the non-const __initdata const. gcc errors: drivers/net/bnx2.c:66: error: version causes a section type conflict drivers/net/starfire.c:338: error: version causes a section type conflict drivers/net/typhoon.c:137: error: version causes a section type conflict drivers/net/natsemi.c:241: error: version causes a section type conflict Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 037998d1e979e88a140ef32c5d28730f6ca8a96f Author: Adrian Bunk Date: Mon Apr 10 23:22:07 2006 -0700 [PATCH] remove drivers/net/hydra.h Remove drivers/net/hydra.h which is both unused and covered by a 4 clause BSD licence (not by the UCB). Signed-off-by: Adrian Bunk Acked-By: Geert Uytterhoeven Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 0761be4f5f9efb5f72a5f9771f2ed5845a974c46 Author: Adrian Bunk Date: Mon Apr 10 23:22:21 2006 -0700 [PATCH] drivers/net/via-rhine.c: make a function static Signed-off-by: Adrian Bunk Signed-off-by: Roger Luethi Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit d220c37e0a3c9a47ae00e87e044d963b3ea040bc Author: Dan Aloni Date: Mon Apr 10 23:20:22 2006 -0700 [PATCH] sata_mv: properly print HC registers Currently it crashes when trying to dump the registers. This is an obvious one-liner fix I suppose. Signed-off-by: Dan Aloni Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 10badc215493a435e2dbdc691386f2650a1778de Author: Jeff Garzik Date: Wed Apr 12 18:04:32 2006 -0400 [netdrvr b44] trim trailing whitespace commit 8056bfafb8a845f3035e7aae5ffe405df118bc12 Author: Gary Zambrano Date: Mon Apr 10 12:05:40 2006 -0700 [PATCH] b44: increase version to 1.00 Signed-off-by: Jeff Garzik commit 2b474cf53870abf1bbad631c3368b9efc9b5ba9d Author: Gary Zambrano Date: Mon Apr 10 12:02:21 2006 -0700 [PATCH] b44: disable default tx pause Disable default tx pause frame support. The b44 controller has a bug that generates excessive tx pause frames. Signed-off-by: Gary Zambrano Signed-off-by: Jeff Garzik commit 4be5de25259de21894df5e2fecc30da8252dee8c Author: Roger Luethi Date: Tue Apr 4 20:49:16 2006 +0200 [PATCH] via-rhine: execute bounce buffers code on Rhine-I only Patch suggested by Yang Wu (pin xue ). Signed-off-by: Roger Luethi Signed-off-by: Jeff Garzik commit ff768cd7139ab368bc2b97e7bd6fa592f20e1950 Author: Komuro Date: Sun Apr 9 11:21:10 2006 +0900 [PATCH] network: axnet_cs.c: add missing 'PRIV' in ei_rx_overrun Signed-off-by: komurojun-mbn@nifty.com Signed-off-by: Jeff Garzik commit 5636f72794b42d31b2660064ef2c17f90816b3b1 Author: Stephen Hemminger Date: Tue Apr 11 10:28:21 2006 -0700 [PATCH] dlink pci cards using wrong driver This patch fixes the problem of some Dlink cards picking the wrong driver. It looks like these cards use Yukon 1 chipset, not Yukon 2. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 59fef3b1e96217c6e736372ff8cc95cbcca1b6aa Author: Jack Morgenstein Date: Tue Apr 11 18:16:27 2006 +0300 IB/mthca: Fix max_srq_sge returned by ib_query_device for Tavor devices The driver allocates SRQ WQEs size with a power of 2 size both for Tavor and for memfree. For Tavor, however, the hardware only requires the WQE size to be a multiple of 16, not a power of 2, and the max number of scatter-gather allowed is reported accordingly by the firmware (and this is the value currently returned by ib_query_device() and ibv_query_device()). If the max number of scatter/gather entries reported by the FW is used when creating an SRQ, the creation will fail for Tavor, since the required WQE size will be increased to the next power of 2, which turns out to be larger than the device permitted max WQE size (which is not a power of 2). This patch reduces the reported SRQ max wqe size so that it can be used successfully in creating an SRQ on Tavor HCAs. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit dcccdd938ef0c5d96145957217b814b14bd46cdc Author: Rene Herman Date: Tue Apr 11 14:09:37 2006 +0200 [ALSA] unregister platform device again if probe was unsuccessful Unregister the platform device again if the probe was unsuccessful. This restores the behaviour of not loading the driver on probe() failure. Signed-off-by: Rene Herman Signed-off-by: Takashi Iwai commit d0ac642d76c79c5cc673c4cdfe43e926379784e1 Author: Rene Herman Date: Tue Apr 11 14:08:33 2006 +0200 [ALSA] continue on IS_ERR from platform device registration Continue with the next one on error from device registration. This would seem the correct thing to do, even if it's not the probe() error that we're getting. Signed-off-by: Rene Herman Signed-off-by: Takashi Iwai commit 12831c15f35dcc9f55fa63d50fd4892c7c6a0a1c Author: Adrian Bunk Date: Tue Apr 11 11:12:46 2006 +0200 [ALSA] sound/core/pcm.c: make snd_pcm_format_name() static Modules: PCM Midlevel This patch makes the needlessly global snd_pcm_format_name() static. Signed-off-by: Adrian Bunk Signed-off-by: Takashi Iwai commit 73864fc634932bc827f852557f637fade0227381 Author: Takashi Iwai Date: Mon Apr 10 19:41:16 2006 +0200 [ALSA] ac97 - Add entry for VIA VT1618 codec Modules: AC97 Codec Added the missing entry for VIA VT1618 codec. No particular patch is needed, though. Signed-off-by: Takashi Iwai commit e09222831336a6ae53ea09076d113a58931950cf Author: Takashi Iwai Date: Mon Apr 10 19:09:01 2006 +0200 [ALSA] hda-codec - Add support of ASUS U5A with AD1986A codec Modules: HDA Codec driver Add the model entry to support of ASUS U5A with AD1986A codec. Signed-off-by: Takashi Iwai commit 2462321bfe59b9c22ca1ec4ba8665a1aeac6bab5 Author: Eric Sesterhenn Date: Mon Apr 10 14:42:00 2006 +0200 [ALSA] Overrun in sound/pci/au88x0/au88x0_pcm.c Modules: au88x0 driver since idx is used as an index for vortex_pcm_prettyname[VORTEX_PCM_LAST], it should not be equal to VORTEX_PCM_LAST. This fixes coverity bug id #572 Signed-off-by: Eric Sesterhenn Signed-off-by: Takashi Iwai commit 99e80e4d0c7755d688e9db205016a0608fa989b4 Author: Dale Sedivec Date: Mon Apr 10 11:34:44 2006 +0200 [ALSA] au88x0 - clean up __devinit/__devexit Modules: au88x0 driver Removed all use of __devinit/__devexit and init.h from headers. Any attributes given in the prototype but not in the function definition have been moved to the definition. An exception is vortex_eq_free: I removed the __devexit attribute because vortex_eq_free is called from vortex_core_shutdown, and vortex_core_shutdown may be called from __devinit snd_vortex_create. Compile tested with allyesconfig and allmodconfig. Signed-off-by: Dale Sedivec Signed-off-by: Takashi Iwai commit a29b6c8895edbd9921837b592bcd125cee64fc84 Author: Ashley Clark Date: Mon Apr 10 11:31:03 2006 +0200 [ALSA] hda-codec - Adds HDA support for Intel D94