commit 5367f2d67c7d0bf1faae90e6e7b4e2ac3c9b5e0f tree cb2d487774571ec608bcf4241ec70fc19a0b3ad6 parent 64ca9004b819ab87648dbfc78f3ef49ee491343e parent 4f8448dfe8d3804fadad90c9b77494238b4a4eae author Linus Torvalds Sun, 08 Jan 2006 20:18:44 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:18:44 -0800 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband commit 64ca9004b819ab87648dbfc78f3ef49ee491343e tree 9b5daef5280800a0006343a17f63072658d91a1d parent 708e9a794cf8822b760edaccd9053edb07c34d19 author Matt Mackall Sun, 08 Jan 2006 01:05:26 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:11 -0800 [PATCH] Make vm86 support optional This adds an option to remove vm86 support under CONFIG_EMBEDDED. Saves about 5k. This version eliminates most of the #ifdefs of the previous version and instead uses function stubs in vm86.h. Also, release_vm86_irqs is moved from asm-i386/irq.h to a more appropriate home in vm86.h so that the stubs can live together. $ size vmlinux-baseline vmlinux-novm86 text data bss dec hex filename 2920821 523232 190652 3634705 377611 vmlinux-baseline 2916268 523100 190492 3629860 376324 vmlinux-novm86 Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 708e9a794cf8822b760edaccd9053edb07c34d19 tree ae5f0f9d69c082db751554b3f5717eee60d6205c parent e585e47031751f4e393e10ffd922885508b958dd author Matt Mackall Sun, 08 Jan 2006 01:05:25 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:11 -0800 [PATCH] tiny: Configure ELF core dump support configurable support for ELF core dumps text data bss dec hex filename 3330172 529036 190556 4049764 3dcb64 vmlinux-baseline 3325552 528912 190556 4045020 3db8dc vmlinux-no-elf add/remove: 0/8 grow/shrink: 0/0 up/down: 0/-4424 (-4424) function old new delta fill_note 32 - -32 maydump 58 - -58 dump_seek 67 - -67 writenote 180 - -180 elf_dump_thread_status 274 - -274 fill_psinfo 308 - -308 fill_prstatus 466 - -466 elf_core_dump 3039 - -3039 Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e585e47031751f4e393e10ffd922885508b958dd tree 08a641dab000aacb25c6b7331c32271e4109535f parent 22c4e3084eb8b88288a622a57d8b35c450a439f2 author Matt Mackall Sun, 08 Jan 2006 01:05:24 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:11 -0800 [PATCH] tiny: Make *[ug]id16 support optional Configurable 16-bit UID and friends support This allows turning off the legacy 16 bit UID interfaces on embedded platforms. text data bss dec hex filename 3330172 529036 190556 4049764 3dcb64 vmlinux-baseline 3328268 529040 190556 4047864 3dc3f8 vmlinux From: Adrian Bunk UID16 was accidentially disabled for !EMBEDDED. Signed-off-by: Matt Mackall Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22c4e3084eb8b88288a622a57d8b35c450a439f2 tree 5d763dcb1f451aa2a89c779c5a68fb6882dadfb6 parent 18e92b12e83bef077a31ba6871f1aec3621b69e3 author Matt Mackall Sun, 08 Jan 2006 01:05:24 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:11 -0800 [PATCH] tiny: Make x86 doublefault handling optional This adds configurable support for doublefault reporting on x86 add/remove: 0/3 grow/shrink: 0/1 up/down: 0/-13048 (-13048) function old new delta cpu_init 846 786 -60 doublefault_fn 188 - -188 doublefault_stack 4096 - -4096 doublefault_tss 8704 - -8704 Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 18e92b12e83bef077a31ba6871f1aec3621b69e3 tree 598f4eee47f2a3af7a7df040a23251bdede08ba9 parent 33443c42f4ffa5ca23b3323234bcb1a78e85d9db author Matt Mackall Sun, 08 Jan 2006 01:05:22 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:10 -0800 [PATCH] tiny: Trim non-IPX builds trivial: drop unused 802.3 code if we compile without IPX (originally from http://wohnheim.fh-wedel.de/~joern/software/kernel/je/25/) Signed-off-by: Matt Mackall Cc: "David S. Miller" Cc: Arnaldo Carvalho de Melo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 33443c42f4ffa5ca23b3323234bcb1a78e85d9db tree b524ba077d49afb7633088c66a2ef77fede0ccd7 parent 5d2bea4582d20cb24085152acaa29b95c05cdcf8 author Matt Mackall Sun, 08 Jan 2006 01:05:22 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:10 -0800 [PATCH] tiny: Uninline some fslocks.c functions uninline some file locking functions add/remove: 3/0 grow/shrink: 0/15 up/down: 256/-1525 (-1269) function old new delta locks_free_lock - 134 +134 posix_same_owner - 69 +69 __locks_delete_block - 53 +53 posix_locks_conflict 126 108 -18 locks_remove_posix 266 237 -29 locks_wake_up_blocks 121 87 -34 locks_block_on_timeout 83 47 -36 locks_insert_block 157 120 -37 locks_delete_block 62 23 -39 posix_unblock_lock 104 59 -45 posix_locks_deadlock 162 100 -62 locks_delete_lock 228 119 -109 sys_flock 338 217 -121 __break_lease 600 474 -126 lease_init 252 122 -130 fcntl_setlk64 793 649 -144 fcntl_setlk 793 649 -144 __posix_lock_file 1477 1026 -451 Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5d2bea4582d20cb24085152acaa29b95c05cdcf8 tree 0ac4e47c8e97ecd3d76507c57ed4346c04a4dba1 parent b01ec0ef63e95570e2463b26333d9c9c854cb941 author Matt Mackall Sun, 08 Jan 2006 01:05:21 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:10 -0800 [PATCH] tiny: Uninline some inode.c functions uninline a couple inode.c functions add/remove: 2/0 grow/shrink: 0/5 up/down: 256/-428 (-172) function old new delta ifind - 136 +136 ifind_fast - 120 +120 ilookup5_nowait 131 80 -51 ilookup 158 71 -87 ilookup5 171 80 -91 iget_locked 190 95 -95 iget5_locked 240 136 -104 Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b01ec0ef63e95570e2463b26333d9c9c854cb941 tree c895cfbeca5443d64075864e4fedbe759b27d0d2 parent d960600df3ce3588571e2c1adf1f5f6d8ca9eb5a author Matt Mackall Sun, 08 Jan 2006 01:05:20 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:10 -0800 [PATCH] tiny: Uninline some open.c functions uninline some open.c functions add/remove: 3/0 grow/shrink: 0/6 up/down: 679/-1166 (-487) function old new delta do_sys_truncate - 336 +336 do_sys_ftruncate - 317 +317 __put_unused_fd - 26 +26 put_unused_fd 57 49 -8 sys_close 150 119 -31 sys_ftruncate64 260 26 -234 sys_ftruncate 272 24 -248 sys_truncate 339 25 -314 sys_truncate64 336 5 -331 Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d960600df3ce3588571e2c1adf1f5f6d8ca9eb5a tree 2d920b912b33f16b5cf8099331fcf421c83ae64b parent e701e85b9f12af4dbe73b4299b541686ef6b1aa5 author Matt Mackall Sun, 08 Jan 2006 01:05:19 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:10 -0800 [PATCH] tiny: Add bloat-o-meter to scripts This is a rewrite of Andi Kleen's bloat-o-meter with sorting and reporting of gainers/decliners. Sample output: add/remove: 0/8 grow/shrink: 2/0 up/down: 88/-4424 (-4336) function old new delta __copy_to_user_ll 59 103 +44 __copy_from_user_ll 59 103 +44 fill_note 32 - -32 maydump 58 - -58 dump_seek 67 - -67 writenote 180 - -180 elf_dump_thread_status 274 - -274 fill_psinfo 308 - -308 fill_prstatus 466 - -466 elf_core_dump 3039 - -3039 The summary line says: no functions added, 8 removed two functions grew, none shrunk we gained 88 bytes and lost 4424 (or -4336 net) This work was sponsored in part by CE Linux Forum Signed-off-by: Matt Mackall Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e701e85b9f12af4dbe73b4299b541686ef6b1aa5 tree 286ca3736e2138c3ca157b22db32b09628c72a1a parent 564de74a7e2778e1d11b2d2e50ee8dab1cf1456a author Jean Delvare Sun, 08 Jan 2006 01:05:18 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:10 -0800 [PATCH] vr41xx: section tags fix module_init functions must be tagged __init rather than __devinit; likewise, module_exit functions must be tagged __exit rather than __devexit. Signed-off-by: Jean Delvare Cc: Yoichi Yuasa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 564de74a7e2778e1d11b2d2e50ee8dab1cf1456a tree 25b1ba320ac19aeb4bafecab2abc25c05d4a085d parent 7019e7e41e34388cb87a5f0e3d05e92992418f34 author Christoph Hellwig Sun, 08 Jan 2006 01:05:17 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:09 -0800 [PATCH] cciss: avoid defining useless MAJOR_NR macro This sneaked in with one of the updates. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7019e7e41e34388cb87a5f0e3d05e92992418f34 tree d960191917c2ea071fd428a07efb86e0418a0706 parent 6e21bd9a30f1d7eab26ef8b9259376e5322d89e5 author Adrian Bunk Sun, 08 Jan 2006 01:05:16 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:09 -0800 [PATCH] drivers/isdn/hardware/eicon/os_4bri.c: correct the xdiLoadFile() signature It's not good if caller and callee disagree regarding the type of the arguments. In this case, this could cause problems on 64bit architectures. Signed-off-by: Adrian Bunk Signed-off-by: Armin Schindler Cc: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e21bd9a30f1d7eab26ef8b9259376e5322d89e5 tree dd63e6e19965f8ef72d452694407e820ecb0e8c1 parent 0f59cc4a35dbbc45c972daad0f1b063380cd9ea4 author Adrian Bunk Sun, 08 Jan 2006 01:05:15 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:09 -0800 [PATCH] drivers/isdn/: add missing #includes Every file should #include the headers containing the prototypes for its global functions. Signed-off-by: Adrian Bunk Signed-off-by: Armin Schindler Cc: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0f59cc4a35dbbc45c972daad0f1b063380cd9ea4 tree 03cb2e69303e2ea3cca0f7eca6c7eb6c5a352e40 parent 86f91d36c2aac910b7cf7e5d047019b10a9a627e author Oleg Nesterov Sun, 08 Jan 2006 01:05:15 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:09 -0800 [PATCH] simplify k_getrusage() Factor out common code for different RUSAGE_xxx cases. Don't take ->sighand->siglock in RUSAGE_SELF case, suggested by Ravikiran G Thirumalai . Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 86f91d36c2aac910b7cf7e5d047019b10a9a627e tree cc6d5b8d0277e8057f7b337dc09bf21553fbd705 parent 96e9dd14a3b2aab4098503a5999ee2ef42d82da1 author Andrew Morton Sun, 08 Jan 2006 01:05:14 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:09 -0800 [PATCH] i810_audio: request_irq() fix Request the IRQ after having set everything up. Otherwise a shared interrupt at the right time can kill the machine. Found this with David Woodhouse 's debug-shared-irqs.patch. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96e9dd14a3b2aab4098503a5999ee2ef42d82da1 tree 58071e25c9d72b10e12f06788ae9798abb332c22 parent f756d5e256059018d753f0ba79980ebeb87a1bc0 author Ben Collins Sun, 08 Jan 2006 01:05:13 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:09 -0800 [PATCH] kconf: Check for eof from input stream. Signed-off-by: Ben Collins Cc: Sam Ravnborg Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f756d5e256059018d753f0ba79980ebeb87a1bc0 tree e96ae0117aaf6dea19dad88079c3229f679c1948 parent 945f390f02ce44a13aefc6d9449c99f33c9286a5 author Nathan Lynch Sun, 08 Jan 2006 01:05:12 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:08 -0800 [PATCH] fix workqueue oops during cpu offline Use first_cpu(cpu_possible_map) for the single-thread workqueue case. We used to hardcode 0, but that broke on systems where !cpu_possible(0) when workqueue_struct->cpu_workqueue_struct was changed from a static array to alloc_percpu. Commit id bce61dd49d6ba7799be2de17c772e4c701558f14 ("Fix hardcoded cpu=0 in workqueue for per_cpu_ptr() calls") fixed that for Ben's funky sparc64 system, but it regressed my Power5. Offlining cpu 0 oopses upon the next call to queue_work for a single-thread workqueue, because now we try to manipulate per_cpu_ptr(wq->cpu_wq, 1), which is uninitialized. So we need to establish an unchanging "slot" for single-thread workqueues which will have a valid percpu allocation. Since alloc_percpu keys off of cpu_possible_map, which must not change after initialization, make this slot == first_cpu(cpu_possible_map). Signed-off-by: Nathan Lynch Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 945f390f02ce44a13aefc6d9449c99f33c9286a5 tree be5685ed17677b4c076b69e7d4d77eae4cbe718c parent ef9ceab28203690a42d7d3915ccf6e208f0762bc author Tobias Klauser Sun, 08 Jan 2006 01:05:11 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:08 -0800 [PATCH] drivers/block: Use ARRAY_SIZE macro Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove a duplicate of ARRAY_SIZE. Some trailing whitespaces are also removed. drivers/block/acsi* has been left out as it's marked BROKEN. Signed-off-by: Tobias Klauser Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef9ceab28203690a42d7d3915ccf6e208f0762bc tree 630d17076f31db1dddad90fc3b2b69d3374e3caf parent 987d4613e52e4f655278265aabbcc69237018b1d author Andrew Morton Sun, 08 Jan 2006 01:05:10 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:08 -0800 [PATCH] remove semicolons from save_flags() Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 987d4613e52e4f655278265aabbcc69237018b1d tree 4190d1488573764e871c3299bac0624858ec3a19 parent 9fe656e91fd95d0893cc4831b032e0be60791bd7 author Dave Jones Sun, 08 Jan 2006 01:05:09 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:08 -0800 [PATCH] Make apm buildable without legacy pm APM doesn't _need_ the PM_LEGACY junk, so remove it's dependancy from Kconfig, and ifdef the junk in the code. Whilst the ifdefs are ugly, when the legacy stuff gets ripped out so will the ifdefs. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9fe656e91fd95d0893cc4831b032e0be60791bd7 tree 0bd4921aafc53cae6256be8e73db9fe66e8a03d9 parent bfc090c468b33fb1f75c27a11efa7b7dc250556f author Jan Blunck Sun, 08 Jan 2006 01:05:09 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:08 -0800 [PATCH] i4l: __attribute__((packed)) for the CAPI message structs The CAPI message structs itself should be packed and not the location of single fields in the structure. Signed-off-by: Jan Blunck Acked-by: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bfc090c468b33fb1f75c27a11efa7b7dc250556f tree c561f969b0f8b965cd82170b7e70002a17fce253 parent 6a878184c202395ea17212f111ab9ec4b5f6d6ee author Jan Blunck Sun, 08 Jan 2006 01:05:08 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:07 -0800 [PATCH] afs: remove unnecessary __attribute__((packed)) Remove the unnecessary __attribute__((packed)) since the enum itself is packed and not the location of it in the structure. Signed-off-by: Jan Blunck Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a878184c202395ea17212f111ab9ec4b5f6d6ee tree 7a4143652fcb41693af44963b7e94b334dd94f54 parent d8a33496671e4533aed090793436d58debea6f3a author Jan Blunck Sun, 08 Jan 2006 01:05:07 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:07 -0800 [PATCH] Eliminate __attribute__ ((packed)) warnings for gcc-4.1 Since version 4.1 the gcc is warning about ignored attributes. This patch is using the equivalent attribute on the struct instead of on each of the structure or union members. GCC Manual: "Specifying Attributes of Types packed This attribute, attached to struct or union type definition, specifies that each member of the structure or union is placed to minimize the memory required. When attached to an enum definition, it indicates that the smallest integral type should be used. Specifying this attribute for struct and union types is equivalent to specifying the packed attribute on each of the structure or union members." Signed-off-by: Jan Blunck Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d8a33496671e4533aed090793436d58debea6f3a tree 12f8732787f815941c8151123988e709a54e19b3 parent d1c4ac408fbab78a5f89ff583b68d2d11b421bb3 author Marko Kohtala Sun, 08 Jan 2006 01:05:06 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:07 -0800 [PATCH] parport: bring back an unused phase for ppdev ioctl Earlier fix removed unused phase, but that changed the values for other phases. Since these are exposed to userspace through ppdev, it is safer not to change them. Restore the unused phase value. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d1c4ac408fbab78a5f89ff583b68d2d11b421bb3 tree 857d824bbb6ee2dc92acbf44e1df5f829645a56f parent a771f2b82aa266fe578468deed82f797e26a3dc4 author Andrew Morton Sun, 08 Jan 2006 01:05:05 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:06 -0800 [PATCH] parport_pc: arm build fix free_dma() isn't implemented on ARM unless HAS_DMA is set. Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a771f2b82aa266fe578468deed82f797e26a3dc4 tree 79ca898412d790b3cfcb8557cc8225f9194eba39 parent e0804b17984afa1504649e2535db489d2a3029b6 author Arjan van de Ven Sun, 08 Jan 2006 01:05:04 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:06 -0800 [PATCH] Add a section about inlining to Documentation/CodingStyle Adds a bit of text to Documentation/Codingstyle to state that inlining everything "just because" is a bad idea Signed-off-by: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e0804b17984afa1504649e2535db489d2a3029b6 tree de1ad2a173e5fecaeffdcbcf93e30fbd3965bf39 parent 19144d0beab077950f3e767385e3c1050061b475 author Eric Van Buggenhaut Sun, 08 Jan 2006 01:05:03 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:06 -0800 [PATCH] hw_random: 82801AB PCI Bridge support pci.lst lists device 80862430 as another RNG # grep 80862430 /lib/discover/pci.lst 80862430 bridge i810_rng 82801AB PCI Bridge but it's not listed in rng_pci_tbl[] Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 19144d0beab077950f3e767385e3c1050061b475 tree b34c3b7337bf9d6c12298f7c1fc7a4fef744302b parent 1dac06b20dcc8078dab037bd70652c69c67ba672 author Dave Jones Sun, 08 Jan 2006 01:05:02 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:06 -0800 [PATCH] fix gcc4.1 build failure on xconfig scripts/kconfig/qconf.h:25: error: extra qualification ‘ConfigSettings::’ on member ‘readSizes’ scripts/kconfig/qconf.h:26: error: extra qualification ‘ConfigSettings::’ on member ‘writeSizes’ scripts/kconfig/qconf.h:127: error: extra qualification ‘ConfigList::’ on member ‘updateMenuList’ Signed-off-by: Dave Jones Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1dac06b20dcc8078dab037bd70652c69c67ba672 tree 34436f474074aa2760604555e3aa9b02df18fce2 parent 531b1094b74365dcc55fa464d28a9a2497ae825d author Latchesar Ionkov Sun, 08 Jan 2006 01:05:02 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:06 -0800 [PATCH] v9fs: handle kthread_create failure, minor bugfixes - remove unnecessary -ENOMEM assignments - return correct value when buf_check_size for second time in a buffer - handle failures when create_workqueue and kthread_create are called - use kzalloc instead of kmalloc/memset 0 - v9fs_str_copy and v9fs_str_compare were buggy, were used only in one place, correct the logic and move it to the place it is used. Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 531b1094b74365dcc55fa464d28a9a2497ae825d tree a0384dabe3be1c844166d028b3ef7c21c3dfe5fc parent d8da097afb765654c866062148fd98b11db9003e author Latchesar Ionkov Sun, 08 Jan 2006 01:05:00 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:06 -0800 [PATCH] v9fs: zero copy implementation Performance enhancement reducing the number of copies in the data and stat paths. Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d8da097afb765654c866062148fd98b11db9003e tree 35dc36ed893bceb63168eba245791b6d0a850698 parent 3cf6429a26da5c4d7b795e6d0f8f56ed2e4fdfc0 author Latchesar Ionkov Sun, 08 Jan 2006 01:04:59 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:05 -0800 [PATCH] v9fs: fix fid management in v9fs_create v9fs_create doesn't manage correctly the fids when it is called to create a directory.. The fid created by the create 9P call (newfid) and the one created by walking to already created file (wfidno) are not used consistently. This patch cleans up the usage of newfid and wfidno. Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3cf6429a26da5c4d7b795e6d0f8f56ed2e4fdfc0 tree a8d856763fd9a0536519634c93ab92da684107fa parent f5ef3c105bee3a52486d7b55cef3330fcde9bca6 author Latchesar Ionkov Sun, 08 Jan 2006 01:04:58 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:05 -0800 [PATCH] v9fs: new multiplexer implementation New multiplexer implementation. Decreases the number of kernel threads required. Better handling when the user process receives a signal. Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f5ef3c105bee3a52486d7b55cef3330fcde9bca6 tree 528a6b32cb8fbbeeced3a147e77fc544567e3a6f parent 7e7f358c8f8f836c504faa293fda0c1c0733b63c author Eric Van Hensbergen Sun, 08 Jan 2006 01:04:56 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:05 -0800 [PATCH] v9fs: fix fd_close If a 9pfs server crashes, v9fs_fd_close() is called. Subsequently, in cleaning up by performing a umount() on the FS that was provided by this server v9fs_fd_close() is called again, and uses the old, freed valus of trans->priv. This patch ensures that trans->priv can be freed only once, otherwise this function bails early. Signed-off-by: Michal Ostrowski Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e7f358c8f8f836c504faa293fda0c1c0733b63c tree b06ef1742fe9e5533f754b46cb0e0e56ee619b0a parent 389cd6ec086e9b5421fe479d14d20a1faf74848d author Brian Gerst Sun, 08 Jan 2006 01:04:54 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:05 -0800 [PATCH] Split out screen_info from tty.h This makes it possible for boot code to use screen_info without dragging in all of tty.h. Signed-off-by: Brian Gerst Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 389cd6ec086e9b5421fe479d14d20a1faf74848d tree 8efe6470c7646d9caaeba71655186ceab2e70876 parent 58591e8a1f4de2e53fdd09b2aa86948687106c07 author Eugene Surovegin Sun, 08 Jan 2006 01:04:53 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:05 -0800 [PATCH] CREDITS update: Eugene Surovegin Add EMAC to my CREDITS entry. Signed-off-by: Eugene Surovegin Signed-off-by: Linus Torvalds commit 58591e8a1f4de2e53fdd09b2aa86948687106c07 tree 572cb4935c6b5a0a8dab4885f59cd791234c1c67 parent 15b2fe3931831891a62bad9cafd403c169ae087c author Randy Dunlap Sun, 08 Jan 2006 01:04:52 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:04 -0800 [PATCH] SubmittingPatches: diffstat options Add desired 'diffstat' options to use for kernel patches. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 15b2fe3931831891a62bad9cafd403c169ae087c tree f962f7fea257daba3d3db47f58bf12c7ecc5a379 parent ac34dd052400b1e63aa8e711a13c0670943296fd author Evgeniy Polyakov Sun, 08 Jan 2006 01:04:51 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:04 -0800 [PATCH] UFS: inode->i_sem is not released in error path Signed-off-by: Evgeniy Polyakov Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac34dd052400b1e63aa8e711a13c0670943296fd tree 690f1c13638420df3dbad24bd9916b5b29b32c32 parent a12dea7af93ae83bd868c0dc09367090ead7cc1e author Maciej W. Rozycki Sun, 08 Jan 2006 01:04:50 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:04 -0800 [PATCH] fs/smbfs/proc.c: fix data corruption in smb_proc_setattr_unix() This patch fixes a data corruption in smb_proc_setattr_unix() (smb_filetype_from_mode() returns an u32, and there are only four bytes reserved for it in data. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a12dea7af93ae83bd868c0dc09367090ead7cc1e tree 90220072dddc951f75ecbcb9b442b8b8a9b774f7 parent eb46996f90a0826921f1a0d81535537a9c7f91b0 author Paolo 'Blaisorblade' Giarrusso Sun, 08 Jan 2006 01:04:49 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:04 -0800 [PATCH] PTRACE_SYSEMU is only for i386 and clashes with other ptrace codes of other archs PTRACE_SYSEMU{,_SINGLESTEP} is actually arch specific, for now, and the current allocated number clashes with a ptrace code of frv, i.e. PTRACE_GETFDPIC. I should have submitted this much earlier, anyway we get no breakage for this. CC: Daniel Jacobowitz Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb46996f90a0826921f1a0d81535537a9c7f91b0 tree 9c9abe4c1e3ea2bf07b97d3ec6603eec94da69fa parent 349aef0bc4c7f07d685c977e12d0e2d0b5d0e6db author Ashutosh Naik Sun, 08 Jan 2006 01:04:37 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:04 -0800 [PATCH] kernel/module.c: remove redundant spinlock in resolve_symbol() Remove the redundant spinlock in the function resolve_symbol() as we are not altering the module list, and we already hold the semaphore. Signed-off-by: Ashutosh Naik Cc: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 349aef0bc4c7f07d685c977e12d0e2d0b5d0e6db tree 6bb266ed8826bb4e7355a07a0092acb3d5d92647 parent 59d9136b9844d3a0376d93c945ab280decedb323 author Andrew Morton Sun, 08 Jan 2006 01:04:36 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:04 -0800 [PATCH] shrink struct page Reduce the size of the pageframe for NR_CPUS>4, CONFIG_PREEMPT back to the minimal size by unionising both ->private and ->mapping with the pagetable lock. It uses an anonymous struct and hence requires gcc-3.x. Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 59d9136b9844d3a0376d93c945ab280decedb323 tree 6c3eaa9f902ae983b96500a8d60720610da539a4 parent fb1697933a03ec47d794b38e2a4e3ccc2463fd22 author Benjamin LaHaise Sun, 08 Jan 2006 01:04:34 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:03 -0800 [PATCH] aio: reorder kiocb structure elements to make sync iocb setup faster Reorder members of the kiocb structure to make sync kiocb setup faster. By setting the elements sequentially, the write combining buffers on the CPU are able to combine the writes into a single burst, which results in fewer cache cycles being consumed, freeing them up for other code. This results in a 10-20KB/s[*] increase on the bw_unix part of LMbench on my test system. * The improvement varies based on what other patches are in the system, as there are a number of bottlenecks, so this number is not absolutely accurate. Signed-off-by: Benjamin LaHaise Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb1697933a03ec47d794b38e2a4e3ccc2463fd22 tree 51612c8b20a338856aef323ea23ab7746cf0283c parent eea8b54dc0dceb740da697a89c54d20dde340306 author Akinobu Mita Sun, 08 Jan 2006 01:04:29 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:03 -0800 [PATCH] modules: mark TAINT_FORCED_RMMOD correctly Currently TAINT_FORCED_RMMOD is totally unused. Because it is marked as TAINT_FORCED_MODULE instead when user forced a module unload. This patch marks it correctly Signed-off-by: Akinobu Mita Cc: Rusty Russell Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eea8b54dc0dceb740da697a89c54d20dde340306 tree c5f42385a174aa38aeb251eec361557a2b31d047 parent b368fae6abaa1736b8f26128c32947d47237b8e5 author Ashutosh Naik Sun, 08 Jan 2006 01:04:25 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:03 -0800 [PATCH] modules: prevent overriding of symbols Ensure that an exported symbol does not already exist in the kernel or in some other module's exported symbol table. This is done by checking the symbol tables for the exported symbol at the time of loading the module. Currently this is done after the relocation of the symbol. Signed-off-by: Ashutosh Naik Signed-off-by: Anand Krishnan Cc: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b368fae6abaa1736b8f26128c32947d47237b8e5 tree d9e14fb1c894c51bdd92b100f0ac30bcc8714174 parent 44f061033360f9d4db7e9b29d64f9df3667cb41e author Ben Collins Sun, 08 Jan 2006 01:04:24 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:03 -0800 [PATCH] sonypi: Enable ACPI events for Sony laptop hotkeys Signed-off-by: Ben Collins Cc: "Brown, Len" Cc: linux-acpi@vger.kernel.org Cc: Stelian Pop Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44f061033360f9d4db7e9b29d64f9df3667cb41e tree 0c95fac1894e977a20c805ae679a525bfb78c8d5 parent fee781e6c25772db862d3322b4745a896022a4f1 author Dmitry Torokhov Sun, 08 Jan 2006 01:04:22 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:03 -0800 [PATCH] Sonypi: convert to the new platform device interface Do not use platform_device_register_simple() as it is going away, implement ->probe() and -remove() functions so manual binding and unbinding will work with this driver. Signed-off-by: Dmitry Torokhov Cc: Stelian Pop Cc: Mattia Dongili Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fee781e6c25772db862d3322b4745a896022a4f1 tree ab1d3ea15594c684eb054bd333a8a38d2ab873a6 parent 80851ef2a5a404e6054211ca96ecd5ac4b06d297 author Adrian Bunk Sun, 08 Jan 2006 01:04:16 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:03 -0800 [PATCH] fs/proc/: function prototypes belong in header files Function prototypes belong into header files. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80851ef2a5a404e6054211ca96ecd5ac4b06d297 tree dcacd2a475adc28c540b6012b58f1af9783778c1 parent 44ac8413901167589226abf824d994aa57e4fd28 author Bjorn Helgaas Sun, 08 Jan 2006 01:04:13 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:02 -0800 [PATCH] /dev/mem: validate mmap requests Add a hook so architectures can validate /dev/mem mmap requests. This is analogous to validation we already perform in the read/write paths. The identity mapping scheme used on ia64 requires that each 16MB or 64MB granule be accessed with exactly one attribute (write-back or uncacheable). This avoids "attribute aliasing", which can cause a machine check. Sample problem scenario: - Machine supports VGA, so it has uncacheable (UC) MMIO at 640K-768K - efi_memmap_init() discards any write-back (WB) memory in the first granule - Application (e.g., "hwinfo") mmaps /dev/mem, offset 0 - hwinfo receives UC mapping (the default, since memmap says "no WB here") - Machine check abort (on chipsets that don't support UC access to WB memory, e.g., sx1000) In the scenario above, the only choices are - Use WB for hwinfo mmap. Can't do this because it causes attribute aliasing with the UC mapping for the VGA MMIO space. - Use UC for hwinfo mmap. Can't do this because the chipset may not support UC for that region. - Disallow the hwinfo mmap with -EINVAL. That's what this patch does. Signed-off-by: Bjorn Helgaas Cc: Hugh Dickins Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44ac8413901167589226abf824d994aa57e4fd28 tree e84b213b960a5b309e426860701e60d98fbb05a5 parent a1365647022eb05a5993f270a78e9bef3bf554eb author Bjorn Helgaas Sun, 08 Jan 2006 01:04:10 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:02 -0800 [PATCH] /dev/mem __HAVE_PHYS_MEM_ACCESS_PROT tidy-up Tidy up __HAVE_PHYS_MEM_ACCESS_PROT usage to make mmap_mem() easier to read. Signed-off-by: Bjorn Helgaas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1365647022eb05a5993f270a78e9bef3bf554eb tree 6dbcab4db80b7d07fdaec88c003743d1f6e1a289 parent fd285bb54d8a3e99810090ae88cfe8ed77d1da25 author Andrew Morton Sun, 08 Jan 2006 01:04:09 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:02 -0800 [PATCH] remove gcc-2 checks Remove various things which were checking for gcc-1.x and gcc-2.x compilers. From: Adrian Bunk Some documentation updates and removes some code paths for gcc < 3.2. Acked-by: Russell King Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd285bb54d8a3e99810090ae88cfe8ed77d1da25 tree e6ac6d5dc2cd4c197b7f428df726b9ecfe74d2e9 parent fe7d37d1fbf8ffe78abd72728b24fb0c64f7af55 author Andrew Morton Sun, 08 Jan 2006 01:04:07 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:02 -0800 [PATCH] Abandon gcc-2.95.x There's one scsi driver which doesn't compile due to weird __VA_ARGS__ tricks and the rather useful scsi/sd.c is currently getting an ICE. None of the new SAS code compiles, due to extensive use of anonymous unions. The V4L guys are very good at exploiting the gcc-2.95.x macro expansion bug (_why_ does each driver need to implement its own debug macros?) and various people keep on sneaking in anonymous unions, which are rather nice. Plus anonymous unions are rather useful. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fe7d37d1fbf8ffe78abd72728b24fb0c64f7af55 tree 274d82b06d2a711e84381b1357c6332077181d27 parent ddc0f846aa7621940b74cee0c91cd26405058a4d author Oleg Nesterov Sun, 08 Jan 2006 01:04:02 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:01 -0800 [PATCH] copy_process: error path cleanup This patch moves 'fork_out:' under 'bad_fork_free:', and removes now unneeded 'if (retval)' check. Signed-off-by: Oleg Nesterov Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ddc0f846aa7621940b74cee0c91cd26405058a4d tree 74909608259f44d538dc4389ad9b04d2b0352274 parent 37a327957e4b193369854f76afcedaee8d903521 author Adrian Bunk Sun, 08 Jan 2006 01:04:01 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:01 -0800 [PATCH] fs/udf/balloc.c: "extern inline" -> "static inline" "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 37a327957e4b193369854f76afcedaee8d903521 tree e99e6431902bed93ab19482e12dc6ead03930ca3 parent f7dd795e913656c390b6bde27790c518973feea1 author Andy Isaacson Sun, 08 Jan 2006 01:04:00 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:01 -0800 [PATCH] block/stat.txt I couldn't find any docs explaining the contents of /sys/block//stat, so I wrote up the following. I'm not completely sure it's accurate - Jens, could you give a yea or nay on this? In particular, the counts of read/write IOs and read/write sectors are incremented in different places - it looks like they both increment as the request is being finished, but I'm not completely sure of that. Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f7dd795e913656c390b6bde27790c518973feea1 tree d3e61e8e19018b94e80d2a332fa0b9e304007365 parent e19f247a3dbd85485ec13174817ae9c2478fe541 author Oleg Nesterov Sun, 08 Jan 2006 01:03:59 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:01 -0800 [PATCH] setpgid: should not accept ptraced childs sys_setpgid() allows to change ->pgrp of ptraced childs. 'man setpgid' does not tell anything about that, so I consider this behaviour is a bug. Signed-off-by: Oleg Nesterov Cc: Oren Laadan Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e19f247a3dbd85485ec13174817ae9c2478fe541 tree 1d6f6fa28d70d51d1ce71264b07ec1afd768e9a6 parent ee0acf90d320c29916ba8c5c1b2e908d81f5057d author Oren Laadan Sun, 08 Jan 2006 01:03:58 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:01 -0800 [PATCH] setpgid: should work for sub-threads setsid() does not work unless the calling process is a thread_group_leader(). 'man setpgid' does not tell anything about that, so I consider this behaviour is a bug. Signed-off-by: Oren Laadan Cc: Oleg Nesterov Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ee0acf90d320c29916ba8c5c1b2e908d81f5057d tree def952e2e3ebf2b5ba10585055f12ef0cbed17f2 parent 9a5d3023e626a0baf86ac6b892c983b3db13f22b author Oleg Nesterov Sun, 08 Jan 2006 01:03:53 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:01 -0800 [PATCH] setpgid: should work for sub-threads setpgid(0, pgid) or setpgid(forked_child_pid, pgid) does not work unless the calling process is a thread_group_leader(). 'man setpgid' does not tell anything about that, so I consider this behaviour is a bug. Signed-off-by: Oleg Nesterov Cc: Oren Laadan Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a5d3023e626a0baf86ac6b892c983b3db13f22b tree 41d1be6513fc3a5367414654eeaf11bbb12d4814 parent fb86a35b9ded8a7e53a432cbf28df603cdd4849c author Oren Laadan Sun, 08 Jan 2006 01:03:51 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:00 -0800 [PATCH] fork: fix race in setting child's pgrp and tty In fork, child should recopy parent's pgrp/tty after it has tasklist_lock. Otherwise following a setpgid() on the parent, *after* copy_signal(), the child will own a stale pgrp (which may be reused); (eg. if copy_mm() sleeps a long while due to memory pressure). Similar issue for the tty. Signed-off-by: Oren Laadan Cc: Oleg Nesterov Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb86a35b9ded8a7e53a432cbf28df603cdd4849c tree 6cfc9de386c26f5b1c9a126aee2bdc8f80bc8e2b parent d09cf7d77f62f6fb2f6d63fe5980583805f2d559 author Mike Miller Sun, 08 Jan 2006 01:03:50 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:00 -0800 [PATCH] cciss: adds MSI and MSI-X support This creates a new function, cciss_interrupt_mode called from cciss_pci_init. This function determines what type of interrupt vector to use, i.e., MSI, MSI-X, or IO-APIC. One noticeable difference is changing the interrupt field of the controller struct to an array of 4 unsigned ints. The Smart Array HW is capable of generating 4 distinct interrupts depending on the transport method in use during operation. These are: #define DOORBELL_INT 0 Used to notify the contoller of configuration updates. We only use this feature when in polling mode. #define PERF_MODE_INT 0 Used when the controller is in Performant Mode. #define SIMPLE_MODE_INT 2 Used when the controller is in Simple Mode (current Linux implementation). #define MEMQ_INT_MODE 3 Not used. When using IO-APIC interrupts these 4 lines are OR'ed together so when any one fires an interrupt an is generated. In MSI or MSI-X mode this hardware OR'ing is ignored. We must register for our interrupt depending on what mode the controller is running. For Linux we use SIMPLE_MODE_INT exclusively at this time. Please consider this for inclusion. Signed-off-by: Mike Miller Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d09cf7d77f62f6fb2f6d63fe5980583805f2d559 tree 59192c9b47c424bdbc67606f6c2fc2214e7a37d2 parent 5e38291d80086f6972f471c7caffa03184de0bf0 author Kylene Jo Hall Sun, 08 Jan 2006 01:03:48 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:00 -0800 [PATCH] tpmdd: remove global event log Remove global event log in the tpm bios event measurement log code that would have caused problems when the code was run concurrently. A log is now allocated and attached to the seq file upon open and destroyed appropriately. Signed-off-by: Kylene Jo Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e38291d80086f6972f471c7caffa03184de0bf0 tree 563a6aaac4f8c15f448080a3cec738821fa14a0b parent 87ba81dba431232548ce29d5d224115d0c2355ac author Eric W. Biederman Sun, 08 Jan 2006 01:03:46 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:00 -0800 [PATCH] Don't attempt to power off if power off is not implemented The problem. It is expected that /sbin/halt -p works exactly like /sbin/halt, when the kernel does not implement power off functionality. The kernel can do a lot of work in the reboot notifiers and in device_shutdown before we even get to machine_power_off. Some of that shutdown is not safe if you are leaving the power on, and it definitely gets in the way of using sysrq or pressing ctrl-alt-del. Since the shutdown happens in generic code there is no way to fix this in architecture specific code :( Some machines are kernel oopsing today because of this. The simple solution is to turn LINUX_REBOOT_CMD_POWER_OFF into LINUX_REBOOT_CMD_HALT if power_off functionality is not implemented. This has the unfortunate side effect of disabling the power off functionality on architectures that leave pm_power_off to null and still implement something in machine_power_off. And it will break the build on some architectures that don't have a pm_power_off variable at all. On both counts I say tough. For architectures like alpha that don't implement the pm_power_off variable pm_power_off is declared in linux/pm.h and it is a generic part of our power management code, and all architectures should implement it. For architectures like parisc that have a default power off method in machine_power_off if pm_power_off is not implemented or fails. It is easy enough to set the pm_power_off variable. And nothing bad happens there, the machines just stop powering off. The current semantics are impossible without a flag at the top level so we can avoid the problem code if a power off is not implemented. pm_power_off is as good a flag as any with the bonus that it works without modification on at least x86, x86_64, powerpc, and ppc today. Andrew can you pick this up and put this in the mm tree. Kernels that don't compile or don't power off seem saner than kernels that oops or panic. Until we get the arch specific patches for the problem architectures this probably isn't smart to push into the stable kernel. Unfortunately I don't have the time at the moment to walk through every architecture and make them work. And even if I did I couldn't test it :( From: Hirokazu Takata Add pm_power_off() for build fix of arch/m32r/kernel/process.c. From: Miklos Szeredi UML build fix Signed-off-by: Eric W. Biederman Signed-off-by: Hayato Fujiwara Signed-off-by: Hirokazu Takata Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 87ba81dba431232548ce29d5d224115d0c2355ac tree d836d85ff9bfe404adf3975d4a2c8ee135f9392e parent 99aef427e206f4ae7dcf0b18f66416145fea5d20 author Valentine Barshak Sun, 08 Jan 2006 01:03:44 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:00 -0800 [PATCH] fadvise: return ESPIPE on FIFO/pipe The patch makes posix_fadvise return ESPIPE on FIFO/pipe in order to be fully POSIX-compliant. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 99aef427e206f4ae7dcf0b18f66416145fea5d20 tree d4e478ce7b5a96ed283cbed67f2663ad488287f1 parent d84f520348d77e61f936227a048403dbc349fff1 author Rob Landley Sun, 08 Jan 2006 01:03:43 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:00 -0800 [PATCH] update to the initramfs docs Based on questions people have asked me. Repeatedly. Signed-off-by: Rob Landley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d84f520348d77e61f936227a048403dbc349fff1 tree 765dd3cc733b4149222d4ac9cf746f54cf557fdd parent 9841d61d75da5e46ed7a978bed4f50c78b1d87fd author Srivatsa Vaddagiri Sun, 08 Jan 2006 01:03:42 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:59 -0800 [PATCH] Extend RCU torture module to test tickless idle CPU This patch forces RCU torture threads off various CPUs in the system allowing them to become idle and go tickless. Meant to test support for such tickless idle CPU in RCU. Signed-off-by: Srivatsa Vaddagiri Cc: Dipankar Sarma Cc: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9841d61d75da5e46ed7a978bed4f50c78b1d87fd tree fae0f4af69456d6c70ac1ea9c91e0cfc6544d5e2 parent f867bac65419a98c9682f4409e087582d29ec5f6 author Dave Jones Sun, 08 Jan 2006 01:03:41 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:59 -0800 [PATCH] Add tainting for proprietary helper modules Kernels that have had Windows drivers loaded into them are undebuggable. I've wasted a number of hours chasing bugs filed in Fedora bugzilla only to find out much later that the user had used such 'helpers', and their problems were unreproducable without them loaded. Acked-by: Arjan van de Ven Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f867bac65419a98c9682f4409e087582d29ec5f6 tree c65e5663259ae2df77179683c8189e6c3de3b9fe parent e78c9a004aadebe22306c81d1a7f1d1278dc37f9 author Eric Dumazet Sun, 08 Jan 2006 01:03:40 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:59 -0800 [PATCH] remove unused blkp field in percpu_data I found that blkp field was not used in kernel tree. As most of the times NR_CPUS is a power of two and kmalloc() memory blocks too, this extra field basically doubles the memory space allocated in __alloc_percpu() to store the 'struct percpu_data' (for example, if NR_CPUS=8 on i386, kmalloc(4*8+4) returns a 64 bytes block instead of a 32 bytes block after this patch) Signed-off-by: Eric Dumazet Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e78c9a004aadebe22306c81d1a7f1d1278dc37f9 tree abbe82c7f8ce8d3059619c7941de14e585859aa4 parent 90f2447d08a5fbddc8b58f8a6425b0513807f919 author Pekka Enberg Sun, 08 Jan 2006 01:03:39 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:59 -0800 [PATCH] fs: remove s_old_blocksize from struct super_block This patch inlines the single user of struct super_block field s_old_blocksize and removes the field. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 90f2447d08a5fbddc8b58f8a6425b0513807f919 tree 4d56eabeb0dfa0d9ca9d5f78573f22709605f27a parent 44fce35f29a7f2d976d9160bfbc55635b459a6a0 author Jesper Juhl Sun, 08 Jan 2006 01:03:38 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:59 -0800 [PATCH] Documentation: Small applying-patches.txt update Minor update to Documentation/applying-patches.txt Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44fce35f29a7f2d976d9160bfbc55635b459a6a0 tree 99ea5c540658e8c02945b00041d904474766b968 parent dda6ebde96044e9b5f1b14588659b39b4e6c08e7 author Nicolas Kaiser Sun, 08 Jan 2006 01:03:37 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:59 -0800 [PATCH] drivers/mfd: header included twice linux/delay.h included twice Signed-off-by: Nicolas Kaiser Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dda6ebde96044e9b5f1b14588659b39b4e6c08e7 tree c06bba58d2623784c88acc321137c34b7be16335 parent cc398c2eae35b13d77b77337136325edc6ca94ca author David Gibson Sun, 08 Jan 2006 01:03:35 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:58 -0800 [PATCH] Fix handling of ELF segments with zero filesize mmap() returns -EINVAL if given a zero length, and thus elf_map() in binfmt_elf.c does likewise if it attempts to map a (page-aligned) ELF segment with zero filesize. Such a situation never arises with the default linker scripts, but there's nothing inherently wrong with zero-filesize (but non-zero memsize) ELF segments. Custom linker scripts can generate them, and the kernel should be able to map them; this patch makes it so. Signed-off-by: David Gibson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cc398c2eae35b13d77b77337136325edc6ca94ca tree c7b502c0cd1f51e462f1861b4c46921941689faf parent 5160ee6fc891a9ca114be0e90fa6655647bb64b2 author David S. Miller Sun, 08 Jan 2006 01:03:34 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:58 -0800 [PATCH] drivers/connector/cn_proc.c typos The parameter to put_cpu_var() is unreferenced by the implementation, and the compiler doesn't try to comprehend comments, so this wouldn't cause any problem, but if bugged me enough to post a fix :-) Signed-off-by: David S. Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5160ee6fc891a9ca114be0e90fa6655647bb64b2 tree 35d3740a777935582af1b78238f20d2c2971ed55 parent 21b6bf143d05d77c350d9c6764ae090a877b66ea author Eric Dumazet Sun, 08 Jan 2006 01:03:32 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:58 -0800 [PATCH] shrink dentry struct Some long time ago, dentry struct was carefully tuned so that on 32 bits UP, sizeof(struct dentry) was exactly 128, ie a power of 2, and a multiple of memory cache lines. Then RCU was added and dentry struct enlarged by two pointers, with nice results for SMP, but not so good on UP, because breaking the above tuning (128 + 8 = 136 bytes) This patch reverts this unwanted side effect, by using an union (d_u), where d_rcu and d_child are placed so that these two fields can share their memory needs. At the time d_free() is called (and d_rcu is really used), d_child is known to be empty and not touched by the dentry freeing. Lockless lookups only access d_name, d_parent, d_lock, d_op, d_flags (so the previous content of d_child is not needed if said dentry was unhashed but still accessed by a CPU because of RCU constraints) As dentry cache easily contains millions of entries, a size reduction is worth the extra complexity of the ugly C union. Signed-off-by: Eric Dumazet Cc: Dipankar Sarma Cc: Maneesh Soni Cc: Miklos Szeredi Cc: "Paul E. McKenney" Cc: Ian Kent Cc: Paul Jackson Cc: Al Viro Cc: Christoph Hellwig Cc: Trond Myklebust Cc: Neil Brown Cc: James Morris Cc: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 21b6bf143d05d77c350d9c6764ae090a877b66ea tree f20e74cf252ae40b17ae13814153f6546c73190d parent 850d6fbe70c62a9792eac3e8ef34f2f09f209895 author Jorn Dreyer Sun, 08 Jan 2006 01:03:30 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:57 -0800 [PATCH] nfsroot: do not silently stop parsing on an unknown option It would be helpful if the kernel did not silently stop parsing nfs options, but instead warned about any he does not recognize. The attached patch adds one printk to do just that. It took me a couple of hours to find my configuration mistake. Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 850d6fbe70c62a9792eac3e8ef34f2f09f209895 tree e02e6bbfd670c7250134c894356d9599a35820bd parent 86174cdcb44c095ffd2e3ca69caa56244cf701d5 author Oleg Nesterov Sun, 08 Jan 2006 01:03:29 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:57 -0800 [PATCH] sigio: cleanup, don't take tasklist twice The only user of send_sigio_to_task() already holds tasklist_lock, so it is better not to send the signal via send_group_sig_info() (which takes tasklist recursively) but use group_send_sig_info(). The same change in send_sigurg()->send_sigurg_to_task(). Signed-off-by: Oleg Nesterov Cc: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 86174cdcb44c095ffd2e3ca69caa56244cf701d5 tree 37d6cd5e6145fb659f436399268be1e7be950e61 parent 08efd10edff199f0c992f04052e897a3f2048508 author Oleg Nesterov Sun, 08 Jan 2006 01:03:28 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:57 -0800 [PATCH] remove unneeded sig->curr_target recalculation This patch removes unneeded sig->curr_target recalculation under 'if (atomic_dec_and_test(&sig->count))' in __exit_signal(). When sig->count == 0 the signal can't be sent to this task and next_thread(tsk) == tsk anyway. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 08efd10edff199f0c992f04052e897a3f2048508 tree 80edbbc2fc58f5204446ad6ee1df141beeccb64b parent 29ba17231222c42ca3df5424f43949e2a6fddec2 author Nicolas Kaiser Sun, 08 Jan 2006 01:03:26 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:56 -0800 [PATCH] MAINTAINERS: line duplication uniq -d MAINTAINERS Signed-off-by: Nicolas Kaiser Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 29ba17231222c42ca3df5424f43949e2a6fddec2 tree 8081c7ffd66a42bc82b685350bcc46e38c94ff4f parent 9f40668d7d14d4d16cedc2104bfb63a43584dacf author Glauber de Oliveira Costa Sun, 08 Jan 2006 01:03:23 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:56 -0800 [PATCH] ext3: use sbi instead of EXT3_SB() in resize code. There are places in the resize code in which EXT3_SB() macro is used after an statement like sbi = EXT3_SB(sb) is done. Inside the same function, both sbi and EXT3_SB() are used to reference the super block Altough it is not wrong, keeping it coherent increases legibility, IMHO. Signed-off-by: Glauber de Oliveira Costa Cc: "Stephen C. Tweedie" Cc: Andreas Dilger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f40668d7d14d4d16cedc2104bfb63a43584dacf tree 1afa0f60acfcfb89e460feca6ea4d5686b192915 parent 25ab7cd84eebdc1869d236029ada3a7b403de8ba author Glauber de Oliveira Costa Sun, 08 Jan 2006 01:03:22 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:56 -0800 [PATCH] ext3: remove trailing newlines from ext3_warning() calls Remove the trailing newlines in calls to ext3_warning(). This function already adds a trailing newline to the end of messages. Signed-off-by: Glauber de Oliveira Costa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 25ab7cd84eebdc1869d236029ada3a7b403de8ba tree 4308545d06f89c50c9dbe9cd6575a2b049a16a32 parent 71b9625744b7d4a6a2416389a5ba464bdf11f07f author Eric Dumazet Sun, 08 Jan 2006 01:03:21 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:56 -0800 [PATCH] oprofile: Use vmalloc_node() in alloc_cpu_buffers() Make oprofile alloc_cpu_buffers() function NUMA aware, allocating each CPU local buffer in its memory node if possible. Signed-off-by: Eric Dumazet Cc: Philippe Elie Cc: John Levon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 71b9625744b7d4a6a2416389a5ba464bdf11f07f tree 0926e8274cfa5030fccfb0955bd0db45e60e0e7c parent bf066c7db775a04bd761f8ea206f5522d0cf40ff author Johann Lombardi Sun, 08 Jan 2006 01:03:20 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:56 -0800 [PATCH] ext3: external journal device as a mount option The patch below adds a new mount option to allow the external journal device to be specified. The syntax is as follows: # mount -t ext3 -o journal_dev=0x0820 ... where 0x0820 means major=8 and minor=32. Signed-off-by: Johann Lombardi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bf066c7db775a04bd761f8ea206f5522d0cf40ff tree e4bfe3bdd8d98a137eaf163a26eb1153af970dfd parent 4a0d11fae57989e24fe2ee3eff6d62d72db9716c author Miklos Szeredi Sun, 08 Jan 2006 01:03:19 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:56 -0800 [PATCH] shared mounts: cleanup Small cleanups in shared mounts code. Signed-off-by: Miklos Szeredi Cc: Ram Pai Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4a0d11fae57989e24fe2ee3eff6d62d72db9716c tree 5d91ff28e650e82e9318db7d9be5f74d43880214 parent c809406b4f2dfac9006d7eb8dca6b9f990f10b61 author Neil Brown Sun, 08 Jan 2006 01:03:18 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:55 -0800 [PATCH] pivot_root: add comment Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c809406b4f2dfac9006d7eb8dca6b9f990f10b61 tree 090455ba2acfb5a6667737edab624560be17afaa parent 55a82ab3181be039c6440d3f2f69260ad6fe2988 author Ashok Raj Sun, 08 Jan 2006 01:03:17 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:55 -0800 [PATCH] Updated CPU hotplug documentation Thanks to Nathan Lynch for the review and comments. Thanks to Joel Schopp for the pointer to add user space scipts. Signed-off-by: Ashok Raj Signed-off-by: Nathan Lynch Signed-off-by: Joel Schopp Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 55a82ab3181be039c6440d3f2f69260ad6fe2988 tree 6acf566ae3831b0f4f8b428fbaa0e335bc7a2691 parent 485a6435abc3897934ce0dc530e31db93e9296a6 author Kylene Jo Hall Sun, 08 Jan 2006 01:03:15 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:55 -0800 [PATCH] tpm: add bios measurement log According to the TCG specifications measurements or hashes of the BIOS code and data are extended into TPM PCRS and a log is kept in an ACPI table of these extensions for later validation if desired. This patch exports the values in the ACPI table through a security-fs seq_file. Signed-off-by: Seiji Munetoh Signed-off-by: Stefan Berger Signed-off-by: Reiner Sailer Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 485a6435abc3897934ce0dc530e31db93e9296a6 tree 9f934146083a4b34eedc9edec37a2ca4783419f0 parent bb6f6dbaa48c53525a7a4f9d4df719c3b0b582af author Oleg Nesterov Sun, 08 Jan 2006 01:03:14 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:55 -0800 [PATCH] little do_group_exit() cleanup zap_other_threads() sets SIGNAL_GROUP_EXIT at the very start, do_group_exit() doesn't need to do it. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb6f6dbaa48c53525a7a4f9d4df719c3b0b582af tree d8214a72c61d49e3cb896e0390256f23e9f72eff parent 0811af28ce49fab963e3e6b8abcf8c460f971cd4 author Oleg Nesterov Sun, 08 Jan 2006 01:03:13 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:55 -0800 [PATCH] do_coredump() should reset group_stop_count earlier __group_complete_signal() sets ->group_stop_count in sig_kernel_coredump() path and marks the target thread as ->group_exit_task. So any thread except group_exit_task will go to handle_group_stop()->finish_stop(). However, when group_exit_task actually starts do_coredump(), it sets SIGNAL_GROUP_EXIT, but does not reset ->group_stop_count while killing other threads. If we have not yet stopped threads in the same thread group, they all will spin in kernel mode until group_exit_task sends them SIGKILL, because ->group_stop_count > 0 means: recalc_sigpending_tsk() never clears TIF_SIGPENDING get_signal_to_deliver() goes to handle_group_stop() handle_group_stop() returns when SIGNAL_GROUP_EXIT set syscall_exit/resume_userspace notice TIF_SIGPENDING, call get_signal_to_deliver() again. So we are wasting cpu cycles, and if one of these threads is rt_task() this may be a serious problem. NOTE: do_coredump() holds ->mmap_sem, so not stopped threads can't escape coredumping after clearing ->group_stop_count. See also this thread: http://marc.theaimsgroup.com/?t=112739139900002 Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0811af28ce49fab963e3e6b8abcf8c460f971cd4 tree a7a619307a471d713cddb67ef94e3768152fc4bb parent 54b21a7992a31d30c9a91f7e0a00ffdb4bd0caee author Oleg Nesterov Sun, 08 Jan 2006 01:03:09 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:55 -0800 [PATCH] kill_proc_info_as_uid: don't use hardcoded constants Use symbolic names instead of hardcoded constants. Signed-off-by: Oleg Nesterov Acked-by: Harald Welte Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 54b21a7992a31d30c9a91f7e0a00ffdb4bd0caee tree 33eca2bf3c1edfd3d76cc0f7c96a392239c6d2ec parent 676121fcb66c861804e38d94214fd5670a1ef595 author Andrew Morton Sun, 08 Jan 2006 01:03:05 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:54 -0800 [PATCH] fix possible PAGE_CACHE_SHIFT overflows We've had two instances recently of overflows when doing 64_bit_value = (32_bit_value << PAGE_CACHE_SHIFT) I did a tree-wide grep of `<<.*PAGE_CACHE_SHIFT' and this is the result. - afs_rxfs_fetch_descriptor.offset is of type off_t, which seems broken. - jfs and jffs are limited to 4GB anyway. - reiserfs map_block_for_writepage() takes an unsigned long for the block - it should take sector_t. (It'll fail for huge filesystems with blocksizepage_base) Cc: Oleg Drokin Cc: David Howells Cc: David Woodhouse Cc: Cc: Christoph Hellwig Cc: Anton Altaparmakov Cc: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Cc: Roman Zippel Cc: Cc: Miklos Szeredi Cc: Russell King Cc: Trond Myklebust Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 676121fcb66c861804e38d94214fd5670a1ef595 tree 7b0f9d34efd5e1cb9b6b595aedcd9419942b5055 parent 9fa37fd1627ec804e57ae0388555719b03b39f20 author Ben Collins Sun, 08 Jan 2006 01:03:04 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:54 -0800 [PATCH] Unchecked alloc_percpu() return in __create_workqueue() __create_workqueue() not checking return of alloc_percpu() NULL dereference was possible. Signed-off-by: Ben Collins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9fa37fd1627ec804e57ae0388555719b03b39f20 tree 869e4b4d8feb2e3ce240fa32cfa549ab61115153 parent a885c8c4316e1c1d2d2c8755da3f3d14f852528d author taneli.vahakangas@netsonic.fi Sun, 08 Jan 2006 01:03:02 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:54 -0800 [PATCH] nbd: remove duplicate assignment Sent by Paul Clements , who needs to read Documentation/SubmittingPatches.. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a885c8c4316e1c1d2d2c8755da3f3d14f852528d tree e4f4e7a7657c0944d11c259f8f17ffcd6b2da0f5 parent 5b0ed2c64d8fdafb5fcfb3baabdd288628b1ff9b author Christoph Hellwig Sun, 08 Jan 2006 01:02:50 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:54 -0800 [PATCH] Add block_device_operations.getgeo block device method HDIO_GETGEO is implemented in most block drivers, and all of them have to duplicate the code to copy the structure to userspace, as well as getting the start sector. This patch moves that to common code [1] and adds a ->getgeo method to fill out the raw kernel hd_geometry structure. For many drivers this means ->ioctl can go away now. [1] the s390 block drivers are odd in this respect. xpram sets ->start to 4 always which seems more than odd, and the dasd driver shifts the start offset around, probably because of it's non-standard sector size. Signed-off-by: Christoph Hellwig Cc: Jens Axboe Cc: Cc: Jeff Dike Cc: Paolo Giarrusso Cc: Bartlomiej Zolnierkiewicz Cc: Neil Brown Cc: Markus Lidel Cc: Russell King Cc: David Woodhouse Cc: Martin Schwidefsky Cc: James Bottomley Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b0ed2c64d8fdafb5fcfb3baabdd288628b1ff9b tree e73ba55739b27f239cd224a413df9d4b61aff586 parent 71fabd5e4835309b4feca6209122ce56c595c461 author Xose Vazquez Perez Sun, 08 Jan 2006 01:02:49 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:53 -0800 [PATCH] docs: updated some code docs Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 71fabd5e4835309b4feca6209122ce56c595c461 tree 7d9467a4f9678d2271f82d48ec075a316cb1523f parent b5f545c880a2a47947ba2118b2509644ab7a2969 author George Anzinger Sun, 08 Jan 2006 01:02:48 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:53 -0800 [PATCH] sigaction should clear all signals on SIG_IGN, not just < 32 While rooting aroung in the signal code trying to understand how to fix the SIG_IGN ploy (set sig handler to SIG_IGN and flood system with high speed repeating timers) I came across what, I think, is a problem in sigaction() in that when processing a SIG_IGN request it flushes signals from 1 to SIGRTMIN and leaves the rest. Attempt to fix this. Signed-off-by: George Anzinger Cc: Roland McGrath Cc: Linus Torvalds Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b5f545c880a2a47947ba2118b2509644ab7a2969 tree 8720e02262b0ff6309ae79603f6c63965296d378 parent cab8eb594e84b434d20412fc5a3985b0bee3ab9f author David Howells Sun, 08 Jan 2006 01:02:47 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:53 -0800 [PATCH] keys: Permit running process to instantiate keys Make it possible for a running process (such as gssapid) to be able to instantiate a key, as was requested by Trond Myklebust for NFS4. The patch makes the following changes: (1) A new, optional key type method has been added. This permits a key type to intercept requests at the point /sbin/request-key is about to be spawned and do something else with them - passing them over the rpc_pipefs files or netlink sockets for instance. The uninstantiated key, the authorisation key and the intended operation name are passed to the method. (2) The callout_info is no longer passed as an argument to /sbin/request-key to prevent unauthorised viewing of this data using ps or by looking in /proc/pid/cmdline. This means that the old /sbin/request-key program will not work with the patched kernel as it will expect to see an extra argument that is no longer there. A revised keyutils package will be made available tomorrow. (3) The callout_info is now attached to the authorisation key. Reading this key will retrieve the information. (4) A new field has been added to the task_struct. This holds the authorisation key currently active for a thread. Searches now look here for the caller's set of keys rather than looking for an auth key in the lowest level of the session keyring. This permits a thread to be servicing multiple requests at once and to switch between them. Note that this is per-thread, not per-process, and so is usable in multithreaded programs. The setting of this field is inherited across fork and exec. (5) A new keyctl function (KEYCTL_ASSUME_AUTHORITY) has been added that permits a thread to assume the authority to deal with an uninstantiated key. Assumption is only permitted if the authorisation key associated with the uninstantiated key is somewhere in the thread's keyrings. This function can also clear the assumption. (6) A new magic key specifier has been added to refer to the currently assumed authorisation key (KEY_SPEC_REQKEY_AUTH_KEY). (7) Instantiation will only proceed if the appropriate authorisation key is assumed first. The assumed authorisation key is discarded if instantiation is successful. (8) key_validate() is moved from the file of request_key functions to the file of permissions functions. (9) The documentation is updated. From: Build fix. Signed-off-by: David Howells Cc: Trond Myklebust Cc: Alexander Zangerl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cab8eb594e84b434d20412fc5a3985b0bee3ab9f tree 307dc5bf813effdcabe439a74ad2ae866516adb0 parent 017679c4d45783158dba1dd6f79e712c22bb3d9a author David Howells Sun, 08 Jan 2006 01:02:45 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:53 -0800 [PATCH] keys: Discard duplicate keys from a keyring on link Cause any links within a keyring to keys that match a key to be linked into that keyring to be discarded as a link to the new key is added. The match is contingent on the type and description strings being the same. This permits requests, adds and searches to displace negative, expired, revoked and dead keys easily. After some discussion it was concluded that duplicate valid keys should probably be discarded also as they would otherwise hide the new key. Since request_key() is intended to be the primary method by which keys are added to a keyring, duplicate valid keys wouldn't be an issue there as that function would return an existing match in preference to creating a new key. Signed-off-by: David Howells Cc: Trond Myklebust Cc: Alexander Zangerl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 017679c4d45783158dba1dd6f79e712c22bb3d9a tree a536f0b581eacd88a64077f5ff15b29d23fc6405 parent cd140a5c1f456f50897af4a2e9a23d228a5fe719 author David Howells Sun, 08 Jan 2006 01:02:43 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:53 -0800 [PATCH] keys: Permit key expiry time to be set Add a new keyctl function that allows the expiry time to be set on a key or removed from a key, provided the caller has attribute modification access. Signed-off-by: David Howells Cc: Trond Myklebust Cc: Alexander Zangerl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cd140a5c1f456f50897af4a2e9a23d228a5fe719 tree 24170cf30ce2c5d3129c9b535942c4c52231a042 parent 025510cd20f4c35c3958bea133d96c9bd7c6ef9e author Guillaume Chazarain Sun, 08 Jan 2006 01:02:43 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:53 -0800 [PATCH] kmsg_write: don't return printk return value kmsg_write returns with printk, so some programs may be confused by a successful write() with a return value different than the buffer length. # /bin/echo something > /dev/kmsg /bin/echo: write error: Inappropriate ioctl for device The drawbacks is that the printk return value can no more be quickly checked from userspace. Signed-off-by: Guillaume Chazarain Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 025510cd20f4c35c3958bea133d96c9bd7c6ef9e tree a1d7946374dc6db660ffbf76a1ae862c629566d1 parent 2520f14ca85e38f575eed6acc6e586df246abea6 author Guillaume Chazarain Sun, 08 Jan 2006 01:02:41 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:52 -0800 [PATCH] printk return value: fix it What's the true meaning of the printk return value? Should it include the priority prefix length of 3? and what about the timing information? In both cases it was broken: strace -e write echo 1 > /dev/kmsg => write(1, "1\n", 2) = 5 strace -e write echo "<1>1" > /dev/kmsg => write(1, "<1>1\n", 5) = 8 The returned length was "length of input string + 3", I made it "length of string output to the log buffer". Note that I couldn't find any printk caller in the kernel interested by its return value besides kmsg_write. Signed-off-by: Guillaume Chazarain Acked-By: Tim Bird Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2520f14ca85e38f575eed6acc6e586df246abea6 tree 1e0a1f3b0b44dc3069323eb26106312618352156 parent 4a30131e7dbb17e5fec6958bfac9da9aff1fa29b author NeilBrown Sun, 08 Jan 2006 01:02:40 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:52 -0800 [PATCH] Fix overflow tests for compat_sys_fcntl64 locking When making an fctl locking call through compat_sys_fcntl64 (i.e. a 32bit app on a 64bit kernel), the syscall can return a locking range that is in conflict with the queried lock. If some aspect of this range does not fit in the 32bit structure, something needs to be done. The current code is wrong in several respects: - It returns data to userspace even if no conflict was found i.e. it should check l_type for F_UNLCK - It returns -EOVERFLOW too agressively. A lock range covering the last possible byte of the file (start = COMPAT_OFF_T_MAX, len = 1) should be possible, but is rejected with the current test. - A extra-long 'len' should not be a problem. If only that part of the conflicting lock that would be visible to the 32bit app needs to be reported to the 32bit app anyway. This patch addresses those three issues and adds a comment to (hopefully) record it for posterity. Note: this patch mainly affects test-cases. Real applications rarely is ever see the problems. This patch has been tested (LSB test suite), and works. Signed-off-by: Neil Brown Cc: Arnd Bergmann Cc: Christoph Hellwig Cc: Matthew Wilcox Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4a30131e7dbb17e5fec6958bfac9da9aff1fa29b tree 2ff6139b393a9a413e2ea4db4dd2d15eec2201f8 parent 788540141f4549637e89aadca6e25cf25eb53383 author NeilBrown Sun, 08 Jan 2006 01:02:39 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:52 -0800 [PATCH] Fix some problems with truncate and mtime semantics. SUS requires that when truncating a file to the size that it currently is: truncate and ftruncate should NOT modify ctime or mtime O_TRUNC SHOULD modify ctime and mtime. Currently mtime and ctime are always modified on most local filesystems (side effect of ->truncate) or never modified (on NFS). With this patch: ATTR_CTIME|ATTR_MTIME are sent with ATTR_SIZE precisely when an update of these times is required whether size changes or not (via a new argument to do_truncate). This allows NFS to do the right thing for O_TRUNC. inode_setattr nolonger forces ATTR_MTIME|ATTR_CTIME when the ATTR_SIZE sets the size to it's current value. This allows local filesystems to do the right thing for f?truncate. Also, the logic in inode_setattr is changed a bit so there are two return points. One returns the error from vmtruncate if it failed, the other returns 0 (there can be no other failure). Finally, if vmtruncate succeeds, and ATTR_SIZE is the only change requested, we now fall-through and mark_inode_dirty. If a filesystem did not have a ->truncate function, then vmtruncate will have changed i_size, without marking the inode as 'dirty', and I think this is wrong. Signed-off-by: Neil Brown Cc: Christoph Hellwig Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 788540141f4549637e89aadca6e25cf25eb53383 tree 179325644b2eacf66a4cd6bffd63ac0d4390576b parent 53dbb26dbcf0d844967677633d7587c1d34740d5 author David Howells Sun, 08 Jan 2006 01:02:37 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:52 -0800 [PATCH] Permit multiple inclusion of linux/pagevec.h Make it possible to include linux/pagevec.h multiple times without incurring errors due to duplicate definitions. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53dbb26dbcf0d844967677633d7587c1d34740d5 tree 8e0988f3d14758c0f36f1e495f56c79f3f405116 parent 954de9141e75cf2f1ce69ccdbedc83ec827a01ec author Antonino A. Daplas Sun, 08 Jan 2006 01:02:36 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:51 -0800 [PATCH] vgacon: Workaround for resize bug in some chipsets Reported from Redhat Bugzilla Bug 170450 "I updated to the development kernel and now during boot only the top of the text is visable. For example the monitor screen the is the lines and I can only see text in the asterisk area. commit 954de9141e75cf2f1ce69ccdbedc83ec827a01ec tree 05682a83cafc8784d8e60f0d9e98694ad4a932d2 parent b8b0af24353eafadf58a0889999700e43f135aad author Samuel Thibault Sun, 08 Jan 2006 01:02:34 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:51 -0800 [PATCH] vgacon: fix doublescan mode When doublescan mode is in use, scanlines must be doubled. Thanks to Jason Dravet for reporting and testing. Signed-off-by: Samuel Thibault Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b8b0af24353eafadf58a0889999700e43f135aad tree e3ee61aaf3326f9e096b16a144d53d7b4708e4e3 parent 6b9c7ed84837753a436415097063232422e29a35 author Christoph Hellwig Sun, 08 Jan 2006 01:02:33 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:51 -0800 [PATCH] udf: remove bogus inode == NULL check in inode_bmap inode can never be NULL when calling this function. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b9c7ed84837753a436415097063232422e29a35 tree 6ad59a7bebcec359e08b3a211701781db819450d parent 6b34350f490b2c8508717541ec1fd2bbaadded94 author Christoph Hellwig Sun, 08 Jan 2006 01:02:33 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:51 -0800 [PATCH] use ptrace_get_task_struct in various places The ptrace_get_task_struct() helper that I added as part of the ptrace consolidation is useful in variety of places that currently opencode it. Switch them to the common helpers. Add a ptrace_traceme() helper that needs to be explicitly called, and simplify the ptrace_get_task_struct() interface. We don't need the request argument now, and we return the task_struct directly, using ERR_PTR() for error returns. It's a bit more code in the callers, but we have two sane routines that do one thing well now. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b34350f490b2c8508717541ec1fd2bbaadded94 tree 199c7f7f45e812a3d26bf762aa14a992ba13d4cf parent 761da5c88aca34586e5b7295bd8b9be2438906f2 author Tom Zanussi Sun, 08 Jan 2006 01:02:32 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:51 -0800 [PATCH] relayfs: Documentation cleanup, remove obsolete info librelay and relay-app.h have been retired - update Documentation to reflect that. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 761da5c88aca34586e5b7295bd8b9be2438906f2 tree f5d1c91d1e16b0e8649ccaf3bdd7d163658e7455 parent df49af8f3392e96ddbc9cf6dd81fbdc0496e1b44 author Tom Zanussi Sun, 08 Jan 2006 01:02:31 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:51 -0800 [PATCH] relayfs: cleanup, change relayfs_file_* to relay_file_* This patch renames relayfs_file_operations to relay_file_operations, and the file operations themselves from relayfs_XXX to relay_file_XXX, to make it more clear that they refer to relay files. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit df49af8f3392e96ddbc9cf6dd81fbdc0496e1b44 tree e4a8ce3657f1148f279623fe6048735de9c15c39 parent e6c08367b8fc6dce6dfd1106f53f6ef28215b313 author Tom Zanussi Sun, 08 Jan 2006 01:02:30 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:50 -0800 [PATCH] relayfs: add Documentation on global relay buffers Documentation update for creating global buffers. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e6c08367b8fc6dce6dfd1106f53f6ef28215b313 tree fa5bb7071fdcd61d3296e5d0be224d864cb1d166 parent 03d78d11d92b5ed688bb18167b05d9d01493e175 author Tom Zanussi Sun, 08 Jan 2006 01:02:29 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:50 -0800 [PATCH] relayfs: add support for global relay buffers This patch adds the optional is_global outparam to the create_buf_file() callback. This can be used by clients to create a single global relayfs buffer instead of the default per-cpu buffers. This was suggested as being useful for certain debugging applications where it's more convenient to be able to get all the data from a single channel without having to go to the bother of dealing with per-cpu files. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 03d78d11d92b5ed688bb18167b05d9d01493e175 tree b3d87f9e817bc59d66cdfd60bb1ef68b9b4b22b2 parent 08c541a7ade230883c48225f4ea406a0117e7c2f author Tom Zanussi Sun, 08 Jan 2006 01:02:29 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:50 -0800 [PATCH] relayfs: add Documentation on relay files in other filesystems Documentation update for creating relay files in other filesystems. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 08c541a7ade230883c48225f4ea406a0117e7c2f tree 23288deb876a8bdd07569d1eb8eacd38585c2932 parent 925ac8a2b637466ba0ad8dfaf7b49aa9a362502f author Tom Zanussi Sun, 08 Jan 2006 01:02:28 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:50 -0800 [PATCH] relayfs: add support for relay files in other filesystems This patch adds a couple of callback functions that allow a client to hook into relay_open()/close() and supply the files that will be used to represent the channel buffers; the default implementation if no callbacks are defined is to create the files in relayfs. This is to support the creation and use of relay files in other filesystems such as debugfs, as implied by the fact that relayfs_file_operations are exported. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 925ac8a2b637466ba0ad8dfaf7b49aa9a362502f tree afedf9758186a5438df75d54394523add74faa9b parent aaea25d7a68a7f72e167dc1698b66a15edc71883 author Tom Zanussi Sun, 08 Jan 2006 01:02:27 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:50 -0800 [PATCH] relayfs: add Documention for non-relay files Documentation update for non-relay files. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aaea25d7a68a7f72e167dc1698b66a15edc71883 tree 2aef3767e751099aa05203fa5e255a639d430f94 parent 51008f9f95a4c3158151a75f88fb03fb0f646aba author Tom Zanussi Sun, 08 Jan 2006 01:02:26 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:50 -0800 [PATCH] relayfs: remove unused alloc/destroy_inode() Since we're no longer using relayfs_inode_info, remove relayfs_alloc_inode() and relayfs_destroy_inode() along with the relayfs inode cache. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 51008f9f95a4c3158151a75f88fb03fb0f646aba tree c4028f7562b36c5e02f40f020a47ae663e21f7cf parent 7431733791feb0b19453d8047b0723c744667040 author Tom Zanussi Sun, 08 Jan 2006 01:02:26 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:49 -0800 [PATCH] relayfs: use generic_ip for private data Use inode->u.generic_ip instead of relayfs_inode_info to store pointer to user data. Clients using relayfs_file_create() to create their own files would probably more expect their data to be stored in generic_ip; we also intend in the next set of patches to get rid of relayfs-specific stuff in the file operations, so we might as well do it here. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7431733791feb0b19453d8047b0723c744667040 tree 9521c656ba72bac4de8e29a8f1c22881c3b3d1ad parent 907f2c77d1653ce235e8e1fd6ce5c46005814e78 author Tom Zanussi Sun, 08 Jan 2006 01:02:25 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:49 -0800 [PATCH] relayfs: add relayfs_remove_file() This patch adds and exports relayfs_remove_file(), for API symmetry (with relayfs_create_file()). Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 907f2c77d1653ce235e8e1fd6ce5c46005814e78 tree dddb1fb14c4be54b066585235c97a36460e8faff parent 6625b861f8f0e429902b8671b3e70792cd99074e author Tom Zanussi Sun, 08 Jan 2006 01:02:24 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:49 -0800 [PATCH] relayfs: export relayfs_create_file() with fileops param This patch adds a mandatory fileops param to relayfs_create_file() and exports that function so that clients can use it to create files defined by their own set of file operations, in relayfs. The purpose is to allow relayfs applications to create their own set of 'control' files alongside their relay files in relayfs rather than having to create them in /proc or debugfs for instance. relayfs_create_file() is also used by relay_open_buf() to create the relay files for a channel. In this case, a pointer to relayfs_file_operations is passed in, along with a pointer to the buffer associated with the file. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6625b861f8f0e429902b8671b3e70792cd99074e tree 0a141b0c15d8ed012d971553acde9f7029adcfe6 parent b33291c0bcecfa44baa905964eec4b8815dcbcdf author Tom Zanussi Sun, 08 Jan 2006 01:02:23 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:49 -0800 [PATCH] relayfs: decouple buffer creation from inode creation The patch series implementa or fixes 3 things that were specifically requested or suggested by relayfs users: - support for non-relay files (patches 1-6) Currently, the relayfs API only supports the creation of directories (relayfs_create_dir()) and relay files (relay_open()). These patches adds support for non-relay files (relayfs_create_file()). This is so relayfs applications can create 'control files' in relayfs itself rather than in /proc or via a netlink channel, as is currently done in the relay-app examples. Basically what this amounts to is exporting relayfs_create_file() with an additional file_ops param that clients can use to supply file operations for their own special-purpose files in relayfs. - make exported relay file ops useful (patches 7-8) The relayfs relay_file_operations have always been exported, the intent being to make it possible to create relay files in other filesystems such as debugfs. The problem, though, is that currently the file operations are too tightly coupled to relayfs to actually be used for this purpose. This patch fixes that by adding a couple of callback functions that allow a client to hook into relay_open()/close() and supply the files that will be used to represent the channel buffers; the default implementation if no callbacks are defined is to create the files in relayfs. - add an option to create global relay buffer (patches 9-10) The file creation callback also supplies an optional param, is_global, that can be used by clients to create a single global relayfs buffer instead of the default per-cpu buffers. This was suggested as being useful for certain debugging applications where it's more convenient to be able to get all the data from a single channel without having to go to the bother of dealing with per-cpu files. - cleanup, some renaming and Documentation updates (patches 11-12) There were several comments that the use of netlink in the example code was non-intuitive and in fact the whole relay-app business was needlessly confusing. Based on that feedback, the example code has been completely converted over to relayfs control files as supported by this patch, and have also been made completely self-contained. The converted examples along with a couple of new examples that demonstrate using exported relay files can be found in relay-apps tarball: http://prdownloads.sourceforge.net/relayfs/relay-apps-0.9.tar.gz?download This patch: Separate buffer create/destroy from inode create/destroy. We want to be able to associate other data and not just relay buffers with inodes. Buffer create/destroy is moved out of inode.c and into relayfs core code. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b33291c0bcecfa44baa905964eec4b8815dcbcdf tree 126c3f84456fd2ee80ef54667615631f7ce31cdc parent b3f3d6141f8636f627bf19fd44eaf59a52637ac8 author Andrew Morton Sun, 08 Jan 2006 01:02:21 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:49 -0800 [PATCH] ipc: expand shm_flags Unobfsucate this struct member Cc: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b3f3d6141f8636f627bf19fd44eaf59a52637ac8 tree 849950ee2e5f3adefeec45d09c8bcf78e1c3e66a parent 095975da26dba21698582e91e96be10f7417333f author Jan Beulich Sun, 08 Jan 2006 01:02:20 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:49 -0800 [PATCH] ELF: symbol table type additions Needed for the Novell kernel debugger and perhaps some per-cpu data on x86_64 in the future. Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 095975da26dba21698582e91e96be10f7417333f tree ce1ffac556d394ef56a18faa97d38f79b07f31e2 parent a57004e1afb6ee03c509f1b1ec74a000682ab93b author Nick Piggin Sun, 08 Jan 2006 01:02:19 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:48 -0800 [PATCH] rcu file: use atomic primitives Use atomic_inc_not_zero for rcu files instead of special case rcuref. Signed-off-by: Nick Piggin Cc: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a57004e1afb6ee03c509f1b1ec74a000682ab93b tree 846112d14bc2ea20ebaf069c83909485fc91655c parent 8382bf2e72d16d0532e351299121ccd3bca0fdd8 author Nick Piggin Sun, 08 Jan 2006 01:02:19 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:48 -0800 [PATCH] atomic: dec_and_lock use atomic primitives Convert atomic_dec_and_lock to use new atomic primitives. Signed-off-by: Nick Piggin Cc: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8382bf2e72d16d0532e351299121ccd3bca0fdd8 tree 4801ff017fdd06f34f81bf8b0ff37a716f1f6c50 parent 97a41e26124330e41aa10ef88cd1711bc3d17460 author Peter Osterlund Sun, 08 Jan 2006 01:02:17 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:48 -0800 [PATCH] pktcdvd: Use bd_claim to get exclusive access Use bd_claim() when opening the cdrom device to prevent user space programs such as cdrecord, hald and kded from interfering with the burning process. Signed-off-by: Peter Osterlund Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 97a41e26124330e41aa10ef88cd1711bc3d17460 tree 1546db361efaf926c7a970e3ec6044ea8d4b6f4c parent b7b4d7a4666454b40b45a853bd1d296af37a85f0 author Adrian Bunk Sun, 08 Jan 2006 01:02:17 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:48 -0800 [PATCH] kernel/: small cleanups This patch contains the following cleanups: - make needlessly global functions static - every file should include the headers containing the prototypes for it's global functions Signed-off-by: Adrian Bunk Acked-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b7b4d7a4666454b40b45a853bd1d296af37a85f0 tree 4049f920642bf2c48a8f1f5c237aef241ef7a8c0 parent 2a10e0b28b196051ae71829e5b989cba00513289 author Adrian Bunk Sun, 08 Jan 2006 01:02:16 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:48 -0800 [PATCH] drivers/isdn/: "extern inline" -> "static inline" "extern inline" -> "static inline" Since there's no pullphone() function this patch removes the dead prototype. Signed-off-by: Adrian Bunk Acked-by: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a10e0b28b196051ae71829e5b989cba00513289 tree 52dfa9a64cfb3dd01fa1ee1150d589481e54e28e parent 28fd129827b00e12829d48a5290f46277600619b author Adrian Bunk Sun, 08 Jan 2006 01:02:15 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:47 -0800 [PATCH] move rtc_interrupt() prototype to rtc.h This patch moves the rtc_interrupt() prototype to rtc.h and removes the prototypes from C files. It also renames static rtc_interrupt() functions in arch/arm/mach-integrator/time.c and arch/sh64/kernel/time.c to avoid compile problems. Signed-off-by: Adrian Bunk Signed-off-by: Paul Gortmaker Acked-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 28fd129827b00e12829d48a5290f46277600619b tree 38e50e1b88965fec41ea5b36aa557fb5c2b1ca73 parent 05eb0b51fb46430050d5873458612f53e0234f2e author OGAWA Hirofumi Sun, 08 Jan 2006 01:02:14 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:47 -0800 [PATCH] Fix and add EXPORT_SYMBOL(filemap_write_and_wait) This patch add EXPORT_SYMBOL(filemap_write_and_wait) and use it. See mm/filemap.c: And changes the filemap_write_and_wait() and filemap_write_and_wait_range(). Current filemap_write_and_wait() doesn't wait if filemap_fdatawrite() returns error. However, even if filemap_fdatawrite() returned an error, it may have submitted the partially data pages to the device. (e.g. in the case of -ENOSPC) Andrew Morton writes, If filemap_fdatawrite() returns an error, this might be due to some I/O problem: dead disk, unplugged cable, etc. Given the generally crappy quality of the kernel's handling of such exceptions, there's a good chance that the filemap_fdatawait() will get stuck in D state forever. So, this patch doesn't wait if filemap_fdatawrite() returns the -EIO. Trond, could you please review the nfs part? Especially I'm not sure, nfs must use the "filemap_fdatawrite(inode->i_mapping) == 0", or not. Acked-by: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05eb0b51fb46430050d5873458612f53e0234f2e tree 88b9398079f53f29dff7533fb27487ae725983b1 parent 268fc16e343b4f8e249468747db2e658da46a814 author OGAWA Hirofumi Sun, 08 Jan 2006 01:02:13 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:47 -0800 [PATCH] fat: support a truncate() for expanding size (generic_cont_expand) This patch changes generic_cont_expand(), in order to share the code with fatfs. - Use vmtruncate() if ->prepare_write() returns a error. Even if ->prepare_write() returns an error, it may already have added some blocks. So, this truncates blocks outside of ->i_size by vmtruncate(). - Add generic_cont_expand_simple(). The generic_cont_expand_simple() assumes that ->prepare_write() can handle the block boundary. With this, we don't need to care the extra byte. And for expanding a file size by truncate(), fatfs uses the added generic_cont_expand_simple(). Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 268fc16e343b4f8e249468747db2e658da46a814 tree 871a1b1ad8250d1f5b0e4585fe32d00f90443bd3 parent e5174baaea7585760f02eef23b225847d209a8db author OGAWA Hirofumi Sun, 08 Jan 2006 01:02:12 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:47 -0800 [PATCH] export/change sync_page_range/_nolock() This exports/changes the sync_page_range/_nolock(). The fatfs needs sync_page_range/_nolock() for expanding truncate, and changes "size_t count" to "loff_t count". Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e5174baaea7585760f02eef23b225847d209a8db tree 34198b0f205a91670104abc800ec560e14296db3 parent 7c709d00d614d0f2b6a80895b2a1aedbe04e8478 author OGAWA Hirofumi Sun, 08 Jan 2006 01:02:11 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:46 -0800 [PATCH] fat: support ->direct_IO() This patch add to support of ->direct_IO() for mostly read. The user of this seems to want to use for streaming read. So, current direct I/O has limitation, it can only overwrite. (For write operation, mainly we need to handle the hole etc..) Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c709d00d614d0f2b6a80895b2a1aedbe04e8478 tree ba564dbc9f9d67c61b285eee4f856e0b26903127 parent a5425d2927a6a771f9ae8767b6bfb3c09225bcdd author OGAWA Hirofumi Sun, 08 Jan 2006 01:02:10 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:46 -0800 [PATCH] fat: s/EXPORT_SYMBOL/EXPORT_SYMBOL_GPL/ All EXPORT_SYMBOL of fatfs is only for vfat/msdos. _GPL would be proper. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a5425d2927a6a771f9ae8767b6bfb3c09225bcdd tree 52a68076b8cb684d9f094c5518749fa9ec2d1fd3 parent 83b7c996dc859c7b53f94d46ee5c5929cc0399e2 author OGAWA Hirofumi Sun, 08 Jan 2006 01:02:10 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:46 -0800 [PATCH] fat: add the read/writepages() Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 83b7c996dc859c7b53f94d46ee5c5929cc0399e2 tree ba13936ebf2fe9abfdd53fc801b611db97ba65ff parent a6bf6b211cdb92c315c24719a522d8b6f3998210 author OGAWA Hirofumi Sun, 08 Jan 2006 01:02:09 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:46 -0800 [PATCH] fat: use sb_find_get_block() instead of sb_getblk() We don't need to allocate buffer for checking the buffer is uptodate. This use sb_find_get_block() instead, and if it returns NULL it's not uptodate. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6bf6b211cdb92c315c24719a522d8b6f3998210 tree f6719d61b5766014d137a00cc346c1f5d0902869 parent 9ded96f24c3a5fcbef954e88c443385a1af37eb9 author OGAWA Hirofumi Sun, 08 Jan 2006 01:02:08 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:46 -0800 [PATCH] fat: move fat_clusters_flush() to write_super() It is overkill to update the FS_INFO whenever modifying prev_free/free_clusters, because those are just a hint. So, this patch uses ->write_super() for updating FS_INFO instead. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ded96f24c3a5fcbef954e88c443385a1af37eb9 tree 49f43337e2b8d63a5a28402a15d99fe27d8d2a1c parent 705b6c7b34f2621f95f606d0e683daa10cdb8eb9 author Russell King Sun, 08 Jan 2006 01:02:07 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:46 -0800 [PATCH] IRQ type flags Some ARM platforms have the ability to program the interrupt controller to detect various interrupt edges and/or levels. For some platforms, this is critical to setup correctly, particularly those which the setting is dependent on the device. Currently, ARM drivers do (eg) the following: err = request_irq(irq, ...); set_irq_type(irq, IRQT_RISING); However, if the interrupt has previously been programmed to be level sensitive (for whatever reason) then this will cause an interrupt storm. Hence, if we combine set_irq_type() with request_irq(), we can then safely set the type prior to unmasking the interrupt. The unfortunate problem is that in order to support this, these flags need to be visible outside of the ARM architecture - drivers such as smc91x need these flags and they're cross-architecture. Finally, the SA_TRIGGER_* flag passed to request_irq() should reflect the property that the device would like. The IRQ controller code should do its best to select the most appropriate supported mode. Signed-off-by: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 705b6c7b34f2621f95f606d0e683daa10cdb8eb9 tree 70c93fddc9534f5c9e8b22b79d07ea70747725b3 parent de25968cc87cc5b76d09de8b4cbddc8f24fcf5f7 author Paul Fulghum Sun, 08 Jan 2006 01:02:06 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:45 -0800 [PATCH] new driver synclink_gt New character device driver for the SyncLink GT and SyncLink AC families of synchronous and asynchronous serial adapters Signed-off-by: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de25968cc87cc5b76d09de8b4cbddc8f24fcf5f7 tree 1435a31f422039999b728ab326145a2bd5912d4e parent 03a285f58064b8e0af08383e082e383753d9c33e author Tim Schmielau Sun, 08 Jan 2006 01:02:05 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:45 -0800 [PATCH] fix more missing includes Include fixes for 2.6.14-git11. Should allow to remove sched.h from module.h on i386, x86_64, arm, ia64, ppc, ppc64, and s390. Probably more to come since I haven't yet checked the other archs. Signed-off-by: Tim Schmielau Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 03a285f58064b8e0af08383e082e383753d9c33e tree af458f3357d4e2d01dc04d2d41a7dd7d502c4755 parent 7edc59628b2f5d6516b4677b3b56f5f056e45cd9 author Paul Jackson Sun, 08 Jan 2006 01:02:04 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:45 -0800 [PATCH] cpuset: skip rcu check if task is in root cpuset For systems that aren't using cpusets, but have them CONFIG_CPUSET enabled in their kernel (eventually this may be most distribution kernels), this patch removes even the minimal rcu_read_lock() from the memory page allocation path. Actually, it removes that rcu call for any task that is in the root cpuset (top_cpuset), which on systems not actively using cpusets, is all tasks. We don't need the rcu check for tasks in the top_cpuset, because the top_cpuset is statically allocated, so at no risk of being freed out from underneath us. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7edc59628b2f5d6516b4677b3b56f5f056e45cd9 tree cc0f07bc07156c6f805a72c39ae2d5655a97fede parent 6b9c2603ce07f70de9c7a8d335ecd028e8ff11f3 author Paul Jackson Sun, 08 Jan 2006 01:02:03 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:45 -0800 [PATCH] cpuset: mark number_of_cpusets read_mostly Mark cpuset global 'number_of_cpusets' as __read_mostly. This global is accessed everytime a zone is considered in the zonelist loops beneath __alloc_pages, looking for a free memory page. If number_of_cpusets is just one, then we can short circuit the mems_allowed check. Since this global is read alot on a hot path, and written rarely, it is an excellent candidate for __read_mostly. Thanks to Christoph Lameter for the suggestion. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b9c2603ce07f70de9c7a8d335ecd028e8ff11f3 tree 38b009da71a1f93bbda8621c7d2721c18913260d parent c417f0242ebe578924a30d4e53d35b5059fed4e7 author Paul Jackson Sun, 08 Jan 2006 01:02:02 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:45 -0800 [PATCH] cpuset: use rcu directly optimization Optimize the cpuset impact on page allocation, the most performance critical cpuset hook in the kernel. On each page allocation, the cpuset hook needs to check for a possible change in the current tasks cpuset. It can now handle the common case, of no change, without taking any spinlock or semaphore, thanks to RCU. Convert a spinlock on the current task to an rcu_read_lock(), saving approximately a memory barrier and an atomic op, depending on architecture. This is done by adding rcu_assign_pointer() and synchronize_rcu() calls to the write side of the task->cpuset pointer, in cpuset.c:attach_task(), to delay freeing up a detached cpuset until after any critical sections referencing that pointer. Thanks to Andi Kleen, Nick Piggin and Eric Dumazet for ideas. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c417f0242ebe578924a30d4e53d35b5059fed4e7 tree 3058c7c79aedb11e7013f5faca34eb07e9a761bd parent 04c19fa6f16047abff2288ddbc1f0798ede5a849 author Paul Jackson Sun, 08 Jan 2006 01:02:01 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:44 -0800 [PATCH] cpuset: remove test for null cpuset from alloc code path Remove a couple of more lines of code from the cpuset hooks in the page allocation code path. There was a check for a NULL cpuset pointer in the routine cpuset_update_task_memory_state() that was only needed during system boot, after the memory subsystem was initialized, before the cpuset subsystem was initialized, to catch a NULL task->cpuset pointer. Add a cpuset_init_early() routine, just before the mem_init() call in init/main.c, that sets up just enough of the init tasks cpuset structure to render cpuset_update_task_memory_state() calls harmless. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 04c19fa6f16047abff2288ddbc1f0798ede5a849 tree 4c4f109d919042b300ac907a8fde64b822faa7aa parent 4225399a66b315d4d1fb1cb61b75dda201c832e3 author Paul Jackson Sun, 08 Jan 2006 01:02:00 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:44 -0800 [PATCH] cpuset: migrate all tasks in cpuset at once Given the mechanism in the previous patch to handle rebinding the per-vma mempolicies of all tasks in a cpuset that changes its memory placement, it is now easier to handle the page migration requirements of such tasks at the same time. The previous code didn't actually attempt to migrate the pages of the tasks in a cpuset whose memory placement changed until the next time each such task tried to allocate memory. This was undesirable, as users invoking memory page migration exected to happen when the placement changed, not some unspecified time later when the task needed more memory. It is now trivial to handle the page migration at the same time as the per-vma rebinding is done. The routine cpuset.c:update_nodemask(), which handles changing a cpusets memory placement ('mems') now checks for the special case of being asked to write a placement that is the same as before. It was harmless enough before to just recompute everything again, even though nothing had changed. But page migration is a heavy weight operation - moving pages about. So now it is worth avoiding that if asked to move a cpuset to its current location. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4225399a66b315d4d1fb1cb61b75dda201c832e3 tree c8bd976bc6590c5fe859c6129abb93072d99cfa8 parent 202f72d5d1b5c2c084f63ef996c736d208b447b5 author Paul Jackson Sun, 08 Jan 2006 01:01:59 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:44 -0800 [PATCH] cpuset: rebind vma mempolicies fix Fix more of longstanding bug in cpuset/mempolicy interaction. NUMA mempolicies (mm/mempolicy.c) are constrained by the current tasks cpuset to just the Memory Nodes allowed by that cpuset. The kernel maintains internal state for each mempolicy, tracking what nodes are used for the MPOL_INTERLEAVE, MPOL_BIND or MPOL_PREFERRED policies. When a tasks cpuset memory placement changes, whether because the cpuset changed, or because the task was attached to a different cpuset, then the tasks mempolicies have to be rebound to the new cpuset placement, so as to preserve the cpuset-relative numbering of the nodes in that policy. An earlier fix handled such mempolicy rebinding for mempolicies attached to a task. This fix rebinds mempolicies attached to vma's (address ranges in a tasks address space.) Due to the need to hold the task->mm->mmap_sem semaphore while updating vma's, the rebinding of vma mempolicies has to be done when the cpuset memory placement is changed, at which time mmap_sem can be safely acquired. The tasks mempolicy is rebound later, when the task next attempts to allocate memory and notices that its task->cpuset_mems_generation is out-of-date with its cpusets mems_generation. Because walking the tasklist to find all tasks attached to a changing cpuset requires holding tasklist_lock, a spinlock, one cannot update the vma's of the affected tasks while doing the tasklist scan. In general, one cannot acquire a semaphore (which can sleep) while already holding a spinlock (such as tasklist_lock). So a list of mm references has to be built up during the tasklist scan, then the tasklist lock dropped, then for each mm, its mmap_sem acquired, and the vma's in that mm rebound. Once the tasklist lock is dropped, affected tasks may fork new tasks, before their mm's are rebound. A kernel global 'cpuset_being_rebound' is set to point to the cpuset being rebound (there can only be one; cpuset modifications are done under a global 'manage_sem' semaphore), and the mpol_copy code that is used to copy a tasks mempolicies during fork catches such forking tasks, and ensures their children are also rebound. When a task is moved to a different cpuset, it is easier, as there is only one task involved. It's mm->vma's are scanned, using the same mpol_rebind_policy() as used above. It may happen that both the mpol_copy hook and the update done via the tasklist scan update the same mm twice. This is ok, as the mempolicies of each vma in an mm keep track of what mems_allowed they are relative to, and safely no-op a second request to rebind to the same nodes. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 202f72d5d1b5c2c084f63ef996c736d208b447b5 tree f50551f9588f9090fee17130614e17a2dd64c656 parent 74cb21553f4bf244185b9bec4c26e4e3169ad55e author Paul Jackson Sun, 08 Jan 2006 01:01:57 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:44 -0800 [PATCH] cpuset: number_of_cpusets optimization Easy little optimization hack to avoid actually having to call cpuset_zone_allowed() and check mems_allowed, in the main page allocation routine, __alloc_pages(). This saves several CPU cycles per page allocation on systems not using cpusets. A counter is updated each time a cpuset is created or removed, and whenever there is only one cpuset in the system, it must be the root cpuset, which contains all CPUs and all Memory Nodes. In that case, when the counter is one, all allocations are allowed. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74cb21553f4bf244185b9bec4c26e4e3169ad55e tree 3f8f13e8dacc8f0876b01f62765a123ce1722b17 parent 909d75a3b77bdd8baa9429bad3b69a654d2954ce author Paul Jackson Sun, 08 Jan 2006 01:01:56 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:44 -0800 [PATCH] cpuset: numa_policy_rebind cleanup Cleanup, reorganize and make more robust the mempolicy.c code to rebind mempolicies relative to the containing cpuset after a tasks memory placement changes. The real motivator for this cleanup patch is to lay more groundwork for the upcoming patch to correctly rebind NUMA mempolicies that are attached to vma's after the containing cpuset memory placement changes. NUMA mempolicies are constrained by the cpuset their task is a member of. When either (1) a task is moved to a different cpuset, or (2) the 'mems' mems_allowed of a cpuset is changed, then the NUMA mempolicies have embedded node numbers (for MPOL_BIND, MPOL_INTERLEAVE and MPOL_PREFERRED) that need to be recalculated, relative to their new cpuset placement. The old code used an unreliable method of determining what was the old mems_allowed constraining the mempolicy. It just looked at the tasks mems_allowed value. This sort of worked with the present code, that just rebinds the -task- mempolicy, and leaves any -vma- mempolicies broken, referring to the old nodes. But in an upcoming patch, the vma mempolicies will be rebound as well. Then the order in which the various task and vma mempolicies are updated will no longer be deterministic, and one can no longer count on the task->mems_allowed holding the old value for as long as needed. It's not even clear if the current code was guaranteed to work reliably for task mempolicies. So I added a mems_allowed field to each mempolicy, stating exactly what mems_allowed the policy is relative to, and updated synchronously and reliably anytime that the mempolicy is rebound. Also removed a useless wrapper routine, numa_policy_rebind(), and had its caller, cpuset_update_task_memory_state(), call directly to the rewritten policy_rebind() routine, and made that rebind routine extern instead of static, and added a "mpol_" prefix to its name, making it mpol_rebind_policy(). Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 909d75a3b77bdd8baa9429bad3b69a654d2954ce tree f9955ff697b7569fc75e5b8683d886315f34ac49 parent cf2a473c4089aa41c26f653200673f5a4cc25047 author Paul Jackson Sun, 08 Jan 2006 01:01:55 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:44 -0800 [PATCH] cpuset: implement cpuset_mems_allowed Provide a cpuset_mems_allowed() method, which the sys_migrate_pages() code needed, to obtain the mems_allowed vector of a cpuset, and replaced the workaround in sys_migrate_pages() to call this new method. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf2a473c4089aa41c26f653200673f5a4cc25047 tree 0bce21f4684a382b13e93ba5b85409cf5eab1c2c parent b4b2641843db124637fa3d2cb2101982035dcc82 author Paul Jackson Sun, 08 Jan 2006 01:01:54 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:43 -0800 [PATCH] cpuset: combine refresh_mems and update_mems The important code paths through alloc_pages_current() and alloc_page_vma(), by which most kernel page allocations go, both called cpuset_update_current_mems_allowed(), which in turn called refresh_mems(). -Both- of these latter two routines did a tasklock, got the tasks cpuset pointer, and checked for out of date cpuset->mems_generation. That was a silly duplication of code and waste of CPU cycles on an important code path. Consolidated those two routines into a single routine, called cpuset_update_task_memory_state(), since it updates more than just mems_allowed. Changed all callers of either routine to call the new consolidated routine. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b4b2641843db124637fa3d2cb2101982035dcc82 tree fe8ed223f2e1828a6d14090711bad1c864aded09 parent 59dac16fb95f09253b8086134443abeb439703cd author Paul Jackson Sun, 08 Jan 2006 01:01:53 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:43 -0800 [PATCH] cpuset: fork hook fix Fix obscure, never seen in real life, cpuset fork race. The cpuset_fork() call in fork.c was setting up the correct task->cpuset pointer after the tasklist_lock was dropped, which briefly exposed the newly forked process with an unsafe (copied from parent without locks or usage counter increment) cpuset pointer. In theory, that exposed cpuset pointer could have been pointing at a cpuset that was already freed and removed, and in theory another task that had been sitting on the tasklist_lock waiting to scan the task list could have raced down the entire tasklist, found our new child at the far end, and dereferenced that bogus cpuset pointer. To fix, setup up the correct cpuset pointer in the new child by calling cpuset_fork() before the new task is linked into the tasklist, and with that, add a fork failure case, to dereference that cpuset, if the fork fails along the way, after cpuset_fork() was called. Had to remove a BUG_ON() from cpuset_exit(), because it was no longer valid - the call to cpuset_exit() from a failed fork would not have PF_EXITING set. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 59dac16fb95f09253b8086134443abeb439703cd tree 25491bdcff6f980edfed259d7edadeb273a27ee3 parent c5b2aff89635495064592dc90da595f8a880ee87 author Paul Jackson Sun, 08 Jan 2006 01:01:52 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:43 -0800 [PATCH] cpuset: update_nodemask code reformat Restructure code layout of the kernel/cpuset.c update_nodemask() routine, removing embedded returns and nested if's in favor of goto completion labels. This is being done in anticipation of adding more logic to this routine, which will favor the goto style structure. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c5b2aff89635495064592dc90da595f8a880ee87 tree 2a796593bd675979bbad88ddd4de1a11f120bf62 parent 90c9cc4043fd8454d11886379f841f70e176698e author Paul Jackson Sun, 08 Jan 2006 01:01:51 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:43 -0800 [PATCH] cpuset: minor spacing initializer fixes Four trivial cpuset fixes: remove extra spaces, remove useless initializers, mark one __read_mostly. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 90c9cc4043fd8454d11886379f841f70e176698e tree cec3cf3e440dd71aaec842e6f54fa3113284f8ba parent bd5e09cf7054878a3db6a8c8bab1c2fabcd4f072 author Paul Jackson Sun, 08 Jan 2006 01:01:51 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:43 -0800 [PATCH] cpuset: remove marker_pid documentation Remove documentation for the cpuset 'marker_pid' feature, that was in the patch "cpuset: change marker for relative numbering" That patch was previously pulled from *-mm at my (pj) request. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bd5e09cf7054878a3db6a8c8bab1c2fabcd4f072 tree 8038087b61ba0852495d20561bc227f0c3ae04f2 parent 3e0d98b9f1eb757fc98efc84e74e54a08308aa73 author Paul Jackson Sun, 08 Jan 2006 01:01:50 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:43 -0800 [PATCH] cpuset: document additional features Document the additional cpuset features: notify_on_release marker_pid memory_pressure memory_pressure_enabled Rearrange and improve formatting of existing documentation for cpu_exclusive and mem_exclusive features. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e0d98b9f1eb757fc98efc84e74e54a08308aa73 tree 7cf1c75994f734ede7ec89373de640c4a58b237a parent 5966514db662fb24c9bb43226a80106bcffd51f8 author Paul Jackson Sun, 08 Jan 2006 01:01:49 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:42 -0800 [PATCH] cpuset: memory pressure meter Provide a simple per-cpuset metric of memory pressure, tracking the -rate- that the tasks in a cpuset call try_to_free_pages(), the synchronous (direct) memory reclaim code. This enables batch managers monitoring jobs running in dedicated cpusets to efficiently detect what level of memory pressure that job is causing. This is useful both on tightly managed systems running a wide mix of submitted jobs, which may choose to terminate or reprioritize jobs that are trying to use more memory than allowed on the nodes assigned them, and with tightly coupled, long running, massively parallel scientific computing jobs that will dramatically fail to meet required performance goals if they start to use more memory than allowed to them. This patch just provides a very economical way for the batch manager to monitor a cpuset for signs of memory pressure. It's up to the batch manager or other user code to decide what to do about it and take action. ==> Unless this feature is enabled by writing "1" to the special file /dev/cpuset/memory_pressure_enabled, the hook in the rebalance code of __alloc_pages() for this metric reduces to simply noticing that the cpuset_memory_pressure_enabled flag is zero. So only systems that enable this feature will compute the metric. Why a per-cpuset, running average: Because this meter is per-cpuset, rather than per-task or mm, the system load imposed by a batch scheduler monitoring this metric is sharply reduced on large systems, because a scan of the tasklist can be avoided on each set of queries. Because this meter is a running average, instead of an accumulating counter, a batch scheduler can detect memory pressure with a single read, instead of having to read and accumulate results for a period of time. Because this meter is per-cpuset rather than per-task or mm, the batch scheduler can obtain the key information, memory pressure in a cpuset, with a single read, rather than having to query and accumulate results over all the (dynamically changing) set of tasks in the cpuset. A per-cpuset simple digital filter (requires a spinlock and 3 words of data per-cpuset) is kept, and updated by any task attached to that cpuset, if it enters the synchronous (direct) page reclaim code. A per-cpuset file provides an integer number representing the recent (half-life of 10 seconds) rate of direct page reclaims caused by the tasks in the cpuset, in units of reclaims attempted per second, times 1000. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5966514db662fb24c9bb43226a80106bcffd51f8 tree 9c6d8f4f6fee0d6574de7e225141d37b28811dc3 parent 96b7f34143c2c823a6a750fcb758fc66c44945d2 author Paul Jackson Sun, 08 Jan 2006 01:01:47 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:42 -0800 [PATCH] cpuset: mempolicy one more nodemask conversion Finish converting mm/mempolicy.c from bitmaps to nodemasks. The previous conversion had left one routine using bitmaps, since it involved a corresponding change to kernel/cpuset.c Fix that interface by replacing with a simple macro that calls nodes_subset(), or if !CONFIG_CPUSET, returns (1). Signed-off-by: Paul Jackson Cc: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96b7f34143c2c823a6a750fcb758fc66c44945d2 tree a17cadb13e4eeb555f32186579d5d174cf51796b parent 10cef6029502915bdb3cf0821d425cf9dc30c817 author Paul Jackson Sun, 08 Jan 2006 01:01:46 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:42 -0800 [PATCH] cpuset: better bitmap remap defaults Fix the default behaviour for the remap operators in bitmap, cpumask and nodemask. As previously submitted, the pair of masks defined a map of the positions of the set bits in A to the corresponding bits in B. This is still true. The issue is how to map the other positions, corresponding to the unset (0) bits in A. As previously submitted, they were all mapped to the first set bit position in B, a constant map. When I tried to code per-vma mempolicy rebinding using these remap operators, I realized this was wrong. This patch changes the default to map all the unset bit positions in A to the same positions in B, the identity map. For example, if A has bits 4-7 set, and B has bits 9-12 set, then the map defined by the pair maps each bit position in the first 32 bits as follows: 0 ==> 0 ... 3 ==> 3 4 ==> 9 ... 7 ==> 12 8 ==> 8 9 ==> 9 ... 31 ==> 31 This now corresponds to the typical behaviour desired when migrating pages and policies from one cpuset to another. The pages on nodes within the original cpuset, and the references in memory policies to nodes within the original cpuset, are migrated to the corresponding cpuset-relative nodes in the destination cpuset. Other pages and node references are left untouched. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 10cef6029502915bdb3cf0821d425cf9dc30c817 tree 2c9dfef95d58b64dcf4cdf3c32b18164928b438e parent 30992c97ae9d01b17374fbfab76a869fb4bba500 author Matt Mackall Sun, 08 Jan 2006 01:01:45 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:41 -0800 [PATCH] slob: introduce the SLOB allocator configurable replacement for slab allocator This adds a CONFIG_SLAB option under CONFIG_EMBEDDED. When CONFIG_SLAB is disabled, the kernel falls back to using the 'SLOB' allocator. SLOB is a traditional K&R/UNIX allocator with a SLAB emulation layer, similar to the original Linux kmalloc allocator that SLAB replaced. It's signicantly smaller code and is more memory efficient. But like all similar allocators, it scales poorly and suffers from fragmentation more than SLAB, so it's only appropriate for small systems. It's been tested extensively in the Linux-tiny tree. I've also stress-tested it with make -j 8 compiles on a 3G SMP+PREEMPT box (not recommended). Here's a comparison for otherwise identical builds, showing SLOB saving nearly half a megabyte of RAM: $ size vmlinux* text data bss dec hex filename 3336372 529360 190812 4056544 3de5e0 vmlinux-slab 3323208 527948 190684 4041840 3dac70 vmlinux-slob $ size mm/{slab,slob}.o text data bss dec hex filename 13221 752 48 14021 36c5 mm/slab.o 1896 52 8 1956 7a4 mm/slob.o /proc/meminfo: SLAB SLOB delta MemTotal: 27964 kB 27980 kB +16 kB MemFree: 24596 kB 25092 kB +496 kB Buffers: 36 kB 36 kB 0 kB Cached: 1188 kB 1188 kB 0 kB SwapCached: 0 kB 0 kB 0 kB Active: 608 kB 600 kB -8 kB Inactive: 808 kB 812 kB +4 kB HighTotal: 0 kB 0 kB 0 kB HighFree: 0 kB 0 kB 0 kB LowTotal: 27964 kB 27980 kB +16 kB LowFree: 24596 kB 25092 kB +496 kB SwapTotal: 0 kB 0 kB 0 kB SwapFree: 0 kB 0 kB 0 kB Dirty: 4 kB 12 kB +8 kB Writeback: 0 kB 0 kB 0 kB Mapped: 560 kB 556 kB -4 kB Slab: 1756 kB 0 kB -1756 kB CommitLimit: 13980 kB 13988 kB +8 kB Committed_AS: 4208 kB 4208 kB 0 kB PageTables: 28 kB 28 kB 0 kB VmallocTotal: 1007312 kB 1007312 kB 0 kB VmallocUsed: 48 kB 48 kB 0 kB VmallocChunk: 1007264 kB 1007264 kB 0 kB (this work has been sponsored in part by CELF) From: Ingo Molnar Fix 32-bitness bugs in mm/slob.c. Signed-off-by: Matt Mackall Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30992c97ae9d01b17374fbfab76a869fb4bba500 tree b1ea66bec56fabd80571696d0b081423dcab2340 parent 50dd26ba0947aa653f0e42897aad7a4adce4e620 author Matt Mackall Sun, 08 Jan 2006 01:01:43 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:41 -0800 [PATCH] slob: introduce mm/util.c for shared functions Add mm/util.c for functions common between SLAB and SLOB. Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 50dd26ba0947aa653f0e42897aad7a4adce4e620 tree c9d0e0b03024ceb4098311a1fe557038c6497089 parent a5f51c966720fa519c6ce69b169107dbc5769cdf author Ingo Molnar Sun, 08 Jan 2006 01:01:42 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:41 -0800 [PATCH] DEBUG_SLAB depends on SLAB Make DEBUG_SLAB depend on SLAB. Signed-off-by: Ingo Molnar Cc: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a5f51c966720fa519c6ce69b169107dbc5769cdf tree 084928ba54750ba3959e376988b503f02ca698b8 parent d5274261ea46f0aae93820fe36628249120d2f75 author Nick Piggin Sun, 08 Jan 2006 01:01:41 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:41 -0800 [PATCH] radix-tree: reduce tree height upon partial truncation Shrink the height of a radix tree when it is partially truncated - we only do shrinkage of full truncation at present. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5274261ea46f0aae93820fe36628249120d2f75 tree e95c41295270c55ef27a3534894f066f31719ecc parent 6e954b9e90c3a7157c0c1457dd3919e2a1345d23 author Nick Piggin Sun, 08 Jan 2006 01:01:41 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:41 -0800 [PATCH] radix tree: early termination of tag clearing Correctly determine the tags to be cleared in radix_tree_delete() so we don't keep moving up the tree clearing tags that we don't need to. For example, if a tag is simply not set in the deleted item, nor anywhere up the tree, radix_tree_delete() would attempt to clear it up the entire height of the tree. Also, tag_set() was made conditional so as not to dirty too many cachelines high up in the radix tree. Instead, put this logic into radix_tree_tag_set(). Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e954b9e90c3a7157c0c1457dd3919e2a1345d23 tree 61812f63c0b9a354fb9e7f8e9c11cb350afc4c4f parent d4829cd5b4bd1ea58ba1bebad44d562f4027c290 author Nick Piggin Sun, 08 Jan 2006 01:01:40 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:41 -0800 [PATCH] radix tree: code consolidation Introduce helper any_tag_set() rather than repeat the same code sequence 4 times. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d4829cd5b4bd1ea58ba1bebad44d562f4027c290 tree c60f85fdb0233d7a8574b203aeac96d7570c583f parent 2d89c929078588aa9b9c674ef03ee9aa816b59b8 author Paul E. McKenney Sun, 08 Jan 2006 01:01:39 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:40 -0800 [PATCH] remove get_task_struct_rcu() The latest set of signal-RCU patches does not use get_task_struct_rcu(). Attached is a patch that removes it. Signed-off-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d89c929078588aa9b9c674ef03ee9aa816b59b8 tree 129971e5c75545c53236be294f521ec6e7021a2d parent e56d090310d7625ecb43a1eeebd479f04affb48b author Paul E. McKenney Sun, 08 Jan 2006 01:01:38 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:40 -0800 [PATCH] Simpler signal-exit concurrency handling Some simplification in checking signal delivery against concurrent exit. Instead of using get_task_struct_rcu(), which increments the task_struct reference count, check the reference count after acquiring sighand lock. Signed-off-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e56d090310d7625ecb43a1eeebd479f04affb48b tree 2f479215dff4a2d8f3a9ed85200a5bc4f51534be parent 4369ef3c3e9d3bd9b879580678778f558d481e90 author Ingo Molnar Sun, 08 Jan 2006 01:01:37 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:40 -0800 [PATCH] RCU signal handling RCU tasklist_lock and RCU signal handling: send signals RCU-read-locked instead of tasklist_lock read-locked. This is a scalability improvement on SMP and a preemption-latency improvement under PREEMPT_RCU. Signed-off-by: Paul E. McKenney Signed-off-by: Ingo Molnar Acked-by: William Irwin Cc: Roland McGrath Cc: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4369ef3c3e9d3bd9b879580678778f558d481e90 tree 32b443b32c6de858c419f75dad07c46028359afe parent eafbaa94691f6a1fa67c3b076caa3ce4e2920100 author Paul E. McKenney Sun, 08 Jan 2006 01:01:35 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:40 -0800 [PATCH] Make RCU task_struct safe for oprofile Applying RCU to the task structure broke oprofile, because free_task_notify() can now be called from softirq. This means that the task_mortuary lock must be acquired with irq disabled in order to avoid intermittent self-deadlock. Since irq is now disabled, the critical section within process_task_mortuary() has been restructured to be O(1) in order to maximize scalability and minimize realtime latency degradation. Kudos to Wu Fengguang for finding this problem! CC: Wu Fengguang Cc: Philippe Elie Cc: John Levon Signed-off-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eafbaa94691f6a1fa67c3b076caa3ce4e2920100 tree 3534b420ba7f1465265277b99b0b5f282d38facb parent c0a689d05d8dc1580aeb87b2959e3de8c57f5f77 author Adrian Bunk Sun, 08 Jan 2006 01:01:34 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:40 -0800 [PATCH] uml: prevent MODE_SKAS=n and MODE_TT=n If MODE_TT=n, MODE_SKAS must be y. Signed-off-by: Adrian Bunk Acked-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c0a689d05d8dc1580aeb87b2959e3de8c57f5f77 tree 05e8b4f18f90a9b2b6cebed72cb668808c94cafb parent f8aaeacec159f2d9003872781fa4d49659e347fb author Jeff Dike Sun, 08 Jan 2006 01:01:33 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:40 -0800 [PATCH] uml: whitespace cleanup This fixes some mangled whitespace added by the earlier trap_user.c patch. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f8aaeacec159f2d9003872781fa4d49659e347fb tree f59dc7ae8fccc41e2ded098182a146086c6e2239 parent c66fdd5e324392584c6f11de65cfe24b0e2d9303 author Jeff Dike Sun, 08 Jan 2006 01:01:32 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:39 -0800 [PATCH] consolidate asm/futex.h Most of the architectures have the same asm/futex.h. This consolidates them into asm-generic, with the arches including it from their own asm/futex.h. In the case of UML, this reverts the old broken futex.h and goes back to using the same one as almost everyone else. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c66fdd5e324392584c6f11de65cfe24b0e2d9303 tree f05cb784406c0a0cb24d291e515dfcaa3e4b6464 parent ea2ba7dc3dd3f85034e6da6abacc813d723a2ad5 author Gennady Sharapov Sun, 08 Jan 2006 01:01:32 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:39 -0800 [PATCH] uml: merge trap_user.c and trap_kern.c The serial UML OS-abstraction layer patch (um/kernel dir). This joins trap_user.c and trap_kernel.c files. Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ea2ba7dc3dd3f85034e6da6abacc813d723a2ad5 tree 56f3d2a22d3ba3d91042d9a536b659b9c967dc03 parent 0805d89c151b4800eade4c2f50d39c5253d7d054 author Gennady Sharapov Sun, 08 Jan 2006 01:01:31 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:39 -0800 [PATCH] uml: move libc-dependent code from trap_user.c The serial UML OS-abstraction layer patch (um/kernel dir). This moves all systemcalls from trap_user.c file under os-Linux dir Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0805d89c151b4800eade4c2f50d39c5253d7d054 tree 3ff8a48973e266f5e9eccf6aa38c80282aef12ca parent b2de464f7f0006bec162559a8db161869d32ee93 author Gennady Sharapov Sun, 08 Jan 2006 01:01:29 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:39 -0800 [PATCH] uml: move libc-dependent code from signal_user.c The serial UML OS-abstraction layer patch (um/kernel dir). This moves all systemcalls from signal_user.c file under os-Linux dir Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b2de464f7f0006bec162559a8db161869d32ee93 tree 7770b8cff75fc64ad08607897484bf1128bea531 parent 1fd73c6b6737b7e6eacac1b00dac16e7540c3cb1 author Woody Suwalski Sun, 08 Jan 2006 01:01:29 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:39 -0800 [PATCH] ARM: Netwinder ds1620 driver needs an export to be built as module ds1620 module is using gpio_read symbol, so works only if "built-in" symbol needs to be exported from the kernel image Signed-off-by: Woody Suwalski Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1fd73c6b6737b7e6eacac1b00dac16e7540c3cb1 tree e66dbe34118b289c6f89a23764e355ea62fa2c62 parent 22fc6eccbf4ce4eb6265e6ada7b50a7b9cc57d05 author Ravikiran G Thirumalai Sun, 08 Jan 2006 01:01:28 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:39 -0800 [PATCH] Kill L1_CACHE_SHIFT_MAX Kill L1_CACHE_SHIFT from all arches. Since L1_CACHE_SHIFT_MAX is not used anymore with the introduction of INTERNODE_CACHE, kill L1_CACHE_SHIFT_MAX. Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22fc6eccbf4ce4eb6265e6ada7b50a7b9cc57d05 tree 3887dc6f1eeb658d773be037971b98d6f5fb3dd7 parent 6d524aed1f50b2b1d5b4ad5a4e2fe3f38106d0a6 author Ravikiran G Thirumalai Sun, 08 Jan 2006 01:01:27 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:38 -0800 [PATCH] Change maxaligned_in_smp alignemnt macros to internodealigned_in_smp macros ____cacheline_maxaligned_in_smp is currently used to align critical structures and avoid false sharing. It uses per-arch L1_CACHE_SHIFT_MAX and people find L1_CACHE_SHIFT_MAX useless. However, we have been using ____cacheline_maxaligned_in_smp to align structures on the internode cacheline size. As per Andi's suggestion, following patch kills ____cacheline_maxaligned_in_smp and introduces INTERNODE_CACHE_SHIFT, which defaults to L1_CACHE_SHIFT for all arches. Arches needing L3/Internode cacheline alignment can define INTERNODE_CACHE_SHIFT in the arch asm/cache.h. Patch replaces ____cacheline_maxaligned_in_smp with ____cacheline_internodealigned_in_smp With this patch, L1_CACHE_SHIFT_MAX can be killed Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d524aed1f50b2b1d5b4ad5a4e2fe3f38106d0a6 tree 8b7e5fda1475286379e4cb4b18dc9fdad87888ca parent 2087ff3ec56eba9bccd3b3a9d4d42670b1543f5d author David Howells Sun, 08 Jan 2006 01:01:26 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:38 -0800 [PATCH] frv: fix uninitialised variable in serverworks driver Fix an uninitialised variable warning in the serverworks driver. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2087ff3ec56eba9bccd3b3a9d4d42670b1543f5d tree 10c0604f610a583a6ad7077453799a15e5400cb5 parent 41be6aef38c08f1f85ac1c4bd8191b0d1ec61b4c author David Howells Sun, 08 Jan 2006 01:01:25 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:38 -0800 [PATCH] frv: fix uninitialised variable in atm nicstar driver Fix an uninitialised variable warning in the atm nicstar driver. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 41be6aef38c08f1f85ac1c4bd8191b0d1ec61b4c tree 50c3cca13c3c069fb2061bcf324ff553128c6700 parent 5c15d41bab185431a9a28982b5aaac251dde4556 author David Howells Sun, 08 Jan 2006 01:01:25 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:38 -0800 [PATCH] frv: miscellaneous changes Fix a number of miscellanous items: (1) Declare lock sections in the linker script. (2) Recurse in the correct manner in the arch makefile. (3) asm/bug.h requires asm/linkage.h to be included first. One C file puts asm/bug.h first. (4) Add an empty RTC header file to avoid missing header file errors. (5) sg_dma_address() should use the dma_address member of a scatter list. (6) Add trivial pci_unmap support. (7) Add pgprot_noncached() (8) Discard u_quad_t. (9) Use ~0UL rather than ULONG_MAX in unistd.h in case the latter isn't declared. (10) Add an empty VGA header file to avoid missing header file errors. (11) Add an XOR header file to use the generic XOR stuff. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5c15d41bab185431a9a28982b5aaac251dde4556 tree 5cc009ca5a0822f32f73961556a0a4401a38e8c9 parent f8aec7573b87d2bc09cafab459476953353d2efa author David Howells Sun, 08 Jan 2006 01:01:24 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:38 -0800 [PATCH] frv: make get_user macro cast pointers Make the get_user macro cast the source pointer to an appropriate type for the specified size. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f8aec7573b87d2bc09cafab459476953353d2efa tree d2d988ebed735c059242181e54d3407b37dae93f parent 7a758313905f8b085b4591e8838626274e88b969 author David Howells Sun, 08 Jan 2006 01:01:23 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:38 -0800 [PATCH] frv: force serial driver inclusion Force the 8230 serial driver to be built in if the on-CPU UARTs are to be used. It can't be used as a module because the arch setup needs to call into it. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7a758313905f8b085b4591e8838626274e88b969 tree 168dec8dfc40a5c01fe2d9ad3920e1f7f6238fee parent a2a88f88782e8815cafa22f2b9e22234b9a61d0a author David Howells Sun, 08 Jan 2006 01:01:22 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:37 -0800 [PATCH] frv: fix PCMCIA configuration Fix PCMCIA configuration for FRV by including the stock PCMCIA configuration description file. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a2a88f88782e8815cafa22f2b9e22234b9a61d0a tree b5f949e476fecf756adda75abf25b5e2a8357ce0 parent 00d76710c253341b1e84795923e59ccdb099628f author David Howells Sun, 08 Jan 2006 01:01:22 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:37 -0800 [PATCH] frv: add pci_iomap Implement pci_iomap() for FRV. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 00d76710c253341b1e84795923e59ccdb099628f tree 0865a6f51fc6034a40dc7e35fad882b7e181e0a1 parent a90a72c85fb202d0b172da27d8df2579b6591783 author David Howells Sun, 08 Jan 2006 01:01:21 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:37 -0800 [PATCH] frv: add module support stubs Add stubs for FRV module support. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a90a72c85fb202d0b172da27d8df2579b6591783 tree 6876226fe257b0f191031492d83714f000a78d25 parent 018b8d12bc85f8fb332239b11d919ea0724c49a4 author David Howells Sun, 08 Jan 2006 01:01:20 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:36 -0800 [PATCH] frv: supply various missing I/O access primitives Supply various I/O access primitives that are missing for the FRV arch: (*) mmiowb() (*) read*_relaxed() (*) ioport_*map() (*) ioread*(), iowrite*(), ioread*_rep() and iowrite*_rep() (*) pci_io*map() (*) check_signature() The patch also makes __is_PCI_addr() more efficient. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 018b8d12bc85f8fb332239b11d919ea0724c49a4 tree 88e1cfa3540e09df74ba0fcc82fad6af8a892b0c parent 402344012ebe696d9353bbf056889ddaaec83079 author David Howells Sun, 08 Jan 2006 01:01:19 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:36 -0800 [PATCH] frv: support module exception tables Fix the exception table handling so that modules exceptions are dealt with. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 402344012ebe696d9353bbf056889ddaaec83079 tree 4a4072bdfe80be4c565d01a9188ef5da3a31e19a parent 8369ce4cfe18decc3ea0afcf91e67c665479c78e author David Howells Sun, 08 Jan 2006 01:01:19 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:36 -0800 [PATCH] frv: implement and export various things required by modules Export a number of features required to build all the modules. It also implements the following simple features: (*) csum_partial_copy_from_user() for MMU as well as no-MMU. (*) __ucmpdi2(). so that they can be exported too. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8369ce4cfe18decc3ea0afcf91e67c665479c78e tree bd39d51bde14f27c5c315c8ff38a81af2f38afe4 parent 2fa9e7e2dce6aafecc1890461bdc00d78897be8b author David Howells Sun, 08 Jan 2006 01:01:18 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:36 -0800 [PATCH] frv: drop unsupported debugging features Drop support for debugging features that aren't supported on FRV: (*) EARLY_PRINTK The on-chip UARTs are set up early enough that this isn't required, and VGA support isn't available. There's also a gdbstub available. (*) DEBUG_PAGEALLOC This can't be easily be done since we use huge static mappings to cover the kernel, not pages. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2fa9e7e2dce6aafecc1890461bdc00d78897be8b tree ea17c2801b5f9b59027641cb1aebc87d83397363 parent 2919b51075b3906c2f476e5a932244af1947bf80 author David Howells Sun, 08 Jan 2006 01:01:17 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:36 -0800 [PATCH] frv: drop 8/16-bit xchg and cmpxchg Drop support for 8-bit and 16-bit xchg and cmpxchg emulation and implements 32-bit xchg with the SWAP/SWAPI instruction. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2919b51075b3906c2f476e5a932244af1947bf80 tree 6dabc37140a11d21f7bdc5a77cbec3bedc3588ef parent 277cb103e3d7b31b8f4941b6a495b1b80236b05c author David Howells Sun, 08 Jan 2006 01:01:16 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:36 -0800 [PATCH] frv: suppress configuration of certain features for FRV Suppress configuration of certain features for the FRV arch as they can't be built for FRV at the moment: (*) RTC (*) HISAX_* (*) PARPORT_PC (*) VGA_CONSOLE (*) BINFMT_ELF Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 277cb103e3d7b31b8f4941b6a495b1b80236b05c tree 3a0f4bb2e2342fb41425301fbcb4b711a9d179e4 parent 37610ff3cb63f59b89370681ff780687d8a7bed3 author Lennert Buytenhek Sun, 08 Jan 2006 01:01:14 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:46 -0800 [PATCH] cs89x0: fix up after pnx0105 Kconfig symbol renaming The Kconfig symbol for pnx0105 was recently renamed to ARCH_PNX010X. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 37610ff3cb63f59b89370681ff780687d8a7bed3 tree 3bc3e49f946cb0baed2a0dcdcc0ac05ad2471d4b parent 084f746a01ca026920e388e76e913cc7a26d5a3f author Lennert Buytenhek Sun, 08 Jan 2006 01:01:13 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:46 -0800 [PATCH] fix Kconfig depends for cs89x0 (PNX010X support) PNX010X support for CS89x0 should be conditional on NET_PCI, as it is an 'on board controller' and NET_PCI includes that category of NICs. Since ARCH_PNX0105 was recently changed to ARCH_PNX010X, incorporate that change as well while we're at it. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 084f746a01ca026920e388e76e913cc7a26d5a3f tree 8eb430502c39b4398bb162e80b012cc659fc4eee parent 3b68d70dffe255e7681d5725d96bc2b92a24bb9d author Lennert Buytenhek Sun, 08 Jan 2006 01:01:12 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:46 -0800 [PATCH] cs89x0: switch {in,out}sw to {read,write}words Implement readwords/writewords that use readword/writeword, and switch the rest of the driver over to use these. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b68d70dffe255e7681d5725d96bc2b92a24bb9d tree 0f311381f9d39e10360431cb57c94b7bcae62727 parent 3eaa5e7dcce0653d2bfd2ab85a623687da49f8d5 author Lennert Buytenhek Sun, 08 Jan 2006 01:01:11 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:45 -0800 [PATCH] cs89x0: cleanly implement ixdp2x01 and pnx0501 support Implement suitable versions of the readword/writeword macros for ixdp2x01 and pnx0501. Handle the 32-bit spacing of the registers in these functions instead of in the header file. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3eaa5e7dcce0653d2bfd2ab85a623687da49f8d5 tree 92f8471f9776088acec5db6efb7fe9158446a583 parent 0d5affcfe23ade8c4c01154e7e381e2a9a916399 author Lennert Buytenhek Sun, 08 Jan 2006 01:01:10 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:45 -0800 [PATCH] cs89x0: make {read,write}reg use {read,write}word Make readreg/writereg use readword/writeword. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d5affcfe23ade8c4c01154e7e381e2a9a916399 tree ba1e07c7e7ade464c79fa76681f5883136333608 parent fc8c7d79b117f7a5b17640bf657d95afe4025bb8 author Lennert Buytenhek Sun, 08 Jan 2006 01:01:09 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:45 -0800 [PATCH] cs89x0: swap {read,write}reg and {read,write}word Reverse the order of readreg/writereg and readword/writeword in the file, so that we can make readreg/writereg use readword/writeword. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fc8c7d79b117f7a5b17640bf657d95afe4025bb8 tree 15255d30ca5e97793abbb8fc5bef83b8eb6495c2 parent 974dffc2dd72d499a3ff150f61c8025b097a2c34 author Lennert Buytenhek Sun, 08 Jan 2006 01:01:08 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:45 -0800 [PATCH] cs89x0: convert {inw,outw} calls to {read,write}word Switch all occurences of inw/outw in the driver over to readword/writeword. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 974dffc2dd72d499a3ff150f61c8025b097a2c34 tree 17b4a4890466dd8f67cd5163030c6f9675d3adb7 parent 2f659f462d2ab519068d0e2bb677d7a700decb8d author Lennert Buytenhek Sun, 08 Jan 2006 01:01:06 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:45 -0800 [PATCH] cs89x0: make {read,write}word take base_addr readword() and writeword() take a 'struct net_device *' and deref its ->base_addr member. Make them take the base_addr directly instead, so that we can switch the other occurences of inw/outw in the file over to readword/writeword as well. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2f659f462d2ab519068d0e2bb677d7a700decb8d tree de65a0b6151880ef5d0b06efd949e32629a2dfd5 parent 6ce3c4c0ff62ca6391019b7832fb41a7f28b9e26 author Kirill Korotaev Sun, 08 Jan 2006 01:01:05 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:45 -0800 [PATCH] Optimise oom kill of current task When oom_killer kills current there's no need to call schedule_timeout_interruptible() since task must die ASAP. Signed-Off-By: Pavel Emelianov Signed-Off-By: Kirill Korotaev Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ce3c4c0ff62ca6391019b7832fb41a7f28b9e26 tree 44801fafc41a45368de7a8e79306d57a04735f1d parent 48fce3429df84a94766fbbc845fa8450d0715b48 author Christoph Lameter Sun, 08 Jan 2006 01:01:04 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:44 -0800 [PATCH] Move page migration related functions near do_migrate_pages() Group page migration functions in mempolicy.c Add a forward declaration for migrate_page_add (like gather_stats()) and use our new found mobility to group all page migration related function around do_migrate_pages(). Signed-off-by: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 48fce3429df84a94766fbbc845fa8450d0715b48 tree 4458b95a0ef8a1896049415a0e3fc8a0e89d340a parent 132beacf9785d2e6e8aecb59aa078f3ca5668fa6 author Christoph Lameter Sun, 08 Jan 2006 01:01:03 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:44 -0800 [PATCH] mempolicies: unexport get_vma_policy() Since the numa_maps functionality is now in mempolicy.c we no longer need to export get_vma_policy(). Signed-off-by: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 132beacf9785d2e6e8aecb59aa078f3ca5668fa6 tree 7b1274279448e4fde20489b7572455ef93bc4c3d parent 1a75a6c825c17249ca49f050a872a04ce0997ce3 author Christoph Lameter Sun, 08 Jan 2006 01:01:02 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:44 -0800 [PATCH] Drop page table lock before calling migrate_page_add() migrate_page_add cannot be called with a spinlock held (calls isolate_lru_page which calles schedule_on_each_cpu). Drop ptl lock in check_pte_range before calling migrate_page_add(). Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1a75a6c825c17249ca49f050a872a04ce0997ce3 tree 2ca8fc6513a20e5b4bec67686323ce1f5c8e237c parent 38e35860dbe6197a4b42eb6e8b47da940b7695dd author Christoph Lameter Sun, 08 Jan 2006 01:01:02 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:44 -0800 [PATCH] Fold numa_maps into mempolicies.c First discussed at http://marc.theaimsgroup.com/?t=113149255100001&r=1&w=2 - Use the check_range() in mempolicy.c to gather statistics. - Improve the numa_maps code in general and fix some comments. Signed-off-by: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 38e35860dbe6197a4b42eb6e8b47da940b7695dd tree 2794681eb62c4bd84e186693df265c9f1a0b28f4 parent ef2bf0dc8675e14cf8cba3b7fb9f48d72640a70e author Christoph Lameter Sun, 08 Jan 2006 01:01:01 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:44 -0800 [PATCH] mempolicies: private pointer in check_range and MPOL_MF_INVERT This was was first posted at http://marc.theaimsgroup.com/?l=linux-mm&m=113149240227584&w=2 (Part of this functionality is also contained in the direct migration pathset. The functionality here is more generic and independent of that patchset.) - Add internal flags MPOL_MF_INVERT to control check_range() behavior. - Replace the pagelist passed through by check_range by a general private pointer that may be used for other purposes. (The following patches will use that to merge numa_maps into mempolicy.c and to better group the page migration code in the policy layer) - Improve some comments. Signed-off-by: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef2bf0dc8675e14cf8cba3b7fb9f48d72640a70e tree 6ef3afba5ca1929cc982efad092ffae62233b813 parent cd105df4590c89837a1c300843238148cfef9b5f author Dave Jones Sun, 08 Jan 2006 01:01:00 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:44 -0800 [PATCH] rmap: additional diagnostics in page_remove_rmap() We seem to be hitting this assertion failure too often for it to be hardware bugs. Cc: Hugh Dickins Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cd105df4590c89837a1c300843238148cfef9b5f tree bea54d8f24ad97d4af5fda6baac5711fa524af0e parent 152194aaa6266d71dfee57882a23def339ef17a4 author Tobias Klauser Sun, 08 Jan 2006 01:00:59 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:43 -0800 [PATCH] mm: clean up local variables Clean up a local variable with the same name as a variable in a larger block. Also move a variable into the block where it's actually used. Spotted by http://linuxicc.sourceforge.net/ Signed-off-by: Tobias Klauser Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 152194aaa6266d71dfee57882a23def339ef17a4 tree 9af269a9f4c14e549c719207b0856da32ddec746 parent aea47ff363c15b0be5fc27ed991b1fdee338f0a7 author Avishay Traeger Sun, 08 Jan 2006 01:00:58 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:43 -0800 [PATCH] set_page_count() macro safety Fix set_page_count() macro to handle complex arguments. Signed-off-by: Avishay Traeger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aea47ff363c15b0be5fc27ed991b1fdee338f0a7 tree 0932af1adfcf795fe8793ce24eb338e832d5fa2c parent 45b07ef31d1182d2cfde7711327e3afb268bb1ac author Christoph Lameter Sun, 08 Jan 2006 01:00:57 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:43 -0800 [PATCH] mm: make hugepages obey cpusets. See http://marc.theaimsgroup.com/?l=linux-kernel&m=113167000201265&w=2 http://marc.theaimsgroup.com/?l=linux-mm&m=113167267527312&w=2 Make hugepages obey cpusets. Signed-off-by: Christoph Lameter Acked-by: William Irwin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 45b07ef31d1182d2cfde7711327e3afb268bb1ac tree 3bf820531f920b43d4ed963643b1f565c82bcaa4 parent d0d963281ccb22e6f339bfdd75c6b2e31351929f author Paul Jackson Sun, 08 Jan 2006 01:00:56 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:43 -0800 [PATCH] cpusets: swap migration interface Add a boolean "memory_migrate" to each cpuset, represented by a file containing "0" or "1" in each directory below /dev/cpuset. It defaults to false (file contains "0"). It can be set true by writing "1" to the file. If true, then anytime that a task is attached to the cpuset so marked, the pages of that task will be moved to that cpuset, preserving, to the extent practical, the cpuset-relative placement of the pages. Also anytime that a cpuset so marked has its memory placement changed (by writing to its "mems" file), the tasks in that cpuset will have their pages moved to the cpusets new nodes, preserving, to the extent practical, the cpuset-relative placement of the moved pages. Signed-off-by: Paul Jackson Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d0d963281ccb22e6f339bfdd75c6b2e31351929f tree ddeb3d1cf73675d71b21be8893b16cf5014c1bc5 parent d498471133ff1f9586a06820beaeebc575fe2814 author Christoph Lameter Sun, 08 Jan 2006 01:00:55 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:42 -0800 [PATCH] SwapMig: Switch error handling in migrate_pages to use -Exx Use -Exxx instead of numeric return codes and cleanup the code in migrate_pages() using -Exx error codes. Consolidate successful migration handling Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d498471133ff1f9586a06820beaeebc575fe2814 tree c7cde93441692e3b32d83dfbf85858ab2d85e481 parent ee27497df36823f2793212cad0997c044eb0e1eb author Christoph Lameter Sun, 08 Jan 2006 01:00:55 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:42 -0800 [PATCH] SwapMig: Extend parameters for migrate_pages() Extend the parameters of migrate_pages() to allow the caller control over the fate of successfully migrated or impossible to migrate pages. Swap migration and direct migration will have the same interface after this patch so that patches can be independently applied to the policy layer and the core migration code. Signed-off-by: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ee27497df36823f2793212cad0997c044eb0e1eb tree 854dded3b0277b0962b3c9a39c9cdb446654154b parent 1480a540c98525640174a7eadd712378fcd6fd63 author Christoph Lameter Sun, 08 Jan 2006 01:00:54 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:42 -0800 [PATCH] SwapMig: Drop unused pages immediately Drop unused pages immediately If a page is encountered that is only referenced by the migration code then there is no reason to swap or migrate the page. Release the page by calling move_to_lru(). Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1480a540c98525640174a7eadd712378fcd6fd63 tree 28f2cc0aa819ff0aed30dd85bb16177d4a73002b parent 8419c3181086c86664e8246bc997afc2e4ffba4f author Christoph Lameter Sun, 08 Jan 2006 01:00:53 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:42 -0800 [PATCH] SwapMig: add_to_swap() avoid atomic allocations Add gfp_mask to add_to_swap add_to_swap does allocations with GFP_ATOMIC in order not to interfere with swapping. During migration we may have use add_to_swap extensively which may lead to out of memory errors. This patch makes add_to_swap take a parameter that specifies the gfp mask. The page migration code can then make add_to_swap use GFP_KERNEL. Signed-off-by: Hirokazu Takahashi Signed-off-by: Dave Hansen Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8419c3181086c86664e8246bc997afc2e4ffba4f tree 25938e6f99bdaaffe8f6d357582eca56692b091c parent 39743889aaf76725152f16aa90ca3c45f6d52da3 author Christoph Lameter Sun, 08 Jan 2006 01:00:52 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:42 -0800 [PATCH] SwapMig: CONFIG_MIGRATION fixes Move move_to_lru, putback_lru_pages and isolate_lru in section surrounded by CONFIG_MIGRATION saving some codesize for single processor kernels. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 39743889aaf76725152f16aa90ca3c45f6d52da3 tree 2a6f658d03dbbd9428934c5e030230a4acb6d5e0 parent dc9aa5b9d65fd11b1f5246b46ec610ee8b83c6dd author Christoph Lameter Sun, 08 Jan 2006 01:00:51 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:42 -0800 [PATCH] Swap Migration V5: sys_migrate_pages interface sys_migrate_pages implementation using swap based page migration This is the original API proposed by Ray Bryant in his posts during the first half of 2005 on linux-mm@kvack.org and linux-kernel@vger.kernel.org. The intent of sys_migrate is to migrate memory of a process. A process may have migrated to another node. Memory was allocated optimally for the prior context. sys_migrate_pages allows to shift the memory to the new node. sys_migrate_pages is also useful if the processes available memory nodes have changed through cpuset operations to manually move the processes memory. Paul Jackson is working on an automated mechanism that will allow an automatic migration if the cpuset of a process is changed. However, a user may decide to manually control the migration. This implementation is put into the policy layer since it uses concepts and functions that are also needed for mbind and friends. The patch also provides a do_migrate_pages function that may be useful for cpusets to automatically move memory. sys_migrate_pages does not modify policies in contrast to Ray's implementation. The current code here is based on the swap based page migration capability and thus is not able to preserve the physical layout relative to it containing nodeset (which may be a cpuset). When direct page migration becomes available then the implementation needs to be changed to do a isomorphic move of pages between different nodesets. The current implementation simply evicts all pages in source nodeset that are not in the target nodeset. Patch supports ia64, i386 and x86_64. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dc9aa5b9d65fd11b1f5246b46ec610ee8b83c6dd tree 808da06f0bc8ab5189f1c315a2b99c85a33ed74c parent 7cbe34cf86c673503b177ff47cfa2c7030dabb50 author Christoph Lameter Sun, 08 Jan 2006 01:00:50 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:41 -0800 [PATCH] Swap Migration V5: MPOL_MF_MOVE interface Add page migration support via swap to the NUMA policy layer This patch adds page migration support to the NUMA policy layer. An additional flag MPOL_MF_MOVE is introduced for mbind. If MPOL_MF_MOVE is specified then pages that do not conform to the memory policy will be evicted from memory. When they get pages back in new pages will be allocated following the numa policy. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7cbe34cf86c673503b177ff47cfa2c7030dabb50 tree 9b39d7e8f11fed68242d1cb1f0c85dfcf96e3250 parent 49d2e9cc4544369635cd6f4ef6d5bb0f757079a7 author Christoph Lameter Sun, 08 Jan 2006 01:00:49 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:41 -0800 [PATCH] Swap Migration V5: Add CONFIG_MIGRATION for page migration support Include page migration if the system is NUMA or having a memory model that allows distinct areas of memory (SPARSEMEM, DISCONTIGMEM). And: - Only include lru_add_drain_per_cpu if building for an SMP system. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 49d2e9cc4544369635cd6f4ef6d5bb0f757079a7 tree d8c76c5224b05b812f96424a18b1e9205d90feae parent 930d915252edda7042c944ed3c30194a2f9fe163 author Christoph Lameter Sun, 08 Jan 2006 01:00:48 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:41 -0800 [PATCH] Swap Migration V5: migrate_pages() function This adds the basic page migration function with a minimal implementation that only allows the eviction of pages to swap space. Page eviction and migration may be useful to migrate pages, to suspend programs or for remapping single pages (useful for faulty pages or pages with soft ECC failures) The process is as follows: The function wanting to migrate pages must first build a list of pages to be migrated or evicted and take them off the lru lists via isolate_lru_page(). isolate_lru_page determines that a page is freeable based on the LRU bit set. Then the actual migration or swapout can happen by calling migrate_pages(). migrate_pages does its best to migrate or swapout the pages and does multiple passes over the list. Some pages may only be swappable if they are not dirty. migrate_pages may start writing out dirty pages in the initial passes over the pages. However, migrate_pages may not be able to migrate or evict all pages for a variety of reasons. The remaining pages may be returned to the LRU lists using putback_lru_pages(). Changelog V4->V5: - Use the lru caches to return pages to the LRU Changelog V3->V4: - Restructure code so that applying patches to support full migration does require minimal changes. Rename swapout_pages() to migrate_pages(). Changelog V2->V3: - Extract common code from shrink_list() and swapout_pages() Signed-off-by: Mike Kravetz Signed-off-by: Christoph Lameter Cc: "Michael Kerrisk" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 930d915252edda7042c944ed3c30194a2f9fe163 tree 620452f11a9949943765b7a28e5b919f40f32b12 parent 21eac81f252fe31c3cf64b805a1e8652192f3a3b author Christoph Lameter Sun, 08 Jan 2006 01:00:47 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:41 -0800 [PATCH] Swap Migration V5: PF_SWAPWRITE to allow writing to swap Add PF_SWAPWRITE to control a processes permission to write to swap. - Use PF_SWAPWRITE in may_write_to_queue() instead of checking for kswapd and pdflush - Set PF_SWAPWRITE flag for kswapd and pdflush Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 21eac81f252fe31c3cf64b805a1e8652192f3a3b tree 255662bda67f54ffde484046fd9ab9b0900ab409 parent 15316ba81aee6775d6079fb46c66c801989e7d10 author Christoph Lameter Sun, 08 Jan 2006 01:00:45 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:41 -0800 [PATCH] Swap Migration V5: LRU operations This is the start of the `swap migration' patch series. Swap migration allows the moving of the physical location of pages between nodes in a numa system while the process is running. This means that the virtual addresses that the process sees do not change. However, the system rearranges the physical location of those pages. The main intent of page migration patches here is to reduce the latency of memory access by moving pages near to the processor where the process accessing that memory is running. The patchset allows a process to manually relocate the node on which its pages are located through the MF_MOVE and MF_MOVE_ALL options while setting a new memory policy. The pages of process can also be relocated from another process using the sys_migrate_pages() function call. Requires CAP_SYS_ADMIN. The migrate_pages function call takes two sets of nodes and moves pages of a process that are located on the from nodes to the destination nodes. Manual migration is very useful if for example the scheduler has relocated a process to a processor on a distant node. A batch scheduler or an administrator can detect the situation and move the pages of the process nearer to the new processor. sys_migrate_pages() could be used on non-numa machines as well, to force all of a particualr process's pages out to swap, if someone thinks that's useful. Larger installations usually partition the system using cpusets into sections of nodes. Paul has equipped cpusets with the ability to move pages when a task is moved to another cpuset. This allows automatic control over locality of a process. If a task is moved to a new cpuset then also all its pages are moved with it so that the performance of the process does not sink dramatically (as is the case today). Swap migration works by simply evicting the page. The pages must be faulted back in. The pages are then typically reallocated by the system near the node where the process is executing. For swap migration the destination of the move is controlled by the allocation policy. Cpusets set the allocation policy before calling sys_migrate_pages() in order to move the pages as intended. No allocation policy changes are performed for sys_migrate_pages(). This means that the pages may not faulted in to the specified nodes if no allocation policy was set by other means. The pages will just end up near the node where the fault occurred. There's another patch series in the pipeline which implements "direct migration". The direct migration patchset extends the migration functionality to avoid going through swap. The destination node of the relation is controllable during the actual moving of pages. The crutch of using the allocation policy to relocate is not necessary and the pages are moved directly to the target. Its also faster since swap is not used. And sys_migrate_pages() can then move pages directly to the specified node. Implement functions to isolate pages from the LRU and put them back later. This patch: An earlier implementation was provided by Hirokazu Takahashi and IWAMOTO Toshihiro for the memory hotplug project. From: Magnus This breaks out isolate_lru_page() and putpack_lru_page(). Needed for swap migration. Signed-off-by: Magnus Damm Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 15316ba81aee6775d6079fb46c66c801989e7d10 tree c6190bdcc6e15fd8b5657a5932313e296b475577 parent 48db57f8ff10eb09ab887ccb6150b0da0c7be24e author Christoph Lameter Sun, 08 Jan 2006 01:00:43 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:40 -0800 [PATCH] add schedule_on_each_cpu() swap migration's isolate_lru_page() currently uses an IPI to notify other processors that the lru caches need to be drained if the page cannot be found on the LRU. The IPI interrupt may interrupt a processor that is just processing lru requests and cause a race condition. This patch introduces a new function run_on_each_cpu() that uses the keventd() to run the LRU draining on each processor. Processors disable preemption when dealing the LRU caches (these are per processor) and thus executing LRU draining from another process is safe. Thanks to Lee Schermerhorn for finding this race condition. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 48db57f8ff10eb09ab887ccb6150b0da0c7be24e tree 5c9fba3937bb802aa2944af189aae57b7bf7aa8b parent 23316bc86fd31c5d644a71c398ec41d9fecacec4 author Nick Piggin Sun, 08 Jan 2006 01:00:42 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:40 -0800 [PATCH] mm: free_pages opt Try to streamline free_pages_bulk by ensuring callers don't pass in a 'count' that exceeds the list size. Some cleanups: Rename __free_pages_bulk to __free_one_page. Put the page list manipulation from __free_pages_ok into free_one_page. Make __free_pages_ok static. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 23316bc86fd31c5d644a71c398ec41d9fecacec4 tree 9efc5bbd9dd7c35b6b5fea8ce8215477c2ff43dd parent 8ad4b1fb8205340dba16b63467bb23efc27264d6 author Nick Piggin Sun, 08 Jan 2006 01:00:41 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:40 -0800 [PATCH] mm: cleanup zone_pcp Use zone_pcp everywhere even though NUMA code "knows" the internal details of the zone. Stop other people trying to copy, and it looks nicer. Also, only print the pagesets of online cpus in zoneinfo. Signed-off-by: Nick Piggin Cc: "Seth, Rohit" Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8ad4b1fb8205340dba16b63467bb23efc27264d6 tree 9f5c237ead93976e5454c5da5d3bba350a2419c5 parent 9d0243bca345d5ce25d3f4b74b7facb3a6df1232 author Rohit Seth Sun, 08 Jan 2006 01:00:40 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:40 -0800 [PATCH] Make high and batch sizes of per_cpu_pagelists configurable As recently there has been lot of traffic on the right values for batch and high water marks for per_cpu_pagelists. This patch makes these two variables configurable through /proc interface. A new tunable /proc/sys/vm/percpu_pagelist_fraction is added. This entry controls the fraction of pages at most in each zone that are allocated for each per cpu page list. The min value for this is 8. It means that we don't allow more than 1/8th of pages in each zone to be allocated in any single per_cpu_pagelist. The batch value of each per cpu pagelist is also updated as a result. It is set to pcp->high/4. The upper limit of batch is (PAGE_SHIFT * 8) Signed-off-by: Rohit Seth Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9d0243bca345d5ce25d3f4b74b7facb3a6df1232 tree a3a0a763bf83a483282dc1c3caab587941a98fc2 parent bec6b0c89b234090681a4516e20ac5debe3e7c59 author Andrew Morton Sun, 08 Jan 2006 01:00:39 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:40 -0800 [PATCH] drop-pagecache Add /proc/sys/vm/drop_caches. When written to, this will cause the kernel to discard as much pagecache and/or reclaimable slab objects as it can. THis operation requires root permissions. It won't drop dirty data, so the user should run `sync' first. Caveats: a) Holds inode_lock for exorbitant amounts of time. b) Needs to be taught about NUMA nodes: propagate these all the way through so the discarding can be controlled on a per-node basis. This is a debugging feature: useful for getting consistent results between filesystem benchmarks. We could possibly put it under a config option, but it's less than 300 bytes. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bec6b0c89b234090681a4516e20ac5debe3e7c59 tree 168a4c123e38b08d12b6787c18c4aa032520a48b parent b28a02de8c70d41d6b6ba8911e83ed3ccf2e13f8 author Christoph Lameter Sun, 08 Jan 2006 01:00:38 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:40 -0800 [PATCH] slab: remove nested #ifdef CONFIG_NUMA For some reason there is an #ifdef CONFIG_NUMA within another #ifdef CONFIG_NUMA in the page allocator. Remove innermost #ifdef CONFIG_NUMA Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b28a02de8c70d41d6b6ba8911e83ed3ccf2e13f8 tree dee0feb5d1d9c007d94a9f5d6f3cbf8a83b46b39 parent 4d268eba1187ef66844a6a33b9431e5d0dadd4ad author Pekka Enberg Sun, 08 Jan 2006 01:00:37 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:39 -0800 [PATCH] slab: fix code formatting The slab allocator code is inconsistent in coding style and messy. For this patch, I ran Lindent for mm/slab.c and fixed up goofs by hand. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4d268eba1187ef66844a6a33b9431e5d0dadd4ad tree 575aa29016688a07b2a80132a15cc8b5a5027f60 parent 85289f98ddc13f6cea82c59d6ff78f9d205dfccc author Pekka Enberg Sun, 08 Jan 2006 01:00:36 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:39 -0800 [PATCH] slab: extract slab order calculation to separate function This patch moves the ugly loop that determines the 'optimal' size (page order) of cache slabs from kmem_cache_create() to a separate function and cleans it up a bit. Thanks to Matthew Wilcox for the help with this patch. Signed-off-by: Matthew Dobson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 85289f98ddc13f6cea82c59d6ff78f9d205dfccc tree 84db27aed1783fb1bc780f7ebd3d8cd14bdc90bd parent f9f7500521b25dbf1aba476b81230489ad8e2c4b author Pekka Enberg Sun, 08 Jan 2006 01:00:36 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:39 -0800 [PATCH] slab: extract slabinfo header printing to separate function This patch extracts slabinfo header printing to a separate function print_slabinfo_header() to make s_start() more readable. Signed-off-by: Matthew Dobson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f9f7500521b25dbf1aba476b81230489ad8e2c4b tree f2bf2f64023c4968ac8d08da54b8aaef86354591 parent b792de39d892e06b18ddea85be076bae123d6bf6 author Pekka Enberg Sun, 08 Jan 2006 01:00:33 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:39 -0800 [PATCH] slab: remove unused align parameter from alloc_percpu __alloc_percpu and alloc_percpu both take an 'align' argument which is completely ignored. snmp6_mib_init() in net/ipv6/af_inet6.c attempts to use it, but it will be ignored. Therefore, remove the 'align' argument and fixup the lone caller. Signed-off-by: Matthew Dobson Acked-by: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b792de39d892e06b18ddea85be076bae123d6bf6 tree 6604e19464fa0cce997bdb600074756ab1266fa8 parent 4dab06fa7b6d07ee95c8bba5ddd0840633069159 author Olaf Hering Sun, 08 Jan 2006 01:00:32 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:39 -0800 [PATCH] Fix compilation with CONFIG_MEMORY_HOTPLUG=y and gcc41. Fix compilation with CONFIG_MEMORY_HOTPLUG=y and gcc41. Also remove unneeded declations, add a public function. drivers/base/memory.c:53: error: static declaration of 'register_memory_notifier' follows non-static declaration include/linux/memory.h:85: error: previous declaration of 'register_memory_notifier' was here drivers/base/memory.c:58: error: static declaration of 'unregister_memory_notifier' follows non-static declaration include/linux/memory.h:86: error: previous declaration of 'unregister_memory_notifier' was here drivers/base/memory.c:68: error: static declaration of 'register_memory' follows non-static declaration include/linux/memory.h:73: error: previous declaration of 'register_memory' was here Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4dab06fa7b6d07ee95c8bba5ddd0840633069159 tree 18c54a1af00ec4effc062d67f45dfc3d8bc096ee parent 70c00ba0bbfb583e39b964ebd88620c18aa02c62 author Woody Suwalski Sun, 08 Jan 2006 01:00:31 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:39 -0800 [PATCH] ARM Netwinder watchdog wdt977 update Cleanup for the ARM-only watchdog driver wdt977. This is probably the last update, since we want to merge with w83977f_wdt. Jose Goncalves has ported this driver to i386, so probably we can iron out configuration differences. Signed-off-by: Woody Suwalski Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 70c00ba0bbfb583e39b964ebd88620c18aa02c62 tree 21ea7e57faec02e154ba1e2029a12da94c0829d0 parent 5998bf1ddb5fb236597190b2274d357add63fd7e author Marcelo Tosatti Sun, 08 Jan 2006 01:00:29 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:38 -0800 [PATCH] small hp_sdc_rtc cleanup: use no_llseek Use no_llseek function. Signed-off-by: Marcelo Tosatti Cc: "Brian S. Julin" Acked-by: Vojtech Pavlik Cc: Dmitry Torokhov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5998bf1ddb5fb236597190b2274d357add63fd7e tree ca05dbc0d17957e9d0adcf50f7868eb25cef3921 parent 84c2008af01132c4ca257ed9b595693c611df15d author Andrew Morton Sun, 08 Jan 2006 01:00:29 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:38 -0800 [PATCH] asm-generic/atomic.h needs types.h For BITS_PER_LONG Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 84c2008af01132c4ca257ed9b595693c611df15d tree a93bb1828e5b56ba041f8227ded78c9f04960a76 parent 9f5336e21893fafd232a9a02cfa7588ad153889a author Andrew Morton Sun, 08 Jan 2006 01:00:28 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:38 -0800 [PATCH] revert "mm: page_state fixes" Hugh says: page_alloc_cpu_notify() specifically contains code to /* Add dead cpu's page_states to our own. */ which handles this more efficiently. Cc: Hugh Dickins Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f5336e21893fafd232a9a02cfa7588ad153889a tree 83e86a9be67db41144a551cce96d0c2b4884ff70 parent 97dc627fb3471664c72d0933790a90ba3f91e131 author Adrian Bunk Sat, 07 Jan 2006 13:24:25 -0800 committer David S. Miller Sat, 07 Jan 2006 13:24:25 -0800 [IPV6]: small cleanups This patch contains the following cleanups: - addrconf.c: make addrconf_dad_stop() static - inet6_connection_sock.c should #include for getting the prototypes of it's global functions Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 97dc627fb3471664c72d0933790a90ba3f91e131 tree 89ca7c0856da17268c6f1c0a3d45fb07e4058741 parent f53b61d8c385140fe7f09e0c9187ae813ee9f330 author Adrian Bunk Sat, 07 Jan 2006 13:23:39 -0800 committer David S. Miller Sat, 07 Jan 2006 13:23:39 -0800 [IPV4]: make ip_fragment() static Since there's no longer any external user of ip_fragment() we can make it static. Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit f53b61d8c385140fe7f09e0c9187ae813ee9f330 tree effe543a90c814b1b07aeeac7b1fc027b295669d parent da7bc6ee8ee3976696fc740065362ca442eb61c9 author David S. Miller Sat, 07 Jan 2006 12:50:27 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:42 -0800 [NETFILTER]: Add dummy nf_hook{_thresh}() when NETFILTER is disabled. Signed-off-by: David S. Miller commit da7bc6ee8ee3976696fc740065362ca442eb61c9 tree abe8ae0b281fc7070544b141f78d091dc1f231ef parent b341387225832c392ed83b9f89d15668b033a106 author Joe Kappus Fri, 06 Jan 2006 23:15:04 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:41 -0800 [NETFILTER]: ip_conntrack_proto_sctp.c needs linux/interrupt.h Signed-off-by: Joe Kappus Signed-off-by: David S. Miller commit b341387225832c392ed83b9f89d15668b033a106 tree 38f153768969a3b6ad6b10e735931913baee2983 parent e16a8f0b8c53312beb1d8b52e463aae79aa809c7 author Francois Romieu Fri, 06 Jan 2006 23:08:42 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:40 -0800 [AX25/MKISS]: unbalanced spinlock_bh in ax_encaps() The unlocking disappeared during commit 5793f4be23f0171b4999ca68a39a9157b44139f3. Signed-off-by: Francois Romieu Signed-off-by: David S. Miller commit e16a8f0b8c53312beb1d8b52e463aae79aa809c7 tree 2f8e8747261db640e3cc4a5ededb2bcd6a47dedf parent eb9c7ebe6980c41cf6ae889e301c3b49f473ee9f author Patrick McHardy Fri, 06 Jan 2006 23:06:48 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:38 -0800 [NETFILTER]: Add ipt_policy/ip6t_policy matches Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit eb9c7ebe6980c41cf6ae889e301c3b49f473ee9f tree 419103d15b9de9c26c8400c698625231df55da91 parent b59c270104f03960069596722fea70340579244d author Patrick McHardy Fri, 06 Jan 2006 23:06:30 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:37 -0800 [NETFILTER]: Handle NAT in IPsec policy checks Handle NAT of decapsulated IPsec packets by reconstructing the struct flowi of the original packet from the conntrack information for IPsec policy checks. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit b59c270104f03960069596722fea70340579244d tree 5d038835626047899097b622695ead5c1eb1c499 parent 5c901daaea3be0d900b3ae1fc9b5f64ff94e4f02 author Patrick McHardy Fri, 06 Jan 2006 23:06:10 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:36 -0800 [NETFILTER]: Keep conntrack reference until IPsec policy checks are done Keep the conntrack reference until policy checks have been performed for IPsec NAT support. The reference needs to be dropped before a packet is queued to avoid having the conntrack module unloadable. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 5c901daaea3be0d900b3ae1fc9b5f64ff94e4f02 tree 7532b280d892bab7fd9af98b02a3f81929ddca5d parent 4e8e9de7c25315669e2d5565acc50ec379522c28 author Patrick McHardy Fri, 06 Jan 2006 23:05:36 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:35 -0800 [NETFILTER]: Redo policy lookups after NAT when neccessary When NAT changes the key used for the xfrm lookup it needs to be done again. If a new policy is returned in POST_ROUTING the packet needs to be passed to xfrm4_output_one manually after all hooks were called because POST_ROUTING is called with fixed okfn (ip_finish_output). Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 4e8e9de7c25315669e2d5565acc50ec379522c28 tree 3d101041c9d28a70b8eec77af279cbfbb72b3027 parent 3e3850e989c5d2eb1aab6f0fd9257759f0f4cbc6 author Patrick McHardy Fri, 06 Jan 2006 23:05:17 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:34 -0800 [NETFILTER]: Use conntrack information to determine if packet was NATed Preparation for IPsec support for NAT: Use conntrack information instead of saving the saving and comparing the addresses to determine if a packet was NATed and needs to be rerouted to make it easier to extend the key. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 3e3850e989c5d2eb1aab6f0fd9257759f0f4cbc6 tree fa05d1de4767bc30e77442ffbacfe8bd8dd2213d parent 8cdfab8a43bb4b3da686ea503a702cb6f9f6a803 author Patrick McHardy Fri, 06 Jan 2006 23:04:54 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:33 -0800 [NETFILTER]: Fix xfrm lookup in ip_route_me_harder/ip6_route_me_harder ip_route_me_harder doesn't use the port numbers of the xfrm lookup and uses ip_route_input for non-local addresses which doesn't do a xfrm lookup, ip6_route_me_harder doesn't do a xfrm lookup at all. Use xfrm_decode_session and do the lookup manually, make sure both only do the lookup if the packet hasn't been transformed already. Makeing sure the lookup only happens once needs a new field in the IP6CB, which exceeds the size of skb->cb. The size of skb->cb is increased to 48b. Apparently the IPv6 mobile extensions need some more room anyway. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 8cdfab8a43bb4b3da686ea503a702cb6f9f6a803 tree 9c4f42ff23f0e227e705aa5aae4f74e45297f3cb parent b05e106698d9966de524e78d9da1bf6407fe0c32 author Patrick McHardy Fri, 06 Jan 2006 23:04:01 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:32 -0800 [IPV4]: reset IPCB flags when neccessary Reset IPSKB_XFRM_TUNNEL_SIZE flags in ipip and ip_gre hard_start_xmit function before the packet reenters IP. This is neccessary so the encapsulated packets are checked not to be oversized in xfrm4_output.c again. Reset all flags in sit when a packet changes its address family. Also remove some obsolete IPSKB flags. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit b05e106698d9966de524e78d9da1bf6407fe0c32 tree 8a7c253b7249451941674805cccdaaba299dff6f parent 951dbc8ac714b04c36296b8b5c36c8e036ce433f author Patrick McHardy Fri, 06 Jan 2006 23:03:34 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:31 -0800 [IPV4/6]: Netfilter IPsec input hooks When the innermost transform uses transport mode the decapsulated packet is not visible to netfilter. Pass the packet through the PRE_ROUTING and LOCAL_IN hooks again before handing it to upper layer protocols to make netfilter-visibility symetrical to the output path. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 951dbc8ac714b04c36296b8b5c36c8e036ce433f tree 7f3599987f6b6db765f66c65d5c1cefe1457ea6a parent 16a6677fdf1d1194f688f8291b06fbaff248c353 author Patrick McHardy Fri, 06 Jan 2006 23:02:34 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:29 -0800 [IPV6]: Move nextheader offset to the IP6CB Move nextheader offset to the IP6CB to make it possible to pass a packet to ip6_input_finish multiple times and have it skip already parsed headers. As a nice side effect this gets rid of the manual hopopts skipping in ip6_input_finish. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 16a6677fdf1d1194f688f8291b06fbaff248c353 tree 61badedc44ed88eb8f39e082d1abf114252cc686 parent ee2e6841b934d76cb944a3390bbea84da777d4fa author Patrick McHardy Fri, 06 Jan 2006 23:01:48 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:28 -0800 [XFRM]: Netfilter IPsec output hooks Call netfilter hooks before IPsec transforms. Packets visit the FORWARD/LOCAL_OUT and POST_ROUTING hook before the first encapsulation and the LOCAL_OUT and POST_ROUTING hook before each following tunnel mode transform. Patch from Herbert Xu : Move the loop from dst_output into xfrm4_output/xfrm6_output since they're the only ones who need to it. xfrm{4,6}_output_one() processes the first SA all subsequent transport mode SAs and is called in a loop that calls the netfilter hooks between each two calls. In order to avoid the tail call issue, I've added the inline function nf_hook which is nf_hook_slow plus the empty list check. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit ee2e6841b934d76cb944a3390bbea84da777d4fa tree 839c2a904647d220d5188e942240b22a24403990 parent aa0e4e4aea8d9e0a559a884336d728f0263063e0 author Luiz Capitulino Fri, 06 Jan 2006 22:59:43 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:27 -0800 [XFRM]: Fix sparse warning. security/selinux/xfrm.c:155:10: warning: Using plain integer as NULL pointer Signed-off-by: Luiz Capitulino Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit aa0e4e4aea8d9e0a559a884336d728f0263063e0 tree 78517a89214d6106e2f31fe4b84f001fe959088f parent b9abaa3fb7328851bdeaad19e694048f0ff71d9a author David S. Miller Fri, 06 Jan 2006 22:55:39 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:26 -0800 [DCCP]: ipv6.c needs net/ip6_checksum.c Reported by Dave Jones. Signed-off-by: David S. Miller commit b9abaa3fb7328851bdeaad19e694048f0ff71d9a tree de56cda929b837c6b2e421b57c723939ec7df5da parent 8995b161eb142b843094dd614b80e4cce1d66352 parent 736ce43295682d060f2b93624b4a339f9af6aab1 author Linus Torvalds Sat, 07 Jan 2006 11:29:51 -0800 committer Linus Torvalds Sat, 07 Jan 2006 11:29:51 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input commit 8995b161eb142b843094dd614b80e4cce1d66352 tree ffd9988879441d5ec45ab96b2e06f4fcb1210158 parent cc918c7ab7da017bfaf9661420bb5c462e057cfb parent fe5dd7c73d328b255286b6b65ca19dd34447f709 author Linus Torvalds Sat, 07 Jan 2006 10:45:22 -0800 committer Linus Torvalds Sat, 07 Jan 2006 10:45:22 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit cc918c7ab7da017bfaf9661420bb5c462e057cfb tree 36198fe17267200131ec6c3df7c046a857f76b8d parent f9c5d0451b406a6bd0d0bf1fdd63c7777af6ebc6 parent dd68e88c72ac9ad25052065c4a443326eda6a052 author Linus Torvalds Sat, 07 Jan 2006 10:44:22 -0800 committer Linus Torvalds Sat, 07 Jan 2006 10:44:22 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit f9c5d0451b406a6bd0d0bf1fdd63c7777af6ebc6 tree 717e9fc0044e9d94dd363670cacc2dff9d5b4407 parent d354d9afe923eb08f7ee89128b38ddb6415de01d parent f3e2628bed0d5a88ced8239b35f1534557f9631c author Linus Torvalds Sat, 07 Jan 2006 10:43:40 -0800 committer Linus Torvalds Sat, 07 Jan 2006 10:43:40 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-mmc commit d354d9afe923eb08f7ee89128b38ddb6415de01d tree b4ce49dd4ad6963bff6b69ba413f074b11114837 parent f9a204e1de73a7007de66fb289e1d64a7665c9b4 author Knut Petersen Sat, 07 Jan 2006 10:22:04 +0100 committer Linus Torvalds Sat, 07 Jan 2006 10:39:34 -0800 [PATCH] fbcon: don´t call set_par() in fbcon_init() if vc_mode == KD_GRAPHICS Nothing prevents a user to modprobe a framebuffer driver from e.g. the xterm prompt. As a result, the set_par() function of the driver will be called from fbcon_init(). This is fatal as a lot of X / framebuffer combinations are unable to recover from set_par() reprogramming the graphics controller in KD_GRAPHICS mode. It is also unnecessary as the set_par() function will be called during a switch to KD_TEXT anyway. Because of this no side effects are possible. Signed-off-by: Knut Petersen Signed-off-by: Linus Torvalds commit fe5dd7c73d328b255286b6b65ca19dd34447f709 tree 5b93364d88c1f214053003c75bdb0c94b7cdb0df parent f8ce25476d5f12ffa29b885e49c38cd95053437e author Russell King Sat, 07 Jan 2006 16:55:50 +0000 committer Russell King Sat, 07 Jan 2006 16:55:50 +0000 [ARM] byteorder.h needs linux/compiler.h Signed-off-by: Russell King commit 736ce43295682d060f2b93624b4a339f9af6aab1 tree 6f912c51447b389f1456494a3b436534b9b64bed parent 6020bafc9e30e04f4db65298d00e8e28ffb40652 author Vernon Mauery Sat, 07 Jan 2006 11:35:05 -0500 committer Dmitry Torokhov Sat, 07 Jan 2006 11:35:05 -0500 Input: ibmasm - convert to dynamic input_dev allocation Update the ibmasm driver to use the dynamic allocation of input_dev structs to work with the sysfs subsystem. Vojtech: Fixed some problems/bugs in the patch. Dmitry: Fixed some more. Signed-off-by: Vernon Mauery Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit f8ce25476d5f12ffa29b885e49c38cd95053437e tree 640fbdaacbf375f13feaf0eee49306d90b778b8a parent de1d815fccee1f4766a7e56054ab0ec3f6f3a7db author Russell King Sat, 07 Jan 2006 16:15:52 +0000 committer Russell King Sat, 07 Jan 2006 16:15:52 +0000 [ARM] Move asm/hardware/clock.h to linux/clk.h This is needs to be visible to other architectures using the AMBA bus and peripherals. Signed-off-by: Russell King commit de1d815fccee1f4766a7e56054ab0ec3f6f3a7db tree e767e18755de6efc55f8ea2759ece2aa74574b05 parent 123656d4cc8c946f578ebd18c2050f5251720428 author Russell King Sat, 07 Jan 2006 14:54:15 +0000 committer Russell King Sat, 07 Jan 2006 14:54:15 +0000 [ARM] Move AMBA bus code to drivers/amba/ Make the AMBA bus code visible to other architectures. Signed-off-by: Russell King commit 123656d4cc8c946f578ebd18c2050f5251720428 tree 3d5432eff034a3b9cfdc98b37e245abe5695342d parent a62c80e559809e6c7851ec04d30575e85ad6f6ed parent 0aec63e67c69545ca757a73a66f5dcf05fa484bf author Russell King Sat, 07 Jan 2006 14:40:05 +0000 committer Russell King Sat, 07 Jan 2006 14:40:05 +0000 Merge with Linus' kernel. commit a62c80e559809e6c7851ec04d30575e85ad6f6ed tree 7d91fd1f5186ad0d95498f65acfa5a10942133d6 parent 6351610d6906aacbf9176cbdd045dd3876eec4c0 author Russell King Sat, 07 Jan 2006 13:52:45 +0000 committer Russell King Sat, 07 Jan 2006 13:52:45 +0000 [ARM] Move AMBA include files to include/linux/amba/ Since the ARM AMBA bus is used on MIPS as well as ARM, we need to make the bus available for other architectures to use. Move the AMBA include files from include/asm-arm/hardware/ to include/linux/amba/ Signed-off-by: Russell King commit 6351610d6906aacbf9176cbdd045dd3876eec4c0 tree af6219c7a958f91c4d62fd1622954ed91ed1a9e7 parent 2c041f4b9be5cecbd0a042ecd9122a9db6f50416 author Andre McCurdy Sat, 07 Jan 2006 11:39:20 +0000 committer Russell King Sat, 07 Jan 2006 11:39:20 +0000 [ARM] 3239/1: Add ARM optimised swab32 Patch from Andre McCurdy Replaces generic swab32 routine with a more ARM friendly version. Reduces kernel text size by approx 1200 bytes when compiled with 3.4.4 and approx 2400 bytes with 4.0.2 Probably some performance benefit as well. Signed-off-by: Andre McCurdy Signed-off-by: Russell King commit 2c041f4b9be5cecbd0a042ecd9122a9db6f50416 tree 25dca940da091b0426f067338f235e651ac99e07 parent f99c89297cd6995ccad6394c87383941c2570fe9 author Richard Purdie Sat, 07 Jan 2006 11:12:26 +0000 committer Russell King Sat, 07 Jan 2006 11:12:26 +0000 [ARM] 3235/1: SharpSL PM: Fix a gcc4 build error Patch from Richard Purdie Fix a gcc4 build error (incomplete element type) in the pxa SharpSL PM code. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit f99c89297cd6995ccad6394c87383941c2570fe9 tree aea6fffb764b943e3343c0d3259262461f92d7b1 parent 5b2e98cdf3a6ac6c57de6a2156c673d4b0262684 author Pavel Pisa Sat, 07 Jan 2006 10:44:32 +0000 committer Russell King Sat, 07 Jan 2006 10:44:32 +0000 [ARM] 3232/1: i.MX Frame Buffer undeclared "dev" variable fix Patch from Pavel Pisa Correction of the code broken by update whole-tree platform devices update. Signed-off-by: Pavel Pisa Signed-off-by: Sascha Hauer Signed-off-by: Russell King commit f9a204e1de73a7007de66fb289e1d64a7665c9b4 tree e2f6d2d6bc2312a4417d8306d9e4f1a0d7dfc461 parent d758a8fa8ce0566947677f7e70bf70c57ad9445c author Borislav Petkov Fri, 06 Jan 2006 01:31:00 -0500 committer Len Brown Sat, 07 Jan 2006 05:11:08 -0500 [ACPI] remove Kconfig "default y" for laptop drivers Signed-off-by: Borislav Petkov Signed-off-by: Andrew Morton Signed-off-by: Len Brown commit d758a8fa8ce0566947677f7e70bf70c57ad9445c tree d569ee91b84d237de83b28d6a33270fc695e1f34 parent add5b5ee992e40c9cd8697ea94c223628be162a7 author Randy Dunlap Fri, 06 Jan 2006 01:31:00 -0500 committer Len Brown Sat, 07 Jan 2006 05:05:31 -0500 [ACPI] fix kernel-doc warnings in acpi/scan.c Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Len Brown commit add5b5ee992e40c9cd8697ea94c223628be162a7 tree 7f3f279f3e6b41e61d7dfaf4d25a5251024a7185 parent 25da0974601fc8096461f3d3f7ca3aab8e79adfb parent 0aec63e67c69545ca757a73a66f5dcf05fa484bf author Len Brown Sat, 07 Jan 2006 02:05:40 -0500 committer Len Brown Sat, 07 Jan 2006 02:05:40 -0500 Auto-update from upstream commit 0aec63e67c69545ca757a73a66f5dcf05fa484bf tree f01b80fd415389506b2a719831dfd6a90c0b258f parent 0feb9bfcfa3f9bf67a4a1e3f2608700ad73f92ed author David S. Miller Fri, 06 Jan 2006 15:36:48 -0800 committer Linus Torvalds Fri, 06 Jan 2006 20:23:04 -0800 [PATCH] Fix posix-cpu-timers sched_time accumulation I've spent the past 3 days digging into a glibc testsuite failure in current CVS, specifically libc/rt/tst-cputimer1.c The thr1 and thr2 timers fire too early in the second pass of this test. The second pass is noteworthy because it makes use of intervals, whereas the first pass does not. All throughout the posix-cpu-timers.c code, the calculation of the process sched_time sum is implemented roughly as: unsigned long long sum; sum = tsk->signal->sched_time; t = tsk; do { sum += t->sched_time; t = next_thread(t); } while (t != tsk); In fact this is the exact scheme used by check_process_timers(). In the case of check_process_timers(), current->sched_time has just been updated (via scheduler_tick(), which is invoked by update_process_times(), which subsequently invokes run_posix_cpu_timers()) So there is no special processing necessary wrt. that. In other contexts, we have to allot for the fact that tsk->sched_time might be a bit out of date if we are current. And the posix-cpu-timers.c code uses current_sched_time() to deal with that. Unfortunately it does so in an erroneous and inconsistent manner in one spot which is what results in the early timer firing. In cpu_clock_sample_group_locked(), it does this: cpu->sched = p->signal->sched_time; /* Add in each other live thread. */ while ((t = next_thread(t)) != p) { cpu->sched += t->sched_time; } if (p->tgid == current->tgid) { /* * We're sampling ourselves, so include the * cycles not yet banked. We still omit * other threads running on other CPUs, * so the total can always be behind as * much as max(nthreads-1,ncpus) * (NSEC_PER_SEC/HZ). */ cpu->sched += current_sched_time(current); } else { cpu->sched += p->sched_time; } The problem is the "p->tgid == current->tgid" test. If "p" is not current, and the tgids are the same, we will add the process t->sched_time twice into cpu->sched and omit "p"'s sched_time which is very very very wrong. posix-cpu-timers.c has a helper function, sched_ns(p) which takes care of this, so my fix is to use that here instead of this special tgid test. The fact that current can be one of the sub-threads of "p" points out that we could make things a little bit more accurate, perhaps by using sched_ns() on every thread we process in these loops. It also points out that we don't use the most accurate value for threads in the group actively running other cpus (and this is mentioned in the comment). But that is a future enhancement, and this fix here definitely makes sense. Signed-off-by: David S. Miller Signed-off-by: Linus Torvalds commit 4f8448dfe8d3804fadad90c9b77494238b4a4eae tree 0d057d70db0dd4c2dda85a3d932af70bd7025686 parent ac4e7b35579de55db50d602a472858867808a9c3 author Ralph Campbell Fri, 06 Jan 2006 16:43:47 -0800 committer Roland Dreier Fri, 06 Jan 2006 16:43:47 -0800 IB: Set GIDs correctly in ib_create_ah_from_wc() ib_create_ah_from_wc() doesn't create the correct return address (AH) when there is a GRH present (source & dest GIDs need to be swapped). Signed-off-by: Ralph Campbell Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit ac4e7b35579de55db50d602a472858867808a9c3 tree 09680302ee8c821bdea085af19d1d3b50ebcb4a9 parent ea5d4a6ad2bfd1006790666981645cab43d3afbd author Jack Morgenstein Fri, 06 Jan 2006 16:43:14 -0800 committer Roland Dreier Fri, 06 Jan 2006 16:43:14 -0800 IB/uverbs: Release event file reference on ib_uverbs_create_cq() error ib_uverbs_create_cq() should release the completion channel event file if an error occurs after it looks it up. Also, if userspace asks for a completion channel and we don't find it, an error should be returned instead of silently creating a CQ without a completion channel. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit ea5d4a6ad2bfd1006790666981645cab43d3afbd tree eab8ec359f4dd5d833932c6107023701038224e2 parent b4ca1a3f8ca24033d7b7ef595faef97d9f8b2326 author Ralph Campbell Fri, 06 Jan 2006 16:24:45 -0800 committer Roland Dreier Fri, 06 Jan 2006 16:24:45 -0800 IB/uverbs: set ah_flags when creating address handle AH attribute's ah_flags need to be set according to the is_global flag passed in from userspace. Signed-off-by: Roland Dreier commit b4ca1a3f8ca24033d7b7ef595faef97d9f8b2326 tree 1a45fee6feb7fe3a86a9fc4fbd09fdf32a8f7ae6 parent 4de144bf721e46e7ccc8fed45b20a640cc364904 author Jack Morgenstein Fri, 06 Jan 2006 16:21:19 -0800 committer Roland Dreier Fri, 06 Jan 2006 16:21:19 -0800 IB/uverbs: Fix reference counting on error paths If an operation fails after incrementing an object's reference count, then it should decrement the reference count on the error path. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 0feb9bfcfa3f9bf67a4a1e3f2608700ad73f92ed tree 22c71657387b42787bc070502899a881ed909f39 parent d8d8f6a4fd635dcc9e4f946394c1fbde85eeab66 parent ccf18968b1bbc2fb117190a1984ac2a826dac228 author Linus Torvalds Fri, 06 Jan 2006 15:25:08 -0800 committer Linus Torvalds Fri, 06 Jan 2006 15:25:08 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6 commit d8d8f6a4fd635dcc9e4f946394c1fbde85eeab66 tree 0a1bc8ff40c12bb30066467e11ae9153f89514e7 parent 57d1c91fa6d9146b309b7511f6432dea2a24858b parent a2167dc62e9142b9a4bfb20f7e001c0f0a26fd8c author Linus Torvalds Fri, 06 Jan 2006 15:24:28 -0800 committer Linus Torvalds Fri, 06 Jan 2006 15:24:28 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 57d1c91fa6d9146b309b7511f6432dea2a24858b tree d7958dd87eb950cc3eeaf8b32fc372c0e7ff6702 parent 47853e7fa588bef826c9799a87b33904b32bd905 parent 37193147991a53b2e9f573d0ec47f63a2d4de8dc author Linus Torvalds Fri, 06 Jan 2006 15:23:56 -0800 committer Linus Torvalds Fri, 06 Jan 2006 15:23:56 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild commit 47853e7fa588bef826c9799a87b33904b32bd905 tree bd7681d1aedf28125b86fb0218e64297f4d71ac9 parent 221fc10ec89834329e5613e3cab4569ba22da410 parent 9e56904e41e242169007e69d9916059dab995d90 author Linus Torvalds Fri, 06 Jan 2006 15:22:57 -0800 committer Linus Torvalds Fri, 06 Jan 2006 15:22:57 -0800 Merge git://git.linux-nfs.org/pub/linux/nfs-2.6 commit 221fc10ec89834329e5613e3cab4569ba22da410 tree be6c44c8aab6c548082479b29e62e38c274eb115 parent 76832c28de4fabbf32fe1e5a25194724a3430070 author Evgeniy Fri, 06 Jan 2006 21:18:01 +0300 committer Linus Torvalds Fri, 06 Jan 2006 15:22:28 -0800 [PATCH] fs/ufs: debug mode compilation failure This patch should fix compilation failure of fs/ufs/dir.c with defined UFS_DIR_DEBUG Signed-off-by: Evgeniy Dushistov Signed-off-by: Linus Torvalds commit 76832c28de4fabbf32fe1e5a25194724a3430070 tree af30f03ef07b2532332b53f95f43f93c0ec3553d parent c0e7dcc8bc01d7ea1865e7040a586207d1b34b36 author Dimitri Sivanich Fri, 06 Jan 2006 11:33:41 -0600 committer Linus Torvalds Fri, 06 Jan 2006 15:22:28 -0800 [PATCH] shrink mmtimer memory size This greatly reduces the amount of memory used by mmtimer on smaller machines with large values of MAX_COMPACT_NODES. Signed-off-by: Dimitri Sivanich Signed-off-by: Christoph Lameter Signed-off-by: Linus Torvalds commit c0e7dcc8bc01d7ea1865e7040a586207d1b34b36 tree d142efa236f8dbc4a2f4175899503ac09bf3f356 parent d99cf9d679a520d67f81d805b7cb91c68e1847f0 author Adrian Bunk Fri, 06 Jan 2006 18:26:29 +0100 committer Linus Torvalds Fri, 06 Jan 2006 15:22:28 -0800 [PATCH] MAINTAINERS: remove the outdated DAC960 entry Randy Dunlap: "Dave is no longer at OSDL and is no longer maintaining that driver." Signed-off-by: Adrian Bunk Signed-off-by: Linus Torvalds commit 25da0974601fc8096461f3d3f7ca3aab8e79adfb tree f9b3c1bfbc63fdb6a94e82177b8c3ae891125422 parent 036d25f79ddfbc9878da24ef8e468a6d22caa605 parent d99cf9d679a520d67f81d805b7cb91c68e1847f0 author Len Brown Fri, 06 Jan 2006 16:34:21 -0500 committer Len Brown Fri, 06 Jan 2006 16:34:21 -0500 Auto-update from upstream commit a2167dc62e9142b9a4bfb20f7e001c0f0a26fd8c tree c6f2a4206952e51f765f3e7ef84892746579501c parent 76ab608d86cf1ef5c5c46819b5733eb9f9f964f8 author Alexey Dobriyan Fri, 06 Jan 2006 13:24:54 -0800 committer David S. Miller Fri, 06 Jan 2006 13:24:54 -0800 [NET]: Endian-annotate in_aton() Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit 76ab608d86cf1ef5c5c46819b5733eb9f9f964f8 tree aa8d9947a722459a0ae0e54c9391a8de7c59aeee parent 5f8ac64b15172c7ced7d7990eb28342092bc751b author Alexey Dobriyan Fri, 06 Jan 2006 13:24:29 -0800 committer David S. Miller Fri, 06 Jan 2006 13:24:29 -0800 [NET]: Endian-annotate struct iphdr And fix trivial warnings that emerged. Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit 4de144bf721e46e7ccc8fed45b20a640cc364904 tree 2a1c8e592d21a5ee03533fe6e01ceda82f068715 parent 0f8e8f9607d77ffc1f9820446dfcf781e96fdfd4 author Dotan Barak Fri, 06 Jan 2006 13:23:58 -0800 committer Roland Dreier Fri, 06 Jan 2006 13:23:58 -0800 IB/mthca: Add support for automatic path migration (APM) Add code to modify QP operation to handle setting alternate paths for connected QPs. Signed-off-by: Dotan Barak Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 5f8ac64b15172c7ced7d7990eb28342092bc751b tree 63046817c9a6e8db513379337f01289c045a5d63 parent 69549ddd2f894c4cead50ee2b60cc02990c389ad author Trent Jaeger Fri, 06 Jan 2006 13:22:39 -0800 committer David S. Miller Fri, 06 Jan 2006 13:22:39 -0800 [LSM-IPSec]: Corrections to LSM-IPSec Nethooks This patch contains two corrections to the LSM-IPsec Nethooks patches previously applied. (1) free a security context on a failed insert via xfrm_user interface in xfrm_add_policy. Memory leak. (2) change the authorization of the allocation of a security context in a xfrm_policy or xfrm_state from both relabelfrom and relabelto to setcontext. Signed-off-by: Trent Jaeger Signed-off-by: David S. Miller commit 69549ddd2f894c4cead50ee2b60cc02990c389ad tree ecd1f34216814c329330f8374d7cbfb59a024596 parent 3cbc4ab58f79853740bf21f3736913d223ee50d4 author Luiz Capitulino Fri, 06 Jan 2006 13:19:31 -0800 committer David S. Miller Fri, 06 Jan 2006 13:19:31 -0800 [PKTGEN]: Adds missing __init. pktgen_find_thread() and pktgen_create_thread() are only called at initialization time. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 036d25f79ddfbc9878da24ef8e468a6d22caa605 tree 0d8d981a1f433ad5d34fa059ae48e4a1d95bab4b parent d78fef14c2218ba9666687aabc57392c54569048 author Len Brown Fri, 06 Jan 2006 16:19:26 -0500 committer Len Brown Fri, 06 Jan 2006 16:19:26 -0500 [ACPI] linux-acpi@vger.kernel.org replaces acpi-devel@lists.sourceforge.net Signed-off-by: Len Brown commit 3cbc4ab58f79853740bf21f3736913d223ee50d4 tree 6e620bb2332c6af44c8c2824ba95b29ea7c50da8 parent ee02b3a613a692a40e0f48a25d9d60cc751ebbe5 author Joe Fri, 06 Jan 2006 13:15:11 -0800 committer David S. Miller Fri, 06 Jan 2006 13:15:11 -0800 [NETFILTER]: ipt_helper.c needs linux/interrupt.h From: Joe Signed-off-by: David S. Miller commit 0f8e8f9607d77ffc1f9820446dfcf781e96fdfd4 tree 3e865beb1c3e1cc53b9644ada1415ea11a8f4b77 parent 5ceb74557c71465cf8f6fda050aac00e53f9ad3d author Michael S. Tsirkin Fri, 06 Jan 2006 13:13:32 -0800 committer Roland Dreier Fri, 06 Jan 2006 13:13:32 -0800 IB/mthca: Fill in vendor_err field in completion with error Fill vendor_err field in completion with error. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit ee02b3a613a692a40e0f48a25d9d60cc751ebbe5 tree 51c034027c96a213ac53cd831dee4cb24fd0ed17 parent a20a8554796bc4e28879beabd0db4bf3ce77b686 author Stephen Hemminger Fri, 06 Jan 2006 13:13:29 -0800 committer David S. Miller Fri, 06 Jan 2006 13:13:29 -0800 [BRIDGE] netfilter: vlan + hw checksum = bug? It looks like the bridge netfilter code does not correctly update the hardware checksum after popping off the VLAN header. This is by inspection, I have *not* tested this. To test you would need to set up a filtering bridge with vlans and a device the does hardware receive checksum (skge, or sungem) Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit a20a8554796bc4e28879beabd0db4bf3ce77b686 tree 2fdc866d3fe722e6eea6b6bb4017b9ab53927a62 parent 4bad4dc919573dbe9a5b41dd9edff279e99822d7 author Shaun Pereira Fri, 06 Jan 2006 13:11:35 -0800 committer David S. Miller Fri, 06 Jan 2006 13:11:35 -0800 [X25]: Fix for broken x25 module. When a user-space server application calls bind on a socket, then in kernel space this bound socket is considered 'x25-linked' and the SOCK_ZAPPED flag is unset.(As in x25_bind()/af_x25.c). Now when a user-space client application attempts to connect to the server on the listening socket, if the kernel accepts this in-coming call, then it returns a new socket to userland and attempts to reply to the caller. The reply/x25_sendmsg() will fail, because the new socket created on call-accept has its SOCK_ZAPPED flag set by x25_make_new(). (sock_init_data() called by x25_alloc_socket() called by x25_make_new() sets the flag to SOCK_ZAPPED)). Fix: Using the sock_copy_flag() routine available in sock.h fixes this. Tested on 32 and 64 bit kernels with x25 over tcp. Signed-off-by: Shaun Pereira Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 5ceb74557c71465cf8f6fda050aac00e53f9ad3d tree 8cd77012ee081d45926731306339977da61a4926 parent 0d3b525fff40475e58dab9176740d2efc5f37838 author Jack Morgenstein Fri, 06 Jan 2006 13:11:07 -0800 committer Roland Dreier Fri, 06 Jan 2006 13:11:07 -0800 IB/mthca: multiple fixes for multicast group handling Multicast group management fixes: . Fix leak of mailbox memory in error handling on multicast group operations. . Free AMGM indices at detach and in attach error handling. . Fix amount to shift for aligning next_gid_index in mailbox: it starts at bit 6, not bit 5. . Allocate AMGM index after end of MGM table, in the range num_mgms to multicast table size - 1. Add some BUG_ON checks to catch cases where the index falls in the MGM hash area. . Initialize the list of QPs in a newly-allocated group from AMGM to 0 This is necessary since when a group is moved from AMGM to MGM (in the case where the MGM entry has been emptied of QPs), the AMGM entry is not reset to 0 (and we don't want an extra command to do that). Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 4bad4dc919573dbe9a5b41dd9edff279e99822d7 tree 530b791512cfd2f310c5806d109242bccf090fd7 parent dbbc0988288d9643044e8bd8c7e7de70016ecd23 author Kris Katterjohn Fri, 06 Jan 2006 13:08:20 -0800 committer David S. Miller Fri, 06 Jan 2006 13:08:20 -0800 [NET]: Change sk_run_filter()'s return type in net/core/filter.c It should return an unsigned value, and fix sk_filter() as well. Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit dbbc0988288d9643044e8bd8c7e7de70016ecd23 tree 6e3175bf90bb9702be4fe631b1db36f850cf4249 parent d99cf9d679a520d67f81d805b7cb91c68e1847f0 author Kris Katterjohn Fri, 06 Jan 2006 13:05:58 -0800 committer David S. Miller Fri, 06 Jan 2006 13:05:58 -0800 [NET]: Use newer is_multicast_ether_addr() in some files This uses is_multicast_ether_addr() because it has recently been changed to do the same thing these seperate tests are doing. Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit 0d3b525fff40475e58dab9176740d2efc5f37838 tree aa3704e6e5a6018e5e03857abf9e344df97600b8 parent 0364ffc3e8c441d4185e3eb41ecc61dbb09614e4 author Jack Morgenstein Fri, 06 Jan 2006 13:03:43 -0800 committer Roland Dreier Fri, 06 Jan 2006 13:03:43 -0800 IB/mthca: fix for RTR-to-RTS transition in modify QP PKEY_INDEX is not a legal parameter in the RTR->RTS transition. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 0364ffc3e8c441d4185e3eb41ecc61dbb09614e4 tree 58ae797028c830eff6a8094d5911a9e251f92ad2 parent 5b3bc7a68171138d52b1b62012c37ac888895460 author Jack Morgenstein Fri, 06 Jan 2006 13:01:27 -0800 committer Roland Dreier Fri, 06 Jan 2006 13:01:27 -0800 IB/mthca: fix for SQEr-to-RTS transition in modify QP Fixes to SQEr->RTS transition in modify_qp: 1. The flag IB_QP_ACCESS_FLAGS is optional for UC qps 2. The SQEr state is not supported for RC qps Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit ccf18968b1bbc2fb117190a1984ac2a826dac228 tree 7bc8fbf5722aecf1e84fa50c31c657864cba1daa parent e91c021c487110386a07facd0396e6c3b7cf9c1f parent d99cf9d679a520d67f81d805b7cb91c68e1847f0 author Greg Kroah-Hartman Fri, 06 Jan 2006 12:59:59 -0800 committer Greg Kroah-Hartman Fri, 06 Jan 2006 12:59:59 -0800 Merge ../torvalds-2.6/ commit 5b3bc7a68171138d52b1b62012c37ac888895460 tree 63960e2e3f8db5bbe7ef5c9d64e1c5ea3a9124f5 parent 466200562ccd80f728f7ef602d2b97b4fdedd566 author Jack Morgenstein Fri, 06 Jan 2006 12:57:30 -0800 committer Roland Dreier Fri, 06 Jan 2006 12:57:30 -0800 IB/mthca: max_inline_data handling tweaks Fix a case where copying max_inline_data from a successful create_qp capabilities output to create_qp input could cause EINVAL error: mthca_set_qp_size must check max_inline_data directly against max_desc_sz; checking qp->sq.max_gs is wrong since max_inline_data depends on the qp type and does not involve max_sg. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 37193147991a53b2e9f573d0ec47f63a2d4de8dc tree 8f1464d143b94fddf8c3ff47119def45f37d2d45 parent 367cb704212cd0c9273ba2b1e62523139210563b author Adrian Bunk Mon, 02 Jan 2006 11:25:30 +0100 committer Sam Ravnborg Fri, 06 Jan 2006 21:49:31 +0100 kconfig: fix gconfig with POSIXLY_CORRECT=1 This patch fixed "make gconfig" with POSIXLY_CORRECT=1 set. This issue was reported by Jens Elkner in kernel Bugzilla #2919. Signed-off-by: Adrian Bunk Signed-off-by: Sam Ravnborg commit 367cb704212cd0c9273ba2b1e62523139210563b tree cda6402ea19e2b706ad8ac9a186f1e391ab3c6ea parent 20ede2741551d4a1d24313292beb0da915a55911 author Sam Ravnborg Fri, 06 Jan 2006 21:17:50 +0100 committer Sam Ravnborg Fri, 06 Jan 2006 21:17:50 +0100 kbuild: un-stringnify KBUILD_MODNAME Now when kbuild passes KBUILD_MODNAME with "" do not __stringify it when used. Remove __stringnify for all users. This also fixes the output of: $ ls -l /sys/module/ drwxr-xr-x 4 root root 0 2006-01-05 14:24 pcmcia drwxr-xr-x 4 root root 0 2006-01-05 14:24 pcmcia_core drwxr-xr-x 3 root root 0 2006-01-05 14:24 "processor" drwxr-xr-x 3 root root 0 2006-01-05 14:24 "psmouse" The quoting of the module names will be gone again. Thanks to GregKH + Kay Sievers for reproting this. Signed-off-by: Sam Ravnborg commit 9e56904e41e242169007e69d9916059dab995d90 tree 93078abbe0b10b9889c925b92e560111951f49f1 parent 42181d4bafe9047d0cd7f92fc11d79496bd95034 author J. Bruce Fields Tue, 03 Jan 2006 09:56:01 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:59:00 -0500 SUNRPC: Make krb5 report unsupported encryption types Print messages when an unsupported encrytion algorthm is requested or there is an error locating a supported algorthm. Signed-off-by: Kevin Coffman Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 42181d4bafe9047d0cd7f92fc11d79496bd95034 tree 70140df490e0c1ffa775423b1b76ab7d3dd62af2 parent 9eed129bbde80cbd7ffeacaa1555ba1e0c9a0997 author J. Bruce Fields Tue, 03 Jan 2006 09:56:01 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:59 -0500 SUNRPC: Make spkm3 report unsupported encryption types Print messages when an unsupported encrytion algorthm is requested or there is an error locating a supported algorthm. Signed-off-by: Kevin Coffman Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 9eed129bbde80cbd7ffeacaa1555ba1e0c9a0997 tree 49066f9b5321e09cf9696e5b69d454bf1e393eb0 parent 26c78e156b1d1b2387ec33b5f2fb62d6e0a186a3 author J. Bruce Fields Tue, 03 Jan 2006 09:56:00 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:59 -0500 SUNRPC: Update the spkm3 code to use the make_checksum interface Also update the tokenlen calculations to accomodate g_token_size(). Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 26c78e156b1d1b2387ec33b5f2fb62d6e0a186a3 tree fdbcdc6baa25af41d6935eebd537997fa24bf495 parent 58df095b732529ade8f4051b41d7c29731afecd6 author Trond Myklebust Tue, 03 Jan 2006 09:55:58 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:58 -0500 NFSv4: Fix an Oops in nfs_do_expire_all_delegations If the loop errors, we need to exit. Signed-off-by: Trond Myklebust commit 58df095b732529ade8f4051b41d7c29731afecd6 tree 917819b96bac91e5daea7a31eb6eba66268952d9 parent 0065db328533c390fbfb0fe0c46bcf9a278fb99e author Trond Myklebust Tue, 03 Jan 2006 09:55:57 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:58 -0500 NFSv4: Allow entries in the idmap cache to expire If someone changes the uid/gid mapping in userland, then we do eventually want those changes to be propagated to the kernel. Currently the kernel assumes that it may cache entries forever. Add an expiration time + garbage collector for idmap entries. Signed-off-by: Trond Myklebust commit 0065db328533c390fbfb0fe0c46bcf9a278fb99e tree 3ef282aa05653857007760ce15a4119f198f8320 parent 632e3bdc5006334cea894d078660b691685e1075 author Trond Myklebust Tue, 03 Jan 2006 09:55:56 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:58 -0500 SUNRPC: Clean up xprt_destroy() We ought never to be calling xprt_destroy() if there are still active rpc_tasks. Optimise away the broken code that attempts to "fix" that case. Signed-off-by: Trond Myklebust commit 632e3bdc5006334cea894d078660b691685e1075 tree c18dbe84dfe679d19a581ea0c9bfb931daa08917 parent eadb8c147154bff982f02accf31b847a1f142ace author Trond Myklebust Tue, 03 Jan 2006 09:55:55 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:57 -0500 SUNRPC: Ensure client closes the socket when server initiates a close If the server decides to close the RPC socket, we currently don't actually respond until either another RPC call is scheduled, or until xprt_autoclose() gets called by the socket expiry timer (which may be up to 5 minutes later). This patch ensures that xprt_autoclose() is called much sooner if the server closes the socket. Signed-off-by: Trond Myklebust commit eadb8c147154bff982f02accf31b847a1f142ace tree 875b2cefb6a5a96dcfc956b268128d3b37f9b0d2 parent cf3fff54a46e1f8fa4cc1deb783172a392077eb0 author Trond Myklebust Tue, 03 Jan 2006 09:55:54 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:57 -0500 NFS: get rid of some needless code obfuscation in xdr_encode_sattr(). Signed-off-by: Trond Myklebust commit cf3fff54a46e1f8fa4cc1deb783172a392077eb0 tree 9dc139601f2227abfa4a8efdf996f765fbbdad60 parent f518e35aec984036903c1003e867f833747a9d79 author Trond Myklebust Tue, 03 Jan 2006 09:55:53 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:57 -0500 NFS: Send valid mode bits to the server inode->i_mode contains a lot more than just the mode bits. Make sure that we mask away this extra stuff in SETATTR calls to the server. Signed-off-by: Trond Myklebust commit f518e35aec984036903c1003e867f833747a9d79 tree 2697838e0b1e6cc80565204de8b46430ded1246a parent 922004120b10dcb0ce04b55014168e8a7a8c1a0e author Chuck Lever Tue, 03 Jan 2006 09:55:52 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:56 -0500 SUNRPC: get rid of cl_chatty Clean up: Every ULP that uses the in-kernel RPC client, except the NLM client, sets cl_chatty. There's no reason why NLM shouldn't set it, so just get rid of cl_chatty and always be verbose. Test-plan: Compile with CONFIG_NFS enabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 922004120b10dcb0ce04b55014168e8a7a8c1a0e tree 4209bbd1043d9ddf09f2f277a65af758aa3631da parent 35f5a422ce1af836007f811b613c440d0e348e06 author Chuck Lever Tue, 03 Jan 2006 09:55:51 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:56 -0500 SUNRPC: transport switch API for setting port number At some point, transport endpoint addresses will no longer be IPv4. To hide the structure of the rpc_xprt's address field from ULPs and port mappers, add an API for setting the port number during an RPC bind operation. Test-plan: Destructive testing (unplugging the network temporarily). Connectathon with UDP and TCP. NFSv2/3 and NFSv4 mounting should be carefully checked. Probably need to rig a server where certain services aren't running, or that returns an error for some typical operation. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 35f5a422ce1af836007f811b613c440d0e348e06 tree 25aac5cccce27a6ed5ebb4e161f813af2adbaf56 parent 02107148349f31eee7c0fb06fd7a880df73dbd20 author Chuck Lever Tue, 03 Jan 2006 09:55:50 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:56 -0500 SUNRPC: new interface to force an RPC rebind We'd like to hide fields in rpc_xprt and rpc_clnt from upper layer protocols. Start by creating an API to force RPC rebind, replacing logic that simply sets cl_port to zero. Test-plan: Destructive testing (unplugging the network temporarily). Connectathon with UDP and TCP. NFSv2/3 and NFSv4 mounting should be carefully checked. Probably need to rig a server where certain services aren't running, or that returns an error for some typical operation. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 02107148349f31eee7c0fb06fd7a880df73dbd20 tree 37bffd81e08b8e50394ce89a1aa7a3961f0ffbe7 parent 03c21733938aad0758f5f88e1cc7ede69fc3c910 author Chuck Lever Tue, 03 Jan 2006 09:55:49 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:55 -0500 SUNRPC: switchable buffer allocation Add RPC client transport switch support for replacing buffer management on a per-transport basis. In the current IPv4 socket transport implementation, RPC buffers are allocated as needed for each RPC message that is sent. Some transport implementations may choose to use pre-allocated buffers for encoding, sending, receiving, and unmarshalling RPC messages, however. For transports capable of direct data placement, the buffers can be carved out of a pre-registered area of memory rather than from a slab cache. Test-plan: Millions of fsx operations. Performance characterization with "sio" and "iozone". Use oprofile and other tools to look for significant regression in CPU utilization. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 03c21733938aad0758f5f88e1cc7ede69fc3c910 tree d6e7295cb3d325d1de975eb072b363212ba1f6e6 parent a659753ecc66945e9c69823fcbbe222b446c66d7 author J. Bruce Fields Tue, 03 Jan 2006 09:55:48 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:55 -0500 NFSv3: try get_root user-supplied security_flavor Thanks to Ed Keizer for bug and root cause. He says: "... we could only mount the top-level Solaris share. We could not mount deeper into the tree. Investigation showed that Solaris allows UNIX authenticated FSINFO only on the top level of the share. This is a problem because we share/export our home directories one level higher than we mount them. I.e. we share the partition and not the individual home directories. This prevented access to home directories." We still may need to try auth_sys for the case where the client doesn't have appropriate credentials. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit a659753ecc66945e9c69823fcbbe222b446c66d7 tree 2f52a68f46f9ac73819fb8afa0c290ea85f3dc2f parent 64a318ee2af9000df482d7a125c3b3e1f1007404 author J. Bruce Fields Tue, 03 Jan 2006 09:55:46 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:54 -0500 NLM: fix parsing of sm notify procedure The procedure that decodes statd sm_notify call seems to be skipping a few arguments. How did this ever work? >From folks at Polyserve. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 64a318ee2af9000df482d7a125c3b3e1f1007404 tree 7b39e558cccce484635dc847a016bbcb5e83abdb parent 2c5acd2e1a73cad59203a1bace21e6b03f2920a9 author J. Bruce Fields Tue, 03 Jan 2006 09:55:46 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:54 -0500 NLM: Further cancel fixes If the server receives an NLM cancel call and finds no waiting lock to cancel, then chances are the lock has already been applied, and the client just hadn't yet processed the NLM granted callback before it sent the cancel. The Open Group text, for example, perimts a server to return either success (LCK_GRANTED) or failure (LCK_DENIED) in this case. But returning an error seems more helpful; the client may be able to use it to recognize that a race has occurred and to recover from the race. So, modify the relevant functions to return an error in this case. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 2c5acd2e1a73cad59203a1bace21e6b03f2920a9 tree 8fbd8725f4ca96c1d77d3c00a5756beaf5fa8abc parent 5996a298da43a03081e9ba2116983d173001c862 author J. Bruce Fields Tue, 03 Jan 2006 09:55:45 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:54 -0500 NLM: clean up nlmsvc_delete_block The fl_next check here is superfluous (and possibly a layering violation). Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 5996a298da43a03081e9ba2116983d173001c862 tree 533a3289102051cc3e033eff5730301776e64d31 parent f232142cc21127c829559923eb405d1bcb2e2278 author J. Bruce Fields Tue, 03 Jan 2006 09:55:44 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:53 -0500 NLM: don't unlock on cancel requests Currently when lockd gets an NLM_CANCEL request, it also does an unlock for the same range. This is incorrect. The Open Group documentation says that "This procedure cancels an *outstanding* blocked lock request." (Emphasis mine.) Also, consider a client that holds a lock on the first byte of a file, and requests a lock on the entire file. If the client cancels that request (perhaps because the requesting process is signalled), the server shouldn't apply perform an unlock on the entire file, since that will also remove the previous lock that the client was already granted. Or consider a lock request that actually *downgraded* an exclusive lock to a shared lock. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit f232142cc21127c829559923eb405d1bcb2e2278 tree 4ac11e21c008a26b6e9e5ad3ac4db8b2920534a9 parent fb459f45f7c7689714023d41b3dca999bb90a5d3 author J. Bruce Fields Tue, 03 Jan 2006 09:55:42 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:53 -0500 NLM: Clean up nlmsvc_grant_reply locking Slightly simpler logic here makes it more trivial to verify that the up's and down's are balanced here. Break out an assignment from a conditional while we're at it. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit fb459f45f7c7689714023d41b3dca999bb90a5d3 tree 5352bfb2157ad3edfd617e721a3c32e8617b4757 parent a72b44222d222749d54b3e370d825094352e389f author Adrian Bunk Tue, 03 Jan 2006 09:55:41 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:53 -0500 SUNRPC: net/sunrpc/xdr.c: remove xdr_decode_string() This patch removes ths unused function xdr_decode_string(). Signed-off-by: Adrian Bunk Acked-by: Neil Brown Acked-by: Charles Lever Signed-off-by: Trond Myklebust commit a72b44222d222749d54b3e370d825094352e389f tree d64815b696d207927a4154a2cbc649552708c6f2 parent a895b4a198dd06f8353328867e4f6cfd28b63081 author Trond Myklebust Tue, 03 Jan 2006 09:55:41 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:52 -0500 NFSv4: Allow user to set the port used by the NFSv4 callback channel Signed-off-by: Trond Myklebust commit a895b4a198dd06f8353328867e4f6cfd28b63081 tree 88a20d173f39170f40e03eede9103f3b0e10b980 parent fa178f29c0f8a0dce748181a5351f4a92fd4f455 author Trond Myklebust Tue, 03 Jan 2006 09:55:40 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:52 -0500 NFS: Clean up weak cache consistency code ...and ensure that nfs_update_inode() respects wcc Signed-off-by: Trond Myklebust commit fa178f29c0f8a0dce748181a5351f4a92fd4f455 tree 07de5ced8d16d832ebed98c58a2c0498affa12db parent beb2a5ec386e5ce6891ebd1c06b913da04354b40 author Trond Myklebust Tue, 03 Jan 2006 09:55:38 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:51 -0500 NFSv4: Ensure DELEGRETURN returns attributes Upon return of a write delegation, the server will almost always bump the change attribute. Ensure that we pick up that change so that we don't invalidate our data cache unnecessarily. Signed-off-by: Trond Myklebust commit beb2a5ec386e5ce6891ebd1c06b913da04354b40 tree 370e0065936e5739de638389af6c85ee960a6b28 parent 969b7f2522c90dfed5d0d2553a91522bda2c3bf3 author Trond Myklebust Tue, 03 Jan 2006 09:55:37 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:51 -0500 NFSv4: Ensure change attribute returned by GETATTR callback conforms to spec According to RFC3530 we're supposed to cache the change attribute at the time the client receives a write delegation. If the inode is clean, a CB_GETATTR callback by the server to the client is supposed to return the cached change attribute. If, OTOH, the inode is dirty, the client should bump the cached change attribute by 1. Signed-off-by: Trond Myklebust commit 969b7f2522c90dfed5d0d2553a91522bda2c3bf3 tree 762dddd9aa1bce49c85ea2ec5db3440938242e6e parent 566dd6064e89b15ff2dec666a421bebf0f98f26c author Trond Myklebust Tue, 03 Jan 2006 09:55:36 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:51 -0500 SUNRPC: Fix a potential race in rpc_pipefs. Signed-off-by: Trond Myklebust commit 566dd6064e89b15ff2dec666a421bebf0f98f26c tree 45ccdc3084c56557ba5baeae771be7c1e0564ae5 parent 70b9ecbdb9c5fdc731f8780bffd45d9519020c4a author Trond Myklebust Tue, 03 Jan 2006 09:55:35 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:50 -0500 NFS: Make directIO aware of compound pages... ...and avoid calling set_page_dirty on them Signed-off-by: Trond Myklebust commit 70b9ecbdb9c5fdc731f8780bffd45d9519020c4a tree 4678182bd417945cd424a652396510bc53eff8b7 parent 24174119c73983d5217da8f56a12c79a9b57e056 author Trond Myklebust Tue, 03 Jan 2006 09:55:34 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:50 -0500 NFS: Make stat() return updated mtimes after a write() The SuS states that a call to write() will cause mtime to be updated on the file. In order to satisfy that requirement, we need to flush out any cached writes in nfs_getattr(). Speed things up slightly by not committing the writes. Signed-off-by: Trond Myklebust commit 24174119c73983d5217da8f56a12c79a9b57e056 tree 38904c36afc94c6833cb9296c705e654ff286e43 parent 40859d7ee64ed6bfad8a4e93f9bb5c1074afadff author Trond Myklebust Tue, 03 Jan 2006 09:55:33 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:50 -0500 NFSv4: Ensure that we return the delegation on the target of a rename too. Signed-off-by: Trond Myklebust commit 40859d7ee64ed6bfad8a4e93f9bb5c1074afadff tree ed4069423c3d6551035d5b6116f50452cdac4103 parent 325cfed9ae901320e9234b18c21434b783dbe342 author Chuck Lever Wed, 30 Nov 2005 18:09:02 -0500 committer Trond Myklebust Fri, 06 Jan 2006 14:58:49 -0500 NFS: support large reads and writes on the wire Most NFS server implementations allow up to 64KB reads and writes on the wire. The Solaris NFS server allows up to a megabyte, for instance. Now the Linux NFS client supports transfer sizes up to 1MB, too. This will help reduce protocol and context switch overhead on read/write intensive NFS workloads, and support larger atomic read and write operations on servers that support them. Test-plan: Connectathon and iozone on mount point with wsize=rsize>32768 over TCP. Tests with NFS over UDP to verify the maximum RPC payload size cap. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 325cfed9ae901320e9234b18c21434b783dbe342 tree 4c842a04bbb20427b2cf6a40a28fdbddf96bbae3 parent dc20f803904dbf30f834dcc43c14701dfce32491 author Chuck Lever Wed, 30 Nov 2005 18:08:55 -0500 committer Trond Myklebust Fri, 06 Jan 2006 14:58:49 -0500 NFS: make "inode number mismatch" message more useful To help NFS users and server developers, make the "inode number mismatch" message display more useful information. Test-plan: None. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit dc20f803904dbf30f834dcc43c14701dfce32491 tree 27d12ce7f8c7455501c93198d194824a346ce2ad parent a911fd9a6046200e439b4af172e8379c0942eec3 author Chuck Lever Wed, 30 Nov 2005 18:08:57 -0500 committer Trond Myklebust Fri, 06 Jan 2006 14:58:48 -0500 NFS: get rid of useless kernel log message nfs_statfs() generates a log message when GETATTR returns an error. This is usually a useless message. Make it a dprintk. Test plan: None Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit a911fd9a6046200e439b4af172e8379c0942eec3 tree f67582f100edef03085705fc919b4b068775d57a parent 6b59a75460eb9527145d7bd55068e5d32bee8a44 author Chuck Lever Wed, 30 Nov 2005 18:08:59 -0500 committer Trond Myklebust Fri, 06 Jan 2006 14:58:48 -0500 NFS: simplify inlined bit ops in nfs_page.h Minor cleanup: inlined bit ops in nfs_page.h can be simpler. Test plan: Write-intensive workload against a server that requires COMMITs. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 6b59a75460eb9527145d7bd55068e5d32bee8a44 tree e813365a2bdc3605fbc6580d05189b8878185ef6 parent ce1a8e6796150233f5098100f70217521dc7c08f author Chuck Lever Wed, 30 Nov 2005 18:08:19 -0500 committer Trond Myklebust Fri, 06 Jan 2006 14:58:48 -0500 NFS: Fix error recovery code in fs/nfs/inode.c:__init_nfs() Red Hat found a problem in the error recovery logic in __init_nfs. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit ce1a8e6796150233f5098100f70217521dc7c08f tree 439d2abd246e051c43d1cdb7ee3b77b8864fd2b3 parent 286d7d6a0cb38d3d4316a1dfea9b0c0fc5a6455b author Chuck Lever Wed, 30 Nov 2005 18:08:17 -0500 committer Trond Myklebust Fri, 06 Jan 2006 14:58:47 -0500 NFS: use generic_write_checks() to sanity check direct writes Replace ad hoc write parameter sanity checking in nfs_file_direct_write() with a call to generic_write_checks(). This should make the proper checks modulo the O_LARGEFILE flag, and should catch NFSv2-specific limitations by virtue of i_sb->s_maxbytes. Test plan: Posix compliance testing with both NFSv2 and NFSv3. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 286d7d6a0cb38d3d4316a1dfea9b0c0fc5a6455b tree 844ea8a14db8261a3977ae4d460e227402a4a426 parent b4454fe1a7cb76a248d0641c9d68a44a1b8d9a1f author Trond Myklebust Tue, 03 Jan 2006 09:55:26 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:47 -0500 NFSv4: Remove requirement for machine creds for the "setclientid" operation Use a cred from the nfs4_client->cl_state_owners list. Signed-off-by: Trond Myklebust commit b4454fe1a7cb76a248d0641c9d68a44a1b8d9a1f tree 50ddc265e9700b1924e45ffce0f4583ba1013177 parent 58d9714a44a79bba9b414da3ffbf3c753dc5915f author Trond Myklebust Tue, 03 Jan 2006 09:55:25 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:47 -0500 NFSv4: Remove requirement for machine creds for the "renew" operation In RFC3530, the RENEW operation is allowed to use either the same principal, RPC security flavour and (if RPCSEC_GSS), the same mechanism and service that was used for SETCLIENTID_CONFIRM OR Any principal, RPC security flavour and service combination that currently has an OPEN file on the server. Choose the latter since that doesn't require us to keep credentials for the same principal for the entire duration of the mount. Signed-off-by: Trond Myklebust commit 58d9714a44a79bba9b414da3ffbf3c753dc5915f tree 623141f0a40a470c0c81c2edcd8c45c6b0daf4f9 parent 5043e900f5404c01864fbeb5826aa7de3981bbc1 author Trond Myklebust Tue, 03 Jan 2006 09:55:24 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:46 -0500 NFSv4: Send RENEW requests to the server only when we're holding state Signed-off-by: Trond Myklebust commit 5043e900f5404c01864fbeb5826aa7de3981bbc1 tree eaefbbcfd6afb79cc1ad8c9beed49cc56d9ecd53 parent 433fbe4c8837e3cc2ba6a6374edf28737d01a2e9 author Trond Myklebust Tue, 03 Jan 2006 09:55:23 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:46 -0500 NFS: Convert instances of kernel_thread() to kthread() Convert private implementations in NFSv4 state recovery and delegation code to use kthreads. Signed-off-by: Trond Myklebust commit 433fbe4c8837e3cc2ba6a6374edf28737d01a2e9 tree 9448a58eafca388efaab5d3653c818fe60a4450d parent 26e976a884be9aa08f8ff906372f25f68df0d948 author Trond Myklebust Tue, 03 Jan 2006 09:55:22 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:45 -0500 NFSv4: State recovery cleanup Use wait_on_bit() when waiting for state recovery to complete. Signed-off-by: Trond Myklebust commit 26e976a884be9aa08f8ff906372f25f68df0d948 tree ef675345b5c6126dca86699e077b75a375b504b9 parent 2bd615797ef32ec06ef0ee44198a7aecc21ffd8c author Trond Myklebust Tue, 03 Jan 2006 09:55:21 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:45 -0500 NFSv4: OPEN/LOCK/LOCKU/CLOSE will automatically renew the NFSv4 lease Cut down on the number of unnecessary RENEW requests on the wire. Signed-off-by: Trond Myklebust commit 2bd615797ef32ec06ef0ee44198a7aecc21ffd8c tree 5ef07d09b9e3674dffce1a24dfb46e6d23410a72 parent fe650407a86823bcafbfbee96c7bc6a1b5cd1c76 author Trond Myklebust Tue, 03 Jan 2006 09:55:19 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:45 -0500 SUNRPC: Ensure that SIGKILL will always terminate a synchronous RPC call. ...and make sure that the "intr" flag also enables SIGHUP and SIGTERM to interrupt RPC calls too (as per the Solaris implementation). Signed-off-by: Trond Myklebust commit fe650407a86823bcafbfbee96c7bc6a1b5cd1c76 tree 38e899d40fabba538bb558c0dcc3d38f830beadb parent a5d16a4d090bd2af86e648ed9bb205903fcf1e86 author Trond Myklebust Tue, 03 Jan 2006 09:55:18 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:44 -0500 NFSv4: Make DELEGRETURN an interruptible operation. Signed-off-by: Trond Myklebust commit a5d16a4d090bd2af86e648ed9bb205903fcf1e86 tree 9fd615f3991e50d07583010d9703a3d1aced8419 parent 911d1aaf26fc4d771174d98fcab710a44e2a5fa0 author Trond Myklebust Tue, 03 Jan 2006 09:55:17 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:44 -0500 NFSv4: Convert LOCK rpc call into an asynchronous RPC call In order to allow users to interrupt/cancel it. Signed-off-by: Trond Myklebust commit 911d1aaf26fc4d771174d98fcab710a44e2a5fa0 tree e16df0f68093d2dc0abd5f55c2d46ff7705fffb8 parent 864472e9b8fa76ffaad17dfcb84d79e16df6828c author Trond Myklebust Tue, 03 Jan 2006 09:55:16 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:44 -0500 NFSv4: locking XDR cleanup Get rid of some unnecessary intermediate structures Signed-off-by: Trond Myklebust commit 864472e9b8fa76ffaad17dfcb84d79e16df6828c tree 1cc5c4624c36be0b9aebdabae30d1a5385e04dee parent e761692381f294ea079d2e869fcd7c0afc79e394 author Trond Myklebust Tue, 03 Jan 2006 09:55:15 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:43 -0500 NFSv4: Make open recovery track O_RDWR, O_RDONLY and O_WRONLY correctly When recovering from a delegation recall or a network partition, we need to replay open(O_RDWR), open(O_RDONLY) and open(O_WRONLY) separately. Signed-off-by: Trond Myklebust commit e761692381f294ea079d2e869fcd7c0afc79e394 tree 34ebc00c001cddc94866936c460547d311e5dabb parent cdd4e68b5f0ed12c64b3e2be83655d2a47588a74 author Trond Myklebust Tue, 03 Jan 2006 09:55:13 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:43 -0500 NFSv4: Make nfs4_state track O_RDWR, O_RDONLY and O_WRONLY separately A closer reading of RFC3530 reveals that OPEN_DOWNGRADE must always specify a access modes that have been the argument of a previous OPEN operation. IOW: doing OPEN(O_RDWR) and then OPEN_DOWNGRADE(O_WRONLY) is forbidden unless the user called OPEN(O_WRONLY) In order to fix that, we really need to track the three possible open states separately. Signed-off-by: Trond Myklebust commit cdd4e68b5f0ed12c64b3e2be83655d2a47588a74 tree c31565c36e0550655207d2edcabaa6ea1f3217f7 parent 24ac23ab88df5b21b5b2df8cde748bf99b289099 author Trond Myklebust Tue, 03 Jan 2006 09:55:12 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:42 -0500 NFSv4: Make open_confirm() asynchronous too Signed-off-by: Trond Myklebust commit 24ac23ab88df5b21b5b2df8cde748bf99b289099 tree e5e599fc55fc1744284077b320f3541a3658b958 parent e60859ac0e50f660d23b72e42e05f58757dcfeff author Trond Myklebust Tue, 03 Jan 2006 09:55:11 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:42 -0500 NFSv4: Convert open() into an asynchronous RPC call OPEN is a stateful operation, so we must ensure that it always completes. In order to allow users to interrupt the operation, we need to make the RPC call asynchronous, and then wait on completion (or cancel). Signed-off-by: Trond Myklebust commit e60859ac0e50f660d23b72e42e05f58757dcfeff tree a48b07cea18971545bd6670f66f8b8341d393cbc parent 89991c24e48b76f40aa3bd8c40c1e87c75d10a33 author Trond Myklebust Tue, 03 Jan 2006 09:55:10 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:42 -0500 SUNRPC: rpc_execute should not return task->tk_status; Signed-off-by: Trond Myklebust commit 89991c24e48b76f40aa3bd8c40c1e87c75d10a33 tree 82e112cea2034a47b9f0c65e4607d093a4ebb684 parent e56e0b78eb1097a8e06512b9ed4be94d7538e7ac author Trond Myklebust Tue, 03 Jan 2006 09:55:09 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:41 -0500 SUNRPC: Get rid of some unused exports Signed-off-by: Trond Myklebust commit e56e0b78eb1097a8e06512b9ed4be94d7538e7ac tree fe2b82993dd62323f9891f28bdb79c7cb2b01442 parent 06f814a3ad0ddfe19e6e4f44e3da5d490547faf3 author Trond Myklebust Tue, 03 Jan 2006 09:55:08 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:41 -0500 NFSv4: Allocate OPEN call RPC arguments using kmalloc() Cleanup in preparation for making OPEN calls interruptible by the user. Signed-off-by: Trond Myklebust commit 06f814a3ad0ddfe19e6e4f44e3da5d490547faf3 tree 576f5f3c884b10b3b6349523af70a113f75d6634 parent 44c288732fdbd7e38460d156a40d29590bf93bce author Trond Myklebust Tue, 03 Jan 2006 09:55:07 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:40 -0500 NFSv4: Make locku use the new RPC "wait on completion" interface. Signed-off-by: Trond Myklebust commit 44c288732fdbd7e38460d156a40d29590bf93bce tree d4239fe37529b4799e85443f803db754ef66f874 parent 4ce70ada1ff1d0b80916ec9ec5764ce44a50a54f author Trond Myklebust Tue, 03 Jan 2006 09:55:06 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:40 -0500 NFSv4: stateful NFSv4 RPC call interface The NFSv4 model requires us to complete all RPC calls that might establish state on the server whether or not the user wants to interrupt it. We may also need to schedule new work (including new RPC calls) in order to cancel the new state. The asynchronous RPC model will allow us to ensure that RPC calls always complete, but in order to allow for "synchronous" RPC, we want to add the ability to wait for completion. The waits are, of course, interruptible. Signed-off-by: Trond Myklebust commit 4ce70ada1ff1d0b80916ec9ec5764ce44a50a54f tree 9bc9ffc691679a4423a6b8724a27607c9ad7ea2c parent 963d8fe53339128ee46a7701f2e36305f0ccff8c author Trond Myklebust Tue, 03 Jan 2006 09:55:05 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:40 -0500 SUNRPC: Further cleanups Signed-off-by: Trond Myklebust commit 963d8fe53339128ee46a7701f2e36305f0ccff8c tree 426736c70a8e05cb1d945d5c7f44ea6475edd113 parent abbcf28f23d53e8ec56a91f3528743913fa2694a author Trond Myklebust Tue, 03 Jan 2006 09:55:04 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:39 -0500 RPC: Clean up RPC task structure Shrink the RPC task structure. Instead of storing separate pointers for task->tk_exit and task->tk_release, put them in a structure. Also pass the user data pointer as a parameter instead of passing it via task->tk_calldata. This enables us to nest callbacks. Signed-off-by: Trond Myklebust commit abbcf28f23d53e8ec56a91f3528743913fa2694a tree 97dafc3840e4660ac0fcf99bbdc7eddc2fecd08a parent abd3e641d5ef9f836ab2f2b04d80b8619b051531 author Trond Myklebust Tue, 03 Jan 2006 09:55:03 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:39 -0500 SUNRPC: Yet more RPC cleanups Signed-off-by: Trond Myklebust commit abd3e641d5ef9f836ab2f2b04d80b8619b051531 tree 053c82b4c23a5fb419691154879acff3f487923b parent 22905f775dd6a8b73be99826dcad07ceec00244b author Trond Myklebust Tue, 03 Jan 2006 09:55:02 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:39 -0500 NFS: Work correctly with single-page ->writepage() calls Ensure that we always initiate flushing of data before we exit a single-page ->writepage() call. Signed-off-by: Trond Myklebust commit 22905f775dd6a8b73be99826dcad07ceec00244b tree 960c0ad3d10fa208a31b78256788f332e5ebdd48 parent d99cf9d679a520d67f81d805b7cb91c68e1847f0 author Andrew Morton Wed, 16 Nov 2005 15:07:01 -0800 committer Trond Myklebust Fri, 06 Jan 2006 14:58:38 -0500 identify multipage ->writepages() calls NFS needs to be able to distinguish between single-page ->writepage() calls and multipage ->writepages() calls. For the single-page writepage calls NFS can kick off the I/O within the context of ->writepage(). For multipage ->writepages calls, nfs_writepage() will leave the I/O pending and nfs_writepages() will kick off the I/O when it all has been queued up within NFS. Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Trond Myklebust commit 20ede2741551d4a1d24313292beb0da915a55911 tree b59c359badc493ab24fc892e0e7ea0c6157dad3e parent 117a93db1dcd6ed61336b27e4e2938f791c1841b author Brian Gerst Thu, 05 Jan 2006 12:10:52 -0500 committer Sam Ravnborg Fri, 06 Jan 2006 20:52:32 +0100 gitignore: ignore shared objects Many arches make shared objects for VDSOs. Generally exclude them. Signed-off-by: Brian Gerst Signed-off-by: Sam Ravnborg commit 117a93db1dcd6ed61336b27e4e2938f791c1841b tree b869ef55f3048f125c06e70429f04c38f31bf578 parent 253dfa6e465c054a73bd3b13af51c34c9d8d233d author Rene Scharfe Wed, 04 Jan 2006 20:42:03 +0100 committer Sam Ravnborg Fri, 06 Jan 2006 20:46:21 +0100 kbuild: Use git in scripts/setlocalversion Currently scripts/setlocalversion is a Perl script that tries to figure out the current git commit ID of a repo without using git. It also imports Digest::MD5 without using it and generally is too big for the small task it does. :] And it always reports a git ID, even when the HEAD is tagged -- this is a bug. This patch replaces it with a Bourne Shell script that uses git commands to do the same. I can't come up with a scenario where someone would use a git repo and refuse to install git core at the same time, so I think it's reasonable to assume git is available. The new script also reports uncommitted changes by adding -git_dirty to the version string. Obviously you can't see from that _what_ has been changed from the last commit, so it's more of a reminder that you forgot to commit something. The script is easily extensible: simply add a check for Mercurial (or whatever) below the git check. Note: the script doesn't print a newline char anymore. That's only because it was easier to implement it that way, not a feature (or bug). 'make kernelrelease' doesn't care. Signed-off-by: Rene Scharfe Acked-by: Ryan Anderson Signed-off-by: Sam Ravnborg commit 253dfa6e465c054a73bd3b13af51c34c9d8d233d tree c9d510b30f41958afe74271f501c9586b4619e73 parent 9f155b9802bb7049cd0f216c3fe903b58620df11 author Sam Ravnborg Fri, 06 Jan 2006 20:33:41 +0100 committer Sam Ravnborg Fri, 06 Jan 2006 20:33:41 +0100 kbuild: document howto build external modules using several directories Update modules.txt with info how to build external modules with files in several directories. The question popped up on lkml often enough to warrant this, let's see if people read this stuff - or google hits it. Signed-off-by: Sam Ravnborg commit d99cf9d679a520d67f81d805b7cb91c68e1847f0 tree 415aefe6d168df27c006fcc53b1ea5242eabaaea parent 7ed40918a386afc2e14a6d3da563ea6d13686c25 parent e650c305ec3178818b317dad37a6d9c7fa8ba28d author Linus Torvalds Fri, 06 Jan 2006 09:01:25 -0800 committer Linus Torvalds Fri, 06 Jan 2006 09:01:25 -0800 Merge branch 'post-2.6.15' of git://brick.kernel.dk/data/git/linux-2.6-block Manual fixup for merge with Jens' "Suspend support for libata", commit ID 9b847548663ef1039dd49f0eb4463d001e596bc3. Signed-off-by: Linus Torvalds commit 7ed40918a386afc2e14a6d3da563ea6d13686c25 tree e180ba59fa65290a12a731aaf304d2aa840f3ffb parent 9b847548663ef1039dd49f0eb4463d001e596bc3 author Linus Torvalds Fri, 06 Jan 2006 08:43:16 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:43:16 -0800 x86: remove bogus 'pci=usepirqmask' suggestion when no irq is defined This was harmless, but for the case of a device that had no irq pre-defined we would incorrectly suggest that "usepirqmask" might make a difference. It never would, and the message was just confusing people. Reported in the dmesg of Etienne Lorrain. Signed-off-by: Linus Torvalds commit 9b847548663ef1039dd49f0eb4463d001e596bc3 tree 105a0eece522b1347bea57f609f6c04ed673fdb3 parent 88202a0c84e1951d6630d1d557d4801a8cc5b5ef author Jens Axboe Fri, 06 Jan 2006 09:28:07 +0100 committer Linus Torvalds Fri, 06 Jan 2006 08:36:09 -0800 [PATCH] Suspend support for libata This patch adds suspend patch to libata, and ata_piix in particular. For most low level drivers, they should just need to add the 4 hooks to work. As I can only test ata_piix, I didn't enable it for more though. Suspend support is the single most important feature on a notebook, and most new notebooks have sata drives. It's quite embarrassing that we _still_ do not support this. Right now, it's perfectly possible to suspend the drive in mid-transfer. Signed-off-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88202a0c84e1951d6630d1d557d4801a8cc5b5ef tree 5a1aadc008de1ee68f40a4bb667157f248211230 parent 6d7ff7380b2e28c2807da3bf9fa614d91d15bacf author NeilBrown Fri, 06 Jan 2006 00:21:36 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:10 -0800 [PATCH] md: allow sync-speed to be controlled per-device Also export current (average) speed and status in sysfs. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d7ff7380b2e28c2807da3bf9fa614d91d15bacf tree 1f995a4f047a041c86b52efe0db221c76c7d0327 parent 83303b613d00718b07ec0a4dee7c99aa66629d96 author NeilBrown Fri, 06 Jan 2006 00:21:16 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:10 -0800 [PATCH] md: support adding new devices to md arrays via sysfs Writing major:minor to md/new_dev will bind that device to the array. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 83303b613d00718b07ec0a4dee7c99aa66629d96 tree e2c7c113d2f2f69aa426c3a3a355d84089bb13ce parent 6961ece46c7d02de1bb83914900608e39633787d author NeilBrown Fri, 06 Jan 2006 00:21:06 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:10 -0800 [PATCH] md: allow available size of component devices to be set via sysfs Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6961ece46c7d02de1bb83914900608e39633787d tree 55aadb7f85c2ac17f88753257bba3b3ca76b16f8 parent 93c8cad03f02dbd1532a5413bdced25f000d5728 author Andrew Morton Fri, 06 Jan 2006 00:20:59 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:10 -0800 [PATCH] md-export-rdev-data_offset-via-sysfs-fix drivers/md/md.c: In function `offset_show': drivers/md/md.c:1670: warning: long long unsigned int format, different type arg (arg 3) Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 93c8cad03f02dbd1532a5413bdced25f000d5728 tree 80930b6670c21088ed78362fe9281deba82ff7dd parent 014236d2b8ec6faea2a6134ab8e019d84d67b524 author NeilBrown Fri, 06 Jan 2006 00:20:56 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:09 -0800 [PATCH] md: export rdev->data_offset via sysfs Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 014236d2b8ec6faea2a6134ab8e019d84d67b524 tree 80f655fe0631f56544b96f2b9750f93e327b23de parent 2bf071bf50580380a8c3afe5eef8152a66be96c7 author NeilBrown Fri, 06 Jan 2006 00:20:55 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:09 -0800 [PATCH] md: expose device slot information via sysfs This the role that a device has in an array can be viewed and set. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2bf071bf50580380a8c3afe5eef8152a66be96c7 tree 513ef2291446e2b489a2281df4d1f21fb6fb3d96 parent da943b9912df063322d37b1a1f285460531d481d author NeilBrown Fri, 06 Jan 2006 00:20:55 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:09 -0800 [PATCH] md: keep better track of dev/array size when assembling md arrays Move the checks - that dev size is never less than array size - into bind_rdev_to_array to make sure it always happens properly (there is one place where currently it doesn't). Also reject any superblock which claims an array size smaller than the device in question can hold. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit da943b9912df063322d37b1a1f285460531d481d tree 09ec69816055934d264b0a0272435fee9abb2b95 parent 4dbcdc751cb25ffca3a8374cbc5ab6de961cc545 author NeilBrown Fri, 06 Jan 2006 00:20:54 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:09 -0800 [PATCH] md: allow md/raid_disks to be settable If array is active, try to reshape, else just set the value. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4dbcdc751cb25ffca3a8374cbc5ab6de961cc545 tree 61d1eb6e35c0eec66e5a8610c1f57b1e6eec135c parent d9d166c2a9d5d01af34396793950aa695883eed4 author NeilBrown Fri, 06 Jan 2006 00:20:52 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:09 -0800 [PATCH] md: count corrected read errors per drive Store this total in superblock (As appropriate), and make it available to userspace via sysfs. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d9d166c2a9d5d01af34396793950aa695883eed4 tree 6cb593cc0636476ebec9a9690aa48997510f9701 parent 8bb93aaca2062cd54cc2c58c76ee8409cae209a7 author NeilBrown Fri, 06 Jan 2006 00:20:51 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:09 -0800 [PATCH] md: allow array level to be set textually via sysfs Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8bb93aaca2062cd54cc2c58c76ee8409cae209a7 tree 12efef0262795f4d4462c8ac8e0fd6e2117ee81a parent a35b0d695d44410eb1734c9abb632725a3138628 author NeilBrown Fri, 06 Jan 2006 00:20:50 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:08 -0800 [PATCH] md: expose md metadata format in sysfs Allow it to be set to a particular version, or 'none'. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a35b0d695d44410eb1734c9abb632725a3138628 tree 0da4a3ba93cf8a1fd2b4dcad3dd251def752942d parent 3b34380ae8c5df6debd85183c7fa1ac05f79b7d2 author NeilBrown Fri, 06 Jan 2006 00:20:49 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:08 -0800 [PATCH] md: allow md array component size to be accessed and set via sysfs Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b34380ae8c5df6debd85183c7fa1ac05f79b7d2 tree 9979f8b402b0566db286081eb7f5c26418964348 parent 03c902e17f40cfed63cd2494616f35fc9c58571b author NeilBrown Fri, 06 Jan 2006 00:20:47 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:08 -0800 [PATCH] md: allow chunk_size to be settable through sysfs ... only before array is started of course. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 03c902e17f40cfed63cd2494616f35fc9c58571b tree bfa65142a20a9b424dbd078149cecaa0177086fb parent c708443c004f2310abdd7f1c353daa372b37f7a2 author NeilBrown Fri, 06 Jan 2006 00:20:46 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:08 -0800 [PATCH] md: fix rdev->pending counts in raid1 When we do a user-requested check/repair, we lose count of the outstanding requests... Also make sure that when anything is written to md/sync_action, the RECOVERY_NEEDED flag is set and the thread is woken up so any changes take effect. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c708443c004f2310abdd7f1c353daa372b37f7a2 tree b02286101b7f8e9bcad8c30240cb5247010398b3 parent 07dbd37727049c0d56e313e5afcf8db07a9c3e37 author NeilBrown Fri, 06 Jan 2006 00:20:45 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:08 -0800 [PATCH] md: make sure bitmap updates are visible through filesystem When we update a page_cache page in the kernel, we need to flush_dache_page or userspace might not see the change. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 07dbd37727049c0d56e313e5afcf8db07a9c3e37 tree 8886cd0f15ee885e0b2e4d7cede65631b48a8a2a parent 2989ddbd6e1d9638a188311b896362c4bf7b7c25 author Adrian Bunk Fri, 06 Jan 2006 00:20:44 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:07 -0800 [PATCH] drivers/md/md.c: make md_new_event() static Make the needlessly global function md_new_event() static. Signed-off-by: Adrian Bunk Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2989ddbd6e1d9638a188311b896362c4bf7b7c25 tree 6dd1adb19cdff7135aadb96a309e55aed59e8be9 parent f188593ee7af8c71755d2df269a7a5f62c4b695e author NeilBrown Fri, 06 Jan 2006 00:20:43 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:07 -0800 [PATCH] md: make a couple of names in md.c static .. because they aren't used outside md.c Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f188593ee7af8c71755d2df269a7a5f62c4b695e tree e83fb5678870511aade9b0eb9139ae4c83f5c14e parent bce74dac082787375e76d2b33726b94c9701fabc author NeilBrown Fri, 06 Jan 2006 00:20:42 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:07 -0800 [PATCH] md: fix typo in comment Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bce74dac082787375e76d2b33726b94c9701fabc tree c653fdadc41cf35daae7455f794caec42cff05f0 parent 1345b1d8adbdeceb1c871d9a4af5e2a700b341c6 author NeilBrown Fri, 06 Jan 2006 00:20:41 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:07 -0800 [PATCH] md: helper function to match commands written to sysfs files Commands written to sysfs files may, or my not, be \n terminated. We want to accept with case. For this we use cmd_match. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1345b1d8adbdeceb1c871d9a4af5e2a700b341c6 tree 0da1db7d273752ad5281db415e9245f3f3a63383 parent 7dd5d34c6c2da04e8cd0732e08b33cd3359e4bae author NeilBrown Fri, 06 Jan 2006 00:20:40 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:07 -0800 [PATCH] md: define and use safe_put_page for md md sometimes call put_page on NULL pointers (treating it like kfree). This is not safe, so define and use a 'safe_put_page' which checks for NULL. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7dd5d34c6c2da04e8cd0732e08b33cd3359e4bae tree a2272fd63abc351e8f07ad771b0abd077cc91145 parent 097426f689f179747f3cd6b4749eb2a6b605702d author NeilBrown Fri, 06 Jan 2006 00:20:39 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:07 -0800 [PATCH] md: remove inappropriate limits in md/bitmap configuration. The kernel should not be imposing these policy limits: The time between bitmap updates should certainly be allowed to be more than 15 seconds, and if someone wants a bitmap chunk size in excess of 4MB, the kernel isn't the place to stop them. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 097426f689f179747f3cd6b4749eb2a6b605702d tree 92b0a78f8aebedd4afdb52dfa23b311a4468719d parent 2604b703b6b3db80e3c75ce472a54dfd0b7bf9f4 author NeilBrown Fri, 06 Jan 2006 00:20:37 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:06 -0800 [PATCH] md: fix possible problem in raid1/raid10 error overwriting The code to overwrite/reread for addressing read errors in raid1/raid10 currently assumes that the read will not alter the buffer which could be used to write to the next device. This is not a safe assumption to make. So we split the loops into a overwrite loop and a separate re-read loop, so that the writing is complete before reading is attempted. Cc: Paul Clements Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2604b703b6b3db80e3c75ce472a54dfd0b7bf9f4 tree 8c0e985c455ff35af24fbe60d8a3f5a276034370 parent a24a8dd858e0ba50f06a9fd8f61fe8c4fe7a8d8e author NeilBrown Fri, 06 Jan 2006 00:20:36 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:06 -0800 [PATCH] md: remove personality numbering from md md supports multiple different RAID level, each being implemented by a 'personality' (which is often in a separate module). These personalities have fairly artificial 'numbers'. The numbers are use to: 1- provide an index into an array where the various personalities are recorded 2- identify the module (via an alias) which implements are particular personality. Neither of these uses really justify the existence of personality numbers. The array can be replaced by a linked list which is searched (array lookup only happens very rarely). Module identification can be done using an alias based on level rather than 'personality' number. The current 'raid5' modules support two level (4 and 5) but only one personality. This slight awkwardness (which was handled in the mapping from level to personality) can be better handled by allowing raid5 to register 2 personalities. With this change in place, the core md module does not need to have an exhaustive list of all possible personalities, so other personalities can be added independently. This patch also moves the check for chunksize being non-zero into the ->run routines for the personalities that need it, rather than having it in core-md. This has a side effect of allowing 'faulty' and 'linear' not to have a chunk-size set. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a24a8dd858e0ba50f06a9fd8f61fe8c4fe7a8d8e tree 14236abb515dcb8101ade92632d5da0d772d7330 parent a8745db232dd86f145bff6946e78f839acab511b author NeilBrown Fri, 06 Jan 2006 00:20:35 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:06 -0800 [PATCH] md: break out of a loop that doesn't need to run to completion Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a8745db232dd86f145bff6946e78f839acab511b tree f63f8fc6586316033ef436aa22d45d7b9c6498b2 parent ea03aff93b4117c2ddfb91b34b44a44e19df24cd author NeilBrown Fri, 06 Jan 2006 00:20:34 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:06 -0800 [PATCH] md: convert recently exported symbol to GPL ...because that seems to be the preferred practice these days. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ea03aff93b4117c2ddfb91b34b44a44e19df24cd tree c3ecdc4b9ba311456c38133e3edb3acc8868682a parent fccddba060f2b4916a30aa27acc3d03b01bb981e author NeilBrown Fri, 06 Jan 2006 00:20:34 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:06 -0800 [PATCH] md: convert various kmap calls to kmap_atomic Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fccddba060f2b4916a30aa27acc3d03b01bb981e tree 92fbb81ab3b1fdbbe8de9ba2ebb91ac68c57b2a0 parent 9ffae0cf3ea02f75d163922accfd3e592d87adde author NeilBrown Fri, 06 Jan 2006 00:20:33 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:06 -0800 [PATCH] md: tidy up raid5/6 hash table code - replace open-coded hash chain with hlist macros - Fix hash-table size at one page - it is already quite generous, so there will never be a need to use multiple pages, so no need for __get_free_pages No functional change. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ffae0cf3ea02f75d163922accfd3e592d87adde tree 4974727e9f36e1b618b68d2789644ee3a0d7a371 parent 2d1f3b5d1b2cd11a162eb29645df749ec0036413 author NeilBrown Fri, 06 Jan 2006 00:20:32 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:05 -0800 [PATCH] md: convert md to use kzalloc throughout Replace multiple kmalloc/memset pairs with kzalloc calls. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d1f3b5d1b2cd11a162eb29645df749ec0036413 tree bb87ef9fcd2d9760b618d196fc8361a5a4dd851e parent d7603b7e3a7f802c67f9190b2387d4d5d111ec14 author NeilBrown Fri, 06 Jan 2006 00:20:31 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:05 -0800 [PATCH] md: clean up 'page' related names in md Substitute: page_cache_get -> get_page page_cache_release -> put_page PAGE_CACHE_SHIFT -> PAGE_SHIFT PAGE_CACHE_SIZE -> PAGE_SIZE PAGE_CACHE_MASK -> PAGE_MASK __free_page -> put_page because we aren't using the page cache, we are just using pages. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d7603b7e3a7f802c67f9190b2387d4d5d111ec14 tree 7fc644f33bd6d77156387f8acddd65030b1a817d parent 0eb3ff12aa8a12538ef681dc83f4361636a0699f author NeilBrown Fri, 06 Jan 2006 00:20:30 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:05 -0800 [PATCH] md: make /proc/mdstat pollable With this patch it is possible to poll /proc/mdstat to detect arrays appearing or disappearing, to detect failures, recovery starting, recovery completing, and devices being added and removed. It is similar to the poll-ability of /proc/mounts, though different in that: We always report that the file is readable (because face it, it is, even if only for EOF). We report POLLPRI when there is a change so that select() can detect it as an exceptional event. Not only are these exceptional events, but that is the mechanism that the current 'mdadm' uses to watch for events (It also polls after a timeout). (We also report POLLERR like /proc/mounts). Finally, we only reset the per-file event counter when the start of the file is read, rather than when poll() returns an event. This is more robust as it means that an fd will continue to report activity to poll/select until the program clearly responds to that activity. md_new_event takes an 'mddev' which isn't currently used, but it will be soon. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0eb3ff12aa8a12538ef681dc83f4361636a0699f tree e5d4b8353362cefd096a4b1ee1a8f473c01169b6 parent 4443ae10ca15d07922ceda622f03db8865fa3d13 author NeilBrown Fri, 06 Jan 2006 00:20:29 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:05 -0800 [PATCH] md: raid10 read-error handling - resync and read-only Add in correct read-error handling for resync and read-only situations. When read-only, we don't over-write, so we need to mark the failed drive in the r10_bio so we don't re-try it. During resync, we always read all blocks, so if there is a read error, we simply over-write it with the good block that we found (assuming we found one). Note that the recovery case still isn't handled in an interesting way. There is nothing useful to do for the 2-copies case. If there are 3 or more copies, then we could try reading from one of the non-missing copies, but this is a bit complicated and very rarely would be used, so I'm leaving it for now. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4443ae10ca15d07922ceda622f03db8865fa3d13 tree f1f0a6a82142effbdde93913d53596aeeacc9dc4 parent 220946c9018de74b952446e3a4dff1bfd4cbf310 author NeilBrown Fri, 06 Jan 2006 00:20:28 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:05 -0800 [PATCH] md: auto-correct correctable read errors in raid10 Largely just a cross-port from raid1. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 220946c9018de74b952446e3a4dff1bfd4cbf310 tree 8a6a85f23ff3e12ed9c770eb9f2b835125ad5378 parent d11c171e636cfd2df818cf3411d88222c2f4fcef author NeilBrown Fri, 06 Jan 2006 00:20:27 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:04 -0800 [PATCH] md: make sure read error on last working drive of raid1 actually returns failure We are inadvertently setting the R1BIO_Uptodate bit on read errors when we decide not to try correcting (because there are no other working devices). This means that the read error is reported to the client as success. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d11c171e636cfd2df818cf3411d88222c2f4fcef tree 1ca670d9eabad009cee23c44f6cb8cd1b3cccadb parent 18f08819f42b647783e4f6ea99141623881bf182 author NeilBrown Fri, 06 Jan 2006 00:20:26 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:04 -0800 [PATCH] md: allow raid1 to check consistency Where performing a user-requested 'check' or 'repair', we read all readable devices, and compare the contents. We only write to blocks which had read errors, or blocks with content that differs from the first good device found. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 18f08819f42b647783e4f6ea99141623881bf182 tree 062f5b77cd2593239af5e8aa720f20781dc8d80e parent 9910f16af35419a5382fa7850eecc220103036fa author NeilBrown Fri, 06 Jan 2006 00:20:25 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:04 -0800 [PATCH] md: support check-without-repair of raid10 arrays Also keep count on the number of errors found. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9910f16af35419a5382fa7850eecc220103036fa tree 3b5145b8a706e03a6f2b4da4bd84fe98c83de31a parent cf30a473a02901fe4db37abc0b0fa26dd5ba3f72 author NeilBrown Fri, 06 Jan 2006 00:20:24 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:04 -0800 [PATCH] md: fix up some rdev rcu locking in raid5/6 There is this "FIXME" comment with a typo in it!! that been annoying me for days, so I just had to remove it. conf->disks[i].rdev should only be accessed if - we know we hold a reference or - the mddev->reconfig_sem is down or - we have a rcu_readlock handle_stripe was referencing rdev in three places without any of these. For the first two, get an rcu_readlock. For the last, the same access (md_sync_acct call) is made a little later after the rdev has been claimed under and rcu_readlock, if R5_Syncio is set. So just use that access... However R5_Syncio isn't really needed as the 'syncing' variable contains the same information. So use that instead. Issues, comment, and fix are identical in raid5 and raid6. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf30a473a02901fe4db37abc0b0fa26dd5ba3f72 tree 3fa967963e174913826943f0f98e63c60032d07d parent 69382e85371c232df71524137a806b9c210ec021 author NeilBrown Fri, 06 Jan 2006 00:20:23 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:04 -0800 [PATCH] md: handle errors when read-only Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69382e85371c232df71524137a806b9c210ec021 tree 03e49cece85cb74ce38e37afbdef718efa2b3695 parent 3e198f7826f830604f3aa7c20359a773e70cbeaa author NeilBrown Fri, 06 Jan 2006 00:20:22 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:04 -0800 [PATCH] md: better handling for read error in raid1 during resync Handling of read errors during resync is separate from handling of read errors during normal IO in raid1. A previous patch added support for read errors during normal IO. This one adds support for read errors during resync or recovery. The key differences are that we don't need to freeze the array, because the normal handling of resync means that this part of the array will be idle except for resync, and the read/overwrite/re-read is needed in a separate piece of code. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e198f7826f830604f3aa7c20359a773e70cbeaa tree b7b23a9b9085cd652930a706f86187a16505fd84 parent ddaf22abaa831763e75775e6d4c7693504237997 author NeilBrown Fri, 06 Jan 2006 00:20:21 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:03 -0800 [PATCH] md: tidyup some issues with raid1 resync and prepare for catching read errors We are dereferencing ->rdev without an rcu lock! Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ddaf22abaa831763e75775e6d4c7693504237997 tree 4f6ba4cb056f8c7cea82c7d548769b879d0fb405 parent d69762e98456b71167865db9e33e732a28dd36ab author NeilBrown Fri, 06 Jan 2006 00:20:19 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:03 -0800 [PATCH] md: attempt to auto-correct read errors in raid1 On a read-error we suspend the array, then synchronously read the block from other arrays until we find one where we can read it. Then we try writing the good data back everywhere and make sure it works. If any write or subsequent read fails, only then do we fail the device out of the array. To be able to suspend the array, we need to also keep track of how many requests are queued for handling by raid1d. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d69762e98456b71167865db9e33e732a28dd36ab tree a93c3872d23db70e7e6089328cafd3eebba6aadb parent ca65b73bd9c301d243df93780f7b26579e6c9204 author NeilBrown Fri, 06 Jan 2006 00:20:18 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:03 -0800 [PATCH] md: improve handing of read errors with raid6 This is a simple port of match functionality across from raid5. If we get a read error, we don't kick the drive straight away, but try to over-write with good data first. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca65b73bd9c301d243df93780f7b26579e6c9204 tree 1ca8157e11033989ee94c20b1f2d4c936f9dc09c parent 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8 author NeilBrown Fri, 06 Jan 2006 00:20:17 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:03 -0800 [PATCH] md: fix raid6 resync check/repair code raid6 currently does not check the P/Q syndromes when doing a resync, it just calculates the correct value and writes it. Doing the check can reduce writes (often to 0) for a resync, and it is needed to properly implement the echo check > sync_action operation. This patch implements the appropriate checks and tidies up some related code. It also allows raid6 user-requested resync to bypass the intent bitmap. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8 tree 8c156f26a10de82b1626d74f810704cfd6f5ba2b parent b15c2e57f0f5bf596a19e9c5571e5b07cdfc7363 author NeilBrown Fri, 06 Jan 2006 00:20:16 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:03 -0800 [PATCH] md: write intent bitmap support for raid10 Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b15c2e57f0f5bf596a19e9c5571e5b07cdfc7363 tree da68e3ed72e59212936daf7dd4c86f1f9a7ab386 parent 6ff8d8ec06690f4011a6c3ad9e0759b9094f0601 author NeilBrown Fri, 06 Jan 2006 00:20:16 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:03 -0800 [PATCH] md: move bitmap_create to after md array has been initialised This is important because bitmap_create uses mddev->resync_max_sectors and that doesn't have a valid value until after the array has been initialised (with pers->run()). [It doesn't make a difference for current personalities that support bitmaps, but will make a difference for raid10] This has the added advantage of meaning with can move the thread->timeout manipulation inside the bitmap.c code instead of sprinkling identical code throughout all personalities. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ff8d8ec06690f4011a6c3ad9e0759b9094f0601 tree 3606791ca1fb73e0263c4bb90d9c909d354bf9d4 parent 14f8d26b8ea3413b28f2cac208c9a93600fe3a80 author NeilBrown Fri, 06 Jan 2006 00:20:15 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:02 -0800 [PATCH] md: allow dirty raid[456] arrays to be started at boot See patch to md.txt for more details Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 14f8d26b8ea3413b28f2cac208c9a93600fe3a80 tree c52409db0f8c457683add609367976dfef645b8f parent 0a27ec96b6fb1abf867e36d7b0b681d67588767a author NeilBrown Fri, 06 Jan 2006 00:20:14 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:02 -0800 [PATCH] md: small cleanups for raid5 Resync code: A test that isn't needed, a 'compute_block' that makes more sense elsewhere (And then doesn't need a test), a couple of BUG_ONs to confirm the change makes sense. Printks: A few were missing KERN_* Also fix a typo in a comment.. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0a27ec96b6fb1abf867e36d7b0b681d67588767a tree 4db5d9b8ef02b417fc2077d65311e2ea7cda5ce0 parent 17999be4aa408e7ff3b9d32c735649676567a3cd author NeilBrown Fri, 06 Jan 2006 00:20:13 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:02 -0800 [PATCH] md: improve raid10 "IO Barrier" concept raid10 needs to put up a barrier to new requests while it does resync or other background recovery. The code for this is currently open-coded, slighty obscure by its use of two waitqueues, and not documented. This patch gathers all the related code into 4 functions, and includes a comment which (hopefully) explains what is happening. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 17999be4aa408e7ff3b9d32c735649676567a3cd tree 14f9fd4ef0299f16274ce2980baef7b96f111bea parent ac81b2ee45eb811fdb0aa1cfb71d468d944d00ce author NeilBrown Fri, 06 Jan 2006 00:20:12 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:01 -0800 [PATCH] md: improve raid1 "IO Barrier" concept raid1 needs to put up a barrier to new requests while it does resync or other background recovery. The code for this is currently open-coded, slighty obscure by its use of two waitqueues, and not documented. This patch gathers all the related code into 4 functions, and includes a comment which (hopefully) explains what is happening. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac81b2ee45eb811fdb0aa1cfb71d468d944d00ce tree 68ec667534f7669e60aadc09115f67fb0caf5fbe parent 9d3520a339d62f942085e9888f66905eb8b350bd author Darrick J. Wong Fri, 06 Jan 2006 00:20:11 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:01 -0800 [PATCH] make dm-mirror not issue invalid resync requests I've been attempting to set up a (Host)RAID mirror with dm_mirror on 2.6.14.3, and I've been having a strange little problem. The configuration in question is a set of 9GB SCSI disks that have 17942584 sectors. I set up the dm_mirror table as such: 0 17942528 mirror core 2 2048 nosync 2 8:48 0 8:64 0 If I'm not mistaken, this sets up a 9GB RAID1 mriror with 1MB stripes across both SCSI disks. The sector count of the dm device is less than the size of the disks, so we shouldn't fall off the end. However, I always get the messages like this in dmesg when I set up the dm table: attempt to access beyond end of device sdd: rw=0, want=17958656, limit=17942584 Clearly, something is trying to read sectors past the end of the drive. I traced it down to the __rh_recovery_prepare function in dm-raid1.c, which gets called when we're putting the mirror set together. This function calls the dirty region log's get_resync_work function to see if there's any resync that needs to be done, and queues up any areas that are out of sync. The log's get_resync_work function is actually a pointer to the core_get_resync_work function in dm-log.c. The core_get_resync_work function queries a bitset lc->sync_bits to find out if there are any regions that are out of date (i.e. the bit is 0), which is where the problem occurs. If every bit in lc->sync_bits is 1 (which is the case when we've just configured a new RAID1 with the nosync option), the find_next_zero_bit does NOT return the size parameter (lc->region_count in this case), it returns the size parameter rounded up to the nearest multiple of 32! I don't know if this is intentional, but i386 and x86_64 both exhibit this behavior. In any case, the statement "if (*region == lc->region_count)" looks like it's supposed to catch the case where are no regions to resync and return 0. Since find_next_zero_bit apparently has a habit of returning a value that's larger than lc->region_count, the enclosed patch changes the equality test to a greater-than test so that we don't try to resync areas outside of the RAID1 region. Seeing as the HostRAID metadata lives just past the end of the RAID1 data, mucking around in that area is not a good idea. I suppose another way to fix this would be to amend find_next_zero_bit so that it doesn't return values larger than "size", but I don't know if there's a reason for the current behavior. Signed-Off-By: Darrick J. Wong Acked-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9d3520a339d62f942085e9888f66905eb8b350bd tree 622374ba69e8430ec2ec8d7b00a3d28990659d45 parent 0b56306e56784d0513e1193d58c05a6bd97bd1a9 author Stefan Rompf Fri, 06 Jan 2006 00:20:08 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:01 -0800 [PATCH] dm-crypt: zero key before freeing it Zap the memory before freeing it so we don't leave crypto information around in memory. Signed-off-by: Stefan Rompf Acked-by: Clemens Fruhwirth Acked-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0b56306e56784d0513e1193d58c05a6bd97bd1a9 tree df8b94d7df0e3c8cd3ac22f3a5a06d59658d89e3 parent 6da487dcc0c6f4c827779687a20016efeffc4d60 author Adrian Bunk Fri, 06 Jan 2006 00:20:08 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:01 -0800 [PATCH] drivers/md/kcopyd.c: #if 0 kcopyd_cancel() This patch #if 0's the not yet implemented global function kcopyd_cancel(). Signed-off-by: Adrian Bunk Acked-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6da487dcc0c6f4c827779687a20016efeffc4d60 tree 824d14e18cbb81bf45c6d17104993acfa47c9c36 parent aa8d7c2fbe619d8c0837296d2eaf4c14cebac198 author Alasdair G Kergon Fri, 06 Jan 2006 00:20:07 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:01 -0800 [PATCH] device-mapper ioctl: add skip lock_fs flag Add ioctl DM_SKIP_LOCKFS_FLAG for userspace to request that lock_fs is bypassed when suspending a device. There's no change to the behaviour of existing code that doesn't know about the new flag. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aa8d7c2fbe619d8c0837296d2eaf4c14cebac198 tree 88b63e397b0c2dbdf2b8feb3920d565d352412d6 parent e39e2e95eb8bd536b61654e8fda1516d0a6a3cd1 author Alasdair G Kergon Fri, 06 Jan 2006 00:20:06 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:01 -0800 [PATCH] device-mapper: make lock_fs optional Devices only needs syncing when creating snapshots, so make this optional when suspending a device. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e39e2e95eb8bd536b61654e8fda1516d0a6a3cd1 tree d962d4aa2fd61243db6f627672e80749b00ee4b5 parent a1a190807074bd6ad8771e00b00752771ae586cb author Alasdair G Kergon Fri, 06 Jan 2006 00:20:05 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:00 -0800 [PATCH] device-mapper: rename frozen_bdev Rename frozen_bdev to suspended_bdev and move the bdget outside lockfs. (This prepares for making lockfs optional.) Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1a190807074bd6ad8771e00b00752771ae586cb tree ea9df244d215722e422f7bd7560dd9fe59789f44 parent 2d5fe68987341a59a3fd97c71695efcabb0c6fd5 author Jonathan E Brassow Fri, 06 Jan 2006 00:20:05 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:00 -0800 [PATCH] device-mapper raid1: add default mirror This patch introduces a new field to the mirror_set (default_mirror) to store the default mirror. (A subsequent patch will allow us to change the default mirror in the event of a failure.) Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d5fe68987341a59a3fd97c71695efcabb0c6fd5 tree 232e06bc54a3a0951222b8cb0f88f8d9b3c5b583 parent e6c276159c812ab25f47b7c7b683a5c97c442dd5 author Alasdair G Kergon Fri, 06 Jan 2006 00:20:04 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:00 -0800 [PATCH] device-mapper: scanf sector format change Use %llu not %Lu in sscanf/printf format strings. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e6c276159c812ab25f47b7c7b683a5c97c442dd5 tree d1ef3d342115572493af9054ab029fe35a944dc3 parent 2d38fe204461dc542bb38f2b01a9cd115b367b36 author Andrew Stribblehill Fri, 06 Jan 2006 00:20:03 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:00 -0800 [PATCH] device-mapper: remove unused definition This patch removes an unused #define. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d38fe204461dc542bb38f2b01a9cd115b367b36 tree 3a8267a1ed308a6ae67f89ddc90ca44370b79371 parent 81f1777a55e8c631b61e5fa5980fb7a2004287af author Alasdair G Kergon Fri, 06 Jan 2006 00:20:02 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:00 -0800 [PATCH] device-mapper snapshot: metadata reading separation More snapshot metadata reading into separate function, to prepare for changing the place it gets called from. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 81f1777a55e8c631b61e5fa5980fb7a2004287af tree e63c43ce8951e316f21a85554d867dd25a2ceb6c parent d229a9589ff3b988d3f999cdcfa350f97a372673 author goggin, edward Fri, 06 Jan 2006 00:20:01 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:00 -0800 [PATCH] device-mapper ioctl: event on rename After changing the name of a mapped device, trigger a dm event. (For userspace multipath tools.) Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d229a9589ff3b988d3f999cdcfa350f97a372673 tree ea6da350027f02736de7c1b7f350bc915abae39c parent 637842cfdbe2b981f7088f7633e630570f58efaf author David Teigland Fri, 06 Jan 2006 00:20:01 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:00 -0800 [PATCH] device-mapper: add dm_get_md Add dm_get_dev() to get a mapped device given its dev_t. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 637842cfdbe2b981f7088f7633e630570f58efaf tree 05b64c2f30612ab126df9e3ba8448d62101341d2 parent 9f708e40fe040e79f6c393a282f0701c9f8dc174 author David Teigland Fri, 06 Jan 2006 00:20:00 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:59 -0800 [PATCH] device-mapper: add dm_find_md Abstract dm_find_md() from dm_get_mdptr() to allow use elsewhere. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f708e40fe040e79f6c393a282f0701c9f8dc174 tree e769b7b9088f03caf324923485ee1e5ef05e2292 parent a334de28665b14f0a33df82699fa9a78cfeedf31 author Neil Brown Fri, 06 Jan 2006 00:19:59 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:59 -0800 [PATCH] knfsd: reduce stack consumption A typical nfsd call trace is nfsd -> svc_process -> nfsd_dispatch -> nfsd3_proc_write -> nfsd_write ->nfsd_vfs_write -> vfs_writev These add up to over 300 bytes on the stack. Looking at each of these, I see that nfsd_write (which includes nfsd_vfs_write) contributes 0x8c to stack usage itself!! It turns out this is because it puts a 'struct iattr' on the stack so it can kill suid if needed. The following patch saves about 50 bytes off the stack in this call path. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a334de28665b14f0a33df82699fa9a78cfeedf31 tree 21749c30159b1e0bf4cae7e174ec1bdcf3859ef4 parent 93fbf1a5de8afde08988dda3735669099dee84d0 author David Shaw Fri, 06 Jan 2006 00:19:58 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:59 -0800 [PATCH] knfsd: check error status from vfs_getattr and i_op->fsync Both vfs_getattr and i_op->fsync return error statuses which nfsd was largely ignoring. This as noticed when exporting directories using fuse. This patch cleans up most of the offences, which involves moving the call to vfs_getattr out of the xdr encoding routines (where it is too late to report an error) into the main NFS procedure handling routines. There is still a called to vfs_gettattr (related to the ACL code) where the status is ignored, and called to nfsd_sync_dir don't check return status either. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 93fbf1a5de8afde08988dda3735669099dee84d0 tree 2be514a800662b94a6a879b7b53f5fab6b56dd0e parent f93ea411b73594f7d144855fd34278bcf34a9afc author Olaf Kirch Fri, 06 Jan 2006 00:19:56 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:59 -0800 [PATCH] Keep nfsd from exiting when seeing recv() errors I submitted this one previously - svc_tcp_recvfrom currently returns any errors to the caller, including ECONNRESET and the like. This is something svc_recv isn't able to deal with: len = svsk->sk_recvfrom(rqstp); [...] if (len == 0 || len == -EAGAIN) { [...] return -EAGAIN; } [...] return len; The nfsd main loop will exit when it sees an error code other than EAGAIN. The following patch fixes this problem svc_recv is not equipped to deal with error codes other than EAGAIN, and will propagate anything else (such as ECONNRESET) up to nfsd, causing it to exit. Signed-off-by: Olaf Kirch Cc: Trond Myklebust Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f93ea411b73594f7d144855fd34278bcf34a9afc tree 50419ba9250be6f923470b4eff73370512c00267 parent 6fe2e70bbed3995d930f39452fb6ce3be7dc47dc author Jan Kara Fri, 06 Jan 2006 00:19:55 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:59 -0800 [PATCH] jbd: split checkpoint lists Split the checkpoint list of the transaction into two lists. In the first list we keep the buffers that need to be submitted for IO. In the second list are kept buffers that were already submitted and we just have to wait for the IO to complete. This should simplify a handling of checkpoint lists a bit and can eventually be also a performance gain. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6fe2e70bbed3995d930f39452fb6ce3be7dc47dc tree b196b26fa0046c39bf072238463329dc66ccca82 parent 066bb8d03b6e52e4844d37145573d6a2bedaa339 author Jayachandran C Fri, 06 Jan 2006 00:19:54 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:59 -0800 [PATCH] kernel/module.c: removed dead code This patch fixes an issue reported by Coverity in kernel/module.c Error reported: Cannot reach this line of code "else return ptr;" Patch description: This is the error path, so 'err' will be negative, the else case is not required, this patch removes it. Signed-off-by: Jayachandran C. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 066bb8d03b6e52e4844d37145573d6a2bedaa339 tree cdef785ca23e7803573ac774ab9750bb83a672c9 parent 81684ee645e15601ec935461d9069a3086179c06 author Paul E. McKenney Fri, 06 Jan 2006 00:19:53 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:58 -0800 [PATCH] fix remaining list_for_each_safe_rcu in -mm (take 2) I missed a use of list_for_each_rcu_safe() in -mm tree. Here is an updated patch to fix it. This time tested on a machine that actually uses IPMI... (Thanks to Serge Hallyn for spotting this.) Signed-off-by: "Paul E. McKenney" Cc: Corey Minyard Cc: Matt Domsch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 81684ee645e15601ec935461d9069a3086179c06 tree 279068d461a61bc6799f97fcf396ef23d218205b parent a1b9168d83962fbb05859c1ecaa57fd4f53cf38e author Adrian Bunk Fri, 06 Jan 2006 00:19:53 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:58 -0800 [PATCH] include/linux/parport_pc.h: "extern inline" -> "static inline" "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1b9168d83962fbb05859c1ecaa57fd4f53cf38e tree 24339cec1f3bcfac09b4c0daaefa00c6dae2473a parent 94b82095d0f5d6a72a0c619f54645727ebf66642 author Adrian Bunk Fri, 06 Jan 2006 00:19:52 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:58 -0800 [PATCH] simplify PARPORT_PC_PCMCIA dependencies Unless I miss something, this should be the simplest way to express the intended dependencies. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 94b82095d0f5d6a72a0c619f54645727ebf66642 tree 14bffcf877192e3602b6f35c04cbdbe750f01f8d parent 6a85081d1c3ab7935c3ade8f4b2700a860d6fb2e author Marko Kohtala Fri, 06 Jan 2006 00:19:51 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:58 -0800 [PATCH] parport: export parport_get_port() Help external ppSCSI driver by exporting parport_get_port to match the parport_put_port. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a85081d1c3ab7935c3ade8f4b2700a860d6fb2e tree 73cae3b34825a7ca26bf86cd0baf031ed652ccb4 parent 6a19b41b35bf45fc27a46dccf26005b3f44c1aa1 author Marko Kohtala Fri, 06 Jan 2006 00:19:51 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:58 -0800 [PATCH] parport: include fixes Small cleanup of includes meant for older implementation. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a19b41b35bf45fc27a46dccf26005b3f44c1aa1 tree d041d74fd511d1eba667492c060b61edc6f7b1cd parent 110bee75d2e03d3b4bcc74743dee5a21fe7b43bd author Marko Kohtala Fri, 06 Jan 2006 00:19:49 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:57 -0800 [PATCH] parport: Kconfig dependency fixes Make drivers that use directly PC parport HW depend on PARPORT_PC rather than HW independent PARPORT. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 110bee75d2e03d3b4bcc74743dee5a21fe7b43bd tree 1bbef7e9c9508204cce50061bad51e56e3bdc8c4 parent a6767b7cc674ee39635db75ed2f6f65ed0012239 author Marko Kohtala Fri, 06 Jan 2006 00:19:49 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:57 -0800 [PATCH] parport: DEBUG_PARPORT build fix Add missing "struct" keyword preventing compilation with DEBUG_PARPORT defined. Also add some "const". Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6767b7cc674ee39635db75ed2f6f65ed0012239 tree 95db09902a556747df45ac0a0a0c8e164fb94a80 parent b44d3bdd6fcf6233b381bf5bd0893ed235f497a9 author Marko Kohtala Fri, 06 Jan 2006 00:19:48 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:57 -0800 [PATCH] parport: constification Trivial "const" additions to places in parport that truly are const. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b44d3bdd6fcf6233b381bf5bd0893ed235f497a9 tree afb1670747d43a8debc9bb299fc37c3e1d105c0c parent 7c9cc3be1094b267a2da2e0016cbd6ced663da6d author Marko Kohtala Fri, 06 Jan 2006 00:19:47 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:57 -0800 [PATCH] parport: use complete slab buffer Use the complete slab buffer that is allocated by kmalloc. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c9cc3be1094b267a2da2e0016cbd6ced663da6d tree fa3cbbf6a904cbaf474a4ed04e30b5c8253a3f9a parent c29a75ed0d94fae64b59345ea96e52424ae9c6a2 author Marko Kohtala Fri, 06 Jan 2006 00:19:46 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:57 -0800 [PATCH] parport: parport_daisy_select return value fix parport_daisy_select returned wrong status that is read at wrong time during daisy command execution. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c29a75ed0d94fae64b59345ea96e52424ae9c6a2 tree cf118f0c5e6b340428374bd5e093026bd77317a3 parent 310c8c324f988625a2880deab67607bf4e5aeb8a author Marko Kohtala Fri, 06 Jan 2006 00:19:46 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:57 -0800 [PATCH] parport: daisy chain device id reading fix Device ID reading from daisy chain devices failed because the daisy device could not be opened. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 310c8c324f988625a2880deab67607bf4e5aeb8a tree 7b295c4d0875455b332534902fca5739678f28ff parent 742ec650e9b63ea61891455bb6f76bac37025c78 author Marko Kohtala Fri, 06 Jan 2006 00:19:45 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:56 -0800 [PATCH] parport: daisy chain end detection fix Daisy chain end detection failed at least with older daisy chain devices that do not implement the last device signal. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 742ec650e9b63ea61891455bb6f76bac37025c78 tree 993a734fc7c412c0a0c37e107bff761e0071cfcf parent c660629059abbbd0eb56e12f9bb4494f01800bbc author Marko Kohtala Fri, 06 Jan 2006 00:19:44 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:56 -0800 [PATCH] parport: phase fixes Did not move the parport interface properly into IEEE1284_PH_REV_IDLE phase at end of data due to comparing bytes with nibbles. Internal phase IEEE1284_PH_HBUSY_DNA became unused, so remove it. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c660629059abbbd0eb56e12f9bb4494f01800bbc tree da6a8d3a38e0c2e91b45dda210dc9f56306027a0 parent 39ee059affaf57a152c64cd3a0adc3f48f02ed71 author Marko Kohtala Fri, 06 Jan 2006 00:19:43 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:56 -0800 [PATCH] parport: buffer overflow fix Fix potential buffer overflow in case the device ID did not end in semicolon. Also might fail to negotiate back to IEEE1284_MODE_COMPAT in case of failure. parport_device_id did not return what Documentation/parport-lowlevel.txt said, so I changed it to match it. Determining device ID length is overly complicated, but Tim Waugh recalled on linux-parport seeing some buggy device that might need it. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 39ee059affaf57a152c64cd3a0adc3f48f02ed71 tree d656f8b3eb40cd1019a82d4381bbfa33e6caec8e parent 6ad84acab972f4dfc78e6fdb04c419f82c497d29 author Miklos Szeredi Fri, 06 Jan 2006 00:19:43 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:56 -0800 [PATCH] fuse: check file type in lookup Previously invalid types were quietly changed to regular files, but at revalidation the inode was changed to bad. This was rather inconsistent behavior. Now check if the type is valid on initial lookup, and return -EIO if not. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ad84acab972f4dfc78e6fdb04c419f82c497d29 tree d1a1370c158fbbf42b5e6d66e5f8046ac7bb9485 parent 3ec870d524c9150add120475c8ddcfa50574f98e author Miklos Szeredi Fri, 06 Jan 2006 00:19:42 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:56 -0800 [PATCH] fuse: ensure progress in read and write In direct_io mode, send at least one page per reqest. Previously it was possible that reqests with zero data were sent, and hence the read/write didn't make any progress, resulting in an infinite (though interruptible) loop. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ec870d524c9150add120475c8ddcfa50574f98e tree 62918ff93aac09bc13d4730208a8c8bc1fec4e40 parent 1d3d752b471d2a3a1d5e4fe177e5e7d52abb4e4c author Miklos Szeredi Fri, 06 Jan 2006 00:19:41 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:56 -0800 [PATCH] fuse: make maximum write data configurable Make the maximum size of write data configurable by the filesystem. The previous fixed 4096 limit only worked on architectures where the page size is less or equal to this. This change make writing work on other architectures too, and also lets the filesystem receive bigger write requests in direct_io mode. Normal writes which go through the page cache are still limited to a page sized chunk per request. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1d3d752b471d2a3a1d5e4fe177e5e7d52abb4e4c tree 05c6c99ca02118e2c80199c36f4f6263cdf7986b parent 248d86e87d12da19eee602075f05a49a5215288b author Miklos Szeredi Fri, 06 Jan 2006 00:19:40 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:56 -0800 [PATCH] fuse: clean up request size limit checking Change the way a too large request is handled. Until now in this case the device read returned -EINVAL and the operation returned -EIO. Make it more flexibible by not returning -EINVAL from the read, but restarting it instead. Also remove the fixed limit on setxattr data and let the filesystem provide as large a read buffer as it needs to handle the extended attribute data. The symbolic link length is already checked by VFS to be less than PATH_MAX, so the extra check against FUSE_SYMLINK_MAX is not needed. The check in fuse_create_open() against FUSE_NAME_MAX is not needed, since the dentry has already been looked up, and hence the name already checked. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 248d86e87d12da19eee602075f05a49a5215288b tree dd6a1159db054102100b2dd37e67022a65dbcf73 parent 6f9f11806af8ad3a107714a3ece56c1c4fafd047 author Miklos Szeredi Fri, 06 Jan 2006 00:19:39 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:55 -0800 [PATCH] fuse: fail file operations on bad inode Make file operations on a bad inode fail. This just makes things a bit more consistent. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f9f11806af8ad3a107714a3ece56c1c4fafd047 tree 175012a2f6bb9737f5eee127aa5ceece5899a657 parent 8cbdf1e6f6876b37d2a0d96fd15ea9f90f7d51c1 author Miklos Szeredi Fri, 06 Jan 2006 00:19:39 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:55 -0800 [PATCH] fuse: add code documentation Document some not-so-trivial functions. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8cbdf1e6f6876b37d2a0d96fd15ea9f90f7d51c1 tree 03633d1c84e651b2e9fafda1159847a05b89b0b2 parent de5f12025572ef8fcffa4be5453061725acfb754 author Miklos Szeredi Fri, 06 Jan 2006 00:19:38 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:55 -0800 [PATCH] fuse: support caching negative dentries Add support for caching negative dentries. Up till now, ->d_revalidate() always forced a new lookup on these. Now let the lookup method return a zero node ID (not used for anything else) meaning a negative entry, but with a positive cache timeout. The old way of signaling negative entry (replying ENOENT) still works. Userspace should check the ABI minor version to see whether sending a zero ID is allowed by the kernel or not. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de5f12025572ef8fcffa4be5453061725acfb754 tree 5d3f54fa7619fd7cc1ddddb037d31b280e3f3dba parent 45714d65618407bce1fd0271bc58303ce14b0785 author Miklos Szeredi Fri, 06 Jan 2006 00:19:37 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:55 -0800 [PATCH] fuse: add frsize to statfs reply Add 'frsize' member to the statfs reply. I'm not sure if sending f_fsid will ever be needed, but just in case leave some space at the end of the structure, so less compatibility mess would be required. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 45714d65618407bce1fd0271bc58303ce14b0785 tree f1f53819fc9dcc04fb9bc7145fcaddc6f8b81fe9 parent 4633a22e7added835fd1d4b072dbcc4474aa3017 author Miklos Szeredi Fri, 06 Jan 2006 00:19:36 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:55 -0800 [PATCH] fuse: bump interface version Change interface version to 7.4. Following changes will need backward compatibility support, so store the minor version returned by userspace. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4633a22e7added835fd1d4b072dbcc4474aa3017 tree 99561b341f42be443ac27257658a0237abc15a84 parent 0aa7c6990e7de06131cdc14ef4abfcab017c24a0 author Miklos Szeredi Fri, 06 Jan 2006 00:19:36 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:55 -0800 [PATCH] fuse: clean up page offset calculation Use page_offset() instead of doing page offset calculation by hand. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0aa7c6990e7de06131cdc14ef4abfcab017c24a0 tree b233db019a145d1b80bd94f775973cceec1b343c parent 524e3b623a9228efbdb70484b5214f27a1ca985d author Miklos Szeredi Fri, 06 Jan 2006 00:19:34 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:54 -0800 [PATCH] fuse: clean up fuse_lookup() Simplify fuse_lookup() and related functions. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 524e3b623a9228efbdb70484b5214f27a1ca985d tree 349c407009c90cd3d544ce2f87ddc635d4f11dcb parent f6ed39a6e1a88240eec629a3da17c3a47ada3b89 author Markus Lidel Fri, 06 Jan 2006 00:19:34 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:54 -0800 [PATCH] I2O: Lindent run Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f6ed39a6e1a88240eec629a3da17c3a47ada3b89 tree b19fee742b48865b94bb26ed4428ca00a1a95b2c parent 2e1973a3cd0b9fe31469be62df3583bdc5a34f51 author Markus Lidel Fri, 06 Jan 2006 00:19:33 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:54 -0800 [PATCH] I2O: Optimizing - make i2o_iop_free() static inline (from Adrian Bunk) - changed kmalloc() + memset(0) into kzalloc() Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2e1973a3cd0b9fe31469be62df3583bdc5a34f51 tree e44d7f091fca1cb64037555f5e856a3f2d027e8b parent dcceafe25a5f47cf69e5b46b4da6f15186ec8386 author Markus Lidel Fri, 06 Jan 2006 00:19:32 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:54 -0800 [PATCH] I2O: Beautifying Fix some typos and minor code beautifying. Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dcceafe25a5f47cf69e5b46b4da6f15186ec8386 tree 4a3d581b2a1d239daf5d42cd9d2e1e5d838d817a parent 24791bd48f643194d806654b587251b0f92233e8 author Markus Lidel Fri, 06 Jan 2006 00:19:32 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:54 -0800 [PATCH] I2O: Bugfixes - Removed some kmalloc's with __GFP_ZERO and replace it with memset() because it didn't work properly. - Fixed returned message frame in i2o_cfg_passthru() which caused raidutils to display wrong error message in case a disk was missing. - Fixed size of printk() in i2o_scsi.c. - Fixed get_device() and put_device() in probing of the I2O controller. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 24791bd48f643194d806654b587251b0f92233e8 tree c95c4db1a565146e3c1d565ba1b796e78d88d556 parent 793fd15d9fafe5b1c71e50d3c041f1463895dbde author Markus Lidel Fri, 06 Jan 2006 00:19:31 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:54 -0800 [PATCH] I2O: Remove wrong I2O device class Removed wrong I2O device class, which was only needed to add sysfs attributes. Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 793fd15d9fafe5b1c71e50d3c041f1463895dbde tree a19f3f17b435a3600d19f5a5ee2136b2d3646987 parent a1a5ea70a6e9db6332b27fe2d96666e17aa1436b author Markus Lidel Fri, 06 Jan 2006 00:19:30 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:53 -0800 [PATCH] I2O: SPARC fixes Fix lot of BE <-> LE bugs which prevent it from working on SPARC. Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1a5ea70a6e9db6332b27fe2d96666e17aa1436b tree 7edfe920aa40af94464ab05539d449dbe5689254 parent 347a8dc3b815f0c0fa62a1df075184ffe4cbdcf1 author Markus Lidel Fri, 06 Jan 2006 00:19:29 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:53 -0800 [PATCH] I2O: changed I2O API to create I2O messages in kernel memory Changed the I2O API to create I2O messages first in kernel memory and then transfer it at once over the PCI bus instead of sending each quad-word over the PCI bus. Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 347a8dc3b815f0c0fa62a1df075184ffe4cbdcf1 tree a6ec76690127e87fe6efa42b6238caadd6c07e7b parent 9bbc8346fb21fad3f678220b067450e436e45dbf author Martin Schwidefsky Fri, 06 Jan 2006 00:19:28 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:53 -0800 [PATCH] s390: cleanup Kconfig Sanitize some s390 Kconfig options. We have ARCH_S390, ARCH_S390X, ARCH_S390_31, 64BIT, S390_SUPPORT and COMPAT. Replace these 6 options by S390, 64BIT and COMPAT. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9bbc8346fb21fad3f678220b067450e436e45dbf tree 80934102daf1e9a6b2c0a387ec619c367cf6a271 parent 3b793060e768197d525e892fd1f84dbc8767cada author Peter Oberparleiter Fri, 06 Jan 2006 00:19:27 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:53 -0800 [PATCH] s390: fix invalid return code in sclp_cpi When the sclp_cpi module is loaded on a system which does not support the required SCLP call (e.g. on z/VM), ENOSUPP is returned to user space. The correct return value is EOPNOTSUPP. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b793060e768197d525e892fd1f84dbc8767cada tree 94b3860f2a5324effb71d2c09aac9ff55e02dcb2 parent 88fbf18399bde8f2900cf932acd40733dfa1effa author Cornelia Huck Fri, 06 Jan 2006 00:19:26 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:52 -0800 [PATCH] s390: Fix missing release function and cosmetic changes - Use kzalloc() in blacklist.c. - Kill unwanted casts in blacklist.c. - Provide release function for struct channel_subsystem. Signed-off-by: Cornelia Huck Cc: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88fbf18399bde8f2900cf932acd40733dfa1effa tree 9b34bf8325e465fbf84df25028f0fd6a11971b5b parent fb6958a594da49ece869793e6ec163b89fc5f79f author Eric Rossman Fri, 06 Jan 2006 00:19:25 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:52 -0800 [PATCH] s390: add support for cex2a crypto cards Signed-off-by: Eric Rossman Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb6958a594da49ece869793e6ec163b89fc5f79f tree 0746cc23ab13a059f9a34d7fc134aaf6410d07b8 parent 678a395b356a98368a93c3640252502b70c3676f author Cornelia Huck Fri, 06 Jan 2006 00:19:25 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:52 -0800 [PATCH] s390: multiple subchannel sets support Add support for multiple subchannel sets. Works with arbitrary devices in subchannel set 1 and is transparent to device drivers. Although currently only two subchannel sets are available, this will work with the architectured maximum number of subchannel sets as well. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 678a395b356a98368a93c3640252502b70c3676f tree faa937ba0579f9788d09cbc6cc39e28a4e03979e parent a28c69448154a0901e8815922030c5dcd2f8e388 author Cornelia Huck Fri, 06 Jan 2006 00:19:24 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:51 -0800 [PATCH] s390: convert /proc/cio_ignore Convert /proc/cio_ignore to a sequential file. This makes multiple subchannel sets support easier. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a28c69448154a0901e8815922030c5dcd2f8e388 tree 532ac1d4abc9cb9317bdfabc09b225ef616dd07b parent f97a56fb768e5fe9cd07c56ca47870136bb5530c author Cornelia Huck Fri, 06 Jan 2006 00:19:23 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:51 -0800 [PATCH] s390: introduce struct channel_subsystem struct channel_subsystem encapsulates several per channel subsystem properties, like status of chpids or the global path group id. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f97a56fb768e5fe9cd07c56ca47870136bb5530c tree 05108317a0cca7aa04cd68f4fcb7b7d3a295ddfa parent a8237fc4108060402d904bea5e1062e22e731969 author Cornelia Huck Fri, 06 Jan 2006 00:19:22 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:51 -0800 [PATCH] s390: introduce for_each_subchannel for_each_subchannel() is an iterator calling a function for every possible subchannel id until non-zero is returned. Convert the current iterating functions to it. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a8237fc4108060402d904bea5e1062e22e731969 tree fc19e33ea8bbe664c33fba6c78b34e497f2cc478 parent 8129ee164267dc030b8e1d541ee3643c0b9f2fa1 author Cornelia Huck Fri, 06 Jan 2006 00:19:21 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:51 -0800 [PATCH] s390: introduce struct subchannel_id This patch introduces a struct subchannel_id containing the subchannel number (formerly referred to as "irq") and switches code formerly relying on the subchannel number over to it. While we're touching inline assemblies anyway, make sure they have correct memory constraints. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8129ee164267dc030b8e1d541ee3643c0b9f2fa1 tree ca477e575a9098e637411332a8d354477143eff4 parent 05f29fcdb0c6c99484c8bea5e244fe2f4edc9337 author Frank Pavlic Fri, 06 Jan 2006 00:19:20 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:51 -0800 [PATCH] s390: qdio V=V pass-through New feature V=V qdio pass-through. QDIO and HiperSockets processing in z/VM V=V guest environments (as well as V=R with z/VM running in LPAR mode) requires shadowing of all QDIO architecture queue elements. Especially the shadowing of SBALs and SLSBs structures in the hypervisor, and the need to issue SIGA SYNC operations to observe state changes, eventually causes significant CPU processing overhead in the hypervisor. The QDIO pass-through support for V=V guests avoids the shadowing of SBALs and SLSBs. This significantly reduces the hypervisor overhead for QDIO based I/O. Signed-off-by: Frank Pavlic Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05f29fcdb0c6c99484c8bea5e244fe2f4edc9337 tree ddd58e864af769894488cbc19c5282a4dacdcecb parent bf754ae8ef8bc443c067601d9401103e4001e7c5 author Jan Glauber Fri, 06 Jan 2006 00:19:19 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:51 -0800 [PATCH] s390: in-kernel crypto test vectors Add new test vectors to the AES test suite for AES CBC and AES with plaintext larger than AES blocksize. Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bf754ae8ef8bc443c067601d9401103e4001e7c5 tree 4241bc75205a638006f40f577e99430099bbe53e parent 0a497c17fee428604e06320272ff74415eacdc31 author Jan Glauber Fri, 06 Jan 2006 00:19:18 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:50 -0800 [PATCH] s390: aes support Add support for the hardware accelerated AES crypto algorithm. Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0a497c17fee428604e06320272ff74415eacdc31 tree b7ebb455fc908489a783a32f6171a3c36ccdcc4f parent c1e26e1ef7ab50f30e5fbf004fe96ed44321ca78 author Jan Glauber Fri, 06 Jan 2006 00:19:18 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:50 -0800 [PATCH] s390: sha256 support Add support for the hardware accelerated sha256 crypto algorithm. Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c1e26e1ef7ab50f30e5fbf004fe96ed44321ca78 tree d4319a9441da5b776637945f9413e702296f5ad3 parent d0f4c16febf258ba8c0f917ac3ba935fc5459566 author Jan Glauber Fri, 06 Jan 2006 00:19:17 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:50 -0800 [PATCH] s390: in-kernel crypto rename Replace all references to z990 by s390 in the in-kernel crypto files in arch/s390/crypto. The code is not specific to a particular machine (z990) but to the s390 platform. Big diff, does nothing.. Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d0f4c16febf258ba8c0f917ac3ba935fc5459566 tree 069f60a74c4bed5c4e599f9ffa337d96454b78f6 parent 1c01b8a5963aec60488c1c97d67cffd8b5275e3f author Andreas Krebbel Fri, 06 Jan 2006 00:19:16 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:50 -0800 [PATCH] s390: add oprofile callgraph support Signed-off-by: Andreas Krebbel Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1c01b8a5963aec60488c1c97d67cffd8b5275e3f tree 48eb6c300541d77ff2cc5d8949ce5788fab1d82f parent 9a7af289660dc749d7c58234191601046a9bf488 author Horst Hummel Fri, 06 Jan 2006 00:19:15 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:50 -0800 [PATCH] s390: dasd failfast support To properly support multipath-failover handling, the linux block layer has introduced a special request flag, 'REQ_FAILFAST'. This flag is now used to return requests immediately in case the device is not operational. Signed-off-by: Horst Hummel Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a7af289660dc749d7c58234191601046a9bf488 tree d32057111e48c3463a87dd3a051c44064eeb86fc parent cfb1b55595a0dfd87b5849e8d0216c029f34445f author Horst Hummel Fri, 06 Jan 2006 00:19:14 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:50 -0800 [PATCH] s390: BIODASDPRRD ioctl return code The IOCTL BIODASDPRRD had no return code for 'profiling is inactive' and therefore tunedasd wrote misleading message for request-counter = 0. Introduce return-code EIO for inactive profiling. Signed-off-by: Horst Hummel Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cfb1b55595a0dfd87b5849e8d0216c029f34445f tree 86d73bda5e9c82e70a4bdbacfac6be5644c8a987 parent 6810a2bce3aa6573faa9920487274f166fe95c6e author Carsten Otte Fri, 06 Jan 2006 00:19:14 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:49 -0800 [PATCH] s390: move s390_root_dev_* out of the cio layer Extract the s390_root_dev_* functions from the common I/O layer as they are also used by non-ccw device drivers. Signed-off-by: Carsten Otte Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6810a2bce3aa6573faa9920487274f166fe95c6e tree 96426b1a7b63fa1f1f40762d27c946ef0013357a parent 089545f0c71bab6511395c2a060d7f81a99bad58 author Cornelia Huck Fri, 06 Jan 2006 00:19:13 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:49 -0800 [PATCH] s390: re-activated path detection If we receive path not operational indications (pnom in pmcw nonzero), we switch off those paths. To catch them becoming available again, we have to recalculate the lpm from the pmcw each time we start path verification. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 089545f0c71bab6511395c2a060d7f81a99bad58 tree 461ec36ccfc7350db49ce97d59894a7672ae170f parent 088c4ec16aa6b865dcf690051ddac30eb2bf6bcc author Martin Schwidefsky Fri, 06 Jan 2006 00:19:12 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:49 -0800 [PATCH] s390: cputime_t fixes There are some more places where the use of cputime_t instead of an integer type and the associated macros is necessary for the virtual cputime accounting on s390. Affected are the s390 specific appldata code and BSD process accounting. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 088c4ec16aa6b865dcf690051ddac30eb2bf6bcc tree bd2f31466a835145723c529fe05fac25f13a345d parent 4e3df37e7fb4e41bec84465ff31949737160ed58 author Martin Schwidefsky Fri, 06 Jan 2006 00:19:11 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:49 -0800 [PATCH] s390: update default configuration Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4e3df37e7fb4e41bec84465ff31949737160ed58 tree 99860db17a34bd7f8ab18b97bf5f842141a749a7 parent a63a4931c301a14ca79c41fec0b99d898dbba1fb author Cedric Le Goater Fri, 06 Jan 2006 00:19:10 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:49 -0800 [PATCH] s390: rt_sigreturn fix Check return code of do_sigaltstack and force a SIGSEGV if it is -EFAULT. Signed-off-by: Martin Schwidefsky Signed-off-by: Cedric Le Goater Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a63a4931c301a14ca79c41fec0b99d898dbba1fb tree 8d543006aadc1518c8bdb195f357d321b62b15da parent 56dc6a88ec76019e0d0729165cb5b98536270e1d author Martin Schwidefsky Fri, 06 Jan 2006 00:19:09 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:49 -0800 [PATCH] s390: uaccess warnings Convert __access_ok to an inline C function and change __get_user primitive to avoid uaccess compiler warnings. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 56dc6a88ec76019e0d0729165cb5b98536270e1d tree 4f79e6c12bae4be6bc8f78d786367076d38f4798 parent 973bd9937569146de0917f54f05b2942f8257912 author Peter Oberparleiter Fri, 06 Jan 2006 00:19:09 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:48 -0800 [PATCH] s390: cms volume label definitions Moved definition of CMS volume label to vtoc.h and modify partitions/ibm.c to use this volume label definition instead of anonymous array. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 973bd9937569146de0917f54f05b2942f8257912 tree 86dd796de5bf456eca904b350c9515f4795122bb parent 8d93c700a489eba08514222df414a23852a85d2b author Martin Schwidefsky Fri, 06 Jan 2006 00:19:07 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:48 -0800 [PATCH] s390: atomic primitives Hugh Dickins Fix the broken atomic_cmpxchg primitive. Add atomic_sub_and_test, atomic64_sub_return, atomic64_sub_and_test, atomic64_cmpxchg, atomic64_add_unless and atomic64_inc_not_zero. Replace old style atomic_compare_and_swap by atomic_cmpxchg. Shorten the whole header by defining most primitives with the two inline functions atomic_add_return and atomic_sub_return. In addition this patch contains the s390 related fixes of Hugh's "mm: fill arch atomic64 gaps" patch. Signed-off-by: Martin Schwidefsky Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d93c700a489eba08514222df414a23852a85d2b tree 95431dbad08c7807840faff3d8bf85dba0c66e13 parent 3a331a511a2fe522034f3958eecf58751be434ac author Jeff Dike Fri, 06 Jan 2006 00:19:06 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:48 -0800 [PATCH] uml: free network IRQ correctly Free the network IRQ when closing down the network devices at shutdown. Delete the device from the opened devices list on close. These prevent an -EBADF when later disabling SIGIO on all extant descriptors and a complaint from free_irq about freeing the IRQ twice. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a331a511a2fe522034f3958eecf58751be434ac tree 4e1a5e3f1c1b3d46a685c7993afe8065f84a0786 parent 4111b025dc64f33803d2147565147428dc51d014 author Jeff Dike Fri, 06 Jan 2006 00:19:05 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:48 -0800 [PATCH] uml: fix whitespace in mconsole driver Fix up some bogus spacing in the mconsole driver. Also delete the emacs formatting comment at the end. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4111b025dc64f33803d2147565147428dc51d014 tree 9eaf09fd540df937c40d16a973c11f0427c0c1b0 parent 6f517d3fc862d3c8d8ba65c0b2472d399aceb9ed author Jeff Dike Fri, 06 Jan 2006 00:19:05 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:48 -0800 [PATCH] uml: capture printk output for mconsole sysrq Pass sysrq output back to the mconsole client using the mechanism introduced for stack output. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f517d3fc862d3c8d8ba65c0b2472d399aceb9ed tree d8062920a60939dd2dda3b2deb39a4e206e0ae06 parent 7b033e1fdeef3d8bacac3cd5cfa53c9d670d1f3d author Jeff Dike Fri, 06 Jan 2006 00:19:04 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:48 -0800 [PATCH] uml: capture printk output for mconsole stack The stack command now sends the printk output back to the mconsole client. This is done by registering a special console for the mconsole driver. This receives all printk output. Normally, it is ignored, but when a stack command is issued, any printk output will be sent back to the client. This will capture any printk output, whether it is stack output or not, since we can't tell the difference. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7b033e1fdeef3d8bacac3cd5cfa53c9d670d1f3d tree 632948968ea0d61bc323f419866d3d037a99f0a5 parent 44700a4469b6bb89e6f1edd32b8a4a915dd967c6 author Jeff Dike Fri, 06 Jan 2006 00:19:03 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:47 -0800 [PATCH] uml: add mconsole_reply variant with length param This is needed for the console output patch, since we have a possibly non-NULL-terminated string there. So, the new interface takes a string and a length, and the old interface calls strlen on its string and calls the new interface with the length. There's also a bit of whitespace cleanup. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44700a4469b6bb89e6f1edd32b8a4a915dd967c6 tree e9474d4c2ebb13f94ca810aa99473d1d6bf8eba1 parent e464bf2bed027ea185992b44bf4b0326387a520d author Jeff Dike Fri, 06 Jan 2006 00:19:02 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:47 -0800 [PATCH] uml: better diagnostics for broken configs Produce a compile-time error if both MODE_SKAS and MODE_TT are disabled. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e464bf2bed027ea185992b44bf4b0326387a520d tree 1038935546cbf91640835d7b868067c60a95b33f parent 7eebe8a9c51686927709a57b1f2725d371014abc author Jeff Dike Fri, 06 Jan 2006 00:19:01 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:47 -0800 [PATCH] uml: SIGWINCH handling cleanup Code cleanup - unregister_winch and winch_cleanup had some duplicate code. This is now abstracted out into free_winch. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7eebe8a9c51686927709a57b1f2725d371014abc tree 6b1543982c8656c76c25baa7e44497d5d9de307a parent 2264c475e4bf7427e59921953c89a5693ecb506f author Jeff Dike Fri, 06 Jan 2006 00:19:01 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:47 -0800 [PATCH] uml: umid cleanup This patch cleans up the umid code: - The only_if_set argument to get_umid is gone. - get_umid returns an empty string rather than NULL if there is no umid. - umid_is_random is gone since its users went away. - Some printfs were turned into printks because the code runs late enough that printk is working. - Error paths were cleaned up. - Some functions now return an error and let the caller print the error message rather than printing it themselves. This eliminates the practice of passing a pointer to printf or printk in, depending on where in the boot process we are. - Major tidying of not_dead_yet - mostly error path cleanup, plus a comment explaining why it doesn't react to errors the way you might expect. - Calls to os_* interfaces that were moved under os are changed back to their native libc forms. - snprintf, strlcpy, and their bounds-checking friends are used more often, replacing by-hand bounds checking in some places. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2264c475e4bf7427e59921953c89a5693ecb506f tree 4ebf1fa766ee7487eeaf583f1ffe2b63e6e0af2c parent e4dcee8099802c71437a15b940f66106d9f88b2f author Jeff Dike Fri, 06 Jan 2006 00:18:59 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:47 -0800 [PATCH] uml: separate libc-dependent umid code I reworked Gennady's umid OS abstraction patch because the code shouldn't be moved entirely to os. As it turns out, I moved most of it anyway. This patch is the minimal one needed to move the code and have it work. It turns out that the concept of the umid is OS-independent, but almost everything else about the implementation is OS-dependent. This is code movement without cleanup - a follow-on patch tidies everything up without shuffling code around. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e4dcee8099802c71437a15b940f66106d9f88b2f tree b4831639d38369fce2e20fd40730425ca702102c parent 9159c9dfffe1746d58b015ceaa3b7b8e99ee9d5c author Jeff Dike Fri, 06 Jan 2006 00:18:58 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:46 -0800 [PATCH] uml: Add throttling to console driver This patch adds support for throttling and unthrottling input when the tty driver can't handle it. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9159c9dfffe1746d58b015ceaa3b7b8e99ee9d5c tree 938b1a30d0d127ed05e8145af2ddcd1c07719ac0 parent 165dc5911627a9c4752e909a0da661b96b6fd269 author Jeff Dike Fri, 06 Jan 2006 00:18:58 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:46 -0800 [PATCH] uml: Fix flip_buf full handling When the tty flip_buf is full, it's a good idea to delay the input processing for a jiffy, rather than just scheduling the tasklet immediately. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 165dc5911627a9c4752e909a0da661b96b6fd269 tree 7e8eb47b7e766a5296b9e15ef177f958dec16d93 parent 1f80171e81ed0d08dcdb6efe239d7b929aef498f author Jeff Dike Fri, 06 Jan 2006 00:18:57 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:46 -0800 [PATCH] uml: Simplify console opening/closing and irq registration This patch simplifies the opening and closing of host console devices and the registration and deregistration of IRQs. The intent is to make it obvious that an IRQ can't exist without an open file descriptor. chan_enable will now open the channel, and when both opening and IRQ registration are desired, this should be used. Opening only is done for the initial console, so that interface still needs to exist. The free_irqs_later interface is now gone. It was intended to avoid freeing an IRQ while it was being processed. It did this, but it didn't eliminate the possiblity of free_irq being called from an interrupt, which is bad. In its place is a list of irqs to be freed, which is processed by the signal handler just before exiting. close_one_chan now disables irqs. When a host device disappears, it is just closed, and that disables IRQs. The device id registered with the IRQ is now the chan structure, not the tty. This is because the interrupt arrives on a descriptor associated with the channel. This caused equivalent changes in the arguments to line_timer_cb. line_disable is gone since it is not used any more. The count field in the line structure is gone. tty->count is used instead. The complicated logic in sigio_handler with freeing IRQs when necessary and making sure its idea of the next irq is correct is now much simpler. The irq list can't be rearranged underneath it, so it is now a simple list walk. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1f80171e81ed0d08dcdb6efe239d7b929aef498f tree f6f72268ddee265b46ceb698cdff6daa7cba6250 parent 418e55d49b0ec7d2e7a033f2dd083f5b2ab7d119 author Jeff Dike Fri, 06 Jan 2006 00:18:55 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:46 -0800 [PATCH] uml: move console configuration This patch changes when console devices are configured in order to prepare the ground for the next patch. parse_chan_pair is now done earlier, when initcalls are run, rather than when the device is opened. When a host device disappears, the channel list is closed, but not freed. This is required by the previous change. line_config now takes the options structure as an argument, and line_open doesn't. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 418e55d49b0ec7d2e7a033f2dd083f5b2ab7d119 tree d1e598b98955774b270b0f3f8f4a4e63815ff97e parent 9010772cdff36072dd509ec72c1a55fccde8e58e author Jeff Dike Fri, 06 Jan 2006 00:18:54 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:46 -0800 [PATCH] uml: line_setup interface change line_setup is changed to return the device which it set up, rather than just success or failure. This will be important in the line-config patch. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9010772cdff36072dd509ec72c1a55fccde8e58e tree b87fbf28462462b691b6f2bca382dd6188ef3dc1 parent d571cd18f225542460b5d9b83e5e0d507be71656 author Jeff Dike Fri, 06 Jan 2006 00:18:54 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:46 -0800 [PATCH] uml: Add static initializations and declarations Some structure fields were being dynamically initialized when they could be initialized at compile-time instead. This also makes some declarations static (in the C sense). Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d571cd18f225542460b5d9b83e5e0d507be71656 tree 2434036d1a068afa831532f71deabcbd47527bc8 parent 88890b88742debb97006df264b653d18acdc80d0 author Jeff Dike Fri, 06 Jan 2006 00:18:53 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:45 -0800 [PATCH] uml: Move mconsole support out of generic code A bit of restructuring which eliminates the all_allowed argument (which is mconsole-specific) to line_setup. That logic is moved to the mconsole callback. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88890b88742debb97006df264b653d18acdc80d0 tree f84377762bd7e69b5cdcab1ee7e4406295c898ce parent 0834cc77af6a8a650f803d4a7c3c0f134b366f87 author Jeff Dike Fri, 06 Jan 2006 00:18:52 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:45 -0800 [PATCH] uml: Remove unneeded structure field This removes a structure field which turned out to be pointless, and references to it. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0834cc77af6a8a650f803d4a7c3c0f134b366f87 tree a23d3746dfed759b28c250a7b5365e035a0a6542 parent d50084a2991f3d9490d5c0f3af72e6fe1515a493 author Jeff Dike Fri, 06 Jan 2006 00:18:51 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:45 -0800 [PATCH] uml: use ARRAY_SIZE This patch replaces instances of "sizeof(foo)/sizeof(foo[0])" with ARRAY_SIZE(foo), which expands to the same thing. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d50084a2991f3d9490d5c0f3af72e6fe1515a493 tree 051d6c46ddab1ee47db40252cdad4cbbe0a04f5b parent 1b57e9c27882a908f180d4daf72ee12c6f137178 author Jeff Dike Fri, 06 Jan 2006 00:18:50 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:45 -0800 [PATCH] uml: Formatting changes This patch makes a bunch of non-functional changes - return(foo); becomes return foo; some statements are broken across lines for readability some trailing whitespace is cleaned up open_one_chan took four arguments, three of which could be deduced from the first. Accordingly, they were eliminated. some examples of "} else {" had a newline added some whitespace cleanup in the indentation lines_init got some control flow cleanup some long lines were broken removed another emacs-specific C formatting comment Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1b57e9c27882a908f180d4daf72ee12c6f137178 tree 422930c86e877418cc96623653b750bd0d1f5a9a parent 970d6e3a3461ebc62bc3fc6d4962c936cb2ed97c author Jeff Dike Fri, 06 Jan 2006 00:18:49 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:45 -0800 [PATCH] uml: non-void functions should return something There are a few functions which are declared to return something, but don't. These are actually infinite loops which are forced to be declared as non-void. This makes them all return 0. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 970d6e3a3461ebc62bc3fc6d4962c936cb2ed97c tree 0af12c696e86ec294d966c704821f806b6e28883 parent 118c1f27b838c5d1cf5338dc5abff52ceb364826 author Jeff Dike Fri, 06 Jan 2006 00:18:48 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:45 -0800 [PATCH] uml: use kstrdup There were a bunch of calls to uml_strdup dating from before kstrdup was introduced. This changes those calls. It doesn't eliminate the definition since there is still a couple of calls in userspace code (which should probably call the libc strdup). Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 118c1f27b838c5d1cf5338dc5abff52ceb364826 tree 8cc09bd5fa17119b21c0e07616841371708d00a7 parent b14a72d6cbf73443b975ffb04871e0ffb240df58 author Alexey Dobriyan Fri, 06 Jan 2006 00:18:47 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:45 -0800 [PATCH] cris: kgdb: remove double_this() Doesn't make much sense and unused. Signed-off-by: Alexey Dobriyan Signed-off-by: Adrian Bunk Cc: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b14a72d6cbf73443b975ffb04871e0ffb240df58 tree a839152938e1d257c6ff8b2607b5e89bbf75acdb parent 32588918254cff7c03651dcbd3d8cc2301aba5bd author Christoph Hellwig Fri, 06 Jan 2006 00:18:46 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:44 -0800 [PATCH] m68knommu: remove enable_irq_nosync() m68k, m68knommu and h8300 define this, but it's not actually used anywhere. Signed-off-by: Christoph Hellwig Cc: Greg Ungerer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 32588918254cff7c03651dcbd3d8cc2301aba5bd tree 702d0f0f5af90c3bc103e2894071ea9ea197964d parent adfc31c67f4515ed4bad1ef9555cbacdfc24e8d3 author Christoph Hellwig Fri, 06 Jan 2006 00:18:45 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:44 -0800 [PATCH] m68knommu: enable_irq/disable_irq mach_enable_irq/mach_disable_irq are never actually set, so let's remove them. Signed-off-by: Christoph Hellwig Cc: Greg Ungerer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit adfc31c67f4515ed4bad1ef9555cbacdfc24e8d3 tree 725e760c6d4e9cb1854012243b3605dce880789f parent 9b791d4766c19ac014a7b81a551efe4a7511e12a author Hirokazu Takata Fri, 06 Jan 2006 00:18:45 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:44 -0800 [PATCH] m32r: Remove unnecessary icu_data_t definitions This patch removes unnecessary struct icu_data_t definitions of arch/m32r/kernel/setup_*.c. Signed-off-by: Hayato Fujiwara Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9b791d4766c19ac014a7b81a551efe4a7511e12a tree ac8aaaf5042fb0e6f9cd05e073f7e5d60823445f parent 46ea178b7a5162405bf70954d769165cf2161309 author Hirokazu Takata Fri, 06 Jan 2006 00:18:44 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:44 -0800 [PATCH] m32r: Fix M32104 cache flushing routines This patch fixes cache memory parameter setting for the M32104 target. So far, its performance seemed to have been degraded due to incorrect cache parameter setting. * arch/m32r/boot/setup.S: Set SFR(Special Fuction Registers) region to be non-cachable explicitly. * arch/m32r/mm/cache.c: Fix cache flushing routines not to switch off the M32104 cache. Signed-off-by: Hayato Fujiwara Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46ea178b7a5162405bf70954d769165cf2161309 tree d757c796068a38ffa8c2b793233805c9b0120cde parent 1b5b776aa5730cbda9cba84ba0f8ccd53a775797 author Hirokazu Takata Fri, 06 Jan 2006 00:18:43 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:44 -0800 [PATCH] m32r: Update _port2addr to use NONCACHE_OFFSET Modify _port2addr*() routines in arch/m32r/kernel/io_*.c to use NONCACHE_OFFSET instead of hard-coding of a constant address. This modification is also required to support an M3A-ZA36 FPGA eva board in case an MMU-less synthesizable m32r core is used. Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1b5b776aa5730cbda9cba84ba0f8ccd53a775797 tree 60b661ac7cceba108dd07062a54e7fb724a19e72 parent 9287d95ea194abf32fab24c6909f8ea55ab0292f author Hirokazu Takata Fri, 06 Jan 2006 00:18:42 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:43 -0800 [PATCH] m32r: Update syscall macros for MMU-less targets This patch is for updating m32r's MMU-less support. Some legacy MMU-less m32r chips cannot return from a trap handler to the right-hand side 16-bit halfword code of a 32-bit instrucion code pair, because a "trap" instruction specification was expanded in M32R-II ISA. This modification forces "trap" instructions to be placed in word alignment location with a parallel "nop" code. Signed-off-by: Kazuhiro Inaoka Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9287d95ea194abf32fab24c6909f8ea55ab0292f tree 4c00a6866d1da4fac5b5ca3bdb86eb2170a3fbf4 parent 60c83c77c4a6a399d55e4f9ad156bccdfe51c96b author Hirokazu Takata Fri, 06 Jan 2006 00:18:41 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:43 -0800 [PATCH] m32r: Support M32104UT target platform This patch is for supporting a new target platform, Renesas M32104UT evaluation board. The M32104UT is an eval board based on an uT-Engine specification. This board has an MMU-less M32R family processor, M32104. http://www-wa0.personal-media.co.jp/pmc/archive/te/te_m32104_e.pdf This board is one of the most popular M32R platform, so we have ported Linux/M32R to it. Signed-off-by: Naoto Sugai Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 60c83c77c4a6a399d55e4f9ad156bccdfe51c96b tree b2b902aae8e0028b98122522e12862912e5483f1 parent 8c1d286e6aa5581e9d214cbaec2bee0394bb8de8 author Hirokazu Takata Fri, 06 Jan 2006 00:18:39 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:43 -0800 [PATCH] m32r: trivial fix to remove unused instructions A trivial fix to remove unused instructions. Signed-off-by: Naoto Sugai Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8c1d286e6aa5581e9d214cbaec2bee0394bb8de8 tree 818df5a64c9376286501c8563e4983ddd2085c27 parent 277c6e2ad7369558dbd7ffbcc6dcbe16458bf723 author Dave Jones Fri, 06 Jan 2006 00:18:38 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:43 -0800 [PATCH] don't freeze firewire on suspend. We had a report from one loony user who tried out suspend to disk using a swap partition on a firewire drive. As the firewire thread was put to sleep it didn't work out too well. Signed-off-by: Dave Jones Cc: Pavel Machek Cc: Ben Collins Cc: Jody McIntyre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 277c6e2ad7369558dbd7ffbcc6dcbe16458bf723 tree 4b45284c5c5c13c41d2723f603ea3645d999ce54 parent 1adf6c8ea916bc4a2587a881ec7715fece63fb5e author Rafael J. Wysocki Fri, 06 Jan 2006 00:17:58 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:43 -0800 [PATCH] swsusp: save image header first This makes the swsusp_info structure become the header of the image in the literal sense (ie. it is saved to the swap and read before any other image data with the help of the swsusp's swap map structure, so generally it is treated in the same way as the rest of the image). The main thing it does is to make swsusp_header contain the offset of the swap map used to track the image data pages rather than the offset of swsusp_info.  Simultaneously, swsusp_info becomes the first image page written to the swap. The other changes are generally consequences of the above with a few exceptions (there's some consolidation in the image reading part as a few functions turn into trivial wrappers around something else). Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1adf6c8ea916bc4a2587a881ec7715fece63fb5e tree 0cfeb2d3ea23fbfac3674cf9b7291f80a055aad1 parent 3a291a20bd6fcfafb2109031f0760a0d3e92ecd7 author Rafael J. Wysocki Fri, 06 Jan 2006 00:17:16 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:43 -0800 [PATCH] swsusp: improve handling of swap partitions This changes the handling of swap partitions by swsusp to avoid locking of the swap devices that are not used for suspend and, consequently, simplifies the code. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a291a20bd6fcfafb2109031f0760a0d3e92ecd7 tree 6c034471da9b2aac77b9810af640bb7a515cb299 parent ca0aec0f7a94bf9f07fefa8bfd23282d4e8ceb8a author Rafael J. Wysocki Fri, 06 Jan 2006 00:16:37 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:43 -0800 [PATCH] mm: add a new function (needed for swap suspend) This adds the function get_swap_page_of_type() allowing us to specify an index in swap_info[] and select a swap_info_struct structure to be used for allocating a swap page. This function (or another one of similar functionality) will be necessary for implementing the image-writing part of swsusp in the user space.  It can also be used for simplifying the current in-kernel implementation of the image-writing part of swsusp. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca0aec0f7a94bf9f07fefa8bfd23282d4e8ceb8a tree 5f31f11eba908545d5e02698fe9c163a8612dd26 parent b3a93a255ec33a04776ec50efb30b7a99168dda2 author Rafael J. Wysocki Fri, 06 Jan 2006 00:15:56 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:42 -0800 [PATCH] swsusp: make image size limit tunable Make the suspend image size limit tunable via /sys/power/image_size. It is necessary for systems on which there is a limited amount of swap available for suspend. It can also be useful for optimizing performance of swsusp on systems with 1 GB of RAM or more. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b3a93a255ec33a04776ec50efb30b7a99168dda2 tree 9cfd05925ce0548bec68ca1544f25173e2fb177b parent c050ca78705592d440c22055865bf4de40fe2a4c author Rafael J. Wysocki Fri, 06 Jan 2006 00:15:22 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:42 -0800 [PATCH] swsusp: limit image size Limit the size of the suspend image to approx. 500 MB, which should improve the overall performance of swsusp on systems with more than 1 GB of RAM. It introduces the constant IMAGE_SIZE that can be set to the preferred size of the image (in MB) and modifies the memory-shrinking part of swsusp to take this constant into account (500 is the default value of IMAGE_SIZE). Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c050ca78705592d440c22055865bf4de40fe2a4c tree 41ab01e55c65c09cc5b44880accdff1c5090f220 parent 45029c3207840edb9c9b795de0145ded1c675fce author Pavel Machek Fri, 06 Jan 2006 00:15:21 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:42 -0800 [PATCH] swsusp: Drop duplicate prototypes These two prototypes are already present in sched.h, remove duplicate version. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 45029c3207840edb9c9b795de0145ded1c675fce tree fb3b6f295d57fb2c55879071421d45cfacdb60e2 parent 76cd48a397f126ea883835f5889ee1837596f021 author Patrick Mochel Fri, 06 Jan 2006 00:15:20 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:41 -0800 [PATCH] oss: remove deprecated PM interface from opl3sa2 driver This change removes the old, deprecated interface from the opl3sa2 driver, including the pm_{,un}register() calls, the local storage of the pmdev object and the reference to the old header files. This change is done to assist in eradicating the users of the legacy interface so as to help facilitate the removal of the interface itself. Signed-off-by: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 76cd48a397f126ea883835f5889ee1837596f021 tree efd303b842cd7083ee2e224e44e63dfd3ffa2b71 parent 53052539f3e2b29ccaf2064b0d3b8cee51d05621 author Patrick Mochel Fri, 06 Jan 2006 00:15:19 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:41 -0800 [PATCH] oss: remove deprecated PM interface from nm256 driver This change removes the old, deprecated interface from the nm256 driver, including the pm_{,un}register() calls, the local storage of the pmdev object and the reference to the old header files. This change is done to assist in eradicating the users of the legacy interface so as to help facilitate the removal of the interface itself. Note that this driver has been obsoleted by an ALSA equivalent. Signed-off-by: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53052539f3e2b29ccaf2064b0d3b8cee51d05621 tree a3628d85d88b3527463a0eeff1d865b46bc17bc8 parent 94661e7c33e6e3001be07d76d3a87eaa41dad3df author Patrick Mochel Fri, 06 Jan 2006 00:15:18 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:41 -0800 [PATCH] oss: remove deprecated PM interface from maestro driver This change removes the old, deprecated interface from the maestro driver, including the pm_{,un}register() calls, the local storage of the pmdev object and the reference to the old header files. This change is done to assist in eradicating the users of the legacy interface so as to help facilitate the removal of the interface itself. The check_suspend() function and associated logic was not removed, even though it is now unnecessary. Note that this driver has been obsoleted by an ALSA equivalent. Acked-by: Zach Brown Signed-off-by: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 94661e7c33e6e3001be07d76d3a87eaa41dad3df tree 830e59bcc2ea6fee5bbef89af2858c387dc25ebe parent ee77e2754247d011a11f572788040cda2493c998 author Patrick Mochel Fri, 06 Jan 2006 00:15:17 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:41 -0800 [PATCH] oss: remove deprecated PM interface from cs46xx driver This change removes the old, deprecated interface from the cs46xx driver, including the pm_{,un}register() calls, the local storage of the pmdev object and the reference to the old header files. This change is done to assist in eradicating the users of the legacy interface so as to help facilitate the removal of the interface itself. Note this driver has PCI PM hooks which are set properly. It also has the ability to trigger suspend/resume from an ioctl. This functionality was not touched, though it could use a serious review if this driver continues to persist in the mainline tree.. Note that this driver has been obsoleted by an ALSA equivalent. Signed-off-by: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ee77e2754247d011a11f572788040cda2493c998 tree 2f8e3f702f92a85cf0460420d51a419f7a093a7a parent e7c045c14bffcab2d329e86b80dc8ff7d528e05b author Patrick Mochel Fri, 06 Jan 2006 00:15:14 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:41 -0800 [PATCH] oss: remove deprecated PM interface from cs4281 driver This change removes the old, deprecated interface from the cs4281 driver, including the pm_{,un}register() calls, the local storage of the pmdev object and the reference to the old header files. This change is done to assist in eradicating the users of the legacy interface so as to help facilitate the removal of the interface itself. Note that this driver has been obsoleted by an ALSA equivalent. Note that this driver has hooks for PCI power management, but does not implement the ->suspend()/->resume() methods. Signed-off-by: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e7c045c14bffcab2d329e86b80dc8ff7d528e05b tree 58e195896bcf597e19459aa24322eeb6520cf79b parent e5e2fa7857f6bf46605c77d949fa6698b9b0bc28 author Patrick Mochel Fri, 06 Jan 2006 00:15:07 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:41 -0800 [PATCH] oss: remove deprecated PM interface from ad1848 driver This change removes the old, deprecated interface from the ad1848 driver, including the pm_{,un}register() calls, the local storage of the pmdev object and the reference to the old header files. This change is done to assist in eradicating the users of the legacy interface so as to help facilitate the removal of the interface itself. Signed-off-by: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e5e2fa7857f6bf46605c77d949fa6698b9b0bc28 tree e5d32d980939ce44ee8b60e7f1fd0732760f7607 parent 72a97e08394a3b2e75481ff680ec2a0591e3cba4 author Rafael J. Wysocki Fri, 06 Jan 2006 00:14:20 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:40 -0800 [PATCH] swsusp: fix enough_free_mem This patch fixes a problem with the function enough_free_mem() used by swsusp to verify if there is a sufficient number of memory pages available to it to create and save the suspend image. Namely, enough_free_mem() uses nr_free_pages() to obtain the number of free memory pages, which is incorrect, because this function returns the total number of free pages, including free highmem pages, and the highmem pages cannot be used by swsusp for storing the image data. The patch makes enough_free_mem() avoid counting the free highmem pages as available to swsusp. Signed-off-by: Rafael J. Wysocki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 72a97e08394a3b2e75481ff680ec2a0591e3cba4 tree d8ba72d6e81ad31ed10876386d3d2067921979e3 parent 7088a5c00103ef48782d6c359cd12b13a10666e6 author Rafael J. Wysocki Fri, 06 Jan 2006 00:13:46 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:40 -0800 [PATCH] swsusp: improve freeing of memory This patch makes swsusp free only as much memory as needed to complete the suspend and not as much as possible.  In the most of cases this should speed up the suspend and make the system much more responsive after resume, especially if a GUI (eg. X Windows) is used. If needed, the old behavior (ie to free as much memory as possible during suspend) can be restored by unsetting FAST_FREE in power.h Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7088a5c00103ef48782d6c359cd12b13a10666e6 tree b731c8af48e00c0ec88bbe57b6b2a2c1ec20fbde parent f2d97f02961e8b1f8a24befb88ab0e5c886586ff author Rafael J. Wysocki Fri, 06 Jan 2006 00:13:05 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:40 -0800 [PATCH] swsusp: introduce the swap map structure This patch introduces the swap map structure that can be used by swsusp for keeping tracks of data pages written to the swap.  The structure itself is described in a comment within the patch. The overall idea is to reduce the amount of metadata written to the swap and to write and read the image pages sequentially, in a file-alike way. This makes the swap-handling part of swsusp fairly independent of its snapshot-handling part and will hopefully allow us to completely separate these two parts in the future. This patch is needed to remove the suspend image size limit imposed by the limited size of the swsusp_info structure, which is essential for x86-64 systems with more than 512 MB of RAM. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f2d97f02961e8b1f8a24befb88ab0e5c886586ff tree 2b8909cf8024413134785cba06df858c0ede4bca parent 0595bf3bca9d9932a05b06dd438f40f01d27cd33 author Rafael J. Wysocki Fri, 06 Jan 2006 00:12:24 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:40 -0800 [PATCH] swsusp: remove encryption This patch removes the image encryption that is only used by swsusp instead of zeroing the image after resume in order to prevent someone from reading some confidential data from it in the future and it does not protect the image from being read by an unauthorized person before resume. The functionality it provides should really belong to the user space and will possibly be reimplemented after the swap-handling functionality of swsusp is moved to the user space. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0595bf3bca9d9932a05b06dd438f40f01d27cd33 tree f7b4c361b102e483ee87337a6e471ee17ec8ffdc parent eee45269b0f5979c70bc151c6c2f4e5f4f5ababe author Ivan Kokshaysky Fri, 06 Jan 2006 00:12:22 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:40 -0800 [PATCH] Alpha: convert to generic irq framework (alpha part) Kconfig tweaks and tons of deletions. Signed-off-by: Ivan Kokshaysky Cc: Christoph Hellwig Cc: Richard Henderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eee45269b0f5979c70bc151c6c2f4e5f4f5ababe tree a8ed14ee532ea8dabc1010d540542eea1d620540 parent 1fa744e6e91a895750b9980d13fcfc5791a0cd91 author Ivan Kokshaysky Fri, 06 Jan 2006 00:12:21 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:40 -0800 [PATCH] Alpha: convert to generic irq framework (generic part) Thanks to Christoph for doing most of the work. This allows automatic SMP IRQ affinity assignment other than default "all interrupts on all CPUs" which is rather expensive. This might be useful if the hardware can be programmed to distribute interrupts among different CPUs, like Alpha does. Signed-off-by: Ivan Kokshaysky Cc: Christoph Hellwig Cc: Richard Henderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1fa744e6e91a895750b9980d13fcfc5791a0cd91 tree 2ba30e6d4f263cdb5e5ec9a85fc1fecec9100036 parent 766c3f94d4492ee4ec60b65693e71ee4b1d6fd68 author Shaohua Li Fri, 06 Jan 2006 00:12:20 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:39 -0800 [PATCH] cpu hotplug/x86_64: disable interrupt in play_dead With physical CPU hotplug, the CPU is hot removed and it should not receive any interrupts. Disabling interrupt is much safer. This basically is what we do in ia64 & x86. Signed-off-by: Shaohua Li Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 766c3f94d4492ee4ec60b65693e71ee4b1d6fd68 tree 7654da87fb55d9dc2963c3ff146f0eab6d4f316e parent 76865c3f87e825dda0c458b02f30dd8ae64b7bdc author Ben Collins Fri, 06 Jan 2006 00:12:20 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:39 -0800 [PATCH] i386: Handle HP laptop rebooting properly. Signed-off-by: Ben Collins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 76865c3f87e825dda0c458b02f30dd8ae64b7bdc tree eca4f00f9c8022bf2177f23ff36a27e12edbd939 parent 19d534842cc39df1b568722c18f96ae24fb0e136 author Vivek Goyal Fri, 06 Jan 2006 00:12:19 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:39 -0800 [PATCH] i386: ioapic virtual wire mode fix o Currently, during kexec reboot, IOAPIC is re-programmed back to virtual wire mode if there was an i8259 connected to it. This enables getting timer interrupts in second kernel in legacy mode. o After putting into virtual wire mode, IOAPIC delivers the i8259 interrupts to CPU0. This works well for kexec but not for kdump as we might crash on a different CPU and second kernel will not see timer interrupts. o This patch modifies the redirection table entry to deliver the timer interrupts to the cpu we are rebooting (instead of hardcoding to zero). This ensures that second kernel receives timer interrupts even on a non-boot cpu. Signed-off-by: Vivek Goyal Cc: Andi Kleen Cc: "Seth, Rohit" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 19d534842cc39df1b568722c18f96ae24fb0e136 tree bf4a0deac286079540f849dff8f8c030e2eba097 parent bcf0f0d233fc76e7c59c7f731caad555428d0e8d author Brian Gerst Fri, 06 Jan 2006 00:12:18 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:39 -0800 [PATCH] mpspec: remove unneeded packed attribute GCC 4.1 gives the following warning: include/asm/mpspec.h:79: warning: `packed' attribute ignored for field of type `unsigned char' The packed attribute isn't really necessary anyways so just remove it. Signed-off-by: Brian Gerst Acked-by: Dave Jones Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bcf0f0d233fc76e7c59c7f731caad555428d0e8d tree 34b39caa375380b86eba4ddf1ab2d5928b631f13 parent 3841b0a173cb6fc52163e67c03280543f2412db3 author Larry Finger Fri, 06 Jan 2006 00:12:17 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:39 -0800 [PATCH] fix cpu frequency detection in arch/i386/kernel/timers/timer_tsc.c::recalibrate_cpu_khz() When we re-calibrate the frequency, it is likely that an interrupt (as for example the main system clock) will be triggered by the system. Therefore the calibration may not be accurate. This will also provide a fix to bug #5266. Many thanks to Larry Finger for helping resolving this issue. Signed-off-by: Bruno Ducrot Cc: john stultz Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3841b0a173cb6fc52163e67c03280543f2412db3 tree 38b55ab607add98d3423e6b6b7ef63c1b8a19b47 parent a7a4ad0998dcd682f4968e8ec5fc1259914a1c4a author Jordan Crouse Fri, 06 Jan 2006 00:12:16 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:39 -0800 [PATCH] APM Screen Blanking fix - Fix screen blanking on BIOSes that return APM_NOT_ENGAGED when APM enabled screen blanking is not turned on. The original code only tried to set the state on device 0x100, and then 0x1FF, and I added 0x101 to the mix too. - Clean up logic in apm_console_blank(). - Prevent the error message from printing out twice. Cc: Jordan Crouse Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a7a4ad0998dcd682f4968e8ec5fc1259914a1c4a tree eb3abedd5d748f13cc218fc9226850ac21ecdc3c parent f90b8116032f4216d260e31f966a3585319387ac author Jordan Crouse Fri, 06 Jan 2006 00:12:15 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:38 -0800 [PATCH] Geode LX HW RNG Support Add support to hw_random for the Geode LX HRNG device. Signed-off-by: Jordan Crouse Cc: Alan Cox Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f90b8116032f4216d260e31f966a3585319387ac tree c7234671ff0ee152e40dc0175fe46a0d7147641d parent 6b7f430ee0a269464aa29159eb464e647ca313d3 author Jordan Crouse Fri, 06 Jan 2006 00:12:14 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:38 -0800 [PATCH] Base support for AMD Geode GX/LX processors Provide basic support for the AMD Geode GX and LX processors. Signed-off-by: Jordan Crouse Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b7f430ee0a269464aa29159eb464e647ca313d3 tree 1fcc5c5038bc1bf69df2b575c12154f94e306c29 parent 6926d570b6159c6a7f65921ca119a675b12fef86 author Daniel Marjamaki Fri, 06 Jan 2006 00:12:13 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:38 -0800 [PATCH] arch/i386/kernel/cpuid.c: unused variable Removed the unused variable "rv". Signed-off-by: Daniel Marjamaki Signed-off-by: H. Peter Anvin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6926d570b6159c6a7f65921ca119a675b12fef86 tree e407cd90d21424fc00cd4cb767f95f24b925453b parent d832245d7cc16d50b29c1b708ccbe9c75ac376a3 author Daniel Marjamaki Fri, 06 Jan 2006 00:12:12 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:38 -0800 [PATCH] arch/i386/kernel/msr.c: removed unused variable Removed the unused variable "rv". Signed-off-by: Daniel Marjamaki Signed-off-by: H. Peter Anvin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d832245d7cc16d50b29c1b708ccbe9c75ac376a3 tree 2fc22b6337fc433a6b392e9b008339d8031e8e1c parent e31b88ba49460653bab87423287bb68743f5de5c author Stephen Hemminger Fri, 06 Jan 2006 00:12:12 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:38 -0800 [PATCH] x86: fls() in asm There is a single instruction on i386 to find largest set bit; so it makes sense to use it (like we use bfs for ffs()). Signed-off-by: Stephen Hemminger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e31b88ba49460653bab87423287bb68743f5de5c tree eb9b0e154c7453da3feaa8ae874a7a4adc3616b9 parent f8af095d3a4c8300b4e63ee2c4bb198b565d9431 author Dave Jones Fri, 06 Jan 2006 00:12:11 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:38 -0800 [PATCH] x86: missing printk newline in apic boot option parser Missing newline in printk. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f8af095d3a4c8300b4e63ee2c4bb198b565d9431 tree 8ca5c266790eb543706fd202d2d2f731466ad541 parent e72c8585e09f127a69a1608bb5ccd1e3fc0dd41e author Dave Jones Fri, 06 Jan 2006 00:12:10 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:38 -0800 [PATCH] x86: change_page_attr() fix The 'make rodata read-only' patch in -mm exposes a latent bug in the 32-bit change_page_attr() function, which causes certain CPUs (Those with NX basically) to reboot instantly after pages are marked read-only. The same bug got fixed a while back on x86-64, but never got propagated to i386. Stuart Hayes from Dell also picked up on this last June, but it never got fixed, as the only thing affected by it aparently was the nvidia driver. Blatantly stealing description from his post.. "It doesn't appear to be fixed (in the i386 arch). The change_page_attr()/split_large_page() code will still still set all the 4K PTEs to PAGE_KERNEL (setting the _PAGE_NX bit) when a large page needs to be split. This wouldn't be a problem for the bulk of the kernel memory, but there are pages in the lower 4MB of memory that's free, and are part of large executable pages that also contain kernel code. If change_page_attr() is called on these, it will set the _PAGE_NX bit on the whole 2MB region that was covered by the large page, causing a large chunk of kernel code to be non-executable." Signed-off-by: Arjan van de Ven Signed-off-by: Dave Jones Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e72c8585e09f127a69a1608bb5ccd1e3fc0dd41e tree 7ad1aae88ae4e9d7cd14899ad5a62ca3a6cdb0c7 parent 1855a2c4ce708b823b8b824f8b12937b45f5462a author Ashok Raj Fri, 06 Jan 2006 00:12:09 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:37 -0800 [PATCH] make bigsmp the default mode if CONFIG_HOTPLUG_CPU If we are using hotplug enabled kernel, then make bigsmp the default mode. Signed-off-by: Ashok Raj Signed-off-by: Venkatesh Pallipadi Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1855a2c4ce708b823b8b824f8b12937b45f5462a tree 2aeed2e32d792652e43ae086d2522210715c9992 parent c898ec16e83331abde39118e22e9e38335bbb950 author Ashok Raj Fri, 06 Jan 2006 00:12:08 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:37 -0800 [PATCH] x86: convert bigsmp to use flat physical mode When we bring up a new CPU via INIT/startup IPI messages, the CPU that's coming up sends a xTPR message to the chipset. Intel chipsets (at least) don't provide any architectural guarantee on what the chipset will do with this message. For example, the E850x chipsets uses this xTPR message to interpret the interrupt operating mode of the platform. When the CPU coming online sends this message, it always indicates that it is in logical flat mode. For the CPU hotplug case, the platform may already be functioning in cluster APIC mode at this time, the chipset can get confused and mishandle I/O device and IPI interrupt routing. The situation eventually gets corrected when the new CPU sends another xTPR update when we switch it to cluster mode, but there's a window during which the chipset may be in an inconsistent state. This patch avoids this problem by using the flat physical interrupt delivery mode instead of cluster mode for bigsmp (>8 cpu) support. Signed-off-by: Ashok Raj Signed-off-by: Venkatesh Pallipadi Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c898ec16e83331abde39118e22e9e38335bbb950 tree bad725f27cb14e50663d39b8f36b1b79ab88fa80 parent 215c3409eed16c89b6d11ea1126bd9d4f36b9afd author Anton Blanchard Fri, 06 Jan 2006 00:12:07 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:37 -0800 [PATCH] allow flatmem to be disabled when only sparsemem is implemented On architectures that implement sparsemem but not discontigmem we want to be able to hide the flatmem option in some cases. On ppc64 for example, when we select NUMA we must not select flatmem. Signed-off-by: Anton Blanchard Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 215c3409eed16c89b6d11ea1126bd9d4f36b9afd tree 611a2831532746e24ff9744c4d277b61569ecb20 parent bb152f53120d66c98c1f16518407df6a84f23714 author Andy Whitcroft Fri, 06 Jan 2006 00:12:06 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:37 -0800 [PATCH] i386 sparsemem for single node systems Allow SPARSEMEM to be enabled on non-numa x86 systems. This is made dependant on EXPERIMENTAL also being set. When an in-tree user (such as simulated numa) exists it should be made dependant on that. The plan is to have no options and no selector as normal when !EXPERIMENTAL. When EXPERIMENTAL we enable the FLATMEM and SPARSEMEM options for X86_PC whilst maintaining DISCONTIGMEM and SPARSEMEM for NUMA. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb152f53120d66c98c1f16518407df6a84f23714 tree 6696d5eccee5af88a7326edaebbd819e628b3e2c parent 67df197b1a07944c2e0e40ded3d4fd07d108e110 author Arjan van de Ven Fri, 06 Jan 2006 00:12:05 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:36 -0800 [PATCH] x86/x86_64: mark rodata section read-only: make some datastructures const Mark some key kernel datastructures readonly. This patch was previously posted on Jun 28th but was back then not merged because nothing was enforcing rodata anyway.. well that changed now :) Patch by Christoph Lameter and Dave Jones Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 67df197b1a07944c2e0e40ded3d4fd07d108e110 tree b29534a27b2c18e64c6b3d4cdc149de8978e38ba parent c728252c7a072628bd3932ff87943d1e12423359 author Arjan van de Ven Fri, 06 Jan 2006 00:12:04 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:36 -0800 [PATCH] x86/x86_64: mark rodata section read-only: x86-64 support x86-64 specific parts to make the .rodata section read only Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c728252c7a072628bd3932ff87943d1e12423359 tree 13a354b83179d6060add1c39bbac79e79f5d4ef2 parent 63aaf3086baea7b94c218053af8237f9dbac5d05 author Arjan van de Ven Fri, 06 Jan 2006 00:12:03 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:36 -0800 [PATCH] x86/x86_64: mark rodata section read only: generic x86-64 bugfix Bug fix required for the .rodata work on x86-64: when change_page_attr() and friends need to break up a 2Mb page into 4Kb pages, it always set the NX bit on the PMD, which causes the cpu to consider the entire 2Mb region to be NX regardless of the actual PTE perms. This is fine in general, with one big exception: the 2Mb page that covers the last part of the kernel .text! The fix is to not invent a new permission for the new PMD entry, but to just inherit the existing one minus the PSE bit. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 63aaf3086baea7b94c218053af8237f9dbac5d05 tree dc32bf8878d01a25a321eb6412f27bce7ec7c5b7 parent 37b73c828185731f6236a6387c02d7b08c150810 author Arjan van de Ven Fri, 06 Jan 2006 00:12:02 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:36 -0800 [PATCH] x86/x86_64: mark rodata section read only: x86 parts x86 specific parts to make the .rodata section read only Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Adrian Bunk Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 37b73c828185731f6236a6387c02d7b08c150810 tree 312b9f082f78072aba62ee2230e417928156873e parent d89c145c0344fe2180336af6a309a59a8bc8c1c0 author Arjan van de Ven Fri, 06 Jan 2006 00:12:01 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:36 -0800 [PATCH] x86/x86_64: mark rodata section read only: generic infrastructure Generic prep-work for marking the .rodata section readonly: * Align the rodata section at 4Kb boundary * call the mark_rodata_ro() function when available Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Adrian Bunk Cc: Andi Kleen Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d89c145c0344fe2180336af6a309a59a8bc8c1c0 tree 3b124a740d14ef298117b4ad0732e075ed970e4b parent 2684927c6b938ec7a679891e0ec1fa0709c521bd author David Howells Fri, 06 Jan 2006 00:11:59 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:36 -0800 [PATCH] x86: handle -Wsign-compare in bitops Make i386's find_first_bit() use an unsigned integer as a counter to avoid getting warnings when -Wsign-compare is given. Signed-Off-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2684927c6b938ec7a679891e0ec1fa0709c521bd tree 8696e818f64294be38f0d6e2fd677ba35abc7582 parent 92f17f0171e864a2cbe448c5b7b473e72a7d27b8 author Zachary Amsden Fri, 06 Jan 2006 00:11:59 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:35 -0800 [PATCH] x86: Deprecate useless bug Remove the "temporary debugging check" which has managed to live for quite some time, and is clearly unneeded. The mm can never be live at this point, so clearly checking the LDT in the mm->context is redundant as well. Signed-off-by: Zachary Amsden Cc: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 92f17f0171e864a2cbe448c5b7b473e72a7d27b8 tree 81e13e2cfa3b95da5fde4478a994db760e0101c0 parent 2891dcdc4538e8f4ce50c9d1eea457cf2d81fb5b author Zachary Amsden Fri, 06 Jan 2006 00:11:58 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:35 -0800 [PATCH] x86: Apm is on cpu zero only APM BIOS code has a protective wrapper that runs it only on CPU zero. Thus, no need to set APM BIOS segments in the GDT for other CPUs. Signed-off-by: Zachary Amsden Acked-by: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2891dcdc4538e8f4ce50c9d1eea457cf2d81fb5b tree 694477a26693e300ef88efd98ee1f5c98354ae7d parent e6a9918c9617ed21f71f2f20b45efe06822c8f00 author Zachary Amsden Fri, 06 Jan 2006 00:11:57 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:35 -0800 [PATCH] x86: Stop deleting nt Stop deleting NT bit from EFLAGS. See arch/i386/kernel/head.S line 223, which does something even better. Signed-off-by: Zachary Amsden Cc: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e6a9918c9617ed21f71f2f20b45efe06822c8f00 tree 1518725e6db9a84667cc0d713a5e5c6c156a979d parent 5fe9fe3c6f9a1ae7aa224bb7a66eb9aad9e4abef author Zachary Amsden Fri, 06 Jan 2006 00:11:56 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:35 -0800 [PATCH] x86: Fixed pnp bios limits PnP BIOS data, code, and 32-bit entry segments all have fixed limits as well; set them in the GDT rather than adding more code. It would be nice to add these fixups to the boot GDT rather than setting the GDT for each CPU; perhaps I can wiggle this in later, but getting it in before the subsys init looks tricky. Also, make some progress on deprecating the ugly Q_SET_SEL macros. Signed-off-by: Zachary Amsden Cc: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5fe9fe3c6f9a1ae7aa224bb7a66eb9aad9e4abef tree ec120ce6e72700fe49720127bc76228c51bd406b parent 3fae1c37eea98097de34ba665796fea93b29f4aa author Zachary Amsden Fri, 06 Jan 2006 00:11:55 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:35 -0800 [PATCH] x86: Pnp byte granularity The one remaining caller of set_limit, the PnP BIOS code, calls into the PnP BIOS, passing kernel parameters in and out. These parameteres may be passed from arbitrary kernel virtual memory, so they deserve strict protection to stop a bad BIOS from smashing beyond the object size. Unfortunately, the use of set_limit was badly botching this by setting the limit in terms of pages, when it really should have byte granularity. When doing this, I discovered my BIOS had the buggy code during the "get system device node" call: mov ax, es:[bx] Which is harmless, but has a trivial workaround. Signed-off-by: Zachary Amsden Cc: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3fae1c37eea98097de34ba665796fea93b29f4aa tree bc31e7e6a3b88f422a70c1d936a806625dcab137 parent 99022c4695d3f45fcf7f3827aa46dd2d9e53e365 author Zachary Amsden Fri, 06 Jan 2006 00:11:54 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:35 -0800 [PATCH] x86: Deprecate obsolete ldt accessors Old accessors to fetch LDT descriptors are unused and outdated and in the wrong header file. Signed-off-by: Zachary Amsden Cc: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 99022c4695d3f45fcf7f3827aa46dd2d9e53e365 tree da02b2dc37e33a2fbaf8eb752d9f5b2f70222d96 parent 3012d2d209580c78b5927d55c60a10891be8befd author Zachary Amsden Fri, 06 Jan 2006 00:11:53 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:35 -0800 [PATCH] x86: Apm seg in gdt Since APM BIOS segment limits are now fixed, set them in head.S GDT and don't use the complicated _set_limit() macro expansion. Signed-off-by: Zachary Amsden Acked-by: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3012d2d209580c78b5927d55c60a10891be8befd tree 5da305197c9e117b9207395de57d5c0a0ed432c6 parent 5702d0f742b2f462267bca147334f77a255bcc74 author Zachary Amsden Fri, 06 Jan 2006 00:11:53 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:34 -0800 [PATCH] x86: Always relax segments APM BIOSes have many bugs regarding proper representation of the appropriate segment limits for calling the BIOS. By default, APM_RELAX_SEGMENTS is always turned on to support running the APM BIOS on these buggy machines. Keeping 64k limits poses very little danger to the kernel, because the pages where the APM BIOS is located will always be in low physical memory BIOS areas, which should already be marked reserved, and only buggy BIOSes would possibly overstep the segment bounds with writes to data anyway. Since forcing stricter limits breaks many machines and is not default behavior, it seems reasonable to deprecate the older code which may cause APM BIOS to fault. If you really have a badly enough broken APM BIOS that you have to turn off APM_RELAX_SEGMENTS, seems like the best recourse here would be to disable the APM BIOS and / or not compile it into your kernel to begin with, and / or add your system to the known bad list. The reason I want to deprecate this code is there is underlying brokenness with the set_limit macros, and getting rid of many of the call sites rather than rewriting them seems to be the simplest and most correct course of action. Signed-off-by: Zachary Amsden Acked-by: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5702d0f742b2f462267bca147334f77a255bcc74 tree de14f41bc9305aa48a19ce95443b0b9ca5ca2350 parent ff6e8c0d5e47f0ceeebde86ec2f5919dbd5beb67 author Zachary Amsden Fri, 06 Jan 2006 00:11:51 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:34 -0800 [PATCH] x86: Pnp segments in segment h Move PnP BIOS segment definitions into segment.h; the segments are reserved here, so they might as well be defined here as well. Note I didn't do this for APM BIOS, as Macintosh and other systems use those values to emulate APM in some scary way I don't want to understand. Signed-off-by: Zachary Amsden Acked-by: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ff6e8c0d5e47f0ceeebde86ec2f5919dbd5beb67 tree f7e50b5962b7b38ca025c0bf9ee48b618424cc6b parent eb05c3249a8e8a675e79d221f4a0874dc10ec903 author Zachary Amsden Fri, 06 Jan 2006 00:11:50 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:34 -0800 [PATCH] x86: Cr4 is valid on some 486s So some 486 processors do have CR4 register. Allow them to present it in register dumps by using the old fault technique rather than testing processor family. Thanks to Maciej for noticing this. Signed-off-by: Zachary Amsden Cc: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb05c3249a8e8a675e79d221f4a0874dc10ec903 tree 20d18a6873f8bac31532d1246337ca347e387ad4 parent d43c6e8083ac8baeb1a167510aea34fcef396e33 author Jan Beulich Fri, 06 Jan 2006 00:11:49 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:34 -0800 [PATCH] i386: fix bound check IDT gate Other than apparently commonly assumed, the bound instruction does not require the corresponding IDT entry to have DPL 3. Acked-by: "Seth, Rohit" Acked-by: Zachary Amsden Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d43c6e8083ac8baeb1a167510aea34fcef396e33 tree 45feb3824511d67330bb5d2e5451fa5f66dd7542 parent e43d674f44dc885a2476cab3537e639d9eaa31a9 author Jan Beulich Fri, 06 Jan 2006 00:11:49 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:34 -0800 [PATCH] i386: move SIMD initialization Move some code unrelated to any dealing with hardware bugs from i386's bugs.h to a more logical place. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e43d674f44dc885a2476cab3537e639d9eaa31a9 tree 23bf53cc0752000ddee91b8f957181bfc5b70a4c parent 7c4cb60e5b97677424e95baee9c29df54b26e6ba author Jan Beulich Fri, 06 Jan 2006 00:11:48 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:34 -0800 [PATCH] i386: don't blindly enable interrupts in die() Rather than blindly re-enabling interrupts in die(), save their state upon entry and then restore that state. If the kernel is in really bad condition and faults with interrupts disabled, re-enabling them in die() may cause even more trouble, implying more chances of data corruption. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c4cb60e5b97677424e95baee9c29df54b26e6ba tree a2ad6e6104e153d15bc4bfbb67f74b0e05fea03c parent 599a6e8ca4ff7f453f847217ecc2718d68e3b0f6 author Zachary Amsden Fri, 06 Jan 2006 00:11:47 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:33 -0800 [PATCH] x86: GDT alignment fix Make GDT page aligned and page padded to support running inside of a hypervisor. This prevents false sharing of the GDT page with other hot data, which is not allowed in Xen, and causes performance problems in VMware. Rather than go back to the old method of statically allocating the GDT (which wastes unneded space for non-present CPUs), the GDT for APs is allocated dynamically. Signed-off-by: Zachary Amsden Cc: "Seth, Rohit" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 599a6e8ca4ff7f453f847217ecc2718d68e3b0f6 tree 89961a1030bbdd1e3c9c49bcc451921206bfae9f parent fef2b580eb50281ae1d2413ab340f677f6722281 author Domen Puncer Fri, 06 Jan 2006 00:11:46 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:33 -0800 [PATCH] mips: remove include/asm-mips/riscos-syscall.h Remove nowhere referenced file ("grep riscos -r ." didn't find anything). Signed-off-by: Domen Puncer Signed-off-by: Alexey Dobriyan Acked-by: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fef2b580eb50281ae1d2413ab340f677f6722281 tree a0cd5204a30a06e72123b7030a8279e1239255da parent 8efc0ab50edbac5c65191b8a58dfdab3741b7901 author David Howells Fri, 06 Jan 2006 00:11:45 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:33 -0800 [PATCH] frv: improve signal handling The attached patch improves the signal handling: (1) It makes do_signal() static as it isn't called from anywhere outside of the arch code. (2) It removes the regs argument to all the static functions within that file, using __frame instead (which is the same thing held in a global register). Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8efc0ab50edbac5c65191b8a58dfdab3741b7901 tree 3598a874f715e89d475a9bc8a435a1096f19c58d parent 7ee1dd3fee22f15728f545d266403fc977e1eb99 author David Howells Fri, 06 Jan 2006 00:11:44 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:33 -0800 [PATCH] frv: fix signal handling The attached patch makes FRV signal handling work properly: (1) After do_notify_resume() has been called, the work flags must be checked again (there may be another signal to deliver or the process might require rescheduling for instance). (2) After the signal frame is set up on the userspace stack, ptrace() should be given an opportunity to single-step into the signal handler. (3) The error state from setting up a signal frame should be passed back up the call chain. (4) The segfault handler shouldn't be preemptively reset in the arch if we fail to deliver a SEGV signal: force_sig() will take care of that. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7ee1dd3fee22f15728f545d266403fc977e1eb99 tree e2f9f42b0731d5006fa329a590069be6787af1de parent 5c40f7f373889930d176a515ec375b60a70b5b49 author David Howells Fri, 06 Jan 2006 00:11:44 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:33 -0800 [PATCH] FRV: Make futex code compilable on nommu [try #2] Make the futex code compilable and usable on NOMMU by making the attempt to handle page faults conditional on CONFIG_MMU. If this is not enabled, then we can assume that EFAULT returned from futex_atomic_op_inuser() is not recoverable, and that the address lies outside of valid memory. handle_mm_fault() is made to BUG if called on NOMMU without attempting to invoke the actual handler (__handle_mm_fault). Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5c40f7f373889930d176a515ec375b60a70b5b49 tree 718d63553f5b9b23c5883592a2fe45b84f275687 parent b0e15190ead07056ab0c3844a499ff35e66d27cc author David Howells Fri, 06 Jan 2006 00:11:43 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:33 -0800 [PATCH] FRV: Implement futex operations for FRV The attached patch implements futex operations for the FRV architecture. The operations are applicable to both MMU and no-MMU modes; though the EFAULT handling will be a little bit of wasted space on the latter. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b0e15190ead07056ab0c3844a499ff35e66d27cc tree 0601a8d68fa051a7ee85d22640e982c0a64f0efc parent 642fb4d1f1dd2417aa69189fe5ceb81e4fb72900 author David Howells Fri, 06 Jan 2006 00:11:42 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:32 -0800 [PATCH] NOMMU: Make SYSV IPC SHM use ramfs facilities on NOMMU The attached patch makes the SYSV IPC shared memory facilities use the new ramfs facilities on a no-MMU kernel. The following changes are made: (1) There are now shmem_mmap() and shmem_get_unmapped_area() functions to allow the IPC SHM facilities to commune with the tiny-shmem and shmem code. (2) ramfs files now need resizing using do_truncate() rather than by modifying the inode size directly (see shmem_file_setup()). This causes ramfs to attempt to bind a block of pages of sufficient size to the inode. (3) CONFIG_SYSVIPC is no longer contingent on CONFIG_MMU. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 642fb4d1f1dd2417aa69189fe5ceb81e4fb72900 tree 77427e3141a6160bfa09ed3af4428c6e874f3e0c parent 9f6d4b0c21a6894dad7665d3dda4174c7c120784 author David Howells Fri, 06 Jan 2006 00:11:41 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:32 -0800 [PATCH] NOMMU: Provide shared-writable mmap support on ramfs The attached patch makes ramfs support shared-writable mmaps by: (1) Attempting to perform a contiguous block allocation to the requested size when truncate attempts to increase the file from zero size, such as happens when: fd = shm_open("/file/on/ramfs", ...): ftruncate(fd, size_requested); addr = mmap(NULL, subsize, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_SHARED, fd, offset); (2) Permitting any shared-writable mapping over any contiguous set of extant pages. get_unmapped_area() will return the address into the actual ramfs pages. The mapping may start anywhere and be of any size, but may not go over the end of file. Multiple mappings may overlap in any way. (3) Not permitting a file to be shrunk if it would truncate any shared mappings (private mappings are copied). Thus this patch provides support for POSIX shared memory on NOMMU kernels, with certain limitations such as there being a large enough block of pages available to support the allocation and it only working on directly mappable filesystems. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f6d4b0c21a6894dad7665d3dda4174c7c120784 tree 8eccfa4f32af9fafb2df6427a2bc03a69b223640 parent 683e2cc6dc5aa9bb4ba2f2e0662df9d7f0a1d6c2 author Ben Collins Fri, 06 Jan 2006 00:11:40 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:32 -0800 [PATCH] therm_adt746x: Quiet fan speed change messages Only output the messages about fan speed changes with a verbose=1 module param. Signed-off-by: Fabio M. Di Nitto Signed-off-by: Ben Collins Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 683e2cc6dc5aa9bb4ba2f2e0662df9d7f0a1d6c2 tree 3aa321a15772f55f23584fc73b6ba29be2dd481f parent f80257a25d9f73a0e6e377c7d6bf29b8938c042d author Peter Korsgaard Fri, 06 Jan 2006 00:11:39 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:31 -0800 [PATCH] ppc32: Re-add embed_config.c to ml300/ep405 Commit 3e9e7c1d0b7a36fb8affb973a054c5098e27baa8 (ppc32: cleanup AMCC PPC40x eval boards to support U-Boot) broke the kernel for ML300 / EP405. It still compiles as there's a weak definition of the function in misc-embedded.c, but the kernel crashes as the bd_t fixup isn't performed. Signed-off-by: Peter Korsgaard Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f80257a25d9f73a0e6e377c7d6bf29b8938c042d tree e44b01971bafb813785c8c55e75b2a29f31b804d parent 041cb6241fa97c4881dd19d79f783b2e077acd28 author Sylvain Munaut Fri, 06 Jan 2006 00:11:38 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:31 -0800 [PATCH] ppc32: Allows compilation of a MPC52xx kernel without PCI Some custom cards might not need PCI, without this patch, compilation fails. Signed-off-by: Roger Blofeld Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 041cb6241fa97c4881dd19d79f783b2e077acd28 tree a4574c4a059c05acc33db303dfb075a915abfb61 parent db674ed450f113518285f410c93abecd93e71a2f author Sylvain Munaut Fri, 06 Jan 2006 00:11:37 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:31 -0800 [PATCH] ppc32: Fix MPC52xx PCI init in cas the bootloader didn't do it We were counting on the bootloader to init some stuff, like get the bus out of reset and enable accesses. Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit db674ed450f113518285f410c93abecd93e71a2f tree a4262285a9cab5ff5da39ec3c9372d14ec7143e6 parent dbeb198d9366eb3d3ad64444ceecb5b1d5b5d7ef author Sylvain Munaut Fri, 06 Jan 2006 00:11:36 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:31 -0800 [PATCH] ppc32: Fix MPC52xx configuration space access This patch takes care of an errata of the MPC5200 by avoiding 32 bits access in type 1 configuration accesses. All others accesses are still 32 bits wide. It also adds some mb() since the simple out_be(...) are not sufficient in this case. Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dbeb198d9366eb3d3ad64444ceecb5b1d5b5d7ef tree 78380a8bb90dec84209a5edf268b2850cf743ed7 parent e21b9f2e9a580ce7375ec58953c1bb19aabe0db4 author Sylvain Munaut Fri, 06 Jan 2006 00:11:35 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:31 -0800 [PATCH] ppc32: Remove __init qualifier from mpc52xx pci resources fixups The mpc52xx_pci_fixup_resources is not only called at init but also when there is a pci hotplug like when a cardbus card is plugged in. So that function is needed after init too. Thanks to Asier Llano Palacios for reporting this. Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e21b9f2e9a580ce7375ec58953c1bb19aabe0db4 tree 15ef4b899536caffe9ca863b8257a9b9e0aa3473 parent 4aa7c80193c561e52c06351e0f521e697954a859 author Sylvain Munaut Fri, 06 Jan 2006 00:11:35 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:31 -0800 [PATCH] ppc32: Modify Freescale MPC52xx IRQ mapping to _not_ use irq 0 AFAIK IRQ number 0 is a perfectly valid IRQ number. But it seems there are numerous places where it's considered to be invalid or "no irq" value. Since that value is problematic, the IRQ mapping is changed to not use it. Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4aa7c80193c561e52c06351e0f521e697954a859 tree 97aeb99b3e58355601a2aefd508f9b6f4e991421 parent d62de3aa8ac762c09845aa38634a845da55f31dc author Sylvain Munaut Fri, 06 Jan 2006 00:11:34 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:31 -0800 [PATCH] ppc32: Fix static IO mapping for Freescale MPC52xx The current iomapping used MBAR_SIZE for the size argument of io_block_mapping, resulting in a call to setbat with a size argument of 64k which is invalid. This patch correct this and maps the whole 0xf0000000->0xffffffff range so that devices on the local bus are also included in the BAT mapping. Thanks to Bernhard Kuhn from Metrowerks for pointing this out. Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d62de3aa8ac762c09845aa38634a845da55f31dc tree 22cb364644ecdacb2fe678b93ae0f446932cc971 parent 2d8179c0b77b54e27321944e16f65defeda81e27 author Sylvain Munaut Fri, 06 Jan 2006 00:11:32 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:30 -0800 [PATCH] ppc32/serial: Change mpc52xx_uart.c to use the Low Density Serial port major Before this patch we were just using the "classic" /dev/ttySx devices. However when another on the system is loaded that uses those (like drivers for serial PCMCIA), that creates a conflict for the minors. Therefore, we now use /dev/ttyPSC[0:5] (note the 0-based numbering !) with some minors we've been assigned in the "Low Density Serial port major" Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d8179c0b77b54e27321944e16f65defeda81e27 tree 6edb5004ae7299cc436d888fbc2b36fb5093c6b5 parent 7558824a8d16e244072bfebc9e5e3e3b1b9af261 author Sylvain Munaut Fri, 06 Jan 2006 00:11:31 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:30 -0800 [PATCH] ppc32/serial: Fix compiler errors with GCC 4.x in mpc52xx_uart.c Signed-off-by: Wolfgang Denk Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7558824a8d16e244072bfebc9e5e3e3b1b9af261 tree 7bac709da38c22251d7aba873fc05c028161c91b parent c9662b4b37f8f00a212eb4131d1d177b6ed8ddbd author Sylvain Munaut Fri, 06 Jan 2006 00:11:30 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:30 -0800 [PATCH] ppc32: Remove useless file arch/ppc/platforms/mpc5200.c That file is a left-over of the 'old' OCP model that should have been erased during the change to platform model but I forgot it ... Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c9662b4b37f8f00a212eb4131d1d177b6ed8ddbd tree 3224e01f06a95b61dbcc9031596de7b42e1db641 parent e13ac219816c58579f40b48220b2fa5d94c30e84 author Arthur Othieno Fri, 06 Jan 2006 00:11:29 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:30 -0800 [PATCH] macintosh: don't store i2c_add_driver() return if no further processing done therm_pm72.c and windfarm_lm75_sensor.c both store the return from i2c_add_driver() but do no further processing on the result. Simply return what i2c_add_driver() did, instead. Signed-off-by: Arthur Othieno Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e13ac219816c58579f40b48220b2fa5d94c30e84 tree d4c2e5ff885a8e4268975974ceb7689690743e16 parent fa57f9c2b841872ffad9d8f7b3de23d6ba33c30d author Otavio Salvador Fri, 06 Jan 2006 00:11:26 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:30 -0800 [PATCH] arch/ppc/kernel/idle.c: don't declare cpu variable in non-SMP kernels Disable declaration of cpu variable in default_idle function when building non-SMP kernels. Signed-off-by: Otavio Salvador Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fa57f9c2b841872ffad9d8f7b3de23d6ba33c30d tree 72ac27ad1bfc1c376d4c3af4bea5210327312faf parent 1ae8f40767a3afc6244719a2c8fbcf546767d5b0 author Eugene Surovegin Fri, 06 Jan 2006 00:11:26 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:30 -0800 [PATCH] ppc32: remove "jumbo" member from ocp_func_emac_data Remove the not needed anymore "jumbo" member from ocp_func_emac_data. Jumbo frame support is handled by PPC4xx EMAC driver internally now. Signed-off-by: Eugene Surovegin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1ae8f40767a3afc6244719a2c8fbcf546767d5b0 tree f41d957bbc60ad940132fd28ea13a8fced63a398 parent 8d9067bda99c68e1a17d93e78cf3a5a3f67e0c35 author Adrian Bunk Fri, 06 Jan 2006 00:11:25 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:30 -0800 [PATCH] security/: possible cleanups make needlessly global code static Signed-off-by: Adrian Bunk Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d9067bda99c68e1a17d93e78cf3a5a3f67e0c35 tree 6f3c7fe665012c456b57840c290eafd4deabbeb2 parent 32725ad8430b58e42c5d54757ce7871e680d05cb author David Howells Fri, 06 Jan 2006 00:11:24 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:29 -0800 [PATCH] Keys: Remove key duplication Remove the key duplication stuff since there's nothing that uses it, no way to get at it and it's awkward to deal with for LSM purposes. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 32725ad8430b58e42c5d54757ce7871e680d05cb tree f1e08edf1e154ef3f64b9d1c6cb88e2c6b0b5d22 parent 6e20a64a3913819133fefeca466211c7eb8adda1 author Tobias Klauser Fri, 06 Jan 2006 00:11:23 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:29 -0800 [PATCH] selinux: more ARRAY_SIZE cleanups Further ARRAY_SIZE cleanups under security/selinux. Signed-off-by: Tobias Klauser Signed-off-by: Stephen Smalley Acked-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e20a64a3913819133fefeca466211c7eb8adda1 tree 65056023c41294514de2bbd032647942a2d188f9 parent b09eb1c06a14641209e6b86e9a5b28ea8287f193 author Nicolas Kaiser Fri, 06 Jan 2006 00:11:22 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:29 -0800 [PATCH] selinux: ARRAY_SIZE cleanups Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]). Signed-off-by: Nicolas Kaiser Signed-off-by: Stephen Smalley Acked-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b09eb1c06a14641209e6b86e9a5b28ea8287f193 tree 1a3adbf25c05d7f6a585331260c2cdd7287e8c36 parent a74609fafa2e5cc31d558012abaaa55ec9ad9da4 author Nick Piggin Fri, 06 Jan 2006 00:11:21 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:29 -0800 [PATCH] mm: page_state opt docs Comment the new locking rules for page_state statistics. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a74609fafa2e5cc31d558012abaaa55ec9ad9da4 tree 0be653692864d99da345b575dfe2083994ee1d21 parent d3cb487149bd706aa6aeb02042332a450978dc1c author Nick Piggin Fri, 06 Jan 2006 00:11:20 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:29 -0800 [PATCH] mm: page_state opt Optimise page_state manipulations by introducing interrupt unsafe accessors to page_state fields. Callers must provide their own locking (either disable interrupts or not update from interrupt context). Switch over the hot callsites that can easily be moved under interrupts off sections. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d3cb487149bd706aa6aeb02042332a450978dc1c tree 69051e0f9853314cf275e4e800faad950e3053c3 parent 070f80326a215d8e6c4fd6f175e28eb446c492bc author Christoph Lameter Fri, 06 Jan 2006 00:11:20 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:29 -0800 [PATCH] atomic_long_t & include/asm-generic/atomic.h V2 Several counters already have the need to use 64 atomic variables on 64 bit platforms (see mm_counter_t in sched.h). We have to do ugly ifdefs to fall back to 32 bit atomic on 32 bit platforms. The VM statistics patch that I am working on will also make more extensive use of atomic64. This patch introduces a new type atomic_long_t by providing definitions in asm-generic/atomic.h that works similar to the c "long" type. Its 32 bits on 32 bit platforms and 64 bits on 64 bit platforms. Also cleans up the determination of the mm_counter_t in sched.h. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 070f80326a215d8e6c4fd6f175e28eb446c492bc tree e759fa446e9ad101bc2c7f77979fc5a5514aff70 parent 02a68a5ebc7dd823da7496116f42290103e1e4a9 author Christoph Lameter Fri, 06 Jan 2006 00:11:19 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:28 -0800 [PATCH] build_zonelists_node(): rename args Give j and r meaningful names. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 02a68a5ebc7dd823da7496116f42290103e1e4a9 tree 7b79d20246b5c9b769e4f6172fe97e6f91fb921b parent 4be38e351c5f455f6f490f5aff29053e33ab4f99 author Christoph Lameter Fri, 06 Jan 2006 00:11:18 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:28 -0800 [PATCH] Fix zone policy determination The use k in the inner loop means that the highest zone nr is always used if any zone of a node is populated. This means that the policy zone is not correctly determined on arches that do no use HIGHMEM like ia64. Change the loop to decrement k which also simplifies the BUG_ON. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4be38e351c5f455f6f490f5aff29053e33ab4f99 tree fd7ba3678cdb5750894f58034f47076dd38c64ae parent 1a93205bdffd9d7278d4a66081cdb48452522a58 author Christoph Lameter Fri, 06 Jan 2006 00:11:17 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:28 -0800 [PATCH] mm: move determination of policy_zone into page allocator Currently the function to build a zonelist for a BIND policy has the side effect to set the policy_zone. This seems to be a bit strange. policy zone seems to not be initialized elsewhere and therefore 0. Do we police ZONE_DMA if no bind policy has been used yet? This patch moves the determination of the zone to apply policies to into the page allocator. We determine the zone while building the zonelist for nodes. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1a93205bdffd9d7278d4a66081cdb48452522a58 tree 7f8500fe725e5e8095a8fc77539d351a0e8a4643 parent f3fe65122da05e1cd4c9140340d96ea2f95d0c49 author Christoph Lameter Fri, 06 Jan 2006 00:11:16 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:28 -0800 [PATCH] mm: simplify build_zonelists_node by removing the case statement. Simplify build_zonelists_node by removing the case statement. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f3fe65122da05e1cd4c9140340d96ea2f95d0c49 tree 65f2bcdb0a9665123b5083d3aea7dae483593cbc parent 80bfed904c690642db9d4178950735299160950b author Con Kolivas Fri, 06 Jan 2006 00:11:15 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:28 -0800 [PATCH] mm: add populated_zone() helper There are numerous places we check whether a zone is populated or not. Provide a helper function to check for populated zones and convert all checks for zone->present_pages. Signed-off-by: Con Kolivas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80bfed904c690642db9d4178950735299160950b tree 5aca96e02dfebf4665a9f1c7e1d3fa58d8009c09 parent 210fe530305ee50cd889fe9250168228b2994f32 author Andrew Morton Fri, 06 Jan 2006 00:11:14 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:28 -0800 [PATCH] consolidate lru_add_drain() and lru_drain_cache() Cc: Christoph Lameter Cc: Rajesh Shah Cc: Li Shaohua Cc: Srivatsa Vaddagiri Cc: Ashok Raj Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 210fe530305ee50cd889fe9250168228b2994f32 tree 4d22a28cf28abded5f77daef5b025c04d1ffea56 parent 41e9b63b35b52cf918a4ffdb8d77862ab824aa8b author Andrew Morton Fri, 06 Jan 2006 00:11:14 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:27 -0800 [PATCH] vmscan: balancing fix Revert a patch which went into 2.6.8-rc1. The changelog for that patch was: The shrink_zone() logic can, under some circumstances, cause far too many pages to be reclaimed. Say, we're scanning at high priority and suddenly hit a large number of reclaimable pages on the LRU. Change things so we bale out when SWAP_CLUSTER_MAX pages have been reclaimed. Problem is, this change caused significant imbalance in inter-zone scan balancing by truncating scans of larger zones. Suppose, for example, ZONE_HIGHMEM is 10x the size of ZONE_NORMAL. The zone balancing algorithm would require that if we're scanning 100 pages of ZONE_HIGHMEM, we should scan 10 pages of ZONE_NORMAL. But this logic will cause the scanning of ZONE_HIGHMEM to bale out after only 32 pages are reclaimed. Thus effectively causing smaller zones to be scanned relatively harder than large ones. Now I need to remember what the workload was which caused me to write this patch originally, then fix it up in a different way... Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 41e9b63b35b52cf918a4ffdb8d77862ab824aa8b tree 472ef8bb097f4e090f5fc95100acdbc77f515087 parent 9617d95e6e9ffd883cf90a89724fe60d7ab22f9a author Nick Piggin Fri, 06 Jan 2006 00:11:13 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:27 -0800 [PATCH] mm: pfault optimisation This atomic operation is superfluous: the pte will be added with the referenced bit set, and the page will be referenced through this mapping after the page fault handler returns anyway. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9617d95e6e9ffd883cf90a89724fe60d7ab22f9a tree 67d555d34d931bd253fbc4959ffdb1e5b904f2b0 parent 224abf92b2f439a9030f21d2926ec8047d1ffcdb author Nick Piggin Fri, 06 Jan 2006 00:11:12 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:27 -0800 [PATCH] mm: rmap optimisation Optimise rmap functions by minimising atomic operations when we know there will be no concurrent modifications. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 224abf92b2f439a9030f21d2926ec8047d1ffcdb tree e45074383aea04ef8b3b8d2cc04a3b34959f9e65 parent 9328b8faae922e52073785ed6c1eaa8565648a0e author Nick Piggin Fri, 06 Jan 2006 00:11:11 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:26 -0800 [PATCH] mm: bad_page optimisation Cut down size slightly by not passing bad_page the function name (it should be able to be determined by dump_stack()). And cut down the number of printks in bad_page. Also, cut down some branching in the destroy_compound_page path. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9328b8faae922e52073785ed6c1eaa8565648a0e tree 065034bc534a4997197d26acf1774725159e4e65 parent 7756b9e4e321c3c83c7aa5b9532d3e7fd7ddeb4a author Nick Piggin Fri, 06 Jan 2006 00:11:10 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:26 -0800 [PATCH] mm: dma32 zone statistics Add dma32 to zone statistics. Also attempt to arrange struct page_state a bit better (visually). Signed-off-by: Nick Piggin Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7756b9e4e321c3c83c7aa5b9532d3e7fd7ddeb4a tree fe59fcd970e97e3878a743a5b476420501f99f00 parent bbfbb7cec9dd7266534b2b4b9c8be2fa425bbfc9 author Andrew Morton Fri, 06 Jan 2006 00:11:09 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:26 -0800 [PATCH] kill last zone_reclaim() bits Remove the last bits of Martin's ill-fated sys_set_zone_reclaim(). Cc: Martin Hicks Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bbfbb7cec9dd7266534b2b4b9c8be2fa425bbfc9 tree d1949123224d1674a7192743d188ff652c964663 parent a226f6c899799fe2c4919daa0767ac579c88f7bd author Nikita Danilov Fri, 06 Jan 2006 00:11:08 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:26 -0800 [PATCH] find_lock_page(): call __lock_page() directly. As find_lock_page() already checks with TestSetPageLocked() that page is locked, there is no need to call lock_page() that will try-lock page again (chances of page being unlocked in between are small). Call __lock_page() directly, this saves one atomic operation. Also, mark truncate-while-slept path as unlikely while we are here. (akpm: ug. But this is actually a common path for normal old read()s against a page which is under readahead I/O so ho-hum.) Signed-off-by: Nikita Danilov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a226f6c899799fe2c4919daa0767ac579c88f7bd tree 82863c401f344cae8ab518b174085a7071a0a325 parent 008857c1a49ccffc31a54c3ea7e182833bd61304 author David Howells Fri, 06 Jan 2006 00:11:08 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:26 -0800 [PATCH] FRV: Clean up bootmem allocator's page freeing algorithm The attached patch cleans up the way the bootmem allocator frees pages. A new function, __free_pages_bootmem(), is provided in mm/page_alloc.c that is called from mm/bootmem.c to turn pages over to the main allocator. All the bits of code to initialise pages (clearing PG_reserved and setting the page count) are moved to here. The checks on page validity are removed, on the assumption that the struct page arrays will have been prepared correctly. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 008857c1a49ccffc31a54c3ea7e182833bd61304 tree ba65452db097f57e05d2e3df550d55d45feabc94 parent 085cc7d5de3cc662da7ea78296464a0d52f3f01f author Ravikiran G Thirumalai Fri, 06 Jan 2006 00:11:01 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:26 -0800 [PATCH] Cleanup bootmem allocator and fix alloc_bootmem_low Patch cleans up the alloc_bootmem fix for swiotlb. Patch removes alloc_bootmem_*_limit api and fixes alloc_boot_*low api to do the right thing -- allocate from low32 memory. Signed-off-by: Ravikiran Thirumalai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 085cc7d5de3cc662da7ea78296464a0d52f3f01f tree 0fc8bc9ef25929b1bfc2bfb444eb62e6bc5468ff parent a86b1f53166a260ced8f3c8c526945bf496f2e78 author Nick Piggin Fri, 06 Jan 2006 00:11:01 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:25 -0800 [PATCH] mm: page_alloc cleanups Small cleanups that does not change generated code with the gcc's I've tested with. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a86b1f53166a260ced8f3c8c526945bf496f2e78 tree 5513bccce91fed08d4769fd18e0f527a84aea508 parent 2d92c5c9150a2a9ca3dc25da58d5042e17a96b6a author Nick Piggin Fri, 06 Jan 2006 00:11:00 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:25 -0800 [PATCH] mm: page_state fixes read_page_state and __get_page_state only traverse online CPUs, which will cause results to fluctuate when CPUs are plugged in or out. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d92c5c9150a2a9ca3dc25da58d5042e17a96b6a tree 7a559b29019f2391095f958d9546a4453839ec43 parent 13e7444b0ec59f96d81a4e8c379d5f38fc5f2cc1 author Nick Piggin Fri, 06 Jan 2006 00:10:59 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:25 -0800 [PATCH] mm: remove pcp low struct per_cpu_pages.low is useless. Remove it. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 13e7444b0ec59f96d81a4e8c379d5f38fc5f2cc1 tree 95420c03993981fd778047563c5af3f7dbdba74f parent 92be2e33b155ee76399f51f41fb061f850d02f08 author Nick Piggin Fri, 06 Jan 2006 00:10:58 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:25 -0800 [PATCH] mm: remove bad_range bad_range is supposed to be a temporary check. It would be a pity to throw it out. Make it depend on CONFIG_DEBUG_VM instead. CONFIG_HOLES_IN_ZONE systems were relying on this to check pfn_valid in the page allocator. Add that to page_is_buddy instead. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 92be2e33b155ee76399f51f41fb061f850d02f08 tree 13397157257259eff83729e0286c9a94cfb5a966 parent 77a8a78834561398fb4cb1480afa7b0e80b1dd53 author Nick Piggin Fri, 06 Jan 2006 00:10:57 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:25 -0800 [PATCH] mm: microopt conditions Micro optimise some conditionals where we don't need lazy evaluation. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 77a8a78834561398fb4cb1480afa7b0e80b1dd53 tree c58179bfb6c68fb6cad547852345150be039591f parent c54ad30c784b84d0275152d0ca80985b21471811 author Nick Piggin Fri, 06 Jan 2006 00:10:57 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:25 -0800 [PATCH] mm: set_page_refs opt Inline set_page_refs. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c54ad30c784b84d0275152d0ca80985b21471811 tree 7a40d6ddbe67360a1d9c577e3a2987d140056303 parent c484d41042e6ccb88089ca41e3b3eed1bafdae21 author Nick Piggin Fri, 06 Jan 2006 00:10:56 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:25 -0800 [PATCH] mm: pagealloc opt Slightly optimise some page allocation and freeing functions by taking advantage of knowing whether or not interrupts are disabled. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c484d41042e6ccb88089ca41e3b3eed1bafdae21 tree c65e522698456899ed5ab058373d3ca2aad1650b parent 161599ff39a3c3cdea0a1be05ac53accd2c45cdd author Hugh Dickins Fri, 06 Jan 2006 00:10:55 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:24 -0800 [PATCH] mm: free_pages_and_swap_cache opt Minor optimization (though it doesn't help in the PREEMPT case, severely constrained by small ZAP_BLOCK_SIZE). free_pages_and_swap_cache works in chunks of 16, calling release_pages which works in chunks of PAGEVEC_SIZE. But PAGEVEC_SIZE was dropped from 16 to 14 in 2.6.10, so we're now doing more spin_lock_irq'ing than necessary: use PAGEVEC_SIZE throughout. Signed-off-by: Hugh Dickins Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 161599ff39a3c3cdea0a1be05ac53accd2c45cdd tree 9943c93c97dcf042f5ec7c5fab011be655d8212a parent 2bdaf115b1c364d89484b59d5b937973f1c5a5c3 author Andy Whitcroft Fri, 06 Jan 2006 00:10:54 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:24 -0800 [PATCH] sparsemem: provide pfn_to_nid Before SPARSEMEM is initialised we cannot provide an efficient pfn_to_nid() implmentation; before initialisation is complete we use early_pfn_to_nid() to provide location information. Until recently there was no non-init user of this functionality. Provide a post init pfn_to_nid() implementation. Note that this implmentation assumes that the pfn passed has been validated with pfn_valid(). The current single user of this function already has this check. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2bdaf115b1c364d89484b59d5b937973f1c5a5c3 tree 184d595f1969e5488da6c78f8387f239e8d49cac parent 03b00ebcc804180829d513df9e92e5fe8f72aacf author Andy Whitcroft Fri, 06 Jan 2006 00:10:53 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:24 -0800 [PATCH] flatmem split out memory model There are three places we define pfn_to_nid(). Two in linux/mmzone.h and one in asm/mmzone.h. These in essence represent the three memory models. The definition in linux/mmzone.h under !NEED_MULTIPLE_NODES is both the FLATMEM definition and the optimisation for single NUMA nodes; the one under SPARSEMEM is the NUMA sparsemem one; the one in asm/mmzone.h under DISCONTIGMEM is the discontigmem one. This is not in the least bit obvious, particularly the connection between the non-NUMA optimisations and the memory models. Two patches: flatmem-split-out-memory-model: simplifies the selection of pfn_to_nid() implementations. The selection is based primarily off the memory model selected. Optimisations for non-NUMA are applied where needed. sparse-provide-pfn_to_nid: implement pfn_to_nid() for SPARSEMEM This patch: pfn_to_nid is memory model specific The pfn_to_nid() call is memory model specific. It represents the locality identifier for the memory passed. Classically this would be a NUMA node, but not a chunk of memory under DISCONTIGMEM. The SPARSEMEM and FLATMEM memory model non-NUMA versions of pfn_to_nid() are folded together under NEED_MULTIPLE_NODES, while DISCONTIGMEM has its own optimisation. This is all very confusing. This patch splits out each implementation of pfn_to_nid() so that we can see them and the optimisations to each. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 03b00ebcc804180829d513df9e92e5fe8f72aacf tree 6ffa5de42322cca4b1823f7257647e70a4a166bb parent a94b3ab7eab4edcc9b2cb474b188f774c331adf7 author Russell King Fri, 06 Jan 2006 00:10:52 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:24 -0800 [PATCH] Shut up warnings in ipc/shm.c Fix two warnings in ipc/shm.c ipc/shm.c:122: warning: statement with no effect ipc/shm.c:560: warning: statement with no effect by converting the macros to empty inline functions. For safety, let's do all three. This also has the advantage that typechecking gets performed even without CONFIG_SHMEM enabled. Signed-off-by: Russell King Cc: Manfred Spraul Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a94b3ab7eab4edcc9b2cb474b188f774c331adf7 tree 96636969fa4a9e0b79c98f81cbcd726c5d3834a5 parent d5afa6dcf74c0efb60ce07c63d0a727be93c67c5 author Mike Kravetz Fri, 06 Jan 2006 00:10:51 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:24 -0800 [PATCH] mm: remove arch independent NODES_SPAN_OTHER_NODES The NODES_SPAN_OTHER_NODES config option was created so that DISCONTIGMEM could handle pSeries numa layouts. However, support for DISCONTIGMEM has been replaced by SPARSEMEM on powerpc. As a result, this config option and supporting code is no longer needed. I have already sent a patch to Paul that removes the option from powerpc specific code. This removes the arch independent piece. Doesn't really matter which is applied first. Signed-off-by: Mike Kravetz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5afa6dcf74c0efb60ce07c63d0a727be93c67c5 tree 5cc602e4c3c6ebbf0d8879676b67c237f3abb026 parent 9f3fd602aef96c2a490e3bfd669d06475aeba8d8 author Andy Whitcroft Fri, 06 Jan 2006 00:10:50 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:24 -0800 [PATCH] mm: pfn_to_pgdat not used in common code pfn_to_pgdat() isn't used in common code. Remove definition. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f3fd602aef96c2a490e3bfd669d06475aeba8d8 tree 3f16d0d4ff7cbb8943c37391a0ea5fa9e3424dbb parent 6bda666a03f063968833760c5bb5c13062ab9291 author Andy Whitcroft Fri, 06 Jan 2006 00:10:50 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:23 -0800 [PATCH] mm: kvaddr_to_nid not used in common code kvaddr_to_nid() isn't used in common code nor in i386 code. Remove these definitions. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6bda666a03f063968833760c5bb5c13062ab9291 tree 8ecc0b672c059aa296f80935cda33f3e59970832 parent 21abb1478a87e26f5fa71dbcb7cf4264272c2248 author Christoph Lameter Fri, 06 Jan 2006 00:10:49 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:23 -0800 [PATCH] hugepages: fold find_or_alloc_pages into huge_no_page() The number of parameters for find_or_alloc_page increases significantly after policy support is added to huge pages. Simplify the code by folding find_or_alloc_huge_page() into hugetlb_no_page(). Adam Litke objected to this piece in an earlier patch but I think this is a good simplification. Diffstat shows that we can get rid of almost half of the lines of find_or_alloc_page(). If we can find no consensus then lets simply drop this patch. Signed-off-by: Christoph Lameter Cc: Andi Kleen Acked-by: William Lee Irwin III Cc: Adam Litke Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 21abb1478a87e26f5fa71dbcb7cf4264272c2248 tree 01e9a76ec55975b509aa721ad7d9e9cce89d9c82 parent 5da7ca86078964cbfe6c83efc1205904587706fe author Christoph Lameter Fri, 06 Jan 2006 00:10:47 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:23 -0800 [PATCH] Remove old node based policy interface from mempolicy.c mempolicy.c contains provisional interface for huge page allocation based on node numbers. This is in use in SLES9 but was never used (AFAIK) in upstream versions of Linux. Huge page allocations now use zonelists to figure out where to allocate pages. The use of zonelists allows us to find the closest hugepage which was the consideration of the NUMA distance for huge page allocations. Remove the obsolete functions. Signed-off-by: Christoph Lameter Cc: Andi Kleen Acked-by: William Lee Irwin III Cc: Adam Litke Acked-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5da7ca86078964cbfe6c83efc1205904587706fe tree a64a7824e90b42d6fdd71e6cb652362beb8983a1 parent 96df9333c94d7d5aeceb21f6c5e7ae8ff34753cf author Christoph Lameter Fri, 06 Jan 2006 00:10:46 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:23 -0800 [PATCH] Add NUMA policy support for huge pages. The huge_zonelist() function in the memory policy layer provides an list of zones ordered by NUMA distance. The hugetlb layer will walk that list looking for a zone that has available huge pages but is also in the nodeset of the current cpuset. This patch does not contain the folding of find_or_alloc_huge_page() that was controversial in the earlier discussion. Signed-off-by: Christoph Lameter Cc: Andi Kleen Acked-by: William Lee Irwin III Cc: Adam Litke Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96df9333c94d7d5aeceb21f6c5e7ae8ff34753cf tree a4ac0486af418df0194ed0038b87459652d61945 parent 1e8f889b10d8d2223105719e36ce45688fedbd59 author Christoph Lameter Fri, 06 Jan 2006 00:10:45 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:23 -0800 [PATCH] mm: dequeue a huge page near to this node This was discussed at http://marc.theaimsgroup.com/?l=linux-kernel&m=113166526217117&w=2 This patch changes the dequeueing to select a huge page near the node executing instead of always beginning to check for free nodes from node 0. This will result in a placement of the huge pages near the executing processor improving performance. The existing implementation can place the huge pages far away from the executing processor causing significant degradation of performance. The search starting from zero also means that the lower zones quickly run out of memory. Selecting a huge page near the process distributed the huge pages better. Signed-off-by: Christoph Lameter Cc: William Lee Irwin III Cc: Adam Litke Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1e8f889b10d8d2223105719e36ce45688fedbd59 tree 86dee89e4363aaf6c7ec7c9751ea37f725c95bb9 parent 86e5216f8d8aa258ba836caffe2613d79cc9aead author David Gibson Fri, 06 Jan 2006 00:10:44 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:23 -0800 [PATCH] Hugetlb: Copy on Write support Implement copy-on-write support for hugetlb mappings so MAP_PRIVATE can be supported. This helps us to safely use hugetlb pages in many more applications. The patch makes the following changes. If needed, I also have it broken out according to the following paragraphs. 1. Add a pair of functions to set/clear write access on huge ptes. The writable check in make_huge_pte is moved out to the caller for use by COW later. 2. Hugetlb copy-on-write requires special case handling in the following situations: - copy_hugetlb_page_range() - Copied pages must be write protected so a COW fault will be triggered (if necessary) if those pages are written to. - find_or_alloc_huge_page() - Only MAP_SHARED pages are added to the page cache. MAP_PRIVATE pages still need to be locked however. 3. Provide hugetlb_cow() and calls from hugetlb_fault() and hugetlb_no_page() which handles the COW fault by making the actual copy. 4. Remove the check in hugetlbfs_file_map() so that MAP_PRIVATE mmaps will be allowed. Make MAP_HUGETLB exempt from the depricated VM_RESERVED mapping check. Signed-off-by: David Gibson Signed-off-by: Adam Litke Cc: William Lee Irwin III Cc: "Seth, Rohit" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 86e5216f8d8aa258ba836caffe2613d79cc9aead tree 33669c0194490700b575fceb0e5e010a4468a5fe parent 85ef47f74afe96c8c23eaa605f28cc01443c905f author Adam Litke Fri, 06 Jan 2006 00:10:43 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:22 -0800 [PATCH] Hugetlb: Reorganize hugetlb_fault to prepare for COW This patch splits the "no_page()" type activity into its own function, hugetlb_no_page(). hugetlb_fault() becomes the entry point for hugetlb faults and delegates to the appropriate handler depending on the type of fault. Right now we still have only hugetlb_no_page() but a later patch introduces a COW fault. Signed-off-by: David Gibson Signed-off-by: Adam Litke Cc: William Lee Irwin III Cc: "Seth, Rohit" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 85ef47f74afe96c8c23eaa605f28cc01443c905f tree afe3a52f3e00cbab3f30f756fb60b250fe8de2c6 parent f0916794f00be44154102dedaeafe68b743078a2 author Adam Litke Fri, 06 Jan 2006 00:10:42 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:22 -0800 [PATCH] Hugetlb: Rename find_lock_page to find_or_alloc_huge_page find_lock_huge_page() isn't a great name, since it does extra things not analagous to find_lock_page(). Rename it find_or_alloc_huge_page() which is closer to the mark. Signed-off-by: David Gibson Signed-off-by: Adam Litke Cc: William Lee Irwin III Cc: "Seth, Rohit" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f0916794f00be44154102dedaeafe68b743078a2 tree 0faa7e86d938c184f5ccead70410b4d014c2bdf2 parent f6b3ec238d12c8cc6cc71490c6e3127988460349 author Adam Litke Fri, 06 Jan 2006 00:10:40 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:22 -0800 [PATCH] Hugetlb: Remove duplicate i_size check cleanup Signed-off-by: David Gibson Signed-off-by: Adam Litke Cc: William Lee Irwin III Cc: "Seth, Rohit" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f6b3ec238d12c8cc6cc71490c6e3127988460349 tree b395c1054802760b0e938199231a9de9ac2f358a parent d7339071f6a8b50101d7ba327926b770f22d5d8b author Badari Pulavarty Fri, 06 Jan 2006 00:10:38 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:22 -0800 [PATCH] madvise(MADV_REMOVE): remove pages from tmpfs shm backing store Here is the patch to implement madvise(MADV_REMOVE) - which frees up a given range of pages & its associated backing store. Current implementation supports only shmfs/tmpfs and other filesystems return -ENOSYS. "Some app allocates large tmpfs files, then when some task quits and some client disconnect, some memory can be released. However the only way to release tmpfs-swap is to MADV_REMOVE". - Andrea Arcangeli Databases want to use this feature to drop a section of their bufferpool (shared memory segments) - without writing back to disk/swap space. This feature is also useful for supporting hot-plug memory on UML. Concerns raised by Andrew Morton: - "We have no plan for holepunching! If we _do_ have such a plan (or might in the future) then what would the API look like? I think sys_holepunch(fd, start, len), so we should start out with that." - Using madvise is very weird, because people will ask "why do I need to mmap my file before I can stick a hole in it?" - None of the other madvise operations call into the filesystem in this manner. A broad question is: is this capability an MM operation or a filesytem operation? truncate, for example, is a filesystem operation which sometimes has MM side-effects. madvise is an mm operation and with this patch, it gains FS side-effects, only they're really, really significant ones." Comments: - Andrea suggested the fs operation too but then it's more efficient to have it as a mm operation with fs side effects, because they don't immediatly know fd and physical offset of the range. It's possible to fixup in userland and to use the fs operation but it's more expensive, the vmas are already in the kernel and we can use them. Short term plan & Future Direction: - We seem to need this interface only for shmfs/tmpfs files in the short term. We have to add hooks into the filesystem for correctness and completeness. This is what this patch does. - In the future, plan is to support both fs and mmap apis also. This also involves (other) filesystem specific functions to be implemented. - Current patch doesn't support VM_NONLINEAR - which can be addressed in the future. Signed-off-by: Badari Pulavarty Cc: Hugh Dickins Cc: Andrea Arcangeli Cc: Michael Kerrisk Cc: Ulrich Drepper Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d7339071f6a8b50101d7ba327926b770f22d5d8b tree 051234ada89be22abb9ebbe4a541b16ade3bc2ff parent 900b2b463dc6e65ec474d6880412c63c25b3aea9 author Hans Reiser Fri, 06 Jan 2006 00:10:36 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:22 -0800 [PATCH] reiser4: vfs: add truncate_inode_pages_range() This patch makes truncate_inode_pages_range from truncate_inode_pages. truncate_inode_pages became a one-liner call to truncate_inode_pages_range. Reiser4 needs truncate_inode_pages_ranges because it tries to keep correspondence between existences of metadata pointing to data pages and pages to which those metadata point to. So, when metadata of certain part of file is removed from filesystem tree, only pages of corresponding range are to be truncated. (Needed by the madvise(MADV_REMOVE) patch) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 900b2b463dc6e65ec474d6880412c63c25b3aea9 tree 2de7c1df9decff48d97e4070350dd2288c65d818 parent 98a38ebdda69f1498be4f618d8d919695c8d6352 author Andy Whitcroft Fri, 06 Jan 2006 00:10:35 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:22 -0800 [PATCH] memhotplug: register_memory should be global register_memory is global and declared so in linux/memory.h. Update the HOTPLUG specific definition to match. This fixes a compile warning when HOTPLUG is enabled. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 98a38ebdda69f1498be4f618d8d919695c8d6352 tree b3d9ff9de113375eaa34b396de7f962284145028 parent 5ac24eefd1d89bc6aa2817741c3bd5d4205b2efd author Andy Whitcroft Fri, 06 Jan 2006 00:10:35 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:21 -0800 [PATCH] memhotplug: register_ and unregister_memory_notifier should be global Both register_memory_notifer and unregister_memory_notifier are global and declared so in linux/memory.h. Update the HOTPLUG specific definitions to match. This fixes a compile warning when HOTPLUG is enabled. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5ac24eefd1d89bc6aa2817741c3bd5d4205b2efd tree 3112180da39a0fa9967c55022118a6f8dfa10d8f parent 47f3a867f6310d6abfa185ab12baaba7ed1d69af author Andy Whitcroft Fri, 06 Jan 2006 00:10:33 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:21 -0800 [PATCH] memhotplug: __add_section remove unused pgdat definition __add_section defines an unused pointer to the zones pgdat. Remove this definition. This fixes a compile warning. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 47f3a867f6310d6abfa185ab12baaba7ed1d69af tree 59e218a6d18c683bc3f3d86055d3df553a5acaed parent a576219aca70e6700705a9836e098dbecd25fb56 author Paul Jackson Fri, 06 Jan 2006 00:10:32 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:21 -0800 [PATCH] mm: fix __alloc_pages cpuset ALLOC_* flags Two changes to the setting of the ALLOC_CPUSET flag in mm/page_alloc.c:__alloc_pages() - A bug fix - the "ignoring mins" case should not be honoring ALLOC_CPUSET. This case of all cases, since it is handling a request that will free up more memory than is asked for (exiting tasks, e.g.) should be allowed to escape cpuset constraints when memory is tight. - A logic change to make it simpler. Honor cpusets even on GFP_ATOMIC (!wait) requests. With this, cpuset confinement applies to all requests except ALLOC_NO_WATERMARKS, so that in a subsequent cleanup patch, I can remove the ALLOC_CPUSET flag entirely. Since I don't know any real reason this logic has to be either way, I am choosing the path of the simplest code. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a576219aca70e6700705a9836e098dbecd25fb56 tree 1388f5fceb79d42c019443a527b311cf6497e3bd parent 817c41d76e9eaf72044268b0e545a547abadc0bb author Andrew Morton Fri, 06 Jan 2006 00:09:50 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:21 -0800 [PATCH] swsusp: resume_store() retval fix - This function returns -EINVAL all the time. Fix. - Decruftify it a bit too. - Writing to it doesn't seem to do what it's suppoed to do. Cc: Pavel Machek Cc: "Rafael J. Wysocki" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 817c41d76e9eaf72044268b0e545a547abadc0bb tree 5e6b8189f4a08c914aaea2949d0a9fff6f2660dc parent 1f1e030bf75774b6a283518e1534d598e14147d4 author Andrew Morton Fri, 06 Jan 2006 00:09:50 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:21 -0800 [PATCH] alpha: dma_map_page() fix Cc: Ivan Kokshaysky Cc: Richard Henderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1f1e030bf75774b6a283518e1534d598e14147d4 tree 8b59e6ed6db756066d2cc18b35d00a753f13e237 parent 4b2f0260c74324abca76ccaa42d426af163125e7 author NeilBrown Fri, 06 Jan 2006 00:09:49 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:21 -0800 [PATCH] knfsd: fix hash function for IP addresses on 64bit little-endian machines. The hash.h hash_long function, when used on a 64 bit machine, ignores many of the middle-order bits. (The prime chosen it too bit-sparse). IP addresses for clients of an NFS server are very likely to differ only in the low-order bits. As addresses are stored in network-byte-order, these bits become middle-order bits in a little-endian 64bit 'long', and so do not contribute to the hash. Thus you can have the situation where all clients appear on one hash chain. So, until hash_long is fixed (or maybe forever), us a hash function that works well on IP addresses - xor the bytes together. Thanks to "Iozone" for identifying this problem. Cc: "Iozone" Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b2f0260c74324abca76ccaa42d426af163125e7 tree 881f76200dc3489b11497528feb72d6eae93bddb parent bd6a59b22fd3bd044bb14978b885bcd042a10e8e author Herbert Xu Fri, 06 Jan 2006 00:09:47 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:20 -0800 [PATCH] nbd: fix TX/RX race condition Janos Haar of First NetCenter Bt. reported numerous crashes involving the NBD driver. With his help, this was tracked down to bogus bio vectors which in turn was the result of a race condition between the receive/transmit routines in the NBD driver. The bug manifests itself like this: CPU0 CPU1 do_nbd_request add req to queuelist nbd_send_request send req head for each bio kmap send nbd_read_stat nbd_find_request nbd_end_request kunmap When CPU1 finishes nbd_end_request, the request and all its associated bio's are freed. So when CPU0 calls kunmap whose argument is derived from the last bio, it may crash. Under normal circumstances, the race occurs only on the last bio. However, if an error is encountered on the remote NBD server (such as an incorrect magic number in the request), or if there were a bug in the server, it is possible for the nbd_end_request to occur any time after the request's addition to the queuelist. The following patch fixes this problem by making sure that requests are not added to the queuelist until after they have been completed transmission. In order for the receiving side to be ready for responses involving requests still being transmitted, the patch introduces the concept of the active request. When a response matches the current active request, its processing is delayed until after the tranmission has come to a stop. This has been tested by Janos and it has been successful in curing this race condition. From: Herbert Xu Here is an updated patch which removes the active_req wait in nbd_clear_queue and the associated memory barrier. I've also clarified this in the comment. Signed-off-by: Herbert Xu Cc: Cc: Paul Clements Signed-off-by: Herbert Xu Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bd6a59b22fd3bd044bb14978b885bcd042a10e8e tree 5cfad676f7985f657b831f4fc6ad7a9367ec6c4d parent 9f155b9802bb7049cd0f216c3fe903b58620df11 author Joshua Kwan Fri, 06 Jan 2006 00:09:45 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:20 -0800 [PATCH] hfsplus oops fix nls_utf8 is available, and the check in hfsplus_fill_super checks the wrong pointer for NULLness (it checks the saved nls, not the new one that it needs to use.) Signed-off-by: Joshua Kwan Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e650c305ec3178818b317dad37a6d9c7fa8ba28d tree b6fab22f84f0974db317c1511c31acd54d55f4cb parent 15fc858a0067c800f410a24551a7b461978abf0b author Jens Axboe Fri, 06 Jan 2006 12:38:30 +0100 committer Jens Axboe Fri, 06 Jan 2006 12:38:30 +0100 [SCSI] scsi_end_async() needs to take an uptodate parameter Signed-off-by: Jens Axboe commit 15fc858a0067c800f410a24551a7b461978abf0b tree e6324460a829926fa891f9204b72434f144fcb5e parent ff5b8cf1491330836d75eede4e5632caa32b776a author Jens Axboe Fri, 06 Jan 2006 10:00:50 +0100 committer Jens Axboe Fri, 06 Jan 2006 10:00:50 +0100 [BLOCK] Correct blk_execute_rq_nowait() prototype commit ff5b8cf1491330836d75eede4e5632caa32b776a tree 4bb6d0fea6922d139f989da12231661149082b22 parent 3e087b575496b8aa445192f58e7d996b1cdfa121 author Tejun Heo Fri, 06 Jan 2006 09:58:37 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:58:37 +0100 [BLOCK] I/O barrier documentation update Update documentation to match new barrier implementation. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 3e087b575496b8aa445192f58e7d996b1cdfa121 tree 6ee355645e199a7e5c9aeae11c3143a8235d2a81 parent 9a3dccc42556537a48f39ee9a9e7ab90a933f766 author Tejun Heo Fri, 06 Jan 2006 09:57:31 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:57:31 +0100 [BLOCK] update IDE to use new blk_ordered for barriers Update IDE to use new blk_ordered. This change makes the following behavior changes. * Partial completion of the barrier request is handled as failure of the whole ordered sequence. No more partial completion for barrier requests. * Any failure of pre or post flush request results in failure of the whole ordered sequence. So, successfully completed ordered sequence guarantees that all requests prior to the barrier made to physical medium and, then, the while barrier request made to the physical medium. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 9a3dccc42556537a48f39ee9a9e7ab90a933f766 tree e67d7b314d4e0732bfa5558bef4f1941ea80cb58 parent 93c9338713d4e11102cd09b4670ad42a336b06a3 author Tejun Heo Fri, 06 Jan 2006 09:56:18 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:56:18 +0100 [BLOCK] add FUA support to libata Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 93c9338713d4e11102cd09b4670ad42a336b06a3 tree 88de622c74859a499570bb9c529915f12240bdcb parent 007365ad60387df30f02f01fdc2b6e6432f6c265 author Tejun Heo Fri, 06 Jan 2006 09:55:00 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:55:00 +0100 [BLOCK] update libata to use new blk_ordered for barriers Reflect changes in SCSI midlayer and updated to use new ordered request implementation Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 007365ad60387df30f02f01fdc2b6e6432f6c265 tree 5fa1f755011cc026d2096b6bc5aa83712ab9a32a parent 461d4e90c8cd049718884cd17c955e231140d3be author Tejun Heo Fri, 06 Jan 2006 09:53:52 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:53:52 +0100 [BLOCK] scsi: add FUA support to sd Add FUA support for barriers to SCSI disk. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 461d4e90c8cd049718884cd17c955e231140d3be tree 990836cdff2f1dc952026f24b2d7b5e606d6e8be parent 797e7dbbee0a91fa1349192f18ad5c454997d876 author Tejun Heo Fri, 06 Jan 2006 09:52:55 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:52:55 +0100 [BLOCK] update SCSI to use new blk_ordered for barriers All ordered request related stuff delegated to HLD. Midlayer now doens't deal with ordered setting or prepare_flush callback. sd.c updated to deal with blk_queue_ordered setting. Currently, ordered tag isn't used as SCSI midlayer cannot guarantee request ordering. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 797e7dbbee0a91fa1349192f18ad5c454997d876 tree c0d5974f469dd2d3d4f9b15d87d201b61e248f54 parent 52d9e675361261a1eb1716b02222ec6177ec342b author Tejun Heo Fri, 06 Jan 2006 09:51:03 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:51:03 +0100 [BLOCK] reimplement handling of barrier request Reimplement handling of barrier requests. * Flexible handling to deal with various capabilities of target devices. * Retry support for falling back. * Tagged queues which don't support ordered tag can do ordered. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 52d9e675361261a1eb1716b02222ec6177ec342b tree a9ed62b6fe9b6622b7c42249e983136f38f75255 parent 8ffdc6550c47f75ca4e6c9f30a2a89063e035cf2 author Tejun Heo Fri, 06 Jan 2006 09:49:58 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:49:58 +0100 [BLOCK] ll_rw_blk: separate out bio init part from __make_request Separate out bio initialization part from __make_request. It will be used by the following blk_ordered_reimpl. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 8ffdc6550c47f75ca4e6c9f30a2a89063e035cf2 tree a478b9acef5c66242a964154f7ad3a0ea750ef0f parent 64100099ed22f71cce656c5c2caecf5c9cf255dc author Tejun Heo Fri, 06 Jan 2006 09:49:03 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:49:03 +0100 [BLOCK] add @uptodate to end_that_request_last() and @error to rq_end_io_fn() add @uptodate argument to end_that_request_last() and @error to rq_end_io_fn(). there's no generic way to pass error code to request completion function, making generic error handling of non-fs request difficult (rq->errors is driver-specific and each driver uses it differently). this patch adds @uptodate to end_that_request_last() and @error to rq_end_io_fn(). for fs requests, this doesn't really matter, so just using the same uptodate argument used in the last call to end_that_request_first() should suffice. imho, this can also help the generic command-carrying request jens is working on. Signed-off-by: tejun heo Signed-Off-By: Jens Axboe commit 64100099ed22f71cce656c5c2caecf5c9cf255dc tree f6ebf7c94ee2eeb080d25880ffca839ec39ec47e parent 80cfd548eed68cf90c5ae9cfcd6b02230cece756 author Arjan van de Ven Fri, 06 Jan 2006 09:46:02 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:46:02 +0100 [BLOCK] mark some block/ variables cons the patch below marks various read-only variables in block/* as const, so that gcc can optimize the use of them; eg gcc will replace the use by the value directly now and will even remove the memory usage of these. Signed-off-by: Arjan van de Ven Signed-off-by: Jens Axboe commit 80cfd548eed68cf90c5ae9cfcd6b02230cece756 tree a178608e394b5ee079838353004eb318ff22c513 parent 88ee5ef157202624de2b43b3512fdcb54fda1ab5 author Jens Axboe Fri, 06 Jan 2006 09:43:28 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:43:28 +0100 [BLOCK] bio: check for same page merge possibilities in __bio_add_page() For filesystems with a blocksize < page size, we can merge same page calls into the bio_vec at the end of the bio. This saves segments on systems with a page size > the "normal" 4kb fs block size. Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe commit 88ee5ef157202624de2b43b3512fdcb54fda1ab5 tree a95cd472fb62eab2a6bd1c651ddf44c3f248868d parent ef9be1d336378de279d4e37779f1b83cebadbcc0 author Jens Axboe Sat, 12 Nov 2005 11:09:12 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:39:04 +0100 [BLOCK] ll_rw_blk: fastpath get_request() Originally from: Nick Piggin Move current_io_context out of the get_request fastpth. Also try to streamline a few other things in this area. Signed-off-by: Jens Axboe commit ef9be1d336378de279d4e37779f1b83cebadbcc0 tree decd8ee4c74ea8c30de9eca3a591bb0962ccd15f parent 9f155b9802bb7049cd0f216c3fe903b58620df11 author Tejun Heo Fri, 11 Nov 2005 14:27:09 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:39:03 +0100 [BLOCK] as-iosched: update alias handling Unlike other ioscheds, as-iosched handles alias by chaing them using rq->queuelist. As aliased requests are very rare in the first place, this complicates merge/dispatch handling without meaningful performance improvement. This patch updates as-iosched to dump aliased requests into dispatch queue as other ioscheds do. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit e91c021c487110386a07facd0396e6c3b7cf9c1f tree 50cd2a5ab8bba9711dd0185e3d232e323e8d6c39 parent 7c72ccf09b6debe55b8e049377ad3183ed4f4cb3 author Mark A. Greer Sun, 18 Dec 2005 17:22:01 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:27 -0800 [PATCH] i2c: i2c-mv64xxx fix transaction abortion When the i2c-mv64xxx i2c driver is signalled to abort a transaction, it aborts it immediately by issuing a stop condition on the bus. This violates the i2c protocol and can cause what appears to be an i2c bus hang. This patch delays issuing the stop condition until the i2c device can reasonably expect a stop condition. Also includes a minor fixup. Signed-off-by: Mark A. Greer Signed-off-by: Jean Delvare commit 7c72ccf09b6debe55b8e049377ad3183ed4f4cb3 tree d9a4cfd4074c90a7ea1565449c304dcde8693c32 parent a4787c0d232e16e727b37205dc647337b8974f35 author Jean Delvare Sun, 18 Dec 2005 17:25:18 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:27 -0800 [PATCH] i2c: i2c-nforce2 add nforce4 MCP-04 device ID One more supported PCI ID for the i2c-nforce2 driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit a4787c0d232e16e727b37205dc647337b8974f35 tree 4e7ef0882d0916bb56410a23399e2f0baa794703 parent 3fb81a3df63e1900a7b3f496806a3f8d2b4295dd author Martin Hicks Sun, 18 Dec 2005 17:18:01 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:27 -0800 [PATCH] i2c: i2c-ibm_iic add I2C_CLASS_HWMON Add the ibm_iic driver to the HWMON class so it will scan the bus for connected hardware monitor sensors. Signed-off-by: Martin Hicks Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 3fb81a3df63e1900a7b3f496806a3f8d2b4295dd tree ac8ae7f705d116aec60c32dfa5bfdb2d7f6adeb4 parent fb687d73fa7685ffeed1a6b24fadb5f4db817783 author Jean Delvare Sun, 18 Dec 2005 17:11:51 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:27 -0800 [PATCH] i2c: I2C_DF_NOTIFY removal comment cleanups The removal of I2C_DF_NOTIFY left some out of date comments in the code. Drop them. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit fb687d73fa7685ffeed1a6b24fadb5f4db817783 tree 2e45a80aca89daa28ba27092175d860252a905f8 parent d564baee2984098c73fd0e55bc5c8a890878ef3b author Jean Delvare Sun, 18 Dec 2005 16:51:55 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:26 -0800 [PATCH] i2c: update i2c_driver.command documentation Document i2c_driver.command as being deprecated, and don't suggest an empty implementation of this callback as it doesn't make any sense. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit d564baee2984098c73fd0e55bc5c8a890878ef3b tree 0f92136763fbe9f614c72f9e5581a2f091ebf118 parent 04b4b8434a92b9ef127985113c0bd961957778b7 author Laurent Riffard Sun, 18 Dec 2005 16:49:30 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:26 -0800 [PATCH] i2c: drop empty i2c_driver.command implementations Given that implementing i2c_driver.command is optional, there is no point in an empty implementation thereof. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Cc: Michael Geng Cc: Petr Vandrovec Signed-off-by: Greg Kroah-Hartman commit 04b4b8434a92b9ef127985113c0bd961957778b7 tree a43fbba69676e540cb864369c819d69ffb42fe67 parent a7be58a126d4cd9f0588df23f58796ed996c1835 author Jean Delvare Sun, 18 Dec 2005 16:42:35 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:26 -0800 [PATCH] i2c: driver ID list cleanups Cleanups to i2c driver ID list: * Remove mostly bogus comments about driver ID ranges. * Drop experimental driver IDs, as the concept is pretty broken. * Drop now unused IDs of non-I2C (ISA) drivers. * Drop a few more IDs which are no more used. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit a7be58a126d4cd9f0588df23f58796ed996c1835 tree 26d0556bee4b8c241702fb9b49ea1936fc70ee4d parent 734a12a36676ad3b9418fa5a829c518afec02b8a author Jean Delvare Sun, 18 Dec 2005 16:40:14 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:26 -0800 [PATCH] hwmon: it87 use u8 for vrm VRM values fit in u8 by design now. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 734a12a36676ad3b9418fa5a829c518afec02b8a tree 2d59c180d831162b6afcdad9180965e7ead44883 parent 99d855602c1d7968ca6b6cc99b773b0b47909690 author Rudolf Marek Sun, 18 Dec 2005 16:36:52 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:26 -0800 [PATCH] hwmon: add VRM/VID support for some VIA CPUs This patch adds the VIA CENTAUR CPUs to detection table. Table was updated to treat future Intel x86 CPUs as VRD10. Stepping field was added, because some VIA CPUs have different VRM specs across stepping. I changed the vrm type to u8 because all drivers use u8 anyway. Signed-off-by: Rudolf Marek Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 99d855602c1d7968ca6b6cc99b773b0b47909690 tree 3e79339c40f1819f90911c6d96b72cb73781dbdd parent c9152deaa635cab09cb43c17cf80130b9e6ee29d author Jean Delvare Sun, 18 Dec 2005 16:34:28 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:25 -0800 [PATCH] hwmon: w83792d simplify in low bits handling Simplify the way the w83792d driver handles the extra resolution bits of voltage input channels. Signed-off-by: Jean Delvare Acked-by: Yuan Mu Signed-off-by: Greg Kroah-Hartman commit c9152deaa635cab09cb43c17cf80130b9e6ee29d tree f05e5e846b0c042d0f7421bf33c68337aaca20ed parent 79472132f555ae1e912699e116e5c82f338872f6 author Jean Delvare Sun, 18 Dec 2005 16:29:40 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:25 -0800 [PATCH] hwmon: w83792d misc cleanups Cleanup the w83792d driver a bit: * Discard unused lock and irrelevant comments inherited from the w83781d driver. * Simplify w83792d_{read,write}_value functions. * Drop useless address test during detection. * Drop useless bitmasking. Signed-off-by: Jean Delvare Acked-by: Yuan Mu Signed-off-by: Greg Kroah-Hartman commit 79472132f555ae1e912699e116e5c82f338872f6 tree 5f2b69e43b8797cab242f6524f6bb0d55694c849 parent d82c0bf88fa97c1993ea9d6051488e7cb012b440 author Greg Kroah-Hartman Tue, 06 Dec 2005 15:33:15 -0800 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:25 -0800 [PATCH] I2C: move i2c-dev to use dynamic class devices i2c-dev doesn't use the reference counting logic of struct class_device so move it to the dynamic method. This makes the code paths simpler and the driver smaller. Signed-off-by: Greg Kroah-Hartman Cc: Jean Delvare commit d82c0bf88fa97c1993ea9d6051488e7cb012b440 tree 60ecbf9971ee125f84f063d153328f9d7ec5ea98 parent 2b48716d1d2f2edb1e7cbc5ecf1cb2cb39373e33 author Jean Delvare Wed, 07 Dec 2005 21:54:26 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:25 -0800 [PATCH] i2c: Documentation update Update the i2c documentation to reflect the recent change to i2c_add_driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 2b48716d1d2f2edb1e7cbc5ecf1cb2cb39373e33 tree 04c095d45dfa892b7710e338724a1ac4f1da7cba parent de59cf9ed44f64991e52a9de6094729537f0420c author Greg Kroah-Hartman Tue, 06 Dec 2005 15:33:15 -0800 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:25 -0800 [PATCH] I2C: Remove .owner setting from i2c_driver as it's no longer needed Now that i2c_add_driver() doesn't need the module owner to be set by hand, we can delete it from the drivers. This patch catches all of the drivers that I found in the current tree (if a driver sets the .owner by hand, it's not a problem, just not needed.) Signed-off-by: Greg Kroah-Hartman Cc: Jean Delvare commit de59cf9ed44f64991e52a9de6094729537f0420c tree 038f6fb83228d09812f729d19fb7bdc8a324dd55 parent e1c489b0e4fbb1687f8227fe78b4769c123768c1 author Greg Kroah-Hartman Tue, 06 Dec 2005 15:33:15 -0800 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:24 -0800 [PATCH] I2C: Make i2c_add_driver automatically set the proper module owner This prevents i2c drivers from messing up and forgetting to set the module owner of their driver. It also reduces the size of their drivers by one line :) Signed-off-by: Greg Kroah-Hartman Cc: Jean Delvare commit e1c489b0e4fbb1687f8227fe78b4769c123768c1 tree 406a079669c46f5978621a80fe95056dd0b93730 parent d45d204f0c3daa01a393dfe81415573f9459506a author Greg Kroah-Hartman Wed, 30 Nov 2005 16:35:09 -0800 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:24 -0800 [PATCH] I2C: Fix up debug build error for previous i2c structure changes Signed-off-by: Greg Kroah-Hartman Signed-off-by: Jean Delvare commit d45d204f0c3daa01a393dfe81415573f9459506a tree 48cdeb3f4b1a10d36bf81377ebde7c8cc8ac8065 parent b33a665dba55c83f08cdd62aba1cd2672bccdd80 author Jean Delvare Sat, 26 Nov 2005 20:55:35 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:24 -0800 [PATCH] i2c: Drop i2c_driver.{owner,name}, 11 of 11 Document the drop of the owner and name fields of the i2c_driver structure. Signed-off-by: Jean Delvare CC: Laurent Riffard Signed-off-by: Greg Kroah-Hartman commit b33a665dba55c83f08cdd62aba1cd2672bccdd80 tree 42d6c3a15739007a092ac56e887c1f5022ce426c parent 1a7edcdca618d25564690c2df27c2c5c6e9f6316 author Jean Delvare Sat, 26 Nov 2005 20:54:10 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:24 -0800 [PATCH] i2c: Drop i2c_driver.{owner,name}, 10 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the drivers for arm arch. Signed-off-by: Jean Delvare CC: Laurent Riffard Signed-off-by: Greg Kroah-Hartman commit 1a7edcdca618d25564690c2df27c2c5c6e9f6316 tree a890b90b5eed7041090a495cfa89e5610c1bc243 parent e533449d291b5a28ce9527539750a0cb88146f6e author Laurent Riffard Sat, 26 Nov 2005 20:52:34 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:24 -0800 [PATCH] i2c: Drop i2c_driver.{owner,name}, 9 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the matroxfb driver. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Acked-by: Petr Vandrovec Signed-off-by: Greg Kroah-Hartman commit e533449d291b5a28ce9527539750a0cb88146f6e tree d7b7045a247276594846bddd073c46f34f3e02a5 parent e100fe103e679372b3d1d6e9d32fd3ab57484be2 author Laurent Riffard Sat, 26 Nov 2005 20:51:06 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:24 -0800 [PATCH] i2c: Drop i2c_driver.{owner,name}, 8 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the drivers for acorn arch. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Acked-by: Russell King Signed-off-by: Greg Kroah-Hartman commit e100fe103e679372b3d1d6e9d32fd3ab57484be2 tree b45c17d6c44523f8ea51f84cd59e942e9d4dfc34 parent d74cdab1cad1e5895d8928eeeb2ac469f8410d2e author Laurent Riffard Sat, 26 Nov 2005 20:48:35 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:23 -0800 [PATCH] i2c: Drop i2c_driver.{owner,name}, 7 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the drivers for ppc arch. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit d74cdab1cad1e5895d8928eeeb2ac469f8410d2e tree 67f0d77998c9c6bb1affbee5daf6320e07f06149 parent 604f28e2b8d34cbaf08f0351374645f161335a82 author Laurent Riffard Sat, 26 Nov 2005 20:46:32 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:23 -0800 [PATCH] i2c: Drop i2c_driver.{owner,name}, 6 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the OSS drivers. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 604f28e2b8d34cbaf08f0351374645f161335a82 tree 0f9183994b4fafa6ac58ce8e090fb8e2bf4869dd parent a33ca23231a37e28d15da9546b1f3e83dc48284b author Laurent Riffard Sat, 26 Nov 2005 20:43:39 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:23 -0800 [PATCH] i2c: Drop i2c_driver.{owner,name}, 5 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the drivers/media/video and usb/media drivers. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit a33ca23231a37e28d15da9546b1f3e83dc48284b tree 50c59c7dfbf77cb9297dd20d2aa1e3958f5f358d parent cdaf79349c7d24e1d33acb6497849c9e956a33ea author Laurent Riffard Sat, 26 Nov 2005 20:40:34 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:23 -0800 [PATCH] i2c: Drop i2c_driver.{owner,name}, 4 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the drivers for macintosh. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Acked-by: Benjamin Herrenschmidt Signed-off-by: Greg Kroah-Hartman commit cdaf79349c7d24e1d33acb6497849c9e956a33ea tree 48f22bb5f215953ac0e57385282fbc5042a03955 parent a9718b0c1154dcbd955be6aaee47a314cde6a25a author Laurent Riffard Sat, 26 Nov 2005 20:37:41 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:23 -0800 [PATCH] i2c: Drop i2c_driver.{owner,name}, 3 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the hwmon drivers. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit a9718b0c1154dcbd955be6aaee47a314cde6a25a tree 5bc275f56d94649477e24f5d2ac03d211a41723f parent 35d8b2e6b8e86b0d5126f36613b5202d4eb978b6 author Laurent Riffard Sat, 26 Nov 2005 20:36:00 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:23 -0800 [PATCH] i2c: Drop i2c_driver.{owner,name}, 2 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the miscellaneaous i2c chip drivers. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 35d8b2e6b8e86b0d5126f36613b5202d4eb978b6 tree 2327c791f10216db39ae5c22235a13a5bc886d1e parent 482c788ded0aa9710722eaf9cf60886d3b923218 author Laurent Riffard Sat, 26 Nov 2005 20:34:05 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:22 -0800 [PATCH] i2c: Drop i2c_driver.{owner,name}, 1 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the core of the i2c drivers: it removes .name and .owner fields from the struct i2c_device and modify various functions to use struct device fields instead. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 482c788ded0aa9710722eaf9cf60886d3b923218 tree a66b5810e0db6061da847c1edd73f3e2fa0c5f32 parent 92b429461228f0f06a994dd3d4ccf1c9ff7596bd author Jean Delvare Sat, 26 Nov 2005 21:06:08 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:22 -0800 [PATCH] i2c: i2c_get_client is gone The i2c_get_client function doesn't exist anymore, so we shouldn't have a definition for it in i2c.h. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 92b429461228f0f06a994dd3d4ccf1c9ff7596bd tree 1a32a26d6536076aa9d7eaf91aa25ecc0a086fbf parent cf02df770228350254251fde520007a2709db785 author Jean Delvare Sat, 26 Nov 2005 21:05:17 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:22 -0800 [PATCH] i2c: Chip driver porting guide update Update Documentation/i2c/porting-clients. Many recent changes to the i2c and hwmon subsystems were never reported there. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit cf02df770228350254251fde520007a2709db785 tree ef10929d0160ebf27f29bac2a9e285b267a63331 parent cde7859bda0d1124392b44e50aa11df99707e1d9 author Jean Delvare Sat, 26 Nov 2005 21:03:41 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:22 -0800 [PATCH] i2c: Rework client usage count, 3 of 3 Do not limit the usage count of i2c clients to 1. In other words, change the client usage count behavior from the old I2C_CLIENT_ALLOW_USE to the old I2C_CLIENT_ALLOW_MULTIPLE_USE. The rationale is that no driver actually needs the limiting behavior, and the unlimiting behavior is slightly easier to implement. Update the documentation to reflect this change. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit cde7859bda0d1124392b44e50aa11df99707e1d9 tree c852e7ff9b44b5e59f6ae75951514585f0ff10d9 parent cb748fb20186d4b345c68a7f580429f379fdd268 author Jean Delvare Sat, 26 Nov 2005 21:00:54 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:22 -0800 [PATCH] i2c: Rework client usage count, 2 of 3 Make I2C_CLIENT_ALLOW_USE the default for all i2c clients. It doesn't hurt if the usage count is actually never used for any given driver, and allows for nice code simplifications in i2c-core. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit cb748fb20186d4b345c68a7f580429f379fdd268 tree 6c8f4f0937941bb4ee56ed72ba0b7f60562f1e1d parent 5d7b851dcced3611e4a4432308618b1ed1a9fc31 author Jean Delvare Sat, 26 Nov 2005 20:58:35 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:22 -0800 [PATCH] i2c: Rework client usage count, 1 of 3 No i2c client uses the I2C_CLIENT_ALLOW_MULTIPLE_USE flag, drop it. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 5d7b851dcced3611e4a4432308618b1ed1a9fc31 tree 26f847cf68fe004827e4dfb588674d2bdfc3fdc6 parent 8a9947552d43b0d20d5fa23ac0ba435d526be454 author Jean Delvare Sun, 27 Nov 2005 08:57:10 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:22 -0800 [PATCH] i2c: Drop i2c_driver.flags, 3 of 3 The flags member of the i2c_driver structure is no more used. Drop it. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 8a9947552d43b0d20d5fa23ac0ba435d526be454 tree 086844a62f549e488ebeecc196e1d4726a1d4598 parent ff179c8cf5caa17bf3d407edbb5872aa2eee6900 author Jean Delvare Sat, 26 Nov 2005 20:28:06 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:21 -0800 [PATCH] i2c: Drop i2c_driver.flags, 2 of 3 Just about every i2c chip driver sets the I2C_DF_NOTIFY flag, so we can simply make it the default and drop the flag. If any driver really doesn't want to be notified when i2c adapters are added, that driver can simply omit to set .attach_adapter. This approach is also more robust as it prevents accidental NULL pointer dereferences. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit ff179c8cf5caa17bf3d407edbb5872aa2eee6900 tree ac10dc7a3c5be7f8cd1d88736cf508600c19b8d7 parent 1de9e371b89e1cf4da123f0d92efa8eb134ca5e8 author Jean Delvare Sat, 26 Nov 2005 20:24:59 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:21 -0800 [PATCH] i2c: Drop i2c_driver.flags, 1 of 3 The I2C_DF_DUMMY flag is gone since 2.5.70, it's about time to drop all ifdef'd out references thereto. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 1de9e371b89e1cf4da123f0d92efa8eb134ca5e8 tree 2640b33775ee6f6ebfa19f35976c3fe6dbe55c02 parent 1d26f455eb0db0bf4d4b7177547f4310b645a32a author Roger Lucas Sat, 26 Nov 2005 20:20:05 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:21 -0800 [PATCH] hwmon: New vt8231 driver Port the vt8231 hardware monitoring driver from lm_sensors CVS to Linux 2.6. Signed-off-by: Roger Lucas Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 1d26f455eb0db0bf4d4b7177547f4310b645a32a tree 9d54d48bf529b83abd272e37fc33e0c9adf431eb parent 7e94436942a7517d08c0cd1a8831122a0fea289e author Peter Korsgaard Sat, 26 Nov 2005 20:18:43 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:21 -0800 [PATCH] i2c: Add support for Barco LPT->DVI to i2c-parport The following patch adds support for the Barco LPT->DVI I2C adapter to the i2c-parport driver. Signed-off-by: Peter Korsgaard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 7e94436942a7517d08c0cd1a8831122a0fea289e tree f67263807fb5ce39796dc75525323a2c6753c143 parent 5b319400f5e2cd31a82b38405856ff2b46a9bb83 author Nicolas Kaiser Sat, 26 Nov 2005 20:15:23 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:21 -0800 [PATCH] i2c: Remove duplicate rtc8564 BCD macros Remove duplicate of BCD macros. Signed-off-by: Nicolas Kaiser Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 5b319400f5e2cd31a82b38405856ff2b46a9bb83 tree ab22b0738f072128dc428f16aa37b0aa89934cc4 parent dd149c52223cfb05cdefb0755d3c2793e8d33ede author Mark M. Hoffman Sat, 26 Nov 2005 20:10:56 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:20 -0800 [PATCH] hwmon: Clarify the W83627THF VID documentation This patch clarifies the W83627THF VID documentation. Signed-off-by: Mark M. Hoffman Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit dd149c52223cfb05cdefb0755d3c2793e8d33ede tree 78b0b51586442c66b0d4b948564a6d4863b29766 parent 9c516ef496c857aa4b1b41dc313010f11d39c496 author Yuan Mu Sat, 26 Nov 2005 20:13:18 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:20 -0800 [PATCH] hwmon: W83627THF VID fixes This patch fixes the VID reading; no cpu0_vid and vrm files created if the chip is w83627thf and GPIO5 not enabled. Signed-off-by: Yuan Mu Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 9c516ef496c857aa4b1b41dc313010f11d39c496 tree 94fd2cc493def4ec290705b4d943335558eb304e parent 07421cabdc62519d0f747149b7c9b425b4d746cd author Jean Delvare Sat, 26 Nov 2005 20:07:54 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:20 -0800 [PATCH] hwmon: Support the VRM 10 mode of the ADT7463 Support the VRM 10 mode of the ADT7463. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 07421cabdc62519d0f747149b7c9b425b4d746cd tree a72c4afdff890c7b61176591f155d18e4080c365 parent f9e8957937ebf60d22732a5ca9130f48a7603f60 author Grant Coady Sun, 06 Nov 2005 23:13:06 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:20 -0800 [PATCH] hwmon: remove deprecated sysfs names of adm1025 and adm1026 drivers, hwmon, adm1025 and adm1026: remove deprecated sysfs names. these names have been listed for removal for six months, time for them to go Signed-off-by: Grant Coady Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit f9e8957937ebf60d22732a5ca9130f48a7603f60 tree c36adb2b1c9e3ef69bf598ee3084966ef7085596 parent 2e3e13f8e9d9b2111404cdccaa4e1b988b70acce author Michael Burian Mon, 07 Nov 2005 22:30:14 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:20 -0800 [PATCH] i2c: Extend ds1337 initialization Add code to handle case where board firmware does not start the RTC. Signed-off-by: Jean Delvare CC: James Chapman Signed-off-by: Greg Kroah-Hartman commit 2e3e13f8e9d9b2111404cdccaa4e1b988b70acce tree de95ee215c2189cbfb98829e32e7fb117c94a160 parent 46f25dffbaba48c571d75f5f574f31978287b8d2 author Mark M. Hoffman Sun, 06 Nov 2005 23:04:51 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:20 -0800 [PATCH] i2c: i2c-i801 explicitly enables/disables PEC This patch tweaks i2c-i801.c so that the driver always sets the SMBAUXCTL register (which enables/disables PEC) explicitly before each transaction. Signed-off-by: Mark M. Hoffman Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 9f155b9802bb7049cd0f216c3fe903b58620df11 tree d83fa1699e8113d83588d38a1c16e68cd3fcf462 parent 29552b1462799afbe02af035b243e97579d63350 author Chuck Ebbert <76306.1226@compuserve.com> Thu, 05 Jan 2006 23:11:29 -0500 committer Linus Torvalds Thu, 05 Jan 2006 20:50:51 -0800 [PATCH] i386: PTRACE_POKEUSR: allow changing RF bit in EFLAGS register. Setting RF (resume flag) allows a debugger to resume execution after a code breakpoint without tripping the breakpoint again. It is reset by the CPU after execution of one instruction. Requested by Stephane Eranian: "I am trying to the user HW debug registers on i386 and I am running into a problem with ptrace() not allowing access to EFLAGS_RF for POKEUSER (see FLAG_MASK). [ ... ] It avoids the need to remove the breakpoint, single step, and reinstall. The equivalent functionality exists on IA-64 and is allowed by ptrace()" Cc: Stephane Eranian Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Linus Torvalds commit 29552b1462799afbe02af035b243e97579d63350 tree 42ad1639678a1bc8064f690494f62497bc48d318 parent 6c59f9d9fb95934bf3d7d64249b338ce79953b5b parent 51e7a5987058c6b4d0c1337587f2ec0c34ffa708 author Linus Torvalds Thu, 05 Jan 2006 20:43:11 -0800 committer Linus Torvalds Thu, 05 Jan 2006 20:43:11 -0800 Merge http://oss.oracle.com/git/ocfs2 commit 6c59f9d9fb95934bf3d7d64249b338ce79953b5b tree 30edcae8ba7901a638d8e50bbf263c2ef9266507 parent 52cab57873c25d3c8324ee3e4d463db6e8e73fd7 author Jody McIntyre Thu, 05 Jan 2006 23:04:08 -0500 committer Jody McIntyre Thu, 05 Jan 2006 23:04:08 -0500 Update MAINTAINERS - Jody is no longer at Steamballoon. commit 6020bafc9e30e04f4db65298d00e8e28ffb40652 tree 7c81b72d3cd3ce92ef240d847050ecd7d692fe19 parent 1f85145c5825a6f1fdf83e6c48e788dd3117c39a author Ben Collins Thu, 05 Jan 2006 23:00:38 -0500 committer Dmitry Torokhov Thu, 05 Jan 2006 23:00:38 -0500 Input: i8042 - add OQO Zepto to noloop dmi table. Signed-off-by: Ben Collins Signed-off-by: Dmitry Torokhov commit 1f85145c5825a6f1fdf83e6c48e788dd3117c39a tree 840e3f05df2d6056bfe389735e351bddfef55c31 parent dbc26344350dff2932902a7723a4e89e71752803 author Michael Hanselmann Thu, 05 Jan 2006 23:00:26 -0500 committer Dmitry Torokhov Thu, 05 Jan 2006 23:00:26 -0500 Input: add missing keys from input.h to hid-debug.h Signed-off-by: Michael Hanselmann Signed-off-by: Dmitry Torokhov commit dbc26344350dff2932902a7723a4e89e71752803 tree a7a4926ee30979a297628ee0f34b3e86f13df840 parent fed8bf19ec20efc0641740b2d10aa589dbd6d1ab author Dmitry Torokhov Thu, 05 Jan 2006 23:00:13 -0500 committer Dmitry Torokhov Thu, 05 Jan 2006 23:00:13 -0500 Input: atkbd - don't lose keymap settings when reconnecting keyboard Call serio_reconnect() instead of serio_rescan() when detecting that a new keyboard was plugged in. This should help KVM uses losing custom keymap settings when switching between boxes. Signed-off-by: Dmitry Torokhov commit fed8bf19ec20efc0641740b2d10aa589dbd6d1ab tree c104a13c7b8cb7f4152b15729dc5aede7c063e91 parent e7c3aad53dba54d375b632f2a21b680546828dec parent 46f25dffbaba48c571d75f5f574f31978287b8d2 author Dmitry Torokhov Thu, 05 Jan 2006 22:25:13 -0500 committer Dmitry Torokhov Thu, 05 Jan 2006 22:25:13 -0500 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 commit 52cab57873c25d3c8324ee3e4d463db6e8e73fd7 tree 826cb36827afa363944e6478d19512e669446c64 parent 0a75c23a009ff65f651532cecc16675d05f4de37 parent 46f25dffbaba48c571d75f5f574f31978287b8d2 author Jody McIntyre Thu, 05 Jan 2006 22:22:50 -0500 committer Jody McIntyre Thu, 05 Jan 2006 22:22:50 -0500 Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 46f25dffbaba48c571d75f5f574f31978287b8d2 tree 080e8c4331faf36202bd92174e5e47d0a5d9aa47 parent e924283bf93989979f27ef4f1228c5925f584a0a author Kris Katterjohn Thu, 05 Jan 2006 16:35:42 -0800 committer David S. Miller Thu, 05 Jan 2006 16:48:56 -0800 [NET]: Change 1500 to ETH_DATA_LEN in some files These patches add the header linux/if_ether.h and change 1500 to ETH_DATA_LEN in some files. Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit e924283bf93989979f27ef4f1228c5925f584a0a tree ccc559f2bc69a524a99ea1952c18ee896df99618 parent d7906de1d774ca70d696d3047223bb3e5e759d92 author Andrew Morton Thu, 05 Jan 2006 14:57:36 -0800 committer David S. Miller Thu, 05 Jan 2006 16:48:55 -0800 [IPVS]: Another file needs linux/interrupt.h Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 466200562ccd80f728f7ef602d2b97b4fdedd566 tree 7bfbd22c9f888add6ec57852738fcd62530cbeb2 parent 38d1e793471d95728219f500bbb8bd25658d73b0 author Michael S. Tsirkin Thu, 05 Jan 2006 16:17:38 -0800 committer Roland Dreier Thu, 05 Jan 2006 16:17:38 -0800 IB/mthca: create_eq with size not a power of 2 Fix mthca_create_eq for when the EQ size is not a power of 2. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 38d1e793471d95728219f500bbb8bd25658d73b0 tree a3d0ee4441434481109e56c5a26fd46ff4acfa21 parent aa2f9367790ad81ef51d3f667124227ca3003d3b author Jack Morgenstein Thu, 05 Jan 2006 16:13:46 -0800 committer Roland Dreier Thu, 05 Jan 2006 16:13:46 -0800 IB/mthca: check port validity in modify_qp Modify_qp should check that the physical port number provided is a legal value. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit aa2f9367790ad81ef51d3f667124227ca3003d3b tree cc204dc5ffe3e9eda77ab5d2a1b5827e809f00bb parent 1d7d2f6f476cf7aa65f9f740a6c932fb75608110 author Jack Morgenstein Thu, 05 Jan 2006 16:12:01 -0800 committer Roland Dreier Thu, 05 Jan 2006 16:12:01 -0800 IB/mthca: check return value in mthca_dev_lim call Check error return on call to mthca_dev_lim for Tavor (as is done for memfree). Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit d7906de1d774ca70d696d3047223bb3e5e759d92 tree 6065caea25668f9fd33c23a24047cecb2c5b5cd7 parent fbd91ac22229fdb89f0dd2eaa11dd663f2ba1a92 parent 725a6abfe37025975c125ace1c7da35f27ce5384 author Linus Torvalds Thu, 05 Jan 2006 15:55:49 -0800 committer Linus Torvalds Thu, 05 Jan 2006 15:55:49 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6 commit 725a6abfe37025975c125ace1c7da35f27ce5384 tree dc10f24a25e1c765b63ea661c8859c7fa365d274 parent 6e493882726e762d0eb7a0a5fcae42a122ae75a5 author Richard Purdie Thu, 05 Jan 2006 09:56:03 +0000 committer Dominik Brodowski Fri, 06 Jan 2006 00:31:07 +0100 [PATCH] pcmcia: add some IDs for ide-cs and dtl1_cs Add some PCMCIA device IDs for the microdrive found in the Sharp Zaurus and a different revision of the Socket CF+ Bluetooth card. Signed-off-by: Richard Purdie Signed-off-by: Dominik Brodowski commit 6e493882726e762d0eb7a0a5fcae42a122ae75a5 tree 27cae84701b9ec892853b561b59b2cdb6fb1f1eb parent 3cf89b185971bf186cec657911f08354e7701635 author Daniel Ritz Fri, 30 Dec 2005 15:12:35 +0100 committer Dominik Brodowski Fri, 06 Jan 2006 00:28:15 +0100 [PATCH] pcmcia: cleanup cs.c, reduce size kill the socket_shutdown()/shutdown_socket() confusion by making it one single function. move cs_socket_put() in there. nicer to read and smaller: original: text data bss dec hex filename 25181 1076 32 26289 66b1 drivers/pcmcia/pcmcia_core.ko patched: text data bss dec hex filename 24973 1076 32 26081 65e1 drivers/pcmcia/pcmcia_core.ko Signed-off-by: Daniel Ritz Signed-off-by: Dominik Brodowski commit 3cf89b185971bf186cec657911f08354e7701635 tree 8d4f1ff08106b64bd03beb7081d442e06a9d2103 parent 8084b372adac9c24ff7abdd939b2e8816e7b88a3 author Alexey Dobriyan Fri, 23 Dec 2005 23:51:08 +0300 committer Dominik Brodowski Fri, 06 Jan 2006 00:28:10 +0100 [PATCH] drivers/pcmcia/cistpl.c: fix endian warnings Signed-off-by: Alexey Dobriyan Signed-off-by: Dominik Brodowski commit 8084b372adac9c24ff7abdd939b2e8816e7b88a3 tree a4a4005d7b025abc0a3e7693404abd0abbfd434b parent 6423efaacbf0bce6372897e793d8450c1c08ec8d author Dominik Brodowski Sun, 11 Dec 2005 21:18:26 +0100 committer Dominik Brodowski Fri, 06 Jan 2006 00:28:06 +0100 [PATCH] pcmcia: kzalloc conversion Convert users of kmalloc and memset to kzalloc Signed-off-by: Dominik Brodowski commit 6423efaacbf0bce6372897e793d8450c1c08ec8d tree b082d15e0f4b552b1c144eaa353fbfbd245aeb30 parent 002dbb2d0d42b4a2c1eef2012c2fe7af48163b3c author Dominik Brodowski Sun, 11 Dec 2005 20:47:44 +0100 committer Dominik Brodowski Fri, 06 Jan 2006 00:28:01 +0100 [PATCH] pcmcia: no probing of ioports on PARISC Do not wildly probe the IO ports we're trying to use on PARISC. Signed-off-by: Dominik Brodowski commit 002dbb2d0d42b4a2c1eef2012c2fe7af48163b3c tree 10f16863e7302e36df41b0d65006633c286779c3 parent 1371d3be045a6a1a8b828b838069b5fe6e0ab4c6 author Dominik Brodowski Thu, 08 Dec 2005 23:50:36 +0100 committer Dominik Brodowski Fri, 06 Jan 2006 00:27:57 +0100 [PATCH] pcmcia: export stored values in sysfs Export the stored values instead of re-reading everything in the socket information sysfs files, and make them accessible to all users, not only to root. Signed-off-by: Dominik Brodowski commit 1371d3be045a6a1a8b828b838069b5fe6e0ab4c6 tree 418c16b1381aa3f1a14d6b48600f4b2db3ce891c parent a94515fa1f1609249dbebcfb93181ad0ba4b285a author Vitaly Bordug Thu, 08 Dec 2005 13:56:12 -0200 committer Dominik Brodowski Fri, 06 Jan 2006 00:27:53 +0100 [PATCH] 8xx PCMCIA: support for MPC885ADS and MPC866ADS This adds PCMCIA support for both MPC885ADS and MPC866ADS. This is established not together with FADS, because 885 does not have io_block_mapping() for BCSR area. Also, some cleanups done both for 885ADS and MBX. Signed-off-by: Vitaly Bordug Signed-off-by: Marcelo Tosatti Signed-off-by: Dominik Brodowski commit a94515fa1f1609249dbebcfb93181ad0ba4b285a tree e3f3462f481ea6f977f56a34a5467bddf2d3120b parent 3b27e9421a1433689704fe0a02e926d4ba971121 author Vitaly Bordug Thu, 08 Dec 2005 13:53:20 -0200 committer Dominik Brodowski Fri, 06 Jan 2006 00:27:48 +0100 [PATCH] m8xx_pcmcia: support MAP_AUTOSZ required for CF cards This fixes misconfiguration that could result in odd work of some old CF cards. Signed-off-by: Vitaly Bordug Signed-off-by: Marcelo Tosatti Signed-off-by: Dominik Brodowski commit 3b27e9421a1433689704fe0a02e926d4ba971121 tree c3ca9e3e929da1c48ce5d8e9fa6d0257b5b900f5 parent efe3cd105f2a19e72ce9280bb22c7c80752e4314 author Dominik Brodowski Wed, 07 Dec 2005 12:32:20 +0100 committer Dominik Brodowski Fri, 06 Jan 2006 00:27:43 +0100 [PATCH] pcmcia: properly handle static mem, but dynamic io sockets Some PCMCIA sockets have statically mapped memory windows, but dynamically mapped IO windows. Using the "nonstatic" socket library is inpractical for them, as they do neither need a resource database (as we can trust the kernel resource database on m68k and ppc) nor lots of other features of that library. Let them get a small "iodyn" socket library (105 lines of code) instead. Signed-off-by: Dominik Brodowski commit efe3cd105f2a19e72ce9280bb22c7c80752e4314 tree 3caa16ce9bb50ca15aeb757621be283abd389870 parent f8cfa618dccbdc6dab5297f75779566a388a98fd author Dominik Brodowski Fri, 06 Jan 2006 00:27:16 +0100 committer Dominik Brodowski Fri, 06 Jan 2006 00:27:16 +0100 [PATCH] pcmcia: fix sound drivers Update the PCMCIA sound drivers to handle the recent changes to the PCMCIA core. A part of this merge was done by Takashi Iwai . Signed-off-by: Dominik Brodowski commit f8cfa618dccbdc6dab5297f75779566a388a98fd tree b91e0952038dafc6e03bf8b1d8948b1fdefec031 parent b463581154f3f3eecda27cae60df813fefcd84d3 author Dominik Brodowski Mon, 14 Nov 2005 21:25:51 +0100 committer Dominik Brodowski Fri, 06 Jan 2006 00:03:24 +0100 [PATCH] pcmcia: unify attach, EVENT_CARD_INSERTION handlers into one probe callback Unify the EVENT_CARD_INSERTION and "attach" callbacks to one unified probe() callback. As all in-kernel drivers are changed to this new callback, there will be no temporary backwards-compatibility. Inside a probe() function, each driver _must_ set struct pcmcia_device *p_dev->instance and instance->handle correctly. With these patches, the basic driver interface for 16-bit PCMCIA drivers now has the classic four callbacks known also from other buses: int (*probe) (struct pcmcia_device *dev); void (*remove) (struct pcmcia_device *dev); int (*suspend) (struct pcmcia_device *dev); int (*resume) (struct pcmcia_device *dev); Signed-off-by: Dominik Brodowski commit b463581154f3f3eecda27cae60df813fefcd84d3 tree 5e5b0f7a32b0727b64e52b9b2649897e6c841074 parent f3990715589d378a2d3aa9b8accd78bb4a2378b7 author Dominik Brodowski Mon, 14 Nov 2005 21:25:35 +0100 committer Dominik Brodowski Fri, 06 Jan 2006 00:03:20 +0100 [PATCH] pcmcia: remove dev_list from drivers The linked list of devices managed by each PCMCIA driver is, in very most cases, unused. Therefore, remove it from many drivers. Signed-off-by: Dominik Brodowski commit f3990715589d378a2d3aa9b8accd78bb4a2378b7 tree de81bbdcefa4d599ce92f269aefe9aee814d67af parent cc3b4866bee996c922e875b8c8efe9f0d8803aae author Dominik Brodowski Mon, 14 Nov 2005 21:25:23 +0100 committer Dominik Brodowski Fri, 06 Jan 2006 00:03:15 +0100 [PATCH] pcmcia: remove old detach mechanism Remove the old "detach" mechanism as it is unused now. Signed-off-by: Dominik Brodowski commit cc3b4866bee996c922e875b8c8efe9f0d8803aae tree 6632837b6986f33566f75ed971cecbdc210e3201 parent 8e9e793d68fcda6cc84c18cedf85ca0f91d801a8 author Dominik Brodowski Mon, 14 Nov 2005 21:23:14 +0100 committer Dominik Brodowski Fri, 06 Jan 2006 00:03:10 +0100 [PATCH] pcmcia: unify detach, REMOVAL_EVENT handlers into one remove callback Unify the "detach" and REMOVAL_EVENT handlers to one "remove" function. Old functionality is preserved, for the moment. Signed-off-by: Dominik Brodowski commit 8e9e793d68fcda6cc84c18cedf85ca0f91d801a8 tree 3dcceaaa676f1221e532e24106bb661143733eaf parent 98e4c28b7ec390c2dad6a4c69d69629c0f7e8b10 author Dominik Brodowski Fri, 06 Jan 2006 00:02:03 +0100 committer Dominik Brodowski Fri, 06 Jan 2006 00:02:03 +0100 [PATCH] pcmcia: merge suspend into device model Merge the suspend and resume methods for 16-bit PCMCIA cards into the device model -- for both runtime power management and suspend to ram/disk. Bugfix in ds.c by Richard Purdie Signed-Off-By: Richard Purdie Signed-off-by: Dominik Brodowski commit 98e4c28b7ec390c2dad6a4c69d69629c0f7e8b10 tree b3d46f0643352e541d6a39e6da09059687cf713d parent 63e7ebd06402951bc8863ba5b7bc9b9f42044849 author Dominik Brodowski Mon, 14 Nov 2005 21:21:18 +0100 committer Dominik Brodowski Thu, 05 Jan 2006 23:59:02 +0100 [PATCH] pcmcia: new suspend core Move the suspend and resume methods out of the event handler, and into special functions. Also use these functions for pre- and post-reset, as almost all drivers already do, and the remaining ones can easily be converted. Bugfix to include/pcmcia/ds.c Signed-off-by: Andrew Morton Signed-off-by: Dominik Brodowski commit 63e7ebd06402951bc8863ba5b7bc9b9f42044849 tree 9265e2ca96c3a6e488060b36187f2f5a005fda2f parent 2cff944720332535a24b7eae16cff32055a43048 author Daniel Ritz Thu, 03 Nov 2005 21:12:14 +0100 committer Dominik Brodowski Thu, 05 Jan 2006 23:41:23 +0100 [PATCH] yenta: make bridge specific init code configurable Make the bridge specific initialization code config options depending on CONFIG_EMBEDDED. Config options for TI/EnE, Toshiba, Ricoh and O2Micro are available. Disabling all of the specific tweaks cuts off more than half of yenta_socket.ko. Signed-off-by: Daniel Ritz Signed-off-by: Dominik Brodowski commit 2cff944720332535a24b7eae16cff32055a43048 tree 02758aa2ac6f9cece083fc216576042c05789ede parent de75914ee103a30d82ad21b39b7e04f70e4fa1f0 author Andrew Morton Wed, 16 Nov 2005 21:29:26 -0800 committer Dominik Brodowski Thu, 05 Jan 2006 23:41:19 +0100 [PATCH] pcmcia: validate_mem fix Also return a value if CONFIG_PCMCIA_PROBE is not set. Signed-off-by: Andrew Morton Signed-off-by: Dominik Brodowski commit de75914ee103a30d82ad21b39b7e04f70e4fa1f0 tree 492f275d49d2e37449ba89594127ebca8502cb3f parent 9da4bc6d6a38c1c3d850c046d0aee324c1a2e52a author Dominik Brodowski Wed, 28 Sep 2005 19:41:56 +0200 committer Dominik Brodowski Thu, 05 Jan 2006 23:41:14 +0100 [PATCH] pcmcia: validate_mem shouldn't be void Add a return value to pcmcia_validate_mem. Only if we have enough memory available to map the CIS, we should proceed in trying to determine information about the device. Signed-off-by: Dominik Brodowski commit 9da4bc6d6a38c1c3d850c046d0aee324c1a2e52a tree 2783de4a280ece6707b9b5800b82e1149b4d4f48 parent 7f316b033b36adfbdf56bfb15c13de49798ab0b2 author Dominik Brodowski Sat, 12 Nov 2005 23:56:33 +0100 committer Dominik Brodowski Thu, 05 Jan 2006 23:41:09 +0100 [PATCH] pcmcia: remove get_socket callback The .get_socket callback is never used by the PCMCIA core, therefore remove it. Signed-off-by: Dominik Brodowski commit 7f316b033b36adfbdf56bfb15c13de49798ab0b2 tree 8e447b779a03d55f78b2843ea3fdda482601b443 parent e4115805cf2020da94e8bd1296243605cda487ff author Dominik Brodowski Wed, 28 Sep 2005 19:41:55 +0200 committer Dominik Brodowski Thu, 05 Jan 2006 23:41:05 +0100 [PATCH] pcmcia: remove socket register_callback Remove the register_callback declaration in struct pccard_operations as it is unused. Signed-off-by: Dominik Brodowski commit e4115805cf2020da94e8bd1296243605cda487ff tree 0362f93813f4a90e0c241c5e49e04207feb985ee parent 37f779554404ddca981ac4b4cc6692fc09b71e96 author Daniel Ritz Tue, 20 Sep 2005 14:17:37 -0700 committer Dominik Brodowski Thu, 05 Jan 2006 23:41:00 +0100 [PATCH] yenta: optimize interrupt handler Don't waste cpu time in yenta interrupt handler when the interrupt was for another device. Signed-off-by: Daniel Ritz Signed-off-by: Dominik Brodowski commit 37f779554404ddca981ac4b4cc6692fc09b71e96 tree a61a0a7e813dd473834eb4d736e32e8e7652221e parent db9edfd7e339ca4113153d887e782dd05be5a9eb author Pavel Machek Wed, 07 Sep 2005 16:00:26 -0700 committer Dominik Brodowski Thu, 05 Jan 2006 23:40:25 +0100 [PATCH] pcmcia: avoid macro usage in cistpl Fix macro abuse in pcmcia. Signed-off-by: Pavel Machek Signed-off-by: Dominik Brodowski commit fbd91ac22229fdb89f0dd2eaa11dd663f2ba1a92 tree d4734ba408aba217d8dc44cd6a2741a40c62b407 parent 6e2324e0fbb3a075382359b1cbc392a3f4ec8792 parent 38c0b2c2aaab5595a140ade4410e01d407fff751 author Linus Torvalds Thu, 05 Jan 2006 14:18:15 -0800 committer Linus Torvalds Thu, 05 Jan 2006 14:18:15 -0800 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 6e2324e0fbb3a075382359b1cbc392a3f4ec8792 tree 3f2095838900eca866ce0d2dbe6b0b18aadf0df9 parent e8eaedf2f8b368c26aa31a5a5a623b6867ef7f2b parent 5b373e10aeadc2599c085a3357b7fad8b8e760b8 author Linus Torvalds Thu, 05 Jan 2006 14:01:23 -0800 committer Linus Torvalds Thu, 05 Jan 2006 14:01:23 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 38c0b2c2aaab5595a140ade4410e01d407fff751 tree 3a67125cce0460ea0783535e57bd57802688d1d4 parent 5c3eee79128c372a81a83665be2332a000944280 author Tony Luck Thu, 05 Jan 2006 13:30:52 -0800 committer Tony Luck Thu, 05 Jan 2006 13:30:52 -0800 [IA64] Fix compile warnings in setup.c arch/ia64/kernel/setup.c: In function `show_cpuinfo': arch/ia64/kernel/setup.c:576: warning: long unsigned int format, different type arg (arg 12) arch/ia64/kernel/setup.c:576: warning: long unsigned int format, different type arg (arg 13) Introduced by 95235ca2c20ac0b31a8eb39e2d599bcc3e9c9a10 Signed-off-by: Tony Luck commit 5b373e10aeadc2599c085a3357b7fad8b8e760b8 tree 63b6a041cc7fdef16c32949e30f898a8bb3a6b1e parent db9edfd7e339ca4113153d887e782dd05be5a9eb author Luis F. Ortiz Thu, 05 Jan 2006 13:12:41 -0800 committer David S. Miller Thu, 05 Jan 2006 13:12:41 -0800 [ATYFB]: Fix onboard video on SPARC Blade 100 for 2.6.{13,14,15} I have recently been switching from using 2.4.32 on my trusty old Sparc Blade 100 to using 2.6.15 . Some of the problems I ran into were distorted video when the console was active (missing first character, skipped dots) and when running X windows (colored snow, stripes, missing pixels). A quick examination of the 2.6 versus 2.4 source for the ATY driver revealed alot of changes. A closer look at the code/data for the 64GR/XL chip revealed two minor "typos" that the rewriter(s) of the code made. The first is a incorrect clock value (230 .vs. 235) and the second is a missing flag (M64F_SDRAM_MAGIC_PLL). Making both these changes seems to have fixed my problem. I tend to think the 235 value is the correct one, as there is a 29.4 Mhz clock crystal close to the video chip and 235.2 (29.4*8) is too close to 235 to make it a coincidence. The flag for M64F_SDRAM_MAGIC_PLL was dropped during the changes made by adaplas in file revision 1.72 on the old bitkeeper repository. The change relating to the clock rate has been there forever, at least in the 2.6 tree. I'm not sure where to look for the old 2.5 tree or if anyone cares when it happened. On SPARC Blades 100's, which use the ATY MACH64GR video chipset, the clock crystal frequency is 235.2 Mhz, not 230 Mhz. The chipset also requires the use of M64F_SDRAM_MAGIC_PLL in order to setup the PLL properly for the DRAM. Signed-off-by: Luis F. Ortiz Signed-off-by: David S. Miller commit 5b2e98cdf3a6ac6c57de6a2156c673d4b0262684 tree d4e1c3acd232ffe1642dfcf764558360a7bfaea6 parent 54e269ead6e672325866037b0617a72edd1396b9 author Jared Hulbert Thu, 05 Jan 2006 21:12:26 +0000 committer Russell King Thu, 05 Jan 2006 21:12:26 +0000 [ARM] 3206/1: Modifications to the bus arbiter controller for the Intel PXA27x Patch from Jared Hulbert The following patch changes the bus arbiter controller settings for the Intel PXA27x Application Processor Family. Up to 5% better video performance. It parks the bus on the core while not in use and sets the arbitration for other bus items. The patch only applies changes to the Intel Mainstone development platform. This patch is not compatible with preproduction Intel PXA27x silicon. This patch is based on the Intel Linux Preview Kit released to the public on 25 Feb. 2005 found at ftp://ftp.arm.linux.org.uk/pub/linux/arm/people/xscale/mainstone/02-25-2005/. Signed-off-by: Justin A Treon Signed-off-by: Jared Hulbert Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 54e269ead6e672325866037b0617a72edd1396b9 tree 3076c2e0187657daed3054d511b62dc33a4c8f8b parent 2b9ac7c15c0c5c9d6057b9e297dabaebd208ffe8 author Deepak Saxena Thu, 05 Jan 2006 20:59:29 +0000 committer Russell King Thu, 05 Jan 2006 20:59:29 +0000 [ARM] 3226/1: IXP4xx runtime expansion bus window size configuration Patch from Deepak Saxena The expansion bus on the IXP46x NPU can be configured for either 32MiB or 16MiB windows and changing the configuration causes the base address for each chip select for each region to change. Because of this, we cannot hardcode the physical base as we currently do. This patch checks the expansion bus configuration registers at runtime to determine the appropriate window size. Note that this requires that the bootloader already configured the device sizes appropriately, but I feel that is valid assumption to make as the bootloader must configure and access the flash window, the output display (LCD, LEDs, etc) window, and other expansion bus devices. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 2b9ac7c15c0c5c9d6057b9e297dabaebd208ffe8 tree 44b063c573993d2a735b70e58d28bf4671e6803b parent 6a2273d6fc627d28a4de9beadf77ae6636b1e5d0 author Dan Williams Thu, 05 Jan 2006 20:53:02 +0000 committer Russell King Thu, 05 Jan 2006 20:53:02 +0000 [ARM] 3217/1: iop331 uarts as platform devices Patch from Dan Williams Convert old-style serial devices to platform devices so that printk's are visible during the boot process. Signed-off-by: Dan Williams Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 6a2273d6fc627d28a4de9beadf77ae6636b1e5d0 tree 686cb1ee9f791c3eba9be8d9d2cbaa4e87395257 parent 945b957972844881002ab4f68534581f4427a30b author Sascha Hauer Thu, 05 Jan 2006 20:44:58 +0000 committer Russell King Thu, 05 Jan 2006 20:44:58 +0000 [ARM] 3231/1: mx1ads board support cleanup Patch from Sascha Hauer - remove unnecessary mappings - rename mx1ads_device to cs89x0_device, because that's what it is - fix io/irq resource for cs89x0 device Signed-off-by: Sascha Hauer Signed-off-by: Russell King commit 945b957972844881002ab4f68534581f4427a30b tree 0b9a1deb5094b847ce943b8f101386f373f472c6 parent 53b7c2b243bd31f857dddabd9339f2dd6ae3fb67 author Richard Purdie Thu, 05 Jan 2006 20:44:57 +0000 committer Russell King Thu, 05 Jan 2006 20:44:57 +0000 [ARM] 3230/1: Sharp Scoop: Fix Shared Power Control Issues Patch from Richard Purdie The SL-Cxx00 devices have a power control register in SCOOP that is shared by both CF and MMC/SD card slots. The CF reset code was resetting this register leading to various lockups as the MMC power was suddenly lost. This patch handles the CPR register in a more sensitive manner. It also removes some unneeded collie specific calls as the reset code handles this. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 53b7c2b243bd31f857dddabd9339f2dd6ae3fb67 tree 5db702d4ad645ed477ed8096f069bc194dede94d parent b7557de41a04346cb545d4dda7088760cb96e713 author Richard Purdie Thu, 05 Jan 2006 20:44:55 +0000 committer Russell King Thu, 05 Jan 2006 20:44:55 +0000 [ARM] 3229/1: Remove uneeded ARM apm dependency on PM_LEGACY Patch from Richard Purdie ARM doesn't use ACPI so ARM's apm implementation has no need to depend on PM_LEGACY. This patch removes that dependency. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit b7557de41a04346cb545d4dda7088760cb96e713 tree df9acef34fdf1460858ed39b35d447f6bfdc95d1 parent 3125c68d70e3433c21234431a9df9e7336efa29f author Richard Purdie Thu, 05 Jan 2006 20:44:55 +0000 committer Russell King Thu, 05 Jan 2006 20:44:55 +0000 [ARM] 3228/1: SharpSL: Move PM code to arch/arm/common Patch from Richard Purdie This patch moves a large chunk of the sharpsl_pm driver to arch/arm/common so that it can be reused on other devices such as the SL-5500 (collie). It also abstracts some functions from the core into the machine and platform specific parts of the driver to aid reuse. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 3125c68d70e3433c21234431a9df9e7336efa29f tree d4602c154d66b301982a9c2ae8c2808dc7cd9a72 parent 4c70b926c91ba9c1ce3dc92d418f8e4670c8f16d author Richard Purdie Thu, 05 Jan 2006 20:44:52 +0000 committer Russell King Thu, 05 Jan 2006 20:44:52 +0000 [ARM] 3227/1: Spitz: Add pxa27x OHCI platform specific code Patch from Richard Purdie Add platform code to enable the ohci device on the pxa27x based Sharp Zaurus Cxx00 devices. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit e8eaedf2f8b368c26aa31a5a5a623b6867ef7f2b tree 3085c59beafdf6add373be3cc484c8ce510e615a parent 0ae2cfe7f3d88f061aa2656c7e881d3a0697d622 author Yasuyuki Kozakai Thu, 05 Jan 2006 12:28:57 -0800 committer David S. Miller Thu, 05 Jan 2006 12:28:57 -0800 [NETFILTER]: Use HOPLIMIT metric as TTL of TCP reset sent by REJECT HOPLIMIT metric is appropriate to TCP reset sent by REJECT target than hard-coded max TTL. Thanks to David S. Miller for hint. Signed-off-by: Yasuyuki Kozakai Signed-off-by: David S. Miller commit 0ae2cfe7f3d88f061aa2656c7e881d3a0697d622 tree e362c2a31994413beaa7ea75c38cae3e5b9b2e99 parent 22dea562bb56dbc3430c8f23f60ccd38527b1f5a author Patrick McHardy Thu, 05 Jan 2006 12:21:52 -0800 committer David S. Miller Thu, 05 Jan 2006 12:21:52 -0800 [NETFILTER]: nf_conntrack_l3proto_ipv4.c needs net/route.h CC [M] net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.o net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c: In function 'ipv4_refrag': net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c:198: error: dereferencing pointer to incomplete type make[3]: *** [net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.o] Error 1 Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 22dea562bb56dbc3430c8f23f60ccd38527b1f5a tree 4bcb8a3c6136e09a4864fa0d9948c4ff2892b2ed parent b777e0ce7437a0e788e2aeb42aca9af2cce1f2e1 author Patrick McHardy Thu, 05 Jan 2006 12:21:34 -0800 committer David S. Miller Thu, 05 Jan 2006 12:21:34 -0800 [NETFILTER]: Export ip6_masked_addrcmp, don't pass IPv6 addresses on stack Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit b777e0ce7437a0e788e2aeb42aca9af2cce1f2e1 tree cecbfdf5b78b909b80f3f04cbfdac7599f5a3352 parent 1bd9bef6f9fe06dd0c628ac877c85b6b36aca062 author Patrick McHardy Thu, 05 Jan 2006 12:21:16 -0800 committer David S. Miller Thu, 05 Jan 2006 12:21:16 -0800 [NETFILTER]: make ipv6_find_hdr() find transport protocol header The original ipv6_find_hdr() finds the specified header in IPv6 packets. This makes it possible to get transport header so that we can kill similar loop in ip6_match_packet(). Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1bd9bef6f9fe06dd0c628ac877c85b6b36aca062 tree 60b4bfdd06efc0ab5cf297c470a273f470b7c1f5 parent abbcc73982445c1457901c7fc1d0d110e7a587e3 author Patrick McHardy Thu, 05 Jan 2006 12:20:59 -0800 committer David S. Miller Thu, 05 Jan 2006 12:20:59 -0800 [NETFILTER]: Call POST_ROUTING hook before fragmentation Call POST_ROUTING hook before fragmentation to get rid of the okfn use in ip_refrag and save the useless fragmentation/defragmentation step when NAT is used. The patch introduces one user-visible change, the POSTROUTING chain in the mangle table gets entire packets, not fragments, which should simplify use of the MARK and CLASSIFY targets for queueing as a nice side-effect. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit abbcc73982445c1457901c7fc1d0d110e7a587e3 tree 1b4920052f0e4a9d4243f07791eca389f5582f9e parent a9b305c4e56f97d6a2ae4f21691bc13797498caf author Patrick McHardy Thu, 05 Jan 2006 12:20:40 -0800 committer David S. Miller Thu, 05 Jan 2006 12:20:40 -0800 [NETFILTER]: Remove okfn usage in ip_vs_core.c okfn should only be used from different contexts to avoid deep call chains, i.e. by nf_queue. Acked-by: Julian Anastasov Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit a9b305c4e56f97d6a2ae4f21691bc13797498caf tree db6474b1b08573fc4d2e1c97aacdf60791623af3 parent e7be6994ec68c38d8e23e647eac649b280c4fe5a author Patrick McHardy Thu, 05 Jan 2006 12:20:02 -0800 committer David S. Miller Thu, 05 Jan 2006 12:20:02 -0800 [NETFILTER]: ctnetlink: Fix dumping of helper name Properly dump the helper name instead of internal kernel data. Based on patch by Marcus Sundberg . Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit e7be6994ec68c38d8e23e647eac649b280c4fe5a tree b0ebac3839ce33579cbf3aa0965e1c0beecdb794 parent 87711cb81c33e75fe8c95137fe62c8d462ff781c author Patrick McHardy Thu, 05 Jan 2006 12:19:46 -0800 committer David S. Miller Thu, 05 Jan 2006 12:19:46 -0800 [NETFILTER]: Fix module_param types and permissions Fix netfilter module_param types and permissions. Also fix an off-by-one in the ipt_ULOG nlbufsiz < 128k check. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 87711cb81c33e75fe8c95137fe62c8d462ff781c tree 0e29e0143cca698931a867049a26f1702de68bf3 parent c1d10adb4a521de5760112853f42aaeefcec96eb author Pablo Neira Ayuso Thu, 05 Jan 2006 12:19:23 -0800 committer David S. Miller Thu, 05 Jan 2006 12:19:23 -0800 [NETFILTER]: Filter dumped entries based on the layer 3 protocol number Dump entries of a given Layer 3 protocol number. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit c1d10adb4a521de5760112853f42aaeefcec96eb tree c7ba283aa0b9016c8403fa6589b7b3418f71acda parent 205d67c7d942c057648148fefb17e46f77e3efd6 author Pablo Neira Ayuso Thu, 05 Jan 2006 12:19:05 -0800 committer David S. Miller Thu, 05 Jan 2006 12:19:05 -0800 [NETFILTER]: Add ctnetlink port for nf_conntrack Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 205d67c7d942c057648148fefb17e46f77e3efd6 tree f8724ee1c0809cccbbd61ad2a970d6cd84d2c0b6 parent d4d6bb41e09f07668ca2655da707eab936e8e8f0 author Pablo Neira Ayuso Thu, 05 Jan 2006 12:18:44 -0800 committer David S. Miller Thu, 05 Jan 2006 12:18:44 -0800 [NETFILTER]: ctnetlink: remove unused variable Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit d4d6bb41e09f07668ca2655da707eab936e8e8f0 tree a785fa9ade81b7591ff33c54a23fbcf234f296f5 parent 0368309cb45bbba99f84a01d5fc6a18780788480 author Pablo Neira Ayuso Thu, 05 Jan 2006 12:18:25 -0800 committer David S. Miller Thu, 05 Jan 2006 12:18:25 -0800 [NETFILTER]: ctnetlink: fix conntrack mark race Set conntrack mark before it is in hashes. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 0368309cb45bbba99f84a01d5fc6a18780788480 tree 4e49139b921d701b2fbf33d5e21016ee108a0ef1 parent 47116eb201571ad1198a8d76dc3571e85ba7c8c9 author Pablo Neira Ayuso Thu, 05 Jan 2006 12:18:08 -0800 committer David S. Miller Thu, 05 Jan 2006 12:18:08 -0800 [NETFILTER]: ctnetlink: ctnetlink_event cleanup Cleanup: Use 'else if' instead of a ugly 'goto' statement. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 47116eb201571ad1198a8d76dc3571e85ba7c8c9 tree 40dd334366d7c4c0bb264d52a2138eebf5d97c05 parent 984955b3d7f9943becf9915601f49a1fb7a41f7a author Pablo Neira Ayuso Thu, 05 Jan 2006 12:17:50 -0800 committer David S. Miller Thu, 05 Jan 2006 12:17:50 -0800 [NETFILTER]: ctnetlink: use u_int32_t instead of unsigned int Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 984955b3d7f9943becf9915601f49a1fb7a41f7a tree 890933098933171b48c19119715e9c69a6d46385 parent 90c4656eb4871c47a5d9fe7050590c9bb8b78b5a author Pablo Neira Ayuso Thu, 05 Jan 2006 12:17:29 -0800 committer David S. Miller Thu, 05 Jan 2006 12:17:29 -0800 [NETFILTER]: ctnetlink: propagate ctnetlink_dump_tuples_proto return value back Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 90c4656eb4871c47a5d9fe7050590c9bb8b78b5a tree 2860756314d852ba41a5fbe67b0295c570d93dd8 parent 684f7b296c0cb8238ce63f1828d33a00d5f3a26e author Yasuyuki Kozakai Thu, 05 Jan 2006 12:17:03 -0800 committer David S. Miller Thu, 05 Jan 2006 12:17:03 -0800 [NETFILTER]: ctnetlink: Add sanity checkings for ICMP Signed-off-by: Yasuyuki Kozakai Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 684f7b296c0cb8238ce63f1828d33a00d5f3a26e tree 97b357cc6a07bf38d071d0cce41227d43217b1e6 parent d695aa8a1f133359485e15db06d53e15e7309e4d author Pablo Neira Ayuso Thu, 05 Jan 2006 12:16:41 -0800 committer David S. Miller Thu, 05 Jan 2006 12:16:41 -0800 [NETFILTER]: ctnetlink: remove bogus checks in ICMP protocol at dumping Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit d695aa8a1f133359485e15db06d53e15e7309e4d tree 913bdfe6b01ee1791ceb455fa28443c87c09f6d3 parent 3e4ead4fe5d0d9fdd7ad6749e6e608d39dd46e8a author Jesper Juhl Thu, 05 Jan 2006 12:16:16 -0800 committer David S. Miller Thu, 05 Jan 2006 12:16:16 -0800 [NETFILTER]: Decrease number of pointer derefs in nf_conntrack_core.c Benefits of the patch: - Fewer pointer dereferences should make the code slightly faster. - Size of generated code is smaller - improved readability Signed-off-by: Jesper Juhl Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 3e4ead4fe5d0d9fdd7ad6749e6e608d39dd46e8a tree 64abb015416af552edb47022f740ac8c056456c0 parent 4ffd2e4907184813101cefa7196102927cdbe104 author Jesper Juhl Thu, 05 Jan 2006 12:15:58 -0800 committer David S. Miller Thu, 05 Jan 2006 12:15:58 -0800 [NETFILTER]: Decrease number of pointer derefs in nfnetlink_queue.c Benefits of the patch: - Fewer pointer dereferences should make the code slightly faster. - Size of generated code is smaller - improved readability Signed-off-by: Jesper Juhl Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 4ffd2e4907184813101cefa7196102927cdbe104 tree aa7dee01e33b03fc8eeda3bd475210c181fa9b70 parent db9edfd7e339ca4113153d887e782dd05be5a9eb author Adrian Bunk Thu, 05 Jan 2006 12:14:43 -0800 committer David S. Miller Thu, 05 Jan 2006 12:14:43 -0800 [IPVS]: Fix compilation Signed-off-by: Adrian Bunk Acked-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 5c3eee79128c372a81a83665be2332a000944280 tree e44331d36d63adc971003cc32540d0cb0c019525 parent 408045afbdb46e109a1a44e67af688e9ddf7ad66 parent db9edfd7e339ca4113153d887e782dd05be5a9eb author Tony Luck Thu, 05 Jan 2006 08:52:11 -0800 committer Tony Luck Thu, 05 Jan 2006 08:52:11 -0800 Auto-update from upstream commit 0a75c23a009ff65f651532cecc16675d05f4de37 tree bdcd6158758fe1810f0ddddb80d2816779518688 parent 34b8c399dc04c8e51f014b73458e654570698597 parent db9edfd7e339ca4113153d887e782dd05be5a9eb author Jody McIntyre Thu, 05 Jan 2006 08:03:40 -0500 committer Jody McIntyre Thu, 05 Jan 2006 08:03:40 -0500 Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit dd68e88c72ac9ad25052065c4a443326eda6a052 tree 0119b11909b08a5327f7a70130a1e596a0b274dc parent ea8874dc3881c2a496a4bd6bc981f707cc6a0db1 author Andrew Morton Thu, 05 Jan 2006 10:55:26 +0000 committer Russell King Thu, 05 Jan 2006 10:55:26 +0000 [SERIAL] 8520_pci: build fix _INLINE_ went away. Signed-off-by: Andrew Morton Signed-off-by: Russell King commit f3e2628bed0d5a88ced8239b35f1534557f9631c tree 5261ca866b3adffcb186d2b1f6db9f4e44302995 parent e9c091b47409255cefa1672041479d850b7b991a author Evgeniy Polyakov Thu, 05 Jan 2006 10:31:23 +0000 committer Russell King Thu, 05 Jan 2006 10:31:23 +0000 [MMC] mmci: kunmap_atomic() unmaps virtual address, not page Signed-off-by: Evgeniy Polyakov Signed-off-by: Andrew Morton Signed-off-by: Russell King commit db9edfd7e339ca4113153d887e782dd05be5a9eb tree 0a4ba12447a0cabc800adc7e9667d284777b0181 parent 631b034724364b413e8a52e7c2e03a9d77e4c2b4 parent fd586bacf439f36dea9b9bf6e6133ac87df2730c author Linus Torvalds Wed, 04 Jan 2006 18:44:12 -0800 committer Linus Torvalds Wed, 04 Jan 2006 18:44:12 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6 Trivial manual merge fixup for usb_find_interface clashes. commit 631b034724364b413e8a52e7c2e03a9d77e4c2b4 tree 9df818466b2a67debe2213f65dc2bcd3cde961ea parent 3adfd4e2b8804e926a5245062ba8ee12e88d30c3 author Chuck Ebbert <76306.1226@compuserve.com> Tue, 03 Jan 2006 22:36:14 -0500 committer Linus Torvalds Wed, 04 Jan 2006 16:47:42 -0800 [PATCH] i386: "invalid operand" -> "invalid opcode" According to the manual, INT 6 is "invalid opcode", not "invalid operand". Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Linus Torvalds commit 3adfd4e2b8804e926a5245062ba8ee12e88d30c3 tree abcd17bd38ac7609566977bc5070573f16ed1be3 parent 4da5cc2cec8caec1d357053e85a7a32f243f93a1 author Deepak Saxena Tue, 03 Jan 2006 12:50:30 -0800 committer Linus Torvalds Wed, 04 Jan 2006 16:47:42 -0800 [PATCH] Fix IXP4xx watchdog errata workaround The IXP4xx driver bails out on all A0 CPUs, but it should only do so on IXP42x as IXP46x has functioning HW. Signed-off-by: Deepak Saxena Signed-off-by: Linus Torvalds commit 4da5cc2cec8caec1d357053e85a7a32f243f93a1 tree 3f8b603af4af88f86be7ec1d4e3639a7fc9dd1a6 parent 25c862cc9ea9b312c25a9f577f91b973131f1261 parent c6f43290ae687c11cdcd150d8bfeb57ec29cfa5b author Linus Torvalds Wed, 04 Jan 2006 16:38:36 -0800 committer Linus Torvalds Wed, 04 Jan 2006 16:38:36 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/perex/alsa commit 25c862cc9ea9b312c25a9f577f91b973131f1261 tree 8e8f56531144370ced50fa98db2973f4e93e38b0 parent 52347f4e810ba323d02cd2c26b5d738f4a2c3d5e parent 8ded4ac018ea706bf7ee926601a27184665c9c28 author Linus Torvalds Wed, 04 Jan 2006 16:36:52 -0800 committer Linus Torvalds Wed, 04 Jan 2006 16:36:52 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild commit 52347f4e810ba323d02cd2c26b5d738f4a2c3d5e tree d956016f7aefff1030ca0f7885ac6a6f890a9e94 parent 1cb9e8e01d2c73184e2074f37cd155b3c4fdaae6 parent 48d727a9f93e617d6d443507acf7d1b849c63366 author Linus Torvalds Wed, 04 Jan 2006 16:34:57 -0800 committer Linus Torvalds Wed, 04 Jan 2006 16:34:57 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial commit 1cb9e8e01d2c73184e2074f37cd155b3c4fdaae6 tree 3c8d1716cd53ed77a935036090323a1ae9a7963b parent d779188d2baf436e67fe8816fca2ef53d246900f parent a18ceba7b40e24a9da87249bd74f16ea5abd6894 author Linus Torvalds Wed, 04 Jan 2006 16:32:33 -0800 committer Linus Torvalds Wed, 04 Jan 2006 16:32:33 -0800 Merge branch 'upstream' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev commit d779188d2baf436e67fe8816fca2ef53d246900f tree 9bac75842a5611172860feec3c4019ff874a2b89 parent f61ea1b0c825a20a1826bb43a226387091934586 parent ac67c6247361b3b8644b34e5301a46d5069c1373 author Linus Torvalds Wed, 04 Jan 2006 16:31:56 -0800 committer Linus Torvalds Wed, 04 Jan 2006 16:31:56 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit f61ea1b0c825a20a1826bb43a226387091934586 tree fdedf0a2368f707e3fd5205db05bfcbac79606ec parent d347da0deffa1d8f88f0d270eab040e4707c9916 parent 7b32b8e018d8f8cc94c808a5fa84a3f889441b91 author Linus Torvalds Wed, 04 Jan 2006 16:30:12 -0800 committer Linus Torvalds Wed, 04 Jan 2006 16:30:12 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 commit d347da0deffa1d8f88f0d270eab040e4707c9916 tree e0911f2ef4d36a7b44f7a5379feabebbd37dcfc4 parent c6c88bbde4d8b2ffe9886b7130b2e23781d424e5 parent 74cb8798222bb7d1aecb0acb91e6eeedf5feb948 author Linus Torvalds Wed, 04 Jan 2006 16:27:41 -0800 committer Linus Torvalds Wed, 04 Jan 2006 16:27:41 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 commit c6c88bbde4d8b2ffe9886b7130b2e23781d424e5 tree 47c2b61983acc6fbc42d89813729b87bbaf2aed9 parent 0356dbb7fe87ba59558902e536d9f960e87353c1 parent c8dd7709c534ab0d713aa698c99132b6c812b57c author Linus Torvalds Wed, 04 Jan 2006 16:25:44 -0800 committer Linus Torvalds Wed, 04 Jan 2006 16:25:44 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 commit 0356dbb7fe87ba59558902e536d9f960e87353c1 tree 2cb23f809c838f0bd7406845ea0a8e7cb5875c99 parent e28cc71572da38a5a12c1cfe4d7032017adccf69 parent 95235ca2c20ac0b31a8eb39e2d599bcc3e9c9a10 author Linus Torvalds Wed, 04 Jan 2006 16:21:26 -0800 committer Linus Torvalds Wed, 04 Jan 2006 16:21:26 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq commit e28cc71572da38a5a12c1cfe4d7032017adccf69 tree bea9af22a98ea2988a38f5e9fc2467ccbbf3ae70 parent a020ff412f0ecbb1e4aae1681b287e5785dd77b5 author Linus Torvalds Wed, 04 Jan 2006 16:20:40 -0800 committer Linus Torvalds Wed, 04 Jan 2006 16:20:40 -0800 Relax the rw_verify_area() error checking. In particular, allow over-large read- or write-requests to be downgraded to a more reasonable range, rather than considering them outright errors. We want to protect lower layers from (the sadly all too common) overflow conditions, but prefer to do so by chopping the requests up, rather than just refusing them outright. Cc: Peter Anvin Cc: Ulrich Drepper Cc: Andi Kleen Cc: Al Viro Signed-off-by: Linus Torvalds commit fd586bacf439f36dea9b9bf6e6133ac87df2730c tree 2d0ea08194e086851b4a35d1003aa8be376ab683 parent 1f1bf132d81ed723bc5fefbcec7d0779ce683a4f author Kay Sievers Mon, 19 Dec 2005 01:42:56 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:10 -0800 [PATCH] net: swich device attribute creation to default attrs Recent udev versions don't longer cover bad sysfs timing with built-in logic. Explicit rules are required to do that. For net devices, the following is needed: ACTION=="add", SUBSYSTEM=="net", WAIT_FOR_SYSFS="address" to handle access to net device properties from an event handler without races. This patch changes the main net attributes to be created by the driver core, which is done _before_ the event is sent out and will not require the stat() loop of the WAIT_FOR_SYSFS key. Signed-off-by: Kay Sievers Acked-by: David S. Miller Signed-off-by: Greg Kroah-Hartman commit 1f1bf132d81ed723bc5fefbcec7d0779ce683a4f tree 59cfbf241906753770c6150ef76efd1816210b74 parent e80a5dea8e056d8f398be1900d61c581d379f02f author Adrian Bunk Mon, 12 Dec 2005 01:31:03 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:10 -0800 [PATCH] drivers/base/power/runtime.c: #if 0 dpm_set_power_state() This patch #if 0's an unused global function. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit e80a5dea8e056d8f398be1900d61c581d379f02f tree 97d6e0d1c669987c54961bec49347b3717e55d52 parent 8218ef80932aa7e5e3d20c929a640c8d82133a9a author Steven Rostedt Wed, 23 Nov 2005 09:15:44 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:09 -0800 [PATCH] sysfs: handle failures in sysfs_make_dirent I noticed that if sysfs_make_dirent fails to allocate the sd, then a null will be passed to sysfs_put. Signed-off-by: Steven Rostedt Signed-off-by: Greg Kroah-Hartman commit 8218ef80932aa7e5e3d20c929a640c8d82133a9a tree 73f2e7a972563cf536a7dae0fa02d99c4041d893 parent 874c6241b2e49e52680d32a50d4909c7768d5cb9 author Greg Kroah-Hartman Tue, 13 Dec 2005 15:17:34 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:09 -0800 [PATCH] Driver core: Make block devices create the proper symlink name Block devices need to add the block device name to the symlink they put in the device directory, otherwise multiple symlinks of the same name can be created. This matches the class system, which works the same way, we just forgot to convert block at the same time. Cc: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 874c6241b2e49e52680d32a50d4909c7768d5cb9 tree 815b08ab6793cd45346c3d5f6a3875f36c0bfc91 parent a96b204208443ab7e23c681f7ddabe807a741d0c author Greg Kroah-Hartman Tue, 13 Dec 2005 15:17:34 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:09 -0800 [PATCH] Driver core: only all userspace bind/unbind if CONFIG_HOTPLUG is enabled Thanks to drivers making their id tables __devinit, we can't allow userspace to bind or unbind drivers from devices manually through sysfs. So we only allow this if CONFIG_HOTPLUG is enabled. Cc: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit a96b204208443ab7e23c681f7ddabe807a741d0c tree 7dacd3fe2790e1c5a922ff30fdab00b689a83998 parent 93ce3061be212f6280e7ccafa9a7f698a95c6d75 author Dmitry Torokhov Sat, 10 Dec 2005 01:36:28 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:09 -0800 [PATCH] Driver Core: Rearrange exports in platform.c Driver core: rearrange exports in platform.c The new way is to specify export right after symbol definition. Rearrange exports to follow new style to avoid mixing two styles in one file. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 93ce3061be212f6280e7ccafa9a7f698a95c6d75 tree a451566360fea86ef597fcd2fe693dce65626f93 parent e39b84337b8aed3044683a57741a19e5002225b9 author Dmitry Torokhov Sat, 10 Dec 2005 01:36:27 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:09 -0800 [PATCH] Driver Core: Add platform_device_del() Driver core: add platform_device_del function Having platform_device_del90 allows more straightforward error handling code in drivers registering platform devices. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit e39b84337b8aed3044683a57741a19e5002225b9 tree b0e6fdd68b9b7d24b984401795f4660cc9cf7d0b parent 1d8f430c15b3a345db990e285742c67c2f52f9a6 author Rusty Russell Sat, 10 Dec 2005 22:48:20 +1100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:09 -0800 [PATCH] Input: fix add modalias support build error Fix build when scripts/mod/file2alias.c includes linux/input.h, which tries to include /usr/include/linux/mod_devicetable.h: In file included from scripts/mod/file2alias.c:40: include/linux/input.h:21:35: linux/mod_devicetable.h: No such file or directory make[2]: *** [scripts/mod/file2alias.o] Error 1 Signed-off-by: Rusty Russell Signed-off-by: Greg Kroah-Hartman commit 1d8f430c15b3a345db990e285742c67c2f52f9a6 tree 7bf8ae0929ebf581c4de68e7f4be9f6ea672d453 parent 263756ec228f1cdd49fc50b1f87001a4cebdfe12 author Rusty Russell Wed, 07 Dec 2005 21:40:34 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:09 -0800 [PATCH] Input: add modalias support Here's the patch for modalias support for input classes. It uses comma-separated numbers, and doesn't describe all the potential keys (no module currently cares, and that would make the strings huge). The changes to input.h are to move the definitions needed by file2alias outside __KERNEL__. I chose not to move those definitions to mod_devicetable.h, because there are so many that it might break compile of something else in the kernel. The rest is fairly straightforward. Signed-off-by: Rusty Russell CC: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 263756ec228f1cdd49fc50b1f87001a4cebdfe12 tree 502925a94655348a768f25180e49126688100a8d parent f743ca5e10f4145e0b3e6d11b9b46171e16af7ce author Kay Sievers Mon, 12 Dec 2005 18:03:44 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:09 -0800 [PATCH] ide: MODALIAS support for autoloading of ide-cd, ide-disk, ... IDE: MODALIAS support for autoloading of ide-cd, ide-disk, ... Add MODULE_ALIAS to IDE midlayer modules: ide-disk, ide-cd, ide-floppy and ide-tape, to autoload these modules depending on the probed media type of the IDE device. It is used by udev and replaces the former agent shell script of the hotplug package, which was required to lookup the media type in the proc filesystem. Using proc was racy, cause the media file is created after the hotplug event is sent out. The module autoloading does not take any effect, until something like the following udev rule is configured: SUBSYSTEM=="ide", ACTION=="add", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}" The module ide-scsi will not be autoloaded, cause it requires manual configuration. It can't be, and never was supported for automatic setup in the hotplug package. Adding a MODULE_ALIAS to ide-scsi for all supported media types, would just lead to a default blacklist entry anyway. $ modinfo ide-disk filename: /lib/modules/2.6.15-rc4-g1b0997f5/kernel/drivers/ide/ide-disk.ko description: ATA DISK Driver alias: ide:*m-disk* license: GPL ... $ modprobe -vn ide:m-disk insmod /lib/modules/2.6.15-rc4-g1b0997f5/kernel/drivers/ide/ide-disk.ko $ cat /sys/bus/ide/devices/0.0/modalias ide:m-disk It also adds attributes to the IDE device: $ tree /sys/bus/ide/devices/0.0/ /sys/bus/ide/devices/0.0/ |-- bus -> ../../../../../../../bus/ide |-- drivename |-- media |-- modalias |-- power | |-- state | `-- wakeup `-- uevent $ cat /sys/bus/ide/devices/0.0/{modalias,drivename,media} ide:m-disk hda disk Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit f743ca5e10f4145e0b3e6d11b9b46171e16af7ce tree e21e900b2400d66a6da37492951e80c6f4cf4230 parent d960bb4db9f422b5c3c82e0dfd6c8213a4fc430d author akpm@osdl.org Tue, 22 Nov 2005 23:36:13 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:08 -0800 [PATCH] kobject_uevent CONFIG_NET=n fix lib/lib.a(kobject_uevent.o)(.text+0x25f): In function `kobject_uevent': : undefined reference to `__alloc_skb' lib/lib.a(kobject_uevent.o)(.text+0x2a1): In function `kobject_uevent': : undefined reference to `skb_over_panic' lib/lib.a(kobject_uevent.o)(.text+0x31d): In function `kobject_uevent': : undefined reference to `skb_over_panic' lib/lib.a(kobject_uevent.o)(.text+0x356): In function `kobject_uevent': : undefined reference to `netlink_broadcast' lib/lib.a(kobject_uevent.o)(.init.text+0x9): In function `kobject_uevent_init': : undefined reference to `netlink_kernel_create' make: *** [.tmp_vmlinux1] Error 1 Netlink is unconditionally enabled if CONFIG_NET, so that's OK. kobject_uevent.o is compiled even if !CONFIG_HOTPLUG, which is lazy. Let's compound the sin. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit d960bb4db9f422b5c3c82e0dfd6c8213a4fc430d tree a5d79803da3f7e20fa55f6fd1b8ec9c74ef0c322 parent e22dafbcd7a579c29a424d5203b5b33b131948a7 author Kumar Gala Mon, 28 Nov 2005 10:15:39 -0600 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:08 -0800 [PATCH] Allow overlapping resources for platform devices There are cases in which a device's memory mapped registers overlap with another device's memory mapped registers. On several PowerPC devices this occurs for the MDIO bus, whose registers tended to overlap with one of the ethernet controllers. By switching from request_resource to insert_resource we can register the MDIO bus as a proper platform device and not hack around how we handle its memory mapped registers. Signed-off-by: Kumar Gala Signed-off-by: Greg Kroah-Hartman commit e22dafbcd7a579c29a424d5203b5b33b131948a7 tree 122969a87ba706be8374beb15bc03493e3601404 parent bf74ad5bc41727d5f2f1c6bedb2c1fac394de731 author Frank Pavlic Sat, 26 Nov 2005 20:48:40 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:08 -0800 [PATCH] klist: Fix broken kref counting in find functions The klist reference counting in the find functions that use klist_iter_init_node is broken. If the function (for example driver_find_device) is called with a NULL start object then everything is fine, the first call to next_device()/klist_next increases the ref-count of the first node on the list and does nothing for the start object which is NULL. If they are called with a valid start object then klist_next will decrement the ref-count for the start object but nobody has incremented it. Logical place to fix this would be klist_iter_init_node because the function puts a reference of the object into the klist_iter struct. Signed-off-by: Martin Schwidefsky Signed-off-by: Frank Pavlic Cc: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit bf74ad5bc41727d5f2f1c6bedb2c1fac394de731 tree 1e46f41550a9fe6df40fedeace23f5aff656b478 parent 6d20b035dee4300e9786c6e1cb77a765c7f9460a author Alan Stern Thu, 17 Nov 2005 16:54:12 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:08 -0800 [PATCH] Hold the device's parent's lock during probe and remove This patch (as604) makes the driver core hold a device's parent's lock as well as the device's lock during calls to the probe and remove methods in a driver. This facility is needed by USB device drivers, owing to the peculiar way USB devices work: A device provides multiple interfaces, and drivers are bound to interfaces rather than to devices; Nevertheless a reset, reset-configuration, suspend, or resume affects the entire device and requires the caller to hold the lock for the device, not just a lock for one of the interfaces. Since a USB driver's probe method is always called with the interface lock held, the locking order rules (always lock parent before child) prevent these methods from acquiring the device lock. The solution provided here is to call all probe and remove methods, for all devices (not just USB), with the parent lock already acquired. Although currently only the USB subsystem requires these changes, people have mentioned in prior discussion that the overhead of acquiring an extra semaphore in all the prove/remove sequences is not overly large. Up to now, the USB core has been using its own set of private semaphores. A followup patch will remove them, relying entirely on the device semaphores provided by the driver core. The code paths affected by this patch are: device_add and device_del: The USB core already holds the parent lock, so no actual change is needed. driver_register and driver_unregister: The driver core will now lock both the parent and the device before probing or removing. driver_bind and driver_unbind (in sysfs): These routines will now lock both the parent and the device before binding or unbinding. bus_rescan_devices: The helper routine will lock the parent before probing a device. I have not tested this patch for conflicts with other subsystems. As far as I can see, the only possibility of conflict would lie in the bus_rescan_devices pathway, and it seems pretty remote. Nevertheless, it would be good for this to get a lot of testing in -mm. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 6d20b035dee4300e9786c6e1cb77a765c7f9460a tree 104596b8fca1f4946da8d499a8429e5decf7e2d9 parent 712f47cea7703a340406fde61e84eb86ce781988 author Paul Jackson Fri, 25 Nov 2005 20:04:26 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:08 -0800 [PATCH] driver kill hotplug word from sn and others fix The first of these changes s/hotplug/uevent/ was needed to compile sn2_defconfig (ia64/sn). The other three files changed are blind changes of all remaining bus_type.hotplug references I could find to bus_type.uevent. This patch attempts to finish similar changes made in the gregkh-driver-kill-hotplug-word-from-driver-core Nov 22 patch. Signed-off-by: Paul Jackson Signed-off-by: Greg Kroah-Hartman commit 712f47cea7703a340406fde61e84eb86ce781988 tree cf8a4ae14b1503446000454151ef5c8cef507336 parent 312c004d36ce6c739512bac83b452f4c20ab1f62 author Greg Kroah-Hartman Wed, 16 Nov 2005 11:27:07 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:08 -0800 [PATCH] HOTPLUG: always enable the .config option, unless EMBEDDED With modules, dynamic /dev, and uevents, people really want CONFIG_HOTPLUG to be enabled in their kernels. If not, they can still disable it, but it is discouraged. Signed-off-by: Greg Kroah-Hartman commit 312c004d36ce6c739512bac83b452f4c20ab1f62 tree e61e8331680a0da29557fe21414d3b31e62c9293 parent 5f123fbd80f4f788554636f02bf73e40f914e0d6 author Kay Sievers Wed, 16 Nov 2005 09:00:00 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:08 -0800 [PATCH] driver core: replace "hotplug" by "uevent" Leave the overloaded "hotplug" word to susbsystems which are handling real devices. The driver core does not "plug" anything, it just exports the state to userspace and generates events. Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 5f123fbd80f4f788554636f02bf73e40f914e0d6 tree dbb7db4c62fa8130a393ce772cf819fcffe2606b parent 033b96fd30db52a710d97b06f87d16fc59fee0f1 author Kay Sievers Fri, 11 Nov 2005 14:43:07 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:07 -0800 [PATCH] merge kobject_uevent and kobject_hotplug The distinction between hotplug and uevent does not make sense these days, netlink events are the default. udev depends entirely on netlink uevents. Only during early boot and in initramfs, /sbin/hotplug is needed. So merge the two functions and provide only one interface without all the options. The netlink layer got a nice generic interface with named slots recently, which is probably a better facility to plug events for subsystem specific events. Also the new poll() interface to /proc/mounts is a nicer way to notify about changes than sending events through the core. The uevents should only be used for driver core related requests to userspace now. Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 033b96fd30db52a710d97b06f87d16fc59fee0f1 tree 00fbccf2cf478307e213f298a221e330f3ba12ae parent 0f76e5acf9dc788e664056dda1e461f0bec93948 author Kay Sievers Fri, 11 Nov 2005 06:09:55 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:07 -0800 [PATCH] remove mount/umount uevents from superblock handling The names of these events have been confusing from the beginning on, as they have been more like claim/release events. We needed these events for noticing HAL if storage devices have been mounted. Thanks to Al, we have the proper solution now and can poll() /proc/mounts instead to get notfied about mount tree changes. Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 0f76e5acf9dc788e664056dda1e461f0bec93948 tree fdb7db438cb03fb3e0508d582a7cc1321c62efed parent 0296b2281352e4794e174b393c37f131502e09f0 author Kay Sievers Fri, 11 Nov 2005 04:58:04 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:07 -0800 [PATCH] add uevent_helper control in /sys/kernel/ This deprecates the /proc/sys/kernel/hotplug file, as all this stuff should be in /sys some day, right? :) In /sys/kernel/ we have now uevent_seqnum and uevent_helper. The seqnum is no longer used by udev, as the version for this kernel depends on netlink which events will never get out-of-order. Recent udev versions disable the /sbin/hotplug helper with an init script, cause it leads to OOM on big boxes by running hundreds of shells in parallel. It should be done now by: echo "" > /sys/kernel/uevent_helper (Note that "-n" does not work, cause neighter proc nor sysfs support truncate().) Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 0296b2281352e4794e174b393c37f131502e09f0 tree 874e1de7ffaf56ab14f031d2818b69853c4914d8 parent 034382117725f6b6b26fbb138498139c5c012c1b author Kay Sievers Fri, 11 Nov 2005 05:33:52 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:07 -0800 [PATCH] remove CONFIG_KOBJECT_UEVENT option It makes zero sense to have hotplug, but not the netlink events enabled today. Remove this option and merge the kobject_uevent.h header into the kobject.h header file. Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 034382117725f6b6b26fbb138498139c5c012c1b tree 2f920e992b26b35924753d06765a5d525a364a5c parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Kay Sievers Fri, 11 Nov 2005 04:25:06 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:07 -0800 [PATCH] keep pnpbios usermod_helper away from hotplug_path[] These days we use udev to manage all kernel events. /proc/sys/kernel/hotplug will usually be disabled by an init-script. pnpnbios is not integrated with the driver core and should stay away from the now disabled /sbin/hotplug. Set the helper to /sbin/phpbios, even when there is probably no current user of this faciliy. If it's needed, it should definitely get proper driver core integration instead of forking binaries from the kernel. Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 1d7d2f6f476cf7aa65f9f740a6c932fb75608110 tree d85f316160717bde054302d88e5007073ff82e4d parent c4342d8a4d95e18b957b898dbf5bfce28fca2780 author Jack Morgenstein Wed, 04 Jan 2006 14:42:39 -0800 committer Roland Dreier Wed, 04 Jan 2006 14:42:39 -0800 IB/mthca: fix WQE size calculation in create-srq Thinko: 64 bytes is the minimum SRQ WQE size (not the maximum). Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 74cb8798222bb7d1aecb0acb91e6eeedf5feb948 tree 830ed6e12774714149d6a73be2d7dc9d10fbd481 parent 9369986306d4692f37b61302d4e1ce3054d8833e author Thomas Young Wed, 04 Jan 2006 13:59:32 -0800 committer David S. Miller Wed, 04 Jan 2006 13:59:32 -0800 [TCP] tcp_vegas: Fix slow start Vegas' slow start was only adding one MSS per RTT rather than one for every ack. Slow start behavior should now match Reno. Signed-off-by: Thomas Young Signed-off-by: David S. Miller commit 9369986306d4692f37b61302d4e1ce3054d8833e tree 104133156ada1b78fbfc8d3d84a4c8ae9ee9060a parent 181a46a56e9f852060c54247209e93740329b6eb author Kris Katterjohn Wed, 04 Jan 2006 13:58:36 -0800 committer David S. Miller Wed, 04 Jan 2006 13:58:36 -0800 [NET]: More instruction checks fornet/core/filter.c Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit 181a46a56e9f852060c54247209e93740329b6eb tree 656f6eaf5e26f17bde97dc74a892e83f68fe1649 parent 196433c5b788eb732fdcf92449274e302f089ce4 author YOSHIFUJI Hideaki Wed, 04 Jan 2006 13:56:54 -0800 committer David S. Miller Wed, 04 Jan 2006 13:56:54 -0800 [NETFILTER]: Use macro for spinlock_t/rwlock_t initializations/definition. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 196433c5b788eb732fdcf92449274e302f089ce4 tree 905f1da8155eb2b2b00e98e30532ba33fbc3a909 parent ca4033024858fcbd392465ba9cbf4c838aedfb58 author YOSHIFUJI Hideaki Wed, 04 Jan 2006 13:56:31 -0800 committer David S. Miller Wed, 04 Jan 2006 13:56:31 -0800 [IPV6]: Use macro for rwlock_t initialization. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit ca4033024858fcbd392465ba9cbf4c838aedfb58 tree 1cc64bc39d641ee033408ab1f22b612352a69331 parent f190055ff5c08a877d3e1ac2e0300fd92c264b06 author YOSHIFUJI Hideaki Wed, 04 Jan 2006 13:56:08 -0800 committer David S. Miller Wed, 04 Jan 2006 13:56:08 -0800 [ECONET]: Use macro for spinlock_t definition. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit a020ff412f0ecbb1e4aae1681b287e5785dd77b5 tree 94fba0f0ade540eaae89051971b49bd29803be51 parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author David Howells Wed, 04 Jan 2006 18:01:03 +0000 committer Linus Torvalds Wed, 04 Jan 2006 13:55:35 -0800 [PATCH] Fix pragma packing in ip2 driver This fixes the pragma packing in the ip2 driver by popping the previous setting rather than explicitly assuming that the correct setting is 4. This also gets around a compiler bug in the FRV compiler when building allmodconfig. Signed-Off-By: David Howells Signed-off-by: Linus Torvalds commit c8dd7709c534ab0d713aa698c99132b6c812b57c tree 30daa90dfdf17ef397efe4230f6dfb03060d669d parent cb5b3f6950b4fbad9d8d41756f49aba792804b5b author Sam Bishop Thu, 22 Dec 2005 17:11:02 -0700 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:45 -0800 [PATCH] USB: fix usb-skeleton limit resource usage patch. Prevents a compiler warning and uses down_interruptible() instead of down() in process context. Signed-off-by: Sam Bishop Signed-off-by: Greg Kroah-Hartman commit cb5b3f6950b4fbad9d8d41756f49aba792804b5b tree 52359251d2f32767be54ab9e0e5fe2ad69f9a9f1 parent f5691d70d4aeec0ac9cff11f0cabb7d5a1735705 author Olav Kongas Thu, 22 Dec 2005 12:44:52 +0200 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:45 -0800 [PATCH] USB: fix buffer size limiting in skeleton driver Fix buffer size limiting. Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman commit f5691d70d4aeec0ac9cff11f0cabb7d5a1735705 tree 124e1d04ab52425be1417e71387ae7036e03152c parent a9714c845c0681a203a9ae22aa5165ec72c51d33 author Pete Zaitcev Wed, 21 Dec 2005 17:24:54 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:44 -0800 [PATCH] USB: fix usb_find_interface for ppc64 Fix usb_find_interface. You cannot case pointers to int and long on a big-endian 64-bitter without consequences. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit a9714c845c0681a203a9ae22aa5165ec72c51d33 tree f08697d81eca4e6e877b0d3d3561f7f8bf8111e7 parent 318e479eb7ad9a948c6da381976d258464413816 author David Woodhouse Fri, 23 Dec 2005 16:41:41 +0000 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:44 -0800 [PATCH] USB: Export IEEE-1284 device id in sysfs for usblp devices I looked at the userspace code which uses the LPIOC_GET_DEVICE_ID ioctl and I almost went blind. Let's export it in sysfs instead, and just as a string instead of with a big-endian length at the beginning of it. This also prints the message about finding the printer _after_ we know the minor device number it's going to have, rather than reporting all printers as 'usblp0'. Signed-off-by: David Woodhouse Signed-off-by: Greg Kroah-Hartman commit 318e479eb7ad9a948c6da381976d258464413816 tree d73ef1b9d684ec47d9d963190b85e62df26c2fcc parent a083dec0ed537a75fbe8f2f83d198e9e672240d8 author Pete Zaitcev Wed, 21 Dec 2005 17:03:24 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:44 -0800 [PATCH] USB: ioctl compat for usblp.c From: David Woodhouse David has a G5 with a printer. I am quite surprised that nobody else noticed this before. Linus has a G5. Hackers hate printing in general, maybe. We do not use BKL anymore, because one of code paths had a sleeping call, so we had to use a semaphore. I am sure it's safe to use unlocked_ioctl. The new ioctls return long and retval is int. It looks completely fine to me. We never want these extra bits, and the sign extension ought to work right. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman -- commit a083dec0ed537a75fbe8f2f83d198e9e672240d8 tree 8d214715bf0612a18103cf1169976375db95f631 parent ff90651883093576de2d60bebaae39b0dd2e62f6 author Nathan Lynch Sun, 18 Dec 2005 23:41:38 -0600 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:44 -0800 [PATCH] USB: zd1201: make sysfs device symlink Noticed that my zd1201 adapter isn't "seen" by hal and NetworkManager. The problem seems to be that unlike other network device drivers I checked, zd1201 does not do a SET_NETDEV_DEV(), which makes it so a "device" symlink is created under /sys/class/net/wlan0. With the following patch the device symlink shows up, and now I am happily using NetworkManager to control the adapter: $ ls -l /sys/class/net/wlan0 total 0 -r--r--r-- 1 root root 4096 Dec 18 13:42 address -r--r--r-- 1 root root 4096 Dec 18 13:42 addr_len -r--r--r-- 1 root root 4096 Dec 18 13:42 broadcast -r--r--r-- 1 root root 4096 Dec 18 13:42 carrier lrwxrwxrwx 1 root root 0 Dec 18 13:42 device -> ../../../devices/pci0001:10/0001:10:1b.1/usb4/4-1 -r--r--r-- 1 root root 4096 Dec 18 13:42 features Signed-off-by: Nathan Lynch Signed-off-by: Greg Kroah-Hartman commit ff90651883093576de2d60bebaae39b0dd2e62f6 tree 8029f0742384a7f22fbd4175cf9a73194eee33d6 parent aafbf24a1129480157af7ee780eddcea9b76ee5c author Oliver Neukum Wed, 21 Dec 2005 19:27:29 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:44 -0800 [PATCH] USB: Limiting of resource use in skeleton driver this introduces limits whose lack in the skeleton driver someone recently complained about. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit aafbf24a1129480157af7ee780eddcea9b76ee5c tree 218cbb17aeff69689121f294ac7ef513267b158a parent 5e0f76c6bbc0d26cd9625876f7beeb7b002f39bf author Pete Zaitcev Tue, 20 Dec 2005 14:15:04 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:44 -0800 [PATCH] USB: replace __setup("nousb") with __module_param_call Fedora users complain that passing "nousbstorage" to the installer causes the rest of the USB support to disappear. The installer uses kernel command line as a way to pass options through Syslinux. The problem stems from the use of strncmp() in obsolete_checksetup(). I used __module_param_call() instead of module_param because I wanted to preserve the old syntax in grub.conf, and it's the only macro which allows to remove the prefix. The fix is tested to accept the option "nousb" correctly now. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 5e0f76c6bbc0d26cd9625876f7beeb7b002f39bf tree 97daadf2d515e708001e174b501c436228e06342 parent 3e220e9505f3c993b666b5e22b1c466b69ee4f54 author David Hollis Mon, 19 Dec 2005 13:58:38 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:44 -0800 [PATCH] USB: asix.c - Add Linksys USB200M Rev 2 ids Attached patch adds device IDs for the Linksys USB200M Rev 2 device which uses the AX88772 chipset. Signed-off-by: David Hollis Signed-off-by: Greg Kroah-Hartman commit 3e220e9505f3c993b666b5e22b1c466b69ee4f54 tree 4d45df0bff254b5dc5c2a560489fea1f8f086877 parent ab93091dd7f3d3dff9e8d1811d8344af1c52493b author Phil Dibowitz Sun, 18 Dec 2005 21:30:02 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:44 -0800 [PATCH] USB Storage: Fix unusual_devs.h order Alan Stern pointed out there was an ordering issue in unusual_devs.h, and this patch fixes it. Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit ab93091dd7f3d3dff9e8d1811d8344af1c52493b tree 9741a96890bc73e8859ccb3e89f9414a06a82a61 parent 4fb729f5863c29e4466afb4508186303f46458e7 author Daniel Marjamaki Sat, 17 Dec 2005 02:38:46 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:44 -0800 [PATCH] USB: ub 02 Removed unused variable Removed an unused variable Signed-off-by: Daniel Marjamaki Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 4fb729f5863c29e4466afb4508186303f46458e7 tree e71b85374227e2854463ef6e64545fda779d9bba parent 2c26c9e6b4993a1a1231849feff4b6518a4fc239 author Pete Zaitcev Sat, 17 Dec 2005 02:34:12 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:43 -0800 [PATCH] USB: ub 01 rename Rename misleading UB_MINORS_PER_MAJOR into UB_PARTS_PER_LUN. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 2c26c9e6b4993a1a1231849feff4b6518a4fc239 tree afe118d36138599e5d94beed6848702f75cf36a6 parent 6b495f4c5accec6261f522ea6898580dc9cb6316 author Pete Zaitcev Sat, 17 Dec 2005 02:16:43 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:43 -0800 [PATCH] USB: ub 00 implement retries and resets Implement command retries and resets in ub. It is advantageous for users to know if their devices are getting bad. However, failing every I/O is not practical if you have a external USB enclosure with a hard drive. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 6b495f4c5accec6261f522ea6898580dc9cb6316 tree 750143d60621b245d30aa9df0cb030678634380f parent 0e8eb0f06b21bc05c42bcdbb6b273fce59ba9689 author Daniel Marjamäki Tue, 13 Dec 2005 15:30:20 +0200 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:43 -0800 [PATCH] USB: isp116x-hcd.c: Removed unused variable Removed unused variable Signed-off-by: Daniel Marjamäki Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman commit 0e8eb0f06b21bc05c42bcdbb6b273fce59ba9689 tree 8f147c0484a46e4c4a488378a760da64c00057aa parent 740a4282ed5cf0fbcad9a1a1660f24e1b5d11ed2 author Jesper Juhl Sun, 11 Dec 2005 20:34:02 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:43 -0800 [PATCH] USB: Remove unneeded kmalloc() return value casts Remove kmalloc() return value casts that we don't need from drivers/usb/* Signed-off-by: Jesper Juhl Signed-off-by: Greg Kroah-Hartman commit 740a4282ed5cf0fbcad9a1a1660f24e1b5d11ed2 tree d222548105b0bdf110f1e9e25b880c3e26760b0f parent effac8be4e46aabf22788d24caaa1ae9c295d26d author Ian Abbott Tue, 13 Dec 2005 16:18:47 +0000 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:43 -0800 [PATCH] USB: ftdi_sio: new IDs for Teratronik devices This patch adds vendor and product IDs to the ftdi_sio driver's device ID table for two devices from teratronik.de. The device IDs were submitted by O. Wölfelschneider of Teratronik Elektronische Systeme GmbH. The charset of the patch is latin-1, same as the original files. Please apply, thanks! (I've tried to avoid a clash with Andrew Morton's patch to add support for Posiflex PP-7700 printer to the same driver.) Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman commit effac8be4e46aabf22788d24caaa1ae9c295d26d tree 0beaddb1afd96058d671f2f29bb1b0f3bf0c8bab parent 735b0cbb5bbb981d726a465c157f20976794aab0 author Pavel Fedin Fri, 09 Dec 2005 09:30:59 +0300 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:43 -0800 [PATCH] USB: Support for Posiflex PP-7000 retail printer in Linux This little patch adds recognition of Posiflex PP-7000 retail printer to ftdo_sio module. The printer uses FT232BM bridge programmed with custom VID/PID. The patch posted to lkml and sf.net was for 2.6.11.1 kernel, here is one reworked for 2.6.12. Signed-off-by: Greg Kroah-Hartman commit 735b0cbb5bbb981d726a465c157f20976794aab0 tree e0f5cf4e14534028bc0c174e3b53d8cf8867682f parent 52950ed40dc97456209979af1d8f51b63cf6dcab author Ville Syrjälä Sat, 10 Dec 2005 20:30:54 +0200 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:43 -0800 [PATCH] USB: add driver for ATI/Philips USB RF remotes Summary: Driver for ATI/Philips USB RF remotes This is a new input driver for ATI/Philips USB RF remotes (eg. ATI Remote Wonder II). Signed-off-by: Ville Syrjälä Signed-off-by: Greg Kroah-Hartman commit 52950ed40dc97456209979af1d8f51b63cf6dcab tree 527fb1a339889b3df9d227b1c17f87bc487f397f parent f3d34ed48c80903544b509031fee64838d29f35f author Tobias Klauser Sun, 11 Dec 2005 16:20:08 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:43 -0800 [PATCH] USB: Use ARRAY_SIZE macro Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove duplicates of ARRAY_SIZE. Some trailing whitespaces are also removed. Patch is compile-tested on i386. Signed-off-by: Tobias Klauser Signed-off-by: Greg Kroah-Hartman commit f3d34ed48c80903544b509031fee64838d29f35f tree a959c2437cc15e16efca32a8827f3f303fca65f3 parent 3717f2952bd0aab30fe2a6af80657abbeb065461 author Alan Stern Tue, 13 Dec 2005 10:32:13 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:42 -0800 [PATCH] USB: fix local variable clash This patch (as621) fixes a local variable conflict I accidently introduced into usb_set_configuration. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 3717f2952bd0aab30fe2a6af80657abbeb065461 tree ca5df2c9fc1b0ea2d63b29fb9ae5d0dd37613f88 parent 8836aeb86158163532c1835e74751708c2d74385 author Paul Walmsley Wed, 30 Nov 2005 13:57:45 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:42 -0800 [PATCH] USB: usb-storage: add debug entry for REPORT LUNS Bugs involving the REPORT LUNS SCSI-3 command are much easier to track down if usb-storage displays the command's name, rather than "(Unknown command)". Signed-off-by: Paul Walmsley Cc: Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 8836aeb86158163532c1835e74751708c2d74385 tree d9f713f633f3b1b5f04e1927cd8f5cfc3f6eae21 parent e80b0fade09ef1ee67b0898d480d4c588f124d5f author Matthew Dharm Sun, 04 Dec 2005 22:03:47 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:42 -0800 [PATCH] USB Storage: update MAINTAINERS Someone recently pointed out to me that the MAINTAINERS entry for usb-storage was, perhaps, in need of changing. Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit e80b0fade09ef1ee67b0898d480d4c588f124d5f tree f521947191f0c659e0e48c429f5eef25968dffc7 parent a6c976c6c4628ce0c9277c47e7545956d9d4f441 author Matthew Dharm Sun, 04 Dec 2005 22:02:44 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:42 -0800 [PATCH] USB Storage: add alauda support This patch adds another usb-storage subdriver, which supports two fairly old dual-XD/SmartMedia reader-writers (USB1.1 devices). This driver was written by Daniel Drake -- he notes that he wrote this driver without specs, however a vendor-supplied GPL driver for the previous generation of products ("sma03") did prove to be quite useful, as did the sddr09 driver which also has to deal with low-level physical block layout on SmartMedia. The original patch has been reformed by me, as it clashed with the libusual patches. We really need to consolidate some of this common SmartMedia code, and get together with the MTD guys to share it with them as well. Signed-off-by: Daniel Drake Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit a6c976c6c4628ce0c9277c47e7545956d9d4f441 tree 0c0f531595dac6b340c85af500cfb1dae7122bea parent 0dc08a357538de3d93305fbf99348663abdbf2cd author Matthew Dharm Sun, 04 Dec 2005 21:59:45 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:42 -0800 [PATCH] USB Storage: more sddr09 cleanups This is the third of three patches to prepare the sddr09 subdriver for conversion to the Sim-SCSI framework. This patch (as596) moves the computation of the LBA to the start of the read/write routines, so that addresses completely beyond the end of the device can be detected and reported differently from transfers that are partially within the device's capacity. Signed-off-by: Alan Stern Acked-by: Andries Brouwer Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit 0dc08a357538de3d93305fbf99348663abdbf2cd tree d794f54e4ba52ef19e9817562f284736de216b14 parent f5b8cb9c91f2f7d54dc3f066db8d4e0f041de79b author Matthew Dharm Sun, 04 Dec 2005 21:58:52 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:41 -0800 [PATCH] USB Storage: sddr09 cleanups This is the second of three patches to prepare the sddr09 subdriver for conversion to the Sim-SCSI framework. This patch (as595) updates the code to use standard error values for return codes instead of our special-purpose USB_STOR_TRANSPORT_... codes. The reverse update is then needed in the transport routine, but with the Sim-SCSI framework that routine will go away. Signed-off-by: Alan Stern Acked-by: Andries Brouwer Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit f5b8cb9c91f2f7d54dc3f066db8d4e0f041de79b tree 87c0ffd6678cffdd5d9c9425d8f8432ceebc1c33 parent 7931e1c6f8007d5fef8a0bb2dc71bd97315eeae9 author Matthew Dharm Sun, 04 Dec 2005 21:57:51 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:41 -0800 [PATCH] USB Storage: cleanups of sddr09 This is the first of three patches to prepare the sddr09 subdriver for conversion to the Sim-SCSI framework. This patch (as594) straightens out the initialization procedures and headers: Some ugly code from usb.c was moved into sddr09.c. Set-up of the private data structures was moved into the initialization routine. The connection between the "dpcm" version and the standalone version was clarified. A private declaration was moved from a header file into the subdriver's .c file. Signed-off-by: Alan Stern Acked-by: Andries Brouwer Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit 7931e1c6f8007d5fef8a0bb2dc71bd97315eeae9 tree aa4ace5efa3454324b10f0b4036fc87a3e815bcf parent b9b09422570e5e35a9f590a1ead63e711aefac8c author Matthew Dharm Sun, 04 Dec 2005 21:56:51 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:41 -0800 [PATCH] USB Storage: make OneTouch PM-aware The OneTouch subdriver submits its own interrupt URB for notifications about button presses. Consequently it needs to know about suspend and resume events, so it can cancel or restart the URB. This patch (as593) adds a hook to struct us_data, to be used for notifying subdrivers about Power Management events, and it implements the hook in the OneTouch driver. Signed-off-by: Alan Stern Signed-off-by: Nick Sillik Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit b9b09422570e5e35a9f590a1ead63e711aefac8c tree dd392bc6d083ddf8617dbb9fedae00eb5aaf0319 parent 687f5f3428157bea4940dd967fd7b4e59c1b13b4 author Pete Zaitcev Sat, 03 Dec 2005 21:52:10 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:41 -0800 [PATCH] USB: Let usbmon collect less garbage Alan Stern pointed out that (in 2.6 kernel) one successful submission results in one callback, even for ISO-out transfers. Thus, the silly check can be removed from usbmon. This reduces the amount of garbage printed in case of ISO and Interrupt transfers. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 687f5f3428157bea4940dd967fd7b4e59c1b13b4 tree 1f3051906989d2e80df0985c1a48f41c6c283f64 parent fa3465689f93331834a831bbe98e3863701e1068 author Alan Stern Wed, 30 Nov 2005 17:16:19 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:41 -0800 [PATCH] USB: UHCI: edit some comments This patch (as615b) edits a large number of comments in the uhci-hcd code, mainly removing excess apostrophes. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit fa3465689f93331834a831bbe98e3863701e1068 tree f8b1186d7ef49289817d54e35cb7cca82fcc3613 parent f0b80fbf294bc4f6ec179b09fd5b63df25188259 author Alan Stern Wed, 30 Nov 2005 11:57:51 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:41 -0800 [PATCH] USB: UHCI: change uhci_explen macro This patch (as616) changed the uhci_explen macro in uhci-hcd.h so that it now accepts the desired length, rather than length - 1 with special handling for 0. This also fixes a minor bug that would show up only when a driver submits a 0-length bulk URB. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit f0b80fbf294bc4f6ec179b09fd5b63df25188259 tree a3eb4af3ce641bc99dd89bc01aca2917aaba060a parent 95f209f93663103db2a8fb989e226ac68a98b036 author Marcelo Feitoza Parisi Thu, 01 Dec 2005 00:50:39 +0300 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:41 -0800 [PATCH] USB: ati_remote: use time_before() and friends They deal with wrapping correctly and are nicer to read. Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Alexey Dobriyan Signed-off-by: Greg Kroah-Hartman commit 95f209f93663103db2a8fb989e226ac68a98b036 tree 459d85d3012707d2d7d588cfff88a67c3485db48 parent 17fa6e552f2fc6bb06af767b0abf9cb642e13404 author Horst Schirmeier Thu, 28 Jul 2005 15:32:20 +0200 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:41 -0800 [PATCH] USB: pl2303_update_line_status data length fix Minimum data length must be UART_STATE + 1, as data[UART_STATE] is being accessed for the new line_state. Although PL-2303 hardware is not expected to send data with exactly UART_STATE length, this keeps it on the safe side. Signed-off-by: Horst Schirmeier Signed-off-by: Greg Kroah-Hartman commit 17fa6e552f2fc6bb06af767b0abf9cb642e13404 tree b6107c53bd3028f4167813d5edc0764859e7d7c4 parent a5e36d20897ff8317e722fceb4d9eea3e4a5906b author fabien COSSE Wed, 30 Nov 2005 01:16:00 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:40 -0800 [PATCH] USB Storage: add unusual_devs entry for NIKON Coolpix 2000 This patch adds an unusual_devs.h entry for NIKON Coolpix 2000 camera wich cause error: "Not Ready: Medium not present" Works fine with th patched kernel... Here are the informations in /proc/bus/usb/devices: T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=04b0 ProdID=0301 Rev= 0.10 S: Manufacturer=NIKON S: Product=NIKON DSC E2000 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=16ms Signed-off-by: Fabien COSSE Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit a5e36d20897ff8317e722fceb4d9eea3e4a5906b tree ce2d7906a3980c0d31cf848d7f227409d4713092 parent 4c4c9432a6c916729c7296c47fe93b053a73e20c author Richard Purdie Mon, 28 Nov 2005 22:15:46 +0000 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:40 -0800 [PATCH] USB: Correct ohci-pxa27x suspend/resume struct confusion The device data in ohci-pxa27x is a struct hcd, not a struct ohci_hcd. This correct the suspend/resume calls to account for this and adds some code to invalidate the platform data when the module is removed. Signed-off-by: Richard Purdie Signed-off-by: Greg Kroah-Hartman commit 4c4c9432a6c916729c7296c47fe93b053a73e20c tree 7f02f456359259da8bae5e3d32fc4411311ee135 parent 9fe6fcd8ccb2c8c661dfd1e07e3122aef31a67d4 author Arjan van de Ven Tue, 29 Nov 2005 09:43:42 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:40 -0800 [PATCH] USB: mark various usb tables const patch below marks various USB tables and variables as const so that they end up in .rodata section and don't cacheline share with things that get written to. For the non-array variables it also allows gcc to optimize more. Signed-off-by: Arjan van de Ven Signed-off-by: Greg Kroah-Hartman commit 9fe6fcd8ccb2c8c661dfd1e07e3122aef31a67d4 tree 23a952fa918799fa7847fbd78d2fbf2d9691206b parent 2425e9fe67cb5e66c173c4f604ddd8a5970d89e9 author Adrian Bunk Tue, 29 Nov 2005 14:01:55 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:40 -0800 [PATCH] USB: drivers/usb/misc/sisusbvga/sisusb.c: remove dead code The Coverity checker found this dead code. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 2425e9fe67cb5e66c173c4f604ddd8a5970d89e9 tree 80d5846f634adcf9d71894a692259dad27ab3112 parent 3cf0a22e8b1b3f44288db773d315e72e89d51c4c author Alan Stern Tue, 29 Nov 2005 12:13:31 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:40 -0800 [PATCH] USB: Don't assume root-hub resume succeeds This patch (as614) makes a small change to the part of the hub driver responsible for remote wakeup of root hubs. When these wakeups occur the driver is suspended, and in case the resume fails the driver should remain suspended -- it shouldn't try to proceed with its normal processing. This will hardly ever matter in normal use, but it did crop up while I was debugging a different problem. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 3cf0a22e8b1b3f44288db773d315e72e89d51c4c tree b2b9e6d717b317a6439d9e5c1cf2333148759af0 parent a21d4fed4b00eaf7e7c3b2e2b25de24f540bfa66 author Alan Stern Tue, 29 Nov 2005 12:08:15 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:40 -0800 [PATCH] USB Gadget: dummy_hcd: updates to hcd->state This patch (as613) moves the updates to hcd->state in the dummy_hcd driver to where they now belong. It also uses the new HC_FLAG_HW_ACCESSIBLE flag in a way that simulates a real PCI controller, and it adds checks for attempts to resume the bus while the controller is suspended or to suspend the controller while the bus is active. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit a21d4fed4b00eaf7e7c3b2e2b25de24f540bfa66 tree b903c111c0319e44ba5a724d6d87f7754c5a4fcc parent bd39b7f195e5a780a3c6710eb1c1450f158a1f31 author Alan Stern Tue, 29 Nov 2005 12:04:24 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:40 -0800 [PATCH] USB Gadget: file_storage: remove "volatile" declarations This patch (as612) removes the "volatile" declarations from the file-storage gadget. It turns out that they aren't needed for anything much; adding a few memory barriers does a sufficient job. The patch also removes a wait_queue. Not much point having a queue when only one task is ever going to be on it! Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit bd39b7f195e5a780a3c6710eb1c1450f158a1f31 tree 34c57ff00c5779a571c9ab5f5a592093594f3aee parent 5d3202949c9ac6e135d98bde15a8f05ad3fa5849 author Chris Humbert Mon, 28 Nov 2005 09:29:23 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:39 -0800 [PATCH] USB: don't allocate dma pools for PIO HCDs USB: don't allocate dma pools for PIO HCDs hcd_buffer_alloc() and hcd_buffer_free() have a similar dma_mask check and revert to kmalloc()/kfree(), but hcd_buffer_create() doesn't check dma_mask and allocates unused dma pools. Signed-off-by: Chris Humbert Acked-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 5d3202949c9ac6e135d98bde15a8f05ad3fa5849 tree 2807209840c56f37a003ebb9aa3a4e4171c3cfe9 parent 8a4613f01f5bb850cab34e3db572d97251d997b3 author Daniel Ritz Sun, 27 Nov 2005 22:23:38 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:39 -0800 [PATCH] USB: input/touchkitusb: handle multiple packets Some versions of the controller seem to put multiple report packet into a single urb. also it can happen that a packet is split across multiple urbs. unpatched you get a jumpy cursor on some screens. the patch does: - handle multiple packets per urb - handle packets split across multiple urb - check packet type - cleanups Signed-off-by: Daniel Ritz Signed-off-by: Greg Kroah-Hartman commit 8a4613f01f5bb850cab34e3db572d97251d997b3 tree 3ce08f8c75cf8696f7902dd33298a95016ed4e14 parent 487f9c6710e7dff338e59820f6cfaeaaa87cb532 author Luiz Fernando Capitulino Mon, 28 Nov 2005 19:16:07 -0200 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:35 -0800 [PATCH] USB: usbserial: race-condition fix. There is a race-condition in usb-serial driver that can be triggered if a processes does 'port->tty->driver_data = NULL' in serial_close() while other processes is in kernel-space about to call serial_ioctl() on the same port. This happens because a process can open the device while there is another one closing it. The patch below fixes that by adding a semaphore to ensure that no process will open the device while another process is closing it. Note that we can't use spinlocks here, since serial_open() and serial_close() can sleep. Signed-off-by: Luiz Capitulino Signed-off-by: Greg Kroah-Hartman commit 487f9c6710e7dff338e59820f6cfaeaaa87cb532 tree cf8b5706aa97d8a9143a40658440772863320bd7 parent 717f736d937d0e98e964375dac770bfa20f73b72 author Luiz Fernando Capitulino Mon, 28 Nov 2005 19:16:05 -0200 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:35 -0800 [PATCH] USB: usbserial: Adds missing checks and bug fix. Checks if 'port' is NULL before using it in all tty operations, this can avoid NULL pointer dereferences. Signed-off-by: Luiz Capitulino Signed-off-by: Greg Kroah-Hartman commit 717f736d937d0e98e964375dac770bfa20f73b72 tree 2aacf4fc87d275c266769022fd179c8339339cfc parent 3aea4a76a3ec4e6484f6316a97efff8b144b2b11 author Olav Kongas Sat, 26 Nov 2005 01:58:36 +0200 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:35 -0800 [PATCH] USB: isp116x-hcd: minor cleanup When going to suspend, there's no point in setting HC state in host controller driver as USB core takes care of this. Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman commit 3aea4a76a3ec4e6484f6316a97efff8b144b2b11 tree b2832719b2427485f7e727262649defa2cc013d8 parent 12c3da346eb81b6a281031f62eda3bca993dff5a author Pavel Machek Sun, 27 Nov 2005 09:47:28 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:35 -0800 [PATCH] USB: Cleanups for usb gadget mass-storage Remove useless initalizers. Signed-off-by: Pavel Machek Signed-off-by: Alan Stern commit 12c3da346eb81b6a281031f62eda3bca993dff5a tree 428ac85a5ebf1564aa4254dcf625174ef36452d9 parent 55c527187c9d78f840b284d596a0b298bc1493af author Alan Stern Wed, 23 Nov 2005 12:09:52 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:35 -0800 [PATCH] USB: Store port number in usb_device This patch (as610) adds a field to struct usb_device to store the device's port number. This allows us to remove several loops in the hub driver (searching for a particular device among all the entries in the parent's array of children). Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 55c527187c9d78f840b284d596a0b298bc1493af tree 17f42fb911ecc70301f5a22d4c0e85ba7348a67a parent 949bf6431189c62eeebd3b52201406ba9978f525 author Alan Stern Wed, 23 Nov 2005 12:03:12 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:34 -0800 [PATCH] USB: Consider power budget when choosing configuration This patch (as609) changes the way we keep track of power budgeting for USB hubs and devices, and it updates the choose_configuration routine to take this information into account. (This is something we should have been doing all along.) A new field in struct usb_device holds the amount of bus current available from the upstream port, and the usb_hub structure keeps track of the current available for each downstream port. Two new rules for configuration selection are added: Don't select a self-powered configuration when only bus power is available. Don't select a configuration requiring more bus power than is available. However the first rule is #if-ed out, because I found that the internal hub in my HP USB keyboard claims that its only configuration is self-powered. The rule would prevent the configuration from being chosen, leaving the hub & keyboard unconfigured. Since similar descriptor errors may turn out to be fairly common, it seemed wise not to include a rule that would break automatic configuration unnecessarily for such devices. The second rule may also trigger unnecessarily, although this should be less common. More likely it will annoy people by sometimes failing to accept configurations that should never have been chosen in the first place. The patch also changes usbcore's reaction when no configuration is suitable. Instead of raising an error and rejecting the device, now the core will simply leave the device unconfigured. People can always work around such problems by installing configurations manually through sysfs. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 949bf6431189c62eeebd3b52201406ba9978f525 tree 50f4798f574d1c88828726e6b1f929361f10a6d5 parent 3d48586cfa2e197515605ccf74527983d35638e3 author Fengwei Yin Fri, 18 Nov 2005 10:35:36 +0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:34 -0800 [PATCH] USB: One potential problem in gadget/serial.c It looks like that the gs_serial module maybe sleep with spinlock in gs_close. Sometimes, system hang when I remove the gs_serial module. From: Fengwei Yin Signed-off-by: Greg Kroah-Hartman commit 3d48586cfa2e197515605ccf74527983d35638e3 tree d2988275f8acd36738409f5765c15fd2d72a716f parent 4bf0ba861442d289eebfad8ea9ce365ab04fd582 author Adrian Bunk Sun, 20 Nov 2005 23:56:11 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:34 -0800 [PATCH] USB: small cleanups This patch contains the following cleanups: - make needlessly global functions static - every file should #include the headers containing the prototypes for it's global functions Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 4bf0ba861442d289eebfad8ea9ce365ab04fd582 tree 0301e45a155712ec03e0226a1e85e74198778f7e parent 7d069b7d80933004282c48edbe62526e4cb0aecc author Alan Stern Mon, 21 Nov 2005 11:58:07 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:34 -0800 [PATCH] USB: Fix locking for USB suspend/resume The earlier USB locking updates didn't touch the suspend/resume routines. They need updating as well, since now the caller holds the device semaphore. This patch (as608) makes the necessary changes. It also adds a line to store the correct power state when a device is resumed, something which was unaccountably missing. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 7d069b7d80933004282c48edbe62526e4cb0aecc tree c18d1e04366bee64b62b28d4953fed3c83e85fcc parent 9ad3d6ccf5eee285e233dbaf186369b8d477a666 author Alan Stern Fri, 18 Nov 2005 12:06:34 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:34 -0800 [PATCH] USB: Disconnect children during hub unbind This patch (as606b) is an updated version of my earlier patch to disconnect children from a hub device when the hub driver is unbound. Thanks to the changes in the driver core locking, we now know that the entire hub device (and not just the interface) is locked whenever the hub driver's disconnect method runs. Hence it is safe to disconnect the child device structures immediately instead of deferring the job. The earlier version of the patch neglected to disable the hub's ports. We don't want to forget that; otherwise we'd end up with live devices using addresses that have been recycled. This update adds the necessary code. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 9ad3d6ccf5eee285e233dbaf186369b8d477a666 tree 4ad43518e01f1b2c6513e79b318d974979041b99 parent 75318d2d7cab77b14c5d3dbd5e69f2680a769e16 author Alan Stern Thu, 17 Nov 2005 17:10:32 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:34 -0800 [PATCH] USB: Remove USB private semaphore This patch (as605) removes the private udev->serialize semaphore, relying instead on the locking provided by the embedded struct device's semaphore. The changes are confined to the core, except that the usb_trylock_device routine now uses the return convention of down_trylock rather than down_read_trylock (they return opposite values for no good reason). A couple of other associated changes are included as well: Now that we aren't concerned about HCDs that avoid using the hcd glue layer, usb_disconnect no longer needs to acquire the usb_bus_lock -- that can be done by usb_remove_hcd where it belongs. Devices aren't locked over the same scope of code in usb_new_device and hub_port_connect_change as they used to be. This shouldn't cause any trouble. Along with the preceding driver core patch, this needs a lot of testing. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 75318d2d7cab77b14c5d3dbd5e69f2680a769e16 tree 13098167bd41d7dd0b0d3f678534a6daa29b4005 parent 2143acc6dc79bdbff812f02a7dc5ab9d4fc81fc8 author Greg Kroah-Hartman Mon, 21 Nov 2005 14:53:03 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:34 -0800 [PATCH] USB: remove .owner field from struct usb_driver It is no longer needed, so let's remove it, saving a bit of memory. Signed-off-by: Greg Kroah-Hartman commit 2143acc6dc79bdbff812f02a7dc5ab9d4fc81fc8 tree 523c2d57e412766bfc37b9ff6c22ff01108c92a5 parent ba9dc657af86d05d2971633e57d1f6f94ed60472 author Greg Kroah-Hartman Mon, 21 Nov 2005 14:53:03 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:32 -0800 [PATCH] USB: make registering a usb driver automatically set the module owner This fixes the driver that forgot to set the module owner up. Now we can remove the unneeded pointer from the usb driver structure. The idea for how to do this was from Al Viro, who did this for the PCI drivers. Signed-off-by: Greg Kroah-Hartman commit ba9dc657af86d05d2971633e57d1f6f94ed60472 tree 2b57fe680536b5a02e9dd3b8f4d1df33d6f65017 parent 733260ff9c45bd4db60f45d17e8560a4a68dff4d author Greg Kroah-Hartman Wed, 16 Nov 2005 13:41:28 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:32 -0800 [PATCH] USB: allow usb drivers to disable dynamic ids This lets drivers, like the usb-serial ones, disable the ability to add ids from sysfs. The usb-serial drivers are "odd" in that they are really usb-serial bus drivers, not usb bus drivers, so the dynamic id logic will have to go into the usb-serial bus core for those drivers to get that ability. Signed-off-by: Greg Kroah-Hartman commit 733260ff9c45bd4db60f45d17e8560a4a68dff4d tree e7f09a9a9e2d7a9f22288c9777f7b03906a89e20 parent ddae41be6145f5f9cb4e6df35661a09121b90672 author Greg Kroah-Hartman Wed, 16 Nov 2005 13:41:28 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:32 -0800 [PATCH] USB: add dynamic id functionality to USB core Echo the usb vendor and product id to the "new_id" file in the driver's sysfs directory, and then that driver will be able to bind to a device with those ids if it is present. Example: echo 0557 2008 > /sys/bus/usb/drivers/foo_driver/new_id adds the hex values 0557 and 2008 to the device id table for the foo_driver. Note, usb-serial drivers do not currently work with this capability yet. usb-storage also might have some oddities. Signed-off-by: Greg Kroah-Hartman commit ddae41be6145f5f9cb4e6df35661a09121b90672 tree b802e866016b66fd193c3a9945be9582f9066580 parent 5ba35bd8f9a4fa6b92ef707826c47a1466ece460 author Greg Kroah-Hartman Wed, 16 Nov 2005 13:41:28 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:31 -0800 [PATCH] USB: reorg some functions out of the main usb.c file This will make the dynamic-id stuff easier to do, as it will be self-contained. No logic was changed at all. Signed-off-by: Greg Kroah-Hartman commit 5ba35bd8f9a4fa6b92ef707826c47a1466ece460 tree 2c180db14baa56d05dca8ff66d78bb97348a60cb parent a00828e9ac62caed7b830d631914d7748817ccd1 author Pete Zaitcev Fri, 16 Dec 2005 00:39:36 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:31 -0800 [PATCH] USB: make bias writeable in libusual Make the bias parameter writeable. Writing the parameter does not trigger a rebind of currently attached storage devices. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit a00828e9ac62caed7b830d631914d7748817ccd1 tree 2fed4c66762fa4f54945413b4027ff5837ad0633 parent 1c50c317e2e7f15427149cbc216a63366468710e author Pete Zaitcev Sat, 22 Oct 2005 20:15:09 -0700 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:31 -0800 [PATCH] USB: drivers/usb/storage/libusual This patch adds a shim driver libusual, which routes devices between usb-storage and ub according to the common table, based on unusual_devs.h. The help and example syntax is in Kconfig. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 1c50c317e2e7f15427149cbc216a63366468710e tree d48dc0b03090e89c644f73f9997b4f70b6ec9b41 parent 8364d6b0be2dbbf162c6aea79615b5025a0d67c2 author Alan Stern Mon, 14 Nov 2005 11:45:38 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:31 -0800 [PATCH] USB: central handling for host controllers that were reset during suspend/resume This patch (as515b) adds a routine to usbcore to simplify handling of host controllers that lost power or were reset during suspend/resume. The new core routine marks all the child devices of the root hub as NOTATTACHED and tells khubd to disconnect the device structures as soon as possible. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 8364d6b0be2dbbf162c6aea79615b5025a0d67c2 tree f7511fe4a6b7ee39d4e8126712a7112dd1e2659a parent a4f81a61ebba5953cba1e76f66423a7eca4a5ee4 author Alan Stern Mon, 14 Nov 2005 12:16:30 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:31 -0800 [PATCH] USB: dummy_hcd: rename variables The recent platform_device update has reintroduced into dummy_hcd.c the dreaded dev->dev syndrome. This harkens back to when an earlier version of that driver included the unforgettable line: dev->dev.dev.driver_data = dev; This patch (as602) renames the platform_device variables to "pdev", in the hope of reducing confusion. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit a4f81a61ebba5953cba1e76f66423a7eca4a5ee4 tree e8a1a3a43df27f26d1516c9df8d9a6aaf1e0a745 parent 4a1728a28a193aa388900714bbb1f375e08a6d8e author A.YOSHIYAMA Tue, 15 Nov 2005 09:55:18 +0200 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:31 -0800 [PATCH] USB: usb-net: new device ID passed through module parameter adds new module parameter "devid" that points to a string with format "device_name:vendor_id:device_id:flags". if provided at module load time, this string is being parsed and a new entry is created in usb_dev_id[] and pegasus_ids[] so the new device can later be recognized by the probe routine. this might be helpful for someone who don't know/wish to build new module/kernel, but want to use his new usb-to-eth device that is not yet listed in pegasus.h Signed-off-by: Petko Manolov Signed-off-by: Greg Kroah-Hartman commit 4a1728a28a193aa388900714bbb1f375e08a6d8e tree 52b5728b5377ef4be8aacabd1ae64a66770603e0 parent 87c4252a35310fdbb2aabb880a39b83f83cadf62 author Petko Manolov Tue, 15 Nov 2005 09:48:23 +0200 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:30 -0800 [PATCH] USB: usb-net: removes redundant return removes all redundant collecting of the return value from get/set_registers() and suchlike. can't remember who put all of those some time ago, but they doesn't make any sense to me. where needed only a few references remained; Signed-off-by: Petko Manolov Signed-off-by: Greg Kroah-Hartman commit 87c4252a35310fdbb2aabb880a39b83f83cadf62 tree e1e5588651b6652696b9f4e81bb1776b1e4a4778 parent c9a50cc9318772e62d56f2a9172bdfda72bdacbe author Alan Stern Wed, 09 Nov 2005 16:59:56 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:30 -0800 [PATCH] USB: file-storage gadget: Add reference count for children This patch (as601) adds a proper reference count to the file-storage gadget's main data structure, to keep track of references held by child devices (LUNs in this case). Before this, the driver would wait for each child to be released before unbinding. While there's nothing really wrong with that (you can't create a hang by doing "rmmod g_file_storage Signed-off-by: Greg Kroah-Hartman commit c9a50cc9318772e62d56f2a9172bdfda72bdacbe tree 768fcbcc35e1054843a04e1dd048425560c6fb3a parent 704aa0b7a9744d5f2b5c1fa68b826fcca73a2104 author David Brownell Mon, 07 Nov 2005 20:45:20 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:30 -0800 [PATCH] USB: hcd uses EXTRA_CFLAGS for -DDEBUG This modifies the HCD builds to automatically "-DDEBUG" if CONFIG_USB_DEBUG is selected. It's just a minor source code cleanup, guaranteeing consistency. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 704aa0b7a9744d5f2b5c1fa68b826fcca73a2104 tree 6a6bce0781c506bf44457514550006102b0f182d parent baefbc39d8e23942cc10db92f5bc42e3476f6bc1 author David Brownell Mon, 07 Nov 2005 15:38:24 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:30 -0800 [PATCH] USB: wakeup flag updates (3/3) isp116x-hcd This makes the ISP116x HCD use the driver model wakeup flags for its controller, not the flags in the HCD glue (which will be removed). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit baefbc39d8e23942cc10db92f5bc42e3476f6bc1 tree 58e3dcb5a768fb1e5d45dddecd676d25562e64e2 parent 0c8624f91d91df7cdeb9b2dace3269b8788c845f author David Brownell Mon, 07 Nov 2005 15:34:41 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:30 -0800 [PATCH] USB: wakeup flag updates (2/3) uhci-hcd This makes UHCI stop using the HCD glue wakeup flags to report whether the controller can wake the system. The existing code was wrong anyway; having a PCI PM capability doesn't imply it reports PME# is supported. I skimmed Intel's ICH7 datasheet and that basically says the wakeup signaling gets routed only through ACPI registers. (On the other hand, many VIA chips provide the PCI PM capabilities...) I think that doing this correctly with UHCI is going to require the ACPI folk to associate the /proc/acpi/wakeup identifiers (and wakeup enable/disable flags) with the relevant /sys/devices/pci*/... devices. From: David Brownell Signed-off-by: Greg Kroah-Hartman commit 0c8624f91d91df7cdeb9b2dace3269b8788c845f tree e836d3ac3e1eb623093d47c678ed8e684a79b7ce parent d97cc2f2e938547a47daef29bc10ab38600a3310 author David Brownell Mon, 07 Nov 2005 15:31:25 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:30 -0800 [PATCH] USB: wakeup flag updates (1/3) sl811-hcd This makes the SL811 HCD use the driver model wakeup flags for its controller, not the flags in the HCD glue (which will be removed). From: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/host/sl811-hcd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit d97cc2f2e938547a47daef29bc10ab38600a3310 tree 587a5b6abd9391975077de52cc7b5e75b47ad3a2 parent 2c1c3c4cd5f796b1912c65aaf3bf48c0ddf11f5e author David Brownell Thu, 22 Dec 2005 17:05:18 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:30 -0800 [PATCH] USB: ehci fix driver model wakeup flags On some systems, EHCI seems to be getting IRQs too early during driver setup ... before the root hub is allocated, in particular, making trouble for any code chasing down root hub pointers! In this case, it seems to be safe to just ignore the root hub setting. Thanks to Rafael J. Wysocki for getting this properly tested. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 2c1c3c4cd5f796b1912c65aaf3bf48c0ddf11f5e tree d0adc25607629f4fbb9f45cc498f5c155d520291 parent 8d7802ed3c617120863f84346638d1cf1c96137b author David Brownell Mon, 07 Nov 2005 15:24:46 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:30 -0800 [PATCH] USB: EHCI updates (4/4) driver model wakeup flags This teaches the EHCI driver to use the new driver model wakeup flags, replacing the similar ones in the HCD glue. It also adds a workaround for the current glitch whereby PCI init doesn't init the wakeup flags from the PCI PM capabilities. (EHCI controllers don't worry about legacy mode; the PCI PM capability would always do the job.) Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 8d7802ed3c617120863f84346638d1cf1c96137b tree 008b4724dd19719a3541651a8e68a250a5ecf587 parent b72458a80c75cab832248f536412f386e20a93a0 author matthieu castet Tue, 08 Nov 2005 00:02:30 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:29 -0800 [PATCH] USB: Eagle and ADI 930 usb adsl modem driver fix More care on loading firmware, take into account fw->size can't be zero. Signed-off-by: Matthieu CASTET Signed-off-by: Greg Kroah-Hartman commit b72458a80c75cab832248f536412f386e20a93a0 tree aae8bd4f4ca209cd5ddb22ab51c8f02012ed6593 parent 6912354a895fcd234155273fe8838a0d83259a9b author matthieu castet Mon, 07 Nov 2005 23:27:13 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:29 -0800 [PATCH] USB: Eagle and ADI 930 usb adsl modem driver A driver for USB ADSL modems based on the ADI eagle chipset using the usb_atm infrastructure. The managing part was taken from bsd ueagle driver, other parts were written from scratch. The driver uses the in-kernel firmware loader : - to load a first usb firmware when the modem is in pre-firmware state - to load the dsp firmware that are swapped in host memory. - to load CMV (configuration and management variables) when the modem boot. (We can't use options or sysfs for this as there many possible values. See https://mail.gna.org/public/eagleusb-dev/2005-04/msg00031.html for a description of some) - to load fpga code for 930 chipset. The device had 4 endpoints : * 2 for data (use by usbatm). The incoming endpoint could be iso or bulk. The modem seems buggy and produce lot's of atm errors when using it in bulk mode for speed > 3Mbps, so iso endpoint is need for speed > 3Mbps. At the moment iso endpoint need a patched usbatm library and for this reason is not included in this patch. * One bulk endpoint for uploading dsp firmware * One irq endpoint that notices the driver - if we need to upload a page of the dsp firmware - an ack for read or write CMV and the value (for the read case). If order to make the driver cleaner, we design synchronous (read|write)_cmv : -send a synchronous control message to the modem -wait for an ack or a timeout -return the value if needed. In order to run these synchronous usb messages we need a kernel thread. The driver has been tested with sagem fast 800 modems with different eagle chipset revision and with ADI 930 since April 2005. Signed-off-by: Matthieu CASTET Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 6912354a895fcd234155273fe8838a0d83259a9b tree 6dca4969dda3fb177c62f18b12bfb6d2be4bb567 parent 959eea2191e8d74b16ef019b0f4bf875c14f4547 author Alan Stern Thu, 03 Nov 2005 11:44:49 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:29 -0800 [PATCH] USB: EHCI: fix conflation of buf == 0 with len == 0 When the ehci-hcd driver prepares a control URB, it tests for a zero-length data stage by looking at the transfer_dma value instead of the transfer_buffer_length. (In fact it does this even for non-control URBs, which is an additional aspect of the same bug.) However, under certain circumstances it's possible for transfer_dma to be 0 while transfer_buffer_length is non-zero. This can happen when a freshly allocated page (mapped to address 0 and marked Copy-On-Write, but never written to) is used as the source buffer for an OUT transfer. This patch (as598) fixes the problem. Signed-off-by: Alan Stern Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 959eea2191e8d74b16ef019b0f4bf875c14f4547 tree c535857225eec2a52ce18c162ed94c5f18427dee parent 535488fcf1e4b2331e1c4a1eb67ca09468c13507 author Olav Kongas Thu, 03 Nov 2005 17:38:14 +0200 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:29 -0800 [PATCH] USB: isp116x-hcd: cleanup The attached patch makes a cleanup of isp116x-hcd. Most of the volume of the patch comes from 2 sources: moving the code around to get rid of a few function prototypes and reworking register dumping functions/macros. Among other things, switched over from using procfs to debugfs. Cleanup. The following changes were made: - Rework register dumping code so it can be used for dumping to both syslog and debugfs. - Switch from procfs to debugfs.. - Die gracefully on Unrecoverable Error interrupt. - Fix memory leak in isp116x_urb_enqueue(), if HC happens to die in a narrow time window. - Fix a 'sparce' warning (unnecessary cast). - Report Devices Removable for root hub ports by default (was Devices Permanently Attached). - Move bus suspend/resume functions down in code to get rid of a few function prototypes. - A number of one-line cleanups. - Add an entry to MAINTAINERS. Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman MAINTAINERS | 6 drivers/usb/host/isp116x-hcd.c | 429 ++++++++++++++++------------------------- drivers/usb/host/isp116x.h | 83 +++++-- 3 files changed, 230 insertions(+), 288 deletions(-) commit 535488fcf1e4b2331e1c4a1eb67ca09468c13507 tree 285a6e02054bb5a661605649d3527a73bbdba466 parent 61a87adf2e7b410da8e41799c61c21a7b8c8b001 author Olav Kongas Fri, 28 Oct 2005 15:04:45 +0300 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:29 -0800 [PATCH] USB: isp116x-hcd: support reiniting HC on resume Until now the isp116x-hcd had no support to reinitialize the HC on resume, if the controller lost its state during suspend. This patch, generated against your Oct 26 git tree, adds that support. The patch is basically the same as the one tested by Ivan Kalatchev, who reported the problem, on 2.6.13. Please apply, Support reinitializing the isp116x host controller from scratch on resume, if the controller has lost its state. Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman commit 61a87adf2e7b410da8e41799c61c21a7b8c8b001 tree b4d09ce45dadd78cd2b92848a96c508f44d12f88 parent 2e1dcc1600c1d83b26479edd076866595bbd3523 author David Kubicek Tue, 01 Nov 2005 18:51:34 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:29 -0800 [PATCH] USB: Converting cdc acm to a ring queue this patch by David converts the sending queue of the CDC ACM driver to a queue of URBs. This is needed for quicker devices. Please apply. Signed-Off-By: Oliver Neukum Signed-off-by: Greg Kroah-Hartman drivers/usb/class/cdc-acm.c | 229 ++++++++++++++++++++++++++++++-------------- drivers/usb/class/cdc-acm.h | 33 +++++- 2 files changed, 185 insertions(+), 77 deletions(-) commit 2e1dcc1600c1d83b26479edd076866595bbd3523 tree 8cdee2c9a12ec62b380b6c9f8ec13171d6b5a60f parent 81f280e22f14d6d976620acaa1b346a90f4e1adc author Richard Purdie Sat, 12 Nov 2005 14:22:14 +0000 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:29 -0800 [PATCH] USB: Add pxa27x OHCI PM functions Add power management functions for the pxa27x USB OHCI host controller. This is a totally rewritten version of the patch by Nicolas Pitre and Todd Poynor which accounts for recent USB changes. Signed-off-by: Richard Purdie Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 81f280e22f14d6d976620acaa1b346a90f4e1adc tree 298db1ef614489451fecdd35439c630c8086a368 parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Richard Purdie Sat, 12 Nov 2005 14:22:11 +0000 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:28 -0800 [PATCH] USB: pxa27x OHCI - Separate platform code from main driver To allow multiple platforms to use the PXA27x OHCI driver, the platform code needs to be moved into the board specific files in arch/arm/mach-pxa. This patch does this for mainstone and adds preliminary hooks to allow other boards to use the driver. This has been compile tested for mainstone and successfully run on Spitz (Sharp Zaurus SL-C3000) with the addition of an appropriate board support file. Signed-off-by: Richard Purdie Signed-off-by: Nicolas Pitre Acked-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit ea8874dc3881c2a496a4bd6bc981f707cc6a0db1 tree c7cef73da86e9ce36a7a8358fbf20b34db2f6d07 parent 45e24601921fc1c4ca7932f7f7a475d3ad64ecad author Russell King Wed, 04 Jan 2006 19:43:24 +0000 committer Russell King Wed, 04 Jan 2006 19:43:24 +0000 [SERIAL] Remove _INLINE_ Signed-off-by: Russell King commit 45e24601921fc1c4ca7932f7f7a475d3ad64ecad tree 21b64ad15abe3b051a0462096ee2474212274e20 parent 50aec3b561de4e435204ad315e5c5ab58ef9feda author Russell King Wed, 04 Jan 2006 19:19:06 +0000 committer Russell King Wed, 04 Jan 2006 19:19:06 +0000 [SERIAL] Move interrupt-time spinlocking inside serial8250_handle_port() All call sites for serial8250_handle_port() acquired the port spinlock and released it afterwards. This is a needless duplication of code. Move the spinlocking inside serial8250_handle_port(). Signed-off-by: Russell King commit 50aec3b561de4e435204ad315e5c5ab58ef9feda tree dfbd24000670a78ebee7d96d8eab510f2fcd1f9e parent 1624f003349b49050f42c7d9f5407dfc05efb912 author Russell King Wed, 04 Jan 2006 18:13:03 +0000 committer Russell King Wed, 04 Jan 2006 18:13:03 +0000 [SERIAL] Use uart_match_port() to find a matching port in find_port() Signed-off-by: Russell King commit 1624f003349b49050f42c7d9f5407dfc05efb912 tree 43fef7650e2bb7832222956b0dc46e6b48e74b8c parent 26e92861be9c0da3be30718de693976b3f6a8026 author Benjamin Herrenschmidt Wed, 04 Jan 2006 18:09:44 +0000 committer Russell King Wed, 04 Jan 2006 18:09:44 +0000 [SERIAL] Fix matching of MMIO ports The function uart_match_port() incorrectly compares the ioremap'd virtual addresses of ports instead of the physical address to find duplicate ports for MMIO based UARTs. This fixes it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Russell King commit 4c70b926c91ba9c1ce3dc92d418f8e4670c8f16d tree 51ed73e4b06e3d1c728af9f21c5dfce98191e062 parent 7a94283a7e8cd8a4ea29bf2cfedba511c706b0b4 author Lennert Buytenhek Wed, 04 Jan 2006 17:17:17 +0000 committer Russell King Wed, 04 Jan 2006 17:17:17 +0000 [ARM] 3225/1: add symbolic names for enp2611 gpio interrupts Patch from Lennert Buytenhek Add symbolic names for the five ixp2400 GPIO lines on the enp2611 that are used as interrupts. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 7a94283a7e8cd8a4ea29bf2cfedba511c706b0b4 tree e17f02bc7dbe7338ab9b70753978d1c0270ad6b6 parent b721243a6700b2ecc11f7b920d3d5d6718c5d148 author Lennert Buytenhek Wed, 04 Jan 2006 17:17:16 +0000 committer Russell King Wed, 04 Jan 2006 17:17:16 +0000 [ARM] 3224/1: add masked thread interrupt status registers for ixp2000 Patch from Lennert Buytenhek In its interrupt handler, the (NAPI) ixp2000 netdev driver needs to use the masked thread interrupt status register (instead of the raw one) to prevent scheduling polling when polling is already running when a TXdone interrupt comes in. The definitions for the masked status registers were not in yet, so this patch adds them. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit b721243a6700b2ecc11f7b920d3d5d6718c5d148 tree 13460896a686547d627c12d37bc8be1a5a61b32c parent b1ad3a57d39001af413414c34feb5cd41d0f7917 author Lennert Buytenhek Wed, 04 Jan 2006 17:17:15 +0000 committer Russell King Wed, 04 Jan 2006 17:17:15 +0000 [ARM] 3223/1: remove ixdp2x01 cs89x0 hack Patch from Lennert Buytenhek Remove the ixdp2x01 cs89x0 hack from ixp2000's io implementation. Since the cs89x0 driver has been made properly aware of the odd way the cs89x0 is hooked up on the ixdp2x01, we don't need this hack anymore. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit b1ad3a57d39001af413414c34feb5cd41d0f7917 tree 0ec400bb20410cbd0e9c08b3c5d04b567db585b2 parent 313cbb5519405966e3e65fca86c0305ab24f2a3b author Deepak Saxena Wed, 04 Jan 2006 17:17:14 +0000 committer Russell King Wed, 04 Jan 2006 17:17:14 +0000 [ARM] 3221/1: Update IXP4xx defconfig Patch from Deepak Saxena Add NAS 100d to machine build list and update to new 2.6.15 options. Signed-off-by: Deepak Saxena --- Signed-off-by: Russell King commit 313cbb5519405966e3e65fca86c0305ab24f2a3b tree 949bb8daf7a32d5921cabe9d129df1d6342d40da parent 8d27e6992bc6a7ca7eaa1d29fb1a8d6cb6022c45 author Rod Whitby Wed, 04 Jan 2006 17:17:13 +0000 committer Russell King Wed, 04 Jan 2006 17:17:13 +0000 [ARM] 3218/1: PAGE_SHIFT undeclared in arch-ixp4xx/memory.h (adjust_zones moved out of line) Patch from Rod Whitby PAGE_SHIFT is undeclared in include/asm-arm/arch-ixp4xx/memory.h, identified by the following kernel compilation error: CC [M] sound/core/memory.o In file included from include/asm/memory.h:27, from include/asm/io.h:28, from sound/core/memory.c:24: include/asm/arch/memory.h: In function `__arch_adjust_zones': include/asm/arch/memory.h:28: error: `PAGE_SHIFT' undeclared (first use in this function) This patch replaces my previous attempt at fixing this problem (Patch 3214/1) and is based on the following feedback: Russell King wrote: > The error you see came up on SA1100. The best solution was to move > the __arch_adjust_zones() function out of line. I suggest ixp4xx > does the same. I have moved the function out of line into arch/arm/mach-ixp4xx/common-pci.c as suggested. Signed-off-by: Rod Whitby Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 8d27e6992bc6a7ca7eaa1d29fb1a8d6cb6022c45 tree 2dd4132a1c0128f4047bb0b162e5c2075d7a5dd6 parent 3145d8a6cc83ee15adf18f598873e53a54cd1841 author Deepak Saxena Wed, 04 Jan 2006 17:17:12 +0000 committer Russell King Wed, 04 Jan 2006 17:17:12 +0000 [ARM] 3220/1: Remove gpio_isr_line_clear() from NAS 100d Patch from Deepak Saxena This patch removes referneces to gpio_isr_line_clear() from the NAS 100d platform implementation. Depends on 3192/1 and 3215/1 Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 3145d8a6cc83ee15adf18f598873e53a54cd1841 tree 9b314c3ad06350f4839fc17a2119fb18428123fe parent f7e8bbb8207c17afbd716e7e5fc785b78fa08571 author Rod Whitby Wed, 04 Jan 2006 17:17:11 +0000 committer Russell King Wed, 04 Jan 2006 17:17:11 +0000 [ARM] 3215/1: Iomega NAS 100d (MACH_NAS100D) machine support Patch from Rod Whitby This patch adds support for a new arm/ixp4xx machine - the Iomega NAS 100d network attached storage product. The NAS100D is a consumer device containing a 266MHz Intel IXP420 processor, 16MB of flash, 64MB of RAM, a 160Gb internal IDE hard disk, and 802.11b/g wireless on an Atheros mini-PCI card. Work on porting the latest 2.6.x kernel to this device is being done by the NSLU2-Linux project (the same team who maintains the port to the Linksys NSLU2 device). In particular, the majority of this patch was authored by Alessandro Zummo, based on the work done for MACH_NSLU2 support by the NSLU2-Linux core team of developers. MACH_NAS100D (as implemented by this patch) can be enabled in jumbo ixp4xx kernels without any affect on the other machines supported by that kernel. This patch applies cleanly against 2.6.15-rc7 and should be trivial to apply to later kernel versions. It does not depend upon any other patches. Modified files (and number of lines inserted): arch/arm/mach-ixp4xx/Kconfig | 8 arch/arm/mach-ixp4xx/Makefile | 1 include/asm-arm/arch-ixp4xx/hardware.h | 1 include/asm-arm/arch-ixp4xx/irqs.h | 9 include/asm-arm/arch-ixp4xx/nas100d.h | 75 arch/arm/mach-ixp4xx/nas100d-pci.c | 77 arch/arm/mach-ixp4xx/nas100d-power.c | 69 arch/arm/mach-ixp4xx/nas100d-setup.c | 133 -- Rod Whitby (NSLU2-Linux project lead) Signed-off-by: Rod Whitby Signed-off-by: Alessandro Zummo Signed-off-by: Russell King commit f7e8bbb8207c17afbd716e7e5fc785b78fa08571 tree eb78a6b9578a6f83c1022fcbc1685bc054dc889d parent b3a962455b106a1677f91c754e5315753c3d44c3 author Deepak Saxena Wed, 04 Jan 2006 17:17:10 +0000 committer Russell King Wed, 04 Jan 2006 17:17:10 +0000 [ARM] 3192/1: Remove gpio_isr_line_clear() API from IXP4xx Patch from Deepak Saxena Other than interrupt masking purposes, this API is only used when configuring interrupt lines and this patch moves that functionality directly into the ixp4xx_set_irq_type() implementation as board level PCI code should not need to worry about those details. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 26e92861be9c0da3be30718de693976b3f6a8026 tree 22c1e9b40ada381b63d480b2cd7cf71e032dd747 parent 2af7cd68f1ed20e2e72c91988c3d4f457fa29ebc author Gareth Howlett Wed, 04 Jan 2006 17:00:42 +0000 committer Russell King Wed, 04 Jan 2006 17:00:42 +0000 [SERIAL] Add support for more Connect Tech PCI serial boards I've also fixed the sort-ordering comments on this naming convention. Signed-off-by: Stuart MacDonald Signed-off-by: Russell King commit 2af7cd68f1ed20e2e72c91988c3d4f457fa29ebc tree a242ce0d1ecd154ef6bfa7aaf910a003bed3abdd parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Russell King Wed, 04 Jan 2006 16:55:09 +0000 committer Russell King Wed, 04 Jan 2006 16:55:09 +0000 [Serial] Don't miss modem status changes Reading the MSR register on 8250-compatible UARTs results in any modem status interrupts being cleared. To avoid missing any status changes, arrange for get_mctrl() to read the current status via check_modem_status(), which will process any pending state changes for us. Signed-off-by: Russell King commit 34b8c399dc04c8e51f014b73458e654570698597 tree 7027eda7a780e9d945ef271f8c2ea5aaede5dd25 parent eaceec7f6cc5223d0f146086884d67746b8aa81d parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Jody McIntyre Wed, 04 Jan 2006 11:43:17 -0500 committer Jody McIntyre Wed, 04 Jan 2006 11:43:17 -0500 Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit e9c091b47409255cefa1672041479d850b7b991a tree 4a88257e054c186dc878a26ffa66f370b287195e parent ce11a161c11868f268964274edc7a26a3e063e08 author Russell King Wed, 04 Jan 2006 16:24:05 +0000 committer Russell King Wed, 04 Jan 2006 16:24:05 +0000 [MMC] mmci: add data cache coherency Since MMCI currently uses PIO to read data, we have to take steps to ensure data cache coherency on aliasing CPU caches. Add the necessary flush_dcache_page() calls. Signed-off-by: Russell King commit b3a962455b106a1677f91c754e5315753c3d44c3 tree 17eea82e62a02c75fec9b7a5e5021593c9cb0677 parent d7b4a75677f8f2a559b0c55a550b364e79a8d302 author Russell King Wed, 04 Jan 2006 15:55:41 +0000 committer Russell King Wed, 04 Jan 2006 15:55:41 +0000 [ARM] Remove SA1100 PM prepare/finish ops These are empty, unnecessary functions, so remove them. Signed-off-by: Russell King commit d7b4a75677f8f2a559b0c55a550b364e79a8d302 tree c349ee283d3bde9489b7eb6c450cca0b8f45c298 parent 95ba9fb06be4a8714c98df6097eab1808c72fa98 author Russell King Wed, 04 Jan 2006 15:52:45 +0000 committer Russell King Wed, 04 Jan 2006 15:52:45 +0000 [ARM] Move DMA exports to be next to each function Signed-off-by: Russell King commit 95ba9fb06be4a8714c98df6097eab1808c72fa98 tree 84282965985a2616041fda08a1dc4286f5edb1dd parent 065909b91581cf2438d901a7811a82af3476bdab author Russell King Wed, 04 Jan 2006 15:51:51 +0000 committer Russell King Wed, 04 Jan 2006 15:51:51 +0000 [ARM] Remove definition of MAX_DMA_CHANNELS to zero Since we now only build arch/arm/kernel/dma.c on machine types which set ISA_DMA_API, we don't need to define MAX_DMA_CHANNELS to 0 to indicate this - this definition becomes superfluous. Remove it. Signed-off-by: Russell King commit 065909b91581cf2438d901a7811a82af3476bdab tree a6fabd1ff672791c0f83332a55b85a94736b1de6 parent d4c6fc9976dd70a27abc988ddbd6a746c1dba0a7 author Russell King Wed, 04 Jan 2006 15:44:16 +0000 committer Russell King Wed, 04 Jan 2006 15:44:16 +0000 [ARM] Refine selection of ISA_DMA_API and generic dma.c code ISA_DMA_API tells the rest of the kernel if the ISA DMA API is available. Select this symbol only on machine types which make use of the ISA DMA API. Make building of arch/arm/kernel/dma.c depend on this symbol - if a machine does not support the ISA DMA API, it's pointless building this file. Signed-off-by: Russell King commit d4c6fc9976dd70a27abc988ddbd6a746c1dba0a7 tree c524fa0d4ec0679ff899a67455f161753ffa01d9 parent 6842b9299272a9471a7e94e046b953f6ffe3db9d author Russell King Wed, 04 Jan 2006 15:30:48 +0000 committer Russell King Wed, 04 Jan 2006 15:30:48 +0000 [ARM] Move common definition of MAX_DMA_ADDRESS to asm/dma.h Signed-off-by: Russell King commit 6842b9299272a9471a7e94e046b953f6ffe3db9d tree c24433e5f574b7fa70b9f01cbea01544631c6517 parent 7cdad482974792419cfe4b0affca689170116f49 author Russell King Wed, 04 Jan 2006 15:17:08 +0000 committer Russell King Wed, 04 Jan 2006 15:17:08 +0000 [ARM] Use core_initcall() to initialise ARM DMA There's no need to have DMA initialised at the same time as interrupts. Move it to a core_initcall(). Signed-off-by: Russell King commit 7cdad482974792419cfe4b0affca689170116f49 tree f9ee204f8848274ffb3323f425ad039cf4807de6 parent 333c9624b728a9e83b741ea75836aa114ec35272 author Russell King Wed, 04 Jan 2006 15:08:30 +0000 committer Russell King Wed, 04 Jan 2006 15:08:30 +0000 [ARM] Remove '__address' from scatterlist and convert to DMA API The old __address element in struct scatterlist remained from older kernels because the ARM DMA emulation code made use of it. Move this field into struct dma_struct, and convert DMA emulation code to setup a SG entry as required. Also, convert DMA emulation code to use the new DMA API rather than the PCI DMA API. Signed-off-by: Russell King commit 333c9624b728a9e83b741ea75836aa114ec35272 tree 607fa3d2d2aa3d2cc3e4c4ebacdf8e7d7b59c565 parent 109a9378807cb9093a88fbf9707420de97601e14 author Russell King Wed, 04 Jan 2006 14:41:29 +0000 committer Russell King Wed, 04 Jan 2006 14:41:29 +0000 [ARM] Move ISA DMA bus_to_virt() out of set_dma_addr() Allow the compiler to optimise the bus_to_virt(virt_to_bus()) transformation in the ARM ISA DMA interface. Signed-off-by: Russell King commit 109a9378807cb9093a88fbf9707420de97601e14 tree 08c642b8b5fcfca8d3bc925481c5a8f6d7508904 parent a8d3584a2df28827094f6338cde1303c467bc1f0 author Russell King Wed, 04 Jan 2006 14:06:31 +0000 committer Russell King Wed, 04 Jan 2006 14:06:31 +0000 [ARM] Remove unused dma.c files CLPS711x, EPXA10DB and Integrator contained a dma.c file which has never been built. Remove these redundant files. Signed-off-by: Russell King commit ce11a161c11868f268964274edc7a26a3e063e08 tree db372e9c1a551fc64ac5b13a9eefa9d477f98a76 parent 21500bb32acd4c34b50e5d985712e29792c1b9ad author Russell King Wed, 04 Jan 2006 12:40:39 +0000 committer Russell King Wed, 04 Jan 2006 12:40:39 +0000 [MMC] Fix missing ',' Signed-off-by: Russell King commit c6f43290ae687c11cdcd150d8bfeb57ec29cfa5b tree ca3a4bee38a2ce694f30f08cda3b91daa7ddfa4b parent 676338a1623ee9b60a6efb19ef8f743ab3b2eecb author Jaroslav Kysela Wed, 04 Jan 2006 10:26:16 +0100 committer Jaroslav Kysela Wed, 04 Jan 2006 10:26:30 +0100 [ALSA] ad1889 - remove CVS ID from the driver identification Signed-off-by: Jaroslav Kysela commit 676338a1623ee9b60a6efb19ef8f743ab3b2eecb tree 353750772b10adbfa8eed9a09fea94b72f8f55ad parent 3e23c658833f135508127c955d40d7c9387f71dd author Takashi Iwai Tue, 03 Jan 2006 19:56:55 +0100 committer Jaroslav Kysela Wed, 04 Jan 2006 10:13:52 +0100 [ALSA] opl3 - Fix the unreleased resources Modules: OPL3 Fix the unreleased resources in the error path of snd_opl3_create(). Signed-off-by: Takashi Iwai commit 3e23c658833f135508127c955d40d7c9387f71dd tree 846afbfa16ad9ea004495260e28bc92224c1f610 parent 2ad5dd8dc31137a050f205525a5cd1a4be76c3f1 author Takashi Iwai Tue, 03 Jan 2006 19:54:44 +0100 committer Jaroslav Kysela Wed, 04 Jan 2006 10:13:48 +0100 [ALSA] Revert the nested-device patch Modules: ALSA Core Revert the nested-device patch to keep the compatibility with the current HAL configuration. Signed-off-by: Takashi Iwai commit 2ad5dd8dc31137a050f205525a5cd1a4be76c3f1 tree 4c43e055906048435be05e6483b2f9d6e032a0d4 parent 7790db18be736c87b0cdfa8da8aca11627fc5e54 author Jaroslav Kysela Tue, 03 Jan 2006 14:27:21 +0100 committer Jaroslav Kysela Wed, 04 Jan 2006 10:13:46 +0100 [ALSA] dummy driver - added CA0106 emulation defines Modules: Generic drivers Signed-off-by: Jaroslav Kysela commit 7790db18be736c87b0cdfa8da8aca11627fc5e54 tree 4d038004d523a1425ed227be146e4b4ae801d522 parent be9b7e8c02a5f864e29b17f6d86abcde258ef2fa author Jaroslav Kysela Wed, 04 Jan 2006 10:13:22 +0100 committer Jaroslav Kysela Wed, 04 Jan 2006 10:13:22 +0100 [ALSA] version 1.0.11rc2 commit f190055ff5c08a877d3e1ac2e0300fd92c264b06 tree 322e5309316ce619cb354c517186b35019026cbc parent 80e40daa4797a156781d1594642b654eb1c461df author Arnaldo Carvalho de Melo Wed, 04 Jan 2006 02:02:20 -0200 committer Arnaldo Carvalho de Melo Wed, 04 Jan 2006 02:02:20 -0200 [IPVS]: Add missing include CC [M] net/ipv4/ipvs/ip_vs_conn.o /pub/scm/linux/kernel/git/acme/net-2.6/net/ipv4/ipvs/ip_vs_conn.c: In function 'ip_vs_conn_new': /pub/scm/linux/kernel/git/acme/net-2.6/net/ipv4/ipvs/ip_vs_conn.c:606: warning: implicit declaration of function 'net_ratelimit' /pub/scm/linux/kernel/git/acme/net-2.6/net/ipv4/ipvs/ip_vs_conn.c: In function 'ip_vs_random_dropentry': /pub/scm/linux/kernel/git/acme/net-2.6/net/ipv4/ipvs/ip_vs_conn.c:810: warning: implicit declaration of function 'net_random' Signed-off-by: Arnaldo Carvalho de Melo commit 80e40daa4797a156781d1594642b654eb1c461df tree 31a9a37e00b690edf3e54d61393e364f203549c3 parent e4dfd449c80a41bb615b23d0fc198ba08360a1f8 author Arnaldo Carvalho de Melo Wed, 04 Jan 2006 01:58:06 -0200 committer Arnaldo Carvalho de Melo Wed, 04 Jan 2006 01:58:06 -0200 [TCP]: syn_flood_warning is only needed if CONFIG_SYN_COOKIES is selected CC net/ipv4/tcp_ipv4.o /pub/scm/linux/kernel/git/acme/net-2.6/net/ipv4/tcp_ipv4.c:665: warning: 'syn_flood_warning' defined but not used Signed-off-by: Arnaldo Carvalho de Melo commit e4dfd449c80a41bb615b23d0fc198ba08360a1f8 tree cf5ca5bb82cc5e7ef01a368bf6b86029266bc146 parent 6742bbcbb8a0959e1dff0ce055768e3217d9967a author Arnaldo Carvalho de Melo Wed, 04 Jan 2006 01:46:34 -0200 committer Arnaldo Carvalho de Melo Wed, 04 Jan 2006 01:46:34 -0200 [DCCP] ackvec: use u8 for the buf offsets Signed-off-by: Arnaldo Carvalho de Melo commit 6742bbcbb8a0959e1dff0ce055768e3217d9967a tree 999897434bf2f6e7ad905f28949bed30ae76e279 parent 40efc6fa179f440a008333ea98f701bc35a1f97f author Andrea Bittau Wed, 04 Jan 2006 01:45:17 -0200 committer Arnaldo Carvalho de Melo Wed, 04 Jan 2006 01:45:17 -0200 [DCCP] ackvec: Fix spelling of "throw" Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo commit 40efc6fa179f440a008333ea98f701bc35a1f97f tree ef087df36868362c0238a0aa4373532622e49068 parent 3c19065a1e2c862becc576bc65e54f2bc1cbffe6 author Stephen Hemminger Tue, 03 Jan 2006 16:03:49 -0800 committer David S. Miller Tue, 03 Jan 2006 16:03:49 -0800 [TCP]: less inline's TCP inline usage cleanup: * get rid of inline in several places * replace __inline__ with inline where possible * move functions used in one file out of tcp.h * let compiler decide on used once cases On x86_64: text data bss dec hex filename 3594701 648348 567400 4810449 4966d1 vmlinux.orig 3593133 648580 567400 4809113 496199 vmlinux On sparc64: text data bss dec hex filename 2538278 406152 530392 3474822 350586 vmlinux.ORIG 2536382 406384 530392 3473158 34ff06 vmlinux Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 3c19065a1e2c862becc576bc65e54f2bc1cbffe6 tree ffea801487e7bb870fad3ef3dbd4605193acd5d4 parent 88df8ef59a3eb54b1e2412765ff2736d2376d1ca author Stephen Hemminger Tue, 03 Jan 2006 15:27:38 -0800 committer David S. Miller Tue, 03 Jan 2006 15:27:38 -0800 [IEEE80211] ipw2200: Simplify multicast checks. From: Stephen Hemminger is_multicast_ether_addr() accepts broadcast too, so the is_broadcast_ether_addr() calls are redundant. Signed-off-by: David S. Miller commit 88df8ef59a3eb54b1e2412765ff2736d2376d1ca tree 3180783ee0ac9d32271725a6c9c4dcf69eabf717 parent cd8787ab04d23f925f440b712b43a6fd5cb31ece author Stephen Hemminger Tue, 03 Jan 2006 15:25:45 -0800 committer David S. Miller Tue, 03 Jan 2006 15:25:45 -0800 [NET]: Don't exclude broadcast addresses from is_multicast_ether_addr() The check for multicast shouldn't exclude broadcast type addresses. This reverts the incorrect change done in 2.6.13. The broadcast address is a multicast address and should be excluded from being a valid_ether_address for use in bridging or device address. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 21500bb32acd4c34b50e5d985712e29792c1b9ad tree 5100546631aad4116835634b846979550deaf1a7 parent 63648fb5c0173614064e329503cc75c907dcb1a1 author Dmitry Torokhov Tue, 03 Jan 2006 22:57:35 +0000 committer Russell King Tue, 03 Jan 2006 22:57:35 +0000 [MMC] wbsd: convert to the new platfrom device interface platform_device_register_simple() is going away, switch to using platfrom_device_alloc() + platform_device_add(). Also make sure that wbsd_driver gets unregistered when wbsd_init fails. Signed-off-by: Dmitry Torokhov Acked-by: Pierre Ossman commit 63648fb5c0173614064e329503cc75c907dcb1a1 tree 35bed8ecc7aefbc19fedac3447bce0f8a8bbf40b parent a6f6c96b65d7f65a7a7bf5cbe874eda182a6b2cc author Dmitry Torokhov Tue, 03 Jan 2006 22:56:56 +0000 committer Russell King Tue, 03 Jan 2006 22:56:56 +0000 [MMC] wbsd: make use of ARRAY_SIZE() macro Signed-off-by: Dmitry Torokhov Acked-by: Pierre Ossman commit a6f6c96b65d7f65a7a7bf5cbe874eda182a6b2cc tree 5f3bd4dc24866f2b0e593b1457b1f22ec641139b parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Russell King Tue, 03 Jan 2006 22:38:44 +0000 committer Russell King Tue, 03 Jan 2006 22:38:44 +0000 [MMC] Improve MMC card block size selection Select a block size for IO based on the read and write block size combinations, and whether the card supports partial block reads and/or partial block writes. If we are able to satisfy block reads but not block writes, mark the device read only. Signed-off-by: Russell King commit cd8787ab04d23f925f440b712b43a6fd5cb31ece tree c7ac4e77c3997cf908096cc26e559eb5ff4dec1e parent 554c9a8ec37729bff69951cb740074abbae21afa author Stephen Hemminger Tue, 03 Jan 2006 14:38:34 -0800 committer David S. Miller Tue, 03 Jan 2006 14:38:34 -0800 [IPV4] fib_trie: build fix Need this to fix build of fib_trie in net-2.6.16 (rebased) tree. The code needs the new inet_make_mask inline. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 554c9a8ec37729bff69951cb740074abbae21afa tree f327e7dfc005da2d6792896525f5269308503e0b parent e84a9f5e9cd2b229dda24002334bc3cd36c1109d author Stephen Hemminger Tue, 03 Jan 2006 14:35:54 -0800 committer David S. Miller Tue, 03 Jan 2006 14:35:54 -0800 [BRIDGE]: Fix faulty check in br_stp_recalculate_bridge_id() One of the conversions from memcmp to compare_ether_addr is incorrect. We need to do relative comparison to determine min MAC address to use in bridge id. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit e84a9f5e9cd2b229dda24002334bc3cd36c1109d tree 4b4f51efb168618f507ce89645e4cb7d443e3742 parent 9e377202d2c968dde8efd6121d94c7f0a77787aa author Andrea Bittau Tue, 03 Jan 2006 14:26:15 -0800 committer David S. Miller Tue, 03 Jan 2006 14:26:15 -0800 [DCCP]: Notify CCID only after ACK vectors have been processed. The CCID should be notified of packet reception only when a packet is valid. Therefore, the ACK vector needs to be processed before notifying the CCID. Also, the CCID might need information provided by the ACK vector. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 9e377202d2c968dde8efd6121d94c7f0a77787aa tree e52e9cbd49a99bcbac5bb4831b12bd5b1cb23f18 parent 709dd3aaf5304993083c2297c73f5531c36fba5a author Andrea Bittau Tue, 03 Jan 2006 14:25:49 -0800 committer David S. Miller Tue, 03 Jan 2006 14:25:49 -0800 [DCCP]: Send an ACK vector when ACKing a response packet If ACK vectors are used, each packet with an ACK should contain an ACK vector. The only exception currently is response packets. It probably is not a good idea to store ACK vector state before the connection is completed (to help protect from syn floods). Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 709dd3aaf5304993083c2297c73f5531c36fba5a tree 8e6929b88040fb9acb92c3bfe1c45f210ad8e659 parent 5062430c5cc526655e3d10c670fc9c263656f66c author Andrea Bittau Tue, 03 Jan 2006 14:25:17 -0800 committer David S. Miller Tue, 03 Jan 2006 14:25:17 -0800 [DCCP]: Do not process a packet twice when it's not in state DCCP_OPEN. When packets are received, the connection is either in DCCP_OPEN [fast-path] or it isn't. If it's not [e.g. DCCP_PARTOPEN] upper layers will perform sanity checks and parse options. If it is in DCCP_OPEN, dccp_rcv_established() will do it. It is important not to re-parse options in dccp_rcv_established() when it is not called from the fast-path. Else, fore example, the ack vector will be added twice and the CCID will see the packet twice. The solution is to always enfore sanity checks from the upper layers. When packets arrive in the fast-path, sanity checks will be performed before calling dccp_rcv_established(). Note(acme): I rewrote the patch to achieve the same result but keeping dccp_rcv_established with the previous semantics and having it split into __dccp_rcv_established, that doesn't does do any sanity check, code in state != DCCP_OPEN use this lighter version as they already do the sanity checks. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 5062430c5cc526655e3d10c670fc9c263656f66c tree 6e68b3077a5fcf2a5d9a896223585f8c9d45204b parent 4b5bdf5cc3695dc5caba011b9c616b40e6299638 author Patrick Caulfield Tue, 03 Jan 2006 14:24:02 -0800 committer David S. Miller Tue, 03 Jan 2006 14:24:02 -0800 [DECNET]: Only use local routers The attached patch makes DECnet routing only use routers from the same area - rather than the highest rated router seen. In theory there should not be an out-of-area router on a local network but some networks are bridged rather than properly routed. VMS seems to behave similarly: if I bring up a VMS node with no router then it can't see anything else on the global network. Signed-off-by: Patrick Caulfield Signed-off-by: David S. Miller commit 4b5bdf5cc3695dc5caba011b9c616b40e6299638 tree 898ccc98f7501c08cd8153621137045143775c7e parent fd30333d0fab9e870af89e112454996c188655e9 author Roberto Nibali Tue, 03 Jan 2006 14:22:59 -0800 committer David S. Miller Tue, 03 Jan 2006 14:22:59 -0800 [IPVS]: Cleanup IP_VS_DBG statements. From: Roberto Nibali The attached patch (against current -GIT) is a cleanup patch which does following: o lookup debug messages shifted back to 9 o added more informational value to flags and refcnt since those entries can be in multiple referenced structures o cleanup 80 char violation It's the prepatch to the session pool implementation and helps very much to debug and monitor important variables and structures regarding the threshold limitation and persistency without the thousands of lookup messages which noone is interested in. Signed-off-by: Horms Signed-off-by: David S. Miller commit fd30333d0fab9e870af89e112454996c188655e9 tree 881b51d7039d5c513729a6179110f31091b2c99a parent b5e5fa5e093e42cab4ee3d6dcbc4f450ad29a723 author Alexey Dobriyan Tue, 03 Jan 2006 14:19:25 -0800 committer David S. Miller Tue, 03 Jan 2006 14:19:25 -0800 [TG3]: fixup tot_len calculation Turning struct iphdr::tot_len into __be16 added sparse warning. Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit b5e5fa5e093e42cab4ee3d6dcbc4f450ad29a723 tree 7a87804b0953f22de43054ccc7ae67ebc5b66b20 parent 5ff7630e4aa6c3969094dc30ff1cdaa6f52b0ed0 author Christoph Hellwig Tue, 03 Jan 2006 14:18:33 -0800 committer David S. Miller Tue, 03 Jan 2006 14:18:33 -0800 [NET]: Add a dev_ioctl() fallback to sock_ioctl() Currently all network protocols need to call dev_ioctl as the default fallback in their ioctl implementations. This patch adds a fallback to dev_ioctl to sock_ioctl if the protocol returned -ENOIOCTLCMD. This way all the procotol ioctl handlers can be simplified and we don't need to export dev_ioctl. Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit 5ff7630e4aa6c3969094dc30ff1cdaa6f52b0ed0 tree a7905ac237dae4d9cf9f155a0aea33d904f67e96 parent b461d2f2188c1c578ed651e4cdf608be7a993cd4 author Christoph Hellwig Tue, 03 Jan 2006 14:14:46 -0800 committer David S. Miller Tue, 03 Jan 2006 14:14:46 -0800 [NETROM]: Remove unessecary lock_sock calls in netrom_ioctl() lock_sock is needed only in very few cases, so do it there instead of around the switch statement. Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit b461d2f2188c1c578ed651e4cdf608be7a993cd4 tree 0a53ece878f2f5e3accdf45cdc76bdd1b2ef62f5 parent fd19f329a32bdc4eb07885e0b3889567cfe00aa7 author Per Liden Tue, 03 Jan 2006 14:13:29 -0800 committer David S. Miller Tue, 03 Jan 2006 14:13:29 -0800 [NETLINK] genetlink: fix cmd type in genl_ops to be consistent to u8 Signed-off-by: Per Liden ACKed-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit fd19f329a32bdc4eb07885e0b3889567cfe00aa7 tree c69943e8294cae13df6af3dc8b8c25abab8c9cfb parent 4947d3ef8de7b4f42aed6ea9ba689dc8fb45b5a5 author Benjamin LaHaise Tue, 03 Jan 2006 14:10:46 -0800 committer David S. Miller Tue, 03 Jan 2006 14:10:46 -0800 [AF_UNIX]: Convert to use a spinlock instead of rwlock From: Benjamin LaHaise In af_unix, a rwlock is used to protect internal state. At least on my P4 with HT it is faster to use a spinlock due to the simpler memory barrier used to unlock. This patch raises bw_unix to ~690K/s. Signed-off-by: David S. Miller commit 4947d3ef8de7b4f42aed6ea9ba689dc8fb45b5a5 tree a4e77f0271702e4ff34a7a9e0c9598a3807204ee parent 17ba15fb6264f27374bc87f4c3f8519b80289d85 author Benjamin LaHaise Tue, 03 Jan 2006 14:06:50 -0800 committer David S. Miller Tue, 03 Jan 2006 14:06:50 -0800 [NET]: Speed up __alloc_skb() From: Benjamin LaHaise In __alloc_skb(), the use of skb_shinfo() which casts a u8 * to the shared info structure results in gcc being forced to do a reload of the pointer since it has no information on possible aliasing. Fix this by using a pointer to refer to skb_shared_info. By initializing skb_shared_info sequentially, the write combining buffers can reduce the number of memory transactions to a single write. Reorder the initialization in __alloc_skb() to match the structure definition. There is also an alignment issue on 64 bit systems with skb_shared_info by converting nr_frags to a short everything packs up nicely. Also, pass the slab cache pointer according to the fclone flag instead of using two almost identical function calls. This raises bw_unix performance up to a peak of 707KB/s when combined with the spinlock patch. It should help other networking protocols, too. Signed-off-by: David S. Miller commit 17ba15fb6264f27374bc87f4c3f8519b80289d85 tree 3134abef98d88aa029aa7faa72d8a41686644e99 parent 8639a11e23d9eb0a6ceac2feed27acdfbb158f95 author David S. Miller Tue, 27 Dec 2005 20:57:40 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:23 -0800 [PPPOX]: Fix assignment into const proto_ops. And actually, with this, the whole pppox layer can basically be removed and subsumed into pppoe.c, no other pppox sub-protocol implementation exists and we've had this thing for at least 4 years. Signed-off-by: David S. Miller commit 8639a11e23d9eb0a6ceac2feed27acdfbb158f95 tree 14895d8e71a0561b46da04421f55364a52e46b35 parent 14c850212ed8f8cbb5972ad6b8812e08a0bc901c author Arnaldo Carvalho de Melo Tue, 27 Dec 2005 15:17:57 -0200 committer David S. Miller Tue, 03 Jan 2006 13:11:22 -0800 [TCP]: Don't use __constant_htonl for a non const arg Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 14c850212ed8f8cbb5972ad6b8812e08a0bc901c tree 53c88f03e7bbac4064f6e80d462ad484ee038326 parent 25995ff577675b58dbd848b7758e7bad87411947 author Arnaldo Carvalho de Melo Tue, 27 Dec 2005 02:43:12 -0200 committer David S. Miller Tue, 03 Jan 2006 13:11:21 -0800 [INET_SOCK]: Move struct inet_sock & helper functions to net/inet_sock.h To help in reducing the number of include dependencies, several files were touched as they were getting needed headers indirectly for stuff they use. Thanks also to Alan Menegotto for pointing out that net/dccp/proto.c had linux/dccp.h include twice. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 25995ff577675b58dbd848b7758e7bad87411947 tree 4d47595b01f8645552fa8af7b2be2019f133fefb parent ce1d4d3e88b3a69d23c3feb436a0b36b6ca0642b author Arnaldo Carvalho de Melo Tue, 27 Dec 2005 02:42:22 -0200 committer David S. Miller Tue, 03 Jan 2006 13:11:19 -0800 [SOCK]: Introduce sk_receive_skb Its common enough to to justify that, TCP still can't use it as it has the prequeueing stuff, still to be made generic in the not so distant future :-) Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit ce1d4d3e88b3a69d23c3feb436a0b36b6ca0642b tree 6bec428bddf30c88155d2523fc82a05f8e6876a6 parent cbeb321a64af5437fbde249605b191ff0fdfa21c author Christoph Hellwig Thu, 22 Dec 2005 21:08:46 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:18 -0800 [NET]: restructure sock_aio_{read,write} / sock_{readv,writev} Mid-term I plan to restructure the file_operations so that we don't need to have all these duplicate aio and vectored versions. This patch is a small step in that direction but also a worthwile cleanup on it's own: (1) introduce a alloc_sock_iocb helper that encapsulates allocating a proper sock_iocb (2) add do_sock_read and do_sock_write helpers for common read/write code Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit cbeb321a64af5437fbde249605b191ff0fdfa21c tree 15a0c109583ee1aeee00bae7086324be03c63f48 parent f34fbb971368c20f757f8758833a534590b16518 author David S. Miller Thu, 22 Dec 2005 12:58:55 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:17 -0800 [NET]: Fix sock_init() return value. It needs to return zero now that it is an initcall. Also, net/nonet.c no longer needs a dummy sock_init(). Signed-off-by: David S. Miller commit f34fbb971368c20f757f8758833a534590b16518 tree 97762c7bec22dd48cdea39f0a43bdadf663b509e parent 90ddc4f0470427df306f308ad03db6b6b21644b8 author Jaco Kroon Thu, 22 Dec 2005 12:51:46 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:16 -0800 [PKTGEN]: Deinitialise static variables. static variables should not be explicitly initialised to 0. This causes them to be placed in .data instead of .bss. This patch de-initialises 3 static variables in net/core/pktgen.c. There are approximately 800 more such variables in the source tree (2.6.15rc5). If there is more interrest I'd be willing to track down the rest of these as well and de-initialise them as well. Signed-off-by: David S. Miller commit 90ddc4f0470427df306f308ad03db6b6b21644b8 tree f97c1d57b25585394ebbd4b42b8d42a339f98644 parent 77d76ea310b50a9c8ff15bd290fcb4ed4961adf2 author Eric Dumazet Thu, 22 Dec 2005 12:49:22 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:15 -0800 [NET]: move struct proto_ops to const I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least) This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing. This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly) I made a global stubstitute to change all existing occurences to make them const. This should reduce the possibility of false sharing on SMP, and speedup some socket system calls. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller commit 77d76ea310b50a9c8ff15bd290fcb4ed4961adf2 tree 7d6e8b2426d4b3debe5ddf838ab2a2ef13f1b106 parent 7708610b1bff4a0ba8a73733d3c7c4bda9f94b21 author Andi Kleen Thu, 22 Dec 2005 12:43:42 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:14 -0800 [NET]: Small cleanup to socket initialization sock_init can be done as a core_initcall instead of calling it directly in init/main.c Also I removed an out of date #ifdef. Signed-off-by: Andi Kleen Signed-off-by: David S. Miller commit 7708610b1bff4a0ba8a73733d3c7c4bda9f94b21 tree 5594f507d721be8de0ec17a7a2c3b473e1e45c15 parent 52ccb8e90c0ace233b8b740f2fc5de0dbd706b27 author Frank Filz Thu, 22 Dec 2005 11:37:30 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:13 -0800 [SCTP]: Add support for SCTP_DELAYED_ACK_TIME socket option. Signed-off-by: Frank Filz Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit 52ccb8e90c0ace233b8b740f2fc5de0dbd706b27 tree d2c06dd7b26e70c8dccf31971508005fdc82cbb2 parent fd9662555cc35f8bf9242cd7bba8b44ae168a68b author Frank Filz Thu, 22 Dec 2005 11:36:46 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:11 -0800 [SCTP]: Update SCTP_PEER_ADDR_PARAMS socket option to the latest api draft. This patch adds support to set/get heartbeat interval, maximum number of retransmissions, pathmtu, sackdelay time for a particular transport/ association/socket as per the latest SCTP sockets api draft11. Signed-off-by: Frank Filz Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit fd9662555cc35f8bf9242cd7bba8b44ae168a68b tree 0896bb30e93c5cae3d5496eb3df43bd64c4d0038 parent 9eb2d627190a8afe4b9276b24615a9559504fa60 author Robert Olsson Thu, 22 Dec 2005 11:25:10 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:10 -0800 [IPV4] fib_trie: Add credits. Signed-off-by: Robert Olsson Signed-off-by: David S. Miller commit 9eb2d627190a8afe4b9276b24615a9559504fa60 tree 39479e9d761e53462bd05f979d0ced132bbfcb0a parent 89b3d9aaf46791177c5a5fa07a3ed38a035b5ef5 author Stephen Hemminger Wed, 21 Dec 2005 19:32:36 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:09 -0800 [TCP] cubic: use Newton-Raphson Replace cube root algorithim with a faster version using Newton-Raphson. Surprisingly, doing the scaled div64_64 is faster than a true 64 bit division on 64 bit CPU's. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 89b3d9aaf46791177c5a5fa07a3ed38a035b5ef5 tree 161c94fe1060d267de87a6cee04e6dc7838f2816 parent 90933fc8ba5cc9034e3c04ee19938a22b0b4fe4e author Stephen Hemminger Wed, 21 Dec 2005 19:32:08 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:08 -0800 [TCP] cubic: precompute constants Revised version of patch to pre-compute values for TCP cubic. * d32,d64 replaced with descriptive names * cube_factor replaces srtt[scaled by count] / HZ * ((1 << (10+2*BICTCP_HZ)) / bic_scale) * beta_scale replaces 8*(BICTCP_BETA_SCALE+beta)/3/(BICTCP_BETA_SCALE-beta); Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 90933fc8ba5cc9034e3c04ee19938a22b0b4fe4e tree e42a78d253b375025cf73efe0f582d2722619397 parent 3821af2fe13700cab6fd67367128fa180e43f8b8 author Stephen Hemminger Wed, 21 Dec 2005 19:31:36 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:07 -0800 [FLS64]: x86_64 version Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 3821af2fe13700cab6fd67367128fa180e43f8b8 tree a70f63c24bd7d2ac8b25e3e4ee0ef6a50847aa67 parent c865e5d99e25a171e8262fc0f7ba608568633c64 author Stephen Hemminger Wed, 21 Dec 2005 19:30:53 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:06 -0800 [FLS64]: generic version Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit c865e5d99e25a171e8262fc0f7ba608568633c64 tree 5d8cd6a5a4623d3497f2eb0c14e80511f5b2ef73 parent 8cbb512e50fb702b5b1d444f76ebcdb53577b2ec author Stephen Hemminger Wed, 21 Dec 2005 19:03:44 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:05 -0800 [PKT_SCHED] netem: packet corruption option Here is a new feature for netem in 2.6.16. It adds the ability to randomly corrupt packets with netem. A version was done by Hagen Paul Pfeifer, but I redid it to handle the cases of backwards compatibility with netlink interface and presence of hardware checksum offload. It is useful for testing hardware offload in devices. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 8cbb512e50fb702b5b1d444f76ebcdb53577b2ec tree 749abb8677bd19d56b7f4cf8dd34c41250b1b4e3 parent edb5e46fc03d0a45f2b41e3717631f7af7e9fc19 author Stephen Hemminger Wed, 21 Dec 2005 19:01:30 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:04 -0800 [BRIDGE]: add version number Add version info to bridge module. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit edb5e46fc03d0a45f2b41e3717631f7af7e9fc19 tree ede6a4e9dcdf52ff48ea2a11ac0188822b097715 parent 0e5eabac4995e128f06b90df64b93604625de6de author Stephen Hemminger Wed, 21 Dec 2005 19:00:58 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:03 -0800 [BRIDGE]: limited ethtool support Add limited ethtool support to bridge to allow disabling features. Note: if underlying device does not support a feature (like checksum offload), then the bridge device won't inherit it. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 0e5eabac4995e128f06b90df64b93604625de6de tree 1c01b11f47943eadac79a5a0ba6d15f2bb98f24c parent 4433f420e57afae0ab308b1e2b979f09c86bc115 author Stephen Hemminger Wed, 21 Dec 2005 19:00:18 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:02 -0800 [BRIDGE]: filter packets in learning state While in the learning state, run filters but drop the result. This prevents us from acquiring bad fdb entries in learning state. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 4433f420e57afae0ab308b1e2b979f09c86bc115 tree 3481cdce9a8ba28ba8ad26d0ed49151c1d08f4b7 parent 4505a3ef720845b5db3ddb440de13cd4800fd508 author Stephen Hemminger Tue, 20 Dec 2005 15:19:51 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:01 -0800 [BRIDGE]: handle speed detection after carrier changes Speed of a interface may not be available until carrier is detected in the case of autonegotiation. To get the correct value we need to recheck speed after carrier event. But the check needs to be done in a context that is similar to normal ethtool interface (can sleep). Also, delay check for 1ms to try avoid any carrier bounce transitions. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 4505a3ef720845b5db3ddb440de13cd4800fd508 tree 2de3d2fb20d160dc1a04bdb0295882561e4244bc parent fbe9cc4a87030d5cad5f944ffaef6af7efd119e4 author Stephen Hemminger Wed, 21 Dec 2005 18:51:49 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:00 -0800 [BRIDGE]: allow setting hardware address of bridge pseudo-dev Some people are using bridging to hide multiple machines from an ISP that restricts by MAC address. So in that case allow the bridge mac address to be set to any of the existing interfaces. I don't want to allow any arbitrary value and confuse STP. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit fbe9cc4a87030d5cad5f944ffaef6af7efd119e4 tree f4e9ce6608e1b8b7e160e44e68853a2b6e5e84d5 parent d83d8461f902c672bc1bd8fbc6a94e19f092da97 author David S. Miller Tue, 13 Dec 2005 23:26:29 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:59 -0800 [AF_UNIX]: Use spinlock for unix_table_lock This lock is actually taken mostly as a writer, so using a rwlock actually just makes performance worse especially on chips like the Intel P4. Signed-off-by: David S. Miller commit d83d8461f902c672bc1bd8fbc6a94e19f092da97 tree 0534c553ab92baa2eb9dbb5bba64f2c4540b1e89 parent 22712813620fa8e682dbfb253a60ca0131da1e07 author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:26:10 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:58 -0800 [IP_SOCKGLUE]: Remove most of the tcp specific calls As DCCP needs to be called in the same spots. Now we have a member in inet_sock (is_icsk), set at sock creation time from struct inet_protosw->flags (if INET_PROTOSW_ICSK is set, like for TCP and DCCP) to see if a struct sock instance is a inet_connection_sock for places like the ones in ip_sockglue.c (v4 and v6) where we previously were looking if sk_type was SOCK_STREAM, that is insufficient because we now use the same code for DCCP, that has sk_type SOCK_DCCP. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 22712813620fa8e682dbfb253a60ca0131da1e07 tree d3ed724002ecb7f028666d7fafbfc4fb96297182 parent d8313f5ca2b1f86b7df6c99fc4b3fffa1f84e92b author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:25:56 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:57 -0800 [TCP]: Move the TCPF_ enum to tcp_states.h Upcoming patches will make, for instance, ip_sockglue.c need just this enum and not all of tcp.h. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit d8313f5ca2b1f86b7df6c99fc4b3fffa1f84e92b tree 1ee41d265c7790e4389bf4d123b2b60975ad2967 parent a7f5e7f164788a22eb5d3de8e2d3cee1bf58fdca author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:25:44 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:56 -0800 [INET6]: Generalise tcp_v6_hash_connect Renaming it to inet6_hash_connect, making it possible to ditch dccp_v6_hash_connect and share the same code with TCP instead. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit a7f5e7f164788a22eb5d3de8e2d3cee1bf58fdca tree 809ed01d61aa9548124b9958a5a500068b1db670 parent 6d6ee43e0b8b8d4847627fd43739b98ec2b9404f author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:25:31 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:55 -0800 [INET]: Generalise tcp_v4_hash_connect Renaming it to inet_hash_connect, making it possible to ditch dccp_v4_hash_connect and share the same code with TCP instead. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 6d6ee43e0b8b8d4847627fd43739b98ec2b9404f tree a2a66381d2351610c81362bf218e743f6ccf56ef parent fc44b9805324c0ad2733ea2feea9935cc056709d author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:25:19 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:54 -0800 [TWSK]: Introduce struct timewait_sock_ops So that we can share several timewait sockets related functions and make the timewait mini sockets infrastructure closer to the request mini sockets one. Next changesets will take advantage of this, moving more code out of TCP and DCCP v4 and v6 to common infrastructure. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit fc44b9805324c0ad2733ea2feea9935cc056709d tree 6ba01edabb2d4bf49ee52fc7a7c32bddc36a79f2 parent 3df80d9320bcaea72b1b4761a319c79cb3fdaf5f author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:25:06 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:53 -0800 [DCCP]: Use reqsk_free in dccp_v4_conn_request Now we have the destructor (dccp_v4_reqsk_destructor) in our request_sock_ops vtable. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 3df80d9320bcaea72b1b4761a319c79cb3fdaf5f tree 20ca32dc85b1ec211c6bb91acd325e039bdb496f parent 399c07def62a77678d633f5b3005431423a424a8 author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:24:53 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:52 -0800 [DCCP]: Introduce DCCPv6 Still needs mucho polishing, specially in the checksum code, but works just fine, inet_diag/iproute2 and all 8) Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 399c07def62a77678d633f5b3005431423a424a8 tree 2444dc64ab451366dc81ecdf4c72a57a7d3c5cc0 parent f21e68caa0ddffddf98a1e729e734a470957b6ec author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:24:28 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:51 -0800 [IPV6]: Export ipv6_opt_accepted It was already non-TCP specific, will be used by DCCPv6. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit f21e68caa0ddffddf98a1e729e734a470957b6ec tree 52b372d10cbacd066867ba1c918f48b9fdaad950 parent 34ca6860810342441f801226b19ae6c9e0ecb34f author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:24:16 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:50 -0800 [DCCP]: Prepare the AF agnostic core for the introduction of DCCPv6 Basically exports a similar set of functions as the one exported by the non-AF specific TCP code. In the process moved some non-AF specific code from dccp_v4_connect to dccp_connect_init and moved the checksum verification from dccp_invalid_packet to dccp_v4_rcv, so as to use it in dccp_v6_rcv too. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 34ca6860810342441f801226b19ae6c9e0ecb34f tree 4daae6985e70f28100f2244e73fcd70394f180b9 parent 3cf3dc6c2e05e67b12e522f547c0b71d509a516c author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:23:32 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:49 -0800 [DCCP]: Just rename dccp_v4_prot to dccp_prot To match TCP equivalent. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 3cf3dc6c2e05e67b12e522f547c0b71d509a516c tree 615b39f25e06928962a58aabf27ec8a416806be5 parent 0fa1a53e1f055a6c790f40e7728f42a825b29248 author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:23:20 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:48 -0800 [IPV6]: Export some symbols for DCCPv6 Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 0fa1a53e1f055a6c790f40e7728f42a825b29248 tree 524eb8c8cadf6053faad6c8799c0571dee92c2b1 parent b9750ce13c08aa8a71a9b138d741f3046aefd991 author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:23:09 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:47 -0800 [IPV6]: Introduce inet6_timewait_sock Out of tcp6_timewait_sock, that now is just an aggregation of inet_timewait_sock and inet6_timewait_sock, using tw_ipv6_offset in struct inet_timewait_sock, that is common to the IPv6 transport protocols that use timewait sockets, like DCCP and TCP. tw_ipv6_offset plays the struct inet_sock pinfo6 role, i.e. for the generic code to find the IPv6 area in a timewait sock. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit b9750ce13c08aa8a71a9b138d741f3046aefd991 tree 08b2b842ece908bf63c104bbcb12e8b78c69288d parent 830a1e5c212fb3fdc83b66359c780c3b3a294897 author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:22:54 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:46 -0800 [IPV6]: Generalise some functions Using sk->sk_protocol instead of IPPROTO_TCP. Will be used by DCCPv6 in the next changesets. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 830a1e5c212fb3fdc83b66359c780c3b3a294897 tree 232215af3774d78aa179adb1612bfa5257af181d parent c1cbe4b7ad0bc4b1d98ea708a3fecb7362aa4088 author Benjamin LaHaise Tue, 13 Dec 2005 23:22:32 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:45 -0800 [AF_UNIX]: Remove superfluous reference counting in unix_stream_sendmsg AF_UNIX stream socket performance on P4 CPUs tends to suffer due to a lot of pipeline flushes from atomic operations. The patch below removes the sock_hold() and sock_put() in unix_stream_sendmsg(). This should be safe as the socket still holds a reference to its peer which is only released after the file descriptor's final user invokes unix_release_sock(). The only consideration is that we must add a memory barrier before setting the peer initially. Signed-off-by: Benjamin LaHaise Signed-off-by: David S. Miller commit c1cbe4b7ad0bc4b1d98ea708a3fecb7362aa4088 tree 04ec26c728645dd1da2474b2b883a532b43811ad parent f1f71e03b17db3b9edb0264a8be7719bd5c35582 author Benjamin LaHaise Tue, 13 Dec 2005 23:22:19 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:44 -0800 [NET]: Avoid atomic xchg() for non-error case It also looks like there were 2 places where the test on sk_err was missing from the event wait logic (in sk_stream_wait_connect and sk_stream_wait_memory), while the rest of the sock_error() users look to be doing the right thing. This version of the patch fixes those, and cleans up a few places that were testing ->sk_err directly. Signed-off-by: Benjamin LaHaise Signed-off-by: David S. Miller commit f1f71e03b17db3b9edb0264a8be7719bd5c35582 tree f782baf31e8ea2b14b1b126bd9557c76c56032a5 parent 65a45441d7e91ef6107fadbc55f775db4ba23874 author Roberto Nibali Tue, 13 Dec 2005 23:17:20 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:43 -0800 [IPVS]: remove dead code This patch removes dead code. I don't see the reason to keep this cruft around, besides cluttering the nice and functionally working code. Signed-off-by: Roberto Nibali Signed-off-by: Horms Signed-off-by: David S. Miller commit 65a45441d7e91ef6107fadbc55f775db4ba23874 tree d88c4908321609739e653c10b6d5fbdbeccfd1ea parent 3305b80c214c642b89cd5c21af83bc91ec13f8bd author Stephen Hemminger Tue, 13 Dec 2005 23:17:02 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:42 -0800 [UDP]: udp_checksum_init return value Since udp_checksum_init always returns 0 there is no point in having it return a value. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 3305b80c214c642b89cd5c21af83bc91ec13f8bd tree 909ed75c500d0ac422738781f84a819c933703c5 parent 57cca05af1e20fdc65b55be52c042c234f86c866 author Herbert Xu Tue, 13 Dec 2005 23:16:37 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:41 -0800 [IP]: Simplify and consolidate MSG_PEEK error handling When a packet is obtained from skb_recv_datagram with MSG_PEEK enabled it is left on the socket receive queue. This means that when we detect a checksum error we have to be careful when trying to free the packet as someone could have dequeued it in the time being. Currently this delicate logic is duplicated three times between UDPv4, UDPv6 and RAWv6. This patch moves them into a one place and simplifies the code somewhat. This is based on a suggestion by Eric Dumazet. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 57cca05af1e20fdc65b55be52c042c234f86c866 tree 43b18dca01340861e7ad392c0c2ce398a1c878fd parent af05dc9394feb193d221bc9d4c6db768facb4b40 author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:16:16 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:40 -0800 [DCCP]: Introduce dccp_ipv4_af_ops And make the core DCCP code AF agnostic, just like TCP, now its time to work on net/dccp/ipv6.c, we are close to the end! Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit af05dc9394feb193d221bc9d4c6db768facb4b40 tree 05137311001c383fad817d3ce0f6324200d64532 parent 8292a17a399ffb7c5c8b083db4ad994e090055f7 author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:16:04 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:39 -0800 [ICSK]: Move v4_addr2sockaddr from TCP to icsk Renaming it to inet_csk_addr2sockaddr. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 8292a17a399ffb7c5c8b083db4ad994e090055f7 tree 1544436169ba1dc2eface34664a203c2c17a8d65 parent ca304b6104ffdd120bb6687a88a0625e58bc71cd author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:15:52 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:38 -0800 [ICSK]: Rename struct tcp_func to struct inet_connection_sock_af_ops And move it to struct inet_connection_sock. DCCP will use it in the upcoming changesets. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit ca304b6104ffdd120bb6687a88a0625e58bc71cd tree 99bdf631af245808459a0a956350b9388eada7fc parent 8129765ac07c2455c927051e3a8b048b619b56ee author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:15:40 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:37 -0800 [IPV6]: Introduce inet6_rsk() And inet6_rsk_offset in inet_request_sock, for the same reasons as inet_sock's pinfo6 member. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 8129765ac07c2455c927051e3a8b048b619b56ee tree 4773c8e3079ccca63d490935419eaaf35e9b1459 parent c2977c2213993bff51911f4117281b31c4612591 author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:15:24 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:36 -0800 [IPV6]: Generalise tcp_v6_search_req & tcp_v6_synq_add More work is needed tho to introduce inet6_request_sock from tcp6_request_sock, in the same layout considerations as ipv6_pinfo in inet_sock, next changeset will do that. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit c2977c2213993bff51911f4117281b31c4612591 tree 3b6b4d73d33ee47a6e2669770591303097120347 parent 90b19d31695371bd3ed256d4c9e280861cd6ae7e author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:15:12 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:34 -0800 [ICSK]: make inet_csk_reqsk_queue_hash_add timeout arg unsigned long Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 90b19d31695371bd3ed256d4c9e280861cd6ae7e tree 19b2f273c96f0a7932a3c5f0f95de9a900b48602 parent 971af18bbfabb7b7c9c548da34a51e30869c08fc author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:15:01 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:33 -0800 [IPV6]: Generalise __tcp_v6_hash, renaming it to __inet6_hash Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 971af18bbfabb7b7c9c548da34a51e30869c08fc tree 02597aa6885b9937e1d6526f4789d6841953d551 parent 89cee8b1cbb9dac40c92ef1968aea2b45f82fd18 author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:14:47 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:33 -0800 [IPV6]: Reuse inet_csk_get_port in tcp_v6_get_port Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 89cee8b1cbb9dac40c92ef1968aea2b45f82fd18 tree 01049841b15a9c2f3f136710382c7e4c11c1b1e5 parent d5228a4f49db32d22a39c653281b527ef371129c author Herbert Xu Tue, 13 Dec 2005 23:14:27 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:31 -0800 [IPV4]: Safer reassembly Another spin of Herbert Xu's "safer ip reassembly" patch for 2.6.16. (The original patch is here: http://marc.theaimsgroup.com/?l=linux-netdev&m=112281936522415&w=2 and my only contribution is to have tested it.) This patch (optionally) does additional checks before accepting IP fragments, which can greatly reduce the possibility of reassembling fragments which originated from different IP datagrams. Signed-off-by: Herbert Xu Signed-off-by: Arthur Kepner Signed-off-by: David S. Miller commit d5228a4f49db32d22a39c653281b527ef371129c tree 89d2c988c877fd3d25078c40a4bdfdd8df2e553a parent 318360646941d6f3d4c6e4ee99107392728a4079 author Bart De Schuymer Tue, 13 Dec 2005 23:14:08 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:30 -0800 [NETFILTER] ebtables: Support nf_log API from ebt_log and ebt_ulog This makes ebt_log and ebt_ulog use the new nf_log api. This enables the bridging packet filter to log packets e.g. via nfnetlink_log. Signed-off-by: Bart De Schuymer Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 318360646941d6f3d4c6e4ee99107392728a4079 tree 26ab4ddc68f917dd4e8813ace504956620eba3a8 parent df3271f3361b61ce02da0026b4a53e63bc2720cb author Eric Dumazet Tue, 13 Dec 2005 23:13:48 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:29 -0800 [NETFILTER] ip_tables: NUMA-aware allocation Part of a performance problem with ip_tables is that memory allocation is not NUMA aware, but 'only' SMP aware (ie each CPU normally touch separate cache lines) Even with small iptables rules, the cost of this misplacement can be high on common workloads. Instead of using one vmalloc() area (located in the node of the iptables process), we now allocate an area for each possible CPU, using vmalloc_node() so that memory should be allocated in the CPU's node if possible. Port to arp_tables and ip6_tables by Harald Welte. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller commit df3271f3361b61ce02da0026b4a53e63bc2720cb tree f2d897b95ee85b49b167b14554d9aaf1734fd332 parent 05d054503a9c4652212b8730150608787547ecc3 author Stephen Hemminger Tue, 13 Dec 2005 23:13:28 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:28 -0800 [TCP] BIC: CUBIC window growth (2.0) Replace existing BIC version 1.1 with new version 2.0. The main change is to replace the window growth function with a cubic function as described in: http://www.csc.ncsu.edu/faculty/rhee/export/bitcp/cubic-paper.pdf Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 05d054503a9c4652212b8730150608787547ecc3 tree a1bab354efd29959baf4ec6fcb03b37e3973f838 parent 018da8f44c066d5fc390011b8c953135f973b3a9 author Stephen Hemminger Tue, 13 Dec 2005 23:13:13 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:27 -0800 [TCP] BIC: spelling and whitespace Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 018da8f44c066d5fc390011b8c953135f973b3a9 tree 196fbd3028d166f7ac88e60019b6d3a56d16be13 parent d28d1e080132f28ab773291f10ad6acca4c8bba2 author Stephen Hemminger Tue, 13 Dec 2005 23:13:00 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:26 -0800 [TCP] BIC: remove low utilization code. The latest BICTCP patch at: http://www.csc.ncsu.edu:8080/faculty/rhee/export/bitcp/index_files/Page546.htm disables the low_utilization feature of BICTCP because it doesn't work in some cases. This patch removes it. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit d28d1e080132f28ab773291f10ad6acca4c8bba2 tree 4cc6abef076393bc4c9f0d4e4c9952b78c04d3ee parent df71837d5024e2524cd51c93621e558aa7dd9f3f author Trent Jaeger Tue, 13 Dec 2005 23:12:40 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:25 -0800 [LSM-IPSec]: Per-packet access control. This patch series implements per packet access control via the extension of the Linux Security Modules (LSM) interface by hooks in the XFRM and pfkey subsystems that leverage IPSec security associations to label packets. Extensions to the SELinux LSM are included that leverage the patch for this purpose. This patch implements the changes necessary to the SELinux LSM to create, deallocate, and use security contexts for policies (xfrm_policy) and security associations (xfrm_state) that enable control of a socket's ability to send and receive packets. Patch purpose: The patch is designed to enable the SELinux LSM to implement access control on individual packets based on the strongly authenticated IPSec security association. Such access controls augment the existing ones in SELinux based on network interface and IP address. The former are very coarse-grained, and the latter can be spoofed. By using IPSec, the SELinux can control access to remote hosts based on cryptographic keys generated using the IPSec mechanism. This enables access control on a per-machine basis or per-application if the remote machine is running the same mechanism and trusted to enforce the access control policy. Patch design approach: The patch's main function is to authorize a socket's access to a IPSec policy based on their security contexts. Since the communication is implemented by a security association, the patch ensures that the security association's negotiated and used have the same security context. The patch enables allocation and deallocation of such security contexts for policies and security associations. It also enables copying of the security context when policies are cloned. Lastly, the patch ensures that packets that are sent without using a IPSec security assocation with a security context are allowed to be sent in that manner. A presentation available at www.selinux-symposium.org/2005/presentations/session2/2-3-jaeger.pdf from the SELinux symposium describes the overall approach. Patch implementation details: The function which authorizes a socket to perform a requested operation (send/receive) on a IPSec policy (xfrm_policy) is selinux_xfrm_policy_lookup. The Netfilter and rcv_skb hooks ensure that if a IPSec SA with a securit y association has not been used, then the socket is allowed to send or receive the packet, respectively. The patch implements SELinux function for allocating security contexts when policies (xfrm_policy) are created via the pfkey or xfrm_user interfaces via selinux_xfrm_policy_alloc. When a security association is built, SELinux allocates the security context designated by the XFRM subsystem which is based on that of the authorized policy via selinux_xfrm_state_alloc. When a xfrm_policy is cloned, the security context of that policy, if any, is copied to the clone via selinux_xfrm_policy_clone. When a xfrm_policy or xfrm_state is freed, its security context, if any is also freed at selinux_xfrm_policy_free or selinux_xfrm_state_free. Testing: The SELinux authorization function is tested using ipsec-tools. We created policies and security associations with particular security contexts and added SELinux access control policy entries to verify the authorization decision. We also made sure that packets for which no security context was supplied (which either did or did not use security associations) were authorized using an unlabelled context. Signed-off-by: Trent Jaeger Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit df71837d5024e2524cd51c93621e558aa7dd9f3f tree 58938f1d46f3c6713b63e5a785e82fdbb10121a1 parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Trent Jaeger Tue, 13 Dec 2005 23:12:27 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:24 -0800 [LSM-IPSec]: Security association restriction. This patch series implements per packet access control via the extension of the Linux Security Modules (LSM) interface by hooks in the XFRM and pfkey subsystems that leverage IPSec security associations to label packets. Extensions to the SELinux LSM are included that leverage the patch for this purpose. This patch implements the changes necessary to the XFRM subsystem, pfkey interface, ipv4/ipv6, and xfrm_user interface to restrict a socket to use only authorized security associations (or no security association) to send/receive network packets. Patch purpose: The patch is designed to enable access control per packets based on the strongly authenticated IPSec security association. Such access controls augment the existing ones based on network interface and IP address. The former are very coarse-grained, and the latter can be spoofed. By using IPSec, the system can control access to remote hosts based on cryptographic keys generated using the IPSec mechanism. This enables access control on a per-machine basis or per-application if the remote machine is running the same mechanism and trusted to enforce the access control policy. Patch design approach: The overall approach is that policy (xfrm_policy) entries set by user-level programs (e.g., setkey for ipsec-tools) are extended with a security context that is used at policy selection time in the XFRM subsystem to restrict the sockets that can send/receive packets via security associations (xfrm_states) that are built from those policies. A presentation available at www.selinux-symposium.org/2005/presentations/session2/2-3-jaeger.pdf from the SELinux symposium describes the overall approach. Patch implementation details: On output, the policy retrieved (via xfrm_policy_lookup or xfrm_sk_policy_lookup) must be authorized for the security context of the socket and the same security context is required for resultant security association (retrieved or negotiated via racoon in ipsec-tools). This is enforced in xfrm_state_find. On input, the policy retrieved must also be authorized for the socket (at __xfrm_policy_check), and the security context of the policy must also match the security association being used. The patch has virtually no impact on packets that do not use IPSec. The existing Netfilter (outgoing) and LSM rcv_skb hooks are used as before. Also, if IPSec is used without security contexts, the impact is minimal. The LSM must allow such policies to be selected for the combination of socket and remote machine, but subsequent IPSec processing proceeds as in the original case. Testing: The pfkey interface is tested using the ipsec-tools. ipsec-tools have been modified (a separate ipsec-tools patch is available for version 0.5) that supports assignment of xfrm_policy entries and security associations with security contexts via setkey and the negotiation using the security contexts via racoon. The xfrm_user interface is tested via ad hoc programs that set security contexts. These programs are also available from me, and contain programs for setting, getting, and deleting policy for testing this interface. Testing of sa functions was done by tracing kernel behavior. Signed-off-by: Trent Jaeger Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit d78fef14c2218ba9666687aabc57392c54569048 tree 273c138af78d03b65ac609aea44917e40f54f0ce parent 04348e69e7e78ad69a09b2e1157f628d6c764370 parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Len Brown Tue, 03 Jan 2006 16:03:07 -0500 committer Len Brown Tue, 03 Jan 2006 16:03:07 -0500 Pull linus into release branch commit 51e7a5987058c6b4d0c1337587f2ec0c34ffa708 tree 7c52561ff6ba0a2fd8717218ba7bf94458c8b98f parent 82353b594c784deabb8d9764b477e65c2b3726f9 author Mark Fasheh Mon, 19 Dec 2005 11:21:42 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:57 -0800 [PATCH] o Update Kconfig documentation to reflect support for readonly mounts. Signed-off-by: Mark Fasheh commit 82353b594c784deabb8d9764b477e65c2b3726f9 tree 9182f0ac8aeca6ab49953da7c346a74d5853bd94 parent b4e40a51881931bfcbc78a585e875bb2784d6d10 author Adrian Bunk Mon, 19 Dec 2005 11:16:07 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:55 -0800 [PATCH] This patch contains the following cleanups: - cluster/sys.c: make needlessly global code static - dlm/: "extern" declarations for variables belong into header files (and in this case, they are already in dlmdomain.h) Signed-off-by: Adrian Bunk Signed-off-by: Mark Fasheh commit b4e40a51881931bfcbc78a585e875bb2784d6d10 tree a874485dafacc0896c3b355efa079f7e93a450fd parent ccd979bdbce9fba8412beb3f1de68a9d0171b12c author Mark Fasheh Thu, 15 Dec 2005 14:31:24 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:48 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem Link the code into the kernel build system. OCFS2 is marked as experimental. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit ccd979bdbce9fba8412beb3f1de68a9d0171b12c tree c50ed941849ce06ccadd4ce27599b3ef9fdbe2ae parent 8df08c89c668e1bd922a053fdb5ba1fadbecbb38 author Mark Fasheh Thu, 15 Dec 2005 14:31:24 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:47 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem The OCFS2 file system module. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 8df08c89c668e1bd922a053fdb5ba1fadbecbb38 tree ab1febb732c01a66c0a9bfe9c8952ba2bb66fba8 parent 6714d8e86bf443f6f7af50f9d432025649f091f5 author Mark Fasheh Thu, 15 Dec 2005 14:31:23 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:47 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem dlmfs: A minimal dlm userspace interface implemented via a virtual file system. Most of the OCFS2 tools make use of this to take cluster locks when doing operations on the file system. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 6714d8e86bf443f6f7af50f9d432025649f091f5 tree 2c484bd1894a90cad7020869c7054f192d3bf34d parent 98211489d4147e41b11703e4245846d60b3acce4 author Kurt Hackel Thu, 15 Dec 2005 14:31:23 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:47 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem A distributed lock manager built with the cluster file system use case in mind. The OCFS2 dlm exposes a VMS style API, though things have been simplified internally. The only lock levels implemented currently are NLMODE, PRMODE and EXMODE. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 98211489d4147e41b11703e4245846d60b3acce4 tree f3c9c6b8df5bb001db79bc6314d8cbb5e127b45b parent a7f6a5fb4bde142b622706e2006ba33f793e13ed author Zach Brown Thu, 15 Dec 2005 14:31:23 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:46 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem Node messaging via tcp. Used by the dlm and the file system for point to point communication between nodes. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit a7f6a5fb4bde142b622706e2006ba33f793e13ed tree 27db335992f61a13658e604ee56f4c6a3c79aea5 parent 0c83ed8eeb28a045cdbd0b216679938aa9e665fe author Mark Fasheh Thu, 15 Dec 2005 14:31:23 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:46 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem Disk based heartbeat. Configured and started from userspace, the kernel component handles I/O submission and event generation via callback mechanism. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 0c83ed8eeb28a045cdbd0b216679938aa9e665fe tree 9b1a839e79acf504854b6efa956fd0a44c216ada parent 52fd3d6fea441835fe3a35b7280e5e128bdeca9b author Kurt Hackel Thu, 15 Dec 2005 14:31:23 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:46 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem A simple node information service, filled and updated from userspace. The rest of the stack queries this service for simple node information. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 52fd3d6fea441835fe3a35b7280e5e128bdeca9b tree 0e3dfdd639ebba904327616375971a37d7aff14f parent 994fc28c7b1e697ac56befe4aecabf23f0689f46 author Zach Brown Thu, 15 Dec 2005 14:31:23 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:45 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem Very simple printk wrapper which adds the ability to enable various sets of debug messages at run-time. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 994fc28c7b1e697ac56befe4aecabf23f0689f46 tree da36d162e9bd077e9b5be385b28e2db90475c263 parent 7063fbf2261194f72ee75afca67b3b38b554b5fa author Zach Brown Thu, 15 Dec 2005 14:28:17 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:42 -0800 [PATCH] add AOP_TRUNCATED_PAGE, prepend AOP_ to WRITEPAGE_ACTIVATE readpage(), prepare_write(), and commit_write() callers are updated to understand the special return code AOP_TRUNCATED_PAGE in the style of writepage() and WRITEPAGE_ACTIVATE. AOP_TRUNCATED_PAGE tells the caller that the callee has unlocked the page and that the operation should be tried again with a new page. OCFS2 uses this to detect and work around a lock inversion in its aop methods. There should be no change in behaviour for methods that don't return AOP_TRUNCATED_PAGE. WRITEPAGE_ACTIVATE is also prepended with AOP_ for consistency and they are made enums so that kerneldoc can be used to document their semantics. Signed-off-by: Zach Brown commit 7063fbf2261194f72ee75afca67b3b38b554b5fa tree 7bfe4eeab8ce784b767cf30886623d456c384718 parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Joel Becker Thu, 15 Dec 2005 14:29:43 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:28 -0800 [PATCH] configfs: User-driven configuration filesystem Configfs, a file system for userspace-driven kernel object configuration. The OCFS2 stack makes extensive use of this for propagation of cluster configuration information into kernel. Signed-off-by: Joel Becker commit 408045afbdb46e109a1a44e67af688e9ddf7ad66 tree 4bcdc550aeca5a3cb2c561f664be9427f86ecf8e parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Alex Williamson Wed, 21 Dec 2005 15:21:36 -0700 committer Tony Luck Tue, 03 Jan 2006 11:16:17 -0800 [IA64] incorrect return from ia64_pci_legacy_write() The function ia64_pci_legacy_write() returns 0 for everything except errors. This return value gets sent back to the user from pci_write_legacy_io(), making it look like every write fails. The trivial patch below copies the behavior of the SGI sn machvec and does what would be expected from something implementing a write() function. Signed-off-by: Alex Williamson Signed-off-by: Tony Luck commit a8d3584a2df28827094f6338cde1303c467bc1f0 tree d2cdb824f4b2f109ad6a74285455b56e5a2dd118 parent f47fc0ac7ead5ed91a11fcabfad6ee44c17ee934 author Russell King Tue, 03 Jan 2006 18:41:37 +0000 committer Russell King Tue, 03 Jan 2006 18:41:37 +0000 [ARM] Remove clk_use()/clk_unuse() It seems that clk_use() and clk_unuse() are additional complexity which isn't required anymore. Remove them from the clock framework to avoid the additional confusion which they cause, and update all ARM machine types except for OMAP. Signed-off-by: Russell King commit f47fc0ac7ead5ed91a11fcabfad6ee44c17ee934 tree 463b2d165afb2221d3c9f78f64ce0abb906c9814 parent 78ff18a412da24a4b79c6a97000ef5e467e813da author Russell King Tue, 03 Jan 2006 18:34:20 +0000 committer Russell King Tue, 03 Jan 2006 18:34:20 +0000 [ARM] Add additional documentation to the clock source framework It seems that there's some confusion over how the clock source framework should be used. Add some additional comments to explain the ambiguous areas. Signed-off-by: Russell King commit 78ff18a412da24a4b79c6a97000ef5e467e813da tree 901d67dc2c709b71fba37b37b901ea167cef21a2 parent 9d4f13e531b4722fe40cc8e28c02a495bdd49267 author Russell King Tue, 03 Jan 2006 17:39:34 +0000 committer Russell King Tue, 03 Jan 2006 17:39:34 +0000 [ARM] Cleanup ARM includes arch/arm/kernel/entry-armv.S has contained a comment suggesting that asm/hardware.h and asm/arch/irqs.h should be moved into the asm/arch/entry-macro.S include. So move the includes to these two files as required. Add missing includes (asm/hardware.h, asm/io.h) to asm/arch/system.h includes which use those facilities, and remove asm/io.h from kernel/process.c. Remove other unnecessary includes from arch/arm/kernel, arch/arm/mm and arch/arm/mach-footbridge. Signed-off-by: Russell King commit 9d4f13e531b4722fe40cc8e28c02a495bdd49267 tree 4fe18552620677dbe4f6831c4d9d0ecdb34e678a parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Russell King Tue, 03 Jan 2006 17:28:33 +0000 committer Russell King Tue, 03 Jan 2006 17:28:33 +0000 [ARM] Make kernel link address depend on PAGE_OFFSET We are coding the kernel link address into the makefiles, which is invisibly dependent on PAGE_OFFSET. If PAGE_OFFSET is changed, the makefiles also need to be changed. Make adjustments such that the makefiles encode just the offset from PAGE_OFFSET for the kernel link address, and use PAGE_OFFSET in the linker scripts directly. Signed-off-by: Russell King commit a18ceba7b40e24a9da87249bd74f16ea5abd6894 tree 5ce615d345e720ddabf95c46fb62287ee763ad4e parent aaadff81195056c7c14e0d834b3318c624c0fd78 parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Jeff Garzik Tue, 03 Jan 2006 10:58:53 -0500 committer Jeff Garzik Tue, 03 Jan 2006 10:58:53 -0500 Merge branch 'master' commit ac67c6247361b3b8644b34e5301a46d5069c1373 tree dd83147e304181e889eefa39e5056451031f4b5d parent c4c48d83e9ffb1c25cccd59d5ea9dda6ded01faf parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Jeff Garzik Tue, 03 Jan 2006 10:49:18 -0500 committer Jeff Garzik Tue, 03 Jan 2006 10:49:18 -0500 Merge branch 'master' commit 8ded4ac018ea706bf7ee926601a27184665c9c28 tree 8a22c29e6c1c187375e99aa2a0a1d012b47a2a60 parent febf7ea4bedcd36fba0843db726bba28d22bf89a parent 6073aa643f52fd12b02f0532dc96287f4c3293b5 author Sam Ravnborg Tue, 03 Jan 2006 15:59:28 +0100 committer Sam Ravnborg Tue, 03 Jan 2006 15:59:28 +0100 Merge branch 'master' commit 48d727a9f93e617d6d443507acf7d1b849c63366 tree da8c5603a325f1148cf87f9a28a13ee2fa84da0a parent df7b5d13c6c850bc2e3ca6ccfb1038f36bbbcf19 author Paolo 'Blaisorblade' Giarrusso Tue, 03 Jan 2006 13:44:23 +0100 committer Adrian Bunk Tue, 03 Jan 2006 13:44:23 +0100 Documentation/filesystems/00-INDEX: remove entry for fat_cvf.txt Remove non-existing entry for fat_cvf.txt (was it ever supported?). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Adrian Bunk commit be9b7e8c02a5f864e29b17f6d86abcde258ef2fa tree cb0a777be924ffa8f6078ea5189b6cc753e417bc parent 68094e3251a664ee1389fcf179497237cbf78331 author Takashi Iwai Tue, 03 Jan 2006 13:42:38 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 13:43:12 +0100 [ALSA] Remove xxx_t typedefs: SPARC CS4231 Remove xxx_t typedefs from the SPARC CS4231 driver. Signed-off-by: Takashi Iwai commit df7b5d13c6c850bc2e3ca6ccfb1038f36bbbcf19 tree bce8f1a6e326f67a91bd80800278890bf409df17 parent f4b09ebc8baa51ec8394c4173e3de9d62b2cc97a author Adrian Bunk Tue, 03 Jan 2006 13:42:12 +0100 committer Adrian Bunk Tue, 03 Jan 2006 13:42:12 +0100 arch/arm26/nwfpe/fpmodule.c: remove kernel 2.0 #ifdef This patch removes an #ifdef for kernel 2.0 . Signed-off-by: Adrian Bunk commit f4b09ebc8baa51ec8394c4173e3de9d62b2cc97a tree d91c611e6f43e1775f584f796c6990d746d4ef6c parent e3e1bfe4f28de86d065bc041456161a3f3a9aef7 author Adrian Bunk Tue, 03 Jan 2006 13:37:51 +0100 committer Adrian Bunk Tue, 03 Jan 2006 13:37:51 +0100 update the email address of Randy Dunlap This patch removes all references to the bouncing address rddunlap@osdl.org and one dead web page from the kernel. Signed-off-by: Adrian Bunk Acked-by: Randy Dunlap commit e3e1bfe4f28de86d065bc041456161a3f3a9aef7 tree 8518e8c3ed2838bb553bc785cbfbfdcb6c0d854f parent f62870db3c73683fe566a05efa2a05f3faeb44f5 author Jim Cromie Tue, 03 Jan 2006 13:35:41 +0100 committer Adrian Bunk Tue, 03 Jan 2006 13:35:41 +0100 Documentation/filesystems/vfs.txt: typo fix This patch removes an extra occurrence of 'generic'. Acked-by: Pekka Enberg Signed-off-by: Adrian Bunk commit f62870db3c73683fe566a05efa2a05f3faeb44f5 tree 0a3faa49fceb499958943297c2215d8087f46bf8 parent 5e03e2c48fc2952f6a9e986cfa194fe905d0f569 author Kees Cook Tue, 03 Jan 2006 13:33:31 +0100 committer Adrian Bunk Tue, 03 Jan 2006 13:33:31 +0100 Documentation/SubmittingPatches: update Trivial Patch Monkey information While looking for where to send trivial patches, I found old contact information in Documentation/SubmittingPatches. Signed-off-by: Kees Cook Signed-off-by: Adrian Bunk commit 5e03e2c48fc2952f6a9e986cfa194fe905d0f569 tree a6de8faee1dbe6b1d7b90caf27433d625d304326 parent 4a4efbdee278b2f4ed91aad2db5c006ff754276e author Adam D. Moss Tue, 03 Jan 2006 13:31:01 +0100 committer Adrian Bunk Tue, 03 Jan 2006 13:31:01 +0100 update for Documentation/sysrq.txt This patch for 2.4.x updates the dead email address for 'Mydraal' and since he no longer wishes to field questions concerning SysRq or this document removes the statement stating otherwise. Signed-off-by: Adrian Bunk commit 4a4efbdee278b2f4ed91aad2db5c006ff754276e tree be5742c3d3ff5382c8a6ccdcd31bfe00fb9b6491 parent 7a1119b1fc87cc347d3932b8aee051e86b32818f author Matt Mackall Tue, 03 Jan 2006 13:27:11 +0100 committer Adrian Bunk Tue, 03 Jan 2006 13:27:11 +0100 s/retreiv/retriev/g As everyone knows, the rule is: "i before e.. um.. always." Signed-off-by: Matt Mackall Signed-off-by: Adrian Bunk commit 7a1119b1fc87cc347d3932b8aee051e86b32818f tree 29ad1f3a332c44eeb2af2c671094cd680fc30aa7 parent 4d399cae3f5ec1f59b9e88084aae09c4f00760c9 author Adrian Bunk Tue, 03 Jan 2006 13:21:37 +0100 committer Adrian Bunk Tue, 03 Jan 2006 13:21:37 +0100 fs/qnx4/bitmap.c: #if 0 qnx4_new_block() qnx4_new_block() is neither implemented nor used. Signed-off-by: Adrian Bunk Signed-off-by: Anders Larsen commit 4d399cae3f5ec1f59b9e88084aae09c4f00760c9 tree e5d82fbf59c17d5955f3e7dae066355540d465ad parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Adrian Bunk Tue, 03 Jan 2006 13:19:13 +0100 committer Adrian Bunk Tue, 03 Jan 2006 13:19:13 +0100 remove pointers to the defunct UDF mailing list This patch removes pointers to the defunct UDF mailing list. Signed-off-by: Adrian Bunk commit 68094e3251a664ee1389fcf179497237cbf78331 tree 1f38ff587622bab4b1063c19447832f6cbff8a6f parent 4c98cfef2efa6b6662ac28c4f0069964bbd9fdf9 author Pierre Ossman Tue, 29 Nov 2005 09:09:32 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:30 +0100 [ALSA] [PATCH] alsa: Improved PnP suspend support Also use the PnP functions to start/stop the devices during the suspend so that drivers will not have to duplicate this code. Cc: Adam Belay Cc: Jaroslav Kysela Cc: Takashi Iwai Signed-off-by: Pierre Ossman Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit 4c98cfef2efa6b6662ac28c4f0069964bbd9fdf9 tree 4ad45704bcf9e43085164d8d7ca6f07d6f1884dd parent 0ba656d0b2319b76fbebd01c1c9ba5ca8eb33fb1 author Takashi Iwai Tue, 29 Nov 2005 09:09:32 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:19 +0100 [ALSA] PATCH] Add PM support to PnP drivers Add suspend/resume callback to pnp_driver and pnp_card_driver. Signed-off-by: Takashi Iwai commit 0ba656d0b2319b76fbebd01c1c9ba5ca8eb33fb1 tree 803f0177d99f5cbcbe9b7ef0cd099d5368744690 parent e3b9bc0e78a330d0dc6669ace7925e8c132e08a7 author James Courtier-Dutton Mon, 26 Dec 2005 15:30:03 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:17 +0100 [ALSA] snd-emu10k1: Add new SB Live 5.1 PCI-ID. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit e3b9bc0e78a330d0dc6669ace7925e8c132e08a7 tree ef86b886c163eafb0661530a0300e2cd180b0e94 parent 041dec01736c59df43b0600c0fd154e50d8ccf6e author James Courtier-Dutton Sat, 24 Dec 2005 16:54:51 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:15 +0100 [ALSA] snd-emu10k1: Correct control names for Audigy 4 Pro. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit 041dec01736c59df43b0600c0fd154e50d8ccf6e tree 639bf8a1f26572707a28065631dc164697ff7c2f parent eff49137dd432eeae16e4627b8595c71e1362307 author Takashi Iwai Fri, 23 Dec 2005 12:27:52 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:14 +0100 [ALSA] hda-codec - Add model entry for Shuttle ST20G5 Modules: HDA Codec driver Added the model entry for Shuttle ST20G5. Signed-off-by: Takashi Iwai commit eff49137dd432eeae16e4627b8595c71e1362307 tree e6a790b0714737b5f1e2b29c26f0540a15afb863 parent f951fd3cc4b04c338b4fcf94b4844e921337dfaa author Takashi Iwai Thu, 22 Dec 2005 17:01:20 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:13 +0100 [ALSA] emu10k1 - Clean up p16v code Modules: EMU10K1/EMU10K2 driver Clean up and optimize the codes in p16v.c - Add proper __devinit* tags - Reduce unnecessary functions using a closure - Fix whitespaces - Rename 'Unknown' to 'Side' controls Signed-off-by: Takashi Iwai commit f951fd3cc4b04c338b4fcf94b4844e921337dfaa tree f869a471590515ae2b1b4210bdff0dea881557b4 parent 54efc96d4a26f1d55be36324e9cc658a581a40ba author James Courtier-Dutton Thu, 22 Dec 2005 13:05:23 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:11 +0100 [ALSA] snd-emu10k1: Add comments regarding chips present on the card. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit 54efc96d4a26f1d55be36324e9cc658a581a40ba tree 04ffc12208b81541a726852984cb13d3577ca7b8 parent aad9095322c0c7d9637f29b71167458c36a4cdf6 author James Courtier-Dutton Thu, 22 Dec 2005 12:58:41 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:10 +0100 [ALSA] snd-emu10k1: Add some comments regarding chip types. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit aad9095322c0c7d9637f29b71167458c36a4cdf6 tree f321047c62f3583a3a3990db6a8d165682b454d8 parent 18f3c59f2b14225bd23c41a87a5eec39439bc8b9 author James Courtier-Dutton Wed, 21 Dec 2005 22:26:26 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:08 +0100 [ALSA] snd-ca0106: Fix SPI driver code. Fixes speaker output. Modules: CA0106 driver Signed-off-by: James Courtier-Dutton commit 18f3c59f2b14225bd23c41a87a5eec39439bc8b9 tree 8677f39cc15c19ee9e0bb33226d66841a1c995ba parent c6a02ca29388a806df3df73015ee494a6e055309 author James Courtier-Dutton Wed, 21 Dec 2005 22:05:29 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:07 +0100 [ALSA] snd-emu10k1: Tidy SPI code. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit c6a02ca29388a806df3df73015ee494a6e055309 tree d63dc0f42022a8e1570e7334c8ff6845bd5ff5fd parent 28bcbdddaffcb2ccf08d06db7cecf047ec66057d author James Courtier-Dutton Wed, 21 Dec 2005 15:56:01 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:05 +0100 [ALSA] snd-emu10k1: Fix whitespace. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit 28bcbdddaffcb2ccf08d06db7cecf047ec66057d tree 981402d6e7ef6956818e4ff8799c925ea47e9bd2 parent ccadc3e38b72629fdfd1290343fdb11813dfecc2 author James Courtier-Dutton Wed, 21 Dec 2005 15:41:50 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:03 +0100 [ALSA] snd-emu10k1: Fix whitespace. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit ccadc3e38b72629fdfd1290343fdb11813dfecc2 tree 6acdd421f2983cba4e385e0a26c9205cf740ef66 parent 27fe864ec9e61041fc0b6f680207ae84f359b502 author James Courtier-Dutton Wed, 21 Dec 2005 15:31:02 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:02 +0100 [ALSA] snd-emu10k1: Enable speakers on Audigy 2 ZS Notebook. Modules: EMU10K1/EMU10K2 driver Description: This enables the 7.1 speaker output of the Audigy 2 ZS Notebook. Further towards fixing ALSA bug#927 TODO: SPDIF/IEC958 output. (untested, might already work) Sound capture. (untested, might already work.) Signed-off-by: James Courtier-Dutton commit 27fe864ec9e61041fc0b6f680207ae84f359b502 tree 19392d34e5f076e47192f8a9acf877ef50adc881 parent a5875159dd6cec0ec743971343aee8dceac281d7 author James Courtier-Dutton Wed, 21 Dec 2005 15:06:08 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:01 +0100 [ALSA] snd-emu10k1: Removes some distortion from Audigy 2 ZS Notebook. Modules: EMU10K1/EMU10K2 driver Description: Part way to fix ALSA bug#927 Add support for the SPI interface on the CA0108 chip. This is used to control the registers on the DAC. Headphone output tested. Other outputs and Capture not tested yet. Note: The red LED does not come on, but sound is still OK. Signed-off-by: James Courtier-Dutton commit a5875159dd6cec0ec743971343aee8dceac281d7 tree 72395f42105af60721e17bd443815901805cf532 parent 39596dc898270fcaaa8a712b63fc033f86d874cf author James Courtier-Dutton Tue, 20 Dec 2005 22:30:49 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:58 +0100 [ALSA] snd-ca0106: Fixes sound output for Creative Audigy SE aka.SB0570. Modules: CA0106 driver Fixes ALSA bug#1636 Signed-off-by: James Courtier-Dutton commit 39596dc898270fcaaa8a712b63fc033f86d874cf tree ae486ce7f86d782768101091b5b489e65316c6ec parent dac8dddd87b1246d9d6b79352bd6f043eb804cf2 author James Courtier-Dutton Fri, 16 Dec 2005 21:59:59 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:57 +0100 [ALSA] snd-ca0106: update SPDIF to IEC958 in mixer control names. Modules: CA0106 driver Signed-off-by: James Courtier-Dutton commit dac8dddd87b1246d9d6b79352bd6f043eb804cf2 tree 352820304032507a6564d1ce025fda48ddf5d7e8 parent 607da7f834592a723797b21c2463507a44d9cfa7 author Takashi Iwai Wed, 14 Dec 2005 12:00:46 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:55 +0100 [ALSA] via82xx - Add a quirk for Targa Traveller 811 Modules: VIA82xx driver Add an ac97 quirk entry for Targa Traveller 811. Signed-off-by: Takashi Iwai commit 607da7f834592a723797b21c2463507a44d9cfa7 tree 9e1dbc0a0844db663a0b10df0c7d00b6afdca7a7 parent ea265c0a433fda15fb69b9fd733e0ea4215c216e author Rene Herman Wed, 14 Dec 2005 11:57:27 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:54 +0100 [ALSA] es1968 - Fix conflict with ISA boards Modules: ES1968 driver Fix disablement of TDMA and legacy support to prevent confliction of resources with ISA boards. Confirmed with Terratec DMX and CS4236. Signed-off-by: Takashi Iwai commit ea265c0a433fda15fb69b9fd733e0ea4215c216e tree 56873a5de0850fd6b03d76bda9502e6d3107e6e9 parent aa1e77e691025149908f7641e77de93ffd7f1188 author Nicolas Pitre Mon, 12 Dec 2005 15:41:47 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:51 +0100 [ALSA] make the pxa2xx-ac97 module more robust against PXA27x bugs Modules: ARM PXA2XX driver The SDONE and CDONE interrupt on the PXA27x might become unusable in some conditions. Let's use an hybrid approach (interrupt with timeout) to have the best possible behavior in all conditions. Also let's not care about CAR_CAIP anymore. This is useless. Signed-off-by: Nicolas Pitre Signed-off-by: Takashi Iwai commit aa1e77e691025149908f7641e77de93ffd7f1188 tree a5c0742275e31a69bf0e9f35e03af9120b1a4cf9 parent 7b6d92451ad5e1136dc347347e888b94638b8ba9 author Clemens Ladisch Mon, 12 Dec 2005 09:36:01 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:50 +0100 [ALSA] seq: reorganize sequencer client numbers Modules: ALSA sequencer Reduce the maximum possible number of global clients to 16 to make more numbers available for card clients, and allow dynamically allocated card client numbers to share the same range as application client numbers to make sure that all 32 cards can be used at the same time. Signed-off-by: Clemens Ladisch commit 7b6d92451ad5e1136dc347347e888b94638b8ba9 tree e62edf62f29e988378cd2c984cde0ccb0993120b parent 83e8ad6984dccd6d848ac91ba0df379ff968180b author Clemens Ladisch Mon, 12 Dec 2005 09:33:37 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:49 +0100 [ALSA] seq: set client name in snd_seq_create_kernel_client() All users of snd_seq_create_kernel_client() have to set the client name anyway, so we can just pass the name as parameter. This relieves us from having to muck around with a struct snd_seq_client_info in these cases. Signed-off-by: Clemens Ladisch commit 83e8ad6984dccd6d848ac91ba0df379ff968180b tree 5ae1f379de542b8ede18ab1cc65537b01b21d212 parent 255bd169ab645970f77d3fd7ac800781f96ddccb author Clemens Ladisch Mon, 12 Dec 2005 09:30:43 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:47 +0100 [ALSA] seq: remove struct snd_seq_client_callback The fields of struct snd_seq_client_callback either aren't used or are always set to the same value, so we can get rid of it altogether. Signed-off-by: Clemens Ladisch commit 255bd169ab645970f77d3fd7ac800781f96ddccb tree 0195152039609cefd76451b906181e7271b61810 parent 22fb2a708d2f390808f20609213fd6a588bf7612 author Clemens Ladisch Mon, 12 Dec 2005 09:28:51 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:45 +0100 [ALSA] seq: remove superfluous fields Modules: ALSA sequencer None of the fields of struct snd_seq_kernel_client was actually used, so remove them. Signed-off-by: Clemens Ladisch commit 22fb2a708d2f390808f20609213fd6a588bf7612 tree 21220fba31f2c7740a8e856c8595b66b9258651e parent 7632c7b4443057e1294208a0d9a55d8558f2f6ca author Clemens Ladisch Mon, 12 Dec 2005 09:27:14 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:44 +0100 [ALSA] ymfpci: show chip model Modules: YMFPCI driver Instead of 'DS-XG', show the correct chip model (DS-1/1L/1S/1E) where possible. Signed-off-by: Clemens Ladisch commit 7632c7b4443057e1294208a0d9a55d8558f2f6ca tree d6b136b70a8a1d2ea4f6e67ef46d1cfa773164d4 parent 235475cb7715852c42118fd8d8ec67b534ab6e8b author Takashi Iwai Wed, 07 Dec 2005 18:25:47 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:43 +0100 [ALSA] hda-codec - Add the model entry for ASUS P5GD1-HVM Modules: HDA Codec driver Add the model entry (ALC880 6stack) for ASUS P5GD1-HVM. Signed-off-by: Takashi Iwai commit 235475cb7715852c42118fd8d8ec67b534ab6e8b tree 8d05766a01706371431513d6ce7ce7d0b2cd6bab parent 4a471b7ddfe76e39c1633d5a23a687f4b5fc0d8d author Takashi Iwai Wed, 07 Dec 2005 15:28:07 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:41 +0100 [ALSA] pcm - Fix wrong asserts Modules: PCM Midlevel Fixed wrong or supreflous snd_assert()'s. Signed-off-by: Takashi Iwai commit 4a471b7ddfe76e39c1633d5a23a687f4b5fc0d8d tree 7ec3b5952d03751e5d5da2d6254f8ce63ba2ba05 parent f7a9275d949cb0bf1f259a1546e52a0bf518151c author Takashi Iwai Wed, 07 Dec 2005 13:56:29 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:40 +0100 [ALSA] hda-codec - Small clean up and fixes Modules: HDA Codec driver,HDA generic driver - Common labels for input pins - Fix and clean up of Realtek codec parsers Signed-off-by: Takashi Iwai commit f7a9275d949cb0bf1f259a1546e52a0bf518151c tree 4d96d9b6196d43684903857ba676dc51bbde4026 parent 416c1079d30f1a52399b96f6772e993274b774ae author Clemens Ladisch Wed, 07 Dec 2005 09:13:42 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:39 +0100 [ALSA] unregister platform devices Call platform_device_unregister() for all platform devices that we've registered. Signed-off-by: Clemens Ladisch commit 416c1079d30f1a52399b96f6772e993274b774ae tree cac70f2afaa88469db6e2ca231e4566046e0c363 parent 156b2aa3bef17c964006c6448aadd440781d7e7d author Clemens Ladisch Wed, 07 Dec 2005 09:11:05 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:36 +0100 [ALSA] Nest sound devices Modules: ALSA Core Make the control device parent of all other ALSA devices of a card. Signed-off-by: Clemens Ladisch commit 156b2aa3bef17c964006c6448aadd440781d7e7d tree 9d18ec3699259ef51dbf5d9866d48de51bdd2654 parent a3bcba384c2f2448ad204ea52baa15f1227d0d40 author Clemens Ladisch Wed, 07 Dec 2005 09:07:25 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:35 +0100 [ALSA] ens1371: fix compilation without SUPPORT_JOYSTICK Modules: ENS1370/1+ driver Move the spdif and lineio parameters around so that they are compiled even when SUPPORT_JOYSTICK isn't set. Signed-off-by: Clemens Ladisch commit a3bcba384c2f2448ad204ea52baa15f1227d0d40 tree 9c9afc47758ec6b0a724d2ad1b9cd6fdfefe5cc8 parent c5f2ea08fbd8911e2c975094780d2b16e65f27e0 author Takashi Iwai Tue, 06 Dec 2005 19:05:29 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:33 +0100 [ALSA] hda-codec - Fix Oops with ALC260 auto-probe Modules: HDA Codec driver - Fix Oops with auto-probing of ALC260 with digital I/O - Fix a typo Signed-off-by: Takashi Iwai commit c5f2ea08fbd8911e2c975094780d2b16e65f27e0 tree c26a747e7148487a1faac565c2c49bd7bf801618 parent a8ee72952bd7bd21df944ef1512a1e582abe0528 author Takashi Iwai Tue, 06 Dec 2005 18:54:31 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:32 +0100 [ALSA] hda-codec - Fix ALC codec probing Modules: HDA Codec driver - Fix ALC882 BIOS auto-probe - Fix ALC262 basic model - Add assert for debugging Oops Signed-off-by: Takashi Iwai commit a8ee72952bd7bd21df944ef1512a1e582abe0528 tree 316aeccb03813ff2f999ead4d228ca5852da52ad parent a0faefedf7d81b6ead6a33e5576a6439606d7ed5 author Gergely Tamas Tue, 06 Dec 2005 14:10:57 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:30 +0100 [ALSA] emu10k1 - Add entry for SB Live 5.1 Digital OEM [SB0220] Modules: EMU10K1/EMU10K2 driver Added the chip-detail entry for SB Live 5.1 Digital OEM [SB0220, (c) 2003]. Signed-off-by: Gergely Tamas Signed-off-by: Takashi Iwai commit a0faefedf7d81b6ead6a33e5576a6439606d7ed5 tree eb940eeb51219da24673036423a3e80fe6a08a06 parent e12229b4d2b7863b1baaeca759aa87703bf9fdf8 author Matthew Garrett Tue, 06 Dec 2005 13:59:12 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:29 +0100 [ALSA] Add a new quirk for mute-LED and HP-only. Modules: AC97 Codec,ATIIXP driver,Intel8x0 driver This patch adds a new quirk for ac97 hardware that combines the existing AC97_TUNE_MUTE_LED and AC97_TUNE_HP_ONLY quirks. This is needed for several current HP laptops. Additionally, it adds the HP nx6125 to the AC97_TUNE_MUTE_LED list. Fixed for the latest version of ALSA by Takashi Iwai . Signed-off-by: Matthew Garrett Signed-off-by: Takashi Iwai commit e12229b4d2b7863b1baaeca759aa87703bf9fdf8 tree 64e43c92fd1f675c29cb6002557ef04156713cbf parent 46a1736d7c07687e7456f72b238a68034fd5a624 author Markus Bollinger Tue, 06 Dec 2005 13:55:26 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:26 +0100 [ALSA] Add PCXHR driver Modules: Documentation,PCI drivers,Digigram PCXHR driver Add Digigram PCXHR driver. Signed-off-by: Takashi Iwai commit 46a1736d7c07687e7456f72b238a68034fd5a624 tree c540eac31915536efe3136c05a42a780fe056537 parent 031c95d4338127a9599fcb7d449f4aa6f086786b author Takashi Iwai Mon, 05 Dec 2005 21:16:37 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:23 +0100 [ALSA] via82xx - Add dxs entry for ASRock mobo Modules: VIA82xx driver Added dxs_support entry for ASRock mobo. Signed-off-by: Takashi Iwai commit 031c95d4338127a9599fcb7d449f4aa6f086786b tree 9ed7e559fbb931f720fb7aa03240da7786fbf65a parent df694daa3c0135202e4702cb2d11e68a43f6c51e author Takashi Iwai Mon, 05 Dec 2005 20:51:43 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:22 +0100 [ALSA] ac97 - Small fix for ALC65x codec Modules: AC97 Codec Small fix for ALC65x codec, sync with Realtek's driver codes: - Rename 'IEC958 Playback Route' to 'IEC958 Playback Source' so that mixer can handle it properly Signed-off-by: Takashi Iwai commit df694daa3c0135202e4702cb2d11e68a43f6c51e tree 1c274f376771ec0ace88200dc97141702ef42a38 parent 59acf76e0268e3f0156ef5113e89d838a8c02bb6 author Kailang Yang Mon, 05 Dec 2005 19:42:22 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:20 +0100 [ALSA] hda-codec - Add the support of ALC262,ALC883,ALC885,ALC861 Modules: HDA Codec driver,HDA generic driver This patch adds the support of ALC262,ALC883,ALC885,ALC861 to driver More models and improvements for ALC880, ALC260 and ALC882 codecs, too. Signed-off-by: Kailang Yang Signed-off-by: Takashi Iwai commit 59acf76e0268e3f0156ef5113e89d838a8c02bb6 tree 1bf84e8e5f2458c7f9686401bf53cc84bd7cb1ce parent bd01e7bc9e975d7d3d6fe4eb2f2cf7ae83041c49 author Takashi Iwai Mon, 05 Dec 2005 19:22:34 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:18 +0100 [ALSA] ice1724 - Add support of M-Audio Revolution 5.1 Modules: ICE1724 driver Added the basic support of M-Audio Revolution 5.1. Signed-off-by: Takashi Iwai commit bd01e7bc9e975d7d3d6fe4eb2f2cf7ae83041c49 tree f2a64df5f65d35575f4ba10fceaa01d3f6ce7ce3 parent 19b99fbaed2e2971b756311435c67e84431d8515 author Andreas Schwab Mon, 05 Dec 2005 15:12:20 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:17 +0100 [ALSA] emu10k1 - Fix missing declarations Modules: EMU10K1/EMU10K2 driver sound/pci/emu10k1/emufx.c: In function 'snd_emu10k1_efx_alloc_pm_buffer': sound/pci/emu10k1/emufx.c:2402: error: implicit declaration of function 'vmalloc' sound/pci/emu10k1/emufx.c:2402: warning: assignment makes pointer from integer without a cast sound/pci/emu10k1/emufx.c: In function 'snd_emu10k1_efx_free_pm_buffer': sound/pci/emu10k1/emufx.c:2413: error: implicit declaration of function 'vfree' Signed-off-by: Andreas Schwab Signed-off-by: Takashi Iwai commit 19b99fbaed2e2971b756311435c67e84431d8515 tree 78f0c968f8bed1a5ce82edd00d793be6f3a73d4c parent 481ba7727fa08deb389b5a2e550e04df24d3f37d author James Courtier-Dutton Sun, 04 Dec 2005 18:03:03 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:15 +0100 [ALSA] emu10k1: Partial support for Creative emu1212m Modules: EMU10K1/EMU10K2 driver Distorted sound now comes from the Audio Out socket. Still more work to do. Signed-off-by: James Courtier-Dutton commit 481ba7727fa08deb389b5a2e550e04df24d3f37d tree be530b7fef0eb9a54bddb6dd05365c0a4354915d parent 58da3a23fe12b1c4730cb85af203950c7707220c author Takashi Iwai Thu, 01 Dec 2005 11:19:41 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:13 +0100 [ALSA] powermac - Revert the last addition for 17' powerbook Modules: PPC PMAC driver The last addition of 17' powerbook support seems buggy (it's not Toonie indeed). Removed again. Signed-off-by: Takashi Iwai commit 58da3a23fe12b1c4730cb85af203950c7707220c tree a7c0bf00eb3e63cf81226174013f5715250bb15d parent 59d48582508c6e3ed6f60bdd7d13e3e2893416b4 author Tobias Klauser Thu, 01 Dec 2005 11:14:00 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:12 +0100 [ALSA] au88x0: Remove unneeded call to pci_dma_supported() Modules: au88x0 driver pci_dma_supported() is called right before pci_set_dma_mask() which already calls pci_dma_supported(). The attached patch removes the unneeded call to pci_dma_supported() Additionally the custom VORTEX_DMA_MASK macro is replaced by DMA_32BIT_MASK from linux/dma-mapping.h Signed-off-by: Tobias Klauser Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit 59d48582508c6e3ed6f60bdd7d13e3e2893416b4 tree e52ecc173a4f44d1a225e6a4abc1ad842fd38deb parent adf1b3d25e50dbab48fdd21006bea2dd5a4cb3a8 author Takashi Iwai Thu, 01 Dec 2005 10:51:58 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:10 +0100 [ALSA] pcm - Make the support of old API selectable Modules: ALSA Core,PCM Midlevel Make the support of old API selectable via config option. Signed-off-by: Takashi Iwai commit adf1b3d25e50dbab48fdd21006bea2dd5a4cb3a8 tree e520ddca1f0cd5e9bb9afd14f3f226e2b1596e9a parent 8cb7b63f5baf7b5e788f0d632d5ebd018856416f author Takashi Iwai Thu, 01 Dec 2005 10:49:58 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:08 +0100 [ALSA] Optimize for config without PROC_FS (pci drivers) Optimize the code when compiled without CONFIG_PROC_FS for some pci drivers. Signed-off-by: Takashi Iwai commit 8cb7b63f5baf7b5e788f0d632d5ebd018856416f tree e14b9675eb01d501c53bd2025199c3bb730ca69a parent 04f141a8800d022981f0405a8d307c98aba55105 author Takashi Iwai Thu, 01 Dec 2005 10:48:37 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:06 +0100 [ALSA] dbri - Don't return errors without CONFIG_PROC_FS Modules: SPARC DBRI driver Don't return errors if the proc file can't be created (for the case without CONFIG_PROC_FS). Signed-off-by: Takashi Iwai commit 04f141a8800d022981f0405a8d307c98aba55105 tree 2083ebe4a2959d57db1c016f1b8fa396e5c3f2af parent e28563cceb9f258ebe3c50fc27d8f4ff0ac4bfa4 author Takashi Iwai Thu, 01 Dec 2005 10:43:51 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:05 +0100 [ALSA] Optimize for config without PROC_FS (seq and oss parts) Modules: ALSA<-OSS emulation,ALSA sequencer,ALSA<-OSS sequencer Optimize the code when compiled without CONFIG_PROC_FS (in seq and oss emulation parts). Signed-off-by: Takashi Iwai commit e28563cceb9f258ebe3c50fc27d8f4ff0ac4bfa4 tree b69095abb998dedc2953368ba2c75978d80f644a parent 7cd01dd840824e7c6023ad1dbfdb94a2183a7adb author Takashi Iwai Thu, 01 Dec 2005 10:42:42 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:02 +0100 [ALSA] Optimize for config without PROC_FS Modules: HWDEP Midlevel,ALSA Core,PCM Midlevel,Timer Midlevel Optimize the code when compiled without CONFIG_PROC_FS. Signed-off-by: Takashi Iwai commit 7cd01dd840824e7c6023ad1dbfdb94a2183a7adb tree de69f9433e271d4c9a4cf35a7fd9a3f898e7f1a4 parent 9d70d91c4663d580bd18317dac3c7dc3bee79480 author Kyle Moffett Wed, 30 Nov 2005 10:54:28 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:01 +0100 [ALSA] snd_powermac: Add ID for Spring 2005 17' Powerbook Modules: PPC PMAC driver The audio chip in my Spring 2005 17' PowerBook was incorrectly recognized as an AWACS chip. This adds the chip ID to the snd_powermac driver such that it is recognized as a Toonie (I don't know if that's correct, but it's the only one that makes it work at all). and sorts the ID lists numerically. NOTE: This chip is only minimally supported at this point; it has system beep support and very low volume speaker output, and that's about it. Signed-off-by: Kyle Moffett Signed-off-by: Takashi Iwai commit 9d70d91c4663d580bd18317dac3c7dc3bee79480 tree 3360f1b030f71385c82f28c01471b1e3131d1bc0 parent 403d19446bd0cabee70110415d2f3bc466f46448 author Takashi Iwai Wed, 30 Nov 2005 10:12:26 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:59 +0100 [ALSA] ad1848 - Fix compilation without CONFIG_PM Modules: AD1848 driver Fix compilation without CONFIG_PM. Signed-off-by: Takashi Iwai commit 403d19446bd0cabee70110415d2f3bc466f46448 tree d2ddf51bd4a1274e6469272143a052566944d1ae parent 9056412f21bb6b76ceb98329409a958198b2d591 author Matt Porter Tue, 29 Nov 2005 15:00:51 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:58 +0100 [ALSA] hda-codec - update sigmatel support and bug fixes Modules: HDA Codec driver - Explictly set pin control as input for all input pins - Fix bug in 922x mixer (no mute on adc0vol) - Remove broken ch_mode control - Add support for jack retasking mixer controls to use rear line and mic as surround outputs - Add board tables to support autodetect and pin config defaults for systems with broken bioses - Add support for several Intel mobos - Add support for DFI mobo with reference boards attached (gets rid of compile time switch to use reference boards) Signed-off-by: Matt Porter Signed-off-by: Takashi Iwai commit 9056412f21bb6b76ceb98329409a958198b2d591 tree 4184fda7122d5160b36e2cd5ac7d8d901973f934 parent 954fa19ab7a14c3f54044780a90cd6a95149f90b author Randy Dunlap Tue, 29 Nov 2005 14:48:41 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:56 +0100 [ALSA] sound: align device drivers menus Modules: Sound Core,Generic drivers AC97 Kconfig entries broke the ALSA device drivers menu, so move them to a location where that won't happen, enabling all device sub-menus to be presented together. Fixed for the latest ALSA tree by Takashi Iwai . Signed-off-by: Randy Dunlap Signed-off-by: Takashi Iwai commit 954fa19ab7a14c3f54044780a90cd6a95149f90b tree 2cb86863883ab1c1b08d07d752a283188691632f parent 015b6a198f51d660797b78c6c7ee60d0252ebf40 author Matt Porter Tue, 29 Nov 2005 14:46:01 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:54 +0100 [ALSA] hda-intel - Fix HDA probe_mask default Modules: HDA Intel driver The probe_mask module parameter comment notes that the intended default is -1. Fix it to be so, otherwise all codecs are skipped and init fails. Signed-off-by: Matt Porter Signed-off-by: Takashi Iwai commit 015b6a198f51d660797b78c6c7ee60d0252ebf40 tree 827f8caeabbf69f4932d4fd1ee054876dfd9e738 parent 16f47bb66000a917a33a0da67ef2823b239c36f6 author Jaroslav Kysela Mon, 28 Nov 2005 10:50:59 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:53 +0100 [ALSA] ens1371: added spdif and lineio module options Modules: ENS1370/1+ driver - spdif module option: some hardware revisions are without spdif output - lineio module option: force shared line in / rear out jack settings Signed-off-by: Jaroslav Kysela commit 16f47bb66000a917a33a0da67ef2823b239c36f6 tree 7ea561745a39af2e0708207c555251a4b01e2869 parent f8c7c7b8dd2828b42c1230c6b0235e7d1dcf57e5 author Matthew Garrett Fri, 25 Nov 2005 12:03:20 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:50 +0100 [ALSA] ac97 - Add extra IDs for headphone autosense Modules: AC97 Codec The following patch adds some extra IDs for the list of hardware which should have headphone line sense enabled by default. Signed-off-by: Matthew Garrett Signed-off-by: Takashi Iwai commit f8c7c7b8dd2828b42c1230c6b0235e7d1dcf57e5 tree b6750d3a18d438f79819473b5604f03660a8a3d1 parent d32410b1095cf93e8e31f8919de46f496d7b3ce0 author Takashi Iwai Thu, 24 Nov 2005 16:17:20 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:48 +0100 [ALSA] hda-codec - Fix surrounds on 3stack mode of AD1988 Modules: HDA Codec driver Fixed the swapped surround/CLFE on 3stack mode of AD1988. Signed-off-by: Takashi Iwai commit d32410b1095cf93e8e31f8919de46f496d7b3ce0 tree 8d4b825c568c6bde3fa751320fa1e03e26052773 parent b2ec642362eef10f660e2b857dda12e2d61e0198 author Takashi Iwai Thu, 24 Nov 2005 16:06:23 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:47 +0100 [ALSA] hda-codec - Fix/enhance AD1988 support Modules: HDA Codec driver Fix/enhance AD1988 support code. - Fix for h/w bug of AD1988A rev 2 - The BIOS auto-configuration is added and used as fallback Signed-off-by: Takashi Iwai commit b2ec642362eef10f660e2b857dda12e2d61e0198 tree d8370e3a0cdaef7d2000c9576b8dce06837b4907 parent 606ad75fb5372c0edb5ee6276c8e29fcb525f3e1 author Takashi Iwai Thu, 24 Nov 2005 16:05:04 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:45 +0100 [ALSA] hda-codec - Fix channel mode helper Modules: HDA Codec driver Fix the channel mode helper (for put callback). Signed-off-by: Takashi Iwai commit 606ad75fb5372c0edb5ee6276c8e29fcb525f3e1 tree 8ae65a6a70b4c5950788346d0c897013a03759f0 parent 5014f193166d14e47525a34d65a1c7d77b0f6f38 author Takashi Iwai Thu, 24 Nov 2005 16:03:40 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:43 +0100 [ALSA] hda-intel - Use position buffer as default Modules: HDA Intel driver - Use the position buffer for obtaining the current DMA position as default. This seems more stable than others. - Add probe_mask module option (mainly for test boards with multiple codecs). Signed-off-by: Takashi Iwai commit 5014f193166d14e47525a34d65a1c7d77b0f6f38 tree 0350c8c4089aa66947cdd0aabece2d7b40e6e4a5 parent 18612048b3e951f7e0ae9be65efe9e8cfde868a6 author Libin Yang Wed, 23 Nov 2005 15:48:36 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:41 +0100 [ALSA] hda-codec - Fix auto-probe of ALC880 Modules: HDA Codec driver This patch is to fix the problem of calculating the nid incorrectly when auto-probe for ALC880. The problem to be fixed often behaves with such words when using dmesg, 'num_steps = 0 for NID=0x8' when auto-probe for ALC880. The patch contains: - alsa-kernel/pci/hda/patch_realtek.c: replace 'alc880_dac_to_idx' with 'alc880_idx_to_dac' in function 'alc880_auto_fill_dac_nids()' Signed-off-by: Libin Yang Signed-off-by: Takashi Iwai commit 18612048b3e951f7e0ae9be65efe9e8cfde868a6 tree 5432f794d9ee9129b21b066655fce88d63f073c3 parent 9a1a2a1d4eeda00df45ccf7a3a375d1887f1efb3 author Adrian Bunk Wed, 23 Nov 2005 13:14:50 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:40 +0100 [ALSA] sound/: possible cleanups Modules: RawMidi Midlevel,HDA generic driver This patch contains the following possible cleanups: - pci/hda/hda_proc.c should #include 'hda_local.h' for including the prototype of it's global function snd_hda_codec_proc_new() - core/rawmidi.c: make the needlessly global and EXPORT_SYMBOL'ed function snd_rawmidi_info() static Signed-off-by: Adrian Bunk Signed-off-by: Takashi Iwai commit 9a1a2a1d4eeda00df45ccf7a3a375d1887f1efb3 tree 35b4897c4a353838d5c0d6e0336735a8f418b974 parent 6a81dbf23df5400e4f8182e9f2eb52fabcf42015 author Takashi Iwai Tue, 22 Nov 2005 15:46:41 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:38 +0100 [ALSA] Fix a missing include Modules: ALSA Core Fix missing include Signed-off-by: Takashi Iwai commit 6a81dbf23df5400e4f8182e9f2eb52fabcf42015 tree f80f141a9430eaa6ff1d334b51dd33d90b030c0d parent 1f14a657d87aa0e1a6c08c2e31588fbca34a8844 author Takashi Iwai Tue, 22 Nov 2005 14:33:27 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:33 +0100 [ALSA] ice1712 - Fix Front Digital Input of Terratec DMX 6Fire Modules: ICE1712 driver Fix the inverted switch of 'Front Digital Input' of Terratec DMX 6Fire. Signed-off-by: Takashi Iwai commit 1f14a657d87aa0e1a6c08c2e31588fbca34a8844 tree 74fde07268a93952b1b9caa79efbc42042bb501f parent 2e5b9567f7444673a93cbacdcbeb3feacdb4914f author Clemens Ladisch Mon, 21 Nov 2005 16:40:00 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:32 +0100 [ALSA] usb-audio: fix Edirol UA-20 support Modules: USB generic driver Somebody at Edirol fucked up and released a new revision of the UA-20 without class-specific descriptors, so now we have to hard-code the sample format. Signed-off-by: Clemens Ladisch commit 2e5b9567f7444673a93cbacdcbeb3feacdb4914f tree ca09ff107a1e28da797e5a2c27f689fed524678f parent d25695056ff2e1e048cfc8d7dbafaf80c3c46d5d author Takashi Iwai Mon, 21 Nov 2005 16:36:15 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:29 +0100 [ALSA] hda-codec - Fix AD1988 support Modules: HDA Codec driver Fix AD1988 support. As default, 6stack model is used. Still no auto-BIOS setup is implemented. Signed-off-by: Takashi Iwai commit d25695056ff2e1e048cfc8d7dbafaf80c3c46d5d tree d639f0a40b176de26140428c1d4107c4546911f3 parent 54d174031576a2855c49611d83d4946bde81b504 author Takashi Iwai Mon, 21 Nov 2005 16:33:51 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:28 +0100 [ALSA] hda-codec - Allocate connection lists dynamically in generic parser Modules: HDA generic driver Allocate connection lists dynamically in generic parser. Signed-off-by: Takashi Iwai commit 54d174031576a2855c49611d83d4946bde81b504 tree 6bdcefaccb78bddfa1a3ea7b429e1178b479999d parent 1b98ea4791892399d8c23c93e117567eeff38887 author Takashi Iwai Mon, 21 Nov 2005 16:33:22 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:27 +0100 [ALSA] hda-codec - Fix connection list parsing Modules: HDA Codec driver,HDA generic driver - Fix connection list parsing (with ranged flag). - Increase the max number of connections - Introduce widget capabilities cache - Power up/down widgets at init, suspend and resume Signed-off-by: Takashi Iwai commit 1b98ea4791892399d8c23c93e117567eeff38887 tree 5128a11d23f34048e7d00f2915326f8e9e32bee5 parent 0ef797c5ca8a73853c827cf495caed44676cfe17 author Clemens Ladisch Mon, 21 Nov 2005 07:31:31 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:25 +0100 [ALSA] rawmidi: adjust runtime->avail when changing output buffer size Modules: RawMidi Midlevel When the output buffer size is changed, runtime->avail must be adjusted to the new size; otherwise, draining of a bigger buffer would appear to fail because avail does not reach buffer_size. Signed-off-by: Clemens Ladisch commit 0ef797c5ca8a73853c827cf495caed44676cfe17 tree df926c1efce91263b315f205df213a325e71b416 parent d001544ded23ddb1116f945ccc2d89a7f98ab7e8 author Clemens Ladisch Mon, 21 Nov 2005 07:30:20 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:23 +0100 [ALSA] adjust documentation for higher card limit Modules: Documentation Fix all places in the docs where the card number limit is mentioned. Signed-off-by: Clemens Ladisch commit d001544ded23ddb1116f945ccc2d89a7f98ab7e8 tree 721fbc6355acfb886817e2b120f198383c5e6ae6 parent 204bdb1b50013c7aa3922d8b66df943123087bd8 author Clemens Ladisch Sun, 20 Nov 2005 14:09:05 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:21 +0100 [ALSA] dynamic minors (6/6): increase maximum number of sound cards Modules: ALSA Core,Memalloc module,ALSA sequencer With dynamic minor numbers, we can increase the number of sound cards. This requires that the sequencer client numbers of some kernel drivers are allocated dynamically, too. Signed-off-by: Clemens Ladisch commit 204bdb1b50013c7aa3922d8b66df943123087bd8 tree 9e1721fe87bd960d497dfbb7a3abe9ddb57e5365 parent 332682b1cd540dd7abbbbfc1905af8139e76e1b7 author Clemens Ladisch Sun, 20 Nov 2005 14:08:28 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:20 +0100 [ALSA] dynamic minors (5/6): reduce maximum number of MIDI devices per card Modules: ALSA sequencer,Generic drivers To allow increasing the maximum number of sound cards, we have to limit the number of sequencer clients per card because client numbers are still allocated statically. Reducing the number of clients to four limits the number of sequencer MIDI ports to 1024 per card. Signed-off-by: Clemens Ladisch commit 332682b1cd540dd7abbbbfc1905af8139e76e1b7 tree e2e858870972073b2e01f7f8d5948c187c11e2bb parent f87135f56cb266e031f5ec081dfbde7e43f55e80 author Clemens Ladisch Sun, 20 Nov 2005 14:07:47 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:19 +0100 [ALSA] dynamic minors (4/6): dynamic minor number allocation Modules: ALSA Core,ALSA Minor Numbers Add an option to allocate device file minor numbers dynamically. Signed-off-by: Clemens Ladisch commit f87135f56cb266e031f5ec081dfbde7e43f55e80 tree c048abae6bb04df53f5d8d7dcffbf2c28bc638ff parent 6983b7240cd229787c3ee00e663ea94ea649d96a author Clemens Ladisch Sun, 20 Nov 2005 14:06:59 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:17 +0100 [ALSA] dynamic minors (3/6): store device-specific object pointers dynamically Instead of storing the pointers to the device-specific structures in an array, put them into the struct snd_minor, and look them up dynamically. This makes the device type modules independent of the minor number encoding. Signed-off-by: Clemens Ladisch commit 6983b7240cd229787c3ee00e663ea94ea649d96a tree 25005b4a0fce5465e70961a5d3fe2d040786f890 parent 2af677fc884fc6dc79e65c99050ea607ac8bab9b author Clemens Ladisch Sun, 20 Nov 2005 14:05:49 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:15 +0100 [ALSA] dynamic minors (2/6): simplify storage of snd_minor structures Modules: ALSA Core Store the snd_minor structure pointers in one array instead of using a separate list for each card. This simplifies the mapping from device files to minor struct by removing the need to know about the encoding of the card number in the minor number. Signed-off-by: Clemens Ladisch commit 2af677fc884fc6dc79e65c99050ea607ac8bab9b tree 4291d36c2f116d5887b88da5f0213b68933a1201 parent a106cd3d9e88c8761bd0eac2ce402cc82bd11fea author Clemens Ladisch Sun, 20 Nov 2005 14:03:48 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:14 +0100 [ALSA] dynamic minors (1/6): store device type in struct snd_minor Instead of a comment string, store the device type in the snd_minor structure. This makes snd_minor more flexible, and has the nice side effect that we don't need anymore to create a separate snd_minor template for registering a device but can pass the file_operations directly to snd_register_device(). Signed-off-by: Clemens Ladisch commit a106cd3d9e88c8761bd0eac2ce402cc82bd11fea tree 1dd614d50a0bd30af45fd63372f02da5a5fe86e6 parent ac09a9251d3b7678150ee512de8de1bd98628d11 author Clemens Ladisch Sun, 20 Nov 2005 13:59:56 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:12 +0100 [ALSA] rawmidi: protect against invalid device number in snd_rawmidi_info_select() Modules: RawMidi Midlevel In snd_rawmidi_info_select(), check that the device identified by the passed device number actually exists. Signed-off-by: Clemens Ladisch commit ac09a9251d3b7678150ee512de8de1bd98628d11 tree 6bc4cb3fadec6da9ffc619165467ca74aa61161b parent a2c855bbd76e7044c54a9d84ae46f6eead1b8f89 author Clemens Ladisch Sun, 20 Nov 2005 13:58:28 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:11 +0100 [ALSA] cs5535audio: move sound/driver.h to the top Modules: CS5535 driver Move the #include of to the top which is required for compilation on earlier kernels. Signed-off-by: Clemens Ladisch commit a2c855bbd76e7044c54a9d84ae46f6eead1b8f89 tree 101ba08b1a59c4552ecf811848b18c2a35c9e434 parent b32425ac93370e1ba5556110e662f896b2e143b3 author Takashi Iwai Fri, 18 Nov 2005 18:52:39 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:09 +0100 [ALSA] Fix a compile warning Modules: CS4231 driver Fix a compile warning (unused variable). Signed-off-by: Takashi Iwai commit b32425ac93370e1ba5556110e662f896b2e143b3 tree c5837ee90c16d2aa358e399f2ad79ca4eb770e94 parent 2eb061f41cf74f829bfe90a9c79c765172be9f0b author Takashi Iwai Fri, 18 Nov 2005 18:52:14 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:08 +0100 [ALSA] Fix possible races in timer callbacks Fix possible races in timer callbacks. Signed-off-by: Takashi Iwai commit 2eb061f41cf74f829bfe90a9c79c765172be9f0b tree 41d6aa7f968e0a49f93a673cf2600fd85e457894 parent a9824c868a2c7e310e6263ea4bc9f35cbbec8227 author Jaroslav Kysela Fri, 18 Nov 2005 07:44:13 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:04 +0100 [ALSA] intel8x0 - Added swap_hp quirk for Fujitsu-Siemens Celsius H320 [0x10cf:0x12f2] Modules: Intel8x0 driver Signed-off-by: Jaroslav Kysela commit a9824c868a2c7e310e6263ea4bc9f35cbbec8227 tree 10dd67e5bd08e375bc09b138761221187441cbec parent fa55f837bb1bfc3d9ac9988d6f5450a603fa079a author Takashi Iwai Thu, 17 Nov 2005 17:51:00 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:02 +0100 [ALSA] Add CS4232 PnP BIOS support Modules: CS4231 driver,CS4236+ driver Add CS4232 PnP BIOS support. Still experimental. Signed-off-by: Takashi Iwai commit fa55f837bb1bfc3d9ac9988d6f5450a603fa079a tree ed2ad5d1bf0d1943cf0008dcbdab6411bc92c893 parent 73e77ba0235532bd7523ba90883d325f6e095acf author Takashi Iwai Thu, 17 Nov 2005 17:48:30 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:00 +0100 [ALSA] Fix resume of cs4231 Modules: CS4231 driver Use mce_down() again in the resume callback. Signed-off-by: Takashi Iwai commit 73e77ba0235532bd7523ba90883d325f6e095acf tree d22f29805ade9e78bd5f1802590d42f6e121c3c1 parent 00a4e3d9f8df8a90966b75d517154718b4a2242a author Takashi Iwai Thu, 17 Nov 2005 17:44:01 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:58 +0100 [ALSA] Add error messages Add error messages in the critial error path to be more verbose. Signed-off-by: Takashi Iwai commit 00a4e3d9f8df8a90966b75d517154718b4a2242a tree aa67a476ecb418679c9e5a5cec89d6a31269dd42 parent 5fe76e4dc60a2c3ff9b1143f5275a953db685e26 author Takashi Iwai Thu, 17 Nov 2005 17:41:08 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:57 +0100 [ALSA] Merge ad1816a-lib module to ad1816a Modules: AD1816A driver Merge ad1816a-lib module to ad1816. There is no more reason to split. Signed-off-by: Takashi Iwai commit 5fe76e4dc60a2c3ff9b1143f5275a953db685e26 tree f54acdb029f429bf8c0068ed964a1216fbe614d3 parent a4efc230c60ad15584e723755316e67b3c708d67 author Takashi Iwai Thu, 17 Nov 2005 17:26:09 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:55 +0100 [ALSA] document - Update PM support Modules: Documentation Update the description about the PCI PM support. Signed-off-by: Takashi Iwai commit a4efc230c60ad15584e723755316e67b3c708d67 tree 8b81a5e7c079ea5e06279f08ba1d6d4ce4d31dcb parent 27441127b086230cc4c57d6cd9a615272fb47bcd author Takashi Iwai Thu, 17 Nov 2005 17:24:26 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:53 +0100 [ALSA] document - Add PM support Modules: Documentation Mark the drivers newly supporting PM in the documentation. Signed-off-by: Takashi Iwai commit 27441127b086230cc4c57d6cd9a615272fb47bcd tree 83ef28d69ec9b3699ddf28eec2e79745c002cfa8 parent ebfbd2b83da14c7118da0efd1b59d8b641da08c2 author Takashi Iwai Thu, 17 Nov 2005 17:22:43 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:52 +0100 [ALSA] Remove snd_legacy_auto_probe() Modules: ALSA Core Remove unsed snd_legacy_auto_probe() function. Signed-off-by: Takashi Iwai commit ebfbd2b83da14c7118da0efd1b59d8b641da08c2 tree 27f33be61aee55d574d9854687d91056763622af parent fa8174db0fd032c3d48cc0873946358c68e44d4f author Takashi Iwai Thu, 17 Nov 2005 17:21:46 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:50 +0100 [ALSA] Remove snd_card_generic_dev() Remove the obsolete snd_card_generic_dev(). CONFIG_SND_GENERIC_DRIVER is also removed from Kconfig. Signed-off-by: Takashi Iwai commit fa8174db0fd032c3d48cc0873946358c68e44d4f tree de77fe66e2f606831b10efec0e687a9385835404 parent 2b3f558727244efb6edb0866952331f537da13a4 author Takashi Iwai Thu, 17 Nov 2005 17:20:15 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:49 +0100 [ALSA] Remove SND_GENERIC_DRIVER from arm/Kconfig Modules: ARM Remove the obsolete SND_GENERIC_DRIVER from arm/Kconfig. Signed-off-by: Takashi Iwai commit 2b3f558727244efb6edb0866952331f537da13a4 tree 9aa637edbfc15af42fc4a11a7d8620afaed600c4 parent 792a6c51875c9d3b4a7b9af553b7fd18e8d84684 author Takashi Iwai Thu, 17 Nov 2005 17:19:50 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:47 +0100 [ALSA] Use platform_device Modules: SA11xx UDA1341 driver Rewrite the probe/remove with platform_device. Fix PM support, too. Signed-off-by: Takashi Iwai commit 792a6c51875c9d3b4a7b9af553b7fd18e8d84684 tree 8d4887d2be87c9734fbee4436bcddcfe4a946e7d parent 5e12bea0833e47117c31f13b528e31dc8112de57 author Takashi Iwai Thu, 17 Nov 2005 17:19:25 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:46 +0100 [ALSA] Fix PM support Modules: ARM AACI PL041 driver,ARM PXA2XX driver Fix PM support of aaci and pxa2xx drivers. Signed-off-by: Takashi Iwai commit 5e12bea0833e47117c31f13b528e31dc8112de57 tree d0e35b6a75cf3605d4e4a64f380d5b46a7eff393 parent e4f163d96080dda40fd02df725f3672d035e4c5a author Takashi Iwai Thu, 17 Nov 2005 17:17:08 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:44 +0100 [ALSA] powermac - Use platform_device Modules: PPC,PPC PMAC driver,PPC PowerMac driver Rewrite the probe/remove with platform_device. Move the PM support to platform_device's callbacks. Signed-off-by: Takashi Iwai commit e4f163d96080dda40fd02df725f3672d035e4c5a tree c97fc3575683cdbd9ea1d25bb92e0519501d2642 parent 7f52bdb61bdb945b29c2a3b3a6d0f8e6e80b8ec8 author Takashi Iwai Thu, 17 Nov 2005 17:15:58 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:42 +0100 [ALSA] pdaudiocf - Fix PM support Modules: PDAudioCF driver Fix the PM support on pdaudiocf driver. Signed-off-by: Takashi Iwai commit 7f52bdb61bdb945b29c2a3b3a6d0f8e6e80b8ec8 tree 96768c8014ac011aaf0db17a8a7e8d281fbf794b parent d29b761e6162d3b91079b25334270a2c36f6157d author Takashi Iwai Thu, 17 Nov 2005 17:15:20 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:41 +0100 [ALSA] Remove SND_GENERIC_DRIVER from isa/Kconfig Modules: ISA Remove the obsolete SND_GENERIC_DRIVER from isa/Kconfig. Signed-off-by: Takashi Iwai commit d29b761e6162d3b91079b25334270a2c36f6157d tree ec32368c58173039725dba4b6fa1b50d8b6aaab5 parent 99a0b7687ef991a577506a1974be146f02f18d74 author Takashi Iwai Thu, 17 Nov 2005 17:14:11 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:39 +0100 [ALSA] wavefront - Use platform_device Modules: Wavefront drivers Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit 99a0b7687ef991a577506a1974be146f02f18d74 tree ef92d7b1898b8a017decf6fd8c20fc6e1ffce6b2 parent 654aa661779703d3b22ba04a83ddeb1a0dd7a09a author Takashi Iwai Thu, 17 Nov 2005 17:13:59 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:37 +0100 [ALSA] opti9xx - Use platform_device Modules: Opti9xx drivers Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit 654aa661779703d3b22ba04a83ddeb1a0dd7a09a tree a113eb172cef6883c46966adbd3bd3399b87f881 parent 2a571ed13c853d132433c7e81509351823a7c8c6 author Takashi Iwai Thu, 17 Nov 2005 17:13:43 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:36 +0100 [ALSA] gus - Use platform_device Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit 2a571ed13c853d132433c7e81509351823a7c8c6 tree 7c50c681906445667fb15b76581fd412cee64b61 parent 277e926c9b2722317a6bf89ed921d97f6784e0cc author Takashi Iwai Thu, 17 Nov 2005 17:13:30 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:34 +0100 [ALSA] es1688 - Use platform_device Modules: ES1688 driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit 277e926c9b2722317a6bf89ed921d97f6784e0cc tree a8f5ae3307e26fecd61f11ac60205c34ebe587ac parent feb158e6ada20b7871f625e1edd429216ac00d3c author Takashi Iwai Thu, 17 Nov 2005 17:13:12 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:31 +0100 [ALSA] sscape - Use platform_device Modules: Sound Scape driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit feb158e6ada20b7871f625e1edd429216ac00d3c tree 75323e101824a15e65573a5179ec407474377409 parent f7e0ba3e440d4aab381dca6d7a7eee8f2faf210b author Takashi Iwai Thu, 17 Nov 2005 17:12:43 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:29 +0100 [ALSA] sgalaxy - Use platform_device, add PM support Modules: Sound Galaxy driver Rewrite the probe/remove with platform_device. Also, add the PM support. Signed-off-by: Takashi Iwai commit f7e0ba3e440d4aab381dca6d7a7eee8f2faf210b tree 88b578819914103fafcf33b3f3bfc618e3ba172c parent 704e05204c623136ea12411dc4286d1caea6cd7c author Takashi Iwai Thu, 17 Nov 2005 17:12:07 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:28 +0100 [ALSA] es18xx - Use platform_device Modules: ES18xx driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit 704e05204c623136ea12411dc4286d1caea6cd7c tree 3527413100be5eb599325eca50a933539fab6cf2 parent acdcbc15426b91b0041756a92ea4932c60def189 author Takashi Iwai Thu, 17 Nov 2005 17:11:53 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:27 +0100 [ALSA] opl3sa2 - Use platform_device Modules: OPL3SA2 driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit acdcbc15426b91b0041756a92ea4932c60def189 tree 07116cab00cfa6e935187af677059a7f5b8fb139 parent 175cdcfb113e2a72f9d1a2ced4b80e0ff17fcaae author Takashi Iwai Thu, 17 Nov 2005 17:11:35 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:25 +0100 [ALSA] cmi8330 - Use platform_device, add PM support Modules: CMI8330 driver Rewrite the probe/remove with platform_device. Also, add the PM support. Signed-off-by: Takashi Iwai commit 175cdcfb113e2a72f9d1a2ced4b80e0ff17fcaae tree d543a187b156f9c468fae56ac4e429e1d4870338 parent e2fa213591518bb1387f6042b8572c76ecdc6c6e author Takashi Iwai Thu, 17 Nov 2005 17:05:02 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:24 +0100 [ALSA] ad1816a - Clean up PnP code Modules: AD1816A driver Clean up PnP code of ad1816a driver. Signed-off-by: Takashi Iwai commit e2fa213591518bb1387f6042b8572c76ecdc6c6e tree a57921931676bc83ec207f813ecb382981b0056d parent b6cc25cae365bada36c9f006e314b998eb2c5e7c author Takashi Iwai Thu, 17 Nov 2005 17:04:35 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:23 +0100 [ALSA] dt019x - Add PM support Modules: DT019x driver Add PM support to dt019x driver. Signed-off-by: Takashi Iwai commit b6cc25cae365bada36c9f006e314b998eb2c5e7c tree f3b3b2df9b698c3004308b342a7b3d65f7ca26fc parent 480615f33fa48e1a4db33e40b21d4009250f5b23 author Takashi Iwai Thu, 17 Nov 2005 17:04:12 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:21 +0100 [ALSA] azt2320 - Add PM support Modules: AZT2320 driver Add PM support to azt2320 driver. Signed-off-by: Takashi Iwai commit 480615f33fa48e1a4db33e40b21d4009250f5b23 tree bd87766d2d32ae02722a65ab99ec0f36c884efb6 parent 6bba41ac974ad77aa21d112a368ee565b55f303b author Takashi Iwai Thu, 17 Nov 2005 17:03:53 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:17 +0100 [ALSA] als100 - Add PM support Modules: ALS100 driver Add PM support to als100 driver. Signed-off-by: Takashi Iwai commit 6bba41ac974ad77aa21d112a368ee565b55f303b tree 421ee3a28760d64e6b6a0d8ea2176e18febe4026 parent 8b91375736ca602a5fc0695b53caa89b6ef263c9 author Takashi Iwai Thu, 17 Nov 2005 17:00:53 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:16 +0100 [ALSA] cs4236 - Use platform_device Modules: CS4236+ driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit 8b91375736ca602a5fc0695b53caa89b6ef263c9 tree 514b636ffb70565f36a7219c5687d0e43dea2cfd parent 7bb35e20e8a00cf9e3f4e9df0457eee9f312a637 author Takashi Iwai Thu, 17 Nov 2005 17:00:41 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:15 +0100 [ALSA] cs4231 - Use platform_device Modules: CS4231 driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit 7bb35e20e8a00cf9e3f4e9df0457eee9f312a637 tree e5483c0460f2dd82318c3774d897b24ea3ea5d2b parent 686688458e5814ac0aca44fc2033218a848fd2d0 author Takashi Iwai Thu, 17 Nov 2005 17:00:17 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:13 +0100 [ALSA] cs4231 - Fix PM support Modules: CS4231 driver Fix PM support. Signed-off-by: Takashi Iwai commit 686688458e5814ac0aca44fc2033218a848fd2d0 tree a02ecb0c5d5c35faf4e21728fe0c8a1be37993e3 parent c66d7f72569e304acc134b2561b148fe7c23c0f7 author Takashi Iwai Thu, 17 Nov 2005 16:58:26 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:11 +0100 [ALSA] ad1848 - Use platform_device, add PM Modules: AD1848 driver Rewrite the probe/remove with platform_device. Add the PM support, too. Signed-off-by: Takashi Iwai commit c66d7f72569e304acc134b2561b148fe7c23c0f7 tree 5404f454238c7f3546eaa1f7d892b7c5a1b5e020 parent 7a8fef1f95e563a93c7d70048b63c1ca20685a1b author Takashi Iwai Thu, 17 Nov 2005 16:57:48 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:10 +0100 [ALSA] ad1848 - Add PM support Modules: AD1848 driver Add PM support to ad1848 support code. Signed-off-by: Takashi Iwai commit 7a8fef1f95e563a93c7d70048b63c1ca20685a1b tree 34fa516e4d6775d50fefbab9bfe1bda8d6deb57b parent 67be445871bb35c450100753b72392ad6ddc0245 author Takashi Iwai Thu, 17 Nov 2005 16:56:11 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:08 +0100 [ALSA] es968 - Add PM support Modules: ES968 driver Add PM support to es968 driver. Signed-off-by: Takashi Iwai commit 67be445871bb35c450100753b72392ad6ddc0245 tree 2c39b540d1b1d86f6b94429cac4d5572b322937c parent 6f045616aff91022966b5c37ba6845791dd125dc author Takashi Iwai Thu, 17 Nov 2005 16:55:22 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:07 +0100 [ALSA] sb8 - Use platform_device and add PnP support Modules: SB8 driver Rewrite the probe/remove with platform_device. Add PM support, too. Signed-off-by: Takashi Iwai commit 6f045616aff91022966b5c37ba6845791dd125dc tree 273a962fbd5fcdd131f194cdc9b91ab0c409c98c parent 703529140cfb774366b839f38f027f283cb948b4 author Takashi Iwai Thu, 17 Nov 2005 16:54:56 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:05 +0100 [ALSA] sb16 - Use platform_device and add PnP support Modules: SB16/AWE driver Rewrite the probe/remove with platform_device. Add PM support using PnP suspend/resume callbacks. Signed-off-by: Takashi Iwai commit 703529140cfb774366b839f38f027f283cb948b4 tree a138810f5748f34aea4d3617010e8ede9fc1075c parent 5bdb6a1629408f657f5f2c42b3c07c689c411499 author Takashi Iwai Thu, 17 Nov 2005 16:16:36 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:04 +0100 [ALSA] als4000 - Add PM support Modules: ALS4000 driver Add PM support to PCI ALS4000 driver. Signed-off-by: Takashi Iwai commit 5bdb6a1629408f657f5f2c42b3c07c689c411499 tree b99b216117506a89a3f09ebb874da83ec13fbf6c parent cb60e5f5b2b19284479825cdaa6dd6b7078cf5d2 author Takashi Iwai Thu, 17 Nov 2005 16:16:10 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:03 +0100 [ALSA] Add PM support to SB-support code Modules: SB drivers,SB16/AWE driver Add PM support to SB-support code. Signed-off-by: Takashi Iwai commit cb60e5f5b2b19284479825cdaa6dd6b7078cf5d2 tree 1a2a9674bbe9abc98385b0a5e0015bc250fd9895 parent b1e9ed26a9e472548a63a59014708fdae013b7a3 author Takashi Iwai Thu, 17 Nov 2005 16:14:49 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:01 +0100 [ALSA] cmipci - Add PM support Modules: CMIPCI driver Add PM support to CMIPCI driver. Signed-off-by: Takashi Iwai commit b1e9ed26a9e472548a63a59014708fdae013b7a3 tree 69403fa8ec2c417af81098946888e2555ae5e4b9 parent 09668b441dacdf4640509b640ad73e24efd5204f author Takashi Iwai Thu, 17 Nov 2005 16:14:33 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:59 +0100 [ALSA] fm801 - Add PM support Modules: FM801 driver Add PM support to fm801 driver. Signed-off-by: Takashi Iwai commit 09668b441dacdf4640509b640ad73e24efd5204f tree 177d0548acbcca4432f82ce6f3aa397cba5ba528 parent fe8be10786c040bce53c18048d75b1b23aec64ae author Takashi Iwai Thu, 17 Nov 2005 16:14:10 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:58 +0100 [ALSA] emu10k1 - Add PM support Modules: EMU10K1/EMU10K2 driver Add PM support to emu10k1 driver. Signed-off-by: Takashi Iwai commit fe8be10786c040bce53c18048d75b1b23aec64ae tree 5f96e9b242637dd5c654cf9d9e5baeaf680407e1 parent 11d3824ad7d6240d7ce44bdf1d9e81e62a903f72 author Takashi Iwai Thu, 17 Nov 2005 16:13:41 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:56 +0100 [ALSA] ens137x - Fix and ADD PM support Modules: ENS1370/1+ driver Fix PM support on ens1371 driver. Add PM support on ens1370 (together with AK4531), too. Signed-off-by: Takashi Iwai commit 11d3824ad7d6240d7ce44bdf1d9e81e62a903f72 tree 14561c3817dfb06bf4b59c77beaa86fc41bf88d7 parent 3fcf7d2cd8e0ebce10e4bf89da175ff9bd6aa2da author Takashi Iwai Thu, 17 Nov 2005 16:13:05 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:55 +0100 [ALSA] ak4531 - Add PM support Modules: AK4531 codec Add PM support to AK4531 codec driver. Signed-off-by: Takashi Iwai commit 3fcf7d2cd8e0ebce10e4bf89da175ff9bd6aa2da tree 282784904eb8aab68bf98642e75ba2aebd503758 parent 421a12520d4ed4a0c96640fb672ef24ad8019beb author Takashi Iwai Thu, 17 Nov 2005 16:11:24 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:53 +0100 [ALSA] nm256-intel - Fix PM support Modules: NM256 driver Fix PM support on NM256 driver. Signed-off-by: Takashi Iwai commit 421a12520d4ed4a0c96640fb672ef24ad8019beb tree cdfbcad3881129cb50d4d8d5dd1ae5b17a9d7dbc parent bf53c3b3f368cdc2aa9a59f220337ede854f507d author Takashi Iwai Thu, 17 Nov 2005 16:11:09 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:51 +0100 [ALSA] hda-intel - Fix PM support Modules: HDA Intel driver Fix PM support on HDA-Intel driver. Signed-off-by: Takashi Iwai commit bf53c3b3f368cdc2aa9a59f220337ede854f507d tree 420cfb1ef9012e49c8c0b0cfc5a6b3565731c945 parent 57feb83507d598de04e986cfa463acda9f2a67a8 author Takashi Iwai Thu, 17 Nov 2005 16:10:51 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:50 +0100 [ALSA] ali5451 - Fix PM support Modules: ALI5451 driver Fix PM support on ALI5451 driver. Signed-off-by: Takashi Iwai commit 57feb83507d598de04e986cfa463acda9f2a67a8 tree 3a9b9fef2fed7b8306674724685270c012d096b9 parent 0e2364a7013688c06d1a9454a2c20567027f6a6e author Takashi Iwai Thu, 17 Nov 2005 16:10:35 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:48 +0100 [ALSA] via82xx - Fix PM support Modules: VIA82xx driver,VIA82xx-modem driver Fix PM support on VIA82xx and modem drivers. Signed-off-by: Takashi Iwai commit 0e2364a7013688c06d1a9454a2c20567027f6a6e tree c8b80e895ef3ef6b42a81c2ca79e106720a75580 parent 5809c6c41ae95ce3f45ad14d31503deb1fa8268a author Takashi Iwai Thu, 17 Nov 2005 16:10:19 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:47 +0100 [ALSA] maestro3 - Fix PM support Modules: Maestro3 driver Fix PM support on maestro3 driver. Signed-off-by: Takashi Iwai commit 5809c6c41ae95ce3f45ad14d31503deb1fa8268a tree c1029ae1b55bb67414459d47820dd39dfd277ef7 parent ded462356886e5f80f6a20b227f7e5cf7cfc5159 author Takashi Iwai Thu, 17 Nov 2005 16:10:01 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:42 +0100 [ALSA] intel8x0 - Fix PM support Modules: Intel8x0 driver,Intel8x0-modem driver Fix PM support on Intel8x0 and modem drivers. Signed-off-by: Takashi Iwai commit ded462356886e5f80f6a20b227f7e5cf7cfc5159 tree d060b0f123a3bf844246823174bddd7dcfba0a6e parent fb0700b4debbf45fb0465b40188bdc5396947bda author Takashi Iwai Thu, 17 Nov 2005 16:09:43 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:38 +0100 [ALSA] ymfpci - Fix PM support Modules: YMFPCI driver Fix PM support on YMFPCI driver. Signed-off-by: Takashi Iwai commit fb0700b4debbf45fb0465b40188bdc5396947bda tree 6a314571cd81b9995de254932ab7fe37038fa7b5 parent cb28e45ba2aa42393596a364d4f947027db8a1b5 author Takashi Iwai Thu, 17 Nov 2005 16:09:25 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:37 +0100 [ALSA] trident - Fix PM support Modules: Trident driver Fix PM support on Trident driver. Signed-off-by: Takashi Iwai commit cb28e45ba2aa42393596a364d4f947027db8a1b5 tree 8a9dbc18b5d4c2820fedf1ec27ec25c578ddee8c parent 1d4b822be64b119b47c172aaac7ee76949470e28 author Takashi Iwai Thu, 17 Nov 2005 16:09:04 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:35 +0100 [ALSA] cs46xx - Fix PM support Modules: CS46xx driver Fix PM support on CS46xx driver. Signed-off-by: Takashi Iwai commit 1d4b822be64b119b47c172aaac7ee76949470e28 tree 04f56645155654cf6ac411c42b0c44b3adac7287 parent b34a580ec5b2eb7d3a7645552821e9dadb42bdab author Takashi Iwai Thu, 17 Nov 2005 16:08:43 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:34 +0100 [ALSA] es1968 - Fix PM support Modules: ES1968 driver Fix PM support on ES1968 driver. Signed-off-by: Takashi Iwai commit b34a580ec5b2eb7d3a7645552821e9dadb42bdab tree eafcecac59f5d297294e319991b83eab9bd4f465 parent 38c0a158ee23027e6a4fe47311e05d9c34c94da4 author Takashi Iwai Thu, 17 Nov 2005 16:08:27 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:31 +0100 [ALSA] es1938 - Fix PM support Modules: ES1938 driver Fix PM support on ES1938 driver. Signed-off-by: Takashi Iwai commit 38c0a158ee23027e6a4fe47311e05d9c34c94da4 tree 541dfe21e27fed32932b117aa00dd3d5971ac344 parent 92304cc7ecfc87d8336696ab5fe6a1c0eec2ff00 author Takashi Iwai Thu, 17 Nov 2005 16:08:11 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:27 +0100 [ALSA] cs4281 - Fix PM support Modules: CS4281 driver Fix PM support on CS4281 driver. Signed-off-by: Takashi Iwai commit 92304cc7ecfc87d8336696ab5fe6a1c0eec2ff00 tree 979c7147e3234bc4c92eaf97aff08853c5bb7264 parent 0ed1cad172176a4595f82e8cd9055938ad54bd4b author Takashi Iwai Thu, 17 Nov 2005 16:07:46 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:24 +0100 [ALSA] atiixp - Fix PM support Modules: ATIIXP driver,ATIIXP-modem driver Fix PM support on ATIIXP and modem drivers. Signed-off-by: Takashi Iwai commit 0ed1cad172176a4595f82e8cd9055938ad54bd4b tree b00296e5a061c90debfc4fa8c5303f75042456bc parent 597c3c96691c861e837f9024084b4943fa5fc0fd author Takashi Iwai Thu, 17 Nov 2005 16:06:05 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:22 +0100 [ALSA] vx-driver - Fix PM support Fix PM support on VX drivers (vxpocket and vx222). Signed-off-by: Takashi Iwai commit 597c3c96691c861e837f9024084b4943fa5fc0fd tree 1a27106490d5f24fe270d2be1d5e209d65b3c329 parent b3fe95123f0db79dd0345d249c312823178c11f5 author Takashi Iwai Thu, 17 Nov 2005 16:04:14 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:20 +0100 [ALSA] Remove SND_GENERIC_DRIVER from drivers/Kconfig Modules: Generic drivers Remove SND_GENERIC_DRIVER from drivers/Kconfig. Signed-off-by: Takashi Iwai commit b3fe95123f0db79dd0345d249c312823178c11f5 tree c7c3b6c2270bbe4e4fe83a348e8603ae52df07c4 parent 3564fbb880f9a62ddbb81b7440c32e0e6619c52d author Takashi Iwai Thu, 17 Nov 2005 16:03:39 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:14 +0100 [ALSA] mpu401 - Use platform_device Modules: MPU401 UART Rewrite the probe/remove code using platform_device. Signed-off-by: Takashi Iwai commit 3564fbb880f9a62ddbb81b7440c32e0e6619c52d tree 87689136136d719d0ada90638ee696a2679f6a53 parent 9caf6b5908e1e3b10478e9201ca1be809145253f author Takashi Iwai Thu, 17 Nov 2005 16:03:26 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:13 +0100 [ALSA] virmidi - Use platform_device Modules: Generic drivers Rewrite the probe/remove code using platform_device. Signed-off-by: Takashi Iwai commit 9caf6b5908e1e3b10478e9201ca1be809145253f tree c4429da58b9f7169b4371675e3625a5f868c4acf parent 077d0ac5b63185abb848ae81e2949a1e9aedc1bb author Takashi Iwai Thu, 17 Nov 2005 16:02:30 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:11 +0100 [ALSA] serial-u16550 - Use platform_device Modules: Generic drivers Rewrite the probe/remove code using platform_device. Signed-off-by: Takashi Iwai commit 077d0ac5b63185abb848ae81e2949a1e9aedc1bb tree 56fdb29388d28123548cb5a067fee957032d69d6 parent 6e65c1cc4458b2784224759b6137a50d4f65e610 author Takashi Iwai Thu, 17 Nov 2005 16:02:15 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:32 +0100 [ALSA] mtpav - Use platform_device Modules: Generic drivers Rewrite the probe/remove code using platform_device. Signed-off-by: Takashi Iwai commit 6e65c1cc4458b2784224759b6137a50d4f65e610 tree 3eb2969064812e3c4aa202bc5f97f6e2aeb98e31 parent e26e7545e9542425f140cb4c605a7ab5a3b13e00 author Takashi Iwai Thu, 17 Nov 2005 16:01:56 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:29 +0100 [ALSA] dummy - Use platform_device Modules: Generic drivers Rewrite the probe/remove code using platform_device. Added the suspend/resume support, too. Signed-off-by: Takashi Iwai commit e26e7545e9542425f140cb4c605a7ab5a3b13e00 tree adbbb875ffba2bf48f18aa962cb0d260314744a5 parent 603bf524aa4cba95e4fcd64dbfffc41f804c65ab author Takashi Iwai Thu, 17 Nov 2005 16:00:01 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:28 +0100 [ALSA] ac97 - NULL check in snd_ac97_suspend/resume Modules: AC97 Codec Add NULL check in snd_ac97_suspend() and snd_ac97_resume() so that the caller doesn't have to do it by itself. Signed-off-by: Takashi Iwai commit 603bf524aa4cba95e4fcd64dbfffc41f804c65ab tree 6ea3abc3f71b3b234c161e1c5744674727176c00 parent a381a7a66486f11606eccb8866e29848f995278f author Takashi Iwai Thu, 17 Nov 2005 15:59:14 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:20 +0100 [ALSA] pcm - NULL check in snd_pcm_suspend*() Modules: PCM Midlevel Add NULL check in snd_pcm_suspend*() so that the caller doesn't have to do it by itself. Signed-off-by: Takashi Iwai commit a381a7a66486f11606eccb8866e29848f995278f tree 4fcc2f971a1f0d509939181b91096a600454b0d6 parent fd66e0d0591dd12eb0bea1e9f3aa194bb93cebbd author Takashi Iwai Thu, 17 Nov 2005 15:55:49 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:19 +0100 [ALSA] Decentralize PM control Modules: ALSA Core,Control Midlevel,/oss/Makefile Remove the centralized PM control in the sound core. Each driver is responsible to get callbacks from bus/driver now. SND_GENERIC_DRIVER is removed together with this action. Signed-off-by: Takashi Iwai commit fd66e0d0591dd12eb0bea1e9f3aa194bb93cebbd tree 010f8f3a7d1db8061616d0228c48bfe129ddabb7 parent 9398441edaf0dc64eca828e3ce7a0326c8640d4c author Takashi Iwai Thu, 17 Nov 2005 15:31:34 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:17 +0100 [ALSA] hda-codec - Add AD1988 support Modules: HDA Codec driver Add AD1988 codec support to hda-codec driver. Still experimental, and no BIOS configuration parser is implemented yet. Signed-off-by: Takashi Iwai commit 9398441edaf0dc64eca828e3ce7a0326c8640d4c tree 87d41ad6c4183f242e411557dca3b2f67a364bc5 parent 446ab5f5039df4209a2e28752bd48c99007d3d82 author Takashi Iwai Thu, 17 Nov 2005 15:30:43 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:15 +0100 [ALSA] ac97-codec - Better ac97_bus name Modules: AC97 Codec Generate a better name string for ac97_bus sysfs interface including the name of ac97 codec chip. Signed-off-by: Takashi Iwai commit 446ab5f5039df4209a2e28752bd48c99007d3d82 tree d40253e01ba04cfdf03ba2aaf5f81e91d40be369 parent a0d6f880faad2ceba3af3b8c34ddefd15119ced1 author Takashi Iwai Thu, 17 Nov 2005 15:12:54 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:14 +0100 [ALSA] Remove xxx_t typedefs: Documentation Modules: Documentation Remove xxx_t typedefs from documentation. Signed-off-by: Takashi Iwai commit a0d6f880faad2ceba3af3b8c34ddefd15119ced1 tree 2ce497e711bb02f9fb439c793ed5e10fbc0460c7 parent 67b1020d88a77a73bd9ccbc21733c155a4d7d44c author Takashi Iwai Thu, 17 Nov 2005 15:12:31 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:12 +0100 [ALSA] Remove xxx_t typedefs: MIPS AU1x00 Modules: MIPS AU1x00 driver Remove xxx_t typedefs from the MIPS AU1x00 driver. Signed-off-by: Takashi Iwai commit 67b1020d88a77a73bd9ccbc21733c155a4d7d44c tree 996fad816752751d467e70e632f7953fd872e7d5 parent 475675d6931ec03cf9575b26e30800fe64898ee0 author Takashi Iwai Thu, 17 Nov 2005 15:12:11 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:09 +0100 [ALSA] Remove xxx_t typedefs: PARISC Harmony Modules: PARISC Harmony driver Remove xxx_t typedefs from the PARIC Harmony driver. Signed-off-by: Takashi Iwai commit 475675d6931ec03cf9575b26e30800fe64898ee0 tree 1c54092e096066777f4cebc2b63a92a82003d8b6 parent dcc94db78362759931ff538f1579d4a1cec8bd64 author Takashi Iwai Thu, 17 Nov 2005 15:11:51 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:08 +0100 [ALSA] Remove xxx_t typedefs: SPARC DBRI Modules: SPARC DBRI driver Remove xxx_t typedefs from the SPARC DBRI driver. Signed-off-by: Takashi Iwai commit dcc94db78362759931ff538f1579d4a1cec8bd64 tree 2755792c2fe694b9ade90a32f91e495bced46c60 parent af0fbfb58dbb2081ae91789892933321ee95d71f author Takashi Iwai Thu, 17 Nov 2005 15:11:19 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:06 +0100 [ALSA] Remove xxx_t typedefs: SPARC AMD7930 Modules: SPARC AMD7930 driver Remove xxx_t typedefs from the SPARC AMD7930 driver. Signed-off-by: Takashi Iwai commit af0fbfb58dbb2081ae91789892933321ee95d71f tree 16ba6aaffb6e6319f652d30db40fd9ed61ac1cfd parent d18f83764e376dea9e14a8ac53d1e14004fa9c13 author Takashi Iwai Thu, 17 Nov 2005 15:10:58 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:04 +0100 [ALSA] Remove xxx_t typedefs: ARM SA11xx-UDA1341 Modules: SA11xx UDA1341 driver Remove xxx_t typedefs from the ARM SA11xx-UDA1341 driver. Signed-off-by: Takashi Iwai commit d18f83764e376dea9e14a8ac53d1e14004fa9c13 tree f51e4a25f8cf71d642c0ab46233858322427c293 parent ceb9e476c89f50e9ba7de914bbec2c05e9647915 author Takashi Iwai Thu, 17 Nov 2005 15:10:38 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:03 +0100 [ALSA] Remove xxx_t typedefs: ARM PXA2xx Modules: ARM PXA2XX driver Remove xxx_t typedefs from the ARM PXA2xx driver. Signed-off-by: Takashi Iwai commit ceb9e476c89f50e9ba7de914bbec2c05e9647915 tree de55dca47a4e573d1baa2f2bb6b269613de83590 parent 65b29f5039b38a5854b5e12238b0688a33e235cc author Takashi Iwai Thu, 17 Nov 2005 15:10:16 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:01 +0100 [ALSA] Remove xxx_t typedefs: ARM AACI Modules: ARM AACI PL041 driver,ARM DMA routines Remove xxx_t typedefs from the ARM AACI driver. Signed-off-by: Takashi Iwai commit 65b29f5039b38a5854b5e12238b0688a33e235cc tree bcbb2986d8a6b247387c0f7516c8f43dddeaf07c parent bbe85bbd02b2220c819ad1e33c9d6327131ad281 author Takashi Iwai Thu, 17 Nov 2005 15:09:46 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:00 +0100 [ALSA] Remove xxx_t typedefs: PowerMac Remove xxx_t typedefs from the PowerMac driver. Signed-off-by: Takashi Iwai commit bbe85bbd02b2220c819ad1e33c9d6327131ad281 tree f22dffee1b6211dae18ac7946facbb7add845ca3 parent 86e07d34658bb85b3424f4db64fa28f884edbe8d author Takashi Iwai Thu, 17 Nov 2005 15:08:26 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:56 +0100 [ALSA] Remove xxx_t typedefs: USB-USX2Y Modules: USB USX2Y Remove xxx_t typedefs from the USB-USX2Y driver. Signed-off-by: Takashi Iwai commit 86e07d34658bb85b3424f4db64fa28f884edbe8d tree eb6a97b850d12d2f64fa13cd1c436f0735627171 parent db13154843cb2c99a93e9feed575e906f6e0e455 author Takashi Iwai Thu, 17 Nov 2005 15:08:02 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:55 +0100 [ALSA] Remove xxx_t typedefs: USB-Audio Modules: USB generic driver Remove xxx_t typedefs from the USB-Audio driver. Signed-off-by: Takashi Iwai commit db13154843cb2c99a93e9feed575e906f6e0e455 tree 8249fdd690638c3ea7f3865b1889ccafd8a7a7ae parent e437e3d7c7fb656010f8f767d20215e67b847685 author Takashi Iwai Thu, 17 Nov 2005 15:07:38 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:52 +0100 [ALSA] Remove xxx_t typedefs: PCMCIA PDaudioCF Modules: PDAudioCF driver Remove xxx_t typedefs from the PCMCIA PDaudioCF driver. Signed-off-by: Takashi Iwai commit e437e3d7c7fb656010f8f767d20215e67b847685 tree 807b22db635295cded8ccb5af23f491b22a2a2e6 parent 016e401c2e64ce5c440b1f68eae4a53273aa0bc2 author Takashi Iwai Thu, 17 Nov 2005 15:06:15 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:49 +0100 [ALSA] Remove xxx_t typedefs: PCI VIA82xx Modules: VIA82xx driver,VIA82xx-modem driver Remove xxx_t typedefs from the PCI VIA82xx and modem drivers. Signed-off-by: Takashi Iwai commit 016e401c2e64ce5c440b1f68eae4a53273aa0bc2 tree 1f55600de23e28457d732115a18b2798fc4fa5cc parent a3aefd883dc8c17c2231d763630ffe5cd118d7e8 author Takashi Iwai Thu, 17 Nov 2005 15:05:57 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:47 +0100 [ALSA] Remove xxx_t typedefs: PCI Sonicvibes Modules: SonicVibes driver Remove xxx_t typedefs from the PCI Sonicvibes driver. Signed-off-by: Takashi Iwai commit a3aefd883dc8c17c2231d763630ffe5cd118d7e8 tree 2e116466a303e864a22671278e10fac69ab7f39d parent 017ce80236c28bae9c2573307f1e76724232f287 author Takashi Iwai Thu, 17 Nov 2005 15:05:37 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:45 +0100 [ALSA] Remove xxx_t typedefs: PCI RME96 Modules: RME96 driver Remove xxx_t typedefs from the PCI RME96 driver. Signed-off-by: Takashi Iwai commit 017ce80236c28bae9c2573307f1e76724232f287 tree e2d59723fb9be9195e2fd76618fab593e5bdad1a parent 3470c29dbde2aa8320acb29a654b5a72756ee58b author Takashi Iwai Thu, 17 Nov 2005 15:05:25 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:43 +0100 [ALSA] Remove xxx_t typedefs: PCI RME32 Modules: RME32 driver Remove xxx_t typedefs from the PCI RME32 driver. Signed-off-by: Takashi Iwai commit 3470c29dbde2aa8320acb29a654b5a72756ee58b tree b97f5a716ceeb2b803cf752d9e123990247cc134 parent 6b75a9d8b6c794d4c41d1b875c3e8e920b09e151 author Takashi Iwai Thu, 17 Nov 2005 15:05:09 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:41 +0100 [ALSA] Remove xxx_t typedefs: PCI Maestro3 Modules: Maestro3 driver Remove xxx_t typedefs from the PCI Maestro3 driver. Signed-off-by: Takashi Iwai commit 6b75a9d8b6c794d4c41d1b875c3e8e920b09e151 tree b75b956a7695a3f63c9fbdf5350ebbb90aca99c2 parent a5f22156e03d40f1da24a1b19a8a84c4fb3208f2 author Takashi Iwai Thu, 17 Nov 2005 15:04:53 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:38 +0100 [ALSA] Remove xxx_t typedefs: PCI Intel8x0 Modules: Intel8x0 driver,Intel8x0-modem driver Remove xxx_t typedefs from the PCI Intel8x0 and modem drivers. Signed-off-by: Takashi Iwai commit a5f22156e03d40f1da24a1b19a8a84c4fb3208f2 tree 6dddf7c10e87200412d765361f637d45101e3a71 parent 969165a8b5d9a5b3e3c205c312a13a1872844297 author Takashi Iwai Thu, 17 Nov 2005 15:04:28 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:36 +0100 [ALSA] Remove xxx_t typedefs: PCI FM801 Modules: FM801 driver Remove xxx_t typedefs from the PCI FM801 driver. Signed-off-by: Takashi Iwai commit 969165a8b5d9a5b3e3c205c312a13a1872844297 tree 805c09c80b8b526e633e2e07b5d4273f5eaf57b3 parent e571f59436d1827b5f00f3fba90b30ad7a5ff01e author Takashi Iwai Thu, 17 Nov 2005 15:04:14 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:35 +0100 [ALSA] Remove xxx_t typedefs: PCI ES1968 Modules: ES1968 driver Remove xxx_t typedefs from the PCI ES1968 driver. Signed-off-by: Takashi Iwai commit e571f59436d1827b5f00f3fba90b30ad7a5ff01e tree a0f6a73785923030f8139d5d7061720ff334fffb parent eb3414b4652344972e86c85ce094cc4a780e1a55 author Takashi Iwai Thu, 17 Nov 2005 15:04:01 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:33 +0100 [ALSA] Remove xxx_t typedefs: PCI ES1938 Modules: ES1938 driver Remove xxx_t typedefs from the PCI ES1938 driver. Signed-off-by: Takashi Iwai commit eb3414b4652344972e86c85ce094cc4a780e1a55 tree e786703d8a7bbdae9be8739d012bf6f570f18a9b parent 93e35f956a1720eedcf95b8337dde25bde22d624 author Takashi Iwai Thu, 17 Nov 2005 15:03:46 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:32 +0100 [ALSA] Remove xxx_t typedefs: PCI ENS137x Modules: ENS1370/1+ driver Remove xxx_t typedefs from the PCI ENS137x drivers. Signed-off-by: Takashi Iwai commit 93e35f956a1720eedcf95b8337dde25bde22d624 tree 322844fd62ba2e0aa93362d9231b23f788dfef7d parent 2cbdb686dd8df8d80742738ab50acfcfe9a95939 author Takashi Iwai Thu, 17 Nov 2005 15:03:28 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:29 +0100 [ALSA] Remove xxx_t typedefs: PCI CS4281 Modules: CS4281 driver Remove xxx_t typedefs from the PCI CS4281 driver. Signed-off-by: Takashi Iwai commit 2cbdb686dd8df8d80742738ab50acfcfe9a95939 tree 55c02d451bc6832087609e85b65a8e4aeed2e27e parent 9f362dce9d6315fa24aab6290cb9628563160f75 author Takashi Iwai Thu, 17 Nov 2005 15:03:13 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:27 +0100 [ALSA] Remove xxx_t typedefs: PCI CMIPCI Modules: CMIPCI driver Remove xxx_t typedefs from the PCI CMIPCI driver. Signed-off-by: Takashi Iwai commit 9f362dce9d6315fa24aab6290cb9628563160f75 tree 71f2dfac3228aa0f3f959bf3bab4e719fb61253d parent 95de77660bb54e603d32f2ce342ae16e6de1b2d4 author Takashi Iwai Thu, 17 Nov 2005 15:02:58 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:26 +0100 [ALSA] Remove xxx_t typedefs: PCI BT87x Modules: BT87x driver Remove xxx_t typedefs from the PCI BT87x driver. Signed-off-by: Takashi Iwai commit 95de77660bb54e603d32f2ce342ae16e6de1b2d4 tree 7e13ede45010d0778dfce2747464a0baf02f5d6d parent 74ee4ff1e62d9798361763f152c6f07d491be819 author Takashi Iwai Thu, 17 Nov 2005 15:02:42 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:24 +0100 [ALSA] Remove xxx_t typedefs: PCI AZT3328 Modules: AZT3328 driver Remove xxx_t typedefs from the PCI AZT3328 driver. Signed-off-by: Takashi Iwai commit 74ee4ff1e62d9798361763f152c6f07d491be819 tree 4790b9498602f38400bc8a371a604ae4fdd4e95c parent 17c39d9a59cbf4b3a51a2694134754fc1d3668e7 author Takashi Iwai Thu, 17 Nov 2005 15:02:23 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:22 +0100 [ALSA] Remove xxx_t typedefs: PCI ATIIXP Modules: ATIIXP driver,ATIIXP-modem driver Remove xxx_t typedefs from the PCI ATIIXP and modem drivers. Signed-off-by: Takashi Iwai commit 17c39d9a59cbf4b3a51a2694134754fc1d3668e7 tree e5b29d68fd324693fe72f78c3df67accfa62d41a parent 02c2de69d0bb0ed39b413188241beb4a29d05378 author Takashi Iwai Thu, 17 Nov 2005 15:02:01 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:21 +0100 [ALSA] Remove xxx_t typedefs: PCI ALS4000 Modules: ALS4000 driver Remove xxx_t typedefs from the PCI ALS4000 driver. Signed-off-by: Takashi Iwai commit 02c2de69d0bb0ed39b413188241beb4a29d05378 tree 90c3b19b785e9fc27ffd1d9a62ada1c93902813b parent 10754f53450a2c2aababe69f20edd7d2077e588d author Takashi Iwai Thu, 17 Nov 2005 15:01:46 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:20 +0100 [ALSA] Remove xxx_t typedefs: PCI AD1889 Modules: AD1889 driver Remove xxx_t typedefs from the PCI AD1889 driver. Signed-off-by: Takashi Iwai commit 10754f53450a2c2aababe69f20edd7d2077e588d tree cf21ec72bfe5a068492bda56c318054426b77486 parent 67b48b880062ba1775f424c2dd2c68bc30ec180f author Takashi Iwai Thu, 17 Nov 2005 15:01:29 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:18 +0100 [ALSA] Remove xxx_t typedefs: PCI NM256 Modules: NM256 driver Remove xxx_t typedefs from the PCI NM256 driver. Signed-off-by: Takashi Iwai commit 67b48b880062ba1775f424c2dd2c68bc30ec180f tree 32a39285a55e57cecb773ee92bff82322faaf33a parent fcfd3332e3bf5f63116044c168110820996cd1fe author Takashi Iwai Thu, 17 Nov 2005 15:01:08 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:16 +0100 [ALSA] Remove xxx_t typedefs: PCI miXart Modules: MIXART driver Remove xxx_t typedefs from the PCI miXart driver. Signed-off-by: Takashi Iwai commit fcfd3332e3bf5f63116044c168110820996cd1fe tree 5147f9d3517f0e6cbc24ab6c2de48970dcf29c7f parent ab0c7d72c32d703d1a2833ce2a1920cd3b46b131 author Takashi Iwai Thu, 17 Nov 2005 15:00:46 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:15 +0100 [ALSA] Remove xxx_t typedefs: PCI KORG1212 Modules: KORG1212 driver Remove xxx_t typedefs from the PCI KORG1212 driver. Signed-off-by: Takashi Iwai commit ab0c7d72c32d703d1a2833ce2a1920cd3b46b131 tree 6d5ed4991fd9b463fa929899af0ddf0cde158def parent 6ca308d4edd51c4f34ffff94ae0bbf193087d89f author Takashi Iwai Thu, 17 Nov 2005 15:00:18 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:13 +0100 [ALSA] Remove xxx_t typedefs: PCI ICE1724 Modules: ICE1724 driver,ICE1712 driver Remove xxx_t typedefs from the PCI ICE1724 driver. Signed-off-by: Takashi Iwai commit 6ca308d4edd51c4f34ffff94ae0bbf193087d89f tree 6bc0cb2ccacc6a4fd08cc35ecda4819e01f87af5 parent a98f90fd826913519c3f704ea24fb9bea1e0e494 author Takashi Iwai Thu, 17 Nov 2005 14:59:52 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:11 +0100 [ALSA] Remove xxx_t typedefs: PCI ICE1712 Modules: ICE1712 driver Remove xxx_t typedefs from the PCI ICE1712 driver. Signed-off-by: Takashi Iwai commit a98f90fd826913519c3f704ea24fb9bea1e0e494 tree ab27d20cc7ce7378e485bbe2d59303d175ca9267 parent c8b6bf9b5ef1f595a65a3414a5ca2588e8d993b2 author Takashi Iwai Thu, 17 Nov 2005 14:59:02 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:09 +0100 [ALSA] Remove xxx_t typedefs: HDA-Intel Modules: HDA Intel driver Remove xxx_t typedefs from the HDA-Intel driver. Signed-off-by: Takashi Iwai commit c8b6bf9b5ef1f595a65a3414a5ca2588e8d993b2 tree 9c297d352b2f6056fc336fb4ccb3f1a9f4c9a102 parent 66f8df6bdd388d209c38197785148c994c8a738d author Takashi Iwai Thu, 17 Nov 2005 14:57:47 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:06 +0100 [ALSA] Remove xxx_t typedefs: HD-Audio codec Modules: HDA Codec driver,HDA generic driver Remove xxx_t typedefs from the HD-Audio codec support codes. Signed-off-by: Takashi Iwai commit 66f8df6bdd388d209c38197785148c994c8a738d tree ce3354130f1e18089066f82325c008ebc3d956af parent d1fabd9cbc2f17b525a39adc16331443dddbb15b author Takashi Iwai Thu, 17 Nov 2005 14:56:21 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:04 +0100 [ALSA] Remove xxx_t typedefs: PCI CS5535 Modules: CS5535 driver Remove xxx_t typedefs from the PCI CS5535 driver. Signed-off-by: Takashi Iwai commit d1fabd9cbc2f17b525a39adc16331443dddbb15b tree aae8ae3e530ddc1d88fe268ff32c4becca3281b4 parent e4a3d145455159955d6ac1df976b2ed2a135b858 author Takashi Iwai Thu, 17 Nov 2005 14:56:03 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:03 +0100 [ALSA] Remove xxx_t typedefs: PCI ALI5451 Modules: ALI5451 driver Remove xxx_t typedefs from the PCI ALI5451 driver. Signed-off-by: Takashi Iwai commit e4a3d145455159955d6ac1df976b2ed2a135b858 tree 71a0a4f0a71d07d153d32d88430f21ac4efcdde7 parent 2fd16874aa6322e8b61879a78f3b485999506833 author Takashi Iwai Thu, 17 Nov 2005 14:55:40 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:01 +0100 [ALSA] Remove xxx_t typedefs: PCI CA0106 Modules: CA0106 driver Remove xxx_t typedefs from the PCI CA0106 driver. Signed-off-by: Takashi Iwai commit 2fd16874aa6322e8b61879a78f3b485999506833 tree 3d7033f5e9a7873f0c7b871b8b097c79c1cec5e6 parent 208a1b4cb5ad97510aa9cbe51d09e55656691cb4 author Takashi Iwai Thu, 17 Nov 2005 14:55:19 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:59 +0100 [ALSA] Remove xxx_t typedefs: PCI AU88x0 Modules: au88x0 driver Remove xxx_t typedefs from the PCI AU88x0 drivers. Signed-off-by: Takashi Iwai commit 208a1b4cb5ad97510aa9cbe51d09e55656691cb4 tree 5f3c518582f92d19905451aec1bbb2ddd5cbd759 parent bee1a5be8b6210a0a4e27e38d0f76847b0a014ae author Takashi Iwai Thu, 17 Nov 2005 14:53:41 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:58 +0100 [ALSA] Remove xxx_t typedefs: PCI YMFPCI Modules: YMFPCI driver Remove xxx_t typedefs from the PCI YMFPCI driver. Signed-off-by: Takashi Iwai commit bee1a5be8b6210a0a4e27e38d0f76847b0a014ae tree c8059b86095309e23b4fa61d576e96c722466ee6 parent abfd67bd6fcc07b54d54e00a9105900f478323a6 author Takashi Iwai Thu, 17 Nov 2005 14:53:15 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:56 +0100 [ALSA] Remove xxx_t typedefs: PCI Trident Modules: Trident driver Remove xxx_t typedefs from the PCI Trident driver. Signed-off-by: Takashi Iwai commit abfd67bd6fcc07b54d54e00a9105900f478323a6 tree f9c388fbedf793e85d6fc0552584bd6fe4792a48 parent 98274f0701f9e6579ae493ac190227fe93d11e20 author Takashi Iwai Thu, 17 Nov 2005 14:52:53 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:54 +0100 [ALSA] Remove xxx_t typedefs: PCI RME9652 Modules: RME9652 driver Remove xxx_t typedefs from the PCI RME9652 driver. Signed-off-by: Takashi Iwai commit 98274f0701f9e6579ae493ac190227fe93d11e20 tree e6fec740e4103589ea96af83e074d507b33f001c parent 55e957d8328ef1c75238b95033d8a61994b6adcc author Takashi Iwai Thu, 17 Nov 2005 14:52:34 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:53 +0100 [ALSA] Remove xxx_t typedefs: PCI HDSP-MADI Modules: HDSPM driver,RME9652 driver Remove xxx_t typedefs from the PCI HDSP-MADI driver. Signed-off-by: Takashi Iwai commit 55e957d8328ef1c75238b95033d8a61994b6adcc tree dc0012628d0dd0307cbad024a9a13fa5d988f0bb parent 4b32f1aae23f566e98fda140836023dd8275b5de author Takashi Iwai Thu, 17 Nov 2005 14:52:13 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:51 +0100 [ALSA] Remove xxx_t typedefs: PCI HDSP Modules: RME HDSP driver Remove xxx_t typedefs from the PCI HDSP driver. Signed-off-by: Takashi Iwai commit 4b32f1aae23f566e98fda140836023dd8275b5de tree df972b04146507d918c6aa24ca5d3c7259910a71 parent eb4698f347ec908c365504c4edddadd1acd406ea author Takashi Iwai Thu, 17 Nov 2005 14:50:31 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:49 +0100 [ALSA] Remove xxx_t typedefs: PCI emu10k1x Modules: EMU10K1/EMU10K2 driver Remove xxx_t typedefs from the PCI emu10k1x driver. Signed-off-by: Takashi Iwai commit eb4698f347ec908c365504c4edddadd1acd406ea tree 4962019c8bf4a52e35ab55137e17aa150edf9661 parent 3d19f804ef5f1d15fe001fc8d1ed58fac9d591fb author Takashi Iwai Thu, 17 Nov 2005 14:50:13 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:47 +0100 [ALSA] Remove xxx_t typedefs: PCI emu10k1 Modules: EMU10K1/EMU10K2 driver Remove xxx_t typedefs from the PCI emu10k1 driver. Signed-off-by: Takashi Iwai commit 3d19f804ef5f1d15fe001fc8d1ed58fac9d591fb tree e3fd21398754a5c970a2c36f745a910c17db3794 parent af26367f69a474ed809e4a59abb5855b47daaff4 author Takashi Iwai Thu, 17 Nov 2005 14:48:14 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:45 +0100 [ALSA] Remove xxx_t typedefs: PCI CS46xx Modules: CS46xx driver Remove xxx_t typedefs from the PCI CS46xx driver. Signed-off-by: Takashi Iwai commit af26367f69a474ed809e4a59abb5855b47daaff4 tree 8ee9ec6449b3b51953cda3d546e90c064f963684 parent 9f38945fab04a0a0ea50880fa634f9bfa28f6226 author Takashi Iwai Thu, 17 Nov 2005 14:46:59 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:42 +0100 [ALSA] Remove xxx_t typedefs: VXdriver Remove xxx_t typedefs from the VXdriver codes (vx_core support, vx222 and vxpocket). Signed-off-by: Takashi Iwai commit 9f38945fab04a0a0ea50880fa634f9bfa28f6226 tree 7f09c129ce5199bdc0834456e09460f1df81427f parent 11ff5c62b1327cc7bdcfcf66b4b718495fea0043 author Takashi Iwai Thu, 17 Nov 2005 14:44:47 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:41 +0100 [ALSA] Remove xxx_t typedefs: AK4531 codec Modules: AK4531 codec Remove xxx_t typedefs from the AK4531 codec support code. Signed-off-by: Takashi Iwai commit 11ff5c62b1327cc7bdcfcf66b4b718495fea0043 tree a6ed8733002ac196993a091504d804dca48317a1 parent be6245373f46eb21839ba1b54c83bc7cc8274208 author Takashi Iwai Thu, 17 Nov 2005 14:42:36 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:39 +0100 [ALSA] Remove xxx_t typedefs: ISA SB/AD-clone Modules: ALS100 driver,AZT2320 driver,DT019x driver,Sound Galaxy driver Remove xxx_t typedefs from the ISA SB/AD-clone drivers (als100, azt2320, dt019x, sgalaxy). Signed-off-by: Takashi Iwai commit be6245373f46eb21839ba1b54c83bc7cc8274208 tree 645b9067557c6cb2fe733d7d4aacdfa005b1220e parent ec6c5ae353fd9b1141da67094e125e75d031d740 author Takashi Iwai Thu, 17 Nov 2005 14:42:05 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:37 +0100 [ALSA] Remove xxx_t typedefs: ISA SoundScape Modules: Sound Scape driver Remove xxx_t typedefs from the ISA SoundScape driver. Signed-off-by: Takashi Iwai commit ec6c5ae353fd9b1141da67094e125e75d031d740 tree b17125118d8f4e07636992aebe69d5b133592e6f parent 8047c910ff27811060e6983ac446ed5a0fe550c6 author Takashi Iwai Thu, 17 Nov 2005 14:41:45 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:36 +0100 [ALSA] Remove xxx_t typedefs: ISA OPL3SA2 Modules: OPL3SA2 driver Remove xxx_t typedefs from the ISA OPL3SA2 driver. Signed-off-by: Takashi Iwai commit 8047c910ff27811060e6983ac446ed5a0fe550c6 tree 1a48ae4d0caaa29804cd38bf8398ad3a526ab69a parent e3561703723fcc2315f852cb85e80533a2c58e3e author Takashi Iwai Thu, 17 Nov 2005 14:41:22 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:34 +0100 [ALSA] Remove xxx_t typedefs: ISA ES18xx Modules: ES18xx driver Remove xxx_t typedefs from the ISA ES18xx driver. Signed-off-by: Takashi Iwai commit e3561703723fcc2315f852cb85e80533a2c58e3e tree 6c0712a5f963851e21e9a9d0c8773e0c9fe2decd parent 542172f31d41e689988aedcf0d6e67dfe757736a author Takashi Iwai Thu, 17 Nov 2005 14:41:02 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:32 +0100 [ALSA] Remove xxx_t typedefs: ISA CMI8330 Modules: CMI8330 driver Remove xxx_t typedefs from the ISA CMI8330 driver. Signed-off-by: Takashi Iwai commit 542172f31d41e689988aedcf0d6e67dfe757736a tree caad40a7368afc0eb719491b09e84f279b1f9bf6 parent 346c7a689542285aef9b899eda7693d4b912d60d author Takashi Iwai Thu, 17 Nov 2005 14:39:06 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:30 +0100 [ALSA] Remove xxx_t typedefs: ISA Wavefront Modules: Wavefront drivers Remove xxx_t typedefs from the ISA Wavefront driver. Signed-off-by: Takashi Iwai commit 346c7a689542285aef9b899eda7693d4b912d60d tree 80dc6240d92cd1d9c99b97c5eb9a1bc6617f31d3 parent 5e2da20648e39a0e3cb33861499b686a6fe38112 author Takashi Iwai Thu, 17 Nov 2005 14:37:56 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:29 +0100 [ALSA] Remove xxx_t typedefs: ISA Opti9xx Modules: Opti9xx drivers Remove xxx_t typedefs from the ISA Opti 9xx drivers. Signed-off-by: Takashi Iwai commit 5e2da20648e39a0e3cb33861499b686a6fe38112 tree e5f3117e2f44b262f9b6d45cfbd9e17a0ea913bd parent 029d64b0cfa30abc10f722e2f67d282abe09c9da author Takashi Iwai Thu, 17 Nov 2005 14:36:44 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:27 +0100 [ALSA] Remove xxx_t typedefs: ISA GUS Remove xxx_t typedefs from the ISA GUS drivers. Signed-off-by: Takashi Iwai commit 029d64b0cfa30abc10f722e2f67d282abe09c9da tree d9a1e72e9792b33e57db2695f6c1a1a4843df0bf parent d3a7e476740dc23588ea65fa0df1aacdf8e70003 author Takashi Iwai Thu, 17 Nov 2005 14:34:36 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:25 +0100 [ALSA] Remove xxx_t typedefs: ISA SB8/SB16/SBAWE Remove xxx_t typedefs from the ISA SB8/SB16/SBAWE drivers. Signed-off-by: Takashi Iwai commit d3a7e476740dc23588ea65fa0df1aacdf8e70003 tree f3526502e60c587df54394b2e0117996ae25442a parent ba2375a45c528fd902676ea01014ea0f8931464b author Takashi Iwai Thu, 17 Nov 2005 14:31:42 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:23 +0100 [ALSA] Remove xxx_t typedefs: ISA ES1688 Modules: ES1688 driver Remove xxx_t typedefs from the ISA ES1688 driver. Signed-off-by: Takashi Iwai commit ba2375a45c528fd902676ea01014ea0f8931464b tree e38833035449d0d65afb3cfc1104b243ce88454c parent c8ff6647bb8a1865608b2d0c8565ca0ac47fb9b7 author Takashi Iwai Thu, 17 Nov 2005 14:30:42 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:21 +0100 [ALSA] Remove xxx_t typedefs: ISA CS423x Modules: CS4231 driver,CS4236+ driver Remove xxx_t typedefs from the ISA CS423x drivers. Signed-off-by: Takashi Iwai commit c8ff6647bb8a1865608b2d0c8565ca0ac47fb9b7 tree 49f33f6cfed368bd3f85147cb66b0cddc5bcbf28 parent cbdd0dd15f06a989c519089bb24023a5bfa66eaf author Takashi Iwai Thu, 17 Nov 2005 14:29:37 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:19 +0100 [ALSA] Remove xxx_t typedefs: ISA AD1848 Modules: AD1848 driver Remove xxx_t typedefs from the ISA AD1848 driver. Signed-off-by: Takashi Iwai commit cbdd0dd15f06a989c519089bb24023a5bfa66eaf tree 9217e0e66a53937e0516b92b45c7d0038a4efd78 parent 4a4d2cfd8cbca3076742547157ea135d0be77928 author Takashi Iwai Thu, 17 Nov 2005 14:28:35 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:18 +0100 [ALSA] Remove xxx_t typedefs: ISA AD1816A Modules: AD1816A driver Remove xxx_t typedefs from the ISA AD1816A driver. Signed-off-by: Takashi Iwai commit 4a4d2cfd8cbca3076742547157ea135d0be77928 tree 44f859e10ebb6b6a03b18927ecf6dc1bbed9ec59 parent 03da312ac080b4f5c9359c233b8812cc93a035fe author Takashi Iwai Thu, 17 Nov 2005 14:27:28 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:15 +0100 [ALSA] Remove xxx_t typedefs: Generic drivers Modules: Generic drivers Remove xxx_t typedefs from the generic drivers (dummy, mtpav, serial-u16550 and virmidi). Signed-off-by: Takashi Iwai commit 03da312ac080b4f5c9359c233b8812cc93a035fe tree 1a6767ca18964b53442ecfd538141b12e81b23be parent ee42381e71c56328db9e9d64d19a4de7a2f09a93 author Takashi Iwai Thu, 17 Nov 2005 14:24:47 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:14 +0100 [ALSA] Remove xxx_t typedefs: Emu-X synth Modules: Common EMU synth,SoundFont,Synth Remove xxx_t typedefs from the Emu-X synth support. Signed-off-by: Takashi Iwai commit ee42381e71c56328db9e9d64d19a4de7a2f09a93 tree 641cdecfa64347efb7d402c707412e0a45fe7ced parent dc4cafbadad1ae2322e598f2cb72720ef4095fee author Takashi Iwai Thu, 17 Nov 2005 14:21:36 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:12 +0100 [ALSA] Remove xxx_t typedefs: AC97 Modules: AC97 Codec Remove xxx_t typedefs from the AC97 codec support. Signed-off-by: Takashi Iwai commit dc4cafbadad1ae2322e598f2cb72720ef4095fee tree c7b93b3a5d8f8ffffe951dcb03579859c198eeb6 parent 97f02e05f246a2346275c1c93a3079e8933e74b2 author Takashi Iwai Thu, 17 Nov 2005 14:19:28 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:09 +0100 [ALSA] Remove xxx_t typedefs: I2C drivers Modules: AK4114 receiver,AK4117 receiver,AK4XXX AD/DA converters [Missing files in last commit] Remove xxx_t typedefs from the i2c drivers. Signed-off-by: Takashi Iwai commit 97f02e05f246a2346275c1c93a3079e8933e74b2 tree 218d0a71f8bdeb5e6d2660339c29c46dab1adaa7 parent a42dd420bea7a5cd130162183d95f640c299a337 author Takashi Iwai Thu, 17 Nov 2005 14:17:19 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:08 +0100 [ALSA] Remove xxx_t typedefs: I2C drivers Remove xxx_t typedefs from the i2c drivers. Signed-off-by: Takashi Iwai commit a42dd420bea7a5cd130162183d95f640c299a337 tree b9c8a88c957b973faf3e5a4faf027a39a0d8343f parent 5b1646a8eceff0a4ff06f309abb6e7f43f99a498 author Takashi Iwai Thu, 17 Nov 2005 14:13:47 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:06 +0100 [ALSA] Remove xxx_t typedefs: OPL4 Modules: OPL4 Remove xxx_t typedefs from the OPL4 driver Signed-off-by: Takashi Iwai commit 5b1646a8eceff0a4ff06f309abb6e7f43f99a498 tree ecbb7c1d5ffdf2f3f732a18aae3ed6b2a3752e9e parent e1fad17bb4084dc7c435360185417aed55656ec8 author Takashi Iwai Thu, 17 Nov 2005 14:13:14 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:04 +0100 [ALSA] Remove xxx_t typedefs: OPL3 Modules: OPL3,Raw OPL FM Remove xxx_t typedefs from the OPL3 driver Signed-off-by: Takashi Iwai commit e1fad17bb4084dc7c435360185417aed55656ec8 tree f374fc6324e0af415bac8f8f7e24bc2f2e42e4bc parent 87e1f0e2b206eaf8265997a8d0cb7126ea11c844 author Takashi Iwai Thu, 17 Nov 2005 14:12:45 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:01 +0100 [ALSA] Remove xxx_t typedefs: MPU401 Modules: MPU401 UART Remove xxx_t typedefs from the MPU401-UART and MPU401 drivers Signed-off-by: Takashi Iwai commit 87e1f0e2b206eaf8265997a8d0cb7126ea11c844 tree 0f9637806d37c176c66f07494732a2fe84c2b712 parent 080dece3460b534bedc4ef4ba3abaa57e9486331 author Takashi Iwai Thu, 17 Nov 2005 14:08:02 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:00 +0100 [ALSA] Backward-compatibility typedefs Modules: ALSA Core Backward-compatibility typedefs are stored in the new header, typedefs.h, for out-of-tree drivers. This will be removed in future. Signed-off-by: Takashi Iwai commit 080dece3460b534bedc4ef4ba3abaa57e9486331 tree 7e35242b3d716cd29f62d96e0920230147cb5c03 parent 19ac31e82cc7328c01bf26f824f33c7c38cb6075 author Takashi Iwai Thu, 17 Nov 2005 14:05:16 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:57 +0100 [ALSA] Remove xxx_t typedefs: Sequencer OSS-emulation Modules: ALSA<-OSS sequencer,ALSA sequencer Remove xxx_t typedefs from the core sequencer OSS-emulation codes. Signed-off-by: Takashi Iwai commit 19ac31e82cc7328c01bf26f824f33c7c38cb6075 tree b0ae7c7c335f1199567443342c038251a203b235 parent c7e0b5bf9fff1b726495081447c107a2333fb82c author Takashi Iwai Thu, 17 Nov 2005 14:04:44 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:54 +0100 [ALSA] Remove xxx_t typedefs: Instrument layer Modules: Instrument layer Remove xxx_t typedefs from the core instrument layer codes. Signed-off-by: Takashi Iwai commit c7e0b5bf9fff1b726495081447c107a2333fb82c tree f4d9ec9a6446f8e2afde4c94e10a39f2b86a0bc9 parent 6ac77bc180fbd985988015020c2e2347e802959d author Takashi Iwai Thu, 17 Nov 2005 14:04:02 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:52 +0100 [ALSA] Remove xxx_t typedefs: Sequencer Modules: ALSA sequencer Remove xxx_t typedefs from the core sequencer codes. Signed-off-by: Takashi Iwai commit 6ac77bc180fbd985988015020c2e2347e802959d tree 1959127176dbc937fe4646d94e48f14cc013d087 parent f956b4a3ae790e1bdde865ac42dd1b99b64a6256 author Takashi Iwai Thu, 17 Nov 2005 14:01:49 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:48 +0100 [ALSA] Remove xxx_t typedefs: PCM OSS-emulation Modules: ALSA<-OSS emulation Remove xxx_t typedefs from the core PCM OSS-emulation codes. Signed-off-by: Takashi Iwai commit f956b4a3ae790e1bdde865ac42dd1b99b64a6256 tree 1f40f52a53f540048573ed94384b0f8e13d314dc parent 174c1f65e5b81f616a5b5c8e41fc2b5eeb7a71af author Takashi Iwai Thu, 17 Nov 2005 14:01:22 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:47 +0100 [ALSA] Remove xxx_t typedefs: Mixer OSS-emulation Modules: ALSA<-OSS emulation Remove xxx_t typedefs from the core mixer OSS-emulation codes. Signed-off-by: Takashi Iwai commit 174c1f65e5b81f616a5b5c8e41fc2b5eeb7a71af tree dd5a70a13e740ada1ae001913eb6f496163420f4 parent 877211f5e1b1196179ba1290e8e1a3dc00427c55 author Takashi Iwai Thu, 17 Nov 2005 14:00:19 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:44 +0100 [ALSA] Remove xxx_t typedefs: OSS-emulation Modules: ALSA Core Remove xxx_t typedefs from the core OSS-emulation codes. Signed-off-by: Takashi Iwai commit 877211f5e1b1196179ba1290e8e1a3dc00427c55 tree 9964e0e46043cee6c76a614ac35ab982faba7f99 parent 24c1f93188b4438c7f30df5b4cd78340cdb28daf author Takashi Iwai Thu, 17 Nov 2005 13:59:38 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:43 +0100 [ALSA] Remove xxx_t typedefs: PCM Modules: PCM Midlevel Remove xxx_t typedefs from the core PCM codes. Signed-off-by: Takashi Iwai commit 24c1f93188b4438c7f30df5b4cd78340cdb28daf tree cbe2c16dd32f2df04cb53d783a20ef42e5895c08 parent d9a98de218ce18befabb5782c43cb4a2766b4b02 author Takashi Iwai Thu, 17 Nov 2005 13:58:48 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:39 +0100 [ALSA] Remove xxx_t typedefs: Proc handler Modules: ALSA Core Remove xxx_t typedefs from the core proc handler codes. Signed-off-by: Takashi Iwai commit d9a98de218ce18befabb5782c43cb4a2766b4b02 tree 4fbacff1ed8122c4a6a6d2d281b62203987e0a47 parent 48c9d417d7269da2a2da5b602fcb5fdbee36305e author Takashi Iwai Thu, 17 Nov 2005 13:58:21 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:38 +0100 [ALSA] Remove xxx_t typedefs: Hwdep Modules: HWDEP Midlevel Remove xxx_t typedefs from the core hwdep codes. Signed-off-by: Takashi Iwai commit 48c9d417d7269da2a2da5b602fcb5fdbee36305e tree b892cec8e6fbf273492f9940f4660c3a9e0453a0 parent 53d2f744afc1fcb4fb68975a443fb66eb6c44da4 author Takashi Iwai Thu, 17 Nov 2005 13:56:51 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:35 +0100 [ALSA] Remove xxx_t typedefs: Raw MIDI Modules: RawMidi Midlevel Remove xxx_t typedefs from the core raw MIDI codes. Signed-off-by: Takashi Iwai commit 53d2f744afc1fcb4fb68975a443fb66eb6c44da4 tree 46db033f71a8da32470d4b5f1027cee379fc7914 parent 82e9bae6fd253af4aea9c690223c7800313632ad author Takashi Iwai Thu, 17 Nov 2005 13:56:05 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:34 +0100 [ALSA] Remove xxx_t typedefs: Timer Modules: RTC timer driver,Timer Midlevel Remove xxx_t typedefs from the core timer. Signed-off-by: Takashi Iwai commit 82e9bae6fd253af4aea9c690223c7800313632ad tree 7a45a6ed1d354318ca25e6bcc92a83b808c13dc9 parent 512bbd6a85230f16389f0dd51925472e72fc8a91 author Takashi Iwai Thu, 17 Nov 2005 13:53:23 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:32 +0100 [ALSA] Remove xxx_t typedefs: Controls Modules: Control Midlevel Remove xxx_t typedefs from the core controls. Signed-off-by: Takashi Iwai commit 512bbd6a85230f16389f0dd51925472e72fc8a91 tree f563f496c46355ed6ed1bca4ab876e984eb69a84 parent 3f05f868f1112b970e7fb9c0aa42cc99370098fe author Takashi Iwai Thu, 17 Nov 2005 13:51:18 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:30 +0100 [ALSA] Remove xxx_t typedefs: Core component Modules: ALSA Core Remove xxx_t typedefs from the core component. Signed-off-by: Takashi Iwai commit 3f05f868f1112b970e7fb9c0aa42cc99370098fe tree 7ce21b25e3e67161aa0e751842722e9fe9c1abd4 parent 8d88bc3d361bdd81a214eb9c5d06b291d06c603a author Takashi Iwai Thu, 17 Nov 2005 11:12:06 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:27 +0100 [ALSA] nm256 - Code clean up Modules: NM256 driver Clean up snd-nm256 driver code: - Simplify chip constructor function Signed-off-by: Takashi Iwai commit 8d88bc3d361bdd81a214eb9c5d06b291d06c603a tree dc3bfd15ff731e55bc8c2e29f54d050325a9ee1a parent a2a20939b1cc82222eb67a4631009338791f1acd author Takashi Iwai Thu, 17 Nov 2005 11:09:23 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:26 +0100 [ALSA] hda-codec - Fix assignment of speaker pin Modules: HDA Codec driver,HDA generic driver Fix the auto-assignment of speaker pin. Handle it independently from line-out pins. Signed-off-by: Takashi Iwai commit a2a20939b1cc82222eb67a4631009338791f1acd tree 124a739f6d2811397c0df1ba647f799561e6fb86 parent 9f146bb6e68610ab2b62c76e7485900545515613 author Takashi Iwai Thu, 17 Nov 2005 11:08:23 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:24 +0100 [ALSA] hda-codec - Fix a typo Modules: HDA Codec driver Fix a typo in hda_codec.h. Signed-off-by: Takashi Iwai commit 9f146bb6e68610ab2b62c76e7485900545515613 tree d19bcc56619d52f13ccde73061b0e0832abc37da parent d2a6d7dc757da6b57d77bd8b460cf4faa9fd152d author Takashi Iwai Thu, 17 Nov 2005 11:07:49 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:22 +0100 [ALSA] hda-codec - Prepare unsol workqueue on demand Modules: HDA Codec driver Prepare unsol workqueue only when a codec really supports. Signed-off-by: Takashi Iwai commit d2a6d7dc757da6b57d77bd8b460cf4faa9fd152d tree b3edf27437b4be8ee23917b852d8e93376ac62da parent 59de641ca37b88dd34d0e1d853800b488f642624 author Takashi Iwai Thu, 17 Nov 2005 11:06:29 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:21 +0100 [ALSA] hda-codec - Add channel-mode helper Modules: HDA Codec driver,HDA generic driver Add common channel-mode helper functions for all codec patches. Signed-off-by: Takashi Iwai commit 59de641ca37b88dd34d0e1d853800b488f642624 tree 7b177bdc376a907955dc74cde05332c31272c591 parent 10e4097fb47b57d095204d3fad10b25e3b4d42a3 author Takashi Iwai Thu, 17 Nov 2005 11:05:34 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:19 +0100 [ALSA] Small update of Procfile.txt Modules: Documentation Small update of Procfile.txt for hda and usb proc files. Signed-off-by: Takashi Iwai commit 10e4097fb47b57d095204d3fad10b25e3b4d42a3 tree 142d9f49e9505dc63e4eec9cb77ebb181fb21ee6 parent ba7301c7d985d206a5688c69d0a74de3988f6d6c author Takashi Iwai Thu, 17 Nov 2005 11:04:55 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:17 +0100 [ALSA] [Trivial] Fix ac97_quirk option in document Modules: Documentation Fix a wrong option value for ac97_quirk option in the document. Signed-off-by: Takashi Iwai commit ba7301c7d985d206a5688c69d0a74de3988f6d6c tree b060741f2035862e0375630e1dcfc7917defb2d4 parent a57d15158113cb7f10e662e6df07f445c986a12d author Andreas Mohr Thu, 17 Nov 2005 11:03:31 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:15 +0100 [ALSA] ALS4000 update Modules: SB drivers,ALS4000 driver some update for the ALS4000 driver (tested with hardware in my PC): - use common control names according to ControlNames.txt - add some controls (Master Mono, 3D control) - optimize struct snd_card_als4000_t layout (performance/size) - save some bytes via unified error path - constify some read-only data - add ToDo list - move GPL license text to top - add comments Signed-off-by: Andreas Mohr Signed-off-by: Takashi Iwai commit a57d15158113cb7f10e662e6df07f445c986a12d tree 14bb731f73657583a364f381a3d58ad211b93cb4 parent cb432379eff40d5656ca9f24afc435b4df353d13 author Takashi Iwai Thu, 17 Nov 2005 10:50:13 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:14 +0100 [ALSA] emux - Avoid cast of function pointers Modules: Common EMU synth Pass the proper functions instead of cast of function pointers, which can be dangerous with compiler optimizations. Signed-off-by: Takashi Iwai commit cb432379eff40d5656ca9f24afc435b4df353d13 tree f00428351803fc5ad0b5b2c74c239402d47a7293 parent 9fd9156c6b0dfb8630f68d11dc48a3e824aa64e6 author Takashi Iwai Thu, 17 Nov 2005 10:48:52 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:09 +0100 [ALSA] usx2y - Code clean up Modules: USB USX2Y Clean up snd-usb-usx2y driver code: - Avoid unnecessary cast - Fix spaces/indents - Use kzalloc() - Remove weird debug prints Signed-off-by: Takashi Iwai commit 9fd9156c6b0dfb8630f68d11dc48a3e824aa64e6 tree ec4c9a37b16a67aa477d06cb33d6170d761c0e15 parent e017fa5772cd2536b2b2fb210f5a6e86cceaa633 author Takashi Iwai Thu, 17 Nov 2005 10:45:48 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:07 +0100 [ALSA] korg1212 - Clean up debug prints Modules: KORG1212 driver Clean up debug prints in korg1212 driver. Also, clean up spaces/indents in some places. Signed-off-by: Takashi Iwai commit e017fa5772cd2536b2b2fb210f5a6e86cceaa633 tree 7ab4eb659c9b88d6754ba1ca602030f3e4e0964f parent 89173bd41439bc6304e3e20f742e52266208ccad author Takashi Iwai Thu, 17 Nov 2005 10:44:51 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:06 +0100 [ALSA] emu10k1 - Minor clean up of memory block handling Modules: EMU10K1/EMU10K2 driver Minor clean up of emu10k1 memory block allocation. Signed-off-by: Takashi Iwai commit 89173bd41439bc6304e3e20f742e52266208ccad tree b17197935f7039dce756ca27730fa329095a27f8 parent b9b4bdd9f1c98388f13591608d574650a9873717 author Takashi Iwai Thu, 17 Nov 2005 10:43:53 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:04 +0100 [ALSA] emu10k1x - Minor clean up Modules: EMU10K1/EMU10K2 driver Minor clean up of the emu10k1x interrupt handler code. Signed-off-by: Takashi Iwai commit b9b4bdd9f1c98388f13591608d574650a9873717 tree de8fe568faae12494ba09852cc9a33dfea3a15ae parent 95a98265eb7b112b3268761053d643635171e219 author Takashi Iwai Thu, 17 Nov 2005 10:42:40 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:03 +0100 [ALSA] ac97 - Remove ac9_enum definition from public header Modules: AC97 Codec Remove the definition of ac97_enum struct from the public ac97_codec.h. It's used only in the module. The location of struct ac97_pcm is moved closer to its accessor to improve readability. Signed-off-by: Takashi Iwai commit 95a98265eb7b112b3268761053d643635171e219 tree daf88b4858b1ba856609c2a3138522ea4a2b6269 parent 954bea35571461b083390a82b03f077f901fe678 author Takashi Iwai Thu, 17 Nov 2005 10:40:18 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:01 +0100 [ALSA] ca0106 - Code clean up Modules: CA0106 driver Clean up snd-ca0106 driver code: - Fix spaces and indents - Remove unnecessary spinlocks - Clean up the mixer callbacks using private_value - Clean up mixer constructors using an array Signed-off-by: Takashi Iwai commit 954bea35571461b083390a82b03f077f901fe678 tree 5fb17a9692886a133a943e1961af81a32df4886f parent c9a49bb1957f45e0146c17a865f1444fd06c0f97 author Takashi Iwai Thu, 17 Nov 2005 10:37:40 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:59 +0100 [ALSA] intel8x0 - Clean up delay function Modules: Intel8x0 driver,Intel8x0-modem driver Remove superfluous delay macro. Call appropriate functions directly. Signed-off-by: Takashi Iwai commit c9a49bb1957f45e0146c17a865f1444fd06c0f97 tree 5e4bf737f26e74fe93f7287dc2399c69e102d827 parent bfdcbace6c76cab54f1651349816dc35cc8f12b8 author Takashi Iwai Thu, 17 Nov 2005 10:36:57 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:58 +0100 [ALSA] cs4281 - Clean up delay function Modules: CS4281 driver Remove the own delay function. Call appropriate functions directly. Signed-off-by: Takashi Iwai commit bfdcbace6c76cab54f1651349816dc35cc8f12b8 tree a47854af645cc38f0a53154c313d8691c2d4fe4a parent 03f9ae2505cf2f5d56c197b4045ed9dba5ce8912 author Takashi Iwai Thu, 17 Nov 2005 10:35:53 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:54 +0100 [ALSA] Remove superfluous macros Modules: ATIIXP driver,ATIIXP-modem driver Remove superfluous macros for delay. Call appropriate functions directly. Signed-off-by: Takashi Iwai commit 03f9ae2505cf2f5d56c197b4045ed9dba5ce8912 tree ad5e721f21fe1931d8175a9308ad26c972397d17 parent 33ea25c113a7d63645b10ed89851e08f7c984d1a author Takashi Iwai Thu, 17 Nov 2005 10:34:40 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:52 +0100 [ALSA] harmony - Code clean up Modules: PARISC Harmony driver Clean up snd-harmony driver code: - Give standard module options - Fix spinlocks - Fix the error path of request_irq() - Clean up redundant codes Signed-off-by: Takashi Iwai commit 33ea25c113a7d63645b10ed89851e08f7c984d1a tree 58433ce44c87af1565f250a141006e73e96cce13 parent 6560c349c501388a1f3030d02fb49e7067e6597e author Takashi Iwai Thu, 17 Nov 2005 10:32:43 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:51 +0100 [ALSA] au1x00 - Code clean up Modules: MIPS AU1x00 driver Clean up snd-au1x00 driver code: - Remove global variables - Remove old compatibility codes - Fix DMA-link allocation/release functions in hw_params and hw_free callbacks (they may be called multiple times) - Fix spinlocks Signed-off-by: Takashi Iwai commit 6560c349c501388a1f3030d02fb49e7067e6597e tree 9b93a54f692e1f93bbb910a3fb55c76ec058ac37 parent bc1ff7fc0ae6ec2d7f2202d9126901aeb3f596cd author Takashi Iwai Thu, 17 Nov 2005 10:29:33 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:47 +0100 [ALSA] Clean up includes in asound.h & asequencer.h Modules: ALSA sequencer,ALSA Core Clean up includes in asound.h and asequencer.h. Signed-off-by: Takashi Iwai commit bc1ff7fc0ae6ec2d7f2202d9126901aeb3f596cd tree e886e693a97dcb76e341ca779892987f90a8acf5 parent f739aeccedc7681a249bdae435e9af3e5476ad1d author Takashi Iwai Thu, 17 Nov 2005 10:28:15 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:46 +0100 [ALSA] [Trivial] Fix spaces in gus.h Modules: GUS Library Fix spaces in gus.h. Signed-off-by: Takashi Iwai commit f739aeccedc7681a249bdae435e9af3e5476ad1d tree f0a2e33a755039a6cb3286895d8c43187c1de613 parent 0948e3c8bb187b3dea38be1e1ffd1797866014f1 author Takashi Iwai Thu, 17 Nov 2005 10:27:08 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:44 +0100 [ALSA] Clean up ISA cs4231 code Modules: CS4231 driver Clean up ISA cs4231 code, removing experimental EBUS/SBUS merge, to improve readability. Signed-off-by: Takashi Iwai commit 0948e3c8bb187b3dea38be1e1ffd1797866014f1 tree 2ba279101be08d4f8b7e1e1261e79bfb4e520743 parent c8714ba160a498e249dbd32c637b85a1efa1013b author Takashi Iwai Thu, 17 Nov 2005 10:25:22 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:41 +0100 [ALSA] Clean up sa11xx-uda1341 driver Modules: SA11xx UDA1341 driver,L3 drivers,UDA1341 Clean up sa11xx-uda1341 driver: - Fix buggy destructor - Remove the global variable - Move array definitions from uda1341.h - Make functions in uda1341.c static Signed-off-by: Takashi Iwai commit c8714ba160a498e249dbd32c637b85a1efa1013b tree 3c82240749ee2912f1d55bf90ad7977f4bccb863 parent bdbae7e62837c22c5399df0789a24e9d8a1d675f author Takashi Iwai Thu, 17 Nov 2005 10:22:32 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:39 +0100 [ALSA] Remove tea6330t struct definition from public header Modules: I2C tea6330t Remove tea6330t struct definition from public header. It's anyway unaccessible from outside. Signed-off-by: Takashi Iwai commit bdbae7e62837c22c5399df0789a24e9d8a1d675f tree 4bffa9bf42f5b7541bc432f8b2437e8130278f88 parent c8eb6ba16a5803fab9cc0d1d0dd04a75bf91b6d5 author Takashi Iwai Thu, 17 Nov 2005 10:21:19 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:37 +0100 [ALSA] Remove snd_vx_delay() function Replace snd_vx_delay() with appropriate delay/sleep functions. Signed-off-by: Takashi Iwai commit c8eb6ba16a5803fab9cc0d1d0dd04a75bf91b6d5 tree 801aebfd89e30f0f4492f8d62b8c227f948e26e2 parent 47eaebfd31610d2a55fbaccd1e7c37690d42ce30 author Takashi Iwai Thu, 17 Nov 2005 10:20:23 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:34 +0100 [ALSA] snd-dummy - Code clean-up Modules: Generic drivers Clean up snd-dummy driver code. - Make common PCM callbacks - Simplify open callback - Remove unnecessary irqsave in control callbacks Signed-off-by: Takashi Iwai commit 47eaebfd31610d2a55fbaccd1e7c37690d42ce30 tree d86d90a3741e09cf660aef3dda96566ff68778eb parent 230b5c1a612ae903c560b55a15df287b0ff437ea author Takashi Iwai Thu, 17 Nov 2005 10:18:00 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:33 +0100 [ALSA] Use standard bitmap functions Modules: ALSA<-OSS emulation Use standard bitmap functions instead of in-house ones. Signed-off-by: Takashi Iwai commit 230b5c1a612ae903c560b55a15df287b0ff437ea tree a32df8002571f0f29b2f18c5f4d8b566e7cb4d8f parent 3e8731740e17f01ec1ecce556ccdc4c42279ce1b author Takashi Iwai Thu, 17 Nov 2005 10:17:05 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:31 +0100 [ALSA] Sort Kconfig entries Modules: ISA,PCI drivers Sort Kconfig entries in alphabetical order. Signed-off-by: Takashi Iwai commit 3e8731740e17f01ec1ecce556ccdc4c42279ce1b tree dada863f577ad8c00b152a9538a4cde36aa240d6 parent 9b4ffa48ae855c8657a36014c5b0243ff69f4722 author Takashi Iwai Thu, 17 Nov 2005 10:15:37 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:29 +0100 [ALSA] Minor clean up and fixes for CS5535 audio driver Modules: Documentation,CS5535 driver Minor clean up and fixes for CS5535 audio driver. Added an entry in ALSA-Configuration.txt, too. Signed-off-by: Takashi Iwai commit 9b4ffa48ae855c8657a36014c5b0243ff69f4722 tree 4e36c51bdc69162d6b046641a755907c0e8a3fb1 parent c3e6f7d8763fa0400d28c57633eb323515ba05fc author Jaya Kumar Thu, 17 Nov 2005 10:12:23 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:27 +0100 [ALSA] Add support for the CS5535 Audio device Add support for the CS5535 Audio device. I've fixed up some errors as per Takashi's advice from the thread: http://lkml.org/lkml/2005/9/15/119 From: Alan Cox cs5535 is a 32bit x86 only device using weird CPU features Signed-off-by: Jaya Kumar Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit c3e6f7d8763fa0400d28c57633eb323515ba05fc tree b0803843b710ac74fc1399910445a8ff2cf396a5 parent f31a31b9024f21b2ad8f5a7c30e265a652e2e211 author Takashi Iwai Wed, 16 Nov 2005 18:43:35 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:21 +0100 [ALSA] Remove superfluous pcm_free callbacks Remove superflous pcm_free callbacks. Signed-off-by: Takashi Iwai commit f31a31b9024f21b2ad8f5a7c30e265a652e2e211 tree c0e75c82a7cc38008d76242857d2f9b8b4687419 parent 26741b5512a99ee35f398ef018d23a38e8dc6e8a author Kurt J. Bosch Wed, 16 Nov 2005 18:41:21 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:18 +0100 [ALSA] Fix missing suspend/resume-code for ens1371 Modules: ENS1370/1+ driver This patch fixes missing suspend/resume-code for snd-ens1371 (but not for snd-ens1370) Signed-off-by: Kurt J. Bosch Signed-off-by: Takashi Iwai commit 26741b5512a99ee35f398ef018d23a38e8dc6e8a tree 801644e7fd04f7d4c1c70ce20a33402447110a67 parent b4a621f547ce78d6a415b3be2febd29b55e3235c author Daniel Mueller Mon, 14 Nov 2005 17:40:44 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:13 +0100 [ALSA] hda-codec - Fix HDA sound and V.92 modem for notebook Siemens FieldPG-M Modules: HDA Codec driver The patch fixes the problem of mute onboard HDA sound output, buildin V.92 modem idendification and functionality. Signed-off-by: Daniel Mueller Signed-off-by: Takashi Iwai commit b4a621f547ce78d6a415b3be2febd29b55e3235c tree 76b3531b79c644c669b8a6fcc50cc1fbc64d5e2b parent 6ef7e8614c03f90ecb924938f5cc074af2723d35 author Jaroslav Kysela Mon, 14 Nov 2005 08:48:59 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:10 +0100 [ALSA] ac97 - procfs - print PCI subsystem vendor/device values Modules: AC97 Codec For debugging and problem finding purposes, show also the PCI subsystem vendor/device values in the ac97#X proc file. Signed-off-by: Jaroslav Kysela commit 6ef7e8614c03f90ecb924938f5cc074af2723d35 tree 8dc01760c5d61e1b3f7b54cca7ab2bb63c02cc32 parent e2b15f8f7dfc7a60ab89162502732120792a644f author James Courtier-Dutton Fri, 11 Nov 2005 23:45:23 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:08 +0100 [ALSA] snd-emu10k1: Found some new registers to display in debug mode. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit e2b15f8f7dfc7a60ab89162502732120792a644f tree 0e225066b27a40178e4c164c920e7406183435c5 parent 755e137138007200c3e2549fbd8390a4e7708ed9 author James Courtier-Dutton Fri, 11 Nov 2005 23:39:05 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:06 +0100 [ALSA] snd-emu10k1: Attenuate output volume to reduce distortion Modules: EMU10K1/EMU10K2 driver on Audigy 2 ZS Notebook. Set the master volume to about 6 or 8% in alsamixer. This will attenuate the output enough for better sound quality. Note: Only stereo enabled at present. The distortion is caused by the output path after the DSP adding 12dB gain to the output while still in digital mode, resulting in wrap around distortion. Signed-off-by: James Courtier-Dutton commit 755e137138007200c3e2549fbd8390a4e7708ed9 tree 162e6823a0a331297cccebb4e4797e3add05dc1e parent fd6715e564a53bc3fca22e4f0a9d76b6b72afdb5 author Takashi Iwai Fri, 11 Nov 2005 21:05:27 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:01 +0100 [ALSA] ali5451 - Fix and clean up codec accessor Modules: ALI5451 driver Fix the codec accessors to avoid soft lockup. Spin locks are revised, too. Signed-off-by: Takashi Iwai commit fd6715e564a53bc3fca22e4f0a9d76b6b72afdb5 tree 07e55927b7d0d1515185349334968154923b05c2 parent c1b8f5f0e4aabd4b47648dd9465fb750e07da9fb author Jaroslav Kysela Thu, 10 Nov 2005 07:51:31 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:15:57 +0100 [ALSA] ice1724 (juli) - forced analog doughter board detection Modules: ICE1712 driver Signed-off-by: Jaroslav Kysela commit c1b8f5f0e4aabd4b47648dd9465fb750e07da9fb tree 0b6497fd91007d8c74849c5eeec39cc4bcf5e6d7 parent f6f8bb642350dafc21676ccd4fab333282064b8d author Takashi Iwai Tue, 08 Nov 2005 17:44:37 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:15:56 +0100 [ALSA] via82xx - Add dxs entry for MSI KT800 Delta-FSR Modules: VIA82xx driver Added the dxs entry for MSI KT800 Delta-FSR. Signed-off-by: Takashi Iwai commit f6f8bb642350dafc21676ccd4fab333282064b8d tree c8e4294691b796de3d18e609d5e67de15f746186 parent 2f020aa71197eddef749ad6202ca5a66c0c6e382 author Lee Revell Mon, 07 Nov 2005 14:59:19 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:15:53 +0100 [ALSA] Add support for Audigy 2 subsystem 2006 Modules: EMU10K1/EMU10K2 driver Add support for Audigy 2 subsystem 2006. Signed-off-by: Lee Revell Signed-off-by: Takashi Iwai commit 2f020aa71197eddef749ad6202ca5a66c0c6e382 tree a4b176f2937444776744f0e1863105cd1c9ab5ca parent 362775e2125b74cd04f83fd4ef5b72ef1ee6d3a1 author Lee Revell Mon, 07 Nov 2005 14:54:24 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:15:50 +0100 [ALSA] emu10k1 - Enable side surround channels for Audigy2 EX Modules: EMU10K1/EMU10K2 driver Enable side surround channels for Audigy2 EX. Tested by Rick Wright . Signed-off-by: Lee Revell Signed-off-by: Takashi Iwai commit 362775e2125b74cd04f83fd4ef5b72ef1ee6d3a1 tree 19e50a05063d4a2644671a6c43205b4760c5173c parent d031166fecac97fc6b5c35636deace8a3c9ec5f6 author Randy Dunlap Mon, 07 Nov 2005 14:43:23 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:15:48 +0100 [ALSA] sound/hda: rate-limit timeout message Modules: HDA Intel driver Rate-limit the azx_get_response timeout message. A continuous 2 per second is too much. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit d031166fecac97fc6b5c35636deace8a3c9ec5f6 tree 744500b37b37d0411eae18e69c9261810f18b696 parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Takashi Iwai Mon, 07 Nov 2005 14:38:44 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:15:47 +0100 [ALSA] hda-codec - Allocate amp hash array dynamically Modules: HDA Codec driver Allocate amp hash array dynamically instead of static array. Signed-off-by: Takashi Iwai commit febf7ea4bedcd36fba0843db726bba28d22bf89a tree 0a0d398e0637fba8292d8b139afbd41b102bb9c4 parent 00213b17cec87d2cd4df75bcc79aea7a91d8532d author Tue, 03 Jan 2006 11:35:26 +0100 committer Tue, 03 Jan 2006 11:35:26 +0100 gitignore: ignore more generated files Signed-off-by: Sam Ravnborg commit 00213b17cec87d2cd4df75bcc79aea7a91d8532d tree 6947dba41f8b0e7fe7bccd41a4840d6de6a27079 parent 352dd1df32e672be4cff71132eb9c06a257872fe author Petr Baudis Thu, 22 Dec 2005 04:44:04 +0100 committer Sun, 01 Jan 2006 22:30:43 +0100 kconfig: Remove support for lxdialog --checklist Remove support for lxdialog --checklist The checklist lxdialog functionality is not used by menuconfig (only the radiolist variant is used) and supporting it would significantly complicate the forthcoming liblxdialog API. Signed-off-by: Petr Baudis Signed-off-by: Sam Ravnborg commit 352dd1df32e672be4cff71132eb9c06a257872fe tree f8477d3133b8f43fe1108a1516295f507b2ca359 parent 02959a875caec8cabd36111046ad537251ef405f author Brian Gerst Tue, 27 Dec 2005 23:43:31 -0500 committer Sun, 01 Jan 2006 22:21:50 +0100 gitignore: misc files Ignore all files generated from *_shipped files, plus a few others. Signed-off-by: Brian Gerst Signed-off-by: Sam Ravnborg commit 02959a875caec8cabd36111046ad537251ef405f tree 7f957aad46b1d5bea2e2f61ea5ae0677a6ddfccc parent 42f122c8f7e7134c824907358a5df94cfa38946d author Brian Gerst Tue, 27 Dec 2005 23:39:51 -0500 committer Sun, 01 Jan 2006 22:21:50 +0100 gitignore: x86_64 files Add filters for x86_64 generated files. Signed-off-by: Brian Gerst Signed-off-by: Sam Ravnborg commit 42f122c8f7e7134c824907358a5df94cfa38946d tree 1323e75c25490fc23526382f7e68d0b572a07a98 parent 752625cff3eba81cbc886988d5b420064c033948 author Brian Gerst Tue, 27 Dec 2005 23:19:04 -0500 committer Sun, 01 Jan 2006 22:21:50 +0100 gitignore: asm-offsets.h Ignore asm-offsets.h for all arches. Signed-off-by: Brian Gerst Signed-off-by: Sam Ravnborg commit 6073aa643f52fd12b02f0532dc96287f4c3293b5 tree 272fc07333289b0a788996dcd2034b80d1693178 parent 752625cff3eba81cbc886988d5b420064c033948 author Jan-Benedict Glaw Sun, 01 Jan 2006 14:23:47 +0100 committer Sun, 01 Jan 2006 19:31:30 +0100 kbuild: tar-pkg with out-out-tree building Fix out-of-tree builds for the tar-pkg targets When I wrote the buildtar script, I didn't even think about out-of-tree builds because I didn't use these back then. This patch throughoutly uses ${objtree} instead of `pwd`. Also, the kernel version is no longer manually built. Instead, it will properly use $KERNELRELEASE . Installing modules is only done if CONFIG_MODULES is set. Signed-off-by: Jan-Benedict Glaw Signed-off-by: Sam Ravnborg commit 04348e69e7e78ad69a09b2e1157f628d6c764370 tree 9bf252f44d17fbeda620a39595659177172f3d77 parent c1a959d8ef4e343f11c8c0f9a693815b6dc76886 author Len Brown Fri, 30 Dec 2005 02:44:59 -0500 committer Len Brown Fri, 30 Dec 2005 02:44:59 -0500 [ACPI] reduce kernel size: move 5BK .bss to 2.5KB .init.data put __initdata on sdt_entry[], as it is accessed only by __init functions. http://bugzilla.kernel.org/show_bug.cgi?id=1311 Signed-off-by: Len Brown commit c1a959d8ef4e343f11c8c0f9a693815b6dc76886 tree bc5630e668d1e3d08c71091d17d011dd0468c71b parent 6968e50c2b53805219618203db3d98566dfa1fdd parent 9e625ff8a37aefcc177b19614ffcffb5bc6eeea1 author Len Brown Fri, 30 Dec 2005 00:35:53 -0500 committer Len Brown Fri, 30 Dec 2005 00:35:53 -0500 Pull linus into release branch commit 6968e50c2b53805219618203db3d98566dfa1fdd tree e340472602ab6bd80e54bc4fc1459cfaab280b8a parent 0a5296dc34593e08c9e54b60e8f93684efff2f92 author Len Brown Fri, 30 Dec 2005 00:32:49 -0500 committer Len Brown Fri, 30 Dec 2005 00:32:49 -0500 [ACPI] linux-acpi@vger.kernel.org replaces acpi-devel@lists.sourceforge.net Signed-off-by: Len Brown commit 0a5296dc34593e08c9e54b60e8f93684efff2f92 tree c0f47aee7d133bacb3f52bf944b3b3fa8a380aba parent 41c0d8680f7f24e1abaaeeabc6723277b2e34b81 parent 3603bc8dc5ab33941e6378fe52ea03b7f5561109 author Len Brown Wed, 28 Dec 2005 23:43:17 -0500 committer Len Brown Wed, 28 Dec 2005 23:43:17 -0500 Pull linus into release branch commit 41c0d8680f7f24e1abaaeeabc6723277b2e34b81 tree 8113bab5f5c3ec8e38e5dd6357686daaad1cefbe parent 67dbb4ea33731415fe09c62149a34f472719ac1d author Len Brown Wed, 28 Dec 2005 12:43:51 -0500 committer Len Brown Wed, 28 Dec 2005 12:43:51 -0500 [ACPI] document processor.nocst parameter Signed-off-by: Len Brown commit e7c3aad53dba54d375b632f2a21b680546828dec tree b724a6939a3d01d2edffce2e654e10f33876f5f3 parent 9d6c25029db6de7fc375b07da936c3341af0accf author Dmitry Torokhov Wed, 28 Dec 2005 01:26:24 -0500 committer Dmitry Torokhov Wed, 28 Dec 2005 01:26:24 -0500 Input: wistron - convert to the new platform device interface Do not use platform_device_register_simple() as it is going away, implement ->probe() and ->remove() functions so manual binding and unbinding would work. Signed-off-by: Dmitry Torokhov commit 9d6c25029db6de7fc375b07da936c3341af0accf tree 1fd40668b046339505896e72a889591d7e40c59f parent 26421c7acc02847c724eb9f92797f84dbf9be007 author Dmitry Torokhov Wed, 28 Dec 2005 01:25:53 -0500 committer Dmitry Torokhov Wed, 28 Dec 2005 01:25:53 -0500 Input: maceps2 - convert to the new platform device interface Do not use platform_device_register_simple() as it is going away, implement ->probe() and ->remove() functions so manual binding and unbinding will work with this driver. Signed-off-by: Dmitry Torokhov commit 26421c7acc02847c724eb9f92797f84dbf9be007 tree aafcebb20f852dc3286668d0ad401999ad4872c8 parent 916d83cfe5da1cda454d8b0ae233f06b58bd7f91 author Dmitry Torokhov Wed, 28 Dec 2005 01:25:42 -0500 committer Dmitry Torokhov Wed, 28 Dec 2005 01:25:42 -0500 Input: q40kbd - convert to the new platform device interface Do not use platform_device_register_simple() as it is going away, implement ->probe() and ->remove() functions so manual binding and unbinding will work with this driver. Signed-off-by: Dmitry Torokhov commit 916d83cfe5da1cda454d8b0ae233f06b58bd7f91 tree 30e5d31dddb98479f565e40444dca4a97af03fb3 parent 87fd6318a6c381ba1e10a4f56907d11ae4a987b9 author Dmitry Torokhov Wed, 28 Dec 2005 01:25:30 -0500 committer Dmitry Torokhov Wed, 28 Dec 2005 01:25:30 -0500 Input: ct82c710 - convert to the new platform device interface Do not use platform_device_register_simple() as it is going away, implement ->probe() and ->remove() functions so manual binding and unbinding will work with this driver. Signed-off-by: Dmitry Torokhov commit 87fd6318a6c381ba1e10a4f56907d11ae4a987b9 tree 84585314facc63e6320d34a70b65983b59b66761 parent 8ea3694fcb7e5471cf84313a10e012b48e33c892 author Dmitry Torokhov Wed, 28 Dec 2005 01:25:11 -0500 committer Dmitry Torokhov Wed, 28 Dec 2005 01:25:11 -0500 Input: i8042 - convert to the new platform device interface Do not use platform_device_register_simple() as it is going away, implement ->probe() and ->remove() functions so manual binding and unbinding will work with this driver. Signed-off-by: Dmitry Torokhov commit 752625cff3eba81cbc886988d5b420064c033948 tree 10281d9345281b3d118aa8b29b3fb21e1ea10655 parent 54e08a2392e99ba9e48ce1060e0b52a39118419c author Sam Ravnborg Mon, 26 Dec 2005 23:34:03 +0100 committer Sam Ravnborg Mon, 26 Dec 2005 23:34:03 +0100 kbuild: always run 'make silentoldconfig' when tree is cleaned If the file .kconfig.d is missing then make sure to run 'make silentoldconfig', since we have no way to detect if a Kconfig file has been updated. -kconfig.d is created by kconfig and is removed as part of 'make clean' so the situation is likely to occur in reality. Jan Beulich reported this bug. Signed-off-by: Sam Ravnborg commit 54e08a2392e99ba9e48ce1060e0b52a39118419c tree d86d89a8b844b88eca9a76362d10cb4b9034dd76 parent 0d5416433190ee80a8146137dd84613bb9c7ae92 author Samuel Thibault Mon, 26 Dec 2005 02:47:18 +0100 committer Sam Ravnborg Mon, 26 Dec 2005 23:19:55 +0100 kbuild: tags file generation fixup Here is a fixup for tags file generation, for proper tags of __releases/__acquires functions. Signed-off-by: samuel.thibault@ens-lyon.org Signed-off-by: Sam Ravnborg commit 0d5416433190ee80a8146137dd84613bb9c7ae92 tree 1d01057c08e559b5947ddd942ce725b5b7d82fb4 parent c40f56409d01f6f1ea80ed4c229096749c2335df author Sam Ravnborg Mon, 26 Dec 2005 23:04:02 +0100 committer Sam Ravnborg Mon, 26 Dec 2005 23:04:02 +0100 kbuild: remove EXPERIMENTAL tag from Module versioning Module versioning support has been stable for a loong time so let's get rid of the EXPERIMENTAL tag. Signed-off-by: Sam Ravnborg commit c40f56409d01f6f1ea80ed4c229096749c2335df tree 11be4df8809929cccea24d4bc7eafd80f2354782 parent a89a0a2354ae666612968e254d650bfd04f11eb6 author Sam Ravnborg Mon, 26 Dec 2005 22:53:25 +0100 committer Sam Ravnborg Mon, 26 Dec 2005 22:53:25 +0100 kbuild: Create _shipped files for genksyms Generate _shipped files so the genksyms change in previous commit is enabled. The files are generated with latest versions of the tools: bison (GNU Bison) 2.0 flex version 2.5.4 GNU gperf 3.0.1 Signed-off-by: Sam Ravnborg commit a89a0a2354ae666612968e254d650bfd04f11eb6 tree 37b8791eb9b6580d511fd514cd180145e39ed04f parent f83b5e323f57d6e1f35a839d663e91cebe985e54 author Robin Holt Tue, 20 Dec 2005 19:45:50 -0600 committer Sam Ravnborg Mon, 26 Dec 2005 22:39:55 +0100 kbuild: Fix genksyms handling of DEFINE_PER_CPU(struct foo_s *, bar); This is a one-line change to parse.y. To take advantage of this the scripts/genksyms/*_shipped files needs to be rebuild - this is the next patch. When a .c file contains: DEFINE_PER_CPU(struct foo_s *, bar); the .cpp output looks like: __attribute__((__section__(".data.percpu"))) __typeof__(struct foo_s *) per_cpu__bar; With the existing parse.y, the value inside the paranthesis of __typeof__() does not evaluate as a type_specifier and therefore per_cpu__bar does not get assigned a type for genksyms which results in the EXPORT_PER_CPU_SYMBOL() not generating a CRC value. I have compared the Modules.symvers with and without this patch and for ia64's defconfig, the only change is: Before 0x00000000 per_cpu____sn_nodepda vmlinux After 0x9d3f3faa per_cpu____sn_nodepda vmlinux per_cpu____sn_nodepda was the original source of my problems. Signed-off-by: Robin Holt Signed-off-by: Sam Ravnborg commit f83b5e323f57d6e1f35a839d663e91cebe985e54 tree 59e19500a8204abd8e77620b7e80138d5f7fda68 parent 4d99f93bdaa1ab49188cac67b4aae9180f8e3960 author Ustyugov Roman Fri, 23 Sep 2005 08:42:11 +0400 committer Sam Ravnborg Mon, 26 Dec 2005 00:33:41 +0100 kbuild: set correct KBUILD_MODNAME when using well known kernel symbols as module names This patch fixes a problem when we use well known kernel symbols as module names. For example, if module source name is current.c, idle_stack.c or etc., we have a bad KBUILD_MODNAME value. For example, KBUILD_MODNAME will be "get_current()" instead of "current", or "(init_thread_union.stack)" instead of "idle_task". The trick is to define a stringify macro on the commandline - named KBUILD_STR for namespace reasons - and then to stringify the module name. There are a few uses of KBUILD_MODNAME throughout the tree but the usage is for debug and will not be harmed by this change so left untouched for now. While at it KBUILD_BASENAME was changed too. Any spinlock usage in the unix module would have created wrong section names without it. Usage in spinlock.h fixed so it no longer stringify KBUILD_BASENAME. Original patch from Ustyogov Roman - all bugs introduced by me. Signed-off-by: Sam Ravnborg commit 4d99f93bdaa1ab49188cac67b4aae9180f8e3960 tree abc13c11bd350117117777e547d80804f8257fb6 parent f6333eb4e788bf70d6455c9004b6b676df62c500 author Sam Ravnborg Sun, 25 Dec 2005 23:21:14 +0100 committer Sam Ravnborg Sun, 25 Dec 2005 23:21:14 +0100 kbuild: escape '#' in .target.cmd files Commandlines are contained in the ..cmd files and in case they contain a '#' char make see this as start of comment. Teach fixdep to escape the '#' char so make will assing the full commandline. Signed-off-by: Sam Ravnborg commit f6333eb4e788bf70d6455c9004b6b676df62c500 tree ae2d734b1f777470905fd1e4d25475b6b0b39ab4 parent 9572b28faf72859c6b91891c627870cfa282d19d author John Kacur Sat, 29 Oct 2005 00:25:13 -0400 committer Sam Ravnborg Sun, 25 Dec 2005 21:29:38 +0100 kbuild: Add ctags support for function prototypes and external variable declarations This patch adds function prototypes and external variable declarations to the set of tag kinds when running ctags. I find this useful when perusing the kernel. Please apply. Signed-off-by: John Kacur Signed-off-by: Sam Ravnborg commit 9572b28faf72859c6b91891c627870cfa282d19d tree ffb70ad557c91ea836eaab5bde0fbecc1f1d8d96 parent 9cc5d74c847dd3a9ea121b5bbca07bd5791c54ee author Luke Yang Wed, 21 Dec 2005 10:27:23 +0800 committer Sam Ravnborg Sun, 25 Dec 2005 21:18:11 +0100 kbuild: Fix crc-error warning on modules This is the patch for the following issue: In include/linux/module.h, "__crc_" and "__ksymtab_" are hard coded to be the prefix for some kinds of symbols (CRC symbol and ksymtab section). But in script /mod/modpost.c, MODULE_SYMBOL_PREFIX##"__crc_" is used as the prefix to search CRC symbols. So if an architecture (such as h8300 or Blackfin) defines MODULE_SYMBOL_PREFIX as not NULL ("_"), modpost will always warn about "no invalid crc". And it is the same with KSYMTAB_PFX. Signed-off-by: Luke Yang Signed-off-by: Sam Ravnborg commit c4c48d83e9ffb1c25cccd59d5ea9dda6ded01faf tree e761460e62fcc11ad358a93c3a5fb24da6ed7a77 parent 6e15b7124990e4b91645601e7a90d3fe72873336 author Stephen Hemminger Tue, 20 Dec 2005 15:08:10 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:38:35 -0500 [PATCH] sky2: version 0.11 Version number change. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6e15b7124990e4b91645601e7a90d3fe72873336 tree 4b7e90e86467ed541c055a69362dc5ba8bc34ec8 parent 6ed995bb29f042eece8392d9bae0b83f84bcdb23 author Stephen Hemminger Tue, 20 Dec 2005 15:08:09 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:38:35 -0500 [PATCH] sky2: handle hardware packet overrun It is possible for hardware to get confused when an oversized frame is received. In that case, just drop the packet and increment a counter. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6ed995bb29f042eece8392d9bae0b83f84bcdb23 tree f1ac80aa3da1a9426373d711dd5c0a16f63c959f parent 1b537565a85cbe5cc9d5174d348a9014381af718 author Stephen Hemminger Tue, 20 Dec 2005 15:08:08 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:38:35 -0500 [PATCH] sky2: don't lose multicast addresses Don't lose multicast addresses when link goes down or ring parameters change. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 1b537565a85cbe5cc9d5174d348a9014381af718 tree fa61606c4426c3384703db9b2bacc84b6d6ad8b4 parent edd702e847fb8a9774a2ed8d50d2b8299b8c7f89 author Stephen Hemminger Tue, 20 Dec 2005 15:08:07 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:38:35 -0500 [PATCH] sky2: handle out of memory on admin changes Don't die if we run out of memory on mtu or ring parameter change. For other admin operations, don't rebuild Rx ring, just restart the PHY. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit edd702e847fb8a9774a2ed8d50d2b8299b8c7f89 tree 3abf9920526b65889aa8216742d85ee3d0e39cba parent b35de2eb389aa1889941ec3d02fff6d7a2569825 author Stephen Hemminger Thu, 15 Dec 2005 12:18:00 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:38:35 -0500 [PATCH] skge: error handling on resume Also have to handle out of memory condition on resume. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit b35de2eb389aa1889941ec3d02fff6d7a2569825 tree 7ad3937122f50b2ac10d5d466b089c4b5cf99afe parent 26b7625c46d5d72570252d30fec6814682476684 author Jens Osterkamp Thu, 15 Dec 2005 13:42:21 +0100 committer Jeff Garzik Sat, 24 Dec 2005 09:37:39 -0500 [PATCH] spidernet: fix Kconfig after BPA->CELL rename We changed the name of the Kconfig symbols along with the move to arch/powerpc. This one hunk got lost during the conversion. From: Jens.Osterkamp@de.ibm.com Cc: netdev@vger.kernel.org Signed-off-by: Arnd Bergmann Signed-off-by: Jeff Garzik commit 26b7625c46d5d72570252d30fec6814682476684 tree 5087ee9f346cf6e839a3b442785a4c8a4fbde180 parent f15943f500c2d3edaee6b4c23dfd738715e74618 author Andrew Morton Wed, 14 Dec 2005 19:25:23 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:37:38 -0500 [PATCH] git-netdev-all: s2io warning fix drivers/net/s2io.c: In function `s2io_txdl_getskb': drivers/net/s2io.c:2023: warning: cast from pointer to integer of different size drivers/net/s2io.c: In function `s2io_open': drivers/net/s2io.c:3325: warning: long long unsigned int format, u64 arg (arg 3) drivers/net/s2io.c:3333: warning: long long unsigned int format, u64 arg (arg 3) drivers/net/s2io.c: In function `s2io_eeprom_test': drivers/net/s2io.c:4749: warning: long long unsigned int format, long unsigned int arg (arg 3) drivers/net/s2io.c:4749: warning: long long unsigned int format, u64 arg (arg 4) drivers/net/s2io.c:4768: warning: long long unsigned int format, long unsigned int arg (arg 3) drivers/net/s2io.c:4768: warning: long long unsigned int format, u64 arg (arg 4) I had to update this patch because more warnings have just appeared. You cannot print a u64 with %l or %ll. You do not know what type the architecture is using. It must be cast to a type which matches the printf control string - unsigned long long. The patch also fixes some overly-long strings. Please try to keep the code looking neat in an 80-col window. Cc: Jeff Garzik Cc: Ananda Raju Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit f15943f500c2d3edaee6b4c23dfd738715e74618 tree 68307aabed0a157e6b764ec98e73b0e79d283745 parent 3b8bb472ad8eee6f42bc82647ff5d6d9bfe49e20 author Stephen Hemminger Wed, 14 Dec 2005 15:47:49 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:36:06 -0500 [PATCH] skge: version number (1.3) Enough changes for one version. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 3b8bb472ad8eee6f42bc82647ff5d6d9bfe49e20 tree a283968f8bee753cbd4be1bdbb3dcd78824c5e48 parent 2770b5172e9b3d135b16d1e5d8344919ac09319d author Stephen Hemminger Wed, 14 Dec 2005 15:47:48 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:36:06 -0500 [PATCH] skge: handle out of memory on ring parameter change If changing ring parameters is unable to allocate memory, we need to return an error and take the device down. Fixes-bug: http://bugzilla.kernel.org/show_bug.cgi?id=5715 Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 2770b5172e9b3d135b16d1e5d8344919ac09319d tree fc36114e4a8cbe74cb09a2c83482989648fe3cbf parent 7731a4ea1bbb7c9336bcdec8ef4050cf08a35268 author Stephen Hemminger Wed, 14 Dec 2005 15:47:47 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:36:06 -0500 [PATCH] skge: get rid of Yukon2 defines Don't need to keep Yukon-2 related definitions around for Skge driver that is only for Yukon-1 and Genesis. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 7731a4ea1bbb7c9336bcdec8ef4050cf08a35268 tree 2aa5dbad868dbaa1bd60972abcd9dcb9ac66fdba parent e8df8554605f014765732605667145c0824a12b7 author Stephen Hemminger Wed, 14 Dec 2005 15:47:46 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:36:05 -0500 [PATCH] skge: handle out of memory on MTU size changes Changing the MTU size causes the receiver to have to reallocate buffers. If this allocation fails, then we need to return an error, and take the device offline. It can then be brought back up or reconfigured for a smaller MTU. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit e8df8554605f014765732605667145c0824a12b7 tree 1cc2a9230a90483ff86d67592764c9482c490dce parent ee294dcda1d5dea5b909164cdc459a8483ee2983 author Stephen Hemminger Wed, 14 Dec 2005 15:47:45 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:36:05 -0500 [PATCH] skge: avoid up/down on pause param changes Change the pause settings doesn't need to cause link to go down/up. It can be handled by the phy_reset code. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit ee294dcda1d5dea5b909164cdc459a8483ee2983 tree 35141a9b95b0713bf79bd44de75517eb37c937c7 parent aa84505fb0fb9504c61d77e8e6930a417fc404d6 author Stephen Hemminger Wed, 14 Dec 2005 15:47:44 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:36:05 -0500 [PATCH] skge: avoid up/down on speed changes Change the speed settings doesn't need to cause link to go down/up. It can be handled by doing the same logic as nway_reset. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit aa84505fb0fb9504c61d77e8e6930a417fc404d6 tree f81404128e2340df1827104ab063a0f0cfd45691 parent ebc62fb36ca40539fb08575f94c7da75d1b9db85 author Stephen Hemminger Wed, 14 Dec 2005 14:38:44 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:35:17 -0500 [PATCH] chelsio: transmit routine return values The Chelsio driver does not return the correct values from the transmit routine. It works because the values don't conflict, but it is using the wrong defines. And -ENOMEM is not a legal return value. Since t1_sge_tx is only called in one place, making it static allows compiler to be potentially inline it. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit aaadff81195056c7c14e0d834b3318c624c0fd78 tree 34d66d8dcb25fa9ffb568f8acfdb317ddf203b44 parent c6329f4df2263ab5a40601a5236639e61b682f51 parent df7addbb45874f0f992266003155de5a22e1872f author Jeff Garzik Sat, 24 Dec 2005 09:31:05 -0500 committer Jeff Garzik Sat, 24 Dec 2005 09:31:05 -0500 Merge branch 'master' commit ebc62fb36ca40539fb08575f94c7da75d1b9db85 tree b1fa10bf3a02893506fc296d90631a73b215102a parent 418fbfe979d96efc7b91f29b2085d51541c61f0b parent df7addbb45874f0f992266003155de5a22e1872f author Jeff Garzik Sat, 24 Dec 2005 09:28:21 -0500 committer Jeff Garzik Sat, 24 Dec 2005 09:28:21 -0500 Merge branch 'master' commit 8ea3694fcb7e5471cf84313a10e012b48e33c892 tree f39f5cc950cdb40be82d573da22b0d2b7702c656 parent f5b64078d75528f36b78d30e945bb1b05cb05f26 author Dmitry Torokhov Wed, 21 Dec 2005 01:02:54 -0500 committer Dmitry Torokhov Wed, 21 Dec 2005 01:02:54 -0500 Input: logips2pp - add signature of MouseMan Wheel Mouse (87) Signed-off-by: Dmitry Torokhov commit f5b64078d75528f36b78d30e945bb1b05cb05f26 tree 4bc17917169c097a13f18939bbf171c6934d79c0 parent 1f75e6bdfa011c0c2afa65ed1585200a3bc92ddf author Dmitry Torokhov Wed, 21 Dec 2005 00:52:35 -0500 committer Dmitry Torokhov Wed, 21 Dec 2005 00:52:35 -0500 Input: sparcspkr - register with driver core as a platfrom device Signed-off-by: Dmitry Torokhov commit 1f75e6bdfa011c0c2afa65ed1585200a3bc92ddf tree da9d53473c8551ab365816388c4502d23f402052 parent 59317747359dbc26af920813b3df358333a3840c author Dmitry Torokhov Wed, 21 Dec 2005 00:52:29 -0500 committer Dmitry Torokhov Wed, 21 Dec 2005 00:52:29 -0500 Input: m68kspkr - register with driver core as a platfrom device Signed-off-by: Dmitry Torokhov commit 59317747359dbc26af920813b3df358333a3840c tree 5cdeae536cac667ea0823fcaacd5ceae79ade685 parent 1f1a91e033f4ec60a70669e2e3e358d7e4f32495 author Dmitry Torokhov Wed, 21 Dec 2005 00:52:22 -0500 committer Dmitry Torokhov Wed, 21 Dec 2005 00:52:22 -0500 Input: pcspkr - register with driver core as a platfrom device Signed-off-by: Dmitry Torokhov commit 1f1a91e033f4ec60a70669e2e3e358d7e4f32495 tree c8bb3c17c93682d60468cf14579f00527565353e parent 41293e5368d9ba9760935cf510d2631c257f2b74 author Daniele Gozzi Wed, 21 Dec 2005 00:52:10 -0500 committer Dmitry Torokhov Wed, 21 Dec 2005 00:52:10 -0500 Input: lifebook - add DMI signature of Fujitsu Lifebook B142 This DMI data was found in Fujitsu LifeBook B142 (Product S/N FPC01003B, italian keyboard); re: bugzilla #5335 Signed-off-by: Dmitry Torokhov commit 41293e5368d9ba9760935cf510d2631c257f2b74 tree 144f483bb9336348245c533dcef8d9ede2dd3d4a parent 4eb38ac0629716871591b594fe0c611b19613983 author Dmitry Torokhov Wed, 21 Dec 2005 00:52:00 -0500 committer Dmitry Torokhov Wed, 21 Dec 2005 00:52:00 -0500 Input: add help entry for FM801 gameport driver to Kconfig Signed-off-by: Dmitry Torokhov commit 4eb38ac0629716871591b594fe0c611b19613983 tree 89831333d8a81904102551d8a9f8d35f153af965 parent ba44995a1e84b6cebf32e61d9492e8e133d192ce author Dmitry Torokhov Wed, 21 Dec 2005 00:51:51 -0500 committer Dmitry Torokhov Wed, 21 Dec 2005 00:51:51 -0500 Input: i8042 - disable MUX mode for Sharp MM20 Add yet another entry to the ever-growing list of boxes with non-working MUX implementation. Signed-off-by: Dmitry Torokhov commit ba44995a1e84b6cebf32e61d9492e8e133d192ce tree b38bdd5728389c2896cba1930edad02ffa222b41 parent f5e9c9ca54e31c0f629bae487eadaa5b8515b86d author Dmitry Torokhov Wed, 21 Dec 2005 00:51:31 -0500 committer Dmitry Torokhov Wed, 21 Dec 2005 00:51:31 -0500 Input: psmouse - don't leave mouse asleep It looks like quite a few mice out there treat PSMOUSE_RESET_DIS as a powerdown request and turn off the light rendering the mouse unusable. Vojtech recommended to switch from PSMOUSE_RESET_DIS to full reset, however we don't want to do that everywhere as full reset is pretty slow. Instead we only use it before probing for "generic" protocols, such as IntelliMouse and Explorer, to make sure that the mouse will be woken up if it went to sleep as a result of PSMOUSE_RESET_DIS issued earlier. Signed-off-by: Dmitry Torokhov commit f5e9c9ca54e31c0f629bae487eadaa5b8515b86d tree df2dca8f78d124d3fed42eba664239682b4ba7f6 parent e1e02c9f766e5cf20d951d35e6d2bc2683aa87ef author Larry Finger Wed, 21 Dec 2005 00:51:13 -0500 committer Dmitry Torokhov Wed, 21 Dec 2005 00:51:13 -0500 Input: ALPS - add signature for HP ze1115 Signed-off-by: Dmitry Torokhov commit e1e02c9f766e5cf20d951d35e6d2bc2683aa87ef tree e01d10f57fdf1af64ebaab85caa414989e44f50d parent 041387d98460b3947587929ef3a4773b8c48538f author Michael Hanselmann Wed, 21 Dec 2005 00:50:23 -0500 committer Dmitry Torokhov Wed, 21 Dec 2005 00:50:23 -0500 Input: appletouch - add support for Geyser 2 This patch adds support for the Geyser 2 touchpads used on post Oct 2005 Apple PowerBooks to the appletouch driver. Signed-off-by: Michael Hanselmann Acked-by: Rene Nussbaumer Acked-by: Johannes Berg Acked-by: Stelian Pop Signed-off-by: Dmitry Torokhov commit 041387d98460b3947587929ef3a4773b8c48538f tree 3330eebba3fa1aa7c13479e527f07b03d7fb53ed parent 56f0356321a876a1a356712f2486d6188a3b4992 parent b05948d9b7167e23af88cc65b9ffa4687eaf1f0d author Dmitry Torokhov Tue, 20 Dec 2005 23:03:50 -0500 committer Dmitry Torokhov Tue, 20 Dec 2005 23:03:50 -0500 Manual merge with Linus (conflict in drivers/input/misc/wistron_bnts.c) commit 418fbfe979d96efc7b91f29b2085d51541c61f0b tree a9acb07328e0c76011727d5b3b6f5407afcd2866 parent 8b132f4ee7304fec4fa27dec67879bc0172e916a parent ff60dde9e46b87757d5e83bd58be0688fca8e816 author Jeff Garzik Mon, 19 Dec 2005 00:09:53 -0500 committer Jeff Garzik Mon, 19 Dec 2005 00:09:53 -0500 Merge branch 'master' commit 7b32b8e018d8f8cc94c808a5fa84a3f889441b91 tree afe4f0d68258bd7beac1ad3f3f1c09ba195bf096 parent 19c65091c133a98b20d867c94b1b1380a79e4b81 author Matthew Wilcox Fri, 16 Dec 2005 21:11:37 -0700 committer James Bottomley Sat, 17 Dec 2005 10:50:23 -0600 [SCSI] Missing const in sr_vendor Fix compile warnings with current scsi-misc git tree Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 9cc5d74c847dd3a9ea121b5bbca07bd5791c54ee tree adedbc2f70fa3c620c6e67cd47d294652a108a26 parent 98a1e444111c9fd3f7a2b55225f7febf4209c020 author Bodo Eggert <7eggert@gmx.de> Wed, 23 Nov 2005 20:11:34 +0100 committer Sam Ravnborg Fri, 16 Dec 2005 23:19:45 +0100 kbuild: document INSTALL_MOD_PATH in 'make help' Signed-Off-By: Bodo Eggert <7eggert@gmx.de> Signed-off-by: Sam Ravnborg commit 98a1e444111c9fd3f7a2b55225f7febf4209c020 tree 649e7db9746ada555fe2a717234aada8b0dbbb81 parent cb1a7b4df7e2ffc7c97891e8f350ce5db50df3b9 author Brian Strand Tue, 22 Nov 2005 01:23:08 +0000 committer Sam Ravnborg Fri, 16 Dec 2005 23:15:41 +0100 kbuild: patch to Documentation/kbuild/modules.txt First off, thanks for the kbuild docs, they are very useful! Second, I've attached a patch to modules.txt (from 2.6.14.2) with a "compile" fix to a Makefile example, and some trivial spelling/grammar nits. Please let me know if you want the patch in some other format (eg not MIME), or if I should go bother someone else about it. Signed-off-by: Sam Ravnborg commit cb1a7b4df7e2ffc7c97891e8f350ce5db50df3b9 tree e2d5a0b1c59ff7294b04a33cb733df059caa2c78 parent 6f6046cff2e8f04d6b916b10ebaa7b40d7e7967a author Adrian Bunk Wed, 14 Dec 2005 00:26:07 +0100 committer Sam Ravnborg Fri, 16 Dec 2005 21:48:02 +0100 [PATCH] kbuild: remove the deprecated check_gcc check_gcc has been deprecated for quite some time. Signed-off-by: Adrian Bunk Signed-off-by: Sam Ravnborg commit 6f6046cff2e8f04d6b916b10ebaa7b40d7e7967a tree 91a143eb6caba421b3f2f1c26d06bd8716da765e parent e067e1f98d54d62fd598126f95e7684e5b63e67f author Sam Ravnborg Fri, 16 Dec 2005 21:35:19 +0100 committer Sam Ravnborg Fri, 16 Dec 2005 21:35:19 +0100 kconfig: move lxdialog to scripts/kconfig/lxdialog The only lxdialog user i kconfig - for menuconfig. So move it to reflect this. Signed-off-by: Sam Ravnborg commit 19c65091c133a98b20d867c94b1b1380a79e4b81 tree 03076a960278b81e26437f2acb0f24cc4f7fe039 parent cd453c6353ea30171d966fd1dd87c37b05bccee1 author Matthew Wilcox Fri, 16 Dec 2005 12:50:53 -0500 committer James Bottomley Fri, 16 Dec 2005 10:53:47 -0800 [SCSI] Merge sym53c8xx_comm.h and sym53c8xx_defs.h into ncr driver When the sym1 driver was in the tree, it used to share various parts of its infrastructure with the ncr driver. Now it's gone, these files are just an annoyance, so merge sym53c8xx_comm.h into ncr53c8xx.c and merge sym53c8xx_defs.h into ncr53c8xx.h. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit cd453c6353ea30171d966fd1dd87c37b05bccee1 tree c46cd9da8c0508349efa94faaa5b44eeb5031ccc parent 8f23d475581adac949315e3339421e12554932c9 author Matthew Wilcox Fri, 16 Dec 2005 12:50:53 -0500 committer James Bottomley Fri, 16 Dec 2005 10:52:38 -0800 [SCSI] Use spi_print_msg in ncr53c8xx driver The ncr53c8xx driver had its own loop to print scsi messages. Use the SPI one instead. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 8f23d475581adac949315e3339421e12554932c9 tree 30e68e2f1f48b39e0dd0da382d1297d321f817f9 parent ef72582e7a02e1069c6e6bf5eecf6f388b1467c6 author James Bottomley Tue, 29 Nov 2005 16:24:52 -0600 committer James Bottomley Fri, 16 Dec 2005 09:51:01 -0800 [SCSI] 53c700: update endian processing macros This update now allows this driver to be used on big endian bus machines that aren't parisc. To do that, the driver must set a CONFIG_53C700_BE_BUS in Kconfig to compile the right macro versions. Signed-off-by: James Bottomley commit c4342d8a4d95e18b957b898dbf5bfce28fca2780 tree fbaaaa50351a71f03b013b86ba32ef01bea19472 parent d1646f86a2a05a956adbb163c81a81bd621f055e author Jack Morgenstein Thu, 15 Dec 2005 19:59:01 -0800 committer Roland Dreier Thu, 15 Dec 2005 19:59:01 -0800 IB/mthca: Fix corner cases in max_rd_atomic value handling in modify QP sae and sre bits should only be set when setting sra_max. Further, in the old code, if the caller specifies max_rd_atomic = 0, the sre and sae bits are still set, with the result that the QP ends up with max_rd_atomic = 1 in effect. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit ef72582e7a02e1069c6e6bf5eecf6f388b1467c6 tree af53892d987f11d8bc0cec3674daf2f564290e93 parent b32aaffcdc694650d299a59501c5b3e267fca343 author Matthew Wilcox Thu, 15 Dec 2005 16:22:01 -0500 committer James Bottomley Thu, 15 Dec 2005 18:42:39 -0800 [SCSI] Add PPR support to spi_print_msg Introduce a new helper, print_nego() to handle SDTR/WDTR/PPR. Split out the guts of show_spi_transport_period_helper() into period_to_str() and use it in print_nego to get the period factor conversion right. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit b32aaffcdc694650d299a59501c5b3e267fca343 tree 322a00bae954da76a790cad17807bc0f12bc1b6c parent 479721538957d514df6dcb29f66e5edd26393bb1 author Matthew Wilcox Thu, 15 Dec 2005 16:22:01 -0500 committer James Bottomley Thu, 15 Dec 2005 18:42:18 -0800 [SCSI] Use ARRAY_SIZE in spi_print_msg Replace the custom NO_*_MSGS definitions with uses of ARRAY_SIZE. This fixes a bug in the definition of NO_EXTENDED_MSGS. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 479721538957d514df6dcb29f66e5edd26393bb1 tree b9163628bb01505c9bd009c14e5427561506f4aa parent 1abfd370134553f3b47e3e40a0526e05001409c2 author Matthew Wilcox Thu, 15 Dec 2005 16:22:01 -0500 committer James Bottomley Thu, 15 Dec 2005 18:41:55 -0800 [SCSI] Fix printing of two-byte messages A missing comma meant that "Ordered Queue Tag" and "Ignore Wide Residue" were being concatenated together. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 1abfd370134553f3b47e3e40a0526e05001409c2 tree 44653f5df309634cfdf347dcf1ec961667721101 parent 410ca5c7c6ed08bda165e8137bff26c3fbee5a1b author Matthew Wilcox Thu, 15 Dec 2005 16:22:01 -0500 committer James Bottomley Thu, 15 Dec 2005 18:41:27 -0800 [SCSI] Rename scsi_print_msg to spi_print_msg Rename scsi_print_msg to spi_print_msg and move its prototype from scsi_dbg.h to scsi_transport_spi.h Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 410ca5c7c6ed08bda165e8137bff26c3fbee5a1b tree 079d028ecb7ea645f0948e3a90a919c7c4f35eee parent 7b16318dea8d9840dac567a2ae8c50ecdea36aea author Matthew Wilcox Thu, 15 Dec 2005 16:22:01 -0500 committer James Bottomley Thu, 15 Dec 2005 18:41:13 -0800 [SCSI] Move scsi_print_msg to SPI class scsi_print_msg() is an SPI-specific concept. This patch moves it from constants.c to scsi_transport_spi.c and updates the Kconfig to link in the SPI class for the drivers which use scsi_print_msg(). Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 7b16318dea8d9840dac567a2ae8c50ecdea36aea tree 8866511a03ba28dcfd98263aa0a8c65ef876c31b parent 2a1e1379bae53f647c463a677cc2ec71b591c348 author James Bottomley Thu, 15 Dec 2005 20:17:02 -0600 committer James Bottomley Thu, 15 Dec 2005 20:17:02 -0600 Fix up SCSI mismerge I forgot to do a git-update-cache on the merged files ... commit 2a1e1379bae53f647c463a677cc2ec71b591c348 tree a152beb5e8679e94430c5b47bf798dd8a2d4fd5d parent 787926b1b2d21d42ca462dc736b77f1a4a30c503 parent 7b6666530e2736f190a2629c8abe34275054449f author James Bottomley Thu, 15 Dec 2005 17:35:24 -0600 committer James Bottomley Thu, 15 Dec 2005 17:35:24 -0600 Merge by hand (conflicts in scsi_lib.c) This merge is pretty extensive. The conflict is over the new req->retries parameter, so I had to change the prototype to scsi_setup_blk_pc_cmnd() and the usage in sd, sr and st. Signed-off-by: James Bottomley commit 787926b1b2d21d42ca462dc736b77f1a4a30c503 tree 97d5e0dc96f7ccac43052706da15f5346c4b8082 parent defd94b75409b983f94548ea2f52ff5787ddb848 author Kai Makisara Sun, 13 Nov 2005 10:04:44 +0200 committer James Bottomley Thu, 15 Dec 2005 15:17:03 -0800 [SCSI] Fix st oops with new scsi_execute infrastructure Patch from Kai minus last sg_segs clearing which was merged already. > > Was there a oops or lockup or any debug output you can send me? I will try > > some more large request tests with scsi_debug. You also have to compile your > > kernel with SCSI_MAX_PHYS_SEGMENTS == 255 to get larger requests now. > It was an oops in sgl_unmap_user_pages(). The reason is this: /* XXX: just for debug. Remove when PageReserved is removed */ BUG_ON(PageReserved(page)); I was using /dev/zero as input and it triggers this. When I used a file as input, this did not trigger. Should this BUG_ON be removed? In the same log I noticed that there was another ->sg_segs inconsistency. Also, the field ->last_SRpnt was not reset when scsi_execute_async() failed. This caused the error message "Async command already active" later and prevented proper close. While doing the changes, I noticed that the current code (since 2.6.0-test4) does not set the pages dirty when reading with direct i/o. All of these st problems (including the one I sent earlier) are fixed in the patch at the end of this message. These fixes should probably be included already in 2.6.15. After these fixes, the tape seems to operate as expected. Without other changes, the largest block size with sym53c896 SCSI adapter is 384 kB. The maximum number of sg segments is set to 96 and clustering is disabled in the driver. 96 x 4 kB = 384 kB. OK. I enabled clustering and set max_sectors to 10000 in the SCSI HBA driver. Now the block size limit is 5000 kB as expected. Signed-off-by: James Bottomley commit defd94b75409b983f94548ea2f52ff5787ddb848 tree 0138b2dae748de88edaee4da23431f1a9dd347a1 parent 8b05b773b6030de5b1bab1cbb0bf1ff8c34cdbe0 author Mike Christie Mon, 05 Dec 2005 02:37:06 -0600 committer James Bottomley Thu, 15 Dec 2005 15:11:40 -0800 [SCSI] seperate max_sectors from max_hw_sectors - export __blk_put_request and blk_execute_rq_nowait needed for async REQ_BLOCK_PC requests - seperate max_hw_sectors and max_sectors for block/scsi_ioctl.c and SG_IO bio.c helpers per Jens's last comments. Since block/scsi_ioctl.c SG_IO was already testing against max_sectors and SCSI-ml was setting max_sectors and max_hw_sectors to the same value this does not change any scsi SG_IO behavior. It only prepares ll_rw_blk.c, scsi_ioctl.c and bio.c for when SCSI-ml begins to set a valid max_hw_sectors for all LLDs. Today if a LLD does not set it SCSI-ml sets it to a safe default and some LLDs set it to a artificial low value to overcome memory and feedback issues. Note: Since we now cap max_sectors to BLK_DEF_MAX_SECTORS, which is 1024, drivers that used to call blk_queue_max_sectors with a large value of max_sectors will now see the fs requests capped to BLK_DEF_MAX_SECTORS. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit d1646f86a2a05a956adbb163c81a81bd621f055e tree e7b321e9b424682ea08b5214e1c415131e7d215d parent 576d2e4e40315e8140c04be99cd057720d8a3817 author Jack Morgenstein Thu, 15 Dec 2005 14:36:24 -0800 committer Roland Dreier Thu, 15 Dec 2005 14:36:24 -0800 IB/mthca: Fix IB_QP_ACCESS_FLAGS handling. This patch corrects some corner cases in managing the RAE/RRE bits in the mthca qp context. These bits need to be zero if the user requests max_dest_rd_atomic of zero. The bits need to be restored to the value implied by the qp access flags attribute in a previous (or the current) modify-qp command if the dest_rd_atomic variable is changed to non-zero. In the current implementation, the following scenario will not work: RESET-to-INIT set QP access flags to all disabled (zeroes) INIT-to-RTR set max_dest_rd_atomic=10, AND set qp_access_flags = IB_ACCESS_REMOTE_READ | IB_ACCESS_REMOTE_ATOMIC The current code will incorrectly take the access-flags value set in the RESET-to-INIT transition. We can simplify, and correct, this IB_QP_ACCESS_FLAGS handling: it is always safe to set qp access flags in the firmware command if either of IB_QP_MAX_DEST_RD_ATOMIC or IB_QP_ACCESS_FLAGS is set, so let's just set it to the correct value, always. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 576d2e4e40315e8140c04be99cd057720d8a3817 tree 6d4097e260d4612520f81f65c2eeae372c36bfda parent 6c7d2a75b512c64c910b69adf32dbaddb461910b author Jack Morgenstein Thu, 15 Dec 2005 14:20:23 -0800 committer Roland Dreier Thu, 15 Dec 2005 14:20:23 -0800 IB/mthca: Fix SRQ cleanup during QP destroy When cleaning up a CQ for a QP attached to SRQ, need to free an SRQ WQE only if the CQE is a receive completion. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 6c7d2a75b512c64c910b69adf32dbaddb461910b tree a633a543f384de9b6364e17db687f0c75990470b parent 44b5b0303327cfb23f135b95b2fe5436c81ed27c author Michael S. Tsirkin Thu, 15 Dec 2005 13:55:50 -0800 committer Roland Dreier Thu, 15 Dec 2005 13:55:50 -0800 IB/mthca: Fix thinko in mthca_table_find() break only escapes from the innermost loop, and we want to escape both loops and return an answer. Noticed by Ishai Rabinovitch. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 8b05b773b6030de5b1bab1cbb0bf1ff8c34cdbe0 tree 0d364c50de0ef767846b366307ba69c3c95779b0 parent d6b10348f9397943eb968419a2b7f08895e38472 author Mike Christie Tue, 08 Nov 2005 04:06:44 -0600 committer James Bottomley Wed, 14 Dec 2005 19:16:31 -0800 [SCSI] convert st to use scsi_execute_async convert st to always send scatterlists and kill scsi_request usage. This is the same as last time as it was posted, but with Kai's patches merged and we now pass the bytes value to scsi_execute_async. TODO: - move DIO code to common place or make block layers usable for ULDs. - move buffer allocation code to common place for all ULDs to use. And make buffer allocation code handle all queue limits so we can find out about problems before calling scsi_execute_async. - move indirect (copy_to/from_user) paths commone place or make block layers usable for ULDs. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit d6b10348f9397943eb968419a2b7f08895e38472 tree 9721f49b0cc7a6c4b41d7ef77b11bdfe0d74faea parent aa7b5cd750c766f66a92c9f78ba176bc77512b7e author Mike Christie Tue, 08 Nov 2005 04:06:41 -0600 committer James Bottomley Wed, 14 Dec 2005 19:15:45 -0800 [SCSI] convert sg to scsi_execute_async Convert sg to always send scatterlists, and kill scsi_request usage. TODO: - move DIO code to common place or make block layers usable for ULDs. - move buffer allocation code to common place for all ULDs to use. And make buffer allocation code obey all queue limits so we can find out about problems before calling scsi_execute_async. Currently, sg.c could allocate a buffer that is too large, and send the request to scsi_execute_async. scsi_execute_async will then check it against all the queue limits and return a failure in this case. It would nicer to know about the queue limit violation right away. - move indirect (copy_to/from_user) paths commone place or make block layers usable for ULDs. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit aa7b5cd750c766f66a92c9f78ba176bc77512b7e tree f9825729d1928b7171c09fcec6a4fc45f759e168 parent 0d95716d6a1308c465d8c17ed1a217628936bb0c author Mike Christie Fri, 11 Nov 2005 05:31:41 -0600 committer James Bottomley Wed, 14 Dec 2005 19:09:09 -0800 [SCSI] add kmemcache for scsi_io_context Add kmemcache of scsi io contexts. In the future when we finalize on where these functions will live we can add a mempool for it and do a bioset for out REQ_BLOCK_PC bios. This is needed becuase the dm-multipath handlers will want to use the scsi_exectute* functions for failover and we cannot have them and the bio device allocating from the same mempool. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 0d95716d6a1308c465d8c17ed1a217628936bb0c tree bf304209ec749fee1b7c66e000874bca973d2ec9 parent 17e01f216b611fc46956dcd9063aec4de75991e3 author Mike Christie Fri, 11 Nov 2005 05:31:40 -0600 committer James Bottomley Wed, 14 Dec 2005 19:08:16 -0800 [SCSI] complete the whole command when it is REQ_BLOCK_PC sd does not allow scsi_io_completion to retry commands for SG_IO requests, and it make sense that it should not happen for st SG_IO commands too. If for st we hit the bottom of scsi_io_completion we will probably screw things up pretty bad. This patch returns to the block layer that the whole command completed and relies on the caller to check the request errors field. For initialization commands like in sd, this adds the previous behavior where scsi_io_completion did not process the error. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 17e01f216b611fc46956dcd9063aec4de75991e3 tree e8864490fddd1d67c7911101a1446709ec21720e parent 6e68af666f5336254b5715dca591026b7324499a author Mike Christie Fri, 11 Nov 2005 05:31:37 -0600 committer James Bottomley Wed, 14 Dec 2005 19:04:11 -0800 [SCSI] add retries field to request for REQ_BLOCK_PC use For tape we need to control the retries. This patch adds a retries counter on the request for REQ_BLOCK_PC commands originating from scsi_execute* to use. REQ_BLOCK_PC commands comming from the block layer SG_IO path continue to use the retires set in the ULD init_command. (scsi_execute* does not set the gendisk so we do not execute the init_command in that path). Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 6e68af666f5336254b5715dca591026b7324499a tree 5640209b6e2b75659149460f14531cfecffe2f5d parent 6e39b69e7ea9205c5f80aeac3ef999ab8fb1a4cc author Mike Christie Fri, 11 Nov 2005 05:30:27 -0600 committer James Bottomley Wed, 14 Dec 2005 19:03:35 -0800 [SCSI] Convert SCSI mid-layer to scsi_execute_async Add scsi helpers to create really-large-requests and convert scsi-ml to scsi_execute_async(). Per Jens's previous comments, I placed this function in scsi_lib.c. I made it follow all the queue's limits - I think I did at least :), so I removed the warning on the function header. I think the scsi_execute_* functions should eventually take a request_queue and be placed some place where the dm-multipath hw_handler can use them if that failover code is going to stay in the kernel. That conversion patch will be sent in another mail though. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 6e39b69e7ea9205c5f80aeac3ef999ab8fb1a4cc tree abf6bf248970a249cc15e0c3df75ae42833be084 parent 9e1fe9314cb5649b2dc73690f2cd8d0068e633d9 author Mike Christie Fri, 11 Nov 2005 05:30:24 -0600 committer James Bottomley Wed, 14 Dec 2005 19:00:50 -0800 [SCSI] export blk layer functions needed for blk_execute_rq_nowait To send async requests we need these two functions exported. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 9e1fe9314cb5649b2dc73690f2cd8d0068e633d9 tree 14b2fb95a2f58d618c3dcb80b916958aebfeba59 parent e7a1ca1d27e20ea2c0ba161c57e3c1d4112b60f7 author Jesper Juhl Wed, 14 Dec 2005 19:27:20 +0100 committer James Bottomley Wed, 14 Dec 2005 18:52:45 -0800 [SCSI] handle scsi_add_host failure for aic7xxx and fix compiler warning Add scsi_add_host() failure handling for aic7xxx Also silence a compiler warning : drivers/scsi/aic7xxx/aic7xxx_osm.c: In function `ahc_linux_register_host': drivers/scsi/aic7xxx/aic7xxx_osm.c:1100: warning: ignoring return value of `scsi_add_host', declared with attribute warn_unused_result Signed-off-by: Jesper Juhl Signed-off-by: James Bottomley commit e7a1ca1d27e20ea2c0ba161c57e3c1d4112b60f7 tree 69a919a9d6d07b1ebb9dbb836b3d20bd78afb52e parent 829b84675edbe05f11c289946216da4f5c6b8e94 author Jesper Juhl Wed, 14 Dec 2005 19:27:28 +0100 committer James Bottomley Wed, 14 Dec 2005 18:52:24 -0800 [SCSI] handle scsi_add_host failure for aic79xx and fix compiler warning Add scsi_add_host() failure handling for aic79xx Also silence a compiler warning : drivers/scsi/aic7xxx/aic79xx_osm.c: In function `ahd_linux_register_host': drivers/scsi/aic7xxx/aic79xx_osm.c:1099: warning: ignoring return value of `scsi_add_host', declared with attribute warn_unused_result Signed-off-by: Jesper Juhl Signed-off-by: James Bottomley commit c6329f4df2263ab5a40601a5236639e61b682f51 tree 1ae9f8a5d65c8fcb87bf13c82ff09df641c3d418 parent 2bd0fa3b62e8565a80f9535e0f2bd51bba46213f parent 65ab592dc5b34caebabfe1340e7c18f52a785079 author Jeff Garzik Tue, 13 Dec 2005 22:20:12 -0500 committer Jeff Garzik Tue, 13 Dec 2005 22:20:12 -0500 Merge branch 'master' commit 8b132f4ee7304fec4fa27dec67879bc0172e916a tree b5e5c9b347afef51007394ba1b01e434074e299a parent d22a8ccff761c81f2930bd90fa5712e51a0e9a62 parent 65ab592dc5b34caebabfe1340e7c18f52a785079 author Jeff Garzik Tue, 13 Dec 2005 22:15:52 -0500 committer Jeff Garzik Tue, 13 Dec 2005 22:15:52 -0500 Merge branch 'master' commit 829b84675edbe05f11c289946216da4f5c6b8e94 tree 28ca0952c330ea3fc5dcb95603568d20aae56687 parent 38d76df2f5483478dee803cb6e39da5e506a6643 author Matthew Wilcox Tue, 13 Dec 2005 10:29:31 -0700 committer James Bottomley Tue, 13 Dec 2005 18:54:40 -0700 [SCSI] Make scsi_transport_spi.h includable by itself Add forward declarations to allow scsi_transport_spi.h to be compiled by itself. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 38d76df2f5483478dee803cb6e39da5e506a6643 tree db3a82c6de5cd5328d62df9803e40476bff71fda parent 4e06cbd42c41f9e49fcfe5ee45c749eefaae9cf4 author Alan Stern Fri, 09 Dec 2005 11:34:45 -0500 committer James Bottomley Tue, 13 Dec 2005 18:49:18 -0700 [SCSI] sd: Always do write-protect check Since nobody has offered an explanation for why the sd driver makes a write-protect check only for devices with removable media, I'm submitting this patch to get rid of the removable-media test. Signed-off-by: Alan Stern Signed-off-by: James Bottomley commit 4e06cbd42c41f9e49fcfe5ee45c749eefaae9cf4 tree d905ad6cab9b16818885230ad45792efb11f2a32 parent f61c1c41b6b959d08d87eee876406bdbcac77b7c author Moore, Eric Dean Thu, 01 Dec 2005 16:51:02 -0700 committer James Bottomley Tue, 13 Dec 2005 18:44:15 -0700 [SCSI] pci_ids.h: add subclass code for SAS Controllers Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit f61c1c41b6b959d08d87eee876406bdbcac77b7c tree 37cbe0e09a99c5ca7bd7b498d6a02b982f4812b0 parent c7c82987b4844f555d309ccbd42abe95d46822ff author Moore, Eric Dean Wed, 16 Nov 2005 18:54:27 -0700 committer James Bottomley Tue, 13 Dec 2005 18:41:48 -0700 [SCSI] mptfusion - bump version Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit c7c82987b4844f555d309ccbd42abe95d46822ff tree 55eb2c02fa1ff25548b1cc673c47aaa19e380214 parent f2ea8671a8376e09cf759aa8cb3de8b8d3bced9e author Moore, Eric Dean Wed, 16 Nov 2005 18:54:25 -0700 committer James Bottomley Tue, 13 Dec 2005 18:41:15 -0700 [SCSI] mptfusion - mapping fixs required support for transport layers. This utilizes the hostdata area that is hung off of scsi_target and scsi_device for saving unique firmware mapping. This will be required for supporting new Fibre and SPI transport support. This also fixs problems in error handling error code for SAS controllers, in which the incorrect mapping was passed to the firmware. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit f2ea8671a8376e09cf759aa8cb3de8b8d3bced9e tree 82181e022ccecfa0f1b8b3cef673630df917209d parent a9b2937a1eab2939d0eed3830ead88664ed7445d author Moore, Eric Dean Wed, 16 Nov 2005 18:54:23 -0700 committer James Bottomley Tue, 13 Dec 2005 18:40:52 -0700 [SCSI] mptfusion - prep for removing domain validation This moves some functions around from within the #define MPTSCSIH_ENABLE_DOMAIN_VALIDATION area, in preperation for generic domain validation. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit a9b2937a1eab2939d0eed3830ead88664ed7445d tree bde1ec40bc7bbe56ab22f585699dd28b2009cd0f parent 7acec1e7556a861416bb6b10f3e3cbb6e82fc01d author Moore, Eric Dean Wed, 16 Nov 2005 18:54:20 -0700 committer James Bottomley Tue, 13 Dec 2005 18:40:08 -0700 [SCSI] mptfusion - bus_type, change SCSI to SPI This changes to SPI for the bus_type enumeration. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 7acec1e7556a861416bb6b10f3e3cbb6e82fc01d tree 3ca770f11ae152cd17af2a2032f2b13d0370d114 parent f78496da6a85f4b5f4532d7bf85b05fa655146a8 author Moore, Eric Dean Wed, 16 Nov 2005 18:54:17 -0700 committer James Bottomley Tue, 13 Dec 2005 18:38:44 -0700 [SCSI] mptfusion - cleaning up xxx_probe error handling This cleans the returning failure conditions of the mptsas/mptfc/mptspi probe routines. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit f78496da6a85f4b5f4532d7bf85b05fa655146a8 tree 2c23ba5607a0f445a0a0af6e1477264436fe9809 parent 1cb25a27d0a3f8296e67e5cc915048db10910d4f author Moore, Eric Dean Wed, 16 Nov 2005 18:54:14 -0700 committer James Bottomley Tue, 13 Dec 2005 18:37:42 -0700 [SCSI] mptfusion - adding = THIS_MODULE Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 1cb25a27d0a3f8296e67e5cc915048db10910d4f tree 3aae0f701a4cf392880511a58acc6796c00a0030 parent fefcb2b677fbfce894133e59a34395f8988d4610 author James.Smart@Emulex.Com Mon, 28 Nov 2005 11:42:49 -0500 committer James Bottomley Tue, 13 Dec 2005 18:36:15 -0700 [SCSI] lpfc 8.1.1 : Change version number to 8.1.1 Signed-off-by: James Smart Signed-off-by: James Bottomley commit fefcb2b677fbfce894133e59a34395f8988d4610 tree 59115b4389dc04bfcd2f011360aa98597943c3ad parent 445cf4f4d2aa28f6ddd1d7a5f0986341ad61ec91 author James.Smart@Emulex.Com Mon, 28 Nov 2005 15:08:56 -0500 committer James Bottomley Tue, 13 Dec 2005 18:35:50 -0700 [SCSI] lpfc 8.1.1 : kill use of pci_read_config_xxx Signed-off-by: James Bottomley commit 445cf4f4d2aa28f6ddd1d7a5f0986341ad61ec91 tree 4a26741b03835b44e266ce4799f4e35cc3800e6f parent 875fbdfe9b1b4c8f12622a8d8d81428ff0984875 author James.Smart@Emulex.Com Mon, 28 Nov 2005 11:42:38 -0500 committer James Bottomley Tue, 13 Dec 2005 18:35:09 -0700 [SCSI] lpfc 8.1.1 : Added code to adjust lun queue depth to avoid target overloading Signed-off-by: James Smart Signed-off-by: James Bottomley commit 875fbdfe9b1b4c8f12622a8d8d81428ff0984875 tree 63c787cb9a7d4a92eaedcc9f8a89a00d5d8f6603 parent 5cc36b3cd0e3610ad7c7e2514160998276798fc0 author James.Smart@Emulex.Com Tue, 29 Nov 2005 16:32:13 -0500 committer James Bottomley Tue, 13 Dec 2005 18:34:14 -0700 [SCSI] lpfc 8.1.1 : Add polled-mode support - Add functionality to run in polled mode only. Includes run time attribute to enable mode. - Enable runtime writable hba settings for coallescing and delay parameters Customers have requested a mode in the driver to run strictly polled. This is generally to support an environment where the server is extremely loaded and is looking to reclaim some cpu cycles from adapter interrupt handling. This patch adds a new "poll" attribute, and the following behavior: if value is 0 (default): The driver uses the normal method for i/o completion. It uses the firmware feature of interrupt coalesing. The firmware allows a minimum number of i/o completions before an interrupt, or a maximum time delay between interrupts. By default, the driver sets these to no delay (disabled) or 1 i/o - meaning coalescing is disabled. Attributes were provided to change the coalescing values, but it was a module-load time only and global across all adapters. This patch allows them to be writable on a per-adapter basis. if value is 1 : Interrupts are left enabled, expecting that the user has tuned the interrupt coalescing values. When this setting is enabled, the driver will attempt to service completed i/o whenever new i/o is submitted to the adapter. If the coalescing values are large, and the i/o generation rate steady, an interrupt will be avoided by servicing completed i/o prior to the coalescing thresholds kicking in. However, if the i/o completion load is high enough or i/o generation slow, the coalescion values will ensure that completed i/o is serviced in a timely fashion. if value is 3 : Turns off FCP i/o interrupts altogether. The coalescing values now have no effect. A new attribute "poll_tmo" (default 10ms) exists to set the polling interval for i/o completion. When this setting is enabled, the driver will attempt to service completed i/o and restart the interval timer whenever new i/o is submitted. This behavior allows for servicing of completed i/o sooner than the interval timer, but ensures that if no i/o is being issued, then the interval timer will kick in to service the outstanding i/o. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 5cc36b3cd0e3610ad7c7e2514160998276798fc0 tree ae9e107f3b4eea99df1598c15ba0a0f306082ed8 parent e4adb20406385d1cc8fdb15e92ed7ac3d0ae41f6 author James.Smart@Emulex.Com Mon, 28 Nov 2005 11:42:19 -0500 committer James Bottomley Tue, 13 Dec 2005 18:27:57 -0700 [SCSI] lpfc 8.1.1 : Bring model descriptions in sync with Emulex standard generic names Signed-off-by: James Smart Signed-off-by: James Bottomley commit e4adb20406385d1cc8fdb15e92ed7ac3d0ae41f6 tree f5fea630ac56209181a041d2f3c276f81d86834e parent 6175c02a0b12f92c03b56c756c4f1e131ae1456c author James.Smart@Emulex.Com Mon, 28 Nov 2005 11:42:12 -0500 committer James Bottomley Tue, 13 Dec 2005 18:27:22 -0700 [SCSI] lpfc 8.1.1 : Add support for more members of the Light Pulse 11xxx (4Gb) family Signed-off-by: James Smart Signed-off-by: James Bottomley commit 6175c02a0b12f92c03b56c756c4f1e131ae1456c tree cee1a84d2c98d52456ceffc3d5d64eadc024266b parent 63c59c3b8ff444b771a245f59935c0202ece963b author James.Smart@Emulex.Com Mon, 28 Nov 2005 11:42:05 -0500 committer James Bottomley Tue, 13 Dec 2005 18:26:47 -0700 [SCSI] lpfc 8.1.1 : Fixes to error handlers - Release task management command before counting outstanding commands. TMF was being erroneously counted as an active outstanding command. - Serialize EH calls and block requests when EH function is running. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 63c59c3b8ff444b771a245f59935c0202ece963b tree eccb686ade63b3c8997f6dd797caca81a2740608 parent 23dc04f1ec0d2f8fdda82ad1f9aa87b6ed74cd4a author James.Smart@Emulex.Com Mon, 28 Nov 2005 11:41:53 -0500 committer James Bottomley Tue, 13 Dec 2005 18:20:22 -0700 [SCSI] lpfc 8.1.1 : Remove locking wrappers around error handlers Remove locking wrappers around error handlers. Wrappers were added in early 2.6.13 api change Signed-off-by: James Smart Signed-off-by: James Bottomley commit 23dc04f1ec0d2f8fdda82ad1f9aa87b6ed74cd4a tree 969cf15f4be04be9cc3f3b20d8faf166f0261ffd parent 6281bfe0002acd7765cb4afe0304c36962ad6b15 author James.Smart@Emulex.Com Mon, 28 Nov 2005 11:41:44 -0500 committer James Bottomley Tue, 13 Dec 2005 18:18:47 -0700 [SCSI] lpfc 8.1.1 : Adjust use of scsi_block_requests and interaction w/ FC transport - Remove unnecessary scsi_block_requests calls on rport deletes. This was deadlocking the sdev removals as they wanted to flush commands. - No longer block requests when adding the remote port (to block discovery). Instead, register, then change port role. Maps to Qlogic behavior, and closer to the register-node-upon-first-ELS behavior. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 6281bfe0002acd7765cb4afe0304c36962ad6b15 tree f67190c5ed4032dc501a07b5df233c2071892d67 parent 2fb70f79936e7180e8b0287a4053b8ba89182717 author James.Smart@Emulex.Com Mon, 28 Nov 2005 11:41:33 -0500 committer James Bottomley Tue, 13 Dec 2005 18:16:01 -0700 [SCSI] lpfc 8.1.1 : Fixes for short cable pulls Cause: Link bounces were causing discovery ELS's to be killed. Driver was not properly flushing ELS commands upon the subsequent link bounces. Thus, processing of ELS post link bounce erroneously assumed discovery failure and device loss. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 2fb70f79936e7180e8b0287a4053b8ba89182717 tree a19435077babd8612ef2709d2d00f53bb9e26912 parent 1de933f35b17622f977eff1630eb1f2c92e9450c author James.Smart@Emulex.Com Mon, 28 Nov 2005 11:41:24 -0500 committer James Bottomley Tue, 13 Dec 2005 18:15:40 -0700 [SCSI] lpfc 8.1.1 : Correct some 8bit to 16bit field conversions/comparisons Signed-off-by: James Smart Signed-off-by: James Bottomley commit 1de933f35b17622f977eff1630eb1f2c92e9450c tree 6524603eee767c6be140e1647b6fed0a44f15267 parent 0a21ef1e603096a8f57fcd7fa0b8b53e7147d3b9 author James.Smart@Emulex.Com Mon, 28 Nov 2005 11:41:15 -0500 committer James Bottomley Tue, 13 Dec 2005 18:14:08 -0700 [SCSI] lpfc 8.1.1: Miscellaneous Cleanups Miscellaneous Cleanups: - Remove ProgType READ_REV mailbox command value check in lpfc_config_port_prep. - Convert simple printk to an lpfc_printf_log in queuecommand. - Modify lpfc_abort_handler message 0749 to display more accurate text and data. - Minor style cleanup: fix 3 long lines in lpfc_hw.h Signed-off-by: James Smart Signed-off-by: James Bottomley commit 0a21ef1e603096a8f57fcd7fa0b8b53e7147d3b9 tree d0d4deb05fbfdc8c36bf606b52f81203d7e9e26d parent 7f23e146a122966bd58e5da9c16a0e12385f09fc author James Bottomley Thu, 01 Dec 2005 12:51:50 -0600 committer James Bottomley Tue, 13 Dec 2005 18:12:07 -0700 [SCSI] qla2xxx: fix compile error caused by pci_dev.owner move Signed-off-by: James Bottomley commit 7f23e146a122966bd58e5da9c16a0e12385f09fc tree 0d478b2724611e794f8f32d732775018c586fc6d parent 8a47cd340b4a299087f926ff2780d1eb08513f04 author James Bottomley Thu, 01 Dec 2005 12:50:13 -0600 committer James Bottomley Tue, 13 Dec 2005 18:12:05 -0700 [SCSI] correct some dropped const compiler warnings Make the vendor, model and rev fields in scsi_device pointers to const and update a few prototypes of functions using them. Signed-off-by: James Bottomley commit 8a47cd340b4a299087f926ff2780d1eb08513f04 tree fab368465f0e187c0f3708385a4618eb115c76e0 parent 4d841d6bd94d55642f8dbb11d6b672b3b50ff82e author Mike Christie Wed, 30 Nov 2005 02:27:19 -0600 committer James Bottomley Tue, 13 Dec 2005 18:12:03 -0700 [SCSI] iscsi: check header digests for mgmt tasks From Wang Zhenyu: check header digest for cmd and mgmt tasks Signed-off-by: Wang Zhenyu Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit 4d841d6bd94d55642f8dbb11d6b672b3b50ff82e tree 30aedcc8f39ca52f0cb7a942778e5517d6d53070 parent 9e3961ba2be51a88c6223143568c80e0616d93ce author Mike Christie Tue, 29 Nov 2005 23:13:01 -0600 committer James Bottomley Tue, 13 Dec 2005 18:12:02 -0700 [SCSI] iscsi: update version Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit 9e3961ba2be51a88c6223143568c80e0616d93ce tree b811c3ab70d14997718596c9ec21a08561b34d5f parent f6cfba1d21e9e4afd80e2274aa4df3dc1bd0aab7 author Mike Christie Tue, 29 Nov 2005 23:12:59 -0600 committer James Bottomley Tue, 13 Dec 2005 18:12:00 -0700 [SCSI] iscsi: lower queue depth From Wang Zhenyu: High queue depth was a problem for some targets so make queue_depth adjustable From Mike Christie Make default queue_depth a little lower Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit f6cfba1d21e9e4afd80e2274aa4df3dc1bd0aab7 tree d5c91ea5b5ec80fff9da3a7e600839860b9d018d parent 733bb6a70cb351786f3c2290ab22f71b612e6893 author Mike Christie Tue, 29 Nov 2005 23:12:57 -0600 committer James Bottomley Tue, 13 Dec 2005 18:11:58 -0700 [SCSI] iscsi: data digest calculation fix From Wang Zhenyu: data digest fix (the bug caused data corruption w/Wasabi StorageBuilder target) Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit 733bb6a70cb351786f3c2290ab22f71b612e6893 tree 3cc08d202d715d3c5c0fe1c8225c8b3558eba47e parent e6273993dbcb8d805dd868e2128c3503a3bb1964 author Mike Christie Tue, 29 Nov 2005 23:12:54 -0600 committer James Bottomley Tue, 13 Dec 2005 18:11:56 -0700 [SCSI] iscsi: iscsi response fix from Wang Zhenyu: Must check SCSI CMD and R2T response according to the spec Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit e6273993dbcb8d805dd868e2128c3503a3bb1964 tree bec5bdc35e9824a2898333e160786d7110f645c5 parent 0d2f16559a9015c4daa8babfc443bf2b8740fbd9 author Mike Christie Tue, 29 Nov 2005 23:12:49 -0600 committer James Bottomley Tue, 13 Dec 2005 18:11:55 -0700 [SCSI] iscsi: redirect fix From tomof@acm.org: There is one more issue about Equallogic systems. They send re-direction info with FIN. I think that the kernel module needs to let iscsid to read data from the socket before killing it. Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit 0d2f16559a9015c4daa8babfc443bf2b8740fbd9 tree 20aea5901dd616566d54fbd1d7c40a9e8193a555 parent ad94c9340a76db187166f2342ba0ff568dc7801f author Mike Christie Tue, 29 Nov 2005 23:12:46 -0600 committer James Bottomley Tue, 13 Dec 2005 18:11:53 -0700 [SCSI] iscsi: opcode check fix Must check only valid opcode bits. Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit ad94c9340a76db187166f2342ba0ff568dc7801f tree 1b134d54c861632a5b89dc5169359d09bfd0da5e parent 66e8d1cc64e95be78e6138cc88635f7e3108ef58 author Matthew Wilcox Tue, 29 Nov 2005 23:08:48 -0500 committer James Bottomley Tue, 13 Dec 2005 18:11:50 -0700 [SCSI] sym2: Version 2.2.2 Update version number to 2.2.2 Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 66e8d1cc64e95be78e6138cc88635f7e3108ef58 tree a95be81fadaa90f90a7425f3f83ca7588598290a parent b37df48923b76155de2a728e1155ed263dba5f53 author Matthew Wilcox Tue, 29 Nov 2005 23:08:46 -0500 committer James Bottomley Tue, 13 Dec 2005 18:11:47 -0700 [SCSI] sym2: Report disabled devices and LUNs more attractively Rather than print a list of targets at driver init time, print each disabled target as we attempt to scan it. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit b37df48923b76155de2a728e1155ed263dba5f53 tree d66ce7b56be9df12a7c64521e931dc4925bf800f parent 33333bacf523bb4bb903058fec6041a5952c93c6 author Matthew Wilcox Tue, 29 Nov 2005 23:08:44 -0500 committer James Bottomley Tue, 13 Dec 2005 18:11:45 -0700 [SCSI] sym2: Allow NVRAM settings to limit speed and width The NVRAM for both Tekram and Symbios boards allows the user to set the speed and width for individual targets. I took that code out in March 2004 when we introduced Domain Validation, but it seems there's still a legitimate need for it in some configurations. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 33333bacf523bb4bb903058fec6041a5952c93c6 tree 4be2b7dbc7260cd090565ea1f6801f2b5cec7647 parent 1e8eb21ea7b5c318d881eab878f3e545e55fa273 author Matthew Wilcox Tue, 29 Nov 2005 23:08:42 -0500 committer James Bottomley Tue, 13 Dec 2005 18:11:43 -0700 [SCSI] sym2: Use scsi_print_msg sym_show_msg was almost a duplicate of scsi_print_msg, except not as featureful. So use the common code instead. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 1e8eb21ea7b5c318d881eab878f3e545e55fa273 tree 1b71ccc72e260c10929ac09432e9a4c0d657113d parent 44f30b0f59d628eb6f57cfa9d8ab06da670e5306 author Matthew Wilcox Tue, 29 Nov 2005 23:08:36 -0500 committer James Bottomley Tue, 13 Dec 2005 18:11:41 -0700 [SCSI] sym2: Use DMA_40BIT_MASK constant Now that this constant has been added to dma-mapping.h, we don't need our own definition Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 44f30b0f59d628eb6f57cfa9d8ab06da670e5306 tree 2d272ce9c67c8b18685eb3828f10734b6a372f7d parent 84e203a279d3de1c8a41a73ab45e55a89bc19345 author Matthew Wilcox Tue, 29 Nov 2005 23:08:33 -0500 committer James Bottomley Tue, 13 Dec 2005 18:11:39 -0700 [SCSI] sym2: Remove code to handle DMA_BIDIRECTION requests The upper layer doesn't send these down since 2.4.x (or 2.6 in practice), so no need to handle it. Inline sym_setup_data_pointers into its only caller so we can fail gracefully in the case we'd get one neverless. Signed-off-by: Christoph Hellwig Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 84e203a279d3de1c8a41a73ab45e55a89bc19345 tree 3015ec3496d9e8ed0dceb5beea5ec28ede6f1a0d parent 760c9de589175f5285668d17825c259aec08370c author Matthew Wilcox Tue, 29 Nov 2005 23:08:31 -0500 committer James Bottomley Tue, 13 Dec 2005 18:11:33 -0700 [SCSI] sym2: Manage sym_lcb properly Allocate the lcb in slave_alloc and free it in slave_destroy. This allows us to remove all the code that checks to see if it's already been allocated. From: Christoph Hellwig Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 760c9de589175f5285668d17825c259aec08370c tree c73350cda851f702b29896b721678936d31590c7 parent 47be1e0ee1f484c8127f306e06ed3be91add07ee author Matthew Wilcox Tue, 29 Nov 2005 23:08:29 -0500 committer James Bottomley Tue, 13 Dec 2005 18:11:29 -0700 [SCSI] sym2: Remove last vestiges of sym_sniff_inquiry The SYM_OPT_SNIFF_INQUIRY define is never set any more, and the sym_sniff_inquiry() function doesn't exist From: Christoph Hellwig Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 47be1e0ee1f484c8127f306e06ed3be91add07ee tree 176ec61deec91fffd77fb5a7f1f541637d376a44 parent dc25fcfbba513f8de8d1531b47fc9daa33d84f5a author Matthew Wilcox Tue, 29 Nov 2005 23:08:27 -0500 committer James Bottomley Tue, 13 Dec 2005 18:11:27 -0700 [SCSI] sym2: Remove FreeBSD ifdefs Remove FreeBSD ifdefs from sym2 driver Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit dc25fcfbba513f8de8d1531b47fc9daa33d84f5a tree e3abe8590a3305e3872776d1be9d116587f74d26 parent c6ce15d7cdb3f6cb3ff442ac01eb6c5f0fe321af author Matthew Wilcox Thu, 10 Nov 2005 07:45:55 -0700 committer James Bottomley Tue, 13 Dec 2005 18:11:25 -0700 [SCSI] Mention scsi_scan_host() in scsi_mid_low_api.txt Update to mention scsi_scan_host() Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit c6ce15d7cdb3f6cb3ff442ac01eb6c5f0fe321af tree 018e9310107a58fc7b6a883a35deb9b698ea9171 parent 331e34768657ead5a5b169337351e045305cafcb author Andrew Vasquez Wed, 09 Nov 2005 15:49:33 -0800 committer James Bottomley Tue, 13 Dec 2005 18:11:23 -0700 [SCSI] qla2xxx: Resync with latest released ISP24xx firmware -- 4.00.16. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 331e34768657ead5a5b169337351e045305cafcb tree 952cb2dc4cb8ba3966d2de18e9830f3ca99f1464 parent 5433383ef33ed40c9c8a86a4355da344234af2a5 author Andrew Vasquez Wed, 09 Nov 2005 15:49:19 -0800 committer James Bottomley Tue, 13 Dec 2005 18:11:19 -0700 [SCSI] qla2xxx: Add support for embedded ISP24xx firmware. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 5433383ef33ed40c9c8a86a4355da344234af2a5 tree 8d82c620fe6faadfa805fb465d5beb67946133c7 parent 26a68019c86e1d1782984a7a5babff762cde1501 author Andrew Vasquez Wed, 09 Nov 2005 15:49:04 -0800 committer James Bottomley Tue, 13 Dec 2005 18:11:16 -0700 [SCSI] qla2xxx: Add full firmware(-request) hotplug support for all ISPs. Transition driver to exclusively use the request_firmware() interfaces to retrieve firmware-blobs from user-space. This will be the default behaviour going forward until the embedded firmware-binary images are removed from the upstream kernel. Upon request, the driver caches the firmware image until the driver is unloaded. NOTE: The option is present to allow the user to continue to use the firmware-loader modules, but, should be considered deprecated. Signed-off-by: Andrew Vasquez Rejections fixed up and Signed-off-by: James Bottomley commit 26a68019c86e1d1782984a7a5babff762cde1501 tree 7c08ae2870d2712d836bc226d0ca0f5e57de4e69 parent 493ff4ee7f93a2b53ed60197e05aa145eec8f8f5 author Jens Axboe Tue, 29 Nov 2005 21:03:34 +0100 committer James Bottomley Tue, 13 Dec 2005 18:11:11 -0700 [SCSI] scsi_lib: stricter checks for clearing use_10_for_rw Check the asc and ascq for being "invalid command opcode" as well. Signed-off-by: James Bottomley commit 493ff4ee7f93a2b53ed60197e05aa145eec8f8f5 tree 3e2aa2ab54ad6b3ff56f8c7c967827c003e8e60f parent 0ad78200baf1f85a21e6b26c225717ad80980d8f author Matthew Wilcox Thu, 17 Nov 2005 11:13:43 -0700 committer James Bottomley Tue, 13 Dec 2005 18:11:09 -0700 [SCSI] Delete trailing full stop None of the other domain validation messages have a trailing full stop, so I don't see why this one should. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 0ad78200baf1f85a21e6b26c225717ad80980d8f tree 7f5ffcd60c5bb1dd9a2ef943b2b0950bd5ac5b55 parent ce155ccecd4094e7b5e68058d26db691713240fc author Arjan van de Ven Mon, 28 Nov 2005 16:22:25 +0100 committer James Bottomley Tue, 13 Dec 2005 18:11:01 -0700 [SCSI] Mark some core scsi data structures const patch below marks a few scsi core datastructures as const, so that they end up in the .rodata section and don't cacheline share with things that get dirtied Signed-off-by: Arjan van de Ven Signed-off-by: James Bottomley commit ce155ccecd4094e7b5e68058d26db691713240fc tree 1bc690d3f0555b05c3be587267c01135fa829563 parent ed7e8ef7f12f5c3c8bbb85eeb0a1ded91c7c5dbf author brking@us.ibm.com Thu, 17 Nov 2005 09:35:12 -0600 committer James Bottomley Tue, 13 Dec 2005 18:10:58 -0700 [SCSI] ipr: Driver initialization fix for kexec/kdump When kexec booting a kernel when the previous kernel did not call ipr's shutdown method, the ipr adapter does not get properly initialized, which can result in the ipr adapter completing commands issued by the previous kernel. Fix ipr to detect this scenario by reading the adapter's interrupt mask register and the microprocessor interrupt register. If the interrupt mask register indicates that interrupts are enabled or the reset alert bit is set when the card is probed, this means the card is in an unknown state and we hard reset the card. Signed-off-by: Brian King Signed-off-by: James Bottomley commit ed7e8ef7f12f5c3c8bbb85eeb0a1ded91c7c5dbf tree 2093784bbbc3ff9ebb3c68b43efda7b13228c99a parent 3492b328834319c9503c0a34c50fb3f009556443 author Ju, Seokmann Thu, 17 Nov 2005 13:17:25 -0500 committer James Bottomley Tue, 13 Dec 2005 18:10:56 -0700 [SCSI] megaraid_{mbox,mm} : remove PCI Id overlaping between megaraid_legacy and megaraid_{mbox,mm} Signed-off-by: James Bottomley commit 3492b328834319c9503c0a34c50fb3f009556443 tree f82d553f6508ea3bbe73e4ecf88263f337227a16 parent be0d9b6c7aeaad1683059c00131cabd4c894c17c author Ju, Seokmann Thu, 17 Nov 2005 13:13:31 -0500 committer James Bottomley Tue, 13 Dec 2005 18:10:52 -0700 [SCSI] megaraid_legacy: removed PCI ID overlap from the driv er This patch fixes - PCI ID overlap issue - node name changed to 'megaraid_legacy' I hope this patch addresses concerns brought by Daniel Drake. Signed-off by: Seokmann Ju Signed-off-by: James Bottomley commit d22a8ccff761c81f2930bd90fa5712e51a0e9a62 tree 52a92cf1b9a65e4440276706c4b4e879d4008a87 parent 783e3385a134305d49d7b431df6e591265e7ec14 parent 98684a9d91bceff829b6dc7adf0f662d59cfa6e3 author Jeff Garzik Tue, 13 Dec 2005 11:36:18 -0500 committer Jeff Garzik Tue, 13 Dec 2005 11:36:18 -0500 Merge branch 'upstream-fixes' commit eaceec7f6cc5223d0f146086884d67746b8aa81d tree 7215bd4c40637e10be4595c141dc5920bfeb8cd4 parent cf8d2c0965b891a5efce8c3a9a07a522e91ddba2 author Stefan Richter Tue, 13 Dec 2005 11:05:05 -0500 committer Jody McIntyre Tue, 13 Dec 2005 11:05:05 -0500 sbp2: remove duplicate code from sbp2_start_device() Use sbp2_remove_device() to free FIFO and ORB DMAs in a failure case. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit cf8d2c0965b891a5efce8c3a9a07a522e91ddba2 tree 76786d162a6ad96f6f788c315223c47a5e10adee parent 209171a17a908605e516d11436371337a5d87f06 author Stefan Richter Tue, 13 Dec 2005 11:05:03 -0500 committer Jody McIntyre Tue, 13 Dec 2005 11:05:03 -0500 sbp2: split sbp2_create_command_orb() for better readability sbp2_create_command_orb() code cleanup: - add two helper functions to reduce nesting depth - omit the return value which was always ignored - remove unnecessary declaration from sb2.h Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 209171a17a908605e516d11436371337a5d87f06 tree d17bfc9af8faee2e9bff188050ec42a6b0d07a09 parent 25d3f1622fdbc73db3f6860961b5fb3035a39f32 author Stefan Richter Tue, 13 Dec 2005 11:05:00 -0500 committer Jody McIntyre Tue, 13 Dec 2005 11:05:00 -0500 ohci1394: log number of implemented isochronous contexts Print the number of IR and IT contexts which a hardware implements as an informational log message when ohci1394 initializes. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 2bd0fa3b62e8565a80f9535e0f2bd51bba46213f tree 9364e413a6500cbe47703e50ce6f13e7a2dab756 parent e508a391a0705f770ef1c4f1c304678b0e8e4fe8 author Jesse Barnes Tue, 13 Dec 2005 03:05:03 -0500 committer Jeff Garzik Tue, 13 Dec 2005 03:05:03 -0500 [PATCH] add boot option to control Intel SATA/PATA combined mode Combined mode sucks. Especially when both libata and the legacy IDE drivers try to drive ports on the same device, since that makes DMA rather difficult. This patch addresses the problem by allowing the user to control which driver binds to the ports in a combined mode configuration. In many cases, they'll probably want the libata driver to control both ports since it can use DMA for talking with ATAPI devices (when libata.atapi_enabled=1 of course). It also allows the user to get old school behavior by letting the legacy IDE driver bind to both ports. But neither is forced, the patch doesn't change current behavior unless one of combined_mode=ide or combined_mode=libata is passed on the boot line. Either of those options may require you to access your devices via different device nodes (/dev/hd* in the ide case and /dev/sd* in the libata case), though of course if you have udev installed nicely you may not notice anything. :) Let me know if the documentation is too cryptic, I'd be happy to expand on it if necessary. I think most users will want to boot with 'combined_mode=libata' and add 'options libata atapi_enabled=1' to their modules.conf to get good DVD playing and disk behavior (haven't tested CD or DVD writing though). I'd much rather things behave sanely by default (i.e. DMA for devices on both ports), but apparently that's difficult given the various chip bugs and hardware configs out there (not to mention that people's drives may suddenly change from /dev/hdc to /dev/sdb), so this boot option may be the correct long term fix. Signed-off-by: Jesse Barnes Signed-off-by: Jeff Garzik commit e508a391a0705f770ef1c4f1c304678b0e8e4fe8 tree 5ba0357fb21e08e52b8e904e88ef692dc78855fb parent d00d598ffbba974d9045ba8b95296655fe2162c5 parent 50630195bbdfe1ca775d94cd68a5f18bc1b717e4 author Jeff Garzik Tue, 13 Dec 2005 02:30:04 -0500 committer Jeff Garzik Tue, 13 Dec 2005 02:30:04 -0500 Merge branch 'upstream-fixes' commit d00d598ffbba974d9045ba8b95296655fe2162c5 tree 93bdc3bf4ec728d554c54e3f1f51cb5597f53a31 parent b5632303401c231bf270ef36f1013e52caf4caf9 parent be0d9b6c7aeaad1683059c00131cabd4c894c17c author Jeff Garzik Tue, 13 Dec 2005 01:43:33 -0500 committer Jeff Garzik Tue, 13 Dec 2005 01:43:33 -0500 Merge branch 'master' commit b5632303401c231bf270ef36f1013e52caf4caf9 tree 671b2a1d0d32d30d935535440ce4e57fdff3a709 parent 82033adf0a4b26eb0c0c90e224848431e2a59bc6 author Tejun Heo Tue, 13 Dec 2005 14:51:25 +0900 committer Jeff Garzik Tue, 13 Dec 2005 01:34:46 -0500 [PATCH] libata: remove unused qc->waiting There is no user of qc->waiting left after ata_exec_internal() changes. Kill the field. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 82033adf0a4b26eb0c0c90e224848431e2a59bc6 tree b995909cbf2de7dca994db13de3f157ace164905 parent a012370322eafee642369784ff71afe81f5a8592 author Tejun Heo Tue, 13 Dec 2005 14:50:38 +0900 committer Jeff Garzik Tue, 13 Dec 2005 01:34:45 -0500 [PATCH] libata: remove unused functions There is no user of ata_qc_wait_err() and ata_qc_complete_noop() after ata_exec_internal() changes. Remove unused functions. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a012370322eafee642369784ff71afe81f5a8592 tree 21888b2919dd6d8f2f2b5adb48c692ae24436391 parent a2a7a662f80d8b7f2295a36de1f9b033ed0b910c author Tejun Heo Tue, 13 Dec 2005 14:49:31 +0900 committer Jeff Garzik Tue, 13 Dec 2005 01:34:45 -0500 [PATCH] libata: use ata_exec_internal() This patch converts all users of libata internal commands to use ata_exec_internal(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a2a7a662f80d8b7f2295a36de1f9b033ed0b910c tree a04872ba93c1eff094d2d37a0435e1d965d43f22 parent 575ab52a218e4ff0667a6cbd972c3af443ee8713 author Tejun Heo Tue, 13 Dec 2005 14:48:31 +0900 committer Jeff Garzik Tue, 13 Dec 2005 01:34:45 -0500 [PATCH] libata: implement ata_exec_internal() This patch implements ata_exec_internal() function which performs libata internal command execution. Previously, this was done by each user by manually initializing a qc, issueing it, waiting for its completion and handling errors. In addition to obvious code factoring, using ata_exec_internal() fixes the following bugs. * qc not freed on issue failure * ap->qactive clearing could race with the next internal command * race between timeout handling and irq * ignoring error condition not represented in tf->status Also, qc & hardware are not accessed anymore once it's completed, making internal commands more conformant with general semantics. ata_exec_internal() also makes it easy to issue internal commands from multiple threads if that becomes necessary. This patch only implements ata_exec_internal(). A following patch will convert all users. Signed-off-by: Tejun Heo -- Jeff, all patches have been regenerated against upstream branch as of today. (575ab52a218e4ff0667a6cbd972c3af443ee8713) Also, I took out a debug printk from ata_exec_internal (don't know how that one got left there). Other than that, all patches are identical to the previous posting. Thanks. :-) Signed-off-by: Jeff Garzik commit 783e3385a134305d49d7b431df6e591265e7ec14 tree 7db0b8f854201e2ad343ea5b1c6fab7c3bca5a9b parent fd803241744ad6e4262b6588c6af89e8fb794098 parent 1cf9e8a7865c0ac216034e519cf6b8505055ea50 author Jeff Garzik Tue, 13 Dec 2005 00:07:46 -0500 committer Jeff Garzik Tue, 13 Dec 2005 00:07:46 -0500 Merge branch 'upstream-fixes' commit fd803241744ad6e4262b6588c6af89e8fb794098 tree d8c4261a4799a2c9ee980cdd6a0c3c5ac61cafed parent ff7eba15ae65e4299fd9e0fbf067477ce6b43d91 author Jeff Kirsher Tue, 13 Dec 2005 00:06:22 -0500 committer Jeff Garzik Tue, 13 Dec 2005 00:06:22 -0500 e1000: Fixes for 8357x - TSO workaround - Fixes eeprom version reporting - Fix loopback test - Fix for WOL Signed-off-by: Jeff Kirsher Signed-off-by: John Ronciak Signed-off-by: Jesse Brandeburg commit ff7eba15ae65e4299fd9e0fbf067477ce6b43d91 tree 67158d972ead1868cee25f8f3864dfd6b532cc9f parent fed954dafc0ab03e00501862df397e8f8e2211fd parent 3c92cae74b24bdd521ad67eff260a8e4ce540d2b author Jeff Garzik Tue, 13 Dec 2005 00:01:02 -0500 committer Jeff Garzik Tue, 13 Dec 2005 00:01:02 -0500 Merge branch 'e1000' commit 25d3f1622fdbc73db3f6860961b5fb3035a39f32 tree f4eef88bc0083f282c64c14e81c0ecc95e5f2b43 parent dc3edd5412341b02d84144ddfd5bf6ccaaeeb1ac parent 0e670506668a43e1355b8f10c33d081a676bd521 author Jody McIntyre Mon, 12 Dec 2005 23:58:44 -0500 committer Jody McIntyre Mon, 12 Dec 2005 23:58:44 -0500 Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 575ab52a218e4ff0667a6cbd972c3af443ee8713 tree 047730477e31fe7f0551d25c5454e299926b6500 parent c621b140603dfb4a89809e00f965d42c054871e0 parent dfa159886f38344ede31e3b13ec614e0bebc09c6 author Jeff Garzik Mon, 12 Dec 2005 23:51:01 -0500 committer Jeff Garzik Mon, 12 Dec 2005 23:51:01 -0500 Merge branch 'upstream-fixes' commit c621b140603dfb4a89809e00f965d42c054871e0 tree 8e72d8109a40ff2853a02e11db9e2b63f625995c parent 9da305eb089c94c535d1790fd2dec16f44c1689f author Alan Cox Thu, 08 Dec 2005 19:22:28 +0000 committer Jeff Garzik Mon, 12 Dec 2005 23:23:03 -0500 [PATCH] libata: ata_piix 450NX errata Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit dc3edd5412341b02d84144ddfd5bf6ccaaeeb1ac tree df739298b8c5ea5b3d10b41db3c42c43c77a0786 parent 43863eba763e0c91e33e342ce5b7650fea594a53 author Stefan Richter Mon, 12 Dec 2005 23:03:30 -0500 committer Jody McIntyre Mon, 12 Dec 2005 23:03:30 -0500 sbp2: did not clean up after scsi_add_device() failed If scsi_add_device() at the end of sbp2_start_device() fails, e.g. due to transport errors during SCSI inquiry, sbp2 needs to log out of the device and release all associated resources. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 43863eba763e0c91e33e342ce5b7650fea594a53 tree a353684ea6e69b906f9fc987f5ff74770867e914 parent 51c1d80e929bace26d2d795bd77fcc14b02ba3bb author Stefan Richter Mon, 12 Dec 2005 23:03:24 -0500 committer Jody McIntyre Mon, 12 Dec 2005 23:03:24 -0500 sbp2: delete sbp2scsi_direction_table DMA_BIDIRECTIONAL data direction may be handled properly by Linux in the future. For now, reject it instead to convert it to another direction. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 51c1d80e929bace26d2d795bd77fcc14b02ba3bb tree 0da6fdaf7b83263d3bcebc380d99d7001b3ff21e parent e38dc0ae24635a2a8a68d87cd0f4a13e74a52d98 author Stefan Richter Mon, 12 Dec 2005 23:03:19 -0500 committer Jody McIntyre Mon, 12 Dec 2005 23:03:19 -0500 ieee1394: run high-level updates before high-level probes After a bus reset, let nodemgr call high-level update hooks first for nodes which do not need to be probed. The main benefit is for a bus with more than one SBP-2 device: SBP-2 reconnects will be performed before SBP-2 logins, thus have a much higher chance to succeed, and their SCSI devices will not be blocked much longer than necessary. This was demonstrated for Linux 2.4 by Dave Cinege a while ago. A better approach would be to perform time-consuming probes in parallel by a subthread. I actually plan to implement this for sbp2 but it may take a while to get that done and tested. Until then, this tweak is a huge improvement for users with multiple SBP-2 devices. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 9da305eb089c94c535d1790fd2dec16f44c1689f tree f37f07f148fd7a793233c7f15c0fa9f46212049d parent d96212ed87d032d2d830e265aae14038dc1f8ad8 parent 14ee0a1414536d27bc29373bf23c106b8ef8ce0b author Jeff Garzik Mon, 12 Dec 2005 22:03:53 -0500 committer Jeff Garzik Mon, 12 Dec 2005 22:03:53 -0500 Merge branch 'master' commit d96212ed87d032d2d830e265aae14038dc1f8ad8 tree bdd824b0d842e55351ddb1da42da29c4889c4713 parent fe79e683ccdb29c13b3e0d18507474b4e2d9aab6 author Alan Cox Thu, 08 Dec 2005 19:19:50 +0000 committer Jeff Garzik Mon, 12 Dec 2005 15:33:28 -0500 [PATCH] libata: add ata_piix notes Ok lets start with the 'easy' stuff. This includes my research and summary of chip errata into the new driver so that people can refer to it when updating ata_piix. No code changes Signed-off-by: Jeff Garzik commit fed954dafc0ab03e00501862df397e8f8e2211fd tree 85874d5a83a5fa86d0ddc96846cb2bac066fa766 parent 75d070c56fa77913b165947f046304efcd38e516 author Stephen Hemminger Fri, 09 Dec 2005 11:35:12 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:22 -0500 [PATCH] sky2: version 0.10 Change version number. Still don't have enough history on this to call it 1.0 yet. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 75d070c56fa77913b165947f046304efcd38e516 tree 0f9117ae2530aedb6c5536d63bd029b10873daa7 parent 585b56012f08a6edc598d17b28a6c434134bfaff author Stephen Hemminger Fri, 09 Dec 2005 11:35:11 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:22 -0500 [PATCH] sky2: disable rx checksum on Yukon XL Under load, my SysKonnect SK-9S22 sees duplicate checksums from earlier packets. Doesn't happen on other platforms so just disable receive checksum there. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 585b56012f08a6edc598d17b28a6c434134bfaff tree 4273e79cb7c933f30da7f3e3dc72ac523b39384a parent d70cd51ac0585a9273abea4c333e8f0dd8385d27 author Stephen Hemminger Fri, 09 Dec 2005 11:35:10 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:22 -0500 [PATCH] sky2: turn on tx flow control Turn symmetric flow control on by default. This was an oversight in the initial versions. Signed-off-by: Stephen HEmminger Signed-off-by: Jeff Garzik commit d70cd51ac0585a9273abea4c333e8f0dd8385d27 tree 07b77d08e778e304727fedc0f7186f37a31e075c parent 8c463ef7928d7a42bb9ca410df9b294dc01c1850 author Stephen Hemminger Fri, 09 Dec 2005 11:35:09 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:21 -0500 [PATCH] sky2: prefetch tuning Add a couple more prefetches to where we walk the rings. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 8c463ef7928d7a42bb9ca410df9b294dc01c1850 tree 37615a7fc948094d2780aab66a354af0d4609d03 parent 8cc048e338ad4034255f3ff72ef1f631963e1263 author Stephen Hemminger Fri, 09 Dec 2005 11:35:08 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:21 -0500 [PATCH] sky2: quiet ring full message in case of race Don't print ring full message if we lose race. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 8cc048e338ad4034255f3ff72ef1f631963e1263 tree 95cb0c92ff78511ad5980dd53118b70657fb870d parent 69634ee7366d05b26b2650584bed180edf923125 author Stephen Hemminger Fri, 09 Dec 2005 11:35:07 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:21 -0500 [PATCH] sky2: handle tx timeout Put more logic in to try and handle transmit timeout recovery. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 69634ee7366d05b26b2650584bed180edf923125 tree f446c787632620f28f2b89984271788e37a2d9d2 parent 3e4b32e11674a40cf50e48a79764f12988641e20 author Stephen Hemminger Fri, 09 Dec 2005 11:35:06 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:21 -0500 [PATCH] sky2: interrupt coalescing tuning Adjust interrupt deferral values for better performance and avoid starvation issues under stress. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 3e4b32e11674a40cf50e48a79764f12988641e20 tree 228cf5cbb3d9234a5324fa938f51461850e8f599 parent af2a58acb12f6b19e6f04b730203e199abedc44a author Stephen Hemminger Fri, 09 Dec 2005 11:35:05 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:21 -0500 [PATCH] sky2: interrupt/poll optimization Optimize poll routine by not clearing interrupt till after processing, and checking for more work before re-enable. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit af2a58acb12f6b19e6f04b730203e199abedc44a tree 8fc6c649cff639a3d9af758af90f9b7806bd892b parent 13b97b74b964f9da9b5dab6c57708bccd3ada542 author Stephen Hemminger Fri, 09 Dec 2005 11:35:04 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:21 -0500 [PATCH] sky2: transmit complete routine optimization Hand optimize transmit completion routine. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 13b97b74b964f9da9b5dab6c57708bccd3ada542 tree 568bb52919395e53eb70b186e16a98c5f37f5b5a parent 0e3ff6aab1ff2d093996bd7b8c9c06c3d823855c author Stephen Hemminger Fri, 09 Dec 2005 11:35:03 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:21 -0500 [PATCH] sky2: transmit complete index optimization Change transmit complete handling to use the status values in the poll list because they are in-cache, rather than reading non-cached memory for chips status. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 0e3ff6aab1ff2d093996bd7b8c9c06c3d823855c tree 044b1b395a657643750ab79641a12889c8fdc765 parent 6cdbbdf3055f4657c9d6ccc79257bbcac1a9a1fc author Stephen Hemminger Fri, 09 Dec 2005 11:35:02 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:21 -0500 [PATCH] sky2: transmit logic fixes Some transmit side small fixes: * When computing number of list elements per transmit, do full comparision to check for checksuming. * Get rid of racy check for tx_complete * Change stop test to match wake condition. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6cdbbdf3055f4657c9d6ccc79257bbcac1a9a1fc tree c3910bd44972cb55e29a112fa932a35b17910373 parent 734d18684695dd1c6a9527b50e01bba4acab4738 author Stephen Hemminger Fri, 09 Dec 2005 11:35:01 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:20 -0500 [PATCH] sky2: tx/rx ring data structure split Split Tx and Rx ring into two different data structures. Tx needs the next value (to handle partial status), and Rx always needs the mapaddr (to handle resubmitting same buffer). Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 734d18684695dd1c6a9527b50e01bba4acab4738 tree a080ae5a4e4c6fe3a7ee5897b1e5a01c726267d4 parent 129372d0524c9124d5693f63c1d3c1ce2e3714ce author Stephen Hemminger Fri, 09 Dec 2005 11:35:00 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:20 -0500 [PATCH] sky2: map length optimization Don't need to keep track of mapping length in ring structure because we can get the same info from other info. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 129372d0524c9124d5693f63c1d3c1ce2e3714ce tree 725dc0b2a818e6a4d694ddbea9fb2f469f4adcec parent f2e46561cc1afa82b18b2fc6efc8510ec57c7d7d author Stephen Hemminger Fri, 09 Dec 2005 11:34:59 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:20 -0500 [PATCH] sky2: ring distance optimization Faster way to compute ring distance. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit f2e46561cc1afa82b18b2fc6efc8510ec57c7d7d tree 1d73466e4b0893bfd679f8efb9f2428afdf2a106 parent 91c86df5a8a44157b456bf1e91fc6d878582e68c author Stephen Hemminger Fri, 09 Dec 2005 11:34:58 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:20 -0500 [PATCH] sky2: no irq disable needed during tx Don't need to disable interrupts during the transmit routine. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 91c86df5a8a44157b456bf1e91fc6d878582e68c tree 74f9e3f1c9b78ede4350d3ad59914dd75def74e0 parent fb17358fe31e01baf902a9fd1fce0e29e3493517 author Stephen Hemminger Fri, 09 Dec 2005 11:34:57 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:20 -0500 [PATCH] sky2: phy processing in workqueue rather than tasklet Do phy processing in a work queue rather than a tasklet. This means we can let bottom halves run. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit fb17358fe31e01baf902a9fd1fce0e29e3493517 tree eaeb557cd4835bf608a20563915b1985931db55c parent bdb5c58ebe4301f9c3470cc35adeff1ef7ee99eb author Stephen Hemminger Fri, 09 Dec 2005 11:34:56 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:20 -0500 [PATCH] sky2: ethtool get/set interrupt coalescing Add support for get/set the interrupt coalescing settings. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit bdb5c58ebe4301f9c3470cc35adeff1ef7ee99eb tree d81a92afb5792af5c9195964cc7f48e16df1ef0e parent 6e23231b6509f17a251e6dfddb607d300680ac25 author Stephen Hemminger Fri, 09 Dec 2005 11:34:55 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:20 -0500 [PATCH] sky2: copy threshold as module parameter Make the copy threshold a module parameter for those who may want to turn it off. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6e23231b6509f17a251e6dfddb607d300680ac25 tree 5e65eb35ccd20f05988a09c29c3b93304249bddc parent 92f965e8c5433408d5a3805c6882b657eb6cbdb1 author Stephen Hemminger Fri, 09 Dec 2005 11:34:54 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:20 -0500 [PATCH] sky2: device structure alignment It is a useful optimization to rearrange the structure slightly to align receive and transmit portions. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 92f965e8c5433408d5a3805c6882b657eb6cbdb1 tree 063db455feceaa73fdc3305c14e17cab838e6da1 parent b1086eef813ecee09bd6b8ae364acf0fad065cba author Stephen Hemminger Fri, 09 Dec 2005 11:34:53 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:19 -0500 [PATCH] sky2: don't die if we see chip rev 0xb5 There maybe new versions of Yukon2 in the future, so make the driver more robust to handle this. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit b1086eef813ecee09bd6b8ae364acf0fad065cba tree bc723bbdfc2898252e3fd8e14320d7fac58dca4b parent 003a20c81ec278595820d3829b544e90919f6f61 parent 49d7bc64283970ee83d2c954d04ba00d04e5943d author Jeff Garzik Mon, 12 Dec 2005 15:24:45 -0500 committer Jeff Garzik Mon, 12 Dec 2005 15:24:45 -0500 Merge branch 'master' commit 56f0356321a876a1a356712f2486d6188a3b4992 tree e181142b1b10788a14194f3a574d7ee064aeb662 parent 74a89c966ebc4ec4b80fa93eee0b37ff7de7f4e6 author Michael Hanselmann Sun, 11 Dec 2005 22:33:26 -0500 committer Dmitry Torokhov Sun, 11 Dec 2005 22:33:26 -0500 Input: add the fn key to hid-debug.h Signed-off-by: Michael Hanselmann Acked-by: Johannes Berg Signed-off-by: Dmitry Torokhov commit 74a89c966ebc4ec4b80fa93eee0b37ff7de7f4e6 tree 2af812f69cc962cffdc02b58c62996733955c51b parent 58057b9e57849ae28fbcb013edfe6b5a63edc799 author Ashutosh Naik Sun, 11 Dec 2005 12:41:32 -0500 committer Dmitry Torokhov Sun, 11 Dec 2005 12:41:32 -0500 Input: wistron - add Acer TravelMate 240 to DMI table Signed-off-by: Ashutosh Naik Signed-off-by: Dmitry Torokhov commit 58057b9e57849ae28fbcb013edfe6b5a63edc799 tree 280e3b1881c74ce2fe555480cd601611db908107 parent 84c12b2410ea3b88523270064222fbf505dbf15e author Jasper Spaans Sun, 11 Dec 2005 12:41:22 -0500 committer Dmitry Torokhov Sun, 11 Dec 2005 12:41:22 -0500 Input: logips2pp - add new signature (85) Signed-off-by: Dmitry Torokhov commit 84c12b2410ea3b88523270064222fbf505dbf15e tree 7c72f2cd5409730b9e8aa861110e20c64ebc3c7e parent 3a51f7c40437077ac4a463307e9a4ae6b78755a8 author Dmitry Torokhov Sun, 11 Dec 2005 12:41:03 -0500 committer Dmitry Torokhov Sun, 11 Dec 2005 12:41:03 -0500 Input: mousedev - make module parameters visible in sysfs Signed-off-by: Dmitry Torokhov commit 3a51f7c40437077ac4a463307e9a4ae6b78755a8 tree a28ce7937a2ac917bed4c1993da4c21a1dffb4d4 parent e4f5c82a92c2a546a16af1614114eec19120e40a author Dmitry Torokhov Sun, 11 Dec 2005 12:40:37 -0500 committer Dmitry Torokhov Sun, 11 Dec 2005 12:40:37 -0500 Input: evdev - consolidate compat and regular code Compat and normal code mirror each other and are hard to maintain. When EV_SW was added compat_ioctl case was missed. Here is my attempt at consolidating the code. Signed-off-by: Dmitry Torokhov commit 44b5b0303327cfb23f135b95b2fe5436c81ed27c tree 7f1dcdaf798dbd99cd2b43709e992e3a12c015a6 parent 6aa2e4e8063114bd7cea8616dd5848d3c64b4c36 author Jack Morgenstein Fri, 09 Dec 2005 16:40:14 -0800 committer Roland Dreier Fri, 09 Dec 2005 16:40:14 -0800 IB/mthca: don't change driver's copy of attributes if modify QP fails Only change the driver's copy of the QP attributes in modify QP after checking the modify QP command completed successfully. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 6aa2e4e8063114bd7cea8616dd5848d3c64b4c36 tree 0daa26d085f163572df0292913e8f0b4818c1558 parent 94361cf74a6fca1973d2fed5338d5fb4bcd902fa author Jack Morgenstein Fri, 09 Dec 2005 16:38:04 -0800 committer Roland Dreier Fri, 09 Dec 2005 16:38:04 -0800 IB/mthca: correct log2 calculation Fix thinko in rd_atomic calculation: ffs(x) - 1 does not find the next power of 2 -- it should be fls(x - 1). Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 94361cf74a6fca1973d2fed5338d5fb4bcd902fa tree 5b96f7c52f1d1e60d3406a41393922d77abf67b3 parent 52d0df153c987e4ad57d15f5df91848f65858e5d author Jack Morgenstein Fri, 09 Dec 2005 16:32:21 -0800 committer Roland Dreier Fri, 09 Dec 2005 16:32:21 -0800 IB/mthca: check RDMA limits Add limit checking on rd_atomic and dest_rd_atomic attributes: especially for max_dest_rd_atomic, a value that is larger than HCA capability can cause RDB overflow and corruption of another QP. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 52d0df153c987e4ad57d15f5df91848f65858e5d tree f6c199504a940994344a1e89bfbeea953f092ef1 parent 0efc4883a6b3de12476cd7a35e638c0a9f5fd75f author Jack Morgenstein Fri, 09 Dec 2005 13:48:50 -0800 committer Roland Dreier Fri, 09 Dec 2005 13:48:50 -0800 IB/mthca: fix memory user DB table leak Free the memory allocated in mthca_init_user_db_tab() when releasing the db_tab in mthca_cleanup_user_db_tab(). Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 0efc4883a6b3de12476cd7a35e638c0a9f5fd75f tree 5d15957003282be61923d1ba475b49538ec87ac9 parent de1bb1a64c29bae4f5330c70bd1dc6a62954c9f4 author Jack Morgenstein Fri, 09 Dec 2005 13:46:32 -0800 committer Roland Dreier Fri, 09 Dec 2005 13:46:32 -0800 IB/umad: fix memory leaks Don't leak packet if it had a timeout, and don't leak timeout struct if queue_packet() fails. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 95235ca2c20ac0b31a8eb39e2d599bcc3e9c9a10 tree cdfbebe72a1563f1bfe16b0335da7f9ecb78a91d parent 9a7d82a89a8bf55b112f2a5c3b3f405eb95a4303 author Venkatesh Pallipadi Fri, 02 Dec 2005 10:43:20 -0800 committer Dave Jones Tue, 06 Dec 2005 19:35:11 -0800 [CPUFREQ] CPU frequency display in /proc/cpuinfo What is the value shown in "cpu MHz" of /proc/cpuinfo when CPUs are capable of changing frequency? Today the answer is: It depends. On i386: SMP kernel - It is always the boot frequency UP kernel - Scales with the frequency change and shows that was last set. On x86_64: There is one single variable cpu_khz that gets written by all the CPUs. So, the frequency set by last CPU will be seen on /proc/cpuinfo of all the CPUs in the system. What you see also depends on whether you have constant_tsc capable CPU or not. On ia64: It is always boot time frequency of a particular CPU that gets displayed. The patch below changes this to: Show the last known frequency of the particular CPU, when cpufreq is present. If cpu doesnot support changing of frequency through cpufreq, then boot frequency will be shown. The patch affects i386, x86_64 and ia64 architectures. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Dave Jones commit 9a7d82a89a8bf55b112f2a5c3b3f405eb95a4303 tree 099473309484900e0b0d5263fbadf1c446088e46 parent 1a10760c91c394dfe4adfefeeaf85cd8098c4894 author Mattia Dongili Wed, 30 Nov 2005 22:00:59 +0100 committer Dave Jones Tue, 06 Dec 2005 19:27:15 -0800 [CPUFREQ] Move PMBASE reading away and do it only once at initialization time This patch moves away PMBASE reading and only performs it at cpufreq_register_driver time by exiting with -ENODEV if unable to read the value. Signed-off-by: Mattia Dongili Acked-by: Dominik Brodowski Signed-off-by: Dave Jones commit 1a10760c91c394dfe4adfefeeaf85cd8098c4894 tree 80e6bfa8c8c247843bfbc90b9809ffafda1841f8 parent fc457fa7c0cdbfe96812ba377e508880d600298f author Mattia Dongili Fri, 02 Dec 2005 21:59:41 +0100 committer Dave Jones Tue, 06 Dec 2005 19:27:15 -0800 [CPUFREQ] Measure transition latency at driver initialization The attached patch introduces runtime latency measurement for ICH[234] based chipsets instead of using CPUFREQ_ETERNAL. It includes some sanity checks in case the measured value is out of range and assigns a safe value of 500uSec that should still be enough on problematics chipsets (current testing report values ~200uSec). The measurement is currently done in speedstep_get_freqs in order to avoid further unnecessary transitions and in the hope it'll come handy for SMI also. Signed-off-by: Mattia Dongili Acked-by: Dominik Brodowski Signed-off-by: Dave Jones speedstep-ich.c | 4 ++-- speedstep-lib.c | 32 +++++++++++++++++++++++++++++++- speedstep-lib.h | 1 + speedstep-smi.c | 1 + 4 files changed, 35 insertions(+), 3 deletions(-) commit fc457fa7c0cdbfe96812ba377e508880d600298f tree 514049d61cf8b1587141a375ba3ec4f71e09a9db parent cc6e8de8f0fab61760bb7091fb19eef1406e17be parent e4f5c82a92c2a546a16af1614114eec19120e40a author Dave Jones Tue, 06 Dec 2005 19:14:09 -0800 committer Dave Jones Tue, 06 Dec 2005 19:14:09 -0800 Merge ../linus/ commit cc6e8de8f0fab61760bb7091fb19eef1406e17be tree 9d932948b656545f8806dc769ab0d6f471058d74 parent d4921914de19339d7cd987d2ed6d48754821f41a author Dave Jones Tue, 06 Dec 2005 15:03:55 -0800 committer Dave Jones Tue, 06 Dec 2005 15:03:55 -0800 [CPUFREQ] Change loglevels on powernow-k8 bios error printk's. If a user has booted with 'quiet', some important messages don't get displayed which really should. We've seen at least one case where powernow-k8 stopped working, and the user needed a BIOS update that they didn't know about. Signed-off-by: Dave Jones commit fe79e683ccdb29c13b3e0d18507474b4e2d9aab6 tree 855a61daec6898c089d135f54ab1fd6283edf27b parent d8fe452b3e8e9ea6d62a3d116a092999fabae407 author Albert Lee Tue, 06 Dec 2005 11:34:59 +0800 committer Jeff Garzik Tue, 06 Dec 2005 04:49:23 -0500 [PATCH] libata: err_mask misc fix 1. ata_pio_complete(): It seems unnecessary to wait for the clearing of the DRQ bit. (Waiting for BSY=0 should be enough. ata_ok() also checks the correctness of the status bits later.) 2. ata_pio_block(): - added error checking, before transfering data. - minor comments fix Signed-off-by: Albert Lee ============ Signed-off-by: Jeff Garzik commit d8fe452b3e8e9ea6d62a3d116a092999fabae407 tree 8fdc1ae032ec0a7e223d33fc92c37fc6e36f4a7c parent 1c8489840e6b080e810e588423c1b6dd5913cf18 author Albert Lee Mon, 05 Dec 2005 15:42:17 +0800 committer Jeff Garzik Tue, 06 Dec 2005 04:49:23 -0500 [PATCH] libata: determine the err_mask directly in atapi_packet_task() - set qc->err_mask directly when we found the error - remove the code to determine err_mask from device status Signed-off-by: Albert Lee ============ Signed-off-by: Jeff Garzik commit 1c8489840e6b080e810e588423c1b6dd5913cf18 tree 3b0061fc1f571570e8ddf6069277b497a951f385 parent a22e2eb0710798009b8e696ae911aef745089dd6 author Albert Lee Mon, 05 Dec 2005 15:40:15 +0800 committer Jeff Garzik Tue, 06 Dec 2005 04:49:23 -0500 [PATCH] libata: determine the err_mask when the error is found - move "qc->err_mask |= AC_ERR_ATA_BUS" to where the error is found - add "assert(qc->err_mask)" to ata_pio_error() to make sure qc->err_mask was available when we enter the error state Signed-off-by: Albert Lee ============ Signed-off-by: Jeff Garzik commit a22e2eb0710798009b8e696ae911aef745089dd6 tree 93421443499249db0301868e07f24156c456cf7a parent c14b8331ec4843e4f2b67a4d847a0d812a50e43c author Albert Lee Mon, 05 Dec 2005 15:38:02 +0800 committer Jeff Garzik Tue, 06 Dec 2005 04:49:22 -0500 [PATCH] libata: move err_mask to ata_queued_cmd - remove err_mask from the parameter list of the complete functions - move err_mask to ata_queued_cmd - initialize qc->err_mask when needed - for each function call to ata_qc_complete(), replace the err_mask parameter with qc->err_mask. Signed-off-by: Albert Lee =============== Signed-off-by: Jeff Garzik commit c14b8331ec4843e4f2b67a4d847a0d812a50e43c tree 453d07d81ded3b4845aab08f4825a7dda35340f5 parent f38f2a2c6f32bb29bacb95acd8f8a0d6b7270fa9 author Albert Lee Mon, 05 Dec 2005 15:36:08 +0800 committer Jeff Garzik Tue, 06 Dec 2005 04:49:22 -0500 [PATCH] libata: minor patch before moving err_mask - add qc to ata_pio_poll() - reorder the initialization of qc in ata_pio_complete() Signed-off-by: Albert Lee =================== Signed-off-by: Jeff Garzik commit 3c92cae74b24bdd521ad67eff260a8e4ce540d2b tree 136e15b2ddfc75f88e177f53c8e3a7c648333537 parent fd8a882b612de93b351996ed42a9557afc1f8c34 parent 436b0f76f2cee6617f27a649637766628909dd5d author Jeff Garzik Tue, 06 Dec 2005 04:40:05 -0500 committer Jeff Garzik Tue, 06 Dec 2005 04:40:05 -0500 Merge branch 'master' commit 003a20c81ec278595820d3829b544e90919f6f61 tree a2a4a5a9c63fa16bd4982876ebbe396c6800b9c5 parent 2fde9901f6702ab82b5b2740fec9a7f9a80ddde4 parent 436b0f76f2cee6617f27a649637766628909dd5d author Jeff Garzik Tue, 06 Dec 2005 04:39:48 -0500 committer Jeff Garzik Tue, 06 Dec 2005 04:39:48 -0500 Merge branch 'master' commit f38f2a2c6f32bb29bacb95acd8f8a0d6b7270fa9 tree 2aede472598487d69923875325c0e20ae68d5adf parent 4ef679e6caf1261b6380a610a705a90d7e2738c6 parent 436b0f76f2cee6617f27a649637766628909dd5d author Jeff Garzik Tue, 06 Dec 2005 04:12:02 -0500 committer Jeff Garzik Tue, 06 Dec 2005 04:12:02 -0500 Merge branch 'master' commit e38dc0ae24635a2a8a68d87cd0f4a13e74a52d98 tree da55e59e35194bfc2cc389008d5b745619b4447d parent 61c7f775ca25ccfc0e51486103a724fb1a3a08f2 author Stefan Richter Mon, 05 Dec 2005 16:29:02 -0500 committer Jody McIntyre Mon, 05 Dec 2005 16:29:02 -0500 ieee1394: remove nonexistent functions from nodemgr.h Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 61c7f775ca25ccfc0e51486103a724fb1a3a08f2 tree 90bbd7f117a3831f3bb38ca9bc512de039062f2f parent c4fc108a8275f5eb77c9859725643a6870d20ef6 author Stefan Richter Mon, 05 Dec 2005 16:28:59 -0500 committer Jody McIntyre Mon, 05 Dec 2005 16:28:59 -0500 ieee1394: write broadcast_channel only to select nodes (fixes device recognition) Some old 1394-1995 SBP-2 bridges would hang if they received a broadcast write request to BROADCAST_CHANNEL before the config ROM was read. Affected devices include Datafab MD2-FW2 2.5" HDD and SmartDisk VST FWCDRW-V8 portable CD writer. The write request is now directed to specific nodes instead of being broadcast to all nodes at once, and it is only performed if a previous read request at this register succeeded. Fixes an old interoperability problem which was perceived as a 2.6.14-specific regression: http://marc.theaimsgroup.com/?t=113190586800003 Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit c4fc108a8275f5eb77c9859725643a6870d20ef6 tree de7ce4af8e49ad2504fc270594124ec8ec874857 parent 741854e4f9a23421e194df8d846899172ff393d6 parent e4f5c82a92c2a546a16af1614114eec19120e40a author Jody McIntyre Mon, 05 Dec 2005 15:52:41 -0500 committer Jody McIntyre Mon, 05 Dec 2005 15:52:41 -0500 Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit fd8a882b612de93b351996ed42a9557afc1f8c34 tree baadcaa7217cc40f41f04eb40c0d1236cf462716 parent c8a4f06e4b27dba425ed49fa603d9257e4cd9ece parent 3b6efee9231e12fce09c94930bfc59f66f18d662 author Jeff Garzik Sat, 03 Dec 2005 21:08:17 -0500 committer Jeff Garzik Sat, 03 Dec 2005 21:08:17 -0500 Merge branch 'master' commit 2fde9901f6702ab82b5b2740fec9a7f9a80ddde4 tree 0ca92fabd4169095a50b43b8981d2a6c54f98531 parent f89c2b464558a21fd3be8d578b7d13e810fb6b8a parent 3b6efee9231e12fce09c94930bfc59f66f18d662 author Jeff Garzik Sat, 03 Dec 2005 21:03:28 -0500 committer Jeff Garzik Sat, 03 Dec 2005 21:03:28 -0500 Merge branch 'master' commit 4ef679e6caf1261b6380a610a705a90d7e2738c6 tree 6b59360c267508647ae4492f171668ef6ce82e32 parent 98ac62defe529d04a192688f40d801a2d8fbcf98 parent 9a40525788a1b692ee0fc780a8cdb2ac808de1b0 author Jeff Garzik Sat, 03 Dec 2005 20:34:14 -0500 committer Jeff Garzik Sat, 03 Dec 2005 20:34:14 -0500 Merge branch 'upstream-fixes' commit f89c2b464558a21fd3be8d578b7d13e810fb6b8a tree ffac18b8c1a929ff57af0d626b10cb383d0fd2ad parent d359b6ff6a79e250422fdfa991b36d37c286eda1 author Stephen Hemminger Thu, 01 Dec 2005 08:41:32 -0800 committer Jeff Garzik Sat, 03 Dec 2005 20:29:03 -0500 [PATCH] sky2: interrupt not cleared. One of the rearrangements dropped this and it means sky2 spins in napi/interrupt. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit d359b6ff6a79e250422fdfa991b36d37c286eda1 tree 715b57bf5d944081ca85a662ce5f48423084f3cb parent 0f52bf905884c6dd7f994c9e2f533b2c02f0bd4b author Stephen Hemminger Thu, 01 Dec 2005 11:12:47 -0800 committer Jeff Garzik Sat, 03 Dec 2005 20:29:03 -0500 [PATCH] ixp2000: change netif_schedule_test to __netif_schedule_prep Sky2 update changed name of netif_schedule_test to __netif_schedule_prep Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 741854e4f9a23421e194df8d846899172ff393d6 tree 2ca98e6bcc7515eb3065ffa2be8c0c535502b493 parent 546513f9fd96cba613cc2d025ee03d32d79394b7 author Stefan Richter Thu, 01 Dec 2005 18:52:03 -0500 committer Jody McIntyre Thu, 01 Dec 2005 18:52:03 -0500 ieee1394: whitespace cleanup in hosts.[ch], ieee1394_core.[ch] Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 546513f9fd96cba613cc2d025ee03d32d79394b7 tree 37e44d9741d6cb2c389b176105144a0d936f29e6 parent d7758461b9a8253f1c125e5907579e0594d29e3b author Stefan Richter Thu, 01 Dec 2005 18:52:01 -0500 committer Jody McIntyre Thu, 01 Dec 2005 18:52:01 -0500 ieee1394: hpsb_send_phy_config() cleanup Eliminate some code in hpsb_send_phy_config() which is provided by hpsb_make_phypacket(). Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit d7758461b9a8253f1c125e5907579e0594d29e3b tree 3273cf3f8a33dd962326d08cb6030e9c6d881f0b parent 14c0fa243b358c24040ff5f44b60c47aaf6430c3 author Stefan Richter Thu, 01 Dec 2005 18:51:56 -0500 committer Jody McIntyre Thu, 01 Dec 2005 18:51:56 -0500 ieee1394: add definitions for phy packet constants Introduce new macros related to phy packets and use them in ieee1394_core and nodemgr. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 14c0fa243b358c24040ff5f44b60c47aaf6430c3 tree e338f694399b1c9b2f3e6ba82fad648a677012cf parent 01fc99864ecc678c4f1f476b2a8b64ebcb14e733 author Stefan Richter Thu, 01 Dec 2005 18:51:52 -0500 committer Jody McIntyre Thu, 01 Dec 2005 18:51:52 -0500 ieee1394: resume remote ports when starting a host (fixes device recognition) After initializing an IEEE 1394 host, broadcast a resume packet. This makes remote nodes visible which suspended their ports while the host was down. Such nodes had to be unplugged and replugged in order to be recognized. Motorola DCT6200 cable reciever was affected, probably other devices too. http://marc.theaimsgroup.com/?t=113202715800001 Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 0f52bf905884c6dd7f994c9e2f533b2c02f0bd4b tree 42e15d05ffb12e7bfa3be630c383efb19a9ceed9 parent c75f4742e2306a319baaa556e53209d4e7c47f0d author Brice Goglin Thu, 01 Dec 2005 01:41:46 -0800 committer Jeff Garzik Thu, 01 Dec 2005 04:51:34 -0500 [PATCH] Duplicate IPW_DEBUG option for ipw2100 and 2200 There are currently two IPW_DEBUG options in drivers/net/wireless/Kconfig (one for ipw2100 and one for ipw2200). The attached patch splits it into IPW2100_DEBUG and IPW2200_DEBUG. Signed-off-by: Brice Goglin Cc: "James P. Ketrenos" Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit c75f4742e2306a319baaa556e53209d4e7c47f0d tree 6644c1c802b8a4f9efb02eca774d9ec24c5fa845 parent 62d65a8062530a4b2673999deb9be368fa60ca87 author Takis Thu, 01 Dec 2005 01:41:45 -0800 committer Jeff Garzik Thu, 01 Dec 2005 04:51:34 -0500 [PATCH] ipw2200: kzalloc conversion and Kconfig dependency fix - Use kzalloc for IPW2200 - Fix config dependency for IPW2200 Signed-off-by: Panagiotis Issaris Cc: James Ketrenos Cc: Yi Zhu Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 62d65a8062530a4b2673999deb9be368fa60ca87 tree 89ccd9b8de02b247f145275311378280ae26cdfb parent f89b23217372ed9bdba8804c1616d445402d1e05 parent ea182d4aefa3a27847d890b1592a608d1180aa45 author Jeff Garzik Thu, 01 Dec 2005 04:51:26 -0500 committer Jeff Garzik Thu, 01 Dec 2005 04:51:26 -0500 Merge branch 'upstream-fixes' commit d4921914de19339d7cd987d2ed6d48754821f41a tree 6b16628fca942bc220ada8251820f31341ed089a parent 537208c8072280ab87916710d5a3f7ef11ab94ff author Gabriel A. Devenyi Thu, 01 Dec 2005 01:09:22 -0800 committer Dave Jones Thu, 01 Dec 2005 01:23:24 -0800 [PATCH] cpufreq-nforce2.c fix u32<0 test Thanks to LinuxICC (http://linuxicc.sf.net), a comparison of a u32 less than 0 was found, this patch changes the variable to a signed int so that comparison is meaningful. Signed-off-by: Gabriel A. Devenyi Signed-off-by: Andrew Morton Signed-off-by: Dave Jones commit 537208c8072280ab87916710d5a3f7ef11ab94ff tree 109b9760f337e3c9fdf46166960292cccf370f5c parent 001893cda2f280ab882164737a0b608208524809 author Alexander Clouter Thu, 01 Dec 2005 01:09:23 -0800 committer Dave Jones Thu, 01 Dec 2005 01:23:23 -0800 [PATCH] cpufreq: documentation for 'ondemand' and 'conservative' Added a more verbose entry for the 'ondemend' governor and an entry for the 'conservative' governor to the documentation. Signed-off-by: Alexander Clouter Signed-off-by: Andrew Morton Signed-off-by: Dave Jones commit 001893cda2f280ab882164737a0b608208524809 tree 99e25fb9dc8f525a66c9e04d9109e008b3141200 parent 6df8900676c3f5c133328332fb8ad889fd0cc9e3 author Alexander Clouter Thu, 01 Dec 2005 01:09:25 -0800 committer Dave Jones Thu, 01 Dec 2005 01:23:23 -0800 [PATCH] cpufreq_conservative/ondemand: invert meaning of 'ignore nice' The use of the 'ignore_nice' sysfs file is confusing to anyone using it. This removes the sysfs file 'ignore_nice' and in its place creates a 'ignore_nice_load' entry that defaults to '0'; meaning nice'd processes _are_ counted towards the 'business' calculation. WARNING: this obvious breaks any userland tools that expected ignore_nice' to exist, to draw attention to this fact it was concluded on the mailing list that the entry should be removed altogether so the userland app breaks and so the author can build simple to detect workaround. Having said that it seems currently very few tools even make use of this functionality; all I could find was a Gentoo Wiki entry. Signed-off-by: Alexander Clouter Signed-off-by: Andrew Morton Signed-off-by: Dave Jones commit f89b23217372ed9bdba8804c1616d445402d1e05 tree cb2c44e47590dfca02f98ecd5f7c973db2f241ba parent 127477840b9fd205958203648b9fa89860d69a43 author Dan Streetman Fri, 11 Nov 2005 11:41:42 -0500 committer Jeff Garzik Thu, 01 Dec 2005 02:40:34 -0500 [PATCH] airo.c: add support for IW_ENCODE_TEMP (i.e. xsupplicant) Hello Jeff, this patch changes causes the airo driver to not reset the card when a temporary WEP key is set, when the IW_ENCODE_TEMP flag is used. This is needed for xsupplicant as 802.1x, LEAP, etc. change WEP keys frequently after authentication and resetting the card causes infinite reauthentication. Javier and Jean agree with the patch, Javier suggested I send this to you, can you apply this? Thanks. Signed-off-by: Dan Streetman Signed-off-by: Jeff Garzik commit 98ac62defe529d04a192688f40d801a2d8fbcf98 tree f37be3b98a245f83d6c2ed37938377ed0b1bcae6 parent 6946d28a9f47f50fe3dd916e8b4229de9769108e author Arjan van de Ven Mon, 28 Nov 2005 10:06:23 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:29:35 -0500 [PATCH] mark several libata datastructures const Hi, the patch below marks several libata (and libata-driver) structures const so that they end up in the .rodata segment and don't false-share cachelines with things that get dirtied often. Signed-off-by: Arjan van de Ven Signed-off-by: Jeff Garzik commit 127477840b9fd205958203648b9fa89860d69a43 tree 3baa9ce7235569abb107d1f81b1dcc05257cd4db parent 8ce51d69b755c39e714826899631629209896b70 author Lennert Buytenhek Wed, 23 Nov 2005 12:50:08 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:27 -0500 [PATCH] ixp2000: add driver version, bump version to 0.2 Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 8ce51d69b755c39e714826899631629209896b70 tree 1ba9f46705d8c5f1eed3a27d1fd423799ced6a14 parent cffbfcaf00c4a36592fabd54ae9f960b552322b6 author Lennert Buytenhek Wed, 23 Nov 2005 12:50:04 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:27 -0500 [PATCH] ixp2000: add netpoll support Add netpoll support to the ixp2000 driver. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit cffbfcaf00c4a36592fabd54ae9f960b552322b6 tree 02331a95ba0130f090cb9234e253dd2678da7c0d parent c6e429bdd6f0142558896e29c21a526c1ffdd1f3 author Lennert Buytenhek Wed, 23 Nov 2005 12:49:59 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:27 -0500 [PATCH] enp2611: disable/enable SERDES carrier on interface down/up Disable/enable the SERDES carrier when an interface is administratively downed/upped. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit c6e429bdd6f0142558896e29c21a526c1ffdd1f3 tree 1577129f1762d81b5e54600768289d6ebb270aec parent df86550602f320d28fdaeb577c25f9821525bfa0 author Lennert Buytenhek Wed, 23 Nov 2005 12:49:55 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:27 -0500 [PATCH] pm3386: implement reset Implement pm3386 reset. A reset zeroes out the internally stored MAC addresses, so we need to save and reload them by hand. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit df86550602f320d28fdaeb577c25f9821525bfa0 tree babe84aafa5f1dda0849d87954f76d6b844e1d28 parent 0b85c0ebde63a41d57b6214977ac2752bf5a086f author Lennert Buytenhek Wed, 23 Nov 2005 12:49:51 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:27 -0500 [PATCH] pm3386: add hook for setting carrier Add a pm3386 hook for disabling/enabling the SERDES carrier, so that we can disable it when the interface is administratively downed, and enable it when it is upped. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 0b85c0ebde63a41d57b6214977ac2752bf5a086f tree 3ea968ce6be1c92aa6057958633af6392341b105 parent 7ed98bfdea45dbdc66261660357659470935a03a author Lennert Buytenhek Wed, 23 Nov 2005 12:49:47 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:26 -0500 [PATCH] pm3386: add hook for setting MAC address When we reset the pm3386, it loses its internally stored MAC addresses that were programmed into it by the bootloader (and are used by the hardware for the generation of PAUSE frames.) Add a hook to allow setting these addresses so that we can program them back by hand. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 7ed98bfdea45dbdc66261660357659470935a03a tree 43836b1d4869c7a6863f2eb6325a7b3f6e81b71c parent 350f19632d18e808aa1f2ca96f2be86c67de67ff author Lennert Buytenhek Wed, 23 Nov 2005 12:49:43 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:26 -0500 [PATCH] ixp2000: report MAC addresses for each port on init After initialising, report the MAC address that we're using for each port. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 350f19632d18e808aa1f2ca96f2be86c67de67ff tree c7596345ed0cffe6f3d763cf4bbf113a4b9a4ac3 parent c44185d4dcb92384c22e6c01dc09c25adae36a82 author Lennert Buytenhek Wed, 23 Nov 2005 12:49:40 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:26 -0500 [PATCH] enp2611: report link up/down events Report carrier going up/down. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit c44185d4dcb92384c22e6c01dc09c25adae36a82 tree 7a38ba1faaf15caeed9ae41d89b3fa44caa8fbe9 parent de287fd596e2e9ea9a29c397322d0a8b8a470cd1 author Lennert Buytenhek Wed, 23 Nov 2005 12:49:35 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:26 -0500 [PATCH] enp2611: use 'dev' in link status timer We assign nds[i] to a local variable 'dev', which we never use afterwards. Use the local variable instead. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit de287fd596e2e9ea9a29c397322d0a8b8a470cd1 tree 3fcf649ed94a9826eb34a53ff3fa8af257f91bda parent ee61249468ec9bb8d032896ae2e8ba8a8b8c3972 author Lennert Buytenhek Wed, 23 Nov 2005 12:49:30 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:26 -0500 [PATCH] enp2611: don't check netif_running() in link status timer Even after an interface has gone !netif_running(), we still want to catch the 'carrier went down' event for our internal bookkeeping. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit ee61249468ec9bb8d032896ae2e8ba8a8b8c3972 tree f75e8b32e807bc39633fa04d5f47f1c381343ce5 parent 6744a5069bdadd96324290d015103163a0f7a45b author Lennert Buytenhek Wed, 23 Nov 2005 12:49:25 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:26 -0500 [PATCH] ixp2000: use netif_rx_schedule_test The sky2 driver introduced netif_rx_schedule_test(). This is exactly what we need, so remove our local version of this function (which was called netif_rx_schedule_prep_notup) and use the generic one instead. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 6744a5069bdadd96324290d015103163a0f7a45b tree e42efb221b58c2b6d4d27074d114f31094167b6b parent f48a8815f8535c62714cb596281d8480ba9e78ea author Lennert Buytenhek Wed, 23 Nov 2005 12:49:21 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:26 -0500 [PATCH] caleb/pm3386: include proper header files Make caleb.c and pm3386.c include their own header files, to catch incorrect prototype definitions. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit f48a8815f8535c62714cb596281d8480ba9e78ea tree 0ac0c6b826e1d6d7c716bc19aa05c4164f5749d0 parent 178f171da7f0ea5cfc1c45932680c81b3a8a0bd6 author Lennert Buytenhek Wed, 23 Nov 2005 12:49:15 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:26 -0500 [PATCH] pm3386: remove unnecessary udelays Remove a number of unnecessary udelay() calls. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 178f171da7f0ea5cfc1c45932680c81b3a8a0bd6 tree 917fb452574c90838fb3042c39069819bbde4494 parent 0c49919a4706cc8c72ff381da7f3ae094e6df03a author Lennert Buytenhek Wed, 23 Nov 2005 12:49:10 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:25 -0500 [PATCH] pm3386: zero stats properly Zero our stats structure properly. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 0c49919a4706cc8c72ff381da7f3ae094e6df03a tree fe755520cdbf3ecabec1678eb6f6cc1e7362c062 parent 35b8fcab1b293cadd54cdf9e9636cc576d2cad88 author Lennert Buytenhek Wed, 23 Nov 2005 12:49:05 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:25 -0500 [PATCH] ixp2000: register netdevices last Do not register our netdevices with the kernel until we've actually finished setting up the hardware and microcode. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 35b8fcab1b293cadd54cdf9e9636cc576d2cad88 tree bdd203381a36fdeaba35329d4e713b3475685ecb parent 8f7a17d12a8cfd0ab4a50dded8390f6c44f1f205 author shemminger@osdl.org Wed, 23 Nov 2005 22:00:54 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:22:52 -0500 [PATCH] sk98lin: remove /proc interface Remove device specific proc interface. It doesn't handle renames correctly; it ain't worth fixing. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 8f7a17d12a8cfd0ab4a50dded8390f6c44f1f205 tree 87f839240bc9271ba9ecceda5938ddf1bc42223a parent 09f5a214389fe467c2ff15aa2b85349bbde15bce author shemminger@osdl.org Wed, 23 Nov 2005 22:00:53 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:22:52 -0500 [PATCH] sk98lin: remove redundant fields in device info Shrink size of per device data by removing redundant fields or things that are only used at boot up. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 09f5a214389fe467c2ff15aa2b85349bbde15bce tree 3d7929315ebcc558d11fd312796a5c2e99731af3 parent e9022ee6c348d41cb62c55e15a9711f7a96f2399 author shemminger@osdl.org Wed, 23 Nov 2005 22:00:52 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:22:52 -0500 [PATCH] sk98lin: allow ethtool checksum on/off per port Allow control of checksumming parameters via ethtool. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit e9022ee6c348d41cb62c55e15a9711f7a96f2399 tree feaf8a52abe154d492c2be23420ed157395ddcbb parent 5f4f9dc113a7aedca072851f3a51cc563f8e143f parent be0df20cb5ffd36ced9393d004e473d5c531b5da author Jeff Garzik Thu, 01 Dec 2005 02:22:47 -0500 committer Jeff Garzik Thu, 01 Dec 2005 02:22:47 -0500 Merge branch 'upstream-fixes' commit 5f4f9dc113a7aedca072851f3a51cc563f8e143f tree d5d7af1fdd5669a1d57911911bb5502ff45fdb77 parent 50241c4c59453fae01555f67daa96d799d85b968 author shemminger@osdl.org Wed, 30 Nov 2005 11:45:23 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:21 -0500 [PATCH] sky2: update version number Update version number and print version in boot message. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 50241c4c59453fae01555f67daa96d799d85b968 tree ae9183867f950b531ceb2837cc5575b27c3632d0 parent af4ed7e6ba0cba388cf691f3a330089bd46e4d9e author shemminger@osdl.org Wed, 30 Nov 2005 11:45:22 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:21 -0500 [PATCH] sky2: use pci_register_driver Switch to using pci_register_driver as per current convention. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit af4ed7e6ba0cba388cf691f3a330089bd46e4d9e tree ec4da6f110bf391d6a3796629661c7e2a38c99e1 parent 65497dacd8104004f5115dcb2dfe1bf697154ce9 author shemminger@osdl.org Wed, 30 Nov 2005 11:45:21 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:21 -0500 [PATCH] sky2: remove pci-express hacks Eliminate special case tuning for PCI-Express. This code causes receive hangs and doesn't help performance much anyway. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 65497dacd8104004f5115dcb2dfe1bf697154ce9 tree 71d0654c88d08a27815ed239b03cd4f2f9b919a2 parent 2224795d7e4c7f7e44fe21f0fa067d62539308fb author shemminger@osdl.org Wed, 30 Nov 2005 11:45:20 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:20 -0500 [PATCH] sky2: byteorder annotation Use byteorder annotation for hardware structures Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 2224795d7e4c7f7e44fe21f0fa067d62539308fb tree 6414d3d4307daa181b6fc2b19762bd75f2d19ba7 parent 018d1c667ef4dce5299dd79d38447840789c97d6 author shemminger@osdl.org Wed, 30 Nov 2005 11:45:19 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:20 -0500 [PATCH] sky2: dual port tx completion Sometimes on dual port cards, one tx complete may cover both ports. To handle that rearrange poll routine to lookup at end. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 018d1c667ef4dce5299dd79d38447840789c97d6 tree d208b079dcf74dc2c2e9fa4fc6212fefa2172d4d parent 0a1225769763779288d759e904c4f5a660844ce4 author shemminger@osdl.org Wed, 30 Nov 2005 11:45:18 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:20 -0500 [PATCH] sky2: race with MTU change Avoid possible race conditions when doing MTU and change and shutdown. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 0a1225769763779288d759e904c4f5a660844ce4 tree ead21d103bde6bf9099fa05002a7a30078e5e7b6 parent a018e3305fe1e500e28830666b1757b75c6b4df5 author shemminger@osdl.org Wed, 30 Nov 2005 11:45:17 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:20 -0500 [PATCH] sky2: change netif_rx_schedule_test to __netif_schedule_prep I didn't like the name netif_rx_schedule_test(), in earlier patches and changed to __netif_rx_schedule_prep to be more consistent. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit a018e3305fe1e500e28830666b1757b75c6b4df5 tree c67e376ed636971dd9a1fb5fd0ace0228e6399c9 parent 5a5b1ea026572ac0e5e03d7322deb546d60f9e6e author shemminger@osdl.org Wed, 30 Nov 2005 11:45:16 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:20 -0500 [PATCH] sky2: handle DMA boundary crossing Handle the case of DMA spanning 32 bit boundary. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 5a5b1ea026572ac0e5e03d7322deb546d60f9e6e tree 11b85e1097a755559ffb49cb263129885d7cfdfc parent 13210ce5c06ed9537558b85e9c0df4248b28f1f7 author shemminger@osdl.org Wed, 30 Nov 2005 11:45:15 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:20 -0500 [PATCH] sky2: add Yukon-EC ultra support Add support for Yukon-EC Ultra chip as implemented in SysKonnect's driver version 8.26. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 13210ce5c06ed9537558b85e9c0df4248b28f1f7 tree 8fd431a7f071818b82d156ce57604dfd9cc11ded parent 42eeea0145a1c7570624ddeaa15d3f357a52edf8 author shemminger@osdl.org Wed, 30 Nov 2005 11:45:14 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:20 -0500 [PATCH] sky2: improve receive performance Changes to receive side processing: * bigger receive ring * clean up polling loop Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 42eeea0145a1c7570624ddeaa15d3f357a52edf8 tree 4829f52d291508b251e2782e0b6d2d921fd9c858 parent ef743d3359813795fb38c4308bff2311eb30651f author shemminger@osdl.org Wed, 30 Nov 2005 11:45:13 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:19 -0500 [PATCH] sky2: fix receive flush/pause issues Fix issues with pause and flush. This code works on all chip versions tested. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit ef743d3359813795fb38c4308bff2311eb30651f tree 1e8c330cc6cd0d990a83de53c7f12c79821843a4 parent 214376434863f9ca109a7853fbbd6db284d3fba7 author shemminger@osdl.org Wed, 30 Nov 2005 11:45:12 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:19 -0500 [PATCH] sky2: add MII support Add MII ioctl interface to sky2. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 214376434863f9ca109a7853fbbd6db284d3fba7 tree 98dac6bedd25e7c6361b950c5efbd5c432e4bd89 parent e538af42e416ac17368593370f7e1f5a71d55197 author shemminger@osdl.org Wed, 30 Nov 2005 11:45:11 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:19 -0500 [PATCH] sky2: eliminate special case for EC-A1 Eliminate special case for EC-A1. The overhead isn't so great that having config option is worth it. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6946d28a9f47f50fe3dd916e8b4229de9769108e tree eaa7499bf7fd367cbacf777d8eec8ed038ef287d parent 6c9e5eb522bca694a0311898039d2707e9bc7783 parent 5666c0947ede0432ba5148570aa66ffb9febff5b author Jeff Garzik Thu, 01 Dec 2005 01:58:36 -0500 committer Jeff Garzik Thu, 01 Dec 2005 01:58:36 -0500 Merge branch 'master' commit e538af42e416ac17368593370f7e1f5a71d55197 tree 507b90ccb700de4f564cc1a2def19658fe054a0c parent 2226340eb8df9c42f9fca74582d08d5117fc0cec parent 5666c0947ede0432ba5148570aa66ffb9febff5b author Jeff Garzik Thu, 01 Dec 2005 01:54:02 -0500 committer Jeff Garzik Thu, 01 Dec 2005 01:54:02 -0500 Merge branch 'master' commit c8a4f06e4b27dba425ed49fa603d9257e4cd9ece tree e303035bfce92ce11306cea1f487513781ef7d06 parent 4ab432677957e0a064bba3690004d3244de8ad6c parent 5666c0947ede0432ba5148570aa66ffb9febff5b author Jeff Garzik Thu, 01 Dec 2005 01:53:40 -0500 committer Jeff Garzik Thu, 01 Dec 2005 01:53:40 -0500 Merge branch 'master' commit 6c9e5eb522bca694a0311898039d2707e9bc7783 tree 2dfb79fab2031ae0ebb356457532eeb4d31628da parent b71d4da092801634d04190693a38ca03bdbe2505 author Jeff Garzik Wed, 30 Nov 2005 16:42:55 -0500 committer Jeff Garzik Wed, 30 Nov 2005 16:42:55 -0500 [libata sata_promise] minor whitespace cleanup commit 6df8900676c3f5c133328332fb8ad889fd0cc9e3 tree 089fbc42c65cf6768acb99a8b547ad48f2bf4d15 parent be37bdbce7ceaacf4f20c6cc759efbe75ebd1196 author Dave Jones Wed, 30 Nov 2005 13:33:30 -0800 committer Dave Jones Wed, 30 Nov 2005 13:33:30 -0800 [CPUFREQ] Fix indentation in powernow-k8 Signed-off-by: Dave Jones commit de1bb1a64c29bae4f5330c70bd1dc6a62954c9f4 tree 5586b640073f5e344482246cbc4f3fa8d5662f55 parent 227eca83690da7dcbd698d3268e29402e0571723 author Sean Hefty Wed, 30 Nov 2005 10:01:13 -0800 committer Roland Dreier Wed, 30 Nov 2005 10:01:13 -0800 IB/cm: avoid reusing local ID Use an increasing local ID to avoid re-using identifiers while messages may still be outstanding on the old ID. Without this, a quick connect-disconnect-connect sequence can fail by matching messages for the new connection with the old connection. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 227eca83690da7dcbd698d3268e29402e0571723 tree 83a69c7a2f5245486a885d5ea2a2e0e462521075 parent a3c8ab4fe8f006d742c24be677518bfa9862e732 author Sean Hefty Wed, 30 Nov 2005 10:00:25 -0800 committer Roland Dreier Wed, 30 Nov 2005 10:00:25 -0800 IB/cm: correct reported reject code Change reject code from TIMEOUT to CONSUMER_REJECT when destroying a cm_id in the process of connecting. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit a3c8ab4fe8f006d742c24be677518bfa9862e732 tree 641f58f25ced1cd0beea34ace95c8aa01aa82825 parent f4e401562c11c7ca65592ebd749353cf0b19af7b author Jack Morgenstein Wed, 30 Nov 2005 09:55:22 -0800 committer Roland Dreier Wed, 30 Nov 2005 09:55:22 -0800 IB/mthca: fix QP size limits for mem-free HCAs Unlike tavor, the max work queue size is an exact power of 2 for arbel mode, despite what the documentation (of the QUERY_DEV_LIM firmware command) says. Without this patch, on Arbel, we can start with a QP of a valid size and get above the reported limit after rounding to the next power of two. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 01fc99864ecc678c4f1f476b2a8b64ebcb14e733 tree 947696fdb2f76609d1a079aa6ff57a22e490d803 parent a880b11a95fab4618da412d99fc7365d723e702d parent d2ef5ebb4c4fe141a82252d4db8d8521e6765c5a author Jody McIntyre Wed, 30 Nov 2005 00:45:31 -0500 committer Jody McIntyre Wed, 30 Nov 2005 00:45:31 -0500 Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit be37bdbce7ceaacf4f20c6cc759efbe75ebd1196 tree f1a42fb5a4a17eea41d47d2c002fa303009f5523 parent 019a61b99338d0ac05de25317b85da88e7ec4b35 parent d70aa5e4b54aa7e704c886838715ac8a45d5750f author Dave Jones Tue, 29 Nov 2005 12:48:34 -0800 committer Dave Jones Tue, 29 Nov 2005 12:48:34 -0800 Merge ../linus commit 019a61b99338d0ac05de25317b85da88e7ec4b35 tree 51b3ed2180547ea582a43777244e11f84dd66e4f parent 8aae8284fece2b8fc404ccd40b7a30aa96f317b5 author Langsdorf, Mark Tue, 29 Nov 2005 14:18:03 -0600 committer Dave Jones Tue, 29 Nov 2005 12:46:07 -0800 [PATCH] Support 100 MHz frequency transitions Future versions of the Opteron processor may support frequency transitions of 100 MHz, instead of the=20 current 200 MHz. This patch enables the powernow-k8 driver to transition to an odd FID code, indicating a multiple of 100 MHz frequency. Signed-off-by: Jacob Shin Signed-off-by: Mark Langsdorf Signed-off-by: Dave Jones commit b71d4da092801634d04190693a38ca03bdbe2505 tree e4adc88ade5832b844768c114b15d4d97253c4d0 parent 656563e32c3f1dfdc35b3944305ece1c5dfeade5 parent 624f54be206adf970cd8eece16446b027913e533 author Jeff Garzik Tue, 29 Nov 2005 03:55:47 -0500 committer Jeff Garzik Tue, 29 Nov 2005 03:55:47 -0500 Merge branch 'master' commit 4ab432677957e0a064bba3690004d3244de8ad6c tree 4ef5785f20be6f62bfc7fbe4f124e1751c9cabf5 parent 30765528d156e58d41ed07cae8726c9105111b9d parent 624f54be206adf970cd8eece16446b027913e533 author Jeff Garzik Tue, 29 Nov 2005 03:51:15 -0500 committer Jeff Garzik Tue, 29 Nov 2005 03:51:15 -0500 Merge branch 'master' commit 2226340eb8df9c42f9fca74582d08d5117fc0cec tree c98370844715194600b79f886dbc391633f3e470 parent 2e06cb5859fdaeba0529806eb1bf161ffd0db201 parent 624f54be206adf970cd8eece16446b027913e533 author Jeff Garzik Tue, 29 Nov 2005 03:50:33 -0500 committer Jeff Garzik Tue, 29 Nov 2005 03:50:33 -0500 Merge branch 'master' commit a880b11a95fab4618da412d99fc7365d723e702d tree 10839a82741b7154067adfff425dadef3caf4163 parent 899a1fc084ef3dcb57737d8847bf219cbf353ed3 parent 458af5439fe7ae7d95ca14106844e61f0795166c author Jody McIntyre Mon, 28 Nov 2005 17:46:32 -0500 committer Jody McIntyre Mon, 28 Nov 2005 17:46:32 -0500 Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 2e06cb5859fdaeba0529806eb1bf161ffd0db201 tree aecc5b4de72b70a76145c4d93f4549b83d6f67ee parent 4af452bd03ec73efb1d3bf560d6d22b12d96752e author Jeff Garzik Mon, 28 Nov 2005 13:54:22 -0500 committer Jeff Garzik Mon, 28 Nov 2005 13:54:22 -0500 [bonding] Remove superfluous changelog. No need to record this information in source code, its all in the git repository, and kernel archives. commit 899a1fc084ef3dcb57737d8847bf219cbf353ed3 tree a9dc1c8530524e0ac345f06de6df105f847a7604 parent c64d472abc68dcad4d34f365545058c3f11973d8 parent 989e4d6cbc69191c41ddf4b1c492457410376b43 author Jody McIntyre Tue, 22 Nov 2005 12:38:34 -0500 committer Jody McIntyre Tue, 22 Nov 2005 12:38:34 -0500 Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit c64d472abc68dcad4d34f365545058c3f11973d8 tree e051e99bf02aa54d1167edac1f686ef98b4dcd2c parent 066ef9c2fb30a22eca7724326e210f0405c51f29 author Jens-Michael Hoffmann Tue, 22 Nov 2005 12:37:10 -0500 committer Jody McIntyre Tue, 22 Nov 2005 12:37:10 -0500 ieee1394/raw1394: LIndent fixes This patch contains fixes by LIndent. Signed-off-by: Jens-Michael Hoffmann Signed-off-by: Jody McIntyre commit 066ef9c2fb30a22eca7724326e210f0405c51f29 tree 07b279cab25f0fb767445e09cd9c5eb1264d093b parent 16c333a34a1a0441c54c4fe5cf6052716f95c2fa author Jens-Michael Hoffmann Tue, 22 Nov 2005 12:35:23 -0500 committer Jody McIntyre Tue, 22 Nov 2005 12:35:23 -0500 ieee1394/iso: LIndent fixes This patch contains fixes by LIndent. Signed-off-by: Jens-Michael Hoffmann Signed-off-by: Jody McIntyre commit 16c333a34a1a0441c54c4fe5cf6052716f95c2fa tree d721e53bf18b876109fd5e69015a5a05971e5945 parent 6649e92d792efa00a823781bcee2dba7f21199ba author Jens-Michael Hoffmann Tue, 22 Nov 2005 12:34:16 -0500 committer Jody McIntyre Tue, 22 Nov 2005 12:34:16 -0500 ieee1394/ieee1394_transactions: LIndent fixes This patch contains fixes by LIndent. Signed-off-by: Jens-Michael Hoffmann Signed-off-by: Jody McIntyre commit 6649e92d792efa00a823781bcee2dba7f21199ba tree 5f544e3dd5765dddf89c206960a3021223cbdeed parent a96074e76f87a4f658af4ecfd95edc89cfd61fc1 author Jens-Michael Hoffmann Tue, 22 Nov 2005 12:18:28 -0500 committer Jody McIntyre Tue, 22 Nov 2005 12:18:28 -0500 ieee1394/dma: LIndent fixes This patch contains fixes by LIndent. Signed-off-by: Jens-Michael Hoffmann Signed-off-by: Jody McIntyre commit a96074e76f87a4f658af4ecfd95edc89cfd61fc1 tree 5c791716a5b8533f25025fbd019d72b9f4e9907f parent 5303a986c33ae6c75d5ffb57d06ccf9246a8725a author Jody McIntyre Tue, 22 Nov 2005 12:17:14 -0500 committer Jody McIntyre Tue, 22 Nov 2005 12:17:14 -0500 csr1212: add check for !valid Don't read the keyval if there's already a valid one in place. May not be necessary but shouldn't hurt. Signed-off-by: Jody McIntyre commit 5303a986c33ae6c75d5ffb57d06ccf9246a8725a tree 9e305aeba9188fd0693be26a96ff1eb2efa09cbe parent b12479ddce4aed112e0018fdf8bbb7cfb349ebdc author Jody McIntyre Tue, 22 Nov 2005 12:17:11 -0500 committer Jody McIntyre Tue, 22 Nov 2005 12:17:11 -0500 csr1212: check results of keyval reads csr1212_parse_csr() did not properly check return values when reading keyvals. Fix this by using _csr1212_read_keyval() instead of csr1212_get_keyval() and checking the return code. Signed-off-by: Jody McIntyre commit b12479ddce4aed112e0018fdf8bbb7cfb349ebdc tree a952941828ee564ec9396a57b5228f87eeaac9ec parent d734f92b0dc4c04daa2e0106354972cbbc2e0fbe author Stefan Richter Mon, 21 Nov 2005 17:32:18 -0500 committer Jody McIntyre Mon, 21 Nov 2005 17:32:18 -0500 raw1394: fix memory deallocation in modify_config_rom raw1394: use correct deallocation macro for CSR cache Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit d734f92b0dc4c04daa2e0106354972cbbc2e0fbe tree c0eaa2ea898f5acc05d08bbe1a2914ed4aac8cfc parent 977545e35289b13981614a57fd6c9b82d55e3b4a author Adrian Bunk Mon, 21 Nov 2005 17:32:14 -0500 committer Jody McIntyre Mon, 21 Nov 2005 17:32:14 -0500 drivers/ieee1394/raw1394.c: fix a NULL pointer The coverity checker spotted that this was a NULL pointer dereference in the "if (copy_from_user(...))" case since the next step is to kfree(cache->filled_head). There's no need to free cache at this point, and it's getting free'd later. Signed-off-by: Adrian Bunk Signed-off-by: Jody McIntyre commit e067e1f98d54d62fd598126f95e7684e5b63e67f tree af41d76e7a2a400237d4a9a33b07841385b1120f parent 59d3cf7a40dfdbb8e86758ade172831c19630050 author Sam Ravnborg Mon, 21 Nov 2005 22:59:32 +0100 committer Sam Ravnborg Mon, 21 Nov 2005 22:59:32 +0100 kconfig: truncate too long menu lines in menuconfig menu lines wrapped over too lines when too long - truncate them. Also fixed a coding style issue Signed-off-by: Sam Ravnborg commit 8aae8284fece2b8fc404ccd40b7a30aa96f317b5 tree 3de7b27c168c1f34a7db3e394a590fa44a9656ca parent db93a82fa9d8b4d6e31c227922eaae829253bb88 author Jacob Shin Mon, 21 Nov 2005 07:23:08 -0800 committer Dave Jones Mon, 21 Nov 2005 07:23:08 -0800 [CPUFREQ] Improve Error reporting in powernow-k8 This patch cleans up some error messages in the powernow-k8 driver and makes them more understandable. Signed-off-by: Jacob Shin Signed-off-by: Mark Langsdorf Signed-off-by: Dave Jones commit 59d3cf7a40dfdbb8e86758ade172831c19630050 tree eed9b3e8c4c1e15ff25a53d9ad411d441c966fa9 parent 7c3badf96e0dc8aa89ebf8919653339a5ee8e035 author Sam Ravnborg Sun, 20 Nov 2005 23:34:35 +0100 committer Sam Ravnborg Sun, 20 Nov 2005 23:34:35 +0100 kconfig: make lxdialog/menubox.c more readable Utilising a small macro for print_item made wonders for readability for this file. Signed-off-by: Sam Ravnborg commit 7c3badf96e0dc8aa89ebf8919653339a5ee8e035 tree cbf583b5eb25a264fd11614f2f9c778ee0446aa0 parent 0e175d05a4e72f85918da3ea4bd9f5d3d78face4 author Sam Ravnborg Sun, 20 Nov 2005 23:03:49 +0100 committer Sam Ravnborg Sun, 20 Nov 2005 23:03:49 +0100 kconfig: Fix indention when using menuconfig in text-onle consoles When using menuconfig in a text-only console (no X started) the indention was often two spaces wrong. This proved to be a ncurses issue which are worked around by calling wrefresh more often. Signed-off-by: Sam Ravnborg commit 0e175d05a4e72f85918da3ea4bd9f5d3d78face4 tree c5cc66d5af52c048c24f9a182bda06135653f9cf parent fa7009d5b59b8acd8071f7b3057d36eeeaf08146 author Sam Ravnborg Sun, 20 Nov 2005 22:41:21 +0100 committer Sam Ravnborg Sun, 20 Nov 2005 22:41:21 +0100 kconfig: Left aling menu items in menuconfig Keeping menu lines on a fixed position creates less visual noise when navigating the menus. Signed-off-by: Sam Ravnborg commit 656563e32c3f1dfdc35b3944305ece1c5dfeade5 tree 2c04a7099de3b088a95bc36401ebac4287cdf3c7 parent 1b15688b31d8c88881102426279e8cc03953860b author Jeff Garzik Sun, 20 Nov 2005 03:36:45 -0500 committer Jeff Garzik Sun, 20 Nov 2005 03:36:45 -0500 [libata] Print out SATA speed, if link is up Make the SATA phy probe messages a bit more informative. Note this only applies to drivers that use __sata_phy_reset(), which excludes some drivers. commit 30765528d156e58d41ed07cae8726c9105111b9d tree 95021732c4c13eaabc88eb037fed89d38f45d496 parent e1d7a2de6c4249072dd886c129410e11e637ceff parent 3bedff1d73b86e0cf52634efb447e9ada08f2cc6 author Jeff Garzik Sun, 20 Nov 2005 01:05:46 -0500 committer Jeff Garzik Sun, 20 Nov 2005 01:05:46 -0500 Merge branch 'master' commit 4af452bd03ec73efb1d3bf560d6d22b12d96752e tree 25b79c5aa3f35da523b4a1f89e7734070a8931ce parent 625876f32ed63af262db3d0ac8178d2c0f510636 parent 3bedff1d73b86e0cf52634efb447e9ada08f2cc6 author Jeff Garzik Sun, 20 Nov 2005 01:05:35 -0500 committer Jeff Garzik Sun, 20 Nov 2005 01:05:35 -0500 Merge branch 'master' commit 1b15688b31d8c88881102426279e8cc03953860b tree a54f0d0ec7f3a1b59c7eeb733eb10a78565bee23 parent 4b317d212cc23a1d635ca8329c802224178afddf parent 3bedff1d73b86e0cf52634efb447e9ada08f2cc6 author Jeff Garzik Sun, 20 Nov 2005 00:40:19 -0500 committer Jeff Garzik Sun, 20 Nov 2005 00:40:19 -0500 Merge branch 'master' commit 977545e35289b13981614a57fd6c9b82d55e3b4a tree fcc58ffce6aadf392004c6e0bbbb0d4276c6116d parent e4cda1654e5c0be4b68e29011e8dc04977286df9 author Stefan Richter Sat, 19 Nov 2005 21:35:22 -0500 committer Jody McIntyre Sat, 19 Nov 2005 21:35:22 -0500 sbp2: slimmer interface to scsi_mod - sbp2scsi_reset does not need to take host_lock - sbp2scsi_reset, as our device reset handler, does not need to stand in as bus reset or host reset handler - let scsi_mod use scsi_host_template.name instead of .info (sbp2 is not an emulation anway) Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit e4cda1654e5c0be4b68e29011e8dc04977286df9 tree bd368877ba69f4a9833a094de535ff3cb34b0762 parent e27d3014f301e6aee7b65b62ad1da2940e1fd8de author Damien Douxchamps Sat, 19 Nov 2005 21:32:03 -0500 committer Jody McIntyre Sat, 19 Nov 2005 21:32:03 -0500 Fix incorrect video1394 timestamps. This patch fixes the incoherent timestamps generated by video1394 since the single-buffer patch was applied in 2.6.11. Credits have also been removed from the header and a "//" comment was changed to "/* */". Signed-off-by: Damien Douxchamps Signed-off-by: Jody McIntyre commit e27d3014f301e6aee7b65b62ad1da2940e1fd8de tree 9469127827205caa3f6700c02d150dcd412a3f16 parent 35267ab61f0bf7a867ac87e19714b858d08d440a author Adrian Bunk Sat, 19 Nov 2005 21:23:48 -0500 committer Jody McIntyre Sat, 19 Nov 2005 21:23:48 -0500 Every file should #include the headers containing the prototypes for it's global functions. Signed-off-by: Adrian Bunk Signed-off-by: Jody McIntyre commit fa7009d5b59b8acd8071f7b3057d36eeeaf08146 tree ba88e9f448aed4c047d8ce311ba44c8731ee96c2 parent a06104af7dcf2f5bafaf18f373c8b2554cbfe014 author Sam Ravnborg Sat, 19 Nov 2005 23:38:06 +0100 committer Sam Ravnborg Sat, 19 Nov 2005 23:38:06 +0100 kconfig: Add print_title helper in lxdialog Simplify check for long title and use a helper function in util.c Signed-off-by: Sam Ravnborg commit a06104af7dcf2f5bafaf18f373c8b2554cbfe014 tree 97015ab8a4bb1c97d6775c53e0e3190cc5d31da7 parent dec69da856653772d7ee7b2f98dc69da27274a22 author Sam Ravnborg Sat, 19 Nov 2005 22:17:55 +0100 committer Sam Ravnborg Sat, 19 Nov 2005 22:17:55 +0100 kconfig: lxdialog is now sparse clean Replacing a gcc idiom with malloc and deleting an unused global variable made lxdialog sparse clean. Signed-off-by: Sam Ravnborg commit dec69da856653772d7ee7b2f98dc69da27274a22 tree 020cf19de028a402a6bfc792caaffeddaf5a3e9b parent b1c5f1c635f4a821f834ed51ccd8a2a1515fffd2 author Sam Ravnborg Sat, 19 Nov 2005 21:56:20 +0100 committer Sam Ravnborg Sat, 19 Nov 2005 21:56:20 +0100 kconfig: fixup after Lindent Readability are more important then the 80 coloumn limit, so fold several lines to greatly improve readability. Also keep return type on same line as function definition. Signed-off-by: Sam Ravnborg commit b1c5f1c635f4a821f834ed51ccd8a2a1515fffd2 tree 7325e59c16a2b90fd6f78ab491f7ef48bfd409b9 parent b286e39207237e2f6929959372bf66d9a8d05a82 author Sam Ravnborg Sat, 19 Nov 2005 19:13:34 +0100 committer Sam Ravnborg Sat, 19 Nov 2005 19:13:34 +0100 kconfig: Lindent scripts/lxdialog The lxdialog code was not easy to read. So as first step the code was run through Lindent. Fix-ups will come in next patchset. Signed-off-by: Sam Ravnborg commit 4b317d212cc23a1d635ca8329c802224178afddf tree c671d279518dad01e58ff97b639fdb984aa2c9e6 parent 79bfb0a98fdc73ed6a18469cef245cbf50a1d8bb parent b286e39207237e2f6929959372bf66d9a8d05a82 author Jeff Garzik Fri, 18 Nov 2005 19:55:06 -0500 committer Jeff Garzik Fri, 18 Nov 2005 19:55:06 -0500 Merge branch 'master' commit 625876f32ed63af262db3d0ac8178d2c0f510636 tree 93a0d2d5332fa679ecb99eee7b0955e444d6a41a parent c902f981b79b512eb3d0c0410f8cae88c78beb57 parent b286e39207237e2f6929959372bf66d9a8d05a82 author Jeff Garzik Fri, 18 Nov 2005 19:54:12 -0500 committer Jeff Garzik Fri, 18 Nov 2005 19:54:12 -0500 Merge branch 'master' commit 35267ab61f0bf7a867ac87e19714b858d08d440a tree db84140a40b22208fe2a598fa233c26e79eb6465 parent a9931a6e37c09f6b76a9fa0cbd777c335548692b parent 8907e94be2661be940c622232d6ce5ae938f10c3 author Jody McIntyre Fri, 18 Nov 2005 15:16:15 -0500 committer Jody McIntyre Fri, 18 Nov 2005 15:16:15 -0500 Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit c902f981b79b512eb3d0c0410f8cae88c78beb57 tree 6c18ba859a0d11d14402b3c1b303f00f0e561915 parent 97bae8dc961f59e81e85c7f92ff04f5ff73c20e8 parent f7492f17f2123f0f4db5f9e8ba89867a7b352658 author Jeff Garzik Fri, 18 Nov 2005 15:07:11 -0500 committer Jeff Garzik Fri, 18 Nov 2005 15:07:11 -0500 Merge branch 'upstream-fixes' commit e1d7a2de6c4249072dd886c129410e11e637ceff tree 14f3488490c4792007d4c9d678c9899c408b85f8 parent fc71fe40d2bedcc57d3406bf2050481f8b3441b6 parent 6b27adb607282addcfe2707783dfcc28ba3a753b author Jeff Garzik Fri, 18 Nov 2005 13:58:20 -0500 committer Jeff Garzik Fri, 18 Nov 2005 13:58:20 -0500 Merge branch 'linville-e1000' of git://git.tuxdriver.com/git/netdev-jwl commit 6b27adb607282addcfe2707783dfcc28ba3a753b tree 23cbb0796320ac9f77f3c5613d9dd6bcb4bf690a parent e98fc4aae10b925ad5aa739c483abf78d80b66db author John W. Linville Tue, 08 Nov 2005 15:59:30 -0500 committer John W. Linville Fri, 18 Nov 2005 13:52:39 -0500 [PATCH] e1000: zero-out pointers in e1000_free_desc_rings In e1000_free_desc_rings, zero-out pointers after the memory they point to is freed. The test rings are static and get re-used, and failures during subsequent test setups can cause e1000_free_desc_rings to get called with dirty pointers. Dirty pointers can cause oopses or crashes... Signed-off-by: John W. Linville commit e98fc4aae10b925ad5aa739c483abf78d80b66db tree bb7ff2db2dcf8630e72a4b26b32319d59d0467d7 parent cd52d1ee9a92587b242d946a2300a3245d3b885a author John W. Linville Tue, 08 Nov 2005 15:45:02 -0500 committer John W. Linville Fri, 18 Nov 2005 13:52:39 -0500 [PATCH] e1000: avoid leak when e1000_setup_loopback_test fails In e1000_loopback_test, make sure to call e1000_free_desc_rings if e1000_setup_loopback_test fails. Currently in that case it will not get called, causing a leak. Signed-off-by: John W. Linville commit 97bae8dc961f59e81e85c7f92ff04f5ff73c20e8 tree 4b1d350e36c76cf1d1665292976af8cc10d57e4c parent 15d014d13149aedd76cbff1b5c3bbfe839391457 parent cea00da3972806d213a7dbe1b98e889435385e6b author Jeff Garzik Fri, 18 Nov 2005 13:36:39 -0500 committer Jeff Garzik Fri, 18 Nov 2005 13:36:39 -0500 Merge branch 'upstream-fixes' commit 15d014d13149aedd76cbff1b5c3bbfe839391457 tree 748af38a44021cf286016b179e58190b685c1630 parent 7f7f53168dbee6d6a462acea666fddd18aad4f08 author Lennert Buytenhek Fri, 11 Nov 2005 18:23:13 +0100 committer Jeff Garzik Fri, 18 Nov 2005 13:32:22 -0500 [PATCH] intel ixp2000 network driver The way the hardware and firmware work is that there is one shared RX queue and IRQ for a number of different network interfaces. Due to this, we would like to process received packets for every interface in the same NAPI poll handler, so we need a pseudo-device to schedule polling on. What the driver currently does is that it always schedules polling for the first network interface in the list, and processes packets for every interface in the poll handler for that first interface -- however, this scheme breaks down if the first network interface happens to not be up, since netif_rx_schedule_prep() checks netif_running(). sky2 apparently has the same issue, and Stephen Hemminger suggested a way to work around this: create a variant of netif_rx_schedule_prep() that does not check netif_running(). I implemented this locally and called it netif_rx_schedule_prep_notup(), and it seems to work well, but it's something that probably not everyone would be happy with. The ixp2000 is an ARM CPU with a high-speed network interface in the CPU itself (full duplex 4Gb/s or 10Gb/s depending on the IXP model.) The CPU package also contains 8 or 16 (again depending on the IXP model) 'microengines', which are somewhat primitive but very fast and efficient processor cores which can be used to offload various things from the main CPU. This driver makes the high-speed network interface in the CPU visible and usable as a regular linux network device. Currently, it only supports the Radisys ENP2611 IXP board, but adding support for other board types should be fairly easy. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 7f7f53168dbee6d6a462acea666fddd18aad4f08 tree 9c59f9b4b7c06f70b48197408f37398e54b4771e parent fed5eccdcf542742786701b2514b5cb7ab282b93 author Andy Fleming Fri, 11 Nov 2005 12:38:59 -0600 committer Jeff Garzik Fri, 18 Nov 2005 13:31:26 -0500 [PATCH] Gianfar update and sysfs support This seems to have gotten lost, so I'll resend. Signed-off-by: Andy Fleming * Added sysfs support to gianfar for modifying FIFO and stashing parameters * Updated driver to support 10 Mbit, full duplex operation * Improved comments throughout * Cleaned up and optimized offloading code * Fixed a bug where rx buffers were being improperly mapped and unmapped * (only manifested if cache-coherency was off) * Added support for using the eTSEC exact-match MAC registers * Bumped the version to 1.3 * Added support for distinguishing between reduced 100 and 10 Mbit modes * Modified default coalescing values to lower latency * Added documentation Signed-off-by: Jeff Garzik commit fed5eccdcf542742786701b2514b5cb7ab282b93 tree 526e89f8c7ee9793f6980368f334aca09c62b475 parent 1f8fc99300c6247cace008c470f31eb86e9e7802 author Ananda Raju Mon, 14 Nov 2005 15:25:08 -0500 committer Jeff Garzik Fri, 18 Nov 2005 13:28:15 -0500 [PATCH] s2io: UFO support This patch implements the UFO support in S2io driver. This patch uses the UFO interface available in linux-2.6.15 kernel. Signed-off-by: Ananda Raju Signed-off-by: Jeff Garzik commit 1f8fc99300c6247cace008c470f31eb86e9e7802 tree 8e09406ea2d7a4de8343185277576fed47725d97 parent 638cbac8de9b57345a9446e107b6aebc10b58970 parent 7635d345b2c047339b44c85fff486c6b94b67216 author Jeff Garzik Fri, 18 Nov 2005 13:23:52 -0500 committer Jeff Garzik Fri, 18 Nov 2005 13:23:52 -0500 Merge branch 'upstream-jgarzik' of git://git.tuxdriver.com/git/netdev-jwl commit 638cbac8de9b57345a9446e107b6aebc10b58970 tree e445fe3a1b8ad718d7ee770ed1c7a43e3eb5a611 parent f055408957750cf759162c364c2a4dfe19765844 parent fc71fe40d2bedcc57d3406bf2050481f8b3441b6 author Jeff Garzik Fri, 18 Nov 2005 13:23:21 -0500 committer Jeff Garzik Fri, 18 Nov 2005 13:23:21 -0500 Merge branch 'master' commit 79bfb0a98fdc73ed6a18469cef245cbf50a1d8bb tree faf5312c25eebfa11bd1f65c881bfac07c945f2b parent 67cb6e842e7f1e534a5e0e8708a8779e33b60520 parent fc71fe40d2bedcc57d3406bf2050481f8b3441b6 author Jeff Garzik Fri, 18 Nov 2005 11:30:38 -0500 committer Jeff Garzik Fri, 18 Nov 2005 11:30:38 -0500 Merge branch 'master' commit a9931a6e37c09f6b76a9fa0cbd777c335548692b tree cd6ba9d36e350dd6188f7b8f95efc59c85d34485 parent 7301c8d3a05dc52d33598364da7c4eb6ab6357eb parent 811803c5572b296e0031e0099203de90d77c7bcf author Jody McIntyre Fri, 18 Nov 2005 00:18:25 -0500 committer Jody McIntyre Fri, 18 Nov 2005 00:18:25 -0500 Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 7301c8d3a05dc52d33598364da7c4eb6ab6357eb tree 715c5caaa11427e0c0a736692ebee156317588f2 parent ef797546a93fffa9d8508e7c8539b352b6678568 author Jody McIntyre Fri, 18 Nov 2005 00:16:26 -0500 committer Jody McIntyre Fri, 18 Nov 2005 00:16:26 -0500 Remove amdtp, cmp drivers. Remove the Audio and Music Data Transmission Protocol driver and the Connection Management Procedures driver. These are incomplete, have never worked, and are better implemented in userland via raw1394 (see http://freebob.sourceforge.net/ for example.) Signed-off-by: Jody McIntyre Cc: Adrian Bunk commit 67cb6e842e7f1e534a5e0e8708a8779e33b60520 tree 1c887edd39fddb9016949976fea48f7ca22bae4b parent 8bb6030b62a70edc0cb8129338f83e9063aeaf92 parent a2c91a8819e315e9fd1aef3ff57badb6c1be3f80 author Jeff Garzik Thu, 17 Nov 2005 11:16:39 -0500 committer Jeff Garzik Thu, 17 Nov 2005 11:16:39 -0500 Merge branch 'upstream-fixes' commit 7635d345b2c047339b44c85fff486c6b94b67216 tree 26c3084df392c33094fd58bba0b8286e56940e18 parent 5bc4c36d7cd9f1605efeade67b3d27845a4affcd author Adrian Bunk Sun, 13 Nov 2005 13:26:25 -0500 committer John W. Linville Wed, 16 Nov 2005 14:13:20 -0500 [PATCH] hostap: rename hostap.c to hostap_main.c I wanted to remove the #include "hostap_ioctl.c" from hostap.c and build hostap_ioctl.c separately, but this doesn't work since hostap.c has the same name as the module. After renaming hostap.c this will be possible. Signed-off-by: Adrian Bunk Acked-by: Jouni Malinen Signed-off-by: John W. Linville commit 5bc4c36d7cd9f1605efeade67b3d27845a4affcd tree e843b8935601345fb926bf979a31f43b34d44079 parent 4d791aadf63c9d605bc9a4144e79d5756fc29fb3 author Christophe Lucas Sat, 12 Nov 2005 21:58:53 +0300 committer John W. Linville Wed, 16 Nov 2005 14:13:20 -0500 [PATCH] atmel: audit return code of create_proc_read_entry Signed-off-by: Christophe Lucas Signed-off-by: Alexey Dobriyan Signed-off-by: John W. Linville commit 4d791aadf63c9d605bc9a4144e79d5756fc29fb3 tree 8a8d09d11a00a1d3487fd76c3ffc371ac2aff160 parent c1120b22499d7e13e5cd2349cb2168b76d0edaca author Carlo Perassi Sun, 13 Nov 2005 15:02:15 +0300 committer John W. Linville Wed, 16 Nov 2005 14:13:20 -0500 [PATCH] atmel: CodingStyle cleanup Reading this driver I noticed some trailing whitespaces and tabs so I removed them with some 80th column fitting and a few more similar things. Signed-off-by: Carlo Perassi Signed-off-by: Alexey Dobriyan Signed-off-by: John W. Linville commit c1120b22499d7e13e5cd2349cb2168b76d0edaca tree a6a24330218cd5b2c709c403413c86bd794b6e61 parent 9a648f3c535cb6b24a5f0538d032aea9a33ec515 author Tobias Klauser Sat, 12 Nov 2005 23:46:43 +0300 committer John W. Linville Wed, 16 Nov 2005 14:13:20 -0500 [PATCH] Remove drivers/net/wan/lmc/lmc_prot.h "grep "lmc_prot\." -r ." didn't show anything. lmc_proto.h seems to have the correct prototypes, and is actually used. Signed-off-by: Tobias Klauser Signed-off-by: Alexey Dobriyan Signed-off-by: John W. Linville commit 9a648f3c535cb6b24a5f0538d032aea9a33ec515 tree 462506eaa9284d610e681cc5fca0aac4e762e073 parent c8ebd3a37f0e7a2aae337279d58a50c1a1fcd053 author John W. Linville Sun, 13 Nov 2005 00:33:32 -0500 committer John W. Linville Wed, 16 Nov 2005 14:13:20 -0500 [PATCH] skge: fix warning from inlining SkPciWriteCfgDWord() Making SkPciWriteCfgDWord a static inline produces a warning due to a forward declaration in skdrv2nd.h. This patch removes that declaration. Signed-off-by: John W. Linville commit c8ebd3a37f0e7a2aae337279d58a50c1a1fcd053 tree 7c47b5d4c224cbd903554e0d0c8e1c55bf05743f parent cd52d1ee9a92587b242d946a2300a3245d3b885a author Adrian Bunk Fri, 11 Nov 2005 20:44:21 +0100 committer John W. Linville Wed, 16 Nov 2005 14:13:20 -0500 [PATCH] drivers/net/sk98lin/skge.c: make SkPciWriteCfgDWord() a static inline No external user and that small - such a function should be static inline and not a global function. Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit 8bb6030b62a70edc0cb8129338f83e9063aeaf92 tree db4fd4c255e93c2090ba421bf716bc09aaf50f14 parent 77ed78e5cf32be1c3fae5c477cc1d78e2e3f17db parent 7bdd720869ff75700b48b132ee71852615b55808 author Jeff Garzik Wed, 16 Nov 2005 11:07:14 -0500 committer Jeff Garzik Wed, 16 Nov 2005 11:07:14 -0500 Merge branch 'upstream-fixes' commit 77ed78e5cf32be1c3fae5c477cc1d78e2e3f17db tree 805db8c5c180ee7ee85b3c484461100c91f6c781 parent 68bdbdf0b32566e1ebd41415bde9a7c43b47bf48 parent f6ff56cd56b83d8edf4b3cffc5c53c56b37a5081 author Jeff Garzik Tue, 15 Nov 2005 20:56:07 -0500 committer Jeff Garzik Tue, 15 Nov 2005 20:56:07 -0500 Merge branch 'master' commit 68bdbdf0b32566e1ebd41415bde9a7c43b47bf48 tree 318997f4a8b4aa8b8c0cbcbc310e849ed45b2e26 parent 1c24a412fd8873bcacba7ed8a1780d12b86b6cb5 parent 9f68a24853dd37d18f2cfa979cf4e131f5a10e8f author Jeff Garzik Tue, 15 Nov 2005 14:25:12 -0500 committer Jeff Garzik Tue, 15 Nov 2005 14:25:12 -0500 Merge branch 'upstream-fixes' commit f055408957750cf759162c364c2a4dfe19765844 tree aecc0a13c582d310902e6fa95d8853c627828fcc parent 83cbd33aae2c3cd14f80a8abf733033a57aa4923 parent 4060994c3e337b40e0f6fa8ce2cc178e021baf3d author Jeff Garzik Tue, 15 Nov 2005 04:51:40 -0500 committer Jeff Garzik Tue, 15 Nov 2005 04:51:40 -0500 Merge branch 'master' commit 83cbd33aae2c3cd14f80a8abf733033a57aa4923 tree de05bf460a181d5ff68257418021e10fa262da93 parent 06d61cbf7c2522f43c09d5bb050acd0bd31812c0 parent 691b73b13220886aefacb7c7f7ace7f528bbf800 author Jeff Garzik Tue, 15 Nov 2005 04:49:03 -0500 committer Jeff Garzik Tue, 15 Nov 2005 04:49:03 -0500 Merge branch 'bonding-sysfs' of git://git.tuxdriver.com/git/netdev-jwl commit 1c24a412fd8873bcacba7ed8a1780d12b86b6cb5 tree 1ce366866a4f759e2366a56a24045bfbe963dd50 parent e74ac79956ecb56e71a398c57eb10fab8c58a562 author Jeff Garzik Mon, 14 Nov 2005 18:20:23 -0500 committer Jeff Garzik Mon, 14 Nov 2005 18:20:23 -0500 [libata ata_piix] cleanup: remove duplicate ata_port_info records commit e74ac79956ecb56e71a398c57eb10fab8c58a562 tree 546f400f9b011351eb622af3f9e9edea4fab30a8 parent c6e6e666cbfe40f0d7fb1a293ff6332973acac37 author Jeff Garzik Mon, 14 Nov 2005 18:16:37 -0500 committer Jeff Garzik Mon, 14 Nov 2005 18:16:37 -0500 [libata] remove two unused fields from struct ata_port commit 691b73b13220886aefacb7c7f7ace7f528bbf800 tree 3e4a99b220cc25e247b8c903e987c58aa5a13c72 parent e944ef79184ff7f283e7bf79496d2873a0b0410b author Mitch Williams Wed, 09 Nov 2005 10:36:57 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:21 -0500 [PATCH] bonding: comments and changelog Bonding source files still have changelogs in the comments. This, then, is an update to that changelog. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit e944ef79184ff7f283e7bf79496d2873a0b0410b tree ca9e94fa50fc3a43f1f61d90f429bfa3adbca05e parent 39755cad88f7b26dcb1edf9dcf14bd85f8fc2a3a author Mitch Williams Wed, 09 Nov 2005 10:36:50 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:21 -0500 [PATCH] bonding: spelling and whitespace corrections Minor spelling and whitespace corrections. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 39755cad88f7b26dcb1edf9dcf14bd85f8fc2a3a tree ca97e884af3e241f356808cb8888d24d1197ef3e parent b76cdba9cdb29b091cacb4c11534ffb2eac02f64 author Mitch Williams Wed, 09 Nov 2005 10:36:46 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:21 -0500 [PATCH] bonding: version update Update the version number for the bonding module. Since we've just added a significant new feature (sysfs support), bump the major number. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit b76cdba9cdb29b091cacb4c11534ffb2eac02f64 tree a9125448834fd8daf6ae50bfa376d6a6ee697425 parent 4756b02f558cbbbef5ae278fd3bbed778458c124 author Mitch Williams Wed, 09 Nov 2005 10:36:41 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:21 -0500 [PATCH] bonding: add sysfs functionality to bonding (large) This large patch adds sysfs functionality to the channel bonding module. Bonds can be added, removed, and reconfigured at runtime without having to reload the module. Multiple bonds with different configurations are easily configured, and ifenslave is no longer required to configure bonds. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 4756b02f558cbbbef5ae278fd3bbed778458c124 tree 8eca3a9d61659ab236080014ddb1967c0b39fb38 parent 6b780567223524cac86c745aeac425521cf37490 author Mitch Williams Wed, 09 Nov 2005 10:36:25 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:20 -0500 [PATCH] bonding: add ARP entries to /proc Make the /proc files show which ARP targets are in use by each bond. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 6b780567223524cac86c745aeac425521cf37490 tree 98fbe73fc3ec76aa90c1706e42969b799dc0d70a parent 3c535952d86df83f817595068c9fd2b3cfbd3a4d author Mitch Williams Wed, 09 Nov 2005 10:36:19 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:20 -0500 [PATCH] bonding: Allow ARP target table to have empty entries With the sysfs interface, the user can remove entries from the ARP table at runtime. The ARP monitor code now allows for empty entries in the table. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 3c535952d86df83f817595068c9fd2b3cfbd3a4d tree 39b7cc83918b32ad4a4487d20c94221a793c357f parent dfe60397a62b1a5ebc7f05fd65463d3e29397677 author Mitch Williams Wed, 09 Nov 2005 10:36:11 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:20 -0500 [PATCH] bonding: make bond_init not __init The sysfs interface can create bonds at runtime, and __init code goes away after module init. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit dfe60397a62b1a5ebc7f05fd65463d3e29397677 tree 4f11c617486af7497356edfd87c276d81ed466d6 parent a77b53258d76513c37e766dc0db1fc9db7c4ac1e author Mitch Williams Wed, 09 Nov 2005 10:36:04 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:20 -0500 [PATCH] bonding: move bond creation into separate function The sysfs interface can create bonds at runtime, so we need a separate function to do this, instead of just doing it in the module init code. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit a77b53258d76513c37e766dc0db1fc9db7c4ac1e tree ac3be1ed375bc7452bbf1ba4d4f962fe743e6307 parent 12479f9a823dc7d791f198af2d3e4efae418a65e author Mitch Williams Wed, 09 Nov 2005 10:35:51 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:20 -0500 [PATCH] bonding: make functions not static The sysfs code needs access these functions, so make them not static, and move the protos to the header file. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 12479f9a823dc7d791f198af2d3e4efae418a65e tree 276e753e6d9a4755678ff2a198f7695e96e85963 parent b76850ab577bb4b929e60894d2025bbfcc043984 author Mitch Williams Wed, 09 Nov 2005 10:35:44 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:20 -0500 [PATCH] bonding: expose some structs The sysfs code needs to know what these structs look like, so make them not static, and move the definition to the header. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit b76850ab577bb4b929e60894d2025bbfcc043984 tree 0d1c22d205d026cf96da0fa6b014a0c3f915358c parent 0d206a3af4329bd833cfa5fe1cc7fe146e49c131 author Mitch Williams Wed, 09 Nov 2005 10:35:35 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:19 -0500 [PATCH] bonding: explicitly clear RLB flag during ALB init Explicitly clear RLB flag during ALB init. This is needed for sysfs support, since the bond mode can be changed at runtime via sysfs. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 0d206a3af4329bd833cfa5fe1cc7fe146e49c131 tree 755e5a7703e8bbed56429ff748ad4ee7963c02df parent 0f418b2ac49e97b7b763e0473320a201eec15ed3 author Mitch Williams Wed, 09 Nov 2005 10:35:30 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:19 -0500 [PATCH] bonding: move kmalloc out of spinlock in ALB init Move memory allocations out of the spinlock during ALB init. This gets rid of a sleeping-inside-spinlock warning and accompanying stack dump. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 0f418b2ac49e97b7b763e0473320a201eec15ed3 tree 035d1f855c355371e0b84ea5d22470def2be1a6b parent c61b75ad03f3a30ef247cac27406f030c10628b0 author Mitch Williams Wed, 09 Nov 2005 10:35:21 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:19 -0500 [PATCH] bonding: get slave name from actual slave instead of param list Take the primary slave name shown in /proc from the actual slave dev instead of from the command-line parameter, which won't be present if the bond is created via sysfs. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit c61b75ad03f3a30ef247cac27406f030c10628b0 tree de59b51dc8b2906981e360b48567d28ccbd14167 parent 2ac47660f9b4d0ea1a2ab9becba03c14ef5d9b99 author Mitch Williams Wed, 09 Nov 2005 10:35:13 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:18 -0500 [PATCH] bonding: Add transmit policy to /proc Adds information about the recently-added transmit policy setting to each bond's /proc file. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 2ac47660f9b4d0ea1a2ab9becba03c14ef5d9b99 tree 65486155a386bc6d395c20a3d8f4fe472a3479de parent 4e0952c74ee450ded86e8946ce58ea8dfd05b007 author Mitch Williams Wed, 09 Nov 2005 10:35:03 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:18 -0500 [PATCH] bonding: expand module param descriptions Expand and correct the parameter descriptions shown by modinfo. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 4e0952c74ee450ded86e8946ce58ea8dfd05b007 tree 07e10c7adaf8f95d11d5e2181e2adce30c47d3ba parent c2373ee98982a1c842dfb213c398f388d4227e63 author Mitch Williams Wed, 09 Nov 2005 10:34:57 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:18 -0500 [PATCH] bonding: add bond name to all error messages Add the bond name to all error messages so we can tell which one is complaining. Also reformats some error messages to be more consistent. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit c2373ee98982a1c842dfb213c398f388d4227e63 tree 78b02f37f11503c0b2c85da1fb1811f430e8c163 parent 1e2e5659656b8b9bd9fa4714355d91282cb74178 author Mitch Williams Wed, 09 Nov 2005 10:34:45 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:18 -0500 [PATCH] net: make dev_valid_name public dev_valid_name() is a useful function. Make it public. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 1e2e5659656b8b9bd9fa4714355d91282cb74178 tree dd7aa1b83de409743b21d9e71b3e8a1834ad6f67 parent cd52d1ee9a92587b242d946a2300a3245d3b885a author Mitch Williams Wed, 09 Nov 2005 10:34:01 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:17 -0500 [PATCH] net: allow newline terminated IP addresses in in_aton in_aton() gives weird results if it sees a newline at the end of the input. This patch makes it able to handle such input correctly. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 06d61cbf7c2522f43c09d5bb050acd0bd31812c0 tree 2ce1fb910566961de2d2ff1f2f01a9c0546d8092 parent 34afd638d0b0698e66b6aa4f749face019a3e90f parent d0bbccfa3297d3ef6ae4691585abde9a6c26b186 author Jeff Garzik Fri, 11 Nov 2005 22:48:14 -0500 committer Jeff Garzik Fri, 11 Nov 2005 22:48:14 -0500 Merge branch 'sky2' commit 34afd638d0b0698e66b6aa4f749face019a3e90f tree 23b62a0fec98d5bc8cb0d8166ab6e7f4e1da8a20 parent 5d06b6bef96ebb27ae9e36656df3c5ef0a2a93ca parent e532c37858fdcc18e9a91d24c2e22cd21aa22561 author Jeff Garzik Fri, 11 Nov 2005 22:47:48 -0500 committer Jeff Garzik Fri, 11 Nov 2005 22:47:48 -0500 Merge branch 'sis900-wol' commit 5d06b6bef96ebb27ae9e36656df3c5ef0a2a93ca tree 1f1d5187841d3f771018f364a905044bef84b033 parent cd52d1ee9a92587b242d946a2300a3245d3b885a parent 0192d69789582f02c015cba77cac514c7291c347 author Jeff Garzik Fri, 11 Nov 2005 22:47:41 -0500 committer Jeff Garzik Fri, 11 Nov 2005 22:47:41 -0500 Merge branch '8139-thread' commit e532c37858fdcc18e9a91d24c2e22cd21aa22561 tree d2d27707914fa6690774be7051ac98e6fce4e755 parent 87199134b4a85de56a7508c551ab3b3a3ee35035 parent 5e04e7fe774794b837e1d3897e6b96ae2d06679a author Jeff Garzik Fri, 11 Nov 2005 05:54:37 -0500 committer Jeff Garzik Fri, 11 Nov 2005 05:54:37 -0500 Merge branch 'master' commit 0192d69789582f02c015cba77cac514c7291c347 tree 36a30e9a944a4a4c0ffd2158698083c3c824dfa4 parent 760559e1330a58cc5b320154a20e64b8444143c0 parent 5e04e7fe774794b837e1d3897e6b96ae2d06679a author Jeff Garzik Fri, 11 Nov 2005 05:53:24 -0500 committer Jeff Garzik Fri, 11 Nov 2005 05:53:24 -0500 Merge branch 'master' commit d0bbccfa3297d3ef6ae4691585abde9a6c26b186 tree 96130802e4139de760cfafe452afe9e2482fac76 parent 3b621ee5df437d3f332a635ab6421aaa61a7dc2b author Andrew Morton Thu, 10 Nov 2005 15:29:27 -0800 committer Jeff Garzik Fri, 11 Nov 2005 05:52:37 -0500 [PATCH] sky2 needs dma_mapping.h On alpha: drivers/net/sky2.c: In function `sky2_probe': drivers/net/sky2.c:2819: error: `DMA_64BIT_MASK' undeclared (first use in this function) drivers/net/sky2.c:2819: error: (Each undeclared identifier is reported only once drivers/net/sky2.c:2819: error: for each function it appears in.) drivers/net/sky2.c:2825: error: `DMA_32BIT_MASK' undeclared (first use in this function) Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 3b621ee5df437d3f332a635ab6421aaa61a7dc2b tree c4a5236cee8eb7418770802313d36a55f1cc0b1e parent 7211bb9b64f17b23834d91fc3d0c1d78671ee9a8 parent 5e04e7fe774794b837e1d3897e6b96ae2d06679a author Jeff Garzik Fri, 11 Nov 2005 05:51:24 -0500 committer Jeff Garzik Fri, 11 Nov 2005 05:51:24 -0500 Merge branch 'master' commit 760559e1330a58cc5b320154a20e64b8444143c0 tree 46bf5b8d3b78f2ff57fd728026e597844b149efb parent 2f67bdb23d74a6c6fd4f98f64239c5c34d1833cc author Jeff Garzik Thu, 10 Nov 2005 04:31:55 -0500 committer Jeff Garzik Thu, 10 Nov 2005 04:31:55 -0500 [netdrvr 8139too] fast poll for thread, if an unlikely race occurs The rtl8139 thread is triggered only on rare 8139 hardware, the race itself is unlikely, and the impact of racing is low. We don't care enough to create a more-complex race-free solution. Rather, if the trylock fails, we now simply poll twice a second until we do get the lock. commit 2f67bdb23d74a6c6fd4f98f64239c5c34d1833cc tree fe533abe3e7c400848647b95e4806f5125c654c3 parent d40d9d29c020f8466c96f8e3ad4b7c014ff1085d parent 3b44f137b9a846c5452d9e6e1271b79b1dbcc942 author Jeff Garzik Thu, 10 Nov 2005 04:12:10 -0500 committer Jeff Garzik Thu, 10 Nov 2005 04:12:10 -0500 Merge branch 'master' commit ef797546a93fffa9d8508e7c8539b352b6678568 tree c8e357b931b6a25160700ee1bc7fb81b9896865d parent 8551158abc8ef45a7f473a87e69624d05ebfd684 author Stefan Richter Mon, 07 Nov 2005 06:31:50 -0500 committer Jody McIntyre Mon, 07 Nov 2005 06:31:50 -0500 Remove definitions of unreferenced macros virt_to_page and vmalloc_32 from dv1394 and video1394. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 8551158abc8ef45a7f473a87e69624d05ebfd684 tree 47cd79c5f5444c7cac812d797764f203207345a7 parent 7afa1467761f06bd9649efd66a4a6b3ff9f29a1f author Stefan Richter Mon, 07 Nov 2005 06:31:45 -0500 committer Jody McIntyre Mon, 07 Nov 2005 06:31:45 -0500 kmalloc/kzalloc changes: dv1394, eth1394, ieee1394, ohci1394, pcilynx, raw1394, sbp2c, video1394: - use kzalloc - provide safer size arguments to kmalloc and kzalloc - omit some casts Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 7afa1467761f06bd9649efd66a4a6b3ff9f29a1f tree c5c4b00aa4bd5097335aaf8d3a044033588f6826 parent a237f35fdd81d85037dccdacd2e94028227b59fb author Stefan Richter Mon, 07 Nov 2005 06:31:42 -0500 committer Jody McIntyre Mon, 07 Nov 2005 06:31:42 -0500 Remove version strings from eth1394, ohci1394, sbp2. Their version information is not trustworthy. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit a237f35fdd81d85037dccdacd2e94028227b59fb tree 5ca5603e74e9c92464173187c6c84640115a416f parent e309fc6d71d61bb0f049ab6d0da10c845da9513f author Stefan Richter Mon, 07 Nov 2005 06:31:39 -0500 committer Jody McIntyre Mon, 07 Nov 2005 06:31:39 -0500 sbp2, ohci1394 cleanups: sbp2: various code formatting cleanups ohci1394: remove form feed characters Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit e309fc6d71d61bb0f049ab6d0da10c845da9513f tree 0a4edeac8b002395ab98e3effa8559e976b18e48 parent 365c786f0be44ee92e018773cb0bc4b19080b6aa author Ben Collins Mon, 07 Nov 2005 06:31:34 -0500 committer Jody McIntyre Mon, 07 Nov 2005 06:31:34 -0500 sbp2: Remove our tracking of device type, since we no longer need to worry about it. Depends on patch "ieee1394: remove sbp2's TYPE_RBC and 10byte handling". Signed-off-by: Ben Collins Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 365c786f0be44ee92e018773cb0bc4b19080b6aa tree bd1364ceb901bfbdc6b1158dc1633b35a57d0899 parent 7945619794314414a5c44df11fca4d3f2a3389cf author Ben Collins Mon, 07 Nov 2005 06:31:24 -0500 committer Jody McIntyre Mon, 07 Nov 2005 06:31:24 -0500 sbp2: Merge TYPE_RBC and 10byte removal patch from scsi maintainers. Added more cleanups to remove unused code. Signed-off-by: Ben Collins Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 7945619794314414a5c44df11fca4d3f2a3389cf tree 0252189ea84abaf13ff35af0a18ceda9d457b0a3 parent 0b154bb7d0cce80e9c0bcf11d4f9e71b59409d26 author Jody McIntyre Mon, 07 Nov 2005 06:29:39 -0500 committer Jody McIntyre Mon, 07 Nov 2005 06:29:39 -0500 sbp2_command_orb_lock must be held when accessing the _orb_inuse list. Fixes an oops in sbp2util_find_command_for_SCpnt after sbp2scsi_abort: https://bugzilla.novell.com/show_bug.cgi?id=113734 Signed-off-by: Jody McIntyre Signed-off-by: Stefan Richter commit 7211bb9b64f17b23834d91fc3d0c1d78671ee9a8 tree 541909f86c31fee97cd70d28ec2fe5c23e1ceb02 parent f1e691a24955ea987f021f378324fb5003b1b208 parent 70d9d825e0a5a78ec1dacaaaf5c72ff5b0206fab author Jeff Garzik Sat, 05 Nov 2005 15:39:24 -0500 committer Jeff Garzik Sat, 05 Nov 2005 15:39:24 -0500 Merge branch 'master' commit 87199134b4a85de56a7508c551ab3b3a3ee35035 tree f7b0d0b4bce377c336a3c8cda0be762d29556cc7 parent ea37ccea66e6bdd9f3571418b6461850088c114e parent 70d9d825e0a5a78ec1dacaaaf5c72ff5b0206fab author Jeff Garzik Sat, 05 Nov 2005 15:38:13 -0500 committer Jeff Garzik Sat, 05 Nov 2005 15:38:13 -0500 Merge branch 'master' commit d40d9d29c020f8466c96f8e3ad4b7c014ff1085d tree cb30b4e80f37e0d734a826aa6b29394f46123f9f parent 96a71d52bb91d9b386a60f904956420f98946dd3 parent 70d9d825e0a5a78ec1dacaaaf5c72ff5b0206fab author Jeff Garzik Sat, 05 Nov 2005 15:37:24 -0500 committer Jeff Garzik Sat, 05 Nov 2005 15:37:24 -0500 Merge branch 'master' commit 96a71d52bb91d9b386a60f904956420f98946dd3 tree de71b019669e26672809f8d36942279b622509e9 parent 38b492a21ac1b0f0a5ebed69c9e2ee6f4202f574 author Jeff Garzik Fri, 04 Nov 2005 22:46:35 -0500 committer Jeff Garzik Fri, 04 Nov 2005 22:46:35 -0500 [netdrvr 8139too] use rtnl_shlock_nowait() rather than rtnl_lock_interruptible() commit 38b492a21ac1b0f0a5ebed69c9e2ee6f4202f574 tree 4b22aa4991148a56c2455bc71d813291666490d2 parent a15e0384dd22ee08f56d62761ce9d770488f6f4e author Jeff Garzik Fri, 04 Nov 2005 22:36:28 -0500 committer Jeff Garzik Fri, 04 Nov 2005 22:36:28 -0500 [netdrvr 8139too] use cancel_rearming_delayed_work() to cancel thread Noted by Herbert Xu. commit a15e0384dd22ee08f56d62761ce9d770488f6f4e tree 28c9fb9ad86295ca87f9bc6df6042727ddaf68c9 parent e2f2e58e7968f8446b1078a20a18bf8ea12b4fbc author Jeff Garzik Mon, 31 Oct 2005 07:59:37 -0500 committer Jeff Garzik Mon, 31 Oct 2005 07:59:37 -0500 [netdrvr 8139too] replace hand-crafted kernel thread with workqueue Gone are the days when 8139too was a shining example of how to use kernel threads. Delayed workqueues are easier, and map precisely to our task: running code from a kernel thread, after a periodic sleep. commit ea37ccea66e6bdd9f3571418b6461850088c114e tree 93e543532a6c2959602d3d01384544c398b4f551 parent 7380a78a973a8109c13cb0e47617c456b6f6e1f5 author Daniele Venzano Tue, 11 Oct 2005 09:44:30 +0200 committer Jeff Garzik Fri, 28 Oct 2005 16:48:19 -0400 [PATCH] Add Wake on LAN support to sis900 (2) Sorry, but that day I had smoked somthing too heavy for me, the patch didn't apply. Here's a new one. The patch availble below adds support for Wake on LAN to the sis900 driver. Some register addresses were added to sis900.h and two new functions were implemented in sis900.c. WoL status is controlled by ethtool. Patch is against 2.6.13. Comments are welcome, but also consider for inclusion in the -mm series. Signed-off-by: Daniele Venzano -- Signed-off-by: Jeff Garzik commit f1e691a24955ea987f021f378324fb5003b1b208 tree 83967945e34d293631623e3dcdfb1ea603af4974 parent bea86103313fae2e29f2d6eb9a4bd7cbeabd4d32 author shemminger@osdl.org Wed, 26 Oct 2005 12:16:11 -0700 committer Jeff Garzik Fri, 28 Oct 2005 12:18:53 -0400 [PATCH] sky2: version 0.7 Change version number Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit bea86103313fae2e29f2d6eb9a4bd7cbeabd4d32 tree efac21150cc73fda30e8d3d5871747b7585c064c parent d571b694df3ebc66f7a4c507f5a32579e43c2294 author shemminger@osdl.org Wed, 26 Oct 2005 12:16:10 -0700 committer Jeff Garzik Fri, 28 Oct 2005 12:18:53 -0400 [PATCH] sky2: fix NAPI and receive handling Speed up the receive and interrupt processing and eliminate a couple of race conditions from NAPI code. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit d571b694df3ebc66f7a4c507f5a32579e43c2294 tree b58bbc8e4dcf938255af533036befd6354461bc5 parent b2f5ad4fec76e78103e7fbb4e808587ea8a6d824 author shemminger@osdl.org Wed, 26 Oct 2005 12:16:09 -0700 committer Jeff Garzik Fri, 28 Oct 2005 12:18:53 -0400 [PATCH] sky2: spelling fixes Cosmetic cleanup's: mostly spelling fixes etc. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit b2f5ad4fec76e78103e7fbb4e808587ea8a6d824 tree 54d767fefe3be4e4c746e0b224131dc0ccbbb588 parent 488f84fd901cd3386f5723a3573ea2e1f55af537 author shemminger@osdl.org Wed, 26 Oct 2005 12:16:08 -0700 committer Jeff Garzik Fri, 28 Oct 2005 12:18:52 -0400 [PATCH] sky2: use kzalloc Can use kzalloc to save a little code. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 488f84fd901cd3386f5723a3573ea2e1f55af537 tree 070a3e9a71062ee701482c7d12da6f8c5649346a parent 90890687859ea658759e653c4e70ed7e9e1a6217 author shemminger@osdl.org Wed, 26 Oct 2005 12:16:07 -0700 committer Jeff Garzik Fri, 28 Oct 2005 12:18:52 -0400 [PATCH] sky2: remove unused definitions The sky2 driver has a lot of register definitions, that were copied over from the skge driver, for areas that don't exist on the Yukon2. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 90890687859ea658759e653c4e70ed7e9e1a6217 tree 9065b30bb189e16ef99b8b5a0d444558f8dc579f parent 2995bfb7855aabd493f840af361f3dd7d221caea parent 5fadd053d9bb4345ec6f405d24db4e7eb49cf81e author Jeff Garzik Fri, 28 Oct 2005 12:17:52 -0400 committer Jeff Garzik Fri, 28 Oct 2005 12:17:52 -0400 Merge branch 'master' commit 2995bfb7855aabd493f840af361f3dd7d221caea tree c1dabbfd2fe08db677cabd4ad07d54d0dc392c4d parent 9a7ae0a978263adb7d6b630f0c3c37c0133325e0 author Stephen Hemminger Wed, 28 Sep 2005 10:01:03 -0700 committer Jeff Garzik Tue, 04 Oct 2005 07:59:43 -0400 [PATCH] sky2: add permanent address support. Add permanent address support Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 9a7ae0a978263adb7d6b630f0c3c37c0133325e0 tree 2f6052964a9f1fe0e8d358911ce663903f388d31 parent 724bca3ca4d2126b67dd62e64d3f97805f9672de author Stephen Hemminger Tue, 27 Sep 2005 15:28:42 -0700 committer Jeff Garzik Wed, 28 Sep 2005 11:52:58 -0400 [PATCH] sky2: nway reset (BONUS FEATURE) Here is support for ethtool controlled renegotiation. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 724bca3ca4d2126b67dd62e64d3f97805f9672de tree c58a2dcb616db04767f5bd0ef7efae0b97d32862 parent 5afa0a9cfb79556f45c02957e71a2ac48a5bb6a1 author shemminger@osdl.org Tue, 27 Sep 2005 15:03:01 -0700 committer Jeff Garzik Wed, 28 Sep 2005 11:52:57 -0400 [PATCH] sky2: version 0.6 Verion number change, comment update and one simple optimization Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 5afa0a9cfb79556f45c02957e71a2ac48a5bb6a1 tree 2043649c5061090b3603d3b48f861fddf7ca7255 parent d1f1370863f7fa3d76dc7d7779debdda854a5a60 author shemminger@osdl.org Tue, 27 Sep 2005 15:03:00 -0700 committer Jeff Garzik Wed, 28 Sep 2005 11:52:57 -0400 [PATCH] sky2: explicit set power state Add better power management, and power down the chip on device removal Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit d1f1370863f7fa3d76dc7d7779debdda854a5a60 tree 9b27703564b30b25f9c772ec3afa4fa1fc22b536 parent d11c13e752c4e34777d33579ee0378e0178ef52d author shemminger@osdl.org Tue, 27 Sep 2005 15:02:57 -0700 committer Jeff Garzik Wed, 28 Sep 2005 11:49:32 -0400 [PATCH] sky2: add hardware VLAN acceleration support Use the hardware to do VLAN. Signed-off-by: Jeff Garzik commit d11c13e752c4e34777d33579ee0378e0178ef52d tree 71b877e71e9c8b03b478a160b07f4a2e0d62cfe9 parent 6b1a3aefd897fd9be410d192f950656ef2b59694 author shemminger@osdl.org Tue, 27 Sep 2005 15:02:56 -0700 committer Jeff Garzik Wed, 28 Sep 2005 11:49:32 -0400 [PATCH] sky2: cleanup interrupt processing The receive processing can be cleaned up by not using local variables to store checksum status, instead just put it directly onto the expected skb. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6b1a3aefd897fd9be410d192f950656ef2b59694 tree afffd4a23a577b5c21e76d098ed93f849bc013da parent ecfd7f32aa9e279f3732c2e5049b1a4a13428572 author shemminger@osdl.org Tue, 27 Sep 2005 15:02:55 -0700 committer Jeff Garzik Wed, 28 Sep 2005 11:49:32 -0400 [PATCH] sky2: changing mtu doesn't have to reset link Changing the MTU of the network device doesn't mean the whole link has to be brought down and back up again. Just stopping the receive engine is good enough. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit ecfd7f32aa9e279f3732c2e5049b1a4a13428572 tree 284a51b002afe8ee056b4c2e8413c6f08c8ff558 parent 6e4cbb34d4cabec48f25f0bbad68935221bd457b author Stephen Hemminger Mon, 19 Sep 2005 15:49:13 -0700 committer Jeff Garzik Wed, 21 Sep 2005 22:30:52 -0400 [PATCH] sky2: version 0.5 Bump version (we are half way to a stable driver??) Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6e4cbb34d4cabec48f25f0bbad68935221bd457b tree 7128d9b92a49deb8ad3dd49f7a0468cc535661a6 parent 79e57d32fe6d2d5bd38378f6dccfdbe6bd1d1dab author Stephen Hemminger Mon, 19 Sep 2005 15:47:57 -0700 committer Jeff Garzik Wed, 21 Sep 2005 22:30:52 -0400 [PATCH] sky2: allow ethtool debug access to all of PCI space For debugging, it is useful to allow ethtool to dump all of the PCI mapped space. There is one small set of registers for RAM diagnostics that needs to be avoided to prevent hanging, but all the rest is accessible. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 79e57d32fe6d2d5bd38378f6dccfdbe6bd1d1dab tree e3db01e9454ac7b42957087530d7cc6ed7381b2d parent 08217637fe8a0ba24e1bfc893569f9be4d836c6a author Stephen Hemminger Mon, 19 Sep 2005 15:42:33 -0700 committer Jeff Garzik Wed, 21 Sep 2005 22:30:52 -0400 [PATCH] sky2: fix FIFO DMA alignment problems The Yukon2 chip FIFO has a problem recovering from a pause frame if the receive buffer is not aligned. The workaround is to just leave receive buffer at original alignment, which will make IP header unaligned. Rework receive logic for clarity. Need to ignore receive overrun interrupts (or mac hangs). These fixes make the sky2 driver generally usable. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 08217637fe8a0ba24e1bfc893569f9be4d836c6a tree aecd53ca7952b59d93f066161b677926e813a550 parent 793b883ed12a6ae6e2901ddb5e038b77d6f0c0ac parent efb0372bbaf5b829ff8c39db372779928af542a7 author Jeff Garzik Wed, 21 Sep 2005 22:30:42 -0400 committer Jeff Garzik Wed, 21 Sep 2005 22:30:42 -0400 Merge /spare/repo/linux-2.6/ commit 793b883ed12a6ae6e2901ddb5e038b77d6f0c0ac tree d485606a0a7f2b70c9ee0d118fbdedf589f89a2c parent d7f6884ae0ae6e406ec3500fcde16e8f51642460 author Stephen Hemminger Wed, 14 Sep 2005 16:06:14 -0700 committer Jeff Garzik Fri, 16 Sep 2005 02:48:03 -0400 [PATCH] sky2: driver update. Here is revised patch against netdev sky2 branch. It includes whitespace fixes, all the changes from the previous review as well as some optimizations and timing fixes to solve some of the hangs. The stall problem is better but not perfect. It appears that under stress the chip can't keep up with the bus and sends a pause frame, then hangs. This version is for testing, and hopefully other eyes might see the root cause of the problem. I don't want to reinvent the ugly watchdog code in the syskonnect version of sk98lin. If you read it you will see, the original driver writer and the hardware developer obviously didn't understand each other. Dual port support is included, but not tested yet. It did require small change to NAPI since both ports share same IRQ. Signed-off-by: Jeff Garzik commit d7f6884ae0ae6e406ec3500fcde16e8f51642460 tree efceb246a4fa12921b7dbd3946a88fa257684405 parent cd28ab6a4e50a7601d22752aa7ce0c8197b10bdf parent 2f4ba45a75d6383b4a1201169a808ffea416ffa0 author Jeff Garzik Wed, 14 Sep 2005 08:01:25 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:01:25 -0400 Merge /spare/repo/linux-2.6/ commit cd28ab6a4e50a7601d22752aa7ce0c8197b10bdf tree 7030ba1742db21caebe491c9052f312e30c33628 parent 2ba84684e8cf6f980e4e95a2300f53a505eb794e author Stephen Hemminger Tue, 16 Aug 2005 16:36:49 -0700 committer Jeff Garzik Wed, 17 Aug 2005 00:53:12 -0400 [PATCH] sky2: new experimental Marvell Yukon2 driver New driver for the Marvell Yukon2 Gigabit Ethernet chipset. This driver is based on the skge driver, but using the logic from the SysKonnect version of the sk98lin driver. It should support all the Yukon2 chipsets that are available in many current Intel and AMD motherboards. The driver does support ethtool, tx and rx checksum, and tcp segmentation offload. But it has only been tested for a short while and is known to stop receiving under heavy load. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik