commit af4d4b34106b6e520e6b13350831b170d8bca117 tree 0f78dc7c545d7a72bacdc63ca6ba6e40a1ebf9f6 parent 5e2afc1ddd2a22b290bc334c0deffdd6dcdebc80 author Paul Mackerras Fri, 06 May 2005 14:27:17 +1000 committer Linus Torvalds Thu, 05 May 2005 22:00:52 -0700 [PATCH] ppc64: remove asm/bootinfo.h include The defines in bootinfo.h are not used, so the include can be removed. According to Ben, birecs are not used on ppc64: on ppc64, we made the decision of enforcing the presence of an OF device-tree and either an OF-like client interface or a kexec like flattened tree. so if your bootloader want to say things to the kernel, it can do so by adding properties to the device-tree compile-tested with defconfig Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds commit 8b3447db2e02f01f94b4bcd8584caccdada6fa4a tree a547715ba79a18629f3e6081b055cb81b2dca3da parent af4d4b34106b6e520e6b13350831b170d8bca117 author Paul Mackerras Fri, 06 May 2005 14:25:55 +1000 committer Linus Torvalds Thu, 05 May 2005 22:00:52 -0700 [PATCH] ppc64: remove unused arch/ppc64/boot/start.c start.c is not referenced in the arch/ppc64/boot/Makefile compile tested with the defconfig. Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds commit 5e2afc1ddd2a22b290bc334c0deffdd6dcdebc80 tree 5ec4d92159e8e032e1a97b2706285a9bf06640f4 parent 3892c5fa9455670466f9f5518b3b7ef12ef3ccd6 author Paul Mackerras Fri, 06 May 2005 13:35:04 +1000 committer Linus Torvalds Thu, 05 May 2005 22:00:52 -0700 [PATCH] ppc64: fix reloc_offset comment The code in reloc_offset is actually subtracting the address in the link register from the address calculated by the linker. Perhaps the extended mnemonic `sub' replaced an original `subf' and the comment just did not get updated. bl 1f 1: mflr r3 LOADADDR(r4,1b) sub r3,r4,r3 Signed-off-by: Amos Waterland Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds commit 3892c5fa9455670466f9f5518b3b7ef12ef3ccd6 tree 4f2e43fd2efd413a9b45a90129e62516c0d16808 parent 6741f3a7f9922391cd02b3ca1329e669497dc22f author Paul Mackerras Fri, 06 May 2005 13:29:34 +1000 committer Linus Torvalds Thu, 05 May 2005 22:00:52 -0700 [PATCH] ppc64: fix prom.c compile warning The code in unflatten_device_tree knows that get_property is written to only return with lenp equal to 1 when also returning a valid pointer. The gcc 3.3.3 compiler is not able to prove this to itself, so it warns about a possible uninitialized pointer dereference: .../arch/ppc64/kernel/prom.c: In function `unflatten_device_tree': .../arch/ppc64/kernel/prom.c:828: warning: `p' might be used uninitialized in this function Unless it is desired to rework the interaction between the two functions, this will keep the existing behavior but quiet the compiler. Signed-off-by: Amos Waterland Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds commit 2512809255d018744fe6c2f5e996c83769846c07 tree e220183081409fe4c5d1961cf1e56d93a91d7efc parent 8b3447db2e02f01f94b4bcd8584caccdada6fa4a author Paul Mackerras Fri, 06 May 2005 14:31:31 +1000 committer Linus Torvalds Thu, 05 May 2005 22:00:52 -0700 [PATCH] ppc64: remove explicit contig_page_data reference Trivial patch to remove our last direct reference to contig_page_data. This will make it just that much less hard to seperate NUMA and DISCONTIG. Please forward on. Against 2.6.12-rc1 Signed-off-by: Joel Schopp Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds commit 6741f3a7f9922391cd02b3ca1329e669497dc22f tree cda5ab7ce1bc4b36cb164e6daee18c7649348fb4 parent b6f0b0d016a254ff583fec26f2c9e21c1ae2fdf3 author Tobias Klauser Fri, 06 May 2005 12:10:04 +1000 committer Linus Torvalds Thu, 05 May 2005 19:32:59 -0700 [PATCH] arch/ppc64: Replace custom MIN macro Replace a custom MIN() macro with the min() macro from kernel.h This patch removes 4 lines of redundant code. Signed-off-by: Tobias Klauser Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds commit f59154c53fac0bfee52393247beadf0474770351 tree 002722bc8d24180077a35799e43dd75a19feb923 parent 252795264df50a6c9eee604d29989854d5558139 author Adrian Bunk Thu, 05 May 2005 16:16:21 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:51 -0700 [PATCH] fs/udf/udftime.c: fix off by one error This patch fixes an off by one error found by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6f0b0d016a254ff583fec26f2c9e21c1ae2fdf3 tree 08a1ef868a241b971de601c7698b58deaadfe340 parent f59154c53fac0bfee52393247beadf0474770351 author Adrian Bunk Thu, 05 May 2005 16:16:22 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:51 -0700 [PATCH] drivers/scsi/sym53c416.c: fix a wrong check The Coverity checker found that this for loop was wrong. This patch changes it to what seems to be intended. Signed-off-by: Adrian Bunk Cc: James Bottomley Cc: Matthew Wilcox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ebe8b54134314cc31331f6e26f42276cd947d1df tree 93a34aa89778fdc1a79e5f399347b8bb01f1452c parent d28c2bc8d192f606a4eb831978722107b20a9405 author Domen Puncer Thu, 05 May 2005 16:16:19 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:50 -0700 [PATCH] correctly name the Shell sort As per http://www.nist.gov/dads/HTML/shellsort.html, this should be referred to as a Shell sort. Shell-Metzner is a misnomer. Signed-off-by: Daniel Dickman Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d28c2bc8d192f606a4eb831978722107b20a9405 tree b47a5cda32a70fdf62f4a4a40d6805a48ddcc0a3 parent cad359c68455d6870d053184bbb0ae208e207eef author Domen Puncer Thu, 05 May 2005 16:16:19 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:50 -0700 [PATCH] fix lib/sort regression test The regression test in lib/sort.c is currently worthless because the array that is generated for sorting will be all zeros. This patch fixes things so that the array that is generated will contain unsorted integers (that are not all identical) as was probably intended. Signed-off-by Daniel Dickman Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cad359c68455d6870d053184bbb0ae208e207eef tree 9252eea9fc4aa168f949157c992a943134664b5b parent 4713741955736210511a5959bf13e92f8598dacd author Adrian Bunk Thu, 05 May 2005 16:16:18 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:50 -0700 [PATCH] fix NCR53C9x.c compile warning drivers/scsi/NCR53C9x.c: In function `esp_do_data': drivers/scsi/NCR53C9x.c:1838: warning: unused variable `flags' Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 252795264df50a6c9eee604d29989854d5558139 tree 72ee9019ea2917fcc0feab1ded60d2dc72a7051f parent ebe8b54134314cc31331f6e26f42276cd947d1df author walter harms Thu, 05 May 2005 16:16:20 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:50 -0700 [PATCH] documentation for strncpy() this clarifies the documentation on the behavier of strncpy(). Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 845d34318f8acb0d92d18ccc72ef6db4c7baeaea tree 6e62572694f1bec82dfb197e637a024d2486bc77 parent fba478b1719c39ea67f15c6158ff4993933e9d18 author Domen Puncer Thu, 05 May 2005 16:16:14 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:49 -0700 [PATCH] Spelling cleanups in shrinker code Just a few small cleanups to make this coherent english. Signed-Off-By: Martin Hicks Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4713741955736210511a5959bf13e92f8598dacd tree d609f9b7c0511abc482f97eebdfc185df15c8331 parent 02c30a84e6298b6b20a56f0896ac80b47839e134 author Kianusch Sayah Karadji Thu, 05 May 2005 16:16:17 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:49 -0700 [PATCH] x86: geode support fixes - Changed Name/defines from "Geode GX" to "Geode GX1" for clarification - Dropped "-march=i586" in favor of "-march=i486" - Dopped X86_OOSTORE support for Geode GX1 Signed-off-by: Kianusch Sayah Karadji Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 125947f2ab8c45417feaa4a8800e89529ca4612f tree 5abb5bf615b373e492f3c667af57ed497dcc600b parent 845d34318f8acb0d92d18ccc72ef6db4c7baeaea author Domen Puncer Thu, 05 May 2005 16:16:15 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:49 -0700 [PATCH] CodingStyle: trivial whitespace fixups When I do a "diff -Nur arch/i386 arch/x86_64" to see what is different between these two architectures, I see some differences due to whitespace issues only. The attached patch removes some of the noise by fixing up the following files: - arch/i386/boot/bootsect.S - arch/i386/boot/video.S - arch/x86_64/boot/bootsect.S Signed-off-by: Daniel Dickman Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 02c30a84e6298b6b20a56f0896ac80b47839e134 tree 031e9d68ad83c371af7ebeb6840f3ede52698663 parent 125947f2ab8c45417feaa4a8800e89529ca4612f author Jesper Juhl Thu, 05 May 2005 16:16:16 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:49 -0700 [PATCH] update Ross Biro bouncing email address Ross moved. Remove the bad email address so people will find the correct one in ./CREDITS. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fba478b1719c39ea67f15c6158ff4993933e9d18 tree a00475b38a3f3b1e00a5f781cd668cbda72a1a5a parent 3d67554895982f04d458e14c81b7b9843429719c author Domen Puncer Thu, 05 May 2005 16:16:13 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:48 -0700 [PATCH] ixj* - compile warning cleanup compile warning cleanup - suggested by Adrian Bunk; remove unmaintained rcs char strings from source and handle the occurrences of their use, make sure kernel-userspace issues taken care of; break out into separate patch Signed-off-by: Stephen Biggs Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3d67554895982f04d458e14c81b7b9843429719c tree e22d57fb3b83942d25d77386f808d1e029f81810 parent 3677209239ed71d2654e73eecfab1dbec2af11a9 author Jesper Juhl Thu, 05 May 2005 16:16:13 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:48 -0700 [PATCH] fix up a comment still refering to verify_area Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3677209239ed71d2654e73eecfab1dbec2af11a9 tree 125d9d7553c5f6dc6ad030e4c829a5bf71ab3ef5 parent 291c4a75ce7632ee5c565359fb875ba0597f76be author Paolo 'Blaisorblade' Giarrusso Thu, 05 May 2005 16:16:12 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:48 -0700 [PATCH] comments on locking of task->comm Add some comments about task->comm, to explain what it is near its definition and provide some important pointers to its uses. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 291c4a75ce7632ee5c565359fb875ba0597f76be tree be0fe48738b481b4b172cc9a98ac799ca79aece2 parent a27e951f1e9362411eba81e724fafca20f1b0563 author Randy.Dunlap Thu, 05 May 2005 16:16:11 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:48 -0700 [PATCH] reiserfs: use NULL instead of 0 Use NULL instead of 0 for pointer (sparse warning): fs/reiserfs/namei.c:611:50: warning: Using plain integer as NULL pointer Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a27e951f1e9362411eba81e724fafca20f1b0563 tree f4e51dc42946b0084c27a1d0ce30c70fb65de43b parent 75c96f85845a6707b0f9916cb263cb3584f7d48f author maximilian attems Thu, 05 May 2005 16:16:10 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:47 -0700 [PATCH] cyrix: eliminate bad section references Fix cyrix section references: convert __initdata to __devinitdata. Error: ./arch/i386/kernel/cpu/mtrr/cyrix.o .text refers to 00000379 R_386_32 .init.data Error: ./arch/i386/kernel/cpu/mtrr/cyrix.o .text refers to 00000399 R_386_32 .init.data Error: ./arch/i386/kernel/cpu/mtrr/cyrix.o .text refers to 000003b3 R_386_32 .init.data Error: ./arch/i386/kernel/cpu/mtrr/cyrix.o .text refers to 000003b9 R_386_32 .init.data Error: ./arch/i386/kernel/cpu/mtrr/cyrix.o .text refers to 000003bf R_386_32 .init.data Signed-of-by: maximilian attems Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 75c96f85845a6707b0f9916cb263cb3584f7d48f tree 45a64d1c9bb71d7093db3a11e0f21465c2e3dec6 parent 5e198d94dd0c3ec7f6138229e2e412c2c6268c38 author Adrian Bunk Thu, 05 May 2005 16:16:09 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:47 -0700 [PATCH] make some things static This patch makes some needlessly global identifiers static. Signed-off-by: Adrian Bunk Acked-by: Arjan van de Ven Acked-by: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f1daa40b638891a62e1be40f78d752c500265362 tree 5d62da772240a6cb26eddee42c9bf0fc3ce703a3 parent c557308e1f4b6f7d6144a06e8f98c467814f3aed author Alasdair G Kergon Thu, 05 May 2005 16:16:08 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:46 -0700 [PATCH] device-mapper dm-emc: Fix a memset The dm emc hardware handler code memset the hardware handler structure to zero AFTER it had initialized the structure's spinlock field. Signed-Off-By: Alasdair G Kergon From: Dave Olien Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c557308e1f4b6f7d6144a06e8f98c467814f3aed tree fe786dde1aea83e435fd86e75b2ee81238a8ae14 parent b84b0287a8ba618568a8bc9ac8847ac332abe90d author Alasdair G Kergon Thu, 05 May 2005 16:16:07 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:46 -0700 [PATCH] device-mapper multipath: Use private workqueue dm-mpath.c needs to use a private workqueue (like other dm targets already do) to avoid interfering with users of the default workqueue. Signed-Off-By: Alasdair G Kergon Acked-by: Jens Axboe Signed-off-by: Lars Marowsky-Bree Signed-off-by: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b84b0287a8ba618568a8bc9ac8847ac332abe90d tree 7dd4dcb9f379074a932d0d26f7c4a1ec82c28143 parent 354e007121de546e50b5592c2557575117435522 author Alasdair G Kergon Thu, 05 May 2005 16:16:06 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:46 -0700 [PATCH] device-mapper: tidy dm_suspend Tidy dm_suspend. Signed-Off-By: Alasdair G Kergon From: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e198d94dd0c3ec7f6138229e2e412c2c6268c38 tree 303c284a5a90e813ca1c92a0c3698a63089a86b2 parent f1daa40b638891a62e1be40f78d752c500265362 author Alasdair G Kergon Thu, 05 May 2005 16:16:09 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:46 -0700 [PATCH] device-mapper: Some missing statics This patch makes some needlessly global code static. Signed-Off-By: Alasdair G Kergon Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dfbe03f6d09fcebf85ae2a2cbb4ceee9b0985e67 tree 81fda9aa4042682a8559269aab315199a5330016 parent 3dcee8064bd36c547b45514dfd33df4c12695428 author Alasdair G Kergon Thu, 05 May 2005 16:16:04 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:45 -0700 [PATCH] device-mapper: let freeze_bdev return error Allow freeze_bdev() to return an error. Signed-Off-By: Alasdair G Kergon From: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d1782a3b0a15d9ac497a8f47931c4536bfe8d18e tree 76ce9caa1d4c4a1b34ee060fa9f165385a9f1a7e parent d17d7fa44dbe1f12031773e27eda9e939024a037 author Alasdair G Kergon Thu, 05 May 2005 16:16:03 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:45 -0700 [PATCH] device-mapper: store bdev while frozen Store the struct block_device while device is frozen, saving us one call to bdget_disk(). Signed-Off-By: Alasdair G Kergon From: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3dcee8064bd36c547b45514dfd33df4c12695428 tree 76c651c73dbb3575799f2bb191c0f89b2450ad1b parent d1782a3b0a15d9ac497a8f47931c4536bfe8d18e author Alasdair G Kergon Thu, 05 May 2005 16:16:04 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:45 -0700 [PATCH] device-mapper: __unlock_fs void Make __unlock_fs() void. From: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 354e007121de546e50b5592c2557575117435522 tree fb5b080a7ca3bc5cda561ce75f25976a03f04bc4 parent dfbe03f6d09fcebf85ae2a2cbb4ceee9b0985e67 author Alasdair G Kergon Thu, 05 May 2005 16:16:05 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:45 -0700 [PATCH] device-mapper: handle __lock_fs error Handle error from __lock_fs() Signed-Off-By: Alasdair G Kergon From: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fc9d53af37deeb830252f03c62724078d943686c tree 95e018111ee1db5657100077a25fa5d7d416d676 parent 2ef41634def0fcb0def3e3c90220c651ca478cb3 author Manu Abraham Thu, 05 May 2005 16:16:01 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:44 -0700 [PATCH] bttv: fix dst i2c read/write timeout failure. Attached is a patch to bttv which fixes the following problems. Affected cards and problems: ~~~~~~~~~~~~~~~~~~~~~~~~ o VP-1020 (200103A) Tuning problems, device detection. o VP-1020 (DST-MOT) Errors during tuning, device detection fails in a while. o VP-1030 (DST-CI) Tuning sometimes fails after CI commands. o VP-2031 (DCT-CI) Tuning problems The timeout happens before the actual timeout occured in the MCU on the board, and hence the problems. Changes: (bttv-i2c.diff) ~~~~~~~~~~~~~~~~~~~~~~~~ o Changed the custom wait queue to wait_event_interruptible_timeout() - Suggestion by Johannes Stezenbach. o Fixed the wait queue timeout problem - This fixes the timeout problem on various cards. - This problem was visible as many * Cannot tune to channels, when signal levels are very low. * app_info does not work in some conditions for CI based cards - Smaller values worked good for newer cards, but the older cards suffered, settled down to the worst case values that could happen in any eventuality. Signed-off-by: Manu Abraham Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ecffdde68ebefa1aa24411a91b12ae649f71f71c tree 1bacfd0bc79a515c610894b8a9794c327aca5aad parent fc9d53af37deeb830252f03c62724078d943686c author Pavel Roskin Thu, 05 May 2005 16:16:01 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:44 -0700 [PATCH] orinoco MAINTAINERS update Add mailing list addresses for Orinoco and update its homepage. Signed-off-by: Pavel Roskin Cc: David Gibson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d17d7fa44dbe1f12031773e27eda9e939024a037 tree 4b2a8ebb60907a5cde4dd02b737851525a24a588 parent ecffdde68ebefa1aa24411a91b12ae649f71f71c author Andrew Morton Thu, 05 May 2005 16:16:02 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:44 -0700 [PATCH] revert ext3-writepages-support-for-writeback-mode This had a fatal lock ranking bug: we do journal_start outside mpage_writepages()'s lock_page(). Revert the whole thing, think again. Credit-to: Jan Kara For identifying the bug. Cc: Badari Pulavarty Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ef41634def0fcb0def3e3c90220c651ca478cb3 tree 86fb9c439ad5043d38d69588975e84bd8b565619 parent 91bb52416854dfd581efe6e2a0aca8dc655f043e author Christoph Hellwig Thu, 05 May 2005 16:15:59 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:44 -0700 [PATCH] remove do_sync parameter from __invalidate_device The only caller that ever sets it can call fsync_bdev itself easily. Also update some comments. Signed-off-by: Christoph Hellwig Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c835a388968f5437491e3fe6e9b0332bc3c52e0e tree cdc6c80289327999e23996c07abe68a869534783 parent c35e66a4216c99fe94868ed3f714bd2708d0032a author Daniel Ritz Thu, 05 May 2005 16:15:57 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:43 -0700 [PATCH] pcmcia: yenta TI: align irq of func1 to func0 if INTRTIE is set Make sure that if the INTRTIE bit is set both functions of the cardbus bridge use the same IRQ before doing any probing... [ yes i hate the TI bridges for the fact that they are very flexible so that so many BIOS vendors get it wrong. ] Signed-off-by: Daniel Ritz Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c35e66a4216c99fe94868ed3f714bd2708d0032a tree 2781dc65cd530a6e725e47768d49cf10f10a31d4 parent 0a4c9c93c2fb5d09259136531d3e8e70fdcd6027 author Dominik Brodowski Thu, 05 May 2005 16:15:56 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:43 -0700 [PATCH] pcmcia: enable 32-bit memory windows on pd6729 Enable 32-bit memory windows on pd6729 PCI-PCMCIA bridges. Signed-off-by: Jarkko Raja Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 91bb52416854dfd581efe6e2a0aca8dc655f043e tree d1c30d46a1c4053b34ff3aaaf04adcbd41cc54e8 parent 5b76ffd5d9f12ba850fc988188f55056204ad4e2 author Christoph Hellwig Thu, 05 May 2005 16:15:59 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:43 -0700 [PATCH] remove outdated comments from filemap.c Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b76ffd5d9f12ba850fc988188f55056204ad4e2 tree d7d694c32ce2b8caa468d12970b6602e0ffbeb55 parent c835a388968f5437491e3fe6e9b0332bc3c52e0e author Christoph Hellwig Thu, 05 May 2005 16:15:58 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:43 -0700 [PATCH] DAC960: add support for Mylex AcceleRAID 4/5/600 This patch adds support for a new class of DAC960 controllers. It's based on the GPLed idac320 driver from IBM for Linux 2.4.18. That driver is a fork of the 2.4.18 version of DAC960 that adds support for this new type of controllers (internally called "GEM Series"), that differ from other DAC960 V2 firmware controllers only in the register offsets and removes support for all others. This patch instead integrates support for these controllers into the DAC960 driver. Thanks to Anders Norrbring for pointing me to the idac320 driver and testing this patch. No Signed-Off: line because all code is either copy & pasted from IBM's idac320 driver or support for other controllers in the 2.6 DAC960 driver. Note: the really odd formating matches the rest of the DAC960 driver. Cc: Dave Olien Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dfc1e148542f6f4951fd59e32c14a7368356db9d tree 781aba6044346d2ccc941e377641b15a448b4a1f parent d769a66970a947613f7c638c362f237583bd141b author Adrian Bunk Thu, 05 May 2005 16:15:51 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:42 -0700 [PATCH] remove BK documentation There's no longer a reason to document the obsolete BK usage. Signed-off-by: Adrian Bunk Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d769a66970a947613f7c638c362f237583bd141b tree e0a086607f1f9e02af54d26ff8cf4266ddfc4e61 parent 2b0c4bed77041bf64e26b502cd2a767e355c3342 author Andrew Morton Thu, 05 May 2005 16:15:50 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:42 -0700 [PATCH] uninline tty_paranoia_check() Has lots of callsites. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac5f34c028a043405de087e43699195ab3974dbf tree 693c09c0a93b40cda0055e9e61fc6843deb7c12a parent dfc1e148542f6f4951fd59e32c14a7368356db9d author Matt Porter Thu, 05 May 2005 16:15:52 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:42 -0700 [PATCH] Update dontdiff Additions to the dontdiff list. Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0a4c9c93c2fb5d09259136531d3e8e70fdcd6027 tree 07f8f2723b9339a2246d32c1bcff4a96df5eec00 parent ac5f34c028a043405de087e43699195ab3974dbf author Frederic CAND Thu, 05 May 2005 16:15:52 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:42 -0700 [PATCH] saa6752hs: resolutions handling This patch handles the VIDIOC_S_FMT and VIDIOC_G_FMT ioctls for the saa6752hs. As only 4 preset video formats are supported (SIF, 1/2D1, 2/3D1, D1), we compute to which the asked resolution is the nearest and apply it. Signed-off-by: Frederic Cand Acked-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f0fbd5fc09b20f7ba7bc8c80be33e39925bb38e1 tree 01216cf5771d1b49dfc2e0ba15ac1a288fb5d58c parent 05937baae9fc27b64bcd4378da7d2b14edf7931c author Andrew Morton Thu, 05 May 2005 16:15:48 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:41 -0700 [PATCH] __block_write_full_page() simplification The `last_bh' logic probably isn't worth much. In those situations where only the front part of the page is being written out we will save some looping but in the vastly more common case of an all-page writeout if just adds more code. Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b7e4e85337060354f8b860cc38066725559313a4 tree bdb958c6002fee2d73ed51e78d71dc663d2ad297 parent f0fbd5fc09b20f7ba7bc8c80be33e39925bb38e1 author Paulo Marques Thu, 05 May 2005 16:15:49 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:41 -0700 [PATCH] setitimer timer expires too early It seems that the code responsible for this is in kernel/itimer.c:126: p->signal->real_timer.expires = jiffies + interval; add_timer(&p->signal->real_timer); If you request an interval of, lets say 900 usecs, the interval given by timeval_to_jiffies will be 1. If you request this when we are half-way between two timer ticks, the interval will only give 400 usecs. If we want to guarantee that we never ever give intervals less than requested, the simple solution would be to change that to: p->signal->real_timer.expires = jiffies + interval + 1; This however will produce pathological cases, like having a idle system being requested 1 ms timeouts will give systematically 2 ms timeouts, whereas currently it simply gives a few usecs less than 1 ms. The complex (and more computationally expensive) solution would be to check the gettimeofday time, and compute the correct number of jiffies. This way, if we request a 300 usecs timer 200 usecs inside the timer tick, we can wait just one tick, but not if we are 800 usecs inside the tick. This would also mean that we would have to lock preemption during these computations to avoid races, etc. I've searched the archives but couldn't find this particular issue being discussed before. Attached is a patch to do the simple solution, in case anybody thinks that it should be used. Signed-Off-By: Paulo Marques Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2b0c4bed77041bf64e26b502cd2a767e355c3342 tree 0765d7187acc3919689bc464005af1b6dbdd1c67 parent b7e4e85337060354f8b860cc38066725559313a4 author Adrian Bunk Thu, 05 May 2005 16:15:49 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:41 -0700 [PATCH] drivers/ide/pci/sis5513.c: section fixes These three functions are referenced from the __devinitdata sis5513_chipset. Signed-off-by: Adrian Bunk Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05937baae9fc27b64bcd4378da7d2b14edf7931c tree 415bec7602a12a94ae4bc9b1aa512a1d55bb957d parent ad576e63e0c8b274a8558b8e05a6d0526e804dc0 author Andrew Morton Thu, 05 May 2005 16:15:47 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:41 -0700 [PATCH] __block_write_full_page speedup Remove all those get_bh()'s and put_bh()'s by extending lock_page() to cover the troublesome regions. (get_bh() and put_bh() happen every time whereas contention on a page's lock in there happens basically never). Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f3ddbdc6267c32223035ea9bb8456a2d86f65ba1 tree bc11ca9a8bc1f1ebdc70e59bb28e8e328346f7bb parent 3c8fad1829cc33e903500b41d989fa50ab196378 author Nick Piggin Thu, 05 May 2005 16:15:45 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:40 -0700 [PATCH] fix race in __block_prepare_write Fix a race where __block_prepare_write can leak out an in-flight read against a bh if get_block returns an error. This can lead to the page becoming unlocked while the buffer is locked and the read still in flight. __mpage_writepage BUGs on this condition. BUG sighted on a 2-way Itanium2 system with 16K PAGE_SIZE running fsstress -v -d $DIR/tmp -n 1000 -p 1000 -l 2 where $DIR is a new ext2 filesystem with 4K blocks that is quite small (causing get_block to fail often with -ENOSPC). Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ad576e63e0c8b274a8558b8e05a6d0526e804dc0 tree a7c44175df405cf2851f45a486ff96037d1a43e6 parent f3ddbdc6267c32223035ea9bb8456a2d86f65ba1 author Nick Piggin Thu, 05 May 2005 16:15:46 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:40 -0700 [PATCH] __block_write_full_page race fix When running fsstress -v -d $DIR/tmp -n 1000 -p 1000 -l 2 on an ext2 filesystem with 1024 byte block size, on SMP i386 with 4096 byte page size over loopback to an image file on a tmpfs filesystem, I would very quickly hit BUG_ON(!buffer_async_write(bh)); in fs/buffer.c:end_buffer_async_write It seems that more than one request would be submitted for a given bh at a time. What would happen is the following: 2 threads doing __mpage_writepages on the same page. Thread 1 - lock the page first, and enter __block_write_full_page. Thread 1 - (eg.) mark_buffer_async_write on the first 2 buffers. Thread 1 - set page writeback, unlock page. Thread 2 - lock page, wait on page writeback Thread 1 - submit_bh on the first 2 buffers. => both requests complete, none of the page buffers are async_write, end_page_writeback is called. Thread 2 - wakes up. enters __block_write_full_page. Thread 2 - mark_buffer_async_write on (eg.) the last buffer Thread 1 - finds the last buffer has async_write set, submit_bh on that. Thread 2 - submit_bh on the last buffer. => oops. So change __block_write_full_page to explicitly keep track of the last bh we need to issue, so we don't touch anything after issuing the last request. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c8fad1829cc33e903500b41d989fa50ab196378 tree 1e958eebf19fb59b67e51d6bb51303fbee2b84e9 parent 1922163c8dfe717c089bdcc18ade4a65350a09c8 author Daniel Ritz Thu, 05 May 2005 16:15:44 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:40 -0700 [PATCH] 3c59x: only put the device into D3 when we're actually using WOL During a warm boot the device is in D3 and has troubles coming out of it. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1922163c8dfe717c089bdcc18ade4a65350a09c8 tree be95a8f0df16e71f41dce26e8e530a900a4173a2 parent 64f562c6df3cfc5d1b2b4bdbcb7951457df9c237 author Randy.Dunlap Thu, 05 May 2005 16:15:43 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:40 -0700 [PATCH] patch-kernel: support non-incremental 2.6.x.y 'stable' patches Add better support for (non-incremental) 2.6.x.y patches; If an ending version number if not specified, the script automatically increments the SUBLEVEL (x in 2.6.x.y) until no more patch files are found; however, EXTRAVERSION (y in 2.6.x.y) is never automatically incremented but must be specified fully. patch-kernel does not normally support reverse patching, but does so when applying EXTRAVERSION (x.y) patches, so that moving from 2.6.11.y to 2.6.11.z is easy and handled by the script (reverse 2.6.11.y and apply 2.6.11.z). Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 64f562c6df3cfc5d1b2b4bdbcb7951457df9c237 tree 5fecfd97cfa1965185ec2254668d90d8f03e3f5f parent 04dea5f93231204cc3ca0ab793ce76dbb10c86ba author Ananth N Mavinakayanahalli Thu, 05 May 2005 16:15:42 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:39 -0700 [PATCH] kprobes: Allow multiple kprobes at the same address Allow registration of multiple kprobes at an address in an architecture agnostic way. Corresponding handlers will be invoked in a sequence. But, a kprobe and a jprobe can't (yet) co-exist at the same address. Signed-off-by: Ananth N Mavinakayanahalli Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a0a64e6c917b2ccc311cf978cc9d7eef7b31c47 tree 121b7de957b5cc73f8d0f1cd5fd70dcd1de04261 parent 7c5131a501e9e8549f74d807c37fde76008ef95a author Bodo Stroesser Thu, 05 May 2005 16:15:40 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:39 -0700 [PATCH] uml: header and code cleanup Remove some definitions and declarations from arch/um/include/skas_ptrace.h, as they have moved to arch/um/include/sysdep/skas_ptrace.h Also, remove PTRACE_SIGPENDING support in UML at all. Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0b9e2cac8a56e197d0a9e06268db4c8652d23dd5 tree 6bab2badad512d39c2b606e8c2c12d271c1bee35 parent 3a0a64e6c917b2ccc311cf978cc9d7eef7b31c47 author Prasanna S Panchamukhi Thu, 05 May 2005 16:15:40 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:39 -0700 [PATCH] Kprobes: Incorrect handling of probes on ret/lret instruction Kprobes could not handle the insertion of a probe on the ret/lret instruction and used to oops after single stepping since kprobes was modifying eip/rip incorrectly. Adjustment of eip/rip is not required after single stepping in case of ret/lret instruction, because eip/rip points to the correct location after execution of the ret/lret instruction. This patch fixes the above problem. Signed-off-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 04dea5f93231204cc3ca0ab793ce76dbb10c86ba tree b47e20371a62b46bedea4337f191d245b44b097f parent 0b9e2cac8a56e197d0a9e06268db4c8652d23dd5 author Prasanna S Panchamukhi Thu, 05 May 2005 16:15:41 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:39 -0700 [PATCH] Kprobes: Oops! in unregister_kprobe() kernel oops! when unregister_kprobe() is called on a non-registered kprobe. This patch fixes the above problem by checking if the probe exists before unregistering. Signed-off-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c52ac046757deebc514483e407dca39a9c774aa3 tree d997a0fb2723a8349fcfebfb07f94266b08e6a5b parent dbc35cc73f2edd6e39d7e814dbb6eddad6294665 author Bodo Stroesser Thu, 05 May 2005 16:15:36 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:38 -0700 [PATCH] uml: s390 preparation, linkage.h inherited from host This patch replaces the contents of include/asm-um/linkage.h by #include "asm/arch/linkage.h" Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7d37c6d52fce13008f20344790a81a6a5a0003b3 tree ebf98bc32d8c0e29627f7be8a4dd349a32efff1d parent c52ac046757deebc514483e407dca39a9c774aa3 author Bodo Stroesser Thu, 05 May 2005 16:15:36 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:38 -0700 [PATCH] uml: s390 preparation, checksumming done in arch code Checksum handling largely depends on the subarch. Thus, I renamed i386 arch_csum_partial in arch/um/sys-i386/checksum.S back to csum_partial, removed csum_partial from arch/um/kernel/checksum.c and shifted EXPORT_SYMBOL(csum_partial) to arch/um/sys-i386/ksyms.c. Then, csum_partial_copy_to and csum_partial_copy_from were shifted from arch/um/kernel/checksum.c to arch/um/include/sysdep-i386/checksum.h and inserted in the calling functions csum_partial_copy_from_user() and csum_and_copy_to_user(). Now, arch/um/kernel/checksum.c is empty and removed. Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c5131a501e9e8549f74d807c37fde76008ef95a tree 29c46c1e572e3b0cd2222a776cd6b33af42fb3ac parent 51a6b0c59a6170fc6a40221ef9b261b82856d315 author Bodo Stroesser Thu, 05 May 2005 16:15:39 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:38 -0700 [PATCH] uml: remove a dangling symlink UML: remove no longer needed arch-signal.h Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5fd861b682785f650114f4df53060d1be7fedecd tree eaa02425c2be79ac21ecc684a5b2a31d9f3320c2 parent 7d37c6d52fce13008f20344790a81a6a5a0003b3 author Bodo Stroesser Thu, 05 May 2005 16:15:37 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:38 -0700 [PATCH] uml: s390 preparation, delay moved to arch s390 has fast read access to realtime clock (nanosecond resolution). So it makes sense to have an arch-specific implementation not only of __delay, but __udelay also. Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 51a6b0c59a6170fc6a40221ef9b261b82856d315 tree aeb5e5ff3862f2f9a0fa02ab67b0a807262ad1d6 parent 5fd861b682785f650114f4df53060d1be7fedecd author Bodo Stroesser Thu, 05 May 2005 16:15:38 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:38 -0700 [PATCH] uml: s390 preparation, sighandler interface abstraction s390 passes parameters in registers. So the only safe way to find out the address of signal context, error-address and error-type (trap_no), which are passed to signal handlers as parameters, is to declare these parameters. So I inserted an subarch-specific macro which holds the declaration of parameters for signal handlers. Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dbc35cc73f2edd6e39d7e814dbb6eddad6294665 tree 42d2d84208e595d832e7f74f92ec678ff848c3f2 parent 51a141104a37369be2822f423ed4444aa34d26a2 author Bodo Stroesser Thu, 05 May 2005 16:15:35 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:37 -0700 [PATCH] uml: s390 preparation, elf.h This patch make elh.h a symlink to the new arch-specific include files of the form elf-.h, as in the same way already is done for some other includes. Also moves Elf-stuff from archparam-.h and elf.h to the new elf-.h files. Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a0b8d32020681535700e7bd4dac29ecf25d944ae tree dc1827a40c44668097e32f19b054da8a14838a92 parent 2ba491759fd74bfadf656c55a3695e98b6074439 author Jeff Dike Thu, 05 May 2005 16:15:33 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:37 -0700 [PATCH] uml: inclusion cleanup The completion cleanup got rid of some semaphores, but didn't remove the inclusion of asm/semaphore.h from xterm_kern.c. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 51a141104a37369be2822f423ed4444aa34d26a2 tree 9d12c22d4fc231f55d4b69b660586140bbd3b714 parent a0b8d32020681535700e7bd4dac29ecf25d944ae author Jeff Dike Thu, 05 May 2005 16:15:34 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:37 -0700 [PATCH] uml: hostfs failed mount handling This cleans up the error handling and fixes a crash if a hostfs mount fails. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd7aab9c1a4705ed45fe01a7ff108ce9823b0830 tree 5c4442c529709c915d1f75d96b65c23ceb34790b parent 04fe392378c818fb60bd817495ecb266d2cebe68 author Al Viro Thu, 05 May 2005 16:15:29 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:36 -0700 [PATCH] uml: finish cross-build support O=... builds support. Very easy, actually. Signed-off-by: Al Viro Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ea66e8a3b6c4760e8fbf59b1becb6bd8e3dd5376 tree dc3fff423be6f74aaf8cc4fffb0b493b7b06adae parent fd7aab9c1a4705ed45fe01a7ff108ce9823b0830 author Jeff Dike Thu, 05 May 2005 16:15:30 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:36 -0700 [PATCH] uml: fix a ptrace call This fixes write_ldt_entry to treat userspace_pid as an array. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cd2ee4a30cc0775d8b54e5b958613361a7cacfec tree edea72ea7d723a1c35675632850916d77084581b parent c578455a3eccf4dd7bd111e77129c301d6d67914 author Jeff Dike Thu, 05 May 2005 16:15:32 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:36 -0700 [PATCH] uml: Fix SIGWINCH relaying This makes SIGWINCH work again, and fixes a couple of SIGWINCH-associated crashes. First, the sigio thread disables SIGWINCH because all hell breaks loose if it ever gets one and tries to call the signal handling code. Second, there was a problem with deferencing tty structs after they were freed. The SIGWINCH support for a tty wasn't being turned off or freed after the tty went away. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c578455a3eccf4dd7bd111e77129c301d6d67914 tree b52def020bd10e1b8bffcf90e1e2a3c1b35010c8 parent ea66e8a3b6c4760e8fbf59b1becb6bd8e3dd5376 author Bodo Stroesser Thu, 05 May 2005 16:15:31 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:36 -0700 [PATCH] uml: S390 preparation, abstract host page fault data This patch removes the arch-specific fault/trap-infos from thread and skas-regs. It adds a new struct faultinfo, that is arch-specific defined in sysdep/faultinfo.h. The structure is inserted in thread.arch and thread.regs.skas and thread.regs.tt Now, segv and other trap-handlers can copy the contents from regs.X.faultinfo to thread.arch.faultinfo with one simple assignment. Also, the number of macros necessary is reduced to FAULT_ADDRESS(struct faultinfo) extracts the faulting address from faultinfo FAULT_WRITE(struct faultinfo) extracts the "is_write" flag SEGV_IS_FIXABLE(struct faultinfo) is true for the fixable segvs, i.e. (TRAP == 14) on i386 UPT_FAULTINFO(regs) result is (struct faultinfo *) to the faultinfo in regs->skas.faultinfo GET_FAULTINFO_FROM_SC(struct faultinfo, struct sigcontext *) copies the relevant parts of the sigcontext to struct faultinfo. On SIGSEGV, call user_signal() instead of handle_segv(), if the architecture provides the information needed in PTRACE_FAULTINFO, or if PTRACE_FAULTINFO is missing, because segv-stub will provide the info. The benefit of the change is, that in case of a non-fixable SIGSEGV, we can give user processes a SIGSEGV, instead of possibly looping on pagefault handling. Since handle_segv() sikked arch_fixup() implicitly by passing ip==0 to segv(), I changed segv() to call arch_fixup() only, if !is_user. Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ba491759fd74bfadf656c55a3695e98b6074439 tree a0db13a91334fea67c403df26b4881deff108720 parent cd2ee4a30cc0775d8b54e5b958613361a7cacfec author Jeff Dike Thu, 05 May 2005 16:15:33 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:36 -0700 [PATCH] uml: tidy Makefile.rules Just some breaking of some overly-long lines. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit da998a2aecd3f15eca5385e1122610890039c4df tree b7c8f48cc57f7f21a0032cdcebcbaf74a36f172c parent 2b8b611e9a4725ae558af4fa48cf7d9e2193e7ed author Al Viro Thu, 05 May 2005 16:15:27 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:35 -0700 [PATCH] uml: cross-build support : mk_task and mk_constants helpers in arch/um/util (mk_task and mk_constants) converted. That's it - none of the helpers depends on build and target being the same architecture anymore. Signed-off-by: Al Viro Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a31769ed3ee82198fd530cb1d79ee9c7f8eeb1d1 tree d512ffff086b47597e7bb1b431aa65353b113cc5 parent 6bae32d395b532959703462c21248fbeb9894e95 author Al Viro Thu, 05 May 2005 16:15:25 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:35 -0700 [PATCH] uml: cross-build support : kernel_offsets The next group of helpers is a bit trickier - they want the constants similar to those in user-offsets.h, but we need target sc.h for it. So we can't put that into user-offsets (sc.h depends on it) and need the second generated header for that stuff (kernel-offsets.h. BFD... Signed-off-by: Al Viro Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2b8b611e9a4725ae558af4fa48cf7d9e2193e7ed tree 82b70f850a945b9fac3b94ed634178f73a07457b parent a31769ed3ee82198fd530cb1d79ee9c7f8eeb1d1 author Al Viro Thu, 05 May 2005 16:15:26 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:35 -0700 [PATCH] uml: cross-build support : mk_thread mk_thread converted Signed-off-by: Al Viro Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 04fe392378c818fb60bd817495ecb266d2cebe68 tree 219c418b34a20bd19f5044de38f4949e6df474c1 parent da998a2aecd3f15eca5385e1122610890039c4df author Al Viro Thu, 05 May 2005 16:15:28 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:35 -0700 [PATCH] uml: fix missing subdir in x86_64 make distclean et.al. are missing arch/um/sys-x86_64/utils; fixed the same way we have it done for sys-i386 counterpart. Signed-off-by: Al Viro Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fcddd72e3e2565f8b838ae71a3e716a67f616160 tree 4c598934d238cc3afce36550bb36e4facb747bec parent 03f81dc50caf6360aa5343264fed8868e22d9058 author Al Viro Thu, 05 May 2005 16:15:22 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:34 -0700 [PATCH] uml: use variables rather than symlinks in dependencies Use explicit os-... in make dependencies instead of playing with symlinks (symlink in question is still created - it's needed for other things; however, there's no reason to complicate ordering here). Signed-off-by: Al Viro Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d0b9dc9be3919e9979eac59fd12e8f82b098325 tree 190a2421938f7bb94b5ab830b0513ef435bbcab1 parent fcddd72e3e2565f8b838ae71a3e716a67f616160 author Al Viro Thu, 05 May 2005 16:15:23 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:34 -0700 [PATCH] uml: start cross-build support : mk_user_constants Beginning of cross-build fixes. Instead of expecting that mk_user_constants (compiled and executed on the build box) will see the sizeof, etc. for target box, we do what every architecture already does for asm-offsets. Namely, have user-offsets.c compiled *for* *target* into user-offsets.s and sed it into the header with relevant constants. We don't need to reinvent any wheels - all tools are already there. This patch deals with mk_user_constants. It doesn't assume any relationship between target and build environment anymore - we pick all defines we need from user-offsets.h. Later patches will deal with the rest of mk_... helpers in the same way. Signed-off-by: Al Viro Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6bae32d395b532959703462c21248fbeb9894e95 tree d690d7d3ee9525ae43c641e218d1804798782952 parent 1cd3bc1c810c83fb8955035675165a644e0c9a84 author Al Viro Thu, 05 May 2005 16:15:25 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:34 -0700 [PATCH] uml: cross-build support: mk_sc Ditto for mk_sc Signed-off-by: Al Viro Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1cd3bc1c810c83fb8955035675165a644e0c9a84 tree 25c09e82f812c84f55b1e86141cb371ce8626c85 parent 8d0b9dc9be3919e9979eac59fd12e8f82b098325 author Al Viro Thu, 05 May 2005 16:15:24 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:34 -0700 [PATCH] uml: cross-build support : mk_ptregs mk_ptregs converted. Nothing new here, it's the same situation as with mk_user_constants. Signed-off-by: Al Viro Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 776cfebb430c7b22c208b1b17add97f354d97cab tree a4029d17947423ff8cdf12757e3434eb31e0dcba parent 0c28130b5c9e8f0b153436d3dae39482e5a70af1 author Paolo 'Blaisorblade' Giarrusso Thu, 05 May 2005 16:15:18 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:33 -0700 [PATCH] uml kbuild: avoid useless rebuilds - Fix some problems with usage of $(targets) (sometimes missing, sometimes used badly) that trigger partial rebuilds when doing a rebuild. - At that purpose, also factor out some common code for symlinks creation. - Fix a x86-64 build warning, caused by -L/usr/lib, which is anyway useless, and invalid in the x86-64 case. Tested on x86_64 and x86. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 23352fc252495fdc072b3bd29f57c4c6b7a6bd83 tree 6d8bbac7d5512e7a984551f39d3922410ba53455 parent f7fe8781749bf2de2ca03147a1691244a7d93ec7 author Paolo 'Blaisorblade' Giarrusso Thu, 05 May 2005 16:15:16 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:33 -0700 [PATCH] uml: kludgy compilation fixes for x86-64 subarch modules support These are some trivial fixes for the x86-64 subarch module support. The only potential problem is that I have to modify arch/x86_64/kernel/module.c, to avoid copying the whole of it. I can't use it verbatim because it depends on a special vmalloc-like area for modules, which for now (maybe that's to fix, I guess not) UML/x86-64 has not. I went the easy way and reused the i386 vmalloc()-based allocator. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c28130b5c9e8f0b153436d3dae39482e5a70af1 tree df2c3f91108cc897cd799196b6044ebb617a8f0a parent 23352fc252495fdc072b3bd29f57c4c6b7a6bd83 author Paolo 'Blaisorblade' Giarrusso Thu, 05 May 2005 16:15:17 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:33 -0700 [PATCH] x86_64: make string func definition work as intended In include/asm-x86_64/string.h there are such comments: /* Use C out of line version for memcmp */ #define memcmp __builtin_memcmp int memcmp(const void * cs,const void * ct,size_t count); This would mean that if the compiler does not decide to use __builtin_memcmp, it emits a call to memcmp to be satisfied by the C out-of-line version in lib/string.c. What happens is that after preprocessing, in lib/string.i you may find the definition of "__builtin_strcmp". Actually, by accident, in the object you will find the definition of strcmp and such (maybe a trick intended to redirect calls to __builtin_memcmp to the default memcmp when the definition is not expanded); however, this particular case is not a documented feature as far as I can see. Also, the EXPORT_SYMBOL does not work, so it's duplicated in the arch. I simply added some #undef to lib/string.c and removed the (now duplicated) exports in x86-64 and UML/x86_64 subarchs (the second ones are introduced by another patch I just posted for -mm). Signed-off-by: Paolo 'Blaisorblade' Giarrusso CC: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 03f81dc50caf6360aa5343264fed8868e22d9058 tree 21bd82c83baa1fa9bfa6fd2df026fe4dec2bce84 parent 776cfebb430c7b22c208b1b17add97f354d97cab author Al Viro Thu, 05 May 2005 16:15:19 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:33 -0700 [PATCH] uml: include the linker script rather than symlink it Make vmlinux.lds.S include appopriate script instead of playing games with symlinks. Signed-off-by: Al Viro Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f7fe8781749bf2de2ca03147a1691244a7d93ec7 tree ed4288c71b5208f9207fe852dd3351446261adb6 parent 1f8d419e291f7f7f7f3ffd4f0ba00834621690c8 author Paolo 'Blaisorblade' Giarrusso Thu, 05 May 2005 16:15:15 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:32 -0700 [PATCH] uml: obvious compile fixes for x86-64 Subarch and x86 regression fixes This patch does some totally trivial compilation fixes. It also restores the debugregs manipulation, which was commented out simply because it doesn't compile on x86_64 (we haven't yet implemented there debugregs handling). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e685752de107201432a055f7c45c396a5b04dc17 tree 0a996878093857e34023ba0dd5c05040f5390ab6 parent 7d12e522ba13ce718b7ec32b75803dece8adb072 author Jesper Juhl Thu, 05 May 2005 16:15:12 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:32 -0700 [PATCH] ppc64: add missing Kconfig help text There's no help text for CONFIG_DEBUG_STACKOVERFLOW - add one. Signed-off-by: Jesper Juhl Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7d12e522ba13ce718b7ec32b75803dece8adb072 tree 80282ac789c1d48202a570b5828b024f39e63761 parent 696c2b9f97c2439e9fb299650041ec750df46865 author Anton Blanchard Thu, 05 May 2005 16:15:11 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:32 -0700 [PATCH] ppc64: remove hidden -fno-omit-frame-pointer for schedule.c While looking at code generated by gcc4.0 I noticed some functions still had frame pointers, even after we stopped ppc64 from defining CONFIG_FRAME_POINTER. It turns out kernel/Makefile hardwires -fno-omit-frame-pointer on when compiling schedule.c. Create CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER and define it on architectures that dont require frame pointers in sched.c code. (akpm: blame me for the name) Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 696c2b9f97c2439e9fb299650041ec750df46865 tree 09a2c0df780b1739324f25c9ee19e00334d37b30 parent 075d6eb16d273dab7b7b4b83fcee8bce4ee387ed author Kumar Gala Thu, 05 May 2005 16:15:10 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:32 -0700 [PATCH] ppc32: Simplified PPC core revision report We can identify new Freescale PPC cores by the fact that the MSB of the PVR is set. If we are a new Freescale core the decode of major/minor revision numbers is simplified so we dont have to add new case checks for a every new Freescale core. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1f8d419e291f7f7f7f3ffd4f0ba00834621690c8 tree 833df93032a38bc749458ce8be3a316eae1d5215 parent e685752de107201432a055f7c45c396a5b04dc17 author David Gibson Thu, 05 May 2005 16:15:13 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:32 -0700 [PATCH] ppc64: pgtable.h and other header cleanups This patch started as simply removing a few never-used macros from asm-ppc64/pgtable.h, then kind of grew. It now makes a bunch of cleanups to the ppc64 low-level header files (with corresponding changes to .c files where necessary) such as: - Abolishing never-used macros - Eliminating multiple #defines with the same purpose - Removing pointless macros (cases where just expanding the macro everywhere turns out clearer and more sensible) - Removing some cases where macros which could be defined in terms of each other weren't - Moving imalloc() related definitions from pgtable.h to their own header file (imalloc.h) - Re-arranging headers to group things more logically - Moving all VSID allocation related things to mmu.h, instead of being split between mmu.h and mmu_context.h - Removing some reserved space for flags from the PMD - we're not using it. - Fix some bugs which broke compile with STRICT_MM_TYPECHECKS. Signed-off-by: David Gibson Acked-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit becf3aec2608d6807a58d0677661cb23c388d67f tree 37c6cc1b13b2c66389fd5805ab538c38c8c5b55e parent 60d300c02fe2e0be9bb02904361e41e0307264b2 author Herbert Xu Thu, 05 May 2005 16:15:08 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:31 -0700 [PATCH] Add CXT48 to modem black list in ac97 The following patch works around the misdetection of the CXT48 codec as a modem by the OSS ac97 driver. Signed-off-by: Herbert Xu Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 60d300c02fe2e0be9bb02904361e41e0307264b2 tree 28734e32dd7b7deea4d9d1456b354f59de2f2187 parent 42d77c70177b2f7535766bce938d965fd863f0fd author Stuart Brady Thu, 05 May 2005 16:15:07 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:31 -0700 [PATCH] include/linux/soundcard.h: endianness fix Fixes for big-endian systems in soundcard.h and awe_voice.h This patch fixes the AFMT_S16_NE (include/linux/soundcard.h) and AWE_PATCH (awe_voice.h) macros on big-endian systems. It also moves _PATCHKEY into a new file, patchkey.h, in order to remove a duplicate definition of it from awe_voice.h. Signed-off-by: Stuart Brady Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 42d77c70177b2f7535766bce938d965fd863f0fd tree 377e7ae9fd5a18a698e7052f3ffd4a770fcec9e5 parent 3437c5df6f9c00b6a9b7dcb7a30c5e3e1e5de189 author Andrew Morton Thu, 05 May 2005 16:15:06 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:31 -0700 [PATCH] interwave needs isa pnp Fix bug #4509 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 075d6eb16d273dab7b7b4b83fcee8bce4ee387ed tree d5e2cfb21dd752410649a675f2bb2a7c0db05c8e parent becf3aec2608d6807a58d0677661cb23c388d67f author David Woodhouse Thu, 05 May 2005 16:15:09 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:31 -0700 [PATCH] ppc32: platform-specific functions missing from kallsyms. The PPC32 kernel puts platform-specific functions into separate sections so that unneeded parts of it can be freed when we've booted and actually worked out what we're running on today. This makes kallsyms ignore those functions, because they're not between _[se]text or _[se]inittext. Rather than teaching kallsyms about the various pmac/chrp/etc sections, this patch adds '_[se]extratext' markers for kallsyms. Signed-off-by: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f48d9663f19afb88ac0e45b825da523180f1f9c0 tree 8eece0b3fd959622afdef405dc42dc4a6b63efe7 parent 47c297529bd23d93d2a088d9620bb220763e9cb1 author Alexander Nyberg Thu, 05 May 2005 16:15:03 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:30 -0700 [PATCH] x86 stack initialisation fix The recent change fix-crash-in-entrys-restore_all.patch childregs->esp = esp; p->thread.esp = (unsigned long) childregs; - p->thread.esp0 = (unsigned long) (childregs+1); + p->thread.esp0 = (unsigned long) (childregs+1) - 8; p->thread.eip = (unsigned long) ret_from_fork; introduces an inconsistency between esp and esp0 before the task is run the first time. esp0 is no longer the actual start of the stack, but 8 bytes off. This shows itself clearly in a scenario when a ptracer that is set to also ptrace eventual children traces program1 which then clones thread1. Now the ptracer wants to modify the registers of thread1. The x86 ptrace implementation bases it's knowledge about saved user-space registers upon p->thread.esp0. But this will be a few bytes off causing certain writes to the kernel stack to overwrite a saved kernel function address making the kernel when actually running thread1 jump out into user-space. Very spectacular. The testcase I've used is: /* start with strace -f ./a.out */ #include #include void *do_thread(void *p) { for (;;); } int main() { pthread_t one; pthread_create(&one, NULL, &do_thread, NULL); for (;;); return 0; } So, my solution is to instead of just adjusting esp0 that creates an inconsitent state I adjust where the user-space registers are saved with -8 bytes. This gives us the wanted extra bytes on the start of the stack and esp0 is now correct. This solves the issues I saw from the original testcase from Mateusz Berezecki and has survived testing here. I think this should go into -mm a round or two first however as there might be some cruft around depending on pt_regs lying on the start of the stack. That however would have broken with the first change too! It's actually a 2-line diff but I had to move the comment of why the -8 bytes are there a few lines up. Thanks to Zwane for helping me with this. Signed-off-by: Alexander Nyberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e422fd2c965ad1b0e4eadaabd0adb77e8a93e74e tree a29a10773141fb0da142abb45ac618f2913f981d parent f48d9663f19afb88ac0e45b825da523180f1f9c0 author Andrea Arcangeli Thu, 05 May 2005 16:15:04 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:30 -0700 [PATCH] avoid -ENOMEM due reclaimable slab caches This makes sure that reclaimable buffer headers and reclaimable inodes are accounted properly during the overcommit checks. Signed-off-by: Andrea Arcangeli Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3437c5df6f9c00b6a9b7dcb7a30c5e3e1e5de189 tree f39ddc9f1b07b4debf3e9e368c81674a24ebe3d4 parent e422fd2c965ad1b0e4eadaabd0adb77e8a93e74e author Jason Gaston Thu, 05 May 2005 16:15:05 -0700 committer Linus Torvalds Thu, 05 May 2005 16:36:30 -0700 [PATCH] intel8x0: fix for Intel AC'97 audio driver This patch fixes a typo in the Intel AC'97 audio driver intel8x0.c for Intel ESB2. Signed-off-by: Jason Gaston Cc: Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 47c297529bd23d93d2a088d9620bb220763e9cb1 tree 52672d42102a4d0c8b4fc13b79812290efbd5d3a parent fd4e5f29f7354c3e3edaa03d37a7bf83b0cbae36 parent 7cc1712b8a778c8077048969848857895d242009 author Linus Torvalds Thu, 05 May 2005 16:23:24 -0700 committer Linus Torvalds Thu, 05 May 2005 16:23:24 -0700 Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6.git commit fd4e5f29f7354c3e3edaa03d37a7bf83b0cbae36 tree dd776442b62b9f24928672c886ebf23efb1ace56 parent 4adb18173aba217a7ce7f261427914d1350c4e18 parent b6d31e80f0d6a722bf85b3a7090df473fc545980 author Linus Torvalds Thu, 05 May 2005 16:22:23 -0700 committer Linus Torvalds Thu, 05 May 2005 16:22:23 -0700 Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6.git commit 4adb18173aba217a7ce7f261427914d1350c4e18 tree 0c302c01a8d13717b35764a4f194ccd7043394d7 parent 3b9fa0931dd86a1fe5507311ee8031650f5d0e8c parent 41e46d6ab0ca1908bff4e77ad9eeb6bf7afeb5c0 author Linus Torvalds Thu, 05 May 2005 16:06:47 -0700 committer Linus Torvalds Thu, 05 May 2005 16:06:47 -0700 Automatic merge of master.kernel.org:/home/rmk/linux-2.6-rmk.git commit 4b0e07a5566a4e3f141e52c1f17e683e4a5bba91 tree 4a2f67e6cb6ea665c6d45529a5b7c61ac255663d parent f7e68bbf405a45d6e7c5b8fc384ff1ba20dd7aa4 author Nicolas Pitre Thu, 05 May 2005 23:24:45 +0100 committer Russell King Thu, 05 May 2005 23:24:45 +0100 [PATCH] ARM: 2663/1: straightify TLS register emulation a bit more Patch from Nicolas Pitre This better express things, and should cover RMK's weird SMP toys. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 41e46d6ab0ca1908bff4e77ad9eeb6bf7afeb5c0 tree 95be8b5de3730201e859f5694a31f347825ad9a4 parent 4b0e07a5566a4e3f141e52c1f17e683e4a5bba91 author Nicolas Pitre Thu, 05 May 2005 23:24:45 +0100 committer Russell King Thu, 05 May 2005 23:24:45 +0100 [PATCH] ARM: 2665/1: kill warnings in entry-armv.S Patch from Nicolas Pitre Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 3b9fa0931dd86a1fe5507311ee8031650f5d0e8c tree b40a8a09aca2b52f40d548b34c48ea46ba10b90f parent f403b7f452e4347f6af14c1f3c47bce758eb6337 author Arnaldo Carvalho de Melo Thu, 05 May 2005 15:09:46 -0700 committer Linus Torvalds Thu, 05 May 2005 15:24:00 -0700 [PATCH] Kconfig i18n support This patch adds i18n support for make *config, allowing users to have the config process in their own language. No printk was harmed in the process, don't worry, so all the bug reports, kernel messages, etc, remain in english, just the user tools to configure the kernel are internationalized. Users not interested in translations can just unset the related LANG, LC_ALL, etc env variables and have the config process in plain english, something like: LANG= make menuconfig is enough for having the whole config process in english. Or just don't install any translation file. Translations for brazilian portuguese are being done by a team of volunteers at: http://www.visionflex.inf.br/kernel_ptbr/pmwiki.php/Principal/Traducoes To start the translation process: make update-po-config This will generate the pot template named scripts/kconfig/linux.pot, copy it to, say, ~/es.po, to start the translation for spanish. To test your translation, as root issue this command: msgfmt -o /usr/share/locale/es/LC_MESSAGES/linux.mo ~/es.po Replace "es" with your language code. Then execute, for instance: make menuconfig The current patch doesn't use any optimization to reduce the size of the generated .mo file, it is possible to use the config option as a key, but this doesn't prevent the current patch from being used or the translations done under the current scheme to be in any way lost if we chose to do any kind of keying. Thanks to Fabricio Vaccari for starting the pt_BR (brazilian portuguese) translation effort, Thiago Maciera for helping me with the gconf.cc (QT frontent) i18n coding and to all the volunteers that are already working on the first translation, to pt_BR. I left the question on whether to ship the translations with the stock kernel sources to be discussed here, please share your suggestions. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7cc1712b8a778c8077048969848857895d242009 tree 99407d822cde93c61c8dd9e871cd1a607d7fc277 parent 8edf72ebce06d52e855438ec18fe20dea7a4cc04 author Coywolf Qi Hunt Thu, 05 May 2005 14:53:01 -0700 committer David S. Miller Thu, 05 May 2005 14:53:01 -0700 [SPARC]: Remove legacy stuff from cpu_idle(). Currently sparc and sparc64's UP cpu_idle() checks current pid. This is old time legacy. Now it's paranoia. Signed-off-by: Coywolf Qi Hunt Acked-by: William Irwin Signed-off-by: David S. Miller commit b6d31e80f0d6a722bf85b3a7090df473fc545980 tree 999772bc591650ab8b58d2c7a225ae83ecb6697f parent e6de8ad1fae8385eca4bf288e7a6ea2664ce0458 author David S. Miller Thu, 05 May 2005 14:46:21 -0700 committer David S. Miller Thu, 05 May 2005 14:46:21 -0700 [TG3]: Update driver version and reldate. Signed-off-by: David S. Miller commit e6de8ad1fae8385eca4bf288e7a6ea2664ce0458 tree 1b1c2a9ec62be56dc10c2a2e944aa5ffd475ba2d parent b3b7d6be54f919556148946adb4ece91820ad210 author Michael Chan Thu, 05 May 2005 14:42:41 -0700 committer David S. Miller Thu, 05 May 2005 14:42:41 -0700 [TG3]: Ignore tg3_stop_block() errors. tg3_stop_block() errors can be safely ignored since tg3_chip_reset() always follows tg3_stop_block() calls. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit b3b7d6be54f919556148946adb4ece91820ad210 tree edda774e0a8e6fb1192910e28a58ee384e17c57e parent 60d530655334369b62f260296a5ed1646a9529f0 author David S. Miller Thu, 05 May 2005 14:40:20 -0700 committer David S. Miller Thu, 05 May 2005 14:40:20 -0700 [TG3]: Elide tg3_stop_block messages when such events are normal. Signed-off-by: David S. Miller commit 60d530655334369b62f260296a5ed1646a9529f0 tree 3b34a13404a41589df322a64bc2d9b7861f43a9d parent 3ef4e9a8db6c65de7c7f4bc013d62b0d73f50dce author Patrick McHardy Thu, 05 May 2005 14:30:15 -0700 committer David S. Miller Thu, 05 May 2005 14:30:15 -0700 [IPV4]: multipath_wrandom.c GPF fixes multipath_wrandom needs to use GFP_ATOMIC. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 8edf72ebce06d52e855438ec18fe20dea7a4cc04 tree a75409d5ae04a31209d52b11983158d8d4d4a199 parent bfd4bda097f8758d28e632ff2035e25577f6b060 author Christoph Hellwig Thu, 05 May 2005 14:27:56 -0700 committer David S. Miller Thu, 05 May 2005 14:27:56 -0700 [SPARC64]: Kill useless __pte_alloc_one_kernel indirection warning: untested, but it there's not too much chance for screwups Signed-off-by: David S. Miller commit 3ef4e9a8db6c65de7c7f4bc013d62b0d73f50dce tree 37f049c9a77ceaa5f10d98206254a230b8a178d9 parent 476e19cfa131e2b6eedc4017b627cdc4ca419ffb author Christoph Hellwig Thu, 05 May 2005 14:25:59 -0700 committer David S. Miller Thu, 05 May 2005 14:25:59 -0700 [ATALK]: Add alloc_ltalkdev(). this matches the API used by other link layer like ethernet or token ring. Signed-off-by: Christoph Hellwig Acked-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 476e19cfa131e2b6eedc4017b627cdc4ca419ffb tree 8c6881affa0d20a3ce2dd8d4f9a5b0ba588916c5 parent 25ae3f59b10dbd5e2b9b192ecc90ea935cc23e68 author Arnaldo Carvalho de Melo Thu, 05 May 2005 13:35:15 -0700 committer David S. Miller Thu, 05 May 2005 13:35:15 -0700 [IPV6]: Fix OOPS when using IPV6_ADDRFORM This causes sk->sk_prot to change, which makes the socket release free the sock into the wrong SLAB cache. Fix this by introducing sk_prot_creator so that we always remember where the sock came from. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit f403b7f452e4347f6af14c1f3c47bce758eb6337 tree 293a62e61b9cde904cda0a034c9ed91818c7764e parent 24e17b5fb99d4d1b47fe0847a3a801e36d431ff6 author Nathan Scott Thu, 05 May 2005 13:33:40 -0700 committer Christoph Hellwig Thu, 05 May 2005 13:33:40 -0700 [XFS] Cleanup use of loff_t vs xfs_off_t in the core code. SGI Modid: xfs-linux:xfs-kern:22378a Signed-off-by: Nathan Scott Signed-off-by: Christoph Hellwig commit 24e17b5fb99d4d1b47fe0847a3a801e36d431ff6 tree 0ac181b6ddc64a04fe55aa79efceecc6e4d90451 parent 775bf6c99a4ebde13bdb8dfa528ed241483b49ef author Nathan Scott Thu, 05 May 2005 13:33:20 -0700 committer Christoph Hellwig Thu, 05 May 2005 13:33:20 -0700 [XFS] Use the right offset when ensuring a delayed allocate conversion has covered the offset originally requested. Can cause data corruption when multiple processes are performing writeout on different areas of the same file. Quite difficult to hit though. SGI Modid: xfs-linux:xfs-kern:22377a Signed-off-by: Nathan Scott Signed-off-by: Christoph Hellwig . commit 775bf6c99a4ebde13bdb8dfa528ed241483b49ef tree 21a27aa8304751ef7e71ae9131da6ddd0b2c4a80 parent 18e0a926ad7c5ab4ef05334230671c6975dac26b author Nathan Scott Thu, 05 May 2005 13:33:01 -0700 committer Christoph Hellwig Thu, 05 May 2005 13:33:01 -0700 [XFS] Do not do delalloc conversion on pages beyond EOF ever, not just sometimes SGI Modid: xfs-linux:xfs-kern:22376a Signed-off-by: Nathan Scott Signed-off-by: Christoph Hellwig commit 18e0a926ad7c5ab4ef05334230671c6975dac26b tree e6863265ad454d1acdfb31be85117915aa8c2205 parent 3ba0815a4b0709ef5e7b481067573d10806bbe2c author Eric Sandeen Thu, 05 May 2005 13:32:18 -0700 committer Christoph Hellwig Thu, 05 May 2005 13:32:18 -0700 [XFS] remove noisy printk at vnode trace allocation SGI Modid: xfs-linux:xfs-kern:191625a Signed-off-by: Eric Sandeen Signed-off-by: Christoph Hellwig commit 3ba0815a4b0709ef5e7b481067573d10806bbe2c tree 0f42aebeef2638661c22e88b4bc374eebc1ac23b parent 3f243766660da3df4a75ea1892c310d6080646c8 author Daniel Moore Thu, 05 May 2005 13:31:34 -0700 committer Christoph Hellwig Thu, 05 May 2005 13:31:34 -0700 [XFS] stop background sync from waiting for in-use inodes SGI Modid: xfs-linux:xfs-kern:191586a Signed-off-by: Daniel Moore Signed-off-by: Christoph Hellwig commit 3f243766660da3df4a75ea1892c310d6080646c8 tree ac2b037cfea6d9bf36ec74b0719497f986c17631 parent abd0cf7aeaaf8a15d9777e65606b6076868b6186 author Nathan Scott Thu, 05 May 2005 13:30:34 -0700 committer Christoph Hellwig Thu, 05 May 2005 13:30:34 -0700 [XFS] Disable the combination of XFS direct IO and AIO until the IO completion handling for unwritten extents can be moved out of interrupt context. SGI Modid: xfs-linux:xfs-kern:22343a Signed-off-by: Nathan Scott Signed-off-by: Christoph Hellwig commit abd0cf7aeaaf8a15d9777e65606b6076868b6186 tree 6ee2f3ee4fb4bcb6f922b80e03f69488254a469e parent 764433b7f1cf5d7b5e27ceb4f5546042e1f4acc7 author Nathan Scott Thu, 05 May 2005 13:30:13 -0700 committer Christoph Hellwig Thu, 05 May 2005 13:30:13 -0700 [XFS] Resolve an issue with xfsbufd not getting along with swsusp. SGI Modid: xfs-linux:xfs-kern:22342a Signed-off-by: Nathan Scott Signed-off-by: Christoph Hellwig commit 764433b7f1cf5d7b5e27ceb4f5546042e1f4acc7 tree 127f84ce4af9034577fcd01888a206ab40388301 parent 1f443ad70d3afa6bc74019ade2d664eadd7d505a author Eric Sandeen Thu, 05 May 2005 13:29:17 -0700 committer Christoph Hellwig Thu, 05 May 2005 13:29:17 -0700 [XFS] Fix up warnings SGI Modid: xfs-linux:xfs-kern:191411a Signed-off-by: Eric Sandeen Signed-off-by: Christoph Hellwig commit 1f443ad70d3afa6bc74019ade2d664eadd7d505a tree 278dbcfe8e1629e28768e3503c8f7959dee2bc50 parent 5fcbab355e1528545671a5221666ef640b8250c8 author Nathan Scott Thu, 05 May 2005 13:28:29 -0700 committer Christoph Hellwig Thu, 05 May 2005 13:28:29 -0700 [XFS] Allow initial XFS delayed allocation size to be increased beyond 64KB. SGI Modid: xfs-linux:xfs-kern:22261a Signed-off-by: Nathan Scott Signed-off-by: Christoph Hellwig commit 5fcbab355e1528545671a5221666ef640b8250c8 tree 03fbc618c046b16b00d5fdd9b4479e15241c4e34 parent 9effd8e62570c6e47b91734770e6122002c33ed5 author Dean Roehrich Thu, 05 May 2005 13:27:19 -0700 committer Christoph Hellwig Thu, 05 May 2005 13:27:19 -0700 [XFS] Add ATTR_NOLOCK for xfs_setattr to indicate that XFS_IOLOCK is held SGI Modid: xfs-linux:xfs-kern:190711a Signed-off-by: Dean Roehrich Signed-off-by: Christoph Hellwig . commit 9effd8e62570c6e47b91734770e6122002c33ed5 tree d199b3f93ac771637b562b01993d12028bf0c5af parent 31b084aef3f088962f56c100b31bb8479c5dd769 author Eric Sandeen Thu, 05 May 2005 13:26:18 -0700 committer Christoph Hellwig Thu, 05 May 2005 13:26:18 -0700 [XFS] Enable XFS_VNODE_TRACE SGI Modid: xfs-linux:xfs-kern:190725a Signed-off-by: Eric Sandeen Signed-off-by: Christoph Hellwig . commit 31b084aef3f088962f56c100b31bb8479c5dd769 tree 855685aced7ce0c25fc250875ad0428ea7f63448 parent de20614b351e4d4d23af0a105baa8fd2d7cd4f26 author Nathan Scott Thu, 05 May 2005 13:25:00 -0700 committer Christoph Hellwig Thu, 05 May 2005 13:25:00 -0700 [XFS] Fix up uses of nlink_t incorrectly restricting us to 2^16 links for some platforms SGI Modid: xfs-linux:xfs-kern:22032a Signed-off-by: Nathan Scott Signed-off-by: Christoph Hellwig commit de20614b351e4d4d23af0a105baa8fd2d7cd4f26 tree df5203af47718b9acf73f5a276024b602c6bcade parent 71bce256bf2e2aaddf54a2f4ac216329c74be3ad author Nathan Scott Thu, 05 May 2005 13:24:13 -0700 committer Christoph Hellwig Thu, 05 May 2005 13:24:13 -0700 [XFS] Block mount attempts for filesystems with version 1 directories. SGI Modid: xfs-linux:xfs-kern:21937a Signed-off-by: Nathan Scott Signed-off-by: Christoph Hellwig commit 71bce256bf2e2aaddf54a2f4ac216329c74be3ad tree 7c01cb1c4715df02aa1a6eba8d84cbc30b102fc5 parent bfd4bda097f8758d28e632ff2035e25577f6b060 author Nathan Scott Thu, 05 May 2005 13:23:27 -0700 committer Christoph Hellwig Thu, 05 May 2005 13:23:27 -0700 [XFS] Move the XFS inode to the front of its hash list on a cache hit SGI Modid: xfs-linux:xfs-kern:21915a Signed-off-by: Nathan Scott Signed-off-by: Christoph Hellwig commit 25ae3f59b10dbd5e2b9b192ecc90ea935cc23e68 tree 7a8d49c6fee70cf5d26377b8b257fdc1d21beda4 parent bfd4bda097f8758d28e632ff2035e25577f6b060 author Rafael J. Wysocki Thu, 05 May 2005 13:13:29 -0700 committer David S. Miller Thu, 05 May 2005 13:13:29 -0700 [DECNET]: Fix build after C99 netlink initializer change. Signed-off-by: Rafael J. Wysocki Signed-off-by: David S. Miller commit f7e68bbf405a45d6e7c5b8fc384ff1ba20dd7aa4 tree 1130af5902ad9c4e6b6beb6bd85855a8e056d185 parent 53d7ad1ea3acb4a626edec179aa52e72ea216647 author Russell King Thu, 05 May 2005 14:49:01 +0100 committer Russell King Thu, 05 May 2005 14:49:01 +0100 [PATCH] ARM: select PCI, ISA and ISA_DMA Rather than using a long "depends on..." and "default y" lines for these options, use select instead. Signed-off-by: Russell King commit 53d7ad1ea3acb4a626edec179aa52e72ea216647 tree d3458629f36909eb9fd3eae1a345a7627d8f8ffc parent 4f7a18124c1a44858fb74a1c4234015009952959 author Russell King Thu, 05 May 2005 14:06:31 +0100 committer Russell King Thu, 05 May 2005 14:06:31 +0100 ARM: Add missed imxfb include file This file got missed in the commit of patch 2661/1 thanks to a buggy script. Signed-off-by: Russell King commit bfd4bda097f8758d28e632ff2035e25577f6b060 tree 022276b3625a432c7132e39776e7e448445087ac parent 488f2eaca1b0831a5a5e6a66e33bad2cdeff7238 parent b2d84f078a8be40f5ae3b4d2ac001e2a7f45fe4f author David Woodhouse Thu, 05 May 2005 13:59:37 +0100 committer David Woodhouse Thu, 05 May 2005 13:59:37 +0100 Merge with master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 4f7a18124c1a44858fb74a1c4234015009952959 tree 978f55875b776c83ebcfed24737784ac098d1a4e parent 897f5ab2cd733a77a2279268262919caa8154b9d author Russell King Thu, 05 May 2005 13:11:00 +0100 committer Russell King Thu, 05 May 2005 13:11:00 +0100 [PATCH] ARM: Fix kernel stack offset calculations Various places in the ARM kernel implicitly assumed that kernel stacks are always 8K due to hard coded constants. Replace these constants with definitions. Correct the allowable range of kernel stack pointer values within the allocation. Arrange for the entire kernel stack to be zeroed, not just the upper 4K if CONFIG_DEBUG_STACK_USAGE is set. Signed-off-by: Russell King commit b2d84f078a8be40f5ae3b4d2ac001e2a7f45fe4f tree 173f941991f1b68da820e9926a3b7ebdd3a2c8b9 parent 177a4324944478f2799ce4ede2797cb0f602f274 author Roman Kagan Wed, 13 Apr 2005 21:40:17 +0400 committer Greg KH Wed, 04 May 2005 23:44:38 -0700 [PATCH] drivers/base/bus.c: fix iteration in driver_detach() With 2.6.11 and 2.6.12-rc2 (and perhaps a few versions before) usb drivers for multi-interface devices, which do usb_driver_release_interface() in their disconnect(), make rmmod hang. It turns out to be due to a bug in drivers/base/bus.c:driver_detach(), that iterates over the list of attached devices with list_for_each_safe() under an assumption that device_release_driver() only releases the current device, while it may also call device_release_driver() for other devices on the same list. The following patch fixes it. Please consider applying. Signed-off-by: Roman Kagan Signed-off-by: Greg Kroah-Hartman commit 177a4324944478f2799ce4ede2797cb0f602f274 tree cc42dcdbce1c3b53ea147abd3ebf784f0d2bf1bc parent 897f5ab2cd733a77a2279268262919caa8154b9d author Alexander Nyberg Sat, 26 Feb 2005 13:38:51 +0100 committer Greg KH Wed, 04 May 2005 23:44:37 -0700 [PATCH] Hotplug: Make dev->bus checking consistent Earlier in the same function dev->bus is checked before dereferenced, make consistent although I honestly don't know if dev->bus could ever be NULL Found by the Coverity tool Signed-off-by: Alexander Nyberg Signed-off-by: Greg Kroah-Hartman commit 897f5ab2cd733a77a2279268262919caa8154b9d tree 95866d31faa6db4ec786399296238344c7cfea0c parent 1d42a0ecf478962e8aede355a0be41365c117ff0 parent b48fc7bb3868abffc89ce70d4baf324574338d8e author Linus Torvalds Wed, 04 May 2005 19:52:45 -0700 committer Linus Torvalds Wed, 04 May 2005 19:52:45 -0700 Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6.git commit 1d42a0ecf478962e8aede355a0be41365c117ff0 tree 0b27e168f2c9d6f807f9a78a913583434ea671dd parent 836eeed6cea8ca8138e9deff7571857923541604 parent 6b6bf51081a27e80334e7ebe2993ae1d046a3222 author Linus Torvalds Wed, 04 May 2005 14:23:14 -0700 committer Linus Torvalds Wed, 04 May 2005 14:23:14 -0700 Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6.git/ commit b48fc7bb3868abffc89ce70d4baf324574338d8e tree 947fe8efaaa716c413448a21d62a067b1f8d1b99 parent 9b48b46678989b67cd00658ea88964163eaab616 author Dean Nelson Wed, 23 Mar 2005 19:05:00 -0700 committer Tony Luck Wed, 04 May 2005 10:19:19 -0700 [IA64-SGI] convert some sn SAL_CALLs to ia64_sal_oemcall calls Convert some sn SAL_CALLs to ia64_sal_oemcall calls so that they can be called by kernel modules. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 9b48b46678989b67cd00658ea88964163eaab616 tree 4b6362a239422144b4fe9d669ba2f5eefbb1374b parent c4b07b7b3693228c7b848c00a9d4bbb49506a45f author Dean Nelson Tue, 22 Mar 2005 16:00:00 -0700 committer Tony Luck Wed, 04 May 2005 10:18:32 -0700 [IA64-SGI] move nodepda pointer out of pda Remove the p_nodepda and p_subnodepda pointers from the pda_s structure. And then define a new per-cpu pointer to the nodepda and export it so that it can be accessed by kernel modules. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 836eeed6cea8ca8138e9deff7571857923541604 tree 4380f4a890c18485326f1458e0b0cbc226233d05 parent 1b75d8ba5ea96e174dc2674e01d87ce0d382ee44 author Denis Vlasenko Wed, 04 May 2005 08:07:16 +0300 committer Linus Torvalds Wed, 04 May 2005 07:50:15 -0700 [PATCH] i810fb: fix __initdata access [hv]sync[12] are __initdata, causing mplayer to oops with the previous i810fb fix. My fault, this fixes it. Sorry. Signed-off-by: Linux Torvalds commit b1ecb4c3a9e33cc8b93ac9cb046b535b72a15f68 tree d34b412e61ff720926da836ff989d1c821b5ef1b parent 0555985d046348b39e44ff1da2719d73409d7981 author Al Viro Wed, 04 May 2005 05:40:12 +0100 committer Linus Torvalds Wed, 04 May 2005 07:33:15 -0700 [PATCH] asm/signal.h unification New file - asm-generic/signal.h. Contains declarations of __sighandler_t, __sigrestore_t, SIG_DFL, SIG_IGN, SIG_ERR and default definitions of SIG_BLOCK, SIG_UNBLOCK and SIG_SETMASK. asm-*/signal.h switched to including it. The only exception is asm-parisc/signal.h that wants its own declaration of __sighandler_t; that one is left as-is. asm-ppc64/signal.h required one more thing - unlike everybody else it used __sigrestorer_t instead of usual __sigrestore_t. PPC64 switched to common spelling. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 1b75d8ba5ea96e174dc2674e01d87ce0d382ee44 tree 2c6a81321aff578d78a70373e1e192fb203a710b parent b1ecb4c3a9e33cc8b93ac9cb046b535b72a15f68 author Al Viro Wed, 04 May 2005 05:40:22 +0100 committer Linus Torvalds Wed, 04 May 2005 07:33:15 -0700 [PATCH] ipmi iomem annotations and fixes annotated, a bunch of direct dereferencing replaced with readb(). Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit a553260618d88c4790daec7975c88f3db1080b5b tree 75e46d5335ac3393bf453a36531bbe2ec60c1d21 parent 7fbacd5213a03b262bb17a826b166900e8b168ac author Al Viro Wed, 04 May 2005 05:39:42 +0100 committer Linus Torvalds Wed, 04 May 2005 07:33:14 -0700 [PATCH] ISA DMA Kconfig fixes - part 3 Drivers that expect ISA DMA API are marked as such in Kconfig. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 56c3b7d788c21eecf5641020fcf8e4e15d0c5eb0 tree 881eb266d98dfe4502cb7338902af7c749a78553 parent a553260618d88c4790daec7975c88f3db1080b5b author Al Viro Wed, 04 May 2005 05:39:52 +0100 committer Linus Torvalds Wed, 04 May 2005 07:33:14 -0700 [PATCH] ISA DMA Kconfig fixes - part 4 (irda) * net/irda/irda_device.c::irda_setup_dma() made conditional on ISA_DMA_API (it uses helpers in question and irda is usable on platforms that don't have them at all - think of USB IRDA, for example). * irda drivers that depend on ISA DMA marked as dependent on ISA_DMA_API Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 0555985d046348b39e44ff1da2719d73409d7981 tree 563775571cc1a2641d453b5052483cedf8b16698 parent 56c3b7d788c21eecf5641020fcf8e4e15d0c5eb0 author Al Viro Wed, 04 May 2005 05:40:02 +0100 committer Linus Torvalds Wed, 04 May 2005 07:33:14 -0700 [PATCH] sonypi trivial user annotations Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 9b52523aff51e3b245e6ec8887e3fcf190da4711 tree 2c17798c55263ff10e687c863e1eecc1becb5ff5 parent 3c51f196b658fa1920c84b0752a55ed251d22d52 author Al Viro Wed, 04 May 2005 05:39:01 +0100 committer Linus Torvalds Wed, 04 May 2005 07:33:13 -0700 [PATCH] mbcs trivial user annotations Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 7fbacd5213a03b262bb17a826b166900e8b168ac tree 7f354174eccaaf6927e950829b8fbcdcc68570fb parent 5cae841b13f23ccdf7e38b2400b5cf57deb57ccf author Al Viro Wed, 04 May 2005 05:39:32 +0100 committer Linus Torvalds Wed, 04 May 2005 07:33:13 -0700 [PATCH] ISA_DMA Kconfig fixes - part 2 (parport_pc) Part of parport_pc that uses ISA DMA helpers made conditional on CONFIG_ISA_DMA_API. As the result, driver got usable for boxen that do not have ISA DMA stuff and have normal PCI parport card stuck into them - these never use DMA anyway. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 5cae841b13f23ccdf7e38b2400b5cf57deb57ccf tree c3e673089f4e1b5e0e5db26b370a23c2851ebd69 parent 9b52523aff51e3b245e6ec8887e3fcf190da4711 author Al Viro Wed, 04 May 2005 05:39:22 +0100 committer Linus Torvalds Wed, 04 May 2005 07:33:13 -0700 [PATCH] ISA DMA Kconfig fixes - part 1 A bunch of drivers use ISA DMA helpers or their equivalents for platforms that have ISA with different DMA controller (a lot of ARM boxen). Currently there is no way to put such dependency in Kconfig - CONFIG_ISA is not it (e.g. it is not set on platforms that have no ISA slots, but have on-board devices that pretend to be ISA ones). New symbol added - ISA_DMA_API. Set when we have functional enable_dma()/set_dma_mode()/etc. set of helpers. Next patches in the series will add missing dependencies for drivers that need them. I'm very carefully staying the hell out of the recurring flamefest on what exactly CONFIG_ISA would mean in ideal world - added symbol has a well-defined meaning and for now I really want to treat it as completely independent from the mess around CONFIG_ISA. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 3c51f196b658fa1920c84b0752a55ed251d22d52 tree ee6aa61895bb185b20e7b7e6f106c1e0c8d8b979 parent e6600d800fead3e895f16bf9b426578a6301af44 author Al Viro Wed, 04 May 2005 05:38:51 +0100 committer Linus Torvalds Wed, 04 May 2005 07:33:13 -0700 [PATCH] sparc NULL noise removal Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 6b6bf51081a27e80334e7ebe2993ae1d046a3222 tree 30c44cf22caf3bbe090f333460711f7719e848af parent 8800cea62025a5209d110c5fa5990429239d6eee author Dave Kleikamp Wed, 04 May 2005 09:11:49 -0500 committer Dave Kleikamp Wed, 04 May 2005 09:11:49 -0500 JFS: Endian errors Thanks sparse! Signed-off-by: Dave Kleikamp commit e6600d800fead3e895f16bf9b426578a6301af44 tree fc2bb35ed142b96b31a04b52c3d097100e2653bd parent a1d4ebdbb3806e9d2c37f32a043ec54f4534977c parent 3cb4a4f739cccdf0642fa7e3a087e0b8425ff67b author Linus Torvalds Wed, 04 May 2005 07:08:43 -0700 committer Linus Torvalds Wed, 04 May 2005 07:08:43 -0700 Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6.git/ commit a1d4ebdbb3806e9d2c37f32a043ec54f4534977c tree 44b2ce77adcb79849d8bbefbc254b03fccd6a394 parent 742b0c905d970fd60893cce14a3c68b523504bc4 parent 0e57c7166675a86293f150d5ef7779edd629fe2a author Linus Torvalds Wed, 04 May 2005 07:08:10 -0700 committer Linus Torvalds Wed, 04 May 2005 07:08:10 -0700 Merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/gregkh/aoe-2.6.git/ commit 742b0c905d970fd60893cce14a3c68b523504bc4 tree d85689d464a8b11efe7fb6ff2f2151c4c4974871 parent 235bd6140dad7c08261abdc1f8056485c5344a74 parent 9171078ab5a0bbb516029cfc61378e0350a7b30d author Linus Torvalds Wed, 04 May 2005 07:07:22 -0700 committer Linus Torvalds Wed, 04 May 2005 07:07:22 -0700 Merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/gregkh/pci-2.6.git/ commit 235bd6140dad7c08261abdc1f8056485c5344a74 tree f5f7a1ffb34885802af581b8e61b61d52f885c39 parent 41832a08feca695158e15a6e58c26b224a7bfae2 parent 6a800d456a81a9046634bcd26d868fd537f0c9ae author Linus Torvalds Wed, 04 May 2005 07:06:38 -0700 committer Linus Torvalds Wed, 04 May 2005 07:06:38 -0700 Merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6.git commit 9171078ab5a0bbb516029cfc61378e0350a7b30d tree c0748641f2574f1621bb1f78d14c70c49805e4dd parent b308240b49ff5a1bddc6e10513c2c83f37a0bc78 author Adrian Bunk Sun, 01 May 2005 15:53:08 +0200 committer Greg KH Tue, 03 May 2005 23:45:17 -0700 [PATCH] PCI: drivers/pci/pci.c: remove pci_dac_set_dma_mask pci_dac_set_dma_mask is currently completely unused. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit eaae4b3a84a3781543a32bcaf0a33306ae915574 tree 2d3db5e9713dd0baeba0be2577731233780f072f parent 3aa8c4febf74b1f23bd9fc329321af6d531fe4dd author Steven Cole Tue, 03 May 2005 18:38:30 -0600 committer Greg KH Tue, 03 May 2005 23:45:16 -0700 [PATCH] PCI: Spelling fixes for drivers/pci. Here are some spelling corrections for drivers/pci. CONTROLER -> CONTROLLER Regisetr -> Register harware -> hardware inital -> initial Initilize -> Initialize funtion -> function funciton -> function occured -> occurred Signed-off-by: Steven Cole Signed-off-by: Greg Kroah-Hartman commit b308240b49ff5a1bddc6e10513c2c83f37a0bc78 tree 7fda5a4f25632d19ae03589bee0d920efe8026c3 parent eaae4b3a84a3781543a32bcaf0a33306ae915574 author Dely Sy Thu, 28 Apr 2005 18:08:53 -0700 committer Greg KH Tue, 03 May 2005 23:45:16 -0700 [PATCH] PCI Hotplug: fix pciehp regression I fogot to remove the code that freed the memory in cleanup_slots(). Here is the new patch, which I have also taken care of the comment by Eike to remove the cast in hotplug_slot->private. Signed-off-by: Dely Sy Signed-off-by: Greg Kroah-Hartman commit 3aa8c4febf74b1f23bd9fc329321af6d531fe4dd tree 7e0b5b3d9a0308224fb40e452d93ec842a3377fe parent 034ecc724cc6ba662d0b2b5a1e11e7e66a768596 author R.Marek@sh.cvut.cz Thu, 21 Apr 2005 10:49:06 +0000 committer Greg KH Tue, 03 May 2005 23:45:16 -0700 [PATCH] PCI: Rapid Hance quirk This patch just adds Intel's Hance Rapid south bridge IDs to ICH4 region quirk. Patch was successfuly tested by Chunhao Huang from Winbond. Signed-Off-By: Rudolf Marek Signed-off-by: Greg Kroah-Hartman commit c8958177224622411b9979eabb5610e30b06034b tree 09ceb4ce69813c9ac2a3e3c7ea6eff9d5361fe9c parent 4c0619add8c3a8b28e7fae8b15cc7b62de2f8148 author Greg KH Fri, 08 Apr 2005 14:53:31 +0900 committer Greg KH Tue, 03 May 2005 23:45:15 -0700 [PATCH] PCI: Add pci shutdown ability Now pci drivers can know when the system is going down without having to add a reboot notifier event. Signed-off-by: Greg Kroah-Hartman commit 4c0619add8c3a8b28e7fae8b15cc7b62de2f8148 tree 2e27d1c516480dd6f3686c05caac09b196475951 parent bc56b9e01190b9f1ad6b7c5c694b61bfe34c7aa5 author ssant@in.ibm.com Fri, 08 Apr 2005 14:53:31 +0900 committer Greg KH Tue, 03 May 2005 23:45:15 -0700 [PATCH] PCI: fix up word-aligned 16-bit PCI config access through sysfs This patch adds the possibility to do word-aligned 16-bit atomic PCI configuration space accesses via the sysfs PCI interface. As a result, problems with Emulex LFPC on IBM PowerPC64 are fixed. Patch is present in SLES 9 SP1. Signed-off-by: Vojtech Pavlik Signed-off-by: Greg Kroah-Hartman commit 034ecc724cc6ba662d0b2b5a1e11e7e66a768596 tree d34ced60da68e2dca2aae90e2b29d8f94618ffbc parent c8958177224622411b9979eabb5610e30b06034b author Rolf Eike Beer Mon, 11 Apr 2005 15:01:54 +0200 committer Greg KH Tue, 03 May 2005 23:45:15 -0700 [PATCH] PCI Hotplug ibmphp_pci.c: Fix masking out needed information too early here is the patch that fixes the bug introduced by my previous patch which already went into 2.6.12-rc2 and is likely to cause trouble is someone hits one the else case here by accident. Using the &= operation before the if statement destroys the information the if asks for so we always go into the else branch. Signed-off-by: Rolf Eike Beer Signed-off-by: Greg Kroah-Hartman commit bc56b9e01190b9f1ad6b7c5c694b61bfe34c7aa5 tree 9979aed502d987538c51d9820be9c288462f9996 parent 92df516e6264f9caff4be49718926d6884fa50ed author Greg KH Fri, 08 Apr 2005 14:53:31 +0900 committer Greg KH Tue, 03 May 2005 23:45:14 -0700 [PATCH] PCI: Clean up a lot of sparse "Should it be static?" warnings. Signed-off-by: Greg Kroah-Hartman commit a3ea7fbac12fdb2d70c90bb36f81afa3c66e18f4 tree be9655df6ea3a0cf2c53a0eb8ff8870962d46871 parent ceb43744cd48a20212e2179e0c7ff2f450a3c97e author Matthew Wilcox Tue, 29 Mar 2005 19:08:48 +0100 committer Greg KH Tue, 03 May 2005 23:45:14 -0700 [PATCH] PCI: update PCI documentation for pci_get_slot() depreciation pci_find_slot() doesn't work on multiple-domain boxes so pci_get_slot() should be used instead. Signed-off-by: Matthew Wilcox Signed-off-by: Greg Kroah-Hartman commit 92df516e6264f9caff4be49718926d6884fa50ed tree 1b09131f91db847c9f3d6de98ed5cc1ebd0e9325 parent a3ea7fbac12fdb2d70c90bb36f81afa3c66e18f4 author Pavel Machek Tue, 05 Apr 2005 23:49:49 +0200 committer Greg KH Tue, 03 May 2005 23:45:14 -0700 [PATCH] PCI: fix stale PCI pm docs This fixes u32 vs. pm_message_t confusion in documentation, and removes references to no-longer-existing (*save_state), too. With exception of USB (I hope David will fix/apply my patch), this should fix last piece of this confusion... famous last words. Signed-off-by: Pavel Machek Signed-off-by: Greg Kroah-Hartman commit ceb43744cd48a20212e2179e0c7ff2f450a3c97e tree f9554643bc9d70fe761840a603adce393c0e9f08 parent 8800cea62025a5209d110c5fa5990429239d6eee author Kenji Kaneshige Fri, 08 Apr 2005 14:53:31 +0900 committer Greg KH Tue, 03 May 2005 23:45:13 -0700 [PATCH] PCI: 'is_enabled' flag should be set/cleared when the device is actually enabled/disabled I think 'is_enabled' flag in pci_dev structure should be set/cleared when the device actually enabled/disabled. Especially about pci_enable_device(), it can be failed. By this change, we will also get the possibility of refering 'is_enabled' flag from the functions called through pci_enable_device()/pci_disable_device(). Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 4613ed277ab8a41640434181898ef4649cc7301e tree a1993e2276302a253f73e5139347e9ab374561bc parent 93d489fc56f819d8805d80ae83cbafc5e5719804 author Ed L Cashin Fri, 29 Apr 2005 10:24:25 -0400 committer Greg KH Tue, 03 May 2005 23:34:55 -0700 [PATCH] aoe: add firmware version to info in sysfs add firmware version to info in sysfs Signed-off-by: Ed L. Cashin Signed-off-by: Greg Kroah-Hartman commit 0e57c7166675a86293f150d5ef7779edd629fe2a tree 5227de18bbd59513f48766b4f38694d122ffeb59 parent 4613ed277ab8a41640434181898ef4649cc7301e author Ed L Cashin Fri, 29 Apr 2005 10:24:28 -0400 committer Greg KH Tue, 03 May 2005 23:34:55 -0700 [PATCH] aoe: update version number to 10 update version number to 10 Signed-off-by: Ed L. Cashin Signed-off-by: Greg Kroah-Hartman commit 93d489fc56f819d8805d80ae83cbafc5e5719804 tree 946adcae0abe20dc6d9d58682ea2d6980efd1a4c parent 67d9f84786cc4fd42cb40c9474c248eadaff15c6 author Ed L Cashin Fri, 29 Apr 2005 10:24:22 -0400 committer Greg KH Tue, 03 May 2005 23:34:54 -0700 [PATCH] aoe: allow multiple aoe devices to have the same mac allow multiple aoe devices to have the same mac Signed-off-by: Ed L. Cashin Signed-off-by: Greg Kroah-Hartman diff -u b/drivers/block/aoe/aoedev.c b/drivers/block/aoe/aoedev.c commit 67d9f84786cc4fd42cb40c9474c248eadaff15c6 tree f1ef2e8c1d1f1b21969704666f20ac1dbec42197 parent c59a24dc512952cb434b34a66c3792555159fa36 author Ed L Cashin Fri, 29 Apr 2005 10:24:18 -0400 committer Greg KH Tue, 03 May 2005 23:34:54 -0700 [PATCH] aoe: update the documentation to mention aoetools update the documentation to mention aoetools Signed-off-by: Ed L. Cashin Signed-off-by: Greg Kroah-Hartman commit c59a24dc512952cb434b34a66c3792555159fa36 tree 3b13ab42ed88a09f304c1fc87962a82c1f49c098 parent 03c41c434775c52092d17a5031ad8ebaaf555bc4 author Ed L Cashin Fri, 29 Apr 2005 10:24:13 -0400 committer Greg KH Tue, 03 May 2005 23:34:53 -0700 [PATCH] aoe: aoe-stat should work for built-in as well as module aoe-stat should work for built-in as well as module Signed-off-by: Ed L. Cashin Signed-off-by: Greg Kroah-Hartman diff -uprN a/Documentation/aoe/status.sh b/Documentation/aoe/status.sh commit 03c41c434775c52092d17a5031ad8ebaaf555bc4 tree a2f4e5f5fef46fac69b1e47e31ccbcf7d950b016 parent 8800cea62025a5209d110c5fa5990429239d6eee author Ed L Cashin Fri, 29 Apr 2005 10:24:03 -0400 committer Greg KH Tue, 03 May 2005 23:34:53 -0700 [PATCH] aoe: improve allowed interfaces configuration improve allowed interfaces configuration Signed-off-by: Ed L. Cashin Signed-off-by: Greg Kroah-Hartman diff -uprN a/Documentation/aoe/aoe.txt b/Documentation/aoe/aoe.txt commit 3cb4a4f739cccdf0642fa7e3a087e0b8425ff67b tree 5ed04dfb7880b86f071ab8d59fd4f3f1c3d345f2 parent 093cf723b2b06d774929ea07982f6a466ff22314 author Lonnie Mendez Tue, 03 May 2005 17:02:20 -0500 committer Greg KH Tue, 03 May 2005 23:31:52 -0700 [PATCH] USB cypress_m8: update kernel driver with current source Fixed problem where setting or retreiving the serial config would fail with EPIPE. Removed CRTS toggling so the driver behaves more like other usbserial adapters. Issued new interval of 1ms instead of the default bInterval. As a result, transfer speed has been substantially increased. From avg. 850bps to avg. 3300bps. Also added new module parameter 'interval' to tweak the interval in case this change causes problems for someone. Cleaned up code and formatting issues so source is more readable. Replaced the C++ style comments. Various other code cleanups. Signed-off-by: Lonnie Mendez Signed-off-by: Greg Kroah-Hartman commit 093cf723b2b06d774929ea07982f6a466ff22314 tree 9199ddc8a4ed6dfdc427134333f99b97245e6408 parent 7b1cbebaa7ced7a2029cc5b50eab60c79b24cc10 author Steven Cole Tue, 03 May 2005 19:07:24 -0600 committer Greg KH Tue, 03 May 2005 23:31:52 -0700 [PATCH] USB: Spelling fixes for drivers/usb. Here are some spelling corrections for drivers/usb. cancelation -> cancellation succesful -> successful cancelation -> cancellation decriptor -> descriptor Initalize -> Initialize wierd -> weird Protocoll -> Protocol occured -> occurred successfull -> successful Procesing -> Processing devide -> divide Isochronuous -> Isochronous noticable -> noticeable Basicly -> Basically transfering -> transferring intialize -> initialize Incomming -> Incoming additionnal -> additional asume -> assume Unfortunatly -> Unfortunately retreive -> retrieve tranceiver -> transceiver Compatiblity -> Compatibility Incorprated -> Incorporated existance -> existence Ununsual -> Unusual Signed-off-by: Steven Cole Signed-off-by: Greg Kroah-Hartman commit 8af60be9a71d2c636cd800deab63a9fadf3aee96 tree caf59ac73e61a10c9a0559e1165fae31cc37cf57 parent 5e54f91d8d770c5a48da10a5c9c314c1c926536b author Vivian Bregier Tue, 03 May 2005 02:16:34 +0200 committer Greg KH Tue, 03 May 2005 23:31:51 -0700 [PATCH] USB: unusual_devs.h: atmel snd1 storage Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit 7b1cbebaa7ced7a2029cc5b50eab60c79b24cc10 tree 6b586f3e2cede5ebd12d9b03772f8e761044b851 parent 8af60be9a71d2c636cd800deab63a9fadf3aee96 author Phil Dibowitz Mon, 02 May 2005 23:54:28 -0700 committer Greg KH Tue, 03 May 2005 23:31:51 -0700 [PATCH] USB: unusual_devs entry for Minolta Dimage Z10 This patch adds an unusual_devs entry for the Minolta Dimage Z10. Originally reported by Vilisas Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit b9ab0746a53b9cd5c64e179a1c13952f0ae80e64 tree 60d2d55256c537b0aed3bae07fb84ac4b08d98df parent 3b86b2028c4de998978baae780edfc36995bebc5 author Andrea Arcangeli Mon, 02 May 2005 22:47:55 +0200 committer Greg KH Tue, 03 May 2005 23:31:50 -0700 [PATCH] USB: new usbnet device id On Thu, Apr 14, 2005 at 11:06:21PM +0400, Sergey Vlasov wrote: > http://thread.gmane.org/gmane.linux.usb.devel/32977 > > (see "[PATCH] N/3 cdc acm errors"). > > You also need this driver core fix: > > http://thread.gmane.org/gmane.linux.usb.devel/33132 I reproduced the same oops while trying to execute at+mode=99, it would be nice to get these fix merged since I believe it's still needed to connect the laptop over gprs (something I didn't test yet). This further patch will allow you to connect via usbnet, Greg could you apply? Thanks! Signed-off-by: Andrea Arcangeli Signed-off-by: Greg Kroah-Hartman commit 6f92872cc8085b9e65a8ec07aed106ce5d24f60b tree de1e40db4b8017c7b8c8282c991b82956cb4e2bb parent b9ab0746a53b9cd5c64e179a1c13952f0ae80e64 author Ian Abbott Fri, 29 Apr 2005 16:06:14 +0100 committer Greg KH Tue, 03 May 2005 23:31:50 -0700 [PATCH] USB: VID/PID updates for ftdi_sio driver Some VID/PID updates for the ftdi_sio driver: * The "Gude Analog- und Digitalsysteme GmbH" entries were missing from the "combined" table. * Replaced FTDI_8U232AM_ALT_ALT_PID with 3 PIDs for devices from 4n-galaxy.de. * Removed redundant FTDI_RM_VID and renamed FTDI_RMCANVIEW_PID to FTDI_RM_CANVIEW_PID. * Added VID/PID for serial converter in Mobility Electronics EasiDock USB 200 (mentioned by Gregory Schmitt). * Added PID for Active Robots USB comms board (mentioned by John Koch). Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman diff -ur a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c commit 5e54f91d8d770c5a48da10a5c9c314c1c926536b tree 3e453d56dda488e18b198b544345829aa7015fb2 parent 6f92872cc8085b9e65a8ec07aed106ce5d24f60b author Ian Abbott Fri, 29 Apr 2005 16:09:44 +0100 committer Greg KH Tue, 03 May 2005 23:31:50 -0700 [PATCH] USB: ftdi_sio redundant macro removal [ftdi_sio] Replaced redundant INTERFACE_A and INTERFACE_B macros with the equivalent PIT_SIOA and PIT_SIOB macros. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman commit e2e66446e08a7a365a59e25bbc8dd320ab3da0a6 tree 9b6f14e3cff70c02c1161207d86acb01e7c131f0 parent 8800cea62025a5209d110c5fa5990429239d6eee author Matthew Dharm Mon, 25 Apr 2005 21:46:29 -0700 committer Greg KH Tue, 03 May 2005 23:31:49 -0700 [PATCH] USB Storage: fix compile error This patch fixes a compiler error caused by a missing prototype. It should apply directly to Greg KH's usb-2.6.git tree. Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit 56c1e26d75008d39f1067f453719857a81109d9f tree f75ba4203962410bb9ec1ea159c4055a4ee09710 parent e2e66446e08a7a365a59e25bbc8dd320ab3da0a6 author David Brownell Sat, 09 Apr 2005 09:00:29 -0700 committer Greg KH Tue, 03 May 2005 23:31:49 -0700 [PATCH] USB: ehci power fixes Miscellaneous updates for EHCI. - Mostly updates the power switching on EHCI controllers. One routine centralizes the "power on/off all ports" logic, and the capability to do that is reported more correctly. - Courtesy Colin Leroy, a patch to always power up ports after resumes which didn't keep a USB device suspended. The reset-everything logic powers down those ports (on some hardware) so something needs to turn them back on. - Minor tweaks/bugfixes for the debug port support. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 3b86b2028c4de998978baae780edfc36995bebc5 tree 494299fb27050eb76e6fd011c4c9c74720ccb367 parent 56c1e26d75008d39f1067f453719857a81109d9f author Greg KH Mon, 25 Apr 2005 21:46:29 -0700 committer Greg KH Tue, 03 May 2005 23:31:49 -0700 [PATCH] USB: add a driver for the AirPrime CDMA Wireless PC card. Easier than trying to use the generic usb-serial driver. Signed-off-by: Greg Kroah-Hartman commit 6a800d456a81a9046634bcd26d868fd537f0c9ae tree b969230022b6b8a7a93466b7ddef6b3d0a79fea3 parent 8800cea62025a5209d110c5fa5990429239d6eee author Patrick McHardy Tue, 03 May 2005 22:17:18 -0700 committer David S. Miller Tue, 03 May 2005 22:17:18 -0700 [IPV6]: net/addrconf.h needs to include linux/in6.h earlier Else the in6_addr layout is not known for struct prefix_info. Signed-off-by: Patrick McHardy commit 41832a08feca695158e15a6e58c26b224a7bfae2 tree 62bb245b25a5eeebe6202f84987613d66a4eaa7c parent cee2824f85414c98fff4004e335a6bc4072c8809 author David S. Miller Tue, 03 May 2005 22:05:43 -0700 committer David S. Miller Tue, 03 May 2005 22:05:43 -0700 [SPARC64]: Disable IRQ forwarding. There is some race whereby IRQs get stuck, the IRQ status is pending but no processor actually handles the IRQ vector and thus the interrupt. This is a temporary workaround. Signed-off-by: David S. Miller commit cee2824f85414c98fff4004e335a6bc4072c8809 tree 374fff3b0ad0bb6f28aa0d5a0a0c90a09ce78d35 parent 8800cea62025a5209d110c5fa5990429239d6eee author David S. Miller Tue, 03 May 2005 22:04:36 -0700 committer David S. Miller Tue, 03 May 2005 22:04:36 -0700 [SPARC64]: Fix goal_cpu tracking in retarget_one_irq(). We would never advance the goal_cpu counter like we should, so all IRQs would go to a single processor. Signed-off-by: David S. Miller commit 8800cea62025a5209d110c5fa5990429239d6eee tree 2aa9e4732d7014dcda4c0e80d2e377f52e2262e9 parent 84e48b6d64fdc29586bc7d9329f986cdae591a80 parent 14d50e78f947d340066ee0465dd892ad1d9162c0 author Linus Torvalds Tue, 03 May 2005 17:24:08 -0700 committer Linus Torvalds Tue, 03 May 2005 17:24:08 -0700 Merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6.git/ commit 14d50e78f947d340066ee0465dd892ad1d9162c0 tree 591ce19741741438606ab75a45ac9f973cbb4787 parent aabc9761b69f1bfa30a78f7005be95cc9cc06175 author J Hadi Salim Tue, 03 May 2005 16:29:13 -0700 committer David S. Miller Tue, 03 May 2005 16:29:13 -0700 [PKT_SCHED]: Action repeat Long standing bug. Policy to repeat an action never worked. Signed-off-by: J Hadi Salim Signed-off-by: David S. Miller commit c4b07b7b3693228c7b848c00a9d4bbb49506a45f tree f52dd11fe8741b6589019c9fa6cff53491e9e853 parent a71f62edc935fbdc346c5b16bea19f1480d29635 author Tony Luck Tue, 03 May 2005 16:27:44 -0700 committer Tony Luck Tue, 03 May 2005 16:27:44 -0700 [IA64] Update arch/ia64/configs/tiger_defconfig Kristen did most of the checking, bring this up to -rc2. Signed-off-by: Tony Luck commit aabc9761b69f1bfa30a78f7005be95cc9cc06175 tree 50dc9f510011ac03656aeba0595b2b0b5c5f5e22 parent d5d75cd6b10ddad2f375b61092754474ad78aec7 author Herbert Xu Tue, 03 May 2005 16:27:10 -0700 committer David S. Miller Tue, 03 May 2005 16:27:10 -0700 [IPSEC]: Store idev entries I found a bug that stopped IPsec/IPv6 from working. About a month ago IPv6 started using rt6i_idev->dev on the cached socket dst entries. If the cached socket dst entry is IPsec, then rt6i_idev will be NULL. Since we want to look at the rt6i_idev of the original route in this case, the easiest fix is to store rt6i_idev in the IPsec dst entry just as we do for a number of other IPv6 route attributes. Unfortunately this means that we need some new code to handle the references to rt6i_idev. That's why this patch is bigger than it would otherwise be. I've also done the same thing for IPv4 since it is conceivable that once these idev attributes start getting used for accounting, we probably need to dereference them for IPv4 IPsec entries too. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit d5d75cd6b10ddad2f375b61092754474ad78aec7 tree 73b6a0fa4177d8d7bfed465201842a3742a709c0 parent 771018e76aaa6474be20a53c20458bcae8b00485 author Stephen Hemminger Tue, 03 May 2005 16:24:57 -0700 committer David S. Miller Tue, 03 May 2005 16:24:57 -0700 [PKT_SCHED]: netetm: adjust parent qlen when duplicating Fix qlen underrun when doing duplication with netem. If netem is used as leaf discipline, then the parent needs to be tweaked when packets are duplicated. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 771018e76aaa6474be20a53c20458bcae8b00485 tree acbd1186524815205337dd57322a4926cadc3554 parent 8cbe1d46d69f9e2c49f284fe0e9aee3387bd2c71 author Stephen Hemminger Tue, 03 May 2005 16:24:32 -0700 committer David S. Miller Tue, 03 May 2005 16:24:32 -0700 [PKT_SCHED]: netetm: make qdisc friendly to outer disciplines Netem currently dumps packets into the queue when timer expires. This patch makes work by self-clocking (more like TBF). It fixes a bug when 0 delay is requested (only doing loss or duplication). Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 8cbe1d46d69f9e2c49f284fe0e9aee3387bd2c71 tree b9d25110d46551fa80a2c34e1b9147f855e43e41 parent bd96535b81ad09d7593cc75093534acb984d3dc9 author Stephen Hemminger Tue, 03 May 2005 16:24:03 -0700 committer David S. Miller Tue, 03 May 2005 16:24:03 -0700 [PKT_SCHED]: netetm: trap infinite loop hange on qlen underflow Due to bugs in netem (fixed by later patches), it is possible to get qdisc qlen to go negative. If this happens the CPU ends up spinning forever in qdisc_run(). So add a BUG_ON() to trap it. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit a71f62edc935fbdc346c5b16bea19f1480d29635 tree fce9b26a5a9e059735050415eab79fb06a24eae3 parent a5a70b75d93b26e14c0c5e759099d602a480b9e2 author Tony Luck Tue, 03 May 2005 16:21:45 -0700 committer Tony Luck Tue, 03 May 2005 16:21:45 -0700 [IA64] Fix two warnings introduced by perfmon patches. Signed-off-by: Tony Luck commit bd96535b81ad09d7593cc75093534acb984d3dc9 tree f1b7611ba309d776c0289955a62e675f994fd63f parent e4f8ab00cf3599ecb8110c0a838cd15d013b79e5 author Patrick McHardy Tue, 03 May 2005 16:21:37 -0700 committer David S. Miller Tue, 03 May 2005 16:21:37 -0700 [NETFILTER]: Drop conntrack reference in ip_dev_loopback_xmit() Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit e4f8ab00cf3599ecb8110c0a838cd15d013b79e5 tree 866066db64f6658b021d2553cf4f3ea0318687bf parent cacaddf57ed4d5ca994e9a7e2bd5558061f5d89d author Patrick McHardy Tue, 03 May 2005 16:20:39 -0700 committer David S. Miller Tue, 03 May 2005 16:20:39 -0700 [NETFILTER]: Fix nf_debug_ip_local_deliver() Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit cacaddf57ed4d5ca994e9a7e2bd5558061f5d89d tree 6e4c59a9a27441a3196cbc67a3a79356baa679fb parent 0f4821e7b93fe72e89b8ff393bd8e705bd178aa5 author Tommy S. Christensen Tue, 03 May 2005 16:18:52 -0700 committer David S. Miller Tue, 03 May 2005 16:18:52 -0700 [NET]: Disable queueing when carrier is lost. Some network drivers call netif_stop_queue() when detecting loss of carrier. This leads to packets being queued up at the qdisc level for an unbound period of time. In order to prevent this effect, the core networking stack will now cease to queue packets for any device, that is operationally down (i.e. the queue is flushed and disabled). Signed-off-by: Tommy S. Christensen Acked-by: Herbert Xu Signed-off-by: David S. Miller commit 0f4821e7b93fe72e89b8ff393bd8e705bd178aa5 tree e9116a4ce6593b186c3962fcdc5baf73f243d0b5 parent 09e14305982efc2f3b509d3c50ef5dcbff64a998 author David S. Miller Tue, 03 May 2005 16:15:59 -0700 committer David S. Miller Tue, 03 May 2005 16:15:59 -0700 [XFRM/RTNETLINK]: Decrement qlen properly in {xfrm_,rt}netlink_rcv(). If we free up a partially processed packet because it's skb->len dropped to zero, we need to decrement qlen because we are dropping out of the top-level loop so it will do the decrement for us. Spotted by Herbert Xu. Signed-off-by: David S. Miller commit a5a70b75d93b26e14c0c5e759099d602a480b9e2 tree 4cd2f4f47cccb8f59e54433ab642e187cbf5e291 parent 8df5a500a3e97f7811cdce0f553ca1917ccd4220 author stephane eranian Mon, 18 Apr 2005 11:42:00 -0700 committer Tony Luck Tue, 03 May 2005 15:47:58 -0700 [IA64] another perfmon fix (take2) - pfm_context_load(): change return value from EINVAL to EBUSY when context is already loaded. - pfm_check_task_state(): pass test if context state is MASKED. It is safe to give access on PFM_CTX_MASKED because the PMU state (PMD) is stable and saved in software state. This helps multiplexing programs such as the example given in libpfm-3.1. Signed-off-by: stephane eranian Signed-off-by: Tony Luck commit 8df5a500a3e97f7811cdce0f553ca1917ccd4220 tree cac08cc58a5e9fb846a9946a52026fcbe7718634 parent 012914dad25bd5cacf88af4429eecda62a06020d author Stephane Eranian Mon, 11 Apr 2005 13:45:00 -0700 committer Tony Luck Tue, 03 May 2005 15:44:48 -0700 [IA64] perfmon & PAL_HALT again The pmu_active test is based on the values of PSR.up. THIS IS THE PROBLEM as it does not take into account the lazy restore logic which is as follow (simplified): context switch out: save PMDs clear psr.up release ownership context switch in: if (ctx->last_cpu == smp_processor_id() && ctx->cpu_activation == cpu_activation) { set psr.up return } restore PMD restore PMC ctx->last_cpu = smp_processor_id(); ctx->activation = ++cpu_activation; set psr.up The key here is that on context switch out, we clear psr.up and on context switch in we check if nobody else used the PMU on that processor since last time we came. In that case, we assume the PMD/PMC are ours and we simply reactivate. The Caliper problem is that between the moment we context switch out and the moment we come back, nobody effectively used the PMU BUT the processor went idle. Normally this would have no incidence but PAL_HALT does alter the PMU registers. In default_idle(), the test on psr.up is not strong enough to cover this case and we go into PAL which trashed the PMU resgisters. When we come back we falsely assume that this is our state yet it is corrupted. Very nasty indeed. To avoid the problem it is necessary to forbid going to PAL_HALT as soon as perfmon installs some valid state in the PMU registers. This happens with an application attaches a context to a thread or CPU. It is not enough to check the psr/dcr bits. Hence I propose the attached patch. It adds a callback in process.c to modify the condition to enter PAL on idle. Basically, now it is conditional to pal_halt=1 AND perfmon saying it is okay. Signed-off-by: Tony Luck commit 09e14305982efc2f3b509d3c50ef5dcbff64a998 tree 7829c8b212a84e793ebf2d5bd0ceb68283c7b79e parent 2a0a6ebee1d68552152ae8d4aeda91d806995dec author David S. Miller Tue, 03 May 2005 15:30:05 -0700 committer David S. Miller Tue, 03 May 2005 15:30:05 -0700 [NETLINK]: Fix infinite loops in synchronous netlink changes. The qlen should continue to decrement, even if we pop partially processed SKBs back onto the receive queue. Signed-off-by: David S. Miller commit 84e48b6d64fdc29586bc7d9329f986cdae591a80 tree 2a02ed8a14534249bb636e284c3d4785d5040a4d parent 52292c9b8c16aa9024a65aaeeca434bb8fec7d24 parent 48af7215405215e81e72aba1ae8031ca2fea840c author Linus Torvalds Tue, 03 May 2005 15:27:24 -0700 committer Linus Torvalds Tue, 03 May 2005 15:27:24 -0700 Merge of master.kernel.org:/home/rmk/linux-2.6-rmk.git commit a493820df65909d344824499937c939150559ace tree 67965b587c829778b904c825d176ad086036dedd parent eca02b0c1dc1da374216128157747d8ed994e5ef author Sascha Hauer Tue, 03 May 2005 22:57:56 +0100 committer Russell King Tue, 03 May 2005 22:57:56 +0100 [PATCH] ARM: 2661/1: imxfb include Patch from Sascha Hauer This patch adds the missing include files for the i.MX framebuffer driver. Signed-off-by: Sascha Hauer Signed-off-by: Russell King commit 48af7215405215e81e72aba1ae8031ca2fea840c tree ef367f439dd0dfb65cb80fe3e2370368c695ba2d parent a493820df65909d344824499937c939150559ace author Nicolas Pitre Tue, 03 May 2005 22:57:56 +0100 committer Russell King Tue, 03 May 2005 22:57:56 +0100 [PATCH] ARM: 2662/1: missing "default y" for CONFIG_HAS_TLS_REG Patch from Nicolas Pitre Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 2a0a6ebee1d68552152ae8d4aeda91d806995dec tree a0b77861b3395b4728e75f2b2f92755e0a4777d3 parent 96c36023434b7b6824b1da72a6b7b1ca61d7310c author Herbert Xu Tue, 03 May 2005 14:55:09 -0700 committer David S. Miller Tue, 03 May 2005 14:55:09 -0700 [NETLINK]: Synchronous message processing. Let's recap the problem. The current asynchronous netlink kernel message processing is vulnerable to these attacks: 1) Hit and run: Attacker sends one or more messages and then exits before they're processed. This may confuse/disable the next netlink user that gets the netlink address of the attacker since it may receive the responses to the attacker's messages. Proposed solutions: a) Synchronous processing. b) Stream mode socket. c) Restrict/prohibit binding. 2) Starvation: Because various netlink rcv functions were written to not return until all messages have been processed on a socket, it is possible for these functions to execute for an arbitrarily long period of time. If this is successfully exploited it could also be used to hold rtnl forever. Proposed solutions: a) Synchronous processing. b) Stream mode socket. Firstly let's cross off solution c). It only solves the first problem and it has user-visible impacts. In particular, it'll break user space applications that expect to bind or communicate with specific netlink addresses (pid's). So we're left with a choice of synchronous processing versus SOCK_STREAM for netlink. For the moment I'm sticking with the synchronous approach as suggested by Alexey since it's simpler and I'd rather spend my time working on other things. However, it does have a number of deficiencies compared to the stream mode solution: 1) User-space to user-space netlink communication is still vulnerable. 2) Inefficient use of resources. This is especially true for rtnetlink since the lock is shared with other users such as networking drivers. The latter could hold the rtnl while communicating with hardware which causes the rtnetlink user to wait when it could be doing other things. 3) It is still possible to DoS all netlink users by flooding the kernel netlink receive queue. The attacker simply fills the receive socket with a single netlink message that fills up the entire queue. The attacker then continues to call sendmsg with the same message in a loop. Point 3) can be countered by retransmissions in user-space code, however it is pretty messy. In light of these problems (in particular, point 3), we should implement stream mode netlink at some point. In the mean time, here is a patch that implements synchronous processing. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 96c36023434b7b6824b1da72a6b7b1ca61d7310c tree 21b46ccc9e88f5ab77e0578356ba7d86e0f5c964 parent 9dfa277f88388a94993b121db46b80df66f48d9e author Herbert Xu Tue, 03 May 2005 14:43:27 -0700 committer David S. Miller Tue, 03 May 2005 14:43:27 -0700 [NETLINK]: cb_lock does not needs ref count on sk Here is a little optimisation for the cb_lock used by netlink_dump. While fixing that race earlier, I noticed that the reference count held by cb_lock is completely useless. The reason is that in order to obtain the protection of the reference count, you have to take the cb_lock. But the only way to take the cb_lock is through dereferencing the socket. That is, you must already possess a reference count on the socket before you can take advantage of the reference count held by cb_lock. As a corollary, we can remve the reference count held by the cb_lock. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 9dfa277f88388a94993b121db46b80df66f48d9e tree eb6159dc5d7b1d4a5f8c9455e34fdfc8549f33e4 parent 033d899904792d3501b7dd469495ca9138424ec3 author Patrick McHardy Tue, 03 May 2005 14:41:18 -0700 committer David S. Miller Tue, 03 May 2005 14:41:18 -0700 [PKT_SCHED]: Fix range in PSCHED_TDIFF_SAFE to 0..bound Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 033d899904792d3501b7dd469495ca9138424ec3 tree 62ed3ad46c42f30915990ee3dd234fa931f2e368 parent 96edf83c4e284c08584f97623f7c7f029759459e author Asim Shankar Tue, 03 May 2005 14:39:33 -0700 committer David S. Miller Tue, 03 May 2005 14:39:33 -0700 [PKT_SCHED]: HTB: Drop packet when direct queue is full htb_enqueue(): Free skb and return NET_XMIT_DROP if a packet is destined for the direct_queue but the direct_queue is full. (Before this: erroneously returned NET_XMIT_SUCCESS even though the packet was not enqueued) Signed-off-by: Asim Shankar Signed-off-by: David S. Miller commit 96edf83c4e284c08584f97623f7c7f029759459e tree 966c927ce074efe743303a8004fda02f27dc1ad6 parent c3924c70dd3bddc28b99ccd1688bd281bad1a9be author Jesper Juhl Tue, 03 May 2005 14:38:09 -0700 committer David S. Miller Tue, 03 May 2005 14:38:09 -0700 [PPP]: remove redundant NULL pointer checks before kfree & vfree kfree() and vfree() can both deal with NULL pointers. This patch removes redundant NULL pointer checks from the ppp code in drivers/net/ Signed-off-by: Jesper Juhl Signed-off-by: David S. Miller commit c3924c70dd3bddc28b99ccd1688bd281bad1a9be tree 958922075140cebd55028aa3c04ad2e1f2c0b5b3 parent 0b2531bdc54e19717de5cb161d57e5ee0a7725ff author Folkert van Heusden Tue, 03 May 2005 14:36:45 -0700 committer David S. Miller Tue, 03 May 2005 14:36:45 -0700 [TCP]: Optimize check in port-allocation code, v6 version. Signed-off-by: Folkert van Heusden Signed-off-by: David S. Miller commit 0b2531bdc54e19717de5cb161d57e5ee0a7725ff tree 09660a0562dd1bdc6c1539d24d539ea49973335f parent 20cc6befa23bb993cf4a4c58becb1dd99e7fc927 author Folkert van Heusden Tue, 03 May 2005 14:36:08 -0700 committer David S. Miller Tue, 03 May 2005 14:36:08 -0700 [TCP]: Optimize check in port-allocation code. Signed-off-by: Folkert van Heusden Signed-off-by: David S. Miller commit 20cc6befa23bb993cf4a4c58becb1dd99e7fc927 tree e67029e0639cb789e124f91100ac7df992b6552c parent 6a5d362120a61a719095443194cc2d5e9a7027dd author Lucas Correia Villa Real Tue, 03 May 2005 14:34:20 -0700 committer David S. Miller Tue, 03 May 2005 14:34:20 -0700 [PKT_SCHED]: fix typo on Kconfig This is a trivial fix for a typo on Kconfig, where the Generic Random Early Detection algorithm is abbreviated as RED instead of GRED. Signed-off-by: Lucas Correia Villa Real Signed-off-by: David S. Miller commit 6a5d362120a61a719095443194cc2d5e9a7027dd tree 7cab13ff0d252b96f4eeda7475f805ffdd1c0c4a parent db46edc6d3b66bf708a8f23a9aa89f63a49ebe33 author Jesper Juhl Tue, 03 May 2005 14:33:27 -0700 committer David S. Miller Tue, 03 May 2005 14:33:27 -0700 [WAN]: kfree of NULL pointer is valid kfree(0) is perfectly valid, checking pointers for NULL before calling kfree() on them is redundant. The patch below cleans away a few such redundant checks (and while I was around some of those bits I couldn't stop myself from making a few tiny whitespace changes as well). Signed-off-by: Jesper Juhl Acked-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit db46edc6d3b66bf708a8f23a9aa89f63a49ebe33 tree 7b3d9568a5561b5344e98dc8d881481420b8e581 parent f90a0a74b864fdc46737614f03b8868f4f31e3bf author Thomas Graf Tue, 03 May 2005 14:29:39 -0700 committer David S. Miller Tue, 03 May 2005 14:29:39 -0700 [RTNETLINK] Cleanup rtnetlink_link tables Converts remaining rtnetlink_link tables to use c99 designated initializers to make greping a little bit easier. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit f90a0a74b864fdc46737614f03b8868f4f31e3bf tree 6da3a1159fb7038511974c540d1bbf89a24c5eb3 parent d775fc09f16f4b88cd0373006b112c4772589778 author Thomas Graf Tue, 03 May 2005 14:29:00 -0700 committer David S. Miller Tue, 03 May 2005 14:29:00 -0700 [RTNETLINK] Fix & cleanup rtm_min/rtm_max Converts rtm_min and rtm_max arrays to use c99 designated initializers for easier insertion of new message families. RTM_GETMULTICAST and RTM_GETANYCAST did not have the minimal message size specified which means that the netlink message was parsed for routing attributes starting from the header. Adds the proper minimal message sizes for these messages (netlink header + common rtnetlink header) to fix this issue. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit d775fc09f16f4b88cd0373006b112c4772589778 tree 0e335d1e65c254326e1e8cafd05cb440b2474d9c parent 492b558b3191319cbc859a9e025bc354d336c261 author Thomas Graf Tue, 03 May 2005 14:27:35 -0700 committer David S. Miller Tue, 03 May 2005 14:27:35 -0700 [RTNETLINK] Fix RTM_MAX to represent the maximum valid message type RTM_MAX is currently set to the maximum reserverd message type plus one thus being the cause of two bugs for new types being assigned a) given the new family registers only the NEW command in its reserved block the array size for per family entries is calculated one entry short and b) given the new family registers all commands RTM_MAX would point to the first entry of the block following this one and the rtnetlink receive path would accept a message type for a nonexisting family. This patch changes RTM_MAX to point to the maximum valid message type by aligning it to the start of the next block and subtracting one. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 492b558b3191319cbc859a9e025bc354d336c261 tree 44e4aef7da73c9d4fd0e31bdfe26399f52a9f0cd parent 526bdb80a23b2e10ed4ccc3fcf309c9118d892d6 author Thomas Graf Tue, 03 May 2005 14:26:40 -0700 committer David S. Miller Tue, 03 May 2005 14:26:40 -0700 [XFRM]: Cleanup xfrm_msg_min and xfrm_dispatch Converts xfrm_msg_min and xfrm_dispatch to use c99 designated initializers to make greping a little bit easier. Also replaces two hardcoded message type with meaningful names. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 526bdb80a23b2e10ed4ccc3fcf309c9118d892d6 tree d1e681c9404a7ce9ab24f14d198b44b316043f6d parent e4553eddae592b948c9695c9a0002169b0cab6fc author Thomas Graf Tue, 03 May 2005 14:26:01 -0700 committer David S. Miller Tue, 03 May 2005 14:26:01 -0700 [XFRM]: Prevent off-by-one access to xfrm_dispatch Makes the type > XFRM_MSG_MAX check behave correctly to protect access to xfrm_dispatch. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit e4553eddae592b948c9695c9a0002169b0cab6fc tree 7328dafd54372ead9cb657a49aaf5cb539f10154 parent 679a87382433cf12a28f07a7d5c240f30f0daa08 author Herbert Xu Tue, 03 May 2005 14:25:13 -0700 committer David S. Miller Tue, 03 May 2005 14:25:13 -0700 [IPV6]: Include ipv6.h for ipv6_addr_set This patch includes net/ipv6.h from addrconf.h since it needs ipv6_addr_set. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 679a87382433cf12a28f07a7d5c240f30f0daa08 tree 128787f500b3a5d260fc620450865ad8a0a8c761 parent 31da185d8162ae0f30a13ed945f1f4d28d158133 author Herbert Xu Tue, 03 May 2005 14:24:36 -0700 committer David S. Miller Tue, 03 May 2005 14:24:36 -0700 [IPV6]: Fix raw socket checksums with IPsec I made a mistake in my last patch to the raw socket checksum code. I used the value of inet->cork.length as the length of the payload. While this works with normal packets, it breaks down when IPsec is present since the cork length includes the extension header length. So here is a patch to fix the length calculations. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 31da185d8162ae0f30a13ed945f1f4d28d158133 tree fd9cefbc2f8d8e95786a3a23858d3649605ad148 parent b43309578477ff3271945d4efb920f558a309b4a author Patrick McHardy Tue, 03 May 2005 14:23:50 -0700 committer David S. Miller Tue, 03 May 2005 14:23:50 -0700 [NETFILTER]: Don't checksum CHECKSUM_UNNECESSARY skbs in TCP connection tracking Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit b43309578477ff3271945d4efb920f558a309b4a tree c91695958b52da4e9b104b80d73b420809c413dc parent 52292c9b8c16aa9024a65aaeeca434bb8fec7d24 author Patrick McHardy Tue, 03 May 2005 14:23:13 -0700 committer David S. Miller Tue, 03 May 2005 14:23:13 -0700 [NETFILTER]: Missing owner-field initialization in iptable_raw Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 012914dad25bd5cacf88af4429eecda62a06020d tree e265fa0cf7dccef220bc26a16c1f0694b4b4bbee parent 3ea8b477b4b9d3e75b5e9b8aea41259f45031823 author Russ Anderson <(rja@sgi.com)> Sat, 23 Apr 2005 00:08:00 -0700 committer Tony Luck Tue, 03 May 2005 13:58:17 -0700 [patch] MCA recovery module undefined symbol fix The patch "MCA recovery improvements" added do_exit to mca_drv.c. That's fine when the mca recovery code is built in the kernel (CONFIG_IA64_MCA_RECOVERY=y) but breaks building the mca recovery code as a module (CONFIG_IA64_MCA_RECOVERY=m). Most users are currently building this as a module, as loading and unloading the module provides a very convenient way to turn on/off error recovery. This patch exports do_exit, so mca_drv.c can build as a module. Signed-off-by: Russ Anderson (rja@sgi.com) Signed-off-by: Tony Luck commit 3ea8b477b4b9d3e75b5e9b8aea41259f45031823 tree d9ab6af871931241152f0d87084a1ba0ace02480 parent 32709d8ae67356559839a9a9e4b26f79134e45a6 author Mark Maule Mon, 11 Apr 2005 21:20:00 -0700 committer Tony Luck Tue, 03 May 2005 13:52:22 -0700 [IA64] altix: fix TIOCA dmamap list_add Correct a bug where tioca_dma_mapped() is putting tioca dma map structs on the wrong list. Signed-off-by: Mark Maule Signed-off-by: Tony Luck commit 32709d8ae67356559839a9a9e4b26f79134e45a6 tree 876f7e6d3f3f5d835870c8db34d141959db754b0 parent b1b901c2029aa0fd8aa4ac5f04f31648ae2358b4 author Keith Owens Fri, 08 Apr 2005 14:23:00 -0700 committer Tony Luck Tue, 03 May 2005 13:48:55 -0700 [IA64] SAL to OS callbacks cannot call sleeping When SAL calls back into the OS, the OS code is running with preempt disabled so it cannot call sleeping functions. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit b1b901c2029aa0fd8aa4ac5f04f31648ae2358b4 tree 43f5dde2309d66fa2112a7c2dc46ea7c63fae459 parent 446b8831f5acf2076fa58a66286789eb84f3df2c author Russ Anderson Wed, 06 Apr 2005 00:07:00 -0700 committer Tony Luck Tue, 03 May 2005 13:47:42 -0700 [IA64] MCA recovery improvements Jack Steiner uncovered some opportunities for improvement in the MCA recovery code. 1) Set bsp to save registers on the kernel stack. 2) Disable interrupts while in the MCA recovery code. 3) Change the way the user process is killed, to avoid a panic in schedule. Testing shows that these changes make the recovery code much more reliable with the 2.6.12 kernel. Signed-off-by: Russ Anderson Signed-off-by: Tony Luck commit 446b8831f5acf2076fa58a66286789eb84f3df2c tree 250506863a6e103444584d609cdb577e87b3a499 parent 7d5f9c0f10255000ca007fb03773c6b825c2b9ce author David Woodhouse Tue, 05 Apr 2005 17:47:00 -0700 committer Tony Luck Tue, 03 May 2005 13:45:39 -0700 [IA64] fix ia64 syscall auditing Attached is a patch against David's audit.17 kernel that adds checks for the TIF_SYSCALL_AUDIT thread flag to the ia64 system call and signal handling code paths. The patch enables auditing of system calls set up via fsys_bubble_down, as well as ensuring that audit_syscall_exit() is called on return from sigreturn. Neglecting to check for TIF_SYSCALL_AUDIT at these points results in incorrect information in audit_context, causing frequent system panics when system call auditing is enabled on an ia64 system. I have tested this patch and have seen no problems with it. [Original patch from Amy Griffis ported to current kernel by David Woodhouse] From: Amy Griffis From: David Woodhouse Signed-off-by: Chris Wright Signed-off-by: Greg Kroah-Hartman Signed-off-by: Tony Luck commit 7d5f9c0f10255000ca007fb03773c6b825c2b9ce tree 5f53e41ef4cbe5ced2c5884ee5dde8df1fcaa509 parent de7548d0e202263bb6bfd7574a7889e85a691937 author Zwane Mwaikambo Wed, 30 Mar 2005 21:40:00 -0700 committer Tony Luck Tue, 03 May 2005 13:40:18 -0700 [IA64] reduce cacheline bouncing in cpu_idle_wait Andi noted that during normal runtime cpu_idle_map is bounced around a lot, and occassionally at a higher frequency than the timer interrupt wakeup which we normally exit pm_idle from. So switch to a percpu variable. I didn't move things to the slow path because it would involve adding scheduler code to wakeup the idle thread on the cpus we're waiting for. Signed-off-by: Zwane Mwaikambo Signed-off-by: Andrew Morton Signed-off-by: Tony Luck commit de7548d0e202263bb6bfd7574a7889e85a691937 tree eee071a29e77fbfacc5dc6ff8c9c10d9dcc23f02 parent bb0fc085457cf6a865b8232b0cefab3a7819df44 author Mike Habeck Fri, 25 Mar 2005 19:34:00 -0700 committer Tony Luck Tue, 03 May 2005 13:36:09 -0700 [IA64-SGI] Altix only: Fix for sn_dma_flush The following patch fixes a bug in the SGI Altix sn_dma_flush code. sn_dma_flush is broken in 2.6. The code isn't waiting for the DMA data to be flushed out of the PIC ASIC. This patch is based off the linux-ia64-test-2.6.12 tree Signed-off-by: Mike Habeck Signed-off-by: Tony Luck commit bb0fc085457cf6a865b8232b0cefab3a7819df44 tree deaa9e3b58d6e40cb2bdba61898bf8373dc02688 parent c0b12422e5e1d041026dd27074de17d2d7e32c4e author Alex Williamson Thu, 24 Mar 2005 22:58:00 -0700 committer Tony Luck Tue, 03 May 2005 13:33:18 -0700 [IA64] use common pxm function This patch simplifies a couple places where we search for _PXM values in ACPI namespace. Thanks, Signed-off-by: Alex Williamson Signed-off-by: Tony Luck commit c0b12422e5e1d041026dd27074de17d2d7e32c4e tree 1818ff91a52bea353469ba787f492dd2ca303fe2 parent 3a7d555bfc4d4631d9118fb4d0ed7ab62cc2ca1c author Colin Ngam Fri, 18 Mar 2005 16:38:00 -0700 committer Tony Luck Tue, 03 May 2005 13:21:03 -0700 [IA64-SGI] Altix only: Register Error Interrupt The following patch ensures that the correct error interrupt handling routine is initialized. This patch is based on the 2.6.12 ia64 release tree. Signed-off-by: Colin Ngam Signed-off-by: Tony Luck commit 3a7d555bfc4d4631d9118fb4d0ed7ab62cc2ca1c tree 3f788937066dff5befaf3b4e70539bf3f9e4702b parent a2d974da0afe659cff98913184a97c0ee686d02b author Dean Nelson Mon, 04 Apr 2005 13:14:00 -0700 committer Tony Luck Tue, 03 May 2005 12:50:22 -0700 [IA64-SGI] convert AMO address found in XPC's reserved page This patch detects the existence of an uncached physical AMO address setup by EFI's XPBOOT (SGI) and converts it to an uncached virtual AMO address. Depends on a patch submitted on 23 March 2005 with the subject of: [PATCH 2/3] SGI Altix cross partition functionality (2nd revision) Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit a2d974da0afe659cff98913184a97c0ee686d02b tree 1a1479280445226104ddc062bed2e2806639352e parent 89eb8eb927e324366c3ac0458998aaf9953fc5cd author Dean Nelson Wed, 23 Mar 2005 20:50:00 -0700 committer Tony Luck Tue, 03 May 2005 12:37:19 -0700 [IA64-SGI] SGI Altix cross partition functionality [3/3] This patch contains the cross partition pseudo-ethernet driver (XPNET) functional support module. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 89eb8eb927e324366c3ac0458998aaf9953fc5cd tree c5f77d88bc42821134de6ea49a5663654df38e56 parent 21223a9e78050919499d3d9039170e608eb939cc author Dean Nelson Wed, 23 Mar 2005 19:50:00 -0700 committer Tony Luck Tue, 03 May 2005 12:36:00 -0700 [IA64-SGI] SGI Altix cross partition functionality [2/3] This patch contains the communication module (XPC) for cross partition communication on a partitioned SGI Altix. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 21223a9e78050919499d3d9039170e608eb939cc tree 8691970d17425f6e79b0567633d106ce88db0b8e parent b0d82bd5df874f7dadbeced1b0163473387da37c author Tony Luck Tue, 03 May 2005 12:25:50 -0700 committer Tony Luck Tue, 03 May 2005 12:25:50 -0700 [IA64] manually apply changes to arch/ia64/sn/kernel/Makefile cg-patch couldn't apply the patch to Makefile, and my dumb script rushed on and ran cg-commit without this change. Signed-off-by: Tony Luck commit b0d82bd5df874f7dadbeced1b0163473387da37c tree c78294ddaff17034ef77253c587a7512ba813e95 parent 7fbd2a5337b2aa91266abbded97330f909904fd5 author Dean Nelson Wed, 23 Mar 2005 19:46:00 -0700 committer Tony Luck Tue, 03 May 2005 12:16:52 -0700 [IA64-SGI] SGI Altix cross partition functionality (2nd This patch contains the shim module (XP) which interfaces between the communication module (XPC) and the functional support modules (like XPNET). Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 7fbd2a5337b2aa91266abbded97330f909904fd5 tree 0aca2260c63b65068e69bc82b5ab55f4da4b9421 parent 21e37283909c12e300ab87c20f5addc878cda9f9 author Dean Nelson Wed, 23 Mar 2005 19:11:00 -0700 committer Tony Luck Tue, 03 May 2005 12:12:42 -0700 [IA64-SGI] Add some needed externs currently not defined Add some needed externs currently not defined. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 21e37283909c12e300ab87c20f5addc878cda9f9 tree 0a03d3c0c90d8108eefb985272d0d49f31c2c827 parent 7223a93a5321f84337647aef62ef947afd8df41a author Dean Nelson Wed, 23 Mar 2005 19:08:00 -0700 committer Tony Luck Tue, 03 May 2005 12:11:38 -0700 [IA64-SGI] Define some additional SHub1 and Shub2 register symbols Define some additional SHub1 and SHub2 register symbols. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 7223a93a5321f84337647aef62ef947afd8df41a tree 10d4c8e4cb1b4ddf33ca32efbe915ca91d19fcd1 parent 2e34f07ff0c944399a6456e2d91cf0ca1d9a497c author Dean Nelson Wed, 23 Mar 2005 19:00:00 -0700 committer Tony Luck Tue, 03 May 2005 12:09:32 -0700 [IA64] Export node_online_map and node_possible_map Export node_online_map and node_possible_map so that kernel modules can use the nodemask macros, like, for_each_node() and for_each_online_node(). Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 2e34f07ff0c944399a6456e2d91cf0ca1d9a497c tree d09796e3f37d7cd809eceb5d931f1e2171a32f5b parent ce0a3956b32650e229b68964c4400bbdc5ad3ca1 author Dean Nelson Mon, 21 Mar 2005 19:41:00 -0700 committer Tony Luck Tue, 03 May 2005 12:07:46 -0700 [PATCH] move cnodeid_to_nasid_table out of pda Another step in the effort to eliminate the SN pda structure. This patch moves the cnodeid_to_nasid_table field out of the pda, making it a standalone per-cpu data item, and exports it so it can be accessed by kernel modules. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit ce0a3956b32650e229b68964c4400bbdc5ad3ca1 tree 79ea53b8321964c903f1379c48ba5c4917992c46 parent ae40aae9b9b8e336714ebb3f16410da6e69d6ac8 author Bruce Losure Mon, 25 Apr 2005 19:41:00 -0700 committer Tony Luck Tue, 03 May 2005 12:01:07 -0700 [IA64-SGI] Altix patch to add bricktype knowledge to tiocx Here is a patch to enable the SGI tiocx bus driver to distingush between FPGA-attached h/w and non-FPGA-attached h/w. Signed-off-by: Bruce Losure Signed-off-by: Tony Luck commit ae40aae9b9b8e336714ebb3f16410da6e69d6ac8 tree aa900ab7187e5206d30f78c1e5fad98a84a81293 parent c2d1d65ad441c8abe624bdb1c2cff2e47c8c1ee1 author Bruce Losure Mon, 04 Apr 2005 13:23:00 -0700 committer Tony Luck Tue, 03 May 2005 12:00:01 -0700 [IA64-SGI] Altix patch to fix missing Kconfig dependency. This is a one-liner to make the mbcs driver depend on SGI_TIOCX in the drivers/char/Kconfig file. Signed-off-by: Bruce Losure Signed-off-by: Tony Luck commit c2d1d65ad441c8abe624bdb1c2cff2e47c8c1ee1 tree 3d88b27fe6409d1ebc9849e29b0e660d437decce parent 2074615a13a4f250e0a4e3f6ec8e3733b950a783 author Bruce Losure Thu, 24 Mar 2005 12:28:00 -0700 committer Tony Luck Tue, 03 May 2005 11:58:37 -0700 [IA64-SGI] Altix only: Remove hubdev SAL call Hi Tony, This patch against ia64-test-2.6.12 fixes a bug where the tiocx code was inadvertently un-doing some address modifications done in earlier fixup code. This patch just removes the offending code. Signed-off-by: Bruce Losure Signed-off-by: Tony Luck commit 2074615a13a4f250e0a4e3f6ec8e3733b950a783 tree 20af73cd640c88f5bedcb081fd5e850bf23b7b86 parent 43cc67251882f60c796c8729cefc0e05b550976c author David Mosberger-Tang Fri, 18 Feb 2005 19:09:00 -0700 committer Tony Luck Tue, 03 May 2005 11:27:33 -0700 [IA64] use fc.i for fluch_icache_range() This is a small patch to switch fluch_icache_range() to use fc.i instead of fc. This would save time on processors which can establish i-cache coherency without flushing the cache-line out to memory (not that any current processors do). On existing processors, fc.i behaves like fc. The only caveat is that very old assemblers may not know about fc.i yet. Signed-off-by: David Mosberger-Tang Signed-off-by: Tony Luck commit 43cc67251882f60c796c8729cefc0e05b550976c tree 7d5a7a24eaf4f6afc76ce98b368eb9579bf59c8b parent 6adc4cc0eead0c1897d7f1416d749c8e7c91e0bc author Jes Sorensen Thu, 17 Feb 2005 09:41:00 -0700 committer Tony Luck Tue, 03 May 2005 11:26:05 -0700 [IA64-SGI] cleanup shubio.h This patch cleans up include/asm/sn/shubio.h by removing a ton of whitespaces and running it through Lindent, reducing it's size by almost 30KB. No actual content has been changed. Signed-off-by: Jes Sorensen Signed-off-by: Tony Luck commit 6adc4cc0eead0c1897d7f1416d749c8e7c91e0bc tree 0409af16566bde54a3d75fb0675a26a5cbc4603a parent 9df6f705c0934a49d0f0a3468a5b5044c8aec4f1 author Jesse Barnes Wed, 16 Feb 2005 16:38:00 -0700 committer Tony Luck Tue, 03 May 2005 11:16:31 -0700 [IA64-SGI] remove unused sn header files This patch makes Jes' patch (which also contains the removal of fetchop.h) a bit smaller, and removes two other unused files at the same time, sndrv.h and sn_fru.h. Signed-off-by: Jesse Barnes Signed-off-by: Tony Luck commit 9df6f705c0934a49d0f0a3468a5b5044c8aec4f1 tree 045807d5f55b61d6222c6dada311237a9badeddc parent 512f64295f2f0049515dcc4e97c1f1ae0df9629c author David Mosberger-Tang Fri, 25 Mar 2005 00:16:00 -0700 committer Tony Luck Tue, 03 May 2005 10:56:42 -0700 [IA64] fix typos caught by new assembler Patch below fixes 3 trivial typos which are caught by the new assembler (v2.169.90). Please apply. [Note: fix to memcpy that was also part of this patch was separately applied from patches by H.J. and Andreas ... so the delta here only has the other two fixes. -Tony] Signed-off-by: David Mosberger-Tang Signed-off-by: Tony Luck commit 512f64295f2f0049515dcc4e97c1f1ae0df9629c tree d2079e3972a7cd52f4b72cbd988dd4168dc2c0ec parent 7a9bdd8842d0847f3b15068550a3632a2d259057 author Andreas Schwab Tue, 26 Apr 2005 23:00:00 -0700 committer Tony Luck Tue, 03 May 2005 10:49:29 -0700 [IA64] Fix memcpy_mck.S for current binutils The current ia64 assembler complains about mismatching .proc/.endp pairs. (Same patch also sent by H.J. Lu) Signed-off-by: Andreas Schwab Signed-off-by: Tony Luck commit 7a9bdd8842d0847f3b15068550a3632a2d259057 tree 548d1f72a9dbdf74b67e45f5f536a71e94c26b81 parent ac09f698f1cda91e890fb75f4cb38253d60ff017 author Suresh Siddha Tue, 05 Apr 2005 18:05:00 -0700 committer Tony Luck Tue, 03 May 2005 10:33:28 -0700 [IA64] Add config SCHED_SMT Now that we have MC/MT detection patches in, appended patch allows us to configure MT scheduler optimizations. For now, we will this option off by default. There is some discussion going on lkml about setting up sched-domains which are absolutely needed (like for example, we shouldn't setup SMT domain for non MT processors). Once that patch goes in, we can enable this option by default. Signed-off-by: Suresh Siddha Signed-off-by: Tony Luck commit 52292c9b8c16aa9024a65aaeeca434bb8fec7d24 tree 59c7aae8cab7c4e1e557dd3a4fff6afbffab38e2 parent 6628465e33ca694bd8fd5c3cf4eb7ff9177bc694 author Benjamin Herrenschmidt Tue, 03 May 2005 15:34:58 +1000 committer Linus Torvalds Tue, 03 May 2005 07:38:34 -0700 [PATCH] ppc64: fix gcc 4.0 vs CONFIG_ALTIVEC gcc-4.0 generates altivec code implicitly when -mcpu indicates an altivec capable CPU which is not suitable for the kernel. However, we used to set -mcpu=970 when CONFIG_ALTIVEC was set because a gcc-3.x bug prevented from using -maltivec along with -mcpu=power4, thus prevented building the RAID6 altivec code. This patch fixes all of this by testing for the gcc version. If 4.0 or later, just normally use -mcpu=power4 and let the RAID6 code add -maltivec to the few files it needs to be compiled with altivec support. For 3.x, we still use -mcpu=970 to work around the above problem, which is fine as 3.x will never implicitly generate altivec code. The Makefile hackery may not be the most lovely, I welcome anybody more skilled than me to improve it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit 488f2eaca1b0831a5a5e6a66e33bad2cdeff7238 tree a7d9c0e8722194ca92602ad0d5982fbb1e9e9d8e parent 0dd8e06bdaa0a97e706ee1a489a1f6176c4ddc64 author David Woodhouse Tue, 03 May 2005 14:11:02 +0100 committer David Woodhouse Tue, 03 May 2005 14:11:02 +0100 [AUDIT] Log correct syscall args for i386 processes on x86_64 The i386 syscall ABI uses different registers. Log those instead of the x86_64 ones. Signed-off-by: David Woodhouse commit 0dd8e06bdaa0a97e706ee1a489a1f6176c4ddc64 tree f09181360e5b68d46ea2856c9fa63eaa3515080c parent 27b030d58c8e72fc7a95187a791bd9406e350f02 author Chris Wright Tue, 03 May 2005 14:01:15 +0100 committer David Woodhouse Tue, 03 May 2005 14:01:15 +0100 [PATCH] add new audit data to last skb When adding more formatted audit data to an skb for delivery to userspace, the kernel will attempt to reuse an skb that has spare room. However, if the audit message has already been fragmented to multiple skb's, the search for spare room in the skb uses the head of the list. This will corrupt the audit message with trailing bytes being placed midway through the stream. Fix is to look at the end of the list. Signed-off-by: Chris Wright Signed-off-by: David Woodhouse commit eca02b0c1dc1da374216128157747d8ed994e5ef tree d1fcc442129d13b4431686467a9ecbb50e222cfc parent 1f9c381fa3e0b9b9042e310c69df87eaf9b46ea4 author Russell King Tue, 03 May 2005 12:23:56 +0100 committer Russell King Tue, 03 May 2005 12:23:56 +0100 [PATCH] ARM: Cleanup kmalloc in cyber2000fb We use one kmalloc to allocate two structures needlessly. Combine these two structures into one. Signed-off-by: Russell King commit 1f9c381fa3e0b9b9042e310c69df87eaf9b46ea4 tree a683349fc21ff4c892b032ad1681d67a1ebf547a parent 5c3073e691b56dabbdec60dda4258b4e50d64872 author Russell King Tue, 03 May 2005 12:22:19 +0100 committer Russell King Tue, 03 May 2005 12:22:19 +0100 [PATCH] ARM: Clean up commenting/spacing for Integrator Signed-off-by: Russell King commit 5c3073e691b56dabbdec60dda4258b4e50d64872 tree 073b46c9cb83d8e2a8e73e18849e79d193108ad2 parent 5cd0c3442021fbf39c7152b341a952aa24054be9 author Russell King Tue, 03 May 2005 12:20:29 +0100 committer Russell King Tue, 03 May 2005 12:20:29 +0100 [PATCH] ARM: cleanup vmalloc start/offset macros VMALLOC_START and VMALLOC_OFFSET are common between all ARM machine classes. Move them into include/asm-arm/pgtable.h, but allow a machine class to override them if required. Signed-off-by: Russell King commit 5cd0c3442021fbf39c7152b341a952aa24054be9 tree 5934a02646d7e499963698c34d16bdd9fc7bc8b2 parent ac09f698f1cda91e890fb75f4cb38253d60ff017 author Russell King Tue, 03 May 2005 12:18:46 +0100 committer Russell King Tue, 03 May 2005 12:18:46 +0100 [PATCH] ARM: decompressor: use platform debug macros Rather than duplicate the assembly for debug macros in the decompressor head.S, use asm/arch/debug-macros.S instead. Signed-off-by: Russell King commit 27b030d58c8e72fc7a95187a791bd9406e350f02 tree ab3bab7f39a5ce5bab65578a7e08fa4dfdeb198c parent 79d20b14a0d651f15b0ef9a22b6cf12d284a6d38 parent 6628465e33ca694bd8fd5c3cf4eb7ff9177bc694 author David Woodhouse Tue, 03 May 2005 08:14:09 +0100 committer David Woodhouse Tue, 03 May 2005 08:14:09 +0100 Merge with master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 79d20b14a0d651f15b0ef9a22b6cf12d284a6d38 tree d0bc6bc1d47219ae9b8af608ce296fe02ffd7068 parent 54e0f520e7d94b865e0f5465db976dcc5ffe7190 author Jeff Dike Tue, 03 May 2005 07:54:51 +0100 committer David Woodhouse Tue, 03 May 2005 07:54:51 +0100 [AUDIT] Update UML audit-syscall-{entry,exit} calls to new prototypes This patch is for -mm only. It should probably be included in git-audit, and should be forwarded to Linus iff git-audit is. It updates the audit-syscall-{entry,exit} calls to current -mm. Signed-off-by: Jeff Dike Cc: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit 6628465e33ca694bd8fd5c3cf4eb7ff9177bc694 tree b023d524fb0a3b71aa0b957ce7c5540611497370 parent 1c6278295d6482edaaaef5faa64b18f17b3319b7 author Dave Kleikamp Mon, 02 May 2005 12:25:13 -0600 committer Linus Torvalds Mon, 02 May 2005 22:23:54 -0700 [PATCH] JFS: Don't allocate extents that overlap existing extents Modify xtSearch so that it returns the next allocated block when the requested block is unmapped. This can be used to make sure we don't create a new extent that overlaps the next one. Signed-off-by: Dave Kleikamp Signed-off-by: Linus Torvalds commit dc5798d9a7b656550533a5c0177dba17d4ef4990 tree 3ae0b6a6b4d85efbc4ccae6f9567d1c461292c01 parent d2e83707edbe6a2520591141421d26a87414a1b9 author Dave Kleikamp Mon, 02 May 2005 12:24:57 -0600 committer Linus Torvalds Mon, 02 May 2005 22:23:53 -0700 [PATCH] JFS: Changes for larger page size JFS code has always assumed a page size of 4K. This patch fixes the non-pagecache uses of pages to deal with larger pages. Signed-off-by: Dave Kleikamp Signed-off-by: Linus Torvalds commit d2e83707edbe6a2520591141421d26a87414a1b9 tree 14d7d663eb653a1ffbfdf1c85440295bcf8b758a parent 66f3131f547ef3cc864810974e0757617e60a837 author Dave Kleikamp Mon, 02 May 2005 12:24:51 -0600 committer Linus Torvalds Mon, 02 May 2005 22:23:53 -0700 [PATCH] JFS: Simplify creation of new iag JFS was creating a new IAG (inode aggregate group) in one address space, and afterwards, accessing it from another. This could lead to complications when cache pages contain more than one page of jfs metadata. This patch causes the IAG to be initialized in the same address space that it is subsequently accessed with. This also elimitates an I/O, but IAG's aren't created too often. Signed-off-by: Dave Kleikamp Signed-off-by: Linus Torvalds commit 7fab479bebb96b1b4888bdae9b42e1fa9c5d3f38 tree 3d47de90cf39002e576df02f474bc17342ff0f4a parent dc5798d9a7b656550533a5c0177dba17d4ef4990 author Dave Kleikamp Mon, 02 May 2005 12:25:02 -0600 committer Linus Torvalds Mon, 02 May 2005 22:23:53 -0700 [PATCH] JFS: Support page sizes greater than 4K jfs has never worked on architecutures where the page size was not 4K. Signed-off-by: Dave Kleikamp Signed-off-by: Linus Torvalds commit 1c6278295d6482edaaaef5faa64b18f17b3319b7 tree 226896c455d8a4996527c4a0ec5699956c657ec3 parent 7fab479bebb96b1b4888bdae9b42e1fa9c5d3f38 author Dave Kleikamp Mon, 02 May 2005 12:25:08 -0600 committer Linus Torvalds Mon, 02 May 2005 22:23:53 -0700 [PATCH] JFS: Write journal sync points more often This patch adds jfs_syncpt, which calls lmLogSync to write sync points to the journal both in jfs_sync_fs and when sync barrier processing completes. lmLogSync accomplishes two things: 1) it pushes logged-but-dirty metadata pages to disk, and 2) it writes a sync record to the journal so that jfs_fsck doesn't need to replay more transactions than is necessary. Signed-off-by: Dave Kleikamp Signed-off-by: Linus Torvalds commit 66f3131f547ef3cc864810974e0757617e60a837 tree 98a1c36c63a350f04a650abfc4ec9ff12e7d717a parent ac09f698f1cda91e890fb75f4cb38253d60ff017 author Dave Kleikamp Mon, 02 May 2005 12:24:46 -0600 committer Linus Torvalds Mon, 02 May 2005 22:23:52 -0700 [PATCH] JFS: reduce number of synchronous transactions Use an inline pxd list rather than an xad list in the xadlock. When the number of extents being modified can fit with the xadlock, a transaction can be committed asynchronously. Using a list of pxd's instead of xad's allows us to fit 4 extents, rather than 2. Signed-off-by: Dave Kleikamp Signed-off-by: Linus Torvalds commit e521dca64e0f82d844928c5ee88d82fdced50cbe tree c894a71c7d1a22e6c814f202532ec55616665adb parent 6995f17a5ab3c3fd4df2e5b107d08cff1db3fa41 author Benjamin Herrenschmidt Mon, 02 May 2005 16:12:00 +1000 committer Linus Torvalds Mon, 02 May 2005 08:15:22 -0700 [PATCH] ppc32: Fix might_sleep() warning with clock spreading The clock spreading disable/enable code was called to late/early during the suspend/resume code on some laptops and would trigger a might_sleep() warning due to the down() call in the low level i2c code. This fixes it by calling those functions earlier/later when interrupts are still enabled. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit ac09f698f1cda91e890fb75f4cb38253d60ff017 tree f71a88464e5b5cb3f5246367bcc8ea0890f5fb0d parent e521dca64e0f82d844928c5ee88d82fdced50cbe author Benjamin Herrenschmidt Mon, 02 May 2005 16:25:10 +1000 committer Linus Torvalds Mon, 02 May 2005 08:15:22 -0700 [PATCH] cpufreq annoying warning fix The cpufreq core patch I sent earlier got only half-applied. I added a flag to let the low level driver disable an annoying warning on suspend/resume that is normal on ppc, but the "resume" part of it wasn't applied. This just adds back that missing bit. The original patch also reworked the resume() function to avoid nesting too many if () statements along the way I did the suspend() one, but I didn't include that in the patch below. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit 6995f17a5ab3c3fd4df2e5b107d08cff1db3fa41 tree 93eac4f86ca45821246ddcf2c0b26fe9cadec150 parent f0f539755b8df3db81715d9c7fb67ba375f0330f author Benjamin Herrenschmidt Mon, 02 May 2005 14:45:12 +1000 committer Linus Torvalds Sun, 01 May 2005 21:56:39 -0700 [PATCH] ppc32: More fixlet for pmac sound As Al Viro noticed, my previous fix missed one instance of "device" in the driver local debug code. Harmless unless you tweak the #define's in there but still work fixing. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit f0f539755b8df3db81715d9c7fb67ba375f0330f tree f624f46948fb70f91fec22e4c44d54f1acbcf553 parent 7eb8073ecc8251530ebbd9be29cc33e54d37bdc2 author Benjamin Herrenschmidt Sun, 01 May 2005 19:43:54 -0700 committer Linus Torvalds Sun, 01 May 2005 19:43:54 -0700 [PATCH] ppc32: Fix sleep on old 101 PowerBook A typo in the machine table incorrectly mark the 101 PowerBook as needing explicit callback from the video driver to enable sleep mode. I did not implement that mecanism for chipsest older than r128, so we need to mark this machine as always beeing able to sleep for now. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit 7eb8073ecc8251530ebbd9be29cc33e54d37bdc2 tree 4d6a10cb3ce9f216a4d0e7a6000374f45929bf70 parent 15fd56867b6b94dc829d880bc078428eb41859c8 author Benjamin Herrenschmidt Sun, 01 May 2005 18:54:23 -0700 committer Linus Torvalds Sun, 01 May 2005 18:54:23 -0700 [PATCH] ppc32: Small build fix for alsa powermac My newer iMac mini driver doesn't build with verbose debug enabled. This fixes it, and removes an erroneous error printk (since it's normal on some machine to not find some gpios on the "first try"). Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit 15fd56867b6b94dc829d880bc078428eb41859c8 tree 2cadd2a246de12dade57a75cc57c296070d58712 parent 7da21a02b3587157bd43910ea6d4c76661228ebb author Benjamin Herrenschmidt Sun, 01 May 2005 18:22:34 -0700 committer Linus Torvalds Sun, 01 May 2005 18:22:34 -0700 [PATCH] ppc32: Workaround a cache flush issue on sleep We are experiencing a problem when flushing the CPU caches before sleep on some laptop models using the 750FX CPU rev 1.X. While I haven't been able to figure out a proper explanation for what's going on, I do have a workaround that seem to work reliably and allows those machine to sleep and wakeup properly again. I'll re-update that code if/when I ever find exactly what is happening with those CPU revisions. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit 7da21a02b3587157bd43910ea6d4c76661228ebb tree 192ac868b9d0854d31fb04a21a968796892cbf94 parent 76530da1a9e8ce05963b1f49a098eddc6ec6c534 author Jens Axboe Sun, 01 May 2005 12:12:52 -0700 committer Linus Torvalds Sun, 01 May 2005 12:12:52 -0700 [PATCH] Avoid unnecessary ide-cd cache flushes Only issue a cdrom cache flush if we've done write to the drive. The ->media_written() flag keeps track of that. Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit 76530da1a9e8ce05963b1f49a098eddc6ec6c534 tree bf0e2300abac0314de8af66020513fd551f14f62 parent 6c207e769297946a0adec45225c6999f1299dde3 author Adrian Bunk Sun, 01 May 2005 08:59:30 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:30 -0700 [PATCH] sound/oss/sonicvibes.c: fix an array overflow This patch fixes an array overflow found by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6c207e769297946a0adec45225c6999f1299dde3 tree 2e4890b150d6f7055b2ecda3600df04c28d8bfb6 parent 0dec63bab860cc60cc444faa0ac459f1b53545ff author Adrian Bunk Sun, 01 May 2005 08:59:30 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:30 -0700 [PATCH] drivers/input/joystick/spaceorb.c: fix an array overflow This patch fixes an array overflow found by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 390725c36d220f5ca0c13b8927ac9c758ae1e4ad tree 9b7a13d734992cbee48588ab241e01baeb486b44 parent 6e3e98d1dcf944b999757b769d910f2b506ca5b9 author Adrian Bunk Sun, 01 May 2005 08:59:30 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:30 -0700 [PATCH] drivers/video/radeonfb.c: fix an array overflow This patch fixes an array overflow found by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0dec63bab860cc60cc444faa0ac459f1b53545ff tree 3b07982063574ed27b1edd4ec1376b52ca7bbd76 parent 390725c36d220f5ca0c13b8927ac9c758ae1e4ad author Adrian Bunk Sun, 01 May 2005 08:59:30 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:30 -0700 [PATCH] drivers/pnp/pnpacpi/rsparser.c: fix an array overflow This patch fixes an array overflow found by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e3e98d1dcf944b999757b769d910f2b506ca5b9 tree a070040633da1748df638673819479ceaf7efce2 parent 408b664a7d394a5e4315fbd14aca49b042cb2b08 author Adrian Bunk Sun, 01 May 2005 08:59:29 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:29 -0700 [PATCH] drivers/pnp/pnpbios/rsparser.c: fix an array overflow This patch fixes an array overflow found by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 408b664a7d394a5e4315fbd14aca49b042cb2b08 tree bd3ebe72229227962d157e46e61ed65b78d6e28b parent c31403a1f5a761599df38bcc2d6ba94f24320c33 author Adrian Bunk Sun, 01 May 2005 08:59:29 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:29 -0700 [PATCH] make lots of things static Another large rollup of various patches from Adrian which make things static where they were needlessly exported. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd4a3244941ed74fffc24b64857977270e6f64e2 tree 2962590ab577d930f914141fc753e46af7c8df59 parent 4fa35166c540073a2c6e450683c776f68e8b5569 author Sam Ravnborg Sun, 01 May 2005 08:59:28 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:28 -0700 [PATCH] docbook: Tell users to install xmlto, not stylesheets We have at least two users which were confused by these messages, myself included. Signed-off-by: Alexey Dobriyan Signed-off-by: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c31403a1f5a761599df38bcc2d6ba94f24320c33 tree b753650fba949d8b56c65d024b7e82363b894871 parent fd4a3244941ed74fffc24b64857977270e6f64e2 author Cosmin Nicolaescu Sun, 01 May 2005 08:59:28 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:28 -0700 [PATCH] Documentation: remove super-{nr, max} to reflect fs/super.c The patch updates the documentation for /proc. super-nr and super-max have been dropped from the kernel since 2.4.9 due to minor numbering issues. This change was not documented in the documentation. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4fa35166c540073a2c6e450683c776f68e8b5569 tree c2afb4f7449be17c75cc149bce8456b729cf4254 parent 2948e57d94bd2d2fb6d4e89d89f0bd0ddaee0513 author Martin Waitz Sun, 01 May 2005 08:59:28 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:28 -0700 [PATCH] DocBook: fix html link The start page for each book has changed from book1.html to index.html. Update our generated links acocrdingly. Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac9296f95228f50d112e6caec3b461fd816de084 tree d76802207a551810d9ceac8423dde546cfb6edda parent c73894c1e1160296552d8713e88bc76eac43beba author Jeff Garzik Sun, 01 May 2005 08:59:27 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:27 -0700 [PATCH] DocBook: remove obsolete templates As the author of tulip-user and via-audio docbooks, I can say that they are out of date and should be deleted. Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b0c2d989cc60db1767481386ca912e99807eddb tree d4987614a6171ce7eee3fa63023ce5ed4c45f8f7 parent ac9296f95228f50d112e6caec3b461fd816de084 author Martin Waitz Sun, 01 May 2005 08:59:27 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:27 -0700 [PATCH] DocBook: Use xmlto to process the DocBook files. xmlto uses standared XSLT templates to generate manpages, (x)html pages, and XML FO files which can be processed with passivetex. This is much faster than using jadetex for everything. This patch also reduces the number of kernel-specific scripts that are needed to generate documentation. Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2948e57d94bd2d2fb6d4e89d89f0bd0ddaee0513 tree 4d6146a9e30f9d8920eaae2db942dbaad1b1100e parent 8b0c2d989cc60db1767481386ca912e99807eddb author Martin Waitz Sun, 01 May 2005 08:59:27 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:27 -0700 [PATCH] Docbook: use custom stylesheet With the custom stylesheet, functions are rendered using ANSI-C syntax and xmlto is a bit quieter. Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c73894c1e1160296552d8713e88bc76eac43beba tree 583a8d4c955c9bdf21f1eb2c24592cab30744c6e parent 67be2dd1bace0ec7ce2dbc1bba3f8df3d7be597e author Rich Walker Sun, 01 May 2005 08:59:26 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:26 -0700 [PATCH] DocBook: use for examples Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 67be2dd1bace0ec7ce2dbc1bba3f8df3d7be597e tree 317d114a0288d3b19ef9902f94b536a5a8731dbd parent 6013d5445f9a6d0b28090027868f455c5012d1cc author Martin Waitz Sun, 01 May 2005 08:59:26 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:26 -0700 [PATCH] DocBook: fix some descriptions Some KernelDoc descriptions are updated to match the current code. No code changes. Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6013d5445f9a6d0b28090027868f455c5012d1cc tree 4c21ee01fc24bb75993f7111098398a9b7761ab4 parent 4dc3b16ba18c0f967ad100c52fa65b01a4f76ff0 author Martin Waitz Sun, 01 May 2005 08:59:25 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:25 -0700 [PATCH] DocBook: fix xml tag This fix is needed to create valid XML. Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4dc3b16ba18c0f967ad100c52fa65b01a4f76ff0 tree fa038ad8969980eec6cef5b737872fda9feb4c6a parent 333f981720d619e2038b980a55ad01b10580eb9f author Pavel Pisa Sun, 01 May 2005 08:59:25 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:25 -0700 [PATCH] DocBook: changes and extensions to the kernel documentation I have recompiled Linux kernel 2.6.11.5 documentation for me and our university students again. The documentation could be extended for more sources which are equipped by structured comments for recent 2.6 kernels. I have tried to proceed with that task. I have done that more times from 2.6.0 time and it gets boring to do same changes again and again. Linux kernel compiles after changes for i386 and ARM targets. I have added references to some more files into kernel-api book, I have added some section names as well. So please, check that changes do not break something and that categories are not too much skewed. I have changed kernel-doc to accept "fastcall" and "asmlinkage" words reserved by kernel convention. Most of the other changes are modifications in the comments to make kernel-doc happy, accept some parameters description and do not bail out on errors. Changed to @pid in the description, moved some #ifdef before comments to correct function to comments bindings, etc. You can see result of the modified documentation build at http://cmp.felk.cvut.cz/~pisa/linux/lkdb-2.6.11.tar.gz Some more sources are ready to be included into kernel-doc generated documentation. Sources has been added into kernel-api for now. Some more section names added and probably some more chaos introduced as result of quick cleanup work. Signed-off-by: Pavel Pisa Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 333f981720d619e2038b980a55ad01b10580eb9f tree 419e52ba014d85275dd39614649e09a4c9c7245f parent 0fbe9cafff72799700713e6a9d5a4ec7191e8d19 author Richard Drummond Sun, 01 May 2005 08:59:25 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:25 -0700 [PATCH] Clean-up and bug fix for tdfxfb framebuffer size detection Attached is a patch against 2.6.11.7 which tidies up the tdfxfb framebuffer size detection code a little and fixes the broken support for Voodoo4/5 cards. (I haven't tested this on a Voodoo5, however, because I don't have the hardware). Signed-off-by: Richard Drummond Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit db9f1d9daa2f775a0f7d1a0d2ca4722c1da50158 tree 65145b40dbae6ea35ec802b9394a676f50ec43c2 parent 14c6f52f607edd79e2969548c69ec311defdc17d author Denis Vlasenko Sun, 01 May 2005 08:59:24 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:24 -0700 [PATCH] i810fb: Fix default monitor sync timings - Increase error message verbosity with respect to monitor timings. - Fix default sync timings Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c2f891cb64b0b9c8d389da97c221ee4288f1307 tree 6826d42679d15654c0a0661e56bcbe8fb3f6db86 parent db9f1d9daa2f775a0f7d1a0d2ca4722c1da50158 author Sascha Hauer Sun, 01 May 2005 08:59:24 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:24 -0700 [PATCH] imxfb: Add Freescale i.MX framebuffer driver This patch adds support for the framebuffer on the freescale i.MX SOC architecture. The driver has been tested on the mx1ads board, the pimx1 board and another custom board with different displays. Signed-off-by: Sascha Hauer Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0fbe9cafff72799700713e6a9d5a4ec7191e8d19 tree bd0c48641b7281926346465ab7c8f7fae05bbeaf parent 7c2f891cb64b0b9c8d389da97c221ee4288f1307 author Richard Drummond Sun, 01 May 2005 08:59:24 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:24 -0700 [PATCH] Better PLL frequency matching for tdfxfb driver Improve the PLL frequency matching in the tdfxfb driver. Instead of requiring 64260 iterations to obtain the closest supported PLL frequency, this code does it with the same degree of accuracy in at most 768 iterations. Signed-off-by: Richard Drummond Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5f76be80d96f60adfc91f2acf22b146ce0e3072f tree e2cabbac9558c1a1ef01efd9d4e0f8def777b179 parent 917bb0771aa077f62a3de75028a45f243d3954a8 author Adrian Bunk Sun, 01 May 2005 08:59:23 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:23 -0700 [PATCH] fbdev: edid.h cleanups This patch removes some completely unused code. Signed-off-by: Adrian Bunk Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 306958e8e8d150b3e8bf13f66f3a6e9be7ee75ff tree 4bec649b9881cd59c248b78bbfa72ee3d88f14d0 parent 5f76be80d96f60adfc91f2acf22b146ce0e3072f author Adrian Bunk Sun, 01 May 2005 08:59:23 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:23 -0700 [PATCH] fbcon: Fix check after use This patch fixes a check after use found by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 14c6f52f607edd79e2969548c69ec311defdc17d tree 5e7c24b6119159361638e85c173e7e03f9b0c0fb parent 306958e8e8d150b3e8bf13f66f3a6e9be7ee75ff author Adrian Bunk Sun, 01 May 2005 08:59:23 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:23 -0700 [PATCH] intelfb: Remove intelfbdrv.h Ingo Oeser noticed that all that intelfbdrv.h contains are prototypes for static functions - and such prototypes don't belong into header files. This patch therefore removes drivers/video/intelfb/intelfbdrv.h and moves the prototypes to intelfbdrv.c . Signed-off-by: Adrian Bunk Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 917bb0771aa077f62a3de75028a45f243d3954a8 tree 55c84ff3c967f3eb4aba4baa25ce43c645e1f2b9 parent 7149437669f79b497830e643a2b13d26a017b038 author Antonino A. Daplas Sun, 01 May 2005 08:59:22 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:22 -0700 [PATCH] nvidiafb: ioremap and i2c fixes - Add 'vram' option to specify amount of video RAM to remap - Limit remap size to 64 MIB - Use info->screen_size for remapped RAM - Fix misplaced label in failure path Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7149437669f79b497830e643a2b13d26a017b038 tree f5df8234c2e3cca1a335cf64b9f387c98c123fcf parent 5b052d8bb3ad9108489e7475868e14372774ca08 author Benjamin Herrenschmidt Sun, 01 May 2005 08:59:22 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:22 -0700 [PATCH] fbdev: Batch cmap changes at driver level This patch adds to the fbdev interface a set_cmap callback that allow the driver to "batch" palette changes. This is useful for drivers like radeonfb which might require lenghtly workarounds on palette accesses, thus allowing to factor out those workarounds efficiently. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b052d8bb3ad9108489e7475868e14372774ca08 tree aa7154aee3b5dcc64ad7efdf7ceb178b0c5f27b8 parent 68985e486b708671a7c7d0b4de6d94a1547d1351 author Patrick Gefre Sun, 01 May 2005 08:59:22 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:22 -0700 [PATCH] Altix ioc4 serial - Arm the read timeout timer before the first read Arm the read timeout timer before the first read. Signed-off-by: Patrick Gefre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6cb2875f8d7e392982229094ad3b6d2f213f48da tree f763e4f5ecc499d9d62007e7bb6aadd9455db84e parent 149733d4e274ce1add3399cabdb243116ebfdf79 author Patrick Gefre Sun, 01 May 2005 08:59:21 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:21 -0700 [PATCH] Altix ioc4 serial - set a better timeout/threshold Set the timeout and threshold to better values. Signed-off-by: Patrick Gefre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 68985e486b708671a7c7d0b4de6d94a1547d1351 tree 93a8d63c810a1006e838718b62ed48ccd7c90b45 parent 6cb2875f8d7e392982229094ad3b6d2f213f48da author Patrick Gefre Sun, 01 May 2005 08:59:21 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:21 -0700 [PATCH] Altix ioc4 serial - small uart setup mods Small mods for setting up the uart - parity, flow control Signed-off-by: Patrick Gefre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 149733d4e274ce1add3399cabdb243116ebfdf79 tree 2e34d1ea62154b4e37f7b69a35c66edbfe36257f parent 10e92060295ded7b8feac1ee57bb2135ea9ac207 author Patrick Gefre Sun, 01 May 2005 08:59:21 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:21 -0700 [PATCH] Altix ioc4 serial - set hfc from ioctl Allow hardware flow control to be set from an ioctl. Signed-off-by: Patrick Gefre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 10e92060295ded7b8feac1ee57bb2135ea9ac207 tree 48d9ebf5f8f1a84a02caa41a3a48a95fe126f67c parent fe55c452368af263a9beec38ed29f6be85280524 author Peter Missel Sun, 01 May 2005 08:59:21 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:21 -0700 [PATCH] saa7134: Add OEM version of already supported card Add device table support for the LR214WF card. The driver will say it's a FlyTV, simply because the name strings are stored with the card design data, not the device ID data. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fe55c452368af263a9beec38ed29f6be85280524 tree 4f56bd643c5a9ddbb478745e0bc0fbabc9b9fd8e parent faf8b24968ce6392ea68d9afc7de1ffbc38c1f6c author Mingming Cao Sun, 01 May 2005 08:59:20 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:20 -0700 [PATCH] ext3: remove unnecessary race then retry in ext3_get_block The extra race-with-truncate-then-retry logic around ext3_get_block_handle(), which was inherited from ext2, becomes unecessary for ext3, since we have already obtained the ei->truncate_sem in ext3_get_block_handle() before calling ext3_alloc_branch(). The ei->truncate_sem is already there to block concurrent truncate and block allocation on the same inode. So the inode's indirect addressing tree won't be changed after we grab that semaphore. We could, after get the semaphore, re-verify the branch is up-to-date or not. If it has been changed, then get the updated branch. If we still need block allocation, we will have a safe version of the branch to work with in the ext3_find_goal()/ext3_splice_branch(). The code becomes more readable after remove those retry logic. The patch also clean up some gotos in ext3_get_block_handle() to make it more readable. Signed-off-by: Mingming Cao Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit faf8b24968ce6392ea68d9afc7de1ffbc38c1f6c tree 8309caf9e4448e019d724ec5d3ed115f2b07b450 parent 9990d744bea7d28e83c420e2c9d524c7a8a2d136 author Gerd Knorr Sun, 01 May 2005 08:59:20 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:20 -0700 [PATCH] v4l: msp3400 update msp3400 update: Fix and enable "simpler" mode, some other minor fixes. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9990d744bea7d28e83c420e2c9d524c7a8a2d136 tree 386a5540b41bf212a7b1fc5485292dc8de03bcf1 parent 1622c3fcf4c1c6c8267938f366ecd2a348d67d93 author Gerd Knorr Sun, 01 May 2005 08:59:20 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:20 -0700 [PATCH] dvb: cx22702 frontend driver update update cx22702 fe driver, add support for using the dvb pll lib, enable cx22702 support in cx88-dvb. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f8e08a8466c4ac5f61b4bdb6338fd97eedb9c9e8 tree 082b472e19d4b21f2ecb0eb486e961b16ffeaab0 parent 6b9f5829e6e3af44f20c681e26524c637d4f82ff author Al Viro Sun, 01 May 2005 08:59:19 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:19 -0700 [PATCH] reiserfs endianness: sanitize reiserfs_key union Since we only access reiserfs_key ->u.k_offset_v2 guts in four helper functions, we are free to sanitize those, as long as - layout of the structure is unchanged (it's on-disk object) - behaviour of these helpers is same as before. Patch kills the mess with endianness-dependent bitfields and replaces them with a single __le64. Helpers are switched to straightforward shift/and/or. Benefits: - exact same definitions for little- and big-endian architectures; no ifdefs in sight. - generate the same code on little-endian and improved on big-endian. - doesn't rely on lousy bitfields handling in gcc codegenerator. - happens to be standard C (unsigned long long is not a valid type for a bitfield; it's a gccism and not well-implemented one, at that). Signed-off-by: Al Viro Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b9f5829e6e3af44f20c681e26524c637d4f82ff tree 2694220606477b9afc5a98d73f6980e334048c1f parent b8cc936f6295bba23513a49d858ea82f64982faf author Al Viro Sun, 01 May 2005 08:59:19 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:19 -0700 [PATCH] reiserfs endianness: comp_short_keys() cleanup comp_short_keys() massaged into sane form, which kills the last place where pointer to in_core_key (or any object containing such) would be cast to or from something else. At that point we are free to change layout of in_core_key - nothing depends on it anymore. So we drop the mess with union in there and simply use (unconditional) __u64 k_offset and __u8 k_type instead; places using in_core_key switched to those. That gives _far_ better code than current mess - on all platforms. Signed-off-by: Al Viro Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1622c3fcf4c1c6c8267938f366ecd2a348d67d93 tree 1a2cf22e71f88acbb9fdc0a1066be74064550ac1 parent f8e08a8466c4ac5f61b4bdb6338fd97eedb9c9e8 author Gerd Knorr Sun, 01 May 2005 08:59:19 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:19 -0700 [PATCH] cx88-dvb oops fix Fixup error path, without that one the driver kills the machine by oopsing in the IRQ handler in case the frontend initialization fails. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b8cc936f6295bba23513a49d858ea82f64982faf tree 3541a86798a59c4f352d7369bc15cff7eab68992 parent 3e8962be915bacc1d70e4849a075041838d60a3f author Al Viro Sun, 01 May 2005 08:59:18 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:18 -0700 [PATCH] reiserfs endianness: fix endianness bugs fixes for a couple of bugs exposed by the above: le32_to_cpu() used on 16bit value and missing conversion in comparison of host- and little-endian values. Signed-off-by: Al Viro Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e8962be915bacc1d70e4849a075041838d60a3f tree e2ef686fa0a18a429456b252ed9352cdc1ae65de parent 6a3a16f2ef6f335286e2b2bf8284b0ab4ff38ec0 author Al Viro Sun, 01 May 2005 08:59:18 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:18 -0700 [PATCH] reiserfs endianness: annotate little-endian objects little-endian objects annotated as such; again, obviously no changes of resulting code, we only replace __u16 with __le16, etc. in relevant places. Signed-off-by: Al Viro Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d46aa455dd5457fdbebad17db4ff4df655cbfbae tree 5c392567414e25bbe7a4e9699022431c7d93a075 parent 3a9720ce73c9247e5262922d65e90444ea75eb50 author Ian Kent Sun, 01 May 2005 08:59:17 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:17 -0700 [PATCH] autofs4: bump version number Bump autofs4 version so we know what's going on. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a3a16f2ef6f335286e2b2bf8284b0ab4ff38ec0 tree ae559ba5915bf0ca29d6d5dfbd9f44e666f388ea parent d46aa455dd5457fdbebad17db4ff4df655cbfbae author Al Viro Sun, 01 May 2005 08:59:17 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:17 -0700 [PATCH] reiserfs endianness: clone struct reiserfs_key struct reiserfs_key cloned; (currently) identical struct in_core_key added. Places that expect host-endian data in reiserfs_key switched to in_core_key. Basically, we get annotation of reiserfs_key users and keep the resulting tree obviously equivalent to original. Signed-off-by: Al Viro Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a9720ce73c9247e5262922d65e90444ea75eb50 tree c70bba916168232f530c00858e7e8a0c5bd82b38 parent 4dcd00b18118d174c4b8d838c11f437f0af3c20c author Ian Kent Sun, 01 May 2005 08:59:17 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:17 -0700 [PATCH] autofs4: tree race fix For tree mount maps, a call to chdir or chroot, to a directory above the moint point directories at a certain time during the expire results in the expire incorrectly thinking the tree is not busy. This patch adds a check to see if the filesystem above the tree mount points is busy and also locks the filesystem during the tree mount expire to prevent the race. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 954d3e95369cf73b4bc1e570729f68264a0e6fe0 tree 542c6435428848f02a0eb060a83b3dd1a7f90083 parent 644d3a088a3b862ed0b57c286cf58a6bd338ce08 author Ken Chen Sun, 01 May 2005 08:59:16 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:16 -0700 [PATCH] aio: optimize io_submit_one() This patch optimizes io_submit_one to call aio_run_iocb() directly if ctx->run_list is empty. When the list is empty, the operation of adding to the list, then call to __aio_run_iocbs() is unnecessary because these operations are done in one atomic step. ctx->run_list always has only one element in this case. This optimization speeds up industry standard db transaction processing benchmark by 0.2%. Signed-off-by: Ken Chen Cc: Benjamin LaHaise Cc: Suparna Bhattacharya Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 945b092011c6af71a0107be96e119c8c08776f3f tree 7e0d6b79250aa2a5d0b51e9368e89b5f92cfe88e parent 954d3e95369cf73b4bc1e570729f68264a0e6fe0 author Colin Leroy Sun, 01 May 2005 08:59:16 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:16 -0700 [PATCH] hfs, hfsplus: don't leak s_fs_info and fix an oops This patch fixes the leak of sb->s_fs_info in both the HFS and HFS+ modules. In addition to this, it fixes an oops happening when trying to mount a non-hfsplus filesystem using hfsplus. This patch is from Roman Zippel, based off patches sent by myself. Signed-off-by: Colin Leroy Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4dcd00b18118d174c4b8d838c11f437f0af3c20c tree 0e7497aa50c383e64f34616819066fc0bfe3c56d parent 945b092011c6af71a0107be96e119c8c08776f3f author Ian Kent Sun, 01 May 2005 08:59:16 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:16 -0700 [PATCH] autofs4: wait order fix It's possible for an event wait request to arive before the event requestor. If this happens the daemon never gets notified and autofs hangs. Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit efcd5e3ab089496865571d22443dd3f514dae60c tree 037fbd3c28b2f1e93400842a2c456d15ce431f26 parent 16f31113a614a35acc2da64f4ae39ab0ed7e194f author Emanuele Giaquinta Sun, 01 May 2005 08:59:15 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:15 -0700 [PATCH] Makefile: fix for compatibility with *emacs ctags I've noticed that, starting from linux-2.6.12-rc1, in the top Makefile the "cmd_tags" variable has been changed in a way incompatible with *emacs ctags. Since the "--extra" option exists only in "exuberant ctags", it should be included in the CTAGSF shell variable. Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 644d3a088a3b862ed0b57c286cf58a6bd338ce08 tree f5373e9265c7518a29a92a97510fdc5993855661 parent 4bf69b2a06090c01c27f25ea5cd1440f7bf9256f author Ken Chen Sun, 01 May 2005 08:59:15 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:15 -0700 [PATCH] aio: clean up debug code Clean up code that was previously used for debug purpose. Remove aio_run, aio_wakeups, iocb->ki_queued and iocb->ki_kicked. Also clean up unused variable count in __aio_run_iocbs() and debug code in read_events(). Signed-off-by: Ken Chen Cc: Benjamin LaHaise Cc: Suparna Bhattacharya Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4bf69b2a06090c01c27f25ea5cd1440f7bf9256f tree 35bed1e865ee9f8b086954d866cee9c1c2b92b0f parent 212079cf4ee99e492a57b817e796825d423a30bb author Ken Chen Sun, 01 May 2005 08:59:15 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:15 -0700 [PATCH] aio: ring wrapping simplification Since the tail pointer in aio_ring structure never wrap ring size more than once, so a simple compare is sufficient to wrap the index around. This avoid a more expensive mod operation. Signed-off-by: Ken Chen Cc: Benjamin LaHaise Cc: Suparna Bhattacharya Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 212079cf4ee99e492a57b817e796825d423a30bb tree 58f54e75ec697f89ba12b39614e937bb374a451d parent efcd5e3ab089496865571d22443dd3f514dae60c author Ken Chen Sun, 01 May 2005 08:59:15 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:15 -0700 [PATCH] aio: remove superfluous kiocb member initialization This patch removes superfluous kiocb member initialization in the AIO allocation and deallocation path. For example, in really_put_req(), right before kiocb is returned to slab, 5 variables are reset to NULL. The same variables will be initialized at the kiocb allocation time, so why bother reset them knowing that they will be set to valid data at alloc time? Another example: ki_retry is initialized in __aio_get_req, but is initialized again in io_submit_one. Signed-off-by: Ken Chen Cc: Benjamin LaHaise Cc: Suparna Bhattacharya Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dbcf31ba68c92b23ac3f874c4d516bacd5d7518a tree 180f65c99cf63e826d1b97a1e98a9c86f147ede3 parent 7ed20e1ad521b5f5df61bf6559ae60738e393741 author Roland Dreier Sun, 01 May 2005 08:59:14 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:14 -0700 [PATCH] fix include order in mthca_memfree.c Fix order of #include lines in mthca_memfree.c Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7ed20e1ad521b5f5df61bf6559ae60738e393741 tree 90931724e45eaedb3445314e8b94e78253642395 parent e5bdd883a189243541e7a132385580703b049102 author Jesper Juhl Sun, 01 May 2005 08:59:14 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:14 -0700 [PATCH] convert that currently tests _NSIG directly to use valid_signal() Convert most of the current code that uses _NSIG directly to instead use valid_signal(). This avoids gcc -W warnings and off-by-one errors. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 16f31113a614a35acc2da64f4ae39ab0ed7e194f tree 65dd7e25ed720d8001e7571645a41817cb88c300 parent dbcf31ba68c92b23ac3f874c4d516bacd5d7518a author Yum Rayan Sun, 01 May 2005 08:59:14 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:14 -0700 [PATCH] serial_cs: Reduce stack usage in serial_event() This patch reduces the stack usage of the function serial_event() in serial_cs from 2212 to 228. I used a patched version of gcc 3.4.3 on i386 with -fno-unit-at-a-time disabled. This patch is only compile tested. Acked-by: Randy Dunlap Signed-off-by: Yum Rayan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e5bdd883a189243541e7a132385580703b049102 tree 6e56919829118d5aa6aa89991edaba764825fab2 parent 1c72d46d98e4eb16f1a1b38eba94cc3aa8022cfa author Jesper Juhl Sun, 01 May 2005 08:59:13 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:13 -0700 [PATCH] new valid_signal() function This patch adds a new function valid_signal() that tests if its argument is a valid signal number. The reasons for adding this new function are: - some code currently testing _NSIG directly has off-by-one errors. Using this function instead avoids such errors. - some code currently tests unsigned signal numbers for <0 which is pointless and generates warnings when building with gcc -W. Using this function instead avoids such warnings. I considered various places to add this function but eventually settled on include/linux/signal.h as the most logical place for it. If there's some reason this is a bad choice then please let me know (hints as to a better location are then welcome of course). Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1c72d46d98e4eb16f1a1b38eba94cc3aa8022cfa tree 3bf66f96d51aea6f38f330ba77d88790decf0d88 parent 7d87e14c236d6c4cab66d87cf0bc1e0f0375d308 author Kylene Hall Sun, 01 May 2005 08:59:13 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:13 -0700 [PATCH] Fix Tpm driver -- Maintainers entry This patch adds the maintainers entry. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 882fe011a92fa4fc31ca6cc95b279f7e4e52935c tree da1fc3fab16f937c79a83024c552813f8d61602f parent 9dbf68f97d585265eaadd15aea308efd9ae39d34 author Corey Minyard Sun, 01 May 2005 08:59:12 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:12 -0700 [PATCH] ipmi: fix a deadlock Correct an issue with the IPMI message layer taking a lock and calling lower layer driver. If an error occrues at the lower layer the lock can be taken again causing a deadlock. The lock is released before calling the lower layer. Signed-off-by: David Griego Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7d87e14c236d6c4cab66d87cf0bc1e0f0375d308 tree 0c0826cdc102286b541e3e56b59c81752d34c90d parent 434498d5323445b59167fd7aa5633b74ebbce901 author Stephen Rothwell Sun, 01 May 2005 08:59:12 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:12 -0700 [PATCH] consolidate sys_shmat Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 434498d5323445b59167fd7aa5633b74ebbce901 tree 2dc0de0b092105ddeddb84ae2167231471c4910d parent 882fe011a92fa4fc31ca6cc95b279f7e4e52935c author Andreas Schwab Sun, 01 May 2005 08:59:12 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:12 -0700 [PATCH] sn_console: make sal_console_uart static again Signed-off-by: Andreas Schwab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ec26d79f4f5822283e0bffa44a542fd13c5146e4 tree a31a8aa6afa513bd35ed1a5b5e233c6a64fe1c90 parent 35bc37a0e0979a091bcf5d9161ffe935b3aa998c author Corey Minyard Sun, 01 May 2005 08:59:11 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:11 -0700 [PATCH] ipmi: fix watchdog so the device can be reopened on an unexpected close If there is an unexpected close, still allow the watchdog interface to be re-opened on the IPMI watchdog. Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9dbf68f97d585265eaadd15aea308efd9ae39d34 tree 84d804f3eb491b4d03f5afc8a38ddf2326fcc17c parent ec26d79f4f5822283e0bffa44a542fd13c5146e4 author Corey Minyard Sun, 01 May 2005 08:59:11 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:11 -0700 [PATCH] ipmi: enable interrupts on the BT driver Enable interrupts for a BT interface. There is a specific register that needs to be set up to enable interrupts that also must be modified to clear the irq. Also, don't reset the BMC on a BT interface. That's probably not a good idea as the BMC may be performing other important functions and a reset should only be a last resort. Also, that register is also used to enable/disable interrupts to the BT; modifying it may screw up the interrupts. Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9206880198589670dfc33feb9d2e903c3492701f tree 3c9c15a6bca7c365fb64660cec4734b7cd3d1d3a parent 5717ffbe16815db229a66fee824c2190cb306734 author Corey Minyard Sun, 01 May 2005 08:59:10 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:10 -0700 [PATCH] IPMI: fix for handling bad IPMI DMI data Ignore the bottom bit of the base address from the DMI data. It is supposed to be set to 1 if it is I/O space. Few systems do this, but this enables the ones that do set it to work properly. Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5717ffbe16815db229a66fee824c2190cb306734 tree 9544906ad697dc1ea4e8cbb85f0f043ac166b765 parent 74f9f974a64dc3de554aa1977bf108334436e47b author aquynh@gmail.com Sun, 01 May 2005 08:59:10 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:10 -0700 [PATCH] dontdiff file sorted in alphabet order Documentation/dontdiff is a little messy. Here is a patch to sort the content of that file in alphabetical Signed-off-by: Nguyen Anh Quynh Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 35bc37a0e0979a091bcf5d9161ffe935b3aa998c tree 0b353b5b778acbb5698f7d27721d03ba72c04b9f parent 9206880198589670dfc33feb9d2e903c3492701f author Corey Minyard Sun, 01 May 2005 08:59:10 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:10 -0700 [PATCH] IPMI: fix for handling bad ACPI data If the ACPI register bit width is zero (an invalid value) assume it is the default spacing. This avoids some coredumps on invalid data and makes some systems work that have broken ACPI data. Signed-off-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f78fc874f42f63a460bcebc2aeb98db526280d1c tree ad78acf82f36bb14e8a9ae0980d350d6f5cf704e parent e49332bd12e92da2df6d002f857ec62675ba2648 author Vinay K Nallamothu Sun, 01 May 2005 08:59:09 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:09 -0700 [PATCH] __attribute__ placement fixes The variable attributes "packed" and "align" when used with struct, should have the following order: struct ... {...} __attribute__((packed)) var; This patch fixes few instances where the variable and attributes are placed the other way around and had no effect. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74f9f974a64dc3de554aa1977bf108334436e47b tree 0fe911ce4f0b5003e334c6492c5ee7d70ac0dfbd parent 439bd3708792e31057db424d1165473122d531a3 author Edward Shishkin Sun, 01 May 2005 08:59:09 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:09 -0700 [PATCH] reiserfs: journal_init fix This fixes segmentation fault when specifying bad journal device via a mount option. Don't pass a zero pointer to bdevname() if filp_open() returns error. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 439bd3708792e31057db424d1165473122d531a3 tree ef9448f71bcfa5add4f15c2763c71751e7ea38d7 parent f78fc874f42f63a460bcebc2aeb98db526280d1c author Nicolas Boichat Sun, 01 May 2005 08:59:09 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:09 -0700 [PATCH] Leadtek Winfast remote controls Add missing button codes for the Leadtek Winfast remote controls. Signed-off-by: Nicolas Boichat Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e49332bd12e92da2df6d002f857ec62675ba2648 tree f975cc5e4d93fc33e80f7213d2013e035bfc3ae7 parent a71c1ab50a2a0f4dd9834bf5a917a2f064535c6b author Jesper Juhl Sun, 01 May 2005 08:59:08 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:08 -0700 [PATCH] misc verify_area cleanups There were still a few comments left refering to verify_area, and two functions, verify_area_skas & verify_area_tt that just wrap corresponding access_ok_skas & access_ok_tt functions, just like verify_area does for access_ok - deprecate those. There was also a few places that still used verify_area in commented-out code, fix those up to use access_ok. After applying this one there should not be anything left but finally removing verify_area completely, which will happen after a kernel release or two. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a71c1ab50a2a0f4dd9834bf5a917a2f064535c6b tree 063bdb02b335f2c5b38f9e503434fa5fbf0106c4 parent 696f9486d0207d499391004f5bc9bd7c0e6ae82f author Stephen Rothwell Sun, 01 May 2005 08:59:08 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:08 -0700 [PATCH] consolidate SIGEV_PAD_SIZE Discussing with Matthew Wilcox some of his outstanding patches lead me to this patch (among others). The preamble in struct sigevent can be expressed independently of the architecture. Also use __ARCH_SI_PREAMBLE_SIZE on ia64. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 696f9486d0207d499391004f5bc9bd7c0e6ae82f tree 66d37498afdaf90ffca26adf8f872867fea3c0e5 parent a40920b42ae232fac514cc4a1eb92996114af340 author Joel Becker Sun, 01 May 2005 08:59:08 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:08 -0700 [PATCH] hangcheck-timer: Update to 0.9.0. I recently realized that the in-kernel copy of hangcheck-timer was quite stale. Here's the latest. It adds support for s390, ppc64, and ia64 too. Signed-off-by: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a40920b42ae232fac514cc4a1eb92996114af340 tree 07209affc6f1a02c79d07c8aece7d510a2541049 parent 127144df4ce817ad648af15a3983c8d52aacf670 author Bill Nottingham Sun, 01 May 2005 08:59:07 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:07 -0700 [PATCH] vgacon: set vc_hi_font_mask correctly When allocating a new VC with vgacon_init(), the font is shared across all the VGA consoles. However, the font mask was always set to the default value of zero in visual_init(), even if we were using 512 character fonts at the time. Moreover, code in vgacon.c:vga_do_font_op() didn't reset the mask if the console driver thinks it's already in 512 character mode. This means that to *fix* it, you'd actually have to take the console out of 512 character mode and then set it back. The attached sets vc_hi_font_mask in vgacon_init() for any new consoles opened if the vgacon driver is already in 512 character mode, solving this. This bug goes back to 2.4.18 at least, probably earlier. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 40be0c28b33ff0821594a3fa7126354dfe6eccd1 tree a62e93e866a2c7fdbe732adb634a6bba294beded parent 4750e2c0c59e0c84c6c036b3d96ebd88365ae7ee author Lars Marowsky-Bree Sun, 01 May 2005 08:59:07 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:07 -0700 [PATCH] nbd: Don't create all MAX_NBD devices by default all the time This patches adds the "nbds_max" parameter to the nbd kernel module, which limits the number of nbds allocated. Previously, always all 128 entries were allocated unconditionally, which used to waste resources and needlessly flood the hotplug system with events. (Defaults to 16 now.) Signed-off-by: Lars Marowsky-Bree Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 127144df4ce817ad648af15a3983c8d52aacf670 tree df064ec8a482ac88686b8c183f4b99d1e769095d parent 40be0c28b33ff0821594a3fa7126354dfe6eccd1 author Jan Kara Sun, 01 May 2005 08:59:07 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:07 -0700 [PATCH] Fix rewriting on a full reiserfs filesystem Allow rewriting of a file and extending a file upto the end of the allocated block on a full filesystem. From: Chris Mason Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4750e2c0c59e0c84c6c036b3d96ebd88365ae7ee tree c6f02d62f59088befaed42bcf7610555f7d5b518 parent 1181c1f923c349acaa01bca40fe600584f265132 author Joe Korty Sun, 01 May 2005 08:59:06 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:06 -0700 [PATCH] add EOWNERDEAD and ENOTRECOVERABLE version 2 Add EOWNERDEAD and ENOTRECOVERABLE to all architectures. This is to support the upcoming patches for robust mutexes. We normally don't reserve parts of the name/number space for external patches, but robust mutexes are sufficiently popular and important to justify it in this case. Signed-off-by: Joe Korty Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 41f11a4fa378201e902892130b11d78cf7cf8e10 tree 0fd1881ba299ba6df9fcab0d9a453f1b53ad6c3c parent 6c9e7376bed151d1655c12d2d5f5cc96bfb83dbd author Yoshinori Sato Sun, 01 May 2005 08:59:06 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:06 -0700 [PATCH] kallsyms C_SYMBOL_PREFIX support kallsyms does not consider SYMBOL_PREFIX of C. Consequently it does not work on architectures using that prefix character (h8300, v850). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1181c1f923c349acaa01bca40fe600584f265132 tree c511e606275ed31c2a203d40a372fdfbfb9fa913 parent 41f11a4fa378201e902892130b11d78cf7cf8e10 author Jens Axboe Sun, 01 May 2005 08:59:06 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:06 -0700 [PATCH] noop-iosched: kill O(N) merge scan Profiling hit rates on merging shows that the last merge hint works extremely well for most work loads. So lets kill the linear merge scan in noop-iosched, so it provides O(1) run time for any operation. Testing credits go to Ken Chen from Intel. Signed-off-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a83f1fe27f7252a2b73b4f22066e92bf99bd595b tree b6c4dd485fff268f86f396a85aad88cf29783dcd parent fbd568a3e61a7decb8a754ad952aaa5b5c82e9e5 author Paul E. McKenney Sun, 01 May 2005 08:59:05 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:05 -0700 [PATCH] Update RCU documentation Update the RCU documentation to allow for the new synchronize_rcu() and synchronize_sched() primitives. Fix a few other nits as well. Signed-off-by: Paul E. McKenney Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a3bb3017383fbb6fe56431d17f60bd0d50f0717 tree 292e5e8644bca99f80a6fb56b75b20f9ae6d9804 parent a83f1fe27f7252a2b73b4f22066e92bf99bd595b author Paolo 'Blaisorblade' Giarrusso Sun, 01 May 2005 08:59:05 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:05 -0700 [PATCH] reiserfs: make resize option auto-get new device size It's trivial for the resize option to auto-get the underlying device size, while it's harder for the user. I've copied the code from jfs. Since of the different reiserfs option parser (which does not use the superior match_token used by almost every other filesystem), I've had to use the "resize=auto" and not "resize" option to specify this behaviour. Changing the option parser to the kernel one wouldn't be bad but I've no time to do this cleanup in this moment. Btw, the mount(8) man page should be updated to include this option. Cc the relevant people, please (I hope I cc'ed the right people). Cc: Cc: Cc: Cc: Alex Zarochentsev Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6c9e7376bed151d1655c12d2d5f5cc96bfb83dbd tree f165da2f8328183cdae502f5d11067d38b657f96 parent 0c8b971ebb21dc33271c38d17fd58b8072009dc5 author Peter Missel Sun, 01 May 2005 08:59:05 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:05 -0700 [PATCH] LifeView FlyTV Platinum FM: GPIO usage This is take two of a patch that should have appeared two days ago, before yesterday's "remote control" patch for the same card. This patch sets unconnected GPIO to Output to keep them from floating (just good driver writing practice, being nice to the chip), and uses GPIO16 to switch TV vs. FM - this pin switches inputs onto the tuner, as well as the audio output from the tuner into the 7135 SIF input. Consequently, FM radio support is being un-commented because it's now working (sort of, see below). These two patches get the card almost fully operational; there appears to be a bug in tda8290.c remaining that puts an offset onto the tuned frequency in FM radio mode. We're investigating. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c8b971ebb21dc33271c38d17fd58b8072009dc5 tree 0c31a9f86da98a45a69c98c728f32b93e0d0dfcf parent 9a3bb3017383fbb6fe56431d17f60bd0d50f0717 author Peter Missel Sun, 01 May 2005 08:59:05 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:05 -0700 [PATCH] LifeView FlyTV Platinum FM: Remote Control support Subject says it ... this card's IR microcontroller design and attachment are compatible to the company's previous designs, so the patch was as simple as it gets. DESC LifeView FlyTV Platinum FM: GPIO usage EDESC From: Peter Missel This is take two of a patch that should have appeared two days ago, before yesterday's "remote control" patch for the same card. This patch sets unconnected GPIO to Output to keep them from floating (just good driver writing practice, being nice to the chip), and uses GPIO16 to switch TV vs. FM - this pin switches inputs onto the tuner, as well as the audio output from the tuner into the 7135 SIF input. Consequently, FM radio support is being un-commented because it's now working (sort of, see below). These two patches get the card almost fully operational; there appears to be a bug in tda8290.c remaining that puts an offset onto the tuned frequency in FM radio mode. We're investigating. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fbd568a3e61a7decb8a754ad952aaa5b5c82e9e5 tree 40a44149a9b6a39eac5481380e2212f9b9b74eb2 parent 9b06e818985d139fd9e82c28297f7744e1b484e1 author Paul E. McKenney Sun, 01 May 2005 08:59:04 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:04 -0700 [PATCH] Change synchronize_kernel to _rcu and _sched This patch changes calls to synchronize_kernel(), deprecated in the earlier "Deprecate synchronize_kernel, GPL replacement" patch to instead call the new synchronize_rcu() and synchronize_sched() APIs. Signed-off-by: Paul E. McKenney Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9b06e818985d139fd9e82c28297f7744e1b484e1 tree 3cd2ba33b22fc2812f714f86ea52c68704f8e2c3 parent 512345be2549308b8ae8e85a3ff7f6d56a38e5f6 author Paul E. McKenney Sun, 01 May 2005 08:59:04 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:04 -0700 [PATCH] Deprecate synchronize_kernel, GPL replacement The synchronize_kernel() primitive is used for quite a few different purposes: waiting for RCU readers, waiting for NMIs, waiting for interrupts, and so on. This makes RCU code harder to read, since synchronize_kernel() might or might not have matching rcu_read_lock()s. This patch creates a new synchronize_rcu() that is to be used for RCU readers and a new synchronize_sched() that is used for the rest. These two new primitives currently have the same implementation, but this is might well change with additional real-time support. Both new primitives are GPL-only, the old primitive is deprecated. Signed-off-by: Paul E. McKenney Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f246315e1ab96c40978777d1e159820ecca45aa8 tree 32ed8f99da48313838d5aa863f5d3e7ed984213f parent bcf88e1163623e8e8ef2ba7feface9c826a890c9 author Daniel Drake Sun, 01 May 2005 08:59:03 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:03 -0700 [PATCH] procfs: Fix hardlink counts for /proc//task The current logic assumes that a /proc//task directory should have a hardlink count of 3, probably counting ".", "..", and a directory for a single child task. It's fairly obvious that this doesn't work out correctly when a PID has more than one child task, which is quite often the case. Signed-off-by: Daniel Drake Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bcf88e1163623e8e8ef2ba7feface9c826a890c9 tree b385deef7d18d781d8f9e02af40c7bce3f43885d parent 7f261b5f0dccd53ed3a9a95b55c36e24a698a92a author Daniel Drake Sun, 01 May 2005 08:59:03 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:03 -0700 [PATCH] procfs: Fix hardlink counts The pid directories in /proc/ currently return the wrong hardlink count - 3, when there are actually 4 : ".", "..", "fd", and "task". This is easy to notice using find(1): cd /proc/ find In the output, you'll see a message similar to: find: WARNING: Hard link count is wrong for .: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched. http://bugs.gentoo.org/show_bug.cgi?id=86031 I also noticed that CONFIG_SECURITY can add a 5th: attr, and performed a similar fix on the task directories too. Signed-off-by: Daniel Drake Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 66cf8f1443301a1d5bc9c21709e4264e6919a3e1 tree 2acfef65040c2fab1099b04f747921df600b4080 parent f246315e1ab96c40978777d1e159820ecca45aa8 author Paul E. McKenney Sun, 01 May 2005 08:59:03 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:03 -0700 [PATCH] kernel/rcupdate.c: make the exports EXPORT_SYMBOL_GPL The gpl exports need to be put back. Moving them to GPL -- but in a measured manner, as I proposed on this list some months ago -- is fine. Changing these particular exports precipitously is most definitely -not- fine. Here is my earlier proposal: http://marc.theaimsgroup.com/?l=linux-kernel&m=110520930301813&w=2 See below for a patch that puts the exports back, along with an updated version of my earlier patch that starts the process of moving them to GPL. I will also be following this message with RFC patches that introduce two (EXPORT_SYMBOL_GPL) interfaces to replace synchronize_kernel(), which then becomes deprecated. Signed-off-by: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 512345be2549308b8ae8e85a3ff7f6d56a38e5f6 tree d3611cf26dff40c5dacfc3ccadf06436442cde8e parent 66cf8f1443301a1d5bc9c21709e4264e6919a3e1 author Paul E. McKenney Sun, 01 May 2005 08:59:03 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:03 -0700 [PATCH] Add deprecated_for_modules Add a deprecated_for_modules macro that allows symbols to be deprecated only when used by modules, as suggested by Andrew Morton some months back. Signed-off-by: Paul E. McKenney Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d59745ce3e7aa13856bca16d3bcbb95041775ff6 tree 6e495bb6697d86534685bf813c43e210a8d8323a parent cd7619d6bf36564cf54ff7218ef54e558a741913 author Matt Mackall Sun, 01 May 2005 08:59:02 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:02 -0700 [PATCH] clean up kernel messages Arrange for all kernel printks to be no-ops. Only available if CONFIG_EMBEDDED. This patch saves about 375k on my laptop config and nearly 100k on minimal configs. Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7f261b5f0dccd53ed3a9a95b55c36e24a698a92a tree c6f94657e1f50e59168184758ba2859d2ad5abc9 parent d59745ce3e7aa13856bca16d3bcbb95041775ff6 author Stas Sergeev Sun, 01 May 2005 08:59:02 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:02 -0700 [PATCH] move SA_xxx defines to linux/signal.h The attached patch moves the IRQ-related SA_xxx flags (namely, SA_PROBE, SA_SAMPLE_RANDOM and SA_SHIRQ) from all the arch-specific headers to linux/signal.h. This looks like a left-over after the irq-handling code was consolidated. The code was moved to kernel/irq/*, but the flags are still left per-arch. Right now, adding a new IRQ flag to the arch-specific header, like this patch does: http://cvs.sourceforge.net/viewcvs.py/*checkout*/alsa/alsa-driver/utils/patches/pcsp-kernel-2.6.10-03.diff?rev=1.1 no longer works, it breaks the compilation for all other arches, unless you add that flag to all the other arch-specific headers too. So I think such a clean-up makes sense. Signed-off-by: Stas Sergeev Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cd7619d6bf36564cf54ff7218ef54e558a741913 tree c11674169b6d8f0b498e7ebe8a85d624cca82502 parent c8538a7aa5527d02c7191ac5da124efadf6a2827 author Matt Mackall Sun, 01 May 2005 08:59:01 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:01 -0700 [PATCH] Exterminate PAGE_BUG Remove PAGE_BUG - repalce it with BUG and BUG_ON. Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c8538a7aa5527d02c7191ac5da124efadf6a2827 tree 6a2fae8be308d38ed1abe1d5c7539db29238ae61 parent e43379f10b42194b8a6e1de342cfb44463c0f6da author Matt Mackall Sun, 01 May 2005 08:59:01 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:01 -0700 [PATCH] remove all kernel BUGs This patch eliminates all kernel BUGs, trims about 35k off the typical kernel, and makes the system slightly faster. Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e43379f10b42194b8a6e1de342cfb44463c0f6da tree bf6463200dc7e14f266b7f12807c7cbfbb6700c2 parent 9fc1427a01a9df3605e219c6de0c59c4639209a1 author Matt Mackall Sun, 01 May 2005 08:59:00 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:00 -0700 [PATCH] nice and rt-prio rlimits Add a pair of rlimits for allowing non-root tasks to raise nice and rt priorities. Defaults to traditional behavior. Originally written by Chris Wright. The patch implements a simple rlimit ceiling for the RT (and nice) priorities a task can set. The rlimit defaults to 0, meaning no change in behavior by default. A value of 50 means RT priority levels 1-50 are allowed. A value of 100 means all 99 privilege levels from 1 to 99 are allowed. CAP_SYS_NICE is blanket permission. (akpm: see http://www.uwsg.iu.edu/hypermail/linux/kernel/0503.1/1921.html for tips on integrating this with PAM). Signed-off-by: Matt Mackall Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit af6c8eed14a0c14791e2fbb4c7726755c1a637ca tree 01c984453fb8687d3e1400a69f126623d956bc83 parent 4beb37097b20b61054b15c56848e4ffcef093819 author Cornelia Huck Sun, 01 May 2005 08:59:00 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:00 -0700 [PATCH] s390: remove ioctl32 from crypto driver The ioctl32_conversion routines will be deprecated: Remove them from the crypto driver. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9fc1427a01a9df3605e219c6de0c59c4639209a1 tree 1b8b5f3644bd5e2288bc35df1b83e9b1904cd945 parent af6c8eed14a0c14791e2fbb4c7726755c1a637ca author Cornelia Huck Sun, 01 May 2005 08:59:00 -0700 committer Linus Torvalds Sun, 01 May 2005 08:59:00 -0700 [PATCH] s390: cio documentation Synchronize documentation with current interface. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f24acd4503270ed4c842c8fef0b71105285e0a06 tree 9125df60bf98ddcd8197bf479e8a48d22f51af14 parent e8f0641ef74eaa71ed9aa9d19c4b741c2143d752 author Horst Hummel Sun, 01 May 2005 08:58:59 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:59 -0700 [PATCH] s390: dasd readonly attribute The independent read-only flags in devmap, dasd_device and gendisk are not kept in sync. Use one bit per feature in the dasd driver and keep that bit in sync with the gendisk bit. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ec5883abebb2e249ea8d318cb58fb4b2c269cf10 tree 6a7e08e8247f06e05f3889907b3683b09c21ea78 parent 6ed93c827eea181d87ce078cd1d671128c030b5a author Horst Hummel Sun, 01 May 2005 08:58:59 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:59 -0700 [PATCH] s390: don't pad cdl blocks for write requests The first blocks on a cdl formatted dasd device are smaller than the blocksize of the device. Read requests are padded with a 'e5' pattern. Write requests should not pad the (user) buffer with 'e5' because a write request is not allowed to modify the buffer. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ed93c827eea181d87ce078cd1d671128c030b5a tree df6dc11996ff5c2ec3ddf32b754d051d3ec33307 parent f24acd4503270ed4c842c8fef0b71105285e0a06 author Stefan Weinhuber Sun, 01 May 2005 08:58:59 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:59 -0700 [PATCH] s390: enable write barriers in the dasd driver The DASD device driver never reorders the I/O requests and relies on the hardware to write all data to nonvolatile storage before signaling a successful write. Hence, the only thing we have to do to support write barriers is to set the queue ordered flag. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4beb37097b20b61054b15c56848e4ffcef093819 tree 3100d313d8d4bd00a7394664df20bd7e103e8c70 parent ec5883abebb2e249ea8d318cb58fb4b2c269cf10 author Cornelia Huck Sun, 01 May 2005 08:58:59 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:59 -0700 [PATCH] s390: remove ioctl32 from dasdcmb The ioctl32_conversion routines will be deprecated: Remove them from dasd_cmb and handle the three cmb ioctls like all other dasd ioctls. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e8f0641ef74eaa71ed9aa9d19c4b741c2143d752 tree 834bcd091e224e421909020c6c59c2c82fd5d85b parent 15439d74f621ff8252b53136d259781148e6e768 author Michael Holzheu Sun, 01 May 2005 08:58:58 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:58 -0700 [PATCH] s390: allow longer debug feature names The current limitation of 16 characters of the debug feature names turned out to be insufficient. Increase it to 64 characters. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 15439d74f621ff8252b53136d259781148e6e768 tree 3c92de3587f0ec51055423a08c1d2a37b7eee877 parent 0b642ede47969d4180b0922d982777fe64379228 author Martin Schwidefsky Sun, 01 May 2005 08:58:58 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:58 -0700 [PATCH] s390: cmm guest sender id An arbitrary guest must not be allowed to trigger cmm actions. Only one specific guest namely the one that serves as the resource monitor may send cmm messages. Add a parameter that allows to specify the guest that may send messages. z/VMs resource manager has the name 'VMRMSVM' which is the default. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0b642ede47969d4180b0922d982777fe64379228 tree b54173402cfcd590976f639ef6c2f0490cc23c74 parent c9e3735359ac2d74ee61c6f1e5724f4a6db570bf author Peter Oberparleiter Sun, 01 May 2005 08:58:58 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:58 -0700 [PATCH] s390: default storage key Provide an easy way to define a non-zero storage key at compile time. This is useful for debugging purposes. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c9e3735359ac2d74ee61c6f1e5724f4a6db570bf tree 381204a24f4378d3c8d898f8e0210b1b97f5f248 parent 4b7e0706620e3947dc1685dfdbc1413404afb545 author Heiko Carstens Sun, 01 May 2005 08:58:57 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:57 -0700 [PATCH] s390: fix memory holes and cleanup setup_arch The memory setup didn't take care of memory holes and this makes the memory management think there would be more memory available than there is in reality. That causes the OOM killer to kill processes even if there is enough memory left that can be written to the swap space. The patch fixes this by using free_area_init_node with an array of memory holes instead of free_area_init. Further the patch cleans up the code in setup.c by splitting setup_arch into smaller pieces. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b2c6678c858c5e54d95b996754adfb319cf65735 tree 7df37caadf7a03173f3989b19e0144111098e1b9 parent 2c49be99ede1e3685a9817a564b4b1678d48e1b9 author Martin Schwidefsky Sun, 01 May 2005 08:58:57 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:57 -0700 [PATCH] s390: regenerate defconfig Regenerate the default configuration for s390. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b7e0706620e3947dc1685dfdbc1413404afb545 tree c5ba1c919b6d1ca1141fbb0b6e9e0e933a51cc89 parent b2c6678c858c5e54d95b996754adfb319cf65735 author Martin Schwidefsky Sun, 01 May 2005 08:58:57 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:57 -0700 [PATCH] s390: idle timer setup Fix overflow in calculation of the new tod value in stop_hz_timer and fix wrong virtual timer list idle time in case the virtual timer is already expired in stop_cpu_timer. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2c49be99ede1e3685a9817a564b4b1678d48e1b9 tree d5e0b59f25351e4bfd80fc656e8f872c83c5f885 parent acef2e55d2a1b59bb5610cacc546c1d1b5de2dc9 author Paolo 'Blaisorblade' Giarrusso Sun, 01 May 2005 08:58:57 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:57 -0700 [PATCH] uml ubd: handle readonly status Use the set_disk_ro() API when the backing file is read-only, to mark the disk read-only, during the ->open(). The current hack does not work when doing a mount -o remount. Also, mark explicitly the code paths which should no more be triggerable (I've removed the WARN_ON(1) things). They should actually become BUG()s probably but I'll avoid that since I'm not so sure the change works so well. I gave it only some limited testing. Signed-off-by: Paolo 'Blaisorblade' Giarrusso CC: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ffa0aea681a5f3c8aecbb86f1cfd3486043805de tree f807d29b2535a41c873c8ea7c72c5a21a2ca4694 parent b97b77cca627b2e3e6d0015e2e14b1d1c12de0c8 author Paolo 'Blaisorblade' Giarrusso Sun, 01 May 2005 08:58:56 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:56 -0700 [PATCH] uml - hostfs: avoid buffers Use this: .set_page_dirty = __set_page_dirty_nobuffers, We already dropped the inclusion of , and we don't have a backing block device for this FS. "Without having looked at it, I'm sure that hostfs does not use buffer_heads. So setting your ->set_page_dirty a_op to point at __set_page_dirty_nobuffers() is a reasonable thing to do - it'll provide a slight speedup." This speedup is one less spinlock held and one less conditional branch, which isn't bad. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b97b77cca627b2e3e6d0015e2e14b1d1c12de0c8 tree 3fa7a55e316624a72764e5c7eead52b92a500a88 parent 80f9507886076de0cadfdf2b87701e68156829c2 author Paolo 'Blaisorblade' Giarrusso Sun, 01 May 2005 08:58:56 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:56 -0700 [PATCH] uml: redo console locking Fix some console locking problems (including scheduling in atomic) and various reorderings and cleanup in that code. Not yet ready for 2.6.12 probably. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit acef2e55d2a1b59bb5610cacc546c1d1b5de2dc9 tree 2cb120173dc5ea968bfd035d2433caa316c5b820 parent ffa0aea681a5f3c8aecbb86f1cfd3486043805de author Paolo 'Blaisorblade' Giarrusso Sun, 01 May 2005 08:58:56 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:56 -0700 [PATCH] uml: commentary about forking flag Add some commentary about UML internals, for a strange trick. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ddcd6b175793839e51fdd55debb670a9f512c448 tree 6a7e9f003eec5a9f62ea8bbb0645eb6595afffdb parent 5e7b83ffc67e15791d9bf8b2a18e4f5fd0eb69b8 author Paolo 'Blaisorblade' Giarrusso Sun, 01 May 2005 08:58:55 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:55 -0700 [PATCH] uml: quick fix syscall table for x86_64 Fix the moved syscall table for the x86_64 SUBARCH: - redirect __NR_chown and such to versions aware of 32-bit UIDs, - avoid the useless hack for sys_nfsservctl, - use sys_sendfile64 in the table rather than sys_sendfile. - __NR_uselib is sys_ni_syscall on x86_64 (which does not support A.OUT). - __NR_getrlimit is sys_getrlimit, not sys_old_getrlimit Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80f9507886076de0cadfdf2b87701e68156829c2 tree d9830aeda24b0a004938bae36db3e8efba84b7db parent ddcd6b175793839e51fdd55debb670a9f512c448 author Paolo 'Blaisorblade' Giarrusso Sun, 01 May 2005 08:58:55 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:55 -0700 [PATCH] uml: fix syscall table by including $(SUBARCH)'s one, for x86-64 Reuse asm-x86-64/unistd.h to build our syscall table, like x86-64 already does. Like for i386, we must add some #defines for all the (right!) changes UML does to x86-64 syscall table. Note: I noted a bogus: [ __NR_sched_yield ] = (syscall_handler_t *) yield, while doing this patch (which could only be a workaround for some strange bug, but I would ignore this possibility). I'm changing this without notice. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e7b83ffc67e15791d9bf8b2a18e4f5fd0eb69b8 tree 21d245a8ebe9a36748b1f76ff9050ceeaeba926c parent e9c527163d31da9f616e989a90429729525c5233 author Paolo 'Blaisorblade' Giarrusso Sun, 01 May 2005 08:58:55 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:55 -0700 [PATCH] uml: fix syscall table by including $(SUBARCH)'s one, for i386 Split the i386 entry.S files into entry.S and syscall_table.S which is included in the previous one (so actually there is no difference between them) and use the syscall_table.S in the UML build, instead of tracking by hand the syscall table changes (which is inherently error-prone). We must only insert the right #defines to inject the changes we need from the i386 syscall table (for instance some different function names); also, we don't implement some i386 syscalls, as ioperm(), nor some TLS-related ones (yet to provide). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e9c527163d31da9f616e989a90429729525c5233 tree dd449d0954ea9a96d87541ba8a611089bd7447d7 parent c16993d9009b4311f0e6088af38844eabc8b5e5b author Paolo 'Blaisorblade' Giarrusso Sun, 01 May 2005 08:58:54 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:54 -0700 [PATCH] uml: move va_copy conditional def GCC 2.95 uses __va_copy instead of va_copy. Handle it inside compiler.h instead of in a casual file, and avoid the risk that this breaks with a newer compiler (which it could do). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c45166be3cc666ce88fe623ad79276c943e74eff tree db59fdfb6834c112c99a5ab8692fe8372d7961ba parent b05d85a87d9711f5f5f2eb05c79038d5d5ff1f44 author Paolo 'Blaisorblade' Giarrusso Sun, 01 May 2005 08:58:54 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:54 -0700 [PATCH] uml: support AES i586 crypto driver We want to make possible, for the user, to enable the i586 AES implementation. This requires a restructure. - Add a CONFIG_UML_X86 to notify that we are building a UML for i386. - Rename CONFIG_64_BIT to CONFIG_64BIT as is used for all other archs - Tell crypto/Kconfig that UML_X86 is as good as X86 - Tell it that it must exclude not X86_64 but 64BIT, which will give the same results. - Tell kbuild to descend down into arch/i386/crypto/ to build what's needed. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c16993d9009b4311f0e6088af38844eabc8b5e5b tree b00000bc1f7eb3f76ad16a15ee57bfb5ea3d3fd4 parent c45166be3cc666ce88fe623ad79276c943e74eff author Paolo 'Blaisorblade' Giarrusso Sun, 01 May 2005 08:58:54 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:54 -0700 [PATCH] uml: inline empty proc Cleanup: make an inline of this empty proc. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b05d85a87d9711f5f5f2eb05c79038d5d5ff1f44 tree e2967e71c536de5085a31ad0aa761e25e6d7b382 parent 6aec3072833283a5e2ecf07318bd383a67321657 author Rob Landley Sun, 01 May 2005 08:58:54 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:54 -0700 [PATCH] uml: workaround old problematic sed behaviour Old versions of sed from 1998 (predating the first release of gcc 2.95, but still in use by debian stable) don't understand the single-line version of the sed append command. Since newer versions of sed still understand the... ahem, "vintage" form of the command, change our code to use that. Signed-off-by: Rob Landley Acked-by: Ian McDonald Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 92eac95287d75f220a8bbef6646f51a6497c4b4c tree 487b3501d9f212cd3f763ee9d8c457b0cda28d56 parent 31df7b7fc6182b6c4e5c3b77084d0c026b3ac613 author Jeff Dike Sun, 01 May 2005 08:58:53 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:53 -0700 [PATCH] uml: fix oops related to exception table Paolo 'Blaisorblade' Giarrusso Prevent the kernel from oopsing during the extable sorting, as it can do now, because the extable is in the readonly section of the binary. Jeff says: The exception table turned RO in 2.6.11-rc3-mm1 for some reason. Moving it causes it to land in the writable data section of the binary. Paolo says: This patch fixes a oops on startup, which can be easily triggered by compiling with CONFIG_MODE_TT disabled, and STATIC_LINK either disabled or enabled. The resulting kernel will always Oops on startup, after printing this simple output: I've verified, by binary search on the BitKeeper repository (synced up as of 2.6.12-rc2), starting from the range 2.6.11-2.6.12-rc1, that this bug shows up on BitKeeper revisions in the range [@1.1994.11.168,+inf), i.e. starting from this: [PATCH] lib/sort: Replace insertion sort in exception tables Since UML does not use the exception table, it's likely that insertion sort didn't happen to write anything on the table. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8e7a4f69e4ed328aa09ce48601073052557fa85d tree 6dd68f348f5866f9f2fc5692e9a980069168a88e parent 92eac95287d75f220a8bbef6646f51a6497c4b4c author blaisorblade@yahoo.it Sun, 01 May 2005 08:58:53 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:53 -0700 [PATCH] uml: add nfsd syscall when nfsd is modular This trick is useless, because sys_ni.c will handle this problem by itself, like it does even on UML for other syscalls. Also, it does not provide the NFSD syscall when NFSD is compiled as a module, which is a big problem. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6aec3072833283a5e2ecf07318bd383a67321657 tree 71416996dd985b3f1010bb7331c79765e0f0a087 parent 8e7a4f69e4ed328aa09ce48601073052557fa85d author Andree Leidenfrost Sun, 01 May 2005 08:58:53 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:53 -0700 [PATCH] uml: fix handling of no fpx_regs Paolo 'Blaisorblade' Giarrusso Fix the error path, which is triggered when the processor misses the fpx regs (i.e. the "fxsr" cpuinfo feature). For instance by VIA C3 Samuel2. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ad6714230f2269d5d7db2cd1900fe7bfc7aa76dc tree f73fa14b2934ddf7e542a678eb8fe1f876ae6d98 parent f9ba70535dc12d9eb57d466a2ecd749e16eca866 author Pavel Pisa Sun, 01 May 2005 08:58:52 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:52 -0700 [PATCH] Linux 2.6.x VM86 interrupt emulation fixes Patch solves VM86 interrupt emulation deadlock on SMP systems. The VM86 interrupt emulation has been heavily tested and works well on UP systems after last update, but it seems to deadlock when we have used it on SMP/HT boxes now. It seems, that disable_irq() cannot be called from interrupts, because it waits until disabled interrupt handler finishes (/kernel/irq/manage.c:synchronize_irq():while(IRQ_INPROGRESS);). This blocks one CPU after another. Solved by use disable_irq_nosync. There is the second problem. If IRQ source is fast, it is possible, that interrupt is sometimes processed and re-enabled by the second CPU, before it is disabled by the first one, but negative IRQ disable depths are not allowed. The spinlocking and disabling IRQs over call to disable_irq_nosync/enable_irq is the only solution found reliable till now. Signed-off-by: Michal Sojka Signed-off-by: Pavel Pisa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8059b2a292d59b6d94f9e3af93bf711f161c9476 tree a0c2ac0177211a7b25dff5037c6835d013bb41fa parent ad6714230f2269d5d7db2cd1900fe7bfc7aa76dc author Venkatesh Pallipadi Sun, 01 May 2005 08:58:52 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:52 -0700 [PATCH] x86-64: Handle empty E820 regions correctly Brings sanitize_e820_map() in x86-64 in sync with that of i386. x86_64 version was missing the changes from this patch. http://linux.bkbits.net:8080/linux-2.6/cset@3e5e4083Y3HevldZl5KCy94V4DcZww?nav=index.html|src/|src/arch|src/arch/i386|src/arch/i386/kernel|related/arch/i386/kernel/setup.c Signed-off-by: Venkatesh Pallipadi Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 429e9c5eeb66fc272c15568849ad0b23689a4a06 tree c8d999f9b0de1e50c5a76ed30d6c6f235106711c parent 8059b2a292d59b6d94f9e3af93bf711f161c9476 author Alexander Nyberg Sun, 01 May 2005 08:58:52 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:52 -0700 [PATCH] x86_64: saved_command_line overflow fix This strcpy can run off the end of saved_command_line, and we don't need it any more anyway. Signed-off-by: Alexander Nyberg Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 31df7b7fc6182b6c4e5c3b77084d0c026b3ac613 tree 920b6a19d2ff7e1a7a5c160b7674b03c8bc2089a parent 429e9c5eeb66fc272c15568849ad0b23689a4a06 author Pavel Machek Sun, 01 May 2005 08:58:52 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:52 -0700 [PATCH] hp100: fix card names Those cards really need A in their names. Otherwise it is pretty hard to find anything about them on the net. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f9ba70535dc12d9eb57d466a2ecd749e16eca866 tree 7032500f7697e37e8e93869bdcefd4ab5473a136 parent be9e68703c53fece406bc2e40976a5cfe2a8e77f author Venkatesh Pallipadi Sun, 01 May 2005 08:58:51 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:51 -0700 [PATCH] Increase number of e820 entries hard limit from 32 to 128 The specifications that talk about E820 map doesn't have an upper limit on the number of e820 entries. But, today's kernel has a hard limit of 32. With increase in memory size, we are seeing the number of E820 entries reaching close to 32. Patch below bumps the number upto 128. The patch changes the location of EDDBUF in zero-page (as it comes after E820). As, EDDBUF is not used by boot loaders, this patch should not have any effect on bootloader-setup code interface. Patch covers both i386 and x86-64. Tested on: * grub booting bzImage * lilo booting bzImage with EDID info enabled * pxeboot of bzImage Side-effect: bss increases by ~ 2K and init.data increases by ~7.5K on all systems, due to increase in size of static arrays. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit be9e68703c53fece406bc2e40976a5cfe2a8e77f tree efa540d85ab7a193a402ba952e4c8fe63fe18f25 parent 3c3b73b6f50a47601b1897deb9c6b4b5ecadf591 author Andi Kleen Sun, 01 May 2005 08:58:51 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:51 -0700 [PATCH] x86_64: interrupt handling fix - Initialize workmask correctly on interrupt signal handling - Readd missing cli's in the interrupt return path. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c3b73b6f50a47601b1897deb9c6b4b5ecadf591 tree 2502ba731983297470f40e6bec63cc6e0b18589d parent 2f1b381825411fd3d5c8323dd1be77438e19e192 author Zwane Mwaikambo Sun, 01 May 2005 08:58:51 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:51 -0700 [PATCH] cpuid x87 bit on AMD falsely marked as PNI http://bugme.osdl.org/show_bug.cgi?id=4426 vendor_id : AuthenticAMD cpu family : 6 model : 10 model name : AMD Athlon(tm) XP stepping : 0 cpu MHz : 2204.807 cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse pni syscall mmxext 3dnowext 3dnow bogomips : 4358.14 We're marking bit 0 of extended function 0x80000001 cpuid as PNI support on AMD processors, when it actually denotes x87 FPU present. Patch for i386 and x86_64 below. Signed-off-by: Zwane Mwaikambo Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4d24a439a6b2280357d62fb30a73350cf253bdb7 tree ac74243b86fbfd664d763b269587c23857ac71a4 parent 35492df5ae0f36f717448b2aea908d3a8891d1c4 author Jason Gaston Sun, 01 May 2005 08:58:50 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:50 -0700 [PATCH] irq and pci_ids for Intel ICH7DH & ICH7-M DH This patch adds the Intel ICH7DH and ICH7-M DH DID's to the irq.c and pci_ids.h files. Signed-off-by:  Jason Gaston Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 35492df5ae0f36f717448b2aea908d3a8891d1c4 tree 4b9ebb20ec019daf301eef37fd6c7b75a7ea7de9 parent 5b7abc6fdcaf103f15e06c518ef0aec02a9c00e7 author john stultz Sun, 01 May 2005 08:58:50 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:50 -0700 [PATCH] i386: fix hpet for systems that don't support legacy replacement Currently the i386 HPET code assumes the entire HPET implementation from the spec is present. This breaks on boxes that do not implement the optional legacy timer replacement functionality portion of the spec. This patch, which is very similar to my x86-64 patch for the same issue, fixes the problem allowing i386 systems that cannot use the HPET for the timer interrupt and RTC to still use the HPET as a time source. I've tested this patch on a system systems without HPET, with HPET but without legacy timer replacement, as well as HPET with legacy timer replacement. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2f1b381825411fd3d5c8323dd1be77438e19e192 tree 41084381de2c977bb3de4a01e9df010c80354e5c parent 4d24a439a6b2280357d62fb30a73350cf253bdb7 author Jason Gaston Sun, 01 May 2005 08:58:50 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:50 -0700 [PATCH] hda_intel: Intel ESB2 support This adds the Intel ESB2 HD Audio DID to the hda_intel.c audio driver. Signed-off-by:  Jason Gaston Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6954ba2e8d344a07e066737827116eb7bc0fdcd tree 91cb182587ff746d0b9a565bbef34b0f4fb8b7da parent 48c88211a65bc30f030fe228bda30fda870deb90 author Lee Revell Sun, 01 May 2005 08:58:49 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:49 -0700 [PATCH] Enable write combining for server works LE rev > 6 Enable write combining for server works LE rev > 6 per http://www.ussg.iu.edu/hypermail/linux/kernel/0104.3/1007.html Signed-Off-By: Lee Revell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a2f7c354159b87dfbd9900f597d48d18755a9d16 tree 0e1213537fb861b6dc05b61e22284c8213bdf04b parent 67701ae9767534534d3710664037dfde2cc04935 author Jaya Kumar Sun, 01 May 2005 08:58:49 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:49 -0700 [PATCH] x86 reboot: Add reboot fixup for gx1/cs5530a This patch by Jaya Kumar introduces a generic infrastructure to deal with x86 chipsets with nonstandard reset sequences, and adds support for the Geode gx1/cs5530a chipset. Signed-off-by: Jaya Kumar Signed-off-by: H. Peter Anvin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b7abc6fdcaf103f15e06c518ef0aec02a9c00e7 tree af36948e79774ea69ec398056ce8b5db0c682e34 parent a6954ba2e8d344a07e066737827116eb7bc0fdcd author H. Peter Anvin Sun, 01 May 2005 08:58:49 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:49 -0700 [PATCH] CPUID bug and inconsistency fix The recent support for K8 multicore was misported from x86-64 to i386, due to an unnecessary inconsistency between the CPUID code. Sure, there is are no x86-64 VIA chips yet, but it should happen eventually. This patch fixes the i386 bug as well as makes x86-64 match i386 in the handing of the CPUID array. Signed-off-by: H. Peter Anvin Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 48c88211a65bc30f030fe228bda30fda870deb90 tree 16990884e35cfd2fad7343494eef37b70b4614ba parent a2f7c354159b87dfbd9900f597d48d18755a9d16 author Stas Sergeev Sun, 01 May 2005 08:58:49 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:49 -0700 [PATCH] x86: entry.S trap return fixes do_debug() and do_int3() return void. This patch fixes the CONFIG_KPROBES variant of do_int3() to return void too and adjusts entry.S accordingly. Signed-off-by: Stas Sergeev Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd51f666fa591294bd7462447512666e61c56ea0 tree 0addf0006900152975c38bd75fdfd238c9179013 parent d5b63d78f1e75f6c6f04862dfb2f2a4aeffafd4c author H. J. Lu Sun, 01 May 2005 08:58:48 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:48 -0700 [PATCH] i386/x86_64 segment register access update The new i386/x86_64 assemblers no longer accept instructions for moving between a segment register and a 32bit memory location, i.e., movl (%eax),%ds movl %ds,(%eax) To generate instructions for moving between a segment register and a 16bit memory location without the 16bit operand size prefix, 0x66, mov (%eax),%ds mov %ds,(%eax) should be used. It will work with both new and old assemblers. The assembler starting from 2.16.90.0.1 will also support movw (%eax),%ds movw %ds,(%eax) without the 0x66 prefix. I am enclosing patches for 2.4 and 2.6 kernels here. The resulting kernel binaries should be unchanged as before, with old and new assemblers, if gcc never generates memory access for unsigned gsindex; asm volatile("movl %%gs,%0" : "=g" (gsindex)); If gcc does generate memory access for the code above, the upper bits in gsindex are undefined and the new assembler doesn't allow it. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5b63d78f1e75f6c6f04862dfb2f2a4aeffafd4c tree e208151fd10b19c774ff51478bf3e857b99d63f9 parent d637413f3f05b41f678f8004225b33b62274183f author Denis Vlasenko Sun, 01 May 2005 08:58:48 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:48 -0700 [PATCH] fix i386 memcpy This patch shortens non-constant memcpy() by two bytes and fixes spurious out-of-line constant memcpy(). # size vmlinux.org vmlinux text data bss dec hex filename 3954591 1553426 236544 5744561 57a7b1 vmlinux.org 3952615 1553426 236544 5742585 579ff9 vmlinux Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 67701ae9767534534d3710664037dfde2cc04935 tree 6adb8d33585f8eee20794827c79e40991aeeaee5 parent fd51f666fa591294bd7462447512666e61c56ea0 author Jack F Vogel Sun, 01 May 2005 08:58:48 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:48 -0700 [PATCH] check nmi watchdog is broken A bug against an xSeries system showed up recently noting that the check_nmi_watchdog() test was failing. I have been investigating it and discovered in both i386 and x86_64 the recent change to the routine to use the cpu_callin_map has uncovered a problem. Prior to that change, on an SMP box, the test was trivally passing because all cpu's were found to not yet be online, but now with the callin_map they are discovered, it goes on to test the counter and they have not yet begun to increment, so it announces a CPU is stuck and bails out. On all the systems I have access to test, the announcement of failure is also bougs... by the time you can login and check /proc/interrupts, the NMI count is happily incrementing on all CPUs. Its just that the test is being done too early. I have tried moving the call to the test around a bit, and it was always too early. I finally hit on this proposed solution, it delays the routine via a late_initcall(), seems like the right solution to me. Signed-off-by: Adrian Bunk Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d637413f3f05b41f678f8004225b33b62274183f tree 08a2240395ffef19a3d61ea7de4f55704f8046fe parent d59dd4620fb8d6422555a9e2b82a707718e68327 author Jake Moilanen Sun, 01 May 2005 08:58:47 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:47 -0700 [PATCH] ppc64: reverse prediction on spinlock busy loop code On our raw spinlocks, we currently have an attempt at the lock, and if we do not get it we enter a spin loop. This spinloop will likely continue for awhile, and we pridict likely. Shouldn't we predict that we will get out of the loop so our next instructions are already prefetched. Even when we miss because the lock is still held, it won't matter since we are waiting anyways. I did a couple quick benchmarks, but the results are inconclusive. 16-way 690 running specjbb with original code # ./specjbb 3000 16 1 1 19 30 120 ... Valid run, Score is 59282 16-way 690 running specjbb with unlikely code # ./specjbb 3000 16 1 1 19 30 120 ... Valid run, Score is 59541 I saw a smaller increase on a JS20 (~1.6%) JS20 specjbb w/ original code # ./specjbb 400 2 1 1 19 30 120 ... Valid run, Score is 20460 JS20 specjbb w/ unlikely code # ./specjbb 400 2 1 1 19 30 120 ... Valid run, Score is 20803 Anton said: Mispredicting the spinlock busy loop also means we slow down the rate at which we do the loads which can be good for heavily contended locks. Note: There are some gcc issues with our default build and branch prediction, but a CONFIG_POWER4_ONLY build should emit them correctly. I'm working with Alan Modra on it now. Signed-off-by: Jake Moilanen Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d59dd4620fb8d6422555a9e2b82a707718e68327 tree 78205657d24efcaa3f8314064951ac3814ed95a7 parent 0d8d4d42f2d00eb65262b49f4edd4cf7ef4eb6fc author akpm@osdl.org Sun, 01 May 2005 08:58:47 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:47 -0700 [PATCH] use smp_mb/wmb/rmb where possible Replace a number of memory barriers with smp_ variants. This means we won't take the unnecessary hit on UP machines. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d8d4d42f2d00eb65262b49f4edd4cf7ef4eb6fc tree 56fdbffa1f3eddc68b56a1148fb372b296fc09da parent eeb24de431ac8c80fd13a2c479cd0eb51b70484e author Anton Blanchard Sun, 01 May 2005 08:58:47 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:47 -0700 [PATCH] ppc64: use smp_mb and smp_wmb Use smp_mb and smp_wmb. In particular smp_wmb is lighter weight than wmb. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eeb24de431ac8c80fd13a2c479cd0eb51b70484e tree 00d5548ba1f4a441cc4386ec8bff924bcc33d722 parent c4005e4f661a9ec8d91720a6b570865d060afcaf author Anton Blanchard Sun, 01 May 2005 08:58:46 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:46 -0700 [PATCH] ppc64: enforce medium thread priority in hypervisor calls Calls into the hypervisor do not raise the thread priority. Ensure we are running at medium priority upon entry to the hypervisor. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c4005e4f661a9ec8d91720a6b570865d060afcaf tree 28fef4260af585b8fc708662eddefef9bdb828de parent 4b88e927e8c38f4053680a3098325142017a37f0 author Anton Blanchard Sun, 01 May 2005 08:58:46 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:46 -0700 [PATCH] ppc64: firmware workaround Recent gcc 4.0 testing uncovered a firmware issue. Some properties are larger than 31 bytes and due to gcc 4.0s better stack allocation this overflow ran over non volatile register storage. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b88e927e8c38f4053680a3098325142017a37f0 tree 43ffb7cd7bae7fc40c00f7855e4a26ee9aa3dadc parent a2f95a5ae99eb8209ad8d9faeaada00600bd8027 author Anton Blanchard Sun, 01 May 2005 08:58:46 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:46 -0700 [PATCH] ppc64: remove unnecessary include We no longer use any ppcdebug stuff in a.out.h, so remove the define. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d03853d566fb32c6bb8cab4bf2ecf53e692f001c tree 6e1865c6e19598978ab50d0c5b72e396a1bec608 parent 66faf9845a05905d75da380767e93455f3e6d620 author Olof Johansson Sun, 01 May 2005 08:58:45 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:45 -0700 [PATCH] PPC64: Remove hot busy-wait loop in __hash_page It turns out that our current __hash_page code will do a very hot busy-wait loop waiting on _PAGE_BUSY to be cleared. It even does ldarx/stdcx in the loop, which will bounce reservations around like crazy if there's more than one CPU spinning on the same PTE (or even another PTE in the same reservation granule). The end result is that each fault takes longer when there's contention, which in turn increases the chance of another thread hitting the same fault and also piling up. Not pretty. There's two options here: 1. Do an out-of-line busy loop a'la spinlocks with just loads (no reserves) 2. Just bail and refault if needed. (2) makes sense here: If the PTE is busy, chances are it's in flux anyway and the other code path making a change might just be ready to hash it. This fixes a stampede seen on a large-ish system where a multithreaded HPC app faults in the same text pages on several cpus at the same time. Signed-off-by: Olof Johansson Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a2f95a5ae99eb8209ad8d9faeaada00600bd8027 tree c135aff1ea47e57fcdfe22cca12e77738f433d27 parent d03853d566fb32c6bb8cab4bf2ecf53e692f001c author Anton Blanchard Sun, 01 May 2005 08:58:45 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:45 -0700 [PATCH] ppc64: noexec fixes There were a few issues with the ppc64 noexec support: The 64bit ABI has a non executable stack by default. At the moment 64bit apps require a PT_GNU_STACK section in order to have a non executable stack. Disable the read implies exec workaround on the 64bit ABI. The 64bit toolchain has never had problems with incorrect mmap permissions (the 32bit has, thats why we need to retain the workaround). With these fixes as well as a gcc fix from Alan Modra (that was recently committed) 64bit apps work as expected. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 66faf9845a05905d75da380767e93455f3e6d620 tree d58eb784e69f952ae7ac28271fd8482fee727e6b parent 58366af5861eee1479426380e3c91ecb334c301d author Paul Mackerras Sun, 01 May 2005 08:58:45 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:45 -0700 [PATCH] ppc64: tell firmware about kernel capabilities On pSeries systems, according to the platform architecture specs, we are supposed to be supplying a structure to firmware that tells firmware about our capabilities, such as which version of the data structures that describe available memory we are expecting to see. The way we end up having to supply this data structure is a bit gross, since it was designed for AIX and doesn't suit us very well. This patch adds the code to supply this data structure to the firmware. Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dc3ec7503e693e05c01d85b664482d0f694429ab tree c12687ccc2e67affa67a598f89a35f3be4ebaacd parent bb78cb72201985ae9269b723c82ea0f892048b9e author Paul Mackerras Sun, 01 May 2005 08:58:44 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:44 -0700 [PATCH] ppc64: Fix irq parsing on powermac When I tried Ben's patches to the powermac sound driver on my G5, I found that it was taking enormous numbers of sound DMA transmit interrupts. This turned out to be because it was incorrectly configured as level-sensitive instead of edge-sensitive, which in turn was because the code that parses the interrupt tree that Open Firmware gives us was incorrectly assigning another device the same irq number as the sound DMA transmit interrupt (i.e. 1). This patch fixes the problem, in a somewhat quick and dirty way for now, but one which will work for all the machines we currently run on. Ultimately Ben and I want to do something more general and robust, but this should go in for 2.6.12. Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb78cb72201985ae9269b723c82ea0f892048b9e tree e956a4c1647e79a9b39d0cb1dfa6f6f60c4f9af1 parent 1b29f9d13e3cf0fe86bf7f82a3399c9e3caf58e5 author Olof Johansson Sun, 01 May 2005 08:58:44 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:44 -0700 [PATCH] ppc64: remove unused argument to create_slbe Remove vsid argument to create_slbe, since it's no longer used. Spotted by R Sharada. Signed-off-by: Olof Johansson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 58366af5861eee1479426380e3c91ecb334c301d tree 2c7e61d424279057ebeb2ef32b2e9648666848ca parent 0339ad77c4a06fa8529db17c91f790058e18b65b author Benjamin Herrenschmidt Sun, 01 May 2005 08:58:44 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:44 -0700 [PATCH] ppc64: update to use the new 4L headers This patch converts ppc64 to use the generic pgtable-nopud.h instead of the "fixup" header. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0339ad77c4a06fa8529db17c91f790058e18b65b tree b2287248d52745c0b9532bca13133bab7a9e4132 parent dc3ec7503e693e05c01d85b664482d0f694429ab author akpm@osdl.org Sun, 01 May 2005 08:58:44 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:44 -0700 [PATCH] ppc64: nvram cleanups - Fix arch/ppc64/kernel/nvram.c:342: warning: `part' might be used uninitialized in this function - Various codingstyle tweaks. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4be8dc7ff69182610b40a078b9815bcdf27e0c49 tree 7719a011ea6af530e6055cddee9470e7cb8098f2 parent 1bdacf88ebd7969fecbbf4c5b388cc094871222e author Benjamin Herrenschmidt Sun, 01 May 2005 08:58:43 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:43 -0700 [PATCH] ppc64: improve g5 sound headphone mute This patch fixes a couple more issues with the management of the GPIOs dealing with headphone and line out mute on the G5. It should fix the remaining problems of people not getting any sound out of the headphone jack. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1f7b49d042abfbda71f41b8aff6e1bf7685c1f00 tree 823c5b9d728fe11c42c9449b14f379164dd69e72 parent 4be8dc7ff69182610b40a078b9815bcdf27e0c49 author Benjamin Herrenschmidt Sun, 01 May 2005 08:58:43 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:43 -0700 [PATCH] ppc32: add sound support for Mac Mini This patch applies on top of my previous g5 related sound patches and adds support for the Mac Mini to the PowerMac Alsa driver. However, I haven't found any kind of HW support for volume control on this machine. If it exist, it's well hidden. That means that you probably want to make sure you use software with the ability to do soft volume control, or use Alsa 0.9 pre-release with the softvol plugin. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1b29f9d13e3cf0fe86bf7f82a3399c9e3caf58e5 tree 49fa54910161c2d0741e2a34a01e5d35d6b6e82c parent 085e6fc96bcf239cab8adc600aab2452d75590b1 author Benjamin Herrenschmidt Sun, 01 May 2005 08:58:43 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:43 -0700 [PATCH] ppc64: add PT_NOTE section to vDSO This patch from Roland adds a PT_NOTE section to both 32 and 64 bits vDSOs to expose the kernel version to glibc, thus avoiding a uname syscall on every launch. This is equivalent to the patches Roland posted already for x86 and x86-64. Note: the 64 bits .note is actually using the 32 bits format. This is normal. The ELF spec specifies a different format for 64 bits .note, but for some reason, this was never properly implemented, the core dumps for example are all using 32 bits format .note, and binutils cannot even read a 64 bits format .note. Talking to our toolchain folks, they think we'd rather stick to 32 bits format .note everywhere and get the spec fixed some day ... Signed-off-by: Roland McGrath Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 085e6fc96bcf239cab8adc600aab2452d75590b1 tree b02b932789402ab96ded653395207cd19d34c2f2 parent 1f7b49d042abfbda71f41b8aff6e1bf7685c1f00 author Colin Leroy Sun, 01 May 2005 08:58:43 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:43 -0700 [PATCH] pmac: save master volume on sleep Ben's patch that shutdowns master switch and restores it after resume ("pmac: Improve sleep code of tumbler driver") isn't enough here on an iBook (snapper chip). The master switch is correctly saved and restored, but somehow tumbler_put_master_volume() gets called just after tumbler_set_master_volume() and sets mix->master_vol[*] to 0. So, on resuming, the master switch is reenabled, but the volume is set to 0. Here's a patch that also saves and restores master_vol. Signed-off-by: Colin Leroy Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5812a77e5803468a5033be91af978be0f7a17d9 tree e01d079528be80ee78fad247b8af959b58e41d0e parent b20cc8aff258eea5a2339107605ebea949fa6ecf author Paul Mackerras Sun, 01 May 2005 08:58:42 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:42 -0700 [PATCH] ppc32: Fix address checking on lmw/stmw align exception The handling of misaligned load/store multiple instructions did not check to see if the address was ok to access before using __{get,put}_user(). Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b20cc8aff258eea5a2339107605ebea949fa6ecf tree 0c860a2ca131233edeb1d4517e788a71990685df parent 146a4b3bdfb5641bfbf975e29680b482b8b343ba author Benjamin Herrenschmidt Sun, 01 May 2005 08:58:42 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:42 -0700 [PATCH] ppc32: Fix a sleep issues on some laptops Some earlier models of aluminium powerbooks and ibook G4s have a clock chip that requires some tweaking before and after sleep. It seems that without that magic incantation to disable and re-enable clock spreading, RAM isn't properly refreshed during sleep. This fixes it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1bdacf88ebd7969fecbbf4c5b388cc094871222e tree 6c0f03d688d65361aaf4d9d6f8ecdac172cf1aeb parent d5812a77e5803468a5033be91af978be0f7a17d9 author Dan Malek Sun, 01 May 2005 08:58:42 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:42 -0700 [PATCH] ppc32: workaround for spurious IRQs on PQ2 There is a problem with large amounts of spurious IRQs on PowerPC 82xx systems. The problem is corrected by adding sync at the end of cpm2_mask_and_ack. This may be needed on 8xx as well but has not yet been confirmed. Signed-off-by: Eugene Surovegin Signed-off-by: Dan Malek Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a497aa20e5ea54fdee474192d6dc138b4832fc9e tree 2ca8f92a94f71319448b86ef7a09b5a3271fd8a4 parent 630710e3f72b6a324a525f6e5db3f7985d0fc4a2 author Chris Elston Sun, 01 May 2005 08:58:41 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:41 -0700 [PATCH] ppc32: add rtc hooks in PPC7D platform file This patch adds the hooks into the PPC7D platforms file to support the DS1337 RTC device as the clock device for the PPC7D board. Signed-off-by: Chris Elston Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 616299afcebfb2228f45a95aac7e63704c3733fc tree f2335aa6ae9d891911eb45acb7b09310e414706e parent a497aa20e5ea54fdee474192d6dc138b4832fc9e author Benjamin Herrenschmidt Sun, 01 May 2005 08:58:41 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:41 -0700 [PATCH] ppc32: Fix IDE related crash on wakeup I noticed an occasional crash on wakeup from sleep on my powerbook (strangly never happened before, probably timing related) that appears to be due to a dangling interrupt while the chip is put to sleep and beeing reset on wakeup. This patch fixes is by disabling the irq in the ide pmac driver while asleep and only re-enable it after the chip has been fully reset. This is safe to do so as the interrupt of these apple IDE cells is never shared. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 146a4b3bdfb5641bfbf975e29680b482b8b343ba tree b483a82225ad7f7a83848dc3c7d436eddfd377be parent 616299afcebfb2228f45a95aac7e63704c3733fc author Andreas Jaggi Sun, 01 May 2005 08:58:41 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:41 -0700 [PATCH] macintosh/adbhid.c: adb buttons support for aluminium PowerBook G4 This patch adds support for the special adb buttons of the aluminium PowerBook G4. Signed-off-by: Andreas Jaggi Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f1c55dea0bb2df94aa2b01b0871cb02f2e206676 tree 0bac72de98485c578bd0590daf4c7d9090660c6d parent b207a290ea7dc83dba02e40b81cc8a29415a9c60 author Benjamin Herrenschmidt Sun, 01 May 2005 08:58:40 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:40 -0700 [PATCH] ppc32: Fix errata for some G3 CPUs Some G3 CPUs can crash in funny way if a store from an FPU register instruction is executed on a register that has never been initialized since power on. This patch fixes it by making sure all FP registers have been properly initialized at kernel boot and when waking from sleep. It also makes the code that decides wether HID0_BTIC and HID0_DPM are allowed on a given CPU smarter (it can actually _clear_ them now if they are not allowed instead of just setting them when they are allowed in case the firmware got them wrong) Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b207a290ea7dc83dba02e40b81cc8a29415a9c60 tree fe76d1c494977ba95ab576e9207dc13c4a66a04a parent 6af963f1d6789ef20abca5696cd52a758b396e52 author James Morris Sun, 01 May 2005 08:58:40 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:40 -0700 [PATCH] SELinux: add finer grained permissions to Netlink audit processing This patch provides finer grained permissions for the audit family of Netlink sockets under SELinux. 1. We need a way to differentiate between privileged and unprivileged reads of kernel data maintained by the audit subsystem. The AUDIT_GET operation is unprivileged: it returns the current status of the audit subsystem (e.g. whether it's enabled etc.). The AUDIT_LIST operation however returns a list of the current audit ruleset, which is considered privileged by the audit folk. To deal with this, a new SELinux permission has been implemented and applied to the operation: nlmsg_readpriv, which can be allocated to appropriately privileged domains. Unprivileged domains would only be allocated nlmsg_read. 2. There is a requirement for certain domains to generate audit events from userspace. These events need to be collected by the kernel, collated and transmitted sequentially back to the audit daemon. An example is user level login, an auditable event under CAPP, where login-related domains generate AUDIT_USER messages via PAM which are relayed back to auditd via the kernel. To prevent handing out nlmsg_write permissions to such domains, a new permission has been added, nlmsg_relay, which is intended for this type of purpose: data is passed via the kernel back to userspace but no privileged information is written to the kernel. Also, AUDIT_LOGIN messages are now valid only for kernel->user messaging, so this value has been removed from the SELinux nlmsgtab (which is only used to check user->kernel messages). Signed-off-by: James Morris Signed-off-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 630710e3f72b6a324a525f6e5db3f7985d0fc4a2 tree 9088f17473108acb611b80b03f417e0591e1313d parent 443a848cd30eb5bb5c1038e6371d83404775dcfc author Chris Elston Sun, 01 May 2005 08:58:40 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:40 -0700 [PATCH] ppc32: fix for misreported SDRAM size on Radstone PPC7D platform This patch fixes the SDRAM output from /proc/cpuinfo. The previous code assumed that there was only one bank of SDRAM, and that the size in the memory configuration register was the total size. Signed-off-by: Chris Elston Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 443a848cd30eb5bb5c1038e6371d83404775dcfc tree f61d62eebf19498395257a7cddee828c4edfa876 parent f1c55dea0bb2df94aa2b01b0871cb02f2e206676 author Paul Mackerras Sun, 01 May 2005 08:58:40 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:40 -0700 [PATCH] ppc32: refactor FPU exception handling Moved common FPU exception handling code out of head.S so it can be used by several of the sub-architectures that might of a full PowerPC FPU. Also, uses new CONFIG_PPC_FPU define to fix alignment exception handling for floating point load/store instructions to only occur if we have a hardware FPU. Signed-off-by: Jason McMullan Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de7d5a3b6c9ff8429bf046c36b56d3192b75c3da tree b7aae262a2e790bc736fa16534b3b2d7c9e51245 parent 552fca4cbe552520d85b21e839f289c880fa48d2 author akpm@osdl.org Sun, 01 May 2005 08:58:39 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:39 -0700 [PATCH] drop_buffers() oops fix In rare situations, drop_buffers() can be called for a page which has buffers, but no ->mapping (it was truncated, but the buffers were left behind because ext3 was still fiddling with them). But if there was an I/O error in a buffer_head, drop_buffers() will try to get at the address_space and will oops. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6af963f1d6789ef20abca5696cd52a758b396e52 tree 20990e909fc4a79789de54cfcae7ea150329cdc5 parent de7d5a3b6c9ff8429bf046c36b56d3192b75c3da author Stephen Smalley Sun, 01 May 2005 08:58:39 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:39 -0700 [PATCH] SELinux: cleanup ipc_has_perm This patch removes the sclass argument from ipc_has_perm in the SELinux module, as it can be obtained from the ipc security structure. The use of a separate argument was a legacy of the older precondition function handling in SELinux and is obsolete. Please apply. Signed-off-by: Stephen Smalley Signed-off-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 552fca4cbe552520d85b21e839f289c880fa48d2 tree 8a91530f62a2118e390db209779c184983684e66 parent 97e2bde47f886a317909c8a8f9bd2fcd8ce2f0b0 author Nikita Danilov Sun, 01 May 2005 08:58:39 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:39 -0700 [PATCH] mpage_writepages() page locking fix When ->writepage() returns WRITEPAGE_ACTIVATE, the page is still locked. Explicitly unlock the page in mpage_writepages(). Signed-off-by: Nikita Danilov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dd1d5afca8d3bda7ff9db773fc08e648d2503dc6 tree b0cc49be9dc43558e31be18d6045181661492018 parent 93ea1d0a12623dc1a693642b5758261f35f9bf96 author William Lee Irwin III Sun, 01 May 2005 08:58:38 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:38 -0700 [PATCH] sync_page() smp_mb() comment The smp_mb() is becaus sync_page() doesn't have PG_locked while it accesses page_mapping(page). The comments in the patch (the entire patch is the addition of this comment) try to explain further how and why smp_mb() is used. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 97e2bde47f886a317909c8a8f9bd2fcd8ce2f0b0 tree bef8ff5bd628ecffd188bdbad4c765bf5e737b8d parent dd1d5afca8d3bda7ff9db773fc08e648d2503dc6 author Manfred Spraul Sun, 01 May 2005 08:58:38 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:38 -0700 [PATCH] add kmalloc_node, inline cleanup The patch makes the following function calls available to allocate memory on a specific node without changing the basic operation of the slab allocator: kmem_cache_alloc_node(kmem_cache_t *cachep, unsigned int flags, int node); kmalloc_node(size_t size, unsigned int flags, int node); in a similar way to the existing node-blind functions: kmem_cache_alloc(kmem_cache_t *cachep, unsigned int flags); kmalloc(size, flags); kmem_cache_alloc_node was changed to pass flags and the node information through the existing layers of the slab allocator (which lead to some minor rearrangements). The functions at the lowest layer (kmem_getpages, cache_grow) are already node aware. Also __alloc_percpu can call kmalloc_node now. Performance measurements (using the pageset localization patch) yields: w/o patches: Tasks jobs/min jti jobs/min/task real cpu 1 484.27 100 484.2736 12.02 1.97 Wed Mar 30 20:50:43 2005 100 25170.83 91 251.7083 23.12 150.10 Wed Mar 30 20:51:06 2005 200 34601.66 84 173.0083 33.64 294.14 Wed Mar 30 20:51:40 2005 300 37154.47 86 123.8482 46.99 436.56 Wed Mar 30 20:52:28 2005 400 39839.82 80 99.5995 58.43 580.46 Wed Mar 30 20:53:27 2005 500 40036.32 79 80.0726 72.68 728.60 Wed Mar 30 20:54:40 2005 600 44074.21 79 73.4570 79.23 872.10 Wed Mar 30 20:55:59 2005 700 44016.60 78 62.8809 92.56 1015.84 Wed Mar 30 20:57:32 2005 800 40411.05 80 50.5138 115.22 1161.13 Wed Mar 30 20:59:28 2005 900 42298.56 79 46.9984 123.83 1303.42 Wed Mar 30 21:01:33 2005 1000 40955.05 80 40.9551 142.11 1441.92 Wed Mar 30 21:03:55 2005 with pageset localization and slab API patches: Tasks jobs/min jti jobs/min/task real cpu 1 484.19 100 484.1930 12.02 1.98 Wed Mar 30 21:10:18 2005 100 27428.25 92 274.2825 21.22 149.79 Wed Mar 30 21:10:40 2005 200 37228.94 86 186.1447 31.27 293.49 Wed Mar 30 21:11:12 2005 300 41725.42 85 139.0847 41.84 434.10 Wed Mar 30 21:11:54 2005 400 43032.22 82 107.5805 54.10 582.06 Wed Mar 30 21:12:48 2005 500 42211.23 83 84.4225 68.94 722.61 Wed Mar 30 21:13:58 2005 600 40084.49 82 66.8075 87.12 873.11 Wed Mar 30 21:15:25 2005 700 44169.30 79 63.0990 92.24 1008.77 Wed Mar 30 21:16:58 2005 800 43097.94 79 53.8724 108.03 1155.88 Wed Mar 30 21:18:47 2005 900 41846.75 79 46.4964 125.17 1303.38 Wed Mar 30 21:20:52 2005 1000 40247.85 79 40.2478 144.60 1442.21 Wed Mar 30 21:23:17 2005 Signed-off-by: Christoph Lameter Signed-off-by: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 93ea1d0a12623dc1a693642b5758261f35f9bf96 tree 4938d87a7d269f7b3e53328d02eac259cb93515a parent edfbe2b0038723e5699ab22695ccd62b5542a5c1 author Chris Wright Sun, 01 May 2005 08:58:38 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:38 -0700 [PATCH] RLIMIT_MEMLOCK checking fix Always use page counts when doing RLIMIT_MEMLOCK checking to avoid possible overflow. Signed-off-by: Chris Wright Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit edfbe2b0038723e5699ab22695ccd62b5542a5c1 tree f1c613d32824f274b0e3daf492e87b0c9051c789 parent 2054606ad6dd6fee559fe790f190b15ed9355237 author KAMEZAWA Hiroyuki Sun, 01 May 2005 08:58:37 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:37 -0700 [PATCH] count bounce buffer pages in vmstat This is a patch for counting the number of pages for bounce buffers. It's shown in /proc/vmstat. Currently, the number of bounce pages are not counted anywhere. So, if there are many bounce pages, it seems that there are leaked pages. And it's difficult for a user to imagine the usage of bounce pages. So, it's meaningful to show # of bouce pages. Signed-off-by: KAMEZAWA Hiroyuki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bd53b714d32a29bdf33009f812e295667e92b930 tree b8b6e72fcda7b40d2273498bfa16ba53e15e7917 parent 20a77776c24800d1e40a73f520cfcb32239568a9 author Nick Piggin Sun, 01 May 2005 08:58:37 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:37 -0700 [PATCH] mm: use __GFP_NOMEMALLOC Use the new __GFP_NOMEMALLOC to simplify the previous handling of PF_MEMALLOC. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 20a77776c24800d1e40a73f520cfcb32239568a9 tree 8a28cc68cf10b87d35b7603b2d6f26215390cc0f parent b84a35be0285229b0a8a5e2e04d79360c5b75562 author Nick Piggin Sun, 01 May 2005 08:58:37 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:37 -0700 [PATCH] mempool: simplify alloc Mempool is pretty clever. Looks too clever for its own good :) It shouldn't really know so much about page reclaim internals. - don't guess about what effective page reclaim might involve. - don't randomly flush out all dirty data if some unlikely thing happens (alloc returns NULL). page reclaim can (sort of :P) handle it. I think the main motivation is trying to avoid pool->lock at all costs. However the first allocation is attempted with __GFP_WAIT cleared, so it will be 'can_try_harder' if it hits the page allocator. So if allocation still fails, then we can probably afford to hit the pool->lock - and what's the alternative? Try page reclaim and hit zone->lru_lock? A nice upshot is that we don't need to do any fancy memory barriers or do (intentionally) racy access to pool-> fields outside the lock. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2054606ad6dd6fee559fe790f190b15ed9355237 tree 6c097981520088c6e6d13c2950f2d9ec9ba7f480 parent bd53b714d32a29bdf33009f812e295667e92b930 author Nikita Danilov Sun, 01 May 2005 08:58:37 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:37 -0700 [PATCH] doc: Locking update Make the Locking document truer. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b84a35be0285229b0a8a5e2e04d79360c5b75562 tree 3ff63fde8534eb615b408d047b461015781f6a5b parent 8e30f272a93ec9c1d5c305c5040dfaebc880499d author Nick Piggin Sun, 01 May 2005 08:58:36 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:36 -0700 [PATCH] mempool: NOMEMALLOC and NORETRY Mempools have 2 problems. The first is that mempool_alloc can possibly get stuck in __alloc_pages when they should opt to fail, and take an element from their reserved pool. The second is that it will happily eat emergency PF_MEMALLOC reserves instead of going to their reserved pools. Fix the first by passing __GFP_NORETRY in the allocation calls in mempool_alloc. Fix the second by introducing a __GFP_MEMPOOL flag which directs the page allocator not to allocate from the reserve pool. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8e30f272a93ec9c1d5c305c5040dfaebc880499d tree ed5b54d2895d3e93768f79b2ec2b968f79bf7013 parent 81b4082dc7666e2bc5ec229d8e837f3bafb96883 author Nick Piggin Sun, 01 May 2005 08:58:36 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:36 -0700 [PATCH] mm: pcp use non powers of 2 for batch size Jack Steiner reported this to have fixed his problem (bad colouring): "The patches fix both problems that I found - bad coloring & excessive pages in pagesets." In most workloads this is not likely to be such a pronounced problem, however it should help corner cases. And avoiding powers of 2 in these types of memory operations is always a good idea. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 81b4082dc7666e2bc5ec229d8e837f3bafb96883 tree d37c73b9fa3d3d321d0997113c9170b52aeb10b6 parent 119f657c72fc07d6fd28c61de59cfba1566970a9 author Nikita Danilov Sun, 01 May 2005 08:58:36 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:36 -0700 [PATCH] mm: rmap.c cleanup mm/rmap.c:page_referenced_one() and mm/rmap.c:try_to_unmap_one() contain identical code that - takes mm->page_table_lock; - drills through page tables; - checks that correct pte is reached. Coalesce this into page_check_address() Signed-off-by: Nikita Danilov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f021e9210185b46e41ec3a0e78ec1621e168eacb tree 5661ced2f5c69f737dcf7673db2ef6e852003d6d parent 69aa3f71580990f39e387d96ed1001d2f5fb04b1 author akpm@osdl.org Sun, 01 May 2005 08:58:35 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:35 -0700 [PATCH] generic_file_buffered_write fixes Anton Altaparmakov points out: - It calls fault_in_pages_readable() which is completely bogus if @nr_segs > 1. It needs to be replaced by a to be written "fault_in_pages_readable_iovec()". - It increments @buf even in the iovec case thus @buf can point to random memory really quickly (in the iovec case) and then it calls fault_in_pages_readable() on this random memory. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69aa3f71580990f39e387d96ed1001d2f5fb04b1 tree fd6fd4d8d488442afdf7c588e2bb7e174e91d840 parent e8e6993178344eb348f60f05b16d9dc30db3b9cf author akpm@osdl.org Sun, 01 May 2005 08:58:35 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:35 -0700 [PATCH] ultrastor build fix Fix a typo. James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 119f657c72fc07d6fd28c61de59cfba1566970a9 tree 33c8070aa904c4919cf244cdcd7c01e54589bb9e parent f021e9210185b46e41ec3a0e78ec1621e168eacb author akpm@osdl.org Sun, 01 May 2005 08:58:35 -0700 committer Linus Torvalds Sun, 01 May 2005 08:58:35 -0700 [PATCH] RLIMIT_AS checking fix Address bug #4508: there's potential for wraparound in the various places where we perform RLIMIT_AS checking. (I'm a bit worried about acct_stack_growth(). Are we sure that vma->vm_mm is always equal to current->mm? If not, then we're comparing some other process's total_vm with the calling process's rlimits). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e8e6993178344eb348f60f05b16d9dc30db3b9cf tree ddb7d643d247c1f7650245794433b7c1eec92331 parent b3d9ae4b98f6d28481d4d4b768d860a2cfb5805d author Sam Ravnborg Sat, 30 Apr 2005 16:51:42 -0700 committer Linus Torvalds Sat, 30 Apr 2005 16:51:42 -0700 [PATCH] kbuild: Set NOSTDINC_FLAGS late to speed up compile (a little) Move definition of NOSTDINC_FLAGS below inclusion of arch Makefile, so any arch specific settings to $(CC) takes effect before looking up the compiler include directory. The previous solution that replaced ':=' with '=' caused gcc to be invoked one additional time for each directory visited. This decreases kernel compile time with 0.1 second (3.6 -> 3.5 seconds) when running make on a fully built kernel Signed-off-by: Sam Ravnborg Signed-off-by: Linus Torvalds commit b3d9ae4b98f6d28481d4d4b768d860a2cfb5805d tree 740fd350c127e12a902e7d781250429c30282bd7 parent 2cacb3da620a4a93f3a77e1d2c8c06bb3c74bcb0 author Sam Ravnborg Sat, 30 Apr 2005 16:51:42 -0700 committer Linus Torvalds Sat, 30 Apr 2005 16:51:42 -0700 [PATCH] kbuild/ppc: tell when uimage was not built Tom Rini said: Note that there is still a trivial'ish change to make. When mkimage doesn't exist on the host we should say "uImage not made" or something similar. So I did like Tom asked. Signed-off-by: Sam Ravnborg Signed-off-by: Linus Torvalds commit 2cacb3da620a4a93f3a77e1d2c8c06bb3c74bcb0 tree 12be8c2f4969d94e724aecaee7681a99ed4ba41d parent 1d651f3332340c232ff66b7f5bab66cb8903859f author Sam Ravnborg Sat, 30 Apr 2005 16:51:42 -0700 committer Linus Torvalds Sat, 30 Apr 2005 16:51:42 -0700 [PATCH] kbuild/i386: re-introduce dependency on vmlinux for install target, and add kernel_install Removing the dependency on vmlinux for the install target raised a few complaints, so instead a new target i added: kernel_install. kernel_install will install the kernel just like the ordinary install target. The only difference is that install has a dependency on vmlinux, kernel_install does not. Therefore kernel_install is the best choice when accessing the kernel over a NFS mount or as another user. kernel_install is similar to modules_install in the fact that neither does a full kernel compile before performing the install. In this way they are good for root use. Also added back the dependency on vmlinux for the install target so peoples scripts are no longer broken. Signed-off-by: Sam Ravnborg Signed-off-by: Linus Torvalds commit 1d651f3332340c232ff66b7f5bab66cb8903859f tree 99c47c498867ff5ee2fe0845622f4d1c4e1df1f4 parent 49e7dc54cd4cbdb439ecc4e06214b0ca1a1a72b4 parent 4774e2260cf25c54f2188dd0407676e3af6f1f23 author Linus Torvalds Sat, 30 Apr 2005 15:42:33 -0700 committer Linus Torvalds Sat, 30 Apr 2005 15:42:33 -0700 Merge of master.kernel.org:/home/rmk/linux-2.6-rmk.git commit 4774e2260cf25c54f2188dd0407676e3af6f1f23 tree 36d362b6f5522e59e663031f4ce2eaf6169b38c3 parent ed562ab12733ab75437b3390427d41fce9da83c3 author Russell King Sat, 30 Apr 2005 23:32:38 +0100 committer Russell King Sat, 30 Apr 2005 23:32:38 +0100 [PATCH] ARM: IntegratorCP: Fix CLCD MUX selection values The documentation on these values seems to be rather wrong. These values have been determined by mere trial and error. Signed-off-by: Russell King commit ed562ab12733ab75437b3390427d41fce9da83c3 tree e306d25a5ad1ad6b22aefbdf8bb5e557cead1e4b parent 1ddb8a16aa0e60e7fdc48b1f532cf43e692f8fae author Russell King Sat, 30 Apr 2005 23:28:47 +0100 committer Russell King Sat, 30 Apr 2005 23:28:47 +0100 [PATCH] ARM: IntegratorCP: 16bpp is RGB565 not RGB555 Signed-off-by: Russell King commit 1ddb8a16aa0e60e7fdc48b1f532cf43e692f8fae tree 07a8f51940fb0ee87721628b0e84dd48b293d9a0 parent bb9bffcbef6166cf03385fbcde97c27bc1a5e689 author Russell King Sat, 30 Apr 2005 22:39:51 +0100 committer Russell King Sat, 30 Apr 2005 22:39:51 +0100 [PATCH] ARM: AMBA CLCD: program palette for pseudocolor visuals Signed-off-by: Russell King commit 49e7dc54cd4cbdb439ecc4e06214b0ca1a1a72b4 tree d8c98e6ebdade1c73ea6926b6be3d86d9ade9cb6 parent 9ea1f8f505f6f770bd593e689960ac4f893509b2 parent bb9bffcbef6166cf03385fbcde97c27bc1a5e689 author Linus Torvalds Sat, 30 Apr 2005 13:34:21 -0700 committer Linus Torvalds Sat, 30 Apr 2005 13:34:21 -0700 Merge of master.kernel.org:/home/rmk/linux-2.6-rmk.git commit 9ea1f8f505f6f770bd593e689960ac4f893509b2 tree c1c9aa8a8e8fe3a3ffd5559ff0432bcb0a7249d8 parent 68575476718ed1c6d6ddafeec8310b109e7a7a7f author Steve French Sat, 30 Apr 2005 11:10:58 -0700 committer Linus Torvalds Sat, 30 Apr 2005 11:10:58 -0700 [PATCH] cifs: Update cifs todo list Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit 68575476718ed1c6d6ddafeec8310b109e7a7a7f tree 6f2a6107859521b5f6b498aa50421cf0d0aebb7a parent 9747dd6fa98f2983f4dd09cd6dad1fa3d2a4c5f2 author Steve French Sat, 30 Apr 2005 11:10:57 -0700 committer Linus Torvalds Sat, 30 Apr 2005 11:10:57 -0700 [PATCH] cifs: append \* properly on ASCII servers For older servers which do not support Unicode Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit 9747dd6fa98f2983f4dd09cd6dad1fa3d2a4c5f2 tree f8e191827f6ff913d083a89028b1b732ef56b231 parent a6ad57fb4b5e9d68553f4440377b99f75588fa88 author Paul Mackerras Sat, 30 Apr 2005 10:01:40 -0700 committer Linus Torvalds Sat, 30 Apr 2005 10:01:40 -0700 [PATCH] ppc64: fix 32-bit signal frame back link When the kernel creates a signal frame on the user stack, it puts the old stack pointer value at the beginning so that the signal frame is linked into the chain of stack frames like any other frame. Unfortunately, for 32-bit processes we are writing the old stack pointer as a 64-bit value rather than a 32-bit value, and the process sees that as a null pointer, since it only looks at the first 32 bits, which are zero since ppc is bigendian and the stack pointer is below 4GB. This bug is in SLES9 and RHEL4 too, hence the ccs. This patch fixes the bug by making the signal code write the old stack pointer as a u32 instead of an unsigned long. Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds commit bb9bffcbef6166cf03385fbcde97c27bc1a5e689 tree 7a76d85912492f50504ba428f4e1c9bdd3725c37 parent d5aa207e46ff7ee838683a7d95ecf46fe42a9a56 author Russell King Sat, 30 Apr 2005 13:26:06 +0100 committer Russell King Sat, 30 Apr 2005 13:26:06 +0100 [PATCH] ARM: PXA I2C: add platform device Add the PXA I2C platform device. Signed-off-by: Russell King commit d5aa207e46ff7ee838683a7d95ecf46fe42a9a56 tree 2fe7cf50bb45a3ca94f095695bab5414fa56c1f3 parent a6ad57fb4b5e9d68553f4440377b99f75588fa88 author Russell King Sat, 30 Apr 2005 12:19:28 +0100 committer Russell King Sat, 30 Apr 2005 12:19:28 +0100 [PATCH] ARM: RTC: allow driver methods to return error Allow RTC drivers to return error codes from their read_time or read_alarm methods. Signed-off-by: Russell King commit 54e0f520e7d94b865e0f5465db976dcc5ffe7190 tree 6b6b72c48033ca54cb751e6e12fc7572f5d649ed parent 456be6cd90dbbb9b0ea01d56932d56d110d51cf7 author Andrew Morton Sat, 30 Apr 2005 07:07:04 +0100 committer David Woodhouse Sat, 30 Apr 2005 07:07:04 +0100 netlink audit warning fix scumbags! net/netlink/af_netlink.c: In function `netlink_sendmsg': net/netlink/af_netlink.c:908: warning: implicit declaration of function `audit_get_loginuid' Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit a6ad57fb4b5e9d68553f4440377b99f75588fa88 tree 153e0d176ddbf34378f763e25d55c4c6588c9f14 parent dd96a8e056e7b3e480197ff2cdf106b46455d779 parent 587897f51fac04988de497a553215fdf41e6d5f6 author Linus Torvalds Fri, 29 Apr 2005 15:08:34 -0700 committer Linus Torvalds Fri, 29 Apr 2005 15:08:34 -0700 Merge of master.kernel.org:/home/rmk/linux-2.6-serial.git commit dd96a8e056e7b3e480197ff2cdf106b46455d779 tree 7958f4d6fb3714f585e13e2e9ecb3dfa6d8a8223 parent a879cbbb34cbecfa9707fbb6e5a00c503ac1ecb9 parent 53e173f62c318e65e6ae13524b04c5cf38c1bc3c author Linus Torvalds Fri, 29 Apr 2005 15:06:00 -0700 committer Linus Torvalds Fri, 29 Apr 2005 15:06:00 -0700 Merge of master.kernel.org:/home/rmk/linux-2.6-rmk.git commit 587897f51fac04988de497a553215fdf41e6d5f6 tree 156025260e508e775b1695479e4fdf69d8454f7f parent c60c390620e0abb60d4ae8c43583714bda27763f author Sascha Hauer Fri, 29 Apr 2005 22:46:40 +0100 committer Russell King Fri, 29 Apr 2005 22:46:40 +0100 [PATCH] ARM: 2654/1: i.MX UART initialization sets and honors UFCR value Patch from Sascha Hauer This patch adds UCFR_RFDIV setting into i.MX serial driver. This is required, if loader does not fully agree with Linux kernel about UART setup manner. Linux only blindly expected some values until now. This should enable to use even serial ports not recognized by boot-loader as for example third UART found in the bluethoot module. Patch also enables to detect original setup baudrate in more cases. Signed-off-by: Pavel Pisa Signed-off-by: Sascha Hauer Signed-off-by: Russell King commit 53e173f62c318e65e6ae13524b04c5cf38c1bc3c tree fc09c64720880b4a3634b63ebf8f072a1510945b parent ca315159dfa80a2bfc7d917a717a7ee8d771bdf9 author Lennert Buytenhek Fri, 29 Apr 2005 22:13:57 +0100 committer Russell King Fri, 29 Apr 2005 22:13:57 +0100 [PATCH] ARM: 2660/2: fix ixdp2800 boot and pci init Patch from Lennert Buytenhek The IXDP2800 is an evalution platform for the IXP2800 processor that has two IXP2800s connected to the same PCI bus. This is problematic as both CPUs will try to configure the PCI bus as they boot linux. Contrary to on the other IXP2000 platforms, the boot loader on the IXDP2800 doesn't configure the PCI bus properly, so we do want the linux instance on one of the CPUs to do that. Making one of the CPUs ignore the PCI bus (and thus act like a pure PCI slave device) is not an option because there is a 82559 NIC on the PCI bus for each of the CPUs. The chosen solution is to have the master CPU configure the PCI bus while the slave is kept in a quiescent state, and then to have the slave CPU scan the PCI bus (without assigning resources) while the master is kept in a quiescent state. After this ritual, the master deletes the slave NIC from its PCI device list, the slave deletes the master NIC from its device list, and (almost) all is well. There's still one little problem: each of the CPUs has a 1G SDRAM BAR, but the IXP2000 only has 512M of outbound PCI memory window. We solve this by hand-assigning the master and slave SDRAM BARs to a location outside each of the IXP's outbound PCI windows, and by having the rest of the BARs autoconfigured in the outbound PCI windows, in the range [e0000000..ffffffff], so that there is a 1:1 pci:phys mapping between them. Even with this patch, a number of issues still remain -- just imagine what happens if one of the CPUs is rebooted, by watchdog or by hand, but the other one isn't. But those issues are not easily fixable given the strange PCI layout of this board and the behavior of the boot loader shipped with the platform. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit ca315159dfa80a2bfc7d917a717a7ee8d771bdf9 tree 6dd27320f571b6d7555424346c21c1d300cb0335 parent 05f9869bf20e11bcb9b64b9ebd6a9cf89d6b71ba author George G. Davis Fri, 29 Apr 2005 22:08:35 +0100 committer Russell King Fri, 29 Apr 2005 22:08:35 +0100 [PATCH] ARM: 2656/1: Access permission bits are wrong for kernel XIP sections on ARMv6 Patch from George G. Davis This patch is required for kernel XIP support on ARMv6 machines. It ensures that the access permission bits for kernel XIP section descriptors are APX=1 and AP[1:0]=01, which is Kernel read-only/User no access permissions. Prior to this change, kernel XIP section descriptor access permissions were set to Kernel no access/User no access on ARMv6 machines and the kernel would therefore hang upon entry to userspace when set_fs(USER_DS) was executed. Signed-off-by: Steve Longerbeam Signed-off-by: George G. Davis Signed-off-by: Russell King commit 05f9869bf20e11bcb9b64b9ebd6a9cf89d6b71ba tree 007c152142085c5124337eda056e9798be53e084 parent 2d2669b62984b8d76b05a6a045390a3250317d21 author Olav Kongas Fri, 29 Apr 2005 22:08:34 +0100 committer Russell King Fri, 29 Apr 2005 22:08:34 +0100 [PATCH] ARM: 2649/1: Fix 'sparse -Wbitwise' warnings from MMIO macros Patch from Olav Kongas On ARM, the outX() and writeX() families of macros take the result of cpu_to_leYY(), which is of restricted type __leYY, and feed it to __raw_writeX(), which expect an argument of unrestricted type. This results in 'sparse -Wbitwise' warnings about incorrect types in assignments. Analogous type mismatch warnings are issued for inX() and readX() counterparts. The below patch resolves these warnings by adding forced typecasts. Signed-off-by: Olav Kongas Signed-off-by: Russell King commit 3a1e501511a1e2c665c566939047794dcf86466b tree 6803ebc7e2bfd6c9cdc6b4752d79da72cdd6088d parent 458a83fa43e83505f9401783ce9ed41b5a8b5591 author George G. Davis Fri, 29 Apr 2005 22:08:33 +0100 committer Russell King Fri, 29 Apr 2005 22:08:33 +0100 [PATCH] ARM: 2655/1: ARM1136 SWP instruction abort handler fix Patch from George G. Davis As noted in http://www.arm.com/linux/patch-2.6.9-arm1.gz, the "Faulty SWP instruction on 1136 doesn't set bit 11 in DFSR." So the v6_early_abort handler does not report the correct rd/wr direction for the SWP instruction which may result in SEGVS or hangs. In order to work around this problem, this patch merely updates the fix contained in the ARM Ltd. patch to use the macroised abort handler fixups. Signed-off-by: George G. Davis Signed-off-by: Russell King commit 2d2669b62984b8d76b05a6a045390a3250317d21 tree 822f62adf59f2e6302a16289cc99b0f9b873cfb4 parent 3a1e501511a1e2c665c566939047794dcf86466b author Nicolas Pitre Fri, 29 Apr 2005 22:08:33 +0100 committer Russell King Fri, 29 Apr 2005 22:08:33 +0100 [PATCH] ARM: 2651/3: kernel helpers for NPTL support Patch from Nicolas Pitre This patch entirely reworks the kernel assistance for NPTL on ARM. In particular this provides an efficient way to retrieve the TLS value and perform atomic operations without any instruction emulation nor special system call. This even allows for pre ARMv6 binaries to be forward compatible with SMP systems without any penalty. The problematic and performance critical operations are performed through segment of kernel provided user code reachable from user space at a fixed address in kernel memory. Those fixed entry points are within the vector page so we basically get it for free as no extra memory page is required and nothing else may be mapped at that location anyway. This is different from (but doesn't preclude) a full blown VDSO implementation, however a VDSO would prevent some assembly tricks with constants that allows for efficient branching to those code segments. And since those code segments only use a few cycles before returning to user code, the overhead of a VDSO far call would add a significant overhead to such minimalistic operations. The ARM_NR_set_tls syscall also changed number. This is done for two reasons: 1) this patch changes the way the TLS value was previously meant to be retrieved, therefore we ensure whatever library using the old way gets fixed (they only exist in private tree at the moment since the NPTL work is still progressing). 2) the previous number was allocated in a range causing an undefined instruction trap on kernels not supporting that syscall and it was determined that allocating it in a range returning -ENOSYS would be much nicer for libraries trying to determine if the feature is present or not. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 458a83fa43e83505f9401783ce9ed41b5a8b5591 tree 18129650697875bff9709784ec85a1ad6be794c8 parent ae36bf5861e1091dd337f0b475e043ab07d4a937 author Lennert Buytenhek Fri, 29 Apr 2005 21:58:16 +0100 committer Russell King Fri, 29 Apr 2005 21:58:16 +0100 [PATCH] ARM: 2659/1: do not assign PCI I/O address zero on IXP2000 Patch from Lennert Buytenhek Assigning the address zero to a PCI device BAR causes some part of the PCI subsystem to believe that resource allocation for that BAR failed due to resource conflicts, which will make attempts to enable the device fail. Work around this by assigning I/O addresses starting from 00010000. While we're at it, make the PCI I/O resource end at 0001ffff, since we only have 64k of outbound I/O window on the IXP2000, and we don't do bank switching. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit ae36bf5861e1091dd337f0b475e043ab07d4a937 tree 88b2c33e63fc3566bdd6172220b1f94100885dd5 parent 8443b165f13d21214e5d5495eee7c3bf7f2456bf author Lennert Buytenhek Fri, 29 Apr 2005 21:58:15 +0100 committer Russell King Fri, 29 Apr 2005 21:58:15 +0100 [PATCH] ARM: 2658/1: start ixp2000 pci memory resource at 0xe0000000 Patch from Lennert Buytenhek On the IXDP2800, the bootloader does an awful job of configuring the PCI bus, so we make linux reconfigure everything. Having a 1:1 pci:phys address mapping generally simplifies everything, so try to allocate PCI addresses from the [e0000000..ffffffff] range, which is the physical address range of the outbound PCI window on the IXP2000. This does not affect any of the other IXP2000 platforms since they all use their bootloader's PCI resource assignment. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 8443b165f13d21214e5d5495eee7c3bf7f2456bf tree 5571ac62b632ecae1a6495e59a5d55258f40bda1 parent c60c390620e0abb60d4ae8c43583714bda27763f author Lennert Buytenhek Fri, 29 Apr 2005 21:58:15 +0100 committer Russell King Fri, 29 Apr 2005 21:58:15 +0100 [PATCH] ARM: 2657/1: export ixp2000_pci_config_addr Patch from Lennert Buytenhek Export ixp2000_pci_config_addr, to be used by the IXDP2800 platform setup code to coordinate booting the master and slave NPU. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit a879cbbb34cbecfa9707fbb6e5a00c503ac1ecb9 tree fdf247f8dedea8f04d0989aeab6922ed073eee11 parent c06fec5022ebe014af876da2df4a0eee836e97c8 author Linus Torvalds Fri, 29 Apr 2005 09:38:44 -0700 committer Linus Torvalds Fri, 29 Apr 2005 09:38:44 -0700 x86: make traps on 'iret' be debuggable in user space This makes a trap on the 'iret' that returns us to user space cause a nice clean SIGSEGV, instead of just a hard (and silent) exit. That way a debugger can actually try to see what happened, and we also properly notify everybody who might be interested about us being gone. This loses the error code, but tells the debugger what happened with ILL_BADSTK in the siginfo. commit c06fec5022ebe014af876da2df4a0eee836e97c8 tree 074874a0f975d7d776b7a789f3fc1715f1fa9300 parent 42d4dc3f4e1ec1396371aac89d0dccfdd977191b author Linus Torvalds Fri, 29 Apr 2005 09:37:07 -0700 committer Linus Torvalds Fri, 29 Apr 2005 09:37:07 -0700 Remove bogus BUG() in kernel/exit.c It's old sanity checking that may have been useful for debugging, but is just bogus these days. Noticed by Mattia Belletti. commit 456be6cd90dbbb9b0ea01d56932d56d110d51cf7 tree 27f0d001610f686d11ff460cb6c848a599c8ca4f parent 37509e749dc2072e667db806ef24b9e897f61b8a author Steve Grubb Fri, 29 Apr 2005 17:30:07 +0100 committer Fri, 29 Apr 2005 17:30:07 +0100 [AUDIT] LOGIN message credentials Attached is a new patch that solves the issue of getting valid credentials into the LOGIN message. The current code was assuming that the audit context had already been copied. This is not always the case for LOGIN messages. To solve the problem, the patch passes the task struct to the function that emits the message where it can get valid credentials. Signed-off-by: Steve Grubb Signed-off-by: David Woodhouse commit 37509e749dc2072e667db806ef24b9e897f61b8a tree 62e8c43ba360a9d0584822b06126284e4db428b8 parent c94c257c88c517f251da273a15c654224c7b6e21 author Chris Wright Fri, 29 Apr 2005 17:19:14 +0100 committer Fri, 29 Apr 2005 17:19:14 +0100 [AUDIT] Requeue messages at head of queue, up to audit_backlog If netlink_unicast() fails, requeue the skb back at the head of the queue it just came from, instead of the tail. And do so unless we've exceeded the audit_backlog limit; not according to some other arbitrary limit. From: Chris Wright Signed-off-by: David Woodhouse commit c94c257c88c517f251da273a15c654224c7b6e21 tree 992dd50f6bb13a70b04450cdfe0dbfb3c7b17ef5 parent 85c8721ff3bc96b702427a440616079e8daf8a2f author Serge Hallyn Fri, 29 Apr 2005 16:27:17 +0100 committer Fri, 29 Apr 2005 16:27:17 +0100 Add audit uid to netlink credentials Most audit control messages are sent over netlink.In order to properly log the identity of the sender of audit control messages, we would like to add the loginuid to the netlink_creds structure, as per the attached patch. Signed-off-by: Serge Hallyn Signed-off-by: David Woodhouse commit 85c8721ff3bc96b702427a440616079e8daf8a2f tree 1232ac4ebbd6d2453ee4d4a104003273ced20440 parent 67eb81e1686f44bcf8f005b296213fd2c21b4719 author Fri, 29 Apr 2005 16:23:29 +0100 committer Fri, 29 Apr 2005 16:23:29 +0100 audit: update pointer to userspace tools, remove emacs mode tags commit 67eb81e1686f44bcf8f005b296213fd2c21b4719 tree 107fdcf93e592dec9052943c025a179b11b41cd4 parent 3ac3ed555bec5b1f92bb22cb94823a0e99d0f320 author Yoichi Yuasa Fri, 29 Apr 2005 16:13:35 +0100 committer Fri, 29 Apr 2005 16:13:35 +0100 mips: warning fix audit_arch() arch/mips/kernel/ptrace.c:305: warning: function declaration isn't a prototype Signed-off-by: Yoichi Yuasa Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit 3ac3ed555bec5b1f92bb22cb94823a0e99d0f320 tree 0133d690f115c47026a316b8b8e2a0a403443d84 parent c7fcb0ee74ef4cfdea02befacb55945c93641e44 author Amy Griffis Fri, 29 Apr 2005 16:12:55 +0100 committer Fri, 29 Apr 2005 16:12:55 +0100 [PATCH] fix ia64 syscall auditing Attached is a patch against David's audit.17 kernel that adds checks for the TIF_SYSCALL_AUDIT thread flag to the ia64 system call and signal handling code paths.The patch enables auditing of system calls set up via fsys_bubble_down, as well as ensuring that audit_syscall_exit() is called on return from sigreturn. Neglecting to check for TIF_SYSCALL_AUDIT at these points results in incorrect information in audit_context, causing frequent system panics when system call auditing is enabled on an ia64 system. Signed-off-by: Amy Griffis Signed-off-by: David Woodhouse commit c7fcb0ee74ef4cfdea02befacb55945c93641e44 tree fbc01cfa85e2f7a3d070098e7d67d0196f52fa40 parent d812ddbb89e323d054a7d073466225966c8350c8 author Peter Martuccelli Fri, 29 Apr 2005 16:10:24 +0100 committer Fri, 29 Apr 2005 16:10:24 +0100 [AUDIT] Avoid using %*.*s format strings. They don't seem to work correctly (investigation ongoing), but we don't actually need to do it anyway. Patch from Peter Martuccelli Signed-off-by: David Woodhouse commit d812ddbb89e323d054a7d073466225966c8350c8 tree 469e3e7bb7d1ca450059fc1b45660b8bc6452dc7 parent 2fd6f58ba6efc82ea2c9c2630f7ff5ed9eeaf34a author Steve Grubb Fri, 29 Apr 2005 16:09:52 +0100 committer Fri, 29 Apr 2005 16:09:52 +0100 [AUDIT] Fix signedness of 'serial' in various routines. Attached is a patch that corrects a signed/unsigned warning. I also noticed that we needlessly init serial to 0. That only needs to occur if the kernel was compiled without the audit system. -Steve Grubb Signed-off-by: David Woodhouse commit 2fd6f58ba6efc82ea2c9c2630f7ff5ed9eeaf34a tree 87cf236a78ad242ae01f1b71c289131e6d1c0662 parent ea3834d9fb348fb1144ad3affea22df933eaf62e author Fri, 29 Apr 2005 16:08:28 +0100 committer Fri, 29 Apr 2005 16:08:28 +0100 [AUDIT] Don't allow ptrace to fool auditing, log arch of audited syscalls. We were calling ptrace_notify() after auditing the syscall and arguments, but the debugger could have _changed_ them before the syscall was actually invoked. Reorder the calls to fix that. While we're touching ever call to audit_syscall_entry(), we also make it take an extra argument: the architecture of the syscall which was made, because some architectures allow more than one type of syscall. Also add an explicit success/failure flag to audit_syscall_exit(), for the benefit of architectures which return that in a condition register rather than only returning a single register. Change type of syscall return value to 'long' not 'int'. Signed-off-by: David Woodhouse commit ea3834d9fb348fb1144ad3affea22df933eaf62e tree ae1df66df596e9ae2ad808a26772f17d0c0f8262 parent 81b7854d52d35ed2353dd47033ae630d18322a2d author Prasanna Meda Fri, 29 Apr 2005 16:00:17 +0100 committer Fri, 29 Apr 2005 16:00:17 +0100 namei: add audit_inode to all branches in path_lookup Main change is in path_lookup: added a goto to do audit_inode instead of return statement, when emul_lookup_dentry for root is successful.The existing code does audit_inode only when lookup is done in normal root or cwd. Other changes: Some lookup routines are returning zero on success, and some are returning zero on failure. I documented the related function signatures in this code path, so that one can glance over abstract functions without understanding the entire code. Signed-off-by: Prasanna Meda Signed-off-by: David Woodhouse commit 81b7854d52d35ed2353dd47033ae630d18322a2d tree 9df2b6f7accc3a7f3bcee9af5493c0cdf6b1f140 parent 83c7d09173fdb6b06b109e65895392db3e49ac9c author Andrew Morton Fri, 29 Apr 2005 15:59:11 +0100 committer Fri, 29 Apr 2005 15:59:11 +0100 audit_log_untrustedstring() warning fix kernel/audit.c: In function `audit_log_untrustedstring': kernel/audit.c:736: warning: comparison is always false due to limited range of data type Signed-off-by: Andrew Morton Signed-off-by: David Woodhouse commit 83c7d09173fdb6b06b109e65895392db3e49ac9c tree 3f48367a4d1413e221a5367bcd0cf8df7322c368 parent c60c390620e0abb60d4ae8c43583714bda27763f author Fri, 29 Apr 2005 15:54:44 +0100 committer Fri, 29 Apr 2005 15:54:44 +0100 AUDIT: Avoid log pollution by untrusted strings. We log strings from userspace, such as arguments to open(). These could be formatted to contain \n followed by fake audit log entries. Provide a function for logging such strings, which gives a hex dump when the string contains anything but basic printable ASCII characters. Use it for logging filenames. Signed-off-by: David Woodhouse commit 42d4dc3f4e1ec1396371aac89d0dccfdd977191b tree c5b67100cde9769c56f6872a5675d67f0e5f0df5 parent c60c390620e0abb60d4ae8c43583714bda27763f author Benjamin Herrenschmidt Fri, 29 Apr 2005 07:40:12 -0700 committer Linus Torvalds Fri, 29 Apr 2005 07:40:12 -0700 [PATCH] Add suspend method to cpufreq core In order to properly fix some issues with cpufreq vs. sleep on PowerBooks, I had to add a suspend callback to the pmac_cpufreq driver. I must force a switch to full speed before sleep and I switch back to previous speed on resume. I also added a driver flag to disable the warnings in suspend/resume since it is expected in this case to have different speed (and I want it to fixup the jiffies properly). Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c60c390620e0abb60d4ae8c43583714bda27763f tree 11aaf9d3ebfd4998fc7d550c9af4f502105f0835 parent 0cb766ae629c70d53040f85de73db0583eadb233 author Roland McGrath Thu, 28 Apr 2005 22:47:29 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:47:29 -0700 [PATCH] x86_64: fix PT_NOTE addition to IA32 vDSO The addition of the PT_NOTE didn't take in the x86_64 version of the i386 vDSO, because I forgot the linker script bit in that copy. Signed-off-by: Roland McGrath Signed-off-by: Linus Torvalds commit 31ca3bc3c569f9fe02aae6974ac3a9126f14902f tree 1ee90350d3ad6c2c3d59fa598c1440fcdf5a34e8 parent 57337e42f1393941d59d5154eed27a63988ff2be author Steve French Thu, 28 Apr 2005 22:41:11 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:11 -0700 [PATCH] cifs: Do not init smb requests or block when sending requests if cifsd thread is no longer running to demultixplex responses. Do not send FindClose request when FindFirst failed without reaching end of search. Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit 0cb766ae629c70d53040f85de73db0583eadb233 tree b763f4acf57f69b51d00a3a62ad30cb91b02baba parent 31ca3bc3c569f9fe02aae6974ac3a9126f14902f author Steve French Thu, 28 Apr 2005 22:41:11 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:11 -0700 [PATCH] cifs: Do not sleep interruptible after socket connect failure .. since it can be due to pending kill. Update readme information to better describe cifs umount Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit cd63499cbe37e53e6cc084c8a35d911a4613c797 tree 5f365aa9daaf89a9890c53dc681474a7fd292e45 parent 275cde1a1f3880601509c851d72c82bb8d3ee67c author Steve French Thu, 28 Apr 2005 22:41:10 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:10 -0700 [PATCH] cifs: Handle case of multiple trans2 responses for one SMB request (part 2 of 2) Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit 57337e42f1393941d59d5154eed27a63988ff2be tree 52a66ef24ea412473702a63f261e1520cf8e1885 parent 11aa0149d0e49ee1791735ec4ae3079b27b9a68e author Steve French Thu, 28 Apr 2005 22:41:10 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:10 -0700 [PATCH] cifs: handle termination of cifs oplockd kernel thread Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit 275cde1a1f3880601509c851d72c82bb8d3ee67c tree 383c9b6e6992bbc2297092c79bf262a3d78b8c8f parent e4eb295d38b57f4d4b956942a48887eb252d97c6 author Steve French Thu, 28 Apr 2005 22:41:10 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:10 -0700 [PATCH] cifs: cleanup various long lines Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit 11aa0149d0e49ee1791735ec4ae3079b27b9a68e tree b08d4fbdf4cb46820898b71a1e55139c676c1b1f parent cd63499cbe37e53e6cc084c8a35d911a4613c797 author Steve French Thu, 28 Apr 2005 22:41:10 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:10 -0700 [PATCH] cifs: Fix mapping of EMLINK case Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit e4eb295d38b57f4d4b956942a48887eb252d97c6 tree d32dddbd699516a02d197eb9df0bef775082ffcd parent 46810cbf3d951c1ce8ce3311639996ad43ca4ed1 author Steve French Thu, 28 Apr 2005 22:41:09 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:09 -0700 [PATCH] cifs: Handle multiple response transact2 part 1 of 2 Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit 79944bf71352f33f984ac3973b159b5c2cee139d tree 174114fec801a31e00f5ffaeb7e9b9fc1ca40a40 parent 67010fbc6ff889aaf86592bc148d705c5b9e1a27 author Steve French Thu, 28 Apr 2005 22:41:09 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:09 -0700 [PATCH] cifs: missing semicolon from previous fix Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit 67010fbc6ff889aaf86592bc148d705c5b9e1a27 tree b599e682e12af8dd9d15d295bbb2d29f064a2904 parent 09d1db5c6131232f764046160c29118cd4e5e646 author Steve French Thu, 28 Apr 2005 22:41:09 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:09 -0700 [PATCH] cifs: Better handle errors on second socket recv message call Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit 46810cbf3d951c1ce8ce3311639996ad43ca4ed1 tree 3b8a7cf7a9528501b0e3d72ccc8cbd384fd88b3a parent 79944bf71352f33f984ac3973b159b5c2cee139d author Steve French Thu, 28 Apr 2005 22:41:09 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:09 -0700 [PATCH] cifs: Ease memory pressure, do not use large buffers in byte range lock requests. Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit 966ca9234754ece58870075972ef103e354de075 tree 491cf960229a066196d1efb3f5687912b8b44fee parent 433dc24f24b409fb130f638aa85470a0eb666206 author Steve French Thu, 28 Apr 2005 22:41:08 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:08 -0700 [PATCH] cifs: Fix caching problem pointed out by Dave Stahl and Vince Negri in which cifs can update the last modify time on a server modified file without invalidating the local cached data due to an intervening readdir. Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit 433dc24f24b409fb130f638aa85470a0eb666206 tree c64f3c478297b38361f91fea0609fb4fbedaffaf parent 099a58f681ed951434574ec39bdfe87055bafe73 author Steve French Thu, 28 Apr 2005 22:41:08 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:08 -0700 [PATCH] cifs: remove cifs_kcalloc and check for NULL return on kcalloc in session initialization Suggested by: Adrian Bunk and Dave Miller Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit 09d1db5c6131232f764046160c29118cd4e5e646 tree 198d0b03c0afa7974cd6dcea4e711351f4e056eb parent 966ca9234754ece58870075972ef103e354de075 author Steve French Thu, 28 Apr 2005 22:41:08 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:08 -0700 [PATCH] cifs: improve check for search entry going beyond end of SMB transact Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit f28ac91b0541a49d5bc7bfb9f0efd5289a7dd181 tree 65b4b2d1f2cef8d7db8a3c907748e1e959bbf1af parent 848f3fce45d2ba93e10b5e9d65bcae0d9269ad0d author Steve French Thu, 28 Apr 2005 22:41:07 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:07 -0700 [PATCH] cifs: CIFS ioctl needed by umount.cifs utility Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit c81156dd217818c143a09b6a744e797a04571e99 tree 3e20876b3b1d6d4fda144c0e13029e5570dd237a parent f28ac91b0541a49d5bc7bfb9f0efd5289a7dd181 author Steve French Thu, 28 Apr 2005 22:41:07 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:07 -0700 [PATCH] cifs: cleanup of ifdefs usage so it is more consistent And fix to not needlessly send new POSIX QFSInfo when server does not explicitly claim support for the new protocol extensions. Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit b8643e1b5253a6a51da5574a55a2f9148e255cfd tree 7be4a4dc45e83e793f729a69d94b9970d08a2092 parent c81156dd217818c143a09b6a744e797a04571e99 author Steve French Thu, 28 Apr 2005 22:41:07 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:07 -0700 [PATCH] cifs: Do not use large smb buffers in response path unless response is larger than 256 bytes. This cuts more than 1/3 of the large memory allocations that cifs does and should be a huge help to memory pressure under stress. Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit 848f3fce45d2ba93e10b5e9d65bcae0d9269ad0d tree 103c63af4e29ee400b0bef59ed5a9d0be65a7a2b parent d0724714fd49aeec1383b94807174de7e96021bf author Steve French Thu, 28 Apr 2005 22:41:07 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:07 -0700 [PATCH] cifs: Do not interpret oplock break responses as responses to an unrelated command .. even if the multiplex ids match. Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit 099a58f681ed951434574ec39bdfe87055bafe73 tree 5015a6eb19cc62766fba00c3183e21e5ad50ae9b parent b8643e1b5253a6a51da5574a55a2f9148e255cfd author Steve French Thu, 28 Apr 2005 22:41:07 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:07 -0700 [PATCH] cifs: Missing initialization for largeBuf flag left out of previous changeset Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit d0724714fd49aeec1383b94807174de7e96021bf tree 598d971c43acfae63d15a0f18e65c154639b3299 parent 737b758c965a9b223ac1243ab38d9e507ac86c64 author Steve French Thu, 28 Apr 2005 22:41:06 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:06 -0700 [PATCH] cifs: Fix PPC64 compile error .. and do not double endian convert the special characters whem mounted with mapchars mount parm. Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit 737b758c965a9b223ac1243ab38d9e507ac86c64 tree 9dcdaf3b573a2a27d0d43c1477a18867b144e5f4 parent 6c91d362f1e1ebbd4513adb68fc79d552c11e2c0 author Steve French Thu, 28 Apr 2005 22:41:06 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:06 -0700 [PATCH] cifs: character mapping of special characters (part 3 of 3) Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit 6c91d362f1e1ebbd4513adb68fc79d552c11e2c0 tree b86a48f6a44cd924684aa5efc55b2760e2365f78 parent d14537f103bf746ca766f739f9f5a5bf7a8b4806 author Steve French Thu, 28 Apr 2005 22:41:06 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:06 -0700 [PATCH] cifs: finish up of special character mapping capable unicode conversion routine part 2 of 3 Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit d14537f103bf746ca766f739f9f5a5bf7a8b4806 tree 421be78e49566536638effd2fa3f222686cf27fd parent 6a0b48245a135cd132e747815854e3999967f8a7 author Steve French Thu, 28 Apr 2005 22:41:05 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:05 -0700 [PATCH] cifs: remove a few redundant null pointer checks, and cleanup misc source formatting Mostly suggested by Jesper Juhl Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit cbe0476fa6a76b01b79e7c117963d45ed0a28758 tree e45a78777f977ba4670e7419bfdcde8a1429ceee parent ad009ac96509e005d9978d0ae9e9ec4d63ad2990 author Steve French Thu, 28 Apr 2005 22:41:05 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:05 -0700 [PATCH] cifs: fix rare oops in cifs_close Protect access to cifs file list in cifs_close path Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit ad009ac96509e005d9978d0ae9e9ec4d63ad2990 tree eb15ee8333fd7b5816f8fe3d02250ff99601eba0 parent c67593a03129967eae8939c4899767182eb6d6cd author Steve French Thu, 28 Apr 2005 22:41:05 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:05 -0700 [PATCH] cifs: Fix multiuser packet signing to use the right sequence number and mac session key Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit 6a0b48245a135cd132e747815854e3999967f8a7 tree 55fffb67b924fbca2a5a16e83100a5d1000daaf4 parent cbe0476fa6a76b01b79e7c117963d45ed0a28758 author Steve French Thu, 28 Apr 2005 22:41:05 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:05 -0700 [PATCH] cifs: Add new mount parm mapchars For handling seven special characters that shells use for filenames. This first parts implements conversions from Unicode. Signed-off-by: Steve French Signed-off-by: Linus Torvalds commit f654bac2227adc5c6956405290eeb4f81f09e9ff tree 9391321485e530375cb5ce1fced0ece2acc02a67 parent 1da0c78b32abe122a959d2a57ba3d41563d8e39f author Steve French Thu, 28 Apr 2005 22:41:04 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:04 -0700 [PATCH] cifs: add support for chattr/lsattr in new CIFS POSIX extensions Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit c67593a03129967eae8939c4899767182eb6d6cd tree 76fdc06010b9b73965893a5bf7bfc30ec2adf2e4 parent 75cf6bdc52d86ca815f1129529e43f0d904b18d5 author Steve French Thu, 28 Apr 2005 22:41:04 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:04 -0700 [PATCH] cifs: Enable ioctl support in POSIX extensions to handle lsattr remove sparse warnings, unnecessary pad in QueryFileInfo and redundant function define. Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit 75cf6bdc52d86ca815f1129529e43f0d904b18d5 tree 1a2849fe1ee2603a9f8e6c6ccc0d43e73b70e02f parent f654bac2227adc5c6956405290eeb4f81f09e9ff author Steve French Thu, 28 Apr 2005 22:41:04 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:04 -0700 [PATCH] cifs: Gracefully turn off serverino (when serverino is enabled on mount) Old servers such as NT4 do not support this level of FindFirst (and retry with a lower infolevel) Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit 1da0c78b32abe122a959d2a57ba3d41563d8e39f tree 65ab9cf2032aa9c262397ae04acf30daa0af26ec parent 2604f6da1afb56fae5930b58349e43a2b0345933 author Steve French Thu, 28 Apr 2005 22:41:04 -0700 committer Linus Torvalds Thu, 28 Apr 2005 22:41:04 -0700 [PATCH] cifs: Only send POSIX ACL calls to server if server claims to support that capability bit Signed-off-by: Steve French (sfrench@us.ibm.com) Signed-off-by: Linus Torvalds commit 2604f6da1afb56fae5930b58349e43a2b0345933 tree 1744196a8cf6bf3edfd7ad63c6a10f1609bd206a parent 18c8baff8fe151ea02e00047afc369ee31939e9b parent 0f7ad450394560a6b6c72115e04bf7afd6230e70 author Linus Torvalds Thu, 28 Apr 2005 16:09:57 -0700 committer Linus Torvalds Thu, 28 Apr 2005 16:09:57 -0700 Automatic merge of master.kernel.org:/home/rmk/linux-2.6-rmk.git commit 18c8baff8fe151ea02e00047afc369ee31939e9b tree e71f64f2f4c33c9e343d121fcbeff7b660961382 parent 5bec0039f4ac8d707d7afe7739cc2e7004447e38 author Roland McGrath Thu, 28 Apr 2005 15:17:19 -0700 committer Linus Torvalds Thu, 28 Apr 2005 15:17:19 -0700 [PATCH] Fix error recovery path for arch_setup_additional_pages If arch_setup_additional_pages fails, the error path will do some double-frees. This fixes it. Signed-off-by: Roland McGrath Signed-off-by: Linus Torvalds commit 5bec0039f4ac8d707d7afe7739cc2e7004447e38 tree 6d7098bc350768f59a41090ca248ae430cd95b25 parent 7b3c63ac7cb5e2e6680727045aa35c2e5f1bace7 author Olaf Rempel Thu, 28 Apr 2005 12:16:08 -0700 committer David S. Miller Thu, 28 Apr 2005 12:16:08 -0700 [NET]: /proc/net/stat/* header cleanup Signed-off-by: Olaf Rempel Signed-off-by: David S. Miller commit 7b3c63ac7cb5e2e6680727045aa35c2e5f1bace7 tree 2c7fe5e4b7676df9483294bd164664ed202a948b parent 89c8b3a11086a2a43ac4240116da77b707f37fbf author Nicolas Dichtel Thu, 28 Apr 2005 12:14:37 -0700 committer David S. Miller Thu, 28 Apr 2005 12:14:37 -0700 [PKT_SCHED]: Fix range in psched_tod_diff() to 0..bound Signed-off-by: Nicolas Dichtel Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 89c8b3a11086a2a43ac4240116da77b707f37fbf tree 6fa7c25204d4af62822ebb1e02694744d897b644 parent 7e3e0360b711568fb8ba5973accf51d51e746abc author Dave Jones Thu, 28 Apr 2005 12:11:49 -0700 committer David S. Miller Thu, 28 Apr 2005 12:11:49 -0700 [IPV6]: Incorrect permissions on route flush sysctl On Mon, Apr 25, 2005 at 12:01:13PM -0400, Dave Jones wrote: > This has been brought up before.. http://lkml.org/lkml/2000/1/21/116 > but didnt seem to get resolved. This morning I got someone > file a bugzilla about it breaking sysctl(8). And here's its ipv6 counterpart. Signed-off-by: Dave Jones Signed-off-by: David S. Miller commit 7e3e0360b711568fb8ba5973accf51d51e746abc tree 1a8828481234fae6a6858e868f3c0f6058cb4673 parent 4eb701dfc618491c9b97377df6e61de36dfc39ce author Dave Jones Thu, 28 Apr 2005 12:11:03 -0700 committer David S. Miller Thu, 28 Apr 2005 12:11:03 -0700 [IPV4]: Incorrect permissions on route flush sysctl This has been brought up before.. http://lkml.org/lkml/2000/1/21/116 but didnt seem to get resolved. This morning I got someone file a bugzilla about it breaking sysctl(8). Signed-off-by: Dave Jones Signed-off-by: David S. Miller commit 4eb701dfc618491c9b97377df6e61de36dfc39ce tree b49f31ebecda19d071d3ae3777be2a6a8c9e5c34 parent 594ccc14dfe4d61b476491758425a1c2ca4ec71b author Neil Horman Thu, 28 Apr 2005 12:02:04 -0700 committer David S. Miller Thu, 28 Apr 2005 12:02:04 -0700 [SCTP] Fix SCTP sendbuffer accouting. - Include chunk and skb sizes in sendbuffer accounting. - 2 policies are supported. 0: per socket accouting, 1: per association accounting DaveM: I've made the default per-socket. Signed-off-by: Neil Horman Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit 594ccc14dfe4d61b476491758425a1c2ca4ec71b tree 4fcf343d0bd39cbd233f169bbca59026c80d28f1 parent 5e6bc34f86e450ff14c4817902d66aa9c786bc06 author Sridhar Samudrala Thu, 28 Apr 2005 12:00:23 -0700 committer David S. Miller Thu, 28 Apr 2005 12:00:23 -0700 [SCTP] Replace incorrect use of dev_alloc_skb with alloc_skb in sctp_packet_transmit(). Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit 5e6bc34f86e450ff14c4817902d66aa9c786bc06 tree 1a4db9bc742bcfd7368caf79b9c751f49b4c667b parent b9b9e10f180fa63b55b93412edf0ab9648675646 author Neil Horman Thu, 28 Apr 2005 11:59:49 -0700 committer David S. Miller Thu, 28 Apr 2005 11:59:49 -0700 [SCTP] Fix bug in sctp_init() error handling code. Signed-off-by: Neil Horman Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit b9b9e10f180fa63b55b93412edf0ab9648675646 tree f7c076d76280f292d76344eaefb3250b80c57697 parent 047a2428a14216a83980ed26b6a59b3ca40a1fb0 author Brian Haley Thu, 28 Apr 2005 11:59:16 -0700 committer David S. Miller Thu, 28 Apr 2005 11:59:16 -0700 [SCTP] Use ipv6_addr_any() rather than ipv6_addr_type() in sctp_v6_is_any(). Signed-off-by: Brian Haley Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit 047a2428a14216a83980ed26b6a59b3ca40a1fb0 tree 9b4b4abb85b045fbf95700c1a9ca6e6ed7dfd60b parent 173372162ddbd414cc471c1a3a52ad7ea279aaf4 author Jerome Forissier Thu, 28 Apr 2005 11:58:43 -0700 committer David S. Miller Thu, 28 Apr 2005 11:58:43 -0700 [SCTP] Implement Sec 2.41 of SCTP Implementers guide. - Fixed sctp_vtag_verify_either() to comply with impguide 2.41 B) and C). - Make sure vtag is reflected when T-bit is set in SHUTDOWN-COMPLETE sent due to an OOTB SHUTDOWN-ACK and in ABORT sent due to an OOTB packet. - Do not set T-Bit in ABORT chunk in response to INIT. - Fixed some comments to reflect the new meaning of the T-Bit. Signed-off-by: Jerome Forissier Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit 173372162ddbd414cc471c1a3a52ad7ea279aaf4 tree c5a3642f18f171b57c1154ec25fafdfd14d99502 parent f4d0ee983ec01e59a77e157ab702246f397b2a2b author Vladislav Yasevich Thu, 28 Apr 2005 11:57:54 -0700 committer David S. Miller Thu, 28 Apr 2005 11:57:54 -0700 [SCTP] Fix SCTP_ASSOCINFO getsockopt for 1-1 style Signed-off-by: Vladislav Yasevich Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit f4d0ee983ec01e59a77e157ab702246f397b2a2b tree 7d80df9364db5bb892b70ee99e82395ac9859f88 parent 9acf6597c533f3d5c991f730c6a1be296679018e author David S. Miller Thu, 28 Apr 2005 11:33:20 -0700 committer David S. Miller Thu, 28 Apr 2005 11:33:20 -0700 [TG3]: Set SA_SAMPLE_RANDOM in request_irq() calls. Signed-off-by: David S. Miller commit 9acf6597c533f3d5c991f730c6a1be296679018e tree 8e567fd0f45d16c4656e7e9a42c7d4749d19ca48 parent bdceb6a0162274934386f19f3ea5a9d44feb0b20 author Christoph Lameter Thu, 28 Apr 2005 08:13:58 -0700 committer Linus Torvalds Thu, 28 Apr 2005 08:13:58 -0700 [PATCH] time interpolator: Fix settimeofday inaccuracy settimeofday will set the time a little bit too early on systems using time interpolation since it subtracts the current interpolator offset from the time. This used to be necessary with the code in 2.6.9 and earlier but the new code resets the time interpolator after setting the time. Thus the time is set too early and gettimeofday will return a time slightly before the time specified with settimeofday if invoked immeditely after settimeofday. This removes the obsolete subtraction of the time interpolator offset and makes settimeofday set the time accurately. Signed-off-by: Christoph Lameter Signed-off-by: Linus Torvalds commit 0f7ad450394560a6b6c72115e04bf7afd6230e70 tree e4b4b0f5eb3338e043eb3b7a78c16eb162f62e72 parent 82235e9170f19fa327361ee82a76618e60f2db47 author Russell King Thu, 28 Apr 2005 10:46:15 +0100 committer Russell King Thu, 28 Apr 2005 10:46:15 +0100 [PATCH] ARM: AMBA CLCD: X resolutions must be multiples of 16 We ignore the bottom 4 bits of the X resolution, so we should round X resolutions up to the nearest multiple of 16. Signed-off-by: Russell King commit 82235e9170f19fa327361ee82a76618e60f2db47 tree 735bdadb8025241a514c672537f231c614010c61 parent c4d12b98ead8bb2437f656c17e7ef065fa160e13 author Russell King Thu, 28 Apr 2005 10:43:52 +0100 committer Russell King Thu, 28 Apr 2005 10:43:52 +0100 [PATCH] ARM: Fix AMBA CLCD fb driver for 32bpp We were supporting 24bpp. However, the pixel organisation in memory was 0RGB, so it was 24bpp in 32bit words. This means we're actually supporting 32bpp and not 24bpp. Also, add a check to ensure that we don't exceed the available framebuffer when changing display resolutions. Signed-off-by: Russell King commit c4d12b98ead8bb2437f656c17e7ef065fa160e13 tree 5c73444b7f1d60b759c223d915fb7645984e5865 parent ea3f4eaca09de1bcc80e922e56a6dabba5882f56 author Russell King Thu, 28 Apr 2005 10:38:19 +0100 committer Russell King Thu, 28 Apr 2005 10:38:19 +0100 [PATCH] ARM: Fix AMBA CLCD fb driver for 1bpp/STN mono panels Fix the AMBA CLCD framebuffer driver for 1bpp modes and STN monochrome LCD panels. Signed-off-by: Russell King commit bdceb6a0162274934386f19f3ea5a9d44feb0b20 tree 326774cd0818e893561a3e77fc57ad5ea320771a parent 5fc3e624ad7278604628c598e92aa77c67064166 author Benjamin Herrenschmidt Wed, 27 Apr 2005 18:04:45 -0700 committer Linus Torvalds Wed, 27 Apr 2005 18:04:45 -0700 [PATCH] ppc64: Fix return value of some vDSO calls The ppc vDSO would not properly clear the return value for some calls, which will be a problem when interfacing those calls with glibc. This should be fixed before 2.6.12 is released (as it is the first kernel with the ppc vDSO) so that we don't have to play with symbol versioning and ugly workarounds. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds commit 5fc3e624ad7278604628c598e92aa77c67064166 tree 7570fde464d579ce455c865f07a613e967e9396c parent fc67b16ecaf6ebde04096030c268adddade023f1 author David Howells Wed, 27 Apr 2005 15:39:03 -0700 committer Linus Torvalds Wed, 27 Apr 2005 15:39:03 -0700 [PATCH] NFS4: Don't use __user with compat_uptr_t The attached patch removes __user from compat_uptr_t types in the NFS4 mount 32-bit->64-bit compatibility structures. Signed-Off-By: David Howells Signed-off-by: Linus Torvalds commit ea3f4eaca09de1bcc80e922e56a6dabba5882f56 tree 7b798a53b5306ddf45e969eb03badd6aa10d8064 parent e8108c98dd6d65613fa0ec9d2300f89c48d554bf author Russell King Wed, 27 Apr 2005 18:19:55 +0100 committer Russell King Wed, 27 Apr 2005 18:19:55 +0100 [PATCH] ARM: Add further explaination for clk_get() clk_get() comments can be confusing. Add extra explaination of the dev and id parameters to ensure correct usage. Signed-off-by: Russell King commit fc67b16ecaf6ebde04096030c268adddade023f1 tree 1cce42cdca1fc9e4ec41b9f7f72c60e343cebca7 parent e8108c98dd6d65613fa0ec9d2300f89c48d554bf parent 2d29306b231a1a0e7a70166c10e4c0f917b21334 author Linus Torvalds Wed, 27 Apr 2005 10:05:42 -0700 committer Linus Torvalds Wed, 27 Apr 2005 10:05:42 -0700 Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6.git commit e8108c98dd6d65613fa0ec9d2300f89c48d554bf tree 3608de2fc88b062070a9d197eda9cac1fb9635d3 parent efa545791ff439d778f79d02255d59ff1f7ea0fc author Marcelo Tosatti Tue, 26 Apr 2005 13:09:35 -0700 committer Linus Torvalds Tue, 26 Apr 2005 13:09:35 -0700 [PATCH] PC300 pci_enable_device fix Call pci_enable_device() before looking at IRQ and resources, and pci_disable_device() when shutting the interface down. The driver requires this fix or the "pci=routeirq" workaround on 2.6.10 and later kernels. Reported and tested by Artur Lipowski. From: Bjorn Helgaas Signed-off-by: Marcelo Tosatti Signed-off-by: Linus Torvalds commit efa545791ff439d778f79d02255d59ff1f7ea0fc tree e2969eb0e579673321446e36297d060a44ca859f parent 5330e9273e2b3e372b01bb1cb75be4364f02db78 author Al Viro Tue, 26 Apr 2005 11:26:53 -0700 committer Linus Torvalds Tue, 26 Apr 2005 11:26:53 -0700 [PATCH] ppc64: trivial user annotations Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 5330e9273e2b3e372b01bb1cb75be4364f02db78 tree c05def3f207bdfca1eb9fac67d01329dd033643e parent 97af11286d68e359f61579214ca7a7b4433fe458 author Al Viro Tue, 26 Apr 2005 11:26:53 -0700 committer Linus Torvalds Tue, 26 Apr 2005 11:26:53 -0700 [PATCH] size_t portability fixes - drivers/usb size_t is zu, ssize_t is zd... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 2d29306b231a1a0e7a70166c10e4c0f917b21334 tree ebbf8240386b01a78a7c2fc7de307184580e8208 parent 605036cf8443b9172b24954dc1fd218e2049f91b author Martin Hicks Tue, 26 Apr 2005 09:04:31 -0700 committer Tony Luck Tue, 26 Apr 2005 09:04:31 -0700 [IA64] re-enable preempt before page allocation for pgtable quicklist This is a fix to the pgtable_quicklist code. There is a GFP_KERNEL allocation in pgtable_quicklist_alloc(), which spews the usual warnings if the kernel is under heavy VM pressure and the reclaim code is invoked. re-enable preempt before we allocate the new page. This patch is against 2.6.12-rc2-mm2 Signed-off-by: Martin Hicks Signed-off-by: Tony Luck commit 97af11286d68e359f61579214ca7a7b4433fe458 tree 3d89de007d362d688bf48528b906faa9f0f29814 parent 1e14c33fe2e3409d9f34041859af52be6e4723af parent 2b49abac5855aff9b42cf2cdb5376ac805bebd86 author Linus Torvalds Tue, 26 Apr 2005 09:02:40 -0700 committer Linus Torvalds Tue, 26 Apr 2005 09:02:40 -0700 Automatic merge of kernel.org:/home/rmk/linux-2.6-serial.git commit 1e14c33fe2e3409d9f34041859af52be6e4723af tree a9df9616c5341cfeab791cc38e0ec47b99e36855 parent 766f2fa170e65948053b06c6106c8dc8526c3e14 parent bce495d865829d7a1d8102a834d3e3af32616567 author Linus Torvalds Tue, 26 Apr 2005 08:58:22 -0700 committer Linus Torvalds Tue, 26 Apr 2005 08:58:22 -0700 Automatic merge of kernel.org:/home/rmk/linux-2.6-rmk.git commit 766f2fa170e65948053b06c6106c8dc8526c3e14 tree 104eb135ed4cbcc45b8e57f9c37d5f59d1679b43 parent 9be80c0f0f61e8c0572d7c9d73b3ef839754a953 author Al Viro Tue, 26 Apr 2005 07:43:43 -0700 committer Linus Torvalds Tue, 26 Apr 2005 07:43:43 -0700 [PATCH] qla trivial iomem annotation Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit f815e8182b94f8fb5913b66454b40b484a2f70cc tree 214d245b16a664f9f638cb1931df33110070e775 parent 66768eb26c471091dc4ea1ed59b4bab7edc3d7bd author Al Viro Tue, 26 Apr 2005 07:43:42 -0700 committer Linus Torvalds Tue, 26 Apr 2005 07:43:42 -0700 [PATCH] imsttfb missing iomem annotations write_reg_le32() and read_reg_le32() expect iomem pointers... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 9be80c0f0f61e8c0572d7c9d73b3ef839754a953 tree 0ee7d15cd5f774990f89b77d350dd5b5527adabc parent 993fb38b1c0cd1a56d15aa99b337c780a538baa8 author Al Viro Tue, 26 Apr 2005 07:43:42 -0700 committer Linus Torvalds Tue, 26 Apr 2005 07:43:42 -0700 [PATCH] oprofile trivial user annotations Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 993fb38b1c0cd1a56d15aa99b337c780a538baa8 tree 784444f2d69059e6ccad8b0b83a2f21d6a5c1ea9 parent 0f73832fd8fc42dd7cc73487147f5d5b8f8d2cf0 author Al Viro Tue, 26 Apr 2005 07:43:42 -0700 committer Linus Torvalds Tue, 26 Apr 2005 07:43:42 -0700 [PATCH] amd64 rt_sigframe user annotation ->pretcode in struct rt_sigframe is a userland pointer (and already treated as such by code using that field). Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 0f73832fd8fc42dd7cc73487147f5d5b8f8d2cf0 tree 946c2cb0b309119814fcb55d3d53f12521c34c62 parent f815e8182b94f8fb5913b66454b40b484a2f70cc author Al Viro Tue, 26 Apr 2005 07:43:42 -0700 committer Linus Torvalds Tue, 26 Apr 2005 07:43:42 -0700 [PATCH] drivers/scsi NULL noise removal NULL noise in sbus scsi drivers got missed Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit b76be681f8b296c00f707220b9891934d5d74778 tree 366e343ef875ade6e76c4440053f5a5a47160924 parent 8cf381ca3c4a2410cea9615e205bc41bd4275e1e author Al Viro Tue, 26 Apr 2005 07:43:41 -0700 committer Linus Torvalds Tue, 26 Apr 2005 07:43:41 -0700 [PATCH] tpm 64bit fixes (size_t) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 9727d04aa6d58e131128b4178e742c423480d476 tree 45e8674d55df35301117862b513d54eca5af3407 parent b76be681f8b296c00f707220b9891934d5d74778 author Al Viro Tue, 26 Apr 2005 07:43:41 -0700 committer Linus Torvalds Tue, 26 Apr 2005 07:43:41 -0700 [PATCH] pegasus NULL noise removal Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 66768eb26c471091dc4ea1ed59b4bab7edc3d7bd tree b6e9c650228c037d62ae56021fd6c064c1cb8160 parent 0d3e8fe662c31d614f809d0131e134e2692d6a68 author Al Viro Tue, 26 Apr 2005 07:43:41 -0700 committer Linus Torvalds Tue, 26 Apr 2005 07:43:41 -0700 [PATCH] ppc-opc NULL noise removal Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 0d3e8fe662c31d614f809d0131e134e2692d6a68 tree 1bcde202c5a93e3054aa09e185606ec932ac0623 parent 9727d04aa6d58e131128b4178e742c423480d476 author Al Viro Tue, 26 Apr 2005 07:43:41 -0700 committer Linus Torvalds Tue, 26 Apr 2005 07:43:41 -0700 [PATCH] savagefb iomem annotations trivial iomem annotations + memset() replaced with memset_io() in a place that deals with ioremapped area. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 8cf381ca3c4a2410cea9615e205bc41bd4275e1e tree 0217478cfb220e5598fdf91f1447273f3a85001b parent 99805f47dd0ede2e96f2c62c588a0d906811ed6d author Al Viro Tue, 26 Apr 2005 07:43:40 -0700 committer Linus Torvalds Tue, 26 Apr 2005 07:43:40 -0700 [PATCH] fix SND_POWERMAC dependencies This beast is pmac-only; moreover, it won't build on other subarchitectures. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 2b49abac5855aff9b42cf2cdb5376ac805bebd86 tree 50633da8be83ec2a965edd75466dfaa9e8075499 parent 2a9604b863c854e5bee409157aabb35b6ce8ecd3 author Russell King Tue, 26 Apr 2005 15:37:45 +0100 committer Russell King Tue, 26 Apr 2005 15:37:45 +0100 [PATCH] Serial: Convert 8250_hp300 to use serial8250_{un,}register_port Convert 8250_hp300 to use serial8250_register_port() and serial8250_unregister_port(). Tested by Kars de Jong, 4/4/2005. Signed-off-by: Russell King commit 2a9604b863c854e5bee409157aabb35b6ce8ecd3 tree 5e806532eb739615ba0cc21797707a44fea83423 parent 45849282bfd7543253761cbf7db96151b05e5ed1 author Russell King Tue, 26 Apr 2005 15:32:00 +0100 committer Russell King Tue, 26 Apr 2005 15:32:00 +0100 [PATCH] Serial: Move error path processing inline With unlikely() there's no need for the error path to use gotos. Signed-off-by: Russell King commit 45849282bfd7543253761cbf7db96151b05e5ed1 tree 1e02a8874f487041795f27427d2ee22e8c236c8c parent b453257f057b834fdf9f4a6ad6133598b79bd982 author Russell King Tue, 26 Apr 2005 15:29:44 +0100 committer Russell King Tue, 26 Apr 2005 15:29:44 +0100 [PATCH] Serial: Ensure error paths are marked with unlikely() Ensure ARM serial driver error paths are marked with the unlikely() compiler hint. Signed-off-by: Russell King commit 99805f47dd0ede2e96f2c62c588a0d906811ed6d tree b8256eb1e09d04fb986d182528e0cb1becc8dc19 parent a1342206e192709a405485dbe2e647d5c4005d20 parent 9719b0c298bd6a4a608843dc989a5f94cd0a7c13 author Linus Torvalds Tue, 26 Apr 2005 07:22:55 -0700 committer Linus Torvalds Tue, 26 Apr 2005 07:22:55 -0700 Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6.git/ commit bce495d865829d7a1d8102a834d3e3af32616567 tree 7adb68ca1e724bace46271258b2500aa2869ddc9 parent f4dc9a4cf26278f5b608d6e4bd16e7b27ddcf1a5 author Russell King Tue, 26 Apr 2005 15:21:02 +0100 committer Russell King Tue, 26 Apr 2005 15:21:02 +0100 [PATCH] ARM: make entry*.S includes more logical Move common includes to entry-header, and file specific includes to the relevant file. Signed-off-by: Russell King commit f4dc9a4cf26278f5b608d6e4bd16e7b27ddcf1a5 tree 79d956ff351892230ca46e4a30249b446e62daaf parent cf88b417f9b1365c5aeeffa5c41208be68adfd76 author Russell King Tue, 26 Apr 2005 15:20:34 +0100 committer Russell King Tue, 26 Apr 2005 15:20:34 +0100 [PATCH] ARM: Remove single-use user save/restore macros Assembly macros are pointless if they're only used once. Move them inline. Signed-off-by: Russell King commit cf88b417f9b1365c5aeeffa5c41208be68adfd76 tree ffc3be3dff7e20e2ad5367fa8d6d0d2f0baa8a24 parent acaca3c91536491119e97d428c1da935f411cc9a author Russell King Tue, 26 Apr 2005 15:20:12 +0100 committer Russell King Tue, 26 Apr 2005 15:20:12 +0100 [PATCH] ARM: remove PT_TRACESYS PT_TRACESYS is unused, remove it. Signed-off-by: Russell King commit acaca3c91536491119e97d428c1da935f411cc9a tree 212c1193f17d263b25df6f7ce636608c5c52508b parent e0f9f4a622cec66d09a5d9339f048877c665cec3 author Russell King Tue, 26 Apr 2005 15:19:48 +0100 committer Russell King Tue, 26 Apr 2005 15:19:48 +0100 [PATCH] ARM: Remove SVC_MODE definition SVC_MODE reflects the MODE_SVC definition in asm/ptrace.h. Use the asm/ptrace.h definition instead, and remove SVC_MODE. Signed-off-by: Russell King commit e0f9f4a622cec66d09a5d9339f048877c665cec3 tree 475dfd298c7151380e6a5bb64ec7d7d03c33dded parent 925c8a1a8cb9d7a33a8e39516d7fb679030553fc author Russell King Tue, 26 Apr 2005 15:19:24 +0100 committer Russell King Tue, 26 Apr 2005 15:19:24 +0100 [PATCH] ARM: Use __NR_SYSCALL_BASE and __ARM_NR_BASE in asm code Don't define our own local constants, but use those already defined in asm/unistd.h instead. Signed-off-by: Russell King commit a1342206e192709a405485dbe2e647d5c4005d20 tree 0394ae057dd8012c852ef08acbb3d02c27e665b2 parent b453257f057b834fdf9f4a6ad6133598b79bd982 parent 5523662c4cd585b892811d7bb3e25d9a787e19b3 author Linus Torvalds Tue, 26 Apr 2005 07:19:05 -0700 committer Linus Torvalds Tue, 26 Apr 2005 07:19:05 -0700 Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6.git commit 925c8a1a8cb9d7a33a8e39516d7fb679030553fc tree 47cefc6d9eb3d8d81613e3fbd790a22d1edb23b1 parent 1ec42c0c97186fadc48810ccaf2dc573cd957ea1 author Russell King Tue, 26 Apr 2005 15:18:59 +0100 committer Russell King Tue, 26 Apr 2005 15:18:59 +0100 [PATCH] ARM: pt_regs offsets Generate pt_regs S_xx offsets from the structure itself instead of #defining them. Signed-off-by: Russell King commit 1ec42c0c97186fadc48810ccaf2dc573cd957ea1 tree 5476806ed2a9a37409a01b638c9cd62d0ca966a0 parent 7933523dc75823342dbd70a27760a82a5302baf4 author Russell King Tue, 26 Apr 2005 15:18:26 +0100 committer Russell King Tue, 26 Apr 2005 15:18:26 +0100 [PATCH] ARM: Remove argument for disable_irq/enable_irq Since we do not require a register for these operations, we can remove this unnecessary argument. Signed-off-by: Russell King commit 7933523dc75823342dbd70a27760a82a5302baf4 tree 3baf443d6a598b8daa15ddd39565f0060d1867a9 parent 2fac6f3fec2303649e9cd572255776cb93d3f888 author Russell King Tue, 26 Apr 2005 15:17:42 +0100 committer Russell King Tue, 26 Apr 2005 15:17:42 +0100 [PATCH] ARM: remove some entry initialisation asm code Convert the trivial vector entry initialisation code to C code. Signed-off-by: Russell King commit 5523662c4cd585b892811d7bb3e25d9a787e19b3 tree 6ecf1032436887880268bcbf12e014264f705115 parent 088dd3a45fdb8fb726cd50575856562c4f6f1c3e author Al Viro Mon, 25 Apr 2005 21:40:39 -0700 committer David S. Miller Mon, 25 Apr 2005 21:40:39 -0700 [NET]: kill gratitious includes of major.h A lot of places in there are including major.h for no reason whatsoever. Removed. And yes, it still builds. The history of that stuff is often amusing. E.g. for net/core/sock.c the story looks so, as far as I've been able to reconstruct it: we used to need major.h in net/socket.c circa 1.1.early. In 1.1.13 that need had disappeared, along with register_chrdev(SOCKET_MAJOR, "socket", &net_fops) in sock_init(). Include had not. When 1.2 -> 1.3 reorg of net/* had moved a lot of stuff from net/socket.c to net/core/sock.c, this crap had followed... Signed-off-by: Al Viro Signed-off-by: David S. Miller commit 088dd3a45fdb8fb726cd50575856562c4f6f1c3e tree 2cd53e54235456b621a67590817e0e6b7b735a5f parent 04237dddd14375fce1df4bfb1be92a35aa1c247f author James Morris Mon, 25 Apr 2005 21:39:29 -0700 committer David S. Miller Mon, 25 Apr 2005 21:39:29 -0700 [TCP]: Trivial tcp_data_queue() cleanup This patch removes a superfluous intialization from tcp_data_queue(). Signed-off-by: James Morris Signed-off-by: David S. Miller commit b453257f057b834fdf9f4a6ad6133598b79bd982 tree fd1621a8c03331bd78abfe52c8c385977d0a9729 parent 94f2f715771d0aa5554451d1e2a920f11b8be3fe author Al Viro Mon, 25 Apr 2005 18:32:13 -0700 committer Linus Torvalds Mon, 25 Apr 2005 18:32:13 -0700 [PATCH] kill gratitious includes of major.h under net/* A lot of places in there are including major.h for no reason whatsoever. Removed. And yes, it still builds. The history of that stuff is often amusing. E.g. for net/core/sock.c the story looks so, as far as I've been able to reconstruct it: we used to need major.h in net/socket.c circa 1.1.early. In 1.1.13 that need had disappeared, along with register_chrdev(SOCKET_MAJOR, "socket", &net_fops) in sock_init(). Include had not. When 1.2 -> 1.3 reorg of net/* had moved a lot of stuff from net/socket.c to net/core/sock.c, this crap had followed... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 94f2f715771d0aa5554451d1e2a920f11b8be3fe tree 07ebba8f6bbb91627c64c1f27e91e916dfd70756 parent 7366d36cb967d7a3ac324c789a8b718e61d01b31 author Al Viro Mon, 25 Apr 2005 18:32:12 -0700 committer Linus Torvalds Mon, 25 Apr 2005 18:32:12 -0700 [PATCH] isofs includes sanitized fs/isofs includes trimmed down to something resembling sanity. Kernel-only parts of linux/iso_fs.h and entire linux/iso_fs_{sb,i}.h moved to fs/isofs/isofs.h. A lot of useless #include in fs/isofs/*.c killed. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 7366d36cb967d7a3ac324c789a8b718e61d01b31 tree 131671cdfb498727ed64bf49d52c846743e31a6d parent 2c6e75999000ebc942526466dbd0de37bfac73a4 author Al Viro Mon, 25 Apr 2005 18:32:12 -0700 committer Linus Torvalds Mon, 25 Apr 2005 18:32:12 -0700 [PATCH] ppc annotations: i2c-mpc Usual iomem annotations and NULL noise removal. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 2c6e75999000ebc942526466dbd0de37bfac73a4 tree 5a3c9d98da4f744fa1cedc32cb74c6dc124adc57 parent ab2fd30b668b1687a9ca9e9ea0b60145deeafe84 author Al Viro Mon, 25 Apr 2005 18:32:12 -0700 committer Linus Torvalds Mon, 25 Apr 2005 18:32:12 -0700 [PATCH] ppc annotations: mpsc Usual iomem annotations + NULL noise removal. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit ab2fd30b668b1687a9ca9e9ea0b60145deeafe84 tree eba2812d94c3a6add143b7ee182e4411a9f3d994 parent 25ee7e3832951cf5896b194f6cd929a44863f419 parent 2fac6f3fec2303649e9cd572255776cb93d3f888 author Linus Torvalds Mon, 25 Apr 2005 16:19:32 -0700 committer Linus Torvalds Mon, 25 Apr 2005 16:19:32 -0700 Automated merge of kernel.org:/home/rmk/linux-2.6-rmk.git commit 2fac6f3fec2303649e9cd572255776cb93d3f888 tree 091344bb955417f32aa60f9693612fc06d1079a4 parent 41130d37a449dbff3593c8585a102d5e9173eea7 author Deepak Saxena Mon, 25 Apr 2005 23:40:05 +0100 committer Russell King Mon, 25 Apr 2005 23:40:05 +0100 [PATCH] ARM: 2653/1: Fix memset and memzero macro double-reference of parameters Patch from Deepak Saxena The current memset() and memzero() macros on ARM reference the incoming parameters more than once and this can cause uninted side-effects. The issue was found while debugging SCTP protocol and with the specific usage of memzero(skb_put(skb,size),size). This call would call skb_put(skb,size) twice leading to badness. The fixed version copies the incoming parameters into local variables and uses those instead. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 41130d37a449dbff3593c8585a102d5e9173eea7 tree a79bd156ecd866cf39527c8f279b1c6efce8c1eb parent eec99e345e0568767009341ac35fb5a499301499 author Jeff Lackey Mon, 25 Apr 2005 23:38:55 +0100 committer Russell King Mon, 25 Apr 2005 23:38:55 +0100 [PATCH] ARM: 2650/1: PXA27x sleep - workaround Errata 39 & 50 (Patch 2667) Patch from Jeff Lackey This patch updates arch/arm/mach-pxa/sleep.S to support the PXA270 CPU. It works around Errata 39 & 50 from the Intel(R) PXA27x Processor Family Specification Update. Signed-off-by: Jeff Lackey Signed-off-by: Russell King commit 04237dddd14375fce1df4bfb1be92a35aa1c247f tree d2c8e35c19f7cac7a1d3e5a7bc55d76835d2a7e0 parent 52f6d697dc0f2c039e8413e780b0f45ddf8161fc author Michael Chan Mon, 25 Apr 2005 15:17:17 -0700 committer David S. Miller Mon, 25 Apr 2005 15:17:17 -0700 [TG3]: Fix tg3_restart_ints() tg3_restart_ints() is called to re-enable interrupts after tg3_poll() has finished all the work. It calls tg3_cond_int() to force an interrupt if the status block updated bit is set. The updated bit will be set if there is a new status block update sometime during tg3_poll() and it can be very often. The worst part is that even if all the work has been processed, the updated bit remains set and an interrupt will be forced unnecessarily. The fix is to call tg3_has_work() instead to determine if new work is posted before forcing an interrupt. The way to force an interrupt is also changed to use "coalesce_now" instead of "SETINT". The former is generally a safer way to force the interrupt. Also deleted the first parameter to tg3_has_work() which is unused. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 52f6d697dc0f2c039e8413e780b0f45ddf8161fc tree 41e9c7d722b4cd83ed2f6d5c0ae13581e309ec75 parent 483ba50bd41d14d5325d6cd9935de86a982d08a2 author Michael Chan Mon, 25 Apr 2005 15:14:32 -0700 committer David S. Miller Mon, 25 Apr 2005 15:14:32 -0700 [TG3]: Refresh hw index in tg3_rx() This patch refreshes the hw rx producer in tg3_rx() so that additional work posted by the hardware can be processed. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 483ba50bd41d14d5325d6cd9935de86a982d08a2 tree 885f84a0fe56ed5e3d793a5414c8ec5bb6c8a633 parent cbdbf00aaf0addd391259f94aaa8e7dc1bfc9081 author Michael Chan Mon, 25 Apr 2005 15:14:03 -0700 committer David S. Miller Mon, 25 Apr 2005 15:14:03 -0700 [TG3]: Fix bug in tg3_rx() This patch fixes a bug that causes tg3_has_work() to always return 1. rx work is determined by comparing tp->rx_rcb_ptr with the current hw producer index. The hw producer index is modulo the ring size, but tp- >rx_rcb_ptr is a free running counter that goes up beyond the ring size. After the ring wraps around once, tg3_has_work() will always return 1. The fix is to always do modulo arithmetic on tp->rx_rcb_ptr. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit eec99e345e0568767009341ac35fb5a499301499 tree 35f6443b6e84873a53ab2162cfbc8f9323d2b435 parent bd7b170201149fd82bc3212cb570a7a7386463a4 author Lucas Correia Villa Real Mon, 25 Apr 2005 23:13:15 +0100 committer Russell King Mon, 25 Apr 2005 23:13:15 +0100 [PATCH] ARM: 2645/1: Adds IIS definitions for the S3C2400 Patch from Lucas Correia Villa Real Adds IISFCON definitions for the S3C2400 at include/asm-arm/arch-s3c2400/regs-iis.h. Signed-off-by: Lucas Correia Villa Real Signed-off-by: Ben Dooks Signed-off-by: Russell King commit bd7b170201149fd82bc3212cb570a7a7386463a4 tree 3266b071178016adaad3a1684a2fe2648d24b238 parent b7ebcc108a1754a1d044b49c0acf977a7e86ae71 author Lucas Correia Villa Real Mon, 25 Apr 2005 23:12:50 +0100 committer Russell King Mon, 25 Apr 2005 23:12:50 +0100 [PATCH] ARM: 2644/1: Adds S3C2400 support to uncompress.h Patch from Lucas Correia Villa Real The S3C2400 doesn't have a cpuid information stored anywhere. This patch adds support to the S3C2400 at include/asm-arm/arch-s3c2400/uncompress.h by initializing the cpuid variable to the S3C2410, as they share the same routine. The GSTATUS1 pin is then used only if not compiling for the S3C2400. Signed-off-by: Lucas Correia Villa Real Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 605036cf8443b9172b24954dc1fd218e2049f91b tree 6c74011e73452ff0a4d3212fef5373b241a843b0 parent fc626b278a05a0fe3eb9abd1733120f2f400cbcd author Jesse Barnes Mon, 25 Apr 2005 13:31:04 -0700 committer Tony Luck Mon, 25 Apr 2005 13:31:04 -0700 From: jbarnes@sgi.com [IA64] fix ia64 Kconfig to allow CONFIG_PM on sn2 This probably should have been fixed when I fixed up the generic build for discontig+numa machines, but oh well. CONFIG_PM is allowable for generic builds but not for sn2 builds, which doesn't make much sense, and in fact breaks the build if recent ACPI bits are added to the tree. It looks like the only arch that needs to prevent CONFIG_PM stuff is the ski simulator (though those options could probably use some cleanup as well), so remove the big conditional and replace it with a simple test for IA64_HP_SIM instead. Signed-off-by: Jesse Barnes Signed-off-by: Tony Luck commit fc626b278a05a0fe3eb9abd1733120f2f400cbcd tree f9eb4dabb5ee45700b4f422dcf6bbaa27c7cc58e parent 67639deb099c6085acc447c1b7d6a17792dedad0 author Greg Howard Mon, 25 Apr 2005 13:29:46 -0700 committer Tony Luck Mon, 25 Apr 2005 13:29:46 -0700 [IA64-SGI] snsc_event.c new file Forgot the "bk new" to add this file. Part of the patch from Greg Howard Signed-off-by: Tony Luck commit 67639deb099c6085acc447c1b7d6a17792dedad0 tree b9cdf0d92ff2c02e7ed182a93d7ea270ba752b10 parent b9e41d7fb62ae26adee84c18048037214ce5d866 author Greg Howard Mon, 25 Apr 2005 13:28:52 -0700 committer Tony Luck Mon, 25 Apr 2005 13:28:52 -0700 [IA64] Altix system controller event handling The following is an update of the patch I sent yesterday (3/9/05) incorporating suggestions from Christoph Hellwig and Andreas Schwab. It allows Altix and Altix-like systems to handle environmental events generated by the system controllers, and should apply on top of Jack Steiner's patch of 3/1/05 ("New chipset support for SN platform") and Mark Goodwin's patch of 3/8/05 ("Altix SN topology support for new chipsets and pci topology"). Signed-off-by: Greg Howard Signed-off-by: Tony Luck commit b9e41d7fb62ae26adee84c18048037214ce5d866 tree d39f224bce0113f860417f81acceb5d2cb8428b3 parent e1ed81ab7a34fc0f92f2e200825bdb6d86d6c8ef author Kenji Kaneshige Mon, 25 Apr 2005 13:27:48 -0700 committer Tony Luck Mon, 25 Apr 2005 13:27:48 -0700 [IA64] iosapic.c: typo ... s/spin_unlock_irq/spin_unlock/ vector sharing patch had a typo ... mismatched spin_lock() with a spin_unlock_irq(). Fix from Kenji Kaneshige. Signed-off-by: Tony Luck commit e1ed81ab7a34fc0f92f2e200825bdb6d86d6c8ef tree 488b22465b9108142b2df16d6e267b0ddda2b839 parent 24eeb568aeeaee771b9f0a6fd6f5d01040a887da author Tony Luck Mon, 25 Apr 2005 13:27:12 -0700 committer Tony Luck Mon, 25 Apr 2005 13:27:12 -0700 [IA64] print "siblings" before {physical,core,thread} id Rohit and Suresh changed their mind about the order to print things in /proc/cpuinfo, but didn't include the change in the version of the patch they sent to me. Signed-off-by: Tony Luck commit 24eeb568aeeaee771b9f0a6fd6f5d01040a887da tree 4d3e731845cde292b5a40ff7db97cce639dc073c parent e927ecb05e1ce4bbb1e10f57008c94994e2160f5 author Kenji Kaneshige Mon, 25 Apr 2005 13:26:23 -0700 committer Tony Luck Mon, 25 Apr 2005 13:26:23 -0700 [IA64] vector sharing (Large I/O system support) Current ia64 linux cannot handle greater than 184 interrupt sources because of the lack of vectors. The following patch enables ia64 linux to handle greater than 184 interrupt sources by allowing the same vector number to be shared by multiple IOSAPIC's RTEs. The design of this patch is besed on "Intel(R) Itanium(R) Processor Family Interrupt Architecture Guide". Even if you don't have a large I/O system, you can see the behavior of vector sharing by changing IOSAPIC_LAST_DEVICE_VECTOR to fewer value. Signed-off-by: Kenji Kaneshige Signed-off-by: Tony Luck commit e927ecb05e1ce4bbb1e10f57008c94994e2160f5 tree bc8256cc074f02d557088696035982fa7ae0b301 parent 6118ec847e8e35393efc0f88394c2f5dd48c3313 author Suresh Siddha Mon, 25 Apr 2005 13:25:06 -0700 committer Tony Luck Mon, 25 Apr 2005 13:25:06 -0700 [IA64] multi-core/multi-thread identification Version 3 - rediffed to apply on top of Ashok's hotplug cpu patch. /proc/cpuinfo output in step with x86. This is an updated MC/MT identification patch based on the previous discussions on list. Add the Multi-core and Multi-threading detection for IPF. - Add new core and threading related fields in /proc/cpuinfo. Physical id Core id Thread id Siblings - setup the cpu_core_map and cpu_sibling_map appropriately - Handles Hot plug CPU Signed-off-by: Suresh Siddha Signed-off-by: Gordon Jin Signed-off-by: Rohit Seth Signed-off-by: Tony Luck commit 6118ec847e8e35393efc0f88394c2f5dd48c3313 tree 81b1eb429f1d7154ec7a36c3b6c0418ba2029f02 parent f0a8d3c9ec1f82d2a41faa6c46b8db7bd5b1eb8d author Keith Owens Mon, 25 Apr 2005 13:23:47 -0700 committer Tony Luck Mon, 25 Apr 2005 13:23:47 -0700 [IA64] __copy_user breaks on unaligned src memcpy_mck.S::__copy_user breaks in the prefetch code under these conditions :- * src is unaligned and * dst is near the end of a page and * the page after dst is unmapped. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit f0a8d3c9ec1f82d2a41faa6c46b8db7bd5b1eb8d tree 2b01c7a6d8513e9b08749d3c9cdafdc2cbf19d6b parent 0985ea8f2db87d32b0b750229889e55fed7458ef author Tony Luck Mon, 25 Apr 2005 13:22:44 -0700 committer Tony Luck Mon, 25 Apr 2005 13:22:44 -0700 [IA64] Need to handle lfetch in "no_context" case. Thanks to Mark for tracking down this one. Users of __copy_from_user_inatomic() will be sad if we don't handle lfetch faults for the "no_context" case. Signed-off-by: Tony Luck commit 0985ea8f2db87d32b0b750229889e55fed7458ef tree 76e292f65c01b5f298a7a8d5a03287229c4be3a3 parent a37d98f6a98254c05315e0bbf45c4602942d14b1 author Mark Goodwin Mon, 25 Apr 2005 13:21:54 -0700 committer Tony Luck Mon, 25 Apr 2005 13:21:54 -0700 [IA64-SGI] Altix SN add support for slots in geoid_t locator This patch against ia64-test-2.6.12 is needed for forthcoming Altix chipsets. It renames geoid_any_t to geoid_common_t and splits the 8bit 'slab' field into two 4bit fields for 'slab' and 'slot'. Similar changes in the Altix SAL will retain backward compatibility for old kernels. Signed-off-by: Mark Goodwin Signed-off-by: Tony Luck commit a37d98f6a98254c05315e0bbf45c4602942d14b1 tree 8d6a3b98118866319a76d719efa9d7fbe5914854 parent 93a07d0a0e7b013ee73fb39d4edb07b47288912e author David Mosberger-Tang Mon, 25 Apr 2005 13:20:38 -0700 committer Tony Luck Mon, 25 Apr 2005 13:20:38 -0700 [IA64] fix syscall-optimization goof Sadly, I goofed in this syscall-tuning patch: ChangeSet 1.1966.1.40 2005/01/22 13:31:05 davidm@hpl.hp.com [IA64] Improve ia64_leave_syscall() for McKinley-type cores. Optimize ia64_leave_syscall() a bit better for McKinley-type cores. The patch looks big, but that's mostly due to renaming r16/r17 to r2/r3. Good for a 13 cycle improvement. The problem is that the size of the physical stacked registers was loaded into the wrong register (r3 instead of r17). Since r17 by coincidence always had the value 1, this had the effect of turning rse_clear_invalid into a no-op. That poses the risk of leaking kernel state back to user-land and is hence not acceptable. The fix below is simple, but unfortunately it costs us about 28 cycles in syscall overhead. ;-( Unfortunately, there isn't much we can do about that since those registers have to be cleared one way or another. --david Signed-off-by: Tony Luck commit 93a07d0a0e7b013ee73fb39d4edb07b47288912e tree e68ba0b39bcc8a9e844889af1229c024be29e95c parent 95ff439a517835aa2bdf725fafbb025a63984289 author Russ Anderson Mon, 25 Apr 2005 13:19:52 -0700 committer Tony Luck Mon, 25 Apr 2005 13:19:52 -0700 [IA64-SGI] Shub2 BTE support - BTE recovery code patch 2: Shub2 BTE recovery code will be implemented in SAL. Define the SAL interface. Modify bte_error to call SAL for shub2. Signed-off-by: Russ Anderson Signed-off-by: Tony Luck commit 95ff439a517835aa2bdf725fafbb025a63984289 tree 4d04b1bfcbe4a4c0b27e7b58e3edb77b4111a3a2 parent 4628d7cada7a19166ba8fe57f5ef0f0009694e1e author Russ Anderson Mon, 25 Apr 2005 13:19:11 -0700 committer Tony Luck Mon, 25 Apr 2005 13:19:11 -0700 [IA64-SGI] Add new MMR definitions/Modify BTE initialiation©. patch 1: Add new MMR definitions. Modify BTE initialiation. Modify BTE copy. Signed-off-by: Russ Anderson Signed-off-by: Tony Luck commit 4628d7cada7a19166ba8fe57f5ef0f0009694e1e tree 86fa31598303768755a4caeee662b4c999c3a929 parent e96c9b4779e651a7469bea677be3a08f70be399e author Mark Maule Mon, 25 Apr 2005 13:18:02 -0700 committer Tony Luck Mon, 25 Apr 2005 13:18:02 -0700 [IA64-SGI] disable TIOCA GART TLB prefetching Patch to disable SGI TIOCA GART TLB prefetching due to hw bug. Signed-off-by: Mark Maule Signed-off-by: Tony Luck commit e96c9b4779e651a7469bea677be3a08f70be399e tree 12ae1cb3dde60b65dc2682371624260de6cea79a parent c411cb56586915350e4cdb6f228e9da2adba3285 author Tony Luck Mon, 25 Apr 2005 13:16:59 -0700 committer Tony Luck Mon, 25 Apr 2005 13:16:59 -0700 [IA64] MAX_PGT_FREES_PER_PASS must be 'L' to avoid warning 'min' is very picky about types of arguments, make it happy Signed-off-by: Tony Luck commit c411cb56586915350e4cdb6f228e9da2adba3285 tree 61cf8e8eb97592d2e3d8e7524dfabde731d97d12 parent 5f6602a101993592b437b801c401443bec65d0cf author Tony Luck Mon, 25 Apr 2005 13:16:16 -0700 committer Tony Luck Mon, 25 Apr 2005 13:16:16 -0700 [IA64] fix: warning: `ql_size' might be used uninitialized Oops. Should have caught this before I checked it in. Signed-off-by: Tony Luck commit 5f6602a101993592b437b801c401443bec65d0cf tree 603ce367a349b9454a7f6b77953b3ecdf194ec68 parent fde740e4dd4a05ca8957490d468fa9b2770f5bd6 author Alex Williamson Mon, 25 Apr 2005 13:14:36 -0700 committer Tony Luck Mon, 25 Apr 2005 13:14:36 -0700 [IA64] sba_iommu bug fixes This fixes a couple of bugs in the zx1/sx1000 sba_iommu. These are all pretty low likelihood of hitting. The first problem is a simple off by one, deep in the sba_alloc_range() error path. Surrounding that was a lock ordering problem that could have potentially deadlocked with the order the locks are grabbed in sba_unmap_single(). I moved the resource locking into sba_search_bitmap() to prevent this. Finally, there's a potential race between unmapping pdir entries and marking incoming DMA pages clean. If you see any oddities, please let me know, but I've tested it pretty thoroughly here. Tony, please apply. Thanks, BTW, many of the options in this driver not on by default are becoming more and more broken. I'll be working on some patches to clean them out, but I wanted to get this bug fix out first. Signed-off-by: Alex Williamson Signed-off-by: Tony Luck commit fde740e4dd4a05ca8957490d468fa9b2770f5bd6 tree 04bc0221bc6c59379a17f3631fc4bd3c886e1d61 parent ff3eb55ed97db3f12964beeffe3d34602d295367 author Robin Holt Mon, 25 Apr 2005 13:13:16 -0700 committer Tony Luck Mon, 25 Apr 2005 13:13:16 -0700 [IA64] Percpu quicklist for combined allocator for pgd/pmd/pte. This patch introduces using the quicklists for pgd, pmd, and pte levels by combining the alloc and free functions into a common set of routines. This greatly simplifies the reading of this header file. This patch is simple but necessary for large numa configurations. It simply ensures that only pages from the local node are added to a cpus quicklist. This prevents the trapping of pages on a remote nodes quicklist by starting a process, touching a large number of pages to fill pmd and pte entries, migrating to another node, and then unmapping or exiting. With those conditions, the pages get trapped and if the machine has more than 100 nodes of the same size, the calculation of the pgtable high water mark will be larger than any single node so page table cache flushing will never occur. I ran lmbench lat_proc fork and lat_proc exec on a zx1 with and without this patch and did not notice any change. On an sn2 machine, there was a slight improvement which is possibly due to pages from other nodes trapped on the test node before starting the run. I did not investigate further. This patch shrinks the quicklist based upon free memory on the node instead of the high/low water marks. I have written it to enable preemption periodically and recalculate the amount to shrink every time we have freed enough pages that the quicklist size should have grown. I rescan the nodes zones each pass because other processess may be draining node memory at the same time as we are adding. Signed-off-by: Robin Holt Signed-off-by: Tony Luck commit ff3eb55ed97db3f12964beeffe3d34602d295367 tree 91a29b33ec016e8fb5280e6896f2faf26bd69e54 parent c1298c5c7e5763a3b2fd4a9535d474ff6e54cd53 author Bruce Losure Mon, 25 Apr 2005 13:12:02 -0700 committer Tony Luck Mon, 25 Apr 2005 13:12:02 -0700 [IA64-SGI] Missed the "bk new" for this file in the last commit. Signed-off-by: Bruce Losure Signed-off-by: Tony Luck commit c1298c5c7e5763a3b2fd4a9535d474ff6e54cd53 tree 9235aeedfff44ddb7330ce119ad285bf92e65253 parent e1e19747ecce9117610b8f3b57a3e95734230319 author Aaron J Young Mon, 25 Apr 2005 13:11:14 -0700 committer Tony Luck Mon, 25 Apr 2005 13:11:14 -0700 [IA64-SGI] Altix: enable poweroff This patch adds the necessary "hook" to allow SGI/SN machines to perform a system power off upon a 'init 0', 'halt -p', 'poweroff' or 'shutdown -h'. The "hook" is to set the pm_power_off callback to ia64_sn_power_down(). pm_power_off is checked in machine_power_off()/do_poweroff() and, if set, is executed. ia64_sn_power_down() is a function already present (but not used currently) in the sn kernel. ia64_sn_power_down() makes a SAL call to execute the power off. Signed-off-by: Aaron J Young Signed-off-by: Tony Luck commit e1e19747ecce9117610b8f3b57a3e95734230319 tree df3d9ed57ad8155de89d1d80bbfec1833d2621fb parent 4944930ab748942e41ea4dc313fcb0946aee3f17 author Bruce Losure Mon, 25 Apr 2005 13:09:41 -0700 committer Tony Luck Mon, 25 Apr 2005 13:09:41 -0700 [IA64-SGI] Bus driver for the CX port of SGI's TIO chip. This patch is to provide CX port infrastructure for SGI TIO-based h/w. Also a 'core services' driver for SGI FPGA-based h/w. Signed-off-by: Bruce Losure Signed-off-by: Tony Luck commit 4944930ab748942e41ea4dc313fcb0946aee3f17 tree 5d23e420c0d7f4387237028ca2dca1ec97f59861 parent 658b32cad9ae087bd34f35a925fd75b76d663d4e author Stephane Eranian Mon, 25 Apr 2005 13:08:30 -0700 committer Tony Luck Mon, 25 Apr 2005 13:08:30 -0700 [IA64] perfmon: make pfm_sysctl a global, and other cleanup - make pfm_sysctl a global such that it is possible to enable/disable debug printk in sampling formats using PFM_DEBUG. - remove unused pfm_debug_var variable - fix a bug in pfm_handle_work where an BUG_ON() could be triggered. There is a path where pfm_handle_work() can be called with interrupts enabled, i.e., when TIF_NEED_RESCHED is set. The fix correct the masking and unmasking of interrupts in pfm_handle_work() such that we restore the interrupt mask as it was upon entry. signed-off-by: stephane eranian Signed-off-by: Tony Luck commit 658b32cad9ae087bd34f35a925fd75b76d663d4e tree b742c5e1e756912fe6f6a81ebb4a9db814c641e7 parent be539c73b54dcc9f54fb2c2b70e204c93b616c9b author Colin Ngam Mon, 25 Apr 2005 13:07:00 -0700 committer Tony Luck Mon, 25 Apr 2005 13:07:00 -0700 [IA64-SGI] support variable length nasids in shub2 This patch enables our TIO IO chipset to support variable length nasids in Shub2 chipset. Signed-off-by: Colin Ngam Signed-off-by: Tony Luck commit be539c73b54dcc9f54fb2c2b70e204c93b616c9b tree 2416682e77842ccde4301edb9b7a2182b847ce10 parent f1e2a1c8a1fe16db5f4a7c0c1551d6e1b97dcbb2 author Colin Ngam Mon, 25 Apr 2005 13:06:28 -0700 committer Tony Luck Mon, 25 Apr 2005 13:06:28 -0700 [IA64-SGI] Shub2 provides an addition of 2 External Interrupt events. Signed-off-by: Colin Ngam Signed-off-by: Tony Luck commit f1e2a1c8a1fe16db5f4a7c0c1551d6e1b97dcbb2 tree b85b5659b94cdb1f656f11f4761fe0836c011076 parent 4a5c13c7eb0d55bfd2cf3100c55f1e3d8df37576 author Mark Goodwin Mon, 25 Apr 2005 13:05:08 -0700 committer Tony Luck Mon, 25 Apr 2005 13:05:08 -0700 [IA64-SGI] Altix SN topology fix potential infinite loop Fix infinite loop if sn_hwperf_location_to_bpos() fails. Signed-off-by: Mark Goodwin Signed-off-by: Tony Luck commit 4a5c13c7eb0d55bfd2cf3100c55f1e3d8df37576 tree 400e51f79f9ba6d34c66401e1760a51e792d14aa parent 30325d17715302a60c9afdaacaafaeb056b7e880 author Mark Goodwin Mon, 25 Apr 2005 13:04:22 -0700 committer Tony Luck Mon, 25 Apr 2005 13:04:22 -0700 [IA64-SGI] Altix SN topology support for new chipsets and pci topology please accept this patch to the Altix SN platform topology export interface to support new chipsets and to export PCI topology. This follows on top of Jack Steiner's patch dated March 1st ("New chipset support for SN platform"). Signed-off-by: Mark Goodwin Signed-off-by: Tony Luck commit 30325d17715302a60c9afdaacaafaeb056b7e880 tree 8872d59f841a5338e04f15c1183b8fd2ad4bfbb3 parent e8d1cb2f280aa53e1c75c8b5fcbf80b3481d0caa author David Mosberger-Tang Mon, 25 Apr 2005 13:03:16 -0700 committer Tony Luck Mon, 25 Apr 2005 13:03:16 -0700 [IA64] speed up syscall path a bit more Recently I noticed that clearing ar.ssd/ar.csd right before srlz.d is causing significant stalling in the syscall path. The patch below fixes that by moving the register-writes after srlz.d. On a Madison, this drops break-based getpid() from 241 to 226 cycles (-15 cycles). Signed-off-by: David Mosberger-Tang Signed-off-by: Tony Luck commit cbdbf00aaf0addd391259f94aaa8e7dc1bfc9081 tree 4f14b46e204857d300799b87883b1a181ef7a6af parent b31e5b1bb53b99dfd5e890aa07e943aff114ae1c author David S. Miller Mon, 25 Apr 2005 12:15:01 -0700 committer David S. Miller Mon, 25 Apr 2005 12:15:01 -0700 [PKT_SCHED]: Eliminate unnecessary includes in simple.c Noted by Al Viro. Signed-off-by: David S. Miller commit b31e5b1bb53b99dfd5e890aa07e943aff114ae1c tree 081d0f1223db0f7cda1fdaa3058ed4fefb28d9fc parent f649a3bfd1b0ad8872312ed1c223d69b74406e1f author Patrick McHardy Mon, 25 Apr 2005 12:01:07 -0700 committer David S. Miller Mon, 25 Apr 2005 12:01:07 -0700 [NETFILTER]: Drop conntrack reference when packet leaves IP In the event a raw socket is created for sending purposes only, the creator never bothers to check the socket's receive queue. But we continue to add skbs to its queue until it fills up. Unfortunately, if ip_conntrack is loaded on the box, each skb we add to the queue potentially holds a reference to a conntrack. If the user attempts to unload ip_conntrack, we will spin around forever since the queued skbs are pinned. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit f649a3bfd1b0ad8872312ed1c223d69b74406e1f tree 1ce19f6f84280f6c3f4709d618cd855443b5a1a4 parent 25ee7e3832951cf5896b194f6cd929a44863f419 author Yasuyuki KOZAKAI Mon, 25 Apr 2005 12:00:04 -0700 committer David S. Miller Mon, 25 Apr 2005 12:00:04 -0700 [NETFILTER]: Fix truncated sequence numbers in FTP helper Signed-off-by: Yasuyuki KOZAKAI Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit e8d1cb2f280aa53e1c75c8b5fcbf80b3481d0caa tree 832d5f4beabfc1c075dd54eebe343ad10c611c73 parent 8297511530b0d2a281c796e738683951a59a020c author Keith Owens Mon, 25 Apr 2005 11:45:26 -0700 committer Tony Luck Mon, 25 Apr 2005 11:45:26 -0700 [IA64] Tighten up unw_unwind_to_user check Detect user space by the unwind frame with predicate PRED_USER_STACK set, instead of a user space IP. Tighten up the last ditch check for running off the top of the kernel stack. Based on a suggestion by David Mosberger, reworked to fit the current tree. This survives my stress test which used to break 2.6.9 kernels. Unlike 2.6.11, the stress test now unwinds to the correct point, so gdb can get the user space registers. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit 8297511530b0d2a281c796e738683951a59a020c tree 3ade89d674db6b0791ca72704478214d0bb56ad1 parent bf1cf98fa941fea5e630e341db4a294d531aaa3e author David Mosberger-Tang Mon, 25 Apr 2005 11:44:02 -0700 committer Tony Luck Mon, 25 Apr 2005 11:44:02 -0700 [IA64] add missing cpu_relax() in ITC syncing code Call cpu_relax() in busy-waiting loops of the ITC-syncing code. Signed-off-by: David Mosberger-Tang Signed-off-by: Tony Luck commit bf1cf98fa941fea5e630e341db4a294d531aaa3e tree e6f8872acefbe2360adf9dbeea85b553e02aa557 parent 9c90bdde77f7b7a42f7ebb900275d459ce2bac05 author Jack Steiner Mon, 25 Apr 2005 11:42:39 -0700 committer Tony Luck Mon, 25 Apr 2005 11:42:39 -0700 [IA64-SGI] Change SAL call request code for SN systems Change the value of the SAL call number for a new SAL request. The initial implementation in the PROM did not match what the OS expected. Since the OS can run on PROMs that do not implement the new call, changing the call number avoids the issue. New PROMs will implement the new call number. (This avoids problems with the 4.05 PROM). Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit 9c90bdde77f7b7a42f7ebb900275d459ce2bac05 tree a196bb35cb506d2495748506fdbc9280111dee03 parent 9b08ebd167a3f3812131a54512f92c3c6738ad03 author Mark Maule Mon, 25 Apr 2005 11:35:54 -0700 committer Tony Luck Mon, 25 Apr 2005 11:35:54 -0700 [IA64-SGI] altix: tioca chip driver (agp) Provide a driver for the altix TIOCA AGP chipset. An agpgart backend will be provided as a separate patch. Signed-off-by: Mark Maule Signed-off-by: Tony Luck commit 9b08ebd167a3f3812131a54512f92c3c6738ad03 tree 759d4a02d44d233eb7de4dba4fe4626d5d6d29ac parent e955d82543fea76b02aa243b182e782f71bda82c author Mark Maule Mon, 25 Apr 2005 11:32:16 -0700 committer Tony Luck Mon, 25 Apr 2005 11:32:16 -0700 [IA64-SGI] sn2-move-pci-headers.patch Move a couple of headers out of arch/ia64/sn/include/pci and into include/asm-ia64/sn. Signed-off-by: Mark Maule Signed-off-by: Tony Luck commit e955d82543fea76b02aa243b182e782f71bda82c tree 58dc9df5161f47bca69c8dc9c819495f15694352 parent 25ee7e3832951cf5896b194f6cd929a44863f419 author Mark Maule Mon, 25 Apr 2005 11:26:03 -0700 committer Tony Luck Mon, 25 Apr 2005 11:26:03 -0700 [IA64-SGI] sn2-pci-dma-abstraction.patch Provide an abstraction of the altix pci dma runtime layer so that multiple pci-based bridges can be supported. Signed-off-by: Mark Maule Signed-off-by: Tony Luck commit b7ebcc108a1754a1d044b49c0acf977a7e86ae71 tree 8667058f519ebab164eca6184301da45791485f2 parent a3342421363642d03b2ae3ecd27e3041de043e99 author Lucas Correia Villa Real Mon, 25 Apr 2005 18:40:31 +0100 committer Russell King Mon, 25 Apr 2005 18:40:31 +0100 [PATCH] ARM: 2641/1: Adds S3C2400_SPPIN_nCS to arch-s3c2410/regs-spi.h Patch from Lucas Correia Villa Real Adds a define to the SPI Card Select bit on the S3C2400 into include/asm-arm/arch-s3c2410/regs-spi.h Signed-off-by: Lucas Correia Villa Real Signed-off-by: Russell King commit a3342421363642d03b2ae3ecd27e3041de043e99 tree d90217f63c552f70a9731a1aafed5868fe1ebc9b parent 8e293ada7d6aaee43dd56a8077b83577dd108667 author Lucas Correia Villa Real Mon, 25 Apr 2005 18:36:50 +0100 committer Russell King Mon, 25 Apr 2005 18:36:50 +0100 [PATCH] ARM: 2640/1: Adds DRAM/BANKSIZE_MASK definitions for S3C2400 Patch from Lucas Correia Villa Real Adds DRAM refresh definitions and sets the BANKSIZE_MASK for the S3C2400 on include/asm-arm/arch-s3c2400/regs-mem.h Signed-off-by: Lucas Correia Villa Real Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 25ee7e3832951cf5896b194f6cd929a44863f419 tree 5b6486ded5188e41ac9bc81ad4a5e2bd746f7ede parent 056de2fa12febe02597f971eb6ea8f2cc9c9b06e author Adrian Bunk Mon, 25 Apr 2005 08:18:14 -0700 committer Linus Torvalds Mon, 25 Apr 2005 08:18:14 -0700 [PATCH] fs/aio.c: make some code static This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk Acked-by: Benjamin LaHaise Signed-off-by: Linus Torvalds commit 056de2fa12febe02597f971eb6ea8f2cc9c9b06e tree 9771aaff44479c8ccac70fd18d1e7394fd9de264 parent dc074a8a32bc12e19436b087f01f4a4700e9b9c0 author Al Viro Mon, 25 Apr 2005 07:55:59 -0700 committer Linus Torvalds Mon, 25 Apr 2005 07:55:59 -0700 [PATCH] ppc user annotations: debug_setconetext(2) 3rd argument of sys_debug_setcontext() is also a userland pointer. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit dc074a8a32bc12e19436b087f01f4a4700e9b9c0 tree 38739592d76c9a7f12029c0ad4f0a36c11dc7367 parent 91de1fff2d431fec1162333a1e4fad9a53cd5b9e author Al Viro Mon, 25 Apr 2005 07:55:58 -0700 committer Linus Torvalds Mon, 25 Apr 2005 07:55:58 -0700 [PATCH] ppc iomem annotations: mv643xx_eth void * __iomem replaced with intended void __iomem *. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit d01daf72f0a238c5ccfba7bf82999e384927412e tree 77ad6895e968291f1a7f012f4d20696c1a04058e parent ba724a373a7184dce869e8adb79a0a03d91fbdd8 author Al Viro Mon, 25 Apr 2005 07:55:58 -0700 committer Linus Torvalds Mon, 25 Apr 2005 07:55:58 -0700 [PATCH] ppc iomem annotations: pmac_low_i2c Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit ba724a373a7184dce869e8adb79a0a03d91fbdd8 tree 794e6935c6779664c7c95ebb37bbb42d4c5a13c6 parent 92a11f9e7cb876e6cf9080e4a1642142cb9221b2 author Al Viro Mon, 25 Apr 2005 07:55:58 -0700 committer Linus Torvalds Mon, 25 Apr 2005 07:55:58 -0700 [PATCH] ppc iomem annotations: ebony_setup_pcix() Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 91de1fff2d431fec1162333a1e4fad9a53cd5b9e tree 419610113c96db5623b912f7242fb1dfe9c2fe22 parent d01daf72f0a238c5ccfba7bf82999e384927412e author Al Viro Mon, 25 Apr 2005 07:55:58 -0700 committer Linus Torvalds Mon, 25 Apr 2005 07:55:58 -0700 [PATCH] ppc sparse annotations: emulate_string_inst() replaced declaration of EA from u32 to unsigned long - this beast is used only to cast it to (userland) pointer and proper integer type for that is unsigned long. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 92a11f9e7cb876e6cf9080e4a1642142cb9221b2 tree be7957195d3f013327b45add983e5106356286e0 parent 9090e001f28de4bccae232f1b78e78fad5132ecb author Al Viro Mon, 25 Apr 2005 07:55:57 -0700 committer Linus Torvalds Mon, 25 Apr 2005 07:55:57 -0700 [PATCH] ppc iomem annotations: ->io_base_virt * ->io_base_virt in struct pci_controller is iomem pointer. Marked as such. Most of the places that used it are already annotated to expect iomem. * places that did gratitious (and wrong) casts a-la isa_io_base = (unsigned long)ioremap(...); hose->io_base_virt = (void *)isa_io_base; turned into hose->io_base_virt = ioremap(...); isa_io_base = (unsigned long)hose->io_base_virt; * pci_bus_io_base() annotated as returning iomem pointer. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 9090e001f28de4bccae232f1b78e78fad5132ecb tree 49a7ebcafb3dd05fea6ee8e4a1a88c17894c720e parent cf025109e879294f4c6aecf94de1e7b592a9fb07 author Al Viro Mon, 25 Apr 2005 07:55:57 -0700 committer Linus Torvalds Mon, 25 Apr 2005 07:55:57 -0700 [PATCH] ppc user annotations: sigcontext sigcontext.regs is a userland pointer Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit cf025109e879294f4c6aecf94de1e7b592a9fb07 tree 05758cc7548b82c3b5d5641439f2a20480475bb1 parent edec231a8a652384cb6d61e648338aa5155f2b72 parent 9a59c1860d01b3dea9ab01d5cefb9d5c52042e6d author Linus Torvalds Mon, 25 Apr 2005 07:42:22 -0700 committer Linus Torvalds Mon, 25 Apr 2005 07:42:22 -0700 Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6.git commit 9a59c1860d01b3dea9ab01d5cefb9d5c52042e6d tree be41af760482e2bc17e23d465edd0f98adc8d464 parent 24dc6ead53f8fcae4b1908c4ea3fea75ee844a6d author David S. Miller Sun, 24 Apr 2005 21:04:02 -0700 committer David S. Miller Sun, 24 Apr 2005 21:04:02 -0700 [SPARC64]: Fix SMP build. Kill build failures in the SMP+!PREEMPT case introduced by Al Viro's spinlock.h changes. Signed-off-by: David S. Miller commit 24dc6ead53f8fcae4b1908c4ea3fea75ee844a6d tree d84893bc9d156955ac40a4baad12ad477325408f parent 205a7edad99d68d57dfcbf9bdda1a6fb7c33169e author Tom 'spot' Callaway Sun, 24 Apr 2005 20:46:49 -0700 committer David S. Miller Sun, 24 Apr 2005 20:46:49 -0700 [SPARC]: dump_stack for sparc Bob Breuer wrote a patch to add dump_stack for sparc. Supposedly, this was applied, but it doesn't exist in 2.6.11. This is the same patch, rediffed against 2.6.11. Signed-off-by: Tom 'spot' Callaway Signed-off-by: David S. Miller commit 205a7edad99d68d57dfcbf9bdda1a6fb7c33169e tree 168822672277e2bc077a907a9c2b7846bd5870c5 parent 962bd5604bf8a4d31d9204e7daf260ea93084bc0 author Tom 'spot' Callaway Sun, 24 Apr 2005 20:46:00 -0700 committer David S. Miller Sun, 24 Apr 2005 20:46:00 -0700 [SPARC]: Fix mxcc warning Peter Jones uncovered this one while we were debugging the framebuffer issues. There are some references to -1 in the mxcc asm code, which should be 0xffffffff. This patch gets rid of the -1s. Signed-off-by: Tom 'spot' Callaway Signed-off-by: David S. Miller commit 962bd5604bf8a4d31d9204e7daf260ea93084bc0 tree 1aff1163866f85c2c0eb928c9e3802074d8d272b parent f1dee7ea250bfef433fc46fd69a52b73349b24de author Tom 'spot' Callaway Sun, 24 Apr 2005 20:45:06 -0700 committer David S. Miller Sun, 24 Apr 2005 20:45:06 -0700 [SPARC]: More sparc32 ksyms cleanups The sparc32 ksyms is missing a few more symbols, these are primarily related to SMP, and will be needed as SMP gets beaten back into functionality. Specifically, add __cpu_data (PER_CPU), cpu_online_map, and phys_cpu_present_map. This patch assumes that the earlier "linux-2.6.11-sparc-fixksyms.patch" is applied, otherwise, it will apply with fuzz. Signed-off-by: Tom 'spot' Callaway Signed-off-by: David S. Miller commit f1dee7ea250bfef433fc46fd69a52b73349b24de tree bd585255c8420dec94ecaa6555560985e94390bd parent 77a6a22f697bbc59cd434ff999dc34162e240f16 author Bob Breuer Sun, 24 Apr 2005 20:42:45 -0700 committer David S. Miller Sun, 24 Apr 2005 20:42:45 -0700 [SPARC]: Enable sun logo on sparc32 This enables the sun linux logo to be selected on sparc32. Signed-off-by: Bob Breuer Signed-off-by: David S. Miller commit 77a6a22f697bbc59cd434ff999dc34162e240f16 tree 038f5a7e55d53995bda5a5d714e81ab6361ed545 parent 6ee7c15294985e4e722959fd4482df60cefd2cc8 author Tom 'spot' Callaway Sun, 24 Apr 2005 20:41:45 -0700 committer David S. Miller Sun, 24 Apr 2005 20:41:45 -0700 [SPARC]: Missing sparc32 ksyms This patch adds some missing sparc32 ksyms that are needed. Specifically, ___rw_read_enter, ___rw_read_exit, ___rw_write_enter, and sys_close. Signed-off-by: Tom 'spot' Callaway Signed-off-by: David S. Miller commit 6ee7c15294985e4e722959fd4482df60cefd2cc8 tree 0fb6f4154aa91bf7ad85d47894bdfe37d6e31552 parent a271c241a6036d4d583d0f47a02ba5f18b8b92b5 author Tom 'spot' Callaway Sun, 24 Apr 2005 20:39:15 -0700 committer David S. Miller Sun, 24 Apr 2005 20:39:15 -0700 [SPARC]: TCX Framebuffer fixes Using the same logic as the other framebuffer fixes committed in 2.6.11, this is a set of fixes to make TCX functional on the console again. Adds the tcx_pan_display function, sets the all->info.var.{red,green,blue}.length values to 8, and runs fb_set_cmap. Also looks for the correct SUNW,tcx prom value. This patch just slipped through the cracks. Originally by: Georg Chini Signed-off-by: Tom 'spot' Callaway Signed-off-by: David S. Miller commit a271c241a6036d4d583d0f47a02ba5f18b8b92b5 tree 38e2dd244d64b059af1ac10a3803871b954fcfca parent 10158286e7b5347dce2285895c95419b9f6f8b63 author Tom 'spot' Callaway Sun, 24 Apr 2005 20:38:02 -0700 committer David S. Miller Sun, 24 Apr 2005 20:38:02 -0700 [SPARC]: Stop-A printk cleanup This patch is incredibly trivial, but it does resolve some of the user confusion as to what "L1-A" actually is. Clarify printk message to refer to Stop-A (L1-A). Gentoo has a virtually identical patch in their kernel sources. Signed-off-by: Tom 'spot' Callaway Signed-off-by: David S. Miller commit 10158286e7b5347dce2285895c95419b9f6f8b63 tree 97facd71256239aea471578c42d82e97d562d5cf parent 8e293ada7d6aaee43dd56a8077b83577dd108667 author Tom 'spot' Callaway Sun, 24 Apr 2005 20:35:20 -0700 committer David S. Miller Sun, 24 Apr 2005 20:35:20 -0700 [SPARC]: module version cleanups Minor cleanups for sparc specific drivers (sunbmac, sunqe, sunlance, sunhme, esp) so that they have a full module version definition that is consistent with other upstream drivers. Signed-off-by: Tom 'spot' Callaway Signed-off-by: David S. Miller commit edec231a8a652384cb6d61e648338aa5155f2b72 tree 70652aa8f30bea3ea83594cc4a47a11f7a8db89d parent c5c13fafd6548fe36b8fe9285c1912fcf96379f4 author Arnaldo Carvalho de Melo Sun, 24 Apr 2005 20:22:28 -0700 committer David S. Miller Sun, 24 Apr 2005 20:22:28 -0700 [IPV6]: export inet6_sock_nr Please apply, SCTP/DCCP needs this when INET_REFCNT_DEBUG is set. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit c5c13fafd6548fe36b8fe9285c1912fcf96379f4 tree 892a1f3c6fa74e2b75c2278c44b58a8813f770cc parent 0d3d077cd4f1154e63a9858e47fe3fb1ad0c03e5 author Thomas Graf Sun, 24 Apr 2005 20:19:54 -0700 committer David S. Miller Sun, 24 Apr 2005 20:19:54 -0700 [PKT_SCHED]: improve hashing performance of cls_fw Calculate hashtable size to fit into a page instead of a hardcoded 256 buckets hash table. Results in a 1024 buckets hashtable on most systems. Replace old naive extract-8-lsb-bits algorithm with a better algorithm xor'ing 3 or 4 bit fields at the size of the hashtable array index in order to improve distribution if the majority of the lower bits are unused while keeping zero collision behaviour for the most common use case. Thanks to Wang Jian for bringing this issue to attention and to Eran Mann for the initial idea for this new algorithm. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller commit 0d3d077cd4f1154e63a9858e47fe3fb1ad0c03e5 tree 63f376b3586412af712ffac7d500516c98f7bb2c parent aa77d26961fa4ecb11fe4209578dcd62ad15819d author Herbert Xu Sun, 24 Apr 2005 20:16:19 -0700 committer David S. Miller Sun, 24 Apr 2005 20:16:19 -0700 [SELINUX]: Fix ipv6_skip_exthdr() invocation causing OOPS. The SELinux hooks invoke ipv6_skip_exthdr() with an incorrect length final argument. However, the length argument turns out to be superfluous. I was just reading ipv6_skip_exthdr and it occured to me that we can get rid of len altogether. The only place where len is used is to check whether the skb has two bytes for ipv6_opt_hdr. This check is done by skb_header_pointer/skb_copy_bits anyway. Now it might appear that we've made the code slower by deferring the check to skb_copy_bits. However, this check should not trigger in the common case so this is OK. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit aa77d26961fa4ecb11fe4209578dcd62ad15819d tree eecfa2fc73643866dc1a6ad4dd415b43b442632f parent af191367a752625b9f05a25a9a76c727b9b17cab author Ben Greear Sun, 24 Apr 2005 20:13:19 -0700 committer David S. Miller Sun, 24 Apr 2005 20:13:19 -0700 [NET]: Document ->hard_start_xmit() locking in netdevices.txt Signed-off-by: David S. Miller commit af191367a752625b9f05a25a9a76c727b9b17cab tree 3f4ad2da9cb293f4ab0f8c25899b23ed0fd18e3f parent db7530797992bb2be703f9f3cc69b1a578f812f8 author Ben Greear Sun, 24 Apr 2005 20:12:36 -0700 committer David S. Miller Sun, 24 Apr 2005 20:12:36 -0700 [NET]: Document ->hard_start_xmit() locking in comments. Signed-off-by: David S. Miller commit db7530797992bb2be703f9f3cc69b1a578f812f8 tree 741ca281d2acb1f5a62df20ccda4ad294b57347b parent ac6910e189471e6b46ecea59e7620b083329ad4f author Jamal Hadi Salim Sun, 24 Apr 2005 20:10:16 -0700 committer David S. Miller Sun, 24 Apr 2005 20:10:16 -0700 [PKT_SCHED]: Introduce simple actions. And provide an example simply action in order to demonstrate usage. Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit ac6910e189471e6b46ecea59e7620b083329ad4f tree efe17c88583ac9f315fe4db0cb15b9fef2977b32 parent 758d11bf096ada9d38fc690c2efe5e4661685bfc author David S. Miller Sun, 24 Apr 2005 20:06:16 -0700 committer David S. Miller Sun, 24 Apr 2005 20:06:16 -0700 [TG3]: Update driver version and release date. Signed-off-by: David S. Miller commit 758d11bf096ada9d38fc690c2efe5e4661685bfc tree 3e6659e01973d3ee028aae15d679aab218c830a9 parent d5ac99a648b8c61d0c7f1c32a8ab7f1dca0123d2 author Andrew Morton Sun, 24 Apr 2005 19:14:36 -0700 committer David S. Miller Sun, 24 Apr 2005 19:14:36 -0700 [ATM]: ENI155P error handling fix From: Panagiotis Issaris In the ENI155P device driver in six possible failure cases the requested irq is not being released. In three of the above possible failure cases additionally there seems to be a memory leak. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit d5ac99a648b8c61d0c7f1c32a8ab7f1dca0123d2 tree 3811d84e83dab918c57aeca1081ae343cb97df8b parent 158a0e45b69254a9ee4d7795e3b98d8c959fb799 author David S. Miller Sun, 24 Apr 2005 19:12:33 -0700 committer David S. Miller Sun, 24 Apr 2005 19:12:33 -0700 [TCP]: skb pcount with MTU discovery The problem is that when doing MTU discovery, the too-large segments in the write queue will be calculated as having a pcount of >1. When tcp_write_xmit() is trying to send, tcp_snd_test() fails the cwnd test when pcount > cwnd. The segments are eventually transmitted one at a time by keepalive, but this can take a long time. This patch checks if TSO is enabled when setting pcount. Signed-off-by: John Heffner Signed-off-by: David S. Miller commit 158a0e45b69254a9ee4d7795e3b98d8c959fb799 tree 56b25f7470ff6196abd9493dffa563b5e6206cab parent 18900829f32443658ca4d4793c01621c75d551c1 author Jesper Juhl Sun, 24 Apr 2005 18:59:30 -0700 committer David S. Miller Sun, 24 Apr 2005 18:59:30 -0700 [SLIP]: Remove redundant NULL pointer checks prior to kfree Signed-off-by: Jesper Juhl Signed-off-by: David S. Miller commit 18900829f32443658ca4d4793c01621c75d551c1 tree cc0b1da822bfc941ad9049f85b7cc23c0f0dfc06 parent e5695f0800f8450d9a48efb1424918d18093b00b author chas williams Sun, 24 Apr 2005 18:58:15 -0700 committer David S. Miller Sun, 24 Apr 2005 18:58:15 -0700 [ATM]: [fore200e] pci doesn't use global board list; use pci_register_driver() Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit e5695f0800f8450d9a48efb1424918d18093b00b tree ebb4478c0dfa9dae51dafec9ccc5e3e878206fa6 parent 56cb515628e6a831bb76783f282a71f7285dad33 author chas williams Sun, 24 Apr 2005 18:55:35 -0700 committer David S. Miller Sun, 24 Apr 2005 18:55:35 -0700 [ATM]: [he] Use the DMA_32BIT_MASK constant from dma-mapping.h Signed-off-by: Tobias Klauser Signed-off-by: Domen Puncer Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit 56cb515628e6a831bb76783f282a71f7285dad33 tree ef7a70e6269eaf6f616066b6e1cd718a394d94bb parent 3b2d59d1fc86cc7217f165100a939907802dc67c author Arnaldo Carvalho de Melo Sun, 24 Apr 2005 18:53:06 -0700 committer David S. Miller Sun, 24 Apr 2005 18:53:06 -0700 [AX25] Introduce ax25_type_trans Replacing the open coded equivalents and making ax25 look more like a linux network protocol, i.e. more similar to inet. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Ralf Baechle Signed-off-by: David S. Miller commit 3b2d59d1fc86cc7217f165100a939907802dc67c tree 469883c37bf5fc6beea10530c4c557d8bb022cad parent e281e3ac2b6c294d672034909883e7bb9e649ac7 author Patrick McHardy Sun, 24 Apr 2005 18:42:39 -0700 committer David S. Miller Sun, 24 Apr 2005 18:42:39 -0700 [NETFILTER]: Ignore PSH on SYN/ACK in TCP connection tracking Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit e281e3ac2b6c294d672034909883e7bb9e649ac7 tree 0a7a13aa6ecaddf030a8ec5deecce87ee424aae7 parent 8e293ada7d6aaee43dd56a8077b83577dd108667 author Patrick McHardy Sun, 24 Apr 2005 18:41:38 -0700 committer David S. Miller Sun, 24 Apr 2005 18:41:38 -0700 [NETFILTER]: Fix NAT sequence number adjustment The NAT changes in 2.6.11 changed the position where helpers are called and perform packet mangling. Before 2.6.11, a NAT helper was called before the packet was NATed and had its sequence number adjusted. Since 2.6.11, the helpers get packets with already adjusted sequence numbers. This breaks sequence number adjustment, adjust_tcp_sequence() needs the original sequence number to determine whether a packet was a retransmission and to store it for further corrections. It can't be reconstructed without more information than available, so this patch restores the old order by calling helpers from a new conntrack hook two priorities below ip_conntrack_confirm() and adjusting the sequence number from a new NAT hook one priority below ip_conntrack_confirm(). Tracked down by Phil Oester Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit e2178f199b341cc3e3ac86be50a54b0d8d8a132f tree bfed621277dc03364b69028fd2bb47c6deab32f4 parent 28a6815979b4eff29956549d62f72582a81f041e author Al Viro Sun, 24 Apr 2005 14:58:08 -0700 committer Linus Torvalds Sun, 24 Apr 2005 14:58:08 -0700 [PATCH] ppc trivial iomem annotations: chrp Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 8e293ada7d6aaee43dd56a8077b83577dd108667 tree 81cbcda8613476adcbe35409f9375d7e64c4cc43 parent e2178f199b341cc3e3ac86be50a54b0d8d8a132f author Al Viro Sun, 24 Apr 2005 14:58:08 -0700 committer Linus Torvalds Sun, 24 Apr 2005 14:58:08 -0700 [PATCH] ppc trivial iomem annotations: pmac_smp.c Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 28a6815979b4eff29956549d62f72582a81f041e tree b628befcb8f61d0c5b4dcff468d1048997866064 parent ef0299bf8e868c09bff13e6f3c4fc9b835f60471 author Al Viro Sun, 24 Apr 2005 14:58:08 -0700 committer Linus Torvalds Sun, 24 Apr 2005 14:58:08 -0700 [PATCH] ppc trivial iomem annotations: pmac_time.c Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit fdca124a1bcc7e624f6b887c6f26153f40ee43ee tree 4cb4f2af9dc9bf8da8476d1fd4a7d65b6c3de127 parent 461790f79028ee9bfc3dd9d9afccc7e264aff9c7 author Al Viro Sun, 24 Apr 2005 12:28:36 -0700 committer Linus Torvalds Sun, 24 Apr 2005 12:28:36 -0700 [PATCH] missing include in mthca Missing include - usual portability problems... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit ef0299bf8e868c09bff13e6f3c4fc9b835f60471 tree 0b734b9d95cf5fe38a9a15a48e4900d28447502e parent fdca124a1bcc7e624f6b887c6f26153f40ee43ee author Al Viro Sun, 24 Apr 2005 12:28:36 -0700 committer Linus Torvalds Sun, 24 Apr 2005 12:28:36 -0700 [PATCH] mostek bogus sparse annotations fixed void * __iomem foo is not a pointer to iomem - it's an iomem variable containing void *. A pile of such guys in arch/sparc64/kernel/time.c, drivers/sbus/char/rtc.c and include/asm-sparc64/mostek.h turned into intended void __iomem *. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit e3b9ab1a6da339312bb23747693805fa63e2ffd0 tree 7e7e7264c6f8c8de4fed96d29fb789992353e936 parent fa732f556896836e88cd662ee7a664c4db6d080d author Al Viro Sun, 24 Apr 2005 12:28:35 -0700 committer Linus Torvalds Sun, 24 Apr 2005 12:28:35 -0700 [PATCH] missing dependency on sparc64 CONFIG_HW_CONSOLE selects vt.c; without the stuff pulled by CONFIG_VT it will not build. Normally we get both in drivers/char/Kconfig and there HW_CONSOLE depends on VT. sparc64 does not pull drivers/char/Kconfig and has that sutff in arch/sparc64/Kconfig instead. However, it forgets to add the same dependency. As the result, turning VT off [which is possible] will end up with broken build. For no good reason... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit b5a48daddc88fa0467a6ba371fcff0710781bf11 tree 2f9fd369478420e4c5151f7ff2443018eb681fe6 parent e3b9ab1a6da339312bb23747693805fa63e2ffd0 author Al Viro Sun, 24 Apr 2005 12:28:35 -0700 committer Linus Torvalds Sun, 24 Apr 2005 12:28:35 -0700 [PATCH] broken dependency for I2C_MPC All boards dealt with by I2C_MPC are 32bit. Moreover, driver simply won't build on ppc64 - it uses ppc32-only types all over the place. Dependency fixed - it's PPC32, not PPC. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit a62e7cef1aef9f98bddd92b8f9f8f3c2fb25037b tree 93dfd2aedd5da83b054929e5fd4000fc026aaf9a parent 3106dbcd914d8dac4b89f52d8d51ec93526cbb95 author Al Viro Sun, 24 Apr 2005 12:28:35 -0700 committer Linus Torvalds Sun, 24 Apr 2005 12:28:35 -0700 [PATCH] missing include in hisax Missing include, breaks at least on arm. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 461790f79028ee9bfc3dd9d9afccc7e264aff9c7 tree df42b2cb77406e1ce83312410889f9d95133322b parent a62e7cef1aef9f98bddd92b8f9f8f3c2fb25037b author Al Viro Sun, 24 Apr 2005 12:28:35 -0700 committer Linus Torvalds Sun, 24 Apr 2005 12:28:35 -0700 [PATCH] broken dependency for floppy on ARM (!ARCH_S390 && !M68K && !IA64 && !UML) is obviously always true on ARM. Intended behaviour for ARM is "absent unless we are on RiscPC or EBSA285". So what we want is added && !ARM in the first term - without it the last part (|| ARCH_RPC || ARCH_EBSA285, that is) doesn't do anything. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 3106dbcd914d8dac4b89f52d8d51ec93526cbb95 tree 2762fe622d385bdc2381dd7504b94489dacf8247 parent b5a48daddc88fa0467a6ba371fcff0710781bf11 author Al Viro Sun, 24 Apr 2005 12:28:35 -0700 committer Linus Torvalds Sun, 24 Apr 2005 12:28:35 -0700 [PATCH] __get_unaligned() turned into macro Turns __get_unaligned() and __put_unaligned into macros. That is definitely safe; leaving them as inlines breaks on e.g. alpha [try to build ncpfs there and you'll get unresolved symbols since we end up getting __get_unaligned() not inlined]. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit fa732f556896836e88cd662ee7a664c4db6d080d tree d1f6cf66754d23d21a6eb398a331cfc3e7590cba parent 01424961e621737c638e489b6a0b5e6602b02612 author Al Viro Sun, 24 Apr 2005 12:28:34 -0700 committer Linus Torvalds Sun, 24 Apr 2005 12:28:34 -0700 [PATCH] msnd_pinnacle GFP fix Dumb typo - __get_free_page() takes gfp mask (in this case - GFP_KERNEL), not the page size... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit bc86120a85ebf553180946e8854d1993f074e9f5 tree d2d84a28a50328d8d910176b4031482ee308bc55 parent df6c6804ce1d383c878ab071bce8125125d96abc author Al Viro Sun, 24 Apr 2005 12:28:34 -0700 committer Linus Torvalds Sun, 24 Apr 2005 12:28:34 -0700 [PATCH] SCSI GFP fixes Somebody forgot that | has higher priority than ?:. As the result, allocation is done with bogus flags - instead of GFP_ATOMIC + possibly GFP_DMA we always get GFP_DMA and no GFP_ATOMIC. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 01424961e621737c638e489b6a0b5e6602b02612 tree ae51380febe42e40d09375648b0d379325b905a7 parent bc86120a85ebf553180946e8854d1993f074e9f5 author Al Viro Sun, 24 Apr 2005 12:28:34 -0700 committer Linus Torvalds Sun, 24 Apr 2005 12:28:34 -0700 [PATCH] mempolicy.c GFP fix zonelist_policy() forgot to mask non-zone bits from gfp when comparing zone number with policy_zone. ACKed-by: Andi Kleen Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 9719b0c298bd6a4a608843dc989a5f94cd0a7c13 tree 72abe7e0dd4b4135ca8b2d6f4e7cb81bd173a437 parent f3fae6ed6aafe71826e03876ad3d4e1d3f238ec8 author Patrick Boettcher Sat, 23 Apr 2005 13:16:15 -0700 committer Greg KH Sat, 23 Apr 2005 13:16:15 -0700 [PATCH] USB: Fix for ati_remote when stealing code from ati_remote for a GPL-driver of my usbradio (because of its neat usb int transfers) I found out, that the inbuf is freed twice. I don't have the ati-remote, so I don't know it is a problem at all, but it looks strange to me anyway. Also I don't know if it has been fixed already in newer kernel versions. From: Patrick Boettcher Signed-off-by: Greg Kroah-Hartman commit f3fae6ed6aafe71826e03876ad3d4e1d3f238ec8 tree 9c85c51031ae67ef9e8448a57ba4037d95899ccc parent 7ea13c9c0e40d24c5f45a3a6bee8a2a39bfb1df4 author David Brownell Fri, 22 Apr 2005 15:07:02 -0700 committer Greg KH Fri, 22 Apr 2005 15:07:02 -0700 [PATCH] USB: better usbnet zaurus/mdlm/... fix This is a somewhat more comprehensive fix for the problem of devices like the newer Zaurii ... or in this case some Motorola cell phones. To recap, the problem's root cause is that these devices aren't using standard USB class specifications for their network links, and so far we've had to add lots of device-specific driver entries. The vendor fix abuses the CDC MDLM descriptors (they _could_ have conformed to the spec, but didn't) and defines a "Belcarra firmware" pseudo-class. This patch recognizes that pseudo-class by the GUIDs in those descriptors, and handles the devices that just use the Zaurus framing. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 7ea13c9c0e40d24c5f45a3a6bee8a2a39bfb1df4 tree b8a64ad2f988b45cc9183d07cbfe33432c03be20 parent fb3b4ebc0be618dbcc2326482a83c920d51af7de author David Hollis Fri, 22 Apr 2005 15:07:02 -0700 committer Greg KH Fri, 22 Apr 2005 15:07:02 -0700 [PATCH] usbnet: Convert ASIX code to use new status infrastructure Modify the ASIX USB Ethernet code to make use of the new status infrastructure in usbnet. Additionally, add a link_reset() handler to the struct usbnet structure to provide a generic means for a driver to perform link reset tasks such as a determining link speed and setting device flags accordingly. Signed-off-by: David Hollis Acked-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit fb3b4ebc0be618dbcc2326482a83c920d51af7de tree e0b4c9bc6eacf08028041e3f7c25adb3e9638a00 parent b19dcd9341a81ff6e04fcec396f77eeb91570584 author Roman Kagan Fri, 22 Apr 2005 15:07:01 -0700 committer Greg KH Fri, 22 Apr 2005 15:07:01 -0700 [PATCH] USB: MODALIAS change for bcdDevice The patch below adjusts the MODALIAS generated by the usb hotplug function to match the proposed change to scripts/mod/file2alias.c. Signed-off-by: Roman Kagan Signed-off-by: Greg Kroah-Hartman commit b19dcd9341a81ff6e04fcec396f77eeb91570584 tree f2eebbf7142d5d36ffb44d365ad3eca539ff5127 parent 2e0a6b8cd27375089f8356e7f1ce2319059696eb author Roman Kagan Fri, 22 Apr 2005 15:07:01 -0700 committer Greg KH Fri, 22 Apr 2005 15:07:01 -0700 [PATCH] USB: scripts/mod/file2alias.c: handle numeric ranges for USB bcdDevice Another attempt at that... The attached patch fixes the longstanding problem with USB bcdDevice numeric ranges incorrectly converted into patterns for MODULE_ALIAS generation. Previously it put both the lower and the upper limits into the pattern, dlXdhY, making it impossible to fnmatch against except for a few special cases, like dl*dh* or dlXdhX. The patch makes it generate multiple MODULE_ALIAS lines covering the whole range with fnmatch-able patterns. E.g. for a range between 0x0001 and 0x8345 it gives the following patterns: 000[1-9] 00[1-9]* 0[1-9]* [1-7]* 8[0-2]* 83[0-3]* 834[0-5] Since bcdDevice is 2 bytes wide = 4 digits in hex representation, the max no. of patters is 2 * 4 - 1 = 7. The values are BCD (binary-coded decimals) and not hex, so patterns using a dash seem to be safe regardless of locale collation order. The patch changes bcdDevice part of the alias from dlXdhY to dZ, but this shouldn't have big compatibility issues because fnmatch()-based modprobing hasn't yet been widely used. Besides, the most common (and almost the only working) case of dl*dh* becomes d* and thus continues to work. The patch is against 2.6.12-rc2, applies to -mm3 with an offset. The matching patch to fix the MODALIAS environment variable now generated by the usb hotplug function follows. Signed-off-by: Roman Kagan Signed-off-by: Greg Kroah-Hartman commit 2e0a6b8cd27375089f8356e7f1ce2319059696eb tree 958f2dd42626fd18ba5f85b7bab1eb4a7680ff75 parent 2c47e7f37830cc83e7c77f0d5b7d4ac15105475b author Adrian Bunk Fri, 22 Apr 2005 15:07:01 -0700 committer Greg KH Fri, 22 Apr 2005 15:07:01 -0700 [PATCH] USB: drivers/usb/net/zd1201.c: make some code static This patch makes some needlessly global code static. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit be5e3383a95446e933be198d3025df10a072794b tree 1bd89cd23ee98127f08ccd076f4485a2e8138df7 parent cef11127ea59cc5ac8fb956c355727999c6796dc author Adrian Bunk Fri, 22 Apr 2005 15:07:00 -0700 committer Greg KH Fri, 22 Apr 2005 15:07:00 -0700 [PATCH] USB: drivers/usb/input/usbkbd.c: make a function static This patch makes a needlessly global function static. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 7107627b04b46bce8212e6a6811add5eb8bcb476 tree 494ce4cfa89021907ce4e212a4a768aace5a3584 parent be5e3383a95446e933be198d3025df10a072794b author Adrian Bunk Fri, 22 Apr 2005 15:07:00 -0700 committer Greg KH Fri, 22 Apr 2005 15:07:00 -0700 [PATCH] USB: drivers/usb/media/sn9c102_core.c: make 2 functions static This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 2c47e7f37830cc83e7c77f0d5b7d4ac15105475b tree 051be37e98b7f5a1fe590818c1044ea3aac3f42a parent 7107627b04b46bce8212e6a6811add5eb8bcb476 author Adrian Bunk Fri, 22 Apr 2005 15:07:00 -0700 committer Greg KH Fri, 22 Apr 2005 15:07:00 -0700 [PATCH] USB: drivers/usb/media/pwc/: make code static This patch makes needlessly global code static. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit cef11127ea59cc5ac8fb956c355727999c6796dc tree 349a6201e2acbac49d9f87e0ee102c031bab2e16 parent 35ecc486a3f1811b85b7b22196b8b7422d713b51 author Thomas Winischhofer Fri, 22 Apr 2005 15:06:59 -0700 committer Greg KH Fri, 22 Apr 2005 15:06:59 -0700 [PATCH] USB: new SiS device id Signed-off-by: Greg Kroah-Hartman commit 36045fb77cb8b4043063ea54067907a1afd317b4 tree f997f900af829aeb155ee74fe7b187bd9c7cbce1 parent 35f4a0c4416b4fd789f94328dc5940e79e1507b0 author Arthur Huillet Fri, 22 Apr 2005 15:06:59 -0700 committer Greg KH Fri, 22 Apr 2005 15:06:59 -0700 [PATCH] USB: add HP49G+ Calculator USB Serial support Signed-off-by: Greg Kroah-Hartman commit 35ecc486a3f1811b85b7b22196b8b7422d713b51 tree fc0c453f6a02b8c36ca49e337c55864832b04128 parent 36045fb77cb8b4043063ea54067907a1afd317b4 author Greg KH Fri, 22 Apr 2005 15:06:59 -0700 committer Greg KH Fri, 22 Apr 2005 15:06:59 -0700 [PATCH] USB: fix up the HP49G+ Calculator USB Serial driver Fix compiler warnings, and remove unneeded #includes Signed-off-by: Greg Kroah-Hartman commit 35f4a0c4416b4fd789f94328dc5940e79e1507b0 tree 3e581a7766d64b3c067a11371da7870f0795e0a2 parent 275cfdf412aee2367883b6cd764e06c07bd37a79 author Sven Anderson Fri, 22 Apr 2005 15:06:58 -0700 committer Greg KH Fri, 22 Apr 2005 15:06:58 -0700 [PATCH] USB: clean up all iPod models in unusual_devs.h Phil Dibowitz wrote: > 1. You're adding product IDs 1202, 1203, 1204, and 1205. 1203 was > already there, but you remove it, OK, but 1205 is already there, so > you'll need to fix that. I was not removing 1203, it's just the extension of the bcd range. You are right about 1205, as I wrote, it was a patch against 2.6.11.7. Attached is a patch against 2.6.12-rc2. > 2. I'm OK with the full bcd range if Apple is changing it on firmware > revs... fine, but it's bcd, not hex... 0x9999 =) I just copied from other entries. There're a lot 0xffffs in unusual_dev.h, so I assumed it is correct. I changed it to 0x9999. > 3. It's rather obnoxious to take the original submitter's credit away. I didn't remove it, I changed it to "based on...". Because I changed something (the range) in his entry, I thought it is the best to take the responsibility but keep the origin. Anyway, in the new patch I did it in a different way. > 4. Your /proc/bus/usb/devices shows 1204, but I see no evidence 1202 is > really an iPod. I don't have an old iPod mini, but you find a lot of evidence here: http://www.google.com/search?q=0x1202+ipod Especially this one: http://www.qbik.ch/usb/devices/showdescr.php?id=2737 > It also looks like 1205's entry is getting mangled, but I haven't > attempted to apply the patch, so I'm not sure. No, the patch was ok, but I agree it looks strange. It's not very readable, because I cannot tell diff to work blockwise instead of linewise. Because of the similarity of the entries, diff splits and merges them. Anyway, the new patch "looks" better. ;-) Signed-off-by: Sven Anderson Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit 275cfdf412aee2367883b6cd764e06c07bd37a79 tree 5f8d84c637125859001957cd72de85870e11628a parent efab7739d99eae948971140b2aa3dddf7f72c900 author Hideaki YOSHIFUJI Fri, 22 Apr 2005 15:06:58 -0700 committer Greg KH Fri, 22 Apr 2005 15:06:58 -0700 [PATCH] USB: compilation failure on usb/image/microtek.c maybe typo? Signed-off-by: Hideaki YOSHIFUJI Signed-off-by: Greg Kroah-Hartman commit df6c6804ce1d383c878ab071bce8125125d96abc tree 43765d4b40a4a3c64f2a32b684f4041e2f01644d parent b8d8b883e6f029e99c35c88f853501740e322131 author Ashok Raj Fri, 22 Apr 2005 14:46:24 -0700 committer Tony Luck Fri, 22 Apr 2005 14:46:24 -0700 [IA64] Fix build errors for !HOTPLUG case. Signed-off-by: Ashok Raj Signed-off-by: Tony Luck commit b8d8b883e6f029e99c35c88f853501740e322131 tree 391f2ade8823149f217991eb02911bf3dacce050 parent 7130667107cd3ab9d6802b69bab63c7d22f20bd4 author Ashok Raj Fri, 22 Apr 2005 14:44:40 -0700 committer Tony Luck Fri, 22 Apr 2005 14:44:40 -0700 [IA64] cpu hotplug: return offlined cpus to SAL This patch is required to support cpu removal for IPF systems. Existing code just fakes the real offline by keeping it run the idle thread, and polling for the bit to re-appear in the cpu_state to get out of the idle loop. For the cpu-offline to work correctly, we need to pass control of this CPU back to SAL so it can continue in the boot-rendez mode. This gives the SAL control to not pick this cpu as the monarch processor for global MCA events, and addition does not wait for this cpu to checkin with SAL for global MCA events as well. The handoff is implemented as documented in SAL specification section 3.2.5.1 "OS_BOOT_RENDEZ to SAL return State" Signed-off-by: Ashok Raj Signed-off-by: Tony Luck commit 7130667107cd3ab9d6802b69bab63c7d22f20bd4 tree b4467b2d08a139961e709cfb41bd1f9280249155 parent efab7739d99eae948971140b2aa3dddf7f72c900 author Arun Sharma Fri, 22 Apr 2005 13:06:47 -0700 committer Tony Luck Fri, 22 Apr 2005 13:06:47 -0700 [IA64] ia32_signal.c: erroneous use of memset/memcpy Found by Alexander Nyberg, improved by Bjorn Helgaas. - Fix the incorrect argument to sizeof() - looks like memcpy() code pass was dervived from code that used copy_from_user(). But in this case we are doing to kernel space to kernel space copy, so memcpy is the right routine, but it doesn't return an error code. Signed-off-by: Arun Sharma Signed-off-by: Tony Luck commit efab7739d99eae948971140b2aa3dddf7f72c900 tree d0278bb7304946182dd4337fcbceb9fc32fb2901 parent 21b7ef0c6c62a14bc8e1c8c0af4e1f0ba3a56d66 author Alexander Nyberg Fri, 22 Apr 2005 10:22:07 -0700 committer Linus Torvalds Fri, 22 Apr 2005 10:22:07 -0700 [PATCH] x86_64: fix new out of line put_user() The labels after the last put_user patch were misplaced so exceptions on the real mov instructions would not be handled. Noted by Brian Gerst commit 21b7ef0c6c62a14bc8e1c8c0af4e1f0ba3a56d66 tree 71e53bd0464abd14d6b37c5b4487eaa438d46b65 parent 5c5d281a93e9816966b6131ccec19519dab0e103 parent b179fb8ca57590eeb0a5d6c8dc99f91773f09c73 author Linus Torvalds Fri, 22 Apr 2005 10:18:06 -0700 committer Linus Torvalds Fri, 22 Apr 2005 10:18:06 -0700 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6.git commit b179fb8ca57590eeb0a5d6c8dc99f91773f09c73 tree 34490b121e2be5ff1635cdaeaf27f738e7c4bb24 parent 623f41eb923d7f34888cbd9e4f50a7b1a79d0ae5 author David S. Miller Thu, 21 Apr 2005 22:18:03 -0700 committer David S. Miller Thu, 21 Apr 2005 22:18:03 -0700 [SPARC64]: In sunsab driver, make sure to set the uart timeout. This breaks serial consoles badly. Thanks to Eric Brower for tracking down the problem. Signed-off-by: David S. Miller commit 623f41eb923d7f34888cbd9e4f50a7b1a79d0ae5 tree 261baa54024f334d2a6f888e383e75cc12ffd757 parent b4bca26c0160f48b4eb04f21d31a229832732013 author David S. Miller Thu, 21 Apr 2005 22:06:13 -0700 committer David S. Miller Thu, 21 Apr 2005 22:06:13 -0700 [SPARC64]: In sunsu driver, make sure to fully init chip for kbd/ms We were forgetting to call sunsu_change_speed(). The reason that replugging in the mouse cable "fixes things" is that causes a BREAK interrupt which in turn caused a call to sunsu_change_speed() which would get the chip setup properly. Signed-off-by: David S. Miller commit b4bca26c0160f48b4eb04f21d31a229832732013 tree b4a6d736fcb8664753066df3e6a93ed24c0f409b parent d7be828e03969ea7f922f299acb8daa0d8ce7006 author David S. Miller Thu, 21 Apr 2005 21:42:34 -0700 committer David S. Miller Thu, 21 Apr 2005 21:42:34 -0700 [SPARC]: Provide generic ioctls in Sparc RTC driver. Provide support for drivers/char/rtc.c ioctls in the Mostek rtc driver as well as the Sparc specific RTCGET and RTCSET. This allows userspace to be much less messy. Currently util-linux and other spots jump through hoops trying various ioctl variants until it hits the right one whatever driver actually being used supports. Eventually all of this should move over to the genrtc.c driver, but not today... While we are here, fix up the register types for sparse. Thanks to Frans Pop for helping point out this issue. Signed-off-by: David S. Miller commit d7be828e03969ea7f922f299acb8daa0d8ce7006 tree 4c664d8a15dc9dc935cc6e181e727cfdc5d60302 parent 1cff94c6fecdc54d6f022ae5a22888f8272804a1 author David S. Miller Thu, 21 Apr 2005 21:41:33 -0700 committer David S. Miller Thu, 21 Apr 2005 21:41:33 -0700 [SPARC64]: Provide a pgprot_noncached() implementation. Signed-off-by: David S. Miller commit 5c5d281a93e9816966b6131ccec19519dab0e103 tree a897ec464a600d7a678052bfd5e52378470a45fe parent 7938109fff944e0117976a39946d99d2b0b0250d author Patrick McHardy Thu, 21 Apr 2005 20:12:32 -0700 committer David S. Miller Thu, 21 Apr 2005 20:12:32 -0700 [XFRM]: Fix existence lookup in xfrm_state_find Use 'daddr' instead of &tmpl->id.daddr, since the latter might be zero. Also, only perform the lookup when tmpl->id.spi is non-zero. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 7938109fff944e0117976a39946d99d2b0b0250d tree 1e1c24ad874db00f827fc6d9087402db6becefc9 parent 88b06bc26b87cf0490b0e3faea7fefc7549dd75d author Michael Chan Thu, 21 Apr 2005 17:13:59 -0700 committer David S. Miller Thu, 21 Apr 2005 17:13:59 -0700 [TG3]: Add msi test Add MSI test for chips that support MSI. If MSI test fails, it will switch back to INTx mode and will print a message asking the user to report the failure. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 88b06bc26b87cf0490b0e3faea7fefc7549dd75d tree ffba7c235ad94e3c1e0074cb209504e6ea25afe3 parent 1c8594b48b00a98d12477355e944e165a5f64cd5 author Michael Chan Thu, 21 Apr 2005 17:13:25 -0700 committer David S. Miller Thu, 21 Apr 2005 17:13:25 -0700 [TG3]: Add msi support Add MSI support for 5751 C0 and 5752. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 1c8594b48b00a98d12477355e944e165a5f64cd5 tree f784f244a3322b25abb7fae02cae7be20a64eb53 parent e6af301be3c129adbc8a7c8ffb76e62533ad9575 author Michael Chan Thu, 21 Apr 2005 17:12:46 -0700 committer David S. Miller Thu, 21 Apr 2005 17:12:46 -0700 [TG3]: Fix bug in tg3_set_eeprom() Fix a bug in tg3_set_eeprom() when the length is less than 4 and the offset is not 4-byte aligned. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit e6af301be3c129adbc8a7c8ffb76e62533ad9575 tree 02b2fd5de20468f5966cf3e73fbfa5e6f86baa63 parent 361b4ac29bc651c7612d4bf21434ae6fe06b78e4 author Michael Chan Thu, 21 Apr 2005 17:12:05 -0700 committer David S. Miller Thu, 21 Apr 2005 17:12:05 -0700 [TG3]: Add nvram lock-out support for 5752 TPM Add support for the NVRAM lock-out feature for TPM in 5752. If lock-out is enabled, certain NVRAM registers cannot be written to. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 361b4ac29bc651c7612d4bf21434ae6fe06b78e4 tree a0d1b0a7f89a7d45c63b269bef5eeacf6f8dc734 parent 3e7d83bc96d59013792e5546e7832668d3adbce7 author Michael Chan Thu, 21 Apr 2005 17:11:21 -0700 committer David S. Miller Thu, 21 Apr 2005 17:11:21 -0700 [TG3]: Add nvram detection for 5752 Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 3e7d83bc96d59013792e5546e7832668d3adbce7 tree e622228e8fd43e1461ea525afa453fbcddc39125 parent ff645bec523819fa4d28d7e0de7d998e3edb0c57 author Michael Chan Thu, 21 Apr 2005 17:10:36 -0700 committer David S. Miller Thu, 21 Apr 2005 17:10:36 -0700 [TG3]: Add GPIO3 for 5752 Add bit definitions for the new GPIO3 in 5752. GPIO3 must be driven as output when it is unused. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit ff645bec523819fa4d28d7e0de7d998e3edb0c57 tree b1f7bff1f67465f53adf9906d73d87412edfa876 parent 8c6bda1a89c148f3a28edc09a76dac9bff57d8ee author Michael Chan Thu, 21 Apr 2005 17:09:53 -0700 committer David S. Miller Thu, 21 Apr 2005 17:09:53 -0700 [TG3]: Workaround 5752 A0 chip ID The 5752 A0 chip ID is wrong in hardware. The simplest way to workaround it is to change it to the correct value in tp->pci_chip_rev_id. This way, it is easier to check for the ASIC_REV_5752 in the rest of the driver. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 8c6bda1a89c148f3a28edc09a76dac9bff57d8ee tree 883fa60cf8087f720e8c810ba29ba034a1de0f48 parent 314fba348e1f64a30b53d3cff5d96872424e8498 author Michael Chan Thu, 21 Apr 2005 17:09:08 -0700 committer David S. Miller Thu, 21 Apr 2005 17:09:08 -0700 [TG3]: Fix tg3_set_power_state() Fix tg3_set_power_state to drive GPIOs properly based on the TG3_FLAG_EEPROM_WRITE_PROTECT flag. Some delays are also added after D0 and D3 power state changes. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 314fba348e1f64a30b53d3cff5d96872424e8498 tree 0f167465d14b4d8e6170097651eced60ab48be95 parent 7d0c41ef89dad9008edf1c3c0022721ebad39999 author Michael Chan Thu, 21 Apr 2005 17:07:04 -0700 committer David S. Miller Thu, 21 Apr 2005 17:07:04 -0700 [TG3]: Setup proper GPIO settings Setup proper GPIO settings in tp->grc_local_ctrl before calling tg3_set_power() state in tg3_get_invariants() and after chip reset. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 7d0c41ef89dad9008edf1c3c0022721ebad39999 tree 2da17c83458f8a84f99d05ea201bc71e8f2155fe parent 85e94cedc44d1c2c1663b5b18f703ca5e7316e59 author Michael Chan Thu, 21 Apr 2005 17:06:20 -0700 committer David S. Miller Thu, 21 Apr 2005 17:06:20 -0700 [TG3]: Split tg3_phy_probe into 2 functions Split the 1st half of tg3_phy_probe() into tg3_get_eeprom_hw_cfg() so that the TG3_FLAG_EEPROM_WRITE_PROT can be determined before calling tg3_set_power_state() in tg3_get_invariants(). This will allow tg3_set_power_state() to drive the GPIOs correctly based on the config. information in eeprom. On the 5752, there are no pull-up resistors on the GPIO pins and it is necessary to drive the unused GPIOs as output. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 85e94cedc44d1c2c1663b5b18f703ca5e7316e59 tree 0e28e8b073f7ecefd2916dd40d248b914d1a6c0b parent 053d78000be4906fac6446ad517ca3897dc6cd84 author Michael Chan Thu, 21 Apr 2005 17:05:28 -0700 committer David S. Miller Thu, 21 Apr 2005 17:05:28 -0700 [TG3]: Minor 5752 fixes Some minor 5752 fixes mostly for correctness and add 5752 PHY ID. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 053d78000be4906fac6446ad517ca3897dc6cd84 tree 3ba4a5f488457ce6432d956b2363e3a3806396f6 parent 1b440c568e28186956ef765c69ab124401088663 author John W. Linville Thu, 21 Apr 2005 17:03:52 -0700 committer David S. Miller Thu, 21 Apr 2005 17:03:52 -0700 [TG3]: add support for bcm5752 rev a1 Replace existing ASIC_REV_5752 definition with ASIC_REV_5752_A0, and add definition for ASIC_REV_5752_A1. Then, add ASIC_REV_5752_A1 to check for setting TG3_FLG2_5750_PLUS in tg3_get_invariants. Signed-off-by: John W. Linville Signed-off-by: David S. Miller commit 1b440c568e28186956ef765c69ab124401088663 tree f7d34015aaccfe11e667c36c8055ebe28cf93301 parent bb7064dc09ff90015ddc7d818dd8fefb8ca5b936 author John W. Linville Thu, 21 Apr 2005 17:03:18 -0700 committer David S. Miller Thu, 21 Apr 2005 17:03:18 -0700 [TG3]: check TG3_FLG2_5750_PLUS flag to set TG3_FLG2_5705_PLUS flag Use check of TG3_FLG2_5750_PLUS in tg3_get_invariants to set TG3_FLG2_5705_PLUS flag. Signed-off-by: John W. Linville Signed-off-by: David S. Miller commit bb7064dc09ff90015ddc7d818dd8fefb8ca5b936 tree 683f6e32186ea6e62dcb1647b05ab3ceb0d8de6c parent 863925f59e5425e4af6996b9c50857c766940176 author John W. Linville Thu, 21 Apr 2005 17:02:41 -0700 committer David S. Miller Thu, 21 Apr 2005 17:02:41 -0700 [TG3]: use TG3_FLG2_57{05,50}_PLUS flags in tg3_get_invariants Rewrite checks in tg3_get_invariants to use TG3_FLG2_5705_PLUS and TG3_FLG2_5750_PLUS flags. Signed-off-by: John W. Linville Signed-off-by: David S. Miller commit 863925f59e5425e4af6996b9c50857c766940176 tree 217e33fff2291c22617665bd30b4d8fd6ea5f0ee parent cbf46853c8db75f98bd005dc545aca0703063d4b author John W. Linville Thu, 21 Apr 2005 17:02:04 -0700 committer David S. Miller Thu, 21 Apr 2005 17:02:04 -0700 [TG3]: more use of TG3_FLG2_5705_PLUS flag Rewrite of a couple of troublesome multi-way if statements to use TG3_FLG2_5705_PLUS flag. Signed-off-by: John W. Linville Signed-off-by: David S. Miller commit cbf46853c8db75f98bd005dc545aca0703063d4b tree c9bc918aeecc55b6de0ee93a9daab25ab09a3b4e parent 6708e5cc103ba045fca035b4d8df236ca31fb8bc author John W. Linville Thu, 21 Apr 2005 17:01:29 -0700 committer David S. Miller Thu, 21 Apr 2005 17:01:29 -0700 [TG3]: use new TG3_FLG2_5750_PLUS flag Replace a number of two-way if statements checking for 5750, and/or 5752 to reference the newly-defined TG3_FLG2_5750_PLUS flag instead. Signed-off-by: John W. Linville Signed-off-by: David S. Miller commit 6708e5cc103ba045fca035b4d8df236ca31fb8bc tree 5bce9bd2fd887fc5091e9bb234d2cd99c931413c parent fcf026936c613fc6ca4685677a461100d87eec81 author John W. Linville Thu, 21 Apr 2005 17:00:52 -0700 committer David S. Miller Thu, 21 Apr 2005 17:00:52 -0700 [TG3]: define TG3_FLG2_5750_PLUS flag Define TG3_FLG2_5750_PLUS flag and set it in tg3_get_invariants for ASIC_REV_5750 or ASIC_REV_5752. Signed-off-by: John W. Linville Signed-off-by: David S. Miller commit fcf026936c613fc6ca4685677a461100d87eec81 tree a666b7538467be00b16bcc2f33b1dcdbfdffe277 parent 6e9017a7d9b949aea638eeba67d34affaa145f14 author John W. Linville Thu, 21 Apr 2005 17:00:02 -0700 committer David S. Miller Thu, 21 Apr 2005 17:00:02 -0700 [TG3]: use TG3_FLG2_5705_PLUS instead of multi-way if's Replace a number of three-way if statements checking for 5705, 5750, and 5752 to reference the equivalent TG3_FLG2_5705_PLUS flag instead. Signed-off-by: John W. Linville Signed-off-by: David S. Miller commit 6e9017a7d9b949aea638eeba67d34affaa145f14 tree c68448ebd05911a8b026cc6130f61db988546f6c parent af2bcd97b570f39da94103f80f67433dab515049 author John W. Linville Thu, 21 Apr 2005 16:58:56 -0700 committer David S. Miller Thu, 21 Apr 2005 16:58:56 -0700 [TG3]: add bcm5752 entry to pci_ids.h Add proper entry for bcm5752 PCI ID to pci_ids.h, and use it in tg3. I did this separately in case patches like this (i.e. new PCI IDs) need to come from more "official" sources. Signed-off-by: John W. Linville Signed-off-by: David S. Miller commit af2bcd97b570f39da94103f80f67433dab515049 tree 64cb1715f1963e89067f7e572df5d7121512bfad parent 2052da946096590035438626afbc7f329d2549d8 author John W. Linville Thu, 21 Apr 2005 16:57:50 -0700 committer David S. Miller Thu, 21 Apr 2005 16:57:50 -0700 [TG3]: add bcm5752 to tg3_pci_tbl Add hard-coded definition of bcm5752 PCI ID to tg3_pci_tbl. Next patch will change entry to use pci_ids.h-based definition. Signed-off-by: John W. Linville Signed-off-by: David S. Miller commit 2052da946096590035438626afbc7f329d2549d8 tree 4cdb3bf407c8573f26a5a373016520b2ef44e8c7 parent ebc37b611616ad46dce7d590b15ad655aa50213a author John W. Linville Thu, 21 Apr 2005 16:56:08 -0700 committer David S. Miller Thu, 21 Apr 2005 16:56:08 -0700 [TG3]: add basic bcm5752 support Add ASIC_REV_5752 definition. Track-down all references to ASIC_REV_5750 and mirror them with references to the newly defined ASIC_REV_5752. Signed-off-by: John W. Linville Signed-off-by: David S. Miller commit ebc37b611616ad46dce7d590b15ad655aa50213a tree e2fe9f2dcc4150555b0f42bc898d5e561bff7356 parent 29c4be51e3fd52205d848248d38924941f22ca0e author Adrian Bunk Thu, 21 Apr 2005 16:48:26 -0700 committer David S. Miller Thu, 21 Apr 2005 16:48:26 -0700 [ATM]: net/atm/resources.c: remove __free_atm_dev Signed-off-by: Adrian Bunk Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit 29c4be51e3fd52205d848248d38924941f22ca0e tree 3164d78c43159c242b632ce15882c47e69d28c73 parent 208a6dfbd651f3a16c635678a731b419d3d9646f author Arnaldo Carvalho de Melo Thu, 21 Apr 2005 16:46:56 -0700 committer David S. Miller Thu, 21 Apr 2005 16:46:56 -0700 [AX25]: make ax25_queue_xmit a net_device parameter I.e. not using skb->dev as a way to pass the parameter used to fill... skb->dev :-) Also to get the _type_trans open coded sequence grouped, next changesets will introduce ax25_type_trans. Signed-off-by: Ralf Baechle Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 208a6dfbd651f3a16c635678a731b419d3d9646f tree b391b92b053cb8cfa2e52a7d95c5b1c090009e47 parent 26095455ac2943edb0852aba1ff8f8026aabe07b author Chas Williams Thu, 21 Apr 2005 16:44:57 -0700 committer David S. Miller Thu, 21 Apr 2005 16:44:57 -0700 [ATM]: sk_atm() conversion missed subtle change of vcc Signed-off-by: Chas Williams Signed-off-by: David S. Miller commit 26095455ac2943edb0852aba1ff8f8026aabe07b tree 0ff6d976f3ae94e1428564fdfad8baba67e7faa6 parent 1cff94c6fecdc54d6f022ae5a22888f8272804a1 author Patrick McHardy Thu, 21 Apr 2005 16:43:02 -0700 committer David S. Miller Thu, 21 Apr 2005 16:43:02 -0700 [NET]: Add missing newline for skb_*_panic While we're at it, lets also replace KERN_INFO by KERN_EMERG to make sure the user gets to see it. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1cff94c6fecdc54d6f022ae5a22888f8272804a1 tree 42fbf4cd2a674d83e2363bab0729ca13b0aeae0a parent 62b56faa43a7e672e659d14f38f553ed8b40ea70 author James Bottomley Thu, 21 Apr 2005 16:20:35 -0700 committer Linus Torvalds Thu, 21 Apr 2005 16:20:35 -0700 [PATCH] fix subarch breakage in amd dual core updates The patch to arch/i386/kernel/cpu/amd.c relies on the variable cpu_core_id which is defined in i386/kernel/smpboot.c. This means it is only present if CONFIG_X86_SMP is defined, not CONFIG_SMP (alternative SMP harnesses won't have it, which is why it breaks voyager). Signed-off-by: James Bottomley Signed-off-by: Linus Torvalds commit e4ec0f23c878f761cf33f3cbb66c66d6c05931ba tree 1f80476e6420e8a12a8aa065d5cd106bd0f5b147 parent dfe547ab872951949a1a2fcc5cedbedad27a2fe5 author Jody McIntyre Thu, 21 Apr 2005 14:09:42 -0700 committer Linus Torvalds Thu, 21 Apr 2005 14:09:42 -0700 [PATCH] Fix non-legacy ISO receive regression Fix non-legacy multichannel ISO receive, broken by Parag Wardukar's allocation fix. Multichannel ISO receive still sucks; it should be possible to use both legacy and non-legacy modes at the same time, but with this patch, things are no worse than they were in 2.6.11 and allocation is still done at the correct time. Signed-off-by: Jody McIntyre Signed-off-by: Linus Torvalds commit dfe547ab872951949a1a2fcc5cedbedad27a2fe5 tree 3b04fbebf69951526baeb2eb5453baa3f68f7fc0 parent 8d134db051134c38ae6bf36034403c7da7f0e3da author Jody McIntyre Thu, 21 Apr 2005 14:09:42 -0700 committer Linus Torvalds Thu, 21 Apr 2005 14:09:42 -0700 [PATCH] ohci1394: tlabels misprinted in DBGMSG - Print the correct value in the DBGMSG in dma_rcv_tasklet(). See OHCI 1.1 section 8.7, page 103 ff. - Print tlabels as %d everywhere. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre Signed-off-by: Linus Torvalds commit 62b56faa43a7e672e659d14f38f553ed8b40ea70 tree 9120479b4c721855b378db8907e1259f2e583f2b parent e4ec0f23c878f761cf33f3cbb66c66d6c05931ba author Adrian Bunk Thu, 21 Apr 2005 14:09:42 -0700 committer Linus Torvalds Thu, 21 Apr 2005 14:09:42 -0700 [PATCH] Fix tgafb.c compile failure The untested patch below should fix this compile error. Signed-off-by: Adrian Bunk Signed-off-by: Linus Torvalds commit 8d134db051134c38ae6bf36034403c7da7f0e3da tree 63cc8a56a915587bc51f5519ed5cd8d7ee84a05d parent 40b7bc062cdacb3883bb0f94eb122b8336af5b36 parent 821376bf15e692941f9235f13a14987009fd0b10 author Linus Torvalds Thu, 21 Apr 2005 14:02:34 -0700 committer Linus Torvalds Thu, 21 Apr 2005 14:02:34 -0700 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6.git commit 40b7bc062cdacb3883bb0f94eb122b8336af5b36 tree de1f7f2e59cf8ada9120699213564b7783860d00 parent d8470b7c13e11c18cf14a7e3180f0b00e715e4f0 author Richard Henderson Thu, 21 Apr 2005 11:28:26 -0700 committer Linus Torvalds Thu, 21 Apr 2005 11:28:26 -0700 [PATCH] alpha: key management syscalls Allocate syscall numbers for add_key, request_key, keyctl. commit 821376bf15e692941f9235f13a14987009fd0b10 tree 2179380ee3eb38fb393719e6ce32b15e934c4a44 parent d8470b7c13e11c18cf14a7e3180f0b00e715e4f0 author David Mosberger-Tang Thu, 21 Apr 2005 11:07:59 -0700 committer Tony Luck Thu, 21 Apr 2005 11:07:59 -0700 [IA64] fix fls() The ia64-version of fls() never worked as intended (the bitnumbering was off by 1 and fls(0) was undefined). This patch fixes the problem by using a popcnt-based fls(), which on McKinley-derived cores is slightly faster than both ia64_fls() and generic_fls(). The resulting code, however, is bigger (7-8 bundles instead of about 3 bundles). Also switch ia64_popcnt() to __builtin_popcountl() for GCC v3.4 or newer since the compiler can predicate that and schedule it better. Thanks to Simon Derr and Matt Mackall for tracking down this bug. Signed-off-by: David Mosberger-Tang Signed-off-by: Tony Luck commit d8470b7c13e11c18cf14a7e3180f0b00e715e4f0 tree c92b15c165366a6d5c616305cb4b68349882cb61 parent 3a6fd752a50af92765853879f4a11cc0cfcd0320 author Karsten Keil Thu, 21 Apr 2005 08:30:30 -0700 committer Linus Torvalds Thu, 21 Apr 2005 08:30:30 -0700 [PATCH] fix for ISDN ippp filtering We do not longer use DLT_LINUX_SLL for activ/pass filters but DLT_PPP_WITHDIRECTION witch need 1 as outbound flag. Signed-off-by: Karsten Keil Signed-off-by: Linus Torvalds commit 3a6fd752a50af92765853879f4a11cc0cfcd0320 tree dc79d50fb8d8c74259945b8a044f93982a9289bd parent 6d9c5d94d39a09d9b112613f0bfdb9af0e6dc253 author Alexander Nyberg Thu, 21 Apr 2005 07:59:51 -0700 committer Linus Torvalds Thu, 21 Apr 2005 07:59:51 -0700 [PATCH] x86_64: Bug in new out of line put_user() The new out of line put_user() assembly on x86_64 changes %rcx without telling GCC about it causing things like: http://bugme.osdl.org/show_bug.cgi?id=4515 See to it that %rcx is not changed (made it consistent with get_user()). Signed-off-by: Alexander Nyberg Signed-off-by: ak@suse.de Signed-off-by: Linus Torvalds commit 6d9c5d94d39a09d9b112613f0bfdb9af0e6dc253 tree ccfdb83a12f3cc582717c59e219150c6a00b4e16 parent 858eaca169ed5e7b1b14eebb889323e75a02af0e parent 489ec5f5d59b306e4ccc505eac417526adedb438 author Linus Torvalds Thu, 21 Apr 2005 07:36:42 -0700 committer Linus Torvalds Thu, 21 Apr 2005 07:36:42 -0700 Merge rsync://rsync.kernel.org/pub/linux/kernel/people/davem/sparc-2.6.git commit 858eaca169ed5e7b1b14eebb889323e75a02af0e tree 385e241e0cc18794b8d8b70095181e2578bee14c parent a2755a80f40e5794ddc20e00f781af9d6320fafb author James Bottomley Thu, 21 Apr 2005 07:35:45 -0700 committer Linus Torvalds Thu, 21 Apr 2005 07:35:45 -0700 [PATCH] Fix aic7xxx_osm.c compile with older gcc's My version of gcc doesn't warn about this error (declaration in the middle of a set of statements). The fix is simple (this also corrects return code; for init functions it should be zero or error). commit 489ec5f5d59b306e4ccc505eac417526adedb438 tree 506d4be0182ca0a434c70e1267087646644a0e69 parent 4d78b6c78ae6d87e4c1c8072f42efa716f04afb9 author Al Viro Wed, 20 Apr 2005 17:12:41 -0700 committer David S. Miller Wed, 20 Apr 2005 17:12:41 -0700 [SPARC64]: sparc64 preempt + smp PREEMPT+SMP support - see if it looks sane... Signed-off-by: Al Viro Signed-off-by: David S. Miller