commit 7015faa7df829876a0f931cd18aa6d7c24a1b581 tree c403b29783de27e290b5d12f12054d03f96ce8b2 parent 127f2fa31ac624c744f3767363c4919209980956 author Calin A. Culianu Fri, 04 Nov 2005 20:38:04 -0500 committer Linus Torvalds Fri, 04 Nov 2005 18:01:34 -0800 [PATCH] nvidiafb: Geforce 7800 series support added This adds support for the Nvidia Geforce 7800 series of cards to the nvidiafb framebuffer driver. All it does is add the PCI device id for the 7800, 7800 GTX, 7800 GO, and 7800 GTX GO cards to the module device table for the nvidiafb.ko driver, so that nvidiafb.ko will actually work on these cards. I also added the relevant PCI device ids to linux/pci_ids.h I tested it on my 7800 GTX here and it works like a charm. I now can get framebuffer support on this card! Woo hoo!! Nothing like 200x75 text mode to make your eyes BLEED. ;) Signed-off-by: Linus Torvalds commit 127f2fa31ac624c744f3767363c4919209980956 tree 972b7ffbcd2c846bbb34879efb91e324dc0677be parent ba77df570c6710c9c19b31e0e48e4bcdf31cefe8 parent aef9ec39c47f0cece886ddd6b53c440321e0b2a6 author Linus Torvalds Fri, 04 Nov 2005 16:32:36 -0800 committer Linus Torvalds Fri, 04 Nov 2005 16:32:36 -0800 Merge branch 'srp' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband commit ba77df570c6710c9c19b31e0e48e4bcdf31cefe8 tree 997c210135b5578982df256dd5a0140e04d972d1 parent 602d4a7e2f4b843d1a67375d4d7104073495b758 parent d09e32764176b61c4afee9fd5e7fe04713bfa56f author Linus Torvalds Fri, 04 Nov 2005 16:31:54 -0800 committer Linus Torvalds Fri, 04 Nov 2005 16:31:54 -0800 Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband commit 602d4a7e2f4b843d1a67375d4d7104073495b758 tree 0b9f184e54fa693c27bd5986c114bdcf6949f788 parent 0bbacc402e67abca8794a8401c1621dc0c0202e9 parent c51e3a417bb0f295e13a5bad86302b5212eafdf3 author Linus Torvalds Fri, 04 Nov 2005 16:27:50 -0800 committer Linus Torvalds Fri, 04 Nov 2005 16:27:50 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/paulus/powerpc-merge commit c51e3a417bb0f295e13a5bad86302b5212eafdf3 tree 3d60529b8bf1af4eee98bfede157518520fbb423 parent 5ad570786158e327a1c5d32dd3d66f26d8de6340 author Paul Mackerras Sat, 05 Nov 2005 10:36:59 +1100 committer Paul Mackerras Sat, 05 Nov 2005 10:36:59 +1100 powerpc: Fix vmlinux.lds.S for 32-bit We can't currently use asm-ppc/page.h in vmlinux.lds.S, so until we have a merged page.h, define PAGE_SIZE and KERNELBASE locally. Also gets rid of some dynamic executable cruft that we had for 32-bit. With -Ttext=$(KERNELBASE) this didn't cause any problem, but when we changed to putting . = KERNELBASE in the vmlinux.lds.S this cruft caused the text to get linked at 0xa0 instead of 0xc0000000. Oops. Signed-off-by: Paul Mackerras commit 5ad570786158e327a1c5d32dd3d66f26d8de6340 tree 0b4aafe469c72e5887ed0379d62a0ee390db3160 parent c3df69cd854551cf70e9c63aa509c26621084f60 author Paul Mackerras Sat, 05 Nov 2005 10:33:55 +1100 committer Paul Mackerras Sat, 05 Nov 2005 10:33:55 +1100 powerpc: Merge smp.c and smp.h This also moves setup_cpu_maps to setup-common.c (calling it smp_setup_cpu_maps) and uses it on both 32-bit and 64-bit. Signed-off-by: Paul Mackerras commit 0bbacc402e67abca8794a8401c1621dc0c0202e9 tree a0969978295b806b35c943eb16af34b1eacfa47a parent c556b754967afd0878d65de2cfe0675577b0f62f author Chuck Lever Tue, 01 Nov 2005 16:53:32 -0500 committer Trond Myklebust Fri, 04 Nov 2005 15:39:48 -0500 NFS,SUNRPC,NLM: fix unused variable warnings when CONFIG_SYSCTL is disabled Fix some dprintk's so that NLM, NFS client, and RPC client compile cleanly if CONFIG_SYSCTL is disabled. Test plan: Compile kernel with CONFIG_NFS enabled and CONFIG_SYSCTL disabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit c556b754967afd0878d65de2cfe0675577b0f62f tree fac27d23ff5230bef203fa30f26ba9faee56d987 parent 6bfc93ef98f00b38f1913a7fdeae46ae8dbd7c52 author Chuck Lever Tue, 01 Nov 2005 12:24:48 -0500 committer Trond Myklebust Fri, 04 Nov 2005 15:39:45 -0500 SUNRPC: allow sunrpc.o to link when CONFIG_SYSCTL is disabled The sunrpc module should build properly even when CONFIG_SYSCTL is disabled. Reported by Jan-Benedict Glaw. Test plan: Compile kernel with CONFIG_NFS as a module and built-in, and CONFIG_SYSCTL enabled and disabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 6bfc93ef98f00b38f1913a7fdeae46ae8dbd7c52 tree 2eb5f2fa26376b3d6ae5eebd65e93d4eec9555bd parent 888e694c167975709f17526dbbed2d98f84e8f85 author Trond Myklebust Fri, 04 Nov 2005 15:39:36 -0500 committer Trond Myklebust Fri, 04 Nov 2005 15:39:36 -0500 NFSv4: Teach NFSv4 to cache locks when we hold a delegation Now that we have a method of dealing with delegation recalls, actually enable the caching of posix and BSD locks. Signed-off-by: Trond Myklebust commit 888e694c167975709f17526dbbed2d98f84e8f85 tree 11dbbdf2591946f490d4cb28194a80fd3cec4094 parent 43b2a33aa868054bd477ab2c1cd20f1ba1af2c3e author Trond Myklebust Fri, 04 Nov 2005 15:38:11 -0500 committer Trond Myklebust Fri, 04 Nov 2005 15:38:11 -0500 NFSv4: Recover locks too when returning a delegation Delegations allow us to cache posix and BSD locks, however when the delegation is recalled, we need to "flush the cache" and send the cached LOCK requests to the server. This patch sets up the mechanism for doing so. Signed-off-by: Trond Myklebust commit 43b2a33aa868054bd477ab2c1cd20f1ba1af2c3e tree f22ad362b9f877dfd4bc44139894a045aa48059a parent 34ea818846e6cccdd6e05354ab8c8a6d7e34657a author Trond Myklebust Fri, 04 Nov 2005 15:35:30 -0500 committer Trond Myklebust Fri, 04 Nov 2005 15:35:30 -0500 NFSv4: Fix recovery of flock() locks. Signed-off-by: Trond Myklebust commit 34ea818846e6cccdd6e05354ab8c8a6d7e34657a tree d00d3d61c03454856c9047afaab3ba60a2e84f32 parent 2c56617d76fa7b2a709d58abd7ed68889cc88b90 author Trond Myklebust Fri, 04 Nov 2005 15:35:02 -0500 committer Trond Myklebust Fri, 04 Nov 2005 15:35:02 -0500 NFSv4: Return any delegations before sillyrenaming the file I missed this one... Any form of rename will result in a delegation recall, so it is more efficient to return the one we hold before trying the rename. Signed-off-by: Trond Myklebust commit 2c56617d76fa7b2a709d58abd7ed68889cc88b90 tree fb4e01de2057659b4ec80a812fa94d7b97359402 parent d530838bfa507d67b40d13b00d9cbd7a46a47e78 author Trond Myklebust Fri, 04 Nov 2005 15:33:50 -0500 committer Trond Myklebust Fri, 04 Nov 2005 15:33:50 -0500 NFSv4: Fix the handling of the error NFS4ERR_OLD_STATEID Ensure that we retry the failed operation... Signed-off-by: Trond Myklebust commit d530838bfa507d67b40d13b00d9cbd7a46a47e78 tree f4b2be26c0a7b9ed3233a2be016b7e97427f8705 parent 4cecb76ff86db46d2823550256c828b6597f418e author Trond Myklebust Fri, 04 Nov 2005 15:33:38 -0500 committer Trond Myklebust Fri, 04 Nov 2005 15:33:38 -0500 NFSv4: Fix problem with OPEN_DOWNGRADE RFC 3530 states that for OPEN_DOWNGRADE "The share_access and share_deny bits specified must be exactly equal to the union of the share_access and share_deny bits specified for some subset of the OPENs in effect for current openowner on the current file. Setattr is currently violating the NFSv4 rules for OPEN_DOWNGRADE in that it may cause a downgrade from OPEN4_SHARE_ACCESS_BOTH to OPEN4_SHARE_ACCESS_WRITE despite the fact that there exists no open file with O_WRONLY access mode. Fix the problem by replacing nfs4_find_state() with a modified version of nfs_find_open_context(). Signed-off-by: Trond Myklebust commit 4cecb76ff86db46d2823550256c828b6597f418e tree db80c6f4423d2559661234e8d1cd34b2c15f7750 parent 462aae65f6ea41de05ebc2a54a9e6b95563591f3 author Trond Myklebust Fri, 04 Nov 2005 15:32:58 -0500 committer Trond Myklebust Fri, 04 Nov 2005 15:32:58 -0500 NFSv4: Fix a race between open() and close() We must not remove the nfs4_state structure from the inode open lists before we are in sequence lock. Signed-off-by: Trond Myklebust commit 462aae65f6ea41de05ebc2a54a9e6b95563591f3 tree 04c661d71405026ec6f8a47bc965038636f79b52 parent 889dfafe836ac9bb711f73d07a4c044cae177c0b author David S. Miller Fri, 04 Nov 2005 11:17:24 -0800 committer David S. Miller Fri, 04 Nov 2005 11:17:24 -0800 [USB]: Make early handoff a final fixup instead of a header one. At header fixup time, it is not yet legal to ioremap() PCI device registers, yet that is what this quirk code needs to do. Signed-off-by: David S. Miller commit 889dfafe836ac9bb711f73d07a4c044cae177c0b tree ca46672a0d807f82e5d1b13e1b9dff0b561d5f36 parent c8ebce6eeb1f6f83fd8c0de209f1f7b627220a81 author Oleg Nesterov Fri, 04 Nov 2005 18:54:30 +0300 committer Linus Torvalds Fri, 04 Nov 2005 10:45:28 -0800 [PATCH] improve scheduler fairness a bit Do not transfer remaining time slice to another cpu on process exit. Signed-off-by: Oleg Nesterov Acked-by: Ingo Molnar Signed-off-by: Linus Torvalds commit c8ebce6eeb1f6f83fd8c0de209f1f7b627220a81 tree 398e03a622d469bcf770ac601708c6aeb25f07fc parent 0676fc122e712751e60ae16e0f2241064711f888 parent b2281abf115031a5242647e0b5b170ffd3bca994 author Linus Torvalds Fri, 04 Nov 2005 10:42:53 -0800 committer Linus Torvalds Fri, 04 Nov 2005 10:42:53 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit 0676fc122e712751e60ae16e0f2241064711f888 tree 1b376ff6ab76995f888550d267ee55073532234a parent 912cbe3c5be5afb28184bb2e49a48fa4a1b098db parent d56c524afaa87ae224b5821ef101891ce076c321 author Linus Torvalds Fri, 04 Nov 2005 10:40:11 -0800 committer Linus Torvalds Fri, 04 Nov 2005 10:40:11 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 912cbe3c5be5afb28184bb2e49a48fa4a1b098db tree 07b324a87f7d67be6df5d3e82f986fecbb3c6c0b parent 0f3278d14f0255e4cd9e07ccefc33ff12d8bb59c parent 52ab4ac258ff10a362d78a3f8160a7c4d0721b51 author Linus Torvalds Fri, 04 Nov 2005 10:39:28 -0800 committer Linus Torvalds Fri, 04 Nov 2005 10:39:28 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/acme/net-2.6 commit d56c524afaa87ae224b5821ef101891ce076c321 tree a35ad97919e7559443509a0e0c8ae72f41be7d9e parent 866237eafc60637a2c9875167486f61d86892c6b author Russell King Fri, 04 Nov 2005 17:28:34 +0000 committer Russell King Fri, 04 Nov 2005 17:28:34 +0000 [PATCH] ARM: Reverted 2918/1: [update] Base port of Comdial MP1000 platfrom No longer maintained commit 866237eafc60637a2c9875167486f61d86892c6b tree 4758a1959c401e1c725be09a87a6e8213c98dbd2 parent e399822da0f99f8486c33c47e7ae0d32151461e5 author Russell King Fri, 04 Nov 2005 17:26:57 +0000 committer Russell King Fri, 04 Nov 2005 17:26:57 +0000 [PATCH] ARM: Reverted 2921/1: Support for the RTC / nvram on the Comdial MP1000 No longer maintained commit e399822da0f99f8486c33c47e7ae0d32151461e5 tree d5541531bcebaca9690ce45a970058887c82920b parent 30c2f90b68b9bcdba83d386d56533d3e884be021 author Russell King Fri, 04 Nov 2005 17:26:56 +0000 committer Russell King Fri, 04 Nov 2005 17:26:56 +0000 [PATCH] ARM: Reverted 2919/1: CS8900A ethernet driver modifications for the Comdial MP1000 No longer maintained commit 30c2f90b68b9bcdba83d386d56533d3e884be021 tree 7354a6dbed550e3abc14ac32afb1fc71e0181f35 parent 74ec71e16189717d3f33ec7e5d22021480f4173b author Nicolas Pitre Fri, 04 Nov 2005 17:17:30 +0000 committer Russell King Fri, 04 Nov 2005 17:17:30 +0000 [ARM] 3097/1: change library link ordering Patch from Nicolas Pitre We have an optimized sha1 routine (arch/arm/lib/sha1.S) meant to override the generic one in lib/sha1.c. Unfortunately lib/lib.a is listed _before_ arch/arm/lib/lib.a in the link argument list and therefore the architecture specific lib functions are not picked up before the generic versions. This patch is a quick fix to change that ordering for ARM. Here's what the kbuild maintainer had to say about it (was also CC'd on lkml): On Wed, 2 Nov 2005, Sam Ravnborg wrote: > This looks like an obvious way to achive correct ordering. > We could change it so arch defines always took precedence but > the above is so simple that it is not worth the effort. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 74ec71e16189717d3f33ec7e5d22021480f4173b tree fc617f464cda174f4b040141ddc25176a92c22cc parent 7866f6492856dde7d70e4f878e3893e1f91216ce author Todd Poynor Fri, 04 Nov 2005 17:15:45 +0000 committer Russell King Fri, 04 Nov 2005 17:15:45 +0000 [ARM] 3087/1: PXA2xx flash platform device conversion Patch from Todd Poynor Add platform devices for flash to Lubbock and Mainstone board files. Once in place, the two existing mtd map drivers for the boards will be converted to use a single pxa2xx map driver in the linux-mtd tree. Take 4: flash_platform_data .map_name vs. .name cleaned up, resync with merged irda patch context. Signed-off-by: Todd Poynor Signed-off-by: Russell King commit 7866f6492856dde7d70e4f878e3893e1f91216ce tree 0b63ebe5c257c98ed52bc7f86508829b2d7102f4 parent 73f0f7c79b046dc5d6b56a3f145430d97d50f877 author Dave Jiang Fri, 04 Nov 2005 17:15:44 +0000 committer Russell King Fri, 04 Nov 2005 17:15:44 +0000 [ARM] 3086/1: ixp2xxx error irq handling Patch from Dave Jiang This provides support for IXP2xxx error interrupt handling. Previously there was a patch to remove this (although the original stuff was broken). Well, now the error bits are needed again. These are used extensively by the micro-engine drivers according to Deepak and also we will need it for the new EDAC code that Alan Cox is trying to push into the main kernel. Re-submit of 3072/1, generated against git tree pulled today. AFAICT, this git tree pulled in all the ARM changes that's in arm.diff. Please let me know if there are additional changes. Thx! Signed-off-by: Dave Jiang Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 73f0f7c79b046dc5d6b56a3f145430d97d50f877 tree 4ea8a6270a7b3be8dc14fee074a0bbfeb620dea8 parent 8b5f4f06eecc081892b05cd6077314d68872dfd6 author Nicolas Pitre Fri, 04 Nov 2005 17:15:43 +0000 committer Russell King Fri, 04 Nov 2005 17:15:43 +0000 [ARM] 3094/1: remove PLD stuff from old uaccess code Patch from Nicolas Pitre ARM processors that have pld instructions are not using those copy_user implementation anymore. Let's remove the useless PLD lines which were half wrong anyway. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit c3df69cd854551cf70e9c63aa509c26621084f60 tree 4d650a6939045e103734d72712877088cf1d3258 parent 292a6c58e9133b57d004d92a846fff326dd31e92 parent 1970282f3b453b7aac3b192a44705dcb5277fd82 author Paul Mackerras Fri, 04 Nov 2005 17:03:39 +1100 committer Paul Mackerras Fri, 04 Nov 2005 17:03:39 +1100 Merge git://oak/home/sfr/kernels/iseries/work commit 1970282f3b453b7aac3b192a44705dcb5277fd82 tree 03993bd7b9e69619313da19c137cdde2df9416c5 parent 9a0f78f63bc05d195aab781486ed57d1418d5f59 author Stephen Rothwell Fri, 04 Nov 2005 16:58:59 +1100 committer Stephen Rothwell Fri, 04 Nov 2005 16:58:59 +1100 powerpc: merge tlbflush.h Signed-off-by: Stephen Rothwell commit 292a6c58e9133b57d004d92a846fff326dd31e92 tree a267d1881a9a0bcb69938becd0c182874cd6c19c parent 8ad200d7b7c8fac77cf705831e90e889360d7030 parent dc3a9efb5ee89493a42c3365d219e339e4720c2b author Paul Mackerras Fri, 04 Nov 2005 16:17:32 +1100 committer Paul Mackerras Fri, 04 Nov 2005 16:17:32 +1100 Merge branch 'for-paulus' of git://kernel/home/michael/src/work/ commit 8ad200d7b7c8fac77cf705831e90e889360d7030 tree c954352ca3cd8c64e913ceb4a5a082ce7e98f8cd parent d3ab57ebdc6457543b346255fa47b0ecd7671136 author Paul Mackerras Fri, 04 Nov 2005 13:28:58 +1100 committer Paul Mackerras Fri, 04 Nov 2005 13:28:58 +1100 powerpc: Merge smp-tbsync.c (the generic timebase sync routine) Signed-off-by: Paul Mackerras commit dc3a9efb5ee89493a42c3365d219e339e4720c2b tree a0d261c2933f3083f351c858b01de7677356d4b7 parent 30415f6a63f3383a18e9adf7c144acabe6893f63 parent d3ab57ebdc6457543b346255fa47b0ecd7671136 author Michael Ellerman Fri, 04 Nov 2005 12:12:52 +1100 committer Michael Ellerman Fri, 04 Nov 2005 12:12:52 +1100 Merge with Paulus commit 30415f6a63f3383a18e9adf7c144acabe6893f63 tree 1243fd078c52fca858145d5b96e6e4a2d310de4e parent b8f510219edc719d4c305918e16edc578bcfc16f author Michael Ellerman Thu, 03 Nov 2005 21:10:48 +1100 committer Michael Ellerman Fri, 04 Nov 2005 12:10:51 +1100 powerpc: Fix random memory corruption in merged elf.h The merged verison of ELF_CORE_COPY_REGS is basically the PPC64 version, with a memset that came from PPC and a few types abstracted out into #defines. But it's not _quite_ right. The first problem is we calculate the number of registers with: nregs = sizeof(struct pt_regs) / sizeof(ELF_GREG_TYPE) For a 32-bit process on a 64-bit kernel that's bogus because the registers are 64 bits, but ELF_GREG_TYPE is u32, so nregs == 88 which is wrong. The other problem is the memset, which assumes a struct pt_regs is smaller than a struct elf_regs. For a 32-bit process on a 64-bit kernel that's false. The fix is to calculate the number of regs using sizeof(unsigned long), which should always be right, and just memset the whole damn thing _before_ copying the registers in. Signed-off-by: Michael Ellerman commit b8f510219edc719d4c305918e16edc578bcfc16f tree 7f0303abf4ce15d1f35516ee36fc8aebc270db6d parent 40765d2b8b86446b4ac8ec880cf4fdf56ce4ae7e author Michael Ellerman Fri, 04 Nov 2005 12:09:42 +1100 committer Michael Ellerman Fri, 04 Nov 2005 12:09:42 +1100 powerpc: Implement smp_release_cpus() in C not asm There's no reason for smp_release_cpus() to be asm, and most people can make more sense of C code. Add an extern declaration to smp.h and remove the custom one in machine_kexec.c Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 0f3278d14f0255e4cd9e07ccefc33ff12d8bb59c tree 9bbb209cab841f700162a96e158dfa3ecd361f46 parent 06024f217d607369f0ee0071034ebb03071d5fb2 parent 15c84a470116b2a3b58a7353a6cf711c29a91854 author Linus Torvalds Thu, 03 Nov 2005 16:25:58 -0800 committer Linus Torvalds Thu, 03 Nov 2005 16:25:58 -0800 Merge git://oss.sgi.com:8090/oss/git/xfs-2.6 commit 15c84a470116b2a3b58a7353a6cf711c29a91854 tree 823a083661724315d78b43940f274b3bbb2bbe85 parent 05db218a27c955880dce6d080d5159247aad3629 author Nathan Scott Fri, 04 Nov 2005 10:51:01 +1100 committer Nathan Scott Fri, 04 Nov 2005 10:51:01 +1100 [XFS] Remove no-longer-used qsort source. Signed-off-by: Nathan Scott commit 9a0f78f63bc05d195aab781486ed57d1418d5f59 tree 3d1c3bbd9ec43290ed0b458d4e3bf07833caf93c parent d3ab57ebdc6457543b346255fa47b0ecd7671136 author Stephen Rothwell Fri, 04 Nov 2005 10:20:27 +1100 committer Stephen Rothwell Fri, 04 Nov 2005 10:20:27 +1100 powerpc: merge tlb.h Signed-off-by: Stephen Rothwell commit d09e32764176b61c4afee9fd5e7fe04713bfa56f tree 1818a0043dcbc9789dbc12c6affe5a6924d65366 parent 0c99cb6d5fe77872c5a32cff837c05f70158ce15 author Jack Morgenstein Thu, 03 Nov 2005 14:58:33 -0800 committer Roland Dreier Thu, 03 Nov 2005 14:58:33 -0800 [IB] mthca: check P_Key index in modify QP Make sure that the P_Key index passed into mthca_modify_qp() is within the device's P_Key table. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 05db218a27c955880dce6d080d5159247aad3629 tree 17bf1d374021f9313defdf534eb1ff11a94a237b parent 992c83a1295c9fff22c8cbd8ae199872a49934b9 author Nathan Scott Fri, 04 Nov 2005 09:49:07 +1100 committer Nathan Scott Fri, 04 Nov 2005 09:49:07 +1100 [XFS] Fix an inode32 regression - if no options are presented, must still set default flags. SGI-PV: 945242 SGI-Modid: xfs-linux-melb:xfs-kern:24292a Signed-off-by: Nathan Scott commit b2281abf115031a5242647e0b5b170ffd3bca994 tree f626505d21050dde47730b3e2d46d6cf5eddd8cf parent 06024f217d607369f0ee0071034ebb03071d5fb2 author Ben Dooks Thu, 03 Nov 2005 21:07:37 +0000 committer Russell King Thu, 03 Nov 2005 21:07:37 +0000 [SERIAL] 8250_early.c passing 0 instead of NULL Fix sparse warning about passing `0` to simple_strtoul() Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 8b5f4f06eecc081892b05cd6077314d68872dfd6 tree ddf8d2afa9d122b69f73de4f3000b044ef3e923f parent 5f8b1178e246422ebddc1b16487314c91edf85fe author Deepak Saxena Thu, 03 Nov 2005 21:05:39 +0000 committer Russell King Thu, 03 Nov 2005 21:05:39 +0000 [ARM] Fix IXDP2x01 config files IXDP2401 config file has wrong baudrate and both boards have 3 UARTs. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 5f8b1178e246422ebddc1b16487314c91edf85fe tree 67b0b09acc80bfc1ca81f92cdad45ca156706bea parent 24bcc2f46cf8982dbc02c8e3037dfc5e12f1e35c parent 7e5e6e9a509c4ed2973a345ec7ffb96577f42e26 author Russell King Thu, 03 Nov 2005 21:02:39 +0000 committer Russell King Thu, 03 Nov 2005 21:02:39 +0000 [ARM] Merge SMP tree commit 24bcc2f46cf8982dbc02c8e3037dfc5e12f1e35c tree 1136d17728f1222470f0e03f58163b9ed4c72dca parent 089311e117adb8ffe13984d122e33287ffa8c7ec author Nicolas Pitre Thu, 03 Nov 2005 20:40:50 +0000 committer Russell King Thu, 03 Nov 2005 20:40:50 +0000 [ARM] 3092/1: remove excessive print format padding Patch from Nicolas Pitre Using a llx format to print addresses that might possibly be (only) 36 bits wide make sense. However making it a zero padded 16 char wide field is a bit excessive and useless. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 7e5e6e9a509c4ed2973a345ec7ffb96577f42e26 tree 26a9f2ae9b890a755585c83d27078d3682ff65ac parent 4a5f79e7e65d24d2fa9eb6e6208672571704d337 author Russell King Thu, 03 Nov 2005 20:32:45 +0000 committer Russell King Thu, 03 Nov 2005 20:32:45 +0000 [ARM SMP] Do not clear cpu_vm_mask for VIPT caches Since we do not invalidate TLBs/caches on MM switches, we should not clear the cpu_vm_mask for the CPU. Signed-off-by: Russell King commit 0c99cb6d5fe77872c5a32cff837c05f70158ce15 tree b974a31452cb645f063589262bde09b6c5b05701 parent 87cfe32375e0b69b999b59bf8287f501df3e43f7 author Roland Dreier Thu, 03 Nov 2005 12:01:18 -0800 committer Roland Dreier Thu, 03 Nov 2005 12:01:18 -0800 [IB] umad: fix hot remove of IB devices Fix hotplug of devices for ib_umad module: when a device goes away, kill off all MAD agents for open files associated with that device, and make sure that the device is not touched again after ib_umad returns from its remove_one function. Signed-off-by: Roland Dreier commit 4a5f79e7e65d24d2fa9eb6e6208672571704d337 tree 44364e64ba8cedf3fbc5c3bb5c79b669dba0c1fd parent 06024f217d607369f0ee0071034ebb03071d5fb2 author Russell King Thu, 03 Nov 2005 15:48:21 +0000 committer Russell King Thu, 03 Nov 2005 15:48:21 +0000 [ARM SMP] Add configuration option for ARMv6K processors The 'K' extension adds several new instructions to the ARMv6 ISA which are primerily useful for SMP. Signed-off-by: Russell King commit 089311e117adb8ffe13984d122e33287ffa8c7ec tree 6babb461ad7f6abed02f0fa0d39206c7b3940bfa parent 0dcc7474b2fc547b2193dd1bafc4670a70d44e91 author Russell King Thu, 03 Nov 2005 11:04:53 +0000 committer Russell King Thu, 03 Nov 2005 11:04:53 +0000 [ARM] Fix another build error with IOP3xx platforms ld doesn't like comments starting with // in its scripts Signed-off-by: Russell King commit 0dcc7474b2fc547b2193dd1bafc4670a70d44e91 tree e56f86efaa811634971aef4629b18f2f8151e2ff parent ca82d85bc2512b759ff6356300b46e6de5b106da author Russell King Thu, 03 Nov 2005 10:17:44 +0000 committer Russell King Thu, 03 Nov 2005 10:17:44 +0000 [ARM] Add Realview default configuration file Signed-off-by: Russell King commit ca82d85bc2512b759ff6356300b46e6de5b106da tree 5675fad370cb4b38784f531d532fd5ffccdc4701 parent 06024f217d607369f0ee0071034ebb03071d5fb2 author Russell King Thu, 03 Nov 2005 10:06:35 +0000 committer Russell King Thu, 03 Nov 2005 10:06:35 +0000 [ARM] Fix more 3016/1 breakage Signed-off-by: Russell King commit 40765d2b8b86446b4ac8ec880cf4fdf56ce4ae7e tree 36f18519c5094495840a1a1c424f24db837eed22 parent c87ef1171db207d9d19f87ad12db92974d95c466 author Michael Ellerman Thu, 03 Nov 2005 19:34:38 +1100 committer Michael Ellerman Thu, 03 Nov 2005 19:34:38 +1100 powerpc: Cleanup vpa code register_vpa() doesn't actually do a VPA register call it just uses the flags you pass it, so rename it to vpa_call() to be clearer. We can then define register_vpa() and unregister_vpa() which are both simple wrappers around vpa_call(). (we'll need unregister_vpa() for kexec soon) We can then cleanup vpa_init(), and because vpa_init() is only called from platforms/pseries we remove the definition in asm-ppc64/smp.h. Signed-off-by: Michael Ellerman commit 87cfe32375e0b69b999b59bf8287f501df3e43f7 tree 2cbc1b1e7bb230afcf4903b6527e3238f689de89 parent 8ae5a8a24f7fe797027d481f88c1464b0e47eede author Roland Dreier Wed, 02 Nov 2005 22:59:37 -0800 committer Roland Dreier Wed, 02 Nov 2005 22:59:37 -0800 [IB] mthca: fix format of FW version Mellanox has decided that the components of the firmware version are really meant to be displayed in decimal, e.g. 0x000400070190 is version 4.7.400. Change the format we use from "%x.%x.%x" to "%d.%d.%d" to match this convention. Signed-off-by: Roland Dreier commit c87ef1171db207d9d19f87ad12db92974d95c466 tree 18f229ae7cd22fd7cb2c9ab54a6b5632a08d45c2 parent e19e4ab4154a831788365c07e7a10d9114bba46c author Michael Ellerman Thu, 03 Nov 2005 17:57:53 +1100 committer Michael Ellerman Thu, 03 Nov 2005 17:57:53 +1100 powerpc: Add helper functions for synthesising instructions at runtime There's a few places already, and soon will be more, where we synthesise branch instructions at runtime. Rather than doing it by hand in each case, it would make sense to have one implementation. Signed-off-by: Michael Ellerman commit d3ab57ebdc6457543b346255fa47b0ecd7671136 tree bd2f8fe9193d21a038c645fd9af2e474073d370c parent 7f23292d5a6525a133d7cb8f2f33df39dd069822 parent 5adb83c2fa136e14172b1a65b0f8aa28f2cb9f62 author Paul Mackerras Thu, 03 Nov 2005 17:04:08 +1100 committer Paul Mackerras Thu, 03 Nov 2005 17:04:08 +1100 Merge git://oak/home/sfr/kernels/iseries/work commit 5adb83c2fa136e14172b1a65b0f8aa28f2cb9f62 tree 2334a905613952748040bed28c79c7d1e39c4bec parent 608f8b3cf3a7fbd009e6bf78e680ea04e6a4e46f author Stephen Rothwell Thu, 03 Nov 2005 16:59:17 +1100 committer Stephen Rothwell Thu, 03 Nov 2005 16:59:17 +1100 powerpc: merge ucontext.h Signed-off-by: Stephen Rothwell commit 7f23292d5a6525a133d7cb8f2f33df39dd069822 tree ee2490650a26674dab6172e3f20093b0fb753d46 parent 457e04ca5cb6efa9392c48409bee802eaa394d8c author David Gibson Thu, 03 Nov 2005 10:13:58 +1100 committer Paul Mackerras Thu, 03 Nov 2005 16:58:17 +1100 [PATCH] powerpc: Keep fixing merged ipcbuf.h Oops, replacing the two u64s in struct ipc64_perm with __u32s changed the alignment of that structure, which could mess up userspace. Revert to using two unsigned long longs (which is what ppc32 had originally). ppc64 orignally had two unsigned longs, but long long is the same size on 64 bit, so this should be ok there too. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 457e04ca5cb6efa9392c48409bee802eaa394d8c tree f6ae788376d122482c1c8eb47a9f222926053dc4 parent 3d9e9dc49d9e6d10ad4a2f4ababc899fc527584c author Vitaly Bordug Wed, 02 Nov 2005 22:55:14 +0300 committer Paul Mackerras Thu, 03 Nov 2005 16:57:50 +1100 [PATCH] ppc32: Fixed warning in m8xx_setup.c This adds missing header and thus fix the warning issued by ming prototype. Signed-off-by: Vitaly Bordug Signed-off-by: Paul Mackerras commit 3d9e9dc49d9e6d10ad4a2f4ababc899fc527584c tree de69ad5cc9d69f0b6f48ee00706b201f56a9d0d0 parent 38dc16186433ba961ace39c97ac6f7071250f981 author Marcelo Tosatti Wed, 02 Nov 2005 12:42:16 -0200 committer Paul Mackerras Thu, 03 Nov 2005 16:57:13 +1100 [PATCH] ppc32 8xx: fix cpm_dpalloc() comment Current comment on top of m8xx_cpm_dpinit is wrong. Signed-off-by: Marcelo Tosatti Signed-off-by: Paul Mackerras commit 38dc16186433ba961ace39c97ac6f7071250f981 tree bb77166bfe1236ea734b263fdc64e604cc29a1ea parent 7ed3463b6192e9542983be4ba4d913d74b3ecea6 author Marcelo Tosatti Wed, 02 Nov 2005 12:46:28 -0200 committer Paul Mackerras Thu, 03 Nov 2005 16:57:07 +1100 [PATCH] ppc32 8xx: Fix harmless warning in 8xx_io/commproc.c Signed-off-by: Paul Mackerras commit 7ed3463b6192e9542983be4ba4d913d74b3ecea6 tree e75fa23db377a71103df6cb324eca8cbf77d6bd0 parent 91c33d28cda0d3ee1df0cdf399610dbb4e846a45 author Marcelo Tosatti Wed, 02 Nov 2005 12:44:16 -0200 committer Paul Mackerras Thu, 03 Nov 2005 16:56:53 +1100 [PATCH] ppc32 8xx: export symbols required for modular IDE This fixes these warnings: Building modules, stage 2. MODPOST *** Warning: "__ide_mm_insl" [drivers/ide/ide-core.ko] undefined! *** Warning: "__ide_mm_outsw" [drivers/ide/ide-core.ko] undefined! *** Warning: "__ide_mm_insw" [drivers/ide/ide-core.ko] undefined! *** Warning: "__ide_mm_outsl" [drivers/ide/ide-core.ko] undefined! Signed-off-by: Paul Mackerras commit 91c33d28cda0d3ee1df0cdf399610dbb4e846a45 tree 9be3172ec876a9698e2fa8bd0356bc104213fdaa parent 9122ee33c6688491c65dcb1973e86b943883a8ab author David Woodhouse Wed, 02 Nov 2005 16:54:46 +0000 committer Paul Mackerras Thu, 03 Nov 2005 16:56:13 +1100 [PATCH] powerpc: always init nvram on 64-bit powermac Currently there is no Kconfig symbol to indicate that we want nvram support on 64-bit kernels; it's assumed we always want it, so make the powermac setup code always initialize the pmac nvram code if 64-bit. Signed-off-by: Paul Mackerras commit 9122ee33c6688491c65dcb1973e86b943883a8ab tree 2ff82ea5d405c94aa1b3fa809aa3bb5621db7b86 parent 8902e87f1fc72740a40686a31ca07e6c2cf1f0f2 author Becky Bruce Wed, 02 Nov 2005 10:52:52 -0600 committer Paul Mackerras Thu, 03 Nov 2005 16:54:10 +1100 [PATCH] ppc: Fix build warnings in arch/ppc/kernel/traps.c The latest updates to bug.h generate build warnings in traps.c in arch/ppc. Fix print format specifiers to account for change of line type to long from int. Signed-off-by: Becky Bruce Signed-off-by: Paul Mackerras commit 8902e87f1fc72740a40686a31ca07e6c2cf1f0f2 tree 17d6fa17cbf41c5eda3d79696e77f9a69fa0b51a parent f4fcbbe9a7fdf11305fea657202b954bdc2228ec author John Rose Wed, 02 Nov 2005 10:29:55 -0600 committer Paul Mackerras Thu, 03 Nov 2005 16:53:49 +1100 [PATCH] ppc64: Fix add notifier crashes The extraction of PCI stuff from struct device_node left some false assumptions in notifier code. As a result, dynamic add crashes when non-PCI nodes are added. This patch fixes these assumptions. Signed-off-by: John Rose Signed-off-by: Paul Mackerras commit 992c83a1295c9fff22c8cbd8ae199872a49934b9 tree 5b4f2baf0e2ef69e54b9c3bef23490af4e0f658f parent 7f248a81c5067f5b018ff889c029b960b399ac08 author Nathan Scott Thu, 03 Nov 2005 16:50:07 +1100 committer Nathan Scott Thu, 03 Nov 2005 16:50:07 +1100 [XFS] Remove several no-longer-used files. Signed-off-by: Nathan Scott commit 608f8b3cf3a7fbd009e6bf78e680ea04e6a4e46f tree cf3a195fe50b61ce382859117fbe7197ff3a7bad parent 879168ee51925f7e68165577fba8ef781ccfccb9 author Stephen Rothwell Thu, 03 Nov 2005 16:24:25 +1100 committer Stephen Rothwell Thu, 03 Nov 2005 16:24:25 +1100 powerpc: merge sigcontext.h Signed-off-by: Stephen Rothwell commit 7f248a81c5067f5b018ff889c029b960b399ac08 tree 20242df58ea1f871ba89ade5ce15e2faddefa0f4 parent 538524aed09fd2c52094afadf0160cef8954d4c8 author Nathan Scott Thu, 03 Nov 2005 16:14:31 +1100 committer Nathan Scott Thu, 03 Nov 2005 16:14:31 +1100 [XFS] Cleanup cosmetic differences between source trees. Signed-off-by: Nathan Scott commit 879168ee51925f7e68165577fba8ef781ccfccb9 tree 7c044c090650715e6c46e252e9378095e9aa5853 parent 62f4f47da64a10630d5f6dabc616477b0e09b612 author Stephen Rothwell Thu, 03 Nov 2005 15:32:07 +1100 committer Stephen Rothwell Thu, 03 Nov 2005 16:03:28 +1100 powerpc: move include/asm-ppc64/ppc32.h to arch/powerpc/kernel It is only included by signal_32.c Signed-off-by: Stephen Rothwell commit 62f4f47da64a10630d5f6dabc616477b0e09b612 tree cae7fc8698e2e8c18ad7e81a4c01c645757c53a6 parent da80d460bf4606671df3ba53408f45ab848e67ba author Stephen Rothwell Thu, 03 Nov 2005 15:26:23 +1100 committer Stephen Rothwell Thu, 03 Nov 2005 16:03:20 +1100 powerpc: move ppc64/kernel/signal.c to arch/powerpc Signed-off-by: Stephen Rothwell commit da80d460bf4606671df3ba53408f45ab848e67ba tree 590195c548377ac8e110b1441c7f60c7f731a4b1 parent c5a1ebd24547df5738138ebc154e1abccfa85468 author Stephen Rothwell Thu, 03 Nov 2005 15:14:36 +1100 committer Stephen Rothwell Thu, 03 Nov 2005 16:03:07 +1100 powerpc: merge ptrace.h Move struct ptregs32 into asm-ppc64/ppc32.h Signed-off-by: Stephen Rothwell commit e19e4ab4154a831788365c07e7a10d9114bba46c tree 63c61be402940f0731d6810b2d1d7372b61a9815 parent 358c86fda080a5e7c66dcaad3707061f32fff7cc author Michael Ellerman Thu, 03 Nov 2005 16:03:06 +1100 committer Michael Ellerman Thu, 03 Nov 2005 16:03:06 +1100 powerpc: Set entry point and text address in linker script Currently we set the kernel entry point and the address of the text section in the Makefile, using CONFIG_KERNEL_START. But we've already got in the linker script, so we can just use KERNELBASE directly. That means if we ever change KERNELBASE there's one less place to change it. And we can set the entry point with ENTRY(). There are zero differences from "readelf -a vmlinux" with or without this patch. Signed-off-by: Michael Ellerman commit c5a1ebd24547df5738138ebc154e1abccfa85468 tree d3ecb2e2e7dfd880318260a3c58c1ed850765caf parent f4fcbbe9a7fdf11305fea657202b954bdc2228ec author Stephen Rothwell Thu, 03 Nov 2005 16:02:23 +1100 committer Stephen Rothwell Thu, 03 Nov 2005 16:02:23 +1100 powerpc: merge stat.h Signed-off-by: Stephen Rothwell commit 8ae5a8a24f7fe797027d481f88c1464b0e47eede tree 389cecdfb0769cdddd0e901c1d60b9549b0a6322 parent 21a384897d48c116b879924c3dd9e96f6f1e764b author Roland Dreier Wed, 02 Nov 2005 20:51:01 -0800 committer Roland Dreier Wed, 02 Nov 2005 20:51:01 -0800 [IPoIB] don't compile debug code if debugging isn't enabled Don't build ipoib_mcast_iter_ functions if CONFIG_INFINIBAND_IPOIB_DEBUG is not enabled -- their only callers will not be built either. Also move the prototype for ipoib_open() to ipoib.h to fix a sparse warning. Signed-off-by: Roland Dreier commit 358c86fda080a5e7c66dcaad3707061f32fff7cc tree 57a09a252b352ce090e35dd6a9e57f9cb3ed0270 parent e1df870d546f4d033030615aa3d01c0341c1ef1f author Michael Ellerman Thu, 03 Nov 2005 15:39:09 +1100 committer Michael Ellerman Thu, 03 Nov 2005 15:39:09 +1100 powerpc: Make early debugging fit on 80 character terminal There's some debugging in prom.c that wraps nastly on 80 character terminals, reformat it to fit. Signed-off-by: Michael Ellerman commit e1df870d546f4d033030615aa3d01c0341c1ef1f tree 67621ddb359f503ba4a01f777313740ab479a849 parent a1218720321d778134914cf90ef54cf0d1d8477c author Michael Ellerman Thu, 03 Nov 2005 15:35:45 +1100 committer Michael Ellerman Thu, 03 Nov 2005 15:35:45 +1100 powerpc: Merge asm-ppc/kexec.h and asm-ppc64/kexec.h Merge include/asm-ppc/kexec.h and include/asm-ppc64/kexec.h. The only thing that's really changed is that we now allocate crash_notes properly on PPC32. It's address is exported via sysfs, so it's not correct for it to be a pointer. I've also removed some of the "we don't use this" comments, because they're wrong (or perhaps were referring only to arch code). Signed-off-by: Michael Ellerman commit a1218720321d778134914cf90ef54cf0d1d8477c tree 32399ec564cb1996fba4415979fcbf69b33b3ecc parent cab0af98dfbbf8076d1af01f2927af491a76a33f author Michael Ellerman Thu, 03 Nov 2005 15:33:31 +1100 committer Michael Ellerman Thu, 03 Nov 2005 15:33:31 +1100 powerpc: Move plpar_wrappers.h into arch/powerpc/platforms/pseries Move plpar_wrappers.h into arch/powerpc/platforms/pseries, fixup white space, and update callers. Signed-off-by: Michael Ellerman commit cab0af98dfbbf8076d1af01f2927af491a76a33f tree baf3a5cda6e4c117652667ca013db28906497e4c parent 60d4f4c6567f2be77f58838156e7b667238a9580 author Michael Ellerman Thu, 03 Nov 2005 15:30:49 +1100 committer Michael Ellerman Thu, 03 Nov 2005 15:30:49 +1100 powerpc: Make set_dabr() a ppc_md function Move pSeries specific code in set_dabr() into a ppc_md function, this will allow us to keep plpar_wrappers.h private to platforms/pseries. Signed-off-by: Michael Ellerman commit 52ab4ac258ff10a362d78a3f8160a7c4d0721b51 tree e61847ab154bfa51b735747df09ca4bcb73336f9 parent 979ad663125af4be120697263038bb06ddbb83b4 author Thomas Graf Tue, 01 Nov 2005 15:13:02 +0100 committer Arnaldo Carvalho de Melo Thu, 03 Nov 2005 02:29:06 -0200 [PKT_SCHED]: Rework QoS and/or fair queueing configuration Make "QoS and/or fair queueing" have its own menu, it's too big to be inlined into "Network options". Remove the obsolete NET_QOS option. Automatically select NET_CLS if needed. Do the same for NET_ESTIMATOR but allow it to be selected manually for statistical purposes. Add comments to separate queueing from classification. Fix dependencies and ordering of classifiers. Improve descriptions/help texts and remove outdated pieces. Signed-off-by: Thomas Graf Signed-off-by: Arnaldo Carvalho de Melo commit 60d4f4c6567f2be77f58838156e7b667238a9580 tree fcdb75d164fa8c8af2a9e6338ae7558f43cf0a89 parent 398382999bcff46ec1c7e7ab7574b10b087481c7 author Michael Ellerman Thu, 03 Nov 2005 15:24:57 +1100 committer Michael Ellerman Thu, 03 Nov 2005 15:24:57 +1100 powerpc: Copy default configs into arch/powerpc/configs Copy default configs into arch/powerpc/configs, rename bpa_defconfig to cell_defconfig while we're at it. Signed-off-by: Michael Ellerman commit 06024f217d607369f0ee0071034ebb03071d5fb2 tree d38a20395a0619976543cfb68ea925aebc545575 parent cfa024f4e45562c50b9eccb23649ab103578037b author Alexandre Oliva Mon, 31 Oct 2005 18:29:36 -0200 committer Linus Torvalds Wed, 02 Nov 2005 19:41:32 -0800 [PATCH] x86-64: bitops fix for -Os This fixes the x86-64 find_[first|next]_zero_bit() function for the end-of-range case. It didn't test for a zero size, and the "rep scas" would do entirely the wrong thing. Signed-off-by: Alexandre Oliva Signed-off-by: Linus Torvalds commit f4fcbbe9a7fdf11305fea657202b954bdc2228ec tree d3f6a54b82b6d28f7e78cebd8043df2d9b596b5a parent 398382999bcff46ec1c7e7ab7574b10b087481c7 author Paul Mackerras Thu, 03 Nov 2005 14:41:19 +1100 committer Paul Mackerras Thu, 03 Nov 2005 14:41:19 +1100 powerpc: Merge remaining RTAS code This moves rtas-proc.c and rtas_flash.c into arch/powerpc/kernel, since cell wants them as well as pseries (and chrp can use rtas-proc.c too, at least in principle). rtas_fw.c is gone, with its bits moved into rtas_flash.c and rtas.c. Signed-off-by: Paul Mackerras commit 979ad663125af4be120697263038bb06ddbb83b4 tree 096b4f7abd60bbaf71bef8b2c182cda3970bb888 parent c75d721c761ad0f2d8725c40af9e4f376efefd24 author Yan Zheng Fri, 14 Oct 2005 18:31:15 +0800 committer Arnaldo Carvalho de Melo Thu, 03 Nov 2005 01:03:05 -0200 [IPV6]: inet6_ifinfo_notify should use RTM_DELLINK in addrconf_ifdown Signed-off-by: Yan Zheng Acked-by: YOSHIFUJI Hideaki Signed-off-by: Arnaldo Carvalho de Melo commit 538524aed09fd2c52094afadf0160cef8954d4c8 tree a86cea0500990bc2122aa1cc5f881a25a4269fe3 parent de69e5f44ecbf1d9faca4f473f4210473d26cd41 author Nathan Scott Thu, 03 Nov 2005 13:55:06 +1100 committer Nathan Scott Thu, 03 Nov 2005 13:55:06 +1100 [XFS] fix XFS quota for modular XFS builds Cannot build XFS filesystem support as module with quota support. It works only when the XFS filesystem support is compiled into the kernel. Menuconfig prevents from setting CONFIG_XFS_FS=m and CONFIG_XFS_QUOTA=y. How to reproduce: configure the XFS filesystem with quota support as module. The resulting kernel won't have quota support compiled into xfs.ko. Fix: Changing the fs/xfs/Kconfig file from tristate to bool lets you configure the quota support to be compiled into the XFS module. The Makefile-linux-2.6 checks only for CONFIG_XFS_QUOTA=y. Signed-off-by: Dimitri Puzin Signed-off-by: Adrian Bunk signed-off-by: Andrew Morton Signed-off-by: Nathan Scott commit de69e5f44ecbf1d9faca4f473f4210473d26cd41 tree 45d51d1c45afa3f08c8a46a7d591506d8ff50068 parent a2f8e178ad3e576d107f5d9d47c056dd57221857 author Nathan Scott Thu, 03 Nov 2005 13:53:34 +1100 committer Nathan Scott Thu, 03 Nov 2005 13:53:34 +1100 [XFS] Add a mechanism for XFS to use the generic quota sync method. This is now used to issue a delayed allocation flush before reporting quota, which allows the used space quota report to match reality. Signed-off-by: Nathan Scott commit a2f8e178ad3e576d107f5d9d47c056dd57221857 tree 8599106b12879642b7294299d4255f94afeadf2a parent 436d7d3060fdeca91d0dd67a9ae21d4915f1410f author Nathan Scott Thu, 03 Nov 2005 13:51:23 +1100 committer Nathan Scott Thu, 03 Nov 2005 13:51:23 +1100 [XFS] Add the project quota type into the XFS quota header. Signed-off-by: Nathan Scott commit 436d7d3060fdeca91d0dd67a9ae21d4915f1410f tree 2e026220a436722f91c9258effbccdae2e3532ab parent fc97bbf35d925b3e18a6a31d577552825146952e author Nathan Scott Thu, 03 Nov 2005 13:50:05 +1100 committer Nathan Scott Thu, 03 Nov 2005 13:50:05 +1100 [XFS] Update XFS quota header license to match the SGI boilerplate. Signed-off-by: Nathan Scott commit fc97bbf35d925b3e18a6a31d577552825146952e tree 2c70d450bd853132051a9b837c6bf9a59f78f050 parent bf6f05aa0bb6f1fe9a9ce35287678c3916bddfef author Nathan Scott Thu, 03 Nov 2005 13:46:43 +1100 committer Nathan Scott Thu, 03 Nov 2005 13:46:43 +1100 [XFS] Update XFS documentation. Signed-off-by: Nathan Scott commit cfa024f4e45562c50b9eccb23649ab103578037b tree d49992521230a4e302c6d4bef9191e885220b82e parent 3a7142371efdc95f4c5b5ffc188b18efdc4e64dd parent a054a811597a17ffbe92bc4db04a4dc2f1b1ea55 author Linus Torvalds Wed, 02 Nov 2005 18:38:22 -0800 committer Linus Torvalds Wed, 02 Nov 2005 18:38:22 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 3a7142371efdc95f4c5b5ffc188b18efdc4e64dd tree 29f2fbc9b0932ebeeb85dad6b309c1a22f9b1026 parent ec1890c5df451799dec969a3581ff72e1934b5ee parent c7fb577e2a6cb04732541f2dc402bd46747f7558 author Linus Torvalds Wed, 02 Nov 2005 18:36:15 -0800 committer Linus Torvalds Wed, 02 Nov 2005 18:36:15 -0800 Merge branch 'swiotlb' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 commit c75d721c761ad0f2d8725c40af9e4f376efefd24 tree ee282f7fd6e465d7b031d64b9ed7c03233ea94cf parent c2da8acaf488b8651edfb04ebf3ab089f3a7830f author Herbert Xu Wed, 02 Nov 2005 18:55:00 +1100 committer Arnaldo Carvalho de Melo Wed, 02 Nov 2005 22:25:04 -0200 [NET]: Fix zero-size datagram reception The recent rewrite of skb_copy_datagram_iovec broke the reception of zero-size datagrams. This patch fixes it. Signed-off-by: Herbert Xu Signed-off-by: Arnaldo Carvalho de Melo commit c2da8acaf488b8651edfb04ebf3ab089f3a7830f tree 9869072f9daaf66d68c365076e2bb72af00706c7 parent 2407534f8be8015d585104bcc4374870b6b70fe7 author Stephen Hemminger Tue, 01 Nov 2005 17:05:09 -0800 committer Arnaldo Carvalho de Melo Wed, 02 Nov 2005 22:08:52 -0200 [ETHERNET]: Add ether stuff to docbook Fix up etherdevice docbook comments and make them (and other networking stuff) get dragged into the kernel-api. Delete the old 8390 stuff, it really isn't interesting anymore. Signed-off-by: Stephen Hemminger Signed-off-by: Arnaldo Carvalho de Melo commit 2407534f8be8015d585104bcc4374870b6b70fe7 tree fba7cb22827991ccf447824a6b2d66a543b27e21 parent 450b5b18983cc15f4d27bd3f62901e02281e818b author Stephen Hemminger Tue, 01 Nov 2005 16:52:11 -0800 committer Arnaldo Carvalho de Melo Wed, 02 Nov 2005 21:54:07 -0200 [ETHERNET]: Optimize is_broadcast_ether_addr Optimize the match for broadcast address by using bit operations instead of comparison. This saves a number of conditional branches, and generates smaller code. Signed-off-by: Stephen Hemminger Signed-off-by: Arnaldo Carvalho de Melo commit bf6f05aa0bb6f1fe9a9ce35287678c3916bddfef tree 0707dd164ab0172a922b52e10212334f4675235e parent 19d5bcf370c64b1acb1e928b24baf3b68cec914b author Yingping Lu Thu, 03 Nov 2005 10:31:47 +1100 committer Nathan Scott Thu, 03 Nov 2005 10:31:47 +1100 [XFS] Fixed the inconsistency between attribute b-tree intermidiate node and leaf blocks. The problem cam from xfsqa test 117. SGI-PV: 940655 SGI-Modid: xfs-linux:xfs-kern:201527a Signed-off-by: Yingping Lu Signed-off-by: Nathan Scott commit 450b5b18983cc15f4d27bd3f62901e02281e818b tree dea7c8dbd045cde1d4fc46b63ff9c5d66f39f536 parent 8713dbf05754aa777f31bf491cb60a111f7ad828 author Stephen Hemminger Tue, 01 Nov 2005 15:26:45 -0800 committer Arnaldo Carvalho de Melo Wed, 02 Nov 2005 21:24:01 -0200 [TCP]: BIC max increment too large The max growth of BIC TCP is too large. Original code was based on BIC 1.0 and the default there was 32. Later code (2.6.13) included compensation for delayed acks, and should have reduced the default value to 16; since normally TCP gets one ack for every two packets sent. The current value of 32 makes BIC too aggressive and unfair to other flows. Submitted-by: Injong Rhee Signed-off-by: Stephen Hemminger Acked-by: Ian McDonald Signed-off-by: Arnaldo Carvalho de Melo commit 8713dbf05754aa777f31bf491cb60a111f7ad828 tree 543da2e27a18d1deddfcccf503db882d2f6d2566 parent ec1890c5df451799dec969a3581ff72e1934b5ee author Yan Zheng Fri, 28 Oct 2005 08:02:08 +0800 committer Arnaldo Carvalho de Melo Wed, 02 Nov 2005 21:03:57 -0200 [MCAST]: ip[6]_mc_add_src should be called when number of sources is zero And filter mode is exclude. Further explanation by David Stevens: Multicast source filters aren't widely used yet, and that's really the only feature that's affected if an application actually exercises this bug, as far as I can tell. An ordinary filter-less multicast join should still work, and only forwarded multicast traffic making use of filters and doing empty-source filters with the MSFILTER ioctl would be at risk of not getting multicast traffic forwarded to them because the reports generated would not be based on the correct counts. Signed-off-by: Yan Zheng Signed-off-by: Arnaldo Carvalho de Melo commit a054a811597a17ffbe92bc4db04a4dc2f1b1ea55 tree b600081d964d6fe7cc1cfe2669a739da0e1743f4 parent 273c2cdb2b6d6743d85ddbde82e71f8adbf5bf10 author Russell King Wed, 02 Nov 2005 22:24:33 +0000 committer Russell King Wed, 02 Nov 2005 22:24:33 +0000 [ARM SMP] Add hotplug CPU infrastructure This patch adds the infrastructure to support hotplug CPU on ARM platforms. Signed-off-by: Russell King commit aef9ec39c47f0cece886ddd6b53c440321e0b2a6 tree d9a0f0fb69ef336bec4317ef5f95adc8c062e445 parent 89fbb69c4f285019ba5e029963dc11cc6beb078a author Roland Dreier Wed, 02 Nov 2005 14:07:13 -0800 committer Roland Dreier Wed, 02 Nov 2005 14:07:13 -0800 IB: Add SCSI RDMA Protocol (SRP) initiator Add an InfiniBand SCSI RDMA Protocol (SRP) initiator. This driver is used to talk talk to InfiniBand SRP targets (storage devices). Signed-off-by: Roland Dreier commit 273c2cdb2b6d6743d85ddbde82e71f8adbf5bf10 tree 5184db909b27caefc0e49dd9e7442d76251fa595 parent 71f512e89704f5aa6fc0b97e4a719184080b8938 author Russell King Wed, 02 Nov 2005 21:54:14 +0000 committer Russell King Wed, 02 Nov 2005 21:54:14 +0000 [ARM SMP] Fix a couple of warnings Use *cpus_addr() to display the mask of pending/to be called CPUs. Signed-off-by: Russell King commit 71f512e89704f5aa6fc0b97e4a719184080b8938 tree 91f855b3c03b9f1c5404e7901e6cb925e091004d parent 7e86df273292b3a88c14b9aed1006cddac2b4c23 author Russell King Wed, 02 Nov 2005 21:51:40 +0000 committer Russell King Wed, 02 Nov 2005 21:51:40 +0000 [ARM SMP] Track CPU idle threads Track the idle thread task_struct for each CPU. Signed-off-by: Russell King commit 21a384897d48c116b879924c3dd9e96f6f1e764b tree 3179960b8e0f3ccb4feff19eb5582298d48324a0 parent de6eb66b56d9df5ce6bd254994f05e065214e8cd author Roland Dreier Wed, 02 Nov 2005 10:07:59 -0800 committer Roland Dreier Wed, 02 Nov 2005 10:07:59 -0800 [IPoIB] remove unneeded initializations to 0 Shrink our source and .text a little by removing a few assignments of NULL and 0 to memory that is already cleared as part of the allocation. Signed-off-by: Roland Dreier commit ec1890c5df451799dec969a3581ff72e1934b5ee tree 38e84a95297dc9c6b727b73925d5c273d110fdbe parent ca23509fbaac0ea662ab0e287bebb72f743f9e1f parent 496456c24f1f4280d50b81aa5bf439ab440b3d7e author Linus Torvalds Wed, 02 Nov 2005 08:06:02 -0800 committer Linus Torvalds Wed, 02 Nov 2005 08:06:02 -0800 Merge git://brick.kernel.dk/data/git/linux-2.6-block commit de6eb66b56d9df5ce6bd254994f05e065214e8cd tree 7463446a05b5e9a5d2fc400da0be8d4a6c2ff6f1 parent 7b28b0d000eeb62d77add636f5d6eb0da04e48aa author Roland Dreier Wed, 02 Nov 2005 07:23:14 -0800 committer Roland Dreier Wed, 02 Nov 2005 07:23:14 -0800 [IB] kzalloc() conversions Replace kmalloc()+memset(,0,) with kzalloc(), for a net savings of 35 source lines and about 500 bytes of text. Signed-off-by: Roland Dreier commit 7e86df273292b3a88c14b9aed1006cddac2b4c23 tree b58f353e501c2c18d5bff5a7f07a94316d143713 parent e831556fb6f81142f9b51d1a05953d8046c27467 author Russell King Wed, 02 Nov 2005 15:09:31 +0000 committer Russell King Wed, 02 Nov 2005 15:09:31 +0000 [ARM] Fix ARM rwlock implementations fb1c8f93d869b34cacb8b8932e2b83d96a19d720 broke the ARM rwlock code since it only partially updated the rwlock implementation. Properly update it. Signed-off-by: Russell King commit e831556fb6f81142f9b51d1a05953d8046c27467 tree 4b7e2fd890656c0b915d7b67000761ff6d26de67 parent 1ffedce7e83540e2d2fe1cacd1922ee337073d28 author Russell King Wed, 02 Nov 2005 14:40:35 +0000 committer Russell King Wed, 02 Nov 2005 14:40:35 +0000 [ARM] AMBA CLCD driver can drive PL110 and PL111 primecells Signed-off-by: Russell King commit 1ffedce7e83540e2d2fe1cacd1922ee337073d28 tree 92368c0eaa9f8016824d2d8c543d12c717595746 parent 6bf7bd6967b1cdde1fe953b0edb951966799fb44 author Russell King Wed, 02 Nov 2005 14:14:37 +0000 committer Russell King Wed, 02 Nov 2005 14:14:37 +0000 [ARM] Fix Realview machine for patch 3016/1 3016/1 changed the map_desc structure to take a PFN instead of a physical address. Fixup Realview machine support for this change. Signed-off-by: Russell King commit 6bf7bd6967b1cdde1fe953b0edb951966799fb44 tree 4b2537d200a51e13ea9e2b439c58411f7769f325 parent bfca94590bfd3dcd958c542d2fb6406518150fee author Russell King Wed, 02 Nov 2005 14:11:35 +0000 committer Russell King Wed, 02 Nov 2005 14:11:35 +0000 [ARM] Fix mm initialisation with write buffered write allocate caches It seems that without the extra tlb flush, we may end up faulting during the early kernel initialisation because the TLB can't see the updated page tables. Signed-off-by: Russell King commit bfca94590bfd3dcd958c542d2fb6406518150fee tree 00e947e6abd3ec64ac025112121440160a783cf3 parent 9dc2d0f55fb693ae6d50c8dd3d934fe3133ca183 author John Bowler Wed, 02 Nov 2005 11:55:12 +0000 committer Russell King Wed, 02 Nov 2005 11:55:12 +0000 [ARM] 3083/1: include/asm-arm/arch-ixp4xx/io.h: eliminate warnings for pointer passed to integral function argument Patch from John Bowler Fix for a compiler warning, this wasn't apparent in 2.6.12, I believe the compiler options have been changed (somewhere) so that passing a (void*) to a (u32) argument is now warned. This accounts for the majority of the warnings in my builds of the 2.6.14 kernel for NSLU2. The patch changes pointer parameters declared as u32 to be declared as either, for read parameters: const volatile void __iomem * and for write parameters: volatile void __iomem * Signed-off-by: John Bowler Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 9dc2d0f55fb693ae6d50c8dd3d934fe3133ca183 tree 8956849b67f57b885346a61bf94f89ede8f2c9b1 parent ca23509fbaac0ea662ab0e287bebb72f743f9e1f author Russell King Wed, 02 Nov 2005 11:51:15 +0000 committer Russell King Wed, 02 Nov 2005 11:51:15 +0000 [ARM] Fix realview machine type for patch 3060/1 Realview was missed in this cleanup... Signed-off-by: Russell King commit 398382999bcff46ec1c7e7ab7574b10b087481c7 tree dbf9737ca24560fac3fafb170ed65169d319afc0 parent 300230dcba386153d077867d60cd24cd97d660f7 author Paul Mackerras Wed, 02 Nov 2005 19:58:12 +1100 committer Paul Mackerras Wed, 02 Nov 2005 19:58:12 +1100 powerpc: Compile fixes for chrp/nvram.c Include asm/rtas.h for prototype for rtas_call etc., and make the `done' variable unsigned int since that's what rtas_call wants. Signed-off-by: Paul Mackerras commit 300230dcba386153d077867d60cd24cd97d660f7 tree 8cf767bb9bf75b5456f9ef32768e9ff4a13af619 parent 2be7a906752abf8dce9350c23b6d1036049a5d3e author Paul Mackerras Wed, 02 Nov 2005 19:57:22 +1100 committer Paul Mackerras Wed, 02 Nov 2005 19:57:22 +1100 powerpc: include in pegasos_eth.c Signed-off-by: Paul Mackerras commit 2be7a906752abf8dce9350c23b6d1036049a5d3e tree ef178fa5801bdce24938819086662bb747d8c0c2 parent aaf8a7a2949481482200686c7bd3852e5be2e093 parent fbf1769d08a8b085834dceb228540153ac2cd534 author Stephen Rothwell Wed, 02 Nov 2005 18:15:43 +1100 committer Stephen Rothwell Wed, 02 Nov 2005 18:15:43 +1100 Merge Paulus' tree commit ca23509fbaac0ea662ab0e287bebb72f743f9e1f tree b87f06d928e0ea06ae6244c1aeecf3e745f39bb9 parent 6c2af71f7f6ac10ab45e9461e1dd7aa09079643a author Tejun Heo Tue, 01 Nov 2005 17:23:49 +0900 committer Linus Torvalds Tue, 01 Nov 2005 21:58:06 -0800 [PATCH] blk: fix dangling pointer access in __elv_add_request cfq's add_req_fn callback may invoke q->request_fn directly and depending on low-level driver used and timing, a queued request may be finished & deallocated before add_req_fn callback returns. So, __elv_add_request must not access rq after it's passed to add_req_fn callback. This patch moves rq_mergeable test above add_req_fn(). This may result in q->last_merge pointing to REQ_NOMERGE request if add_req_fn callback sets it but as RQ_NOMERGE is checked again when blk layer actually tries to merge requests, this does not cause any problem. Signed-off-by: Tejun Heo Signed-off-by: Linus Torvalds commit 6c2af71f7f6ac10ab45e9461e1dd7aa09079643a tree a8d5c8968b21a952430baa328c9144b4e56b71d9 parent bbc5b21284318a7c981afa85fc4f51c1256eedec author Santiago Leon Tue, 01 Nov 2005 14:15:09 -0500 committer Linus Torvalds Tue, 01 Nov 2005 21:56:40 -0800 [PATCH] ibmveth fix panic in initial replenish cycle This patch fixes a panic in the current tree caused by a race condition between the initial replenish cycle and the rx processing of the first packets trying to replenish the buffers. Signed-off-by: Santiago Leon Signed-off-by: Linus Torvalds commit bbc5b21284318a7c981afa85fc4f51c1256eedec tree dfb817ef7e643a47a2b17309374a4647159fc8df parent d8762748cae4f85b3201c0304969d993b42d5258 author Al Viro Tue, 01 Nov 2005 15:14:05 +0000 committer Linus Torvalds Tue, 01 Nov 2005 21:50:01 -0800 [PATCH] missing platform_device.h includes Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit d8762748cae4f85b3201c0304969d993b42d5258 tree 559819d9b17e5ee305d705cf9f31ac5de2aab54a parent ce4633704038f9bf39f20c10691747d6fc127bf4 parent a4e62fa031a9681477207b08391c3a5c5c831ce7 author Linus Torvalds Tue, 01 Nov 2005 21:49:07 -0800 committer Linus Torvalds Tue, 01 Nov 2005 21:49:07 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/airlied/drm-2.6 Manual fixups for some clashes due to re-indenting. commit ce4633704038f9bf39f20c10691747d6fc127bf4 tree 6171da06601000cb303d8abcb0d818d12edec0e7 parent ebd50e500185a711e708653460d19f1dbb3ef944 author Andrew Morton Mon, 31 Oct 2005 23:44:30 -0800 committer Linus Torvalds Tue, 01 Nov 2005 21:44:46 -0800 [PATCH] tlclk build fix drivers/char/tlclk.c: In function `tlclk_init': drivers/char/tlclk.c:775: warning: implicit declaration of function `platform_device_register_simple' Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ebd50e500185a711e708653460d19f1dbb3ef944 tree 6515d835c4883f9e26aff4c3a5105767de073e95 parent faba278fb003dbe772f6c04526f1f096f43c995e author Horms Mon, 31 Oct 2005 23:44:29 -0800 committer Linus Torvalds Tue, 01 Nov 2005 21:44:46 -0800 [PATCH] audit_sysctl_exit can only be used with CONF_AUDIT_SYSCTL This section of code calls .audit_syscal_exit, but is inside CONFIG_AUDIT, so it will fail to build if CONFIG_AUDITSYSCALL is not defined. After discussion with David Woodhouse, change the ifdef to CONFIG_AUDITSYSCALL Signed-off-by: Horms Acked-by: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit faba278fb003dbe772f6c04526f1f096f43c995e tree f47e47f0f27eee1c2911b8b6df1737f813c655ef parent 01824853b1991b6ade506ee1b75f103a6eb8f558 author Chris Wright Mon, 31 Oct 2005 23:44:28 -0800 committer Linus Torvalds Tue, 01 Nov 2005 21:44:45 -0800 [PATCH] TPM compile fix CC drivers/char/tpm/tpm_nsc.o drivers/char/tpm/tpm_nsc.c:277: error: `platform_bus_type' undeclared here (not in a function) ... CC drivers/char/tpm/tpm_atmel.o drivers/char/tpm/tpm_atmel.c:175: error: `platform_bus_type' undeclared here (not in a function) Make sure to include proper headers. Signed-off-by: Chris Wright Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 01824853b1991b6ade506ee1b75f103a6eb8f558 tree 8533fd4983155854a60598af39a503dff68fab18 parent 06227039b5eb8ed5965f995e45c8cfee154fb883 author Greg Ungerer Wed, 02 Nov 2005 15:12:42 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:20 -0800 [PATCH] m68knommu: add 5208 ColdFire reset/reboot support Add reset/reboot code to support the ColdFire 5208 family. Patch originally from Matt Wadell (from code originally written by Mike Lavender). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 06227039b5eb8ed5965f995e45c8cfee154fb883 tree 8504e9e354e23694bf3a3037039d5cf0b78a63ad parent 4a1cc1ab40d6c29f07a56ba6b0c83b723f7c2f6c author Greg Ungerer Wed, 02 Nov 2005 15:11:08 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:20 -0800 [PATCH] m68knommu: add 5208 ColdFire UART support Add support for the UARTs on the ColdFire 5208 family. Patch originally from Matt Wadell (from code originally written by Mike Lavender). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 4a1cc1ab40d6c29f07a56ba6b0c83b723f7c2f6c tree 2e85f248451c0a9f1c1fb397832b89b556fc4e6d parent c9b68714b6d058a50689e7264ba190096b82c9d4 author Greg Ungerer Wed, 02 Nov 2005 15:10:22 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:20 -0800 [PATCH] m68knommu: add 5208 ColdFire pit interrupt support The PIT timer in the 5208 ColdFire has slightly different interrupt bit definitions than the PIT timer used on other ColdFire parts. Define the commonly used bit and mask numbers here, and let part specific defines take precedence if they are defined. Patch originally from Matt Wadell (from code originally written by Mike Lavender). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit c9b68714b6d058a50689e7264ba190096b82c9d4 tree 397c64bd9d4ac988f3a322e85838d1ed7ba3bb3b parent 95dad9b351ff44e19590b0c6ec40513e4a1b12bf author Greg Ungerer Wed, 02 Nov 2005 15:05:55 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:20 -0800 [PATCH] m68knommu: add 5208 ColdFire pit timer support Add support for the PIT timer used in the 5208 ColdFire fmaily. Patch originally from Matt Wadell (from code originally modified by Mike Lavender). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 95dad9b351ff44e19590b0c6ec40513e4a1b12bf tree 870f73595982d8d4e38192bf88f000a94137376f parent 4f4ef2967e1e8dce43e9cf7186aeb60a8c33aaf4 author Greg Ungerer Wed, 02 Nov 2005 15:04:37 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:20 -0800 [PATCH] m68knommu: use board defines to distinguish boards Use board name defines to distinguish boards, instead of combinations of more generic defines. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 4f4ef2967e1e8dce43e9cf7186aeb60a8c33aaf4 tree b2a55bdaf01217adeb7fe1f1a8b65f3eae8c3eb8 parent 7354b62cf799d91e69e38603a139a79df48b23d9 author Greg Ungerer Wed, 02 Nov 2005 15:03:09 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:20 -0800 [PATCH] m68knommu: add 5208 ColdFire cache support Add support for the cpu cache of the 5208 ColdFire fmaily. Patch originally from Matt Wadell (from code originally written by Mike Lavender). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 7354b62cf799d91e69e38603a139a79df48b23d9 tree 331b4d315d9ca8aa7163dd3712e6be0b88283f7f parent 7ee2cf5f43e8fefa53cf6f32ba8205cce962a348 author Greg Ungerer Wed, 02 Nov 2005 15:02:01 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:20 -0800 [PATCH] m68knommu: add 5208 ColdFire support defines Add support for the internal register map of the 5208 ColdFire fmaily. Patch originally from Matt Wadell (from code originally written by Mike Lavender). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 7ee2cf5f43e8fefa53cf6f32ba8205cce962a348 tree 7bcc70d97a60f6eede8740513814c114c9bf8e28 parent ed65fa16d54a015ef0855692901a6cf362046622 author Greg Ungerer Wed, 02 Nov 2005 14:59:09 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:19 -0800 [PATCH] m68knommu: add 5208 ColdFire support defines for its internal map Define the register space of the new 5208 ColdFire family (which includes to 5207). It is mostly similar to the other ColdFire parts. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit ed65fa16d54a015ef0855692901a6cf362046622 tree 2cff76a0e9f89d45a2735c084f52f89c1a80f87c parent b30db61b9bdc6bbc43a1b3bc5664092103d2bd82 author Greg Ungerer Wed, 02 Nov 2005 14:56:46 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:19 -0800 [PATCH] m68knommu: use board name defines to differentiate board definitions Use board name define to differentiate boards, not combination of more generic defines. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit b30db61b9bdc6bbc43a1b3bc5664092103d2bd82 tree a251e6adf782d1a4980caaf3f5e714ef6b6b7823 parent 4569ff88437759a7dadce2514cc64cb53c95a0bc author Greg Ungerer Wed, 02 Nov 2005 14:53:58 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:19 -0800 [PATCH] m68knommu: updated defconfig Updated m68knommu defconfig. Part of changing the "Motorola" names to their new name "Freescale". Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 4569ff88437759a7dadce2514cc64cb53c95a0bc tree 2e9e7b0be106cca635e03cce47160a350c87756d parent 0c347e47e4675732b36860e5e616272bacf3d355 author Greg Ungerer Wed, 02 Nov 2005 14:52:21 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:19 -0800 [PATCH] m68knommu: remove unmaintained asm-m68knommu/ide.h Remove unmaintained asm-m68knommu/ide.h. It is completely out of date - and there is no underlying support for it. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 0c347e47e4675732b36860e5e616272bacf3d355 tree 3f4e617e37169593e76c6653719f184d141b1559 parent c514b8be7aea4b5d8e16fba3a79b14aec3793f65 author Greg Ungerer Wed, 02 Nov 2005 14:50:04 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:19 -0800 [PATCH] m68knommu: remove auto-generated asm-offsets.h Remove auto-generated file from source base. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit c514b8be7aea4b5d8e16fba3a79b14aec3793f65 tree c3a05cc8becce2404f24416fe486ddbb5f05c68f parent f98e85691bbbca1e72f8bfe9dfee2639e8545790 author Greg Ungerer Wed, 02 Nov 2005 14:42:03 +1000 committer Linus Torvalds Tue, 01 Nov 2005 21:41:19 -0800 [PATCH] m68knommu: change use of extern inline to static inline in headers "extern inline" doesn't make much sense here. Signed-off-by: Adrian Bunk Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit f98e85691bbbca1e72f8bfe9dfee2639e8545790 tree 0b7071e72c6b553dd7ccbed4906954c313ca7b61 parent ec33b309101bb2904e9fe20252f7760e254d05ec parent 97300b5fdfe28c6edae926926f9467a27cf5889c author Linus Torvalds Tue, 01 Nov 2005 21:33:06 -0800 committer Linus Torvalds Tue, 01 Nov 2005 21:33:06 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/acme/net-2.6 commit ec33b309101bb2904e9fe20252f7760e254d05ec tree 13cde551f2ef845801d9e59081258572e1ac222a parent 7f36b1e9582c06d0ddef5f2416c9b17017647d1f parent 913ade51eca369553a8ffbdaf1f426fade84f6ae author Linus Torvalds Tue, 01 Nov 2005 21:32:46 -0800 committer Linus Torvalds Tue, 01 Nov 2005 21:32:46 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit 7f36b1e9582c06d0ddef5f2416c9b17017647d1f tree f83cbcef623476b9b8a14f7a0cc66eb92552a651 parent 0e016b9fa134d79341cca5e336ccbcea066d5f81 parent 73ee723e4c6d179c2e9496cc4caf160a18d95603 author Linus Torvalds Tue, 01 Nov 2005 21:32:14 -0800 committer Linus Torvalds Tue, 01 Nov 2005 21:32:14 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 0e016b9fa134d79341cca5e336ccbcea066d5f81 tree 2f0b00b0dd43faaa385779c3c33b2c98b253863a parent fca324e79fa30d4e64ac15554601a86392999ae6 parent de4ae58fc9f46482f96306301011dfc8b404491f author Linus Torvalds Tue, 01 Nov 2005 21:29:57 -0800 committer Linus Torvalds Tue, 01 Nov 2005 21:29:57 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog commit fca324e79fa30d4e64ac15554601a86392999ae6 tree c55ecac090b2ad245fd94d993c99ef00a1e10a89 parent 1d373741976985bc665e75aeb2b3bf7a524e36cc parent 7f28570185f98bfa83f775756ced79e9f22b6d93 author Linus Torvalds Tue, 01 Nov 2005 21:28:53 -0800 committer Linus Torvalds Tue, 01 Nov 2005 21:28:53 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/sfrench/cifs-2.6 commit 1d373741976985bc665e75aeb2b3bf7a524e36cc tree 6329906126179b0513a86c748cad2989e5812e57 parent df70b17f88a4d1d8545d3569a1f6d28c6004f9e4 author Roland Dreier Fri, 28 Oct 2005 21:50:35 -0700 committer Linus Torvalds Tue, 01 Nov 2005 21:27:22 -0800 [PATCH] toshiba_ohci1394_dmi_table should be __devinitdata, not __devinit I don't really understand why gcc gives the error it does, but without this patch, when building with CONFIG_HOTPLUG=n, I get errors like: CC arch/x86_64/pci/../../i386/pci/fixup.o arch/x86_64/pci/../../i386/pci/fixup.c: In function `pci_fixup_i450nx': arch/x86_64/pci/../../i386/pci/fixup.c:13: error: pci_fixup_i450nx causes a section type conflict The change is obviously correct: an array should be declared __devinitdata rather that __devinit. Signed-off-by: Roland Dreier Acked-by: Martin J. Bligh Signed-off-by: Linus Torvalds commit fbf1769d08a8b085834dceb228540153ac2cd534 tree d2e072fd44d533ae193eb91176eae01a2e8d4e52 parent f11b7bd88f8b41f0986498ffa11ffff1c3e513ca author Paul Mackerras Wed, 02 Nov 2005 16:07:22 +1100 committer Paul Mackerras Wed, 02 Nov 2005 16:07:22 +1100 powerpc: include lmb.h in arch/powerpc/platforms/powermac/setup.c since it uses the lmb stuff in one place. Signed-off-by: Paul Mackerras commit aaf8a7a2949481482200686c7bd3852e5be2e093 tree 76d4dde7c42cd3a3a9dea94f7f18a0817bb9b644 parent 104dd65fef378773ec0510c788bd4b5ad6ea1121 parent ecb3ca2783d6e54d30dbf70a42fe995c27eeb212 author Stephen Rothwell Wed, 02 Nov 2005 16:06:03 +1100 committer Stephen Rothwell Wed, 02 Nov 2005 16:06:03 +1100 Merge iSeries include file move commit f11b7bd88f8b41f0986498ffa11ffff1c3e513ca tree fbf92752f905946df5bedeffa37a0614bbf2aa86 parent 9933f299d0e9e7b12ed4260669653d04d5e752c7 author David Gibson Tue, 01 Nov 2005 15:30:26 +1100 committer Paul Mackerras Wed, 02 Nov 2005 16:05:53 +1100 [PATCH] powerpc: Move naca.h to platforms/iseries These days, the NACA only exists on iSeries. Therefore, this patch moves naca.h from include/asm-ppc64 to arch/powerpc/platforms/iseries. There was one file including naca.h outside of platforms/iseries - arch/ppc64/kernel/udbg_scc.c. However, that's obviously a hangover from older days. The include is not necessary, so this patch simply removes it. Built and booted on iSeries, built for G5 (which uses udbg_scc.o). Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit ecb3ca2783d6e54d30dbf70a42fe995c27eeb212 tree a7ba5728afd866a88b8be2cd21602d01b449a1c0 parent 10e8805716698596f5b6445d76bbb7ed1adb7295 author Kelly Daly Wed, 02 Nov 2005 15:53:01 +1100 committer Kelly Daly Wed, 02 Nov 2005 15:53:01 +1100 modify defines according to _ASM_POWERPC_ISERIES_ Signed-off-by: Kelly Daly commit 9933f299d0e9e7b12ed4260669653d04d5e752c7 tree e7d13c4b66384f90e182d31dc003e860a8e06fe6 parent 1fc8b4ef4e1a0d6f2e16581716a4ae6e16ad3a76 author David Gibson Wed, 02 Nov 2005 15:13:20 +1100 committer Paul Mackerras Wed, 02 Nov 2005 15:25:51 +1100 [PATCH] powerpc: Move dart.h asm-ppc64/dart.h is included in exactly one place - arch/powerpc/sysdev/u3_iommu.c. This patch, therefore, moves it into arch/powerpc/sysdev. While we're at it, update the #ifndef/#define protecting the include, and the filename in the comments of u3_iommu.c. Built and booted on pSeries and G5, built for ppc32 powermac. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 1fc8b4ef4e1a0d6f2e16581716a4ae6e16ad3a76 tree 0fb740ab061e7c5ccaac586c5a7b48f15001e99e parent de2d3dbd17e6bb60bde4632ce1c7df063b073934 author David Gibson Wed, 02 Nov 2005 14:48:36 +1100 committer Paul Mackerras Wed, 02 Nov 2005 15:25:42 +1100 [PATCH] powerpc: Merge (move) numnodes.h and sparsemem.h The ppc64 versions of numnodes.h and sparsemem.h can be safely moved to asm-powerpc with no changes apart from changing the #define to the standard _ASM_POWERPC_ form. There are no ppc32 versions of these files, because they only have any effect if CONFIG_SPARSEMEM is enabled, which it never can be on ppc32. Built and booted on pSeries (POWER5), built for 32-bit powermac. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 10e8805716698596f5b6445d76bbb7ed1adb7295 tree c728459b3fdf37ed1672c4fc623283f9e5129474 parent b420677870e53b9b76ced91da207431f687eaed1 author Kelly Daly Wed, 02 Nov 2005 15:22:37 +1100 committer Kelly Daly Wed, 02 Nov 2005 15:22:37 +1100 fix incorrect dir Signed-off-by: Kelly Daly commit de2d3dbd17e6bb60bde4632ce1c7df063b073934 tree dfccb1a2717a8a042a87dbade509f894810ea1cd parent 104dd65fef378773ec0510c788bd4b5ad6ea1121 parent df70b17f88a4d1d8545d3569a1f6d28c6004f9e4 author Paul Mackerras Wed, 02 Nov 2005 15:20:55 +1100 committer Paul Mackerras Wed, 02 Nov 2005 15:20:55 +1100 Merge ../linux-2.6 commit 104dd65fef378773ec0510c788bd4b5ad6ea1121 tree e72d3f0c80d73366f8341f321c9fbb9e7f78ba6f parent b5ca71a58bacb5f1d563a0fe51525b6006618e82 author Paul Mackerras Wed, 02 Nov 2005 15:19:47 +1100 committer Paul Mackerras Wed, 02 Nov 2005 15:19:47 +1100 powerpc: clean up bug.h further This simplifies the macros which are different between 32-bit and 64-bit. It also fixes a couple of printks on the bug->line element, which is now a long. Signed-off-by: Paul Mackerras commit b5ca71a58bacb5f1d563a0fe51525b6006618e82 tree 42aeabe866b8727b5e900225c42a8815a2011f22 parent a0005034713c1c2bb5ffe9d1cab829e817fddb73 parent 48fe4871569f019c653efb95b26dda976f84c468 author Paul Mackerras Wed, 02 Nov 2005 15:14:44 +1100 committer Paul Mackerras Wed, 02 Nov 2005 15:14:44 +1100 Merge git://oak/home/sfr/kernels/iseries/work commit 19d5bcf370c64b1acb1e928b24baf3b68cec914b tree 84aa38ea3ffa871f610ae914b93fe0dddc9442df parent a749ee86152a0caed3b0c2fbc50a00277e306ec6 author Nathan Scott Wed, 02 Nov 2005 15:14:09 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:14:09 +1100 [XFS] Ensure fsync does not incorrectly return EIO for pages beyond EOF. SGI-PV: 944819 SGI-Modid: xfs-linux:xfs-kern:24236a Signed-off-by: Nathan Scott commit b420677870e53b9b76ced91da207431f687eaed1 tree 1469e4a0dfb537d0a192ffd6ffd74e8faf1e8e78 parent bbc8b628b07e191624a74ce99fe36681cd70af37 author Kelly Daly Wed, 02 Nov 2005 15:13:57 +1100 committer Kelly Daly Wed, 02 Nov 2005 15:13:57 +1100 merge filename and modify references to iseries/vio.h Signed-off-by: Kelly Daly commit a749ee86152a0caed3b0c2fbc50a00277e306ec6 tree 60f4d641b3cb9a28579d42ed6cdd88af2a08e258 parent fdc7ed75c08d507aa64c603b8bb7ef478dcc0000 author Eric Sandeen Wed, 02 Nov 2005 15:13:42 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:13:42 +1100 [XFS] Fix calculation of reserved AGs for inodes in 32-bit inode mode Spotted by Roger Willcocks SGI-PV: 944858 SGI-Modid: xfs-linux:xfs-kern:201213a Signed-off-by: Eric Sandeen Signed-off-by: Nathan Scott commit fdc7ed75c08d507aa64c603b8bb7ef478dcc0000 tree 7c27deb1d7d1490e3b7981451ac7bed43a7699c2 parent 2b3b6d07f760c61ec0a5e5174d3511abc044b8ea author Nathan Scott Wed, 02 Nov 2005 15:13:13 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:13:13 +1100 [XFS] Fix boundary conditions when issuing direct IOs from large userspace buffers. SGI-PV: 944820 SGI-Modid: xfs-linux:xfs-kern:24223a Signed-off-by: Nathan Scott commit 2b3b6d07f760c61ec0a5e5174d3511abc044b8ea tree 83533c20d12035504337466e4298300434e350d4 parent cfcbbbd089eadcaa86abb2c0f352e1ab23e16f72 author Nathan Scott Wed, 02 Nov 2005 15:12:28 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:12:28 +1100 [XFS] Remove an unhelpful ifdef, the comment above the routine explains the purpose well enough here. SGI-PV: 944821 SGI-Modid: xfs-linux:xfs-kern:24214a Signed-off-by: Nathan Scott commit cfcbbbd089eadcaa86abb2c0f352e1ab23e16f72 tree 956db132cef0939564d2ce3acbbb8cf581f35be9 parent c11e2c369d06576c9e4a900a975cbfab5e7e3c53 author Nathan Scott Wed, 02 Nov 2005 15:12:04 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:12:04 +1100 [XFS] Remove old, broken nolog-mode code - noone plans to ever fix it. SGI-PV: 944821 SGI-Modid: xfs-linux:xfs-kern:24213a Signed-off-by: Nathan Scott commit c11e2c369d06576c9e4a900a975cbfab5e7e3c53 tree 9b25f3214440d38b4b97807628ce9de5fd5062c1 parent 16259e7d952e26e949cc2c8c68b74f34b293935d author Nathan Scott Wed, 02 Nov 2005 15:11:45 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:11:45 +1100 [XFS] Rework fid encode/decode wrt 64 bit inums interacting with NFS. SGI-PV: 937127 SGI-Modid: xfs-linux:xfs-kern:24201a Signed-off-by: Nathan Scott commit 16259e7d952e26e949cc2c8c68b74f34b293935d tree a016791ecb67761236d32b9915efa9a92f6f3767 parent e2ed81fbbb7c76e0a1b3e2f1b5a7414f4d66a559 author Christoph Hellwig Wed, 02 Nov 2005 15:11:25 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:11:25 +1100 [XFS] Endianess annotations for various allocator data structures SGI-PV: 943272 SGI-Modid: xfs-linux:xfs-kern:201006a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit e2ed81fbbb7c76e0a1b3e2f1b5a7414f4d66a559 tree 0a518842b835672653759083efad4bf6260274b3 parent e94af02a9cd7b6590bec81df9d6ab857d6cf322f author Eric Sandeen Wed, 02 Nov 2005 15:10:55 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:10:55 +1100 [XFS] remove unused code from xfs_iomap_write_direct SGI-PV: 943266 SGI-Modid: xfs-linux:xfs-kern:200996a Signed-off-by: Eric Sandeen Signed-off-by: Nathan Scott commit e94af02a9cd7b6590bec81df9d6ab857d6cf322f tree 32b9f0f93eb3f357cae54c4bd6c2578c244acb16 parent 91e11088f88e07f5f42c88608329bc0756c183f9 author Eric Sandeen Wed, 02 Nov 2005 15:10:41 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:10:41 +1100 [XFS] fix old xfs_setattr mis-merge from irix; mostly harmless esp if not using xfs rt SGI-PV: 944632 SGI-Modid: xfs-linux:xfs-kern:200983a Signed-off-by: Eric Sandeen Signed-off-by: Nathan Scott commit bbc8b628b07e191624a74ce99fe36681cd70af37 tree d459c190aed494824f7c0dbf03a65a06b06da46d parent 6cbbdabb0163471590bf0a57766e3ea5d920d26e author Kelly Daly Wed, 02 Nov 2005 15:10:38 +1100 committer Kelly Daly Wed, 02 Nov 2005 15:10:38 +1100 merge filename and modify references to iSeries/mf.h Signed-off-by: Kelly Daly commit 91e11088f88e07f5f42c88608329bc0756c183f9 tree e6bc0635069edf81174b7e13f816f051ff02bd26 parent 9af0a70c07a0e7575ebbdb42ca9fb29ffaaf77c9 author Yingping Lu Wed, 02 Nov 2005 15:10:24 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:10:24 +1100 [XFS] Fixing size report discrepancy between ls and du caused by xfs_fsr SGI-PV: 943908 SGI-Modid: xfs-linux:xfs-kern:200874a Signed-off-by: Yingping Lu Signed-off-by: Nathan Scott commit 9af0a70c07a0e7575ebbdb42ca9fb29ffaaf77c9 tree 12c2d1126a69cc6ba23e03db957bfa866266fcfd parent 7f14d0a013eeae8f8548e9ac10699465de2adacc author Yingping Lu Wed, 02 Nov 2005 15:09:54 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:09:54 +1100 [XFS] Fixed a bug in reporting extent list for attribute fork running xfs_bmap -a. SGI-PV: 944075 SGI-Modid: xfs-linux:xfs-kern:200860a Signed-off-by: Yingping Lu Signed-off-by: Nathan Scott commit 7f14d0a013eeae8f8548e9ac10699465de2adacc tree 5cd9b7b778f48c4d942b901ac6881cc4f6b43152 parent e718eeb4fe397f8add9f789e1fc3b47da4e7275f author Christoph Hellwig Wed, 02 Nov 2005 15:09:35 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:09:35 +1100 [XFS] Simplify pagebuf_rele Remove a conditional that can not be true anymore and simplify the final put path a little SGI-PV: 908809 SGI-Modid: xfs-linux:xfs-kern:200790a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit e718eeb4fe397f8add9f789e1fc3b47da4e7275f tree ac7732a22588c5dd42ba30449dd36ca0e07e7180 parent 6b3f6b5b87f03d1649340d6b3a572206653a2a2b author Nathan Scott Wed, 02 Nov 2005 15:09:22 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:09:22 +1100 [XFS] Rework the final mount options flag bit to make room for more. SGI-PV: 943866 SGI-Modid: xfs-linux:xfs-kern:24030a Signed-off-by: Nathan Scott commit 6b3f6b5b87f03d1649340d6b3a572206653a2a2b tree 7b8791eed46bbfa82f777ca25282c434270fdf50 parent 1f730e3b530fb2fa3159df06405c83f9a6fbbd83 author Nathan Scott Wed, 02 Nov 2005 15:08:25 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:08:25 +1100 [XFS] Rework the dquot hash sizing heuristics. SGI-PV: 943123 SGI-Modid: xfs-linux:xfs-kern:24012a Signed-off-by: Nathan Scott commit a0005034713c1c2bb5ffe9d1cab829e817fddb73 tree b359c2e5ce432255ededd4a21f3f2fd5ce5b137a parent bccfd588423bb610fb1fde987da3ad23af1c46d7 author Paul Mackerras Wed, 02 Nov 2005 15:08:17 +1100 committer Paul Mackerras Wed, 02 Nov 2005 15:08:17 +1100 powerpc: exclude powerbook sleep code with CONFIG_PPC64 and CONFIG_PM We were getting powerbook sleep code included, and giving compile errors, with CONFIG_PM=y on a 64-bit build. This excludes that code so the kernel will compile. One day BenH will implement on sleep on the G5... Signed-off-by: Paul Mackerras commit 1f730e3b530fb2fa3159df06405c83f9a6fbbd83 tree 7e75fa3b36ceb4e6096fa0cbfc3fdbf0608f3c0e parent 8a319ae49442eaedc7f932e9a520e464103f3ad0 author Eric Sandeen Wed, 02 Nov 2005 15:08:10 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:08:10 +1100 [XFS] Add ATTR_NOSIZETOK definition for xfs_vnodeops.c change SGI-PV: 942439 SGI-Modid: xfs-linux:xfs-kern:200185a Signed-off-by: Eric Sandeen Signed-off-by: Nathan Scott commit 6cbbdabb0163471590bf0a57766e3ea5d920d26e tree e51d1931b5cceb70f3505570213bb62608728bc8 parent c43a55ff4e55d1bcfdf0cadfe2f00281e156c436 author Kelly Daly Wed, 02 Nov 2005 15:07:51 +1100 committer Kelly Daly Wed, 02 Nov 2005 15:07:51 +1100 merge filename and modify references to iseries/iseries_io.h Signed-off-by: Kelly Daly commit 8a319ae49442eaedc7f932e9a520e464103f3ad0 tree 7ff0fd08904a12ad1428f33a98d603547c20963d parent 374e2ac33724d1dd432b6c75f9b1adf715c2add7 author Nathan Scott Wed, 02 Nov 2005 15:07:51 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:07:51 +1100 [XFS] Disable attr2 by default, until a more appropriate time to enable it. SGI-PV: 941645 SGI-Modid: xfs-linux:xfs-kern:24002a Signed-off-by: Nathan Scott commit 374e2ac33724d1dd432b6c75f9b1adf715c2add7 tree 385de6cc3d0d1b0f32936f33573288a14b0ce2ba parent 4750ddb0ba781006f149fdd87bbe997cb8c07e2e author Eric Sandeen Wed, 02 Nov 2005 15:07:34 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:07:34 +1100 [XFS] Prevent data corruption on extending truncate case from cxfs client SGI-PV: 942439 SGI-Modid: xfs-linux:xfs-kern:200152a Signed-off-by: Eric Sandeen Signed-off-by: Nathan Scott commit 4750ddb0ba781006f149fdd87bbe997cb8c07e2e tree 292afaacc3041588b53eff492dbe4c82c861957a parent 5bde1ba99c8243617277f37897189c799e398baf author Christoph Hellwig Wed, 02 Nov 2005 15:07:23 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:07:23 +1100 [XFS] Fix sparse warnings in ktrace.[ch] SGI-PV: 943556 SGI-Modid: xfs-linux:xfs-kern:200113a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit bccfd588423bb610fb1fde987da3ad23af1c46d7 tree 79ecbb819425d4680991ddd890bb30d526c77882 parent 19fa17e5b1d9622902c1e9a7b0f8be676f266bbe author Paul Mackerras Wed, 02 Nov 2005 15:06:22 +1100 committer Paul Mackerras Wed, 02 Nov 2005 15:06:22 +1100 powerpc: Fix compile error with CONFIG_TAU=y A couple of instances of "i" that needed to be changed to "cpu_id" got missed in the merge, because they were in CONFIG_TAU code. Signed-off-by: Paul Mackerras commit 5bde1ba99c8243617277f37897189c799e398baf tree d41b5f972c3b7f07cd0ea3af7c3f2775208e4f40 parent 9dac13e7ffddf40c7bf1bf8bf4f735af6c3d31ec author Christoph Hellwig Wed, 02 Nov 2005 15:06:18 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:06:18 +1100 [XFS] silence gcc4 warnings. the directory ones are wrong because of information gcc could not find out (that a directory always has a .. entry), the others are outright gcc bugs. SGI-PV: 943511 SGI-Modid: xfs-linux:xfs-kern:200055a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 9dac13e7ffddf40c7bf1bf8bf4f735af6c3d31ec tree d8ed7d7198c33df5fda612baf18600cb62988f77 parent 1149d96ae825a1e1e9d66774175372c003f29caf author Nathan Scott Wed, 02 Nov 2005 15:05:34 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:05:34 +1100 [XFS] Remove unused type, xfs_gap_t. SGI-PV: 907752 SGI-Modid: xfs-linux:xfs-kern:23932a Signed-off-by: Nathan Scott commit 19fa17e5b1d9622902c1e9a7b0f8be676f266bbe tree f8c05c770c6e7019c8e0f342db30b391547dfa73 parent f2cad7a8cdbe66d313059824d61ef1f455031566 author Paul Mackerras Wed, 02 Nov 2005 15:04:26 +1100 committer Paul Mackerras Wed, 02 Nov 2005 15:04:26 +1100 powerpc: Use rtas_call not call_rtas in CHRP code The nvram driver imported from the ppc code uses call_rtas, but rtas_call is the name we are using in merged code (since ppc64 used that name, and it uses far more RTAS calls than ppc32). Signed-off-by: Paul Mackerras commit c43a55ff4e55d1bcfdf0cadfe2f00281e156c436 tree b6ca4cd30ab00fa3bb2a6de16b6c76066b0d6ddd parent 59ce20bb341282d5ecf17fd8b0ac093dd6350e5e author Kelly Daly Wed, 02 Nov 2005 15:02:47 +1100 committer Kelly Daly Wed, 02 Nov 2005 15:02:47 +1100 merge filename and modify references to iseries/lpar_map.h Signed-off-by: Kelly Daly commit f2cad7a8cdbe66d313059824d61ef1f455031566 tree 2eeadc87ded22e3581ebcc418e83107911f21a06 parent 2ff2ae7a0d7bfd813325663dc6353d034db7473d author Al Viro Wed, 02 Nov 2005 03:10:43 +0000 committer Paul Mackerras Wed, 02 Nov 2005 15:01:30 +1100 [PATCH] ppc bug.h namespace pollution DATA_TYPE is really not a good thing to put into header that gets included all over the tree... Just make the cast always (long) and get rid of DATA_TYPE altogether. Signed-off-by: Al Viro Signed-off-by: Paul Mackerras commit 1149d96ae825a1e1e9d66774175372c003f29caf tree bfc8b5c03a39283228922e711fd2675bd281db50 parent fa7e7d71e05f12921fefdc23386183578d3ed8c7 author Christoph Hellwig Wed, 02 Nov 2005 15:01:12 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:01:12 +1100 [XFS] endianess annotations and cleanup for the quota code SGI-PV: 943272 SGI-Modid: xfs-linux:xfs-kern:199767a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit fa7e7d71e05f12921fefdc23386183578d3ed8c7 tree d6af37553544dc3d26c8d239b4d1a3e78583a552 parent da087bad810b48dd889a504e6af0a582ba18df0d author Nathan Scott Wed, 02 Nov 2005 15:00:48 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:00:48 +1100 [XFS] Show additional mount options in /proc/mounts, fix up some debug code. SGI-PV: 941645 SGI-Modid: xfs-linux:xfs-kern:23926a Signed-off-by: Nathan Scott commit da087bad810b48dd889a504e6af0a582ba18df0d tree 2b94f17722bc632dde1ca2ab9805e0f51b57054e parent 0116d9356bfa8607a6e2efb5263100a6c72eabb0 author Nathan Scott Wed, 02 Nov 2005 15:00:20 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:00:20 +1100 [XFS] Fix up a 32/64 local flags variable issue when enabling attr2 mode. SGI-PV: 941645 SGI-Modid: xfs-linux:xfs-kern:23925a Signed-off-by: Nathan Scott commit 0116d9356bfa8607a6e2efb5263100a6c72eabb0 tree 00fe0af7cb79b15e5790aea4dbac9578a9ee6050 parent 4ce3121f67d482324825e7f17c9f7d8568a9fe24 author Eric Sandeen Wed, 02 Nov 2005 15:00:01 +1100 committer Nathan Scott Wed, 02 Nov 2005 15:00:01 +1100 [XFS] Remove dead code in xfs_iomap_write_direct; save some stack SGI-PV: 943266 SGI-Modid: xfs-linux:xfs-kern:199750a Signed-off-by: Eric Sandeen Signed-off-by: Nathan Scott commit 4ce3121f67d482324825e7f17c9f7d8568a9fe24 tree 0b6ef1d73262b67d902d82a50895fb633f798bde parent 7b71876980d87c8f237b94d8529ee7fcc05ec2d9 author Nathan Scott Wed, 02 Nov 2005 14:59:41 +1100 committer Nathan Scott Wed, 02 Nov 2005 14:59:41 +1100 [XFS] Update license/copyright notices to match the prefered SGI boilerplate. SGI-PV: 913862 SGI-Modid: xfs-linux:xfs-kern:23917a Signed-off-by: Nathan Scott commit 7b71876980d87c8f237b94d8529ee7fcc05ec2d9 tree 7fd3f1425e8946b3b2c1defeba0b4889f19b6290 parent a844f4510dce23c07f3923cb42138f5fdd745017 author Nathan Scott Wed, 02 Nov 2005 14:58:39 +1100 committer Nathan Scott Wed, 02 Nov 2005 14:58:39 +1100 [XFS] Update license/copyright notices to match the prefered SGI boilerplate. SGI-PV: 913862 SGI-Modid: xfs-linux:xfs-kern:23903a Signed-off-by: Nathan Scott commit 59ce20bb341282d5ecf17fd8b0ac093dd6350e5e tree fbd1db5c36167e4fbadca92ec6a143f80ef9d936 parent 8875ccfb7a6bd69d95a4e889ab36adda06c30d9e author Kelly Daly Wed, 02 Nov 2005 14:49:47 +1100 committer Kelly Daly Wed, 02 Nov 2005 14:49:47 +1100 merge filename and modify references to iseries/it_lp_reg_save.h Signed-off-by: Kelly Daly commit 2ff2ae7a0d7bfd813325663dc6353d034db7473d tree 293cfb483a6dde5dd22cb1711f4abf2542da6182 parent 847aeb6bad0876ff9c250725e905a41c6050157c author David Gibson Wed, 02 Nov 2005 13:58:22 +1100 committer Paul Mackerras Wed, 02 Nov 2005 14:48:18 +1100 [PATCH] powerpc: Merge futex.h This patch merges the ppc32 and ppc64 versions of futex.h, essentially by taking the ppc64 version as the powerpc version. The old ppc32 version did not implement the futex_atomic_op_inuser() callback (it always returned -ENOSYS), so FUTEX_WAKE_OP would not work on ppc32. In fact the ppc64 version of this function is almost suitable for ppc32 as well - the only change needed is to extend ppc_asm.h with a macro expanding to to the right pseudo-op to store a pointer (either ".long" or ".llong"). Built and booted on pSeries. Built for 32-bit powermac. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 847aeb6bad0876ff9c250725e905a41c6050157c tree 5b7cca7a4a6c1c43f3a8399d54a5ef6a4be6b130 parent a39dbcf71eba6e00ac6ae5482f499f9b57f1075e author David Gibson Wed, 02 Nov 2005 11:44:26 +1100 committer Paul Mackerras Wed, 02 Nov 2005 14:48:05 +1100 [PATCH] powerpc: Fix merged ipcbuf.h Oops, when merging ipcbuf.h, I forgot that 'u64' can't be used in user-visible headers. This patch corrects the problem, replacing the unused fields with an array of four __u32s. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit a844f4510dce23c07f3923cb42138f5fdd745017 tree ffb37e9e60f02d5e92bd69bb53b568e1c991c17f parent 61c1e689fbde7cb50a76262bba190715d86beab6 author Nathan Scott Wed, 02 Nov 2005 14:38:42 +1100 committer Nathan Scott Wed, 02 Nov 2005 14:38:42 +1100 [XFS] Remove xfs_macros.c, xfs_macros.h, rework headers a whole lot. SGI-PV: 943122 SGI-Modid: xfs-linux:xfs-kern:23901a Signed-off-by: Nathan Scott commit 8875ccfb7a6bd69d95a4e889ab36adda06c30d9e tree cba3c9d519dc06c986b3b94217a35252dd687703 parent f218aab5cf74672a368933965f5bb612dac3c349 author Kelly Daly Wed, 02 Nov 2005 14:13:34 +1100 committer Kelly Daly Wed, 02 Nov 2005 14:13:34 +1100 merge filename and modify references to iseries/it_lp_queue.h Signed-off-by: Kelly Daly commit f218aab5cf74672a368933965f5bb612dac3c349 tree e112cca36395c7dbe137fb321f7c3175174e7ca1 parent 7b487bb801b4bd790aa4bf7c157889f9d05e239c author Kelly Daly Wed, 02 Nov 2005 13:51:41 +1100 committer Kelly Daly Wed, 02 Nov 2005 13:51:41 +1100 merge filename and modify references to iseries/it_lp_naca.h Signed-off-by: Kelly Daly commit 7b487bb801b4bd790aa4bf7c157889f9d05e239c tree 0ebea34878e1af7b0d465e43d1d3ea48e69b6c3a parent 1ec65d76f3e5d4863b4bf93dfd2bff37f8bf4374 author Kelly Daly Wed, 02 Nov 2005 13:48:25 +1100 committer Kelly Daly Wed, 02 Nov 2005 13:48:25 +1100 merge filename and modify references to iseries/it_exp_vpd_panel.h Signed-off-by: Kelly Daly commit 1ec65d76f3e5d4863b4bf93dfd2bff37f8bf4374 tree c3c31614e923a95413f6a89a1a451c3a1db5cf13 parent e45423eac2e191a6cfdacdf61cb931976d73cc0b author Kelly Daly Wed, 02 Nov 2005 13:46:07 +1100 committer Kelly Daly Wed, 02 Nov 2005 13:46:07 +1100 merge filename and modify references to iseries/hv_types.h Signed-off-by: Kelly Daly commit e45423eac2e191a6cfdacdf61cb931976d73cc0b tree 63f750d5be8ee2252c83edb109bd7bdbaaa867ba parent 15b17189489f6d759fa2d61e7b6c87c55eeffb2c author Kelly Daly Wed, 02 Nov 2005 12:08:31 +1100 committer Kelly Daly Wed, 02 Nov 2005 12:08:31 +1100 merge filename and modify references to iseries/hv_lp_event.h Signed-off-by: Kelly Daly commit 15b17189489f6d759fa2d61e7b6c87c55eeffb2c tree 9e91b666f440103ee3849c1a4527567c0672e54e parent 8021b8a77690d13ffb93eeadb6728e924d700bd5 author Kelly Daly Wed, 02 Nov 2005 11:55:28 +1100 committer Kelly Daly Wed, 02 Nov 2005 11:55:28 +1100 merge filename and modify reference to iseries/hv_lp_config.h Signed-off-by: Kelly Daly commit 61c1e689fbde7cb50a76262bba190715d86beab6 tree 9e806570f3e98c852638d2eeb502291df1e674e6 parent fc1f8c1ca373dc88dd6e8c0e8b7de0e6ad95d441 author Christoph Hellwig Wed, 02 Nov 2005 11:44:57 +1100 committer Nathan Scott Wed, 02 Nov 2005 11:44:57 +1100 [XFS] remove unused struct xfs_ail_ticket SGI-PV: 919278 SGI-Modid: xfs-linux:xfs-kern:199498a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit fc1f8c1ca373dc88dd6e8c0e8b7de0e6ad95d441 tree e49b7a364bf6a6fc18e650b3a6e10b516c1ba547 parent 4aeb664c2561c0bae18d7a3a141d7d2acf126da1 author Nathan Scott Wed, 02 Nov 2005 11:44:33 +1100 committer Nathan Scott Wed, 02 Nov 2005 11:44:33 +1100 [XFS] Track external log/realtime device names for correct reporting in /proc/mounts. SGI-PV: 942984 SGI-Modid: xfs-linux:xfs-kern:23862a Signed-off-by: Nathan Scott commit 4aeb664c2561c0bae18d7a3a141d7d2acf126da1 tree 832e72237a69b76bf4c965d7383cdbb9fc3f8939 parent 0fdfb3757f27b6d802f85e962d9b0f875df17113 author Nathan Scott Wed, 02 Nov 2005 11:43:58 +1100 committer Nathan Scott Wed, 02 Nov 2005 11:43:58 +1100 [XFS] Improve buffered read throughput by removing unnecessary timer calls that showed in ´kernel profiles. SGI-PV: 925163 SGI-Modid: xfs-linux:xfs-kern:23861a Signed-off-by: Nathan Scott commit 0fdfb3757f27b6d802f85e962d9b0f875df17113 tree fe29866638f79c425d4c99dbae20884440ca0f03 parent 380b5dc0e59340e7ed36dcc95dd1022aca75bbe2 author Nathan Scott Wed, 02 Nov 2005 11:43:42 +1100 committer Nathan Scott Wed, 02 Nov 2005 11:43:42 +1100 [XFS] Remove a null CELL macro and its one caller, not useful to anyone. SGI-PV: 942986 SGI-Modid: xfs-linux:xfs-kern:23860a Signed-off-by: Nathan Scott commit 380b5dc0e59340e7ed36dcc95dd1022aca75bbe2 tree 78e298c775b637e7dc0029bc5ecfc28db9256038 parent 80cce77980c645b1c129d0e90159c1b1bb78f6a6 author Nathan Scott Wed, 02 Nov 2005 11:43:18 +1100 committer Nathan Scott Wed, 02 Nov 2005 11:43:18 +1100 [XFS] Fix up an internal sort function name collision issue. SGI-PV: 942986 SGI-Modid: xfs-linux:xfs-kern:23859a Signed-off-by: Nathan Scott commit 80cce77980c645b1c129d0e90159c1b1bb78f6a6 tree 1c7174a77f4b1fa6dee5b2384e137a62fa29cf1c parent f74dee42765db1c2ed584de7ac66aa619c40c79e author Nathan Scott Wed, 02 Nov 2005 11:43:04 +1100 committer Nathan Scott Wed, 02 Nov 2005 11:43:04 +1100 [XFS] Make some extended attributes routines take const parameters, for the FreeBSD porters. SGI-PV: 942906 SGI-Modid: xfs-linux:xfs-kern:23845a Signed-off-by: Nathan Scott commit 8021b8a77690d13ffb93eeadb6728e924d700bd5 tree 63934777a2b2e6090c23c8359f69ecba0f6d0752 parent 50592f5d2ae7b95b239ea41d76ad81fee046be86 author Kelly Daly Wed, 02 Nov 2005 11:41:12 +1100 committer Kelly Daly Wed, 02 Nov 2005 11:41:12 +1100 merge filename and modify references to iseries/hv_call_xm.h Signed-off-by: Kelly Daly commit 50592f5d2ae7b95b239ea41d76ad81fee046be86 tree be90ec454e8e95ebc3541751c1dee389bd5ca739 parent c0a8d05c8a5db835b20a3465b1be1cfe4752a13c author Kelly Daly Wed, 02 Nov 2005 11:37:22 +1100 committer Kelly Daly Wed, 02 Nov 2005 11:37:22 +1100 merge filename and modify references to iseries/hv_call_sc.h Signed-off-by: Kelly Daly commit c0a8d05c8a5db835b20a3465b1be1cfe4752a13c tree 41a302bb71d162df6dfdd50b1535bbe1677a6244 parent 1da44037883c0405154d53fe76da27e078456664 author Kelly Daly Wed, 02 Nov 2005 11:11:11 +1100 committer Kelly Daly Wed, 02 Nov 2005 11:11:11 +1100 merge filename and modify references to iseries/hv_call_event.h Signed-off-by: Kelly Daly commit f74dee42765db1c2ed584de7ac66aa619c40c79e tree d8ea6ab00eb94df9e4900c3a26b2e0199070faa2 parent af4e34a5274e92c576fc0c3a4b27ae7d4a06096a author Nathan Scott Wed, 02 Nov 2005 10:35:56 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:35:56 +1100 [XFS] Ondisk format extension for extended attributes (attr2). Basically, the data/attr forks now grow up/down from either end of the literal area, rather than dividing the literal area into two chunks and growing both upward. Means we can now make much more efficient use of the attribute space, incl. fitting DMF attributes inline in 256 byte inodes, and large jumps in dbench3 performance numbers. It is self enabling, but can be forced on/off via the attr2/noattr2 mount options. SGI-PV: 941645 SGI-Modid: xfs-linux:xfs-kern:23837a Signed-off-by: Nathan Scott commit af4e34a5274e92c576fc0c3a4b27ae7d4a06096a tree 9915e17f6de8196b681c8bccaa94297306501d99 parent d8cc890d4095f1eaa7f411a85051015b21262b12 author Nathan Scott Wed, 02 Nov 2005 10:35:46 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:35:46 +1100 [XFS] Ondisk format extension for extended attributes (attr2). Basically, the data/attr forks now grow up/down from either end of the literal area, rather than dividing the literal area into two chunks and growing both upward. Means we can now make much more efficient use of the attribute space, incl. fitting DMF attributes inline in 256 byte inodes, and large jumps in dbench3 performance numbers. It is self enabling, but can be forced on/off via the attr2/noattr2 mount options. SGI-PV: 941645 SGI-Modid: xfs-linux:xfs-kern:23836a Signed-off-by: Nathan Scott commit d8cc890d4095f1eaa7f411a85051015b21262b12 tree e13bec06a94a8dc5552dab733e90ef4f4d41fb8b parent aa82daa06198b27963fe3d6ee8035855b29f6524 author Nathan Scott Wed, 02 Nov 2005 10:34:53 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:34:53 +1100 [XFS] Ondisk format extension for extended attributes (attr2). Basically, the data/attr forks now grow up/down from either end of the literal area, rather than dividing the literal area into two chunks and growing both upward. Means we can now make much more efficient use of the attribute space, incl. fitting DMF attributes inline in 256 byte inodes, and large jumps in dbench3 performance numbers. It is self enabling, but can be forced on/off via the attr2/noattr2 mount options. SGI-PV: 941645 SGI-Modid: xfs-linux:xfs-kern:23835a Signed-off-by: Nathan Scott commit aa82daa06198b27963fe3d6ee8035855b29f6524 tree 7c618d365997e8a9a326739f0579b3cc1272e62e parent e8c8b3a79d85c22d3665b97dde843dc4d8d7ae37 author Nathan Scott Wed, 02 Nov 2005 10:33:33 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:33:33 +1100 [XFS] Move some code around to prepare for the upcoming extended attributes format change (attr2). SGI-PV: 941645 SGI-Modid: xfs-linux:xfs-kern:23833a Signed-off-by: Nathan Scott commit e8c8b3a79d85c22d3665b97dde843dc4d8d7ae37 tree a82b58ebc5c40474cdc53c91bd135b97034de565 parent ee34807a65aa0c5911dc27682863afca780a003e author David Chinner Wed, 02 Nov 2005 10:33:05 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:33:05 +1100 [XFS] Introduce two new mount options (nolargeio/largeio) to allow filesystems to expose the filesystem stripe width in stat(2) rather than the page cache size. This allows applications requiring high bandwidth to easily determine the optimum I/O size for the underlying filesystem. The default is to report the page cache size (i.e. "nolargeio"). SGI-PV: 942818 SGI-Modid: xfs-linux:xfs-kern:23830a Signed-off-by: David Chinner Signed-off-by: Nathan Scott commit ee34807a65aa0c5911dc27682863afca780a003e tree 6111a529078e9e12ce5102f7c736f649fb3ec498 parent c310ab6c071a688e5291028972d1ae8314f67536 author Nathan Scott Wed, 02 Nov 2005 10:32:38 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:32:38 +1100 [XFS] Provide a mechiansm for flushing delalloc before quota reporting. SGI-PV: 942815 SGI-Modid: xfs-linux:xfs-kern:23829a Signed-off-by: Nathan Scott commit c310ab6c071a688e5291028972d1ae8314f67536 tree 7ee30ba83f67139e5353ae45b8e18d9097198009 parent 30dab21abbca37636091a6d02e94dbcd6e07b530 author Nathan Scott Wed, 02 Nov 2005 10:31:41 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:31:41 +1100 [XFS] Fix signedness issues in dquot ID handling, allowing uids/gids above MAXINT SGI-PV: 942528 SGI-Modid: xfs-linux:xfs-kern:23828a Signed-off-by: Nathan Scott commit 30dab21abbca37636091a6d02e94dbcd6e07b530 tree 30239b15ba51a6dac2db5f87136585ec70063376 parent c86e711ceb4ad03c98a7aa29bcab8613e9f57788 author Nathan Scott Wed, 02 Nov 2005 10:31:13 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:31:13 +1100 [XFS] Add a comment about the use of XFS_SIZE_TOKEN_WANT. SGI-PV: 936331 SGI-Modid: xfs-linux:xfs-kern:23827a Signed-off-by: Nathan Scott commit c86e711ceb4ad03c98a7aa29bcab8613e9f57788 tree b4f1328bfe4b3559b841faa1b461f72daf7e609f parent d0cfb37305baef74903872cbb799174d0d353fd9 author Christoph Hellwig Wed, 02 Nov 2005 10:29:39 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:29:39 +1100 [XFS] only mark buffers done when all pages are uptodate in addition replace PBF_NONE with an inverted PBF_DONE, so it's like all the other flags. SGI-PV: 942609 SGI-Modid: xfs-linux:xfs-kern:199136a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit d0cfb37305baef74903872cbb799174d0d353fd9 tree 2abe6e4df7eea4c103d2e10744322718dc5ba5ed parent f538d4da8d521746ca5ebf8c1a8105eb49bfb45e author Eric Sandeen Wed, 02 Nov 2005 10:29:04 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:29:04 +1100 [XFS] Stack footprint reduction for xfs_swapext (used from xfs_fsr) SGI-PV: 913332 SGI-Modid: xfs-linux:xfs-kern:198926a Signed-off-by: Eric Sandeen Signed-off-by: Nathan Scott commit f538d4da8d521746ca5ebf8c1a8105eb49bfb45e tree 5516e1d2df01e412709284e379085b348122c501 parent 739cafd316235fc55463849e80710f2ca308b9ae author Christoph Hellwig Wed, 02 Nov 2005 10:26:59 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:26:59 +1100 [XFS] write barrier support Issue all log sync operations as ordered writes. In addition flush the disk cache on fsync if the sync cached operation didn't sync the log to disk (this requires some additional bookeping in the transaction and log code). If the device doesn't claim to support barriers, the filesystem has an extern log volume or the trial superblock write with barriers enabled failed we disable barriers and print a warning. We should probably fail the mount completely, but that could lead to nasty boot failures for the root filesystem. Not enabled by default yet, needs more destructive testing first. SGI-PV: 912426 SGI-Modid: xfs-linux:xfs-kern:198723a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 739cafd316235fc55463849e80710f2ca308b9ae tree dfbe31cb01f12309b91b0142566f1d94931d6864 parent da1650a5d6026df1bde414173c40bbe09305e6e6 author Christoph Hellwig Wed, 02 Nov 2005 10:25:51 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:25:51 +1100 [XFS] fix PBF_NONE handling SGI-PV: 908809 SGI-Modid: xfs-linux:xfs-kern:198669a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit da1650a5d6026df1bde414173c40bbe09305e6e6 tree 09862bd032a5bacf24ba22b1938b529ceef917d7 parent 88741a95af0ecf3a745051bdc1d16897d3990cec author Christoph Hellwig Wed, 02 Nov 2005 10:21:35 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:21:35 +1100 [XFS] Add format checking to cmn_err and icmn_err SGI-PV: 942243 SGI-Modid: xfs-linux:xfs-kern:198658a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 88741a95af0ecf3a745051bdc1d16897d3990cec tree e5a77a0b6e71629e299e161c39294760cc07e6a7 parent 04d8b2841630b793919cc1ece9e77ac4de338c9e author Christoph Hellwig Wed, 02 Nov 2005 10:21:14 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:21:14 +1100 [XFS] remove unused pagebuf flags SGI-PV: 908809 SGI-Modid: xfs-linux:xfs-kern:198656a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 04d8b2841630b793919cc1ece9e77ac4de338c9e tree 89bee123d779690947eb468e2d68154000760355 parent df70b17f88a4d1d8545d3569a1f6d28c6004f9e4 author Christoph Hellwig Wed, 02 Nov 2005 10:15:05 +1100 committer Nathan Scott Wed, 02 Nov 2005 10:15:05 +1100 [XFS] Make sure the threads and shaker in xfs_buf are de-initialized in reverse startup order SGI-PV: 942063 SGI-Modid: xfs-linux:xfs-kern:198651a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 73ee723e4c6d179c2e9496cc4caf160a18d95603 tree e88c3a52f664d8a01d63411a1e7f69fe0c4ce702 parent fbd9a6d7a927b2059d1d65441384ffb095f68e58 author Deepak Saxena Tue, 01 Nov 2005 22:32:12 +0000 committer Russell King Tue, 01 Nov 2005 22:32:12 +0000 [ARM] 3081/1: Remove GTWX5715 from ixp4xx_defconfig Patch from Deepak Saxena CONFIG_MACH_GTWX5715 hardcodes the machine type in head-xscale.S so we can no longer boot on any other machine types. The proper fix would be to remove the hardcoding, but that machine is an off-the-shelf system and most users won't have access to the bootloader. :( Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit fbd9a6d7a927b2059d1d65441384ffb095f68e58 tree 07e89086834221152aec688feb9756b6d5ce5c35 parent d01e8897fcf597f62d84f626fdced8d94c70deaf author Dan Williams Tue, 01 Nov 2005 22:31:12 +0000 committer Russell King Tue, 01 Nov 2005 22:31:12 +0000 [ARM] 3079/1: Fix typo in i2c-iop3xx.c (invalid pointer passed to release_mem_region) Patch from Dan Williams * If request_irq fails then a call to release_mem_region will be made with an invalid pointer. * Two formatting fixes Signed-off-by: Dan Williams Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 7b28b0d000eeb62d77add636f5d6eb0da04e48aa tree 184c63c9358b790f4dd3288ea24b8d0c7973247f parent 3bc12e75b23c0499cc2c0873a5f77494be173761 author Sean Hefty Tue, 01 Nov 2005 13:18:54 -0800 committer Roland Dreier Tue, 01 Nov 2005 13:18:54 -0800 [IB] ucm: 32/64 compatibility fixes Fix structure layouts to ensure same size on 32-bit and 64-bit architectures. This permits 32-bit userspace apps on a 64-bit kernel. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit d01e8897fcf597f62d84f626fdced8d94c70deaf tree 72e25f7df9b10aec46ccca594414f91eef092860 parent fadab0943d1c5b652a66858bb99b204fedaad96b author Lennert Buytenhek Tue, 01 Nov 2005 19:53:50 +0000 committer Russell King Tue, 01 Nov 2005 19:53:50 +0000 [ARM] 3052/1: add ixp2000 microcode loader Patch from Lennert Buytenhek This patch adds a microcode loader for the ixp2000 architecture. The ixp2000 is an xscale-based CPU with a number of additional small CPUs ('microengines') on die that can be programmed to do various things. Depending on the ixp2000 model, there are between 2 and 16 microengines. This code provides an API that allows configuring the microengines, loading code into them, and starting and stopping them and reading out a number of status registers, and is used by the microengine network driver that was recently announced to netdev. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit fadab0943d1c5b652a66858bb99b204fedaad96b tree ae8f83cd0b6c97ee2120688f3e4f4cfd431b0c3e parent 7549423000fc38d39a8b81c601dea0332c113a42 author Nicolas Pitre Tue, 01 Nov 2005 19:52:24 +0000 committer Russell King Tue, 01 Nov 2005 19:52:24 +0000 [ARM] 2948/1: new preemption safe copy_{to|from}_user implementation Patch from Nicolas Pitre This patch provides a preemption safe implementation of copy_to_user and copy_from_user based on the copy template also used for memcpy. It is enabled unconditionally when CONFIG_PREEMPT=y. Otherwise if the configured architecture is not ARMv3 then it is enabled as well as it gives better performances at least on StrongARM and XScale cores. If ARMv3 is not too affected or if it doesn't matter too much then uaccess.S could be removed altogether. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 7549423000fc38d39a8b81c601dea0332c113a42 tree 6b76fe2867b9634a1d1dbaf682c69ccad4e9f71b parent a0c6fdb987860e6c7f9b8e57439ca2703f462578 author Nicolas Pitre Tue, 01 Nov 2005 19:52:23 +0000 committer Russell King Tue, 01 Nov 2005 19:52:23 +0000 [ARM] 2947/1: copy template with new memcpy/memmove Patch from Nicolas Pitre This patch provides a new implementation for optimized memory copy functions on ARM. It is made of two levels: a template that consists of the core copy code and separate files that define macros to be used with the core code depending on the type of copy needed. This allows for best performances while sharing the same core for implementing memcpy(), copy_from_user() and copy_to_user() for instance. Two reasons for this work: 1) the current copy_to_user/copy_from_user implementation assumes no task switch will ever occur in the middle of each copied page making it completely unsafe with CONFIG_PREEMPT=y. 2) current copy implementations are measurably suboptimal and optimizing different implementations separately is a pain and more opportunities for bugs. The reason for (1) is the fact that copy inside user pages are performed with the ldm instruction which has no mean for testing user protections and could possibly race with process preemption bypassing the COW mechanism for example. This is a longstanding issue that we said ought to be fixed for about two years now. The solution is to substitute those ldm insns with a series of ldrt or strt insns to enforce user memory protection. At least on StrongARM and XScale cores the ldm is not faster than the equivalent ldr/str insns with a warm i-cache so there is no measurable performance degradation with that change. The fact that the copy code is a template makes it pretty easy to reuse the same core code as for memcpy and benefit from the same performance optimizations. Now (2) is best demonstrated with actual throughput measurements. First, here is a summary of memcopy tests performed on a StrongARM core: PTR alignment buffer size kernel version this version ------------------------------------------------------------ aligned 32 59.73 107.43 unaligned 32 61.31 74.72 aligned 100 132.47 136.15 unaligned 100 103.84 123.76 aligned 4096 130.67 130.80 unaligned 4096 130.68 130.64 aligned 1048576 68.03 68.18 unaligned 1048576 68.03 68.18 The buffer size is in bytes and the measured speed in MB/s. The copy was performed repeatedly with given buffer and throughput averaged over 3 seconds. Here we can see that the current kernel version has a higher entry cost that shows up with small buffers. As buffer size grows both implementation converge to the same throughput. Now here's the exact same test performed on an XScale core (PXA255): PTR alignment buffer size kernel version this version ------------------------------------------------------------ aligned 32 46.99 77.58 unaligned 32 53.61 59.59 aligned 100 107.19 136.59 unaligned 100 83.61 97.58 aligned 4096 129.13 129.98 unaligned 4096 128.36 128.53 aligned 1048576 53.76 59.41 unaligned 1048576 33.67 56.96 Again we can see the entry setup cost being higher for the current kernel before getting to the main copy loop. Then throughput results converge as long as the buffer remains in the cache. Then the 1MB case shows more differences probably due to better pld placement and/or less instruction interlocks in this proposed implementation. Disclaimer: The PXA system was running with slower clocks than the StrongARM system so trying to infer any conclusion by comparing those separate sets of results side by side would be completely inappropriate. So... What this patch does is to replace both memcpy and memmove with an implementation based on the provided copy code template. The memmove code is kept separate since it is used only if the memory areas involved do overlap in which case the code is a transposition of the template but with the copy occurring in the opposite direction (trying to fit that mode into the template turned it into a mess not worth it for memmove alone). And obviously both memcpy and memmove were tested with all kinds of pointer alignments and buffer sizes to exercise all code paths for correctness. The next patch will provide the now trivial replacement implementation copy_to_user and copy_from_user. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit a0c6fdb987860e6c7f9b8e57439ca2703f462578 tree 4709f4675f3e0fb19016c1245c467408dde36206 parent 85eb226c446a017996859093cbfb5d3ae2c2117a author Nicolas Pitre Tue, 01 Nov 2005 19:52:22 +0000 committer Russell King Tue, 01 Nov 2005 19:52:22 +0000 [ARM] 2946/2: split --arch_clear_user() out of lib/uaccess.S Patch from Nicolas Pitre Required for future enhancement patches. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 85eb226c446a017996859093cbfb5d3ae2c2117a tree 383325e8da1f589ade1236017df896fb06bfab14 parent 4ebc3364de368c92138e740f6c9050c93a2f0c3c author David Brownell Tue, 01 Nov 2005 19:44:30 +0000 committer Russell King Tue, 01 Nov 2005 19:44:30 +0000 [ARM] 3078/1: lubbock platform updates, mostly mmc detection Patch from David Brownell Lubbock updates: * Provide an address for the SMC91x chip that doesn't generate a boot-time warning (matching the EEPROM). * Update MMC support to (a) detect card insert/remove, and (b) report the readonly switch setting for SD cards. Previously, MMC/SD cards had to be present at boot time else they couldn't be detected. Signed-off-by: David Brownell Signed-off-by: Russell King commit 4ebc3364de368c92138e740f6c9050c93a2f0c3c tree 0e770a0776a8a00bf241983858e2684502c6e349 parent 6ff8f59f13974ab54086c5c86898647642bc77dd author Ben Dooks Tue, 01 Nov 2005 19:44:30 +0000 committer Russell King Tue, 01 Nov 2005 19:44:30 +0000 [ARM] 3077/1: S3C2410 - regs-iis.h missing mask for IISMOD_FS Patch from Ben Dooks Add definition for S3C2410_IISMOD_FS_MASK Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 6ff8f59f13974ab54086c5c86898647642bc77dd tree 09923ec2c046bd5c9372b577783861612c55a372 parent e838ffc2e5c9afa81451cf21dcd3f3246e2adcd2 author Ben Dooks Tue, 01 Nov 2005 19:44:29 +0000 committer Russell King Tue, 01 Nov 2005 19:44:29 +0000 [ARM] 3076/1: S3C2410 - updated documentation for platfrom data init Patch from Ben Dooks Update the Documentation/arm/Samsung-S3C24XX to add example platform data initialisation, and add the linux-arm mailing list URL. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit e838ffc2e5c9afa81451cf21dcd3f3246e2adcd2 tree 7b4c3be7ece370d717b31de7356b2820cf2d4706 parent fa87cedd4e89ea29bda622d5cd6dbf19a915fc40 author Ben Dooks Tue, 01 Nov 2005 19:44:28 +0000 committer Russell King Tue, 01 Nov 2005 19:44:28 +0000 [ARM] 3071/1: RX3715 - add lcd/fb platform setup Patch from Ben Dooks Platform data for the LCD/framebuffer driver for the RX3715 LCD panel. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit fa87cedd4e89ea29bda622d5cd6dbf19a915fc40 tree f128a4bd6e376602e10204a3f9b2a5e906aaa907 parent e9b72e43d96a1ea2be0f513c78f16743a835d252 author Lennert Buytenhek Tue, 01 Nov 2005 19:44:27 +0000 committer Russell King Tue, 01 Nov 2005 19:44:27 +0000 [ARM] 3065/1: ixp2000 typo and whitespace fixes Patch from Lennert Buytenhek Misc ixp2000 typo and whitespace fixes. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit e9b72e43d96a1ea2be0f513c78f16743a835d252 tree ed3a2cb9a84f56754ac1e4469c3a58f963b86237 parent 69a857610ad212ce4bcd8e6b13f25408691403de author Lennert Buytenhek Tue, 01 Nov 2005 19:44:26 +0000 committer Russell King Tue, 01 Nov 2005 19:44:26 +0000 [ARM] 3064/1: start using ixp2000_reg_wrb Patch from Lennert Buytenhek Switch the users of ixp2000_reg_write that depend on writes being flushed out of the write buffer by the time that function returns over to ixp2000_reg_wrb. When using XCB=101, writes to the same functional unit are still guaranteed to complete in order, so we only need to protect against: - reordering of writes to different functional units - masking an interrupt and then reenabling the IRQ bit in CPSR Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 69a857610ad212ce4bcd8e6b13f25408691403de tree 52f7eb9eeb3dbf7e82b8b86b30d6056ee5109c7e parent a6f1063b388cfd48a598cc7971eae1f83ebc8ba4 author Lennert Buytenhek Tue, 01 Nov 2005 19:44:25 +0000 committer Russell King Tue, 01 Nov 2005 19:44:25 +0000 [ARM] 3063/1: allow slave ixp2000 cpu reset Patch from Lennert Buytenhek On the ixdp2x00, the slave CPU is currently not allowed to reset itself for fear that it will do something 'funky' on the PCI bus. This fear is ungrounded -- the slave CPU is wired up such that a CPU reset will not cause a PCI bus reset to be done. This patch changes arch_reset() so that the slave CPU also executes the reset sequence, allowing it to reboot itself using /sbin/reboot. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit a6f1063b388cfd48a598cc7971eae1f83ebc8ba4 tree 229a5d899fef3c181b1624e0c73572b894cac9de parent 37bb30e86bc2e48d9affb25f6ce9eb3d8e65b2ac author Lennert Buytenhek Tue, 01 Nov 2005 19:44:24 +0000 committer Russell King Tue, 01 Nov 2005 19:44:24 +0000 [ARM] 3062/1: map in various enp2611 peripherals for the ixp2000 netdev driver Patch from Lennert Buytenhek The enp2611 version of the ixp2000 netdev driver needs to be able to access a number of on-board peripherals. ioremap() is not suitable for this, as that will cause XCB=000 mappings to be done, which will make the cpu susceptible to crashing on ixp2400 erratum #66. Properly aligned iotable mappings with MT_IXP2000_DEVICE will cause section mappings with XCB=101 to be done, which is safe. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit de4ae58fc9f46482f96306301011dfc8b404491f tree b7b86327638d0273c1874c9a08edef2b2414accb parent b3faed6373bfd4468384880a39d4014ead7159f7 author Wim Van Sebroeck Sun, 23 Oct 2005 15:21:44 +0200 committer Wim Van Sebroeck Tue, 01 Nov 2005 19:31:59 +0100 [WATCHDOG] adds device_driver .owner field Initialise the .owner field of the device driver with the module that owns it, for easier tracking of device driver ownership. (probably also better for sysfs...) Signed-off-by: Wim Van Sebroeck commit b3faed6373bfd4468384880a39d4014ead7159f7 tree f2260ddfa608558bed4dcaa192ef3a4f584abe39 parent d05101738a4e23fa6f22460150a6ef4775d6473f author Wim Van Sebroeck Sat, 22 Oct 2005 16:27:19 +0200 committer Wim Van Sebroeck Tue, 01 Nov 2005 19:31:48 +0100 [WATCHDOG] pcwd_pci.c update comments update copyright + update bells and whistles driver for v2.6 Signed-off-by: Wim Van Sebroeck commit d05101738a4e23fa6f22460150a6ef4775d6473f tree 2fdddabcef4584e5c5c0de1054cc1c8980fd3856 parent 30da9404bcc028385867acf689a615495642bc0f author Pozsar Balazs Fri, 21 Oct 2005 10:52:01 +0100 committer Wim Van Sebroeck Tue, 01 Nov 2005 19:31:37 +0100 [WATCHDOG] w83627hf_wdt trivial typo The most trivial typo fix in the world. Signed-off-by: Pozsar Balazs Signed-off-by: Pádraig Brady Signed-off-by: Wim Van Sebroeck commit 30da9404bcc028385867acf689a615495642bc0f tree de6b3455604c6017b2509e12f7a8f523313213ca parent df70b17f88a4d1d8545d3569a1f6d28c6004f9e4 author Ben Dooks Mon, 10 Oct 2005 01:28:30 +0100 committer Wim Van Sebroeck Tue, 01 Nov 2005 19:31:19 +0100 [WATCHDOG] s3c2410 wdt - add .owner field Initialise the .owner field of the device driver with the module that owns it, for easier tracking of device driver ownership. Signed-off-by: Ben Dooks Signed-off-by: Wim Van Sebroeck commit 7f28570185f98bfa83f775756ced79e9f22b6d93 tree d193adb5d9597ff002ab1aa3a4d966458098b44a parent ef0eaa13362041f531f951b89362bfbc177e2bc0 author Steve French Tue, 01 Nov 2005 10:22:55 -0800 committer Steve French Tue, 01 Nov 2005 10:22:55 -0800 Export __pagevec_release and pagevec_lookup_tag These are needed to implement cifs_writepages Signed-off-by: Dave Kleikamp Signed-off-by: Steve French commit ef0eaa13362041f531f951b89362bfbc177e2bc0 tree e2d43099698aa238f9d108c67451871b0d4073f9 parent 53b2ec5518aa2623e8c0cb36f1c304a797988a46 parent df70b17f88a4d1d8545d3569a1f6d28c6004f9e4 author Steve French Tue, 01 Nov 2005 09:02:10 -0800 committer Steve French Tue, 01 Nov 2005 09:02:10 -0800 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit df70b17f88a4d1d8545d3569a1f6d28c6004f9e4 tree 0e20a92f62de2ad4e2aa56006f0e70864f6085a9 parent 541ab4af11d5b41b95cd633e9b1d96cea9947ac2 parent 94b166a7cbc232df279e1f7d5a8acfb6b8d02d59 author Linus Torvalds Tue, 01 Nov 2005 08:30:05 -0800 committer Linus Torvalds Tue, 01 Nov 2005 08:30:05 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/aia21/ntfs-2.6 commit 94b166a7cbc232df279e1f7d5a8acfb6b8d02d59 tree 5cf9a982d3ffe9fde7a1ac679eb994499c09f7f2 parent 3aebf25bdcf030f3e4afeb9340486d5b46deb46e parent 1e4c85f97fe26fbd70da12148b3992c0e00361fd author Anton Altaparmakov Tue, 01 Nov 2005 15:51:32 +0000 committer Anton Altaparmakov Tue, 01 Nov 2005 15:51:32 +0000 Merge branch 'master' of /home/src/linux-2.6/ commit 3aebf25bdcf030f3e4afeb9340486d5b46deb46e tree d4a0d4e1f0aff3a808846807f3b4d2fd9fa35667 parent 1f04c0a24b2f3cfe89c802a24396263623e3512d author Anton Altaparmakov Tue, 01 Nov 2005 15:49:31 +0000 committer Anton Altaparmakov Tue, 01 Nov 2005 15:49:31 +0000 NTFS: Fix a stupid bug causing writes to non-initialized pages to segfault. Signed-off-by: Anton Altaparmakov commit a39dbcf71eba6e00ac6ae5482f499f9b57f1075e tree f54300e1f8caa39de5bd0895e4cb6026f522aefa parent 89003ebf9e6a9ccb2327caf72955edd86b274c14 author Paul Mackerras Tue, 01 Nov 2005 22:37:47 +1100 committer Paul Mackerras Tue, 01 Nov 2005 22:37:47 +1100 powerpc: Fix pseries (64-bit) build A recent commit that removed rtas-fw.h and moved its contents to include/asm-powerpc/rtas.h forgot to also remove the inclusion of it in arch/powerpc/platforms/pseries/setup.c. Signed-off-by: Paul Mackerras commit 89003ebf9e6a9ccb2327caf72955edd86b274c14 tree b4e7ff84b1b0aa0adccfac237981e45ea371553a parent a0e60b2033b30a6bb8479629001cf98e58e4079a author Paul Mackerras Tue, 01 Nov 2005 21:54:38 +1100 committer Paul Mackerras Tue, 01 Nov 2005 21:54:38 +1100 powerpc: Fix BUG/WARN macros for 64-bit The bug_entry struct had an int in the middle of pointers and unsigned longs, and the inline asm that generated the bug table entries didn't insert the necessary padding, so the fields following it didn't get initialized properly and an oops resulted. This changes the int field (the line number) to a long so that all the fields are the same size and no padding is required. Signed-off-by: Paul Mackerras commit a0e60b2033b30a6bb8479629001cf98e58e4079a tree 6386eeca340a25c4ae1876f2f9663f94628c8cc3 parent 031ef0a72aa8f7ee63ae9f307c1bcff92b3ccc2c author David Gibson Tue, 01 Nov 2005 17:28:10 +1100 committer Paul Mackerras Tue, 01 Nov 2005 21:49:02 +1100 [PATCH] powerpc: Merge bitops.h Here's a revised version. This re-introduces the set_bits() function from ppc64, which I removed because I thought it was unused (it exists on no other arch). In fact it is used in the powermac interrupt code (but not on pSeries). - We use LARXL/STCXL macros to generate the right (32 or 64 bit) instructions, similar to LDL/STL from ppc_asm.h, used in fpu.S - ppc32 previously used a full "sync" barrier at the end of test_and_*_bit(), whereas ppc64 used an "isync". The merged version uses "isync", since I believe that's sufficient. - The ppc64 versions of then minix_*() bitmap functions have changed semantics. Previously on ppc64, these functions were big-endian (that is bit 0 was the LSB in the first 64-bit, big-endian word). On ppc32 (and x86, for that matter, they were little-endian. As far as I can tell, the big-endian usage was simply wrong - I guess no-one ever tried to use minixfs on ppc64. - On ppc32 find_next_bit() and find_next_zero_bit() are no longer inline (they were already out-of-line on ppc64). - For ppc64, sched_find_first_bit() has moved from mmu_context.h to the merged bitops. What it was doing in mmu_context.h in the first place, I have no idea. - The fls() function is now implemented using the cntlzw instruction on ppc64, instead of generic_fls(), as it already was on ppc32. - For ARCH=ppc, this patch requires adding arch/powerpc/lib to the arch/ppc/Makefile. This in turn requires some changes to arch/powerpc/lib/Makefile which didn't correctly handle ARCH=ppc. Built and running on G5. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 031ef0a72aa8f7ee63ae9f307c1bcff92b3ccc2c tree d534555dd06c3f47578bfd70dc9714c693a13138 parent 811d4176f4366ca13a00c1fbb57587d210d38f19 author David Gibson Tue, 01 Nov 2005 16:53:24 +1100 committer Paul Mackerras Tue, 01 Nov 2005 21:03:26 +1100 [PATCH] powerpc: Merge ipcbuf.h This patch merges ppc32 and ppc64 versions of ipcbuf.h. The merge is essentially trivial, since the structure defined in each version was already identical. Only wrinkle is that the merged version now includes linux/types.h in order to get the fixed width integer types. In fact, the old versions probably should have been including that anyway, since the file uses various __kernel_*_t types. Built and booted on G5, built for 32-bit pmac, but not booted, since the merge tree currently doesn't boot there. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 811d4176f4366ca13a00c1fbb57587d210d38f19 tree 3377bf105f51fbcdc23d9d63d07d096465fcc723 parent edf03c1ee84e5095e8f4a4b8ad6e0784118cb176 author Arnd Bergmann Mon, 31 Oct 2005 20:08:41 -0500 committer Paul Mackerras Tue, 01 Nov 2005 21:03:07 +1100 [PATCH] powerpc: move arch/ppc64/kernel/bpa* to arch/powerpc/platforms/cell This patch simply moves files over to arch/powerpc without making any changes to them. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit edf03c1ee84e5095e8f4a4b8ad6e0784118cb176 tree 2b86e57df3cfd2767fffb55ccf4b04e4d28c5c75 parent e9add2eeb182e2bf1863c548f7a8173c45b4b92f author Arnd Bergmann Mon, 31 Oct 2005 20:08:40 -0500 committer Paul Mackerras Tue, 01 Nov 2005 21:03:04 +1100 [PATCH] powerpc: move mmio_nvram.c over to arch/powerpc The nvram code formally known as bpa_nvram.c is rather generic really, so it is quite likely to be useful to future boards not based on cell. This patch puts it into arch/powerpc/sysdev. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit e9add2eeb182e2bf1863c548f7a8173c45b4b92f tree 25d7a07a37750f0956f1922dae624c6898ec8e1d parent 19fe04755aca56e7d143f7f95b41008138619c5c author Arnd Bergmann Mon, 31 Oct 2005 20:08:39 -0500 committer Paul Mackerras Tue, 01 Nov 2005 21:02:59 +1100 [PATCH] powerpc: move rtas_fw.c out of platforms/pseries Cell uses the same code as pSeries for flashing the firmware through rtas, so the implementation should not be part of platforms/pseries. Put it into arch/powerpc/kernel instead. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 19fe04755aca56e7d143f7f95b41008138619c5c tree c77dae8cbf190143672300526b9afdb1f64cb198 parent f3f66f599db131ea57dc567ffd931d269dbc690e author Arnd Bergmann Mon, 31 Oct 2005 20:08:38 -0500 committer Paul Mackerras Tue, 01 Nov 2005 21:02:53 +1100 [PATCH] powerpc: create a new arch/powerpc/platforms/cell/smp.c During the conversion to the merge tree, the Cell specific SMP initialization was removed from the pSeries code. This creates a new Cell specific SMP implementation file. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit f3f66f599db131ea57dc567ffd931d269dbc690e tree c98f9253baa90e07e241bd88863bd69ff70cf4b0 parent 3c4cf5ee5a9224a800a74b5dfcb435550ed30737 author Arnd Bergmann Mon, 31 Oct 2005 20:08:37 -0500 committer Paul Mackerras Tue, 01 Nov 2005 21:02:44 +1100 [PATCH] powerpc: Rename BPA to Cell The official name for BPA is now CBEA (Cell Broadband Engine Architecture). This patch renames all occurences of the term BPA to 'Cell' for easier recognition. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 496456c24f1f4280d50b81aa5bf439ab440b3d7e tree 393b4fd485e0e9c5c150ac79a792403f15c89935 parent a362357b6cd62643d4dda3b152639303d78473da author Jens Axboe Tue, 01 Nov 2005 09:54:23 +0100 committer Jens Axboe Tue, 01 Nov 2005 09:54:23 +0100 [BLOCK] aoe: update for combined io statistics Signed-off-by: Jens Axboe commit a362357b6cd62643d4dda3b152639303d78473da tree fe4ce823e638ded151edcb142f28a240860f0d33 parent d72d904a5367ad4ca3f2c9a2ce8c3a68f0b28bf0 author Jens Axboe Tue, 01 Nov 2005 09:26:16 +0100 committer Jens Axboe Tue, 01 Nov 2005 09:26:16 +0100 [BLOCK] Unify the seperate read/write io stat fields into arrays Instead of having ->read_sectors and ->write_sectors, combine the two into ->sectors[2] and similar for the other fields. This saves a branch several places in the io path, since we don't have to care for what the actual io direction is. On my x86-64 box, that's 200 bytes less text in just the core (not counting the various drivers). Signed-off-by: Jens Axboe commit d72d904a5367ad4ca3f2c9a2ce8c3a68f0b28bf0 tree b41aaa3ceb0aa40090adda140d143e72fd16d587 parent d83c671fb7023f69a9582e622d01525054f23b66 author Jens Axboe Tue, 01 Nov 2005 08:35:42 +0100 committer Jens Axboe Tue, 01 Nov 2005 08:35:42 +0100 [BLOCK] Update read/write block io statistics at completion time Right now we do it at queueing time, which works alright for reads (since they are usually sync), but not for async writes since we can queue io a lot faster than we can complete it. This makes the vmstat output look extremely bursty. Signed-off-by: Jens Axboe commit 1da44037883c0405154d53fe76da27e078456664 tree db6f579831b89c55e0e0c095345b4d1e5bdd0500 parent e2f2e58e7968f8446b1078a20a18bf8ea12b4fbc author Kelly Daly Tue, 01 Nov 2005 16:59:20 +1100 committer Kelly Daly Tue, 01 Nov 2005 16:59:20 +1100 merge filename and modify references to iseries/hv_call.h Signed-off-by: Kelly Daly commit 541ab4af11d5b41b95cd633e9b1d96cea9947ac2 tree 079228fafa21a7d2920525c9d1e4b5a3edbcf390 parent 1e4c85f97fe26fbd70da12148b3992c0e00361fd author Linus Torvalds Mon, 31 Oct 2005 21:12:40 -0800 committer Linus Torvalds Mon, 31 Oct 2005 21:12:40 -0800 Don't touch USB controller IO registers when they are disabled The USB "handoff" code is an early PCI quirk to make sure we own the USB controller (as opposed to the BIOS/SMM). But if the controller isn't even enabled yet, don't try to access it. Acked-by: Paul Mackerras (who had an alternate patch) Signed-off-by: Linus Torvalds commit 48fe4871569f019c653efb95b26dda976f84c468 tree 3958d2a6d88fde19e73e9a59b6b85b1e551f793e parent 3c4cf5ee5a9224a800a74b5dfcb435550ed30737 author Stephen Rothwell Tue, 01 Nov 2005 15:53:19 +1100 committer Stephen Rothwell Tue, 01 Nov 2005 15:53:19 +1100 powerpc: clean up uaccess.h Use the best from each architecture. Signed-off-by: Stephen Rothwell commit 3c4cf5ee5a9224a800a74b5dfcb435550ed30737 tree 14ad9a7d6f9807352187de7947cd8f803ac696a9 parent 870c6ff2ac0cb708697c2c06f3e5eddf9e3b38cb author Stephen Rothwell Tue, 01 Nov 2005 14:26:41 +1100 committer Stephen Rothwell Tue, 01 Nov 2005 14:36:55 +1100 powerpc: use asm-generic/termios.h Signed-off-by: Stephen Rothwell commit 870c6ff2ac0cb708697c2c06f3e5eddf9e3b38cb tree bd11999aa97f23c42c4faf2cd3ce90e725c4b566 parent bec7c458b372251617e0fdc6bf8ce4df06bab430 author Stephen Rothwell Tue, 01 Nov 2005 14:36:30 +1100 committer Stephen Rothwell Tue, 01 Nov 2005 14:36:30 +1100 powerpc: remove duplicate ioctl definitions Signed-off-by: Stephen Rothwell commit bec7c458b372251617e0fdc6bf8ce4df06bab430 tree bdffb7e8a092655f535fe4401ad8e81ae639221b parent 5015b49448cbe5352b9cc232333ab26f3e608a07 author Stephen Rothwell Tue, 01 Nov 2005 11:45:19 +1100 committer Stephen Rothwell Tue, 01 Nov 2005 14:34:30 +1100 powerpc: make mem= work on iSeries again By parsing the command line earlier, we can add the mem= value to the flattened device tree and let the generic code sort out the memory limit for us. Signed-off-by: Stephen Rothwell commit 5015b49448cbe5352b9cc232333ab26f3e608a07 tree 77267c0fbc585ee6988a33ffec49030c6c2b5030 parent 2df5e8bcca53e528a78ee0e3b114d0d21dd6d043 author Stephen Rothwell Mon, 31 Oct 2005 18:39:20 +1100 committer Stephen Rothwell Tue, 01 Nov 2005 14:34:17 +1100 powerpc: fix __strnlen_user in merge tree Change USER/KERNEL_DS so that the merged version of __strnlen_user can be used which allows us to complete the removal of arch/ppc64/lib/. Signed-off-by: Stephen Rothwell commit 2df5e8bcca53e528a78ee0e3b114d0d21dd6d043 tree 2234ea07e58a21ff7385dc24ad649ce8ec0273be parent e2f2e58e7968f8446b1078a20a18bf8ea12b4fbc author Stephen Rothwell Sat, 29 Oct 2005 17:51:31 +1000 committer Stephen Rothwell Tue, 01 Nov 2005 14:34:03 +1100 powerpc: merge uaccess.h There is still a bug to be fixed and more merging to be done. Signed-off-by: Stephen Rothwell commit 1e4c85f97fe26fbd70da12148b3992c0e00361fd tree cd938308f7a151bf294a2af26019c73218225c9f parent d83c671fb7023f69a9582e622d01525054f23b66 author Linus Torvalds Mon, 31 Oct 2005 19:16:17 -0800 committer Linus Torvalds Mon, 31 Oct 2005 19:16:17 -0800 Revert "i386: move apic init in init_IRQs" Commit f2b36db692b7ff6972320ad9839ae656a3b0ee3e causes a bootup hang on at least one machine. Revert for now until we understand why. The old code may be ugly, but it works. Signed-off-by: Linus Torvalds commit 97300b5fdfe28c6edae926926f9467a27cf5889c tree 5a28ee8ff8fbddb44ed3f8b5e3d37c0439af1608 parent edc9e81917157d1e73bf081d4fbcad7c34d32783 author Yan Zheng Mon, 31 Oct 2005 20:09:45 +0800 committer Arnaldo Carvalho de Melo Mon, 31 Oct 2005 22:52:03 -0200 [MCAST] IPv6: Check packet size when process Multicast Signed-off-by: Yan Zheng Signed-off-by: Arnaldo Carvalho de Melo commit edc9e81917157d1e73bf081d4fbcad7c34d32783 tree 28f15652b5965421bed9ff1a0cd676ac4cb14682 parent 48918a4dbd6c599d6af30bd64cb355fadca708eb author Herbert Xu Sun, 30 Oct 2005 11:20:59 +1100 committer Arnaldo Carvalho de Melo Mon, 31 Oct 2005 22:30:02 -0200 [DCCP]: Set socket owner iff packet is not data Here is a complimentary insurance policy for those feeling a bit insecure. You don't have to accept this. However, if you do, you can't blame me for it :) > 1) dccp_transmit_skb sets the owner for all packets except data packets. We can actually verify this by looking at pkt_type. Signed-off-by: Herbert Xu Signed-off-by: Arnaldo Carvalho de Melo commit d83c671fb7023f69a9582e622d01525054f23b66 tree c9b72300f45441bbe8571a7fbaaf2aa5e6b3d28c parent 659603ef692d3f6c7c216e80310990253864bf2e author James Courtier-Dutton Mon, 31 Oct 2005 10:27:41 +0000 committer Linus Torvalds Mon, 31 Oct 2005 16:09:39 -0800 [PATCH] Creative Audigy 2 cardbus: Add IO window wakeup magic This adds the magic IO wakeup code for the CardBus version of the Creative Labs Audigy 2 to the snd-emu10k1 driver. Without the magic IO enable sequence, reading from the IO region of the card will fail spectacularly, and the machine will hang. My next task will be getting the driver to actually play sound without distortion. Signed-off-by: James Courtier-Dutton [ This is a work-in-progress, but since it avoids a total lockup if the emu10k module is loaded on a machine with the cardbus card inserted, we're better off with it than without it, even if sound quality is bad right now ] Signed-off-by: Linus Torvalds commit 659603ef692d3f6c7c216e80310990253864bf2e tree f1e8fe6176fdf4d34ef7f62fa2f1f9f619e9d26f parent a717f77362d4fe044721c126c89e2a38e731a576 author Andrea Arcangeli Mon, 31 Oct 2005 14:08:54 -0800 committer Linus Torvalds Mon, 31 Oct 2005 14:22:04 -0800 [PATCH] fix __writeback_single_inode WARN_ON When the inode count is zero in inode writeback, the WARN_ON(!(inode->i_state & I_WILL_FREE)); is broken, and needs to test for either I_WILL_FREE|I_FREEING. When the inode is in I_FREEING state, it's already out of the visibility of the vm so it can't be freed so it doesn't require the __iget and the generic_delete_inode path can call the sync internally to the lowlevel fs callback during the last iput. So the inode being in I_FREEING is also a valid condition for calling the sync with i_count == 0. The specific stack trace is this: 0xc00000007b8fb6e0 0xc00000000010118c .__writeback_single_inode +0x5c 0xc00000007b8fb6e0 0xc0000000001014dc (lr) .sync_inode +0x3c 0xc00000007b8fb790 0xc0000000001014dc .sync_inode +0x3c 0xc00000007b8fb820 0xc0000000001a5020 .ext2_sync_inode +0x64 0xc00000007b8fb8f0 0xc0000000001a65b4 .ext2_truncate +0x3f8 0xc00000007b8fba40 0xc0000000001a6940 .ext2_delete_inode +0xdc 0xc00000007b8fbac0 0xc0000000000f7a5c .generic_delete_inode +0x124 0xc00000007b8fbb50 0xc0000000000f5fe0 .iput +0xb8 0xc00000007b8fbbe0 0xc0000000000e9fd4 .sys_unlink +0x2a8 0xc00000007b8fbd10 0xc00000000001048c .ret_from_syscall_1 +0x0 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a717f77362d4fe044721c126c89e2a38e731a576 tree b899e97f5c73a1679613903a1c378352a0997749 parent f2c84c0e84bfa637a7161eac10157cf3b05b4a73 author Andrew Morton Mon, 31 Oct 2005 14:08:53 -0800 committer Linus Torvalds Mon, 31 Oct 2005 14:22:04 -0800 [PATCH] revert ide-scsi highmem cleanup Jeff Garzik points out that this was wrong: we need to disable local interrupts while holding KM_IRQ0 due to IRQ sharing. And holding interrupts off during a big PIO opration is expensive, so we only want to do that if we know the page was highmem. So revert commit 17fd47ab4d33e764216b87006d8118fa050b4c92 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 48918a4dbd6c599d6af30bd64cb355fadca708eb tree 31893d50f1e21ba19e1acc59c117e220ff57205b parent 9d17f218936a0fee43ad9493a841136589c942cd author Herbert Xu Sun, 30 Oct 2005 11:20:59 +1100 committer Arnaldo Carvalho de Melo Mon, 31 Oct 2005 19:26:17 -0200 [DCCP]: Simplify skb_set_owner_w semantics While we're at it let's reorganise the set_owner_w calls a little so that: 1) dccp_transmit_skb sets the owner for all packets except data packets. 2) Add dccp_skb_entail to set owner for packets queued for retransmission. 3) Make dccp_transmit_skb static. Signed-off-by: Herbert Xu Signed-off-by: Arnaldo Carvalho de Melo commit 9d17f218936a0fee43ad9493a841136589c942cd tree 055eed0fcf1c2c4566ac665334c626fac6ee2721 parent a3d7a9d77533d7516a8cfb8e2b612cd5ead4fa59 author Yan Zheng Fri, 28 Oct 2005 15:12:00 -0700 committer Arnaldo Carvalho de Melo Mon, 31 Oct 2005 16:54:05 -0200 [IPV6]: Fix behavior of ip6_route_input() for link local address I find that linux will reply echo request destined to an address which belongs to an interface other than the one from which the request received. This behavior doesn't make sense for link local address. YOSHIFUJI Hideaki said: Please note that sender does need to setup neighbor entry by hand to reproduce this bug. (Link-local address on eth1 is not visible on eth0, from the point of view of neighbor discovery in IPv6.) +--------+ +--------+ | sender | | router | +---+----+ +-+----+-+ |eth0 eth0| |eth1 -----+----------------------+- -+-------------- Signed-off-by: Yan Zheng Acked-by: YOSHIFUJI Hideaki Signed-off-by: Andrew Morton (forwarded) Signed-off-by: Arnaldo Carvalho de Melo commit c7fb577e2a6cb04732541f2dc402bd46747f7558 tree df3b1a1922ed13bfbcc45d08650c38beeb1a7bd1 parent 9cec58dc138d6fcad9f447a19c8ff69f6540e667 parent 581c1b14394aee60aff46ea67d05483261ed6527 author Tony Luck Mon, 31 Oct 2005 10:51:57 -0800 committer Tony Luck Mon, 31 Oct 2005 10:51:57 -0800 manual update from upstream: Applied Al's change 06a544971fad0992fe8b92c5647538d573089dd4 to new location of swiotlb.c Signed-off-by: Tony Luck commit a3d7a9d77533d7516a8cfb8e2b612cd5ead4fa59 tree 62ea3dce8a8d7c6b984c0815347de9ca187e8335 parent 6b7d31fcdda5938e5d3f1f8b0922cc25aa200dfc author Andrew Morton Fri, 28 Oct 2005 15:12:02 -0700 committer Arnaldo Carvalho de Melo Mon, 31 Oct 2005 16:41:45 -0200 [ROSE]: rose_heartbeat_expiry() locking fix Missing unlock, as noted by Ted Unangst . Signed-off-by: Andrew Morton Signed-off-by: Arnaldo Carvalho de Melo commit 6b7d31fcdda5938e5d3f1f8b0922cc25aa200dfc tree c44f46d7eab0ea138247018ba1e04da6df8ae9d4 parent 6ede2463c8d7ea949f8e7ef35243490c415ddc2f author Harald Welte Wed, 26 Oct 2005 09:34:24 +0200 committer Arnaldo Carvalho de Melo Mon, 31 Oct 2005 16:36:08 -0200 [NETFILTER]: Add "revision" support to arp_tables and ip6_tables Like ip_tables already has it for some time, this adds support for having multiple revisions for each match/target. We steal one byte from the name in order to accomodate a 8 bit version number. Signed-off-by: Harald Welte Signed-off-by: Arnaldo Carvalho de Melo commit 6ede2463c8d7ea949f8e7ef35243490c415ddc2f tree 161ec1e8ec68dfd48b80706a08f253bb48e9c3cf parent 581c1b14394aee60aff46ea67d05483261ed6527 author Stephen Hemminger Tue, 25 Oct 2005 15:04:59 -0700 committer Arnaldo Carvalho de Melo Mon, 31 Oct 2005 16:34:10 -0200 [BRIDGE]: Use ether_compare Use compare_ether_addr in bridge code. Signed-off-by: Stephen Hemminger Signed-off-by: Arnaldo Carvalho de Melo commit f2c84c0e84bfa637a7161eac10157cf3b05b4a73 tree f3335cb8234bf5248a4932cd39ad53044c980b47 parent 581c1b14394aee60aff46ea67d05483261ed6527 author Arthur Othieno Sun, 30 Oct 2005 23:04:05 -0500 committer Linus Torvalds Mon, 31 Oct 2005 09:20:54 -0800 [PATCH] i386: CONFIG_PC removal CONFIG_PC is left-over cruft after the introduction of CONFIG_X86_PC with the subarch split. Remove it, and fixup the remaining users to depend on CONFIG_X86_PC instead. Signed-off-by: Arthur Othieno Signed-off-by: Linus Torvalds commit 37bb30e86bc2e48d9affb25f6ce9eb3d8e65b2ac tree d1419f0393effa0f4fd175cf0c65080e1f4626c6 parent 1be7228da280252167150346dcec4e7c50a79eb4 author Russell King Mon, 31 Oct 2005 17:14:57 +0000 committer Russell King Mon, 31 Oct 2005 17:14:57 +0000 [ARM] Convert EBSA110 network driver to a platform driver Signed-off-by: Russell King commit 1be7228da280252167150346dcec4e7c50a79eb4 tree 4ebfd4cb2c76de207ba799c8f910b5e8b9e0a67d parent 8ad68bbf7a06cdd77c170be792418488dbb65da4 author Russell King Mon, 31 Oct 2005 16:57:06 +0000 committer Russell King Mon, 31 Oct 2005 16:57:06 +0000 [ARM] Fixup platform device.h includes for realview board Signed-off-by: Russell King commit 53b2ec5518aa2623e8c0cb36f1c304a797988a46 tree 465d8631ade6c2fcbd7576ff9813d00116c6a1e8 parent 0753ca7bc2b876dd136e9db11a20f85cbe4e08b1 parent 581c1b14394aee60aff46ea67d05483261ed6527 author Steve French Mon, 31 Oct 2005 08:36:11 -0800 committer Steve French Mon, 31 Oct 2005 08:36:11 -0800 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 581c1b14394aee60aff46ea67d05483261ed6527 tree 6b269000a4b5bbcdc0edcfdf615851c9de0d412a parent 4fc207419d95e0e16fdc78e2f48f7c0b3640ffe5 author Jens Axboe Mon, 31 Oct 2005 09:23:54 +0100 committer Linus Torvalds Mon, 31 Oct 2005 07:46:28 -0800 [PATCH] noop-iosched: avoid corrupted request merging Tejun Heo notes: "I'm currently debugging this. The problem is that we are using the generic dispatch queue directly in the noop sched and merging is NOT allowed on dispatch queues but generic handling of last_merge tries to merge requests. I'm still trying to verify this, so I'll be back with results soon." In the meantime, disable merging for noop by setting REQ_NOMERGE in elevator_noop_add_request(). Eventually, we should add a noop_list and do the dispatching like in the other io schedulers. Merging is still beneficial for noop (and it has always done it). Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit 4fc207419d95e0e16fdc78e2f48f7c0b3640ffe5 tree 7b36e5810e549038d6cf4d1efd98aaf0541bbb11 parent dd05e42fa86e37b14f8169bbad8d334e2e8d4881 author Jens Axboe Mon, 31 Oct 2005 13:51:33 +0100 committer Linus Torvalds Mon, 31 Oct 2005 07:41:28 -0800 [PATCH] Fix on-the-fly switch from cfq i/o scheduler Don't clear ->elevator_data on exit, if we are switching queues we are overwriting the data of the new io scheduler. Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit dd05e42fa86e37b14f8169bbad8d334e2e8d4881 tree 662097ff3a8451a565c8c808ee9f66c95bcf736b parent c1d962035d49565d8c7a2d97519012ccb861778a parent 1f04c0a24b2f3cfe89c802a24396263623e3512d author Linus Torvalds Mon, 31 Oct 2005 07:36:08 -0800 committer Linus Torvalds Mon, 31 Oct 2005 07:36:08 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/aia21/ntfs-2.6 commit c1d962035d49565d8c7a2d97519012ccb861778a tree c958743946f813ebda2e8fd17c54455fd6f962af parent 4fd5f8267dd37aaebadfabe71d9c808821eea05a parent 005a5a06a6dd13a0ca3f2c6a0218e8d94ed36d8a author Linus Torvalds Mon, 31 Oct 2005 07:34:07 -0800 committer Linus Torvalds Mon, 31 Oct 2005 07:34:07 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev commit 4fd5f8267dd37aaebadfabe71d9c808821eea05a tree 50774592eaba942cf378fca731d307f901b737b7 parent eb16292ba8a6655a560ab10a7d73a7816f0c0ac0 parent 8576762ff5d109b841fcf4e7d3883e0cf794f3cf author Linus Torvalds Mon, 31 Oct 2005 07:32:56 -0800 committer Linus Torvalds Mon, 31 Oct 2005 07:32:56 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-drvmodel Manual #include fixups for clashes - there may be some unnecessary commit 3bc12e75b23c0499cc2c0873a5f77494be173761 tree ecb02f68e1055343bb45fc38350a8e33c827efc9 parent e5b251a24a9cd34a7ef98e361eb94e7ab122a554 author Roland Dreier Sun, 30 Oct 2005 13:20:09 -0800 committer Roland Dreier Mon, 31 Oct 2005 07:10:33 -0800 [IPoIB] cleanups: fix comment, remove useless variables Minor cleanups: fix a misleading comment, and get rid of attr_mask variables that are only used to hold constants (just use the constants directly). Signed-off-by: Roland Dreier commit e5b251a24a9cd34a7ef98e361eb94e7ab122a554 tree c29760bafd7107252389712965ad7e4ed0791a82 parent 7162a3e0db34e914a8bc5bf74bbae0b386310cf8 author Roland Dreier Sun, 30 Oct 2005 13:07:03 -0800 committer Roland Dreier Mon, 31 Oct 2005 07:10:32 -0800 [IB] mthca: Avoid SRQ free WQE list corruption Fix wqe_to_link() to use a structure field that we know is definitely always unused for receive work requests, so that it really avoids the free list corruption bug that the comment claims it does. Signed-off-by: Roland Dreier commit 7162a3e0db34e914a8bc5bf74bbae0b386310cf8 tree ffd7eba03f29dd2932dd32ac4adc2921bde7644b parent a20583a7c2e35d80b1dfc1f60c9729498838725e author Roland Dreier Sun, 30 Oct 2005 09:50:04 -0800 committer Roland Dreier Mon, 31 Oct 2005 07:10:32 -0800 [IB] uverbs: Avoid NULL pointer deref on CQ async event Userspace CQs that have no completion event channel attached end up with their cq_context set to NULL. However, asynchronous events like "CQ overrun" can still occur on such CQs, so add a uverbs_file member to struct ib_ucq_object that we can follow to deliver these events. Signed-off-by: Roland Dreier commit 8ad68bbf7a06cdd77c170be792418488dbb65da4 tree 7caed40139d8e0a490cd7a9de0cf4c78f4285c05 parent e2f2e58e7968f8446b1078a20a18bf8ea12b4fbc author Catalin Marinas Mon, 31 Oct 2005 14:25:02 +0000 committer Russell King Mon, 31 Oct 2005 14:25:02 +0000 [ARM] Add support for ARM RealView board Support for RealView EB. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit 913ade51eca369553a8ffbdaf1f426fade84f6ae tree a692ada4da2b0031d7ba941f987c9d8dd7f4e0b1 parent 6a8f8d72bd2fe9964ee10c0f58b14d6370e49769 author Russell King Mon, 31 Oct 2005 13:53:26 +0000 committer Russell King Mon, 31 Oct 2005 13:53:26 +0000 [SERIAL] Fix port numbering The PORT_* macros must be uniquely numbered. This fixes the definitions. Signed-off-by: Russell King commit 6a8f8d72bd2fe9964ee10c0f58b14d6370e49769 tree 547b037f60f4889a8702b4c4187739366b66c777 parent 0cf669d5c5d08eb827df9867429df21cf030eba6 author Russell King Mon, 31 Oct 2005 11:53:19 +0000 committer Russell King Mon, 31 Oct 2005 11:53:19 +0000 [SERIAL] Update serial_core documentation Signed-off-by: Russell King commit 0cf669d5c5d08eb827df9867429df21cf030eba6 tree 6eb72f3c25f7acc0e67d0e954be8ee4525fbd4c7 parent e2f2e58e7968f8446b1078a20a18bf8ea12b4fbc author Russell King Mon, 31 Oct 2005 11:42:22 +0000 committer Russell King Mon, 31 Oct 2005 11:42:22 +0000 [SERIAL] Arrange better identification of ports Folk seem to get confused when they see two or more ttyS0 ports appearing at boot time. One comes from the legacy table, and one from PNP. Hence, display the bus ID of the device which supplied the port. Signed-off-by: Russell King commit 1f04c0a24b2f3cfe89c802a24396263623e3512d tree d7e2216b6e65b833c0c2b79b478d13ce17dbf296 parent 07b188ab773e183871e57b33ae37bf635c9f12ba parent e2f2e58e7968f8446b1078a20a18bf8ea12b4fbc author Anton Altaparmakov Mon, 31 Oct 2005 10:06:46 +0000 committer Anton Altaparmakov Mon, 31 Oct 2005 10:06:46 +0000 Merge branch 'master' of /usr/src/ntfs-2.6/ commit eb16292ba8a6655a560ab10a7d73a7816f0c0ac0 tree 2e52f812f6d0b7ab4b2b06a71b676f36c5afa288 parent 76440d5e13d7dacd5763394ddb2071424e0b6921 author Paul Mackerras Mon, 31 Oct 2005 01:30:32 -0500 committer Dmitry Torokhov Mon, 31 Oct 2005 01:30:32 -0500 Input: adbhid - fix OOPS introduced by dynalloc conversion The problem is that adbhid[]->input is NULL, so the kernel oopses with a null pointer dereference as soon as a key is pressed. Signed-off-by: Paul Mackerras Signed-off-by: Dmitry Torokhov commit 76440d5e13d7dacd5763394ddb2071424e0b6921 tree cc13d902a4e62746482f0a4e203d072cd6aa1f71 parent 1259f2b3657e21f18a7f31f9b1c027e304838b18 author Dmitry Torokhov Mon, 31 Oct 2005 01:30:19 -0500 committer Dmitry Torokhov Mon, 31 Oct 2005 01:30:19 -0500 Input: lkkbd - fix debug message in lkkbd_interrupt() Signed-off-by: Dmitry Torokhov commit 1259f2b3657e21f18a7f31f9b1c027e304838b18 tree bcda4d7abad202ec6a91630d997312ba79e4ce4b parent 995fc4df0bc8d88417742e4b1d17889fc64b6ef3 author Dmitry Torokhov Mon, 31 Oct 2005 01:30:05 -0500 committer Dmitry Torokhov Mon, 31 Oct 2005 01:30:05 -0500 Input: pcspkr - fix setting name and phys for the device Signed-off-by: Dmitry Torokhov commit 995fc4df0bc8d88417742e4b1d17889fc64b6ef3 tree 9a243c0f2cfbcbf192298a4f5415fe1972ab2cf6 parent 7972720aaa044d0bca40e2e1d4c176076a9f0e00 author Dmitry Torokhov Mon, 31 Oct 2005 01:29:51 -0500 committer Dmitry Torokhov Mon, 31 Oct 2005 01:29:51 -0500 Input: fix input_dev registration message Signed-off-by: Dmitry Torokhov commit 7972720aaa044d0bca40e2e1d4c176076a9f0e00 tree fc465e331364e6c158c74a06230d2294346b4e14 parent e0be618d1e8ed0a1a94ee14025ec5e3022d2ec5b author Dmitry Torokhov Mon, 31 Oct 2005 01:29:37 -0500 committer Dmitry Torokhov Mon, 31 Oct 2005 01:29:37 -0500 Input: evdev - allow querying SW state from compat ioctl Signed-off-by: Dmitry Torokhov commit e0be618d1e8ed0a1a94ee14025ec5e3022d2ec5b tree fbd011fe489e46fe7a80f3edc38f79dded153ab2 parent e2f2e58e7968f8446b1078a20a18bf8ea12b4fbc author Dmitry Torokhov Mon, 31 Oct 2005 01:29:23 -0500 committer Dmitry Torokhov Mon, 31 Oct 2005 01:29:23 -0500 Input: evdev - allow querying EV_SW bits from compat_ioctl Signed-off-by: Dmitry Torokhov commit 005a5a06a6dd13a0ca3f2c6a0218e8d94ed36d8a tree 5b270817df4bc9661365d789d51c04f3774c3ddd parent e533825447dcb60a82b7cc9d73d06423c849b9a2 author Jeff Garzik Sun, 30 Oct 2005 23:31:48 -0500 committer Jeff Garzik Sun, 30 Oct 2005 23:31:48 -0500 [libata] locking rewrite (== fix) A lot of power packed into a little patch. This change eliminates the sharing between our controller-wide spinlock and the SCSI core's Scsi_Host lock. As the locking in libata was already highly compartmentalized, always referencing our own lock, and never scsi_host::host_lock. As a side effect, this change eliminates a deadlock from calling scsi_finish_command() while inside our spinlock. commit e2f2e58e7968f8446b1078a20a18bf8ea12b4fbc tree 31af81b6f7dfe1c9da4280e49d8b9777010ce1e7 parent 734d6524800b6a8362666e893a5f3f29b9ef0be9 author Paul Mackerras Mon, 31 Oct 2005 14:40:03 +1100 committer Paul Mackerras Mon, 31 Oct 2005 14:40:03 +1100 powerpc: import a fix from arch/ppc/mm/pgtable.c ... namely, the change to the 2-argument pte_alloc_kernel. Signed-off-by: Paul Mackerras commit 734d6524800b6a8362666e893a5f3f29b9ef0be9 tree 507fe9acc6fccce31369842d89d86d8dd432dc37 parent 23fd07750a789a66fe88cf173d52a18f1a387da4 author Paul Mackerras Mon, 31 Oct 2005 13:57:01 +1100 committer Paul Mackerras Mon, 31 Oct 2005 13:57:01 +1100 powerpc: apply recent changes to merged code Signed-off-by: Paul Mackerras commit e533825447dcb60a82b7cc9d73d06423c849b9a2 tree c838f16f023e24118a0e5669b2dbcfb70f666504 parent 6e9d6b8ee4e0c37d3952256e6472c57490d6780d author Jeff Garzik Sun, 30 Oct 2005 21:37:17 -0500 committer Jeff Garzik Sun, 30 Oct 2005 21:37:17 -0500 [libata] ata_tf_to_host cleanups Integrate ata_exec() and ata_tf_to_host() into their only caller, ata_bus_edd(). Rename ata_tf_to_host_nolock() to ata_tf_to_host(). This makes locking a bit easier to review, and may help pave the way for future changes. commit 23fd07750a789a66fe88cf173d52a18f1a387da4 tree 06fdd6df35fdb835abdaa9b754d62f6b84b97250 parent bd787d438a59266af3c9f6351644c85ef1dd21fe parent ed28f96ac1960f30f818374d65be71d2fdf811b0 author Paul Mackerras Mon, 31 Oct 2005 13:37:12 +1100 committer Paul Mackerras Mon, 31 Oct 2005 13:37:12 +1100 Merge ../linux-2.6 by hand commit bd787d438a59266af3c9f6351644c85ef1dd21fe tree 8ffe09c567f3ec2834e5913f37cb318397fe43de parent cf00a8d18b9a1c2d55b2728e89125c234e821db5 author Paul Mackerras Mon, 31 Oct 2005 13:08:54 +1100 committer Paul Mackerras Mon, 31 Oct 2005 13:08:54 +1100 ppc: remove duplicate export of cur_cpu_spec Signed-off-by: Paul Mackerras commit cf00a8d18b9a1c2d55b2728e89125c234e821db5 tree 99425b8acd08aae1e07a7ae31ff47fa18e4e8c91 parent 5f6b5b973a125de0dbe236ce659a495787c81ff0 author Paul Mackerras Mon, 31 Oct 2005 13:07:02 +1100 committer Paul Mackerras Mon, 31 Oct 2005 13:07:02 +1100 powerpc: Fix bug arising from having multiple memory_limit variables We had a static memory_limit in prom.c, and then another one defined in setup_64.c and used in numa.c, which resulted in the kernel crashing when mem=xxx was given on the command line. This puts the declaration in system.h and the definition in mem.c. This also moves the definition of tce_alloc_start/end out of setup_64.c. Signed-off-by: Paul Mackerras commit ed28f96ac1960f30f818374d65be71d2fdf811b0 tree 7229e77dbd27eee1378d1317c63c272dbe57cac0 parent 1480d0a31db62b9803f829cc0e5cc71935ffe3cc parent a2436b22deac7834e0f87897b207a2dc1407dc40 author Linus Torvalds Sun, 30 Oct 2005 17:48:37 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:48:37 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit 1480d0a31db62b9803f829cc0e5cc71935ffe3cc tree c7c18939b5a0d51f23f7ca8606ecf00fa69741aa parent fc8e3d177fa8073895d37b50282489dbeec89eb1 parent 46595ffbfc8ba79f27cdf8a029ee068b3b34c69f author Linus Torvalds Sun, 30 Oct 2005 17:48:00 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:48:00 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit fc8e3d177fa8073895d37b50282489dbeec89eb1 tree 3e8acd6338bad172486b718647ed3dc1d412dcc9 parent ad2c1604da74a3bbef96e7259e389ccba0cf613a parent 936d8592654bb97d5706a73c0e2a6339b090f7fb author Linus Torvalds Sun, 30 Oct 2005 17:47:00 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:47:00 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-mmc commit ad2c1604da74a3bbef96e7259e389ccba0cf613a tree 7e97ba34492225e7499abf659f5afccf5d1e0cfc parent 9131dd4256f9598141ed374fcd47f6b4de8d2422 author Pekka Enberg Sun, 30 Oct 2005 15:03:50 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:32 -0800 [PATCH] fat: Remove duplicate directory scanning code This patch removes duplicate directory scanning code from fs/fat/dir.c. The two functions that share identical code are fat_readdirx() and fat_search_long(). This patch also renames fat_readdirx to __fat_readdir(). Signed-off-by: Pekka Enberg Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9131dd4256f9598141ed374fcd47f6b4de8d2422 tree 03518a5de4f37619beb219eb2de2c48a572b99db parent 451cbaa1c328082832a8fbcc427cd4416c602c5a author OGAWA Hirofumi Sun, 30 Oct 2005 15:03:50 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:32 -0800 [PATCH] fat: remove the unneeded vfat_find() in vfat_rename() Now, vfat_rename() is using vfat_find() for sanity check. This removes that sanity check, the cost of sanity check is too high. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 451cbaa1c328082832a8fbcc427cd4416c602c5a tree 139c3d33d0cf3f9eba214c504e4173f54c6cf66d parent 4e57b6817880946a3a78d5d8cad1ace363f7e449 author OGAWA Hirofumi Sun, 30 Oct 2005 15:03:49 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:32 -0800 [PATCH] fat: cleanup and optimization of checksum Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4e57b6817880946a3a78d5d8cad1ace363f7e449 tree b6b5f3f9e8e52cc55d98239a4992e72e983c8fa4 parent b0423a0d9cc836b2c3d796623cd19236bfedfe63 author Tim Schmielau Sun, 30 Oct 2005 15:03:48 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:32 -0800 [PATCH] fix missing includes I recently picked up my older work to remove unnecessary #includes of sched.h, starting from a patch by Dave Jones to not include sched.h from module.h. This reduces the number of indirect includes of sched.h by ~300. Another ~400 pointless direct includes can be removed after this disentangling (patch to follow later). However, quite a few indirect includes need to be fixed up for this. In order to feed the patches through -mm with as little disturbance as possible, I've split out the fixes I accumulated up to now (complete for i386 and x86_64, more archs to follow later) and post them before the real patch. This way this large part of the patch is kept simple with only adding #includes, and all hunks are independent of each other. So if any hunk rejects or gets in the way of other patches, just drop it. My scripts will pick it up again in the next round. Signed-off-by: Tim Schmielau Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b0423a0d9cc836b2c3d796623cd19236bfedfe63 tree 21c6ebdc052b4e085aacb295b55c168bc60bcae2 parent ae6866c377943de73e2c95398ff0120516f167ce author Paul E. McKenney Sun, 30 Oct 2005 15:03:46 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:32 -0800 [PATCH] Remove duplicate code in signal.c Combine a bit of redundant code between force_sig_info() and force_sig_specific(). Signed-off-by: paulmck@us.ibm.com Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ae6866c377943de73e2c95398ff0120516f167ce tree cd1e6a08f830de244696c5ff60f8309571cf090d parent 621d31219d9a788bda924a0613048053f3f5f211 author Oleg Nesterov Sun, 30 Oct 2005 15:03:46 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:32 -0800 [PATCH] remove unneeded SI_TIMER checks This patch removes checks for ->si_code == SI_TIMER from send_signal, specific_send_sig_info, __group_send_sig_info. I think posix-timers.c used these functions some time ago, now it sends signals via send_{,group_}sigqueue, so these hooks are unneeded. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 621d31219d9a788bda924a0613048053f3f5f211 tree 9fb9846fdd999ba04c436aa84c7da0d8233ac545 parent b67a1b9e4bf878aa5d4b6b44cb5a251a2f425f0d author Oleg Nesterov Sun, 30 Oct 2005 15:03:45 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:31 -0800 [PATCH] cleanup the usage of SEND_SIG_xxx constants This patch simplifies some checks for magic siginfo values. It should not change the behaviour in any way. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b67a1b9e4bf878aa5d4b6b44cb5a251a2f425f0d tree 8fa921440476083be42f21ce6d0c4091a3757742 parent 3e6716e748609a3a899e8d670e42832921bd45bc author Oleg Nesterov Sun, 30 Oct 2005 15:03:44 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:31 -0800 [PATCH] remove hardcoded SEND_SIG_xxx constants This patch replaces hardcoded SEND_SIG_xxx constants with their symbolic names. No changes in affected .o files. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e6716e748609a3a899e8d670e42832921bd45bc tree cfaf9ab1a9ee897959651acc681f448e1ea01311 parent b6ab126211e2ab17eecbd063b99742a6b04b228e author Randy Dunlap Sun, 30 Oct 2005 15:03:44 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:31 -0800 [PATCH] hpet: hpet driver cleanups - Use kzalloc() instead of kmalloc + memset. - Clean/fix some printk's. - Use NULL for pointers instead of 0. - Combine hpet busy searching locations into a function call. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6ab126211e2ab17eecbd063b99742a6b04b228e tree b92172fb297b29d0fb32e08ac0a2aaaee4fdc2d6 parent 757c4724099a31a61754ea5202802eaa1def851c author Randy Dunlap Sun, 30 Oct 2005 15:03:43 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:31 -0800 [PATCH] hpet: use HPET physical addresses for dup. detection - Use HPET physical address to detect duplicates, not logical addresses. Using logical (mapped) addresses fails to detect duplicates because ioremap() returns a new mapped address each time. - iounmap() regions when duplicate/busy areas are found. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 757c4724099a31a61754ea5202802eaa1def851c tree 19e8d379a50d96f80fc179dc4567449de1eed623 parent 318db8f03bc06e6de98e98a568b6b2fa64233b87 author Randy Dunlap Sun, 30 Oct 2005 15:03:42 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:31 -0800 [PATCH] hpet: allow HPET FIXED_MEM32 resource type Allow the ACPI HPET description table to use a resource type of FIXED_MEM32 for the HPET reource. Use the fixed resoure size of 1 KB for the HPET resource as per the HPET spec. Signed-off-by: Randy Dunlap Acked-by: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 318db8f03bc06e6de98e98a568b6b2fa64233b87 tree 44d5709f1e619bdffcff6e159e0fed49e917dc43 parent c860ed9fb5d320407f99190ab2e31bfe74db6724 author Clemens Ladisch Sun, 30 Oct 2005 15:03:41 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:31 -0800 [PATCH] hpet: simplify initialization message When booting, display the timer frequency in Hertz instead of as tick length in nanoseconds. Apart from saving a local variable, this makes the message more easily comprehensible. Signed-off-by: Clemens Ladisch Cc: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c860ed9fb5d320407f99190ab2e31bfe74db6724 tree 69c650e001738130ac69152a195ae824b5ef2ee4 parent 3d5640d1c7584689227256beeb63354c9a5baf2d author Clemens Ladisch Sun, 30 Oct 2005 15:03:40 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:30 -0800 [PATCH] hpet: remove superfluous indirections In the hpet_ioctl_common() function, devp->hd_hpets is already cached in the hpetp variable, so we can use just that. Signed-off-by: Clemens Ladisch Cc: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3d5640d1c7584689227256beeb63354c9a5baf2d tree f39b91c70f9eba6bb64b55924be06662f3e11476 parent 7522e4ecdfdf86b9816f06d55766a6f88baa0348 author Clemens Ladisch Sun, 30 Oct 2005 15:03:39 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:30 -0800 [PATCH] hpet: fix access to multiple HPET devices Fix two instances where a function would access the first HPET device instead of the current one. Signed-off-by: Clemens Ladisch Cc: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7522e4ecdfdf86b9816f06d55766a6f88baa0348 tree 16a0260bd1e8ec2c848a85a50d7582a7dfec7a2f parent af95eade68da4dfa29c5b64d79cffc9709facf00 author Clemens Ladisch Sun, 30 Oct 2005 15:03:39 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:30 -0800 [PATCH] hpet: fix uninitialized variable in hpet_register() Clear the ht_opaque field in the hpet_register() function before searching for a free timer to prevent the function from incorrectly assuming that the search succeeded afterwards. Signed-off-by: Clemens Ladisch Cc: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit af95eade68da4dfa29c5b64d79cffc9709facf00 tree 17db9f696dbdbb222d9a4a41e8d02f5378fe8d48 parent 8e8505be9c0ba608cbd634faa8fba361f17d2512 author Clemens Ladisch Sun, 30 Oct 2005 15:03:38 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:30 -0800 [PATCH] hpet: fix division by zero in HPET_INFO Fix a division by zero that happened when the HPET_INFO ioctl was called before a timer frequency had been set. Signed-off-by: Clemens Ladisch Cc: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8e8505be9c0ba608cbd634faa8fba361f17d2512 tree dcb75f543bb9b75b8c6bf0260f2b5f5283533c7e parent 7811fb8f400a3dbfa027d86bb583a31c66fddfc3 author Clemens Ladisch Sun, 30 Oct 2005 15:03:37 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:30 -0800 [PATCH] hpet: fix HPET_INFO calls from kernel space Fix a wrong memory access in hpet_ioctl_common(). It was not possible to use the HPET_INFO ioctl from kernel space because it always called copy_to_user(). Signed-off-by: Clemens Ladisch Cc: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7811fb8f400a3dbfa027d86bb583a31c66fddfc3 tree 2df816ff6559a0e2f9d7537e1accdfe932e027d4 parent 5f819949ee4e5a06c2e0054cbb42f3f0d170d779 author Clemens Ladisch Sun, 30 Oct 2005 15:03:36 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:30 -0800 [PATCH] hpet-RTC: cache the comparator register Reads from an HPET register require a round trip to the south bridge and are almost as slow as PCI reads. By caching the last value we've written to the comparator register, we can eliminate all HPET reads from the fast path in the emulated RTC interrupt handler. Signed-off-by: Clemens Ladisch Acked-by: Venkatesh Pallipadi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5f819949ee4e5a06c2e0054cbb42f3f0d170d779 tree 85dfb0366a13b3e0ae073b5838ec8d457fd89518 parent f00c96f313b07d2eb2845305b9a3395e14385767 author Clemens Ladisch Sun, 30 Oct 2005 15:03:36 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:29 -0800 [PATCH] hpet-RTC: fix timer config register accesses Make sure that the RTC timer is in non-periodic mode; some stupid BIOS might have initialized it to periodic mode. Furthermore, don't set the SETVAL bit in the config register. This wouldn't have any effect unless the timer was in period mode (which it isn't), and then the actual timer frequency would be half that of the desired one because incrementing the comparator in the interrupt handler would be done after the hardware has already incremented it itself. Signed-off-by: Clemens Ladisch Acked-by: Venkatesh Pallipadi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f00c96f313b07d2eb2845305b9a3395e14385767 tree 94efe251de277aca3faf81b0334eb1c7eb5ca956 parent 0d29086177aaa1e7d14e6ebb7fc067b3ca6d5c11 author Clemens Ladisch Sun, 30 Oct 2005 15:03:35 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:29 -0800 [PATCH] hpet-RTC: disable interrupt when no longer needed When the emulated RTC interrupt is no longer needed, we better disable it; otherwise, we get a spurious interrupt whenever the timer has rolled over and reaches the same comparator value. Having a superfluous interrupt every five minutes doesn't hurt much, but it's bad style anyway. ;-) Signed-off-by: Clemens Ladisch Acked-by: "Pallipadi, Venkatesh" Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d29086177aaa1e7d14e6ebb7fc067b3ca6d5c11 tree 1729f8bb3d6e7d1a1e061219fb01fecf90f183e4 parent 189e2dd1376c1eb2f3a717a15f1ed8c7d0b3811a author Clemens Ladisch Sun, 30 Oct 2005 15:03:34 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:29 -0800 [PATCH] hpet: allow shared interrupts This patch adds support for shared HPET interrupts. The driver previously acknowledged interrupts for both edge and level interrupts, but didn't actually allow a shared interrupt in the latter case. We use a new per-timer flag to save whether the timer's interrupt might be shared, and use it to do the processing required for level interrupts only if necessary. Signed-off-by: Clemens Ladisch Acked-by: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 189e2dd1376c1eb2f3a717a15f1ed8c7d0b3811a tree b574e02e9d6d464c74fd0ef2ff960b511546636b parent 3f992e1bb7eab7b7af2b9ea46d2b80b1fed84845 author Clemens Ladisch Sun, 30 Oct 2005 15:03:33 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:29 -0800 [PATCH] hpet: allow non-power-of-two frequencies It was only the RTC hardware that restricted interrupt frequencies to a power of two. There is no reason to take over this restriction into the HPET driver, so remove the offending check. Signed-off-by: Clemens Ladisch Acked-by: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3f992e1bb7eab7b7af2b9ea46d2b80b1fed84845 tree 9e6ab94a66064227adfc8b13cc07ad33fdee2bb5 parent 642d30bbc73512269de1524251ccc378d7782b85 author Clemens Ladisch Sun, 30 Oct 2005 15:03:32 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:29 -0800 [PATCH] hpet: remove superfluous register reads This patch removes several reads of a timer's config register that serve no purpose whatsoever. Signed-off-by: Clemens Ladisch Acked-by: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 642d30bbc73512269de1524251ccc378d7782b85 tree 28dde2739627db059b8c53a654cbaf03a653fb41 parent ba3f213f8a31af953b7e86b1d102c919e9935cd4 author Clemens Ladisch Sun, 30 Oct 2005 15:03:31 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:29 -0800 [PATCH] hpet: remove unused variable The variable hpet_ntimer is never read, so remove it. Signed-off-by: Clemens Ladisch Acked-by: Bob Picco Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ba3f213f8a31af953b7e86b1d102c919e9935cd4 tree 1056de1ccb2af403005aa05d5c52399aa36dd6ba parent 9090e6db87e3bdb2a2c187ebc0f9175a9f9e5c6f author Clemens Ladisch Sun, 30 Oct 2005 15:03:31 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:29 -0800 [PATCH] HPET: make frequency calculations 32 bit safe On 32-bit architectures, the multiplication in the argument for hpet_time_div() often overflows. In the typical case of a 14.32 MHz timer, this happens when the desired frequency exceeds 61 Hz. To avoid this multiplication, we can precompute and store the hardware timer frequency, instead of the period, in the device structure, which leaves us with a simple division when computing the number of timer ticks. As a side effect, this also removes a theoretical bug where the timer interpolator's frequency would be computed as a 32-bit value even if the HPET frequency is greater than 2^32 Hz (the HPET spec allows up to 10 GHz). Signed-off-by: Clemens Ladisch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9090e6db87e3bdb2a2c187ebc0f9175a9f9e5c6f tree 46e4a5a27f9d6c694aec2ffba54f90947e8b0477 parent 874ec33ff9ccf3651590697a2c2923b911bf31d0 author Clemens Ladisch Sun, 30 Oct 2005 15:03:29 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:29 -0800 [PATCH] hpet: disallow zero interrupt frequency Disallow setting an interrupt frequency of zero (which would result in a division by zero), and disallow enabling the interrupt when the frequency hasn't yet been set (which would use an interrupt period of zero). Signed-off-by: Clemens Ladisch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 874ec33ff9ccf3651590697a2c2923b911bf31d0 tree a51bbb74c76f446342c26201b1e2c82c23c7706f parent b888c87b7498557d1dbb9de3d4b8402b1bb89193 author Randy Dunlap Sun, 30 Oct 2005 15:03:29 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:29 -0800 [PATCH] sparse cleanups: NULL pointers, C99 struct init. Convert most of the remaining "Using plain integer as NULL pointer" sparse warnings to use NULL. (Not duplicating patches that are already in -mm, -bird, or -kj.) Convert isdn driver struct initializer to use C99 syntax. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b888c87b7498557d1dbb9de3d4b8402b1bb89193 tree 31d43ab177ef00fbef3d15c9513ba737029b6d48 parent 1b8333b02aa281a2849331ad62ee595c46a1c5ac author Andrew Morton Sun, 30 Oct 2005 15:03:28 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:29 -0800 [PATCH] tpm-tidies - Various whitespace fixes - Use kzalloc() Acked-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1b8333b02aa281a2849331ad62ee595c46a1c5ac tree 9535b4538a47c05f55c59230bd215916d837e58a parent 570302a31149083b0ac8b2f08c195e9211c2c0c6 author Marcel Selhorst Sun, 30 Oct 2005 15:03:27 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:28 -0800 [PATCH] Infineon TPM: move infineon driver off pci_dev Move the Infineon TPM driver off pci device and makes it a pure pnp-driver. It includes pnp-port validation and region requesting. Signed-off-by: Marcel Selhorst Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 570302a31149083b0ac8b2f08c195e9211c2c0c6 tree af00d6c17b743dea7de89faf8bfaa13d66519830 parent 682e97aceafd8a41c6c7106c4f3b04cc36e0456c author Kylene Jo Hall Sun, 30 Oct 2005 15:03:26 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:28 -0800 [PATCH] tpm: move nsc driver off pci_dev This patch changes the nsc driver from a pci driver to a platform driver. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 682e97aceafd8a41c6c7106c4f3b04cc36e0456c tree 33a88dcee467a89353ee8b336e48e68dfc34b868 parent ce2c87d4f733b6fcd7b7fb1d5311c870339c9725 author Kylene Jo Hall Sun, 30 Oct 2005 15:03:25 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:28 -0800 [PATCH] tpm: move atmel driver off pci_dev This patch changes the atmel driver from a pci driver to a platform driver. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ce2c87d4f733b6fcd7b7fb1d5311c870339c9725 tree 90d511a66075f648e0931ee1fc2b2ce760aaf40d parent e659a3fe2027b19ecd8abb7ad79253672763454b author Kylene Jo Hall Sun, 30 Oct 2005 15:03:25 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:28 -0800 [PATCH] tpm: change from pci_dev to dev power management functions This patch is in support of moving away from the lpc bus pci_dev. The power management prototypes used by platform drivers is different but the functionality remains the same. Signed-off-by: Kylene Hall Signed-off-by: Linus Torvalds commit e659a3fe2027b19ecd8abb7ad79253672763454b tree c9759f75695a19742693c9719e92253e2cd52b7e parent b4ed3e3cbb312869929cf4528d71e52629a6cacb author Kylene Jo Hall Sun, 30 Oct 2005 15:03:24 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:28 -0800 [PATCH] tpm: remove pci dependency Since the tpm does not have it's own pci id we have been consuming the lpc bus. This is not correct and causes problems to support non lpc bus chips. This patch removes the dependency on pci_dev from tpm.c The subsequent patches will stop the supported chips from registering as pci drivers. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b4ed3e3cbb312869929cf4528d71e52629a6cacb tree d514dfb584eebf74f7d89d3cdd57618e55aaaeca parent 162a88f7b8539a097a088c0321ea1997cacccaea author Kylene Jo Hall Sun, 30 Oct 2005 15:03:23 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:28 -0800 [PATCH] tpm: add status function to allow non-lpc bus chips This patch is in preparation of supporting chips that are not necessarily on the lpc bus and thus are not accessed with inb's and outb's. The patch replaces the call to get the chip's status in the tpm.c file with a vendor specific status function. The patch also defines the function for each of the current supported devices. Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 162a88f7b8539a097a088c0321ea1997cacccaea tree 8807fee6992586500a7a8f98beceecdb03f3970e parent 4098f9918e068e51fed1727f6ba80efcec372378 author Andi Kleen Sun, 30 Oct 2005 15:03:22 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:28 -0800 [PATCH] Don't set dcdbas driver to default m It's nasty to set random drivers to default m because people who just press enter on make oldconfig get these. Remove the default m Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4098f9918e068e51fed1727f6ba80efcec372378 tree 0495f14e29ad93c165988be49c70ec658fffd086 parent 70a6a0cb92f24fd6bbe2e75299168909f735676a author Paul Jackson Sun, 30 Oct 2005 15:03:21 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:28 -0800 [PATCH] sched: hardcode non-smp set_cpus_allowed Simplify the UP (1 CPU) implementatin of set_cpus_allowed. The one CPU is hardcoded to be cpu 0 - so just test for that bit, and avoid having to pick up the cpu_online_map. Also, unexport cpu_online_map: it was only needed for set_cpus_allowed(). Signed-off-by: Paul Jackson Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 70a6a0cb92f24fd6bbe2e75299168909f735676a tree d57dc83325198a74c3b190930f73cf7c5edff42e parent b39f72fef241ce0ce971ed21922b4d64aefaf916 author Yuri Vasilevski Sun, 30 Oct 2005 15:03:20 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:28 -0800 [PATCH] fix build on nls free systems I made a patch that detects if libintl.h (needed for nls) is present on the host system and if it's not, it nls support is disabled by providing dummies for the used nls functions. This way if there is nls support on the host system the *config targets will build according to Arnaldo Carvalho de Melo's i18n modifications, else it just uses the original English messages. I have also made a bug report at kernel's bugzilla: http://bugzilla.kernel.org/show_bug.cgi?id=5501 And there is a discussion about this problem in Gentoo's bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=99810 Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b39f72fef241ce0ce971ed21922b4d64aefaf916 tree e1899adaec14cb5a0fc6cdf7f54be3015edc79fb parent 82da2c372712c772134d01317aa2517c923a74f8 author Horms Sun, 30 Oct 2005 15:03:19 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:27 -0800 [PATCH] README doesn't mention bzip2 source tarball Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 82da2c372712c772134d01317aa2517c923a74f8 tree 89e30cd1d0191acc1fa1a03658226bdaa126a077 parent 5d57bd39eb3dbf2866b5f5cee8fbd7a29b00c56f author Paul Jackson Sun, 30 Oct 2005 15:03:19 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:27 -0800 [PATCH] lib/string.c cleanup: restore useful memmove const A couple of (char *) casts removed in a previous cleanup patch in lib/string.c:memmove() were actually useful, as they suppressed a couple of warnings: assignment discards qualifiers from pointer target type Fix by declaring the local variable const in the first place, so casts aren't needed to strip the const qualifier. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5d57bd39eb3dbf2866b5f5cee8fbd7a29b00c56f tree 6fb9a7ff2f725625214d8624fda4ee42a44819a4 parent a3e713b5fdd0e54c2e3c8909ccde2a98839e3a52 author Matt Mackall Sun, 30 Oct 2005 15:03:18 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:27 -0800 [PATCH] Error checks omitted in init_tmpfs() in mm/tiny-shmem.c From: Hareesh Nagarajan Signed-off-by: Hareesh Nagarajan Acked-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a3e713b5fdd0e54c2e3c8909ccde2a98839e3a52 tree c42c037f239de130f2efe30777df9688bf4dd022 parent 727a53bd535fe3bde644ac346db27456ad964083 author Andrew Morton Sun, 30 Oct 2005 15:03:15 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:27 -0800 [PATCH] __bread oops fix If a filesystem passes an idiotic blocksize into bread(), __getblk_slow() will warn and will return NULL. We have a report (from Hubert Tonneau ) of isofs_fill_super() doing this (passing in a silly block size) against an unplugged CDROM drive. But a couple of __getblk_slow() callers forgot to check for the NULL bh, hence oops. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 727a53bd535fe3bde644ac346db27456ad964083 tree 5dddcea38f3dd417311b1bcbf5692ad2aebe8c7e parent d269cdd0e22ef22f7f597ea917b1e8bdc6999fcb author Arthur Othieno Sun, 30 Oct 2005 15:03:14 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:27 -0800 [PATCH] semaphore: Remove __MUTEX_INITIALIZER() __MUTEX_INITIALIZER() has no users, and equates to the more commonly used DECLARE_MUTEX(), thus making it pretty much redundant. Remove it for good. Signed-off-by: Arthur Othieno Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d269cdd0e22ef22f7f597ea917b1e8bdc6999fcb tree 193eef7d8aaac1d92af7c8101bdc0ee4a88e3a5c parent 708f430dcc50787d1c0b5c31962a5ff0dd8e35eb author Bjorn Helgaas Sun, 30 Oct 2005 15:03:14 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:27 -0800 [PATCH] rocketport: make it work when statically linked into kernel The driver had incorrectly wrapped module_init(rp_init) in #ifdef MODULE, so it worked only when compiled as a module. Tested by Wolfgang Denk with this device: 00:0e.0 Communication controller: Comtrol Corporation RocketPort 8 port w/RJ11 connectors (rev 04) Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- SERR- Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 708f430dcc50787d1c0b5c31962a5ff0dd8e35eb tree 5c37085047a9c83555607e8811423da4dd3ed4ed parent a241ec65aeac3d69a08a7b153cccbdb7ea35063f author Roland McGrath Sun, 30 Oct 2005 15:03:13 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:27 -0800 [PATCH] posix-cpu-timers: fix overrun reporting This change corrects an omission in posix_cpu_timer_schedule, so that it correctly propagates the overrun calculation to where it will get reported to the user. Signed-off-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a241ec65aeac3d69a08a7b153cccbdb7ea35063f tree e96585e8b1e699f31bad1fa61f34d2ec7c3a187c parent b3099b48da23686d8378133b0264ee00385ee5fa author Paul E. McKenney Sun, 30 Oct 2005 15:03:12 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:27 -0800 [PATCH] RCU torture-testing kernel module This patch is a rewrite of the one submitted on October 1st, using modules (http://marc.theaimsgroup.com/?l=linux-kernel&m=112819093522998&w=2). This rewrite adds a tristate CONFIG_RCU_TORTURE_TEST, which enables an intense torture test of the RCU infratructure. This is needed due to the continued changes to the RCU infrastructure to accommodate dynamic ticks, CPU hotplug, realtime, and so on. Most of the code is in a separate file that is compiled only if the CONFIG variable is set. Documentation on how to run the test and interpret the output is also included. This code has been tested on i386 and ppc64, and an earlier version of the code has received extensive testing on a number of architectures as part of the PREEMPT_RT patchset. Signed-off-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b3099b48da23686d8378133b0264ee00385ee5fa tree 742a90c526929037fe9ef7b2221b856078241b82 parent c0398ee6c2fe3c1743ecc74a6378b67ba0880a4f author Alexey Dobriyan Sun, 30 Oct 2005 15:03:11 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:27 -0800 [PATCH] fs/attr.c: remove BUG() Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c0398ee6c2fe3c1743ecc74a6378b67ba0880a4f tree 7cf685c6bf404b7c1a063ecf47af1273f60d72c7 parent ed8b39d0aaea90df528ebe3756cbef8f735a93e6 author Nikita Danilov Sun, 30 Oct 2005 15:03:10 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:26 -0800 [PATCH] include/linux/kernel.h:BUILD_BUG_ON(): fix a comment Fix comment describing BUILD_BUG_ON: BUG_ON is not an assertion (unfortunately). Signed-off-by: Nikita Danilov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed8b39d0aaea90df528ebe3756cbef8f735a93e6 tree 3f2257b41d1bdfdc18116a901e3468e4d2bdd7cf parent 413a42e2eac0c90264a6a0c9ce1913dfb2376f7a author Laurent Riffard Sun, 30 Oct 2005 15:03:09 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:26 -0800 [PATCH] watchdog: update .owner field of struct pci_driver This updates .owner field of struct pci_driver. This allows SYSFS to create the symlink from the driver to the module which provides it. Signed-off-by: Laurent Riffard Acked-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 413a42e2eac0c90264a6a0c9ce1913dfb2376f7a tree 6f2ad87f9ede277373301be18d8e1cc235a4086d parent 8f04dd0792935cd520662cc256bd53f50fc4410b author Laurent Riffard Sun, 30 Oct 2005 15:03:08 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:26 -0800 [PATCH] SyncLink adapters: updates .owner field of struct pci_driver This updates .owner field of struct pci_driver. This allows SYSFS to create the symlink from the driver to the module which provides it. Signed-off-by: Laurent Riffard Cc: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f04dd0792935cd520662cc256bd53f50fc4410b tree 2ab80177541e9495896d1e1a855042e8c4131450 parent 1a66ddcb770fbd20ce115910c7828cafdba099c1 author Laurent Riffard Sun, 30 Oct 2005 15:03:08 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:26 -0800 [PATCH] epca: update .owner field of struct pci_driver This updates .owner field of struct pci_driver. This allows SYSFS to create the symlink from the driver to the module which provides it. Signed-off-by: Laurent Riffard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1a66ddcb770fbd20ce115910c7828cafdba099c1 tree 56a3598cacb359f03f81ebfde68ab25d054e53d2 parent 2973dfdb877c17b36c27ba66d71028ff1eb2f32e author Pozsar Balazs Sun, 30 Oct 2005 15:03:06 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:26 -0800 [PATCH] fix vgacon blanking This patch fixes a long-standing vgacon bug: characters with the bright bit set were left on the screen and not blacked out. All I did was that I lookuped up some examples on the net about setting the vga palette, and added the call missing from the linux kernel, but included in all other ones. It works for me. You can test this by writing something with the bright set to the console, for example: echo -e "\e[1;31mhello there\e[0m" and then wait for the console to blank itself (by default, after 10 mins of inactivity), maybe making it faster using setterm -blank 1 so you only have to wait 1 minute. Signed-off-by: Pozsar Balazs Cc: James Simmons Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2973dfdb877c17b36c27ba66d71028ff1eb2f32e tree 9734599068f3fcf7cd33f948235588f7a275d193 parent 7f04c26d715a2467a49a2384268de8f70f787b51 author Glauber de Oliveira Costa Sun, 30 Oct 2005 15:03:05 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:26 -0800 [PATCH] Test for sb_getblk return value This patch adds tests for the return value of sb_getblk() in the ext2/3 filesystems. In fs/buffer.c it is stated that the getblk() function never fails. However, it does can return NULL in some situations due to I/O errors, which may lead us to NULL pointer dereferences Signed-off-by: Glauber de Oliveira Costa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7f04c26d715a2467a49a2384268de8f70f787b51 tree 8507e9f705f063d996857789261b762b24fad94f parent 52303e8b5f8aa234865d40d76ea16b0ff4b27022 author Andrea Arcangeli Sun, 30 Oct 2005 15:03:05 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:26 -0800 [PATCH] fix nr_unused accounting, and avoid recursing in iput with I_WILL_FREE set list_move(&inode->i_list, &inode_in_use); } else { list_move(&inode->i_list, &inode_unused); + inodes_stat.nr_unused++; } } wake_up_inode(inode); Are you sure the above diff is correct? It was added somewhere between 2.6.5 and 2.6.8. I think it's wrong. The only way I can imagine the i_count to be zero in the above path, is that I_WILL_FREE is set. And if I_WILL_FREE is set, then we must not increase nr_unused. So I believe the above change is buggy and it will definitely overstate the number of unused inodes and it should be backed out. Note that __writeback_single_inode before calling __sync_single_inode, can drop the spinlock and we can have both the dirty and locked bitflags clear here: spin_unlock(&inode_lock); __wait_on_inode(inode); iput(inode); XXXXXXX spin_lock(&inode_lock); } use inode again here a construct like the above makes zero sense from a reference counting standpoint. Either we don't ever use the inode again after the iput, or the inode_lock should be taken _before_ executing the iput (i.e. a __iput would be required). Taking the inode_lock after iput means the iget was useless if we keep using the inode after the iput. So the only chance the 2.6 was safe to call __writeback_single_inode with the i_count == 0, is that I_WILL_FREE is set (I_WILL_FREE will prevent the VM to free the inode in XXXXX). Potentially calling the above iput with I_WILL_FREE was also wrong because it would recurse in iput_final (the second mainline bug). The below (untested) patch fixes the nr_unused accounting, avoids recursing in iput when I_WILL_FREE is set and makes sure (with the BUG_ON) that we don't corrupt memory and that all holders that don't set I_WILL_FREE, keeps a reference on the inode! Signed-off-by: Andrea Arcangeli Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 52303e8b5f8aa234865d40d76ea16b0ff4b27022 tree f109cfbc5cad79c691eca76ebcb8e4d078381368 parent c4dd0e4c6336bd17fea38bcad636eafa2941cf9f author Pavel Roskin Sun, 30 Oct 2005 15:03:03 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:26 -0800 [PATCH] modules: fix sparse warning for every MODULE_PARM sparse complains about every MODULE_PARM used in a module: warning: symbol '__parm_foo' was not declared. Should it be static? The fix is to split declaration and initialization. While MODULE_PARM is obsolete, it's not something sparse should report. Signed-off-by: Pavel Roskin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c4dd0e4c6336bd17fea38bcad636eafa2941cf9f tree 7f763e6e282c2ffb4fd1265478de80ac82e8e4a1 parent 0b360adbdb54d5b98b78d57ba0916bc4b8871968 author Nicolas Pitre Sun, 30 Oct 2005 15:03:02 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:26 -0800 [PATCH] extable: remove needless declaration They aren't used anywhere in that file. Signed-off-by: Nicolas Pitre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0b360adbdb54d5b98b78d57ba0916bc4b8871968 tree b793404c03c0ae77929786d0c501030791253163 parent eb8e317998e55dc1f9e6288564052b577327b766 author Andrew Morton Sun, 30 Oct 2005 15:03:02 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:25 -0800 [PATCH] setkeys needs root Because people can play games reprogramming keys and leaving traps for the next user of the console. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb8e317998e55dc1f9e6288564052b577327b766 tree 46cf4b7f44b97184d32694f5e23c7980e0f762f2 parent ecea8d19c9f0ebd62ddaa07fc919ff4e4b820d99 author Randy Dunlap Sun, 30 Oct 2005 15:03:01 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:25 -0800 [PATCH] firmware: fix all kernel-doc warnings Convert existing function docs to kernel-doc format. Eliminate all kernel-doc warnings. Fix some doc typos and a little whitespace cleanup. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ecea8d19c9f0ebd62ddaa07fc919ff4e4b820d99 tree 189de0b898157618fbf08ec6e4adc8e5cce71ec3 parent 371e8c25b65f2fe7942868a8a67129d571e94076 author Thomas Gleixner Sun, 30 Oct 2005 15:03:00 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:25 -0800 [PATCH] jiffies_64 cleanup Define jiffies_64 in kernel/timer.c rather than having 24 duplicated defines in each architecture. Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 371e8c25b65f2fe7942868a8a67129d571e94076 tree 02364e0434b01ef0778488f1468cd5807d39f4cd parent 381be25458524f9bcec5bf1e40c82d1ebb408475 author Brian Gerst Sun, 30 Oct 2005 15:03:00 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:25 -0800 [PATCH] Remove orphaned TIOCGDEV compat ioctl This ioctl doesn't exist for native i386. Signed-off-by: Brian Gerst Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 381be25458524f9bcec5bf1e40c82d1ebb408475 tree dc6ea4d6cf0ef93b8cb5103d53caea6333b129cc parent 1a80ba88273097933f93b1f40537337416798c70 author Ben Dooks Sun, 30 Oct 2005 15:02:56 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:25 -0800 [PATCH] ext3: sparse fixes Fix warnings from sparse due to un-declared functions that should either have a header file or have been declared static fs/ext2/bitmap.c:14:15: warning: symbol 'ext2_count_free' was not declared. Should it be static? fs/ext2/namei.c:92:15: warning: symbol 'ext2_get_parent' was not declared. Should it be static? fs/ext3/bitmap.c:15:15: warning: symbol 'ext3_count_free' was not declared. Should it be static? fs/ext3/namei.c:1013:15: warning: symbol 'ext3_get_parent' was not declared. Should it be static? fs/ext3/xattr.c:214:1: warning: symbol 'ext3_xattr_block_get' was not declared. Should it be static? fs/ext3/xattr.c:358:1: warning: symbol 'ext3_xattr_block_list' was not declared. Should it be static? fs/ext3/xattr.c:630:1: warning: symbol 'ext3_xattr_block_find' was not declared. Should it be static? fs/ext3/xattr.c:863:1: warning: symbol 'ext3_xattr_ibody_find' was not declared. Should it be static? Signed-off-by: Ben Dooks Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1a80ba88273097933f93b1f40537337416798c70 tree 1c4ed39f0e19e342edac86349268c0964cdede43 parent 1291cf4163d21f1b4999d697cbf68d38e7151c28 author Mark Gross Sun, 30 Oct 2005 15:02:55 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:25 -0800 [PATCH] Telecom Clock Driver for MPCBL0010 ATCA computer blade Signed-off-by: Mark Gross Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1291cf4163d21f1b4999d697cbf68d38e7151c28 tree 0e1c3e3970216c769f91f6077b0e23d47d6fd333 parent f7232056bff5fe2d3bfeab35252a66ebaeb5bbde author Oleg Nesterov Sun, 30 Oct 2005 15:02:54 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:25 -0800 [PATCH] fix de_thread() vs do_coredump() deadlock de_thread() sends SIGKILL to all sub-threads and waits them to die in 'D' state. It is possible that one of the threads already dequeued coredump signal. When de_thread() unlocks ->sighand->lock that thread can enter do_coredump()->coredump_wait() and cause a deadlock. Signed-off-by: Oleg Nesterov Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f7232056bff5fe2d3bfeab35252a66ebaeb5bbde tree a3dd4fd813ca169e9364a1d751c6236c3d2715c4 parent 6ea05db06f32adac65b4c4e95ef998839149de12 author Carlos Sanchez Sun, 30 Oct 2005 15:02:53 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:25 -0800 [PATCH] Added a Receive_Abort to the Marvell serial driver Added a Receive_Abort to the Marvell serial driver Fix occasional input overrun errors on Marvell serial driver - If the Marvell serial driver is repeatedly started and then stopped it will occasionally report an input overrun error when started. - Added a Receive_Abort to the Marvell serial driver to abort previously received receive errors when re-starting the receive Acked-by: Mark A. Greer Signed-off-by: Carlos Sanchez Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ea05db06f32adac65b4c4e95ef998839149de12 tree 61ed5416cdf3802dbd7ce3391f0345db75c7c301 parent 1779381dea3bada407396742c56bee31ffa8544e author Miklos Szeredi Sun, 30 Oct 2005 15:02:52 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:24 -0800 [PATCH] fuse: remove unused define Setting ctime is implicit in all setattr cases, so the FATTR_CTIME definition is unnecessary. It is used by neither the kernel nor by userspace. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1779381dea3bada407396742c56bee31ffa8544e tree bf24990d1ba97eed5a60d9a795ba35620cace757 parent 2a38bccd0c63a4954ea4e1357cbff404aa321afb author Miklos Szeredi Sun, 30 Oct 2005 15:02:51 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:24 -0800 [PATCH] fuse: spelling fixes Correct some typos and inconsistent use of "initialise" vs "initialize" in comments. Reported by Ioannis Barkas. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a38bccd0c63a4954ea4e1357cbff404aa321afb tree 13b0357716d888cce56d0387f394098cc1281a4b parent 7f2a52555998c699a7e89f24636c909d6fc08a60 author Jesper Juhl Sun, 30 Oct 2005 15:02:51 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:24 -0800 [PATCH] Kconfig help text correction for CONFIG_FRAME_POINTER Fix-up the CONFIG_FRAME_POINTER help text language a bit. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7f2a52555998c699a7e89f24636c909d6fc08a60 tree 98ef1254ab3e727ba3470d4eeaf064d5dcb48614 parent 396dc44bcac58f464b7b23c345052e37881cccea author Roland McGrath Sun, 30 Oct 2005 15:02:50 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:24 -0800 [PATCH] wait4 PTRACE_ATTACH race fix Back about a year ago when I last fiddled heavily with the do_wait code, I was thinking too hard about the wrong thing and I now think I introduced a bug whose inverse thought I was fixing. Apparently noone was looking too hard over much shoulder, so as to cite my bogus reasoning at the time. In the race condition when PTRACE_ATTACH is about to steal a child and then the child hits a tracing event (what my_ptrace_child checks for), the real parent does need to set its flag noting it has some eligible live children. Otherwise a spurious ECHILD error is possible, since the child in question is not yet on the ptrace_children list. Signed-off-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 396dc44bcac58f464b7b23c345052e37881cccea tree 1156e342fc1ec7ca157903487287b4f3a4047198 parent 5b11687924e40790deb0d5f959247ade82196665 author Pat Gefre Sun, 30 Oct 2005 15:02:49 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:24 -0800 [PATCH] ioc4 serial support - mostly cleanup Various small mods for the Altix ioc4 serial driver - mostly cleanup: - remove UIF_INITIALIZED usage - use the 'lock' from uart_port - better multiple card support Signed-off-by: Patrick Gefre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b11687924e40790deb0d5f959247ade82196665 tree 29aa104cc40bd2c85e7bba0f4b404b04cd6f207a parent 2384f55f8aa520172c995965bd2f8a9740d53095 author Glauber de Oliveira Costa Sun, 30 Oct 2005 15:02:48 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:23 -0800 [PATCH] Locking problems while EXT3FS_DEBUG on I noticed some problems while running ext3 with the debug flag set on. More precisely, I was unable to umount the filesystem. Some investigation took me to the patch that follows. At a first glance , the lock/unlock I've taken out seems really not necessary, as the main code (outside debug) does not lock the super. The only additional danger operations that debug code introduces seems to be related to bitmap, but bitmap operations tends to be all atomic anyway. I also took the opportunity to fix 2 spelling errors. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2384f55f8aa520172c995965bd2f8a9740d53095 tree 3f2f746529a760824d87f790418bacb94cc5a247 parent 7407251a0e2ed099e4b12b742b635503e981507c author Oleg Nesterov Sun, 30 Oct 2005 15:02:47 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:23 -0800 [PATCH] coredump_wait() cleanup This patch deletes pointless code from coredump_wait(). 1. It does useless mm->core_waiters inc/dec under mm->mmap_sem, but any changes to ->core_waiters have no effect until we drop ->mmap_sem. 2. It calls yield() for absolutely unknown reason. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7407251a0e2ed099e4b12b742b635503e981507c tree 826c78104c96a3982ff8348484749c718f4a413a parent 40dc565122ed1e180a0637f88cdfca734d33db78 author Coywolf Qi Hunt Sun, 30 Oct 2005 15:02:47 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:23 -0800 [PATCH] PF_DEAD cleanup The PF_DEAD setting doesn't belong to exit_notify(), move it to a proper place. Signed-off-by: Coywolf Qi Hunt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 40dc565122ed1e180a0637f88cdfca734d33db78 tree 3076103886ae7f60c9a3cfabaebef821c1e39b10 parent 2a91f3e54ff27c6002597f689ba51c5fa657ddbd author Jesper Juhl Sun, 30 Oct 2005 15:02:46 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:23 -0800 [PATCH] cleanup for kernel/printk.c - Removes some trailing whitespace - Breaks long lines and make other small changes to conform to CodingStyle - Add explicit printk loglevels in two places. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a91f3e54ff27c6002597f689ba51c5fa657ddbd tree fdf7632886716b66f2c335b2a6169a192d329c46 parent 20e1129ab831486c811d50d3905343ad48c4275f author Jesper Juhl Sun, 30 Oct 2005 15:02:45 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:23 -0800 [PATCH] ide-cd mini cleanup of casts Remove some unneeded casts. Avoid an assignment in the case of kmalloc failure. Break a few instances of if (foo) whatever; into two lines. Signed-off-by: Jesper Juhl Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 20e1129ab831486c811d50d3905343ad48c4275f tree ab99b7172b903d2b4d3c58d45c11c41e4bba9c87 parent 29db9190634067c5a328ee5fcc2890251b836b4b author David Howells Sun, 30 Oct 2005 15:02:44 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:23 -0800 [PATCH] Keys: Get rid of warning in kmod.c if keys disabled The attached patch gets rid of a "statement without effect" warning when CONFIG_KEYS is disabled by making use of the return value of key_get(). The compiler will optimise all of this away when keys are disabled. Signed-Off-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 29db9190634067c5a328ee5fcc2890251b836b4b tree 07ec242789230824f1fa8bcbbe681fd5bf166fa8 parent 2aa349f6e37ce030060c994d3aebbff4ab703565 author David Howells Sun, 30 Oct 2005 15:02:44 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:23 -0800 [PATCH] Keys: Add LSM hooks for key management [try #3] The attached patch adds LSM hooks for key management facilities. The notable changes are: (1) The key struct now supports a security pointer for the use of security modules. This will permit key labelling and restrictions on which programs may access a key. (2) Security modules get a chance to note (or abort) the allocation of a key. (3) The key permission checking can now be enhanced by the security modules; the permissions check consults LSM if all other checks bear out. (4) The key permissions checking functions now return an error code rather than a boolean value. (5) An extra permission has been added to govern the modification of attributes (UID, GID, permissions). Note that there isn't an LSM hook specifically for each keyctl() operation, but rather the permissions hook allows control of individual operations based on the permission request bits. Key management access control through LSM is enabled by automatically if both CONFIG_KEYS and CONFIG_SECURITY are enabled. This should be applied on top of the patch ensubjected: [PATCH] Keys: Possessor permissions should be additive Signed-Off-By: David Howells Signed-off-by: Chris Wright Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2aa349f6e37ce030060c994d3aebbff4ab703565 tree 7a0937469f0376931b82d9c3392727dba13c9d45 parent 1426d7a81dea8e9d85f9d69de85ab04ba37018ab author David Howells Sun, 30 Oct 2005 15:02:42 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:22 -0800 [PATCH] Keys: Export user-defined keyring operations Export user-defined key operations so that those who wish to define their own key type based on the user-defined key operations may do so (as has been requested). The header file created has been placed into include/keys/user-type.h, thus creating a directory where other key types may also be placed. Any objections to doing this? Signed-Off-By: David Howells Signed-Off-By: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1426d7a81dea8e9d85f9d69de85ab04ba37018ab tree f2a7bbe0e60437cf73199b6003da677ee8ff0424 parent c7e9dd4dd0b8dd75c410011b3c8f9980112fd0f8 author Tejun Heo Sun, 30 Oct 2005 15:02:42 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:22 -0800 [PATCH] vm: remove unused/broken page_pte[_prot] macros This patch removes page_pte_prot and page_pte macros from all architectures. Some architectures define both, some only page_pte (broken) and others none. These macros are not used anywhere. page_pte_prot(page, prot) is identical to mk_pte(page, prot) and page_pte(page) is identical to page_pte_prot(page, __pgprot(0)). * The following architectures define both page_pte_prot and page_pte arm, arm26, ia64, sh64, sparc, sparc64 * The following architectures define only page_pte (broken) frv, i386, m32r, mips, sh, x86-64 * All other architectures define neither Signed-off-by: Tejun Heo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c7e9dd4dd0b8dd75c410011b3c8f9980112fd0f8 tree f044e989da0864fb614200f419f8185de5bd5560 parent 39e88ca2c9d0f6d1e9f34ea2a6e86a652bb69a7a author Tejun Heo Sun, 30 Oct 2005 15:02:40 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:22 -0800 [PATCH] vm: remove redundant assignment from __pagevec_release_nonlru() This patch removes redundant assignment from __pagevec_release_nonlru(). pages_to_free.cold is set to pvec->cold by pagevec_init() call right above the assignment. Signed-off-by: Tejun Heo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 39e88ca2c9d0f6d1e9f34ea2a6e86a652bb69a7a tree 6ee9c7f3c26ac47bb45cc835e14dc9552ceed095 parent 30e0fca6c1d7d26f3f2daa4dd2b12c51dadc778a author Tejun Heo Sun, 30 Oct 2005 15:02:40 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:22 -0800 [PATCH] fs: error case fix in __generic_file_aio_read When __generic_file_aio_read() hits an error during reading, it reports the error iff nothing has successfully been read yet. This is condition - when an error occurs, if nothing has been read/written, report the error code; otherwise, report the amount of bytes successfully transferred upto that point. This corner case can be exposed by performing readv(2) with the following iov. iov[0] = len0 @ ptr0 iov[1] = len1 @ NULL (or any other invalid pointer) iov[2] = len2 @ ptr2 When file size is enough, performing above readv(2) results in len0 bytes from file_pos @ ptr0 len2 bytes from file_pos + len0 @ ptr2 And the return value is len0 + len2. Test program is attached to this mail. This patch makes __generic_file_aio_read()'s error handling identical to other functions. #include #include #include #include #include #include #include #include #include int main(int argc, char **argv) { const char *path; struct stat stbuf; size_t len0, len1; void *buf0, *buf1; struct iovec iov[3]; int fd, i; ssize_t ret; if (argc < 2) { fprintf(stderr, "Usage: testreadv path (better be a " "small text file)\n"); return 1; } path = argv[1]; if (stat(path, &stbuf) < 0) { perror("stat"); return 1; } len0 = stbuf.st_size / 2; len1 = stbuf.st_size - len0; if (!len0 || !len1) { fprintf(stderr, "Dude, file is too small\n"); return 1; } if ((fd = open(path, O_RDONLY)) < 0) { perror("open"); return 1; } if (!(buf0 = malloc(len0)) || !(buf1 = malloc(len1))) { perror("malloc"); return 1; } memset(buf0, 0, len0); memset(buf1, 0, len1); iov[0].iov_base = buf0; iov[0].iov_len = len0; iov[1].iov_base = NULL; iov[1].iov_len = len1; iov[2].iov_base = buf1; iov[2].iov_len = len1; printf("vector "); for (i = 0; i < 3; i++) printf("%p:%zu ", iov[i].iov_base, iov[i].iov_len); printf("\n"); ret = readv(fd, iov, 3); if (ret < 0) perror("readv"); printf("readv returned %zd\nbuf0 = [%s]\nbuf1 = [%s]\n", ret, (char *)buf0, (char *)buf1); return 0; } Signed-off-by: Tejun Heo Cc: Benjamin LaHaise Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30e0fca6c1d7d26f3f2daa4dd2b12c51dadc778a tree 945004584995e3af816125245bbb2436cc8ebc9e parent 68860ec10bcc07ab4f89f9d940e3b77ae5ca13b3 author Andrea Arcangeli Sun, 30 Oct 2005 15:02:38 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:22 -0800 [PATCH] ptrace/coredump/exit_group deadlock I could seldom reproduce a deadlock with a task not killable in T state (TASK_STOPPED, not TASK_TRACED) by attaching a NPTL threaded program to gdb, by segfaulting the task and triggering a core dump while some other task is executing exit_group and while one task is in ptrace_attached TASK_STOPPED state (not TASK_TRACED yet). This originated from a gdb bugreport (the fact gdb was segfaulting the task wasn't a kernel bug), but I just incidentally noticed the gdb bug triggered a real kernel bug as well. Most threads hangs in exit_mm because the core_dumping is still going, the core dumping hangs because the stopped task doesn't exit, the stopped task can't wakeup because it has SIGNAL_GROUP_EXIT set, hence the deadlock. To me it seems that the problem is that the force_sig_specific(SIGKILL) in zap_threads is a noop if the task has PF_PTRACED set (like in this case because gdb is attached). The __ptrace_unlink does nothing because the signal->flags is set to SIGNAL_GROUP_EXIT|SIGNAL_STOP_DEQUEUED (verified). The above info also shows that the stopped task hit a race and got the stop signal (presumably by the ptrace_attach, only the attach, state is still TASK_STOPPED and gdb hangs waiting the core before it can set it to TASK_TRACED) after one of the thread invoked the core dump (it's the core dump that sets signal->flags to SIGNAL_GROUP_EXIT). So beside the fact nobody would wakeup the task in __ptrace_unlink (the state is _not_ TASK_TRACED), there's a secondary problem in the signal handling code, where a task should ignore the ptrace-sigstops as long as SIGNAL_GROUP_EXIT is set (or the wakeup in __ptrace_unlink path wouldn't be enough). So I attempted to make this patch that seems to fix the problem. There were various ways to fix it, perhaps you prefer a different one, I just opted to the one that looked safer to me. I also removed the clearing of the stopped bits from the zap_other_threads (zap_other_threads was safe unlike zap_threads). I don't like useless code, this whole NPTL signal/ptrace thing is already unreadable enough and full of corner cases without confusing useless code into it to make it even less readable. And if this code is really needed, then you may want to explain why it's not being done in the other paths that sets SIGNAL_GROUP_EXIT at least. Even after this patch I still wonder who serializes the read of p->ptrace in zap_threads. Patch is called ptrace-core_dump-exit_group-deadlock-1. This was the trace I've got: test T ffff81003e8118c0 0 14305 1 14311 14309 (NOTLB) ffff810058ccdde8 0000000000000082 000001f4000037e1 ffff810000000013 00000000000000f8 ffff81003e811b00 ffff81003e8118c0 ffff810011362100 0000000000000012 ffff810017ca4180 Call Trace:{try_to_wake_up+893} {finish_stop+87} {get_signal_to_deliver+1359} {do_signal+157} {ptrace_check_attach+222} {sys_ptrace+2293} {default_wake_function+0} {sys_ioctl+73} {sysret_signal+28} {ptregscall_common+103} test D ffff810011362100 0 14309 1 14305 14312 (NOTLB) ffff810053c81cf8 0000000000000082 0000000000000286 0000000000000001 0000000000000195 ffff810011362340 ffff810011362100 ffff81002e338040 ffff810001e0ca80 0000000000000001 Call Trace:{try_to_wake_up+893} {wait_for_completion+173} {default_wake_function+0} {exit_mm+149} {do_exit+479} {do_group_exit+252} {get_signal_to_deliver+1451} {do_signal+157} {ptrace_check_attach+222} {specific_send_sig_info+2 {force_sig_info+186} {do_int3+112} {retint_signal+61} test D ffff81002e338040 0 14311 1 14716 14305 (NOTLB) ffff81005ca8dcf8 0000000000000082 0000000000000286 0000000000000001 0000000000000120 ffff81002e338280 ffff81002e338040 ffff8100481cb740 ffff810001e0ca80 0000000000000001 Call Trace:{try_to_wake_up+893} {wait_for_completion+173} {default_wake_function+0} {exit_mm+149} {do_exit+479} {__dequeue_signal+558} {do_group_exit+252} {get_signal_to_deliver+1451} {do_signal+157} {ptrace_check_attach+222} {specific_send_sig_info+208} {force_sig_info+186} {do_int3+112} {retint_signal+61} test D ffff810017ca4180 0 14312 1 14309 13882 (NOTLB) ffff81005d15fcb8 0000000000000082 ffff81005d15fc58 ffffffff80130816 0000000000000897 ffff810017ca43c0 ffff810017ca4180 ffff81003e8118c0 0000000000000082 ffffffff801317ed Call Trace:{activate_task+150} {try_to_wake_up+893} {wait_for_completion+173} {default_wake_function+0} {do_coredump+819} {thread_return+82} {get_signal_to_deliver+1444} {do_signal+157} {ptrace_check_attach+222} {specific_send_sig_info+2 {_spin_unlock_irqrestore+5} {force_sig_info+186} {do_general_protection+159} {retint_signal+61} Signed-off-by: Andrea Arcangeli Cc: Roland McGrath Cc: Ingo Molnar Cc: Linus Torvalds Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 68860ec10bcc07ab4f89f9d940e3b77ae5ca13b3 tree a411f9623a113d72f23da38cf2de51f66c177873 parent fb5eeeee44edb248b4837416966f19731f497f79 author Paul Jackson Sun, 30 Oct 2005 15:02:36 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:22 -0800 [PATCH] cpusets: automatic numa mempolicy rebinding This patch automatically updates a tasks NUMA mempolicy when its cpuset memory placement changes. It does so within the context of the task, without any need to support low level external mempolicy manipulation. If a system is not using cpusets, or if running on a system with just the root (all-encompassing) cpuset, then this remap is a no-op. Only when a task is moved between cpusets, or a cpusets memory placement is changed does the following apply. Otherwise, the main routine below, rebind_policy() is not even called. When mixing cpusets, scheduler affinity, and NUMA mempolicies, the essential role of cpusets is to place jobs (several related tasks) on a set of CPUs and Memory Nodes, the essential role of sched_setaffinity is to manage a jobs processor placement within its allowed cpuset, and the essential role of NUMA mempolicy (mbind, set_mempolicy) is to manage a jobs memory placement within its allowed cpuset. However, CPU affinity and NUMA memory placement are managed within the kernel using absolute system wide numbering, not cpuset relative numbering. This is ok until a job is migrated to a different cpuset, or what's the same, a jobs cpuset is moved to different CPUs and Memory Nodes. Then the CPU affinity and NUMA memory placement of the tasks in the job need to be updated, to preserve their cpuset-relative position. This can be done for CPU affinity using sched_setaffinity() from user code, as one task can modify anothers CPU affinity. This cannot be done from an external task for NUMA memory placement, as that can only be modified in the context of the task using it. However, it easy enough to remap a tasks NUMA mempolicy automatically when a task is migrated, using the existing cpuset mechanism to trigger a refresh of a tasks memory placement after its cpuset has changed. All that is needed is the old and new nodemask, and notice to the task that it needs to rebind its mempolicy. The tasks mems_allowed has the old mask, the tasks cpuset has the new mask, and the existing cpuset_update_current_mems_allowed() mechanism provides the notice. The bitmap/cpumask/nodemask remap operators provide the cpuset relative calculations. This patch leaves open a couple of issues: 1) Updating vma and shmfs/tmpfs/hugetlbfs memory policies: These mempolicies may reference nodes outside of those allowed to the current task by its cpuset. Tasks are migrated as part of jobs, which reside on what might be several cpusets in a subtree. When such a job is migrated, all NUMA memory policy references to nodes within that cpuset subtree should be translated, and references to any nodes outside that subtree should be left untouched. A future patch will provide the cpuset mechanism needed to mark such subtrees. With that patch, we will be able to correctly migrate these other memory policies across a job migration. 2) Updating cpuset, affinity and memory policies in user space: This is harder. Any placement state stored in user space using system-wide numbering will be invalidated across a migration. More work will be required to provide user code with a migration-safe means to manage its cpuset relative placement, while preserving the current API's that pass system wide numbers, not cpuset relative numbers across the kernel-user boundary. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb5eeeee44edb248b4837416966f19731f497f79 tree f947a4dcf103f55d526bb5c71f69b657d8f22e61 parent 28a42b9ea7e42e1efb02cc2dcacba0b6af234e1b author Paul Jackson Sun, 30 Oct 2005 15:02:33 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:21 -0800 [PATCH] cpusets: bitmap and mask remap operators In the forthcoming task migration support, a key calculation will be mapping cpu and node numbers from the old set to the new set while preserving cpuset-relative offset. For example, if a task and its pages on nodes 8-11 are being migrated to nodes 24-27, then pages on node 9 (the 2nd node in the old set) should be moved to node 25 (the 2nd node in the new set.) As with other bitmap operations, the proper way to code this is to provide the underlying calculation in lib/bitmap.c, and then to provide the usual cpumask and nodemask wrappers. This patch provides that. These operations are termed 'remap' operations. Both remapping a single bit and a set of bits is supported. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 28a42b9ea7e42e1efb02cc2dcacba0b6af234e1b tree 1415acfeec32553888f870eb5c0debc370e1d3b7 parent 18a19cb3047e454ee5ecbc35d7acf3f8e09e0466 author Paul Jackson Sun, 30 Oct 2005 15:02:32 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:21 -0800 [PATCH] cpusets: confine pdflush to its cpuset This patch keeps pdflush daemons on the same cpuset as their parent, the kthread daemon. Some large NUMA configurations put as much as they can of kernel threads and other classic Unix load in what's called a bootcpuset, keeping the rest of the system free for dedicated jobs. This effort is thwarted by pdflush, which dynamically destroys and recreates pdflush daemons depending on load. It's easy enough to force the originally created pdflush deamons into the bootcpuset, at system boottime. But the pdflush threads created later were allowed to run freely across the system, due to the necessary line in their startup kthread(): set_cpus_allowed(current, CPU_MASK_ALL); By simply coding pdflush to start its threads with the cpus_allowed restrictions of its cpuset (inherited from kthread, its parent) we can ensure that dynamically created pdflush threads are also kept in the bootcpuset. On systems w/o cpusets, or w/o a bootcpuset implementation, the following will have no affect, leaving pdflush to run on any CPU, as before. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 18a19cb3047e454ee5ecbc35d7acf3f8e09e0466 tree ad91d0024d886bdd207ba72e875e736e833de616 parent 053199edf54f685e7dea765b60d4d5e9070dadec author Paul Jackson Sun, 30 Oct 2005 15:02:31 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:21 -0800 [PATCH] cpusets: simple rename Add support for renaming cpusets. Only allow simple rename of cpuset directories in place. Don't allow moving cpusets elsewhere in hierarchy or renaming the special cpuset files in each cpuset directory. The usefulness of this simple rename became apparent when developing task migration facilities. It allows building a second cpuset hierarchy using new names and containing new CPUs and Memory Nodes, moving tasks from the old to the new cpusets, removing the old cpusets, and then renaming the new cpusets to be just like the old names, so that any knowledge that the tasks had of their cpuset names will still be valid. Leaf node cpusets can be migrated to other CPUs or Memory Nodes by just updating their 'cpus' and 'mems' files, but because no cpuset can contain CPUs or Nodes not in its parent cpuset, one cannot do this in a cpuset hierarchy without first expanding all the non-leaf cpusets to contain the union of both the old and new CPUs and Nodes, which would obfuscate the one-to-one migration of a task from one cpuset to another required to correctly migrate the physical page frames currently allocated to that task. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 053199edf54f685e7dea765b60d4d5e9070dadec tree a2d12a8b7f07b59048da992e7ae9405bc4ee292b parent 5aa15b5f27fc2c404530c6c8eabdb8437deb3163 author Paul Jackson Sun, 30 Oct 2005 15:02:30 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:21 -0800 [PATCH] cpusets: dual semaphore locking overhaul Overhaul cpuset locking. Replace single semaphore with two semaphores. The suggestion to use two locks was made by Roman Zippel. Both locks are global. Code that wants to modify cpusets must first acquire the exclusive manage_sem, which allows them read-only access to cpusets, and holds off other would-be modifiers. Before making actual changes, the second semaphore, callback_sem must be acquired as well. Code that needs only to query cpusets must acquire callback_sem, which is also a global exclusive lock. The earlier problems with double tripping are avoided, because it is allowed for holders of manage_sem to nest the second callback_sem lock, and only callback_sem is needed by code called from within __alloc_pages(), where the double tripping had been possible. This is not quite the same as a normal read/write semaphore, because obtaining read-only access with intent to change must hold off other such attempts, while allowing read-only access w/o such intention. Changing cpusets involves several related checks and changes, which must be done while allowing read-only queries (to avoid the double trip), but while ensuring nothing changes (holding off other would be modifiers.) This overhaul of cpuset locking also makes careful use of task_lock() to guard access to the task->cpuset pointer, closing a couple of race conditions noticed while reading this code (thanks, Roman). I've never seen these races fail in any use or test. See further the comments in the code. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5aa15b5f27fc2c404530c6c8eabdb8437deb3163 tree 914f0b33f5190bd0183cde2e9f6da552d3d1d7aa parent f35f31d7ed0150f9865619f21b5050c91b46c03f author Paul Jackson Sun, 30 Oct 2005 15:02:28 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:21 -0800 [PATCH] cpusets: remove depth counted locking hack Remove a rather hackish depth counter on cpuset locking. The depth counter was avoiding a possible double trip on the global cpuset_sem semaphore. It worked, but now an improved version of cpuset locking is available, to come in the next patch, using two global semaphores. This patch reverses "cpuset semaphore depth check deadlock fix" The kernel still works, even after this patch, except for some rare and difficult to reproduce race conditions when agressively creating and destroying cpusets marked with the notify_on_release option, on very large systems. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f35f31d7ed0150f9865619f21b5050c91b46c03f tree fb33df4eb302de0d249682e77d3d07bd6f6611ba parent e9543659715602e3180f00a227bb6db34141ac41 author Paul Jackson Sun, 30 Oct 2005 15:02:27 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:21 -0800 [PATCH] cpuset cleanup Remove one more useless line from cpuset_common_file_read(). Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e9543659715602e3180f00a227bb6db34141ac41 tree afcb9c04209060ae8df22c84ed3c85a859f27179 parent f12ec44070f6b4d1a3911fcf9917cf8f872a4daf author Kirill Korotaev Sun, 30 Oct 2005 15:02:26 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:21 -0800 [PATCH] proc: fix of error path in proc_get_inode() This patch fixes incorrect error path in proc_get_inode(), when module can't be get due to being unloaded. When try_module_get() fails, this function puts de(!) and still returns inode with non-getted de. There are still unresolved known bugs in proc yet to be fixed: - proc_dir_entry tree is managed without any serialization - create_proc_entry() doesn't setup de->owner anyhow, so setting it later manually is inatomic. - looks like almost all modules do not care whether it's de->owner is set... Signed-Off-By: Denis Lunev Signed-Off-By: Kirill Korotaev Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f12ec44070f6b4d1a3911fcf9917cf8f872a4daf tree aaaa60dc437720372637a5a95f4fcd7648d7b9c5 parent 15d2bace5ec907530a3d0e0cf4bb1bd29f3ad7b7 author Miklos Szeredi Sun, 30 Oct 2005 15:02:25 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:21 -0800 [PATCH] fuse: clean up dead code related to nfs exporting Remove last remains of NFS exportability support. The code is actually buggy (as reported by Akshat Aranya), since 'alias' will be leaked if it's non-null and alias->d_flags has DCACHE_DISCONNECTED. This is not an active bug, since there will never be any disconnected dentries. But it's better to get rid of the unnecessary complexity anyway. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 15d2bace5ec907530a3d0e0cf4bb1bd29f3ad7b7 tree 52434f3ad069dadb6e70461888c2a068c44a9738 parent 2ca7d93bb27876e5fd4ebfcb3b00627107bdad4d author Andrew Morton Sun, 30 Oct 2005 15:02:24 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:21 -0800 [PATCH] add_timer() of a pending timer is illegal In the recent timer rework we lost the check for an add_timer() of an already-pending timer. That check was useful for networking, so put it back. Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ca7d93bb27876e5fd4ebfcb3b00627107bdad4d tree db3dbc868db28f9983ce99911ee7795042fba502 parent 3fa63c7d82ab9a12a5d0a299069f8df9f35aa011 author Nate Diller Sun, 30 Oct 2005 15:02:24 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:20 -0800 [PATCH] block cleanups: Fix iosched module refcount leak If the requested I/O scheduler is already in place, elevator_switch simply leaves the queue alone, and returns. However, it forgets to call elevator_put, so 'echo [current_sched] > /sys/block/[dev]/queue/scheduler' will leak a reference, causing the current_sched module to be permanently pinned in memory. Signed-off-by: Nate Diller Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3fa63c7d82ab9a12a5d0a299069f8df9f35aa011 tree 568e2eb557ff89359bd7de6bc307d0534fb1ea16 parent dfb7dac3af623a68262536437af008ed6aba4d88 author Jean Delvare Sun, 30 Oct 2005 15:02:23 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:20 -0800 [PATCH] Typo fix: dot after newline in printk strings Typo fix: dots appearing after a newline in printk strings. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dfb7dac3af623a68262536437af008ed6aba4d88 tree fdc8a61c73257dcf8866cf7b9213ce78d2422e7f parent 7024a9b884ed7657fb873e655cd124d85ae792a4 author Christoph Hellwig Sun, 30 Oct 2005 15:02:22 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:20 -0800 [PATCH] unify sys_ptrace prototype Make sure we always return, as all syscalls should. Also move the common prototype to Signed-off-by: Christoph Hellwig Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7024a9b884ed7657fb873e655cd124d85ae792a4 tree fc5875027e18de4217019caf3fc112d5e38b72c5 parent 4eb9af2a8a431a832830f986fead7332dab27229 author Christoph Hellwig Sun, 30 Oct 2005 15:02:21 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:20 -0800 [PATCH] adjust parisc sys_ptrace prototype Make the pid argument a long as on every other arcihtecture. Despite pid_t beeing a 32bit type even on 64bit parisc this is not an ABI change due to the parisc calling conventions. And even if it did it wouldn't matter too much because 64bit userspace on parisc is in an embrionic stage. Acked-by: Matthew Wilcox Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4eb9af2a8a431a832830f986fead7332dab27229 tree 424d265f46c7d2e545235117e1b5dcfb074b5228 parent 33430dc593f866f5d67ff6a6213b6dd6d7ea3ce1 author Oleg Nesterov Sun, 30 Oct 2005 15:02:21 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:20 -0800 [PATCH] posix-timers: use schedule_timeout() in common_nsleep() common_nsleep() reimplements schedule_timeout_interruptible() for unknown reason. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 33430dc593f866f5d67ff6a6213b6dd6d7ea3ce1 tree 37958aa06ee458e73806c2ca95de0888ee20cc96 parent 131dda7f8965a6b794dcde1d84f3ba5951a4d641 author Jean Delvare Sun, 30 Oct 2005 15:02:20 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:20 -0800 [PATCH] Typo fix: explictly -> explicitly (akpm: I don't do typo patches, but one of these is in a printk string) Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 131dda7f8965a6b794dcde1d84f3ba5951a4d641 tree 604154c55cf0077b128ddb15d7bb99c0bccad4ce parent 6dd69f1061bfdeca230509b173438e0731bff767 author Nate Diller Sun, 30 Oct 2005 15:02:19 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:20 -0800 [PATCH] block cleanups: Add kconfig default iosched submenu Add a kconfig submenu to select the default I/O scheduler, in case anticipatory is not compiled in or another default is preferred. Also, since no-op is always available, we should use it whenever the selected default is not. Signed-off-by: Nate Diller Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6dd69f1061bfdeca230509b173438e0731bff767 tree 66094a2fdf02fd808b0661cc2a26c6ff64d1c590 parent 19a4fcb531659f2f7d18b5d04cee039176e9540d author Vadim Lobanov Sun, 30 Oct 2005 15:02:18 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:19 -0800 [PATCH] Unify sys_tkill() and sys_tgkill() The majority of the sys_tkill() and sys_tgkill() function code is duplicated between the two of them. This patch pulls the duplication out into a separate function -- do_tkill() -- and lets sys_tkill() and sys_tgkill() be simple wrappers around it. This should make it easier to maintain in light of future changes. Signed-off-by: Vadim Lobanov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 19a4fcb531659f2f7d18b5d04cee039176e9540d tree 30e0636d6163a5c0c3a4ad41c2d5f49cd858b457 parent 932aeafbe8521a9a9d790152d66020e0fef2029b author Oleg Nesterov Sun, 30 Oct 2005 15:02:17 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:19 -0800 [PATCH] kill sigqueue->lock This lock is used in sigqueue_free(), but it is always equal to current->sighand->siglock, so we don't need to keep it in the struct sigqueue. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 932aeafbe8521a9a9d790152d66020e0fef2029b tree 09b95edbd9c160962027a9b3dcbf3cb7fc7a2b90 parent 2f51201662b28dbf8c15fb7eb972bc51c6cc3fa5 author Oleg Nesterov Sun, 30 Oct 2005 15:02:17 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:19 -0800 [PATCH] fix de_thread vs it_real_fn() deadlock de_thread() calls del_timer_sync(->real_timer) under ->sighand->siglock. This is deadlockable, it_real_fn sends a signal and needs this lock too. Also, delete unneeded ->real_timer.data assignment. Signed-off-by: Oleg Nesterov Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2f51201662b28dbf8c15fb7eb972bc51c6cc3fa5 tree 96826df796058560bc5dd1f7d8d476c5a741d7bc parent 503af334ecf23b9d65d2ff0cc759f3a0bf338290 author Eric Dumazet Sun, 30 Oct 2005 15:02:16 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:19 -0800 [PATCH] reduce sizeof(struct file) Now that RCU applied on 'struct file' seems stable, we can place f_rcuhead in a memory location that is not anymore used at call_rcu(&f->f_rcuhead, file_free_rcu) time, to reduce the size of this critical kernel object. The trick I used is to move f_rcuhead and f_list in an union called f_u The callers are changed so that f_rcuhead becomes f_u.fu_rcuhead and f_list becomes f_u.f_list Signed-off-by: Eric Dumazet Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 503af334ecf23b9d65d2ff0cc759f3a0bf338290 tree d2b646d9909993b70e77a335f08acb47db9a6c94 parent e15ae2dd3e436552293e122a5163019e7a0fa450 author Randy Dunlap Sun, 30 Oct 2005 15:02:15 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:19 -0800 [PATCH] clarify menuconfig /(search) help text Add explicit text about - where menuconfig '/' (search) searches for strings, - that substrings are allowed, and - that regular expressions are supported. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e15ae2dd3e436552293e122a5163019e7a0fa450 tree cc6b18dd364329faa07c39c77ac133b61a8befc7 parent 850b9247926693454f71e819883f4dc06184e25f author Jesper Juhl Sun, 30 Oct 2005 15:02:14 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:19 -0800 [PATCH] Whitespace and CodingStyle cleanup for lib/idr.c Cleanup trailing whitespace, blank lines, CodingStyle issues etc, for lib/idr.c Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 850b9247926693454f71e819883f4dc06184e25f tree c8cd596b48666f33864930b0bcde28d6aaf0740d parent cc75fb71c0100d921637a11ded5e333883be5df3 author Jesper Juhl Sun, 30 Oct 2005 15:02:13 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:19 -0800 [PATCH] lib/string.c cleanup: remove pointless explicit casts The first two hunks of the patch really belongs in patch 1, but I missed them on the first pass and instead of redoing all 3 patches I stuck them in this one. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cc75fb71c0100d921637a11ded5e333883be5df3 tree cc305a6ab2cbd8d5f5754e1bf900a458d7d2a4cb parent 51a0f0f658b0e757d569e8ac224ccb6bbfe3c181 author Jesper Juhl Sun, 30 Oct 2005 15:02:12 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:19 -0800 [PATCH] lib/string.c cleanup: remove pointless register keyword Removes a few pointless register keywords. register is merely a compiler hint that access to the variable should be optimized, but gcc (3.3.6 in my case) generates the exact same code with and without the keyword, and even if gcc did something different with register present I think it is doubtful we would want to optimize access to these variables - especially since this is generic library code and there are supposed to be optimized versions in asm/ for anything that really matters speed wise. (akpm: iirc, keyword register is a gcc no-op unless using -O0) Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 51a0f0f658b0e757d569e8ac224ccb6bbfe3c181 tree becec0c54a788616185ec31435ec1fb115c4f4c4 parent d97b321425e237e3e6c6bbe2c40dc0e09d0e3264 author Jesper Juhl Sun, 30 Oct 2005 15:02:11 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:19 -0800 [PATCH] lib/string.c cleanup: whitespace and CodingStyle cleanups Removes some blank lines, removes some trailing whitespace, adds spaces after commas and a few similar changes. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d97b321425e237e3e6c6bbe2c40dc0e09d0e3264 tree c119ade2f1c74918e34df729d62ec75113d83d8d parent 42e50a5a69f359e64a143eb0e11a57e18f10c262 author Amos Waterland Sun, 30 Oct 2005 15:02:10 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:19 -0800 [PATCH] protect ide_cdrom_capacity by ifdef The only call to ide_cdrom_capacity is in code protected by CONFIG_PROC_FS, so when that is not enabled, the compiler complains: drivers/ide/ide-cd.c:3259: warning: `ide_cdrom_capacity' defined but not used Here is a patch that fixes that. It provides some space savings for embedded systems that are not using procfs, as well: text data bss dec hex filename - 33540 6504 1032 41076 a074 drivers/ide/ide-cd.o + 33468 6480 1032 40980 a014 drivers/ide/ide-cd.o Signed-off-by: Amos Waterland Cc: Jens Axboe Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 42e50a5a69f359e64a143eb0e11a57e18f10c262 tree 59912bfeeda4fdd34e4a586ecfa58969bd9cffda parent a92897286485735e3708af357f8bcaf0592bd77a author Miklos Szeredi Sun, 30 Oct 2005 15:02:09 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:18 -0800 [PATCH] open: cleanup in lookup_flags() lookup_flags() is only called from the non-create case, so it needn't check for O_CREAT|O_EXCL. Signed-off-by: Miklos Szeredi Cc: Al Viro Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a92897286485735e3708af357f8bcaf0592bd77a tree 698e4623bdc794462c270ee3e5ef549503593f4a parent dfc4f94d2ff95fc92127d3e512c1df7cab274fb8 author Eric W. Biederman Sun, 30 Oct 2005 15:02:08 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:18 -0800 [PATCH] Don't uselessly export task_struct to userspace in core dumps task_struct is an internal structure to the kernel with a lot of good information, that is probably interesting in core dumps. However there is no way for user space to know what format that information is in making it useless. I grepped the GDB 6.3 source code and NT_TASKSTRUCT while defined is not used anywhere else. So I would be surprised if anyone notices it is missing. In addition exporting kernel pointers to all the interesting kernel data structures sounds like the very definition of an information leak. I haven't a clue what someone with evil intentions could do with that information, but in any attack against the kernel it looks like this is the perfect tool for aiming that attack. So since NT_TASKSTRUCT is useless as currently defined and is potentially dangerous, let's just not export it. (akpm: Daniel Jacobowitz "would be amazed" if anything was using NT_TASKSTRUCT). Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dfc4f94d2ff95fc92127d3e512c1df7cab274fb8 tree c9ed4d74147a3674816f59cf9fbeb69e2cb6afe4 parent 89ada67917f516212452443a56b9fd3b65b74dc7 author Andrew Morton Sun, 30 Oct 2005 15:02:03 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:18 -0800 [PATCH] remove timer debug field Remove timer_list.magic and associated debugging code. I originally added this when a spinlock was added to timer_list - this meant that an all-zeroes timer became illegal and init_timer() was required. That spinlock isn't even there any more, although timer.base must now be initialised. I'll keep this debugging code in -mm. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 89ada67917f516212452443a56b9fd3b65b74dc7 tree 00986fd653bf1973a70ae894f503b3b2352943b5 parent d61780c0d384939ef31c46b47442854d5def4623 author Christoph Lameter Sun, 30 Oct 2005 15:01:59 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:18 -0800 [PATCH] Use alloc_percpu to allocate workqueues locally This patch makes the workqueus use alloc_percpu instead of an array. The workqueues are placed on nodes local to each processor. The workqueue structure can grow to a significant size on a system with lots of processors if this patch is not applied. 64 bit architectures with all debugging features enabled and configured for 512 processors will not be able to boot without this patch. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d61780c0d384939ef31c46b47442854d5def4623 tree e655b4ea947c8d86cabbc3f58f406c18ae136b5f parent 34ad92c2388710cf24d27c896b8e6605c19a795c author Jeff Garzik Sun, 30 Oct 2005 15:01:51 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:18 -0800 [PATCH] remove some more check_region stuff Removed some more references to check_region(). I checked these changes into the 'checkreg' branch of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6.git The only valid references remaining are in: drivers/scsi/advansys.c drivers/scsi/BusLogic.c drivers/cdrom/sbpcd.c sound/oss/pss.c Remove last vestiges of ide_check_region() drivers/char/specialix: trim trailing whitespace drivers/char/specialix: eliminate use of check_region() Remove outdated and unused references to check_region() [sound oss] remove check_region() usage from cs4232, wavfront [netdrvr eepro] trim trailing whitespace [netdrvr eepro] remove check_region() usage Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 34ad92c2388710cf24d27c896b8e6605c19a795c tree 752720b8327e4bac9b21da088f1530cdbb43739d parent 3ccc7f293f2534ce1cbe5f91b943096a04d93395 author Randy Dunlap Sun, 30 Oct 2005 15:01:46 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:18 -0800 [PATCH] clarify help text for INIT_ENV_ARG_LIMIT Try to make the INIT_ENV_ARG_LIMIT help text more readable and understandable. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ccc7f293f2534ce1cbe5f91b943096a04d93395 tree ec2d31450c17d02dd24544855d4f5a5a5b924ad7 parent a5a0d52c7305cb3629ef0cc9e2e0e106869e1907 author Norbert Kiesel Sun, 30 Oct 2005 15:01:43 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:18 -0800 [PATCH] delete 2 unreachable statements in drivers/block/paride/pf.c The last patch from Jens Axboe for drivers/block/paride/pf.c introduced pf_end_request() which sets pf_req to NULL. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a5a0d52c7305cb3629ef0cc9e2e0e106869e1907 tree 11be2b00bc455e8f0dbe280b64932bdb7369bde0 parent 1bb34a412750291e4e5e9f1d0fe7ae1b7e976098 author Andrew Morton Sun, 30 Oct 2005 15:01:42 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:18 -0800 [PATCH] ntp whitespace cleanup Fix bizarre 4-space coding style in the NTP code. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1bb34a412750291e4e5e9f1d0fe7ae1b7e976098 tree 00d481a2ff4302f444fbf7c31e5e661f79dc85a9 parent 9c0cbd54ce0397017a823484f9a8054ab369b8a2 author john stultz Sun, 30 Oct 2005 15:01:42 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:18 -0800 [PATCH] NTP shift_right cleanup Create a macro shift_right() that avoids the numerous ugly conditionals in the NTP code that look like: if(a < 0) b = -(-a >> shift); else b = a >> shift; Replacing it with: b = shift_right(a, shift); This should have zero effect on the logic, however it should probably have a bit of testing just to be sure. Also replace open-coded min/max with the macros. Signed-off-by : John Stultz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9c0cbd54ce0397017a823484f9a8054ab369b8a2 tree ac199e4dc6602afc3d2039a0dcff070ab294ba24 parent 61e1a9ea4b425eb8c3b4965c35fe953bd881728f author Christoph Hellwig Sun, 30 Oct 2005 15:01:41 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:17 -0800 [PATCH] TIOC* compat ioctl handling TIOCSTART and TIOCSTOP are defined in asm/ioctls.h and asm/termios.h by various architectures but not actually implemented anywhere but in the IRIX compatibility layer, so remove their COMPATIBLE_IOCTL from parisc, ppc64 and sparc64. Move the TIOCSLTC COMPATIBLE_IOCTL to common code, guided by an ifdef to only show up on architectures that support it (same as the code handling it in tty_ioctl.c), aswell as it's brother TIOCGLTC that wasn't handled so far. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 61e1a9ea4b425eb8c3b4965c35fe953bd881728f tree 2dcf017eedd4a72698593c878aff3ae31e3a6b09 parent 83521d3eb8dd2dfb04dd78b4733e9766f61bb47e author Alan Stern Sun, 30 Oct 2005 15:01:40 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:17 -0800 [PATCH] Add kthread_stop_sem() Enhance the kthread API by adding kthread_stop_sem, for use in stopping threads that spend their idle time waiting on a semaphore. Signed-off-by: Alan Stern Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 83521d3eb8dd2dfb04dd78b4733e9766f61bb47e tree e372f6bef5205c12024512f3b1df5a76df7f0fba parent a8db2db1e6a8d323d87a67c5391d48fe2b97faf5 author Christoph Hellwig Sun, 30 Oct 2005 15:01:39 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:17 -0800 [PATCH] cfq-iosched: move tasklist walk to elevator.c We're trying to get rid of as much as possible tasklist walks, or at least moving them to core code. This patch falls into the second category. Instead of walking the tasklist in cfq-iosched move that into elv_unregister. The added benefit is that with this change the as ioscheduler might be might unloadable more easily aswell. The new code uses read_lock instead of read_lock_irq because the tasklist_lock only needs irq disabling for writers. Signed-off-by: Christoph Hellwig Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a8db2db1e6a8d323d87a67c5391d48fe2b97faf5 tree 0aa5fb9f80e4a476e097337104a3e1f94f39a96e parent 9e4e23bccb127fac109e765dfb7f9372661cb415 author Oleg Nesterov Sun, 30 Oct 2005 15:01:38 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:17 -0800 [PATCH] introduce setup_timer() helper Every user of init_timer() also needs to initialize ->function and ->data fields. This patch adds a simple setup_timer() helper for that. The schedule_timeout() is patched as an example of usage. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9e4e23bccb127fac109e765dfb7f9372661cb415 tree 0031d99431f89d135830b8386d3f0fbff0b57753 parent 833d304b22edff5cc687ab7e5549c2f0dcdd951a author Oleg Nesterov Sun, 30 Oct 2005 15:01:37 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:17 -0800 [PATCH] little de_thread() cleanup Trivial, saves one 'if' branch in de_thread(). Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 833d304b22edff5cc687ab7e5549c2f0dcdd951a tree 5413fd045ec7ff1de8956964911ace74931c4a7c parent aaa4059bc2dca7fa816624a28db1958c3a22df9b author James Lamanna Sun, 30 Oct 2005 15:00:16 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:17 -0800 [PATCH] reiserfs: [kv]free() checking cleanup Signed-off-by: James Lamanna Signed-off-by: Domen Puncer Signed-off-by: Alexey Dobriyan Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aaa4059bc2dca7fa816624a28db1958c3a22df9b tree 8ae1d5458e2f68f96b033f10dae216847c32d4d2 parent e812cb5226af32aec91bcbaa8365bd7f921b6ebb author Jan Kara Sun, 30 Oct 2005 15:00:16 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:17 -0800 [PATCH] ext3: Fix unmapped buffers in transaction's lists Fix the problem (BUG 4964) with unmapped buffers in transaction's t_sync_data list. The problem is we need to call filesystem's own invalidatepage() from block_write_full_page(). block_write_full_page() must call filesystem's invalidatepage(). Otherwise following nasty race can happen: proc 1 proc 2 ------ ------ - write some new data to 'offset' => bh gets to the transactions data list - starts truncate => i_size set to new size - mpage_writepages() - ext3_ordered_writepage() to 'offset' - block_write_full_page() - page->index > end_index+1 - block_invalidatepage() - discard_buffer() - clear_buffer_mapped() - commit triggers and finds unmapped buffer - BOOM! Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e812cb5226af32aec91bcbaa8365bd7f921b6ebb tree adb7ccb2a766f92dcb354dd20834ce3c023c04b9 parent 17fd47ab4d33e764216b87006d8118fa050b4c92 author Dmitry Torokhov Sun, 30 Oct 2005 15:00:14 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:17 -0800 [PATCH] smsc-ircc2: PM cleanup - do not close device when suspending smsc-ircc2 - avoid closing network device when suspending; just release interrupt and disable DMA ourselves. Also make sure to reset chip when resuming. Signed-off-by: Dmitry Torokhov Cc: Jean Tourrilhes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 17fd47ab4d33e764216b87006d8118fa050b4c92 tree c6016a8741a2527acac0ceb6e6ce431a798d6708 parent f1fc78a8c7f3a784b9fd1e07cc1438a0ea569555 author Andrew Morton Sun, 30 Oct 2005 15:00:13 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:17 -0800 [PATCH] ide-scsi highmem cleanup It's not necessary to test PageHighmem in here - kmap_atomic() does the right thing. Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f1fc78a8c7f3a784b9fd1e07cc1438a0ea569555 tree 316c05b4531b8961c59338088642b02e3cccfbd7 parent 1e8e338325fa0f2bd5c1c800086e900cf188d2cd author Bastian Blank Sun, 30 Oct 2005 15:00:12 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:16 -0800 [PATCH] s390, ccw - export modalias This patch exports modalias for ccw devices. So you can do: modprobe `echo /sys/device/path_to_device/modalias` and the proper driver will automatically be loaded by userspace. Signed-off-by: Bastian Blank Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1e8e338325fa0f2bd5c1c800086e900cf188d2cd tree fd1e051c0883725d3b24ec9acb428aeddaccf07b parent ed3cb6f039bb296457bfd2877cba6ad0287d8d54 author Heiko Carstens Sun, 30 Oct 2005 15:00:11 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:16 -0800 [PATCH] s390: export ipl device parameters Sysfs interface to export ipl device parameters. Dependent on the ipl type the interface will look like this: - ccw ipl: /sys/firmware/ipl/device /ipl_type - fcp ipl: /sys/firmware/ipl/binary_parameter /bootprog /br_lba /device /ipl_type /lun /scp_data /wwpn - otherwise (unknown that is): /sys/firmware/ipl/ipl_type Acked-by: Martin Schwidefsky Signed-off-by: Heiko Carstens Cc: Greg KH Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed3cb6f039bb296457bfd2877cba6ad0287d8d54 tree c65ff2b245f17ab7e1da6f279b9d004b447d23bc parent d89ea9b8bb4c4ad63122cd2d2ee5110a52da51b8 author Richard Hitt Sun, 30 Oct 2005 15:00:10 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:16 -0800 [PATCH] s390: 3270 fullscreen view Martin Schwidefsky Fix fullscreen view of the 3270 device driver. Signed-off-by: Richard Hitt Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d89ea9b8bb4c4ad63122cd2d2ee5110a52da51b8 tree c729040e58c76b23d66bba40f1e8e989a7fea2ac parent 6a351cfeadd4b56a2a0031020c0cfb07cc0337fb author Paolo 'Blaisorblade' Giarrusso Sun, 30 Oct 2005 15:00:09 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:16 -0800 [PATCH] i386: use -mcpu, not -mtune, for GCCs older than 3.4 I just noted that -mtune is used, which is only supported on recent GCCs; by reading http://gcc.gnu.org/gcc-3.4/changes.html, you see "-mcpu has been renamed to -mtune.", so for GCC < 3.4 we're not using any specific tuning in the appropriate cases. However -mcpu is deprecated, so use -mtune when possible. This was introduced by commit e9d4dce954a60dc23dd1d967766ca2347b780e54 of the old tree (between 2.6.10-rc3 and 2.6.10) by Linus Torvalds, to remove the use of -march, since that could trigger gcc using SSE on its own. But no attention was used about using -mcpu vs. -mtune. And btw, the old 2.6.4 code (for instance) was: cflags-$(CONFIG_MPENTIUMII) += $(call check_gcc,-march=pentium2,-march=i686) cflags-$(CONFIG_MPENTIUMIII) += $(call check_gcc,-march=pentium3,-march=i686) cflags-$(CONFIG_MPENTIUMM) += $(call check_gcc,-march=pentium3,-march=i686) cflags-$(CONFIG_MPENTIUM4) += $(call check_gcc,-march=pentium4,-march=i686) Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a351cfeadd4b56a2a0031020c0cfb07cc0337fb tree 88b96f069f035a73cc6089a141a0167e4cb6afe8 parent b365157be3250a6b5948422ba65e05e5f964e150 author Paolo 'Blaisorblade' Giarrusso Sun, 30 Oct 2005 15:00:08 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:16 -0800 [PATCH] uml: remove old UM_FASTCALL, and make the thing work again This was used in the old dark age of 2.4, ARCH_CFLAGS doesn't work any more since some time, and UM_FASTCALL was never used in 2.6. Instead, reintroduce the thing more properly now, directly in include/asm-um/linkage.h. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b365157be3250a6b5948422ba65e05e5f964e150 tree cd365dd42b15cc58f74bcc0d31a5ba34a817c354 parent 96d55b882b85b26711a06d8fb2c901df9d52a48b author Paolo 'Blaisorblade' Giarrusso Sun, 30 Oct 2005 15:00:07 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:16 -0800 [PATCH] uml: fix "reuse i386 cpu optimizations" Remove RWSEM_GENERIC_SPINLOCK, it's now defined (only if needed) by the underlying arch/i386/Kconfig.cpu. Leave it only for x86_64. Even there, it's totally wrong, as they even have the code to support XCHG_ADD. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96d55b882b85b26711a06d8fb2c901df9d52a48b tree 309b8993ad321c050411a8dd74729180488a5dcc parent f3ac9fbf7a0b9493377ee88d9b5b2933ff3f7ade author Paolo 'Blaisorblade' Giarrusso Sun, 30 Oct 2005 15:00:07 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:16 -0800 [PATCH] uml: reuse i386 cpu-specific tuning Make UML share the underlying cpu-specific tuning done on i386. Actually, for now many config options aren't used a lot - but that can be done later. Also, UML relies on GCC optimization for things like memcpy and such more than i386, so specifying the correct -march and -mtune should be enough. Later, we may want to correct some other stuff. For instance, since FPU context switching, for us, is done (at least partially, i.e. between our kernelspace and userspace) by the host, we may allow usage of FPU operations by GCC. This doesn't hold for kernelspace vs. kernelspace, but we don't support preemption. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f3ac9fbf7a0b9493377ee88d9b5b2933ff3f7ade tree 74f9c3b409af84f8f02b7c23a7ca3405c200c2dc parent 1343f776c51ecbed89eff5e174188523c731a8fe author Hirokazu Takata Sun, 30 Oct 2005 15:00:06 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:16 -0800 [PATCH] m32r: SMC91x driver update Update SMC91x driver for m32r. - Remove needless NONCACHE_OFFSET adjustment. > [PATCH 2.6.14-rc4] m32r: NONCACHE_OFFSET in _port2addr > Change _port2addr() not to add NONCACHE_OFFSET. > Adding NONCACHE_OFFSET requires needless address adjusting by a driver > using ioremap() like a SMC91x driver. - Fix lots of warnings as following: /usr/src/ctest/git/kernel/drivers/net/smc91x.c: In function `smc_reset': /usr/src/ctest/git/kernel/drivers/net/smc91x.c:324: warning: passing arg 2 of `_outw' makes integer from pointer without a cast /usr/src/ctest/git/kernel/drivers/net/smc91x.c:325: warning: passing arg 2 of `_outw' makes integer from pointer without a cast /usr/src/ctest/git/kernel/drivers/net/smc91x.c:341: warning: passing arg 2 of `_outw' makes integer from pointer without a cast /usr/src/ctest/git/kernel/drivers/net/smc91x.c:342: warning: passing arg 2 of `_outw' makes integer from pointer without a cast : /usr/src/ctest/git/kernel/drivers/net/smc91x.c:1915: warning: passing arg 1 of `_inw' makes integer from pointer without a cast /usr/src/ctest/git/kernel/drivers/net/smc91x.c:1915: warning: passing arg 1 of `_inw' makes integer from pointer without a cast Signed-off-by: Hayato Fujiwara Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1343f776c51ecbed89eff5e174188523c731a8fe tree 7a05a732894cc7911c36598238f6d948655c67a0 parent c978b0179b31600394d5ebdb0940b492ec05500f author Hirokazu Takata Sun, 30 Oct 2005 15:00:04 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:16 -0800 [PATCH] m32r: NONCACHE_OFFSET in _port2addr Change _port2addr() not to add NONCACHE_OFFSET. Adding NONCACHE_OFFSET requires needless address adjusting by a driver using ioremap() like a SMC91x driver. Signed-off-by: Hayato Fujiwara Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c978b0179b31600394d5ebdb0940b492ec05500f tree 5126e984a9eacbcb25a02a9ef711abda33ceed88 parent baa0b84f104c8e78ddaa8816eb9deac0098429e6 author Hirokazu Takata Sun, 30 Oct 2005 15:00:04 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:15 -0800 [PATCH] m32r: fix #if warnings Fix warnings for #if directives. Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit baa0b84f104c8e78ddaa8816eb9deac0098429e6 tree f55f9cd2910efbbc8268f585871ccb83e0785286 parent eb9289eb20df6b54214c45ac7c6bf5179a149026 author Hirokazu Takata Sun, 30 Oct 2005 15:00:02 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:15 -0800 [PATCH] m32r: remove unused instructions Remove unused instructions for debugging. Signed-off-by: Naoto Sugai Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb9289eb20df6b54214c45ac7c6bf5179a149026 tree dac51cecdd94e0c7273c990259ddd800057311b9 parent 0245b3e787dc3267a915e1f56419e7e9c197e148 author Shaohua Li Sun, 30 Oct 2005 15:00:01 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:15 -0800 [PATCH] introduce .valid callback for pm_ops Add pm_ops.valid callback, so only the available pm states show in /sys/power/state. And this also makes an earlier states error report at enter_state before we do actual suspend/resume. Signed-off-by: Shaohua Li Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0245b3e787dc3267a915e1f56419e7e9c197e148 tree 96a366f2fc732f42d4993dd177982e6b657d83aa parent 2e32a43efdc8175579cc91e8b620ac331376a437 author Rafael J. Wysocki Sun, 30 Oct 2005 15:00:01 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:15 -0800 [PATCH] swsusp: two simplifications The following patch simplifies the progress meter in disk.c:free_some_memory() and makes disk.c:pm_suspend_disk() call device_resume() explicitly in the suspend path. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2e32a43efdc8175579cc91e8b620ac331376a437 tree fd46c6cf28d437fc53acc72cff03d2d796d834ff parent de491861e1457c31aed6d44d96afb549365ff790 author Rafael J. Wysocki Sun, 30 Oct 2005 15:00:00 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:15 -0800 [PATCH] swsusp: get rid of unnecessary wrapper function The following patch merges two functions in a trivial way. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de491861e1457c31aed6d44d96afb549365ff790 tree 9480b80bab7d5f2ef141249b70a6beffde0c7599 parent 96bc7aec20b50761822f96130127b8e31e168af1 author Pavel Machek Sun, 30 Oct 2005 14:59:59 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:14 -0800 [PATCH] swsusp: cleanups Reduce number of ifdefs somehow, and fix whitespace a bit. No real code changes. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96bc7aec20b50761822f96130127b8e31e168af1 tree f1bb9562fcec1764a39b1b01423770d4ddbcc1dc parent 2c1b4a5ca48831595979a850f40ced8e7da026f8 author Pavel Machek Sun, 30 Oct 2005 14:59:58 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:14 -0800 [PATCH] swsusp: remove unneccessary includes Cleanup comments and remove unneccessary includes. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2c1b4a5ca48831595979a850f40ced8e7da026f8 tree 06fe8a400df8c5166c7f47ca2c30a584473f1170 parent a0f496517f3e28d651d0cbbcf2d4fb701ed6957e author Rafael J. Wysocki Sun, 30 Oct 2005 14:59:58 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:14 -0800 [PATCH] swsusp: rework memory freeing on resume The following patch makes swsusp use the PG_nosave and PG_nosave_free flags to mark pages that should be freed in case of an error during resume. This allows us to simplify the code and to use swsusp_free() in all of the swsusp's resume error paths, which makes them actually work. Signed-off-by: Rafael J. Wysocki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a0f496517f3e28d651d0cbbcf2d4fb701ed6957e tree 39ab8b387061cc5737c542f6cddea7320b82970b parent 25761b6eb7b33823bcfff6bfe2a015badcd76fb8 author Rafael J. Wysocki Sun, 30 Oct 2005 14:59:57 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:14 -0800 [PATCH] swsusp: reduce the use of global variables Signed-off-by: Rafael J. Wysocki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 25761b6eb7b33823bcfff6bfe2a015badcd76fb8 tree a25841a3f4c4cf087ce75c0907c00966f19d339a parent 351619baf9878731b4272fa10dda0f84f5582241 author Rafael J. Wysocki Sun, 30 Oct 2005 14:59:56 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:14 -0800 [PATCH] swsusp: move snapshot functionality to separate file The following patch moves the functionality of swsusp related to creating and handling the snapshot of memory to a separate file, snapshot.c This should enable us to untangle the code in the future and eventually to implement some parts of swsusp.c in the user space. The patch does not change the code. Signed-off-by: Rafael J. Wysocki Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 351619baf9878731b4272fa10dda0f84f5582241 tree 62bf45ba8368dddde3adb501a37c428ead5feff7 parent c32b6b8e524d2c337767d312814484d9289550cf author Rafael J. Wysocki Sun, 30 Oct 2005 14:59:55 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:14 -0800 [PATCH] swsusp: rework image freeing The following patch makes swsusp use PG_nosave and PG_nosave_free flags to mark pages that should be freed after the state of the system has been restored from the image (or in case of an error during suspend). This allows us to avoid storing metadata in swap twice and to reduce the amount of memory needed by swsusp.  Additionally, it allows us to simplify the code by removing a couple of functions that are no longer necessary. Signed-off-by: Rafael J. Wysocki Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c32b6b8e524d2c337767d312814484d9289550cf tree 02e634b0b48db6eccc8774369366daa1893921ea parent d434fca737bee0862625c2377b987a7713b6b487 author Ashok Raj Sun, 30 Oct 2005 14:59:54 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:14 -0800 [PATCH] create and destroy cpufreq sysfs entries based on cpu notifiers cpufreq entries in sysfs should only be populated when CPU is online state. When we either boot with maxcpus=x and then boot the other cpus by echoing to sysfs online file, these entries should be created and destroyed when CPU_DEAD is notified. Same treatement as cache entries under sysfs. We place the processor in the lowest frequency, so hw managed P-State transitions can still work on the other threads to save power. Primary goal was to just make these directories appear/disapper dynamically. There is one in this patch i had to do, which i really dont like myself but probably best if someone handling the cpufreq infrastructure could give this code right treatment if this is not acceptable. I guess its probably good for the first cut. - Converting lock_cpu_hotplug()/unlock_cpu_hotplug() to disable/enable preempt. The locking was smack in the middle of the notification path, when the hotplug is already holding the lock. I tried another solution to avoid this so avoid taking locks if we know we are from notification path. The solution was getting very ugly and i decided this was probably good for this iteration until someone who understands cpufreq could do a better job than me. (akpm: export cpucontrol to GPL modules: drivers/cpufreq/cpufreq_stats.c now does lock_cpu_hotplug()) Signed-off-by: Ashok Raj Signed-off-by: Venkatesh Pallipadi Cc: Dave Jones Cc: Zwane Mwaikambo Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d434fca737bee0862625c2377b987a7713b6b487 tree 8df1f41731e094d3ad7e7a60b9c1c5013591016a parent 1aa1a9f98ffd06e288be4d85ed814c6cdbccce82 author Ashok Raj Sun, 30 Oct 2005 14:59:52 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:14 -0800 [PATCH] Remove cpu_sys_devices in cpufreq subsystem. cpu_sys_devices is redundant with the new API get_cpu_sysdev(). So nuking this usage since its not needed. Signed-off-by: Ashok Raj Signed-off-by: Venkatesh Pallipadi Cc: Dave Jones Cc: Zwane Mwaikambo Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1aa1a9f98ffd06e288be4d85ed814c6cdbccce82 tree 3b387855f4e8415cfd83bf54a2900f2a43127b73 parent ad74557a49d1dea428fb0ad60e75a5aa37610e1d author Ashok Raj Sun, 30 Oct 2005 14:59:50 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:14 -0800 [PATCH] create and destroy cache sysfs entries based on cpu notifiers cpu cache entries should be populated only when cpu is online and removed when they are logically offlined. Without which entries are not removed when cpu is offlined, or dont appear when we boot with maxcpus=1 and then kick the rest of the cpus via echo 1 to the sysfs online file. - Changed __devinit to __cpuinit for consistency. - Changed sysfs_driver_register to register_cpu_notifier. Signed-off-by: Ashok Raj Signed-off-by: Venkatesh Pallipadi Cc: Dave Jones Cc: Zwane Mwaikambo Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ad74557a49d1dea428fb0ad60e75a5aa37610e1d tree 4240115b224d3b3a323da8aa9325fc3bf4b73b50 parent 5d35704028d09a183448daceab5dcb94f21a3645 author Ashok Raj Sun, 30 Oct 2005 14:59:49 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:14 -0800 [PATCH] introduce get_cpu_sysdev() to retrieve a sysfs entry for a cpu. Some modules creating sysfs entries under /sys/devices/system/cpu/cpuX/ need to know the parent sysfs entry to make devices under them. This will just return the sysfs entry for a given cpu. sysfs entries showing under each cpu sysfs can be easily created if such entries can be created by registering a sysfs driver for cpuclass. The issue is when the entry is created the CPU may not be online, hence we would need to defer the creation until the online notification comes. Current users: cache entries for Intel CPU's and cpufreq subsystem. Signed-off-by: Ashok Raj Signed-off-by: Venkatesh Pallipadi Cc: Dave Jones Cc: Zwane Mwaikambo Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5d35704028d09a183448daceab5dcb94f21a3645 tree 2b1b4416c162c458a26d601412d09a7ed9c21b84 parent 6c180d94abdcfb77a2fe4275bd03687fa159acd7 author Magnus Damm Sun, 30 Oct 2005 14:59:48 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:13 -0800 [PATCH] i386: srat on non-acpi hw fix This patch adds a check for the return value of acpi_find_root_pointer(). Without this patch systems without ACPI support such as QEMU crashes when booting a NUMA kernel with CONFIG_ACPI_SRAT=y. Signed-off-by: Magnus Damm Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6c180d94abdcfb77a2fe4275bd03687fa159acd7 tree 3254ea7af80edbefc71d9582bdb13867828a8f6d parent 009b29d90f575a83eba185950a7182ab05e7741a author Eric W. Biederman Sun, 30 Oct 2005 14:59:47 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:13 -0800 [PATCH] i386 mpparse: Only ignore lapic information we can't store After staring at mpparse.c for a little longer I noticed that when we hit our limit of num_processors we are filtering out information about other processors that we can still store. This patch just reorders the code so we store everything we can. This should avoid the incorrect warning about our boot CPU not being listed by the BIOS that we are now getting in the kexec on panic case, and it should allow us to detect all apicid conflicts even when our physical number of cpus exceeds maxcpus. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 009b29d90f575a83eba185950a7182ab05e7741a tree c728a076c56d648ad1017338c3479ae61aebcefe parent bda98685b855f71f7e2fc5378aa3cdfb24a9db65 author Vivek Goyal Sun, 30 Oct 2005 14:59:46 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:13 -0800 [PATCH] kdump/i386: apic verification failure fix o Removes the unnecessary call to local_irq_disable(). o Kdump was failing while second kernel was coming up. Check for presence of boot cpu apic id was failing in (apic_id_registered), hence hitting BUG(). o This should not have failed because before calling setup_local_APIC(), it is ensured that even if BIOS has not reported boot cpu, then hard set the prence of it. Problem happens because of usage of hard_smp_processor_id() which is hardcoded to zero in case of non SMP kernel. In kdump case second kernel can boot on a cpu whose boot cpu id is not zero. o Using boot_cpu_physical_apicid instead to hard set the presence of boot cpu. Signed-off-by: Vivek Goyal Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bda98685b855f71f7e2fc5378aa3cdfb24a9db65 tree c1660300d19e1fba7bda619bfe2d3802c1aee12f parent c53117815771e1e84e6ba80a42fa1f8e330adb4d author Ingo Molnar Sun, 30 Oct 2005 14:59:44 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:13 -0800 [PATCH] x86: inline spin_unlock if !CONFIG_DEBUG_SPINLOCK and !CONFIG_PREEMPT Signed-off-by: Ingo Molnar Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c53117815771e1e84e6ba80a42fa1f8e330adb4d tree e9227965e332a19575c066096c532cd2cba4c856 parent daedb82d6b54e58a66ad1dce3509e699a5bd1b18 author Brian Gerst Sun, 30 Oct 2005 14:59:44 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:13 -0800 [PATCH] Clean up mtrr compat ioctl code Handle 32-bit mtrr ioctls in the mtrr driver instead of the ia32 compatability layer. Signed-off-by: Brian Gerst Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit daedb82d6b54e58a66ad1dce3509e699a5bd1b18 tree f72c6f7c2a993284fe41fe43a8e95da259c419a8 parent 3d1675b41b02d64bd1185903ea0d25a8c0bb6dea author Kamble, Nitin A Sun, 30 Oct 2005 14:59:43 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:13 -0800 [PATCH] x86: vmx cpu feature detection If VMX feature is available in the CPU, this patch will make it visible in the /proc/cpuinfo with the cpuid detection. Signed-Off-By: Nitin A Kamble Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3d1675b41b02d64bd1185903ea0d25a8c0bb6dea tree 4a5c4e57a7929498e30e05cc2c81f20047a914b0 parent f2b36db692b7ff6972320ad9839ae656a3b0ee3e author Eric W. Biederman Sun, 30 Oct 2005 14:59:42 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:13 -0800 [PATCH] i386 kexec-on-panic: Don't shutdown the apics. It is dangerous to shutdown the apics in machine_crash_shutdown. With my previous patch to initialize apics in init_IRQ we should be able to boot a kernel without this. As long as we reinitialize the APICs we don't care what state they were in during bootup. This should make machine_crash_shutdown noticeably more reliable. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f2b36db692b7ff6972320ad9839ae656a3b0ee3e tree 110387d2557a156d6b9453ea0c45d392b47796c2 parent 29b70081f7cb094513d5189e82d3478b50777a28 author Eric W. Biederman Sun, 30 Oct 2005 14:59:41 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:13 -0800 [PATCH] i386: move apic init in init_IRQs All kinds of ugliness exists because we don't initialize the apics during init_IRQs. - We calibrate jiffies in non apic mode even when we are using apics. - We have to have special code to initialize the apics when non-smp. - The legacy i8259 must exist and be setup correctly, even when we won't use it past initialization. - The kexec on panic code must restore the state of the io_apics. - init/main.c needs a special case for !smp smp_init on x86 In addition to pure code movement I needed a couple of non-obvious changes: - Move setup_boot_APIC_clock into APIC_late_time_init for simplicity. - Use cpu_khz to generate a better approximation of loops_per_jiffies so I can verify the timer interrupt is working. - Call setup_apic_nmi_watchdog again after cpu_khz is initialized on the boot cpu. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 29b70081f7cb094513d5189e82d3478b50777a28 tree d992aa91eeae9ac79265dd0ead0d7cc5a48f31f1 parent fcfd636a728fe2b8fb8c8fd8c557302059580577 author Eric W. Biederman Sun, 30 Oct 2005 14:59:40 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:13 -0800 [PATCH] i386 nmi_watchdog: Merge check_nmi_watchdog fixes from x86_64 The per cpu nmi watchdog timer is based on an event counter. idle cpus don't generate events so the NMI watchdog doesn't fire and the test to see if the watchdog is working fails. - Add nmi_cpu_busy so idle cpus don't mess up the test. - kmalloc prev_nmi_count to keep kernel stack usage bounded. - Improve the error message on failure so there is enough information to debug problems. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fcfd636a728fe2b8fb8c8fd8c557302059580577 tree f210e59393a9439875f5e65ff4b92c5a7fe7b9bb parent 9338316c9323682d32270d83b106472a50ab6da4 author Eric W. Biederman Sun, 30 Oct 2005 14:59:39 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:12 -0800 [PATCH] i386 io_apic.c: Memorize at bootup where the i8259 is connected Currently we attempt to restore virtual wire mode on reboot, which only works if we can figure out where the i8259 is connected. This is very useful when we kexec another kernel and likely helpful when dealing with a BIOS that make assumptions about how the system is setup. Since the acpi MADT table does not provide the location where the i8259 is connected we have to look at the hardware to figure it out. Most systems have the i8259 connected the local apic of the cpu so won't be affected but people running Opteron and some serverworks chipsets should be able to use kexec now. In addition this patch removes the hard coded assumption that the io_apic that delivers isa interrups is always known to the kernel as io_apic 0. As there does not appear to be anything to guarantee that assumption is true. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9338316c9323682d32270d83b106472a50ab6da4 tree 372f32101f2ed04ca03335638998905930d23e55 parent 30037f66ce63b6b7ca1fbfb06605b831f4a60df6 author Natalie.Protasevich@unisys.com Sun, 30 Oct 2005 14:59:38 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:12 -0800 [PATCH] ES7000 platform update This is platform code update for ES7000: disables IRQ overrides for the recent ES7000 (Rascal/Zorro), cleans up the compile warning. The patch only affects the ES7000 subarch. Signed-off-by: Acked-by: Zwane Mwaikambo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30037f66ce63b6b7ca1fbfb06605b831f4a60df6 tree 48645e204613332df510b42f56655d06d9200a33 parent f014a556e714dfb02502e3be6146a39ca625f33c author Venkatesh Pallipadi Sun, 30 Oct 2005 14:59:38 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:12 -0800 [PATCH] x86: when L3 is present show its size in /proc/cpuinfo The code that prints the cache size assumes that L3 always lives in chipset and is shared across CPUs. Which is not really true. I think all the cachesizes reported by cpuid are in the processor itself. The attached patch changes the code to reflect that. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f014a556e714dfb02502e3be6146a39ca625f33c tree 95c76676a23f8d57731681f5987084f05555af15 parent 750deaa4021da1cf9fdb1e20861a10c76fd7f2bc author Dave Hansen Sun, 30 Oct 2005 14:59:37 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:12 -0800 [PATCH] fixup bogus e820 entry with mem= This was reported because someone was getting oopses reading /proc/iomem. It was tracked down to a zero-sized 'struct resource' entry which was located right at 4GB. You need two conditions to hit this bug: a BIOS E820_RAM area starting at exactly the boundary where you specify mem= (to get a zero-sized entry), and for the legacy_init_iomem_resources() loop to skip that resource (which only happens at exactly 4G). I think the killing zero-sized e820 entry is the easiest way to fix this. Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 750deaa4021da1cf9fdb1e20861a10c76fd7f2bc tree 662e9c2e22c44e3610d979f7c5e6b1b33bd2dc53 parent 434440a2804639f11858d9d384c9505927feb186 author aleksey_gorelov@phoenix.com Sun, 30 Oct 2005 14:59:36 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:12 -0800 [PATCH] asus vt8235 router buggy bios workaround Hopefully fix http://bugzilla.kernel.org/show_bug.cgi?id=5235 Similar problem has been reported before here: http://groups.google.com/group/linux.kernel/browse_thread/thread/def4ca19dbc3cd4/5cffbf349f2c87a4?tvc=2&q=Aleksey+Gorelov&hl=en#5cffbf349f2c87a4 and was related to bug in BIOS reporting 82C686 router compatible to 586. I suspect BIOS on this board has similar issue: reports VT8235 router to be compatible with 586 one - which is obviously not true. Patch from the link above has already incorporated in both 2.6 & 2.4 series, but might not work in this particular case. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 434440a2804639f11858d9d384c9505927feb186 tree 60bb584d535aa6ff3b632025facd167e844c6009 parent 251e6912df43df54570ed68aade703b329c6cd5b author Venkatesh Pallipadi Sun, 30 Oct 2005 14:59:35 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:12 -0800 [PATCH] x86: bug fix in P6 Machine check initialization Make P6 MCA initialization code complaint with guidelines in IA-32 SDM Vol3. Bank 0 control register should not be set by OS and clear status registers on all banks on reset. This will prevent false MCE alarms on the systems that has some non-MCE information left-over in MC0_STATUS on reboot. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 251e6912df43df54570ed68aade703b329c6cd5b tree 28695a0c9a468281613a6b8ef8c79596e2764001 parent 72e12b76fe48d99d1deb417f177b10a9d99b2e74 author Zachary Amsden Sun, 30 Oct 2005 14:59:34 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:12 -0800 [PATCH] x86: add an accessor function for getting the per-CPU gdt Add an accessor function for getting the per-CPU gdt. Callee must already have the CPU. Signed-off-by: Zachary Amsden Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 72e12b76fe48d99d1deb417f177b10a9d99b2e74 tree 55bd8ff5d3d641de012fbc26f5cc1c5a40e6d920 parent 9f40a72a7e819789f66910c8cd60aab005cdb413 author Zachary Amsden Sun, 30 Oct 2005 14:59:33 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:12 -0800 [PATCH] x86: bogus tls from gdt The per-CPU initialization code is copying in bogus data into thread->tls_array. Note that it copies &per_cpu(cpu_gdt_table, cpu), not &per_cpu(cpu_gdt_table, cpu)[GDT_ENTRY_TLS_MIN). That is totally broken and unnecessary. Make the initialization explicitly NULL. Signed-off-by: Zachary Amsden Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f40a72a7e819789f66910c8cd60aab005cdb413 tree d8006a8cea9b19f2871c5fdafa373d1dc5db46ec parent ca140fdadbe4c031a20a970f46163908d09a116b author Natalie Protasevich Sun, 30 Oct 2005 14:59:32 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:12 -0800 [PATCH] x86: hot plug CPU to support physical add of new processors The patch allows physical bring-up of new processors (not initially present in the configuration) from facilities such as driver/utility implemented on a platform. The actual method of making processors available is up to the platform implementation. Signed-off-by: Natalie Protasevich Cc: Shaohua Li Cc: Ashok Raj Cc: Zwane Mwaikambo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca140fdadbe4c031a20a970f46163908d09a116b tree 5dff340fd0bb88751604d7d7ffdcb0fe55144005 parent d16aafff2570abb557a5cb18c98027aabd602e22 author Paolo 'Blaisorblade' Giarrusso Sun, 30 Oct 2005 14:59:31 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:12 -0800 [PATCH] i386: little pgtable.h consolidation vs 2/3level Join together some common functions (pmd_page{,_kernel}) over 2level and 3level pages. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Acked-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d16aafff2570abb557a5cb18c98027aabd602e22 tree b2ce02548c87f162cbae7071b0195505d355bbb1 parent d5cd4aadd3d220afac8e3e6d922e333592551f7d author Siddha, Suresh B Sun, 30 Oct 2005 14:59:30 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:11 -0800 [PATCH] intel_cacheinfo: remove MAX_CACHE_LEAVES limit Initial internal version of Venki's cpuid(4) deterministic cache parameter identification patch used static arrays of size MAX_CACHE_LEAVES. Final patch which made to the base used dynamic array allocation, with this MAX_CACHE_LEAVES limit hunk still in place. cpuid(4) already has a mechanism to find out the number of cache levels implemented and there is no need for this hardcoded MAX_CACHE_LEAVES limit. So remove the MAX_CACHE_LEAVES limit from the routine which calculates the number of cache levels using cpuid(4) Signed-off-by: Suresh Siddha Cc: Venkatesh Pallipadi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5cd4aadd3d220afac8e3e6d922e333592551f7d tree 7704d4d242a57668e94f7915b8b995f620ef3bcd parent 08967f941ad897b2f7c2f99e886c75d6319e5087 author Bart Oldeman Sun, 30 Oct 2005 14:59:29 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:11 -0800 [PATCH] x86: initialise tss->io_bitmap_owner to something There exists a field io_bitmap_owner in the TSS that is only checked, but never set to anything else but NULL. Signed-off-by: Bart Oldeman Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 08967f941ad897b2f7c2f99e886c75d6319e5087 tree 7277fe5fee546f5d94debfc479f81bdc4af895a4 parent 8896fab35e62aa748a5ce62ac773508e51f10be1 author Shaohua Li Sun, 30 Oct 2005 14:59:28 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:11 -0800 [PATCH] FPU context corrupted after resume mxcsr_feature_mask_init isn't needed in suspend/resume time (we can use boot time mask). And actually it's harmful, as it clear task's saved fxsave in resume. This bug is widely seen by users using zsh. (akpm: my eyes. Fixed some surrounding whitespace mess) Signed-off-by: Shaohua Li Cc: Pavel Machek Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8896fab35e62aa748a5ce62ac773508e51f10be1 tree bb8f2dce7b5d0aa6ffe68aa6b97920d2ce32e164 parent dacb16b1a034fa7a0b868ee30758119fbfd90bc1 author Jan Beulich Sun, 30 Oct 2005 14:59:27 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:11 -0800 [PATCH] x86: cmpxchg improvements This adjusts i386's cmpxchg patterns so that - for word and long cmpxchg-es the compiler can utilize all possible registers - cmpxchg8b gets disabled when the minimum specified hardware architectur doesn't support it (like was already happening for the byte, word, and long ones). Signed-off-by: Jan Beulich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dacb16b1a034fa7a0b868ee30758119fbfd90bc1 tree daaa631c9c6fa2ad011647fb3acd219784faf2e2 parent bfd51626cbf61cb23f787d8ff972ef0d5ddacc0b author Mathieu Desnoyers Sun, 30 Oct 2005 14:59:25 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:11 -0800 [PATCH] i386 and x86_64 TSC set_cyc2ns_scale imprecision I just found out that some precision is unnecessarily lost in the arch/i386/kernel/timers/timer_tsc.c:set_cyc2ns_scale function. It uses a cpu_mhz parameter when it could use a cpu_khz. In the specific case of an Intel P4 running at 3001.171 Mhz, the truncation to 3001 Mhz leads to an imprecision of 19 microseconds per second : this is very sad for a timer with nearly nanosecond accuracy. Fix the x86_64 architecture too. Cc: george anzinger Cc: john stultz Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bfd51626cbf61cb23f787d8ff972ef0d5ddacc0b tree 63e2a8e552b33509130822ed9222d7266cbeb69f parent ce4c2bd1a9dfebaefadc2d34b17c6f12101751be author Davi Arnaut Sun, 30 Oct 2005 14:59:24 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:11 -0800 [PATCH] SELinux: remove unecessary size_t checks in selinuxfs This patch removes a bunch of unecessary checks for (size_t < 0) in selinuxfs. Signed-off-by: James Morris Acked-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ce4c2bd1a9dfebaefadc2d34b17c6f12101751be tree dde9437929d9b15ced25758c8389360ba4073cdb parent d381d8a9a08cac9824096213069159be17fd2e2f author Andrew Morton Sun, 30 Oct 2005 14:59:23 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:11 -0800 [PATCH] selinux-canonicalize-getxattr-fix security/selinux/hooks.c: In function `selinux_inode_getxattr': security/selinux/hooks.c:2193: warning: unused variable `sbsec' Cc: James Morris Cc: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d381d8a9a08cac9824096213069159be17fd2e2f tree 0c19722b8f67c29b7c08c6ab8776a9c146395d03 parent 89d155ef62e5e0c10e4b37aaa5056f0beafe10e6 author James Morris Sun, 30 Oct 2005 14:59:22 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:11 -0800 [PATCH] SELinux: canonicalize getxattr() This patch allows SELinux to canonicalize the value returned from getxattr() via the security_inode_getsecurity() hook, which is called after the fs level getxattr() function. The purpose of this is to allow the in-core security context for an inode to override the on-disk value. This could happen in cases such as upgrading a system to a different labeling form (e.g. standard SELinux to MLS) without needing to do a full relabel of the filesystem. In such cases, we want getxattr() to return the canonical security context that the kernel is using rather than what is stored on disk. The implementation hooks into the inode_getsecurity(), adding another parameter to indicate the result of the preceding fs-level getxattr() call, so that SELinux knows whether to compare a value obtained from disk with the kernel value. We also now allow getxattr() to work for mountpoint labeled filesystems (i.e. mount with option context=foo_t), as we are able to return the kernel value to the user. Signed-off-by: James Morris Signed-off-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 89d155ef62e5e0c10e4b37aaa5056f0beafe10e6 tree 7de1f357efd619000970526ca2688f79b9022417 parent 0d078f6f96809c95c69b99d6605a502b0ac63d3d author James Morris Sun, 30 Oct 2005 14:59:21 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:11 -0800 [PATCH] SELinux: convert to kzalloc This patch converts SELinux code from kmalloc/memset to the new kazalloc unction. On i386, this results in a text saving of over 1K. Before: text data bss dec hex filename 86319 4642 15236 106197 19ed5 security/selinux/built-in.o After: text data bss dec hex filename 85278 4642 15236 105156 19ac4 security/selinux/built-in.o Signed-off-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d078f6f96809c95c69b99d6605a502b0ac63d3d tree 1b4691abab5f96f2aa8a5217a2701f181b41940d parent 4276d32260662d5401a15a0a46e506fb5c8ab563 author Brian Gerst Sun, 30 Oct 2005 14:59:20 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:10 -0800 [PATCH] CONFIG_IA32 Add CONFIG_X86_32 for i386. This allows selecting options that only apply to 32-bit systems. (X86 && !X86_64) becomes X86_32 (X86 || X86_64) becomes X86 Signed-off-by: Brian Gerst Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4276d32260662d5401a15a0a46e506fb5c8ab563 tree 5968cda01076da10592729986975c7952d18862e parent 6e9d6b8ee4e0c37d3952256e6472c57490d6780d author Brian Gerst Sun, 30 Oct 2005 14:59:18 -0800 committer Linus Torvalds Sun, 30 Oct 2005 17:37:10 -0800 [PATCH] Remove redundant configs.o Since CONFIG_IKCONFIG_PROC already depends on CONFIG_IKCONFIG, adding configs.o again is redundant. Signed-off-by: Brian Gerst Cc: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46595ffbfc8ba79f27cdf8a029ee068b3b34c69f tree 274d110768eb1a8f899c3271df0d41bb852ddd0a parent 77bb86a1b9f8b872d8efc33c4f4359f809220252 author John Bowler Sun, 30 Oct 2005 23:40:26 +0000 committer Russell King Sun, 30 Oct 2005 23:40:26 +0000 [ARM] arch-ixp4xx/io.h: make const args const to remove compiler warning Compiler warning fix; the inline callers of these APIs were changed to have const vaddr parameters. Signed-off-by: John Bowler Signed-off-by: Andrew Morton Signed-off-by: Russell King commit 77bb86a1b9f8b872d8efc33c4f4359f809220252 tree 3f0b5980d340cdec48700ab398ea9a4b1e48ee5a parent 1753298947afe5eb56da755bc057f1868f345ec1 author Pavel Machek Sun, 30 Oct 2005 23:39:02 +0000 committer Russell King Sun, 30 Oct 2005 23:39:02 +0000 [ARM] Support pcmcia slot on sharp sl-5500 This adds support for pcmcia slot on sharp zaurus sl-5500. pxa2xx_sharpsl.c thus becomes quite miss-named, but I guess that is not worth fixing? Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Russell King commit 1753298947afe5eb56da755bc057f1868f345ec1 tree 029133570ff8c2f0f642ff985b19dd64faf40dfe parent 5ecdb02c9d8b7f76108da6fcb2a66fdf5eed3116 author Pavel Machek Sun, 30 Oct 2005 23:38:01 +0000 committer Russell King Sun, 30 Oct 2005 23:38:01 +0000 [ARM] Sharp sl-5500 touchscreen support This adds support for sharp zaurus sl-5500 touchscreen. It introduces some not-too-nice ifs, but I guess copying whole ucb1x00-ts.c would be bad idea... Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Russell King commit 5ecdb02c9d8b7f76108da6fcb2a66fdf5eed3116 tree 7dfca8c6f2b19dc28794c98e9d269eac4f2407d3 parent 7012f9084e3ef27028b4f2ab37428662766a743a author Deepak Saxena Sun, 30 Oct 2005 23:36:37 +0000 committer Russell King Sun, 30 Oct 2005 23:36:37 +0000 [ARM] fix ixp2x00 defconfig NR_UARTS options IXDP2[48]00 have only 1 UART on the board. Signed-off-by: Deepak Saxena Signed-off-by: Andrew Morton Signed-off-by: Russell King commit 7012f9084e3ef27028b4f2ab37428662766a743a tree 7d708d13e8133a776e300791f79b47e938431683 parent f741a1aab5fd7892927208ca37eb86b9ea85784a author Deepak Saxena Sun, 30 Oct 2005 23:35:58 +0000 committer Russell King Sun, 30 Oct 2005 23:35:58 +0000 [ARM] fix bogus cast in IXP2000 I/O macro Physical addresses are not valid pointers of any sort and should not be cast to such. Signed-off-by: Deepak Saxena Signed-off-by: Andrew Morton Signed-off-by: Russell King commit a2436b22deac7834e0f87897b207a2dc1407dc40 tree 4c4ad96ee6c55f3fe68605ef5bd1d98aca8d3092 parent 9f75e1eff3edb2bb07349b94c28f4f2a6c66ca43 author Jayachandran C Sun, 30 Oct 2005 23:26:16 +0000 committer Russell King Sun, 30 Oct 2005 23:26:16 +0000 [SERIAL] remove unneeded code from serial_core.c This patch fixes an issue reported by Coverity in serial/serial_core.c Error reported: Variable "&((info)->tty)->flags" tracked as NULL was passed to a function that dereferences it. The later statements in the function assumes 'info->tty != NULL', so this check is not necessary. Probably a 'BUG_ON(info->tty == NULL)' can be added. Signed-off-by: Jayachandran C. Signed-off-by: Andrew Morton Signed-off-by: Russell King commit f741a1aab5fd7892927208ca37eb86b9ea85784a tree c4060ea9292f5e8f98e87ef354079bc900d81243 parent cb7610d018235653c73ff1fea79b962c16317474 author Nicolas Pitre Sun, 30 Oct 2005 23:08:03 +0000 committer Russell King Sun, 30 Oct 2005 23:08:03 +0000 [ARM] 3049/1: More optimized libgcc functions Patch from Nicolas Pitre This patch gets rid of the last C implementations of needed libgcc functions for the kernel, replacing them with optimized assembly versions. Those functions are: __ashldi3 __ashrdi3 __lshrdi3 __muldi3 __ucmpdi2 The first 3 were lifted from gcc, the other two were written from scratch. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 6e9d6b8ee4e0c37d3952256e6472c57490d6780d tree 39161fdc999565ddb47a55fad57ab6f1b7266b97 parent d3f8cf489993658702b7e58ff37162246263de53 parent a9524a76f70f3343e4be27f95a7e92a8ba5f9009 author Linus Torvalds Sun, 30 Oct 2005 14:47:58 -0800 committer Linus Torvalds Sun, 30 Oct 2005 14:47:58 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev commit d3f8cf489993658702b7e58ff37162246263de53 tree 268db74a65b90335fb3457357e46e732696cfbb0 parent 08db2a701bd63d0e36f06a29137bf016a907cf71 author Trond Myklebust Sun, 30 Oct 2005 17:38:25 -0500 committer Linus Torvalds Sun, 30 Oct 2005 14:46:47 -0800 [PATCH] NFS: Remove unbalanced spin_unlock() calls from nfs_refresh_inode() Doh! Signed-off-by: Trond Myklebust Signed-off-by: Linus Torvalds commit 08db2a701bd63d0e36f06a29137bf016a907cf71 tree 2aba7ab91b1f095458e3dd41078f64440061dbe9 parent 9f75e1eff3edb2bb07349b94c28f4f2a6c66ca43 author Linus Torvalds Sun, 30 Oct 2005 14:40:07 -0800 committer Linus Torvalds Sun, 30 Oct 2005 14:40:07 -0800 Fix PIIX4 SMB region size Petr Vandrovec correctly points out that the SMB region of the PIIX4 is just 16 bytes, not 32. Signed-off-by: Linus Torvalds commit cb7610d018235653c73ff1fea79b962c16317474 tree 94bfee553792813e6d6481de6a30369cd12a6b53 parent 1d1fd66c45fa78c6fed61612e14dad0e24c815c2 author Russell King Sun, 30 Oct 2005 21:12:08 +0000 committer Russell King Sun, 30 Oct 2005 21:12:08 +0000 [ARM] Clean up dmabounce Encapsulate pool data into dmabounce_pool. Only account successful allocations. Use dma_mapping_error(). Signed-off-by: Russell King commit 07b188ab773e183871e57b33ae37bf635c9f12ba tree 311df8a0dd12fb7bd3e9b5b1a5ca500f0428d679 parent 47c564e10f219f867bdb49225972749a43485a47 parent 9f75e1eff3edb2bb07349b94c28f4f2a6c66ca43 author Anton Altaparmakov Sun, 30 Oct 2005 21:00:04 +0000 committer Anton Altaparmakov Sun, 30 Oct 2005 21:00:04 +0000 Merge branch 'master' of /usr/src/ntfs-2.6/ commit a9524a76f70f3343e4be27f95a7e92a8ba5f9009 tree 00d2b6d02dfaa4796ad4bee51171aabe39b52dd8 parent fbf30fbaa61595e9026f628f3913888b0df2b288 author Jeff Garzik Sun, 30 Oct 2005 14:39:11 -0500 committer Jeff Garzik Sun, 30 Oct 2005 14:39:11 -0500 [libata] use dev_printk() throughout drivers A few drivers were not following the standard meme of printing out their driver name and version at module load time; this is fixed as well. commit 1d1fd66c45fa78c6fed61612e14dad0e24c815c2 tree f78f5370f45eaa17d6eea0b8378f20d99ccff8f2 parent b4c2803ca8ad7bb1aad215d89532e24488e9e68e author Russell King Sun, 30 Oct 2005 19:07:59 +0000 committer Russell King Sun, 30 Oct 2005 19:07:59 +0000 [ARM] Turn ARM RiscPC PCF8583 i2c RTC driver into a proper module Signed-off-by: Russell King commit b4c2803ca8ad7bb1aad215d89532e24488e9e68e tree 719a557c8f30724270d59a425c33fc0d1db067ed parent d362979aa2b031b91ee12122e5c4cad89577d8d3 author Russell King Sun, 30 Oct 2005 19:03:21 +0000 committer Russell King Sun, 30 Oct 2005 19:03:21 +0000 [ARM] Make v6 copypage function static and cleanup pgprots We know what pgprot we're going to use, so don't #define it. Also, since we select the nonaliasing/aliasing copypage implementation at run time, there's no point having it globally visible. Signed-off-by: Russell King commit d362979aa2b031b91ee12122e5c4cad89577d8d3 tree 45b418415e77f104f8d90f2fb4c99b1acc9fb365 parent dc07845d0ce20d771fb96b0a5db57ffec2a89d3e author Russell King Sun, 30 Oct 2005 19:01:43 +0000 committer Russell King Sun, 30 Oct 2005 19:01:43 +0000 [ARM] Re-organise die() Provide __die() which can be called from various contexts to provide an oops report. Signed-off-by: Russell King commit 8576762ff5d109b841fcf4e7d3883e0cf794f3cf tree ad8fc56461bc29531a2b42d71c17d1db3c909263 parent e32e28edc3d894201e15b19df627af66023aa91f author Russell King Sun, 30 Oct 2005 16:33:11 +0000 committer Russell King Sun, 30 Oct 2005 16:33:11 +0000 [DRIVER MODEL] Add missing driver_unregister to IMX serial driver Fix the IMX serial driver to unregister its driver structure when it is unloaded. Signed-off-by: Russell King Acked-by: Greg Kroah-Hartman commit e32e28edc3d894201e15b19df627af66023aa91f tree ac7f1bf0f55b6bc68ef931be7b6a7098f059d867 parent bbbf508d6403f9dfeeb040d9cd7366e395632e59 author Russell King Sun, 30 Oct 2005 16:32:27 +0000 committer Russell King Sun, 30 Oct 2005 16:32:27 +0000 [DRIVER MODEL] Add missing driver_unregister in i2c-s3c2410 failure path. Signed-off-by: Russell King Acked-by: Greg Kroah-Hartman commit dc07845d0ce20d771fb96b0a5db57ffec2a89d3e tree b643e9529f2519e6ee616e39e7ed08d5307f7b0a parent ca1140b57d0a203f3db848ba5f63609a8ccd92b6 author Richard Purdie Sun, 30 Oct 2005 14:50:25 +0000 committer Russell King Sun, 30 Oct 2005 14:50:25 +0000 [ARM] 3069/1: Add spitz irda platform support Patch from Richard Purdie Add spitz irda platform support Signed-off-by: Richard Purdie Signed-off-by: Russell King commit ca1140b57d0a203f3db848ba5f63609a8ccd92b6 tree c2b29c2e82e40198bf7841ce94d99e1d1a6835ac parent 8e4b8715d815a29b4f0655e698a0c5f8d05b6dc9 author Richard Purdie Sun, 30 Oct 2005 14:38:53 +0000 committer Russell King Sun, 30 Oct 2005 14:38:53 +0000 [ARM] 3068/1: Add corgi irda platform support Patch from Richard Purdie Add corgi irda platform support Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 8e4b8715d815a29b4f0655e698a0c5f8d05b6dc9 tree e288c32bd20ed23276ee7c3b06c1845946a685b3 parent 91e1a512291f258746611c18ec4970a81c9f311b author Richard Purdie Sun, 30 Oct 2005 14:38:52 +0000 committer Russell King Sun, 30 Oct 2005 14:38:52 +0000 [ARM] 3067/1: Add poodle irda platform support Patch from Richard Purdie Add poodle irda platform support Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 91e1a512291f258746611c18ec4970a81c9f311b tree 1005eb3a28ba9059d2439c6ddc7dd75857f680fe parent 9f75e1eff3edb2bb07349b94c28f4f2a6c66ca43 author Richard Purdie Sun, 30 Oct 2005 14:38:52 +0000 committer Russell King Sun, 30 Oct 2005 14:38:52 +0000 [ARM] 3066/1: Fix PXA irda driver suspend/resume functions Patch from Richard Purdie Update the PXA irda driver to match the recent platform device suspend/resume level changes. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit fbf30fbaa61595e9026f628f3913888b0df2b288 tree 9287895eebc60ec0c02b002a089c125e8741f6fb parent 6248e64721a4f3db9fbedd207206f47835acce44 author Jeff Garzik Sun, 30 Oct 2005 07:57:31 -0500 committer Jeff Garzik Sun, 30 Oct 2005 07:57:31 -0500 [libata ata_piix] fix native mode probe, after recent updates commit 5f6b5b973a125de0dbe236ce659a495787c81ff0 tree 49286d23fff0b829e2c93831925eadceeeb6cd7a parent eb66ce6333742e32825f0294310ff53e284fa828 author Paul Mackerras Sun, 30 Oct 2005 22:55:52 +1100 committer Paul Mackerras Sun, 30 Oct 2005 22:55:52 +1100 powerpc: Fix time setting bug on 32-bit This fixes a bug where settimeofday would set the wrong parameters in do_gtod, resulting in gettimeofday returning a value about 4 hours after the correct time. The bug was that we divided a negative 64-bit value with do_div, which treated it as unsigned and gave us a result that was approximately 1.8e10 too large (since the divisor was 1e9). Signed-off-by: Paul Mackerras commit 6248e64721a4f3db9fbedd207206f47835acce44 tree d1db8f297b3b0fd3cc067d008df12c5f0e446d05 parent 0f0d5192696eeb3072944a4a813809cc2c85891a author Jeff Garzik Sun, 30 Oct 2005 06:42:18 -0500 committer Jeff Garzik Sun, 30 Oct 2005 06:42:18 -0500 [libata ata_piix] use dev_printk() where appropriate commit 0f0d5192696eeb3072944a4a813809cc2c85891a tree ae7234824d8403e1cb430db6ba0adb1b5c816fba parent a7dac447bb9cef27d4d29cdf63e2d7809c50b1f4 author Jeff Garzik Sun, 30 Oct 2005 06:41:29 -0500 committer Jeff Garzik Sun, 30 Oct 2005 06:41:29 -0500 [libata] fix legacy IDE probing ata_pci_init_one() receives an array of struct ata_port_info. Recent updates to the code had always obtained port information from array element 0, rather than array element N. Change to avoid hardcoding port_info[0], thereby restoring proper hardware information to secondary legacy ports. commit 936d8592654bb97d5706a73c0e2a6339b090f7fb tree 78282b935a267627ef7b259853aced6abb9fc566 parent 9e1d98c5d8613d917004a193d4f989a3544d8fef author Pierre Ossman Sun, 30 Oct 2005 10:15:58 +0000 committer Russell King Sun, 30 Oct 2005 10:15:58 +0000 [MMC] Use command class to determine read-only status If a card doesn't support the "write block" command class then any attempts to open the device should reflect this by denying write access. Signed-off-by: Pierre Ossman Signed-off-by: Russell King commit 9e1d98c5d8613d917004a193d4f989a3544d8fef tree 6f442dfb7b5153e4d305db212a372ba8c4d01580 parent 9f75e1eff3edb2bb07349b94c28f4f2a6c66ca43 author Russell King Sun, 30 Oct 2005 10:10:13 +0000 committer Russell King Sun, 30 Oct 2005 10:10:13 +0000 [MMC] pxamci doesn't need to include asm/irq.h Signed-off-by: Russell King commit a7dac447bb9cef27d4d29cdf63e2d7809c50b1f4 tree a8935490cdd374aba3a804ba9f79d1aed67db36d parent 81cfb8864c73230eb1c37753aba517db15cf4d8f author Jeff Garzik Sun, 30 Oct 2005 04:44:42 -0500 committer Jeff Garzik Sun, 30 Oct 2005 04:44:42 -0500 [libata] change ata_qc_complete() to take error mask as second arg The second argument to ata_qc_complete() was being used for two purposes: communicate the ATA Status register to the completion function, and indicate an error. On legacy PCI IDE hardware, the latter is often implicit in the former. On more modern hardware, the driver often completely emulated a Status register value, passing ATA_ERR as an indication that something went wrong. Now that previous code changes have eliminated the need to use drv_stat arg to communicate the ATA Status register value, we can convert it to a mask of possible error classes. This will lead to more flexible error handling in the future. commit 81cfb8864c73230eb1c37753aba517db15cf4d8f tree 649ff25543834cf9983ea41b93126bea97d75475 parent 0169e284f6b6b263cc7c2ed25986b96cd6fda610 parent 9f75e1eff3edb2bb07349b94c28f4f2a6c66ca43 author Jeff Garzik Sun, 30 Oct 2005 01:56:31 -0500 committer Jeff Garzik Sun, 30 Oct 2005 01:56:31 -0500 Merge branch 'master' commit 9f75e1eff3edb2bb07349b94c28f4f2a6c66ca43 tree 27a73405d3652dc6771fab28721b70e6d44ff47a parent b1459461f1e0abd5c28317d6bff6f2ca612a719d parent 1b40efd772f4419fbc1a8940506424246985c333 author Linus Torvalds Sat, 29 Oct 2005 21:48:06 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:48:06 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6 commit b1459461f1e0abd5c28317d6bff6f2ca612a719d tree 32ba1d395e8532d14749c2d95ff57fdba2aaddc2 parent 2f96996de0eda378df2a5f857ee1ef615ae10a4f author Nikita Danilov Sat, 29 Oct 2005 18:17:02 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:45 -0700 [PATCH] mm/filemap.c:filemap_populate(): move export. move EXPORT_SYMBOL(filemap_populate) to the proper place: just after function itself: it's easy to miss that function is exported otherwise. Signed-off-by: Nikita Danilov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2f96996de0eda378df2a5f857ee1ef615ae10a4f tree ee3075c48a99369c9748ee17d3bb8396e9f38372 parent 5fcbb23050936d69de8087d4b311eaf55cb42740 author John Hawkes Sat, 29 Oct 2005 18:17:01 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:45 -0700 [PATCH] mm: wider use of for_each_*cpu() In 'mm' change the explicit use of a for-loop using NR_CPUS into the general for_each_cpu() constructs. This widens the scope of potential future optimizations of the general constructs, as well as takes advantage of the existing optimizations of first_cpu() and next_cpu(), which is advantageous when the true CPU count is much smaller than NR_CPUS. Signed-off-by: John Hawkes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5fcbb23050936d69de8087d4b311eaf55cb42740 tree 10d14ca6927bc1bfa4bca4d206d2e1039f6cbf03 parent 8bccd85ffbaf8ff1448d1235fa6594e207695531 author Christoph Lameter Sat, 29 Oct 2005 18:17:00 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:45 -0700 [PATCH] Remove policy contextualization from mbind Policy contextualization is only useful for task based policies and not for vma based policies. It may be useful to define allowed nodes that are not accessible from this thread because other threads may have access to these nodes. Without this patch strange memory policy situations may cause an application to fail with out of memory. Example: Let's say we have two threads A and B that share the same address space and a huge array computational array X. Thread A is restricted by its cpuset to nodes 0 and 1 and thread B is restricted by its cpuset to nodes 2 and 3. Thread A now wants to restrict allocations to the first node and thus applies a BIND policy on X to node 0 and 2. The cpuset limits this to node 0. Thus pages for X must be allocated on node 0 now. Thread B now touches a page that has never been used in X and faults in a page. According to the BIND policy of the vma for X the page must be allocated on page 0. However, the cpuset of B does not allow allocation on 0 and 1. Now the application fails in alloc_pages with out of memory. Signed-off-by: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8bccd85ffbaf8ff1448d1235fa6594e207695531 tree d5ed1f3b2ba1d301c74cc0a62ed416e634c5bebb parent bb7e7e032d2cb8e0e9a88a2be209de5e61033b39 author Christoph Lameter Sat, 29 Oct 2005 18:16:59 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:45 -0700 [PATCH] Implement sys_* do_* layering in the memory policy layer. - Do a separation between do_xxx and sys_xxx functions. sys_xxx functions take variable sized bitmaps from user space as arguments. do_xxx functions take fixed sized nodemask_t as arguments and may be used from inside the kernel. Doing so simplifies the initialization code. There is no fs = kernel_ds assumption anymore. - Split up get_nodes into get_nodes (which gets the node list) and contextualize_policy which restricts the nodes to those accessible to the task and updates cpusets. - Add comments explaining limitations of bind policy Signed-off-by: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb7e7e032d2cb8e0e9a88a2be209de5e61033b39 tree 90cf33b97fed90f21b6f896198f8fdece695bbde parent 05039b926374212b2d861860cf54b9e839d4dd76 author Dave Hansen Sat, 29 Oct 2005 18:16:58 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:45 -0700 [PATCH] memory hotplug: ppc64 specific hot-add functions Here is a set of ppc64 specific patches that at least allow compilation/booting with the following configurations: FLATMEM SPARSEMEN SPARSEMEM + MEMORY_HOTPLUG Signed-off-by: Mike Kravetz Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05039b926374212b2d861860cf54b9e839d4dd76 tree 0e52a07bcff5bcdd612b53eec808a58c1b2c2525 parent 61b13993a81866fc1d4830dfab80530c9c061e37 author Dave Hansen Sat, 29 Oct 2005 18:16:57 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:45 -0700 [PATCH] memory hotplug: i386 addition functions Adds the necessary for non-NUMA hot-add of highmem to an existing zone on i386. Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 61b13993a81866fc1d4830dfab80530c9c061e37 tree 4d8f3acd428438b37e5b28246c666e0fdfba5335 parent 0b0acbec1bed75ec1e1daa7f7006323a2a2b2844 author Dave Hansen Sat, 29 Oct 2005 18:16:56 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:44 -0700 [PATCH] memory hotplug: call setup_per_zone_pages_min after hotplug From: IWAMOTO Toshihiro > I found the tests does not work well with Dave's patchset. > I've found the followings: > > - setup_per_zone_pages_min() calls should be added in > capture_page_range() and online_pages() > - lru_add_drain() should be called before try_to_migrate_pages() The following patch deals with the first item. Signed-off-by: IWAMOTO Toshihiro Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0b0acbec1bed75ec1e1daa7f7006323a2a2b2844 tree e0d54fbaa6b8b0955ed881af8956b4085039b2d1 parent 3947be1969a9ce455ec30f60ef51efb10e4323d1 author Dave Hansen Sat, 29 Oct 2005 18:16:55 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:44 -0700 [PATCH] memory hotplug: move section_mem_map alloc to sparse.c This basically keeps up from having to extern __kmalloc_section_memmap(). The vaddr_in_vmalloc_area() helper could go in a vmalloc header, but that header gets hard to work with, because it needs some arch-specific macros. Just stick it in here for now, instead of creating another header. Signed-off-by: Dave Hansen Signed-off-by: Lion Vollnhals Signed-off-by: Jiri Slaby Signed-off-by: Yasunori Goto Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3947be1969a9ce455ec30f60ef51efb10e4323d1 tree 0b4b3b4c268beb7aa88cb685cce48b6bb5053c47 parent bdc8cb984576ab5b550c8b24c6fa111a873503e3 author Dave Hansen Sat, 29 Oct 2005 18:16:54 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:44 -0700 [PATCH] memory hotplug: sysfs and add/remove functions This adds generic memory add/remove and supporting functions for memory hotplug into a new file as well as a memory hotplug kernel config option. Individual architecture patches will follow. For now, disable memory hotplug when swsusp is enabled. There's a lot of churn there right now. We'll fix it up properly once it calms down. Signed-off-by: Matt Tolentino Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bdc8cb984576ab5b550c8b24c6fa111a873503e3 tree f94548988874caa10d770e6e65bc50c925abf825 parent 208d54e5513c0c02d85af0990901354c74364d5c author Dave Hansen Sat, 29 Oct 2005 18:16:53 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:44 -0700 [PATCH] memory hotplug locking: zone span seqlock See the "fixup bad_range()" patch for more information, but this actually creates a the lock to protect things making assumptions about a zone's size staying constant at runtime. Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 208d54e5513c0c02d85af0990901354c74364d5c tree 83922f1d4a83f19bffcbff299044f421bd7e9c73 parent c6a57e19e464db118dc4ab9cfe9e9748c6d630a0 author Dave Hansen Sat, 29 Oct 2005 18:16:52 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:44 -0700 [PATCH] memory hotplug locking: node_size_lock pgdat->node_size_lock is basically only neeeded in one place in the normal code: show_mem(), which is the arch-specific sysrq-m printing function. Strictly speaking, the architectures not doing memory hotplug do no need this locking in show_mem(). However, they are all included for completeness. This should also make any future consolidation of all of the implementations a little more straightforward. This lock is also held in the sparsemem code during a memory removal, as sections are invalidated. This is the place there pfn_valid() is made false for a memory area that's being removed. The lock is only required when doing pfn_valid() operations on memory which the user does not already have a reference on the page, such as in show_mem(). Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c6a57e19e464db118dc4ab9cfe9e9748c6d630a0 tree 1be192e4c0635c9aa49c8c76d1606e606ecdc9a0 parent 4ca644d970bf2542623228a4624af356d20ca267 author Dave Hansen Sat, 29 Oct 2005 18:16:52 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:44 -0700 [PATCH] memory hotplug prep: fixup bad_range() When doing memory hotplug operations, the size of existing zones can obviously change. This means that zone->zone_{start_pfn,spanned_pages} can change. There are currently no locks that protect these structure members. However, they are rarely accessed at runtime. Outside of swsusp, the only place that I can find is bad_range(). So, split bad_range() up into two pieces: one that needs to be locked and anther that doesn't. Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ca644d970bf2542623228a4624af356d20ca267 tree 1040782e8799d5531a5ee1d5f1143e26e8781e9d parent ed8ece2ec8d3c2031b1a1a0737568bb0d49454e0 author Dave Hansen Sat, 29 Oct 2005 18:16:51 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:44 -0700 [PATCH] memory hotplug prep: __section_nr helper A little helper that we use in the hotplug code. Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed8ece2ec8d3c2031b1a1a0737568bb0d49454e0 tree 5fb5b994ad3fcdc4ab2bb2c906d88c02a8395807 parent 2774812f417db562f0d659d2c1b5755ba35d2770 author Dave Hansen Sat, 29 Oct 2005 18:16:50 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:44 -0700 [PATCH] memory hotplug prep: break out zone initialization If a zone is empty at boot-time and then hot-added to later, it needs to run the same init code that would have been run on it at boot. This patch breaks out zone table and per-cpu-pages functions for use by the hotplug code. You can almost see all of the free_area_init_core() function on one page now. :) Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2774812f417db562f0d659d2c1b5755ba35d2770 tree b277d15f7165753539fe141df44c7805e1227d4d parent 1a44e149084d772a1bcf4cdbdde8a013a8a1cfde author Dave Hansen Sat, 29 Oct 2005 18:16:49 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:44 -0700 [PATCH] memory hotplug prep: kill local_mapnr The following series implements memory hot-add for ppc64 and i386. There are x86_64 and ia64 implementations that will be submitted shortly as well, through the normal maintainers. This patch: local_mapnr is unused, except for in an alpha header. Keep the alpha one, kill the rest. Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1a44e149084d772a1bcf4cdbdde8a013a8a1cfde tree b3f682ce8df89edb9740fdd5c178df5accc49736 parent 2e9b367c2273ed21c9852a04d90944d472c4f3e6 author Andrea Arcangeli Sat, 29 Oct 2005 18:16:48 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:43 -0700 [PATCH] .text page fault SMP scalability optimization We had a problem on ppc64 where with more than 4 threads a large system wouldn't scale well while faulting in the .text (most of the time was spent in the kernel despite it was an userland compute intensive app). The reason is the useless overwrite of the same pte from all cpu. I fixed it this way (verified on an older kernel but the forward port is almost identical). This will benefit all archs not just ppc64. Signed-off-by: Andrea Arcangeli Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2e9b367c2273ed21c9852a04d90944d472c4f3e6 tree 75e802f07a8c4f0554547e8dd795f544c7e9d7e8 parent 4c887265977213985091476be40ab11dfdcb4caf author Adam Litke Sat, 29 Oct 2005 18:16:47 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:43 -0700 [PATCH] hugetlb: overcommit accounting check Basic overcommit checking for hugetlb_file_map() based on an implementation used with demand faulting in SLES9. Since demand faulting can't guarantee the availability of pages at mmap time, this patch implements a basic sanity check to ensure that the number of huge pages required to satisfy the mmap are currently available. Despite the obvious race, I think it is a good start on doing proper accounting. I'd like to work towards an accounting system that mimics the semantics of normal pages (especially for the MAP_PRIVATE/COW case). That work is underway and builds on what this patch starts. Huge page shared memory segments are simpler and still maintain their commit on shmget semantics. Signed-off-by: Adam Litke Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c887265977213985091476be40ab11dfdcb4caf tree 82ee135f8678094664d7311617287802d54d52cf parent 551110a94aa15890d1709b179c4be1e66ff6db53 author Adam Litke Sat, 29 Oct 2005 18:16:46 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:43 -0700 [PATCH] hugetlb: demand fault handler Below is a patch to implement demand faulting for huge pages. The main motivation for changing from prefaulting to demand faulting is so that huge page memory areas can be allocated according to NUMA policy. Thanks to consolidated hugetlb code, switching the behavior requires changing only one fault handler. The bulk of the patch just moves the logic from hugelb_prefault() to hugetlb_pte_fault() and find_get_huge_page(). Signed-off-by: Adam Litke Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 551110a94aa15890d1709b179c4be1e66ff6db53 tree f16ab250dcb50a7839d26b7abc2a165b705c5fb0 parent 0b1533f67cc1a595457af6d05ab3510294e2ca9c author Krishnakumar R Sat, 29 Oct 2005 18:16:45 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:43 -0700 [PATCH] hugetlb: remove repeated code Clean up some repeated code related to HugeTLB. hugetlb_zero_setup would have already allocated the file->f_op. Signed-off-by: Krishnakumar. R Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0b1533f67cc1a595457af6d05ab3510294e2ca9c tree 4cebbfe7632c0967a52f7c7fb7b0c15954eaab3a parent 6b09b9df05f319ec27e0dae1721efe097b8b23ad author Christoph Hellwig Sat, 29 Oct 2005 18:16:45 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:43 -0700 [PATCH] cleanup hugelbfs_forget_inode Reformat hugelbfs_forget_inode and add the missing but harmless write_inode_now call. It looks the same as generic_forget_inode now except for the call to truncate_hugepages instead of truncate_inode_pages. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b09b9df05f319ec27e0dae1721efe097b8b23ad tree 93f68801f5d0d8b93e0771dfc002163d97c5db6e parent 149f4211afda85743e3a3db3fa3abbd81506cf2b author Christoph Hellwig Sat, 29 Oct 2005 18:16:44 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:43 -0700 [PATCH] kill hugelbfs_do_delete_inode hugetlbfs_do_delete_inode is the same as generic_delete_inode now, so remove it in favour of the latter. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 149f4211afda85743e3a3db3fa3abbd81506cf2b tree f4709ee1ae5e8d580e4594db5c21add717a24324 parent 96527980d4cb8f65fe49efdbc4ab92c0837d42f6 author Christoph Hellwig Sat, 29 Oct 2005 18:16:43 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:43 -0700 [PATCH] hugetlbfs: clean up hugetlbfs_delete_inode Make hugetlbfs looks the same as generic_detelte_inode, fixing a bunch of missing updates to it at the same time. Rename it to hugetlbfs_do_delete_inode and add a real hugetlbfs_delete_inode that implements ->delete_inode. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96527980d4cb8f65fe49efdbc4ab92c0837d42f6 tree 93b6b438cee41d62e562ae277e67c9b6cad288a7 parent b8072f099b7829a6ff3eba618e1d079a81f753f8 author Christoph Hellwig Sat, 29 Oct 2005 18:16:42 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:43 -0700 [PATCH] hugetlbfs: move free_inodes accounting Move hugetlbfs accounting into ->alloc_inode / ->destroy_inode. This keeps the code simpler, fixes a loeak where a failing inode allocation wouldn't decrement the counter and moves hugetlbfs_delete_inode and hugetlbfs_forget_inode closer to their generic counterparts. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b8072f099b7829a6ff3eba618e1d079a81f753f8 tree 80bf801b68ecf5f29a61f0f4fd5976b4daa91c6a parent f412ac08c9861b4791af0145934c22f1458686da author Hugh Dickins Sat, 29 Oct 2005 18:16:41 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:42 -0700 [PATCH] mm: update comments to pte lock Updated several references to page_table_lock in common code comments. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f412ac08c9861b4791af0145934c22f1458686da tree 5e515efa116f3968c2caa75bc691a197199313a8 parent 4c21e2f2441dc5fbb957b030333f5a3f2d02dea7 author Hugh Dickins Sat, 29 Oct 2005 18:16:41 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:42 -0700 [PATCH] mm: fix rss and mmlist locking A couple of oddities were guarded by page_table_lock, no longer properly guarded when that is split. The mm_counters of file_rss and anon_rss: make those an atomic_t, or an atomic64_t if the architecture supports it, in such a case. Definitions by courtesy of Christoph Lameter: who spent considerable effort on more scalable ways of counting, but found insufficient benefit in practice. And adding an mm with swap to the mmlist for swapoff: the list is well- guarded by its own lock, but the list_empty check now has to be repeated inside it. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c21e2f2441dc5fbb957b030333f5a3f2d02dea7 tree 1f76d33bb1d76221c6424bc5fed080a4f91349a6 parent b38c6845b695141259019e2b7c0fe6c32a6e720d author Hugh Dickins Sat, 29 Oct 2005 18:16:40 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:42 -0700 [PATCH] mm: split page table lock Christoph Lameter demonstrated very poor scalability on the SGI 512-way, with a many-threaded application which concurrently initializes different parts of a large anonymous area. This patch corrects that, by using a separate spinlock per page table page, to guard the page table entries in that page, instead of using the mm's single page_table_lock. (But even then, page_table_lock is still used to guard page table allocation, and anon_vma allocation.) In this implementation, the spinlock is tucked inside the struct page of the page table page: with a BUILD_BUG_ON in case it overflows - which it would in the case of 32-bit PA-RISC with spinlock debugging enabled. Splitting the lock is not quite for free: another cacheline access. Ideally, I suppose we would use split ptlock only for multi-threaded processes on multi-cpu machines; but deciding that dynamically would have its own costs. So for now enable it by config, at some number of cpus - since the Kconfig language doesn't support inequalities, let preprocessor compare that with NR_CPUS. But I don't think it's worth being user-configurable: for good testing of both split and unsplit configs, split now at 4 cpus, and perhaps change that to 8 later. There is a benefit even for singly threaded processes: kswapd can be attacking one part of the mm while another part is busy faulting. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b38c6845b695141259019e2b7c0fe6c32a6e720d tree e950aa393f0514e976fe9b46b3462607b016b1db parent 8f5cd76c185a4c8aeb5fe1e560e3612bfc050c35 author Hugh Dickins Sat, 29 Oct 2005 18:16:39 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:42 -0700 [PATCH] mm: uml kill unused In worrying over the various pte operations in different architectures, I came across some unused functions in UML: remove mprotect_kernel_vm, protect_vm_page and addr_pte. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f5cd76c185a4c8aeb5fe1e560e3612bfc050c35 tree 42f9fc842005eda8d898998850a20c6afb5ce7e6 parent a7e4705b24e611574e5c23105005ffdff694fd58 author Hugh Dickins Sat, 29 Oct 2005 18:16:38 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:42 -0700 [PATCH] mm: uml pte atomicity There's usually a good reason when a pte is examined without the lock; but it makes me nervous when the pointer is dereferenced more than once. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a7e4705b24e611574e5c23105005ffdff694fd58 tree 891228898aaa599e4f9f0f56e9f7cc6659b1cde7 parent 92dc6fcc845d99e87d8168e0786796525832d130 author Hugh Dickins Sat, 29 Oct 2005 18:16:37 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:42 -0700 [PATCH] mm: cris v32 mmu_context_lock The cris v32 switch_mm guards get_mmu_context with next->page_table_lock: good it's not really SMP yet, since get_mmu_context messes with global variables affecting other mms. Replace by global mmu_context_lock. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 92dc6fcc845d99e87d8168e0786796525832d130 tree ac36da7e3dc3e0ba62d4139443beb7eb7c25288d parent 69b0475456ff7ef520e16f69d7a15c0d68b74e64 author Hugh Dickins Sat, 29 Oct 2005 18:16:36 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:42 -0700 [PATCH] mm: parisc pte atomicity There's a worrying function translation_exists in parisc cacheflush.h, unaffected by split ptlock since flush_dcache_page is using it on some other mm, without any relevant lock. Oh well, make it a slightly more robust by factoring the pfn check within it. And it looked liable to confuse a camouflaged swap or file entry with a good pte: fix that too. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69b0475456ff7ef520e16f69d7a15c0d68b74e64 tree 3e70d47f16437254eff3b3cca4aa275be1b5e275 parent 60ec5585496871345c1a8113d7b60ed9d9474866 author Hugh Dickins Sat, 29 Oct 2005 18:16:36 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:42 -0700 [PATCH] mm: arm ready for split ptlock Prepare arm for the split page_table_lock: three issues. Signal handling's preserve and restore of iwmmxt context currently involves reading and writing that context to and from user space, while holding page_table_lock to secure the user page(s) against kswapd. If we split the lock, then the structure might span two pages, secured by to read into and write from a kernel stack buffer, copying that out and in without locking (the structure is 160 bytes in size, and here we're near the top of the kernel stack). Or would the overhead be noticeable? arm_syscall's cmpxchg emulation use pte_offset_map_lock, instead of pte_offset_map and mm-wide page_table_lock; and strictly, it should now also take mmap_sem before descending to pmd, to guard against another thread munmapping, and the page table pulled out beneath this thread. Updated two comments in fault-armv.c. adjust_pte is interesting, since its modification of a pte in one part of the mm depends on the lock held when calling update_mmu_cache for a pte in some other part of that mm. This can't be done with a split page_table_lock (and we've already taken the lowest lock in the hierarchy here): so we'll have to disable split on arm, unless CONFIG_CPU_CACHE_VIPT to ensures adjust_pte never used. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 60ec5585496871345c1a8113d7b60ed9d9474866 tree 172df570995ec777ca2a271dda7e3fcbb2dc5acb parent deceb6cd17e6dfafe4c4f81b1b4153bc41b2cb70 author Hugh Dickins Sat, 29 Oct 2005 18:16:34 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:41 -0700 [PATCH] mm: i386 sh sh64 ready for split ptlock Use pte_offset_map_lock, instead of pte_offset_map (or inappropriate pte_offset_kernel) and mm-wide page_table_lock, in sundry arch places. The i386 vm86 mark_screen_rdonly: yes, there was and is an assumption that the screen fits inside the one page table, as indeed it does. The sh __do_page_fault: which handles both kernel faults (without lock) and user mm faults (locked - though it set_pte without locking before). The sh64 flush_cache_range and helpers: which wrongly thought callers held page_table_lock before (only its tlb_start_vma did, and no longer does so); moved the flush loop down, and adjusted the large versus small range decision to consider a range which spans page tables as large. Signed-off-by: Hugh Dickins Acked-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit deceb6cd17e6dfafe4c4f81b1b4153bc41b2cb70 tree 2a722f50e8edef8609a49f65bfcb222e499c44cc parent c34d1b4d165c67b966bca4aba026443d7ff161eb author Hugh Dickins Sat, 29 Oct 2005 18:16:33 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:41 -0700 [PATCH] mm: follow_page with inner ptlock Final step in pushing down common core's page_table_lock. follow_page no longer wants caller to hold page_table_lock, uses pte_offset_map_lock itself; and so no page_table_lock is taken in get_user_pages itself. But get_user_pages (and get_futex_key) do then need follow_page to pin the page for them: take Daniel's suggestion of bitflags to follow_page. Need one for WRITE, another for TOUCH (it was the accessed flag before: vanished along with check_user_page_readable, but surely get_numa_maps is wrong to mark every page it finds as accessed), another for GET. And another, ANON to dispose of untouched_anonymous_page: it seems silly for that to descend a second time, let follow_page observe if there was no page table and return ZERO_PAGE if so. Fix minor bug in that: check VM_LOCKED - make_pages_present ought to make readonly anonymous present. Give get_numa_maps a cond_resched while we're there. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c34d1b4d165c67b966bca4aba026443d7ff161eb tree 27ffca9daba2a6b16d29bd508faf3e68bda2aad1 parent c0718806cf955d5eb51ea77bffb5b21d9bba4972 author Hugh Dickins Sat, 29 Oct 2005 18:16:32 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:41 -0700 [PATCH] mm: kill check_user_page_readable check_user_page_readable is a problematic variant of follow_page. It's used only by oprofile's i386 and arm backtrace code, at interrupt time, to establish whether a userspace stackframe is currently readable. This is problematic, because we want to push the page_table_lock down inside follow_page, and later split it; whereas oprofile is doing a spin_trylock on it (in the i386 case, forgotten in the arm case), and needs that to pin perhaps two pages spanned by the stackframe (which might be covered by different locks when we split). I think oprofile is going about this in the wrong way: it doesn't need to know the area is readable (neither i386 nor arm uses read protection of user pages), it doesn't need to pin the memory, it should simply __copy_from_user_inatomic, and see if that succeeds or not. Sorry, but I've not got around to devising the sparse __user annotations for this. Then we can eliminate check_user_page_readable, and return to a single follow_page without the __follow_page variants. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c0718806cf955d5eb51ea77bffb5b21d9bba4972 tree bd29659bbff68604127439ec8144230a40772621 parent 67b02f119df50ffad5a4e9e53ea4c896535862cd author Hugh Dickins Sat, 29 Oct 2005 18:16:31 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:41 -0700 [PATCH] mm: rmap with inner ptlock rmap's page_check_address descend without page_table_lock. First just pte_offset_map in case there's no pte present worth locking for, then take page_table_lock for the full check, and pass ptl back to caller in the same style as pte_offset_map_lock. __xip_unmap, page_referenced_one and try_to_unmap_one use pte_unmap_unlock. try_to_unmap_cluster also. page_check_address reformatted to avoid progressive indentation. No use is made of its one error code, return NULL when it fails. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 67b02f119df50ffad5a4e9e53ea4c896535862cd tree 9d651e9e62b6ead325fc6bd872f3a6232d85e8a3 parent 508034a32b819a2d40aa7ac0dbc8cd2e044c2de6 author Hugh Dickins Sat, 29 Oct 2005 18:16:31 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:41 -0700 [PATCH] mm: xip_unmap ZERO_PAGE fix Small fix to the PageReserved patch: the mips ZERO_PAGE(address) depends on address, so __xip_unmap is wrong to initialize page with that before address is initialized; and in fact must re-evaluate it each iteration. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 508034a32b819a2d40aa7ac0dbc8cd2e044c2de6 tree 906a8f0095af24f403b30d649d3ec1ffb4ff2f50 parent 8f4f8c164cb4af1432cc25eda82928ea4519ba72 author Hugh Dickins Sat, 29 Oct 2005 18:16:30 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:41 -0700 [PATCH] mm: unmap_vmas with inner ptlock Remove the page_table_lock from around the calls to unmap_vmas, and replace the pte_offset_map in zap_pte_range by pte_offset_map_lock: all callers are now safe to descend without page_table_lock. Don't attempt fancy locking for hugepages, just take page_table_lock in unmap_hugepage_range. Which makes zap_hugepage_range, and the hugetlb test in zap_page_range, redundant: unmap_vmas calls unmap_hugepage_range anyway. Nor does unmap_vmas have much use for its mm arg now. The tlb_start_vma and tlb_end_vma in unmap_page_range are now called without page_table_lock: if they're implemented at all, they typically come down to flush_cache_range (usually done outside page_table_lock) and flush_tlb_range (which we already audited for the mprotect case). Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f4f8c164cb4af1432cc25eda82928ea4519ba72 tree 49cd3c62069df1f8d6c863b9806923de16c10e8b parent 663b97f7efd001b0c56bd5fce059c5272725b86f author Hugh Dickins Sat, 29 Oct 2005 18:16:29 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:40 -0700 [PATCH] mm: unlink vma before pagetables In most places the descent from pgd to pud to pmd to pte holds mmap_sem (exclusively or not), which ensures that free_pgtables cannot be freeing page tables from any level at the same time. But truncation and reverse mapping descend without mmap_sem. No problem: just make sure that a vma is unlinked from its prio_tree (or nonlinear list) and from its anon_vma list, after zapping the vma, but before freeing its page tables. Then neither vmtruncate nor rmap can reach that vma whose page tables are now volatile (nor do they need to reach it, since all its page entries have been zapped by this stage). The i_mmap_lock and anon_vma->lock already serialize this correctly; but the locking hierarchy is such that we cannot take them while holding page_table_lock. Well, we're trying to push that down anyway. So in this patch, move anon_vma_unlink and unlink_file_vma into free_pgtables, at the same time as moving page_table_lock around calls to unmap_vmas. tlb_gather_mmu and tlb_finish_mmu then fall outside the page_table_lock, but we made them preempt_disable and preempt_enable earlier; and a long source audit of all the architectures has shown no problem with removing page_table_lock from them. free_pgtables doesn't need page_table_lock for itself, nor for what it calls; tlb->mm->nr_ptes is usually protected by page_table_lock, but partly by non-exclusive mmap_sem - here it's decremented with exclusive mmap_sem, or mm_users 0. update_hiwater_rss and vm_unacct_memory don't need page_table_lock either. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 663b97f7efd001b0c56bd5fce059c5272725b86f tree c80088db3514bf7f1749243e81fc3abaf7252ebd parent 705e87c0c3c38424f7f30556c85bc20e808d2f59 author Hugh Dickins Sat, 29 Oct 2005 18:16:28 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:40 -0700 [PATCH] mm: flush_tlb_range outside ptlock There was one small but very significant change in the previous patch: mprotect's flush_tlb_range fell outside the page_table_lock: as it is in 2.4, but that doesn't prove it safe in 2.6. On some architectures flush_tlb_range comes to the same as flush_tlb_mm, which has always been called from outside page_table_lock in dup_mmap, and is so proved safe. Others required a deeper audit: I could find no reliance on page_table_lock in any; but in ia64 and parisc found some code which looks a bit as if it might want preemption disabled. That won't do any actual harm, so pending a decision from the maintainers, disable preemption there. Remove comments on page_table_lock from flush_tlb_mm, flush_tlb_range and flush_tlb_page entries in cachetlb.txt: they were rather misleading (what generic code does is different from what usually happens), the rules are now changing, and it's not yet clear where we'll end up (will the generic tlb_flush_mmu happen always under lock? never under lock? or sometimes under and sometimes not?). Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 705e87c0c3c38424f7f30556c85bc20e808d2f59 tree 7a237e6266f4801385e1226cc497b47e3a2458bd parent 8f4e2101fd7df9031a754eedb82e2060b51f8c45 author Hugh Dickins Sat, 29 Oct 2005 18:16:27 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:40 -0700 [PATCH] mm: pte_offset_map_lock loops Convert those common loops using page_table_lock on the outside and pte_offset_map within to use just pte_offset_map_lock within instead. These all hold mmap_sem (some exclusively, some not), so at no level can a page table be whipped away from beneath them. But whereas pte_alloc loops tested with the "atomic" pmd_present, these loops are testing with pmd_none, which on i386 PAE tests both lower and upper halves. That's now unsafe, so add a cast into pmd_none to test only the vital lower half: we lose a little sensitivity to a corrupt middle directory, but not enough to worry about. It appears that i386 and UML were the only architectures vulnerable in this way, and pgd and pud no problem. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f4e2101fd7df9031a754eedb82e2060b51f8c45 tree 624db00c6160d70376a57447b45b935b293e396b parent b462705ac679f6195d1b23a752cda592d9107495 author Hugh Dickins Sat, 29 Oct 2005 18:16:26 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:40 -0700 [PATCH] mm: page fault handler locking On the page fault path, the patch before last pushed acquiring the page_table_lock down to the head of handle_pte_fault (though it's also taken and dropped earlier when a new page table has to be allocated). Now delete that line, read "entry = *pte" without it, and go off to this or that page fault handler on the basis of this unlocked peek. Usually the handler can proceed without the lock, relying on the subsequent locked pte_same or pte_none test to back out when necessary; though do_wp_page needs the lock immediately, and do_file_page doesn't check (if there's a race, install_page just zaps the entry and reinstalls it). But on those architectures (notably i386 with PAE) whose pte is too big to be read atomically, if SMP or preemption is enabled, do_swap_page and do_file_page might cause irretrievable damage if passed a Frankenstein entry stitched together from unrelated parts. In those configs, "pte_unmap_same" has to take page_table_lock, validate orig_pte still the same, and drop page_table_lock before unmapping, before proceeding. Use pte_offset_map_lock and pte_unmap_unlock throughout the handlers; but lock avoidance leaves more lone maps and unmaps than elsewhere. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b462705ac679f6195d1b23a752cda592d9107495 tree c4d9be08f67b0ffdc66c3e170614bd03945f3c42 parent c74df32c724a1652ad8399b4891bb02c9d43743a author Hugh Dickins Sat, 29 Oct 2005 18:16:24 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:40 -0700 [PATCH] mm: arches skip ptlock Convert those few architectures which are calling pud_alloc, pmd_alloc, pte_alloc_map on a user mm, not to take the page_table_lock first, nor drop it after. Each of these can continue to use pte_alloc_map, no need to change over to pte_alloc_map_lock, they're neither racy nor swappable. In the sparc64 io_remap_pfn_range, flush_tlb_range then falls outside of the page_table_lock: that's okay, on sparc64 it's like flush_tlb_mm, and that has always been called from outside of page_table_lock in dup_mmap. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c74df32c724a1652ad8399b4891bb02c9d43743a tree 5a79d56fdcf7dc2053a277dbf6db7c3b339e9659 parent 1bb3630e89cb8a7b3d3807629c20c5bad88290ff author Hugh Dickins Sat, 29 Oct 2005 18:16:23 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:40 -0700 [PATCH] mm: ptd_alloc take ptlock Second step in pushing down the page_table_lock. Remove the temporary bridging hack from __pud_alloc, __pmd_alloc, __pte_alloc: expect callers not to hold page_table_lock, whether it's on init_mm or a user mm; take page_table_lock internally to check if a racing task already allocated. Convert their callers from common code. But avoid coming back to change them again later: instead of moving the spin_lock(&mm->page_table_lock) down, switch over to new macros pte_alloc_map_lock and pte_unmap_unlock, which encapsulate the mapping+locking and unlocking+unmapping together, and in the end may use alternatives to the mm page_table_lock itself. These callers all hold mmap_sem (some exclusively, some not), so at no level can a page table be whipped away from beneath them; and pte_alloc uses the "atomic" pmd_present to test whether it needs to allocate. It appears that on all arches we can safely descend without page_table_lock. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1bb3630e89cb8a7b3d3807629c20c5bad88290ff tree 3d1fd73487ca66f227701b9530f2c76fcc6f9da4 parent 872fec16d9a0ed3b75b8893aa217e49cca575ee5 author Hugh Dickins Sat, 29 Oct 2005 18:16:22 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:40 -0700 [PATCH] mm: ptd_alloc inline and out It seems odd to me that, whereas pud_alloc and pmd_alloc test inline, only calling out-of-line __pud_alloc __pmd_alloc if allocation needed, pte_alloc_map and pte_alloc_kernel are entirely out-of-line. Though it does add a little to kernel size, change them to macros testing inline, calling __pte_alloc or __pte_alloc_kernel to allocate out-of-line. Mark none of them as fastcalls, leave that to CONFIG_REGPARM or not. It also seems more natural for the out-of-line functions to leave the offset calculation and map to the inline, which has to do it anyway for the common case. At least mremap move wants __pte_alloc without _map. Macros rather than inline functions, certainly to avoid the header file issues which arise from CONFIG_HIGHPTE needing kmap_types.h, but also in case any architectures I haven't built would have other such problems. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 872fec16d9a0ed3b75b8893aa217e49cca575ee5 tree 1dfc8b9f2754bdfff645188e497865c00201d535 parent 46dea3d092d23a58b42499cc8a21de0fad079f4a author Hugh Dickins Sat, 29 Oct 2005 18:16:21 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:40 -0700 [PATCH] mm: init_mm without ptlock First step in pushing down the page_table_lock. init_mm.page_table_lock has been used throughout the architectures (usually for ioremap): not to serialize kernel address space allocation (that's usually vmlist_lock), but because pud_alloc,pmd_alloc,pte_alloc_kernel expect caller holds it. Reverse that: don't lock or unlock init_mm.page_table_lock in any of the architectures; instead rely on pud_alloc,pmd_alloc,pte_alloc_kernel to take and drop it when allocating a new one, to check lest a racing task already did. Similarly no page_table_lock in vmalloc's map_vm_area. Some temporary ugliness in __pud_alloc and __pmd_alloc: since they also handle user mms, which are converted only by a later patch, for now they have to lock differently according to whether or not it's init_mm. If sources get muddled, there's a danger that an arch source taking init_mm.page_table_lock will be mixed with common source also taking it (or neither take it). So break the rules and make another change, which should break the build for such a mismatch: remove the redundant mm arg from pte_alloc_kernel (ppc64 scrapped its distinct ioremap_mm in 2.6.13). Exceptions: arm26 used pte_alloc_kernel on user mm, now pte_alloc_map; ia64 used pte_alloc_map on init_mm, now pte_alloc_kernel; parisc had bad args to pmd_alloc and pte_alloc_kernel in unused USE_HPPA_IOREMAP code; ppc64 map_io_page forgot to unlock on failure; ppc mmu_mapin_ram and ppc64 im_free took page_table_lock for no good reason. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46dea3d092d23a58b42499cc8a21de0fad079f4a tree 6ca46fb09d18e8ea51a354a1494cc742fcf2f2e7 parent f449952bc8bde7fbc73c6d20dff92b627a21f8b9 author Hugh Dickins Sat, 29 Oct 2005 18:16:20 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:39 -0700 [PATCH] mm: ia64 use expand_upwards ia64 has expand_backing_store function for growing its Register Backing Store vma upwards. But more complete code for this purpose is found in the CONFIG_STACK_GROWSUP part of mm/mmap.c. Uglify its #ifdefs further to provide expand_upwards for ia64 as well as expand_stack for parisc. The Register Backing Store vma should be marked VM_ACCOUNT. Implement the intention of growing it only a page at a time, instead of passing an address outside of the vma to handle_mm_fault, with unknown consequences. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f449952bc8bde7fbc73c6d20dff92b627a21f8b9 tree 2d7dc4b7381274b1111c76e436b4a81d119f656a parent 365e9c87a982c03d0af3886e29d877f581b59611 author Hugh Dickins Sat, 29 Oct 2005 18:16:19 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:39 -0700 [PATCH] mm: mm_struct hiwaters moved Slight and timid rearrangement of mm_struct: hiwater_rss and hiwater_vm were tacked on the end, but it seems better to keep them near _file_rss, _anon_rss and total_vm, in the same cacheline on those arches verified. There are likely to be more profitable rearrangements, but less obvious (is it good or bad that saved_auxv[AT_VECTOR_SIZE] isolates cpu_vm_mask and context from many others?), needing serious instrumentation. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 365e9c87a982c03d0af3886e29d877f581b59611 tree d06c1918ca9fe6677d7e4e869555e095004274f7 parent 861f2fb8e796022b4928cab9c74fca6681a1c557 author Hugh Dickins Sat, 29 Oct 2005 18:16:18 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:39 -0700 [PATCH] mm: update_hiwaters just in time update_mem_hiwater has attracted various criticisms, in particular from those concerned with mm scalability. Originally it was called whenever rss or total_vm got raised. Then many of those callsites were replaced by a timer tick call from account_system_time. Now Frank van Maarseveen reports that to be found inadequate. How about this? Works for Frank. Replace update_mem_hiwater, a poor combination of two unrelated ops, by macros update_hiwater_rss and update_hiwater_vm. Don't attempt to keep mm->hiwater_rss up to date at timer tick, nor every time we raise rss (usually by 1): those are hot paths. Do the opposite, update only when about to lower rss (usually by many), or just before final accounting in do_exit. Handle mm->hiwater_vm in the same way, though it's much less of an issue. Demand that whoever collects these hiwater statistics do the work of taking the maximum with rss or total_vm. And there has been no collector of these hiwater statistics in the tree. The new convention needs an example, so match Frank's usage by adding a VmPeak line above VmSize to /proc//status, and also a VmHWM line above VmRSS (High-Water-Mark or High-Water-Memory). There was a particular anomaly during mremap move, that hiwater_vm might be captured too high. A fleeting such anomaly remains, but it's quickly corrected now, whereas before it would stick. What locking? None: if the app is racy then these statistics will be racy, it's not worth any overhead to make them exact. But whenever it suits, hiwater_vm is updated under exclusive mmap_sem, and hiwater_rss under page_table_lock (for now) or with preemption disabled (later on): without going to any trouble, minimize the time between reading current values and updating, to minimize those occasions when a racing thread bumps a count up and back down in between. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 861f2fb8e796022b4928cab9c74fca6681a1c557 tree d1aa85aad27aab71fd045237cd5e61c3778ff605 parent d0de32d9b71e11cc51618c2045086e9694093d01 author Hugh Dickins Sat, 29 Oct 2005 18:16:17 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:39 -0700 [PATCH] mm: zap_pte out of line There used to be just one call to zap_pte, but it shouldn't be inline now there are two. Check for the common case pte_none before calling, and move its rss accounting up into install_page or install_file_pte - which helps the next patch. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d0de32d9b71e11cc51618c2045086e9694093d01 tree 38b9d22e52f1c2e9d378e5c2cdd92904173134fd parent 9e9bef07ce5a342aa6246ebc5c20829d0d5d63d0 author Hugh Dickins Sat, 29 Oct 2005 18:16:16 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:39 -0700 [PATCH] mm: do_mremap current mm Cleanup: relieve do_mremap from its surfeit of current->mms. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9e9bef07ce5a342aa6246ebc5c20829d0d5d63d0 tree 6f7286ebbb2c4b8af7bb04897a64b054c67faa4a parent 86d912f41dca32eca8827f2f878139735e69dc28 author Hugh Dickins Sat, 29 Oct 2005 18:16:15 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:39 -0700 [PATCH] mm: do_swap_page race major Small adjustment: do_swap_page should report its !pte_same race as a major fault if it had to read into swap cache, because whatever raced with it will have found page already in cache and reported minor fault. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 86d912f41dca32eca8827f2f878139735e69dc28 tree 9f29b853e7690f0fa10c4257a2b8649673908e2d parent 8c10376271e097fa13cda956e1b2f3cb7e4d4dd9 author Hugh Dickins Sat, 29 Oct 2005 18:16:14 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:39 -0700 [PATCH] mm: zap_pte_range dec rss Small adjustment: zap_pte_range decrement its rss counts from 0 then finally add, avoiding negations - we don't have or need a sub_mm_rss. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8c10376271e097fa13cda956e1b2f3cb7e4d4dd9 tree 0bb1c428bfddce70eb1195c625add027899416e0 parent b5810039a54e5babf428e9a1e89fc1940fabff11 author Hugh Dickins Sat, 29 Oct 2005 18:16:13 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:39 -0700 [PATCH] mm: copy_one_pte inc rss Small adjustment, following Nick's suggestion: it's more straightforward for copy_pte_range to let copy_one_pte do the rss incrementation, than use an index it passed back. Saves a #define, and 16 bytes of .text. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b5810039a54e5babf428e9a1e89fc1940fabff11 tree 835836cb527ec9bd525f93eb7e016f3dfb8c8ae2 parent f9c98d0287de42221c624482fd4f8d485c98ab22 author Nick Piggin Sat, 29 Oct 2005 18:16:12 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:39 -0700 [PATCH] core remove PageReserved Remove PageReserved() calls from core code by tightening VM_RESERVED handling in mm/ to cover PageReserved functionality. PageReserved special casing is removed from get_page and put_page. All setting and clearing of PageReserved is retained, and it is now flagged in the page_alloc checks to help ensure we don't introduce any refcount based freeing of Reserved pages. MAP_PRIVATE, PROT_WRITE of VM_RESERVED regions is tentatively being deprecated. We never completely handled it correctly anyway, and is be reintroduced in future if required (Hugh has a proof of concept). Once PageReserved() calls are removed from kernel/power/swsusp.c, and all arch/ and driver code, the Set and Clear calls, and the PG_reserved bit can be trivially removed. Last real user of PageReserved is swsusp, which uses PageReserved to determine whether a struct page points to valid memory or not. This still needs to be addressed (a generic page_is_ram() should work). A last caveat: the ZERO_PAGE is now refcounted and managed with rmap (and thus mapcounted and count towards shared rss). These writes to the struct page could cause excessive cacheline bouncing on big systems. There are a number of ways this could be addressed if it is an issue. Signed-off-by: Nick Piggin Refcount bug fix for filemap_xip.c Signed-off-by: Carsten Otte Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f9c98d0287de42221c624482fd4f8d485c98ab22 tree cc5653dcd2339b9006c224952b49f0c20b3c76a1 parent 147efea8ebb034b48aee806caae1da9a2ee41b38 author Hugh Dickins Sat, 29 Oct 2005 18:16:10 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:38 -0700 [PATCH] mm: m68k kill stram swap Please, please now delete the Atari CONFIG_STRAM_SWAP code. It may be excellent and ingenious code, but its reference to swap_vfsmnt betrays that it hasn't been built since 2.5.1 (four years old come December), it's delving deep into matters which are the preserve of core mm code, its only purpose is to give the more conscientious mm guys an anxiety attack from time to time; yet we keep on breaking it more and more. If you want to use RAM for swap, then if the MTD driver does not already provide just what you need, I'm sure David could be persuaded to add the extra. But you'd also like to be able to allocate extents of that swap for other use: we can give you a core interface for that if you need. But unbuilt for four years suggests to me that there's no need at all. I cannot swear the patch below won't break your build, but believe so. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 147efea8ebb034b48aee806caae1da9a2ee41b38 tree 6b5d03d6ab478552509c3ce813e2be1c475612de parent 7ee78232501ea9de2b6c8f10d32c9a0fee541357 author Hugh Dickins Sat, 29 Oct 2005 18:16:09 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:38 -0700 [PATCH] mm: sh64 hugetlbpage.c The sh64 hugetlbpage.c seems to be erroneous, left over from a bygone age, clashing with the common hugetlb.c. Replace it by a copy of the sh hugetlbpage.c. Except, delete that mk_pte_huge macro neither uses. Signed-off-by: Hugh Dickins Acked-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7ee78232501ea9de2b6c8f10d32c9a0fee541357 tree 2041a36a13bdd8b096dfbf52b63a87739ea97d6b parent fd3e42fcc888a773572282575d2fdbf5cfd6216e author Hugh Dickins Sat, 29 Oct 2005 18:16:08 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:38 -0700 [PATCH] mm: dup_mmap down new mmap_sem One anomaly remains from when Andrea rationalized the responsibilities of mmap_sem and page_table_lock: in dup_mmap we add vmas to the child holding its page_table_lock, but not the mmap_sem which normally guards the vma list and rbtree. Which could be an issue for unuse_mm: though since it just walks down the list (today with page_table_lock, tomorrow not), it's probably okay. Will need a memory barrier? Oh, keep it simple, Nick and I agreed, no harm in taking child's mmap_sem here. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd3e42fcc888a773572282575d2fdbf5cfd6216e tree ffe2c223b9200185eb67881582f784d534958883 parent ae859762332f19bfc06f4c4a1b1fefb41e9e1084 author Hugh Dickins Sat, 29 Oct 2005 18:16:06 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:38 -0700 [PATCH] mm: dup_mmap use oldmm more Use the parent's oldmm throughout dup_mmap, instead of perversely going back to current->mm. (Can you hear the sigh of relief from those mpnts? Usually I squash them, but not today.) Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ae859762332f19bfc06f4c4a1b1fefb41e9e1084 tree 4f21583bb1441e5555ed199a40d5f679bb4506e9 parent 4294621f41a85497019fae64341aa5351a1921b7 author Hugh Dickins Sat, 29 Oct 2005 18:16:05 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:38 -0700 [PATCH] mm: batch updating mm_counters tlb_finish_mmu used to batch zap_pte_range's update of mm rss, which may be worthwhile if the mm is contended, and would reduce atomic operations if the counts were atomic. Let zap_pte_range now batch its updates to file_rss and anon_rss, per page-table in case we drop the lock outside; and copy_pte_range batch them too. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4294621f41a85497019fae64341aa5351a1921b7 tree fdeb7eb44384a99d0679ffa6de5019bab0ea2166 parent 404351e67a9facb475abf1492245374a28d13e90 author Hugh Dickins Sat, 29 Oct 2005 18:16:05 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:38 -0700 [PATCH] mm: rss = file_rss + anon_rss I was lazy when we added anon_rss, and chose to change as few places as possible. So currently each anonymous page has to be counted twice, in rss and in anon_rss. Which won't be so good if those are atomic counts in some configurations. Change that around: keep file_rss and anon_rss separately, and add them together (with get_mm_rss macro) when the total is needed - reading two atomics is much cheaper than updating two atomics. And update anon_rss upfront, typically in memory.c, not tucked away in page_add_anon_rmap. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 404351e67a9facb475abf1492245374a28d13e90 tree 5ef4e78b399b36a46eda339ad0cd27556fc5b9a2 parent fc2acab31be8e869b2d5f6de12f557f6f054f19c author Hugh Dickins Sat, 29 Oct 2005 18:16:04 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:38 -0700 [PATCH] mm: mm_init set_mm_counters How is anon_rss initialized? In dup_mmap, and by mm_alloc's memset; but that's not so good if an mm_counter_t is a special type. And how is rss initialized? By set_mm_counter, all over the place. Come on, we just need to initialize them both at once by set_mm_counter in mm_init (which follows the memcpy when forking). Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fc2acab31be8e869b2d5f6de12f557f6f054f19c tree 60cf419f5e88c3c46d39675a14649ea1e5849f03 parent 4d6ddfa9242bc3d27fb0f7248f6fdee0299c731f author Hugh Dickins Sat, 29 Oct 2005 18:16:03 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:37 -0700 [PATCH] mm: tlb_finish_mmu forget rss zap_pte_range has been counting the pages it frees in tlb->freed, then tlb_finish_mmu has used that to update the mm's rss. That got stranger when I added anon_rss, yet updated it by a different route; and stranger when rss and anon_rss became mm_counters with special access macros. And it would no longer be viable if we're relying on page_table_lock to stabilize the mm_counter, but calling tlb_finish_mmu outside that lock. Remove the mmu_gather's freed field, let tlb_finish_mmu stick to its own business, just decrement the rss mm_counter in zap_pte_range (yes, there was some point to batching the update, and a subsequent patch restores that). And forget the anal paranoia of first reading the counter to avoid going negative - if rss does go negative, just fix that bug. Remove the mmu_gather's flushes and avoided_flushes from arm and arm26: no use was being made of them. But arm26 alone was actually using the freed, in the way some others use need_flush: give it a need_flush. arm26 seems to prefer spaces to tabs here: respect that. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4d6ddfa9242bc3d27fb0f7248f6fdee0299c731f tree da5b753df64e7163a35487005e50a3b90b0b0b9b parent 15a23ffa2fc91cebdac44d4aee994f59d5c28dc0 author Hugh Dickins Sat, 29 Oct 2005 18:16:02 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:37 -0700 [PATCH] mm: tlb_is_full_mm was obscure tlb_is_full_mm? What does that mean? The TLB is full? No, it means that the mm's last user has gone and the whole mm is being torn down. And it's an inline function because sparc64 uses a different (slightly better) "tlb_frozen" name for the flag others call "fullmm". And now the ptep_get_and_clear_full macro used in zap_pte_range refers directly to tlb->fullmm, which would be wrong for sparc64. Rather than correct that, I'd prefer to scrap tlb_is_full_mm altogether, and change sparc64 to just use the same poor name as everyone else - is that okay? Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 15a23ffa2fc91cebdac44d4aee994f59d5c28dc0 tree 5006935b29246c1ae07a7abc6a384f6b547293ce parent 7be7a546994f1222b2312fd348da14e16b6b7b42 author Hugh Dickins Sat, 29 Oct 2005 18:16:01 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:37 -0700 [PATCH] mm: tlb_gather_mmu get_cpu_var tlb_gather_mmu dates from before kernel preemption was allowed, and uses smp_processor_id or __get_cpu_var to find its per-cpu mmu_gather. That works because it's currently only called after getting page_table_lock, which is not dropped until after the matching tlb_finish_mmu. But don't rely on that, it will soon change: now disable preemption internally by proper get_cpu_var in tlb_gather_mmu, put_cpu_var in tlb_finish_mmu. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7be7a546994f1222b2312fd348da14e16b6b7b42 tree e1f8dae8783274372a0f136be6eb64102877e9f6 parent 65500d234e74fc4e8f18e1a429bc24e51e75de4a author Hugh Dickins Sat, 29 Oct 2005 18:16:00 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:37 -0700 [PATCH] mm: move_page_tables by extents Speeding up mremap's moving of ptes has never been a priority, but the locking will get more complicated shortly, and is already too baroque. Scrap the current one-by-one moving, do an extent at a time: curtailed by end of src and dst pmds (have to use PMD_SIZE: the way pmd_addr_end gets elided doesn't match this usage), and by latency considerations. One nice property of the old method is lost: it never allocated a page table unless absolutely necessary, so you could free empty page tables by mremapping to and fro. Whereas this way, it allocates a dst table wherever there was a src table. I keep diving in to reinstate the old behaviour, then come out preferring not to clutter how it now is. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 65500d234e74fc4e8f18e1a429bc24e51e75de4a tree 2bae8c3622b6537dbd142ba2744c7cc9430d3b69 parent 7c1fd6b964860cdcf44b6b98d7dcd8cc16a0a26d author Hugh Dickins Sat, 29 Oct 2005 18:15:59 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:37 -0700 [PATCH] mm: page fault handlers tidyup Impose a little more consistency on the page fault handlers do_wp_page, do_swap_page, do_anonymous_page, do_no_page, do_file_page: why not pass their arguments in the same order, called the same names? break_cow is all very well, but what it did was inlined elsewhere: easier to compare if it's brought back into do_wp_page. do_file_page's fallback to do_no_page dates from a time when we were testing pte_file by using it wherever possible: currently it's peculiar to nonlinear vmas, so just check that. BUG_ON if not? Better not, it's probably page table corruption, so just show the pte: hmm, there's a pte_ERROR macro, let's use that for do_wp_page's invalid pfn too. Hah! Someone in the ppc64 world noticed pte_ERROR was unused so removed it: restored (and say "pud" not "pmd" in its pud_ERROR). Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c1fd6b964860cdcf44b6b98d7dcd8cc16a0a26d tree 0193feec4e7a43ce2f15f659cd5c56776da60ce5 parent a8fb5618dab7e45c8990f3155628d772a9ed45f9 author Hugh Dickins Sat, 29 Oct 2005 18:15:58 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:37 -0700 [PATCH] mm: exit_mmap need not reset exit_mmap resets various mm_struct fields, but the mm is well on its way out, and none of those fields matter by this point. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a8fb5618dab7e45c8990f3155628d772a9ed45f9 tree 77977b8fb2f57c855da9e3168977521e8393776a parent 2c0b381467bc2997be9d741a152f3fc75785eedc author Hugh Dickins Sat, 29 Oct 2005 18:15:57 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:37 -0700 [PATCH] mm: unlink_file_vma, remove_vma Divide remove_vm_struct into two parts: first anon_vma_unlink plus unlink_file_vma, to unlink the vma from the list and tree by which rmap or vmtruncate might find it; then remove_vma to close, fput and free. The intention here is to do the anon_vma_unlink and unlink_file_vma earlier, in free_pgtables before freeing any page tables: so we can be sure that any page tables traversed by rmap and vmtruncate are stable (and other, ordinary cases are stabilized by holding mmap_sem). This will be crucial to traversing pgd,pud,pmd without page_table_lock. But testing the split-out patch showed that lifting the page_table_lock is symbiotically necessary to make this change - the lock ordering is wrong to move those unlinks into free_pgtables while it's under ptlock. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2c0b381467bc2997be9d741a152f3fc75785eedc tree f87fffd93dc3f4b5ce9eba5e02fa4ffeb237924e parent ab50b8ed818016cfecd747d6d4bb9139986bc029 author Hugh Dickins Sat, 29 Oct 2005 18:15:56 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:37 -0700 [PATCH] mm: remove_vma_list consolidation unmap_vma doesn't amount to much, let's put it inside unmap_vma_list. Except it doesn't unmap anything, unmap_region just did the unmapping: rename it to remove_vma_list. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ab50b8ed818016cfecd747d6d4bb9139986bc029 tree 33c666578c14dccce05b3f7a5538405098eebcc4 parent 72866f6f277ec0ddd6df7a3b6ecdcf59a28de115 author Hugh Dickins Sat, 29 Oct 2005 18:15:56 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:37 -0700 [PATCH] mm: vm_stat_account unshackled The original vm_stat_account has fallen into disuse, with only one user, and only one user of vm_stat_unaccount. It's easier to keep track if we convert them all to __vm_stat_account, then free it from its __shackles. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 72866f6f277ec0ddd6df7a3b6ecdcf59a28de115 tree a76bb7fb8e092250c4399c20f0c7c973b77cb0bb parent 6237bcd94851e9cf0ecd2520d744779df0f5a9a6 author Hugh Dickins Sat, 29 Oct 2005 18:15:55 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:36 -0700 [PATCH] mm: anon is already wrprotected do_anonymous_page's pte_wrprotect causes some confusion: in such a case, vm_page_prot must already be forcing COW, so must omit write permission, and so the pte_wrprotect is redundant. Replace it by a comment to that effect, and reword the comment on unuse_pte which also caused confusion. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6237bcd94851e9cf0ecd2520d744779df0f5a9a6 tree 5f34366cd527382489bd0bebbac8d39d59f1d5db parent 0c942a4539c09adf09097315cc174aefd0eeedf7 author Hugh Dickins Sat, 29 Oct 2005 18:15:54 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:36 -0700 [PATCH] mm: zap_pte_range dont dirty anon zap_pte_range already avoids wasting time to mark_page_accessed on anon pages: it can also skip anon set_page_dirty - the page only needs to be marked dirty if shared with another mm, but that will say pte_dirty too. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c942a4539c09adf09097315cc174aefd0eeedf7 tree b9b7d5093ca0a130ef2221f8932fabcf4291f6a6 parent e040f218bb49a6965a5b77edce05fe47a62dda39 author Hugh Dickins Sat, 29 Oct 2005 18:15:53 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:36 -0700 [PATCH] mm: msync_pte_range progress Use latency breaking in msync_pte_range like that in copy_pte_range, instead of the ugly CONFIG_PREEMPT filemap_msync alternatives. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e040f218bb49a6965a5b77edce05fe47a62dda39 tree e5547e04fa312f1b87db66e4ac2b6eed885ca276 parent 09ad4bbc3a5c93316d7f4ffc0c310d9cbb28c2f0 author Hugh Dickins Sat, 29 Oct 2005 18:15:53 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:36 -0700 [PATCH] mm: copy_pte_range progress fix My latency breaking in copy_pte_range didn't work as intended: instead of checking at regularish intervals, after the first interval it checked every time around the loop, too impatient to be preempted. Fix that. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 09ad4bbc3a5c93316d7f4ffc0c310d9cbb28c2f0 tree b98d5390ceef3dcb8d1fe83b1ef7ffe0106d4c94 parent c340010e4bf824d969a89fa192ecc7a526c0cd24 author Christoph Lameter Sat, 29 Oct 2005 18:15:52 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:36 -0700 [PATCH] slab: add additional debugging to detect slabs from the wrong node This patch adds some stack dumps if the slab logic is processing slab blocks from the wrong node. This is necessary in order to detect situations as encountered by Petr. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c340010e4bf824d969a89fa192ecc7a526c0cd24 tree a459fba71b05b3b14dc1e32739cc2520dd0e57be parent b57b98d147ef98758886a39efb94f3254542c39b author Lee Schermerhorn Sat, 29 Oct 2005 18:15:51 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:36 -0700 [PATCH] shrink_list(): skip anon pages if not may_swap Martin Hicks' page cache reclaim patch added the 'may_swap' flag to the scan_control struct; and modified shrink_list() not to add anon pages to the swap cache if may_swap is not asserted. Ref: http://marc.theaimsgroup.com/?l=linux-mm&m=111461480725322&w=4 However, further down, if the page is mapped, shrink_list() calls try_to_unmap() which will call try_to_unmap_one() via try_to_unmap_anon (). try_to_unmap_one() will BUG_ON() an anon page that is NOT in the swap cache. Martin says he never encountered this path in his testing, but agrees that it might happen. This patch modifies shrink_list() to skip anon pages that are not already in the swap cache when !may_swap, rather than just not adding them to the cache. Signed-off-by: Lee Schermerhorn Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b57b98d147ef98758886a39efb94f3254542c39b tree 1aab53a2bb1add92d55fbce963e371527c05d281 parent 662f3a0b94cc92bd708c27b80f8207cd7db93204 author OGAWA Hirofumi Sat, 29 Oct 2005 18:15:50 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:36 -0700 [PATCH] mm/msync.c cleanup This is not problem actually, but sync_page_range() is using for exported function to filesystems. The msync_xxx is more readable at least to me. Signed-off-by: OGAWA Hirofumi Acked-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 662f3a0b94cc92bd708c27b80f8207cd7db93204 tree c7a42829efca15f7ccdcf510c80283f4c08e0343 parent dfcd3c0dc426bb75770c34b40e14f2da8845ea62 author Andi Kleen Sat, 29 Oct 2005 18:15:49 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:35 -0700 [PATCH] Remove near all BUGs in mm/mempolicy.c Most of them can never be triggered and were only for development. Signed-off-by: "Andi Kleen" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dfcd3c0dc426bb75770c34b40e14f2da8845ea62 tree bd7e9f8463a18025c4775c6cdf22abbbd4236b64 parent e46a5e28c201f703c18b47b108bfddec44f897c4 author Andi Kleen Sat, 29 Oct 2005 18:15:48 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:35 -0700 [PATCH] Convert mempolicies to nodemask_t The NUMA policy code predated nodemask_t so it used open coded bitmaps. Convert everything to nodemask_t. Big patch, but shouldn't have any actual behaviour changes (except I removed one unnecessary check against node_online_map and one unnecessary BUG_ON) Signed-off-by: "Andi Kleen" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e46a5e28c201f703c18b47b108bfddec44f897c4 tree b55f5c376533f2ecfedc8fed0d12a590bfb1387e parent ba56e91c940146e99ac694c4c7cd7f2b4aaa565d author Seth, Rohit Sat, 29 Oct 2005 18:15:48 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:35 -0700 [PATCH] mm: set per-cpu-pages lower threshold to zero Set the low water mark for hot pages in pcp to zero. (akpm: for the life of me I cannot remember why we created pcp->low. Neither can Martin and the changelog is silent. Maybe it was just a brainfart, but I have this feeling that there was a reason. If not, we should remove the fields completely. We'll see.) Signed-off-by: Rohit Seth Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ba56e91c940146e99ac694c4c7cd7f2b4aaa565d tree 5254f1ce8e2f39ccb58a74d0ff0120817b3b5c05 parent fcdae29aa7a5c79f245110f6680afdc1858d3626 author Seth, Rohit Sat, 29 Oct 2005 18:15:47 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:35 -0700 [PATCH] mm: page_alloc: increase size of per-cpu-pages Increase the page allocator's per-cpu magazines from 1/4MB to 1/2MB. Over 100+ runs for a workload, the difference in mean is about 2%. The best results for both are almost same. Though the max variation in results with 1/2MB is only 2.2%, whereas with 1/4MB it is 12%. Signed-off-by: Rohit Seth Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fcdae29aa7a5c79f245110f6680afdc1858d3626 tree 09634921c68dd82a661c1ba389133e7f805e2d0f parent eb92f4ef320b738e41ad43476a5d05c8a20d5cc7 author Rik Van Riel Sat, 29 Oct 2005 18:15:46 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:35 -0700 [PATCH] swaptoken tuning It turns out that the original swap token implementation, by Song Jiang, only enforced the swap token while the task holding the token is handling a page fault. This patch approximates that, without adding an additional flag to the mm_struct, by checking whether the mm->mmap_sem is held for reading, like the page fault code does. This patch has the effect of automatically, and gradually, disabling the enforcement of the swap token when there is little or no paging going on, and "turning up" the intensity of the swap token code the more the task holding the token is thrashing. Thanks to Song Jiang for pointing out this aspect of the token based thrashing control concept. The new code shows a slight degradation over the old swap token code, but still a big win over running without the swap token. 2.6.12+ swap token disabled $ for i in `seq 10` ; do /usr/bin/time ./qsbench -n 30000000 -p 3 ; done 101.74user 23.13system 8:26.91elapsed 24%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (38597major+430315minor)pagefaults 0swaps 101.98user 24.91system 8:03.06elapsed 26%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (33939major+430457minor)pagefaults 0swaps 101.93user 22.12system 7:34.90elapsed 27%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (33166major+421267minor)pagefaults 0swaps 101.82user 22.38system 8:31.40elapsed 24%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (39338major+433262minor)pagefaults 0swaps 2.6.12+ swap token enabled, timeout 300 seconds $ for i in `seq 4` ; do /usr/bin/time ./qsbench -n 30000000 -p 3 ; done 102.58user 16.08system 3:41.44elapsed 53%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (19707major+285786minor)pagefaults 0swaps 102.07user 19.56system 4:00.64elapsed 50%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (19012major+299259minor)pagefaults 0swaps 102.64user 18.25system 4:07.31elapsed 48%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (21990major+304831minor)pagefaults 0swaps 101.39user 19.41system 5:15.81elapsed 38%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (24850major+323321minor)pagefaults 0swaps 2.6.12+ with new swap token code, timeout 300 seconds $ for i in `seq 4` ; do /usr/bin/time ./qsbench -n 30000000 -p 3 ; done 101.87user 24.66system 5:53.20elapsed 35%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (26848major+363497minor)pagefaults 0swaps 102.83user 19.95system 4:17.25elapsed 47%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (19946major+305722minor)pagefaults 0swaps 102.09user 19.46system 5:12.57elapsed 38%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (25461major+334994minor)pagefaults 0swaps 101.67user 20.61system 4:52.97elapsed 41%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+0outputs (22190major+329508minor)pagefaults 0swaps Signed-off-by: Rik Van Riel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb92f4ef320b738e41ad43476a5d05c8a20d5cc7 tree f9a6bb78a0561587f142b2b1208819f6cffe9835 parent 63f324cf0792ed69089b79d6921ba3aaea97af50 author Rik Van Riel Sat, 29 Oct 2005 18:15:44 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:35 -0700 [PATCH] add sem_is_read/write_locked() Add sem_is_read/write_locked functions to the read/write semaphores, along the same lines of the *_is_locked spinlock functions. The swap token tuning patch uses sem_is_read_locked; sem_is_write_locked is added for completeness. Signed-off-by: Rik van Riel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 63f324cf0792ed69089b79d6921ba3aaea97af50 tree 007ec8ea5c2344ced61de396c2484a5a49cc9aac parent 4b8f573b5db02a3017afbba49026a6aef480174f author Ivan Kokshaysky Sat, 29 Oct 2005 18:15:43 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:35 -0700 [PATCH] fix alpha breakage barrier.h uses barrier() in non-SMP case. And doesn't include compiler.h. Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b8f573b5db02a3017afbba49026a6aef480174f tree 4abf19125526809d4be44cb83373f85605854575 parent 930fc45a49ddebe7555cc5c837d82b9c27e65ff4 author YOSHIFUJI Hideaki Sat, 29 Oct 2005 18:15:42 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:35 -0700 [PATCH] TIMERS: add missing compensation for HZ == 250 Add missing compensation for (HZ == 250) != (1 << SHIFT_HZ) in second_overflow(). Signed-off-by: YOSHIFUJI Hideaki Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 930fc45a49ddebe7555cc5c837d82b9c27e65ff4 tree f0e4b32bd4e2f951c4eb1bc1fcdeefdcbb8e6195 parent be15cd72d256e5eb3261a781b8507fac83ab33f6 author Christoph Lameter Sat, 29 Oct 2005 18:15:41 -0700 committer Linus Torvalds Sat, 29 Oct 2005 21:40:35 -0700 [PATCH] vmalloc_node This patch adds vmalloc_node(size, node) -> Allocate necessary memory on the specified node and get_vm_area_node(size, flags, node) and the other functions that it depends on. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0169e284f6b6b263cc7c2ed25986b96cd6fda610 tree 266623b0131e310de6e77a2c87c42b4092902fa4 parent be15cd72d256e5eb3261a781b8507fac83ab33f6 author Jeff Garzik Sat, 29 Oct 2005 21:25:10 -0400 committer Jeff Garzik Sat, 29 Oct 2005 21:25:10 -0400 [libata] remove ata_chk_err(), ->check_err() hook. We now depend on ->tf_read() to provide us with the contents of the Error shadow register. commit 1b40efd772f4419fbc1a8940506424246985c333 tree 0f1ade69806e7f02196534b008ef8d2c925bf34b parent 6df5b9f48dd0e77fa796b9b7d3fde7cc5f1237f2 author Herbert Xu Mon, 03 Oct 2005 15:15:36 +1000 committer Herbert Xu Sun, 30 Oct 2005 11:19:43 +1100 [CRYPTO] Check cra_alignmask against cra_blocksize The cipher code relies on the fact that the block size is a multiple of the required alignment. So we should check this at the time of algorith registration. We also ensure that the block size is bounded by the page size. Signed-off-by: Herbert Xu commit 6df5b9f48dd0e77fa796b9b7d3fde7cc5f1237f2 tree b13c0941fcbde9a95fece66d02bb0b558cf98041 parent 378f058cc49bcda7fa63d3cd86d2f9a0a5188b1c author Herbert Xu Mon, 19 Sep 2005 22:30:11 +1000 committer Herbert Xu Sun, 30 Oct 2005 11:19:43 +1100 [CRYPTO] Simplify one-member scatterlist expressions This patch rewrites various occurences of &sg[0] where sg is an array of length one to simply sg. Signed-off-by: Herbert Xu commit 378f058cc49bcda7fa63d3cd86d2f9a0a5188b1c tree ed99548aa459054c7b046f0ac96af2cc50683e6e parent d32311fed70d12f14e585feb4653571b1e2b0e6d author David Hardeman Sat, 17 Sep 2005 17:55:31 +1000 committer Herbert Xu Sun, 30 Oct 2005 11:19:43 +1100 [PATCH] Use sg_set_buf/sg_init_one where applicable This patch uses sg_set_buf/sg_init_one in some places where it was duplicated. Signed-off-by: David Hardeman Cc: James Bottomley Cc: Greg KH Cc: "David S. Miller" Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Herbert Xu commit d32311fed70d12f14e585feb4653571b1e2b0e6d tree e1bea01c55c1632ed6291ca96f18518ad2abe39b parent be15cd72d256e5eb3261a781b8507fac83ab33f6 author Herbert Xu Sat, 17 Sep 2005 14:41:40 +1000 committer Herbert Xu Sun, 30 Oct 2005 11:14:39 +1100 [PATCH] Introduce sg_set_buf sg_init_one is a nice tool for the block layer. However, users of struct scatterlist in other subsystems don't usually need the DMA attributes. For them it's a waste of time and space to initialise the whole struct scatterlist structure. Therefore this patch adds a new function sg_set_buf to initialise a scatterlist without zeroing the DMA attributes. Signed-off-by: Herbert Xu commit bbbf508d6403f9dfeeb040d9cd7366e395632e59 tree 63edb6392d04067f0928788ae4b35c6fddb96819 parent d052d1beff706920e82c5d55006b08e256b5df09 author Russell King Sat, 29 Oct 2005 22:17:58 +0100 committer Russell King Sat, 29 Oct 2005 22:17:58 +0100 [DRIVER MODEL] Add missing platform_device.h header. Signed-off-by: Russell King commit be15cd72d256e5eb3261a781b8507fac83ab33f6 tree 1a8f95a9960e03149d27d935da25b768878feb3e parent e9d52234e35b27ea4ea5f2ab64ca47b1a0c740ab parent 37d07b72ef58f2d5ec7701ab75084fbeee0e503e author Linus Torvalds Sat, 29 Oct 2005 14:02:16 -0700 committer Linus Torvalds Sat, 29 Oct 2005 14:02:16 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit a20583a7c2e35d80b1dfc1f60c9729498838725e tree e7fbd856e7522b65d309e9dfd425541d8f45a0bd parent affcd50546d4788b7849e2b2e2ec7bc50d64c5f8 author Roland Dreier Sat, 29 Oct 2005 13:54:40 -0700 committer Roland Dreier Sat, 29 Oct 2005 13:54:40 -0700 [IPoIB] use spin_trylock_irqsave() Use spin_trylock_irqsave() in ipoib_start_xmit() instead of reinventing it out of local_irq_save(), spin_trylock() and local_irq_restore(). Signed-off-by: Roland Dreier commit 37d07b72ef58f2d5ec7701ab75084fbeee0e503e tree da42fbad5b8ac6c79a258a46aff5f5d338ac138f parent f09b99799991c7c3ba441162406247f5df077322 author Nicolas Pitre Sat, 29 Oct 2005 21:44:56 +0100 committer Russell King Sat, 29 Oct 2005 21:44:56 +0100 [ARM] 3061/1: cleanup the XIP link address mess Patch from Nicolas Pitre Since vmlinux.lds.S is preprocessed, we can use the defines already present in asm/memory.h (allowed by patch #3060) for the XIP kernel link address instead of relying on a duplicated Makefile hardcoded value, and also get rid of its dependency on awk to handle it at the same time. While at it let's clean XIP stuff even further and make things clearer in head.S with a nice code reduction. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit f09b99799991c7c3ba441162406247f5df077322 tree 6284aa6638744c26059001a11da3267f91d50082 parent c514e58cb8eac0d21f4ab5011df75a09eb5edd50 author Nicolas Pitre Sat, 29 Oct 2005 21:44:55 +0100 committer Russell King Sat, 29 Oct 2005 21:44:55 +0100 [ARM] 3060/1: allow constants found in asm/memory.h to be used in asm code Patch from Nicolas Pitre This patch allows for assorted type of cleanups by letting assembly code use the same set of defines for constant values and avoid duplicated definitions that might not always be in sync, or that might simply be confusing due to the different names for the same thing. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit e9d52234e35b27ea4ea5f2ab64ca47b1a0c740ab tree 318d37a7d55c79e6f7d86163fb28e0eccbb0fe83 parent 955c5038823748e529a49f0e33ab635d92843500 parent 09af7b443c257460d45cb6c1896d29f173fef35b author Linus Torvalds Sat, 29 Oct 2005 12:19:15 -0700 committer Linus Torvalds Sat, 29 Oct 2005 12:19:15 -0700 Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus commit 09af7b443c257460d45cb6c1896d29f173fef35b tree 2980b8edbda58c1b54f39935103f19766000b372 parent 5ef66935c1f6d412b37cf4f68281bd4fc7fca7e5 author Ralf Baechle Sat, 29 Oct 2005 19:32:54 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:54 +0100 Update MIPS defconfig files. Signed-off-by: Ralf Baechle commit 5ef66935c1f6d412b37cf4f68281bd4fc7fca7e5 tree dfdf1058e37ef12c890719a37070ae011ab47e9a parent 4b724efdde0287d7ba616bd2badc63fca414f978 author Arthur Othieno Fri, 28 Oct 2005 00:42:56 -0400 committer Ralf Baechle Sat, 29 Oct 2005 19:32:53 +0100 prom_free_prom_memory() returns unsigned long Some boards declare prom_free_prom_memory as a void function but the caller free_initmem() expects a return value. Fix those up and return 0 instead, just like everyone else does. Signed-off-by: Arthur Othieno Signed-off-by: Ralf Baechle commit 4b724efdde0287d7ba616bd2badc63fca414f978 tree 9c30ecd163d782a4fff8542b557d8811c3a4ef3e parent 3fccc0150e720ff344b5f9c5f8dd23778139018e author Ralf Baechle Sun, 23 Oct 2005 15:05:47 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:52 +0100 Get rid of SINGLE_ONLY_FPU. Linux does not support half FPU other than by emulation of a full FPU. Signed-off-by: Ralf Baechle commit 3fccc0150e720ff344b5f9c5f8dd23778139018e tree f26a8dc6b6dbf7ce8eeb409915bc934e415a5d16 parent 3c5c8f6748ce5a4a63ac7d025ddca4a01574a1a7 author Ralf Baechle Sun, 23 Oct 2005 13:58:21 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:52 +0100 Fix all the get_user / put_user related sparse warnings. Signed-off-by: Ralf Baechle commit 3c5c8f6748ce5a4a63ac7d025ddca4a01574a1a7 tree 6e3958230b27e1bed66789245c847075ff27efef parent efec3c4e962d4cafbb8f0a050d05d1cd6e95458d author Ralf Baechle Sun, 23 Oct 2005 13:48:12 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:52 +0100 Delete unused ieee754_cname[] and declaration. Signed-off-by: Ralf Baechle commit efec3c4e962d4cafbb8f0a050d05d1cd6e95458d tree 9f7e4844d353f72164dfbfd85db0d764fdc39961 parent a663bf906dce4bfa4d620ecc6b8ac6ef958eb7c2 author Ralf Baechle Sun, 23 Oct 2005 13:46:25 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:51 +0100 Include for prototypes. Signed-off-by: Ralf Baechle commit a663bf906dce4bfa4d620ecc6b8ac6ef958eb7c2 tree 9d342f63aa85e46e97e8a04d0a661b7fd8108430 parent 030274ae03c20f9ac27d4218118b9679d7c680d8 author Ralf Baechle Sun, 23 Oct 2005 13:44:31 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:51 +0100 Protect against multiple inclusion. Signed-off-by: Ralf Baechle commit 030274ae03c20f9ac27d4218118b9679d7c680d8 tree 95e8ede01327367ce5a66b6dfc61c460c4284764 parent e5adb8770e12169a6595a3ad5682541441bd1052 author Ralf Baechle Fri, 21 Oct 2005 22:26:07 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:50 +0100 Remove useless casts of kmalloc return values. Signed-off-by: Ralf Baechle commit e5adb8770e12169a6595a3ad5682541441bd1052 tree 22aaae4e58f9d4054a474a5fa31d492e4b9e79a1 parent 7cf8053b8ee48a7f0e9d8ebc72c279fb2e168c25 author Ralf Baechle Thu, 20 Oct 2005 22:55:26 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:50 +0100 Hack to resolve longstanding prefetch issue Prefetching may be fatal on some systems if we're prefetching beyond the end of memory on some systems. It's also a seriously bad idea on non dma-coherent systems. Signed-off-by: Ralf Baechle commit 7cf8053b8ee48a7f0e9d8ebc72c279fb2e168c25 tree 3c29e48cd8386dd8ff83dbf3c1a9b19e98e84484 parent cb4262481fce1d43ac9a483be4faf36fdd1c7abb author Ralf Baechle Thu, 20 Oct 2005 22:33:09 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:49 +0100 More foolproofing of the CPU configuration. Limit the number of cpu type options in the cpu menu to just those types that are actually available for the select platform. Signed-off-by: Ralf Baechle commit cb4262481fce1d43ac9a483be4faf36fdd1c7abb tree 04e3614f81b2ac7b3091969427160de127f8d4c3 parent 8a1417de9e11f9f577499cd4fe89fa35f4bf54fa author Andrew Isaacson Wed, 19 Oct 2005 23:59:46 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:49 +0100 pci-expmem-hack CFE 1.2.5 and earlier fails to turn on the ExpMemEn bit in the PCIFeatureControl register, which means that DMA does not work beyond physical address 01_0000_0000, ergo to DRAM beyond 1GB. With ExpMemEn turned on, 01_0000_0000-0f_ffff_ffff is mapped, so DMA works for up to 61 GB of DRAM. Will be fixed in CFE 1.2.6 (yet to be released). Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle commit 8a1417de9e11f9f577499cd4fe89fa35f4bf54fa tree 73194ecc1c84772aaf0296df7852a9e36a13cab6 parent dc41f94f770904f1fd63488ce4d30722ea514aad author Andrew Isaacson Wed, 19 Oct 2005 23:59:11 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:49 +0100 BCM1480 HT support PCI support code for PLX 7250 PCI-X tunnel on BCM91480B BigSur board. Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle commit dc41f94f770904f1fd63488ce4d30722ea514aad tree 9ac3e005264a87a3d4c2edcd13ee918142f7d050 parent a4b5bd9abcf5b0586de68722ff8e9b91020279bf author Andrew Isaacson Wed, 19 Oct 2005 23:58:49 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:48 +0100 Support for the BCM1480 on-chip PCI-X bridge. Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle commit a4b5bd9abcf5b0586de68722ff8e9b91020279bf tree fe0f4014bf5e92d72d4e15d90cf3eab3713ceee5 parent 9a6dcea10308df50ed54d6d5a43c9f6c3e927118 author Andrew Isaacson Wed, 19 Oct 2005 23:57:40 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:48 +0100 SB1 cache exception handling. Expand SB1 cache error handling by adding SB1_CEX_ALWAYS_FATAL and SB1_CEX_STALL, allowing configurable behavior on cache errors. Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle commit 9a6dcea10308df50ed54d6d5a43c9f6c3e927118 tree 2739e2c12577925ffd99042b460d004f3eeb0bc8 parent f137e463b50aadba91bd116f99c59ccb9c15a12f author Andrew Isaacson Wed, 19 Oct 2005 23:57:11 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:47 +0100 Support for BigSur board. Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle commit f137e463b50aadba91bd116f99c59ccb9c15a12f tree 41ce0ec670a6e5a78b4cdc246614277d9bc5e070 parent 93ce2f524e96571711029884e6340c790a029b94 author Andrew Isaacson Wed, 19 Oct 2005 23:56:38 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:47 +0100 Add support for BCM1480 family of chips. - Kconfig and Makefile changes - arch/mips/sibyte/bcm1480/ - changes to sibyte common code to support 1480 Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle commit 93ce2f524e96571711029884e6340c790a029b94 tree 1cb69ac513d01b25a2c300c90a2f11c69c0290e9 parent 4f19f990475dc4465ca6906ba03a55805d4c1402 author Andrew Isaacson Wed, 19 Oct 2005 23:56:20 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:46 +0100 Add support for SB1A CPU. Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle commit 4f19f990475dc4465ca6906ba03a55805d4c1402 tree 3e1597e7884d3414e28e220454d8ec3c8913ecd6 parent 4cbf2beac2265b3619be9c8e88ff4ff45b49d7c2 author Andrew Isaacson Wed, 19 Oct 2005 23:55:57 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:46 +0100 Sibyte header cleanup Update sibyte headers to match Broadcom internal copies: - comment cleanup and updates - fix LittleSur part number to match the board silkscreen Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle commit 4cbf2beac2265b3619be9c8e88ff4ff45b49d7c2 tree fa7701264e60759b080b7953bcfad081a51e63d2 parent d121ced21d79eab7726bfe6b1e33da4ae86072c0 author Andrew Isaacson Wed, 19 Oct 2005 23:55:11 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:45 +0100 BCM1480 headers Add header files for BCM1480/1280/1455/1255 family of chips, and update sb1250 headers which are shared by BCM1480 family. Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle diff --git a/include/asm-mips/sibyte/bcm1480_int.h b/include/asm-mips/sibyte/bcm1480_int.h new file mode 100644 commit d121ced21d79eab7726bfe6b1e33da4ae86072c0 tree a673fe4d3e3c49179b68c3185ef331712df9e716 parent 485a4a928a059a361c7363e7ce0eab330a09dbd3 author Andrew Isaacson Wed, 19 Oct 2005 23:54:43 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:45 +0100 Sibyte fixes Fix typo in cpu_probe_sibyte. Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle commit 485a4a928a059a361c7363e7ce0eab330a09dbd3 tree d003941b23a35254bc0bb86b5df065cb28f0fbaf parent 750ccf687ff9adbf2a16066a3a2757d0f761384c author Ralf Baechle Wed, 19 Oct 2005 14:45:09 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:44 +0100 Make UL what should be UL. Signed-off-by: Ralf Baechle commit 750ccf687ff9adbf2a16066a3a2757d0f761384c tree 935c776cb9927f34b7038247249e4de68c93a562 parent f4c72cc737561aab0d9c7f877abbc0a853f1c465 author Atsushi Nemoto Wed, 19 Oct 2005 19:57:14 +0900 committer Ralf Baechle Sat, 29 Oct 2005 19:32:44 +0100 Fix zero length sys_cacheflush Cacheflush(0, 0, 0) was crashing the system. This is because flush_icache_range(start, end) tries to flushing whole address space (0 - ~0UL) if both start and end are zero. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit f4c72cc737561aab0d9c7f877abbc0a853f1c465 tree 14b53c7de3e27e27eed7c715f2fe96468bfeeaa0 parent 0d507d61cd1cce6d920e78fe10e67296abb2a1eb author Ralf Baechle Tue, 18 Oct 2005 13:25:29 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:43 +0100 Get 64-bit right in the kgdb stub. Signed-off-by: Ralf Baechle commit 0d507d61cd1cce6d920e78fe10e67296abb2a1eb tree 8db52cb5dc090eaee60f0248afe8743fe3e52904 parent 12616ed202ba66af6e1386df02d06c72d7386339 author Ralf Baechle Tue, 18 Oct 2005 12:48:31 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:43 +0100 Sys_lookup_dcookie arguments occupy 4 argument slots. Signed-off-by: Ralf Baechle commit 12616ed202ba66af6e1386df02d06c72d7386339 tree 1e003d71846e85d0e0f377b855ad9602f66e9dda parent 178086c86ac9738a76f1462e9ee4cbe8fd3b8c51 author Ralf Baechle Tue, 18 Oct 2005 10:26:46 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:43 +0100 FPU emulator garbage collection. First argument of fpu_emulator_cop1Handler() was unused. Signed-off-by: Ralf Baechle commit 178086c86ac9738a76f1462e9ee4cbe8fd3b8c51 tree 7981d13e3037b51acfe83b7280804ea73c6b7013 parent 6ec25809c143d875ed17b2e85d1dd894a1f4aba4 author Ralf Baechle Thu, 13 Oct 2005 17:07:54 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:42 +0100 Don't print file name and line in die and die_if_kernel. Signed-off-by: Ralf Baechle commit 6ec25809c143d875ed17b2e85d1dd894a1f4aba4 tree 59634cf8209c68d8741aba08dee6378c85bbb477 parent 8f91ed6c2fec8cb746e4dc86a79247162b4c5a7a author Ralf Baechle Wed, 12 Oct 2005 00:02:34 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:42 +0100 Rename page argument of flush_cache_page to something more descriptive. Signed-off-by: Ralf Baechle commit 8f91ed6c2fec8cb746e4dc86a79247162b4c5a7a tree 4ad1f37e01301ecfcb0fe51984221a84da17b32c parent 5e83d4305467c43af144d264674c7d7de303aeb3 author Ralf Baechle Sun, 09 Oct 2005 18:56:01 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:41 +0100 Define EOWNERDEAD and ENOTRECOVERABLE. Signed-off-by: Ralf Baechle commit 5e83d4305467c43af144d264674c7d7de303aeb3 tree f9dd363971619d77a97db1a44121814ebd14a5c0 parent beb3ca82fc0c2ec938b7446b006c8f34abb301b2 author Ralf Baechle Sat, 29 Oct 2005 19:32:41 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:41 +0100 Sliceup Kconfig; it's grown too large. Signed-off-by: Ralf Baechle commit beb3ca82fc0c2ec938b7446b006c8f34abb301b2 tree ea89c648dbeae35bdbe9734b2138ecdebdb55fe1 parent 4ee1303a787434d4994ae68d028ca025e339b434 author Ralf Baechle Sat, 29 Oct 2005 19:32:40 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:40 +0100 More configcheck fixes. Signed-off-by: Ralf Baechle commit 4ee1303a787434d4994ae68d028ca025e339b434 tree 66257cd009cffbed390c89c24ecd550134ad713a parent b4f8c4230708711c3b12c095cf6a59e6d06a183d author Ralf Baechle Sat, 29 Oct 2005 19:32:40 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:40 +0100 2.6.14-rc1 updates for MIPS compat types. Signed-off-by: Ralf Baechle commit b4f8c4230708711c3b12c095cf6a59e6d06a183d tree bf9df3f47e55ad176103c150db4aa9f134cefaea parent 3cd9b6802d39c155d44fc8076b6c72c3f7e919ed author Ralf Baechle Sat, 29 Oct 2005 19:32:40 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:40 +0100 Complete the fcntl.h cleanup. Signed-off-by: Ralf Baechle commit 3cd9b6802d39c155d44fc8076b6c72c3f7e919ed tree 8f46a32cc97be3ffdcaeabf553b3c1700fa1283c parent 9383292f179e1907e7e7ade539ac8fd3b65c1e97 author Ralf Baechle Sat, 29 Oct 2005 19:32:39 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:39 +0100 Cleanup Sibyte Kconfig a bit further. Signed-off-by: Ralf Baechle commit 9383292f179e1907e7e7ade539ac8fd3b65c1e97 tree 67500f159dba8146a120c27619ec9524b555be93 parent 8592d4c00eeb92495eaab6374baaad79b30866ed author Ralf Baechle Fri, 14 Jan 2005 03:03:23 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:39 +0100 Date: Fri Jan 14 03:03:23 2005 +0000 Locking cleanups. Signed-off-by: Ralf Baechle commit 8592d4c00eeb92495eaab6374baaad79b30866ed tree e51ac8f7f302a4da49ced54b3f2c0520ebb42b7f parent dbc571690ec4123e4e9fd6e731d8bdfa77b0d90e author Ralf Baechle Sat, 29 Oct 2005 19:32:38 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:38 +0100 Fix weirdness in Signed-off-by: Ralf Baechle commit dbc571690ec4123e4e9fd6e731d8bdfa77b0d90e tree fecef845336efff77fc288859e19e7e62b910a13 parent ec917c2c1ab4359a1d438e62daeb50cc42e632e1 author Ralf Baechle Sat, 29 Oct 2005 19:32:38 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:38 +0100 Fix wrong comment. Signed-off-by: Ralf Baechle commit ec917c2c1ab4359a1d438e62daeb50cc42e632e1 tree deb2e00bee354577e1f19b7b70c1a2037828a957 parent f92c1759a40a85f52b835c21b0ef6ce556b340c5 author Ralf Baechle Fri, 07 Oct 2005 16:58:15 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:37 +0100 Fixup a few lose ends in explicit support for MIPS R1/R2. Signed-off-by: Ralf Baechle commit f92c1759a40a85f52b835c21b0ef6ce556b340c5 tree 55e76df02c6fb6382d86f3314b23f11a3bb728dc parent 101b3531a693ad890f33f2f04323592cd376616a author Ralf Baechle Fri, 07 Oct 2005 12:06:12 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:37 +0100 Document the meaning of the CPU_MIPS32, CPU_MIPS64, CPU_MIPSR1 and CPU_MIPSR2. Signed-off-by: Ralf Baechle commit 101b3531a693ad890f33f2f04323592cd376616a tree adb9410d492ee3dca0fd437191213a28e02edcf4 parent 8afcb5d82934c83fb01664ae00eaff9de1d8d340 author Ralf Baechle Thu, 06 Oct 2005 17:39:32 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:36 +0100 Protect manipulation of c0_status against preemption and multithreading. Signed-off-by: Ralf Baechle commit 8afcb5d82934c83fb01664ae00eaff9de1d8d340 tree b658bb46b7e42f78befc5cc561ef69b43d0bab53 parent d50f7ec9d2c3e66cc9d529f2155d088d019f467a author Ralf Baechle Tue, 04 Oct 2005 15:01:26 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:36 +0100 Detect 4KSD and treat it like 4KSc. Signed-off-by: Ralf Baechle commit d50f7ec9d2c3e66cc9d529f2155d088d019f467a tree a5a0cd98e06395076ba282c457d6485765cd7495 parent 2f69ddccb01632dfe5d0ef946ee99000463cd9c4 author Ralf Baechle Tue, 04 Oct 2005 13:30:10 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:36 +0100 We're no longer hosted on oss for ages ... Signed-off-by: Ralf Baechle commit 2f69ddccb01632dfe5d0ef946ee99000463cd9c4 tree 92a4e77e077718d08c6733f7abe604ca0c132042 parent 57468af3267bfb89391f9c607a9637e86e55d299 author Ralf Baechle Mon, 03 Oct 2005 13:41:19 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:35 +0100 Convert the remaining SPIN_LOCK_UNLOCKED instances to DEFINE_SPINLOCK. Signed-off-by: Ralf Baechle commit 57468af3267bfb89391f9c607a9637e86e55d299 tree 3a52d3238fea2dd4cd887ff626e4b45d81c9b843 parent f8bb3af924211b0e6ee66dc0d3bcb4a66ba59af4 author Ralf Baechle Mon, 03 Oct 2005 13:40:26 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:35 +0100 Define and initialize kdb_lock using DEFINE_SPINLOCK. Convert kgdb_cpulock into a raw_spinlock_t. SPIN_LOCK_UNLOCKED is deprecated and it's replacement DEFINE_SPINLOCK is not suitable for arrays of spinlocks. Signed-off-by: Ralf Baechle commit f8bb3af924211b0e6ee66dc0d3bcb4a66ba59af4 tree 8f8fe1953febe3fcc696a309d25a97cf68042003 parent 65f1f5a2c3cdb0570806fe4e5512945673dfa199 author Ralf Baechle Mon, 03 Oct 2005 13:30:57 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:34 +0100 Make kgdb_wait static. Nothing outside gdb-stub.c uses kgdb_wait, so change it's definition to static. Signed-off-by: Ralf Baechle commit 65f1f5a2c3cdb0570806fe4e5512945673dfa199 tree 61772813b74f1b3064a51ba37f36d6093eadeed7 parent 5090dfb5bcf51479370b501e934edadc4d781f67 author Ralf Baechle Sat, 01 Oct 2005 20:22:39 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:34 +0100 Don't copy SB1 cache error handler to uncached memory. This may have made sense on a paranoid day with pass 1 BCM1250 processors that were throwing cache error exception left and right for no good reason. On modern silicion that hardly makes sense and the code had gotten just an obscurity ... Signed-off-by: Ralf Baechle commit 5090dfb5bcf51479370b501e934edadc4d781f67 tree 77644f77c4884a8aee74fa985b166a1257cbe255 parent 6aaf7786ed02da7797432708fbcdd242f9c0764e author Ralf Baechle Sat, 01 Oct 2005 17:34:35 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:33 +0100 Provide 64-bit address space definitions for the Sibyte SB1 CPU core. Signed-off-by: Ralf Baechle commit 6aaf7786ed02da7797432708fbcdd242f9c0764e tree 0cbece6a0ec2b706dfa8774e2b313ded86c5bbd0 parent 46dc3a4a098c65551d5f364e1c56331961400314 author Ralf Baechle Sat, 01 Oct 2005 13:14:58 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:33 +0100 No need to explicitly call __read_64bit_c0_split; __read_64bit_c0_register will do that itself iff needed. Fix format string. Signed-off-by: Ralf Baechle commit 46dc3a4a098c65551d5f364e1c56331961400314 tree e8ae4298c0435e830a8183b6436458e537a44591 parent 02cf2119684e52e97a8a90bd7630386e0f1a250a author Andrew Isaacson Wed, 22 Jun 2005 16:02:03 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:33 +0100 Fix stale comment in c-sb1.c. Signed-Off-By: Andrew Isaacson Signed-off-by: Ralf Baechle commit 02cf2119684e52e97a8a90bd7630386e0f1a250a tree fbe051feacc403d7703bf27043ac048b5d2f2369 parent 942d042d17c77febab9af6815b2e77f665d0f9c1 author Ralf Baechle Sat, 01 Oct 2005 13:06:32 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:32 +0100 Cleanup the mess in cpu_cache_init. Signed-off-by: Ralf Baechle commit 942d042d17c77febab9af6815b2e77f665d0f9c1 tree 546feac57c4e16b7c388a1e377e3e4212aee9585 parent f5cfa980e535e1f77038f8037422594592208695 author Andrew Isaacson Wed, 22 Jun 2005 16:01:09 -0700 committer Ralf Baechle Sat, 29 Oct 2005 19:32:32 +0100 Use cpumask_t rather than hand-rolled bitmask code in sb1250_set_affinity. Signed-Off-By: Andrew Isaacson Signed-off-by: Ralf Baechle commit f5cfa980e535e1f77038f8037422594592208695 tree 108a922c864f5b95de9ff5f72235aaf43755f536 parent c5c96e13790122095fdf2ea74a8131e5f6b60c03 author Ralf Baechle Sat, 01 Oct 2005 11:14:17 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:31 +0100 Use R4000 TLB routines for SB1 also. Signed-off-by: Ralf Baechle commit c5c96e13790122095fdf2ea74a8131e5f6b60c03 tree 2c11ebffae96232f4b6bf23cd416ad34588c8935 parent 3959c7957f0ab758066c8779483b18179c355257 author Ralf Baechle Sat, 01 Oct 2005 10:17:54 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:31 +0100 Fix build error caused by missmatching duplicate declaration. Signed-off-by: Ralf Baechle commit 3959c7957f0ab758066c8779483b18179c355257 tree b709b87527dbc65091f88cf95cbca86f8547a77e parent 0015365cc68a5b6ad22dfdac19580aa9530731c3 author Ralf Baechle Sat, 01 Oct 2005 00:03:42 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:31 +0100 Don't call memset to clean irq_desc; these data fields have already previously been initialized statically in kernel/irq/handle.c. Signed-off-by: Ralf Baechle commit 0015365cc68a5b6ad22dfdac19580aa9530731c3 tree 335f10463bf177ff114227b1ed010343f29f9699 parent c78cbf49c4edf2f9ca9e56d4b87a5d6ef08b7fed author Ralf Baechle Sat, 01 Oct 2005 00:00:00 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:30 +0100 Fix ARCH_KMALLOC_MINALIGN values on MIPS Signed-off-by: Ralf Baechle commit c78cbf49c4edf2f9ca9e56d4b87a5d6ef08b7fed tree 44bee3daac887df59c0d69658b19c21da4e1839f parent b288f135872b651ebf6cd1565d0709a5e31997f7 author Ralf Baechle Fri, 30 Sep 2005 13:59:37 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:30 +0100 Support for MIPSsim, the cycle accurate MIPS simulator. Signed-off-by: Ralf Baechle commit b288f135872b651ebf6cd1565d0709a5e31997f7 tree 4466c2038022d406aa3378ea644e5a7989ec5a08 parent ea3d710fe572f0af4d242701973f7363b2146429 author Ralf Baechle Fri, 30 Sep 2005 01:51:21 +0100 committer Ralf Baechle Sat, 29 Oct 2005 19:32:29 +0100 Switch Sibyte profiling driver to ->compat_ioctl Signed-off-by: Christoph Hellwig Signed-off-by: Ralf Baechle commit ea3d710fe572f0af4d242701973f7363b2146429 tree b8c7138296d4e19b7101b51bfeb6677d27185bc7 parent 9043f7e95d104795fcb03a2f762524babcd49da5 author Daniel Jacobowitz Wed, 28 Sep 2005 18:11:15 -0400 committer Ralf Baechle Sat, 29 Oct 2005 19:32:29 +0100 Revise MIPS 64-bit ptrace interface Change the N32 debugging ABI to something more sane, and add support for o32 and n32 debuggers to trace n64 programs. Signed-off-by: Daniel Jacobowitz Signed-off-by: Ralf Baechle commit 9043f7e95d104795fcb03a2f762524babcd49da5 tree cee4858eaee2579c061b3e8e52f88c557087d45b parent 9d58f302ca370c720fa47cb419f0b33eaa1a1132 author Atsushi Nemoto Wed, 28 Sep 2005 20:24:58 +0900 committer Ralf Baechle Sat, 29 Oct 2005 19:32:28 +0100 Sync c-tx39.c with c-r4k.c. tx39_flush_cache_range() does nothing if !cpu_has_dc_aliases. It should flush d-cache and invalidate i-cache since the TX39(H2) has separate I/D cache. Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 9d58f302ca370c720fa47cb419f0b33eaa1a1132 tree 93d3572aba1d3bbdb8f0c0ac18fabe1b73ce22ad parent 495515b351957e4f6155d1696132f53acc4d06e5 author Ralf Baechle Fri, 23 Sep 2005 20:02:38 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:28 +0100 Glue again after removal of BUILD_BUG(). Signed-off-by: Ralf Baechle commit 495515b351957e4f6155d1696132f53acc4d06e5 tree ce7fe8c50f7578d147d10b811497f3a246e917cd parent 80b47346b0c83edab5d183376b41e9968bd5ac32 author Ladislav Michl Fri, 23 Sep 2005 10:52:27 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:27 +0100 Let it compile again after i2c algo id removal. Sort headers. Signed-off-by: Ralf Baechle commit 80b47346b0c83edab5d183376b41e9968bd5ac32 tree 4f51d042ad575f4f3654a5503d1893076658743a parent 0c9ec467db8bf9ae9a337b96cecd9b6b703b57a1 author Ralf Baechle Thu, 22 Sep 2005 14:55:21 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:27 +0100 SMP on Malta needs to define ARCH_HAS_IRQ_PER_CPU since 2.6.14-rc1. Signed-off-by: Ralf Baechle diff --git a/include/asm-mips/mach-mips/irq.h b/include/asm-mips/mach-mips/irq.h new file mode 100644 commit 0c9ec467db8bf9ae9a337b96cecd9b6b703b57a1 tree 38fa95aad7c643ef568a365364f11a489cdb5995 parent ba264b340396b8dd7348ef8531e5ac003a34ff4e author Pete Popov Wed, 21 Sep 2005 21:39:44 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:27 +0100 smc91x platform support; requires patch to smc91x.h which was sent upstream. Signed-off-by: Ralf Baechle commit ba264b340396b8dd7348ef8531e5ac003a34ff4e tree f6edffeb3a615c3191109adef2151f358f377802 parent bab056aafe428b326f7ee72db453c3b8947c7339 author Pete Popov Wed, 21 Sep 2005 06:18:27 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:26 +0100 Au1[12]00 mmc driver. Only tested on the Au1200 at this point though it should work on the Au1100 as well. Updated defconfig to include driver. Signed-off-by: Ralf Baechle commit bab056aafe428b326f7ee72db453c3b8947c7339 tree aab9571a3b9e382168ae282d4c7c7d863fb82db3 parent e97288386a316e3960b758a60ae7cd17b3ee10e7 author Ralf Baechle Tue, 20 Sep 2005 13:43:51 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:26 +0100 Add SOCK_DCCP definition for MIPS also. Signed-off-by: Ralf Baechle commit e97288386a316e3960b758a60ae7cd17b3ee10e7 tree 5a40713cc8ceec43a9ed0d2f02373a1e5a2d648f parent 2cce8263228ac8926d675cfa19e50ca0af9e05e4 author Ralf Baechle Tue, 20 Sep 2005 10:56:26 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:25 +0100 The type of sum in csum_tcpudp_nofold is "unsigned int", so when we assign to it in an asm() block, and we're running on a system with 64-bit registers, it is vitally important that we sign extend it correctly before returning to C. Otherwise the stray high bits will be preserved into csum_fold, and on the SB-1 processor, 32-bit arithmetic on a non sign-extended register will yield surprising results. This caused incorrect checksums in some UDP packets for NFS root. The problem was mild when using a 10.0.1.x IP address, but severe when using 192.168.1.x. Signed-off-by: Daniel Jacobowitz Signed-off-by: Ralf Baechle commit 2cce8263228ac8926d675cfa19e50ca0af9e05e4 tree 9d6ab290277c0b85bdd1bb9eeae40c1cbb7354c8 parent 13bb199f98d179664cc24ab2e4762ef8ab059acc author Pete Popov Sun, 18 Sep 2005 11:18:10 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:25 +0100 Kernel gpio/2 routines that will be used by some drivers. Signed-off-by: Ralf Baechle commit 13bb199f98d179664cc24ab2e4762ef8ab059acc tree f442c2d1c1dcf911580a4b12c8c7a0317c55c373 parent d6460827af0763dc2f4a5cf0455cbf1e3a9ccb77 author Pete Popov Sun, 18 Sep 2005 01:10:46 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:25 +0100 Fix a cache snooping issue. Signed-off-by: Ralf Baechle commit d6460827af0763dc2f4a5cf0455cbf1e3a9ccb77 tree eeac9842013ab85276fff3ee64928c9c4cd1fd2c parent efe29c0f34dc3ee3511e46458f335edb7ee50327 author Pete Popov Sat, 17 Sep 2005 00:38:10 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:24 +0100 Updated pcmcia driver with pb1200 and db1200 support. Updated db1200_defconfig so pcmcia is enabled by default. Signed-off-by: Ralf Baechle commit efe29c0f34dc3ee3511e46458f335edb7ee50327 tree 645c9e7a061984ded12ae1ecf33ed869b7b90fbf parent 0bf0e3e279661c42ad43014d62ddd87d42da12e7 author Pete Popov Thu, 15 Sep 2005 23:42:27 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:24 +0100 - moved platform structure to platform.c - fixed an iounmap warning - export fixup_xx, needed by the module Signed-off-by: Ralf Baechle commit 0bf0e3e279661c42ad43014d62ddd87d42da12e7 tree a300ea64996f301b92aade759614dc3d12de1094 parent 870d3d98eb343fa0f079773653f6dbdd17f410ed author Ralf Baechle Thu, 15 Sep 2005 16:43:50 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:23 +0100 Fix excessive signal latencies. Signed-off-by: Ralf Baechle commit 870d3d98eb343fa0f079773653f6dbdd17f410ed tree 334a8efce430cfc0244ab6506444d4918fdbcb15 parent 61ed242d7e9d96dfb2e2f37058f5c822e5c6ca55 author Ralf Baechle Thu, 15 Sep 2005 08:52:34 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:23 +0100 Reorder & reformat a bit. Signed-off-by: Ralf Baechle commit 61ed242d7e9d96dfb2e2f37058f5c822e5c6ca55 tree 659a2c39c1bb5dd1f720b713723037c1bdf8da7a parent 587cb98f368de7ea4382a6ca99847113fbbeea91 author Ralf Baechle Thu, 15 Sep 2005 08:52:34 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:22 +0100 Use ARCH_MAY_HAVE_PC_FDC where needed. Signed-off-by: Ralf Baechle commit 587cb98f368de7ea4382a6ca99847113fbbeea91 tree 9a34df00ddc0d921c127cad15f6e5a8bef264802 parent 61ed7f08b691677a13486d920dcd931b7d31719c author Ralf Baechle Thu, 15 Sep 2005 08:52:34 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:22 +0100 GCC bulletproofing: __mips64 is only defined when compiling for 64-bit processors. Signed-off-by: Ralf Baechle commit 61ed7f08b691677a13486d920dcd931b7d31719c tree dc9c8741ee0326148fd8fc3e7a650a49c259c91e parent ebfaebae364c3631c70467bf89a63b341d0f0949 author Ralf Baechle Thu, 15 Sep 2005 08:52:34 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:22 +0100 The values for SO_SNDBUFFORCE / SO_RCVBUFFORCE were already taken ... Signed-off-by: Ralf Baechle commit ebfaebae364c3631c70467bf89a63b341d0f0949 tree 837833970842137f0ca9a4992e30a30a12cde241 parent 9dbdfce85c165faa45509ca3b18deaa5f9dfbc12 author Ralf Baechle Thu, 15 Sep 2005 08:52:34 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:21 +0100 Futexes for MIPS, for the time being only the R10000_LLSC_WAR version. Signed-off-by: Ralf Baechle commit 9dbdfce85c165faa45509ca3b18deaa5f9dfbc12 tree 9e000f50f4a7483210b4f0df48de6918e1511dc6 parent 26a940e21752e0de8f068f77dad606a7d1986937 author Ralf Baechle Thu, 15 Sep 2005 08:52:34 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:21 +0100 Define pcibus_to_node() for IP27. Signed-off-by: Ralf Baechle commit 26a940e21752e0de8f068f77dad606a7d1986937 tree 88e46225e19c4c72fa6914a21afb28c6ea52bfc6 parent 64abf64d10b3a547becefeb26394dfbefac273fb author Pete Popov Thu, 15 Sep 2005 08:03:12 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:20 +0100 Cleaned up AMD Au1200 IDE driver: - converted to platform bus - removed pci dependencies - removed virt_to_phys/phys_to_virt calls System now can root off of a disk. Signed-off-by: Ralf Baechle diff --git a/Documentation/mips/AU1xxx_IDE.README b/Documentation/mips/AU1xxx_IDE.README new file mode 100644 commit 64abf64d10b3a547becefeb26394dfbefac273fb tree 2960d858aa3490548385f77fbd460c6dc60e1e5b parent 4f94afa258c3e574a8d985160e87146a5183944b author Pete Popov Wed, 14 Sep 2005 16:17:59 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:20 +0100 Misc au1200 updates. Signed-off-by: Ralf Baechle commit 4f94afa258c3e574a8d985160e87146a5183944b tree 7fcc98c8f7852e6640ab6a59c3500bf7328b7c62 parent 57e3e3b9187765f042c131db1a8b66bee67fc5fb author Ralf Baechle Wed, 14 Sep 2005 14:52:16 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:19 +0100 Delete the SABLE_RTL case. Signed-off-by: Ralf Baechle commit 57e3e3b9187765f042c131db1a8b66bee67fc5fb tree 5b0d42e6e84fdd7b0f69e52c8b3ead2e03dbb2a9 parent 097975fc6651ee8f43ffc930ae0c4851ec979454 author Pete Popov Tue, 13 Sep 2005 22:52:55 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:19 +0100 When no yamon command line is passed to the kernel, preserve the default compiled in command line. Signed-off-by: Ralf Baechle commit 097975fc6651ee8f43ffc930ae0c4851ec979454 tree a95ce1214561fed94c1fff93e23457b0a4c9edaa parent 10a3dabddd79473130c6ded7f7cef1d55fccc115 author Ralf Baechle Mon, 12 Sep 2005 20:22:07 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:18 +0100 Provide MODULE_ARCH_VERMAGIC for MIPS. Signed-off-by: Ralf Baechle commit 10a3dabddd79473130c6ded7f7cef1d55fccc115 tree 8563bee83ef4b13ca1ca0f9141949437f0c7510f parent 02fe2c9ce3159f62339f30dfe62aeb6e4aa75d6e author Thiemo Seufer Fri, 09 Sep 2005 20:26:54 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:18 +0100 Add/Fix missing bit of R4600 hit cacheop workaround. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 02fe2c9ce3159f62339f30dfe62aeb6e4aa75d6e tree 8d330ba1629926b2bf0404d58921b15a873f3d17 parent f5b4d9563b3dc43d3b5df2422baecd2d4b77750a author Thiemo Seufer Fri, 09 Sep 2005 19:45:41 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:17 +0100 Minor code cleanup. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit f5b4d9563b3dc43d3b5df2422baecd2d4b77750a tree 4f0b5642c8c31cb8557fb74804de2f326c1574cb parent 424cadae94a683afe2164f726269d2b479d99732 author Thiemo Seufer Fri, 09 Sep 2005 17:11:50 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:17 +0100 R4600 v2.0 needs a nop before tlbp. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 424cadae94a683afe2164f726269d2b479d99732 tree c75849ee46e6b6f7ab209c1fdae8d89fb4dd4d68 parent 98e316d4b151111d5a8ff2b3a684a9300634d83f author Thiemo Seufer Fri, 09 Sep 2005 17:09:18 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:17 +0100 Don't set up a sg dma address if we have no page address for some reason. Code cleanup. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 98e316d4b151111d5a8ff2b3a684a9300634d83f tree fefb69d133561477a5b6fde3a10dee6d79d637ae parent d8748a3abf1f388438ba2d812c1f46c549856afe author Maciej W. Rozycki Mon, 05 Sep 2005 10:31:27 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:16 +0100 Move MIPS Technologies processor IDs to where they belong. Signed-off-by: Ralf Baechle commit d8748a3abf1f388438ba2d812c1f46c549856afe tree afc62d26f630f790cbeb1219589531707ba25cb8 parent 5bcb9a58e6e3eda4af87193c8746d15e45f51628 author Thiemo Seufer Fri, 02 Sep 2005 09:56:12 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:16 +0100 More .set push/pop. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 5bcb9a58e6e3eda4af87193c8746d15e45f51628 tree a002040a806a115d3a2b4fece08946c90e86ec8a parent 330cfe016bec3cdf517a626083bcb0d7b1854744 author Ralf Baechle Thu, 01 Sep 2005 20:42:46 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:15 +0100 Move genrtc.c's functions into Signed-off-by: Ralf Baechle commit 330cfe016bec3cdf517a626083bcb0d7b1854744 tree 5273948dd01047d77de45bc3142c3c52dd140e75 parent 65dd7026a906f7a70ef326f18540c0b648a0ffed author Thiemo Seufer Thu, 01 Sep 2005 18:33:58 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:15 +0100 Let r4600 PRID detection match only legacy CPUs, cleanups. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 65dd7026a906f7a70ef326f18540c0b648a0ffed tree 02ad69bcba2f6b258cc8063ca735372158babb24 parent aaa49075c6a75332dac6fb401518c0a72b103443 author Thiemo Seufer Thu, 01 Sep 2005 09:02:08 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:14 +0100 Define some more common ip22 CPU features. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit aaa49075c6a75332dac6fb401518c0a72b103443 tree 2b3475e5af739225e51892c45d09272f387ed0dc parent 2fe25f67a55ea0e6416304fa43d58fae93b7300a author Thiemo Seufer Thu, 01 Sep 2005 09:00:51 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:14 +0100 Typo fix. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 2fe25f67a55ea0e6416304fa43d58fae93b7300a tree a51ec17e1ae43c587dad6ca6d4c2e183fb1a5f81 parent f8670e66dc3f08512b57cb7872932fb0710de589 author Thiemo Seufer Thu, 01 Sep 2005 08:59:55 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:14 +0100 More .set push/pop encapsulation, more eyefriendly code formatting. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit f8670e66dc3f08512b57cb7872932fb0710de589 tree d45b63678eed1e093825a058e27446e766fc67e6 parent 37c8c642ea6deb4837c247de062e3f4c5ae2b282 author Thiemo Seufer Thu, 01 Sep 2005 08:56:18 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:13 +0100 Fix MAP_BASE for 64bit ip22. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 37c8c642ea6deb4837c247de062e3f4c5ae2b282 tree c429ad5c7758883da9e90fb813b5b5bb1eff5c1e parent 7623debf267521771952870549f5c5d38c408ad1 author Thiemo Seufer Wed, 31 Aug 2005 15:55:16 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:13 +0100 IP22 EISA support update. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 7623debf267521771952870549f5c5d38c408ad1 tree 10ffd54fce353ce6d9f75b62c133252ed47d086f parent 23bbbaf89cfb9bfd1a37385bfbb4e0cab591f454 author Ralf Baechle Mon, 29 Aug 2005 16:49:55 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:12 +0100 Handle mtc0 - tlb write hazard for VR5432. Signed-off-by: Ralf Baechle commit 23bbbaf89cfb9bfd1a37385bfbb4e0cab591f454 tree 5426c96deb184e060e7fec8aba797ebb11f672d9 parent f99d3023f317fb3916b46465cc07a0cad3faa0a5 author Maciej W. Rozycki Fri, 26 Aug 2005 13:36:42 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:12 +0100 Make static what ought to be static. Signed-off-by: Ralf Baechle commit f99d3023f317fb3916b46465cc07a0cad3faa0a5 tree 727715d292ec4752f71423922e0511e82e585090 parent e607d6c8b8dd684936fda4b2cc37ad9f9104bed4 author Ralf Baechle Thu, 25 Aug 2005 16:22:09 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:11 +0100 Sprinkle a few more .set mipsX over xchg to make sure we dont' end up with 64-bit instructions on 32-bit processors, they tend to be unhappy about that kind of food ;-) Signed-off-by: Ralf Baechle commit e607d6c8b8dd684936fda4b2cc37ad9f9104bed4 tree b16a7f60535b950f8705c7d9b6667af1f35cc2a2 parent fabffc13ed720eea986f80f432cedb4550f464ed author Pete Popov Tue, 23 Aug 2005 00:22:48 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:11 +0100 Get rid of a bunch of debug serial routines. Use prom_printf instead. Signed-off-by: Ralf Baechle commit fabffc13ed720eea986f80f432cedb4550f464ed tree a9e318deef331e9c551e126bdc9d2501097ef534 parent 27c7c1657df54352838d176b39e119b799bf7855 author Ralf Baechle Fri, 19 Aug 2005 14:29:15 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:11 +0100 Remove workaround for binutils 2.15 assembler bug; this version is not suitable to reliably build kernels anymore anyway and 2.16 has this fixed. Signed-off-by: Ralf Baechle commit 27c7c1657df54352838d176b39e119b799bf7855 tree 6bbb4e2cd33f4d3abf087fc72915673f981889f1 parent 340ee4b98c0543b5632cac975a7449a2d28762d8 author Ralf Baechle Wed, 17 Aug 2005 17:57:34 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:10 +0100 Drop might_sleep() calls from get_user() & co. This should fix the issue in http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=200508171321.20094.Joshua.Wise%40sicortex.com and it's the right thing to do anyway because it was inflating those functions way too much. Signed-off-by: Ralf Baechle commit 340ee4b98c0543b5632cac975a7449a2d28762d8 tree 94b7315d53d6eadd145c8691f0a9925f5ae389f5 parent d03d0a57754cb820d318d2234c60b728eb38a94d author Ralf Baechle Wed, 17 Aug 2005 17:44:08 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:10 +0100 Virtual SMP support for the 34K. Signed-off-by: Ralf Baechle commit d03d0a57754cb820d318d2234c60b728eb38a94d tree c9feac8689e0081304382411592f3e074fe96502 parent 533330bf7fa19854f3b4accd2b84ff58e3ee160f author Ralf Baechle Wed, 17 Aug 2005 13:44:26 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:09 +0100 MT bulletproofing. Signed-off-by: Ralf Baechle commit 533330bf7fa19854f3b4accd2b84ff58e3ee160f tree 841eb3e66c58a34a7f57701fa50fd6d7bbafcda5 parent 0952e2905c6bc2e12a43910c7eb898b6481a57b5 author Ralf Baechle Wed, 17 Aug 2005 10:11:10 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:09 +0100 On CONFIG_64BIT_PHYS_ADDR, pfn always fits in 'unsigned long', but pfn< commit 0952e2905c6bc2e12a43910c7eb898b6481a57b5 tree 13ed9bcf42589af9a6cf3331488cc4170ff5192f parent a50b3e2763dc23f8427b7f4a199235dfe9a073c0 author Ralf Baechle Wed, 17 Aug 2005 10:03:03 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:08 +0100 Fix parenthesis in macros. Signed-off-by: Ralf Baechle commit a50b3e2763dc23f8427b7f4a199235dfe9a073c0 tree 275b781287caf29840d801ee2953e54429e07482 parent 8b200ce4a697fbbf446de3a0874232d7aaa3f6d3 author Ralf Baechle Tue, 16 Aug 2005 18:11:07 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:08 +0100 Do the timer interrupt only once on CPU 0 ... Signed-off-by: Ralf Baechle commit 8b200ce4a697fbbf446de3a0874232d7aaa3f6d3 tree ff0ae21d04f4d590b8bdd51c0a7f8006f7d7cc20 parent ac351d947390c00b8ece3cde997fe173fc8649ed author Ralf Baechle Tue, 16 Aug 2005 17:54:41 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:07 +0100 Define cpu_icache_snoops_remote_store. This is slight abuse of something which originally was meant for SMP cache managment but it can be argued to apply on the 34K as well. Signed-off-by: Ralf Baechle commit ac351d947390c00b8ece3cde997fe173fc8649ed tree 57f5801414b2d66905b2596ce93573f53528a457 parent d2f755e04f26b9ab4b8da24c025dc4f6112d6bee author Ralf Baechle Tue, 16 Aug 2005 17:47:00 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:06 +0100 Add a few simple error checks to tlb dumper. Signed-off-by: Ralf Baechle commit d2f755e04f26b9ab4b8da24c025dc4f6112d6bee tree b53124f517972e5169d4279a1c1279570cb13ee9 parent 3fd5646cac36e2ea244bb3455a66afb1777b9a92 author Ralf Baechle Tue, 16 Aug 2005 17:06:48 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:06 +0100 Reindent dump_tlb.c. Signed-off-by: Ralf Baechle commit 3fd5646cac36e2ea244bb3455a66afb1777b9a92 tree 56c865cbec69360581e0106c0f7e3cd6b83734eb parent e027802e985f1cca752bf3b2e7eecae05031699f author Ralf Baechle Tue, 16 Aug 2005 16:54:12 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:05 +0100 Add missing space. Signed-off-by: Ralf Baechle commit e027802e985f1cca752bf3b2e7eecae05031699f tree 6ef2a3245e10a1438cf731b0500b390ad882ae46 parent 3bffe736d93ce527a27fd5a4845fb2a0e82fcd99 author Ralf Baechle Tue, 16 Aug 2005 16:39:15 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:05 +0100 Display presence of SmartMIPS, DSP and MT ASEs in /proc/cpuinfo. Signed-off-by: Ralf Baechle commit 3bffe736d93ce527a27fd5a4845fb2a0e82fcd99 tree 1bed04fd852bf26941096126e86066b25748a64d parent 28a7879d8ca6afafbd1583dd777587e441d0f90e author Ralf Baechle Tue, 16 Aug 2005 16:10:18 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:04 +0100 Delete old junk. Signed-off-by: Ralf Baechle commit 28a7879d8ca6afafbd1583dd777587e441d0f90e tree bfc24e4dfc719f7aeb5a441c1b6063a2d8d31133 parent 479a0e3e0245fa116412bc105ab1161636c220cb author Ralf Baechle Tue, 16 Aug 2005 15:46:05 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:03 +0100 Spelling fix. Signed-off-by: Ralf Baechle commit 479a0e3e0245fa116412bc105ab1161636c220cb tree 3aa73f8d4626f1f29821df184fa9d6df9d08e6d4 parent fd0197d26208b896caa958cc1780e8016f439711 author Ralf Baechle Tue, 16 Aug 2005 15:44:06 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:02 +0100 Support for CoreFPGA-3. Signed-off-by: Ralf Baechle commit fd0197d26208b896caa958cc1780e8016f439711 tree 56eabebb73e655ffb9772bde33cb0319fcdabac3 parent 797798c1bed106a20d4c1ac689ae8a5b1069c5b2 author Ralf Baechle Mon, 15 Aug 2005 11:24:34 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:02 +0100 Implement get_system_type() for Qemu to get procfs-enabled kernels to link. Signed-off-by: Ralf Baechle commit 797798c1bed106a20d4c1ac689ae8a5b1069c5b2 tree 3f0c50b7e7b0ea19b7ce8dc6a9c6f070266e2ae7 parent d9912d87840b321678c85396c6adf15ced2c228d author Ralf Baechle Wed, 10 Aug 2005 15:17:11 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:01 +0100 A little more Kconfig untangeling. Signed-off-by: Ralf Baechle commit d9912d87840b321678c85396c6adf15ced2c228d tree 100585d6cb7ddc9a76b5fff7895ae72c3b67984c parent d3ffd085536c1801da74c098e25fd3985671e15d author Ralf Baechle Tue, 09 Aug 2005 15:23:49 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:00 +0100 Inlining will result in back-to-back mtc0 mfc0 instructions. Break the hazard by using back_to_back_c0_hazard(). Signed-off-by: Ralf Baechle commit d3ffd085536c1801da74c098e25fd3985671e15d tree 30c681787eadf0d117b95cc80b4533f3b4abe2e3 parent 0ae12797581a25832aea7011192d023a348ae5ab author Ralf Baechle Mon, 08 Aug 2005 12:42:26 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:32:00 +0100 Use pr_debug instead of homegrown debug print macros. Signed-off-by: Ralf Baechle commit 0ae12797581a25832aea7011192d023a348ae5ab tree 1b021eb002780c1cc3f3c75f38102c973c02772f parent c8094b53c17bf93d8afa5e8ccec30450a2e07aad author Ralf Baechle Fri, 05 Aug 2005 14:50:35 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:59 +0100 Send CONFIG_VTAG_ICACHE back into it's cold grave. Signed-off-by: Ralf Baechle commit c8094b53c17bf93d8afa5e8ccec30450a2e07aad tree ca63c002d3ac2e5f1eafbb412f6561e07ba75d69 parent 8d9c62675d58ebfb7dfce64cd1ce109e7d90af87 author Ralf Baechle Fri, 05 Aug 2005 14:28:54 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:59 +0100 Get rid of the nonsense in the CONFIG_CPU_HAS_PREFETCH block. Signed-off-by: Ralf Baechle commit 8d9c62675d58ebfb7dfce64cd1ce109e7d90af87 tree d37d17eaaaa520d71ae1561d91da063dea8839ed parent 075e7502d9701dbc206ed32046888acfc8a4bb73 author Ralf Baechle Fri, 05 Aug 2005 10:31:47 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:58 +0100 sys is only used for native o32 ... Signed-off-by: Ralf Baechle commit 075e7502d9701dbc206ed32046888acfc8a4bb73 tree 54e315970e45b2d2cb2a22f3709291406a6ecede parent 23fbee9dd5d2a41d36af49ff8e1669fb0c29fda8 author Thiemo Seufer Wed, 27 Jul 2005 21:48:12 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:58 +0100 R4600 has 32 FPRs. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 23fbee9dd5d2a41d36af49ff8e1669fb0c29fda8 tree 4e24699269b9d4d2655d961e7a0ffb29931e9b2d parent 132940401174ed04f9e8f1ae2dad6f47da26ee0a author Ralf Baechle Mon, 25 Jul 2005 22:45:45 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:57 +0100 Support for Toshiba's RBHMA4500 eval board for the TX4938. Signed-off-by: Ralf Baechle commit 132940401174ed04f9e8f1ae2dad6f47da26ee0a tree 61ac747cbd39755a83eedfaa0929cc77afe8e9b0 parent 154b500b1981a8053a15cd8e749a955a9bb60006 author Ladislav Michl Sat, 23 Jul 2005 22:54:52 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:57 +0100 Void functions shouldn't return values Signed-off-by: Ladislav Michl Signed-off-by: Ralf Baechle commit 154b500b1981a8053a15cd8e749a955a9bb60006 tree 5e54300cc5e4cc3c63e47fa5c6d36590f4519786 parent 3ce86ee14ba7c4b0f8ddae6030df9d0dee15b236 author Ralf Baechle Fri, 22 Jul 2005 05:46:02 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:56 +0100 commit 1858f72fa2e2f63e62114a9bd40c8e68468d8c5e Author: Ralf Baechle Date: Fri Jul 22 05:46:02 2005 +0000 New build target vmlinux.bin build raw binary image for Qemu. Signed-off-by: Ralf Baechle commit 3ce86ee14ba7c4b0f8ddae6030df9d0dee15b236 tree 9283cd659849be0deaea5fa80b7d8343edd5d926 parent 7ab1261f5fe421602fadeda1d89662303b08830b author Pete Popov Tue, 19 Jul 2005 07:05:36 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:56 +0100 Au1x PM fixes. Signed-off-by: Ralf Baechle commit 7ab1261f5fe421602fadeda1d89662303b08830b tree e9957812fedd04ce834b2f451f0e4867c4a9de7b parent ae1b3d51c89a96c641111e2c103557592577cf51 author Ralf Baechle Fri, 15 Jul 2005 16:32:34 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:56 +0100 Drop IP27 support for Qlogic ISP. This driver is buggy and has been obsoleted by the qla1280 after the recent fixes. Signed-off-by: Ralf Baechle commit ae1b3d51c89a96c641111e2c103557592577cf51 tree 1aae0a75db788d079c5e79646082bec192709250 parent 1d40cfcd3442a53e98468cdb3e6d4d9a568d76cf author Ralf Baechle Fri, 15 Jul 2005 15:44:02 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:55 +0100 Make sure that the processor is actually online or die spectacularly. Signed-off-by: Ralf Baechle commit 1d40cfcd3442a53e98468cdb3e6d4d9a568d76cf tree 76d3ba7ac251389194b74c4343d7c46231442044 parent bdf21b18b4abf983db38f04ef7fec88f47389867 author Ralf Baechle Fri, 15 Jul 2005 15:23:23 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:54 +0100 Avoid SMP cacheflushes. This is a minor optimization of startup but will also avoid smp_call_function from doing stupid things when called from a CPU that is not yet marked online. Signed-off-by: Ralf Baechle commit bdf21b18b4abf983db38f04ef7fec88f47389867 tree b7e551f09f0ee39f4a59132be4c0890e1ba80d91 parent e01402b115cccb6357f956649487aca2c6f7fbba author Pete Popov Thu, 14 Jul 2005 17:47:57 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:54 +0100 Philips PNX8550 support: MIPS32-like core with 2 Trimedias on it. Signed-off-by: Ralf Baechle commit e01402b115cccb6357f956649487aca2c6f7fbba tree 256e14f8d2762de98b992219b1a47e8f56b4b0da parent 86071b637db7baf599df26fdf820dce2fc55ca9f author Ralf Baechle Thu, 14 Jul 2005 15:57:16 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:53 +0100 More AP / SP bits for the 34K, the Malta bits and things. Still wants a little polishing. Signed-off-by: Ralf Baechle commit 86071b637db7baf599df26fdf820dce2fc55ca9f tree 71d91172984777b5b39908cbafad757d7a2556a6 parent 7e35952baa9d7424dfb95ca8aff7239a1f6ec011 author Ralf Baechle Thu, 14 Jul 2005 13:25:05 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:53 +0100 Cleanups. Signed-off-by: Ralf Baechle commit 7e35952baa9d7424dfb95ca8aff7239a1f6ec011 tree 6412561c7dddfcc903491be1d6bb784646e2e3a6 parent a0c3a5b5a84df11cf6a44fc04cb6f7c0525123a8 author Ralf Baechle Thu, 14 Jul 2005 09:42:32 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:52 +0100 Move Origin crapola into a machine-specific header file. Signed-off-by: Ralf Baechle commit a0c3a5b5a84df11cf6a44fc04cb6f7c0525123a8 tree ccf2fb288ae0a967315db817e7b6c96a82999313 parent 8f40611d2b184ca5d525075d273854929cf8d1d0 author Ralf Baechle Thu, 14 Jul 2005 07:39:46 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:52 +0100 Prevent gcc from optimizing a few functions away completly. Signed-off-by: Ralf Baechle commit 8f40611d2b184ca5d525075d273854929cf8d1d0 tree 962ef8dfa515cee330f506dc4ceac83670d0f84e parent 699dbc90e8c7baecae197fb331773f505a46a1eb author Ralf Baechle Thu, 14 Jul 2005 07:34:18 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:51 +0100 Detect the MIPS R2 vectored interrupt, external interrupt controller options and the precense of the MT ASE. Signed-off-by: Ralf Baechle commit 699dbc90e8c7baecae197fb331773f505a46a1eb tree b5a30418a46b2502f211e7fa92db194dbfdb5ad8 parent f10fae02403fb8af141b0a440074a944ccd63504 author Ralf Baechle Thu, 14 Jul 2005 07:30:27 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:51 +0100 Macros to access the register of processors using the new MIPS Multithreading ASE, also know as MT ASE. Signed-off-by: Ralf Baechle diff --git a/include/asm-mips/mipsmtregs.h b/include/asm-mips/mipsmtregs.h new file mode 100644 commit f10fae02403fb8af141b0a440074a944ccd63504 tree a401c82cc2692955faa284111bef23ece0980147 parent 10f6567e63a0ba9b473da9ea60452ffdb07ced02 author Pete Popov Thu, 14 Jul 2005 00:17:05 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:50 +0100 Fix the fixup_bigphys_addr compile problem. Signed-off-by: Ralf Baechle commit 10f6567e63a0ba9b473da9ea60452ffdb07ced02 tree e0fcb28865545f099a1b89b5f21df5a0fbe4fe57 parent 7a0fc58cd9b004672b38537de276f8f188d5e84a author Pete Popov Thu, 14 Jul 2005 00:16:06 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:49 +0100 Removed __ilog2 since it's no longer needed and conflicts with the generic one. Signed-off-by: Ralf Baechle commit 7a0fc58cd9b004672b38537de276f8f188d5e84a tree 68cc64c5bf4fc62e5aae4b38357125aaf6cc6cdd parent 55d04dff0fcf5d1c3f0d6edf6df86d82fa4c053b author Ralf Baechle Wed, 13 Jul 2005 19:47:28 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:49 +0100 A few more macros to access MIPS R2 architecture registers. Signed-off-by: Ralf Baechle commit 55d04dff0fcf5d1c3f0d6edf6df86d82fa4c053b tree f046b15a3c327c486dc871a4c810d013979b4a77 parent 569f75bd02d20043c4baf9fc38d937f37e7572b0 author Ralf Baechle Wed, 13 Jul 2005 19:22:45 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:48 +0100 New kernel option nowait allows disabling the use of the wait instruction. Signed-off-by: Ralf Baechle commit 569f75bd02d20043c4baf9fc38d937f37e7572b0 tree d04f221d275ad6e7d8b7e2fda73f032015eb8242 parent 97fb5de194a244df3a257bbddaaad911641af381 author Ralf Baechle Wed, 13 Jul 2005 18:20:33 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:48 +0100 Use an irq_enable_hazard hazard barrier in unmask_mips_irq. This hasn't been an actual bug, so it's more a change to be 100% compliant with the requirements of the architecture spec. Similar fix to mask_mips_irq where there was a slightly less theoretical chance of getting hit. Signed-off-by: Ralf Baechle commit 97fb5de194a244df3a257bbddaaad911641af381 tree e55d735aca483e92326b8316b5d84f2df71cdb5a parent f039b5d3661a9b95bd86aa5a268c766b53df50e5 author Ralf Baechle Wed, 13 Jul 2005 17:58:20 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:47 +0100 Add EF_MIPS_ARCH_32R2 and EF_MIPS_ARCH_64R2 for tagging of R2 binaries. Signed-off-by: Ralf Baechle commit f039b5d3661a9b95bd86aa5a268c766b53df50e5 tree 3cf7ba67acd981430a8ea285ecc558d1d0b9f602 parent 7db36c858c01218bf02931c39076b082c42d964c author Ralf Baechle Wed, 13 Jul 2005 17:56:24 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:47 +0100 Add a few more SHN_MIPS_* symbols from glibc. Signed-off-by: Ralf Baechle commit 7db36c858c01218bf02931c39076b082c42d964c tree eb74babda1c99cb89dd052e9b9396d7fc0870ce0 parent ec74e361f1e71a2498e48b62abdc4bd8d2423354 author Ralf Baechle Wed, 13 Jul 2005 11:48:45 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:47 +0100 Add inotify syscalls for MIPS. Signed-off-by: Ralf Baechle commit ec74e361f1e71a2498e48b62abdc4bd8d2423354 tree f442c9b3cf759743d97393288a31b9e481ad1df4 parent cc61c1fede7d02cb8133ab0952ca3f3ba1f7fbb1 author Ralf Baechle Wed, 13 Jul 2005 11:48:45 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:46 +0100 Mark a few variables __read_mostly. Signed-off-by: Ralf Baechle commit cc61c1fede7d02cb8133ab0952ca3f3ba1f7fbb1 tree 9ad2708ba9ce5038dd6df888d1fc69de055c35fd parent bbc7f22f6dca8a075b565ade49e9a982f89707c3 author Ralf Baechle Tue, 12 Jul 2005 18:35:38 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:46 +0100 MIPS R2 instruction hazard handling. Signed-off-by: Ralf Baechle commit bbc7f22f6dca8a075b565ade49e9a982f89707c3 tree 06f2055cd1bb17f1330023bf111dc9fa7b1d589c parent 079ef8bb809c701fa0ab09d8984262693b854f94 author Ralf Baechle Tue, 12 Jul 2005 16:12:05 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:45 +0100 Detect the 34K. Signed-off-by: Ralf Baechle commit 079ef8bb809c701fa0ab09d8984262693b854f94 tree 3f8f673054c6bef389570dcefa7a4dd27093f311 parent ff88f8a3d290c213f90d40aa81bdea5c054f58b5 author Ralf Baechle Tue, 12 Jul 2005 14:56:53 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:45 +0100 Generate code for MIPS32 / MIPS64 Release 2 if configured for one of these architectures. Signed-off-by: Ralf Baechle commit ff88f8a3d290c213f90d40aa81bdea5c054f58b5 tree c8d57d8024e57b5fc8b7e69f720f92c41a4ffefb parent 1e5f1caa5dc4398298a2b7c2638855881a5057c5 author Ralf Baechle Tue, 12 Jul 2005 14:54:31 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:44 +0100 Use ei / di MIPS32 R2 instructions if available. Signed-off-by: Ralf Baechle commit 1e5f1caa5dc4398298a2b7c2638855881a5057c5 tree 346ed9762414b3bcc84a438534b1ebdb903f2de3 parent 6590326505e3f7b4b57793e84760e9920c3c56b4 author Ralf Baechle Tue, 12 Jul 2005 14:51:22 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:44 +0100 MIPS 32/64 R2 config option. Signed-off-by: Ralf Baechle commit 6590326505e3f7b4b57793e84760e9920c3c56b4 tree 920ab56cb70895393e57b356c28d6eb37932c63f parent e5de3b468795e4c58a9f0702630d28707b3ae011 author Ralf Baechle Tue, 12 Jul 2005 12:50:30 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:43 +0100 Use clz / dclz on MIPS32 / MIPS64 processors. Signed-off-by: Ralf Baechle commit e5de3b468795e4c58a9f0702630d28707b3ae011 tree bb52ef6c6bcacebb92e1ab97b37a8e3afec98d29 parent e80de8503cbcaecd7637fde26635dbc825f796dd author Ralf Baechle Tue, 12 Jul 2005 09:18:53 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:43 +0100 In pcibios_enable_resources go back to handling all PCI_NUM_RESOURCES resources. We tried previous but ran into problems ... Signed-off-by: Ralf Baechle commit e80de8503cbcaecd7637fde26635dbc825f796dd tree fb31e4e58da7931907957ba209876c64b8f9b091 parent 60080265a13ea43f0ebdcd25671dcab05ed01308 author Ralf Baechle Mon, 11 Jul 2005 20:45:51 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:42 +0100 Use Kconfig.preempt. Signed-off-by: Ralf Baechle commit 60080265a13ea43f0ebdcd25671dcab05ed01308 tree 5172178f73d65bb8cbb129ad3e49a04af7e0b7ce parent 129bc8f78b468df6824dd1584829f10aa3a69c27 author Ralf Baechle Mon, 11 Jul 2005 20:45:51 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:42 +0100 Define kmap_atomic_pfn() for MIPS. Signed-off-by: Ralf Baechle commit 129bc8f78b468df6824dd1584829f10aa3a69c27 tree 714e9026691a406ffb76110486f21ca3107df938 parent b490ff42709546d5cf6b631c1a84a5f4fcb020e4 author Ralf Baechle Mon, 11 Jul 2005 20:45:51 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:41 +0100 Setup_frame is now returning a success value. Signed-off-by: Ralf Baechle commit b490ff42709546d5cf6b631c1a84a5f4fcb020e4 tree 783d4ac5af1ff44d8839197f140e105dfb334de5 parent c0ec406c80a65590dbdb60ed0d0c8e73e6c3884f author Ralf Baechle Mon, 11 Jul 2005 11:53:44 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:41 +0100 Temporary hack for Qemu and MIPSsim until they get a proper ELF loader. Signed-off-by: Ralf Baechle commit c0ec406c80a65590dbdb60ed0d0c8e73e6c3884f tree faf7c0ed89dd2473951db9c464eb4e301ceab680 parent 3ef33e68c1e956bb9a93734062076edcccca7070 author Ralf Baechle Mon, 11 Jul 2005 10:37:51 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:41 +0100 Fix endianess bugs. Signed-off-by: Ralf Baechle commit 3ef33e68c1e956bb9a93734062076edcccca7070 tree b1d1e433421fd000d8062dd584ab20af1132ebb3 parent 04988d6fda5c1cc670bd4c4d563b3443cf7ccce7 author Ralf Baechle Fri, 08 Jul 2005 20:10:17 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:40 +0100 Date: Fri Jul 8 20:10:17 2005 +0000 Those literals are long. Signed-off-by: Ralf Baechle commit 04988d6fda5c1cc670bd4c4d563b3443cf7ccce7 tree dc3ead52d31bb9014f1f8ebea75525364d699b15 parent 9556ac2fa1b16ec702e200fc558636a09a50f0e0 author Thiemo Seufer Fri, 08 Jul 2005 09:17:05 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:40 +0100 Protect noat assembly with .set push/pop and make it somewhat readable. Signed-off-by: Ralf Baechle Signed-off-by: Thiemo Seufer commit 9556ac2fa1b16ec702e200fc558636a09a50f0e0 tree 39b51399de0785b07d7ad8bbcdc9151fb33fe073 parent 4552074577c639da32dd58a617ea11ac3e28912b author Thiemo Seufer Fri, 08 Jul 2005 08:03:48 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:39 +0100 Fix get_saved_sp for 64bit address space. Simplify set_save_sp. Signed-off-by: Ralf Baechle Signed-off-by: Thiemo Seufer commit 4552074577c639da32dd58a617ea11ac3e28912b tree a9334c76c2885a0349384746a27cdbae6a69f2d7 parent 85f14bf2cb084990970f897463dea66182d28acf author Thiemo Seufer Fri, 08 Jul 2005 07:36:51 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:39 +0100 IP30 Identification. Signed-off-by: Ralf Baechle Signed-off-by: Thiemo Seufer commit 85f14bf2cb084990970f897463dea66182d28acf tree 816c0228b2d5c4159d7d24eafd626a51e8064ec8 parent 73f74e23a6d9f3aabccf966c18cff04a74afed7f author Thiemo Seufer Thu, 07 Jul 2005 11:42:49 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:38 +0100 ... and it isn't a canonicalized triplet but just the n-plet used to configure gcc. Signed-off-by: Ralf Baechle Signed-off-by: Thiemo Seufer commit 73f74e23a6d9f3aabccf966c18cff04a74afed7f tree 5e72884a7cef2929ec9935cf05ad068098f6a44d parent f425a6dce50475f08547d08763f707589478b027 author Thiemo Seufer Thu, 07 Jul 2005 11:18:49 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:37 +0100 Grep deesn't like shell-style matching... Signed-off-by: Ralf Baechle Signed-off-by: Thiemo Seufer commit f425a6dce50475f08547d08763f707589478b027 tree 32cec3782d55943c69b439c1aa64b39a33a70d13 parent 6e760c8dae7d6c47eff011dd4aad53c94d30494b author Thiemo Seufer Thu, 07 Jul 2005 09:19:31 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:37 +0100 Hack to make compiles for the other endianness easier. Signed-off-by: Ralf Baechle Signed-off-by: Thiemo Seufer commit 6e760c8dae7d6c47eff011dd4aad53c94d30494b tree 141699aef6e0a3b1fef03ec0c5cc8d8958851078 parent ca4973dd559b702e265688e724f356d289b8cd67 author Ralf Baechle Wed, 06 Jul 2005 12:08:11 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:37 +0100 Rename CONFIG_CPU_MIPS{32,64} to CONFIG_CPU_MIPS{32|64}_R1. Signed-off-by: Ralf Baechle commit ca4973dd559b702e265688e724f356d289b8cd67 tree 2d346366f3ee372129ea80f8d260bb9986397941 parent 50bd2c72ca72c07d5640e3490845d4b0faf6c124 author Ralf Baechle Wed, 06 Jul 2005 10:43:52 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:36 +0100 Don't redeclare ll_local_timer_interrupt. Signed-off-by: Ralf Baechle commit 50bd2c72ca72c07d5640e3490845d4b0faf6c124 tree c66fbaa319dd606a5ef5dcdde813fc5287051b17 parent ec125c129e864390deef47f792e3174442e4099f author Thiemo Seufer Sun, 03 Jul 2005 19:16:13 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:36 +0100 Brian Murphy says: this fixes Lasat pci to work with multi-function devices by assigning the correct values based on pin number (instead of ignoring them). Signed-off-by: Ralf Baechle Signed-off-by: Thiemo Seufer commit ec125c129e864390deef47f792e3174442e4099f tree d6a73b98d0f71e894ba792d6f66f4bab3d721917 parent a5fc9c0bbee8b91025993a49a9176a88380aef3c author Thiemo Seufer Sun, 03 Jul 2005 19:12:05 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:35 +0100 Code cleanup, thanks Brian Murphy. Signed-off-by: Ralf Baechle Signed-off-by: Thiemo Seufer commit a5fc9c0bbee8b91025993a49a9176a88380aef3c tree e68ee45e852028ddde712abb18531777dba6e468 parent 7d7ee221213609319401d1b9d6dc4bf22ab928ea author Maciej W. Rozycki Fri, 01 Jul 2005 16:10:40 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:35 +0100 Use physical addresses at the interface level, letting drivers remap them as appropriate. Signed-off-by: Ralf Baechle commit 7d7ee221213609319401d1b9d6dc4bf22ab928ea tree 6e56cdfb5a09584eb01d0c1f74c4f48fc0f50701 parent 2c93e12cfec8cc668d4a2a2c8576dedabb7c69c8 author Maciej W. Rozycki Thu, 30 Jun 2005 16:10:04 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:34 +0100 Prevent 64-bit constants from being cropped to 32 bits when used in C code. Signed-off-by: Ralf Baechle commit 2c93e12cfec8cc668d4a2a2c8576dedabb7c69c8 tree 9081ae8c3b5c87ecbc6f1d94c85516ca767e907a parent c3455b0efc2b5b1bdc755602f77ce7f43725bf61 author Maciej W. Rozycki Thu, 30 Jun 2005 10:51:01 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:34 +0100 Avoid tlbw* hazards for the R4600/R4700/R5000. Signed-off-by: Ralf Baechle commit c3455b0efc2b5b1bdc755602f77ce7f43725bf61 tree 835ffe4b5509053c0623146157d92c4ca2d32aea parent c134a5ecdb8f4aee09feca0d4d395915e752fcb8 author Maciej W. Rozycki Thu, 30 Jun 2005 10:48:40 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:34 +0100 Inline ioremap() calls for constant addresses that map to KSEG1. Signed-off-by: Ralf Baechle commit c134a5ecdb8f4aee09feca0d4d395915e752fcb8 tree 329cc17a215fa9aedfbfefe70b9dd8f29fcdfe45 parent 7222424e2eb7915bceb34b915150f2fc76e0477c author Ralf Baechle Thu, 30 Jun 2005 09:42:00 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:33 +0100 Avoid defining variables in the middle of a block which breaks older compilers. Signed-off-by: Ralf Baechle commit 7222424e2eb7915bceb34b915150f2fc76e0477c tree 5ffe42c4e44085336d11573986ae73dad590bca6 parent 4c0a2d4275b6993066810c42c4c6b0729d3b67a9 author Ralf Baechle Wed, 29 Jun 2005 13:35:19 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:33 +0100 More .set to keep 32-bit processors happy. Signed-off-by: Ralf Baechle commit 4c0a2d4275b6993066810c42c4c6b0729d3b67a9 tree 1fed3157fbefd60023559a152b5f768be74633a9 parent 41986a6e7ea3b3acb452d00d56acda7c63761736 author Maciej W. Rozycki Wed, 29 Jun 2005 10:43:51 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:32 +0100 Fix the diagnostic dump for the XTLB refill handler. Signed-off-by: Ralf Baechle commit 41986a6e7ea3b3acb452d00d56acda7c63761736 tree f34eb6f84614b186eeceacb4f0cf3f3c393e8912 parent 362b1d546df6851d17159a2df89d1ca209ee42c1 author Maciej W. Rozycki Wed, 29 Jun 2005 10:24:21 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:32 +0100 Fix a diagnostic message. Signed-off-by: Ralf Baechle commit 362b1d546df6851d17159a2df89d1ca209ee42c1 tree c313d07be9d2577d9a352e0c3c22ca9d0ab55666 parent 01d42abdf3c35c2ae820bb9305174aa75492975b author Ralf Baechle Mon, 27 Jun 2005 22:07:43 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:32 +0100 Conversion to plat_setup() for TX4927 also. Signed-off-by: Ralf Baechle commit 01d42abdf3c35c2ae820bb9305174aa75492975b tree 15a05fd40bdbc705bab461e55eec423256085e75 parent c4559f67b73d6c34fde0faac5c6c890a2cf3527c author Ralf Baechle Mon, 27 Jun 2005 08:34:27 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:31 +0100 Using get_nasid() to find the console node will blow up nicely if called on a another node than the console node, so use the master_nasid instead and in the unlikely case that one isn't initialized yet, fall back to get_nasid(). Signed-off-by: Ralf Baechle commit c4559f67b73d6c34fde0faac5c6c890a2cf3527c tree 4063b3a937215684db85cc4f70eabd99cf3b8573 parent 69c75fb458cd81bb29e1d9580469110b00316748 author Maciej W. Rozycki Thu, 23 Jun 2005 15:57:15 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:31 +0100 Always use ".set mips3" rather than select between "mips2" or "mips3" for assembling ll/sc sequences to avoid problems with 64-bit configurations. Signed-off-by: Ralf Baechle commit 69c75fb458cd81bb29e1d9580469110b00316748 tree 6e33ce1ecfb30a83b1b842810ff39a5ba99c4783 parent 64dac503e8265007ea5c53b4d6bf42488a8a8d7a author Maciej W. Rozycki Wed, 22 Jun 2005 20:58:45 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:30 +0100 Actual handlers for bus errors for Pmax and 3min. Signed-off-by: Ralf Baechle diff --git a/arch/mips/dec/kn01-berr.c b/arch/mips/dec/kn01-berr.c new file mode 100644 commit 64dac503e8265007ea5c53b4d6bf42488a8a8d7a tree d086e5ddd6d36118b476ed0fe01091d9d4d70cec parent 3b2396d972ce030e942fef9fcbea1e411b1a62db author Maciej W. Rozycki Wed, 22 Jun 2005 20:56:26 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:30 +0100 System-specific handling of bus errors for DECstation variations supporting parity errors only for memory (Pmax/3min/Maxine). Fixes for resources decoded by the KN04/KN05 MB ASIC. Additional clean-ups for the ECC handler. Signed-off-by: Ralf Baechle commit 3b2396d972ce030e942fef9fcbea1e411b1a62db tree 79b7f214a7aeba507a78a6d6a667c689e6f6e9a6 parent e20368d5dffcfd7a2bc1749627e97e99ec4e6a77 author Maciej W. Rozycki Wed, 22 Jun 2005 20:43:29 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:29 +0100 Use correct names for bits in the R3k cp0.status register. Signed-off-by: Ralf Baechle commit e20368d5dffcfd7a2bc1749627e97e99ec4e6a77 tree 3fbe6f9e73d15001dc91f0ce9b3c53714252e4e5 parent c6ad7b7d3cd7883810c05fad9d30303cf9368f63 author Ralf Baechle Tue, 21 Jun 2005 13:52:33 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:28 +0100 Get the thing to compile again ... Signed-off-by: Ralf Baechle commit c6ad7b7d3cd7883810c05fad9d30303cf9368f63 tree b8df8802eb177cac2e4588ea98b86077b076d9b5 parent 8a185d14b665d454bde84c6ae067beade452e7f8 author Maciej W. Rozycki Mon, 20 Jun 2005 13:09:49 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:28 +0100 Use macros for the RM7k cp0.config bits instead of magic numbers. Minor clean-ups. Signed-off-by: Ralf Baechle commit 8a185d14b665d454bde84c6ae067beade452e7f8 tree 0c132df58f3197f1a80d381f183281f297f28a2f parent 2e2849670a740128307a770dd8b5213c31081cf2 author Maciej W. Rozycki Thu, 16 Jun 2005 20:50:55 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:27 +0100 Fix types for firmware arguments. Don't define unneeded messages. Signed-off-by: Ralf Baechle commit 2e2849670a740128307a770dd8b5213c31081cf2 tree a56db6adab90db88037186a9e2f47ef2e9c70f51 parent 260c96738cf30f489108cd0fb3f10dcd11cbb5ca author Maciej W. Rozycki Thu, 16 Jun 2005 20:49:03 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:27 +0100 Remove left-over unused bits. Signed-off-by: Ralf Baechle commit 260c96738cf30f489108cd0fb3f10dcd11cbb5ca tree f9e72b1bf084ad2d38487fa8fc7dae01660dc08e parent 778220f7c4a3357f7464a45044fd4937126ba6c5 author Maciej W. Rozycki Thu, 16 Jun 2005 20:39:12 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:26 +0100 Mark __die() "noreturn" for real. Signed-off-by: Ralf Baechle commit 778220f7c4a3357f7464a45044fd4937126ba6c5 tree b392f0171f06609d3dabe2f12a4a2eb7373f54ed parent a76f9fe122e0ba6ff95d3a4daa854e761f8a6a76 author Maciej W. Rozycki Thu, 16 Jun 2005 20:37:40 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:24 +0100 Fix function types to ones appropriate for initcalls. Signed-off-by: Ralf Baechle commit a76f9fe122e0ba6ff95d3a4daa854e761f8a6a76 tree 4a002f0f85f26c12f0741ac4c81d0a7b85b51ac7 parent 3bd4c902da14030c9a780cd0c4be2ffe9aee2974 author Maciej W. Rozycki Thu, 16 Jun 2005 20:35:48 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:24 +0100 GCC 4.0.0 broke `attribute(("alias"))' -- resort to an assembly variant. Signed-off-by: Ralf Baechle commit 3bd4c902da14030c9a780cd0c4be2ffe9aee2974 tree 3ebf15e8aaa4029119028d32721fd7ccbe59bccf parent 902d21d5313ba08cccadc9fceee2df3cf34e84eb author Maciej W. Rozycki Thu, 16 Jun 2005 20:30:54 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:23 +0100 Deal with the bloody KSEG vs CKSEG horror... Signed-off-by: Ralf Baechle commit 902d21d5313ba08cccadc9fceee2df3cf34e84eb tree eaea806d19e9749794e2e4124b7e08900c982852 parent 02416dcf5a94af34bcd28b4baf25bbbf399d8136 author Maciej W. Rozycki Thu, 16 Jun 2005 20:23:20 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:23 +0100 There is NO port I/O space on the DECstation. Minor clean-ups. Signed-off-by: Ralf Baechle commit 02416dcf5a94af34bcd28b4baf25bbbf399d8136 tree 1906c4266d4e28ef0b13d0579a145603dcbcff1b parent aac8aa7717a23a9bf8740dbfb59755b1d62f04bf author Ralf Baechle Wed, 15 Jun 2005 13:00:12 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:23 +0100 Redo RM9000 workaround which along with other DSP ASE changes was causing some headache for debuggers knowing about signal frames. Signed-off-by: Ralf Baechle commit aac8aa7717a23a9bf8740dbfb59755b1d62f04bf tree cae373db64607dafc496827c0d2f3b67b91d880f parent fded2e508a1d3c26ab477ab3b98f13274d4359ba author Maciej W. Rozycki Tue, 14 Jun 2005 17:35:03 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:22 +0100 Enable a suitable ISA for the assembler around ll/sc so that code builds even for processors that don't support the instructions. Plus minor formatting fixes. Signed-off-by: Ralf Baechle commit fded2e508a1d3c26ab477ab3b98f13274d4359ba tree a720d2799e7ea32cb96d664bc55b2aa149b77550 parent d925c262dd8bee2202b0d1b85ce0b332f48dd34b author Maciej W. Rozycki Mon, 13 Jun 2005 20:24:00 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:22 +0100 Optimize R3k TLB Load/Store/Modified handlers, by scheduling delay slots properly and avoiding an unnecessary jump to a jump. Signed-off-by: Ralf Baechle commit d925c262dd8bee2202b0d1b85ce0b332f48dd34b tree d62cded4387504ff0d4db5e737261f5fd50c1af4 parent 9678e28b1ab931c35567cb15927b8c5e474934c3 author Maciej W. Rozycki Mon, 13 Jun 2005 20:12:01 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:21 +0100 Fill R3k load delay slots properly. Signed-off-by: Ralf Baechle commit 9678e28b1ab931c35567cb15927b8c5e474934c3 tree e017e815b87835f1111e9c1f7bf65beb259c496a parent 15b6e09b66b1e534377dbd6c4d6a5d097062315c author Maciej W. Rozycki Mon, 13 Jun 2005 20:09:32 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:21 +0100 Only dump instructions actually emitted. Signed-off-by: Ralf Baechle commit 15b6e09b66b1e534377dbd6c4d6a5d097062315c tree 523a0d8230c129c7ba880d346eedabde3ea6fb0a parent 68e4a86c8010d15ec844d06f45cd564631f2fa7e author Maciej W. Rozycki Mon, 13 Jun 2005 19:55:42 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:20 +0100 dec_esp: Use physical addresses These should really be addresses obtained with ioremap() or some bus-specific backend, but for now... Signed-off-by: Ralf Baechle commit 68e4a86c8010d15ec844d06f45cd564631f2fa7e tree 6ccdebd4f547d705853837b49286bc63871dd213 parent a93500037e6cf1d08ce112444386f408a047b548 author Maciej W. Rozycki Mon, 13 Jun 2005 19:53:38 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:20 +0100 This interrupt is *always* handled -- MIPS_BE_DISCARD just means no further action wanted. Signed-off-by: Ralf Baechle commit a93500037e6cf1d08ce112444386f408a047b548 tree 0d7237b66407eed5cc8aa6547681c188c0fb5b7e parent 478489dd2c94627ca3338368f5e1bcd71639ae00 author Maciej W. Rozycki Mon, 13 Jun 2005 19:50:42 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:19 +0100 Fix dependencies for DECstation framebuffers. Signed-off-by: Ralf Baechle commit 478489dd2c94627ca3338368f5e1bcd71639ae00 tree 90423130fba1704f3613d11ddf95549dbb2a5da1 parent d5b6f1db5d5a7ba3f2271e5018db7c8c5c4eeea1 author Ralf Baechle Tue, 07 Jun 2005 11:39:57 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:19 +0100 Remove dead code which was causing warnings. Signed-off-by: Ralf Baechle commit d5b6f1db5d5a7ba3f2271e5018db7c8c5c4eeea1 tree b5d6c33db67287e91f540d81ff34746839c4bde0 parent 81731f79974ffb0a7b4aabd3c3e472f8d46b057c author Maciej W. Rozycki Mon, 06 Jun 2005 16:40:58 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:19 +0100 For MIPS32/MIPS64 cp0.config.mt == 1 implies a standard (R4k-style) TLB, so no need to set it separately for each implementation. Signed-off-by: Ralf Baechle commit 81731f79974ffb0a7b4aabd3c3e472f8d46b057c tree 8561e573d308205ba6c83c9b249e016f827e077c parent ac130ac494522cf71782117b8dd4b6b57e31e5ea author Steven J. Hill Sun, 05 Jun 2005 03:57:20 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:18 +0100 The DbAu1500 board also support big endian. Gee, imagine that. Signed-off-by: Ralf Baechle commit ac130ac494522cf71782117b8dd4b6b57e31e5ea tree d0118012514a51c192203e7b639bb3aa17635d3e parent e50c0a8fa60da9ac0e0a70caa8a3a803815c1f2f author Ralf Baechle Wed, 01 Jun 2005 12:18:30 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:18 +0100 Fix build with CONFIG_PRINTK disabled. Signed-off-by: Ralf Baechle commit e50c0a8fa60da9ac0e0a70caa8a3a803815c1f2f tree 1928e8b0a4b7fb615e5a9f65dc934ba2e74cb9cd parent 10f650db1bcc193ea07d4f8c2f07315da38ea0c4 author Ralf Baechle Tue, 31 May 2005 11:49:19 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:17 +0100 Support the MIPS32 / MIPS64 DSP ASE. Signed-off-by: Ralf Baechle commit 10f650db1bcc193ea07d4f8c2f07315da38ea0c4 tree a6fdabdaa8493efd8d5f14ada3cdbc67f62bfe46 parent ffd099bd33c97db4be698ff8d8733bd6a301f6a3 author Ralf Baechle Wed, 25 May 2005 13:32:49 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:17 +0100 64-bit fixes for Alchemy code ;) Signed-off-by: Ralf Baechle commit ffd099bd33c97db4be698ff8d8733bd6a301f6a3 tree 20be91a98e93f807e78ff519de76ec112f0866f5 parent 149f60b30c947196be4dacb0fba216d72f51bf9f author Ralf Baechle Thu, 19 May 2005 17:05:09 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:17 +0100 Fix build for CONFIG_BUG=n. Yes, bugs are now a compile time option ;-) Signed-off-by: Ralf Baechle commit 149f60b30c947196be4dacb0fba216d72f51bf9f tree 79b75d50d591379f8160f62c396f0066f9ab2865 parent f8280c8d3d51667015c2363eeaa76b4e28e002a5 author Ralf Baechle Thu, 19 May 2005 14:45:12 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:16 +0100 When building for Atlas, Malta or SEAD convert the kernel to srecs by default. Signed-off-by: Ralf Baechle commit f8280c8d3d51667015c2363eeaa76b4e28e002a5 tree 91a73a265ea48ef44c7ddbd89c595f9891fd1e17 parent fdb551a4c59945f868b8855e5baf161c9f1c0518 author Ralf Baechle Thu, 19 May 2005 12:08:04 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:16 +0100 Fix tasteless #ifdef mess in audit_arch(), minor cleanups. Signed-off-by: Ralf Baechle commit fdb551a4c59945f868b8855e5baf161c9f1c0518 tree 6038d4a05ba6ac87008ce83d1295d742919a9c71 parent 629c83f89b943421cd03257e7028a073baa9ca5a author Ralf Baechle Thu, 19 May 2005 12:08:04 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:15 +0100 Bugs are now a configuration option. Signed-off-by: Ralf Baechle commit 629c83f89b943421cd03257e7028a073baa9ca5a tree 3d9dae8e536601d9b1ef6353ce7fa18e5f3c6e01 parent 4a99d1e25b98c239d6e746af6f79679c413fb712 author Ralf Baechle Thu, 19 May 2005 12:08:04 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:15 +0100 On MIPS the struct sigev preamble is only 8 bytes. Signed-off-by: Ralf Baechle commit 4a99d1e25b98c239d6e746af6f79679c413fb712 tree 4a68322a855668b767e211cab8804fd6d01e4097 parent baee502ce2048aad5ec56acd24c950083a4697e7 author Ralf Baechle Wed, 11 May 2005 12:02:48 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:14 +0100 Now that a struct is the only member left in struct mips_fpu_emulator_stats cleanup that unnecessary nesting of structs. Signed-off-by: Ralf Baechle commit baee502ce2048aad5ec56acd24c950083a4697e7 tree 3617f48e1f66bda071caabfc8bf8b861e59e1c21 parent 1d74f6bc85cbdc4601e5aea1e67ccbd259f0c7f4 author Ralf Baechle Wed, 11 May 2005 11:00:36 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:14 +0100 Get rid of the eir struct mips_fpu_emulator_private member. It's never initialized been initialized anywhere, just saved to and restored from signal frames so nonsense anyway. As neat side effect of being shared between all processors it was also abusable as a nice covert channel between processes. Signed-off-by: Ralf Baechle commit 1d74f6bc85cbdc4601e5aea1e67ccbd259f0c7f4 tree e9ffdef4000ab6e45a5d4c9233da0a7a67daf285 parent d547c5cc2186be9d74b0c595dc8059aef56cd445 author Ralf Baechle Mon, 09 May 2005 13:16:07 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:13 +0100 __compute_return_epc() uses CFC1 instruction which might result in a coprocessor unusable exception since the process can lose its fpu context by preemption. Signed-off-by: Ralf Baechle commit d547c5cc2186be9d74b0c595dc8059aef56cd445 tree c8c7ab9d109b4733bd81cb41fbd6e6454d936697 parent b382fe848345fe626b74a559fa89d2d966d03b02 author Maciej W. Rozycki Fri, 06 May 2005 16:28:55 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:13 +0100 sys_nfsservctl() needs translation. Signed-off-by: Ralf Baechle commit b382fe848345fe626b74a559fa89d2d966d03b02 tree 37218490821a823b85424c7718d18c6910c8a7f3 parent 4194318c3941fa9cfaa63dfdab9054fcae5e08d3 author Ralf Baechle Fri, 06 May 2005 14:31:13 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:13 +0100 No point in checking cpu_has_tlb before we've computed the CPU options. So for now we just unconditionally set the option - Linux wouldn't work without a TLB anyway. Setting MIPS_CPU_4KTLB was missing for Alchemy and Sandcraft, add that back. Signed-off-by: Ralf Baechle commit 4194318c3941fa9cfaa63dfdab9054fcae5e08d3 tree 2b44341a9cb911e34efbb33a35142fd2dcd536ff parent cd21dfcfbb5c43de54f6be795dde07397da2bc2f author Ralf Baechle Thu, 05 May 2005 16:45:59 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:12 +0100 Cleanup decoding of MIPSxx config registers. Signed-off-by: Ralf Baechle commit cd21dfcfbb5c43de54f6be795dde07397da2bc2f tree ed3a6c46fd6aabac95c99b1e816493fcb5f788f8 parent 63b2d2f4d2073ac3452ce977d27cc81eabaa61a3 author Ralf Baechle Thu, 28 Apr 2005 13:39:10 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:12 +0100 Fix preemption and SMP problems in the FP emulator code. Signed-off-by: Ralf Baechle commit 63b2d2f4d2073ac3452ce977d27cc81eabaa61a3 tree 821eed26f6eef86263073e01217623bc9f25e44b parent ba5187dbb4b2eac99d6fa1d6bbece67e0066bf51 author Thiemo Seufer Thu, 28 Apr 2005 08:52:57 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:11 +0100 Handle _PAGE_DIRTY correctly for CONFIG_64BIT_PHYS_ADDR on 32bit CPUs. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit ba5187dbb4b2eac99d6fa1d6bbece67e0066bf51 tree 9a1fa0b0cb6ff1c64c20569c4e6ecdfd3f865bbc parent 7de8d2328767cf4cb463dd3ca70c44985ac835a8 author Thiemo Seufer Mon, 25 Apr 2005 16:36:23 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:11 +0100 Better interface to run uncached cache setup code. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 7de8d2328767cf4cb463dd3ca70c44985ac835a8 tree 83ab0fde188432875e00cd230e9ca417432b2de4 parent 9447cbfc7a95225e9214ccc225c063b305038a34 author Pete Popov Thu, 21 Apr 2005 05:31:59 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:10 +0100 * use 'unsigned long' as address supplied to au_write[bwl]() * remove two already unused and commented structures * added an ULL suffix to several address constants that use bits 35-32 Signed-off-by: Ralf Baechle commit 9447cbfc7a95225e9214ccc225c063b305038a34 tree 23fa3c2efa1e13355e1e0f728a86d559a85798b4 parent ecba36dad8b635174bcbc32998a019b6d1e6f12f author Ralf Baechle Tue, 19 Apr 2005 12:26:59 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:09 +0100 Fix D-cache aliasing problem in the PIO IDE driver potencially resulting in the kernel or userspace seeing stale data. Signed-off-by: Ralf Baechle commit ecba36dad8b635174bcbc32998a019b6d1e6f12f tree 004f998b5e8531fc3c0bacef840bf0b8954b1f3c parent 88de09f351e0b38a0991f4abd4ff6691b565d2ef author Ralf Baechle Mon, 18 Apr 2005 14:54:43 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:09 +0100 Fix a few build warnings. Signed-off-by: Ralf Baechle commit 88de09f351e0b38a0991f4abd4ff6691b565d2ef tree 93ade12f4c18047577f9208bbd2e46ab607851fd parent cce812c99c2169f7d3157b6f7fd38cde9af9c6c6 author Ralf Baechle Mon, 18 Apr 2005 10:40:09 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:08 +0100 Need to include smp.h for the definition of smp_processor_id(). Signed-off-by: Ralf Baechle commit cce812c99c2169f7d3157b6f7fd38cde9af9c6c6 tree 70b4b29d5965ac26f66d958d7b592644fb3afa10 parent b63014ad2dfd137ac38210c7c5cda7ecc3f536d0 author Thiemo Seufer Sun, 17 Apr 2005 00:04:21 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:08 +0100 Ustat needs a wrapper on n32. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit b63014ad2dfd137ac38210c7c5cda7ecc3f536d0 tree 6943cb448f9e9cc8ef8c665f4c87b3842c7fb318 parent 93b25d0621560012ff60a95ae265823b3a5e811a author Ralf Baechle Thu, 14 Apr 2005 15:28:28 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:08 +0100 Move sync into the delay slot here also. Signed-off-by: Ralf Baechle commit 93b25d0621560012ff60a95ae265823b3a5e811a tree 00bdde3580ca767d816fe07bb76bf30fbfacf45f parent 1342f7e6c57f1ee04d27ee8c0c2f929f9803554a author Ralf Baechle Thu, 14 Apr 2005 12:47:15 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:07 +0100 Useless includes of everything, the kitchen sink and version.h ... Signed-off-by: Ralf Baechle commit 1342f7e6c57f1ee04d27ee8c0c2f929f9803554a tree 3f0d05dfccd77dc7ff833a7db55559ca49c7e325 parent 1fcf1cc742d01f786cda619fd49450b77b09e8c5 author Ralf Baechle Thu, 14 Apr 2005 12:34:15 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:07 +0100 Arrested for multiple offences of header file inclusion. Signed-off-by: Ralf Baechle commit 1fcf1cc742d01f786cda619fd49450b77b09e8c5 tree 0ae42177bac0a65a0b71c9c66d2591ef32215f21 parent 3c37026d43c47bec4710cbda286f4a17f416f5e6 author Ralf Baechle Wed, 13 Apr 2005 18:18:04 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:06 +0100 We pass a kernel pointer to do_sigaltstack in sys32_sigaltstack, so we need to do the set_fs(KERNEL_DS) thing around this call. Signed-off-by: Ralf Baechle commit 3c37026d43c47bec4710cbda286f4a17f416f5e6 tree 8bf206dc3ee4337ac9839c0e9e26ec4513996670 parent 38551576a35f1b48b6b359470d6e876c5b671ab6 author Ralf Baechle Wed, 13 Apr 2005 17:43:59 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:06 +0100 NPTL, round one. Signed-off-by: Ralf Baechle commit 38551576a35f1b48b6b359470d6e876c5b671ab6 tree e6082cd017c9c532f259a77855f9d101e0eaf87d parent f03da6e28ea2d20f1a8451869fd1c9ea9935022b author Ralf Baechle Wed, 13 Apr 2005 17:36:49 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:05 +0100 Build fix for certain configurations. Signed-off-by: Ralf Baechle commit f03da6e28ea2d20f1a8451869fd1c9ea9935022b tree 09a2e8041c2d4e1dcf9d35990caef9677db12218 parent 589391a0fe229573439994b3be2cc9377722cf3d author Ralf Baechle Wed, 13 Apr 2005 13:37:32 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:05 +0100 Fix BogoMIPS display on UP and some minor cosmetical things. Signed-off-by: Ralf Baechle commit 589391a0fe229573439994b3be2cc9377722cf3d tree 1dccd44555ba6d47f8981c83e0a2c99164d83b04 parent 05b8042ac6d35383c2fcc171ed932426c4e09ed1 author Thiemo Seufer Wed, 13 Apr 2005 09:11:22 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:04 +0100 fcntl64 needs to be wrapped for n32. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 05b8042ac6d35383c2fcc171ed932426c4e09ed1 tree 39d056bbbd8c1658d227ea9973098847768c14ff parent 6dd04688520d7abe4883b2a79fa720291d76b140 author Ralf Baechle Tue, 12 Apr 2005 20:26:05 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:04 +0100 Fix one more case of computing the return EPC after the registers have already been modified. Signed-off-by: Ralf Baechle commit 6dd04688520d7abe4883b2a79fa720291d76b140 tree 4d64b3bcad2b840ea6b8586ad018ea4077671c69 parent ac5d8c022f91d790888cc8c627b8010d3c31a300 author Ralf Baechle Tue, 12 Apr 2005 11:04:15 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:04 +0100 When simulating ll/sc compute the return EPC before modifying the registers. Signed-off-by: Ralf Baechle commit ac5d8c022f91d790888cc8c627b8010d3c31a300 tree df575caf4a8020150b8d1be11c41327f888edcf4 parent 2b07bd0235ca51816e4e43cb6781973358553a1b author Thiemo Seufer Mon, 11 Apr 2005 12:24:16 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:03 +0100 Use fixed up pfn. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 2b07bd0235ca51816e4e43cb6781973358553a1b tree 91ca54b4880c91320d30e66b487274aa01c0b907 parent fe359bf58414478a0ddbd65923e2f1aceedf330f author Ralf Baechle Fri, 08 Apr 2005 20:36:05 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:03 +0100 Detect the 4KEcR2 and for now detect handle it like the 4KEc. Signed-off-by: Ralf Baechle commit fe359bf58414478a0ddbd65923e2f1aceedf330f tree f40b1bffd5a974242dd3ee19872daaa9056ba900 parent 494900af689a22479eb405ff1323cad673bd9208 author Pete Popov Fri, 08 Apr 2005 08:34:43 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:02 +0100 Fixed buglet with previous patch that broke non au1x builds. Signed-off-by: Ralf Baechle commit 494900af689a22479eb405ff1323cad673bd9208 tree c4c50f2874f48679fd476a50e8866db2ce4696d3 parent 3b495f2bb749b828499135743b9ddec46e34fda8 author Pete Popov Thu, 07 Apr 2005 00:42:10 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:02 +0100 Remove CONFIG_PM dependency from au1x wait in cpu_probe. Additional work necessary to completely remove that config option. Signed-off-by: Ralf Baechle commit 3b495f2bb749b828499135743b9ddec46e34fda8 tree 5f787ed9829ef01a457428114ccd3547cf6c88da parent 172546bf601356f94f8018af7908a9b7c1c4915c author Pete Popov Mon, 04 Apr 2005 01:06:19 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:01 +0100 Au1100 FB driver uplift for 2.6. Signed-off-by: Ralf Baechle Acked-by: Antonino Daplas commit 172546bf601356f94f8018af7908a9b7c1c4915c tree 3b0d93bc5caf6014ef5554b05cad8b41b7c83b94 parent 202d0388e747d7e9b70fc0efc2a5637812b722c1 author Thiemo Seufer Sat, 02 Apr 2005 10:21:56 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:01 +0100 Fix race conditions for read_c0_entryhi. Remove broken ASID masks in tlb-sb1.c. Make tlb-r4k.c and tlb-sb1.c more similiar and more efficient. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 202d0388e747d7e9b70fc0efc2a5637812b722c1 tree e584618abf815adac8de0c4951bc1058cc3c9c44 parent 1b3a6e975cbe81c5abc55e4c1b9f5b5250c5f20e author Maciej W. Rozycki Fri, 01 Apr 2005 17:53:33 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:00 +0100 Remove useless casts. Fix formatting. Signed-off-by: Ralf Baechle commit 1b3a6e975cbe81c5abc55e4c1b9f5b5250c5f20e tree 541db3912172f82d30244cf215b1a1b91d8c6f7f parent 7c2740f1c1a7ff2767a92042f39edad7fad95c92 author Thiemo Seufer Fri, 01 Apr 2005 14:07:13 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:31:00 +0100 Fix 64bit SMP TLB handler and stack frame handling, optimize 32bit SMP TLB handlers a bit, match definitions in pgtable-{32,64}.h better. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 7c2740f1c1a7ff2767a92042f39edad7fad95c92 tree 3401fe3986258b7f5377f732ccac1b2f35e50583 parent 4f12bfe5a498747a9a66f135a67aa8e1caa819dc author Ralf Baechle Mon, 21 Mar 2005 19:35:53 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:59 +0100 HUB interrupts are allocated per node, not per slice. Make manipulation of the interrupt mask register atomic by disabling interrupts. Signed-off-by: Ralf Baechle commit 4f12bfe5a498747a9a66f135a67aa8e1caa819dc tree f358bd77f56b4014c1e5a9b5804995fd521c7853 parent 6cbe0631591ca45177d52364dec81cdfba19fec0 author Ralf Baechle Mon, 21 Mar 2005 18:59:38 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:59 +0100 HUB interrupts are allocated per node, not per slice. Make manipulation of the interrupt mask register atomic by disabling interrupts. Signed-off-by: Ralf Baechle commit 6cbe0631591ca45177d52364dec81cdfba19fec0 tree 8eb8e3cff99a68108ec55579cb97611cf26562c4 parent 209ac8ddb16f5aea115bbcfd34dab110c28b9f56 author Ralf Baechle Sun, 20 Mar 2005 22:57:38 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:59 +0100 R4300 delay slot. Signed-off-by: Ralf Baechle commit 209ac8ddb16f5aea115bbcfd34dab110c28b9f56 tree ca80968fb25e6af7cc55499bed0c9344402a4e75 parent 127c6f662348cbf2b1c09e6fc2748af316f7d2d6 author Ralf Baechle Fri, 18 Mar 2005 17:36:42 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:58 +0100 Use compat_sigval_t in struct compat_siginfo. Signed-off-by: Ralf Baechle commit 127c6f662348cbf2b1c09e6fc2748af316f7d2d6 tree 9e6b394e9987b933707856422879922016532533 parent 53de0d471fe8ddbbeca938cffedb4cc94e04da10 author Ralf Baechle Fri, 18 Mar 2005 17:36:42 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:58 +0100 SECCOMP for MIPS. Signed-off-by: Ralf Baechle commit 53de0d471fe8ddbbeca938cffedb4cc94e04da10 tree 1bf55f2b45acbe7d5ca448fb3c8324eeb855ebdf parent 1592dac2410511d24836e18d416b1d02c678322b author Ralf Baechle Fri, 18 Mar 2005 17:36:42 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:57 +0100 Reformat; cosmetic cleanups. Signed-off-by: Ralf Baechle commit 1592dac2410511d24836e18d416b1d02c678322b tree 2cd73f3693b3c3c8df895459690f2a02c4653803 parent b4dbf95e3080cf43a27cc324bfa0975f88174d07 author Ralf Baechle Thu, 17 Mar 2005 21:50:49 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:57 +0100 Reformatting, remove debugging code. Signed-off-by: Ralf Baechle commit b4dbf95e3080cf43a27cc324bfa0975f88174d07 tree b6b8faa75c72e5f17a18c04a919c6b36647d03fe parent 71e0e556db08cc20de76d510be5600f6e5ce143c author Ralf Baechle Wed, 16 Mar 2005 10:23:31 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:57 +0100 Get rid of the the remains of 2.4-style ramdisk support. Signed-off-by: Ralf Baechle commit 71e0e556db08cc20de76d510be5600f6e5ce143c tree da5afa71e99ad20dd08b10a9ed25624c3d64929f parent a3701ca48763bbc681ee8db3d203827975849185 author Ralf Baechle Mon, 14 Mar 2005 10:16:59 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:56 +0100 Multithreaded core dumps. Signed-off-by: Ralf Baechle commit a3701ca48763bbc681ee8db3d203827975849185 tree 9677ce80fb2dd3db49394665ddd1ca4f3bf8f2d5 parent 90a67b5909ed39425fd2402b2b4c46ef1372b300 author Pete Popov Sun, 13 Mar 2005 08:19:05 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:56 +0100 When CONFIG_PM is enabled, it uses the TOY_MATCH2 interrupt as the system timer tick. Prior to this patch, if IDE IRQ probing occured, then the TOY_MATCH2 interrupt would be permanently disabled, and no system timer tick occurs. This patch corrects this situation by correctly registering the TOY_MATCH2 interrupt so that IDE IRQ probing doesn't have adverse side effects. Signed-off-by: Ralf Baechle commit 90a67b5909ed39425fd2402b2b4c46ef1372b300 tree 4ed546e786e43b50a265cda79d2c786f7c0f0b1e parent 96ed748d9da03d091799f8107fce27d218fd8f5c author Thiemo Seufer Sun, 13 Mar 2005 00:07:00 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:55 +0100 sys_futex has 6 arguments. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 96ed748d9da03d091799f8107fce27d218fd8f5c tree f40933f65fc79f4a0e9d2aac28581e044dd77a3d parent 9ff77c469ed16221c6a4e882e48e4f0dcf451bda author Ralf Baechle Thu, 10 Mar 2005 17:34:03 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:55 +0100 qtronix.c: Handle kmalloc failure. Signed-off-by: Ralf Baechle commit 9ff77c469ed16221c6a4e882e48e4f0dcf451bda tree d4d9e38471665c1521360032e3c8912e99d8ed0d parent 07b4ebd372139eb64a2898f17f2cc387b22feba8 author Ralf Baechle Tue, 08 Mar 2005 14:39:39 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:54 +0100 Export shm_align_mask and flush_data_cache_page. Signed-off-by: Ralf Baechle commit 07b4ebd372139eb64a2898f17f2cc387b22feba8 tree fbfb6161385f872ca293b01489a83177939f1627 parent 6d7bf017e821f3c093c80d1ee919d8d87904701c author Ralf Baechle Mon, 07 Mar 2005 15:40:34 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:54 +0100 Put salone.o back into arclib. It's a lib so doesn't harm if unused atm. Signed-off-by: Ralf Baechle commit 6d7bf017e821f3c093c80d1ee919d8d87904701c tree 0dcb8e3aa23f26f4a05216375cb4aa7236af20d4 parent 77c728c2240a1eb45f7d355f5d87ecc319cd55ce author Thiemo Seufer Fri, 04 Mar 2005 19:40:45 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:53 +0100 It helps to not use a _mem_ function for requesting I/O space. Signed-off-by: Ralf Baechle Signed-off-by: Ralf Baechle commit 77c728c2240a1eb45f7d355f5d87ecc319cd55ce tree 5e8abf2eceba4beaaca4aefa875be96aecb649b4 parent 5eaf7a21be3f7f81573cf26541b8f9cc786fb67d author Ralf Baechle Fri, 04 Mar 2005 19:36:51 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:53 +0100 Gcc 4.0 fixes. Signed-off-by: Ralf Baechle commit 5eaf7a21be3f7f81573cf26541b8f9cc786fb67d tree 2eede7e8e7df55c4b9c45eb94388b2a2f060c94d parent cdaed73afb61913ee5115aa38b0c35ecb0513f50 author Ralf Baechle Fri, 04 Mar 2005 17:24:32 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:52 +0100 Use new txx9 serial driver. Signed-off-by: Ralf Baechle commit cdaed73afb61913ee5115aa38b0c35ecb0513f50 tree 5470e1535229e926fc46b27a51f0ff851afa3ca3 parent ebc7f12fbc6a2d2df1930b91b380c9defb48cbf3 author Ralf Baechle Fri, 04 Mar 2005 12:35:42 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:51 +0100 Fix preemption bug. Signed-off-by: Ralf Baechle commit ebc7f12fbc6a2d2df1930b91b380c9defb48cbf3 tree f94e8050f2beda1f99ef476558fb9c56c1a647e8 parent 88d535b6b58632bc51ee9a1f35ddfc357e365c37 author Pete Popov Fri, 04 Mar 2005 08:31:06 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:51 +0100 Int controller fixes. Signed-off-by: Ralf Baechle commit 88d535b6b58632bc51ee9a1f35ddfc357e365c37 tree 4b828339622e86b4809772120b2357239ef3c676 parent fe00f943e0ef98b4057abcc2940d631a975b43cd author Ralf Baechle Wed, 02 Mar 2005 19:18:46 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:50 +0100 One definition of back_to_back_c0_hazard too much. Signed-off-by: Ralf Baechle commit fe00f943e0ef98b4057abcc2940d631a975b43cd tree c036ab8269ac86485130a083330229a01d319557 parent 14f18b7f7e58de9a34c4b5fd38d5f73f22fba7ac author Ralf Baechle Tue, 01 Mar 2005 19:22:29 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:50 +0100 Sparseify MIPS. Signed-off-by: Ralf Baechle commit 14f18b7f7e58de9a34c4b5fd38d5f73f22fba7ac tree dd4acaac38b4a238349fc0ef785bb84152fb1942 parent 5068debff2dcbc8f624811e3c06d60c7c0bba744 author Ralf Baechle Tue, 01 Mar 2005 18:15:08 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:49 +0100 On 24K we did always disable cache parity protection - obviously not the greatest thing to do. Try to enable parity protection, check if we actually succeeded and print a message about the outcome of this. Signed-off-by: Ralf Baechle commit 5068debff2dcbc8f624811e3c06d60c7c0bba744 tree 3d3a2ceceb91e6d5e9af7d28dfb4ddeed270c704 parent 0f04afb59565c3029563b9a79b3513c9f3327a27 author Ralf Baechle Tue, 01 Mar 2005 18:12:06 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:49 +0100 New hazard handling function back_to_back_c0_hazard() to handle back to back mtc0 / mfc0 pairs from the same coprocessor register. Signed-off-by: Ralf Baechle commit 0f04afb59565c3029563b9a79b3513c9f3327a27 tree 36298347f5f44600560a525c537172b230b326a9 parent 2d32ffa44a5323fda147bd5b0723744a9163e37f author Ralf Baechle Tue, 01 Mar 2005 10:38:58 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:48 +0100 ISOify. Signed-off-by: Ralf Baechle commit 2d32ffa44a5323fda147bd5b0723744a9163e37f tree 0c80197e0430fbd818a5b79e7098a9e060e0569a parent e3ad1c23ba72214669b364c6fa304531dc768c3e author Pete Popov Tue, 01 Mar 2005 07:54:50 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:48 +0100 Moved irq_tab_alchemy to the board specific irqmap.c files. Cleaned up a to of warnings in dbdma.c. Signed-off-by: Ralf Baechle commit e3ad1c23ba72214669b364c6fa304531dc768c3e tree bc1e0004d3df66b4c37a2deb8d89431657039719 parent 784f7b9d895893c6aa3ca471c1344a62fc29c285 author Pete Popov Tue, 01 Mar 2005 06:33:16 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:47 +0100 Base Au1200 2.6 support. Signed-off-by: Ralf Baechle commit 784f7b9d895893c6aa3ca471c1344a62fc29c285 tree 6a1be4fbbd1ed4b0df09e18878b01d43124e0622 parent 333d1f6794b341df11f286f5dca123c6dc64a770 author Steven J. Hill Tue, 01 Mar 2005 03:51:33 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:47 +0100 Fix 'prctl' system call for IRIX. At this point IRIX 5.3 static binaries are now working for 80% of the ones I have tried. The other ones that do not work all fail in the same way with the same messages. Once that bug is tracked down, we should be in good shape. Task locking still needs some work. Signed-off-by: Ralf Baechle commit 333d1f6794b341df11f286f5dca123c6dc64a770 tree 65218399e74b00d17e1b86b2086d781866028d85 parent 0bd5d2e9ec8cc04a0225c590d35dd097e6b3a3f6 author Ralf Baechle Mon, 28 Feb 2005 17:55:57 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:46 +0100 Gross macro abuse. Get rid of gpreg_t, vaddr_t, REG_TO_VA and VA_TO_REG. Who ever wrote this apparently did enjoy the C Puzzle Book. ISBN 0201604612, a little old but still fun reading for the next blackout ;) Signed-off-by: Ralf Baechle commit 0bd5d2e9ec8cc04a0225c590d35dd097e6b3a3f6 tree dc34e1689ce06c9fef80511cdfc7ad6196dcc02b parent 8ab00b9a02c55fd6263c5f7c0dc88389d94de327 author Ralf Baechle Mon, 28 Feb 2005 17:29:15 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:46 +0100 Cleanup fpuemuprivate declarations. Signed-off-by: Ralf Baechle commit 8ab00b9a02c55fd6263c5f7c0dc88389d94de327 tree 0893140cd9b2c80198950f3cd1b8053f951ca729 parent d437441ef5336874e934bd53a03159a584efe95a author Ralf Baechle Mon, 28 Feb 2005 13:39:57 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:46 +0100 Convert struct hw_interrupt_type initializations to ISO C99 named initializers. Signed-off-by: Ralf Baechle commit d437441ef5336874e934bd53a03159a584efe95a tree 1b1b83454186d47cb42016fde654be2a09917b6a parent 13d1d73ea57e7e012bc131ce0f945231087e8c8b author Pete Popov Mon, 28 Feb 2005 05:15:40 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:45 +0100 No barrier needed on au1x. Signed-off-by: Ralf Baechle commit 13d1d73ea57e7e012bc131ce0f945231087e8c8b tree 130ca7efcc8f3a18c8f17b6a03e7b7e3cdfe6a5e parent 685f779e6046e18b6190d2fbc9ef22e6b81c196e author Pete Popov Sun, 27 Feb 2005 22:15:24 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:44 +0100 Comment correction after further investigation of issue. Signed-off-by: Ralf Baechle commit 685f779e6046e18b6190d2fbc9ef22e6b81c196e tree 978841c573762dd434ffee8288cf07d659e4d972 parent 65bda1a95d395c256818d1d8129487a4497b29d8 author Thiemo Seufer Fri, 25 Feb 2005 13:11:18 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:44 +0100 Fix initialization. Unbreak the wait-for-completion loops. Code cleanup. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 65bda1a95d395c256818d1d8129487a4497b29d8 tree 57bea8a2593b17b987cbc188ecf07c341fda5dbc parent 4912ba72d6e27d0f19ec062ffd00a8c0165a2f67 author Maciej W. Rozycki Tue, 22 Feb 2005 21:51:30 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:44 +0100 Switch SiByte drivers back to __raw_*() functions. Signed-off-by: Ralf Baechle commit 4912ba72d6e27d0f19ec062ffd00a8c0165a2f67 tree 6d72de32927d245e31e63013566807a24ae0ec12 parent b727a60258730b331519fedda503a8da78638791 author Maciej W. Rozycki Tue, 22 Feb 2005 21:49:17 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:43 +0100 Define mem_*() I/O accessory functions that preserve byte addresses. Add missing ____raw_*q() functions. Signed-off-by: Ralf Baechle commit b727a60258730b331519fedda503a8da78638791 tree aaf081d988fbc67ce5038f3a5613483ce805e740 parent 0ac354801a879181471331c5b9be021bf5b9d515 author Ralf Baechle Tue, 22 Feb 2005 21:18:01 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:43 +0100 Merge do_boot_cpu() into the new style __cpu_up(). Signed-off-by: Ralf Baechle commit 0ac354801a879181471331c5b9be021bf5b9d515 tree 62e7f45e8167a86fd6accfb3a05b558a10508f0d parent 1f82bdb11ba141b3a1d37ac8c307686d56544cfe author Ralf Baechle Mon, 21 Feb 2005 21:34:24 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:42 +0100 On multiprocessor systems the BogoMIPS for each CPU was reported was the value for the last CPU having calibrated it's delay loop. Signed-off-by: Ralf Baechle commit 1f82bdb11ba141b3a1d37ac8c307686d56544cfe tree 168051db3e2ae039644f8d564d017f175ba065ab parent c4ed38a0c6e2e5c4906296758f816ee71373792f author Ralf Baechle Mon, 21 Feb 2005 19:50:31 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:42 +0100 Define MAP_BASE for IP27 Signed-off-by: Ralf Baechle commit c4ed38a0c6e2e5c4906296758f816ee71373792f tree 65ebab9ca61ea6d03109c53acd2989b626dce52a parent 049b13c358f0187cf3c5003d5fb9848dbcb28bc3 author Ralf Baechle Mon, 21 Feb 2005 16:18:36 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:42 +0100 Resurrect Cobalt support for 2.6. Signed-off-by: Ralf Baechle commit 049b13c358f0187cf3c5003d5fb9848dbcb28bc3 tree f37a46c080ae49ca932ca23ba33f44a80aca688a parent 9f83d839dfd2dbe421224c29f02cef77f5b4b875 author Thiemo Seufer Mon, 21 Feb 2005 11:44:31 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:41 +0100 Enable/disable irq's only if needed. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 9f83d839dfd2dbe421224c29f02cef77f5b4b875 tree f172c9902fef344fd8b55a54e36f761999dcdcf0 parent f29244a59460a62f20885e1e3b55a845fb5a8fdb author Thiemo Seufer Mon, 21 Feb 2005 11:22:15 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:41 +0100 -nostdlib boilerplate. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit f29244a59460a62f20885e1e3b55a845fb5a8fdb tree 1a70946919172b93a61bd690223aee4ba48be8c6 parent dc953df1ba5526814982676f47580c8e1bcdbfeb author Thiemo Seufer Mon, 21 Feb 2005 11:11:32 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:40 +0100 Fix compilation, and bring 32/64 bit variants more in line. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit dc953df1ba5526814982676f47580c8e1bcdbfeb tree 83adba634d22f0788edbd944586b6f2d2a95bde7 parent 4e6a05fe5f87efd58da16fbf61e1f6329575fcfd author Thiemo Seufer Mon, 21 Feb 2005 10:55:16 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:40 +0100 Fix wchan implementation, based on earlier by from Atsushi Nemoto. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 4e6a05fe5f87efd58da16fbf61e1f6329575fcfd tree ed16ed0f4f0307373bba6f83e91fc6495add020b parent 7ee8798f3756fc473e63abeba56fae3e192ce71f author Thiemo Seufer Mon, 21 Feb 2005 10:45:09 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:39 +0100 Improved modules loader, more robust and works on 64bit kernels. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 7ee8798f3756fc473e63abeba56fae3e192ce71f tree 0aa88cef08a4feb76b961615bf9673893f46d435 parent dd193261482ac235f08836750d22689fd55c5ca0 author Steven J. Hill Sat, 19 Feb 2005 16:15:54 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:39 +0100 Until I figure out why NFS filesystems are having problems with the 'load_irix_binary' and having kernel faults, Irix support is disabled. I suspect locking of some sort, but I will now have to investigate further. Static IRIX binaries are now being detected properly and are using the ELF interpreter found in this file. Signed-off-by: Steven J. Hill Signed-off-by: Ralf Baechle commit dd193261482ac235f08836750d22689fd55c5ca0 tree 15b983006f4a949ff32bc8099cfc7260cdfa596d parent 16033d6104f1704bea19ca2684b1c97731479048 author Thiemo Seufer Sat, 19 Feb 2005 13:58:37 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:39 +0100 Initialize iomem_resource. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 16033d6104f1704bea19ca2684b1c97731479048 tree 461db824df87dd814ad1f51e899dc26e4b4dd93c parent 26a51b270f6d87674b713705ba9533440ca41b6c author Thiemo Seufer Sat, 19 Feb 2005 13:56:04 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:38 +0100 Handle addresses beyond VMALLOC_END correctly. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 26a51b270f6d87674b713705ba9533440ca41b6c tree e9ea5b928cf639000c5e6429e556ddd10260bf15 parent 1ba582a1285d534928d68c9d67d8fb63da9abbd1 author Thiemo Seufer Sat, 19 Feb 2005 13:32:02 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:38 +0100 Use intermediate variable. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 1ba582a1285d534928d68c9d67d8fb63da9abbd1 tree b614aeede7c2f44261ea6e5044ea62e767c9b617 parent d8f5d861789ff23b5d87c081f458aaa7f3c6cdcd author Thiemo Seufer Sat, 19 Feb 2005 13:27:41 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:37 +0100 O2 doesn't have _that_ much RAM. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit d8f5d861789ff23b5d87c081f458aaa7f3c6cdcd tree ab88642c86a3dff42066e7944caa496ed2cb8e17 parent d1abb6a2b8b57fa14ae0f69d4a3cb07ff9cdb8d1 author Pete Popov Fri, 18 Feb 2005 06:27:25 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:37 +0100 Changed all Au1x boards to noncoherent again. Signed-off-by: Ralf Baechle commit d1abb6a2b8b57fa14ae0f69d4a3cb07ff9cdb8d1 tree 9bb086547b131b55dfaef22a7592f9d66a5db150 parent a982099ca5465dd848d8ae28a83a3e49ac7b612b author Ralf Baechle Wed, 16 Feb 2005 21:25:03 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:37 +0100 32-bit compatibility for various timer-related system calls. Signed-off-by: Ralf Baechle commit a982099ca5465dd848d8ae28a83a3e49ac7b612b tree f2f372fbf2c07d83bfaa325638468c99e61f3807 parent 09276d905ef7498212ef69d5c324d027dc405896 author Ralf Baechle Wed, 16 Feb 2005 21:24:16 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:36 +0100 Update to match the native siginfo structure and code. Signed-off-by: Ralf Baechle commit 09276d905ef7498212ef69d5c324d027dc405896 tree 85e0d4a506e1ed1cb0f5c908e6ec41b2fdd1a01c parent 54f2da755b7f0bf022ea204240cba824af4d80ad author Ralf Baechle Wed, 16 Feb 2005 21:22:40 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:36 +0100 32-bit compatibility for ptrace GETEVENTMSG operation. Signed-off-by: Ralf Baechle commit 54f2da755b7f0bf022ea204240cba824af4d80ad tree 06c6a800c1023cab23566f33fccb05d9f1de9e73 parent a19050f301c55313826a649943d492c65f977479 author Ralf Baechle Wed, 16 Feb 2005 21:21:29 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:35 +0100 Implement 32-bit compatibility for waitid(2). Signed-off-by: Ralf Baechle commit a19050f301c55313826a649943d492c65f977479 tree 7ee8a1da3734d24db5980dfb17cf5018d8f8871a parent b6e203d84da8298b903a0ebcad1a8170f3959b4f author Ralf Baechle Wed, 16 Feb 2005 21:19:59 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:34 +0100 Waitid(2) now has 5 arguments. Signed-off-by: Ralf Baechle commit b6e203d84da8298b903a0ebcad1a8170f3959b4f tree d8972816c700aff00ea3fcacf64e188705c63ddb parent a4f23e3dfc0931b988f70e38a876bc760400af7b author Ralf Baechle Wed, 16 Feb 2005 21:18:52 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:34 +0100 Use generic compat_sys_wait4 to implement 32-bit wait4(2). Signed-off-by: Ralf Baechle commit a4f23e3dfc0931b988f70e38a876bc760400af7b tree b36ee14080f451b375f516d0954e5fa8461dc16a parent 39408c6af4457a5dafaa0394932229a8f498a871 author Ralf Baechle Wed, 16 Feb 2005 20:15:40 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:34 +0100 Allocate break code 513 to KDB. Signed-off-by: Ralf Baechle commit 39408c6af4457a5dafaa0394932229a8f498a871 tree 2925dbdffca3bfc37e70831f430bce14041aca8b parent ca8a597d53e2ef10a005fb38e8de778aa2246035 author Ralf Baechle Sun, 13 Feb 2005 23:10:08 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:33 +0100 Replace the complicated and broken attempt to clean interrupt by something simple - doesn't need to be fast, after all. Signed-off-by: Ralf Baechle commit ca8a597d53e2ef10a005fb38e8de778aa2246035 tree 6e453969c2d6e9c4bfae34cd641ff7f25f6a01c6 parent de1db6ffe2d802460b7e9f2c1e354066e000d6e6 author Ralf Baechle Sun, 13 Feb 2005 21:31:24 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:33 +0100 If you want RM7000 better fix it to build first ... Signed-off-by: Ralf Baechle commit de1db6ffe2d802460b7e9f2c1e354066e000d6e6 tree c5df61f134ed94dd48b3624ffecd8d7f02a22caf parent 85b6e8184b798d06c854463cdd6c63dd1d4ff47c author Ralf Baechle Sun, 13 Feb 2005 18:53:26 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:32 +0100 It's unwise to disable all interrupts of the boot node ;-) Signed-off-by: Ralf Baechle commit 85b6e8184b798d06c854463cdd6c63dd1d4ff47c tree 0b8a31d1843182ea38bdaa2fe69701f21382db2f parent f4b7cdb4814e9ad1ec662bad5fccc4d37bcc6d4c author Ralf Baechle Sun, 13 Feb 2005 00:32:43 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:32 +0100 Rewrite to avoid the use of $at. Unfortunately binutils 2.15 and CVS binutils are broken and don't warn about this use of $at even though gas is in .set noat mode so this for now is an accident waiting to happen. Signed-off-by: Ralf Baechle commit f4b7cdb4814e9ad1ec662bad5fccc4d37bcc6d4c tree e86e41686eb2c6bb2b8e2585ea21191a12dfd220 parent 79acf83e509dd0ca3db6c747bf58931984abc6e3 author Maciej W. Rozycki Sat, 12 Feb 2005 04:31:49 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:32 +0100 Enable RM7000 secondary cache for Atlas and Malta boards. Signed-off-by: Ralf Baechle commit 79acf83e509dd0ca3db6c747bf58931984abc6e3 tree 2c554b18a2e721e387959bbc3212ae72c57298f1 parent c6e8b587718c486b55c2ebecc6de231a30beba35 author Ralf Baechle Thu, 10 Feb 2005 13:54:37 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:31 +0100 Moves a test which determines if we actually need to perform a cacheflush to the right place. That's a bug which is harmless on UP but a severe bug on SMP. Signed-off-by: Ralf Baechle commit c6e8b587718c486b55c2ebecc6de231a30beba35 tree 7c6162d449c69fb6425bd27ba341e2d874fb0a1b parent 57f0060b8a2bb2a70a4cce1a37d5e0158cea92a6 author Ralf Baechle Thu, 10 Feb 2005 12:19:59 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:31 +0100 Update MIPS to use the 4-level pagetable code thereby getting rid of the compacrapability headers. Signed-off-by: Ralf Baechle commit 57f0060b8a2bb2a70a4cce1a37d5e0158cea92a6 tree f2cca6d9bc63b4f180739e9f2a86db0f0e2d7d86 parent 26852d5cdb2bac01f2a48b815194a045e8a8e300 author Ralf Baechle Thu, 10 Feb 2005 12:00:06 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:30 +0100 Document why calling smp_call_function will deadlock when called with interrupts disabled. Signed-off-by: Ralf Baechle commit 26852d5cdb2bac01f2a48b815194a045e8a8e300 tree 2a70644d2ddd04d24b92dc272b87bd235a19f5e7 parent 505403b6a02aefc47c038acf56b719497b720012 author Ralf Baechle Wed, 09 Feb 2005 12:59:39 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:29 +0100 Fix ptrace aliasing issue in copy_from_user_page / copy_to_user_page. Signed-off-by: Ralf Baechle commit 505403b6a02aefc47c038acf56b719497b720012 tree f05cc60f3b92df1c67d2f3853597a8df69a165dd parent 55a6feb671885d3a1758dad20b53224a038349bc author Ralf Baechle Mon, 07 Feb 2005 21:53:39 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:29 +0100 25Kf is also physically indexed. Signed-off-by: Ralf Baechle commit 55a6feb671885d3a1758dad20b53224a038349bc tree f6660dec8df70e75f8cc63a0bfce5aa50ce079a8 parent a95970f323a273230b36d23da1426f8acc5e25c0 author Ralf Baechle Mon, 07 Feb 2005 21:52:35 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:29 +0100 Add a few more PrId vendor IDs. Signed-off-by: Ralf Baechle commit a95970f323a273230b36d23da1426f8acc5e25c0 tree 365b6d9f99c9e8c09d6288c8d8234351b1935575 parent 84fd089a425f055ecf4a6a72f2509ccb98314b8f author Ralf Baechle Mon, 07 Feb 2005 21:41:32 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:28 +0100 20Kc and SB1 don't suffer from aliases. Signed-off-by: Ralf Baechle commit 84fd089a425f055ecf4a6a72f2509ccb98314b8f tree 36f2f224adac024bfa2569911da9d9200b3f5ad8 parent cc26b815ddde4168cd853be9e62ecacd392e3f64 author Ralf Baechle Mon, 07 Feb 2005 16:13:07 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:28 +0100 Delete duplicate copy of fixrange_init. Signed-off-by: Ralf Baechle commit cc26b815ddde4168cd853be9e62ecacd392e3f64 tree 72d45edbdd11df91142c7f6a96666097130c463b parent a18815abcdfd9f10a6ce6fbec3ad1af1ae101ce7 author Ralf Baechle Mon, 07 Feb 2005 12:14:00 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:27 +0100 rm9000_init() really is __init code. Signed-off-by: Ralf Baechle commit a18815abcdfd9f10a6ce6fbec3ad1af1ae101ce7 tree 9be4382c2fefbcde7f47335c77d80a24a65f29e0 parent 54176736f734ca3a1f27416d8e5804981a627076 author Ralf Baechle Mon, 07 Feb 2005 02:54:29 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:27 +0100 Use preempt_schedule_irq. Signed-off-by: Ralf Baechle commit 54176736f734ca3a1f27416d8e5804981a627076 tree c304751efa231b2bb8a81eca4f399c122f3cf9fe parent 29c4869946f9182f5d5f76502ac5a4a71b3b3e62 author Ralf Baechle Mon, 07 Feb 2005 02:54:29 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:27 +0100 More oprofile bits for MIPS32-style performance counters. The code to bolt this into the actual hardware interrupt is yet missing from this commit. Signed-off-by: Ralf Baechle FEXPORT(ret_from_fork) commit 29c4869946f9182f5d5f76502ac5a4a71b3b3e62 tree 0b3781261e1d18fff5fe46054a0e8c2f86c9d4c8 parent ae6aafe30917c4c9f3533471d491b5e7c2fbe61a author Ralf Baechle Mon, 07 Feb 2005 01:27:14 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:26 +0100 It works better when including arch/mips/sgi-ip27/Kconfig ... Signed-off-by: Ralf Baechle commit ae6aafe30917c4c9f3533471d491b5e7c2fbe61a tree ae1a7c88853a2f9d982db41f80f7235ce37b4f50 parent 0efe27617e67448dfe78e7cebde3a6f9eadf1223 author Ralf Baechle Sun, 06 Feb 2005 21:55:49 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:26 +0100 Move missplaced code line to the right place. Signed-off-by: Ralf Baechle commit 0efe27617e67448dfe78e7cebde3a6f9eadf1223 tree 858293ddf2a2e93da4186003ba7de016a073656f parent d1e344e500cc693139a69d29122db18190916448 author Ralf Baechle Sun, 06 Feb 2005 21:24:55 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:25 +0100 Provide functions to access cop0 config4-7 registers Signed-off-by: Ralf Baechle commit d1e344e500cc693139a69d29122db18190916448 tree 8501c79592d6ca06ce58a0ec34375cdb0c1ade34 parent 28ecca4786bd8af209ae65689faa6aeea80adba2 author Ralf Baechle Fri, 04 Feb 2005 15:51:26 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:25 +0100 Use hardware mechanism to deal with cache aliases in the 24K. Signed-off-by: Ralf Baechle commit 28ecca4786bd8af209ae65689faa6aeea80adba2 tree 9a74856c8a4fcdf4568e81952e6ae0af2256a75c parent ea7c394492cb56ff0c10ad327157f237d5bbe6b4 author Ralf Baechle Fri, 04 Feb 2005 15:19:01 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:25 +0100 Remove old wrong bits of cache code. Signed-off-by: Ralf Baechle commit ea7c394492cb56ff0c10ad327157f237d5bbe6b4 tree 857e7f8e421b8c5801b68d9f4de211bb2f1096e3 parent 925ddb04c5eee5668e7229c71580d458ed61eb9b author Maciej W. Rozycki Fri, 04 Feb 2005 01:34:52 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:24 +0100 Clean up SEAD interrupt initialization. Signed-off-by: Ralf Baechle commit 925ddb04c5eee5668e7229c71580d458ed61eb9b tree f4a7cbd9047284edbf95235d02e03edf57a9a259 parent 38b18f72587422450bd01695b471b3ae2ff4b169 author Maciej W. Rozycki Thu, 03 Feb 2005 23:06:29 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:24 +0100 Mask and ack CPU interrupts upon initialization. Keep the state of software interrupts when unmasking. Signed-off-by: Ralf Baechle commit 38b18f72587422450bd01695b471b3ae2ff4b169 tree 83485240e1bfcd80c7a8c368844e541a826fc7ba parent db89a48c1f2fa9197404ca511d9df808196ca25d author Ralf Baechle Thu, 03 Feb 2005 14:28:23 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:23 +0100 Move Sibyte Kconfig stuff into it's own Kconfig. Signed-off-by: Ralf Baechle commit db89a48c1f2fa9197404ca511d9df808196ca25d tree c9332b5c9d8dcb0f900927d177139d6124608058 parent e3c4807825501f0b445fe34b627669be24b59320 author Ralf Baechle Thu, 03 Feb 2005 13:37:41 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:22 +0100 Replace deprecated interruptible_sleep_on() function call with direct wait-queue usage. Signed-off-by: Ralf Baechle commit e3c4807825501f0b445fe34b627669be24b59320 tree 438898b7a348ca7b4a452d4f7c143dc1a694c60e parent f638d1971e3135025471c99bf079a24fbb1f3bfa author Ralf Baechle Thu, 03 Feb 2005 13:34:45 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:22 +0100 Define __raw_read_can_lock / __raw_write_can_lock. Signed-off-by: Ralf Baechle commit f638d1971e3135025471c99bf079a24fbb1f3bfa tree 93dc29f7a9a52ea0337977f03f8322f6548d0855 parent b6d468ec2db51768a456a894105a96f4ad8a346a author Maciej W. Rozycki Wed, 02 Feb 2005 22:23:46 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:22 +0100 Update descriptions for MIPS Technologies evaluation boards. Signed-off-by: Ralf Baechle commit b6d468ec2db51768a456a894105a96f4ad8a346a tree aa47dcea56edd42ae78e1d3da2b361af9fba1b95 parent 304429915dad26ccf212d63ea1f18be36e3188e2 author Maciej W. Rozycki Wed, 02 Feb 2005 20:36:21 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:21 +0100 Reenable EARLY_PRINTK for the DECstation. Signed-off-by: Ralf Baechle commit 304429915dad26ccf212d63ea1f18be36e3188e2 tree f9f2637dee4d1480356c8fb41f5b6515093043b0 parent 6b123979543a37d109b74a359b147b38ee8166dd author Maciej W. Rozycki Tue, 01 Feb 2005 23:02:12 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:21 +0100 Formatting fixes. Signed-off-by: Ralf Baechle commit 6b123979543a37d109b74a359b147b38ee8166dd tree 4ea393e3f5294b74f9a2e63d921cdbe5c3357e0f parent aa0980b8090878bf42bc73a13d051a203a201d7d author Maciej W. Rozycki Tue, 01 Feb 2005 20:21:48 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:20 +0100 Fix compilation; by Manish Lachwani. Signed-off-by: Ralf Baechle commit aa0980b8090878bf42bc73a13d051a203a201d7d tree c4e411d4100a6006b0bc2945742b0ab2fa10b2e5 parent bec0204dfb35cd5b91c0b34f97a481f363f6b272 author Maciej W. Rozycki Tue, 01 Feb 2005 20:18:59 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:20 +0100 Fixes for system controllers for Atlas/Malta core cards. Signed-off-by: Ralf Baechle commit bec0204dfb35cd5b91c0b34f97a481f363f6b272 tree 75c908e1d38057e2ccdd2fecc8d45d78e01d7ca8 parent c6237645d1e9e687031048f5ffd343133fddb55c author Maciej W. Rozycki Tue, 01 Feb 2005 12:02:37 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:19 +0100 Actually route cPCI interrupts. Update inaccurate comments. Signed-off-by: Ralf Baechle commit c6237645d1e9e687031048f5ffd343133fddb55c tree 5e66c8084d068b432a0747c45ed3d60d6b3e922b parent b053c98fbbe9942669af2f1a351eaeae1b344d38 author Ralf Baechle Wed, 26 Jan 2005 02:22:22 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:19 +0100 Signed-off-by: Ralf Baechle Fix TASK_SIZE for 32-bit processes on 64-bit kernels. commit b053c98fbbe9942669af2f1a351eaeae1b344d38 tree a2b94eff483c4d9bad2f28502126823e5d25172e parent c83cfc9c9477d0bc0e0a1ba29dfc58e0d42b2faf author Ralf Baechle Wed, 26 Jan 2005 02:21:06 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:19 +0100 Fix register layout in o32 core dumps on 64-bit systems. Signed-off-by: Ralf Baechle commit c83cfc9c9477d0bc0e0a1ba29dfc58e0d42b2faf tree 86c613b44ae25af1808b81dde2a4dc0274647194 parent 8c93650890a33318263880dec36603a6d5749b7e author Ralf Baechle Tue, 21 Jun 2005 13:56:30 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:18 +0100 Get rid of early_init. There's more need to make this form of initialization actually useful and as is certainly unmergable with upstream. Signed-off-by: Ralf Baechle commit 8c93650890a33318263880dec36603a6d5749b7e tree 7db742af92e519a334163dbfa44ad3a04d30752f parent b188ffe876382ecc009ceb4fe033fd6ec7ba4ede author Ralf Baechle Tue, 28 Dec 2004 09:09:19 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:17 +0100 Dummy ISA DMA functions for systems that don't have ISA but share drivers with ISA such as legacy free PCI. Signed-off-by: Ralf Baechle commit b188ffe876382ecc009ceb4fe033fd6ec7ba4ede tree 076658e5088c376aafbccafd8a767c587e14aea9 parent 0964ce24d091a1d3dc7f667e1b107ab77d4325e6 author Ralf Baechle Tue, 28 Dec 2004 07:49:43 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:17 +0100 Fix build with SMP disabled and preemption enabled. Signed-off-by: Ralf Baechle commit 0964ce24d091a1d3dc7f667e1b107ab77d4325e6 tree e572b6e59f102cee5f6c0d7635f6ceae39aa9775 parent c264852726dde251a0c09ec22f61a9be8b0db68b author Thiemo Seufer Thu, 23 Dec 2004 08:21:39 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:16 +0100 Move the invalid pmd and pte tables from .data to .bss. Fix alignment. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit c264852726dde251a0c09ec22f61a9be8b0db68b tree 78198bac69fc4c4e2feb7c2c782074c7f8c2f1fe parent 69903d6500c73af8329a5fba7153b0d50748981c author Thiemo Seufer Fri, 10 Dec 2004 12:56:33 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:16 +0100 Remove unused arguments from preempt_{start,stop}/local_irq_{en,dis}able. Don't clobber the preloaded TI_FLAGS in a2 needlessly. Unexport local functions. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 69903d6500c73af8329a5fba7153b0d50748981c tree d77624da0c4f7fab47e3ea5ab51e8a45b89d2909 parent b59a9504cb93db7fae31e60760725d48652a1fc3 author Thiemo Seufer Wed, 08 Dec 2004 10:32:45 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:15 +0100 Fix typos and formatting. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit b59a9504cb93db7fae31e60760725d48652a1fc3 tree 261c9e21a61fc0abe0dd7f21734b3497ed71d377 parent 942b6f62164cf8822dd03b1569777f4663d1abd7 author Thiemo Seufer Sat, 04 Dec 2004 21:35:05 +0000 committer Ralf Baechle Sat, 29 Oct 2005 19:30:15 +0100 De-optimize and decomplicate the spurious interrupt handler. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle commit 955c5038823748e529a49f0e33ab635d92843500 tree 371d937281474e6abf09b9a893966c85c5e9ad70 parent 62d3af1b5f3aa613e0a489e8d798d45b07f373f4 parent 2ab540becd1bcf9c6886370fd8c67e56dd1c9f3a author Linus Torvalds Sat, 29 Oct 2005 11:26:04 -0700 committer Linus Torvalds Sat, 29 Oct 2005 11:26:04 -0700 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev commit 62d3af1b5f3aa613e0a489e8d798d45b07f373f4 tree 8f10dfd23c18600392965b69f94dd389e60827d5 parent 942b6f62164cf8822dd03b1569777f4663d1abd7 parent e71180f3689e00c5a1095925352a72dacdd62e34 author Linus Torvalds Sat, 29 Oct 2005 11:25:16 -0700 committer Linus Torvalds Sat, 29 Oct 2005 11:25:16 -0700 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit e71180f3689e00c5a1095925352a72dacdd62e34 tree dc60596c2ea85b8f9f47a1c3af3c3da4041e3225 parent eef55ac7bf16669cb022db30143d0a6d8cb1f5e6 author Patrick McHardy Sat, 29 Oct 2005 13:31:39 +0100 committer Jeff Garzik Sat, 29 Oct 2005 14:17:05 -0400 [PATCH] prism54: Free skb after disabling interrupts The dev_kfree_skb in islpci_eth_transmit happens while irqs are still disabled, so either dev_kfree_skb_irq needs to be used or the skb needs to be freed after irqs have been enabled again. This patch should fix it. Signed-off-by: Patrick McHardy Signed-off-by: Daniel Drake Signed-off-by: Jeff Garzik commit eef55ac7bf16669cb022db30143d0a6d8cb1f5e6 tree e104862f5bf9c873be2599b4f8e9a7f93644bda4 parent f9a5f7d3f3319aac02a7a36a2fea10bd33c3d16a author Al Viro Sat, 29 Oct 2005 06:36:27 +0100 committer Jeff Garzik Sat, 29 Oct 2005 14:15:37 -0400 [PATCH] s2io iomem annotations Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit f9a5f7d3f3319aac02a7a36a2fea10bd33c3d16a tree d44abb7a38b2f4e65e58e3fc72772701adffb844 parent 977e74b5f60de3df9831897b726c16870878eee4 author Tobias Klauser Sat, 29 Oct 2005 15:09:26 +0200 committer Jeff Garzik Sat, 29 Oct 2005 14:15:37 -0400 [PATCH] drivers/net/tg3: Use the DMA_{32,64}BIT_MASK constants This one from my DMA_{32,64}BIT_MASK series did not seem to make it through to upstream. Use the DMA_{32,64}BIT_MASK constants from dma-mapping.h when calling pci_set_dma_mask() or pci_set_consistent_dma_mask() This patch includes dma-mapping.h explicitly because it caused errors on some architectures otherwise. See http://marc.theaimsgroup.com/?t=108001993000001&r=1&w=2 for details Signed-off-by: Tobias Klauser Signed-off-by: Jeff Garzik commit 2ab540becd1bcf9c6886370fd8c67e56dd1c9f3a tree 72fb7dedbe8ccc577482c60b93911339be679b5e parent 57f3bda88a5e5a2810016820a932cb82931dcb1c author Al Viro Sat, 29 Oct 2005 06:38:44 +0100 committer Jeff Garzik Sat, 29 Oct 2005 14:10:06 -0400 [PATCH] sata_sil24 iomem annotations and fixes trivial iomem annotations + missing memcpy_fromio() caught by those Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit 57f3bda88a5e5a2810016820a932cb82931dcb1c tree 38fc121c758d29c686e1d4c436591a8f9d844c06 parent ac19bff25b6834d858274406a686f2227dd8489d author Randy Dunlap Fri, 28 Oct 2005 20:37:23 -0700 committer Jeff Garzik Sat, 29 Oct 2005 14:10:06 -0400 [PATCH] libata-core cleanups (updated) libata-core cleanups: - use kzalloc() instead of kmalloc() + memset(); - use one exit path in ata_device_add(); Signed-off-by: Randy Dunlap Signed-off-by: Jeff Garzik commit d052d1beff706920e82c5d55006b08e256b5df09 tree dac91b70361b405ab8e15207f514a2f3e991e93d parent 8a212ab6b8a4ccc6f3c3d1beba5f92655c576404 author Russell King Sat, 29 Oct 2005 19:07:23 +0100 committer Russell King Sat, 29 Oct 2005 19:07:23 +0100 Create platform_device.h to contain all the platform device details. Convert everyone who uses platform_bus_type to include linux/platform_device.h. Signed-off-by: Russell King Acked-by: Greg Kroah-Hartman commit ac19bff25b6834d858274406a686f2227dd8489d tree d77670070abc662b6b14b5a9f9d6c08a56a476a9 parent 9dfb7808fb05643b0d06df7411b94d9546696bf1 author Jeff Garzik Sat, 29 Oct 2005 13:58:21 -0400 committer Jeff Garzik Sat, 29 Oct 2005 13:58:21 -0400 [libata] ensure ->tf_read() hook reads Status and Error registers We want ->tf_read() to get a complete snapshot of all taskfile registers, without requiring the callers to manually call ata_chk_status() and ata_chk_err() themselves. This also fixes a minor bug in sata_vsc where the lower bits of the feature register were incorrectly placed in the HOB (high order bits) portion of struct ata_taskfile. commit 942b6f62164cf8822dd03b1569777f4663d1abd7 tree 87c562e1bda1d0d266c316ef6059c010b6f30fab parent a6e0eb3791dcefc6dd4db53a23de5cfb18fe9a97 author Al Viro Sat, 29 Oct 2005 12:07:11 +0100 committer Linus Torvalds Sat, 29 Oct 2005 10:35:08 -0700 [PATCH] type fix in arm/boot/compressed/misc.c spot the typo... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit a6e0eb3791dcefc6dd4db53a23de5cfb18fe9a97 tree 982d3656cdadc21225dcfe4dc3092d70461d9458 parent 018a2cdf1e633497bb4f01eb86a7cbffa611776d author Al Viro Sat, 29 Oct 2005 12:02:00 +0100 committer Linus Torvalds Sat, 29 Oct 2005 10:35:08 -0700 [PATCH] bluetooth hidp is broken on s390 Bluetooth HIDP selects INPUT and it really needs it to be there - module depends on input core. And input core is never built on s390... Marked as broken on s390, for now; if somebody has better ideas, feel free to fix it and remove dependency... Signed-off-by: Al Viro Acked-by: Marcel Holtmann Signed-off-by: Linus Torvalds commit 018a2cdf1e633497bb4f01eb86a7cbffa611776d tree 515fd2723973f28a738c597d8630526b88650d40 parent 32b32c2c3566b206988fa30336ec6534759823b5 author Al Viro Sat, 29 Oct 2005 11:56:13 +0100 committer Linus Torvalds Sat, 29 Oct 2005 10:35:08 -0700 [PATCH] idmouse cleanup and overflow fix switched to simple_read_from_buffer(), killed broken use of min(). Incidentally, that use of min() had been fixed once, only to be reintroduced in commit 4244f72436ab77c3c29a6447af81734ab3925d85: [PATCH] USB: upgrade of the idmouse driver [snip] - if (count > IMGSIZE - *ppos) - count = IMGSIZE - *ppos; + count = min ((loff_t)count, IMGSIZE - (*ppos)); Note the lovely use of cast to shut the warning about misuse of min() up... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 32b32c2c3566b206988fa30336ec6534759823b5 tree c1e6189006a7fe3ee84038be4efb36462fe7a2a6 parent 943eae03143790c71cf42fe13529f1b74ceb0266 author Al Viro Sat, 29 Oct 2005 11:49:33 +0100 committer Linus Torvalds Sat, 29 Oct 2005 10:35:07 -0700 [PATCH] amikbd fix it's input_allocate_device(), not input_dev_allocate()... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 943eae03143790c71cf42fe13529f1b74ceb0266 tree 64b815091689324d1124ccafd7ab80274033bd2f parent 9d86b7d37018c917837477dd4501d44bf8f3f98c author Al Viro Sat, 29 Oct 2005 07:32:07 +0100 committer Linus Torvalds Sat, 29 Oct 2005 10:35:07 -0700 [PATCH] missing exports of do_settimeofday() variants frv, sh64, ia64 and sparc64 do not have do_settimeofday() exported (the last two are using variant in kernel/time.c). Exports added to match the rest of architectures. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 9d86b7d37018c917837477dd4501d44bf8f3f98c tree 0aac68d61f64b0e935e3abd9d1da71ead577a5eb parent f6b52e85a5d022008fe9f99eab7c9f41f155e3cd author Al Viro Sat, 29 Oct 2005 07:08:49 +0100 committer Linus Torvalds Sat, 29 Oct 2005 10:35:07 -0700 [PATCH] missing bits in sparkspkr conversion Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit f6b52e85a5d022008fe9f99eab7c9f41f155e3cd tree 5fecf0c488bbabacd272db0ea82e3f498317485d parent 2d3c0b7bedfd7a8e1870a046a434bd467e7c5349 author Al Viro Sat, 29 Oct 2005 07:06:59 +0100 committer Linus Torvalds Sat, 29 Oct 2005 10:35:07 -0700 [PATCH] arguments out of order in class_device_create() call (s390) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 2d3c0b7bedfd7a8e1870a046a434bd467e7c5349 tree 1073d1e05f604faeebbde344a0d4e624fc116d65 parent 4b4a5eaedfc098d825d4c34cad1f1115802512b7 author Al Viro Sat, 29 Oct 2005 06:46:03 +0100 committer Linus Torvalds Sat, 29 Oct 2005 10:35:07 -0700 [PATCH] missing include in infiniband use of IS_ERR/PTR_ERR in infiniband/core/agent.c, without a portable chain of includes pulling err.h (breaks on a bunch of platforms). Signed-off-by: Al Viro Acked-by: Roland Dreier Signed-off-by: Linus Torvalds commit 4b4a5eaedfc098d825d4c34cad1f1115802512b7 tree a91db63ceed5da83934ccb376e48cc8321e2883a parent 7533624527b9afa5585ca43ba534758052d848e5 author Al Viro Sat, 29 Oct 2005 06:38:44 +0100 committer Linus Torvalds Sat, 29 Oct 2005 10:35:07 -0700 [PATCH] sata_sil24 iomem annotations and fixes trivial iomem annotations + missing memcpy_fromio() caught by those Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 7533624527b9afa5585ca43ba534758052d848e5 tree c8a1893417aa948d38d6e52e7de65b9103231d72 parent 8d027de54c77d38eedc9b331c7a2a39807d34691 author Al Viro Sat, 29 Oct 2005 06:36:27 +0100 committer Linus Torvalds Sat, 29 Oct 2005 10:35:07 -0700 [PATCH] s2io iomem annotations Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 8d027de54c77d38eedc9b331c7a2a39807d34691 tree cfa290c7ca6b63f33b2b4624695596f38bcda2fd parent 47e627ce83b6df9f4bb8e4b0a4dde1c5d7a4c929 author Oleg Nesterov Sat, 29 Oct 2005 19:37:40 +0400 committer Linus Torvalds Sat, 29 Oct 2005 10:28:13 -0700 [PATCH] fix ->signal->live leak in copy_process() exit_signal() (called from copy_process's error path) should decrement ->signal->live, otherwise forking process will miss 'group_dead' in do_exit(). Signed-off-by: Oleg Nesterov Signed-off-by: Linus Torvalds commit 47e627ce83b6df9f4bb8e4b0a4dde1c5d7a4c929 tree e41ee81ad1c584fd93184cf43acbcbd986ad858d parent fc228a04a4c01bbb2f898e180a14f9a976001f79 author Tejun Heo Sat, 29 Oct 2005 18:18:42 +0900 committer Linus Torvalds Sat, 29 Oct 2005 10:28:13 -0700 [PATCH] blk: fix merge bug in as-iosched as-iosched deals with aliased requests differently from other ioscheds. It links together aliased requests using rq->queuelist instead of spilling alises to dispatch queue like other ioscheds do. Requests linked in this way cannot be merged. Unfortunately, generic q->last_merge handling patch didn't take this into account and q->last_merge could be set to an aliased request resulting in Badness, corrupt list and eventually panic. This explicitly marks aliased requests to be unmergeable. Signed-off-by: Tejun Heo Signed-off-by: Linus Torvalds commit c514e58cb8eac0d21f4ab5011df75a09eb5edd50 tree c616a79e41bed30d56d3c17ae7b802285c8c3374 parent 1a47ebc0d971fbc47cd859a09956f7c7d001f5fd author Kenneth Tan Sat, 29 Oct 2005 16:32:14 +0100 committer Russell King Sat, 29 Oct 2005 16:32:14 +0100 [ARM] 3022/1: Missing peripheral devices memory mapping definition for IXP46X processor Patch from Kenneth Tan Defining IXP46X peripheral devices memory mapping definitions that have been missed out: o Peripheral virtual base address is being adjusted to allow more headroom to add extra peripheral device addresses o Peripheral size is being increased to address the above needs o Virtual address of expansion bus and PCI configuration register needs to be adjusted as new peripheral device memory space is overlapping with their virtual address space Signed-off-by: Kenneth Tan Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 1a47ebc0d971fbc47cd859a09956f7c7d001f5fd tree 7e1f083a72712f7bbc29829622683a5077927492 parent b4a1f67fbfb848ded8cf0c6c305224534144ab2d author Nicolas Pitre Sat, 29 Oct 2005 16:28:29 +0100 committer Russell King Sat, 29 Oct 2005 16:28:29 +0100 [ARM] 3059/1: fix XIP support Patch from Nicolas Pitre Fix XIP support after recent bootmem code refactoring. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit b4a1f67fbfb848ded8cf0c6c305224534144ab2d tree 58988f4a66886659518e971fdc2445ecb9e81ecf parent ecbea7a2dae94092db9566bcd1f38535e9b3cde9 author Lennert Buytenhek Sat, 29 Oct 2005 16:28:28 +0100 committer Russell King Sat, 29 Oct 2005 16:28:28 +0100 [ARM] 3053/1: introduce ixp2000_reg_wrb (ixp2000_reg_write plus readback) Patch from Lennert Buytenhek Introduce ixp2000_reg_wrb, which is a variant of ixp2000_reg_write that does a readback from the target register, to make sure that the write has been flushed out of the write buffer. Unlike the previous (ineffective) readback in ixp2000_reg_write, this readback is followed by an instruction that depends on the value of the readback so that the CPU actually stalls until the readback has completed. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit ecbea7a2dae94092db9566bcd1f38535e9b3cde9 tree 8dab38d4e97e1534c7159c5ec34ef74bb1b06553 parent 931db7d6880027bb2b6b0cb78a488ab1486e28b7 author Lennert Buytenhek Sat, 29 Oct 2005 16:28:27 +0100 committer Russell King Sat, 29 Oct 2005 16:28:27 +0100 [ARM] 3051/1: turn ixp2000_reg_read into an inline function Patch from Lennert Buytenhek Turn ixp2000_reg_read into an inline function. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 931db7d6880027bb2b6b0cb78a488ab1486e28b7 tree fd85ee0a0d4fc217b59b639307af76bfd65504e0 parent 13bfb34c10fae6016710f5f070043c8b94b40583 author Lennert Buytenhek Sat, 29 Oct 2005 16:28:26 +0100 committer Russell King Sat, 29 Oct 2005 16:28:26 +0100 [ARM] 3050/1: remove ixp2000_reg_write erratum #66 workaround Patch from Lennert Buytenhek The workaround that we do for avoiding triggering ixp2400 erratum #66 involves mapping I/O pages using XCB=101 instead of XCB=000 so that we prevent the I/O signal to the gasket from being asserted (which can cause data corruption.) But XCB=101 mappings are write-buffered while mappings using XCB=000 are not, which is why if we use XCB=101 mappings we do a readback for every CSR store in an attempt to make sure that the store has been pushed out of the xscale core and the gasket. Unfortunately, there are two issues with this: - we do a readback for every CSR store, which is wrong, because the register we are writing to might have unwanted side-effects on read, for example, in the case of the scratchpad ring enqueue/dequeue registers; and - the readback is totally ineffective in the way we currently do it, because we just issue a load but do not issue any instruction that depends on the return value of that load, so the xscale core does not wait for the load to complete before continuing. See this linux-arm-kernel mailing list post for further information: http://lists.arm.linux.org.uk/pipermail/linux-arm-kernel/2005-September/031314.html This means that my ixp2400 boxes have been running for many months without a working readback in ixp2000_reg_write, without any apparent adverse effects. Two of them have been running for a week now with the actual readback deleted from ixp2000_reg_write, also without any apparent ill effects. So, because in its current form it does more harm than good, the readback in ixp2000_reg_write should simply be killed, as the patch below does. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 13bfb34c10fae6016710f5f070043c8b94b40583 tree 39fd757bdfa95381655e0e2130c054834ee807e2 parent 183e1a349466a1b90430a58f3efad25a3e555cb2 author Russell King Sat, 29 Oct 2005 16:14:08 +0100 committer Russell King Sat, 29 Oct 2005 16:14:08 +0100 [ARM] Fix Assabet reboot with SA1100 MTD map driver Unfortunately, some devices forgot to reset the flash on reboot. Arrange for the map driver to suspend & resume the flash to ensure that it is in a sane state before rebooting. Signed-off-by: Russell King commit 183e1a349466a1b90430a58f3efad25a3e555cb2 tree 8034e08c82864e3533d5f4c9f299b3bea3ad118a parent 14e66f767f5e8d023e098b475dc24ddc9a5dbdfd author Russell King Sat, 29 Oct 2005 16:09:59 +0100 committer Russell King Sat, 29 Oct 2005 16:09:59 +0100 [ARM] Add support for SA1100 Jornada flash device support This got dropped from the SA1100 flash driver a while back and never added to the platform support file. Add it back. Signed-off-by: Russell King commit 14e66f767f5e8d023e098b475dc24ddc9a5dbdfd tree 11d0835775cb00a164b2e3d4b23f282a002277cd parent 822e5e72697ce06e4425c17d161b0482c7d9b6d4 author Russell King Sat, 29 Oct 2005 16:08:31 +0100 committer Russell King Sat, 29 Oct 2005 16:08:31 +0100 [ARM] Allow MTD device name to be passed via platform data Allow SA1100 devices to pass the name of the flash device to the SA1100 map driver. Signed-off-by: Russell King commit 822e5e72697ce06e4425c17d161b0482c7d9b6d4 tree 0668a09f5da7722ea972d203c931a39dea8b6a5f parent 0d2ef7d73e0b5173af3940139569bebd2375f441 author Russell King Sat, 29 Oct 2005 16:03:24 +0100 committer Russell King Sat, 29 Oct 2005 16:03:24 +0100 [ARM] Fix MTD device/partition destruction We should not delete MTD partitions when we registered a MTD device. Signed-off-by: Russell King commit 0d2ef7d73e0b5173af3940139569bebd2375f441 tree ce48e0c9dd216c1c32084c233842918507ee330e parent 57725f0a94435355214977bb9b0e5089bba1b173 author Russell King Sat, 29 Oct 2005 15:57:20 +0100 committer Russell King Sat, 29 Oct 2005 15:57:20 +0100 [ARM] Add support for init/exit methods in sa1100 MTD map driver Signed-off-by: Russell King commit 57725f0a94435355214977bb9b0e5089bba1b173 tree 5b41dca6ab5cbe0f83cd8f553c5b5588aa97e61c parent 8c18fe2562c45180c407872d05857c55c1e5e37b author Russell King Sat, 29 Oct 2005 15:51:14 +0100 committer Russell King Sat, 29 Oct 2005 15:51:14 +0100 [ARM] Rename 'data' to 'plat' in sa1100 MTD map driver Signed-off-by: Russell King commit affcd50546d4788b7849e2b2e2ec7bc50d64c5f8 tree e4e6a0f5f2203569b6ada4c101a146c3a4f24c28 parent 89fbb69c4f285019ba5e029963dc11cc6beb078a author Michael S. Tsirkin Sat, 29 Oct 2005 07:39:42 -0700 committer Roland Dreier Sat, 29 Oct 2005 07:39:42 -0700 [IB] mthca: report asynchronous CQ events Implement reporting asynchronous CQ events in Mellanox HCA driver. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 8c18fe2562c45180c407872d05857c55c1e5e37b tree 52b4b8e5b501aaf614504e85f3a458704906a55f parent fb31690fbac6f4055c1765522752e4746759f5de author Russell King Sat, 29 Oct 2005 13:18:10 +0100 committer Russell King Sat, 29 Oct 2005 13:18:10 +0100 [ARM] Fix buggy __phys_to_pfn / __pfn_to_phys Macro arguments should _always_ be surrounded by parentheses when used to prevent unexpected problems with operator precedence. Signed-off-by: Russell King commit fb31690fbac6f4055c1765522752e4746759f5de tree 6b8b2375f122a3771aadebeba7344829a6ae88ed parent 8a212ab6b8a4ccc6f3c3d1beba5f92655c576404 author Russell King Sat, 29 Oct 2005 13:15:10 +0100 committer Russell King Sat, 29 Oct 2005 13:15:10 +0100 [ARM] Ensure machine information structures aren't optimised away Since the machine information structures are now static, the compiler might optimise them away. Mark them with __attribute_used__ to prevent this occuring. Signed-off-by: Russell King commit eb66ce6333742e32825f0294310ff53e284fa828 tree 19e8229a69fe11ba688e3fd0f2b6504cd33fbb9c parent 3ee1fcac33eae824422b9b98d972a85e79672426 author Paul Mackerras Sat, 29 Oct 2005 22:11:06 +1000 committer Paul Mackerras Sat, 29 Oct 2005 22:11:06 +1000 powerpc: Remove T command from xmon help text since it no longer exists Signed-off-by: Paul Mackerras commit 3ee1fcac33eae824422b9b98d972a85e79672426 tree c042519cdc6b178575749e17e51a6b456fff278e parent c1c3a554a32c3de1340887caa5729d67ed6684d6 author Paul Mackerras Sat, 29 Oct 2005 22:10:38 +1000 committer Paul Mackerras Sat, 29 Oct 2005 22:10:38 +1000 powerpc: import a gfp_t fix to arch/powerpc/mm/pgtable_32.c This applies the same fix as Al Viro recently made to arch/ppc/mm/pgtable.c. Signed-off-by: Paul Mackerras commit c1c3a554a32c3de1340887caa5729d67ed6684d6 tree d01e4d07588f4d596c81be01fb7920e1d1697265 parent 0cb7b2afd79c5715cbd1d4eee826571fb17fdd65 author Paul Mackerras Sat, 29 Oct 2005 22:08:55 +1000 committer Paul Mackerras Sat, 29 Oct 2005 22:08:55 +1000 powerpc: 32-bit needs cur_cpu_spec exported too Somehow we ended up with an #ifdef CONFIG_PPC64 around the export of cur_cpu_spec, but raid6 as a module needs it on ppc32 as well as ppc64. Signed-off-by: Paul Mackerras commit 0cb7b2afd79c5715cbd1d4eee826571fb17fdd65 tree 6748e2d741c731aa8afa458152d934b7ad81715c parent d3f67fbb96b827c1a6a7a82689e589865581155c author Paul Mackerras Sat, 29 Oct 2005 22:07:56 +1000 committer Paul Mackerras Sat, 29 Oct 2005 22:07:56 +1000 powerpc: Merge maple support code to arch/powerpc/platforms/maple Signed-off-by: Paul Mackerras commit d3f67fbb96b827c1a6a7a82689e589865581155c tree 458e62c889c5ef4888010df3d590785e80cdf012 parent ffa27b6bc61c3be76a756100f777372768bcc3ab author Paul Mackerras Sat, 29 Oct 2005 15:31:17 +1000 committer Paul Mackerras Sat, 29 Oct 2005 15:31:17 +1000 powerpc: Add -mno-altivec for ARCH=powerpc builds Signed-off-by: Paul Mackerras commit ffa27b6bc61c3be76a756100f777372768bcc3ab tree e4c65417db61080f69c4a057cdb2e06ae7dc1bd3 parent ea6526605a60cf9a6f758605f73062fac6d974cf author Andy Whitcroft Fri, 28 Oct 2005 17:46:58 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:27:39 +1000 [PATCH] ppc64 memory model depends on NUMA Currently when we first select memory model (FLAT, DISCONTIG, SPARSE) then select whether the machine is NUMA. However NUMA systems may not be FLAT. This constraint it not honoured and we may configure a NUMA/FLAT system. Reorder the configuration such that we choose NUMA first which allows us to only list the memory models which are valid. We now default NUMA for known NUMA systems. Note that this new order also matches that used in x86. Signed-off-by: Andy Whitcroft Signed-off-by: Joel Schopp Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit ea6526605a60cf9a6f758605f73062fac6d974cf tree 58e103bf29f0605138722b10878d5b5a13f2a5a6 parent 18c5332bc17e75efdc02cc17410c647a627861f2 author Olaf Hering Fri, 28 Oct 2005 17:46:57 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:23:08 +1000 [PATCH] ppc64: remove duplicate local variable in set_preferred_console remove duplicate local variable, saves 2 asm instructions. Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 18c5332bc17e75efdc02cc17410c647a627861f2 tree 8fcb58ac5ded12d79b853beb395a594ab6a75169 parent 1eee4daa9940f7044806d83006051104cc8680b3 author Olaf Hering Fri, 28 Oct 2005 17:46:56 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:20:27 +1000 [PATCH] ppc64: change name of target file during make install 'make install' creates a /boot/zImage[.vmode] file when the defconfig is used. It uses the second arg as file content, which is the vmlinux, and the 5th arg as file name, which is the BOOTIMAGE name. A comment in an earlier patch to install.sh states that yaboot can not load a zImage+initrd combo. This was true in kernel 2.6.5 because it did use bi_recs to pass the initrd info. But this concept was always broken. Register r3 holds the initrd address and r4 holds the initrd size. This works with all kernel versions. The current code in main.c leaves r3 and r4 alone, so the kernel should be able to see and use the memory range with the initrd content. If one wants to rerun mkinitrd, it is currently hard to get the uname -r value for the installed zImage. Without this info, mkinitrd can not know what modules to use. This would be fixable by including the /proc/version output of the new kernel. But it is simpler to just use the plain vmlinux. So all this patch does is to write to /boot/vmlinux instead to /boot/zImage Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 1eee4daa9940f7044806d83006051104cc8680b3 tree 780d6d34bee7461241d04ee704deeaa80a4d92d6 parent 18f568b79bf698aea9a78b63782398c914241ad8 author Olaf Hering Fri, 28 Oct 2005 17:46:55 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:15:34 +1000 [PATCH] ppc64: reenable make install with defconfig 'make ARCH=ppc64 O=../O install' does not work with the defconfig. CONFIG_PPC_BPA is part of it, but the BPA bootimage variable is wrong: make[2]: *** No rule to make target `zImage', needed by `install'. Stop. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 18f568b79bf698aea9a78b63782398c914241ad8 tree 8898d7d8dadcbe27344e601170c2c8c34155a8d1 parent 08124f958997ac14bb2284af787752125a892e9f author Olaf Hering Fri, 28 Oct 2005 17:46:54 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:14:44 +1000 [PATCH] ppc64: compile nls_cp437 and nls_iso8859_1 into the kernel in defconfig compile nls_cp437 and nls_iso8859_1 into the kernel in defconfig. This is already enabled in pSeries_defconfig. Reason: if one just boots the new shiny zImage and the root filesystem is on a filesystem not readable by yaboot (like jfs, raid or lvm) upgrading the bootloader will fail because the FAT bootpartition can not be mounted. Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 08124f958997ac14bb2284af787752125a892e9f tree 5e46f1ce146cd89b61565194aef0a386a9b37acf parent 7e658118faa9faf71f8a8295cdaeb7ca71c04672 author Olaf Hering Fri, 28 Oct 2005 17:46:51 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:11:48 +1000 [PATCH] ppc64: AC Power handling broken for desktops Currently, AC Power is 0 on a desktop G4. No batteries present should mean AC Power == 1. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 7e658118faa9faf71f8a8295cdaeb7ca71c04672 tree 310199b9745eaa292589e1277e3c3f66f46fc881 parent 67a1b68263d58a3ed5ce024468606044a1561312 author Olaf Hering Fri, 28 Oct 2005 17:46:50 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:11:35 +1000 [PATCH] ppc64 boot: print firmware provided stackpointer Show firmware provided stackpointer during boot. This helps to find the "taboo" areas on the various boards. claim tends to fail for these memory areas, but some jokers return success anyway. Use %p to print the load address, its a pointer. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 67a1b68263d58a3ed5ce024468606044a1561312 tree 0e997ea83aa27cb2ceb622549acc8e47aefa6bb2 parent a4497235f00d811943831c9d76995d36c4ffab2d author Olaf Hering Fri, 28 Oct 2005 17:46:49 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:11:00 +1000 [PATCH] ppc64 boot: proof that reloc works To prove that the relocation works, move the crt0.o away from the beginning. Move linker options from command line into linker script. rename entry point because '_start' is referenced in printf output. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit fc228a04a4c01bbb2f898e180a14f9a976001f79 tree c6015f399aac7f0566dfadb984d843fe67175329 parent 9fcc2e8a752f7d3d889114221b67c459557823e9 parent 8a212ab6b8a4ccc6f3c3d1beba5f92655c576404 author Arnaldo Carvalho de Melo Sat, 29 Oct 2005 03:10:35 -0200 committer Arnaldo Carvalho de Melo Sat, 29 Oct 2005 03:10:35 -0200 Merge branch 'master' of /pub/scm/linux/kernel/git/torvalds/linux-2.6 commit a4497235f00d811943831c9d76995d36c4ffab2d tree 7731fe28f9b5b98a94f9182766a20eb862e6f5cf parent afbe8c4bb0155f533d6e57edd269c93e2f23c2fa author Olaf Hering Fri, 28 Oct 2005 17:46:48 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:10:12 +1000 [PATCH] ppc64 boot: make the zImage relocateable Make the zImage relocateable. So yaboot could just load and run any ELF binary, without worrying about its load address. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit afbe8c4bb0155f533d6e57edd269c93e2f23c2fa tree 890e8f4d7cc582db281da33b6f48bd47f8833f72 parent 844ae3a0d1638753802770cde881dff0e0704551 author Olaf Hering Fri, 28 Oct 2005 17:46:47 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:08:03 +1000 [PATCH] ppc64 boot: remove global initializers No need to initialize global variables. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 844ae3a0d1638753802770cde881dff0e0704551 tree caa1c8314bd3bac029c4564d399593b1cfca15fd parent 9b0cbe97566dd7123eee0462d91703434fe61090 author Olaf Hering Fri, 28 Oct 2005 17:46:46 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:07:50 +1000 [PATCH] ppc64 boot: fix typo in asm comments Update comment in memcpy, r7 contains the byte count. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 9b0cbe97566dd7123eee0462d91703434fe61090 tree 816d6f93e2b84741c891e5edd600c6fdab91b675 parent 06cf26beffc54bb43aebbefa60f84e0dffde3141 author Olaf Hering Fri, 28 Oct 2005 17:46:45 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:07:38 +1000 [PATCH] ppc64 boot: use memset to clear bss Use memset to clear bss, instead of own version. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 06cf26beffc54bb43aebbefa60f84e0dffde3141 tree 73461c0fba1d949ac46d140cdf76643f790de342 parent 83097c5d543894864a564cde6c27d4e523d67674 author Olaf Hering Fri, 28 Oct 2005 17:46:44 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:07:00 +1000 [PATCH] ppc64 boot: cleanup linker script Remove userland related stuff from ld.script, they are not required for zImage use wildcards for some sections. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 83097c5d543894864a564cde6c27d4e523d67674 tree 9647872a62bcb70164c532514a819ec6337592a4 parent 6bcc20b5ade6c8e9d9a0767090c65024047d91c4 author Olaf Hering Fri, 28 Oct 2005 17:46:43 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:06:06 +1000 [PATCH] ppc64 boot: bootfiles depend on linker script bootfiles must be relinked if linker script changes Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 6bcc20b5ade6c8e9d9a0767090c65024047d91c4 tree e9eba766871555f0ff81daa1060a07375b0c304e parent 8a76baf02006c945fa4a2a01a58848cb38777697 author Olaf Hering Fri, 28 Oct 2005 17:46:41 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:05:43 +1000 [PATCH] ppc64 boot: move gunzip function before use Move the gunzip function up. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 8a76baf02006c945fa4a2a01a58848cb38777697 tree 774795179b55f94823e71f48f79cc7975d74a6fd parent 7054036fc526b741ba90ff1d077ac900362f30ed author Olaf Hering Fri, 28 Oct 2005 17:46:40 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:05:10 +1000 [PATCH] ppc64 boot: remove need for imagesize.c Compute the vmlinux size at runtime. Use Z_FULL_FLUSH instead of Z_FINISH, to extract only the ELF header and ELF program header. ->p_memsz is the required memory range for the executable, including bss ->p_filesz is the size of .text, .data and other runtime sections These values must be used for the claim call. All additional memory needed by the kernel is claimed in prom_init, remove the extra Mb. Pass the full memsize as target area to gunzip, otherwise not everything will be uncompressed. flush_cache has to flush all runtime sections, do not reduce the memrange by the ->p_offset value because its just that: an offset. Remove the Makefile code to produce an imagesize.c, its not needed anymore. Remove all FORCE flags, to not rebuild the zImage if vmlinux was not changed. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 7054036fc526b741ba90ff1d077ac900362f30ed tree 90d4edc10a81861219eb3d37e2fd93814935c315 parent 8afe31c9eb92389f091a40def9650278ca66befd author Olaf Hering Fri, 28 Oct 2005 17:46:38 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:04:43 +1000 [PATCH] ppc64 boot: remove zlib Switch ppc64 to the in-kernel zlib, it has less bugs than the current one. The code in arch/ppc64/boot is compiled as 32bit, so it can not use the includes from include/asm. Copy all zlib related header files and convert them with sed. Reduce the scratch size to 47k, check possible changes at runtime. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 8afe31c9eb92389f091a40def9650278ca66befd tree d38686ff420bc310519d55ba71787834bfd4a2c4 parent 146c98782b57531ce6ba89dfa9d3771c0fd0a94d author Olaf Hering Fri, 28 Oct 2005 17:46:37 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:04:21 +1000 [PATCH] ppc64 boot: missing include for size_t string.h needs definition of size_t, but not the one from linux/include Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 146c98782b57531ce6ba89dfa9d3771c0fd0a94d tree e82f5c0c562be965c9a4b90f4f2be12043569835 parent 27ac801a2e513708e2da648722326349514976d5 author Olaf Hering Fri, 28 Oct 2005 17:46:37 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:04:02 +1000 [PATCH] ppc64 boot: remove include from include/linux/zutil.h zutil.h does not need errno.h Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 27ac801a2e513708e2da648722326349514976d5 tree 53ce70742cd05ed0d1407920379ac9187dfec822 parent b1529871f4270d10a0d1a9c998be162f0123d8f1 author Olaf Hering Fri, 28 Oct 2005 17:46:35 -0700 committer Paul Mackerras Sat, 29 Oct 2005 15:03:00 +1000 [PATCH] ppc64 boot: remove include from lib/zlib_inflate/inflate.c There is no need to include module.h in inflate.c Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Cc: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 9fcc2e8a752f7d3d889114221b67c459557823e9 tree d06f567aabf247fd379a66177de5163299bc81d7 parent 360ac8e2f1a38c3497739636c3b702352d1ad0ae author Jayachandran C Thu, 27 Oct 2005 15:10:01 -0700 committer Arnaldo Carvalho de Melo Sat, 29 Oct 2005 02:53:39 -0200 [IPV4]: Fix issue reported by Coverity in ipv4/fib_frontend.c fib_del_ifaddr() dereferences ifa->ifa_dev, so the code already assumes that ifa->ifa_dev is non-NULL, the check is unnecessary. Signed-off-by: Jayachandran C. Signed-off-by: Arnaldo Carvalho de Melo commit b1529871f4270d10a0d1a9c998be162f0123d8f1 tree e4ecec4bf54fff8abb60ca3f5194c7d9fc39956a parent 1461b4ea2bcdfb2a386ad3f3095eeb9d73e4bf55 author Nicolas DET Fri, 28 Oct 2005 17:46:30 -0700 committer Paul Mackerras Sat, 29 Oct 2005 14:51:53 +1000 [PATCH] mv643xx_eth_showsram: Added information message when using the SRAM Added information message when using the SRAM in mv643xx_eth_probe() Signed-off-by: Nicolas DET Signed-off-by: Sven Luther Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 1461b4ea2bcdfb2a386ad3f3095eeb9d73e4bf55 tree eab0004612f4e94cb485510a9f6adabd549a8892 parent b37665e0ba1d3f05697bfae249b09a2e9cc95132 author Vitaly Bordug Fri, 28 Oct 2005 17:46:28 -0700 committer Paul Mackerras Sat, 29 Oct 2005 14:49:29 +1000 [PATCH] ppc32: ppc_sys fixes for 8xx and 82xx This patch fixes a numbers of issues regarding to that both 8xx and 82xx began to use ppc_sys model: - Platform is now identified by default deviceless SOC, if no BOARD_CHIP_NAME is specified in the bard-specific header. For the list of supported names refer to (arch/ppc/syslib/) mpc8xx_sys.c and mpc82xx_sys.c for 8xx and 82xx respectively. - Fixed a bug in identification by name - if the name was not found, it returned -1 instead of default deviceless ppc_spec. - fixed devices amount in the 8xx platform system descriptions Signed-off-by: Vitaly Bordug Signed-off-by: Marcelo Tosatti Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit b37665e0ba1d3f05697bfae249b09a2e9cc95132 tree 22c80609e3254524038d5b690f1f886b0987f58d parent dd03d25fac90ee6f394874fb4e6995866304e4ba author Andy Fleming Fri, 28 Oct 2005 17:46:27 -0700 committer Paul Mackerras Sat, 29 Oct 2005 14:42:28 +1000 [PATCH] ppc32: 85xx PHY Platform Update This patch updates the 85xx platform code to support the new PHY Layer. Signed-off-by: Andy Fleming Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit dd03d25fac90ee6f394874fb4e6995866304e4ba tree 41de23fde9f9e8f983825b846c335856d489b73c parent 8c9795ba01d02b043ce2d9eeb0fa908c07e5fb42 author Nicolas DET Fri, 28 Oct 2005 17:46:25 -0700 committer Paul Mackerras Sat, 29 Oct 2005 14:41:08 +1000 [PATCH] chrp_pegasos_eth: Added Marvell Discovery II SRAM support Add proper entry to support the Marvell MV64361 (Marvell Discovery II) SRAM. This feature may be used by the mv643xx_eth driver. Signed-off-by: Nicolas DET Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 8c9795ba01d02b043ce2d9eeb0fa908c07e5fb42 tree c9014bf1c63fb2d81a9a72bb935b356df0206e1f parent dcb34abb4d9bae0588c5c11101ed6afcee71f895 author Olaf Hering Fri, 28 Oct 2005 17:46:21 -0700 committer Paul Mackerras Sat, 29 Oct 2005 14:36:11 +1000 [PATCH] Add modalias for pmac network drivers mesh, mac53c94 and airport already have an entry. Add the network drivers for pmac. Signed-off-by: Olaf Hering Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit dcb34abb4d9bae0588c5c11101ed6afcee71f895 tree 41e79b5d302ddb08745e93891a6dd4e4a00c208a parent 35e95e63995f3e52178db4b769120ce60deb6b54 author scwhab@suse.de Fri, 28 Oct 2005 17:46:20 -0700 committer Paul Mackerras Sat, 29 Oct 2005 14:35:58 +1000 [PATCH] Add modalias to macio sysfs attributes Provide a "compatible" entry in /sys/bus/macio/devices/*/ This can be used to load drivers via the modules.alias file. Signed-off-by: Olaf Hering Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 35e95e63995f3e52178db4b769120ce60deb6b54 tree 17e81624cd6af0cf645948a175160a62f29b07c8 parent 8b150478aeb1a8edb9015c2f7ac4da637ff65c45 author Olaf Hering Fri, 28 Oct 2005 17:46:19 -0700 committer Paul Mackerras Sat, 29 Oct 2005 14:35:00 +1000 [PATCH] ppc32: nvram driver for chrp This implements a nvram acccess method, similar to arch/ppc64/kernel/pSeries_nvram.c tested on CHRP B50. Signed-off-by: Olaf Hering Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 8b150478aeb1a8edb9015c2f7ac4da637ff65c45 tree 621b038b9c041fe82b708c6c5cbee655be2a519a parent d49b340124a34fcb8bceda472558ccef7232c16f author Roland Dreier Fri, 28 Oct 2005 17:46:18 -0700 committer Paul Mackerras Sat, 29 Oct 2005 14:25:49 +1000 [PATCH] ppc: make phys_mem_access_prot() work with pfns instead of addresses Change the phys_mem_access_prot() function to take a pfn instead of an address. This allows mmap64() to work on /dev/mem for addresses above 4G on 32-bit architectures. We start with a pfn in mmap_mem(), so there's no need to convert to an address; in fact, it's actively bad, since the conversion can overflow when the address is above 4G. Similarly fix the ppc32 page_is_ram() function to avoid a conversion to an address by directly comparing to max_pfn. Working with max_pfn instead of high_memory fixes page_is_ram() to give the right answer for highmem pages. Signed-off-by: Roland Dreier Cc: Anton Blanchard Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 360ac8e2f1a38c3497739636c3b702352d1ad0ae tree f671d3ec4071a1be3bce97bcff2c8c759e597e88 parent e83b860539d0ac1b3cff868178fa79c457e0c21f author Stephen Hemminger Tue, 25 Oct 2005 15:03:41 -0700 committer Arnaldo Carvalho de Melo Sat, 29 Oct 2005 02:23:58 -0200 [ETH]: ether address compare Expose faster ether compare for use by protocols and other driver. And change name to be more consistent with other ether address manipulation routines in same file Signed-off-by: Stephen Hemminger Signed-off-by: Arnaldo Carvalho de Melo commit e83b860539d0ac1b3cff868178fa79c457e0c21f tree 1e7aa728f8c34c771c31b42514e23fbd17097436 parent 974f7bc5781d3fc16e32d8908c6e48592e767dd2 author Akinobu Mita Fri, 21 Oct 2005 18:00:48 +0900 committer Arnaldo Carvalho de Melo Sat, 29 Oct 2005 02:16:31 -0200 [TCP]: fix tcp_tso_win_divisor documentation The default value for tcp_tso_win_divisor is 3. Signed-off-by: Akinobu Mita Signed-off-by: Arnaldo Carvalho de Melo commit d49b340124a34fcb8bceda472558ccef7232c16f tree 857c9aa0f61e83e304382fa97185631400b285ef parent 434cc69fbb02dd7ca64c5029dc6a6f9636f77e02 author Olaf Hering Fri, 28 Oct 2005 17:46:17 -0700 committer Paul Mackerras Sat, 29 Oct 2005 14:12:39 +1000 [PATCH] ppc32: update xmon help text Mention a few more commands in xmon. System.map processing was replaced with kallsyms. Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 8a212ab6b8a4ccc6f3c3d1beba5f92655c576404 tree 525271129ff9c692defdd20566f1f7203b18ff24 parent 1f419cadff55f548e7356ffebdb9e1b5a8c22275 parent 0e1f60609258e18ec0a0477c646101212822d387 author Linus Torvalds Fri, 28 Oct 2005 21:09:26 -0700 committer Linus Torvalds Fri, 28 Oct 2005 21:09:26 -0700 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 1f419cadff55f548e7356ffebdb9e1b5a8c22275 tree 07c04d053322e9913a6b445b2fe00510299e97cf parent 974f7bc5781d3fc16e32d8908c6e48592e767dd2 parent 4303fc6f055cf1a7ec63c3c3fd777b91b7d576f1 author Linus Torvalds Fri, 28 Oct 2005 21:08:14 -0700 committer Linus Torvalds Fri, 28 Oct 2005 21:08:14 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6 commit 434cc69fbb02dd7ca64c5029dc6a6f9636f77e02 tree 09f88c57bb9a6fe1bd30516bfbc3a2877a6d08ac parent d5f7b06b036afc2cb250decb2c76b7f82c5de639 author Marcelo Tosatti Fri, 28 Oct 2005 17:46:15 -0700 committer Paul Mackerras Sat, 29 Oct 2005 13:55:43 +1000 [PATCH] ppc32: #ifdef out ALTIVEC specific code in __switch_to #ifdef out an ALTIVEC specific tweak in __switch_to() Signed-off-by: Marcelo Tosatti Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit d5f7b06b036afc2cb250decb2c76b7f82c5de639 tree a4c67d17b5ee7ba23490977bbe74c42201e1d54d parent de957c89b7dadb3147e885d7b6eb9db73d0eea57 author Matt Porter Fri, 28 Oct 2005 17:46:14 -0700 committer Paul Mackerras Sat, 29 Oct 2005 13:55:39 +1000 [PATCH] ppc32: Cleanup AMCC PPC44x eval board U-Boot support Cleanup PPC440 eval boards (bamboo, ebony, luan and ocotea) to better support U-Boot as bootloader. Signed-off-by: Stefan Roese Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit de957c89b7dadb3147e885d7b6eb9db73d0eea57 tree 8d6be34fb3e636924e702a02d87e5396585e590d parent e37b0c9670fed2264661ade1beb5c228dec29c96 author Marcelo Tosatti Fri, 28 Oct 2005 17:46:13 -0700 committer Paul Mackerras Sat, 29 Oct 2005 13:55:35 +1000 [PATCH] MPC8xx PCMCIA driver Here is an uptodated version of the MPC8xx PCMCIA driver for v2.6, addressing comments by Jeff and Dominik: - use IO accessors instead of direct device memory referencing - avoid usage of non-standard "uint/uchar" data types - kill struct typedef's Will submit it for inclusion once v2.6.14 is out. Testing on 8xx platforms is more than welcome! Works like a charm on our custom hardware (CONFIG_PRxK). Cc: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit e37b0c9670fed2264661ade1beb5c228dec29c96 tree 4f23bc5ea578db11de39222aa046804ed9286782 parent 9e3699ea7b8d63eabde7fefa9892e3a258c9c27d author Marcelo Tosatti Fri, 28 Oct 2005 17:46:10 -0700 committer Paul Mackerras Sat, 29 Oct 2005 13:55:27 +1000 [PATCH] ppc32 8xx: use io accessor macros instead of direct memory reference Convert core 8xx drivers to use in_xxxbe/in_xxx macros instead of direct memory references. Other than making IO accesses explicit (which is a plus for readability), a common set of macros provides a unified place for the volatile flag to constraint compiler code reordering. There are several unlucky places at the moment which lack the volatile flag. Signed-off-by: Marcelo Tosatti Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 9e3699ea7b8d63eabde7fefa9892e3a258c9c27d tree 66f9318c92f0f88fdf0dc1b2948faec1d429e8a8 parent f78541dcec327b0c46b150ee7d727f3db80275c4 author Lee Nicks Fri, 28 Oct 2005 17:46:09 -0700 committer Paul Mackerras Sat, 29 Oct 2005 13:55:19 +1000 [PATCH] ppc: prevent GCC 4 from generating AltiVec instructions in kernel Depending on how GCC is built, GCC 4 may generate altivec instructions without user explicitly requesting vector operations in the code. Although this is a performance booster for user applications, it is a problem for kernel. This patch explicitly instruct GCC to NOT generate altivec instructions while building the kernel. Here are some test cases I ran. (1) build gcc 4.0.1 with '--with-cpu=7450 --enable-altivec --enable-cxx-flags=-mcpu=7450', and use this gcc to build kernel WITHOUT this kernel patch. Kernel fail to boot up on a 7450 board because of altivec instructions in kernel. (2) build gcc 4.0.1 with "--with-cpu=7450 --enable-altivec --enable-cxx-flags=-mcpu=7450", and use this gcc to build kernel WITH this kernel patch. Kernel boot up on a 7450 board without any problem. (3) build gcc 4.0.1 with "--with-cpu=750 --enable-cxx-flags=-mcpu=750", and use this gcc to build kernel with or without this kernel patch. Kernel boot up on a 7450 board without any problem. This patch should also work with GCC 3 or even earlier GCC 2.95.3. Signed-off-by: Lee Nicks Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Paul Mackerras commit 4303fc6f055cf1a7ec63c3c3fd777b91b7d576f1 tree eb7b222d73540590d25ea539cd691dd281753102 parent 50260b69bbec383058875de26dbde28b1a6f8d00 author Greg Kroah-Hartman Fri, 28 Oct 2005 19:59:31 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 19:59:31 -0700 USB: fix up some odd parts due to partial merges Thanks to Andrew for doing the hard work on this. Signed-off-by: Greg Kroah-Hartman commit 974f7bc5781d3fc16e32d8908c6e48592e767dd2 tree ad36a9c4d93a138fbcd02c1df9fa3a3a321e0cc2 parent 89fbb69c4f285019ba5e029963dc11cc6beb078a parent 64a0c1c81e300f0f56f26604c81040784e3717f0 author Arnaldo Carvalho de Melo Fri, 28 Oct 2005 23:35:02 -0200 committer Arnaldo Carvalho de Melo Fri, 28 Oct 2005 23:35:02 -0200 Merge master.kernel.org:/pub/scm/linux/kernel/git/sridhar/lksctp-2.6 commit 50260b69bbec383058875de26dbde28b1a6f8d00 tree 5e2ac6a032807373838710138edeba78fd056108 parent bde621854f1958a6000834c7c089b528118e5a9a author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:53 -0700 [PATCH] USB: add nokia_dku2 driver This driver comes from the gnokii project. Was further cleaned up by me to match recent usb-serial core changes. Signed-off-by: Greg Kroah-Hartman commit bde621854f1958a6000834c7c089b528118e5a9a tree 0f4272704dae9aa37700f7f66359ee9fe62a6768 parent 46a0cf81828535fb3c200bc4fffdb8d69f4bf396 author Martin Hagelin Wed, 26 Oct 2005 21:10:41 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:52 -0700 [PATCH] USB: add new device id to ftdi_sio module This is a patch to get the ELV FHZ1000 Home Automation control device to work with Linux. The patch adds a new device ID to the ftdi_sio driver. It is for kernel version 2.6.13.4. Signed-off-by: Martin Hagelin Signed-off-by: Greg Kroah-Hartman commit 46a0cf81828535fb3c200bc4fffdb8d69f4bf396 tree 4f923e2d8e83961ac931f8c4496081d873372088 parent 9a7834d06d553d02cc6e659e94772f69a8b5367f author Koen Kooi Wed, 26 Oct 2005 19:42:53 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:52 -0700 [PATCH] USB: fix correct wording in drivers/usb/net/KConfig Signed-off-by: Koen Kooi commit 9a7834d06d553d02cc6e659e94772f69a8b5367f tree 9ca891740becd9a090565bc3d73f8da2c2ea54d3 parent db2d55b7f7f11823b8d2e5f0c706c7a264320d1b author Andrew Morton Sun, 23 Oct 2005 23:02:20 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:52 -0700 [PATCH] USB: fix pm patches with CONFIG_PM off part 2 With CONFIG_PM=n: drivers/built-in.o(.text+0x1098c): In function `hub_thread': drivers/usb/core/hub.c:2673: undefined reference to `.dpm_runtime_resume' drivers/built-in.o(.text+0x10998):drivers/usb/core/hub.c:2674: undefined reference to `.dpm_runtime_resume' Please, never ever ever put extern decls into .c files. Use the darn header files :( Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit db2d55b7f7f11823b8d2e5f0c706c7a264320d1b tree 0bf92c677b80042eb2bad6012936f5584e2e4ecb parent 4f62efe67f077db17dad03a1d4c9665000a3eb45 author Andrew Morton Sun, 23 Oct 2005 23:04:25 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:51 -0700 [PATCH] USB: fix pm patches with CONFIG_PM off part 1 With CONFIG_PM=n: drivers/built-in.o(.text+0x2a69c): In function `ohci_hub_control': drivers/usb/host/ohci-hub.c:539: undefined reference to `.usb_hcd_resume_root_hub' drivers/built-in.o(.text+0x2b920): In function `ohci_irq': drivers/usb/host/ohci-hcd.c:726: undefined reference to `.usb_hcd_resume_root_hub' Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 4f62efe67f077db17dad03a1d4c9665000a3eb45 tree 27f1837fd08ce3dccb94a88a5afef6eb1a5ed738 parent 16f16d117c1eb99451e4c73c87546eef05c66790 author Alan Stern Mon, 24 Oct 2005 16:24:14 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:51 -0700 [PATCH] usbcore: Fix handling of sysfs strings and other attributes This patch (as592) makes a few small improvements to the way device strings are handled, and it fixes some bugs in a couple of other sysfs attribute routines. (Look at show_configuration_string() to see what I mean.) Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 16f16d117c1eb99451e4c73c87546eef05c66790 tree 9f08a567e25f97a8d7ee0715657067013fb3467c parent 0a1ef3b5a765a6f20e7b8caf295aad3276243966 author Alan Stern Mon, 24 Oct 2005 15:41:19 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:51 -0700 [PATCH] USB: Fix maxpacket length for ep0 on root hubs This patch (as591) fixes a rather innocuous bug that has been around for quite a long time: Virtual root hubs should have a maxpacket length of 64 for endpoint 0. I didn't realize it was wrong until I started looking through the endpoint attribute files. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 0a1ef3b5a765a6f20e7b8caf295aad3276243966 tree 31d2bc231306e3ed6ed81512e460e32d00bfc730 parent b724ae77969fd832be71419dca74bece9af287ff author Alan Stern Mon, 24 Oct 2005 15:38:24 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:51 -0700 [PATCH] usbcore: Use kzalloc instead of kmalloc/memset This patch (as590) fixes up all the remaining places where usbcore can use kzalloc rather than kmalloc/memset. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit b724ae77969fd832be71419dca74bece9af287ff tree a38ed0337bf012db4c8deec2c33d3e4ff78a2b6a parent 0e6c8e8db508fcb292836b23d039649c5de29090 author Alan Stern Mon, 24 Oct 2005 15:36:00 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:51 -0700 [PATCH] usbcore: Wrap lines before column 80 I can't stand text lines that wrap-around in my 80-column windows. This patch (as589) makes cosmetic changes to a couple of source files. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 0e6c8e8db508fcb292836b23d039649c5de29090 tree 5a65aa48c6dbc5c81d1665802d4e632c64b850e3 parent be69e5b1900a19a545becda822b18d6f09168ba5 author Alan Stern Mon, 24 Oct 2005 15:33:03 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:51 -0700 [PATCH] usbcore: endpoint attributes track altsetting changes This patch (as588) fixes the way endpoint attribute files are registered and unregistered. Now they will correctly track along with altsetting changes. This fixes bugzilla entry #5467. In a separate but related change, when a usb_reset_configuration call fails, the device state is not changed to USB_STATE_ADDRESS. In the first place, failure means that we don't know what the state is, not that we know the device is unconfigured. In the second place, doing this can potentially lead to a memory leak, since usbcore might not realize there still is a current configuration that needs to be destroyed. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit be69e5b1900a19a545becda822b18d6f09168ba5 tree 7730b17e403cc03ea7c7cee8fc56f06171af0ebe parent e52783206ada0c0276c8dd74c0ecd0007ead7c00 author Alan Stern Tue, 25 Oct 2005 15:56:06 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:50 -0700 [PATCH] usbcore: Improve endpoint sysfs file handling This revised patch (as587b) improves the implementation of USB endpoint sysfs files. Instead of storing a whole bunch of attributes for every single endpoint, each endpoint now gets its own kobject and they can share a static list of attributes. The number of extra fields added to struct usb_host_endpoint has been reduced from 4 to 1. The bEndpointAddress field is retained even though it is redundant (it repeats the same information as the attributes' directory name). The code avoids calling kobject_register, to prevent generating unwanted hotplug events. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit e52783206ada0c0276c8dd74c0ecd0007ead7c00 tree 6714a61666247613d585e1bad5f007da0de49056 parent 72129cd6577793408ff546b0ddd5794c33f32399 author Phil Dibowitz Sun, 23 Oct 2005 23:52:39 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:50 -0700 [PATCH] USB Storage: Expand range of Freecom unusual_devs entry Freecom seems to be one of those vendors that can't get the GET CAPACITY thing right. This expands the US_FL_FIX_CAPACITY flag for the entire range of their fccd product line. This is based on a patch sent by Stuart Black . Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit 72129cd6577793408ff546b0ddd5794c33f32399 tree c60564a0cd92d95d1c6d3830fee8c034df112abf parent 3f13e66e219238e025ff561d69826da9342c3f4a author Alexey Dobriyan Tue, 25 Oct 2005 23:34:03 +0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:50 -0700 [PATCH] mdc800: remove embrions of C++ exceptions Signed-off-by: Alexey Dobriyan Signed-off-by: Greg Kroah-Hartman commit 3f13e66e219238e025ff561d69826da9342c3f4a tree ff0fd93b0119975d45f2a55f49d2c897b0fc1ec0 parent ce2596df79ddbac605a290f4c7cf011cb40524fc author Alan Stern Sun, 23 Oct 2005 19:43:36 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:50 -0700 [PATCH] PATCH: usb-storage: use kthread API This patch is originally from Alan Stern (as569). It has been rediffed against a current tree. This patch converts usb-storage to use the kthread API for creating its control and scanning threads. The new code doesn't use kthread_stop because the threads need (or will need in the future) to exit asynchronously. Signed-off-by: Alan Stern Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit ce2596df79ddbac605a290f4c7cf011cb40524fc tree 59b4a7a91c429d6499d30fa74eeec8f3ad2bfa70 parent bbafa4668f37f5093a3ae2a8b0cbe327e24e12da author Alan Stern Sun, 23 Oct 2005 19:41:39 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:50 -0700 [PATCH] PATCH: usb-storage: implement minimal PM This patch from Alan Stern started as as568. It has been rediffed against a current tree. This patch adds minimal suspend/resume support to usb-storage. Just enough for it to qualify as PM-aware. Signed-off-by: Alan Stern Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit bbafa4668f37f5093a3ae2a8b0cbe327e24e12da tree e679db87309810e8da8092ffcb3df5a9dd7323e0 parent b876aef7f890d8c59a45b78858a36cf60fddf522 author Alan Stern Sun, 23 Oct 2005 19:40:22 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:50 -0700 [PATCH] PATCH: usb-storage: allocate separate sense buffer This patch is from Alan Stern (as560). It has been rediffed against a current tree. This patch allocates a separate buffer for usb-storage to use when auto-sensing. Up to now we have been using the sense buffer embedded in a scsi_cmnd struct, which is dangerous on hosts that (a) don't do cache-coherent DMA or (b) have DMA alignment restrictions. Signed-off-by: Alan Stern Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit b876aef7f890d8c59a45b78858a36cf60fddf522 tree c8211d093fc0ab4ec04d3adaf8388253aa73d0bf parent 423e489d704d05c6e8c2927fb1854db85914912a author Alan Stern Sun, 23 Oct 2005 19:38:56 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:50 -0700 [PATCH] PATCH: usb-storage: move GetMaxLUN later in time This patch is originally from Alan Stern (as557). It has been re-diffed against a current tree, and I also corrected a minor merging error. Some time ago we introduced a delay before device scanning, because many devices do not like to receive SCSI commands right after enumeration. Now it turns out there's a device that doesn't like to receive Get-Max-LUN right after enumeration either. Accordingly this patch delays the Get-Max-LUN request until the beginning of the scanning procedure. This fixes Bugzilla entry #5010. Three things are worth noting. First, I removed the locking code from usb_stor_acquire_resources. It's not needed, because the locking is to protect against disconnect events and acquire_resources is only called during probe (so the disconnect routine can't be called). Second, I initialized to 0 the buffer used for the Get-Max-LUN response. It's not really necessary, but it will prevent random values from showing up in the debugging log when the request fails. Third, I added a test against the SINGLE_LUN flag. This will allow us to use the flag to indicate Bulk-only devices that can't handle Get-Max-LUN. Signed-off-by: Alan Stern Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit 423e489d704d05c6e8c2927fb1854db85914912a tree a4045f348d2b2ddd232ae6eddf103ccc32e7c5a6 parent 478a3bab8c87a9ba4a4ba338314e32bb0c378e62 author Alan Stern Wed, 19 Oct 2005 13:06:13 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:49 -0700 [PATCH] hid-core: Add Clear-Halt on the Interrupt-in endpoint This patch (as577) adds a Clear-Halt call on the Interrupt-in endpoint during input device configuration. Without it my HP USB keyboard doesn't work. Vojtech says it's worth trying, since it might help with some recalcitrant devices. On the other hand, it might interfere with others. I'm submitting it so that it can get tested by a range of users. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 478a3bab8c87a9ba4a4ba338314e32bb0c378e62 tree 37e07a18952706e76b36c782ac095c17b0bc8e11 parent 46f116eab81b21c6ae8c4f169498c632b1f94bf1 author Alan Stern Wed, 19 Oct 2005 12:52:02 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:49 -0700 [PATCH] USB: Always do usb-handoff This revised patch (as586b) makes usb-handoff permanently true and no longer a kernel boot parameter. It also removes the piix3_usb quirk code; that was nothing more than an early version of the USB handoff code (written at a time when Intel's PIIX3 was about the only motherboard with USB support). And it adds identifiers for the three PCI USB controller classes to pci_ids.h. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 46f116eab81b21c6ae8c4f169498c632b1f94bf1 tree b5165e2e57748140be4dc3fbf7063fdba721c26c parent eb3c5ed8617d0aa67648cb7d1a486d14099129f2 author Oliver Neukum Mon, 24 Oct 2005 22:42:35 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:49 -0700 [PATCH] USB: cdc-acm patch to use kzalloc another one to use kzalloc. Please apply. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit eb3c5ed8617d0aa67648cb7d1a486d14099129f2 tree 60eafa678fb9c73169a5e5a83fc70aa8a74ad50d parent f2d45cd976682a3566c8cf30cefe91eb43ab6005 author David Eriksson Tue, 18 Oct 2005 20:12:24 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:49 -0700 [PATCH] USB: Improving the set of vendor/product IDs in the ipaq driver This is a patch improving the set of vendor/product IDs used in the "ipaq" USB serial device driver. The patch size is because I sorted the ids this time, forgot about that last time. Changes: - Added vendor/product identifiers for Psion Teklogix devices - Restored Microsoft's identifier pair 045e/00ce - Sorted list of vendor/product identifiers Signed-off-by: David Eriksson Signed-off-by: Ganesh Varadarajan Signed-off-by: Greg Kroah-Hartman commit f2d45cd976682a3566c8cf30cefe91eb43ab6005 tree 325133a80bc8a2b6ce826ac7caa930d19825bbc1 parent 61eded6e06a1f4bdbf707b69da904ba9f3eb2f0a author Guillaume GOURAT / Fri, 21 Oct 2005 14:01:35 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:49 -0700 [PATCH] USB: Kaweth.c udelay patch On some arch (like arm) udelay cannot be called with value greater that 2000. Signed-off-by: Guillaume GOURAT / guillaume.gourat@nexvision.fr Signed-off-by: Oliver Neukum commit 61eded6e06a1f4bdbf707b69da904ba9f3eb2f0a tree 60310714bf8575fd7ada76581793dfe6871fa3b2 parent dcab4eaf77ccd8779c715da3c5db0a82874fa645 author Oliver Neukum Mon, 24 Oct 2005 22:37:20 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:49 -0700 [PATCH] USB: microtek patch to use kzalloc here is another one to use kzalloc. Please apply. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit dcab4eaf77ccd8779c715da3c5db0a82874fa645 tree e620490b32f02ebefe5db448b3545f71732e1863 parent 7521803dcc0137668bb30483383092a647671d8b author Simeon Simeonov Wed, 19 Oct 2005 11:32:14 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:48 -0700 [PATCH] USB: storage patch for LEICA camera On Tue, 18 Oct 2005, Simeon Simeonov wrote: > Attached is a patch that solves mounting problems for > LEICA D-LUX camera with FC4 2.6.13 kernel. > > Let me know if you have some questions. Looks okay to me. Given that the previous entry uses the full 0000 - 9999 range, I guess this one can also. The vendor name is a little odd (it will give us three different vendor names all in entries with the same vendor ID) but that doesn't really matter either. Signed-off-by: Alan Stern Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit 7521803dcc0137668bb30483383092a647671d8b tree ab260e1d91991fa6d8bf5fd78321bb9c163a6b13 parent 17a882fc0c91477b2582a6dfd4ca93ae7eb58cd3 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:48 -0700 [PATCH] USB: always export interface information for modalias This fixes a problem with some cdc acm devices that were not getting automatically loaded as the module alias was not being reported properly. This check was for back in the days when we only reported hotplug events for the main usb device, not the interfaces. We should always give the interface information for MODALIAS/modalias as it can be needed. Signed-off-by: Greg Kroah-Hartman commit 17a882fc0c91477b2582a6dfd4ca93ae7eb58cd3 tree 64b0bead1565c9f41b1eea69e9bcbfad997459ad parent 269bda1c123c7caf88e1deb2264f9086f0344192 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:48 -0700 [PATCH] USB Serial: remove driver version from a few drivers These numbers are pointless, as they have not been changed in _years_, so we should just remove them to stop pretending there is an actual "version number" for these drivers. This should also help reduce confusion when people try to ask for support of a specific driver version, as there has been no way to tell what they are talking about. Signed-off-by: Greg Kroah-Hartman commit 269bda1c123c7caf88e1deb2264f9086f0344192 tree c83d9944e0acdc40c9040cbccfb9ec7d606bdd2c parent 502b95c1cc9e2c855a26f90fc999c5211b8ba957 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:48 -0700 [PATCH] USB Serial: move name to driver structure This fixes up a lot of problems in sysfs with some of the usb serial drivers, they had incorrect driver names. Also saves a tiny ammount of memory. Signed-off-by: Greg Kroah-Hartman commit 502b95c1cc9e2c855a26f90fc999c5211b8ba957 tree 6fbbd76930a955728363fb3e3e58bc2aaee7be53 parent 18fcac353fdc7cd072b0d24c8667042e675a4c11 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:48 -0700 [PATCH] USB Serial: move old changelog comments out of source code Create a new file just for these things, as they just get in the way in the source files. Signed-off-by: Greg Kroah-Hartman commit 18fcac353fdc7cd072b0d24c8667042e675a4c11 tree 7cbbcfccf999193e78ff86d9dc3ff1e41ec3b0bf parent ea65370d025f5005649e5cb37c4d025e92c6fc38 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:48 -0700 [PATCH] USB Serial: get rid of the .owner field in usb_serial_driver Don't duplicate something that's already in struct driver. Signed-off-by: Greg Kroah-Hartman commit ea65370d025f5005649e5cb37c4d025e92c6fc38 tree 554476fb8c69fc0f0f7dc5e2287f4c9cec1a26d6 parent a6c82600d4058346ea6fd801bc21d7abcc1350d8 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:47 -0700 [PATCH] USB Serial: rename usb_serial_device_type to usb_serial_driver I'm tired of trying to explain why a "device_type" is really a driver. This better describes exactly what this structure is. Signed-off-by: Greg Kroah-Hartman commit a6c82600d4058346ea6fd801bc21d7abcc1350d8 tree 7606fe0113b4548d4d25fc846c5973a603457826 parent c36fc889b5a4fd66cfd9ba80d9e038745d349567 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:47 -0700 [PATCH] USB: delete the bluetty driver We have a real Bluetooth system in Linux, lets finally delete this driver as no one is using it (and if they are, they are using a closed source bluetooth stack, which I can't support anyway.) Marcel, you owe me a beer :) Signed-off-by: Greg Kroah-Hartman commit c36fc889b5a4fd66cfd9ba80d9e038745d349567 tree c49f295dfdf53a4c6f495be8414497f2cdf4a4d3 parent 72adaa962741e8e910300b66bb123b1a9c31a8a8 author Pete Zaitcev Mon, 17 Oct 2005 18:15:54 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:46 -0700 [PATCH] usb: Patch for USBDEVFS_IOCTL from 32-bit programs Dell supplied me with the following test: #include #include #include #include #include main(int argc,char*argv[]) { struct usbdevfs_hub_portinfo hubPortInfo = {0}; struct usbdevfs_ioctl command = {0}; command.ifno = 0; command.ioctl_code = USBDEVFS_HUB_PORTINFO; command.data = (void*)&hubPortInfo; int fd, ret; if(argc != 2) { fprintf(stderr,"Usage: %s /proc/bus/usb//\n",argv[0]); fprintf(stderr,"Example: %s /proc/bus/usb/001/001\n",argv[0]); exit(1); } errno = 0; fd = open(argv[1],O_RDWR); if(fd < 0) { perror("open failed:"); exit(errno); } errno = 0; ret = ioctl(fd,USBDEVFS_IOCTL,&command); printf("IOCTL return status:%d\n",ret); if(ret<0) { perror("IOCTL failed:"); close(fd); exit(3); } else { printf("IOCTL passed:Num of ports %d\n",hubPortInfo.nports); close(fd); exit(0); } return 0; } I have verified that it breaks if built in 32 bit mode on x86_64 and that the patch below fixes it. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 72adaa962741e8e910300b66bb123b1a9c31a8a8 tree 3847dca1d8dadc31df3c7e3275cac8592603be33 parent 54a5c4cd2e4ec0b27c2c3731727f52591456086c author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:46 -0700 [PATCH] USB: convert usbmon to use usb notifiers This also removes 2 usbmon callbacks. Signed-off-by: Greg Kroah-Hartman commit 54a5c4cd2e4ec0b27c2c3731727f52591456086c tree 7a76e82b85594a3feefc0210bfdeea94d279300c parent a7b986b3e107727dd1c1af0ead0b5e52d7726db3 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:46 -0700 [PATCH] USB: convert usbfs/inode.c to use usb notifiers Signed-off-by: Greg Kroah-Hartman commit a7b986b3e107727dd1c1af0ead0b5e52d7726db3 tree bc9b81342469fa5c4eddaf16b852e7f45b734b26 parent 3099e75a7ccc3c5b0a4cf988a76d9c4a7fa5e91a author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:46 -0700 [PATCH] USB: convert usbfs/devio.c to use usb notifiers Signed-off-by: Greg Kroah-Hartman commit 3099e75a7ccc3c5b0a4cf988a76d9c4a7fa5e91a tree 8b1e7e5ddf097b347717e64aefb14ab33c9b2f90 parent 4592bf5a22593704bb9e8c584a81bf6ca4f6cfec author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:46 -0700 [PATCH] USB: add notifier functions to the USB core for devices and busses This should let us get rid of all of the different hooks in the USB core for when something has changed. Also, some other parts of the kernel have wanted to know this kind of information at times. Signed-off-by: Greg Kroah-Hartman commit 4592bf5a22593704bb9e8c584a81bf6ca4f6cfec tree ae30096f376f6922367fd427bcd6594bd866796a parent 3e8a556a02d5aa16375d4d74aad0f67cd844c047 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:45 -0700 [PATCH] USB: remove the global function usbdev_lookup_minor It's only used locally. Signed-off-by: Greg Kroah-Hartman commit 3e8a556a02d5aa16375d4d74aad0f67cd844c047 tree 6b89e900d6847916e50cb30efd25e38721db6558 parent efa400db5332ba341cc354c9d8a5298ff57faa98 author Alan Stern Tue, 18 Oct 2005 10:08:31 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:45 -0700 [PATCH] Missing transfer_flags setting in usbtest This patch (as582) adds a missing transfer_flags setting to the usbtest driver. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit efa400db5332ba341cc354c9d8a5298ff57faa98 tree c7c5084e0a329813b38ca2d43f9d04c3eef2a0f4 parent d0d5049fb02fc1082c17e08deecd6fed8db549b6 author Ben Dooks Mon, 10 Oct 2005 02:32:15 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:45 -0700 [PATCH] USB: add owner initialisation to host drivers Add .owner initialisation to the device drivers in drivers/usb/host so that when built as module the device_driver refers to the owning module Signed-off-by: Ben Dooks Signed-off-by: Greg Kroah-Hartman commit d0d5049fb02fc1082c17e08deecd6fed8db549b6 tree 831b9345598e4074ca6168d65c393229130be866 parent a85ee6b50c8a1fca4034c8d6b21c91a8de171e01 author Ben Dooks Mon, 10 Oct 2005 10:52:33 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:45 -0700 [PATCH] USB: gadget drivers - add .owner initialisation Ensure the the device_driver and usb_gadget_driver have their .owner fields initialised to associate the module owner to the driver. Signed-off-by: Ben Dooks Signed-off-by: Greg Kroah-Hartman commit a85ee6b50c8a1fca4034c8d6b21c91a8de171e01 tree 918db1cf85b59641ff3802273b7a27d32ecd3303 parent 4e67185a7ac3ecb1710e636e2f7e318e99298c7a author Ben Dooks Mon, 10 Oct 2005 01:23:50 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:45 -0700 [PATCH] USB: S3C2410 OHCI - add driver owner field Initialise the .owner field of the driver with the module that owns it, to aid in linking drivers to modules. Signed-off-by: Ben Dooks Signed-off-by: Greg Kroah-Hartman commit 4e67185a7ac3ecb1710e636e2f7e318e99298c7a tree 035fa1745baa6490425d44dc126c72ddc366497f parent f37be9b9be3ebc02d2d075d7f53f7802f3e005db author Juha Yrj?l? Sun, 16 Oct 2005 15:47:04 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:45 -0700 [PATCH] add usb transceiver set_suspend() method When a USB device is put into suspend mode, the current drawn from VBUS has to be less than 500 uA. Some transceivers need to be put into a special power-saving mode to accomplish this, and won't have a separate OTG driver handling that. This adds a suspend method to the "otg_transceiver" struct -- misnamed, it's not only for OTG -- and calls it from the OMAP UDC driver. Signed-off-by: Juha Yrj?l? Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit f37be9b9be3ebc02d2d075d7f53f7802f3e005db tree 5e1ece040e94e2453d828c7f203d4d23a7b84d5c parent cb97c5c9d0789d65d7ec42a80946fa9eb2ec5182 author Alan Stern Mon, 17 Oct 2005 10:42:06 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:45 -0700 [PATCH] Fix hcd->state assignments in uhci-hcd This patch (as581) changes the assignments to hcd->state in the uhci-hcd driver. It fixes part of bugzilla entry #5227. The problem was revealed by David's large suite of USB suspend/resume patches; this patch should go to Linus at the same time those do. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit cb97c5c9d0789d65d7ec42a80946fa9eb2ec5182 tree 825fd67b5f945b31a5649bcfa1eaf5543cf93e5c parent 1fcb4454cbada6dc495302172ac0412aa7d35fd4 author David Brownell Sun, 16 Oct 2005 15:06:51 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:44 -0700 [PATCH] omap_udc dma off-by-one fix The change to make DMA work two bytes at a time omitted an important tweak that affects the file_storage gadget: it needs to recognize when the host writes an odd number of bytes. (The network layer ignores such extra bytes.) This patch resolves that issue by checking the relevant bit and adjusting the rx byte count, so that for example a legal 13 byte request doesn't morph into an illegal 14 byte one any more. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 1fcb4454cbada6dc495302172ac0412aa7d35fd4 tree f8e441fe2466e8632214f36bc11316131ce01ed6 parent af64a5ebb817532965d18b792d6d74afecfb0bcf author Randy Dunlap Sat, 15 Oct 2005 22:03:30 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:44 -0700 [PATCH] usb doc: fix kernel-doc warning usb/core/buffer.c doesn't export any symbols, so it should use !I instead of !E to eliminate this warning message: Warning(/var/linsrc/linux-2614-rc4//drivers/usb/core/buffer.c): no structured comments found Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman commit af64a5ebb817532965d18b792d6d74afecfb0bcf tree 7ecbcf59e4a79fdd8bef4e0874aa5abce8b91add parent b81d34363c0b17c47f4ef63d5888c4f47f315d29 author Henk Wed, 12 Oct 2005 15:02:56 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:44 -0700 [PATCH] USB: Buffer overflow patch for Yealink driver Just a small patch that fixes a small parameter validation bug. drivers/usb/input/map_to_7segment.h: This patch fixes the broken parameter validation in the char to seg7 conversion. This could cause out-of-bounds memory references. MAINTAINERS: Yealink maintainer info now in sorted order. Documentation/input/yealink.txt: Added a Q&A section that answers some common questions. Signed-off-by: Henk Signed-off-by: Greg Kroah-Hartman 006491df1a13f85ad245d1039dfdf20e49c394fd commit b81d34363c0b17c47f4ef63d5888c4f47f315d29 tree af4151e7d296da8f9e9a493ed81c5513f2454618 parent 0c0382e32d46f606951010b202382be14d180a17 author Alan Stern Thu, 13 Oct 2005 17:00:24 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:44 -0700 [PATCH] UHCI: Improve handling of iso TDs The uhci-hcd driver is fairly lax about the way it handles isochronous transfers. This patch (as579) improves it in three respects: TDs for a new URB aren't added to the schedule until all of them have been allocated. This way there's no risk of the controller executing some of them when an allocation fails. TDs for an unlinked URB are removed from the schedule as soon as the URB is unlinked, rather than waiting until the URB is given back. This way there's no risk of the controller still executing a TD after the URB completes. The urb->error_count values are now reported correctly. Although since they aren't used in any drivers except for debug messages in the system log, probably nobody cares. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 0c0382e32d46f606951010b202382be14d180a17 tree 078327baa96637ca6d70bae3c59a16b0ff46f1f1 parent bb200f6eac6372839921be1fe87c1f5c292a7bd6 author Alan Stern Thu, 13 Oct 2005 17:08:02 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:44 -0700 [PATCH] USB: Rename hcd->hub_suspend to hcd->bus_suspend This patch (as580) is perhaps the only result from the long discussion I had with David about his changes to the root-hub suspend/resume code. It renames the hub_suspend and hub_resume methods in struct usb_hcd to bus_suspend and bus_resume. These are more descriptive names, since the methods really do suspend or resume an entire USB bus, and less likely to be confused with the hub_suspend and hub_resume routines in hub.c. It also takes David's advice about removing the layer of bus glue, where those methods are called. And it implements a related change that David made to the other HCDs but forgot to put into dummy_hcd. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit bb200f6eac6372839921be1fe87c1f5c292a7bd6 tree d55cd6ac5d8b52b96ad766cbd8f31ca85e0e4f8b parent a922c68732725866c88457026cf06a7620846506 author Alan Stern Mon, 03 Oct 2005 16:36:29 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:44 -0700 [PATCH] UHCI: unify BIOS handoff and driver reset code This patch (as574) updates the PCI BIOS usb-handoff code for UHCI controllers, making it work like the reset routines in uhci-hcd. This allows uhci-hcd to drop its own routines in favor of the new ones (code-sharing). Once the patch is merged we can turn the usb-handoff option on permanently, as far as UHCI is concerned. OHCI and EHCI may still have some issues. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit a922c68732725866c88457026cf06a7620846506 tree e859a07f850fa62fc7e8494737b9a4830fdb936c parent 3f8c03ee05801bf8539dd136d9246a416c45052a author Alan Stern Thu, 06 Oct 2005 16:38:45 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:43 -0700 [PATCH] g_file_storage: fix obscure race condition This patch (as575) fixes an unlikely race in the g_file_storage driver. The problem can occur only when the driver is unbound before its initialization routine has finished. I also took the opportunity to replace kmalloc/memset with kzalloc. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 3f8c03ee05801bf8539dd136d9246a416c45052a tree 9438829a88eb7229b9eb88a2943b592b7f0f4af8 parent 880a9b5e7f70632ab60131ce3027da1c63fcd39e author Daniel Ritz Wed, 28 Sep 2005 21:30:12 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:43 -0700 [PATCH] usb/input/touchkit: add more device IDs add two more device IDs from eGalax' programming guide. thanks to Jonathan Hopper for pointing out. Signed-off-by: Daniel Ritz Signed-off-by: Greg Kroah-Hartman drivers/usb/input/touchkitusb.c | 2 ++ 1 file changed, 2 insertions(+) commit 880a9b5e7f70632ab60131ce3027da1c63fcd39e tree 8f2f7b2fa8714d66e42ea0dafb2dce87482af874 parent e4a16e0c10a272e53c4a129b155dd711196b1d93 author Phil Dibowitz Fri, 30 Sep 2005 00:27:36 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:43 -0700 [PATCH] Add unusual_devs for iPod Nano This adds US_FL_FIX_CAPACITY for yet _another_ entire block of Apple productIds. They really can't seem to get this right. This one is for the iPod Nano. Reported by Tyson Vinson . Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman drivers/usb/storage/unusual_devs.h | 10 ++++++++++ 1 file changed, 10 insertions(+) commit e4a16e0c10a272e53c4a129b155dd711196b1d93 tree 61a4b724cd3a0810d22062013a80c0a467afddeb parent 094ec604721ed2a9a7ed6dfe40fd699b2f53a4c3 author Phil Dibowitz Fri, 30 Sep 2005 00:20:15 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:43 -0700 [PATCH] Add unusual_dev for iBeat This patch adds the US_FL_IGNORE_RESIDUE flag for the TrekStor i.Beat Joy 2.0. Original version of this patch was sent by Stefan Werner with test/rediff/etc. by me. Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman drivers/usb/storage/unusual_devs.h | 7 +++++++ 1 file changed, 7 insertions(+) commit 094ec604721ed2a9a7ed6dfe40fd699b2f53a4c3 tree e689462fdaa7ce4acec8b333261927a7761121ff parent b7b1e65588b8576c66a429a2623c91504efcf751 author Daniel Drake Fri, 30 Sep 2005 12:58:13 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:43 -0700 [PATCH] usb-storage: Readd missing SDDR-05b unusual_devs entry Just noticed that the SDDR-05b entry is missing for the shuttle_usbat driver. Looking through BK history it was removed in this patch: http://linux.bkbits.net:8080/linux-2.6/gnupatch@42435730FZQ2XCA6Qv5GPGD4pC4laQ However, at merge time, it looks like the duplicate was already removed, compare these two revisions: http://linux.bkbits.net:8080/linux-2.6/anno/drivers/usb/storage/unusual_devs.h@1.152 http://linux.bkbits.net:8080/linux-2.6/anno/drivers/usb/storage/unusual_devs.h@1.153 Signed-off-by: Daniel Drake Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman drivers/usb/storage/unusual_devs.h | 8 ++++++++ 1 file changed, 8 insertions(+) commit b7b1e65588b8576c66a429a2623c91504efcf751 tree 56e1096beea51b60c30f6370ab187d0b8ffe7fa9 parent a8798533c1f876b97566588cf2bf52458cb4a35d author Daniel Drake Fri, 30 Sep 2005 12:49:36 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:43 -0700 [PATCH] usb-storage: Some minor shuttle_usbat cleanups A while ago, Matthew Dharm wrote: > Looks good. Tho, I would like to see a future patch to do two things: > 1) Change comments from C++ style to C-style > 2) Make sure we're naming consistently everywhere SCM, USBAT, > USBAT-02 (most noticably needing fixing is the string used at > transport-selection time, but a sweep of all uses to be consistent > would be in order). Sorry for the long delay, here is a patch to address this. I also clarified some ATA/ATAPI wording + function names. Signed-off-by: Daniel Drake Signed-off-by: Greg Kroah-Hartman drivers/usb/storage/shuttle_usbat.c | 306 ++++++++++++++++++++---------------- drivers/usb/storage/shuttle_usbat.h | 66 +++---- drivers/usb/storage/transport.h | 2 drivers/usb/storage/unusual_devs.h | 10 - drivers/usb/storage/usb.c | 4 5 files changed, 213 insertions(+), 175 deletions(-) commit a8798533c1f876b97566588cf2bf52458cb4a35d tree 076e498708a5efeb3e9234facb86ed15bc5a2dd0 parent d40ece1dc8dcc89ab921755cbc93a5cfb46d0766 author Daniel Drake Thu, 29 Sep 2005 00:14:21 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:43 -0700 [PATCH] USB Storage: HP8200: Another device type detection fix There appears to be one more case where the HP8200 CD writer devices are detected as flash readers - when the USB cable is replugged after use, with the power cable still connected. Oddly enough, the identify device command appears to 'fall through' when the devices are in this state, the status register reading exactly the same opcode as the command (0xA1) that was just executed. I think it's safe to label this behaviour as specific to HP8200 devices, I can't get the flash devices to respond like this. This patch should solve the last of the HP8200 issues which have cropped up recently. Signed-off-by: Daniel Drake Signed-off-by: Greg Kroah-Hartman drivers/usb/storage/shuttle_usbat.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit d40ece1dc8dcc89ab921755cbc93a5cfb46d0766 tree 02cc91c3ce92e5b9d9ae07130c3c83b6fc81e283 parent 521daed8db4443a1574a98fc3abae8e230f09eaa author Borislav Petkov Wed, 28 Sep 2005 18:06:04 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:42 -0700 [PATCH] USB: make usb storage note visible in Kconfig the following patch splits the NOTE: in the Device Drivers->USB submenu of Kconfig thus making the whole of it readable on 600x800 terminals. (Otherwise, the line was too big and disappeared into nowhere.) Signed-off-by: Borislav Petkov Signed-off-by: Greg Kroah-Hartman drivers/usb/storage/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 521daed8db4443a1574a98fc3abae8e230f09eaa tree 3ae6f6f3a7e5688886aaa4be3fea163a5372986b parent ddcad752f206be7a0091a041403c3188f2febd16 author Randy Dunlap Sun, 02 Oct 2005 17:15:33 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:42 -0700 [PATCH] safe_serial: use preprocessor directive for error Use valid #preprocessor instruction to generate an error. Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman drivers/usb/serial/safe_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ddcad752f206be7a0091a041403c3188f2febd16 tree b791211f5b1f3e324e0778efd08324238dd7faf5 parent 207c47e1fbc8d51500997bfa67c26c00114fab04 author Petko Manolov Mon, 03 Oct 2005 17:24:11 +0300 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:42 -0700 [PATCH] pegasus.h This one is a tiny patch adding one more device to the list. Please apply. :) Signed-off-by: Greg Kroah-Hartman drivers/usb/net/pegasus.h | 2 ++ 1 file changed, 2 insertions(+) commit 207c47e1fbc8d51500997bfa67c26c00114fab04 tree 1a58c41d312e4facbfb53a75decd7c05960105ae parent 74ad9bd2fcf0fa203655e0d904809b06c4202bf8 author Thomas Riewe Thu, 29 Sep 2005 14:57:29 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:42 -0700 [PATCH] drivers/usb/serial/ftdi_sio: add PID/VID We would like to add a PID for the Pyramid Appliance Display, which works on USB via FTDI_SIO. Signed-off-by: Thomas Riewe Signed-off-by: Greg Kroah-Hartman drivers/usb/serial/ftdi_sio.c | 1 + drivers/usb/serial/ftdi_sio.h | 3 +++ 2 files changed, 4 insertions(+) commit 74ad9bd2fcf0fa203655e0d904809b06c4202bf8 tree 28cf74beab3fcf7f29c4d88bd704f4abfa235601 parent 22efcf4adec4262e0f49e6225f6cd070e4a85d20 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:42 -0700 [PATCH] USB: make wHubCharacteristics __le16 to match other usb descriptor fields Also has the nice benefit of making sparc alignment issues go away. Thanks to David Miller for pointing out the problems here. Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hub.c | 22 ++++++++++++---------- drivers/usb/core/hub.h | 2 +- 2 files changed, 13 insertions(+), 11 deletions(-) commit 22efcf4adec4262e0f49e6225f6cd070e4a85d20 tree 416d2fbb46995ad9483e1dee758ee818292e2ed9 parent dabb592816444fcba1a771e27d4f72a2b8218374 author Alan Stern Mon, 26 Sep 2005 16:12:02 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:42 -0700 [PATCH] USB: File-Storage gadget: use the kthread API This patch (as566) converts the File-Storage gadget over to the kthread API. The new code doesn't use kthread_stop because the control thread needs to terminate asynchronously when it receives a signal. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman drivers/usb/gadget/file_storage.c | 32 +++++++++++++------------------- 1 file changed, 13 insertions(+), 19 deletions(-) commit dabb592816444fcba1a771e27d4f72a2b8218374 tree fe2162cf45018321bf334d1080bda926de10ad69 parent 8b262bd25580e165710e8a27df19cd60c2ef58a3 author Andrew Morton Thu, 22 Sep 2005 23:55:22 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:41 -0700 [PATCH] USB: sisusb warning fix drivers/usb/misc/sisusbvga/sisusb.c: In function `sisusb_reset_text_mode': drivers/usb/misc/sisusbvga/sisusb.c:2461: warning: assignment discards qualifiers from pointer target type Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman drivers/usb/misc/sisusbvga/sisusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8b262bd25580e165710e8a27df19cd60c2ef58a3 tree 60cd292d40e4073308ce3189a1217314df0e3a8b parent d09d36a91c70cb3cc609d693bf6a7e7a266ff9e6 author Alan Stern Mon, 26 Sep 2005 16:31:15 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:41 -0700 [PATCH] USB: UHCI: Spruce up some comments This patch (as570) changes some comments in the uhci-hcd header file and removes an unused declaration (something I forgot to erase in an earlier patch). Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman drivers/usb/host/uhci-hcd.h | 91 +++++++++++++++++++++++--------------------- 1 file changed, 49 insertions(+), 42 deletions(-) commit d09d36a91c70cb3cc609d693bf6a7e7a266ff9e6 tree 4a41ade8dc775ea6dc9154bc4fe006f75557f579 parent b13296c6617f22e8c0174a7af32780617db0e680 author Alan Stern Mon, 26 Sep 2005 16:22:45 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:41 -0700 [PATCH] USB: usb_bulk_message() handles interrupts endpoints Because there is no bulk_interrupt_message() routine and no USBDEVFS_INTERRUPT ioctl, people have been forced to abuse the usb_bulk_message() routine and USBDEVFS_BULK by using them for interrupt transfers as well as bulk transfers. This patch (as567) formalizes this practice and adds code to usb_bulk_message() for detecting when the target is really an interrupt endpoint. If it is, the routine submits an interrupt URB (using the default interval) instead of a bulk URB. In theory this should help HCDs that don't like it when people try to mix transfer types, queuing both periodic and non-periodic types for the same endpoint. Not fully tested -- I don't have any programs that use USBDEVFS_BULK for interrupt transfers -- but it compiles okay and normal bulk messages work as well as before. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman drivers/usb/core/message.c | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) commit b13296c6617f22e8c0174a7af32780617db0e680 tree 980ed483e5df92335894405ac7eb37380598190d parent 5edbfb7c8af0577097dae87cdd4dfdba82bb9579 author David Brownell Tue, 27 Sep 2005 10:38:54 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:41 -0700 [PATCH] updates for "controller suspended" handling Reject URBs to _all_ devices when their host controllers are suspended; even root hub registers will be unavailable. Also, don't reject urbs to root hubs in other cases; the only upstream link is through that controller (on PCI or whatever SOC bus is in use). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hcd.c | 28 ++++++++++++---------------- drivers/usb/core/urb.c | 3 ++- 2 files changed, 14 insertions(+), 17 deletions(-) commit 5edbfb7c8af0577097dae87cdd4dfdba82bb9579 tree 497ba94999eb10524dd0d6d98ba708e83cae75d8 parent ccdcf77ae32e3d3347fdf3810b27f899e98c34fb author David Brownell Thu, 22 Sep 2005 22:45:26 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:41 -0700 [PATCH] stop exporting two functions The way we're looking at USB suspend lately doesn't expect drivers to call usb_suspend_device() or usb_resume_device() directly; that'll be implicit when no interfaces are in use. This patch removes those APIs from visibility outside usbcore. Signed-off-by: David Brownell drivers/usb/core/hub.c | 12 ++++-------- drivers/usb/core/usb.h | 4 ++++ include/linux/usb.h | 5 ----- 3 files changed, 8 insertions(+), 13 deletions(-) commit ccdcf77ae32e3d3347fdf3810b27f899e98c34fb tree 88e49a51a4778966aa64a138896f3a3321cc97fe parent a7f72abe8fac9b919135005e06216be8eef945a2 author David Brownell Thu, 22 Sep 2005 22:45:13 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:41 -0700 [PATCH] ISP116x PM updates This makes the isp116x driver stop using usb_suspend_device() and usb_resume_device() ... usbcore now calls to the root hub methods, removing the need for this. It also switches from keventd to khubd for remote wakeup. (Compile tested.) Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/host/isp116x-hcd.c | 29 ++++------------------------- drivers/usb/host/isp116x.h | 1 - 2 files changed, 4 insertions(+), 26 deletions(-) commit a7f72abe8fac9b919135005e06216be8eef945a2 tree 2cc4ca35130559348fb2985224ccb6a570eb3e5a parent f2cb36c1df427431a8c6096b4ad113df767c1bd9 author David Brownell Thu, 22 Sep 2005 22:44:56 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:40 -0700 [PATCH] UHCI PM updates This removes suspend and resume path recursion in UHCI. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/host/uhci-hcd.c | 9 --------- 1 file changed, 9 deletions(-) commit f2cb36c1df427431a8c6096b4ad113df767c1bd9 tree 8a5b07e0ea2e177e01e72ec8554f58d521beaaef parent f197b2c54b9d9a133a9a8ff92f35cadf8945ea14 author David Brownell Thu, 22 Sep 2005 22:43:30 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:40 -0700 [PATCH] update PCI early-handoff handling for OHCI The PCI "early usb handoff" quirk logic didn't work like "ohci-hcd" ... This patch makes it do so by: - Resetting the controller after kicking BIOS off, matching the normal "chip in hardware reset" startup mode; - Reporting any BIOS that borks this simple handoff; it's likely got a few other surprises for us too. - Ignoring that handoff on HPPA; The diagnostic string is mostly shared with EHCI, saving a few bytes. Signed-off-by: Greg Kroah-Hartman drivers/usb/host/pci-quirks.c | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) commit f197b2c54b9d9a133a9a8ff92f35cadf8945ea14 tree a5a4da41e38d8681977a9f3b52fa2e5f1db278ea parent 5f827ea3c3820cd8e0a1a35e4d275c8b78ee94e1 author David Brownell Thu, 22 Sep 2005 22:42:53 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:40 -0700 [PATCH] OHCI PM updates This simplifies the OHCI root hub suspend logic: - Uses new usbcore root hub calls to make autosuspend work again: * Uses a newish usbcore root hub wakeup mechanism, making requests to khubd not keventd. * Uses an even newer sibling suspend hook. - Expect someone always made usbcore call ohci_hub_suspend() before bus glue fires; and that ohci_hub_resume() is only called after that bus glue ran. Previously, only CONFIG_USB_SUSPEND promised those things. (Includes updates to PCI and OMAP bus glue.) - Handle a not-noticed-before special case during resume from one of the swsusp snapshots when using "usb-handoff": the controller isn't left in RESET state. (A bug to fix in the usb-handoff code...) Also cleans up a minor debug printk glitch, and switches an mdelay over to an msleep (how did that stick around for so long?). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/host/ohci-dbg.c | 4 ---- drivers/usb/host/ohci-hcd.c | 2 +- drivers/usb/host/ohci-hub.c | 42 ++++++++++++------------------------------ drivers/usb/host/ohci-mem.c | 1 - drivers/usb/host/ohci-omap.c | 36 ++++++++++++------------------------ drivers/usb/host/ohci-pci.c | 40 ++++++++-------------------------------- drivers/usb/host/ohci.h | 1 - 7 files changed, 33 insertions(+), 93 deletions(-) commit 5f827ea3c3820cd8e0a1a35e4d275c8b78ee94e1 tree 7bd8a0f12f83c219cab6da7e30e8d0e1d94df57d parent f3f3253d644d36a2ea5464005a9c2cf28804d200 author David Brownell Thu, 22 Sep 2005 22:38:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:40 -0700 [PATCH] usbcore PCI glue updates for PM This updates the PCI glue to address the new and simplified usbcore suspend semantics, where CONFIG_USB_SUSPEND becomes irrelevant to HCDs because hcd->hub_suspend() will always be called. - Removes now-unneeded recursion support - Go back to ignoring faults reported by the wakeup calls; we expect them to fail sometimes, and that's just fine. The PCI HCDs will need simple changes to catch up to this, like being able to ignore the setting of CONFIG_USB_SUSPEND. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hcd-pci.c | 106 +++++++++++++++++++++------------------------ drivers/usb/core/hcd.h | 6 +- 2 files changed, 53 insertions(+), 59 deletions(-) commit f3f3253d644d36a2ea5464005a9c2cf28804d200 tree 913d5d38de9acea02b95c43ea23dc6a28f791236 parent 979d5199fee9e80290ddeb532e5993bd15506712 author David Brownell Thu, 22 Sep 2005 22:37:29 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:40 -0700 [PATCH] root hub updates (greater half) This patch associates hub suspend and resume logic (including for root hubs) with CONFIG_PM -- instead of CONFIG_USB_SUSPEND as before -- thereby unifying two troublesome versions of suspend logic into just one. It'll be easier to keep things right from now on. - Now usbcore _always_ calls hcd->hub_suspend as needed, instead of only when USB_SUSPEND is enabled: * Those root hub methods are now called from hub suspend/resume; no more skipping between layers during device suspend/resume; * It now handles cases allowed by sysfs or autosuspended root hubs, by forcing the hub interface to resume too. - All devices, including virtual root hubs, now get the same treatment on their resume paths ... including re-activating all their interfaces. Plus it gets rid of those stub copies of usb_{suspend,resume}_device(), and updates the Kconfig to match the new definition of USB_SUSPEND: it provides (a) selective suspend, downstream from hubs; and (b) remote wakeup, upstream from any device configuration which supports it. This calls for minor followup patches for most HCDs (and their PCI glue). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/core/Kconfig | 11 ++- drivers/usb/core/hub.c | 163 +++++++++++++++++++++++++---------------------- 2 files changed, 97 insertions(+), 77 deletions(-) commit 979d5199fee9e80290ddeb532e5993bd15506712 tree 6987772d41ec540b7e32beaa50c1493a95e3e2c8 parent 9293677af3dace2645dec0d0808efa02d36bf47b author David Brownell Thu, 22 Sep 2005 22:32:24 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:40 -0700 [PATCH] root hub changes (lesser half) This patch collects various small updates related to root hubs, to shrink later patches which build on them. - For root hub suspend/resume support: * Make the existing usb_hcd_resume_root_hub() routine respect pmcore locking, exporting and using the dpm_runtime_resume() method. * Add a new usb_hcd_suspend_root_hub() to pair with that routine. (Essential to make OHCI autosuspend behave again...) * HC_SUSPENDED by itself only refers to the root hub's downstream ports. So let HCDs see root hub URBs unless the parent device is suspended. - Remove an assertion we no longer need (and now, also don't want). - Generic suspend/resume updates to work better with swsusp. * Ignore the FREEZE vs SUSPEND distinction for hardware; trying to use it breaks the swsusp snapshots it's supposed to help (sigh). * On resume, mark devices as resumed right away, but then do nothing else if the device is marked NOTATTACHED. These changes shouldn't be very noticable by themselves. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/base/power/runtime.c | 1 drivers/usb/core/hcd.c | 64 ++++++++++++++++++++++++++++++++++++++----- drivers/usb/core/hcd.h | 1 drivers/usb/core/hub.c | 45 ++++++++++++++++++++++++------ drivers/usb/core/usb.c | 20 +++++++++---- drivers/usb/core/usb.h | 1 6 files changed, 111 insertions(+), 21 deletions(-) commit 9293677af3dace2645dec0d0808efa02d36bf47b tree 1300a91bd6d6b20a69e35f67e7ff71b5a5d776e6 parent 7ff71d6adf81a43505b7cbaa034e4063d3439182 author David Brownell Thu, 22 Sep 2005 22:32:11 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:40 -0700 [PATCH] all HCDs provide root hub suspend/resume methods This cleans up a small recent FIXME, ensuring that all the HCDs provide root hub suspend/resume methods. It also wraps the calls to those root suspend routines just like on the PCI "USB_SUSPEND not defined" cases, so non-PCI bus glue won't be as tempted to behave very differently. Several of the SOC based OHCI drivers forgot to list those methods; the patch also adds those missing declarations. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hcd.c | 42 +++++++++++++++++++++++++--------------- drivers/usb/host/ohci-au1xxx.c | 5 ++++ drivers/usb/host/ohci-lh7a404.c | 5 ++++ drivers/usb/host/ohci-pxa27x.c | 1 drivers/usb/host/ohci-s3c2410.c | 1 drivers/usb/host/ohci-sa1111.c | 1 6 files changed, 40 insertions(+), 15 deletions(-) commit 7ff71d6adf81a43505b7cbaa034e4063d3439182 tree ea7edb953d9fb47f6132e52e1e8d422d8bdae06b parent e9b7bd4ee7f6e3ee002dc72c5211cd97c7186d00 author Matt Porter Thu, 22 Sep 2005 22:31:15 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:39 -0700 [PATCH] EHCI, split out PCI glue This splits BIOS and PCI specific support out of ehci-hcd.c into ehci-pci.c. It follows the model already used in the OHCI driver so support for non-PCI EHCI controllers can be more easily added. Signed-off-by: Matt Porter Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/host/ehci-hcd.c | 543 ++++++-------------------------------------- drivers/usb/host/ehci-pci.c | 414 +++++++++++++++++++++++++++++++++ drivers/usb/host/ehci.h | 1 3 files changed, 492 insertions(+), 466 deletions(-) commit e9b7bd4ee7f6e3ee002dc72c5211cd97c7186d00 tree 03eb4c6ae1529c904a3aca42fa597f8548bddcb4 parent a1d59ce842a35b552f22868404e4e7c923242257 author David Brownell Thu, 22 Sep 2005 22:30:48 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:39 -0700 [PATCH] one less word in struct device This saves a word from "struct device" ... there's a refcounting mechanism stub that's rather ineffective (the values are never even tested!), which can safely be deleted. With this patch it uses normal device refcounting, so any potential users of the pm_parent mechanism will be more correct. (That mechanism is actually unusable for now though; it does nothing.) Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/base/power/main.c | 26 +++----------------------- include/linux/pm.h | 1 - 2 files changed, 3 insertions(+), 24 deletions(-) commit a1d59ce842a35b552f22868404e4e7c923242257 tree ee92b9406d1d10e07dcc433ae403dc6574f3013c parent 8b4cd42134fbd3c9a9a5c3467d31717798219b1b author Alan Stern Fri, 16 Sep 2005 14:22:51 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:39 -0700 [PATCH] USB: UHCI: Split apart the physical and logical framelist arrays This patch (as563) splits the physical and logical framelist arrays in uhci-hcd into two separate pieces. This will allow slightly better memory utilization, since each piece is no larger than a single page whereas before the whole thing was a little bigger than two pages. It also allows the logical array to be allocated in non-DMA-coherent memory. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 8b4cd42134fbd3c9a9a5c3467d31717798219b1b tree aec7570ecc2f481b2a3357f05810be8c3d897669 parent e08fb39b771dd7dcba405669b5384fe9929e1caf author Alan Stern Fri, 16 Sep 2005 14:17:45 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:39 -0700 [PATCH] USB: UHCI: Remove unused fields and unneeded tests for NULL This patch (as562) removes from the uhci-hcd driver a few unused fields and some unnecessary tests against NULL and assignments to NULL. In fact it wasn't until fairly recently that the tests became unnecessary. Before last winter it was possible that the driver's stop() routine would get called even if the start() routine returned an error, but now that can't happen. Hence there's no longer any need to check for partial initialization. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit e08fb39b771dd7dcba405669b5384fe9929e1caf tree 3f83d9925c9561394844f8124dbbb475d7e8e723 parent 8ad7fe16df5e07320626be83fbba6d1c6bda5ec0 author Matt Porter Mon, 19 Sep 2005 09:40:24 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:39 -0700 [PATCH] USB: Fix usb hub build Signed-off-by: Matt Porter Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8ad7fe16df5e07320626be83fbba6d1c6bda5ec0 tree 7bd854843d6d61756a16421368aa6cb1428b23c8 parent dbc3887e7df4be78b33a83b97fde5d5f9a389859 author David Brownell Tue, 13 Sep 2005 19:59:11 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:39 -0700 [PATCH] remove some USB_SUSPEND dependencies This simplifies some of the PM-related #ifdeffing by recognizing that USB_SUSPEND depends on PM. Also, OHCI drivers were often testing for USB_SUSPEND when they should have tested just PM. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hcd.c | 2 ++ drivers/usb/host/ohci-hcd.c | 2 +- drivers/usb/host/ohci-hub.c | 4 ++-- drivers/usb/host/ohci-omap.c | 2 +- drivers/usb/host/ohci-pci.c | 2 +- drivers/usb/host/ohci-ppc-soc.c | 4 ++-- drivers/usb/host/ohci-pxa27x.c | 2 +- drivers/usb/host/ohci-s3c2410.c | 3 +-- drivers/usb/host/ohci-sa1111.c | 2 +- 9 files changed, 12 insertions(+), 11 deletions(-) commit dbc3887e7df4be78b33a83b97fde5d5f9a389859 tree d0b037dbf3971bbd95d038429857ef9f78a19879 parent 390a8c345e6415cbf811232feedac70b56c9fc8d author David Brownell Tue, 13 Sep 2005 19:57:36 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:39 -0700 [PATCH] remove duplicated resume path code This gets rid of some inconsistently duplicated logic to resume interfaces. Similar code was in both finish_port_resume() and in usb_generic_resume(). Now there is just one copy of that code, accessed regardless of whether CONFIG_USB_SUSPEND is enabled. Fault handling is also more consistent. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 390a8c345e6415cbf811232feedac70b56c9fc8d tree 5a27e9421575c080d31884c4eedeed710d7134f1 parent c9f89fa40cf274130b56475175a35af961d4b165 author David Brownell Tue, 13 Sep 2005 19:57:27 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:38 -0700 [PATCH] remove usb_suspend_device() parameter This patch removes the extra usb_suspend_device() parameter. The original reason to pass that parameter was so that this routine could suspend any active children. A previous patch removed that functionality ... leaving no reason to pass the parameter. A close analogy is pci_set_power_state, which doesn't need a pm_message_t either. On the internal code path that comes through the driver model, the parameter is now used to distinguish cases where USB devices need to "freeze" but not suspend. It also checks for an error case that's accessible through sysfs: attempting to suspend a device before its interfaces (or for hubs, ports). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hub.c | 34 +++++++++++++++++++++------------- drivers/usb/core/usb.c | 23 +++++++++++++++++++++-- drivers/usb/host/ehci-hcd.c | 2 +- drivers/usb/host/isp116x-hcd.c | 2 +- drivers/usb/host/ohci-pci.c | 2 +- include/linux/usb.h | 2 +- 6 files changed, 46 insertions(+), 19 deletions(-) commit c9f89fa40cf274130b56475175a35af961d4b165 tree 9d02038c4e5589a2b13df98da647a59d46b69567 parent db69087437dd5135a9362da1c37fe072070e8f60 author David Brownell Tue, 13 Sep 2005 19:57:04 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:38 -0700 [PATCH] remove suspend-path recursion This patch removes some recursion in the CONFIG_USB_SUSPEND logic, which suspended children (of devices or hubs) that weren't already suspended. When it sees such cases, suspend now just fails cleanly. That logic was not needed during system-wide sleep state transitions; and given the current notions of how to manage selective suspend transitions, we don't want it there either. Where it was particularly handy was coping with various limitations of the sysfs "echo -n N > power/state" support. (These include assuming that "N" is always meaningful to the driver; and that drivers can only transition to state N from state zero.) Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit db69087437dd5135a9362da1c37fe072070e8f60 tree 1affacd290eff29b5dc589bbf47369e20d6101db parent 7586269c0b52970f60bb69fcb86e765fc1d72309 author David Brownell Tue, 13 Sep 2005 19:56:33 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:38 -0700 [PATCH] usb_interface power state This updates the handling of power state for USB interfaces. - Formalizes an existing invariant: interface "power state" is a boolean: ON when I/O is allowed, and FREEZE otherwise. It does so by defining some inlined helpers, then using them. - Adds a useful invariant: the only interfaces marked active are those bound to non-suspended drivers. Later patches build on this invariant. - Simplifies the interface driver API (and removes some error paths) by removing the requirement that they record power state changes during suspend and resume callbacks. Now usbcore does that. A few drivers were simplified to address that last change. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/core/hub.c | 33 +++++++++------------ drivers/usb/core/message.c | 1 drivers/usb/core/usb.c | 65 +++++++++++++++++++++++++++++++++---------- drivers/usb/core/usb.h | 18 +++++++++++ drivers/usb/input/hid-core.c | 2 - drivers/usb/misc/usbtest.c | 10 ------ drivers/usb/net/pegasus.c | 2 - drivers/usb/net/usbnet.c | 2 - 8 files changed, 85 insertions(+), 48 deletions(-) commit 7586269c0b52970f60bb69fcb86e765fc1d72309 tree a0cb04f9527101e8b9331350e4dd9d57e6e019e7 parent 38ffdd62b0f466ef9126ac9f060ade5f218b4887 author David Brownell Fri, 23 Sep 2005 17:14:37 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:38 -0700 [PATCH] USB: move handoff code This moves the PCI quirk handling for USB host controllers from the PCI directory to the USB directory. Follow-on patches will need to: (a) merge these copies with the originals in the HCD reset methods. they don't wholly agree, despite doing the very same thing; and (b) eventually change it so "usb-handoff" is the default, to help get more robust USB/BIOS/input/... interactions. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/Makefile | 2 drivers/pci/quirks.c | 253 --------------------------------------- drivers/usb/Makefile | 1 drivers/usb/host/Makefile | 5 drivers/usb/host/pci-quirks.c | 272 ++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 280 insertions(+), 253 deletions(-) commit 38ffdd62b0f466ef9126ac9f060ade5f218b4887 tree 4f636beb7bcc713e0f454058541850b4cabf69fa parent e639dd3f4edd4847d160899b19e95ee1a06a6dcb author Pete Zaitcev Sat, 24 Sep 2005 13:10:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:38 -0700 [PATCH] ub: suppress gcc warnings for pointer casts When building on a 64-bit platform, gcc produces a warning "cast of a pointer to an integer of a different size". The scatterlist.offset on the LHS is unsigned int, so I used that originally. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman drivers/block/ub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e639dd3f4edd4847d160899b19e95ee1a06a6dcb tree c5d99cf857c77005af27b688d3935f90c3c8536a parent d6e5bcf4a7ebbe258124a931f1449338340a99b5 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:38 -0700 [PATCH] USB: add more snooping hooks in devio.c Now we can log the urbs travelling through usbfs Signed-off-by: Greg Kroah-Hartman commit d6e5bcf4a7ebbe258124a931f1449338340a99b5 tree e36249673c11e20f90ad837831c104b1dfce9947 parent 094f1649577dfc7f2c7407a8380e05a506b31f7f author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:37 -0700 [PATCH] devfs: Remove the mode field from usb_class_driver as it's no longer needed Also fixes all drivers that set this field, and removes some other devfs specfic USB logic. Signed-off-by: Greg Kroah-Hartman drivers/usb/class/usblp.c | 3 +-- drivers/usb/core/file.c | 19 ++++--------------- drivers/usb/image/mdc800.c | 3 +-- drivers/usb/input/aiptek.c | 2 +- drivers/usb/input/hiddev.c | 3 +-- drivers/usb/media/dabusb.c | 3 +-- drivers/usb/misc/auerswald.c | 3 +-- drivers/usb/misc/idmouse.c | 5 ++--- drivers/usb/misc/legousbtower.c | 5 ++--- drivers/usb/misc/rio500.c | 3 +-- drivers/usb/misc/sisusbvga/sisusb.c | 5 ----- drivers/usb/misc/usblcd.c | 9 ++++----- drivers/usb/usb-skeleton.c | 3 +-- include/linux/usb.h | 7 ++----- 14 files changed, 22 insertions(+), 51 deletions(-) commit 094f1649577dfc7f2c7407a8380e05a506b31f7f tree 5775c40d5c05f5427bb36c3c61d0db143c719bdd parent 8da608caa07d5c9745ec86bf7c25ad423352f9a4 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:37 -0700 [PATCH] USB: add endpoint information to sysfs This patch adds endpoint information for both devices and interfaces to sysfs. Previously it was only possible to get the endpoint information from usbfs, and never possible to get any information on endpoint 0. Signed-off-by: Greg Kroah-Hartman drivers/usb/core/sysfs.c | 195 ++++++++++++++++++++++++++++++++++++++++++++++- include/linux/usb.h | 4 2 files changed, 197 insertions(+), 2 deletions(-) commit 8da608caa07d5c9745ec86bf7c25ad423352f9a4 tree cc8f60e24846a4fbc5c9dd5afb8fd676a6adc73f parent c9c7746dd333c12f482af2f1e63ea7eafc7cd529 author Greg Kroah-Hartman Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:37 -0700 [PATCH] USB: disable tasklet if rtl8150 device is removed while active. This fixes a oops seen in the wild. Signed-off-by: Greg Kroah-Hartman commit c9c7746dd333c12f482af2f1e63ea7eafc7cd529 tree df7ed40559585aee2e394dbadf3f0449616eabf6 parent 72f30b6f2f5f68dd426e9fe83817b882c2d04e50 author Rui Santos Fri, 23 Sep 2005 20:06:50 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:37 -0700 [PATCH] USB: ftdi: Artemis and ATIK based USB astronomical CCD cameras This patch enables direct kernel support for the Artemis and ATIK astronomical based USB CCD cameras. Since all communications with this camera are done via an FTDI 245BM chip, it was only needed to specify the ProductID and VendorID of all three devices. In what tests are concerned, data was transfered from and to the FTDI at the chips Top speed (360KB/s). Signed-off-by: Rui Santos Signed-off-by: Greg Kroah-Hartman drivers/usb/serial/ftdi_sio.c | 3 +++ drivers/usb/serial/ftdi_sio.h | 13 +++++++++++++ 2 files changed, 16 insertions(+) commit 72f30b6f2f5f68dd426e9fe83817b882c2d04e50 tree 21f2785ff8dbd4c612f1f01cd9d2f8c6baef3dd5 parent 7efe5d7c3e3a82e43b0f8fb29c6797317bce7a9a author David Brownell Tue, 27 Sep 2005 10:19:39 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 16:47:37 -0700 [PATCH] USB: ehci.patch (earlier irq disable) This tweaks the EHCI reboot notifier to also halt the EHCI controller, and makes that halt code force IRQs off. Both should always have been done. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/host/ehci-hcd.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 89fbb69c4f285019ba5e029963dc11cc6beb078a tree d918cd1ba0ef9afa692cef281afee2f6d6634a1e parent 7efe5d7c3e3a82e43b0f8fb29c6797317bce7a9a parent 4cce3390c998600f6648e075e475cf8f6dd8cebe author Linus Torvalds Fri, 28 Oct 2005 16:47:34 -0700 committer Linus Torvalds Fri, 28 Oct 2005 16:47:34 -0700 Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband commit 4cce3390c998600f6648e075e475cf8f6dd8cebe tree 2b800e2e2d890e98db792ca67590e65d22384926 parent a4da0628efd788eb199dd9df225e296035ec2539 author Roland Dreier Fri, 28 Oct 2005 16:38:15 -0700 committer Roland Dreier Fri, 28 Oct 2005 16:38:15 -0700 [IB] fix up class_device_create() calls Fix class_device_create() calls to match the new prototype which takes a parent device pointer. Signed-off-by: Roland Dreier commit 977e74b5f60de3df9831897b726c16870878eee4 tree c5fe78bf8b9aaf393cee878aaf89241fe40f8ba5 parent 2c36ed22c6f64de94c6c3b7258dd7285bb093401 author Ashutosh Naik Fri, 28 Oct 2005 15:14:53 -0700 committer Jeff Garzik Fri, 28 Oct 2005 19:06:44 -0400 [PATCH] e1000: Fixes e1000_suspend warning when CONFIG_PM is not enabled drivers/net/e1000/e1000_main.c:3645: warning: `e1000_suspend' defined but not used Signed-off-by: Ashutosh Naik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 2c36ed22c6f64de94c6c3b7258dd7285bb093401 tree bf8ab970180df5abe28d0c75d993a86a063bd8d5 parent 63f57fb69b017230c77c40f1713e40885ae6d159 author Alan Cox Fri, 28 Oct 2005 15:14:52 -0700 committer Jeff Garzik Fri, 28 Oct 2005 19:06:44 -0400 [PATCH] Better fixup for the orinoco driver The latest kernel added a pretty ugly fix for the orinoco etherleak bug which contains bogus skb->len checks already done by the caller and causes copies of all odd sized frames (which are quite common) While the skb->len check should be ripped out the other fix is harder to do properly so I'm proposing for this the -mm tree only until next 2.6.x so that it gets tested. Instead of copying buffers around blindly this code implements a padding aware version of the hermes buffer writing function which does padding as the buffer is loaded and thus more cleanly and without bogus 1.5K copies. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 63f57fb69b017230c77c40f1713e40885ae6d159 tree d30d9f0c237b000b171e9e5918d0337268cf0f8b parent a7ec15da65ab64c5f97beedc4ff21cf3e0ae71c0 author Andrew Morton Fri, 28 Oct 2005 15:14:51 -0700 committer Jeff Garzik Fri, 28 Oct 2005 19:06:44 -0400 [PATCH] revert "orinoco: Information leakage due to incorrect padding" Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit a7ec15da65ab64c5f97beedc4ff21cf3e0ae71c0 tree 05cb18e46286e5343a795c71890115a59e8c30bf parent 46e178535836dcd7ef92f179218628d101892c59 author Ravikiran G Thirumalai Fri, 28 Oct 2005 15:14:49 -0700 committer Jeff Garzik Fri, 28 Oct 2005 19:06:43 -0400 [PATCH] e1000: use vmalloc_node() Allocate node local tx and rx descriptors for the e1000 driver Signed-off-by: Ravikiran Thirumalai Cc: Christoph Lameter Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 46e178535836dcd7ef92f179218628d101892c59 tree db323b41078da50d3cd56a6f99da919bc619e4eb parent a1bfcd97414d3e9b3c96f27d9b1a1e76c9543ba6 author Pavel Machek Fri, 28 Oct 2005 15:14:47 -0700 committer Jeff Garzik Fri, 28 Oct 2005 19:06:43 -0400 [PATCH] b44: fix suspend/resume Fix suspend/resume on b44 by freeing/reacquiring irq. Otherwise it hangs on resume. Signed-off-by: Pavel Machek Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit a1bfcd97414d3e9b3c96f27d9b1a1e76c9543ba6 tree 139ee353f51a2c0700e515f0bd02d8eb000a7745 parent b6a1d5f88473138497d8694ddf174e8e91300068 author Florin Malita Fri, 28 Oct 2005 15:14:46 -0700 committer Jeff Garzik Fri, 28 Oct 2005 19:06:43 -0400 [PATCH] eepro.c: module_param_array cleanup num_params is unused (and unusable in this form). Signed-off-by: Florin Malita Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit b6a1d5f88473138497d8694ddf174e8e91300068 tree 30d0b9771aae18d62c927cd257643a034f02bacb parent 596c96ba06e5d56e72451e02f93f4e15e17458df author Martin J. Bligh Fri, 28 Oct 2005 15:14:44 -0700 committer Jeff Garzik Fri, 28 Oct 2005 19:06:42 -0400 [PATCH] e1000: remove warning about e1000_suspend e1000_suspend is only used under #ifdef CONFIG_PM. Move the declaration of it to be the same way, just like e1000_resume, otherwise gcc whines on compile. I offer as evidence: static struct pci_driver e1000_driver = { .name = e1000_driver_name, .id_table = e1000_pci_tbl, .probe = e1000_probe, .remove = __devexit_p(e1000_remove), /* Power Managment Hooks */ #ifdef CONFIG_PM .suspend = e1000_suspend, .resume = e1000_resume #endif }; Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 7efe5d7c3e3a82e43b0f8fb29c6797317bce7a9a tree 2e246004dfc130947574e340a4968239b3f2d20b parent dbe0580d0d2fccf63b0349840a7ae3dbb16f3074 parent f8977d0a9b7ac84cfe700278a2ca64cb33c93a13 author Linus Torvalds Fri, 28 Oct 2005 15:57:32 -0700 committer Linus Torvalds Fri, 28 Oct 2005 15:57:32 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6 commit dbe0580d0d2fccf63b0349840a7ae3dbb16f3074 tree e8c0e8fb951226d470e11aca5bad555f79d8d558 parent 20731945ae743034353a88c307920d1f16cf8ac8 parent 19c1f3ca4272008a256cc153f3e3feb097799070 author Linus Torvalds Fri, 28 Oct 2005 15:54:06 -0700 committer Linus Torvalds Fri, 28 Oct 2005 15:54:06 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-mmc commit 0e1f60609258e18ec0a0477c646101212822d387 tree 22f05f9f0f396d19ecffa5cec952cc8fadad802b parent fb5f329d58c67cadc8ff07193ea7556923d49d1b author Tony Luck Fri, 28 Oct 2005 15:52:13 -0700 committer Tony Luck Fri, 28 Oct 2005 15:52:13 -0700 [IA64] fix warning unused variable `g' 4ac0068f44f192f2de95a7bb36df3e19767a45fb forgot to delete the declaration of this variable which is no longer used. Signed-off-by: Tony Luck commit a4da0628efd788eb199dd9df225e296035ec2539 tree 1e611030c993e1480dc2f07f26976d2d33002b0d parent 70a30e16a8a9d22396a4d1e96af86e43594df584 parent 20731945ae743034353a88c307920d1f16cf8ac8 author Roland Dreier Fri, 28 Oct 2005 15:50:51 -0700 committer Roland Dreier Fri, 28 Oct 2005 15:50:51 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 commit 9dfb7808fb05643b0d06df7411b94d9546696bf1 tree aa1a9cc1e79ae66f6cbb0fe39d79a80ca76331e8 parent c45154a3b1fecdbb51b5462c9f730b44e62b83a5 parent 20731945ae743034353a88c307920d1f16cf8ac8 author Jeff Garzik Fri, 28 Oct 2005 18:50:09 -0400 committer Jeff Garzik Fri, 28 Oct 2005 18:50:09 -0400 Merge branch 'master' commit 596c96ba06e5d56e72451e02f93f4e15e17458df tree 78bc640acacb8faeb621c51296e99dbb0533a147 parent ad18b0ea089928367185e13d11424aea91d4b41f parent 20731945ae743034353a88c307920d1f16cf8ac8 author Jeff Garzik Fri, 28 Oct 2005 18:48:57 -0400 committer Jeff Garzik Fri, 28 Oct 2005 18:48:57 -0400 Merge branch 'master' commit 64a0c1c81e300f0f56f26604c81040784e3717f0 tree 845863e5b3fc06a9de54104f32e28bbe914ee44a parent 96a339985d4c6874d32909e8f1903e6e6c141399 author Ivan Skytte Jorgensen Fri, 28 Oct 2005 15:39:02 -0700 committer Sridhar Samudrala Fri, 28 Oct 2005 15:39:02 -0700 [SCTP] Do not allow unprivileged programs initiating new associations on privileged ports. Signed-off-by: Ivan Skytte Jorgensen Signed-off-by: Sridhar Samudrala commit 70a30e16a8a9d22396a4d1e96af86e43594df584 tree 0d8582567c62f7929620ec03128c79f9d8c65a58 parent a74968f8c3b1166cfe0942901b56165f06ab6f60 author Roland Dreier Fri, 28 Oct 2005 15:38:26 -0700 committer Roland Dreier Fri, 28 Oct 2005 15:38:26 -0700 [IB] uverbs: Fix device lifetime problems Move ib_uverbs module to using cdev_alloc() and class_device_create() so that we can handle device lifetime properly. Now we can make sure we keep all of our data structures around until the last way to reach them is gone. Signed-off-by: Roland Dreier commit a74968f8c3b1166cfe0942901b56165f06ab6f60 tree 8b6bfdad7c5a56186bb84a8f282270998f64db0f parent 1993d683f39f77ddb46a662d7146247877d50b8f author Roland Dreier Fri, 28 Oct 2005 15:37:23 -0700 committer Roland Dreier Fri, 28 Oct 2005 15:37:23 -0700 [IB] umad: Fix device lifetime problems Move ib_umad module to using cdev_alloc() and class_device_create() so that we can handle device lifetime properly. Now we can make sure we keep all of our data structures around until the last way to reach them is gone. Signed-off-by: Roland Dreier commit f8977d0a9b7ac84cfe700278a2ca64cb33c93a13 tree 13af729851215bdbc2291b752f2000a94dff6abb parent 2f028234f2c7f31dc0ff0784e20f14be11f7035c author Jesse Barnes Tue, 25 Oct 2005 10:28:42 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:02 -0700 [PATCH] PCI fixup for Toshiba laptops and ohci1394 This is a fix for a bug I see on my Toshiba laptop, where the ohci1394 controller gets initialized improperly. The patch adds two PCI fixups to arch/i386/pci/fixup.c, one that happens early on to cache the value of the PCI_CACHE_LINE_SIZE config register, and another that later restores the value, along with a valid IRQ number and some BAR values. I've tested it on my laptop, and it prevents me from running into what I consider to be a major bug: IRQ 11 is disabled by the IRQ debug code, causing my wireless to break. Thanks to Rob for the original patch to ohci1394.c and Stefan for lots of proofreading (and a last minute bug caught in review!) and additional information collection. I think the DMI system list is correct, but we may need to add some more PCI IDs to the PCI_FIXUP macros over time. Signed-off-by: Jesse Barnes Signed-off-by: Greg Kroah-Hartman commit 2f028234f2c7f31dc0ff0784e20f14be11f7035c tree 8aa60f015a1bc8d4579bbfa4b7ba6066bfdd4990 parent 8f7020d36374dda9366fee1343f8eacfe8f5e641 author Grant Coady Thu, 20 Oct 2005 09:55:32 +1000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:02 -0700 [PATCH] pci_ids: cleanup comments pci_ids.h cleanup: convert // comment to /* comment */ Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman commit 8f7020d36374dda9366fee1343f8eacfe8f5e641 tree fb9531fed55030c6334957ff38235421c83377b9 parent f05aab8ef653abcbd454739264a9f5cf63f6f9f8 author Randy Dunlap Sun, 23 Oct 2005 11:57:38 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:01 -0700 [PATCH] kernel-doc: PCI fixes PCI: add descriptions for missing function parameters. Eliminate all kernel-doc warnings here. Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman commit f05aab8ef653abcbd454739264a9f5cf63f6f9f8 tree d114ce10cac5702e543210b9c539692c8d2fad59 parent 8e5dce35221850759671b2847a2e51030f7626bd author Randy Dunlap Sun, 23 Oct 2005 11:58:19 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:01 -0700 [PATCH] kernel-doc: fix PCI hotplug PCI hotplug.c: does not contain kernel-doc, so don't process it for now. Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman commit 8e5dce35221850759671b2847a2e51030f7626bd tree 209dba22e714697336158ef43a2460068a65566b parent 5457b6a6013516a73b8f48ec1adb9984b577a5c1 author Kristen Accardi Tue, 18 Oct 2005 17:21:40 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:01 -0700 [PATCH] acpiphp: allocate resources for adapters with bridges Allocate resources for adapters with bridges on them. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 5457b6a6013516a73b8f48ec1adb9984b577a5c1 tree a0571bc80cfd4256a3e7a995480e6fb6e1f3cde6 parent a1720fdbd0f90e64668a59a304d01c5ba001b450 author Russell King Sun, 16 Oct 2005 21:32:46 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:01 -0700 [PATCH] PCI: Convert megaraid to use pci_driver shutdown method Convert megaraid to use pci_driver's shutdown method rather than the generic device_driver shutdown method. Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit a1720fdbd0f90e64668a59a304d01c5ba001b450 tree 598e37eb0e64f78f29e27f85cfb63b60912994b7 parent d10211b278c70fbebb83fb9e4ee717ca13f69b2d author Russell King Sun, 16 Oct 2005 21:31:36 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:01 -0700 [PATCH] PCI: Fixup PCI driver shutdown Add a warning to pci driver registration code so that we know whether we have drivers using the obsolete driver shutdown method. Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit d10211b278c70fbebb83fb9e4ee717ca13f69b2d tree 65ad1bb2de1a48d024e57563562678c5c4cbd5f0 parent c2608a111b621d5cf0e4c2876d79e67333ce5341 author Andrew Morton Sat, 15 Oct 2005 22:02:19 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:01 -0700 [PATCH] PCI: fix edac drivers for radisys 82600 borkage I told you that the pci_ids.h cleanup was a bad idea ;) Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit c2608a111b621d5cf0e4c2876d79e67333ce5341 tree 0e90b0bc85f026c74434f132760d7a4e12cf4eab parent 7c8942f993dc069db0e0327a343bbec8a6e96074 author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:44 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:01 -0700 [PATCH] shpchp: fix oops at driver unload At unload time, the shpchp driver does not remove sysfs files it had created in the driver's probe entry point. This patch fixes this problem. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit 7c8942f993dc069db0e0327a343bbec8a6e96074 tree 22e617e853e1af63ebd3953e34cee56f573d442b parent ee138334d5eb5ca662b2d69228420c1ccc051e0e author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:00 -0700 [PATCH] shpchp: reduce debug message verbosity Reduce the number of debug messages generated if shpchp debug is enabled. I tried to restrict this to removing debug messages that are either early-driver-debug type messages, or print information that can be inferred through other debug prints. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit ee138334d5eb5ca662b2d69228420c1ccc051e0e tree 6c8f0d28ab39f4ea9abb0e9986f8c9a3fca6f470 parent 2178bfad9ccb0cbeb79599dd1dc349dd4567aa49 author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:42 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:00 -0700 [PATCH] shpchp: miscellaneous cleanups Remove un-necessary header includes, remove dead code, remove some type casts, receive function return in the correct data type... Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit 2178bfad9ccb0cbeb79599dd1dc349dd4567aa49 tree 9a58ee4a73e36b31edd8b5660966403d7c6c5562 parent 70b6091946ab486c4dab8abeb4a3fc2bf7d3e7fe author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:41 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:00 -0700 [PATCH] shpchp: remove redundant data structures State information is currently stored in per-slot as well as per-pci-function data structures in shpchp. There's a lot of overlap in the information kept, and some of it is never used. This patch consolidates the state information to per-slot and eliminates unused data structures. The biggest change is to eliminate the pci_func structure and the code around managing its lists. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit 70b6091946ab486c4dab8abeb4a3fc2bf7d3e7fe tree b61b3262529be1b03cabac951bac5cf764e2daf2 parent 1410dc1cef1e2f5e90c1fcb97041f42e0eee35b4 author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:40 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:00 -0700 [PATCH] shpchp: dont save PCI config for hotplug slots/devices This patch eliminates saving the PCI config header for devices in hotplug capable slots. We now use the PCI core to get the specific parts of the config header as required. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit 1410dc1cef1e2f5e90c1fcb97041f42e0eee35b4 tree dffc17757791d79f2a83b5a85cf21278f3803448 parent 424600f9706b20a8a33ad928d3d0326bd88679bc author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:39 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:00 -0700 [PATCH] shpchp: detect SHPC capability before doing a lot of work The shpc driver registers its probe function for all pci-pci bridges in the system. Not all of them will be shpc capable, so look for this capability early in the probe function and return if there's no work to do on this bridge. The old shpc driver did some initialization work on all bridges before detecting that shpc is not supported and unwinds the work it's already done in that case. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit 424600f9706b20a8a33ad928d3d0326bd88679bc tree 364509b512ff4f522b38329df582553a9c8fb6ff parent 7e88ed199689f333668b62348051202706b6a74a author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:38 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:37:00 -0700 [PATCH] shpchp: reduce dependence on ACPI Reduce the SHPC hotplug driver's dependence on ACPI. We don't walk the acpi namespace anymore to build a list of bridges and devices. The remaining interaction with ACPI is to run the _OSHP method to transition control of hotplug hardware from system BIOS to the shpc hotplug driver, and to run the _HPP method to get hotplug device parameters like cache line size, latency timer and SERR/PERR enable from BIOS. Note that one of the side effects of this patch is that shpchp does not enable the hot-added device or its DMA bus mastering automatically now. It expects the device driver to do that. This may break some drivers and we will have to fix them as they are reported. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit 7e88ed199689f333668b62348051202706b6a74a tree 5dd9d1f727a1b6b1435e475dcc62e7fde26d99f5 parent dbd7a78818d125a0ebd5507d4edb4dd5900006ab author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:37 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:59 -0700 [PATCH] shpchp: remove redundant display of PCI device resources Info about resources assigned to PCI devices is already available through sysfs and pci utilities. There's no need for shpchp to create another sysfs file to display the same information. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit dbd7a78818d125a0ebd5507d4edb4dd5900006ab tree 682a1681aad47f70bfb760fca077f54589be92c6 parent e3b1bd572f1cdb247bb4266a593b6894dc578d6a author rajesh.shah@intel.com Thu, 13 Oct 2005 12:05:36 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:59 -0700 [PATCH] shpchp: use the PCI core for hotplug resource management This patch converts the standard hotplug controller driver to use the PCI core for resource management. This eliminates a whole lot of duplicated code, and integrates shpchp in the system's normal PCI handling code. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit e3b1bd572f1cdb247bb4266a593b6894dc578d6a tree a3f4fe0abd9700d90ff8b6f349e9f639a4234be1 parent 934199e95d6ac28f42686fe3009877eff33e06c3 author Jean Delvare Wed, 21 Sep 2005 22:26:31 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:59 -0700 [PATCH] PCI: Add quirk for SMBus on HP D530 One more SMBus unhiding quirk, this time for the HP D530. Requested and successfully tested by Ben Cranston. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 934199e95d6ac28f42686fe3009877eff33e06c3 tree 607f305d0a7841484bd7b1e1adf956c7231db2de parent b7924c38c9a9c6151213bc0d91776eace614e761 author linas Wed, 28 Sep 2005 19:33:38 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:59 -0700 [PATCH] ppc64 PCI Hotplug: cleanup unsymmetric API routines This is a minor patch to the ppc64 PCI hotplug code; it makes the call to rpaphp_unconfig_pci_adapter() symmetric with respect to the call to rpaphp_config_pci_adapter(). I discussed this with John Rose, who had provided the last round of changes for these functions; he appearently had this patch but somehow failed to mail it out. Tested. (added/removed device). Signed-off-by: Linas Vepstas drivers/pci/hotplug/rpaphp.h | 3 ++- drivers/pci/hotplug/rpaphp_core.c | 5 ++++- drivers/pci/hotplug/rpaphp_pci.c | 11 +++-------- 3 files changed, 9 insertions(+), 10 deletions(-) commit b7924c38c9a9c6151213bc0d91776eace614e761 tree 68609a74c3bc43e510f58f9c808a0a74e9d23452 parent 4153812fc10ea91cb1a7b6ea4f4337dd211c1ef7 author Grant Coady Thu, 29 Sep 2005 11:06:40 +1000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:59 -0700 [PATCH] pci_ids: remove non-referenced symbols from pci_ids.h pci_ids.h cleanup: removed non-referenced symbols, compile tested with 'make allmodconfig' Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman include/linux/pci_ids.h | 540 ------------------------------------------------ 1 file changed, 540 deletions(-) commit 4153812fc10ea91cb1a7b6ea4f4337dd211c1ef7 tree d56a554c172635f2d9e2fff7b8f30f8daa84d5ac parent b135c4815051bad6b2472e4ad0152f205918d2c5 author Grant Coady Thu, 29 Sep 2005 10:40:52 +1000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:59 -0700 [PATCH] pci_ids: macros: replace partial with whole symbols pci_ids cleanup: replace symbols built by macros with whole symbols to aid grep searches. Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman drivers/video/cirrusfb.c | 24 ++++++++++++------------ sound/oss/ymfpci.c | 17 +++++++++-------- sound/pci/bt87x.c | 11 +++++++---- 3 files changed, 28 insertions(+), 24 deletions(-) commit b135c4815051bad6b2472e4ad0152f205918d2c5 tree 5f82d14946fca89161deb4beb9c71c0305da845e parent acc06632e387fd05d2bf3480f6a2f4d1a62734b8 author Grant Coady Thu, 29 Sep 2005 10:39:46 +1000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:59 -0700 [PATCH] pci_ids: remove duplicates from pci_ids.h pci_ids.h cleanup: remove duplicated entries and change some defines to explicit value rather than in terms of another constant, preparation for removing unused symbols Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman include/linux/pci_ids.h | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) commit acc06632e387fd05d2bf3480f6a2f4d1a62734b8 tree c578620b9d6ae0c817fae385435c8d2bfad97ffe parent fe89cf4c4b7a3d9a0ff95eb0506aa7c9baaccda1 author R.Marek@sh.cvut.cz Thu, 29 Sep 2005 08:35:41 +0000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:58 -0700 [PATCH] unhide ICH6 SMBus - take 2 This patch unhides hidden SMBus on ICH6 chipset installed in Asus M6V notebook. I would like to thank Michal Mleczko for testing and help. Signed-Off-By: Rudolf Marek Signed-off-by: Greg Kroah-Hartman drivers/pci/quirks.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit fe89cf4c4b7a3d9a0ff95eb0506aa7c9baaccda1 tree 496c9092452395e6d616adedab53e7ac85b199b6 parent c8920f0c8b3b42537ab4a54ff92c11daf48fdfec author Bjorn Helgaas Wed, 28 Sep 2005 14:03:08 -0600 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:58 -0700 [PATCH] cpqphp: add pci_enable_device() Add pci_{enable,disable}_device() calls. Without pci_enable_device(), dev->irq is garbage, and cpqphp relies on it. This fixes a problem reported by Bruno Redondi. He reported a flood of ACPI interrupts, that caused kacpid to run 100% of the time: http://bugzilla.kernel.org/show_bug.cgi?id=5312 Signed-off-by: Bjorn Helgaas Signed-off-by: Greg Kroah-Hartman drivers/pci/hotplug/cpqphp_core.c | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) commit c8920f0c8b3b42537ab4a54ff92c11daf48fdfec tree f8ee6aaf2a90e46a630a113cca127b04ab1f5e2a parent d3535fbbce0eef8faa8de30d187fc83b11b858ef author Bjorn Helgaas Wed, 28 Sep 2005 15:15:16 -0600 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:58 -0700 [PATCH] cpcihp_zt5550: add pci_enable_device() Add pci_{enable,disable}_device() calls. Without pci_enable_device(), dev->irq is garbage, and cpcihp_zt5550 relies on it. Compiled but untested, since I don't have the hardware. Signed-off-by: Bjorn Helgaas Signed-off-by: Scott Murray Signed-off-by: Greg Kroah-Hartman drivers/pci/hotplug/cpcihp_zt5550.c | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) commit d3535fbbce0eef8faa8de30d187fc83b11b858ef tree e0bad970776d58a8a79bfeb12d310acabe05aa61 parent b30197d2c07b396907b81673354a015a9d2b216c author John W. Linville Wed, 28 Sep 2005 17:50:51 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:58 -0700 [PATCH] pci: cleanup need_restore switch statement Cleanup the need_restore switch statement in pci_set_power_state(). This makes it more safe by explicitly handling all the PCI power states instead of handling them as the default case. It also reads a little better IMHO. Signed-off-by: John W. Linville Signed-off-by: Greg Kroah-Hartman commit b30197d2c07b396907b81673354a015a9d2b216c tree eb70ae0b28d7164510a4a9e78444cc7f81616490 parent e04b0ea2e0f9c1bb0d874db4493fc7f7a623116b author Brian King Tue, 27 Sep 2005 01:21:56 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:58 -0700 [PATCH] PCI: ipr: Block config access during BIST IPR scsi adapter have an exposure today in that they issue BIST to the adapter to reset the card. If, during the time it takes to complete BIST, userspace attempts to access PCI config space, the host bus bridge will master abort the access since the ipr adapter does not respond on the PCI bus for a brief period of time when running BIST. On PPC64 hardware, this master abort results in the host PCI bridge isolating that PCI device from the rest of the system, making the device unusable until Linux is rebooted. This patch makes use of some newly added PCI layer APIs that allow for protection from userspace accessing config space of a device in scenarios such as this. Signed-off-by: Brian King Cc: Benjamin Herrenschmidt Cc: James Bottomley Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman drivers/scsi/ipr.c | 2 ++ 1 file changed, 2 insertions(+) commit e04b0ea2e0f9c1bb0d874db4493fc7f7a623116b tree 75937e50de883f69e906a4c8bc9f119d86c14411 parent 2cea752f683af1be58ee8f25717c0a8118e0ac5b author Brian King Tue, 27 Sep 2005 01:21:55 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:58 -0700 [PATCH] PCI: Block config access during BIST Some PCI adapters (eg. ipr scsi adapters) have an exposure today in that they issue BIST to the adapter to reset the card. If, during the time it takes to complete BIST, userspace attempts to access PCI config space, the host bus bridge will master abort the access since the ipr adapter does not respond on the PCI bus for a brief period of time when running BIST. On PPC64 hardware, this master abort results in the host PCI bridge isolating that PCI device from the rest of the system, making the device unusable until Linux is rebooted. This patch is an attempt to close that exposure by introducing some blocking code in the PCI code. When blocked, writes will be humored and reads will return the cached value. Ben Herrenschmidt has also mentioned that he plans to use this in PPC power management. Signed-off-by: Brian King Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman drivers/pci/access.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++++ drivers/pci/pci-sysfs.c | 20 +++++----- drivers/pci/pci.h | 7 +++ drivers/pci/proc.c | 28 +++++++-------- drivers/pci/syscall.c | 14 +++---- include/linux/pci.h | 7 +++ 6 files changed, 134 insertions(+), 31 deletions(-) commit 2cea752f683af1be58ee8f25717c0a8118e0ac5b tree a0d40566377824eb6cfe5faac802140392dcee28 parent 20731945ae743034353a88c307920d1f16cf8ac8 author R.Marek@sh.cvut.cz Tue, 27 Sep 2005 21:54:51 +0000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 15:36:58 -0700 [PATCH] PCI: ICH6 ACPI and GPIO quirk This patch just adds ACPI and GPIO regions to its LPC bridge, similar way as ICH4 did. I would like to thank Michal Mleczko for testing. Signed-off-by: Rudolf Marek Signed-off-by: Greg Kroah-Hartman drivers/pci/quirks.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 96a339985d4c6874d32909e8f1903e6e6c141399 tree d3eb8006efa5e03bb0ef875bf8dc2ed1d90ecb21 parent a1ab3582699def352dab1355adcadd3d47f79f0f author Ivan Skytte Jorgensen Fri, 28 Oct 2005 15:36:12 -0700 committer Sridhar Samudrala Fri, 28 Oct 2005 15:36:12 -0700 [SCTP] Allow SCTP_MAXSEG to revert to default frag point with a '0' value. Signed-off-by: Ivan Skytte Jorgensen Signed-off-by: Sridhar Samudrala commit a1ab3582699def352dab1355adcadd3d47f79f0f tree 48faf33fae1b82f15df770e6340f58a858393e43 parent eaa5c54dbec70e2a93d6ed412bb589bbf9c90a17 author Ivan Skytte Jorgensen Fri, 28 Oct 2005 15:33:24 -0700 committer Sridhar Samudrala Fri, 28 Oct 2005 15:33:24 -0700 [SCTP] Fix SCTP_SETADAPTION sockopt to use the correct structure. Signed-off-by: Ivan Skytte Jorgensen Signed-off-by: Sridhar Samudrala commit 1993d683f39f77ddb46a662d7146247877d50b8f tree 608391d9daa25e13b70cc11d6b99f800a7079050 parent cb0f0910f4b41772a6771bdb4fb2d419b27bcd77 author Roland Dreier Fri, 28 Oct 2005 15:30:34 -0700 committer Roland Dreier Fri, 28 Oct 2005 15:30:34 -0700 [IPoIB] Drop RX packets when out of memory Change the way IPoIB handles RX packets when it can't allocate a new receive skbuff. If the allocation of a new receive skb fails, we now drop the packet we just received and repost the original receive skb. This means that the receive ring always stays full and we don't have to monkey around with trying to schedule a refill task for later. Signed-off-by: Roland Dreier commit fb5f329d58c67cadc8ff07193ea7556923d49d1b tree f26147586d353afc5f5979693769379186280736 parent 9590204d31f8a5f47e890fbbdbcd37dd78f0581a parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Tony Luck Fri, 28 Oct 2005 15:28:54 -0700 committer Tony Luck Fri, 28 Oct 2005 15:28:54 -0700 Auto-update from upstream commit 9590204d31f8a5f47e890fbbdbcd37dd78f0581a tree 670235feba2ca1fffe0bd26ddecdf1c08f87618c parent 8496f2a4513edbc0c1d40496f1b0868dfed36eb0 parent 4ac0068f44f192f2de95a7bb36df3e19767a45fb author Tony Luck Fri, 28 Oct 2005 15:27:48 -0700 committer Tony Luck Fri, 28 Oct 2005 15:27:48 -0700 Pull optimize-ptrace-threads into release branch commit 8496f2a4513edbc0c1d40496f1b0868dfed36eb0 tree 18a772d7a4c42ec325539b52d2053dabc99c460a parent 2d8f6a521908e3563478347aecad4ab20dc48155 parent c1902aae322952f8726469a6657df7b9d5c794fe author Tony Luck Fri, 28 Oct 2005 15:27:36 -0700 committer Tony Luck Fri, 28 Oct 2005 15:27:36 -0700 Pull fix-slow-tlb-purge into release branch commit 2d8f6a521908e3563478347aecad4ab20dc48155 tree 0eb0fa70b50807130f94dbe228d09d20707368a1 parent fac84ef26759a3725bfc53ae3abf21976360aff3 parent e7f98dbbb89b68b23a5115708412a820a713fbf1 author Tony Luck Fri, 28 Oct 2005 15:27:16 -0700 committer Tony Luck Fri, 28 Oct 2005 15:27:16 -0700 Pull fix-bte-copy into release branch commit fac84ef26759a3725bfc53ae3abf21976360aff3 tree 94aa9362e72a0736948adc78cb43ebf44f59580b parent d73dee6ee4b554074f88e4ebd956ea4db8552d52 parent 279290294662d4a35d209fb7d7c46523cfa3d63d author Tony Luck Fri, 28 Oct 2005 15:27:03 -0700 committer Tony Luck Fri, 28 Oct 2005 15:27:03 -0700 Pull xpc-disengage into release branch commit d73dee6ee4b554074f88e4ebd956ea4db8552d52 tree 9f4468c7b54d0796d7659ce3ae30b756217522e9 parent 9acd3fa2e10f4e5b093ddf93af8f23cc9bdbd621 parent ddf6d0a00cbb4ad6d4fb4200cc911bb9389174c1 author Tony Luck Fri, 28 Oct 2005 15:26:43 -0700 committer Tony Luck Fri, 28 Oct 2005 15:26:43 -0700 Pull for-each-cpu into release branch commit eaa5c54dbec70e2a93d6ed412bb589bbf9c90a17 tree 4047a75f7f74d978bad9c4862afbd47c8cda595a parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Ivan Skytte Jorgensen Fri, 28 Oct 2005 15:10:00 -0700 committer Sridhar Samudrala Fri, 28 Oct 2005 15:10:00 -0700 [SCTP] Rename SCTP specific control message flags. Rename SCTP specific control message flags to use SCTP_ prefix rather than MSG_ prefix as per the latest sctp sockets API draft. Signed-off-by: Ivan Skytte Jorgensen Signed-off-by: Sridhar Samudrala commit 9acd3fa2e10f4e5b093ddf93af8f23cc9bdbd621 tree fefb8d52a8ef074d59f2b342d18b4372dde8952c parent 5a2b1722e1051b84485a77006abe9b929aedef32 parent 9c184a073bfd650cc791956d6ca79725bb682716 author Tony Luck Fri, 28 Oct 2005 14:33:50 -0700 committer Tony Luck Fri, 28 Oct 2005 14:33:50 -0700 Pull asm-slot-fix into release branch commit 5a2b1722e1051b84485a77006abe9b929aedef32 tree 0f61eff618b22c698a97563c881ccea271464a0b parent 1e1bb25e97dcbc8820e673eb543be6b2dcfa080b parent ce6e71ad4866dad366be135b024b776c00ec9ec8 author Tony Luck Fri, 28 Oct 2005 14:33:35 -0700 committer Tony Luck Fri, 28 Oct 2005 14:33:35 -0700 Pull proc-cpuinfo-siblings into release branch commit 1e1bb25e97dcbc8820e673eb543be6b2dcfa080b tree 654544984d640037f1fd6b5258f158cb9adaed5b parent c87ff94333642ce3db4fc0857ad1f723cb42c1dd parent b6a7e1ecef66b9ecd1eed31f46ba0248d6d7e957 author Tony Luck Fri, 28 Oct 2005 14:33:14 -0700 committer Tony Luck Fri, 28 Oct 2005 14:33:14 -0700 Pull big-sim-disk into release branch commit c87ff94333642ce3db4fc0857ad1f723cb42c1dd tree 9577010b5ca20b692904c4728b305a9cbde5373e parent 556902cd2d2cfdc54fe1f1d7f3ac5e2eb276ac09 parent 1e5c936e3cc2ab745f66c0ae296c42f892ffd42a author Tony Luck Fri, 28 Oct 2005 14:32:56 -0700 committer Tony Luck Fri, 28 Oct 2005 14:32:56 -0700 Pull sparsemem-v5 into release branch commit 556902cd2d2cfdc54fe1f1d7f3ac5e2eb276ac09 tree 0327adc0cb1a4ae608ea293ae7d80a0948211b06 parent 5833f1420b96c4f9b193b7f2fcbc0003dc032fe8 parent 36735554571ea619e38210a20f429798de90adc1 author Tony Luck Fri, 28 Oct 2005 14:32:44 -0700 committer Tony Luck Fri, 28 Oct 2005 14:32:44 -0700 Pull remove-sn-bist-lock into release branch commit 5833f1420b96c4f9b193b7f2fcbc0003dc032fe8 tree ccb3933b3c694ba4724c3a392d6e275d992ed86b parent a1e78db3f54d3481726ed2d3d58d8ad5b19b13d0 parent d719948e623622cf9fc8016f7ec63422d929eb3b author Tony Luck Fri, 28 Oct 2005 14:32:30 -0700 committer Tony Luck Fri, 28 Oct 2005 14:32:30 -0700 Pull new-efi-memmap into release branch commit 20731945ae743034353a88c307920d1f16cf8ac8 tree 132c796fe3a167dece8cec7a40b1d5dd83a68bc8 parent 406119f49d4a6cf8b6eee639128e0575a95065e3 parent a9d1b24d91f91b77db3da8aeacb414764f789b9c author Linus Torvalds Fri, 28 Oct 2005 14:14:57 -0700 committer Linus Torvalds Fri, 28 Oct 2005 14:14:57 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6 commit c45154a3b1fecdbb51b5462c9f730b44e62b83a5 tree d732790e3243e1a11e9a122f7aaa6495d1fbf2f5 parent 07c1da2396632a4ad2cab41c6cd939b159f54968 author Ed Kear Sat, 16 Jul 2005 23:32:19 -0400 committer Jeff Garzik Fri, 28 Oct 2005 17:02:50 -0400 [PATCH] libata: add support for Promise SATA 300 TX2plus PDC40775 I'm using this card in a RAID1 with 2 new SATA drives with no problems. Card - SATA 300 TX2plus PDC40775 (3d73) Signed-off-by: Ed Kear Signed-off-by: Jeff Garzik commit a9d1b24d91f91b77db3da8aeacb414764f789b9c tree a7400c6154b7e5b6839b3c25fecc2daac75c4a2b parent 0dc9a32d9a975ccd25b9f531451165c93e1c7313 author Greg Kroah-Hartman Sat, 22 Oct 2005 00:23:27 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:15 -0700 [PATCH] I2C: add i2c module alias for i2c drivers to use This is the start of adding hotplug-like support for i2c devices. Signed-off-by: Greg Kroah-Hartman commit 0dc9a32d9a975ccd25b9f531451165c93e1c7313 tree df2c1fd2bd0f98d305a9630da86737a91201d8f9 parent b890a07f7b002ee473986fa85ae3582de399a4cf author Greg Kroah-Hartman Sat, 22 Oct 2005 00:23:27 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] I2C: remove devfs support from i2c-dev driver as devfs is gone, this isn't needed anymore. Signed-off-by: Greg Kroah-Hartman commit b890a07f7b002ee473986fa85ae3582de399a4cf tree d29b5a2d41d0a6ce7b5da57576cb876f53e29eac parent 90209b42d0498d57a804bf81fea427bf39c5315c author Jean Delvare Wed, 26 Oct 2005 22:21:24 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] hwmon: smsc47m1 documentation update The SMSC LPC47M997 Super-I/O chip seems to be compatible with the LPC47M192, so it is supported by the smsc47m1 driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 90209b42d0498d57a804bf81fea427bf39c5315c tree e6668317e71a45ed585ecdb27eafa0b285dc9f33 parent c3df5806cdae6fac678c662b527cb974bef4b60c author Jean Delvare Wed, 26 Oct 2005 22:20:21 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] hwmon: lm90 documentation update Update the I2C addresses for the ADM1032 and ADT7461 chips. Also update the links to the Analog Devices web site. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit c3df5806cdae6fac678c662b527cb974bef4b60c tree a510da8447852247907dd6896cdf51c7e3d60844 parent 8256fe0f40f1cd72f80f2c46fe0ab1638f03a98d author Jean Delvare Wed, 26 Oct 2005 21:39:40 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] hwmon: Add PEC support to the lm90 driver Add PEC support to the lm90 driver. Only the ADM1032 chip supports it, and in a rather tricky way, which is why this patch comes with documentation reinforcements. At least, this demonstrates that the new PEC support logic in i2c-core can properly deal with chips with partial PEC support. As enabling PEC causes a significant performance drop, it can be disabled through a sysfs file (unsurprisingly named "pec"). Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 8256fe0f40f1cd72f80f2c46fe0ab1638f03a98d tree 7a61802fe469ad3f199506ed832ad460d32b3649 parent e8aac4a9b417643dd9739b48473790a09b8b6cbe author Jean Delvare Wed, 26 Oct 2005 21:37:52 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] hwmon: Separate the lm90 register read function Preparatory patch to add PEC support to the lm90 driver. We need a centralized function to read register values, where the PEC code will be later inserted. A positive side effect is that read errors are now handled properly. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit e8aac4a9b417643dd9739b48473790a09b8b6cbe tree 70934ffa1a7327c62d13f09d0e1d8b74277b0a62 parent 585b3160f8212e58325bc1c0292c2ec01ac5db84 author Jean Delvare Wed, 26 Oct 2005 21:34:42 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] i2c: i2c-i801 PEC code cleanups The tests leading to the use of hardware PEC in the i2c-i801 driver can be simplified. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 585b3160f8212e58325bc1c0292c2ec01ac5db84 tree 368c38952dc1ee6b514266f6b25a285d6bc5d98c parent 421ef47be20c5454b12ae0ec918d5073a9d2b938 author Jean Delvare Wed, 26 Oct 2005 21:31:15 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] i2c: SMBus PEC support rewrite, 3 of 3 The new SMBus PEC implementation doesn't support PEC emulation on non-PEC non-I2C SMBus masters, so we can drop all related code. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 421ef47be20c5454b12ae0ec918d5073a9d2b938 tree a7225bd055acb418693d0e6ed4f8d886dc68ec55 parent b8095544bc27044a7aa79e1e073b781a249910c3 author Jean Delvare Wed, 26 Oct 2005 21:28:55 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:14 -0700 [PATCH] i2c: SMBus PEC support rewrite, 2 of 3 This is my rewrite of the SMBus PEC support. The original implementation was known to have bugs (credits go to Hideki Iwamoto for reporting many of them recently), and was incomplete due to a conceptual limitation. The rewrite affects only software PEC. Hardware PEC needs very little code and is mostly untouched. Technically, both implementations differ in that the original one was emulating PEC in software by modifying the contents of an i2c_smbus_data union (changing the transaction to a different type), while the new one works one level lower, on i2c_msg structures (working on message contents). Due to the definition of the i2c_smbus_data union, not all SMBus transactions could be handled (at least not without changing the definition of this union, which would break user-space compatibility), and those which could had to be implemented individually. At the opposite, adding PEC to an i2c_msg structure can be done on any SMBus transaction with common code. Advantages of the new implementation: * It's about twice as small (from ~136 lines before to ~70 now, only counting i2c-core, including blank and comment lines). The memory used by i2c-core is down by ~640 bytes (~3.5%). * Easier to validate, less tricky code. The code being common to all transactions by design, the risk that a bug can stay uncovered is lower. * All SMBus transactions have PEC support in I2C emulation mode (providing the non-PEC transaction is also implemented). Transactions which have no emulation code right now will get PEC support for free when they finally get implemented. * Allows for code simplifications in header files and bus drivers (patch follows). Drawbacks (I guess there had to be at least one): * PEC emulation for non-PEC capable non-I2C SMBus masters was dropped. It was based on SMBus tricks and doesn't quite fit in the new design. I don't think it's really a problem, as the benefit was certainly not worth the additional complexity, but it's only fair that I at least mention it. Lastly, let's note that the new implementation does slightly affect compatibility (both in kernel and user-space), but doesn't actually break it. Some defines will be dropped, but the code can always be changed in a way that will work with both the old and the new implementations. It shouldn't be a problem as there doesn't seem to be many users of SMBus PEC to date anyway. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit b8095544bc27044a7aa79e1e073b781a249910c3 tree 2e7f92c1d6765d44531a5d5c830e53fc2f8d760f parent 142078f6f09986c2b8f5ebe215ce405438080317 author Jean Delvare Wed, 26 Oct 2005 21:25:04 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:13 -0700 [PATCH] i2c: SMBus PEC support rewrite, 1 of 3 Discard I2C_FUNC_SMBUS_*_PEC defines. i2c clients are not supposed to check for PEC support of i2c bus drivers on individual SMBus transactions, and i2c bus drivers are not supposed to advertise them. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 142078f6f09986c2b8f5ebe215ce405438080317 tree 4dbfcd958b06e3935ba64f3ba6bbbd12c5b26f5b parent eb00a28ae1a8fc4b3914f94ab1944396b8dda9fc author Jean Delvare Wed, 26 Oct 2005 21:21:50 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:13 -0700 [PATCH] i2c: i2c-i810 documentation update Update the documented list of devices supported by the i2c-i810 driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit eb00a28ae1a8fc4b3914f94ab1944396b8dda9fc tree 002802351fdc91eacce8de3a6fe442c2299a99f0 parent cd19cc4732395eb3dbaf49042233b5ac69b1fbd3 author Jean Delvare Wed, 26 Oct 2005 21:20:17 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:13 -0700 [PATCH] i2c: Drop unused parport i2c IDs Drop unused i2c-over-parallel-port i2c IDs: * I2C_HW_B_LPC was never actually used as far as I could search. * I2C_HW_B_ELV and I2C_HW_B_VELLE are no more used since the introduction of the unified i2c-parport driver in Linux 2.6.2. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit cd19cc4732395eb3dbaf49042233b5ac69b1fbd3 tree a904941e7033eac700530cdecdd759f933f6c9f0 parent 6344a8ece0bacccf61817450e8ccf78c973fc0c5 author Jean Delvare Wed, 26 Oct 2005 21:14:16 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:13 -0700 [PATCH] i2c: ID redefinition cleanups Fix several redefinitions of i2c IDs. i2c IDs must not be defined outside of i2c-id.h. Signed-off-by: Jean Delvare Signed-off-by: Henk Vergonet Acked-by: Mark McClelland Signed-off-by: Greg Kroah-Hartman commit 6344a8ece0bacccf61817450e8ccf78c973fc0c5 tree 2cfb965523a097ce90163dee5482ffa5fd5ab009 parent c49efceffa599299ab3f38b1cdf8c2f1bf9811c4 author Ben Dooks Wed, 26 Oct 2005 21:09:41 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:13 -0700 [PATCH] i2c: Static function fixes, 4 of 4 Fix functions declared static and then implemented without the static in drivers/i2c/chips. Signed-off-by: Ben Dooks Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit c49efceffa599299ab3f38b1cdf8c2f1bf9811c4 tree e7b0124f85ad5563875c92679545f4c2fb38c956 parent d8d2061590c87c20bf78133461bc74df78803ecb author Ben Dooks Wed, 26 Oct 2005 21:07:25 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:13 -0700 [PATCH] hwmon: Static function fixes, 3 of 4 Fixup functions that have been declared static and then actually defined without the static on. Signed-off-by: Ben Dooks Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit d8d2061590c87c20bf78133461bc74df78803ecb tree 39ca3da820be362cabfff53f9d5446f6c3dc8059 parent 6536c49a1ee2bd85eee0e7fa41e67c5743f2f93e author Ben Dooks Wed, 26 Oct 2005 21:05:46 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:13 -0700 [PATCH] hwmon: Static function fixes, 2 of 4 lm78.c and lm85.c have a number of items declared static then implemented without the static on them. The following patch fixes these sparse errors. Signed-off-by: Ben Dooks Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 6536c49a1ee2bd85eee0e7fa41e67c5743f2f93e tree 6286f837ae9b7109aae92658f2b676e0151c2766 parent 2445eb62e98250f1ec8cbc8cf7c4be9cfafe88e5 author Ben Dooks Wed, 26 Oct 2005 21:04:12 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] i2c: Static function fixes, 1 of 4 eeprom_detect is first declared static and then when the function is actually implemented, there is no static. Signed-off-by: Ben Dooks Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 2445eb62e98250f1ec8cbc8cf7c4be9cfafe88e5 tree d378cbfddb05c37d09cf03c71f070b02aed7a9cc parent deb875c7ff2ef417a2daff41ee4b357098b7ab10 author Jean Delvare Mon, 17 Oct 2005 23:16:25 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] i2c: Documentation update Update the i2c documentation: kzalloc should be used instead of kmalloc. I also fixed a couple other things nearby in writing-clients, as several past changes had never been reported there. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit deb875c7ff2ef417a2daff41ee4b357098b7ab10 tree aad952c341d91e9c6bda7653d73bb8f2624dd8a0 parent 078d9fe4fe8dada13e37d2e2790b0ad780324097 author Jean Delvare Mon, 17 Oct 2005 23:14:31 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] i2c: kzalloc cleanups, 2 of 2 Use kzalloc instead of kmalloc in the S4882 SMBus multiplexing driver. I guess it's safer that way. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 078d9fe4fe8dada13e37d2e2790b0ad780324097 tree dc878bab118133d65a78eb553d7eaa7ccb21cc84 parent 5263ebb51eb098b01caf229498c954999117e4a7 author Jean Delvare Mon, 17 Oct 2005 23:12:36 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] i2c: kzalloc cleanups, 1 of 2 Drop useless casts on kzalloc returned values, as suggested by Jiri Slaby. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 5263ebb51eb098b01caf229498c954999117e4a7 tree f18933c0b38a51ba9f100e7be4f5f5d54838cf45 parent ba9c2e8d15da029ea3051c95e446b2d638ef02e2 author Deepak Saxena Mon, 17 Oct 2005 23:09:43 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] i2c: kzalloc conversion, other drivers Use kzalloc instead of kmalloc+memset in all remaining i2c bus and chip drivers. Signed-off-by: Deepak Saxena Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit ba9c2e8d15da029ea3051c95e446b2d638ef02e2 tree 28272b92080f18f16008c09464190939183c8698 parent 2286066faf51890e49ad61e2ceab683666cd9108 author Deepak Saxena Mon, 17 Oct 2005 23:08:32 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] hwmon: kzalloc conversion Use kzalloc instead of kmalloc+memset in all hardware monitoring drivers. Signed-off-by: Deepak Saxena Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 2286066faf51890e49ad61e2ceab683666cd9108 tree fc9e7dc7a898e80485ea25065ff9143ec0e6407e parent 4d4e5ce8648561b964699afb2df5e7268a84599b author Deepak Saxena Mon, 17 Oct 2005 23:07:05 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] i2c: kzalloc conversion, ixp bus drivers Use kzalloc instead of kmalloc+memzero in the ixp2000 and ixp4xx I2C bus drivers. Signed-off-by: Deepak Saxena Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 4d4e5ce8648561b964699afb2df5e7268a84599b tree 95d88cfc63db1e14cba71074a6108ed9a4b16737 parent ddec748f328af6b67e4d0ce0248a8e9f36751827 author Alessandro Zummo Mon, 17 Oct 2005 23:04:42 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:12 -0700 [PATCH] i2c: New Xicor X1205 RTC driver New driver for the Xicor X1205 RTC chip. Signed-off-by: Alessandro Zummo Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit ddec748f328af6b67e4d0ce0248a8e9f36751827 tree ce99658260e0a5f3d56e67d5d33ce8e498947990 parent 7ab83a9137ccd3e092fb6ad0cb105b4d1fb617ae author Jean Delvare Mon, 17 Oct 2005 23:02:42 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:11 -0700 [PATCH] hwmon: Missing class check in two hwmon drivers The atxp1 and ds1621 drivers should make sure they do not probe non-hwmon i2c adapters. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 7ab83a9137ccd3e092fb6ad0cb105b4d1fb617ae tree e76341e6617eac19514ce2e41768514f7c9acedb parent 1747ef1b8c9b7b9c6a9aae3543a9b99acabb7e10 author Mark M. Hoffman Mon, 17 Oct 2005 23:01:45 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:11 -0700 [PATCH] hwmon: New device ID for the smsc47b397 driver This patch adds a new ID to the SMSC LPC47B397-NC hardware monitoring driver - for a chip that is claimed to be 100% compatible otherwise. Signed-off-by: Bryan Young (Utilitek Systems, Inc.) Signed-off-by: Mark M. Hoffman Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 1747ef1b8c9b7b9c6a9aae3543a9b99acabb7e10 tree 3f436cabbffd56f103ea9464f5056597b474ebd9 parent 6586bcd7b2bbe255110b2db772da4415c7865a2a author Laurent Riffard Mon, 17 Oct 2005 22:58:35 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:11 -0700 [PATCH] Owner field additions to many i2c drivers, 5 of 5 In function i2c_isa_add_driver, copied driver should inherit the owner field as well as the name field. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 6586bcd7b2bbe255110b2db772da4415c7865a2a tree 0f5b10ccc7656fef1817c8fb7489aff51389de54 parent e78f857cc5299c3f6b3d046084696ef205948837 author Laurent Riffard Mon, 17 Oct 2005 22:54:45 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:11 -0700 [PATCH] Owner field additions to many i2c drivers, 4 of 5 This patch updates the .owner field for the i2c core struct xxxx_driver variables. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit e78f857cc5299c3f6b3d046084696ef205948837 tree ff83d0b12d252becaa211f99da5b9e1f9c74f9b7 parent 0cf3628181660be4e21fe520766dcbc3da9d71c8 author Laurent Riffard Mon, 17 Oct 2005 22:53:52 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:11 -0700 [PATCH] Owner field additions to many i2c drivers, 3 of 5 This patch updates the .owner field for various struct xxxx_driver variables which are available on PPC_MAC arch. This one was _not_ even compile-tested... Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 0cf3628181660be4e21fe520766dcbc3da9d71c8 tree 0537200cc49c93bb2d2f3630f589ff2b87718f91 parent ccd7aa0cc9413b79b69f6cd7c18daa1c22dfa512 author Laurent Riffard Mon, 17 Oct 2005 22:51:37 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:11 -0700 [PATCH] Owner field additions to many i2c drivers, 2 of 5 This patch updates the .owner field for various struct xxxx_driver variables, other than pci_driver. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Acked-by: Mark A. Greer Acked-by: Ben Dooks Acked-by: Deepak Saxena Signed-off-by: Greg Kroah-Hartman commit ccd7aa0cc9413b79b69f6cd7c18daa1c22dfa512 tree da13f4e66aeb206019d5a1a5796b5a30ac65da7d parent fe3d6a99782d5345b1927e872d77d1778668094b author Laurent Riffard Mon, 17 Oct 2005 22:47:48 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:11 -0700 [PATCH] Owner field additions to many i2c drivers, 1 of 5 This patch updates .owner field for various struct pci_driver variables. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit fe3d6a99782d5345b1927e872d77d1778668094b tree d275d3abee80c0ec19193350ede05308697b51fe parent 3634ff6a32e90d9db0ec19297e80059143c1aa7f author Stig Telfer Sat, 08 Oct 2005 00:23:27 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:10 -0700 [PATCH] i2c: Big i2c-elektor cleanup Cleanups to the i2c-elektor driver: * Set the i2c_adapter name field to "i2c-elektor" and use this string in all resource requests and printks. * Change space-padding for tab indentation, kill trailing white space, remove space before comma. * Use dev_info, pr_info and pr_debug instead of printk. * Lines chopped to 80 columns. Signed-off-by: Stig Telfer Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 3634ff6a32e90d9db0ec19297e80059143c1aa7f tree c07cf34e839b70d9ab1c604b179943b199d542f3 parent 00bffb6e29c5ef12cea7904905f8b959187076c9 author Stig Telfer Sat, 08 Oct 2005 00:21:48 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:10 -0700 [PATCH] i2c: Fix i2c-elektor on Alpha This patch updates the i2c-elektor driver, enabling it to compile cleanly, load and run. The key change is that it uses the new __iomem/iowrite8/ioread8 functions to abstract the direct or memory-mapped variants of register access. Also, the original driver would crash on module load on the Alpha because the PCI memory region was not remapped into kernel memory. I have managed the following testing: * compiled and tested it on my Alpha UP2000+ system. * compiles cleanly for x86 but I don't have the hardware to test. Signed-off-by: Stig Telfer Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 00bffb6e29c5ef12cea7904905f8b959187076c9 tree 76da2f90a3ae3bd697cfbe8d7be358e9892b4f89 parent 6c129be8c7bd1bdbd47ba8e17f6e5053ef04aee8 author Jean Delvare Sat, 08 Oct 2005 00:19:52 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:10 -0700 [PATCH] i2c: Drop meaningless use of I2C_DF_NOTIFY in i2c_client structures I2C_DF_NOTIFY is an i2c_driver flag, using it as an i2c_client flag doesn't make any sense. Signed-off-by: Jean Delvare Acked-by: Mark A. Greer Acked-by: Randy Vinson Signed-off-by: Greg Kroah-Hartman commit 6c129be8c7bd1bdbd47ba8e17f6e5053ef04aee8 tree ee63ddf9651ae49a2b48615135ea338ba9e12bb9 parent 30dac7469741906436b50f9413dccd446366d371 author Jean Delvare Sat, 08 Oct 2005 00:17:35 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:10 -0700 [PATCH] i2c: Rename i2c-parport variable to avoid confusion It's a bit confusing to name a variable the same as an unrelated structure. The compiler doesn't complain, but it certainly makes the code harder to understand, and could confuse grep and LXR among others. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 30dac7469741906436b50f9413dccd446366d371 tree b5285192cd8b4274781d2dabd3bf89ceefadba82 parent d3554b4a2fb0e2229eb0d3fa9ece5b2f0b906d3e author Jean Delvare Sat, 08 Oct 2005 00:15:59 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:10 -0700 [PATCH] i2c: Drop I2C_SMBUS_I2C_BLOCK_MAX Drop I2C_SMBUS_I2C_BLOCK_MAX, use I2C_SMBUS_BLOCK_MAX instead. I2C_SMBUS_I2C_BLOCK_MAX has always been defined to the same value as I2C_SMBUS_BLOCK_MAX, and this will never change: setting it to a lower value would make no sense, setting it to a higher value would break i2c_smbus_data compatibility. There is no point in changing i2c_smbus_data to support larger block transactions in SMBus mode, as no SMBus hardware supports more than 32 byte blocks. Thus, for larger transactions, direct I2C transfers are the way to go. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit d3554b4a2fb0e2229eb0d3fa9ece5b2f0b906d3e tree 34015428b2b1eee320130b7fea86504ff41834d0 parent 862bc36f682b25dd97833f702b4f8c97661b8811 author Jean Delvare Sat, 08 Oct 2005 00:14:17 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:10 -0700 [PATCH] i2c: Drop unused per-i2c-algorithm adapter max There are no more per-i2c-algorithm adapter max. Last time there were was in July 1999. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 862bc36f682b25dd97833f702b4f8c97661b8811 tree bdafe5326e72ec7cc9a677746ca7332ae73e7bd3 parent 91749996287c230671788014f422f72e594e7b86 author Jean Delvare Sat, 08 Oct 2005 00:12:01 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:10 -0700 [PATCH] hwmon: Drop useless w83627hf initialization step Drop a useless initialization step in the w83627hf driver. The comment says that the W83627HF PWM2 can be disabled, but it can't. I suppose this is a leftover from the w83781d driver (from which the w83627hf driver is derived), as for example the W83782D had the ability to disable PWM2. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 91749996287c230671788014f422f72e594e7b86 tree 65da0e02eba42ad395db31e36cc673b65a2c5706 parent 80ce3b7d0f52877b80cddc3ace8b332d888f0131 author Jean Delvare Sat, 08 Oct 2005 00:10:00 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:09 -0700 [PATCH] hwmon: Drop legacy ISA address support from it87 Drop legacy ISA address support from the it87 driver. All supported chips are Super-I/O chips, so the device ISA address can be safely read from Super-I/O space rather than blindly assumed. Two nearby inaccurate documentation statements have been fixed as well: * The IT8705F doesn't have an SMBus interface. * The SiS950 doesn't have a distinct prefix. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 80ce3b7d0f52877b80cddc3ace8b332d888f0131 tree 8ca3be85ad953a8a9c874e1c0e805dcd7314c19a parent 31ec5bc57146a479fac6f6878146059180413e43 author Jean Delvare Sat, 08 Oct 2005 00:06:09 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:09 -0700 [PATCH] i2c: Drop out-of-date, colliding ioctl definitions Delete 2 out-of-date, colliding ioctl defines. I2C_UDELAY and I2C_MDELAY are supposed to be used by i2c-algo-bit, but actually aren't (and I suspect never were). Moreover, their values are the same as I2C_FUNCS and I2C_SLAVE_FORCE, respectively, which *are* widely used. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 31ec5bc57146a479fac6f6878146059180413e43 tree 1d07157c39a0ed694c5a2cfb97254b1a2f04d25a parent 7865e24935ec7e76fb482c749015a23052e51f76 author Jean Delvare Sat, 08 Oct 2005 00:04:13 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:09 -0700 [PATCH] i2c: Fix misplaced i2c.h comment Fix a misplaced comment in i2c.h. Spotted by Hideki Iwamoto. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 7865e24935ec7e76fb482c749015a23052e51f76 tree 9a5fc835415cccc57ec2b7bf86365d4d6ac3f2ba parent 47b8b103f7f50d56568eb8d6cff0e3a2373f0eb3 author Jean Delvare Sat, 08 Oct 2005 00:00:31 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:09 -0700 [PATCH] i2c: Documentation fixes i2c documentation fixes. >From Hideki Iwamoto: * i2c_smbus_read_i2c_block_data is not deleted in 2.6.10. It still exists. * The name which can be set to i2c_driver is up to 31 characters. >From Jean Delvare: * Reword the paragraph about i2c_driver.name, to reflect the "new" naming policy. * Delete the out-of-date note about now gone inc_use and dec_use fields. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 47b8b103f7f50d56568eb8d6cff0e3a2373f0eb3 tree 477c11eeef2a45ac5c7dfeb761de50b2d89eeb9d parent ada0c2f8fa087dc1dbc34e096c318739b1d6381a author Jean Delvare Fri, 07 Oct 2005 23:56:46 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:09 -0700 [PATCH] i2c: Cleanup i2c-i801 ifdefs No more need to check for PEC support being available now that both the i2c-core and the i2c-i801 drivers are part of the Linux kernel source tree. It's just there. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit ada0c2f8fa087dc1dbc34e096c318739b1d6381a tree e7f80d1336e2190c138fd4226438195e2f67839d parent bf813b314a2271c3f3903eb3279ebf5e09b3d27a author Petr Vandrovec Fri, 07 Oct 2005 23:11:03 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:09 -0700 [PATCH] hwmon: Fix w83627ehf/hf vs PNPACPI conflict (bug #4014) This patch changes w83627hf and w83627ehf drivers to reserve only ports 0x295-0x296, instead of full 0x290-0x297 range. While some other sensors chips respond to all addresses in 0x290-0x297 range, Winbond chips respond to 0x295-0x296 only (this behavior is implied by documentation, and matches behavior observed on real systems). This is not problem alone, as no BIOS was found to put something at these unused addresses, and sensors chip itself provides nothing there as well. But in addition to only respond to these two addresses, also BIOS vendors report in their ACPI-PnP structures that there is some resource at I/O address 0x295 of length 2. And when later this hwmon driver attempts to request region with base 0x290/length 8, it fails as one request_region cannot span more than one device. Due to this we have to ask only for region this hardware really occupies, otherwise driver cannot be loaded on systems with ACPI-PnP enabled. Signed-off-by: Petr Vandrovec Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit bf813b314a2271c3f3903eb3279ebf5e09b3d27a tree da029880a66422cd5aebe0191287a215e9d273b0 parent e8aafcb2bba1fe122907161701a167e38174c7a5 author Jean Delvare Fri, 07 Oct 2005 23:09:04 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:09 -0700 [PATCH] i2c: Drop useless CVS revision IDs CVS revision IDs are totally useless and irrelevant by now. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit e8aafcb2bba1fe122907161701a167e38174c7a5 tree 1353e18055286d52d7f4f3a1d4a5cf028f024f5f parent 8a1b028bca95b5af36e94a660c4d284fe3313f74 author Jean Delvare Fri, 07 Oct 2005 23:06:27 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c: Cleanup i2c-dev ioctl debug message Cleanup the ioctl debug message in i2c-dev. In particular, the minor number is redundant now that the minor number and the adapter number are kept in sync. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 8a1b028bca95b5af36e94a660c4d284fe3313f74 tree 8fc0193e66117776b4112cb9484e61a51bf48a21 parent ca68f1193e8fc86470d4222d563d13b5584dc4f8 author Jean Delvare Fri, 07 Oct 2005 23:04:48 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c: Add missing i2c-ixp2000/4xx adapter name The ixp4xx and ixp2000 i2c bus drivers omit to fill the required i2c_adapter name field. Copy the device driver name field there. Signed-off-by: Jean Delvare Signed-off-by: Deepak Saxena Signed-off-by: Greg Kroah-Hartman commit ca68f1193e8fc86470d4222d563d13b5584dc4f8 tree 6bfb26f76e4a0986bfed32080d6aa6cec45f1b38 parent ed5453e54f0c4a29605fd8399f58649d8739f5f0 author Greg KH Thu, 22 Sep 2005 22:23:32 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c-viapro: Cleanup ifdef usage It's not nice to put #ifdef in the middle of functions. CC: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/busses/i2c-viapro.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit ed5453e54f0c4a29605fd8399f58649d8739f5f0 tree 935b4cb15b7baefb836cc80b45c814be51a8ce8c parent 50c1cc339ca72f7cb95d440d384346f4238dc494 author Jean Delvare Thu, 22 Sep 2005 22:23:32 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c-viapro: Improve register dump Improve the register dump used to debug the i2c-viapro driver. The original dump was missing the HSTSTS register and the block data buffer. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/busses/i2c-viapro.c | 38 ++++++++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 8 deletions(-) commit 50c1cc339ca72f7cb95d440d384346f4238dc494 tree 061a3c28705b77386f9598bee2c154d688d6d4cd parent aaf7f1477668f34dda65aba17e87c0bc2ebe84d1 author Jean Delvare Thu, 22 Sep 2005 22:15:53 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c-viapro: Refactor control outb By slightly shifting the interface between vt596_access and vt596_transaction, we can save two I/O accesses per SMBus transaction. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/busses/i2c-viapro.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit aaf7f1477668f34dda65aba17e87c0bc2ebe84d1 tree 116946873388e7d90a70823a9211be76a9dd6316 parent c2f559d5df5751780c0bd3ea0bd0aa17d47c0b39 author Jean Delvare Thu, 22 Sep 2005 22:09:07 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c-viapro: Update supported devices list Make it clearer which chips are supported by the i2c-viapro driver, and which support I2C block transactions. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Documentation/i2c/busses/i2c-viapro | 12 ++++++------ drivers/i2c/busses/i2c-viapro.c | 22 +++++++++++++--------- 2 files changed, 19 insertions(+), 15 deletions(-) commit c2f559d5df5751780c0bd3ea0bd0aa17d47c0b39 tree 96af915d018b5145b6e57bf450f5cd29cebeca79 parent f118301416953d677de738100c33eb8cfb7adecb author Jean Delvare Thu, 22 Sep 2005 22:01:07 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c-viapro: Code cleanups Cleanups to the i2c-viapro driver: * Kill unused defines. * Kill interrupt-related code, as the driver doesn't use interrupts. * Fix broken comments (some copied from i2c-piix4.) * Centralize the unsupported command error case in vt596_access. That way we'll catch all unsupported commands, not only I2C_SMBUS_PROC_CALL. * Refactor some code. * Convert some dev_dbg into dev_err. Errors better be reported even in non-debug mode. * Do not verify that the final reset succeeded. It'll be checked at the beginning of the next transaction anyway. * Use the driver name to reserve the I/O region. * Do not print the contents of the SMBREV register, it reads 0 on all chips I've seen so far. * Some other minor fixes all over the place. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/busses/i2c-viapro.c | 122 +++++++++++++--------------------------- 1 file changed, 41 insertions(+), 81 deletions(-) commit f118301416953d677de738100c33eb8cfb7adecb tree 145997f9c2159d1657dcaca8c56ee93341d8b5f9 parent 5f49ef8e8cefe0a95948b4270db28507c1c287d4 author Jean Delvare Thu, 22 Sep 2005 21:58:41 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:08 -0700 [PATCH] i2c-viapro: Implement I2C Block transactions Implement the I2C block transactions on VIA chips which support them: VT82C686B, VT8233, VT8233A, VT8235 and VT8237R. This speeds up EEPROM accesses by a factor 10 or so. I would like to thank Antonino A. Daplas, Hinko Kocevar, Salah Coronya and Andreas Henriksson for their help in testing this new feature. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Documentation/i2c/busses/i2c-viapro | 7 +++++- drivers/i2c/busses/i2c-viapro.c | 39 +++++++++++++++++++++++++++++++++--- 2 files changed, 42 insertions(+), 4 deletions(-) commit 5f49ef8e8cefe0a95948b4270db28507c1c287d4 tree ea50363d9480a9ccae000bd46633866561a62cea parent 32c0a520f506c046f241de2a3a9b02a395ef76d2 author Jean Delvare Thu, 22 Sep 2005 21:50:47 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] i2c-viapro: Coding style fixes Before I go on cleaning up and improving the i2c-viapro driver, let's fix all the coding style issues: mostly trailing white space, and spaces used where tabs should be. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Documentation/i2c/busses/i2c-viapro | 12 ++--- drivers/i2c/busses/i2c-viapro.c | 76 ++++++++++++++++++------------------ 2 files changed, 43 insertions(+), 45 deletions(-) commit 32c0a520f506c046f241de2a3a9b02a395ef76d2 tree 4af8da918c808be2d0dc444cf96df0a829c5ccf6 parent 5c50d1885981537ff3b8df6433951de6c9cb72cb author Jean Delvare Thu, 22 Sep 2005 21:47:58 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] i2c-viapro: New maintainer I am taking over the maintenance of the i2c-viapro SMBus driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman MAINTAINERS | 6 ++++++ 1 file changed, 6 insertions(+) commit 5c50d1885981537ff3b8df6433951de6c9cb72cb tree 1440c92b1716fb27a93c96fc9494aa7980421d95 parent 0f69a612f950f7508e556bf1b09390087d112115 author Hideki Iwamoto Sun, 25 Sep 2005 17:01:11 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] i2c: Several PEC-related fixes in software SMBus emulation Fix several errors in I2C SMBus emulation when PEC is used: * Weird logic error in SMBus Write Word transactions. * Wrong buffer size, affecting SMBus Block Write transactions. * Potential buffer overrun in SMBus Block Write transactions. From: Hideki Iwamoto Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/i2c-core.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 0f69a612f950f7508e556bf1b09390087d112115 tree f27080ba61dd0f51e328c25add031c61204f1c7f parent 332bf92b3338e140cbcfc25f69911e8ca59788c7 author Jean Delvare Sun, 25 Sep 2005 16:58:22 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] i2c: Minor i2c-amd8111 cleanup I noticed a useless instruction in the i2c-amd8111 driver. Signed-off-by: Jean Delvare CC: Vojtech Pavlik Signed-off-by: Greg Kroah-Hartman drivers/i2c/busses/i2c-amd8111.c | 1 - 1 file changed, 1 deletion(-) commit 332bf92b3338e140cbcfc25f69911e8ca59788c7 tree d6d8a3ee39fc08a3bc23b76c62403dbfe0fad36d parent d057c96cab72bc6b70570d25b90404f81d98e886 author Hideki Iwamoto Sun, 25 Sep 2005 16:56:43 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] i2c: Fix union i2c_smbus_data definition The i2c_smbus_data union block member has a comment stating that an extra byte is required for SMBus Block Process Call transactions. This has been true for three weeks around June 2002, but no more since, so it is about time that we drop this comment and fix the definition. From: Hideki Iwamoto Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman include/linux/i2c.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit d057c96cab72bc6b70570d25b90404f81d98e886 tree db7b1b5403693ac84fc1b84619a2fc3317bc2176 parent 4366dc946c01305cff49b07dabb806d2364f1edb author Hideki Iwamoto Sun, 25 Sep 2005 16:53:04 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] i2c: Fix I2C_FUNC_PROTOCOL_MANGLING documentation Fix the description of I2C_FUNC_PROTOCOL_MANGLING. From: Hideki Iwamoto Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Documentation/i2c/functionality | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 4366dc946c01305cff49b07dabb806d2364f1edb tree 0cc9f6a086d47f3b8688f2f8c8ce6d924be97d03 parent cb929eae78ec0b243dbf58039bce4af354f6020c author Jean Delvare Sun, 25 Sep 2005 16:50:06 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] i2c: Adjust i2c_probe() for busses without SMBUS_QUICK Move the check for SMBUS_QUICK in i2c_probe() after the forced addresses have been handled. This makes it possible for a driver to leave the probed address lists empty, only providing forced addresses, and get i2c_probe to work even if the bus doesn't support SMBUS_QUICK. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/i2c-core.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) commit cb929eae78ec0b243dbf58039bce4af354f6020c tree bdd5d708bac06c95c4ff067ff8f21688e9b31143 parent 709439a284bc5b7d42a70fee7119feb186c1ca99 author Jean Delvare Sun, 25 Sep 2005 16:45:03 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:07 -0700 [PATCH] hwmon: Minor w83l785ts optimization Using s8 instead of u8 to store temperature register values saves a few instructions on sysfs file read. The very same was done for several other drivers a while ago (lm63, lm83, lm90...) Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/hwmon/w83l785ts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 709439a284bc5b7d42a70fee7119feb186c1ca99 tree 12b41b5091cac96e2cff9d3ee878944689642616 parent d6072f842a77014220683ee5b781b7cee8f020d1 author Jean Delvare Sun, 25 Sep 2005 16:41:18 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:06 -0700 [PATCH] hwmon: w83l785ts converted to dynamic sysfs callbacks Convert the w83l785ts driver to use dynamic sysfs callbacks. This is a small driver so the benefit is thin, but still worth it. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/hwmon/w83l785ts.c | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) commit d6072f842a77014220683ee5b781b7cee8f020d1 tree d9409d911987815a73f6c08e1f1f67fe4d16bb3a parent 7d845b10d06fa20a595a5161edabc5e846ed28a6 author Jean Delvare Sun, 25 Sep 2005 16:37:04 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:06 -0700 [PATCH] i2c: Reuse name strings in i2c bus drivers Clean up name string usage in 12 i2c bus drivers: * Use the i2c_adapter name for requesting the I/O region rather than redefining a new string. * Do not initialize the i2c_adapter name to "unset". This should save a few data bytes here and there. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/busses/i2c-ali1535.c | 6 +++--- drivers/i2c/busses/i2c-ali1563.c | 6 ++++-- drivers/i2c/busses/i2c-ali15x3.c | 5 +++-- drivers/i2c/busses/i2c-amd756.c | 5 ++--- drivers/i2c/busses/i2c-amd8111.c | 4 +++- drivers/i2c/busses/i2c-i801.c | 4 ++-- drivers/i2c/busses/i2c-nforce2.c | 4 ++-- drivers/i2c/busses/i2c-piix4.c | 4 ++-- drivers/i2c/busses/i2c-sis5595.c | 5 +++-- drivers/i2c/busses/i2c-sis630.c | 6 ++++-- drivers/i2c/busses/i2c-sis96x.c | 5 +++-- drivers/i2c/busses/i2c-via.c | 4 ++-- 12 files changed, 33 insertions(+), 25 deletions(-) commit 7d845b10d06fa20a595a5161edabc5e846ed28a6 tree 93082c4be645f1d7a242e34de74d343e1aa3ff46 parent 0200296310a454b39efc995e676f9ff60e641edb author Jean Delvare Sun, 25 Sep 2005 16:29:38 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:06 -0700 [PATCH] hwmon: Discard bogus comment about init setting limits Discard a common out-of-date comment in 5 hardware monitoring drivers. The hardware monitoring chip drivers are no more setting sensor limits at initialization time, for quite some time already. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/hwmon/lm78.c | 1 - drivers/hwmon/via686a.c | 1 - drivers/hwmon/w83627hf.c | 1 - drivers/hwmon/w83781d.c | 1 - drivers/hwmon/w83792d.c | 1 - 5 files changed, 5 deletions(-) commit 0200296310a454b39efc995e676f9ff60e641edb tree 9567c8d36528a4118e45c4d589dc40ea4af1cc85 parent 605070952f0b41caaa211c47b02eeac703529008 author Jean Delvare Sun, 25 Sep 2005 16:26:44 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:06 -0700 [PATCH] hwmon: Discard explicit static initializations to 0 Kill explicit static initializations to 0 in 2 hwmon drivers. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/hwmon/adm1021.c | 2 +- drivers/hwmon/via686a.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 605070952f0b41caaa211c47b02eeac703529008 tree 2fd15a6609ed602877164eec399fcae0919f64ea parent b918ecd2429e1a89b846d9e49ca4520b963c13e8 author Jean Delvare Sun, 25 Sep 2005 16:23:07 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:06 -0700 [PATCH] i2c: Discard explicit static initializations to 0 Kill explicit static initializations to 0 in 10 i2c drivers. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/i2c/algos/i2c-algo-pca.c | 2 +- drivers/i2c/algos/i2c-algo-sibyte.c | 2 +- drivers/i2c/busses/i2c-ali15x3.c | 4 ++-- drivers/i2c/busses/i2c-amd756.c | 2 +- drivers/i2c/busses/i2c-iop3xx.c | 2 +- drivers/i2c/busses/i2c-piix4.c | 8 ++++---- drivers/i2c/busses/i2c-sis5595.c | 4 ++-- drivers/i2c/busses/i2c-sis630.c | 2 +- drivers/i2c/busses/i2c-sis96x.c | 2 +- drivers/i2c/busses/i2c-via.c | 2 +- 10 files changed, 15 insertions(+), 15 deletions(-) commit b918ecd2429e1a89b846d9e49ca4520b963c13e8 tree 396e8a1f2e958f713722b53c2ab68c66e9b265b3 parent e415e48b68155bea8b5452113dedba4ec486f3f6 author Jean Delvare Sun, 25 Sep 2005 16:18:49 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:06 -0700 [PATCH] hwmon: Do not forcibly enable via686a by default Do not enable the VIA VT82C686A/B integrated sensors by default, as disabled sensors usually means that this feature is not used so the values won't make any sense. This has been confusing many users in the past: http://www2.lm-sensors.nu/~lm78/readticket.cgi?ticket=1786 http://www2.lm-sensors.nu/~lm78/readticket.cgi?ticket=1811 http://www2.lm-sensors.nu/~lm78/readticket.cgi?ticket=2052 It is still possible to forcibly enable the sensors by using the force_addr module parameter. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Documentation/hwmon/via686a | 17 +++++++++++++++-- drivers/hwmon/via686a.c | 18 +++++++++++------- 2 files changed, 26 insertions(+), 9 deletions(-) commit e415e48b68155bea8b5452113dedba4ec486f3f6 tree 6da1a29383371ab143d0ae5b3d5e6fd9f7d3d0fd parent 088341bd0c78143bf82ff21f7f0a715f99568c73 author Jean Delvare Sun, 25 Sep 2005 16:14:18 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:06 -0700 [PATCH] hwmon: adm9240 whitespace cleanups This whitespace cleanup patch removes one trailing space and breaks lines longer than 80 characters. Signed-off-by: Grant Coady Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman drivers/hwmon/adm9240.c | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) commit 088341bd0c78143bf82ff21f7f0a715f99568c73 tree 5044d28b37f1a7f46575810e5e2bb8bcee78d965 parent c7461a6652f40ce4f8e19d7368c7a807a618fb68 author Jean Delvare Sat, 10 Sep 2005 23:00:46 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:05 -0700 [PATCH] hwmon: via686a: save 0.5k by long v[256] -> s16 v[256] We can save 0.5kB of data in the via686a driver. From: Denis Vlasenko Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit c7461a6652f40ce4f8e19d7368c7a807a618fb68 tree b70812c3be404c00d6733c0cf95a8f0bcbab0ab7 parent 205cf13e0b57500e2cc6442effa991c1a63f4db7 author Grant Coady Sat, 17 Sep 2005 05:32:57 +1000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:05 -0700 [PATCH] hwmon: adm9240 driver update - dynamic sysfs hwmon: adm9240 update 2/2: convert to use dynamic sysfs accessors This patch converts adm9240 to use Yani Ioannou's dynamic sysfs callbacks, reducing driver memory footprint from 16312 to 14104 bytes on 2.6.14-rc1, removing the old driver macro mess. Run tested on Intel SE440BX-2 mobo. Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman commit 205cf13e0b57500e2cc6442effa991c1a63f4db7 tree 8519455083b045e270e0513646a76d351567b3bb parent 84860bf0644d7c45afe7ddbd30731c3e3c371fae author Grant Coady Sat, 17 Sep 2005 05:32:55 +1000 committer Greg Kroah-Hartman Fri, 28 Oct 2005 14:02:05 -0700 [PATCH] hwmon: adm9240 driver update - cleanups hwmon: adm9240 update 1/2: cleanups: o remove i2c read/write wrapper interface as it does nothing, o change kmalloc + memset to kzalloc Signed-off-by: Grant Coady Signed-off-by: Greg Kroah-Hartman commit 07c1da2396632a4ad2cab41c6cd939b159f54968 tree 72e34cf86e23d63953eeeaccfa8595b6c88aa059 parent 00ac37f508689da281586c7ef304f26b5138d8a6 author Jeff Garzik Fri, 28 Oct 2005 17:00:31 -0400 committer Jeff Garzik Fri, 28 Oct 2005 17:00:31 -0400 [libata sata_promise] add pci id Contributed by Daniel Mueller @ Siemens AG. commit 406119f49d4a6cf8b6eee639128e0575a95065e3 tree 18e6717629212508d1dfd5a7c896af26bcb5412a parent 6cd37cda7ed117d5a13d9b69aeded57b4fd6de14 author Trond Myklebust Thu, 27 Oct 2005 14:46:53 -0400 committer Linus Torvalds Fri, 28 Oct 2005 13:57:57 -0700 [PATCH] Ensure that 'make distclean' does not delete files in '.git' Currently, 'make distclean' causes stgit to barf since it may delete files in .git/patches. We really shouldn't allow 'make distclean' anywhere near .git... Signed-off-by: Trond Myklebust Signed-off-by: Linus Torvalds commit 6cd37cda7ed117d5a13d9b69aeded57b4fd6de14 tree 2b74bb4c3d7da82abe39ec2992ac951d3effa1b2 parent 030ee39c0fef49d7dcd32e71b1ca98fcc23e2a72 author Peter Osterlund Fri, 28 Oct 2005 20:23:39 +0200 committer Linus Torvalds Fri, 28 Oct 2005 13:57:57 -0700 [PATCH] Fix ext3 warning for unused var Fix compile warning in ext3 quota code. Signed-off-by: Peter Osterlund Signed-off-by: Linus Torvalds commit ad18b0ea089928367185e13d11424aea91d4b41f tree a909f1bd659a5fe35cbb90da1d097b17c2efa3ca parent 4f075707a9380592586d608a8d04dfbdb3c40339 author Panagiotis Issaris Mon, 05 Sep 2005 04:14:10 +0200 committer Jeff Garzik Fri, 28 Oct 2005 16:57:20 -0400 [PATCH] ipw2200: Missing kmalloc check The ipw2200 driver code in current GIT contains a kmalloc() followed by a memset() without handling a possible memory allocation failure. Signed-off-by: Panagiotis Issaris Signed-off-by: Jeff Garzik commit 4f075707a9380592586d608a8d04dfbdb3c40339 tree a18032b80383ba651236b7000028e2e1022ff0a2 parent b4558ea93d66a43f7990d26f145fd4c54a01c9bf author Komuro Fri, 28 Oct 2005 16:55:55 -0400 committer Jeff Garzik Fri, 28 Oct 2005 16:55:55 -0400 [netdrvr] ne2k-pci based card does not support bus-mastering. pci_set_master is unnecessary. Signed-off-by: komurojun-mbn@nifty.com Signed-off-by: Jeff Garzik commit 030ee39c0fef49d7dcd32e71b1ca98fcc23e2a72 tree b9e72ed55f0c41984acbc616f934f653296fb937 parent 84860bf0644d7c45afe7ddbd30731c3e3c371fae author Linus Torvalds Fri, 28 Oct 2005 13:55:08 -0700 committer Linus Torvalds Fri, 28 Oct 2005 13:55:08 -0700 pcmcia: add socket register data to sysfs for yenta devices It's simple, and it's a good debugging aid. Signed-off-by: Linus Torvalds commit b4558ea93d66a43f7990d26f145fd4c54a01c9bf tree 70aa8ba4864f8ee994b7f5278f5045af6a646d34 parent 7380a78a973a8109c13cb0e47617c456b6f6e1f5 author Jesper Juhl Fri, 28 Oct 2005 16:53:13 -0400 committer Jeff Garzik Fri, 28 Oct 2005 16:53:13 -0400 drivers/net: Remove pointless checks for NULL prior to calling kfree() commit 7380a78a973a8109c13cb0e47617c456b6f6e1f5 tree fb64f857892546a441b27af54921e1669aa30610 parent b2795f596932286ef12dc08857960d654f577405 author Vasily Averin Fri, 28 Oct 2005 16:46:35 -0400 committer Jeff Garzik Fri, 28 Oct 2005 16:46:35 -0400 sis900: come alive after temporary memory shortage 1) Forgotten counter incrementation in sis900_rx() in case it doesn't get memory for skb, that leads to whole interface failure. Problem is accompanied with messages: eth0: Memory squeeze,deferring packet. eth0: NULL pointer encountered in Rx ring, skipping 2) If counter cur_rx overflows and there'll be temporary memory problems buffer can't be recreated later, when memory IS available. 3) Limit the work in handler to prevent the endless packets processing if new packets are generated faster then handled. Signed-off-by: Konstantin Khorenko Signed-off-by: Vasily Averin Signed-off-by: Jeff Garzik commit b2795f596932286ef12dc08857960d654f577405 tree f17920db9780a8b3feed97fdf4eb5704243e25e9 parent 24682978eb5316b9e6041c2773e210180a037d05 author Jeff Garzik Fri, 28 Oct 2005 16:43:40 -0400 committer Jeff Garzik Fri, 28 Oct 2005 16:43:40 -0400 [git] change permissions on drivers/net/amd8111e.[ch] to 0644, removing executable bits. commit 24682978eb5316b9e6041c2773e210180a037d05 tree fdb9331981a75a639e624c1785d3f45dfaa1907e parent 37448f7d39717db7c1098c1a88b9074694c69797 author Eugene Surovegin Fri, 14 Oct 2005 03:00:53 -0700 committer Jeff Garzik Fri, 28 Oct 2005 16:42:01 -0400 [PATCH] Add MAINTAINER entry for the new PowerPC 4xx on-chip ethernet controller driver Add MAINTAINER entry for the new PPC4xx EMAC driver Signed-off-by: Eugene Surovegin Signed-off-by: Jeff Garzik commit 37448f7d39717db7c1098c1a88b9074694c69797 tree 18e019dd740c12a3af6e603aaefff985f0faea59 parent b71b95efa5abca33e1bfb85d55162c7f99f54c23 author Eugene Surovegin Mon, 10 Oct 2005 16:58:14 -0700 committer Jeff Garzik Fri, 28 Oct 2005 16:42:01 -0400 [PATCH] New PowerPC 4xx on-chip ethernet controller driver This patch replaces current PowerPC 4xx EMAC driver with new, re-written from the scratch version. This patch is quite big (~234K) because there is virtualy 0% of common code between old and new version. New driver uses NAPI, it solves stability problems under heavy packet load and low memory, corrects chip register access and fixes numerous small bugs I don't even remember now. This patch has been tested on all supported in 2.6 PPC 4xx boards. It's been used in production for almost a year now on custom 4xx hardware. PPC32 specific parts are already upstream. Patch was acked by the current EMAC driver maintainer (Matt Porter). I will be maintaining this new version. Signed-off-by: Eugene Surovegin -- Kconfig | 72 ibm_emac/Makefile | 13 ibm_emac/ibm_emac.h | 418 +++-- ibm_emac/ibm_emac_core.c | 3414 ++++++++++++++++++++++++---------------------- ibm_emac/ibm_emac_core.h | 313 ++-- ibm_emac/ibm_emac_debug.c | 377 ++--- ibm_emac/ibm_emac_debug.h | 63 ibm_emac/ibm_emac_mal.c | 674 +++++---- ibm_emac/ibm_emac_mal.h | 336 +++- ibm_emac/ibm_emac_phy.c | 335 ++-- ibm_emac/ibm_emac_phy.h | 105 - ibm_emac/ibm_emac_rgmii.c | 201 ++ ibm_emac/ibm_emac_rgmii.h | 68 ibm_emac/ibm_emac_tah.c | 111 + ibm_emac/ibm_emac_tah.h | 96 - ibm_emac/ibm_emac_zmii.c | 255 +++ ibm_emac/ibm_emac_zmii.h | 114 - 17 files changed, 4114 insertions(+), 2851 deletions(-) Signed-off-by: Jeff Garzik commit b71b95efa5abca33e1bfb85d55162c7f99f54c23 tree e6b22bf428cc83cd54f10e9ea6551c4cea09fdb8 parent 89358f90ab6f6657d386e77e19c805d7ab88694f author Philippe De Muyter Fri, 28 Oct 2005 12:23:47 +0200 committer Jeff Garzik Fri, 28 Oct 2005 16:40:33 -0400 [PATCH] sundance: fix DFE-580TX Tx Underrun Under heavy PCI bus load, ports of the DFE-580TX 4-ethernet port board stop working, with currently no other cure than a powercycle. Here is a tested fix. By the way, I also fixed some references and attribution. Signed-off-by: Philippe De Muyter Signed-off-by: Jeff Garzik commit 89358f90ab6f6657d386e77e19c805d7ab88694f tree 3b0192df7f164e1f409385626e605cf09bd93c93 parent 48257c4f168e5d040394aeca4d37b59f68e0d36b author Andrew Morton Fri, 28 Oct 2005 16:38:02 -0400 committer Jeff Garzik Fri, 28 Oct 2005 16:38:02 -0400 [netdrvr b44] include linux/dma-mapping.h to eliminate warning commit 19c1f3ca4272008a256cc153f3e3feb097799070 tree af788b540d68396d9a94d6abf2379c1efc8e4e08 parent 84860bf0644d7c45afe7ddbd30731c3e3c371fae author Pierre Ossman Fri, 28 Oct 2005 21:37:29 +0100 committer Russell King Fri, 28 Oct 2005 21:37:29 +0100 [MMC] wbsd suspend support Proper handling of suspend/resume in the wbsd driver. Signed-off-by: Pierre Ossman Signed-off-by: Russell King commit 48257c4f168e5d040394aeca4d37b59f68e0d36b tree 7e553a6018862338d80fb5b0e4070a371a8fb001 parent d8840ac907c7943bc7e196b11812adfa95cb28ef author Pantelis Antoniou Fri, 28 Oct 2005 16:25:58 -0400 committer Jeff Garzik Fri, 28 Oct 2005 16:25:58 -0400 Add fs_enet ethernet network driver, for several embedded platforms. commit a1e78db3f54d3481726ed2d3d58d8ad5b19b13d0 tree 5793f26d8787ee8462a0ac4316b4a07d7cfa04af parent fbbb0bd1f6eb2d8b28d246a4821453bdc3d01b2f parent 59c422358d6573716f2bf2e78e5b12c20eff5a31 author Tony Luck Fri, 28 Oct 2005 13:24:06 -0700 committer Tony Luck Fri, 28 Oct 2005 13:24:06 -0700 Pull define-node-cleanup into release branch commit fbbb0bd1f6eb2d8b28d246a4821453bdc3d01b2f tree 9e6df2bc4b9dfdc795c4ba1b0c4385fdd9635fca parent 9472d8ce147fecb80a2f29ad8ab781e596858916 parent 61b9cf7c6cf5077c40ad37480fa56f6574af3db5 author Tony Luck Fri, 28 Oct 2005 13:23:50 -0700 committer Tony Luck Fri, 28 Oct 2005 13:23:50 -0700 Pull sn_pci_legacy_read-write into release branch commit 9472d8ce147fecb80a2f29ad8ab781e596858916 tree 9a968623af92f932f1353f0470a4bff5a0cd4460 parent 3168c31abe0c11fd3edcefa110d6f590fe8c909f parent 463eb297401eeb174db3fdf37a87911b576b3993 author Tony Luck Fri, 28 Oct 2005 13:23:34 -0700 committer Tony Luck Fri, 28 Oct 2005 13:23:34 -0700 Pull acpi-produce-consume into release branch commit 3168c31abe0c11fd3edcefa110d6f590fe8c909f tree 6676e3bbfd09bf8dabe7dac33dd4ed7f05a60061 parent dbcb25e621136e377dbc44bd7402e21c6641c43d parent f2b518d71636c2bda65a837b0a93c3365207a4f0 author Tony Luck Fri, 28 Oct 2005 13:23:14 -0700 committer Tony Luck Fri, 28 Oct 2005 13:23:14 -0700 Pull update-default-configs into release branch commit dbcb25e621136e377dbc44bd7402e21c6641c43d tree f6f7cb9f415b35dbdefda8d5c1b03c3a36d26f9b parent 0ace57a96bf299f6d46fd49e3edbaf79f500d160 parent 650316f1228c0dc5e45c17765caef30db62468cd author Tony Luck Fri, 28 Oct 2005 13:22:55 -0700 committer Tony Luck Fri, 28 Oct 2005 13:22:55 -0700 Pull move-iosapic-to-acpi into release branch commit d8840ac907c7943bc7e196b11812adfa95cb28ef tree 59f0cd61bbb19ee979672012c3de33c591d336d5 parent 712cb1ebb1653538527500165d8382ca48a7fca1 author Alexey Dobriyan Fri, 07 Oct 2005 02:05:23 +0400 committer Jeff Garzik Fri, 28 Oct 2005 16:16:59 -0400 [PATCH] starfire: free_irq() on error path of netdev_open() Signed-off-by: Alexey Dobriyan Signed-off-by: Jeff Garzik commit 712cb1ebb1653538527500165d8382ca48a7fca1 tree 28e37cd6ae4a7c6f6f3e0dcc71bb7a451caf28ad parent 99e1baf869cf20791e66e38facd51d14b28551f8 author Deepak Saxena Sun, 23 Oct 2005 13:41:35 -0700 committer Jeff Garzik Fri, 28 Oct 2005 16:16:19 -0400 [PATCH] Fix CS89x0 KConfig for IXDP2X01 IXDP2x01 systems can be built without PCI network cards, so we should not require NET_PCI to build CS89x0 on these systems. Signed-off-by: Deepak Saxena Signed-off-by: Jeff Garzik commit 99e1baf869cf20791e66e38facd51d14b28551f8 tree d36f9a6a322cc2e801f2995968c1556264516f00 parent 8fee5f51a56aa7a67d955993572a2ae05d31a2c6 author Nicolas Pitre Wed, 05 Oct 2005 11:10:24 -0400 committer Jeff Garzik Fri, 28 Oct 2005 16:16:19 -0400 [PATCH] smc91x: shut down power after probing If the interface is not used right away after being probed it wastes power needlessly. Noted by Holger Schurig. Signed-off-by: Nicolas Pitre Signed-off-by: Jeff Garzik commit 8fee5f51a56aa7a67d955993572a2ae05d31a2c6 tree 2160ea3f622aa0b34df484f81c577ba33ca8f830 parent adf6e00064ebcd3d82009ba6ef66f489f0885ebd author Aurelien Jarno Wed, 05 Oct 2005 23:29:58 +0200 committer Jeff Garzik Fri, 28 Oct 2005 16:14:11 -0400 [PATCH] sis190.c: fix multicast MAC filter Here is a patch that changes the way the MAC filter is computed for the multicast addresses. The computation is taken from the SiS GPL driver. This patch is necessary to get IPv6 working. Signed-off-by: Aurelien Jarno Signed-off-by: Jeff Garzik commit adf6e00064ebcd3d82009ba6ef66f489f0885ebd tree d28e9462118fe0702fb717838e094867aae00f7b parent 9eb343aeb3e106c1e4c07e2863f45b2c121b3b78 author Matthew Wilcox Tue, 04 Oct 2005 11:25:17 -0600 committer Jeff Garzik Fri, 28 Oct 2005 16:14:10 -0400 [PATCH] b44 reports wrong advertised flags Looks like someone used the MII constants instead of the ethtool constants. Signed-off-by: Matthew Wilcox Signed-off-by: Jeff Garzik commit 9eb343aeb3e106c1e4c07e2863f45b2c121b3b78 tree 5a9d388f4007d21d51ffc83dc3fbf217ffce5ca4 parent 008d55903a1e9e179ff1d366dfcfa9b72abd116d author Akinobu Mita Fri, 21 Oct 2005 19:06:42 +0900 committer Jeff Garzik Fri, 28 Oct 2005 16:12:59 -0400 [PATCH] s2io: kconfig help fix The documentation about s2io is available at Documentation/networking/s2io.txt. Signed-off-by: Akinobu Mita Signed-off-by: Jeff Garzik commit 008d55903a1e9e179ff1d366dfcfa9b72abd116d tree f4013eacc57d2395ceda2f2c46823845dc7cf3c2 parent d89a64bedf956ef0b406018a7cb76e027fe3e751 author Roger While Fri, 28 Oct 2005 16:11:49 -0400 committer Jeff Garzik Fri, 28 Oct 2005 16:11:49 -0400 [wireless prism54] Fix frame length prism54 is leaking information when passing transmits to the firmware. There is no requirement to adjust the length to >= ETH_ZLEN. Just pass the skb length (after possible adjustment). Signed-off-by: Roger While Signed-off-by: Jeff Garzik commit d89a64bedf956ef0b406018a7cb76e027fe3e751 tree 3e711ac5e3a5f033558d44748af0e0ac9fd2652d parent 82702d37a559cf94fe238cd3f8ef63cf7fa699a9 author Komuro Fri, 28 Oct 2005 16:09:54 -0400 committer Jeff Garzik Fri, 28 Oct 2005 16:09:54 -0400 pcnet_cs: fix mii init code for older DL10019 based cards Some older DL10019 based cards need to setup the auto-negotiation-advertisement register to advertise 100Full,100Half,10Full and 10Half. Signed-off-by: Signed-off-by: Jeff Garzik commit 84860bf0644d7c45afe7ddbd30731c3e3c371fae tree d6c4b98a9c3fd9981e7fcc5d7729c9e01e327767 parent 8caf89157d64f1eedba37113afb4b303b2b3e301 parent 6fbfddcb52d8d9fa2cd209f5ac2a1c87497d55b5 author Linus Torvalds Fri, 28 Oct 2005 13:09:47 -0700 committer Linus Torvalds Fri, 28 Oct 2005 13:09:47 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6 commit 82702d37a559cf94fe238cd3f8ef63cf7fa699a9 tree 695a5b7dca7e2c25aa148fc4bb968857f7bc72c6 parent 60296d9e4be1cd9e096f7804ce6e839e0cbd97cf author Santiago Leon Wed, 26 Oct 2005 10:47:23 -0600 committer Jeff Garzik Fri, 28 Oct 2005 16:07:31 -0400 [PATCH] ibmveth fix failed addbuf This patch fixes a bug that happens when the hypervisor can't add a buffer. The old code wrote IBM_VETH_INVALID_MAP into the free_map array, so next time the index was used, a ibmveth_assert() caught it and called BUG(). The patch writes the right value into the free_map array so that the index can be reused. Signed-off-by: Santiago Leon Signed-off-by: Jeff Garzik commit 60296d9e4be1cd9e096f7804ce6e839e0cbd97cf tree 40372d93b1c99a0e488adedbbd8c843c26807058 parent e2adbcb480992de8a01acf9218e8bbd9b507fc6f author Santiago Leon Wed, 26 Oct 2005 10:47:16 -0600 committer Jeff Garzik Fri, 28 Oct 2005 16:07:30 -0400 [PATCH] ibmveth lockless TX This patch adds the lockless TX feature to the ibmveth driver. The hypervisor has its own locking so the only change that is necessary is to protect the statistics counters. Signed-off-by: Santiago Leon Signed-off-by: Jeff Garzik commit e2adbcb480992de8a01acf9218e8bbd9b507fc6f tree 92465e753d0221c0c54862994735a7fe078200fa parent b6d35182fe62e57d368062adcc880ca35119d88e author Santiago Leon Wed, 26 Oct 2005 10:47:08 -0600 committer Jeff Garzik Fri, 28 Oct 2005 16:07:30 -0400 [PATCH] ibmveth fix buffer replenishing This patch removes the allocation of RX skb's buffers from a workqueue to be called directly at RX processing time. This change was suggested by Dave Miller when the driver was starving the RX buffers and deadlocking under heavy traffic: > Allocating RX SKBs via tasklet is, IMHO, the worst way to > do it. It is no surprise that there are starvation cases. > > If tasklets or work queues get delayed in any way, you lose, > and it's very easy for a card to catch up with the driver RX'ing > packets very fast, no matter how aggressive you make the > replenishing. By the time you detect that you need to be > "more aggressive" it is already too late. > The only pseudo-reliable way is to allocate at RX processing time. > Signed-off-by: Santiago Leon Signed-off-by: Jeff Garzik commit b6d35182fe62e57d368062adcc880ca35119d88e tree dd7767a40490d2d532cda4d35a18f8b8e614ab19 parent 0abe791e94033b727f2b55670c2966f3d3d3cf70 author Santiago Leon Wed, 26 Oct 2005 10:47:01 -0600 committer Jeff Garzik Fri, 28 Oct 2005 16:07:30 -0400 [PATCH] ibmveth fix buffer pool management This patch changes the way the ibmveth driver handles the receive buffers. The old code mallocs and maps all the buffers in the pools regardless of MTU size and it also limits the number of buffer pools to three. This patch makes the driver malloc and map the buffers necessary to support the current MTU. It also changes the hardcoded names of the buffer pool number, size, and elements to arrays to make it easier to change (with the hope of making them runtime parameters in the future). Signed-off-by: Santiago Leon Signed-off-by: Jeff Garzik commit 0abe791e94033b727f2b55670c2966f3d3d3cf70 tree 7fe7e9dffdcb5822537a5b03c7064667e05426e6 parent 37ff238d68683d42e7363eee3303773906c336d9 author Santiago Leon Wed, 26 Oct 2005 10:46:53 -0600 committer Jeff Garzik Fri, 28 Oct 2005 16:07:30 -0400 [PATCH] ibmveth fix bonding This patch updates dev->trans_start and dev->last_rx so that the ibmveth driver can be used with the ARP monitor in the bonding driver. Signed-off-by: Santiago Leon Signed-off-by: Jeff Garzik commit 37ff238d68683d42e7363eee3303773906c336d9 tree 45a016abbed939ee11427941b7036f6cfeca20d3 parent 28fbef78a420acdea20570d31f3bdcbfa0cac0d2 author Michael Chan Wed, 26 Oct 2005 15:49:51 -0700 committer Jeff Garzik Fri, 28 Oct 2005 16:07:30 -0400 [PATCH] tg3: update version and minor fixes Update version and reldate and add more sanity checking to tg3_set_settings(). Signed-off-by: Gary Zambrano Signed-off-by: Michael Chan Signed-off-by: Jeff Garzik commit 28fbef78a420acdea20570d31f3bdcbfa0cac0d2 tree ef68381a6e776a802038e39529e89a0d1390fae0 parent a4e2b347848bf626b822599329933887dc90e50f author Michael Chan Wed, 26 Oct 2005 15:48:35 -0700 committer Jeff Garzik Fri, 28 Oct 2005 16:07:30 -0400 [PATCH] tg3: fix ASF heartbeat Change the ASF heart beat to 5 seconds for faster detection of system crash. The driver sends the heartbeat every 2 seconds and the ASF firmware will timeout and reset the device if no heartbeat is received after 5 seconds. The old scheme of 2 minutes is ineffective. tg3_write_mem_fast() is added to speed up the IO to send the heartbeat. When no workaround is needed, it will use direct MMIO to memory space to write to memory. Signed-off-by: Michael Chan Signed-off-by: Jeff Garzik commit a4e2b347848bf626b822599329933887dc90e50f tree 414564393157868b8c6d708bfb2c750cf49b1f6b parent 5fadd053d9bb4345ec6f405d24db4e7eb49cf81e author Michael Chan Wed, 26 Oct 2005 15:46:52 -0700 committer Jeff Garzik Fri, 28 Oct 2005 16:07:29 -0400 [PATCH] tg3: add 5714/5715 support Add complete support for 5714/5715. These chips are very similar to 5780 so the changes are very trivial. A TG3_FLG2_5780_CLASS flag is added to identify these chips. Signed-off-by: Michael Chan Signed-off-by: Jeff Garzik commit 00ac37f508689da281586c7ef304f26b5138d8a6 tree 409c2367a5630d860fa0d30b60c1fc6ea9ad659f parent a21a84a375ea3783cf9a53730d643c4db24371bc author Douglas Gilbert Fri, 28 Oct 2005 15:58:28 -0400 committer Jeff Garzik Fri, 28 Oct 2005 15:58:28 -0400 [libata scsi] MODE SELECT, strengthen mode sense - move default mode pages to the front of libata-scsi.c so various functions can access them - partial annotation of these pages, point out divergence from sat-r06 - replace various mode page magic numbers with defines - strengthen MODE SENSE command decoding: handle DBD bit in cdb, yield block descriptor (per sat-r06) and handle mode sub pages Signed-off-by: Douglas Gilbert Signed-off-by: Jeff Garzik commit 8caf89157d64f1eedba37113afb4b303b2b3e301 tree a72038508368f81e5b3f1b82ad14918df8c7be7a parent f12baeab9d65e2fe1b43b09b666f5efcb81b9369 parent 7038f1cbac899654cf0515e60dbe3e44d58271de author Linus Torvalds Fri, 28 Oct 2005 12:44:24 -0700 committer Linus Torvalds Fri, 28 Oct 2005 12:44:24 -0700 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6 commit a21a84a375ea3783cf9a53730d643c4db24371bc tree 3880711cfe4a57629a34a9a329fcf6091266692b parent 96b88fb850cc419171f926ad04650ec509e9f543 author Jeff Garzik Fri, 28 Oct 2005 15:43:16 -0400 committer Jeff Garzik Fri, 28 Oct 2005 15:43:16 -0400 [libata pdc_adma] minor fixes and cleanups Changes mostly from Mark Lord. - fix bugs in probe-time error handling - only complete qc if not NULL - check port-level polling flags commit f12baeab9d65e2fe1b43b09b666f5efcb81b9369 tree 88e06b93cad95fef0ebb4a60d2b195884fe79d4f parent e89e9cf539a28df7d0eb1d0a545368e9920b34ac author Yan Zheng Sat, 29 Oct 2005 00:02:32 +0800 committer Arnaldo Carvalho de Melo Fri, 28 Oct 2005 16:35:18 -0200 [MCAST] IPv6: Fix algorithm to compute Querier's Query Interval 5.1.3. Maximum Response Code The Maximum Response Code field specifies the maximum time allowed before sending a responding Report. The actual time allowed, called the Maximum Response Delay, is represented in units of milliseconds, and is derived from the Maximum Response Code as follows: If Maximum Response Code < 32768, Maximum Response Delay = Maximum Response Code If Maximum Response Code >=32768, Maximum Response Code represents a floating-point value as follows: 0 1 2 3 4 5 6 7 8 9 A B C D E F +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |1| exp | mant | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Maximum Response Delay = (mant | 0x1000) << (exp+3) 5.1.9. QQIC (Querier's Query Interval Code) The Querier's Query Interval Code field specifies the [Query Interval] used by the Querier. The actual interval, called the Querier's Query Interval (QQI), is represented in units of seconds, and is derived from the Querier's Query Interval Code as follows: If QQIC < 128, QQI = QQIC If QQIC >= 128, QQIC represents a floating-point value as follows: 0 1 2 3 4 5 6 7 +-+-+-+-+-+-+-+-+ |1| exp | mant | +-+-+-+-+-+-+-+-+ QQI = (mant | 0x10) << (exp + 3) -- rfc3810 #define MLDV2_QQIC(value) MLDV2_EXP(0x80, 4, 3, value) #define MLDV2_MRC(value) MLDV2_EXP(0x8000, 12, 3, value) Above macro are defined in mcast.c. but 1 << 4 == 0x10 and 1 << 12 == 0x1000. So the result computed by original Macro is larger. Signed-off-by: Yan Zheng Acked-by: David L Stevens Signed-off-by: Arnaldo Carvalho de Melo commit e89e9cf539a28df7d0eb1d0a545368e9920b34ac tree aae6a825f351ce931fcd30f1a865ebe65227c4b8 parent de5144164f6242ccfa8c9b64eec570564f5eaf14 author Ananda Raju Tue, 18 Oct 2005 15:46:41 -0700 committer Arnaldo Carvalho de Melo Fri, 28 Oct 2005 16:30:00 -0200 [IPv4/IPv6]: UFO Scatter-gather approach Attached is kernel patch for UDP Fragmentation Offload (UFO) feature. 1. This patch incorporate the review comments by Jeff Garzik. 2. Renamed USO as UFO (UDP Fragmentation Offload) 3. udp sendfile support with UFO This patches uses scatter-gather feature of skb to generate large UDP datagram. Below is a "how-to" on changes required in network device driver to use the UFO interface. UDP Fragmentation Offload (UFO) Interface: ------------------------------------------- UFO is a feature wherein the Linux kernel network stack will offload the IP fragmentation functionality of large UDP datagram to hardware. This will reduce the overhead of stack in fragmenting the large UDP datagram to MTU sized packets 1) Drivers indicate their capability of UFO using dev->features |= NETIF_F_UFO | NETIF_F_HW_CSUM | NETIF_F_SG NETIF_F_HW_CSUM is required for UFO over ipv6. 2) UFO packet will be submitted for transmission using driver xmit routine. UFO packet will have a non-zero value for "skb_shinfo(skb)->ufo_size" skb_shinfo(skb)->ufo_size will indicate the length of data part in each IP fragment going out of the adapter after IP fragmentation by hardware. skb->data will contain MAC/IP/UDP header and skb_shinfo(skb)->frags[] contains the data payload. The skb->ip_summed will be set to CHECKSUM_HW indicating that hardware has to do checksum calculation. Hardware should compute the UDP checksum of complete datagram and also ip header checksum of each fragmented IP packet. For IPV6 the UFO provides the fragment identification-id in skb_shinfo(skb)->ip6_frag_id. The adapter should use this ID for generating IPv6 fragments. Signed-off-by: Ananda Raju Signed-off-by: Rusty Russell (forwarded) Signed-off-by: Arnaldo Carvalho de Melo commit 7038f1cbac899654cf0515e60dbe3e44d58271de tree 73909f95989f10bd85929073395e494ceb1a6b3f parent b6a47fd8ff08a9d5cd279cdb8d97a619983575fa author Dave Kleikamp Fri, 28 Oct 2005 13:27:40 -0500 committer Dave Kleikamp Fri, 28 Oct 2005 13:27:40 -0500 JFS: make sure right-most xtree pages have header.next set to zero The xtTruncate code was only doing this for leaf pages. When a file is horribly fragmented, we may truncate a file leaving an internal page with an invalid head.next field, which may cause a stale page to be referenced. Signed-off-by: Dave Kleikamp commit 0ace57a96bf299f6d46fd49e3edbaf79f500d160 tree a86301a5c9f1e0313e6e3b79d3618dab784ef97b parent 2d300fece23a4ae638b43ce9a7ac1e566ac6c843 parent 44c451208da397438e7062393aeb3a19ddb76a60 author Tony Luck Fri, 28 Oct 2005 11:16:32 -0700 committer Tony Luck Fri, 28 Oct 2005 11:16:32 -0700 Pull ar-k0-usage into release branch commit 2d300fece23a4ae638b43ce9a7ac1e566ac6c843 tree 4e50fac4d14755c2206c48999c9b6fad3c920482 parent c85749e6d1df55ca5b23cb1d220ed7df92df8d78 parent 54703d3678d13e7406d0b5aa451abb9526d53b9d author Tony Luck Fri, 28 Oct 2005 11:16:06 -0700 committer Tony Luck Fri, 28 Oct 2005 11:16:06 -0700 Pull 1024-cpu into release branch commit c85749e6d1df55ca5b23cb1d220ed7df92df8d78 tree 1f6e41a9d85bc288447e6c71981c5515862f9879 parent 0d9136fdbcdbddcd4eb5ac94c248c039193d4795 parent 0b9afede3d9c66fef06f1d5ef5ff15c4b97730fc author Tony Luck Fri, 28 Oct 2005 11:15:25 -0700 committer Tony Luck Fri, 28 Oct 2005 11:15:25 -0700 Pull hp-machvec into release branch commit 0d9136fdbcdbddcd4eb5ac94c248c039193d4795 tree 2e914c8afe019302199b5d807114e5b15835dc90 parent 9189674026e86e624b1ef1b4eb430e9ad19f9641 parent 1fa92957282e4595727c1a21bf6687ea5a2d612f author Tony Luck Fri, 28 Oct 2005 11:15:08 -0700 committer Tony Luck Fri, 28 Oct 2005 11:15:08 -0700 Pull altix-mmr into release branch commit 9189674026e86e624b1ef1b4eb430e9ad19f9641 tree d93acb6c3b2c127e997c132db61025a5653260ec parent 72ab373a5688a78cbdaf3bf96012e597d5399bb7 parent 25732ad493b22b7d9f0d250c5a9ad17219f96a47 author Tony Luck Fri, 28 Oct 2005 11:14:47 -0700 committer Tony Luck Fri, 28 Oct 2005 11:14:47 -0700 Pull altix-fpga-reset into release branch commit de5144164f6242ccfa8c9b64eec570564f5eaf14 tree 56ea0f4e21ca74b14e1546e70ac92617dfb27dd1 parent 8ed575904373d7aaab7f15a8db2edc317a44df43 parent 245dc3d19b6ff7db42c9f3cca9006c8db59e2dee author Arnaldo Carvalho de Melo Fri, 28 Oct 2005 15:49:24 -0200 committer Arnaldo Carvalho de Melo Fri, 28 Oct 2005 15:49:24 -0200 Merge master.kernel.org:/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6 commit 245dc3d19b6ff7db42c9f3cca9006c8db59e2dee tree e5b2594ccdad0af1901efd5f6109d9e28391e882 parent dd7f5527b3e68a7b2f715ae1a21164383f418013 author Marcel Holtmann Fri, 28 Oct 2005 19:20:57 +0200 committer Marcel Holtmann Fri, 28 Oct 2005 19:20:57 +0200 [Bluetooth] Ignore additional interfaces of BPA 100/105 devices If a BPA 100/105 device contains more then one interface then ignore the additional interfaces, because they are unused. Signed-off-by: Marcel Holtmann commit dd7f5527b3e68a7b2f715ae1a21164383f418013 tree f0be8a5ab9368e24ecf59b82aa183d7b3546ec87 parent 6516455d3b42b33759a33a8102c1b8b48af4d9c9 author Marcel Holtmann Fri, 28 Oct 2005 19:20:53 +0200 committer Marcel Holtmann Fri, 28 Oct 2005 19:20:53 +0200 [Bluetooth] Update security filter for Extended Inquiry Response This patch updates the HCI security filter with support for the Extended Inquiry Response (EIR) feature. Signed-off-by: Marcel Holtmann commit 6516455d3b42b33759a33a8102c1b8b48af4d9c9 tree e7395ebcfa68c4a5aa25d80e4b279313f3fdea3e parent 0372a6627f862f90a2c43772befeecef508cfd7b author Marcel Holtmann Fri, 28 Oct 2005 19:20:48 +0200 committer Marcel Holtmann Fri, 28 Oct 2005 19:20:48 +0200 [Bluetooth] Make more functions static This patch makes another bunch of functions static. Signed-off-by: Marcel Holtmann commit 0372a6627f862f90a2c43772befeecef508cfd7b tree 8e2d141927ac8d63663d8c88a6a0eb7e096d8a8b parent 20dd6f59d6ea5fe47397c5254606c76b1d047727 author Marcel Holtmann Fri, 28 Oct 2005 19:20:45 +0200 committer Marcel Holtmann Fri, 28 Oct 2005 19:20:45 +0200 [Bluetooth] Cleanup of the HCI UART driver This patch contains the big cleanup of the HCI UART driver. The uneeded header files are removed and their structure declarations are moved into the protocol implementations. Signed-off-by: Marcel Holtmann commit 20dd6f59d6ea5fe47397c5254606c76b1d047727 tree ffc9b0a7f3d582120c997ec4277f561f9d8c6f87 parent 408c1ce2716c7a004851c93f9f9dcf3d763bc240 author Marcel Holtmann Fri, 28 Oct 2005 19:20:40 +0200 committer Marcel Holtmann Fri, 28 Oct 2005 19:20:40 +0200 [Bluetooth] Remove TXCRC compile option for BCSP driver The TXCRC compile option is not really useful and thus change it into a module parameter. Signed-off-by: Marcel Holtmann commit 408c1ce2716c7a004851c93f9f9dcf3d763bc240 tree 11e086c44c2f313e27cec46c7ad799b7614b01c9 parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Marcel Holtmann Fri, 28 Oct 2005 19:20:36 +0200 committer Marcel Holtmann Fri, 28 Oct 2005 19:20:36 +0200 [Bluetooth] Move CRC table into RFCOMM core This patch moves rfcomm_crc_table[] into the RFCOMM core, because there is no need to keep it in a separate file. Signed-off-by: Marcel Holtmann commit 6fbfddcb52d8d9fa2cd209f5ac2a1c87497d55b5 tree c0414e89678fcef7ce3493e048d855bde781ae8d parent 1a222bca26ca691e83be1b08f5e96ae96d0d8cae parent 27d1097d39509494706eaa2620ef3b1e780a3224 author Greg KH Fri, 28 Oct 2005 10:13:16 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 10:13:16 -0700 Merge ../bleed-2.6 commit 8ed575904373d7aaab7f15a8db2edc317a44df43 tree 3b2e92a396a1bbec8e1fb499f25e8aed93ab5692 parent 27d1097d39509494706eaa2620ef3b1e780a3224 parent 210cc679faf0e1cabda9fc5d1279644f5e52aecb author Linus Torvalds Fri, 28 Oct 2005 10:08:46 -0700 committer Linus Torvalds Fri, 28 Oct 2005 10:08:46 -0700 Merge branch 'forlinus' of git://parisc-linux.org/home/kyle/git/parisc-2.6 commit 1a222bca26ca691e83be1b08f5e96ae96d0d8cae tree b9b09b285b5790ee8d38328cbffe289199abea94 parent c41455fbac06712992da491844449775cf9a8c80 author Takashi Iwai Fri, 28 Oct 2005 16:45:34 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:57 -0700 [PATCH] Fix documentation of driver suspend/resume callbacks Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman commit c41455fbac06712992da491844449775cf9a8c80 tree cb315b4afd3af2882e955dbfbf7f3828a8b2e610 parent 9480e307cd88ef09ec9294c7d97ebec18e6d2221 author Randy Dunlap Sun, 23 Oct 2005 11:59:14 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:56 -0700 [PATCH] kernel-doc: drivers/base fixes driver/base: add missing function parameters; eliminate all warnings. Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman commit 9480e307cd88ef09ec9294c7d97ebec18e6d2221 tree 967e26d3a23c24dd52b114d672312c207714308c parent a3a3395e487abc4c1371fe319a8ecbb3913a70a4 author Russell King Fri, 28 Oct 2005 09:52:56 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:56 -0700 [PATCH] DRIVER MODEL: Get rid of the obsolete tri-level suspend/resume callbacks In PM v1, all devices were called at SUSPEND_DISABLE level. Then all devices were called at SUSPEND_SAVE_STATE level, and finally SUSPEND_POWER_DOWN level. However, with PM v2, to maintain compatibility for platform devices, I arranged for the PM v2 suspend/resume callbacks to call the old PM v1 suspend/resume callbacks three times with each level in order so that existing drivers continued to work. Since this is obsolete infrastructure which is no longer necessary, we can remove it. Here's an (untested) patch to do exactly that. Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit a3a3395e487abc4c1371fe319a8ecbb3913a70a4 tree 81caf424dcae1b2231946a9cebd83d5b067f32b4 parent ad7e14a55ed7648d02a4df8e460e291d80a18c98 author Jesper Juhl Thu, 13 Oct 2005 21:31:08 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:55 -0700 [PATCH] Driver Core: Big kfree NULL check cleanup - Documentation This is the Documentation/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in example code in Documentation/. Signed-off-by: Jesper Juhl Signed-off-by: Greg Kroah-Hartman commit ad7e14a55ed7648d02a4df8e460e291d80a18c98 tree 3f79fb375fd5a5145458cd77939e5826956565ac parent a1bdc7aad8b557176ccecff1da137ebe3090871e author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:55 -0700 [PATCH] update required version of udev The 071 release is needed to handle the input changes. Older versions will work properly with module-based systems, but not for users that build input stuff into the kernel. Signed-off-by: Greg Kroah-Hartman commit a1bdc7aad8b557176ccecff1da137ebe3090871e tree 191866ea2adb807a9fef6305a8e745a8b3ceeea3 parent a7fadbe10ccf430e7a8add8b45c561d864087343 author Ben Dooks Thu, 13 Oct 2005 17:54:41 +0100 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:55 -0700 [PATCH] drivers/base - fix sparse warnings There are a number of sparse warnings from the latest sparse snapshot being generated from the drivers/base build. The main culprits are due to the initialisation functions not being declared in a header file. Also, the firmware.c file should include to get the prototype of firmware_register() and firmware_unregister(). This patch moves the init function declerations from the init.c file to the base.h, and ensures it is included in all the relevant c sources. It also adds to the included headers for firmware.c. The patch does not solve all the sparse errors generated, but reduces the count significantly. drivers/base/core.c:161:1: warning: symbol 'devices_subsys' was not declared. Should it be static? drivers/base/core.c:417:12: warning: symbol 'devices_init' was not declared. Should it be static? drivers/base/sys.c:253:6: warning: symbol 'sysdev_shutdown' was not declared. Should it be static? drivers/base/sys.c:326:5: warning: symbol 'sysdev_suspend' was not declared. Should it be static? drivers/base/sys.c:428:5: warning: symbol 'sysdev_resume' was not declared. Should it be static? drivers/base/sys.c:450:12: warning: symbol 'system_bus_init' was not declared. Should it be static? drivers/base/bus.c:133:1: warning: symbol 'bus_subsys' was not declared. Should it be static? drivers/base/bus.c:667:12: warning: symbol 'buses_init' was not declared. Should it be static? drivers/base/class.c:759:12: warning: symbol 'classes_init' was not declared. Should it be static? drivers/base/platform.c:313:12: warning: symbol 'platform_bus_init' was not declared. Should it be static? drivers/base/cpu.c:110:12: warning: symbol 'cpu_dev_init' was not declared. Should it be static? drivers/base/firmware.c:17:5: warning: symbol 'firmware_register' was not declared. Should it be static? drivers/base/firmware.c:23:6: warning: symbol 'firmware_unregister' was not declared. Should it be static? drivers/base/firmware.c:28:12: warning: symbol 'firmware_init' was not declared. Should it be static? drivers/base/init.c:28:13: warning: symbol 'driver_init' was not declared. Should it be static? drivers/base/dmapool.c:174:10: warning: implicit cast from nocast type drivers/base/attribute_container.c:439:1: warning: symbol 'attribute_container_init' was not declared. Should it be static? drivers/base/power/runtime.c:76:6: warning: symbol 'dpm_set_power_state' was not declared. Should it be static? Signed-off-by: Ben Dooks Signed-off-by: Greg Kroah-Hartman commit a7fadbe10ccf430e7a8add8b45c561d864087343 tree c54c302ecc09c0aa80f462953d82f00a1b0afc64 parent c9bcd582dfeec845b83bc948a430c9958bf839e6 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:57 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:55 -0700 [PATCH] input core: remove custom-made hotplug handler Input: remove custom-made hotplug handler Now that all input devices are registered with sysfs we can remove old custom-made hotplug handler and crate a standard one. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit c9bcd582dfeec845b83bc948a430c9958bf839e6 tree d17bffdfc868aa355ebd9cc56d1eeb481c0b80d8 parent ea9f240bd819f9299703283e5326da606bbb4b05 author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:55 -0700 [PATCH] INPUT: Create symlinks for backwards compatibility This creates symlinks in /sys/class/input/ to the nested class devices to help userspace cope with the nesting. Unfortunatly udev still needs to be updated as it can't handle symlinks properly here :( Signed-off-by: Greg Kroah-Hartman commit ea9f240bd819f9299703283e5326da606bbb4b05 tree 68b83a2a093a332c8fda8dfc695c73ebe084b014 parent b0fdfebb205fcbf394c3db39679a766b8fc4f07d author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:55 -0700 [PATCH] INPUT: rename input_dev_class to input_class to be correct. Signed-off-by: Greg Kroah-Hartman commit b0fdfebb205fcbf394c3db39679a766b8fc4f07d tree 4f3c84c075c5ebd13b2c0a9bf9823df90358907b parent 629b77a42c39c8b3c42a8cf5f5680f0406f8d43f author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:55 -0700 [PATCH] INPUT: remove the input_class structure, as it is unused. Signed-off-by: Greg Kroah-Hartman commit 629b77a42c39c8b3c42a8cf5f5680f0406f8d43f tree 1f4d97255d27ac036e682b882f792afaf8c3ef53 parent 967ca692161d8c4e894932599592af8d62c0a895 author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] INPUT: Fix oops when accessing sysfs files of nested input devices Signed-off-by: Greg Kroah-Hartman commit 967ca692161d8c4e894932599592af8d62c0a895 tree d1cb14bddd9484c0f9e58e9dd52881f172e235b9 parent 23d50901617c2a8bdef509279a42d2e90f523db9 author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] INPUT: move the input class devices under their new input_dev devices Signed-off-by: Greg Kroah-Hartman commit 23d50901617c2a8bdef509279a42d2e90f523db9 tree 9e8602bb82cbd2d56738fb93d34594d02e8d0476 parent 102040204f1949562406b72007c14a2a241cb0d9 author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] INPUT: export input_dev_class so that input drivers can use it. Signed-off-by: Greg Kroah-Hartman commit 102040204f1949562406b72007c14a2a241cb0d9 tree 3ede0afbcb9182f346f5b61592005ad553c8e4d7 parent 5c1e9a6a6ab2f4c60462cecb7773860a62d86e39 author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] INPUT: register the input class device sooner This is needed so we can actually use the class device within the input handlers. Signed-off-by: Greg Kroah-Hartman commit 5c1e9a6a6ab2f4c60462cecb7773860a62d86e39 tree c195b9268e80d9e533386f7160abbc3531662f71 parent 051b2feaa4a92592d160dcb8715cc4a5faaaa52f author Dmitry Torokhov Thu, 15 Sep 2005 02:01:55 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] Input: export input_dev data via sysfs attributes Input: export various input device attributes via sysfs The following structure is exported: input0/ |-- name |-- phys |-- uniq |-- id/{bustype|vendor|product|version} `-- capabilities/{ev|abs|rel|key|led|msc|ff|sw} Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 051b2feaa4a92592d160dcb8715cc4a5faaaa52f tree 25193f78dd47029b6e6ac13ab8f8a1f6b10db8d2 parent 5ebdcbc2fc4f192c5e685565c9c853a9e01a5eeb author Dmitry Torokhov Thu, 15 Sep 2005 02:01:54 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] Input: show sysfs path in /proc/bus/input/devices Input: show sysfs path in /proc/bus/input/devices Show that sysfs and phys path are different objects. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 5ebdcbc2fc4f192c5e685565c9c853a9e01a5eeb tree 54adf58d59b5d95f5a0e68d27ebd88a8529564bb parent 34abf91f4036c01669e298e649b7ba85cadf82eb author Dmitry Torokhov Thu, 15 Sep 2005 02:01:49 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] Input: convert sound/ppc/beep to dynamic input_dev allocation Input: convert sound/ppc/beep to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 34abf91f4036c01669e298e649b7ba85cadf82eb tree fa17affbf6f71c9759110ceac41f9897b61b6d1c parent 17dd3f0f7aa729a042af5d3318ff9b3e7781b45b author Dmitry Torokhov Thu, 15 Sep 2005 02:01:40 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:54 -0700 [PATCH] Input: convert net/bluetooth to dynamic input_dev allocation Input: convert net/bluetooth to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 17dd3f0f7aa729a042af5d3318ff9b3e7781b45b tree 261580f0229e6365f044cd26925dfb2735e0754d parent 0259567ad60df13a55583b84d2cddb5526705907 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:52 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] drivers/input/joystick: convert to dynamic input_dev allocation Input: convert drivers/input/joystick to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 0259567ad60df13a55583b84d2cddb5526705907 tree 232e066c323f82bf5063538d89e847f05317f79b parent c7f7a569d9b4ea7c53ab6fcd1377895312d8372b author Dmitry Torokhov Thu, 15 Sep 2005 02:01:42 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] Input: convert konicawc to dynamic input_dev allocation Input: convert konicawc to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit c7f7a569d9b4ea7c53ab6fcd1377895312d8372b tree 554febf346b80a93c8dad5dff57fa60c4ea675b8 parent b7df3910c1298fee8ed7b9dfd2da74b85df5539c author Dmitry Torokhov Thu, 15 Sep 2005 02:01:41 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] Input: convert drivers/macintosh to dynamic input_dev allocation Input: convert drivers/macntosh to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit b7df3910c1298fee8ed7b9dfd2da74b85df5539c tree 1948ee697c23a384dd0be625ebeee13062d73882 parent 76b7cddfd576331761e945a508254abad11039e9 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:53 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] drivers/media: convert to dynamic input_dev allocation Input: convert drivers/media to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 76b7cddfd576331761e945a508254abad11039e9 tree 83872a999a710df1de5ded7acf966dd2a4221121 parent 88789672424375882166df86adde9dd77ead630e author Dmitry Torokhov Thu, 15 Sep 2005 02:01:51 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] Input: convert driver/input/misc to dynamic input_dev allocation Input: convert driver/input/misc to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 88789672424375882166df86adde9dd77ead630e tree e8276230a2add44082522e94545ccd784b55a554 parent b416f2e452b6c0f5075145bb7301f7f3d44d8ed5 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:43 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] Input: convert onetouch to dynamic input_dev allocation Input: convert onetouch to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit b416f2e452b6c0f5075145bb7301f7f3d44d8ed5 tree 01f69d80d4d9c75ce88e5f26d373a4a7b38fbe36 parent eca1ed196cd5b523c1057204cd3672555ad58dfe author Dmitry Torokhov Thu, 15 Sep 2005 02:01:50 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] Input: convert sonypi to dynamic input_dev allocation Input: convert sonypi to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit eca1ed196cd5b523c1057204cd3672555ad58dfe tree bf60f0c3ab6cbaf3235fe01387009e7df4b0926c parent bd622663192e8ebebb27dc1d9397f352a82d2495 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:46 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:53 -0700 [PATCH] drivers/input/touchscreen: convert to dynamic input_dev allocation Input: convert drivers/input/touchscreen to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit bd622663192e8ebebb27dc1d9397f352a82d2495 tree b7d8e7ca6318e08238fb49dc1906b9f155daa115 parent c5b7c7c395a34f12cdf246d66c1feeff2933d584 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:48 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] Input: convert ucb1x00-ts to dynamic input_dev allocation Input: convert ucb1x00-ts to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit c5b7c7c395a34f12cdf246d66c1feeff2933d584 tree 8af335c30bb92991f4bfd8251de4fed9907b07bd parent 3c42f0c3dde8feb59fc87df45cadb847d5511c0a author Dmitry Torokhov Thu, 15 Sep 2005 02:01:47 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] drivers/usb/input: convert to dynamic input_dev allocation Input: convert drivers/iusb/input to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 3c42f0c3dde8feb59fc87df45cadb847d5511c0a tree e4f9f644473c3d9c7fe78f5df68bc42c8fa5850e parent 2e5b636bb5f8dacbb91d08544e2c41ebcad5dace author Dmitry Torokhov Thu, 15 Sep 2005 02:01:45 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] drivers/input/keyboard: convert to dynamic input_dev allocation Input: convert drivers/input/keyboard to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 2e5b636bb5f8dacbb91d08544e2c41ebcad5dace tree 059a2078d7b11713cad4675a9d8a062337957102 parent d19fbe8a763634395d4bef40fc88cdb61c4a6274 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:44 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] drivers/input/mouse: convert to dynamic input_dev allocation Input: convert drivers/input/mouse to dynamic input_dev allocation This is required for input_dev sysfs integration Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit d19fbe8a763634395d4bef40fc88cdb61c4a6274 tree 476cedefc829d1523507aebb2093b0d3b58469b0 parent 4f00469c16b86a3dd6ed66b28c605c8430d58eeb author Dmitry Torokhov Thu, 15 Sep 2005 02:01:39 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] Input: prepare to sysfs integration Input: prepare to sysfs integration Add struct class_device to input_dev; add input_allocate_dev() to dynamically allocate input devices; dynamically allocated devices are automatically registered with sysfs. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 4f00469c16b86a3dd6ed66b28c605c8430d58eeb tree 2129fe4c1914c69d2f5acdd07c112a92a6b59339 parent 74be227f728ed68bfc270153665b43fc1f0fa845 author Dmitry Torokhov Thu, 15 Sep 2005 02:01:38 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] Input: kill devfs references Input: remove references to devfs from input subsystem Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 74be227f728ed68bfc270153665b43fc1f0fa845 tree c10fbdaa10a57162885881e080ac1cee71c0d9c1 parent 53f4654272df7c51064825024340554b39c9efba author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] Driver Core: document struct class_device properly Signed-off-by: Greg Kroah-Hartman commit 53f4654272df7c51064825024340554b39c9efba tree e3e7b82a6bb0040ffbd267b250be2720704b98f2 parent 51d172d5f3a193e4b8f76179b2e55d7a36b94117 author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:52 -0700 [PATCH] Driver Core: fix up all callers of class_device_create() The previous patch adding the ability to nest struct class_device changed the paramaters to the call class_device_create(). This patch fixes up all in-kernel users of the function. Signed-off-by: Greg Kroah-Hartman commit 51d172d5f3a193e4b8f76179b2e55d7a36b94117 tree 4bb508d85d9de2588235caddf197da57a47b5d6e parent a7fd67062efc5b0fc9a61368c607fa92d1d57f9e author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:51 -0700 [PATCH] Driver Core: add the ability for class_device structures to be nested This patch allows struct class_device to be nested, so that another struct class_device can be the parent of a new one, instead of only having the struct class be the parent. This will allow us to (hopefully) fix up the input and video class subsystem mess. But please people, don't go crazy and start making huge trees of class devices, you should only need 2 levels deep to get everything to work (remember to use a class_interface to get notification of a new class device being added to the system.) Oh, this also allows us to have the possibility of potentially, someday, moving /sys/block into /sys/class. The main hindrance is that pesky /dev numberspace issue... Signed-off-by: Greg Kroah-Hartman commit a7fd67062efc5b0fc9a61368c607fa92d1d57f9e tree 8b91f198640608bd99f4e4764394e5134220abcf parent d8539d81aeee4dbdc0624a798321e822fb2df7ae author Kay Sievers Sat, 01 Oct 2005 14:49:43 +0200 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:51 -0700 [PATCH] add sysfs attr to re-emit device hotplug event A "coldplug + udevstart" can be simple like this: for i in /sys/block/*/*/uevent; do echo 1 > $i; done for i in /sys/class/*/*/uevent; do echo 1 > $i; done for i in /sys/bus/*/devices/*/uevent; do echo 1 > $i; done Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit d8539d81aeee4dbdc0624a798321e822fb2df7ae tree 3fc46e80f2fdec0a7ca714dfa3fb8f08648d3bb8 parent 7bd7b091429705eb281d60c553cc643aada8045a author Dmitry Torokhov Thu, 15 Sep 2005 02:01:36 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:51 -0700 [PATCH] Driver core: pass interface to class interface methods Driver core: pass interface to class intreface methods Pass interface as argument to add() and remove() class interface methods. This way a subsystem can implement generic add/remove handlers and then call interface-specific ones. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 7bd7b091429705eb281d60c553cc643aada8045a tree 09f4559ad780b81a3c3a72a5d8d1d3278b01807b parent 607cf4d9aa1d766890f42fc892d39d48cf6d6c16 author Dmitry Torokhov Thu, 29 Sep 2005 00:40:07 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:51 -0700 [PATCH] I2O: remove i2o_device_class I2O: cleanup - remove i2o_device_class I2O devices reside on their own bus so there should be no reason to also have i2c_device class that mirros i2o bus. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 607cf4d9aa1d766890f42fc892d39d48cf6d6c16 tree c2cf3566c79d9879270a6f0a3c119065785183dc parent 4f5ca09e0b854a29b17401f59487664ae3b21aa4 author Greg Kroah-Hartman Thu, 27 Oct 2005 22:25:43 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:51 -0700 [PATCH] I2O: Clean up some pretty bad driver model abuses in the i2o code Signed-off-by: Greg Kroah-Hartman commit 4f5ca09e0b854a29b17401f59487664ae3b21aa4 tree 8ad3a3785a73b2f993392b2ef32d4079f1d79768 parent dbe9035d4f690c44b55d3d0f1bc193e2c3fc57fa author Dmitry Torokhov Thu, 15 Sep 2005 02:01:32 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] I2O: remove class interface I2O: remove i2o_device_class_interface misuse The intent of class interfaces was to provide different 'views' at the same object, not just run some code every time a new class device is registered. Kill interface structure, make class core register default attributes and set up sysfs links right when registering class devices. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit dbe9035d4f690c44b55d3d0f1bc193e2c3fc57fa tree 56e46e581e95ae3bc8ca5473b4fd147c8b6d1f03 parent b94dc6b58667a73eeaf5cfd9c9e90dcd98743c5b author Dmitry Torokhov Thu, 15 Sep 2005 02:01:37 -0500 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] Driver core: send hotplug event before adding class interfaces Move call to kobject_hotplug() above code that adds interfaces to a class device, otherwise children's hotplug events may reach userspace first. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit b94dc6b58667a73eeaf5cfd9c9e90dcd98743c5b tree 738e4214f3168544bfcde2c46e369b3da5845dfe parent 0ac85241ebc7bf6b86ab498960cc121d53ef69ae author David Brownell Mon, 12 Sep 2005 19:39:39 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] usb device wakeup flags This patch teaches "usb_device" about the new driver model wakeup support: - It updates device wakeup capabilities when entering a configuration with the WAKEUP attribute; - During suspend processing it consults the policy bit to see whether it should enable wakeup for that device. (This resolves a FIXME to not assume the answer is always "yes"; some devices lie about supporting remote wakeup.) Support for root hubs and the HCDs is separate (and more complex). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 0ac85241ebc7bf6b86ab498960cc121d53ef69ae tree 8b5d9d5a3e475c49d771d1a4bd597ea561331ff7 parent 2a7ff1feda9f5cd6463744239ec5e661ee7d5f01 author David Brownell Mon, 12 Sep 2005 19:39:34 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] driver model wakeup flags This is a refresh of an earlier patch to add "wakeup" support to the PM core model. This provides per-device bus-neutral control of the use of wakeup events. * "struct device_pm_info" has two bits that are initialized as part of setting up the enclosing struct device: - "can_wakeup", reflecting hardware capabilities - "may_wakeup", the policy setting (when CONFIG_PM) * There's a writeable sysfs "wakeup" file, with one of two values: - "enabled", when the policy is to allow wakeup - "disabled", when the policy is not to allow it - "" if the device can't currently issue wakeups By default, wakeup is enabled on all devices that support it. If its driver doesn't support it ... treat it as a bug. :) Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 2a7ff1feda9f5cd6463744239ec5e661ee7d5f01 tree 1808e0383651b708d22038756f87796b5806a9fc parent 4ed17dccd69c4fc13b9d2118001f5e58ea16ebea author Erik Hovland Thu, 06 Oct 2005 10:47:49 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] changes device to driver in porting.txt The document porting.txt in Documentation/driver-model says: When a device is successfully bound to a device I think it should say: When a device is successfully bound to a driver Signed-off-by: Greg Kroah-Hartman commit 4ed17dccd69c4fc13b9d2118001f5e58ea16ebea tree 4b60b003d447d63a370564a7059ed2b91b7f119f parent d5dee80ad69439ad8dccf8fa4d7fed0068aec9cf author Erik Hovland Thu, 06 Oct 2005 10:45:30 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] kobject_uevent.c has a typo in a comment This patch changes trough to through in a comment in kobject_uevent.c. Signed-off-by: Greg Kroah-Hartman commit d5dee80ad69439ad8dccf8fa4d7fed0068aec9cf tree e7983a7c7dce4213431a1b951d3d803167ed41f9 parent 3dc7c555636e46bb64b4da3570a345f4b247eaf0 author Will Dyson Fri, 16 Sep 2005 02:55:07 -0700 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] add sysfs support for ide tape I was recently given an old Travan tape drive and asked to do something useful with it. The ide-scsi + st (+serverworks ide controller) combo results in a hard lockup of the machine which I have not had the energy to debug, so I turned to ide-tape (which seems to work). The system in question debian stable, using udev to manage /dev. The following patch to ide-tape.c allows udev to create the cdev nodes for my drive. Cc: Gadi Oxman Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 3dc7c555636e46bb64b4da3570a345f4b247eaf0 tree 9ef2a3d1fff7584bf8ffc4513500e4af580d2fb7 parent 475172fb18853c31c24a8519b06a3bd5712b2cfe author Ed L. Cashin Thu, 29 Sep 2005 12:47:55 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:50 -0700 [PATCH] aoe: update to version 14 Signed-off-by: "Ed L. Cashin" Signed-off-by: Greg Kroah-Hartman Update driver version number to 14. commit 475172fb18853c31c24a8519b06a3bd5712b2cfe tree 2a2d7be04f20f9c3a2d133eaa37d33797d7e27da parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Ed L. Cashin Thu, 29 Sep 2005 12:47:40 -0400 committer Greg Kroah-Hartman Fri, 28 Oct 2005 09:52:49 -0700 [PATCH] aoe: use get_unaligned for accesses in ATA id buffer Signed-off-by: "Ed L. Cashin" Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman Use get_unaligned for possibly-unaligned multi-byte accesses to the ATA device identify response buffer. commit 96b88fb850cc419171f926ad04650ec509e9f543 tree 5bf9537bde467534608b3acdbfa5f7726ede8c3f parent e78a57de94480226f7fc90d0b4837bfc6c99a9e0 parent 5fadd053d9bb4345ec6f405d24db4e7eb49cf81e author Jeff Garzik Fri, 28 Oct 2005 12:31:34 -0400 committer Jeff Garzik Fri, 28 Oct 2005 12:31:34 -0400 Merge branch 'master' commit 27d1097d39509494706eaa2620ef3b1e780a3224 tree 69782da9f8f2e5fcf20fa7ce11832085825563af parent 83928e17b92b7a667bfe674f1b330619adc2ac88 parent 8573b80f020dce7aefa3237f1e932d562b65323d author Linus Torvalds Fri, 28 Oct 2005 09:25:21 -0700 committer Linus Torvalds Fri, 28 Oct 2005 09:25:21 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-mmc commit 83928e17b92b7a667bfe674f1b330619adc2ac88 tree bdfc0fd037ad1380d75cefa0e47be24e344d977c parent 9be16a03928642f944915b8c05945fd87b7a15cb parent 50f4c001bc1534db77663592496204ceba151e97 author Linus Torvalds Fri, 28 Oct 2005 09:24:22 -0700 committer Linus Torvalds Fri, 28 Oct 2005 09:24:22 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm Minor manual fixups for gfp_t clashes. commit 210cc679faf0e1cabda9fc5d1279644f5e52aecb tree f0816c90ae937a159f8bfec6018a6271223b954a parent e0f998930eb67c49f2862c58a45262ad0bc03eca parent 260b23674fdb570f3235ce55892246bef1c24c2a author Kyle McMartin Fri, 28 Oct 2005 12:18:07 -0400 committer Kyle McMartin Fri, 28 Oct 2005 12:18:07 -0400 Auto-update from upstream commit 9be16a03928642f944915b8c05945fd87b7a15cb tree 85bc5a5886e9873a7f424012de3bd908a70ab115 parent 5fadd053d9bb4345ec6f405d24db4e7eb49cf81e parent cb650116a030dd5cf12f30651e29ceb990d42e4a author Linus Torvalds Fri, 28 Oct 2005 09:16:58 -0700 committer Linus Torvalds Fri, 28 Oct 2005 09:16:58 -0700 Merge branch 'sx8' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/misc-2.6 commit 5fadd053d9bb4345ec6f405d24db4e7eb49cf81e tree 73924189ef46511301d004946fbdd9937b00c484 parent e5dfa9282f3db461a896a6692b529e1823ba98c6 parent 26ba2a7a9f4d8921f095af646a7d22c15a148028 author Linus Torvalds Fri, 28 Oct 2005 09:06:50 -0700 committer Linus Torvalds Fri, 28 Oct 2005 09:06:50 -0700 Merge branch 'upstream' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev commit e5dfa9282f3db461a896a6692b529e1823ba98c6 tree 574d23cebc57c657373b0e1b6692c047aba8dd6e parent 5dd962494f76fb3ef1196cd420b5d6260d7a3766 parent b2ab040db85835e54c7559533df7f85902617926 author Linus Torvalds Fri, 28 Oct 2005 09:05:25 -0700 committer Linus Torvalds Fri, 28 Oct 2005 09:05:25 -0700 Merge branch 'upstream' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit 5dd962494f76fb3ef1196cd420b5d6260d7a3766 tree f6eda4fcea880e420420a2886b84ad35a6b00f28 parent 28d721e24c88496ff8e9c4a0959bdc1415c0658e parent 772eca7825358f52cf208afd7ab8ce22722ce41a author Linus Torvalds Fri, 28 Oct 2005 08:56:34 -0700 committer Linus Torvalds Fri, 28 Oct 2005 08:56:34 -0700 Merge branch 'elevator-switch' of git://brick.kernel.dk/data/git/linux-2.6-block Manual fixup for trivial "gfp_t" changes. commit 28d721e24c88496ff8e9c4a0959bdc1415c0658e tree 0652161bbbcbfddf47c7ddb25d2db8ecd4cbec89 parent 0ee40c6628434f0535da31deeacc28b61e80d810 parent cb19833dccb32f97cacbfff834b53523915f13f6 author Linus Torvalds Fri, 28 Oct 2005 08:53:49 -0700 committer Linus Torvalds Fri, 28 Oct 2005 08:53:49 -0700 Merge branch 'generic-dispatch' of git://brick.kernel.dk/data/git/linux-2.6-block commit 0ee40c6628434f0535da31deeacc28b61e80d810 tree 2873b9c932a63943fad22617b8385866e45347f5 parent 236fa08168dd82af29a76c31c40b4148403774c0 parent 2824bc9328467127083c1325f54b67d298c333b2 author Linus Torvalds Fri, 28 Oct 2005 08:53:00 -0700 committer Linus Torvalds Fri, 28 Oct 2005 08:53:00 -0700 Merge branch 'for-linus' of git://brick.kernel.dk/data/git/linux-2.6-block commit 50f4c001bc1534db77663592496204ceba151e97 tree 5391f9f8728bd489a5eaa1523e6c198e537db1ba parent 049eb3298a832a63c55bc8d8ea4cc881ab99f84b author Bellido Nicolas Fri, 28 Oct 2005 16:51:44 +0100 committer Russell King Fri, 28 Oct 2005 16:51:44 +0100 [ARM] 3042/1: AAED-2000 - LCD panel informations Patch from Bellido Nicolas The AAED-2000 is equiped with an 640x480 LCD. This adds the parameters that will be passed to the AAEC-2000 platform code. Signed-off-by: Nicolas Bellido Signed-off-by: Russell King commit 049eb3298a832a63c55bc8d8ea4cc881ab99f84b tree 93de3e93882c8e44ec9bd469c58bd999c12914d0 parent 4224b67c9a1d6cbf47b073970bd2db5a89557f92 author Bellido Nicolas Fri, 28 Oct 2005 16:51:44 +0100 committer Russell King Fri, 28 Oct 2005 16:51:44 +0100 [ARM] 3041/1: AAEC-2000 - CLCD controller platform glue Patch from Bellido Nicolas The AAEC-2000 has an ARM PrimeCell PL110 Color LCD Controller. This patch contains the platform glue that will be used by specific boards. Signed-off-by: Nicolas Bellido Signed-off-by: Russell King commit 4224b67c9a1d6cbf47b073970bd2db5a89557f92 tree c2e37463f5844f2f64dcfc8aff4620d903c6e647 parent 4a91ca2eb6eff14bb23f709e6ebf189fdbcdaa22 author Bellido Nicolas Fri, 28 Oct 2005 16:51:43 +0100 committer Russell King Fri, 28 Oct 2005 16:51:43 +0100 [ARM] 3040/1: AAEC-2000 - Preliminary clock interface support Patch from Bellido Nicolas Here is a preliminary clock interface support for the AAEC-2000. Signed-off-by: Nicolas Bellido Signed-off-by: Russell King commit 4a91ca2eb6eff14bb23f709e6ebf189fdbcdaa22 tree 6b4a49b970dcc2091eb4e536744a36559d50b441 parent f0904e29369a940080487fece700e59295196d79 author Bellido Nicolas Fri, 28 Oct 2005 16:51:42 +0100 committer Russell King Fri, 28 Oct 2005 16:51:42 +0100 [ARM] 3039/1: AAEC-2000 - Add MTD support Patch from Bellido Nicolas This adds platform code for MTD devices on AAEC-2000. Signed-off-by: Nicolas Bellido Signed-off-by: Russell King commit f0904e29369a940080487fece700e59295196d79 tree bb024b7a1ac225d1221d91e57ee0a7eea4a782f6 parent 4028ef4cc1fea245906a2dbd4df1ac9f0353ef5f author Bellido Nicolas Fri, 28 Oct 2005 16:51:41 +0100 committer Russell King Fri, 28 Oct 2005 16:51:41 +0100 [ARM] 3038/1: AAEC-2000 - Proper includes in hardware.h Patch from Bellido Nicolas linux/config.h is not necessary in hardware.h, while asm/sizes.h and asm/arch//aaec2000.h will be used later. Signed-off-by: Nicolas Bellido Signed-off-by: Russell King commit 4028ef4cc1fea245906a2dbd4df1ac9f0353ef5f tree 03d87c15a85caaf918e40abc8ab0245a37b362ad parent 13b1d677d2c872e2d05ef6241b499b6e1f6f91ba author Bellido Nicolas Fri, 28 Oct 2005 16:51:40 +0100 committer Russell King Fri, 28 Oct 2005 16:51:40 +0100 [ARM] 3037/1: AAED-2000 - Add defines for GPIO registers on external port. Patch from Bellido Nicolas The AAED-2000 board has GPIO pins on an external port. This patch adds the defines, and do the necessary mapping. Signed-off-by: Nicolas Bellido Signed-off-by: Russell King commit 13b1d677d2c872e2d05ef6241b499b6e1f6f91ba tree 5aa42a89be27a05d77e17920e3fd566669b23051 parent 6f475c0133eb91c7df3b056843dc33d2824368a2 author Bellido Nicolas Fri, 28 Oct 2005 16:51:40 +0100 committer Russell King Fri, 28 Oct 2005 16:51:40 +0100 [ARM] 3036/1: AAEC-2000 - Add defines for GPIO registers Patch from Bellido Nicolas Add defines for GPIO registers on the AAEC-2000 processor. Signed-off-by: Nicolas Bellido Signed-off-by: Russell King commit 236fa08168dd82af29a76c31c40b4148403774c0 tree 73456604747ede3536a5b851ce4615aab96237f7 parent 260b23674fdb570f3235ce55892246bef1c24c2a parent dcab5e1eeccf5e226c771ecc013631cde157435f author Linus Torvalds Fri, 28 Oct 2005 08:50:37 -0700 committer Linus Torvalds Fri, 28 Oct 2005 08:50:37 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/acme/net-2.6.15 commit 6f475c0133eb91c7df3b056843dc33d2824368a2 tree 051e35468fb1965c72e6fa5b679fac48975508b8 parent a999cb04b4bfb4a2243383f00d5714b8d7163035 author Nicolas Pitre Fri, 28 Oct 2005 16:39:33 +0100 committer Russell King Fri, 28 Oct 2005 16:39:33 +0100 [ARM] 2897/2: PXA2xx IRDA support Patch from Nicolas Pitre This is the PXA2xx common IRDA driver, plus platform support for Lubbock and Mainstone. Signed-off-by: Nicolas Pitre Acked-by: Jean Tourrilhes Signed-off-by: Russell King commit a999cb04b4bfb4a2243383f00d5714b8d7163035 tree 951b848e666ed00b90c2ac55bce1b2664dd51c27 parent dd5b295ff880d5a0699a52f84106f16702c298f2 author Nicolas Pitre Fri, 28 Oct 2005 16:35:46 +0100 committer Russell King Fri, 28 Oct 2005 16:35:46 +0100 [ARM] 3035/1: RISCOS compat code fix Patch from Nicolas Pitre From: Daniel Jacobowitz > I also fixed a bug that confused me greatly while trying to debug: one > SIGILL has long been a SIGSEGV because of some broken RISCOS > compatibility code. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 8573b80f020dce7aefa3237f1e932d562b65323d tree 46942f2fb052072b44bee5d98a4222f31374c6a5 parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Erik Hovland Fri, 28 Oct 2005 16:28:04 +0100 committer Russell King Fri, 28 Oct 2005 16:28:04 +0100 [ARM] 3031/1: fix typos in comments of mmc.h Patch from Erik Hovland I noticed that the same typo (i before c in associated) showed up twice in the file kernel/include/linux/mmc/mmc.h. This patch fixes both of the instances I found with this mistake. The typos are in comments and should have no affect on working code. E Signed-off-by: Erik Hovland Signed-off-by: Russell King commit dd5b295ff880d5a0699a52f84106f16702c298f2 tree 2d2039394e0751034751b72887b1d2b66ed6166d parent d9e29649875df82828167dd45c802d942db863ba author Jon Ringle Fri, 28 Oct 2005 16:27:24 +0100 committer Russell King Fri, 28 Oct 2005 16:27:24 +0100 [ARM] 2921/1: Support for the RTC / nvram on the Comdial MP1000 Patch from Jon Ringle This adds support for the RTC and nvram on the Comdial MP1000 Signed-off-by: Jon Ringle Signed-off-by: Russell King commit d9e29649875df82828167dd45c802d942db863ba tree 8ce0d5d46bde4a92e212aabe18a3a86f508c8fd4 parent 80a18573cea2e6d8e95abe4d42bfc5f97761999a author Matt Reimer Fri, 28 Oct 2005 16:25:02 +0100 committer Russell King Fri, 28 Oct 2005 16:25:02 +0100 [ARM] 3029/1: Add HWUART support for PXA 255/26x Patch from Matt Reimer Adds support for HWUART on PXA 255 / 26x. This patch originally came from http://svn.rungie.com/svn/gumstix-buildroot/trunk/sources/kernel-patches/000-gumstix-hwuart.patch and has been tweaked by me. Signed-off-by: Matt Reimer Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 80a18573cea2e6d8e95abe4d42bfc5f97761999a tree 169773f6b106c22e9df10d14a14f538299915b51 parent 917f68f8163eb877a6d71c5b446ee236645c2944 author Todd Poynor Fri, 28 Oct 2005 16:25:01 +0100 committer Russell King Fri, 28 Oct 2005 16:25:01 +0100 [ARM] 2787/2: PXA27x low power modes support Patch from Todd Poynor Add symbols for PXA2xx PWRMODE register M field that selects low-power mode, replace unadorned constants. Honor power mode parameter of pxa_cpu_suspend(mode), no longer force to 3 (sleep). Full Deep Sleep low-power mode support for PXA27x is pending generic PM interfaces to select more than 2 suspend-to-RAM-style power modes, but this is expected soon. This can be hardcoded in the meantime by replacing the pxa_cpu_suspend() parameter value. From David Burrage and Todd Poynor. Try #2 removes one of the register copies and moves the code to save the pxa_cpu_suspend parameter to immediately surround the call that requires the parameter value be preserved. Signed-off-by: Todd Poynor Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 917f68f8163eb877a6d71c5b446ee236645c2944 tree d4bab9fc7a2022d9f068ae6c0ca42575ffd4ba08 parent 0b83f1400fa6e5f0d4afcff033628a16c163862a author Jon Ringle Fri, 28 Oct 2005 16:19:38 +0100 committer Russell King Fri, 28 Oct 2005 16:19:38 +0100 [ARM] 2919/1: CS8900A ethernet driver modifications for the Comdial MP1000 Patch from Jon Ringle This patch gives support for the CS8900A ethernet chip on the Comdial MP1000 Signed-off-by: Jon Ringle Signed-off-by: Russell King commit 0b83f1400fa6e5f0d4afcff033628a16c163862a tree c6fa01fd5a8d156b415ba9203f8ad349165de8ec parent b57235215933d5fde4013e2448223b934b4ac2b7 author Jon Ringle Fri, 28 Oct 2005 16:19:37 +0100 committer Russell King Fri, 28 Oct 2005 16:19:37 +0100 [ARM] 2918/1: [update] Base port of Comdial MP1000 platfrom Patch from Jon Ringle Updated 2898/1 per comments: - Removed fixup - Moved code in mach-mp1000/ to mach-clps711x/ - Cleaned up code in mp1000-seprom.c. Eliminated code that displayed the contents of the eeprom Please comment. Signed-off-by: Jon Ringle Signed-off-by: Russell King commit 260b23674fdb570f3235ce55892246bef1c24c2a tree 471e7b546cbf1f7ee4a165e5bd9a2de0770e53be parent c4cdd038318863e912e9b992489f61497f98b442 author Al Viro Fri, 21 Oct 2005 03:22:44 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:51 -0700 [PATCH] gfp_t: the rest zone handling, mapping->flags handling Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit c4cdd038318863e912e9b992489f61497f98b442 tree 07ebd1d1d5d27be8adcca5b81991af077f6044f8 parent b4e3ca1ab1ae9ae86134126dcdc88da1caaa32ca author Al Viro Fri, 21 Oct 2005 03:22:39 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:51 -0700 [PATCH] gfp_t: reiserfs mapping_set_gfp_mask() use Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit b4e3ca1ab1ae9ae86134126dcdc88da1caaa32ca tree 51c609f9a954cd5d4732c4b512f9ff2e19546d47 parent 9e24974db6b01ec067c24de09588282b6a1407f0 author Al Viro Fri, 21 Oct 2005 03:22:34 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:51 -0700 [PATCH] gfp_t: remaining bits of drivers/* Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 9e24974db6b01ec067c24de09588282b6a1407f0 tree 5ed1cc85738f76bfab07e61df84f55e35d642aca parent 53f9fc93f90a43701d6aaf3919be0614bb088b83 author Al Viro Fri, 21 Oct 2005 03:22:29 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:51 -0700 [PATCH] gfp_t: drivers/net Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 53f9fc93f90a43701d6aaf3919be0614bb088b83 tree b86e4ef9ef7ae1f54b64d19ca1e35c3607c36845 parent 1ef64e670e3bc27e0c3c83810ca36e19924c35c6 author Al Viro Fri, 21 Oct 2005 03:22:24 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:51 -0700 [PATCH] gfp_t: remaining bits of arch/* Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 1ef64e670e3bc27e0c3c83810ca36e19924c35c6 tree b024df98dcbe0bc28c967559da27a14254698887 parent 87b750dc4b7109aa744e7d331dc93df3fe5c1c28 author Al Viro Fri, 21 Oct 2005 03:22:18 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:50 -0700 [PATCH] gfp_t: sound Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 87b750dc4b7109aa744e7d331dc93df3fe5c1c28 tree a76309b353fc5c04eca8f6b5753b65e68f00c4d3 parent c53033f6b0bd7cc133b7f433083f0394cf29ac70 author Al Viro Fri, 21 Oct 2005 03:22:13 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:50 -0700 [PATCH] gfp_t: drivers/infiniband Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit c53033f6b0bd7cc133b7f433083f0394cf29ac70 tree 0e53b6f65b41f69de987e6b2a96248218933d497 parent 9796fdd829da626374458e8706daedcc0e432ddd author Al Viro Fri, 21 Oct 2005 03:22:08 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:50 -0700 [PATCH] gfp_t: drivers/scsi Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 9796fdd829da626374458e8706daedcc0e432ddd tree a0b4af7f45267cdcdfb677c2167906c6ef981b76 parent 55016f10e31bb15b85d8c500f979dfdceb37d548 author Al Viro Fri, 21 Oct 2005 03:22:03 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:49 -0700 [PATCH] gfp_t: kernel/* Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 55016f10e31bb15b85d8c500f979dfdceb37d548 tree 39bbbd7deb4a61e6c7d3ace28de8e069ffe407bc parent 970a9e73f9036ef89d46b8240f99463f6d244c1d author Al Viro Fri, 21 Oct 2005 03:21:58 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:49 -0700 [PATCH] gfp_t: drivers/usb Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 970a9e73f9036ef89d46b8240f99463f6d244c1d tree 0a55b5f311024661468a96fb01cb1063816f8d95 parent 5fb5cbed6e5ba4cbaf7284a23d42eb878bb7da24 author Al Viro Fri, 21 Oct 2005 03:21:53 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:49 -0700 [PATCH] gfp_t: dma-mapping (simple cases) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 5fb5cbed6e5ba4cbaf7284a23d42eb878bb7da24 tree eac92d644ee7a11538f52017756687a755d48ee5 parent f80aabb03a33702d934fbc3c02fd96471816d82e author Al Viro Fri, 21 Oct 2005 03:21:48 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:49 -0700 [PATCH] gfp_t: dma-mapping (xtensa) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit f80aabb03a33702d934fbc3c02fd96471816d82e tree 05e8dfb302367349d16f45269e28cb77858392fb parent 6dae2c2306684d9e76a04c22dc090380a9009f12 author Al Viro Fri, 21 Oct 2005 03:21:43 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (amd64) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 6dae2c2306684d9e76a04c22dc090380a9009f12 tree f15fae33cf83d5e3eb57a3399cd61da59adb1ba5 parent e82dd4d6472304495afa271b2f63b572868b23d9 author Al Viro Fri, 21 Oct 2005 03:21:38 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (sh) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit e82dd4d6472304495afa271b2f63b572868b23d9 tree 9b3dec842d9e8ff932392c723fd61580a3bcfc39 parent 5c1fb41f40b7b6d819a617f52dbd66b6938ef362 author Al Viro Fri, 21 Oct 2005 03:21:33 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (ppc) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 5c1fb41f40b7b6d819a617f52dbd66b6938ef362 tree fcd42c30e7d7f4663702afdc94d252610a537300 parent 185a8ff52875d8db31b9346ab186f75baa616dee author Al Viro Fri, 21 Oct 2005 03:21:28 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (parisc) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 185a8ff52875d8db31b9346ab186f75baa616dee tree c139d90dae1184917abdb35f5f3c2514c688390d parent a5da7d3c6e8fcd7aaab6c4e1e9101ba333248ffb author Al Viro Fri, 21 Oct 2005 03:21:23 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (mips) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit a5da7d3c6e8fcd7aaab6c4e1e9101ba333248ffb tree ce17675418c32fbf62073a3c809390e9518d3555 parent 43b7eae1f5c5424a49ea4a65e9b0e9d5d2fd9446 author Al Viro Fri, 21 Oct 2005 03:21:18 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (frv) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 43b7eae1f5c5424a49ea4a65e9b0e9d5d2fd9446 tree 99ea40aa04b3d77e90df415d54c40f2a812b88a8 parent 55c5d74b3ac3a6b8bdde4e5fab4015eccd557d52 author Al Viro Fri, 21 Oct 2005 03:21:13 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (cris) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 55c5d74b3ac3a6b8bdde4e5fab4015eccd557d52 tree 192a7cbb093b1bc0548a249758fd48a4f0458028 parent 06a544971fad0992fe8b92c5647538d573089dd4 author Al Viro Fri, 21 Oct 2005 03:21:08 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:48 -0700 [PATCH] gfp_t: dma-mapping (alpha) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 06a544971fad0992fe8b92c5647538d573089dd4 tree b51e38c66fcf65d4023a5627228861bd061c9c5c parent f9e3214a7964f523e12b4f30b6bd6396794818bd author Al Viro Fri, 21 Oct 2005 03:21:03 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:47 -0700 [PATCH] gfp_t: dma-mapping (ia64) ... and related annotations for amd64 - swiotlb code is shared, but prototypes are not. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit f9e3214a7964f523e12b4f30b6bd6396794818bd tree 1a10942dbaed7395f561e6698ce194a077bd7d7b parent 8267e268e0914ac9371d07f711fcf20cc572993c author Al Viro Fri, 21 Oct 2005 03:20:58 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:47 -0700 [PATCH] gfp_t: dma-mapping (arm) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 8267e268e0914ac9371d07f711fcf20cc572993c tree 6f83cbcb95187544ed9075470c14cc12128272c8 parent 27496a8c67bef4d789d8e3c8317ca35813a507ae author Al Viro Fri, 21 Oct 2005 03:20:53 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:47 -0700 [PATCH] gfp_t: block layer core Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 27496a8c67bef4d789d8e3c8317ca35813a507ae tree fe99a34fe5a800e41af61853e7444ddddf45d014 parent 7d877f3bda870ab5f001bd92528654471d5966b3 author Al Viro Fri, 21 Oct 2005 03:20:48 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:47 -0700 [PATCH] gfp_t: fs/* - ->releasepage() annotated (s/int/gfp_t), instances updated - missing gfp_t in fs/* added - fixed misannotation from the original sweep caught by bitwise checks: XFS used __nocast both for gfp_t and for flags used by XFS allocator. The latter left with unsigned int __nocast; we might want to add a different type for those but for now let's leave them alone. That, BTW, is a case when __nocast use had been actively confusing - it had been used in the same code for two different and similar types, with no way to catch misuses. Switch of gfp_t to bitwise had caught that immediately... One tricky bit is left alone to be dealt with later - mapping->flags is a mix of gfp_t and error indications. Left alone for now. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 7d877f3bda870ab5f001bd92528654471d5966b3 tree 1c05b62abead153956c4ca250ffb1891887e77c9 parent fd4f2df24bc23e6b8fc069765b425c7dacf52347 author Al Viro Fri, 21 Oct 2005 03:20:43 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:47 -0700 [PATCH] gfp_t: net/* Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit fd4f2df24bc23e6b8fc069765b425c7dacf52347 tree f7e993817030747c5e1000d46685ebd2eef11085 parent 6daa0e28627abf362138244a620a821a9027d816 author Al Viro Fri, 21 Oct 2005 03:18:50 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:47 -0700 [PATCH] gfp_t: lib/* Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 6daa0e28627abf362138244a620a821a9027d816 tree 5ca9cbc421cc1adf228cdd30cd627bca8be6242c parent af4ca457eaf2d6682059c18463eb106e2ce58198 author Al Viro Fri, 21 Oct 2005 03:18:50 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:47 -0700 [PATCH] gfp_t: mm/* (easy parts) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit af4ca457eaf2d6682059c18463eb106e2ce58198 tree 399ca5ab3b15d723a6aefd04c764a2a06089ed06 parent 434f1d10c1adb6c2e333d501ce1e42be610e0723 author Al Viro Fri, 21 Oct 2005 02:55:38 -0400 committer Linus Torvalds Fri, 28 Oct 2005 08:16:46 -0700 [PATCH] gfp_t: infrastructure Beginning of gfp_t annotations: - -Wbitwise added to CHECKFLAGS - old __bitwise renamed to __bitwise__ - __bitwise defined to either __bitwise__ or nothing, depending on __CHECK_ENDIAN__ being defined - gfp_t switched from __nocast to __bitwise__ - force cast to gfp_t added to __GFP_... constants - new helper - gfp_zone(); extracts zone bits out of gfp_t value and casts the result to int Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit b57235215933d5fde4013e2448223b934b4ac2b7 tree 01971ad7db6d51a78e71e9099a799536d6c87631 parent 57718976141c2929bddd6219efb32c2abea8360c author Ian Campbell Fri, 28 Oct 2005 15:31:48 +0100 committer Russell King Fri, 28 Oct 2005 15:31:48 +0100 [ARM] 3048/1: register i2s resources not i2c resources for the pxa i2s platform device Patch from Ian Campbell As noted by Uli Luckas in the comments of 3025 there is a typo in the i2s platform device. The i2s platform device refers to the i2c resources. Signed-off-by: Ian Campbell Signed-off-by: Russell King commit 57718976141c2929bddd6219efb32c2abea8360c tree 80204c47b9ac6e23eeefc1305cd729a930216cc5 parent 58c8d570f30d65836b53903fbdf355707a19aa52 author Ben Dooks Fri, 28 Oct 2005 15:31:47 +0100 committer Russell King Fri, 28 Oct 2005 15:31:47 +0100 [ARM] 3047/1: SMDK2440 - add framebuffer platform data Patch from Ben Dooks Add platform data for framebuffer for the onboard LCD module Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 58c8d570f30d65836b53903fbdf355707a19aa52 tree 3909aab14e088f4982aa5dd88a47b640075f38a1 parent 893b03094c2ed929648d76a29cbbfc9e215e8636 author Ben Dooks Fri, 28 Oct 2005 15:31:46 +0100 committer Russell King Fri, 28 Oct 2005 15:31:46 +0100 [ARM] 3046/1: BAST - add framebuffer platform data Patch from Ben Dooks Add framebuffer platform data Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 893b03094c2ed929648d76a29cbbfc9e215e8636 tree aff67b68cf24ac83316514051568f3643a48ebc6 parent 3b90c9c33361d49893645ffcebe6ca230f434705 author Ben Dooks Fri, 28 Oct 2005 15:31:45 +0100 committer Russell King Fri, 28 Oct 2005 15:31:45 +0100 [ARM] 3045/2: S3C2410 - change init for lcd platform data Patch from Ben Dooks Change set_s3c2410fb_info to s3c2410_fb_set_platdata and use kmalloc() for the copy of the information it is passed. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 3b90c9c33361d49893645ffcebe6ca230f434705 tree bf51c431a2730e6a6ec48cedbbfe24db6323172e parent 63a4b52c9ddca944afc1b78aacbf641c650780d7 author Lennert Buytenhek Fri, 28 Oct 2005 15:31:45 +0100 committer Russell King Fri, 28 Oct 2005 15:31:45 +0100 [ARM] 2908/1: add register definitions for ixp2000 msf Patch from Lennert Buytenhek We already had a mapping for the msf, but we didn't have any register definitions for it yet. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 63a4b52c9ddca944afc1b78aacbf641c650780d7 tree bc782e17f3f13de7fd6a7543c9806eaeec692f8f parent a0e0adb96ebe6bf0b8b3fe4cd6c214b1e8964609 author Ian Campbell Fri, 28 Oct 2005 15:26:42 +0100 committer Russell King Fri, 28 Oct 2005 15:26:42 +0100 [ARM] 3044/1: Fix sparse warnings about incompatible pointer types for register defined in pxa-regs.h Patch from Ian Campbell The sparse warning initially surfaced in sound/arm/pxa2xx-ac97.c because it was using u32 * variables to hold the unsigned long * register addresses. I submitted an ALSA patch for this http://thread.gmane.org/gmane.linux.alsa.devel/27804 issue and it was suggested that it might be preferable to change the register definitions to use u32. Most other subarches seem to use u32 for their register type, at least the ones which use a __REG macro (like the PXA) do. Nico indicated in the thread above that he wouldn't mind this patch. Changing the type required fixes for opposite warnings in the pxa2xx usb gadget code but that was the only new warning introduced on defconfig or lubbock, mainstone and our own PXA255 boards. Signed-off-by: Ian Campbell Signed-off-by: Russell King commit a0e0adb96ebe6bf0b8b3fe4cd6c214b1e8964609 tree 26c736c20c8d05bb8239cc68b427eccdadd0e341 parent 42d3a120fe9a1831b88e7037ce0b048d82433b09 author Ben Dooks Fri, 28 Oct 2005 15:26:42 +0100 committer Russell King Fri, 28 Oct 2005 15:26:42 +0100 [ARM] 3034/1: S3C2410 - fix size of devices in devs.c Patch from Ben Dooks From: Guillaume GOURAT A number of devices have an extra byte on the end of their areas due to mis-calculating the .end field of their resources Signed-off-by: Guillaume GOURAT Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 42d3a120fe9a1831b88e7037ce0b048d82433b09 tree 0fef604e20da25b1c6254ebda98d00cfce2498e2 parent c09f98271f685af349d3f0199360f1c0e85550e0 author Ben Dooks Fri, 28 Oct 2005 15:26:41 +0100 committer Russell King Fri, 28 Oct 2005 15:26:41 +0100 [ARM] 3033/1: S3C2410 - add generic gpio_cfgpin options Patch from Ben Dooks Add generic values for the parameters to the s3c2410_gpio_cfgpin() function, so that a caller does not need to know the exact constant for the specified pin. This is very useful for the case where a driver is passed a gpio pin number and needs to reconfigure the pin's function. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit c09f98271f685af349d3f0199360f1c0e85550e0 tree 2e8a393d76e386ff64af2a786cf5baf370f3823b parent 0b7cd62ecdc1f09b7df4608a3fee644b1c27985b author Nicolas Pitre Fri, 28 Oct 2005 15:26:40 +0100 committer Russell King Fri, 28 Oct 2005 15:26:40 +0100 [ARM] 2930/1: optimized sha1 implementation for ARM Patch from Nicolas Pitre Here's an ARM assembly SHA1 implementation to replace the default C version. It is approximately 50% faster than the generic C version. On an XScale processor running at 400MHz: generic C version: 9.8 MB/s my version: 14.5 MB/s This code is useful to quite a few callers in the tree: crypto/sha1.c: sha_transform(sctx->state, sctx->buffer, temp); crypto/sha1.c: sha_transform(sctx->state, &data[i], temp); drivers/char/random.c: sha_transform(buf, (__u8 *)r->pool+i, buf + 5); drivers/char/random.c: sha_transform(buf, (__u8 *)data, buf + 5); net/ipv4/syncookies.c: sha_transform(tmp + 16, (__u8 *)tmp, tmp + 16 + 5); Signed-off-by: Nicolas Pitre Seems to work fine on big-endian as well. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 0b7cd62ecdc1f09b7df4608a3fee644b1c27985b tree 3769b043ea6b15ffe7b74a1a5d42903e08b126bc parent 9769c2468d423a1562dd59a5db250bd0a5533ec9 author Deepak Saxena Fri, 28 Oct 2005 15:19:12 +0100 committer Russell King Fri, 28 Oct 2005 15:19:12 +0100 [ARM] 3017/1: Add support for 36-bit addresses to create_mapping() Patch from Deepak Saxena This patch adds support for 36-bit static mapped I/O. While there are no platforms in the tree ATM that use it, it has been tested tested on the IXP2350 NPU and I would like to get the support for that chipset upstream one piece at a time. There are also other Intel chipset ports in development that are waiting on this to go upstream. The patch replaces the print formats for physical addresses with %016llx which will create a bit extraneous output on 32-bit systems, but I think that is cleaner than having #ifdefs, specially since users will only see the output in error cases. Depends on 3016/1. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 9769c2468d423a1562dd59a5db250bd0a5533ec9 tree d584ad444ed8bd5d1abfc197c918dfc6a9af7ddb parent c8d2729858d76de4ef7522c8171004fc1959cc44 author Deepak Saxena Fri, 28 Oct 2005 15:19:11 +0100 committer Russell King Fri, 28 Oct 2005 15:19:11 +0100 [ARM] 3016/1: Replace map_desc.physical with map_desc.pfn Patch from Deepak Saxena Convert map_desc.physical to map_desc.pfn. This allows us to add support for 36-bit addressed physical devices in the static maps without having to resort to u64 variables. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit c8d2729858d76de4ef7522c8171004fc1959cc44 tree 1ee360c926ef6544b7a1701fe4558ddab1824733 parent adecef744fc5b4e9316c851feec2a4d2640dd7ae author Deepak Saxena Fri, 28 Oct 2005 15:19:10 +0100 committer Russell King Fri, 28 Oct 2005 15:19:10 +0100 [ARM] 3001/1: Replace map_desc.physical with map_desc.pfn: Integrator Patch from Deepak Saxena Integrator map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit adecef744fc5b4e9316c851feec2a4d2640dd7ae tree c1b5ed76a45b6302a7ba93c3814f4583ea70d505 parent 3e9635e4060238549ffac239de34f6122b053653 author Deepak Saxena Fri, 28 Oct 2005 15:19:10 +0100 committer Russell King Fri, 28 Oct 2005 15:19:10 +0100 [ARM] 3000/1: Replace map_desc.physical with map_desc.pfn: iMX Patch from Deepak Saxena iMX map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 3e9635e4060238549ffac239de34f6122b053653 tree fcf6165518ae52782c2627eed050bcb5ade4aa57 parent a427ceef934d8162c8c61d152e969bc3ec21a4e5 author Deepak Saxena Fri, 28 Oct 2005 15:19:09 +0100 committer Russell King Fri, 28 Oct 2005 15:19:09 +0100 [ARM] 2999/1: Replace map_desc.physical with map_desc.pfn: H720x Patch from Deepak Saxena H720x map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit a427ceef934d8162c8c61d152e969bc3ec21a4e5 tree a9685eae50591734deefa30e8e395002b2340fb9 parent 6cb1907c1a88563c84123c923b46424ea68b53eb author Deepak Saxena Fri, 28 Oct 2005 15:19:08 +0100 committer Russell King Fri, 28 Oct 2005 15:19:08 +0100 [ARM] 2998/1: Replace map_desc.physical with map_desc.pfn: Footbridge Patch from Deepak Saxena Footbridge map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 6cb1907c1a88563c84123c923b46424ea68b53eb tree 0dd89d69e94e859ea60866490bbeee252e78f2de parent 7a557e246f5c24f4c7218f41f8caf03c492f40f9 author Deepak Saxena Fri, 28 Oct 2005 15:19:08 +0100 committer Russell King Fri, 28 Oct 2005 15:19:08 +0100 [ARM] 2997/1: Replace map_desc.physical with map_desc.pfn: EBSA110 Patch from Deepak Saxena EBSA110 map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 7a557e246f5c24f4c7218f41f8caf03c492f40f9 tree 6e9dfb55c02c67a31cc41a84c5be7b2058b97386 parent 1311521fb1b8ebbb0b470d028df13f2cbc643e51 author Deepak Saxena Fri, 28 Oct 2005 15:19:07 +0100 committer Russell King Fri, 28 Oct 2005 15:19:07 +0100 [ARM] 2996/1: Replace map_desc.physical with map_desc.pfn: EPXA10DB Patch from Deepak Saxena EPXA10DB mapd_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 1311521fb1b8ebbb0b470d028df13f2cbc643e51 tree 9f18d38f8948b2b3b243c5bbfd4e26f46d5553fb parent d157e9ecec59383a676d676e2bb39367430396a2 author Deepak Saxena Fri, 28 Oct 2005 15:19:06 +0100 committer Russell King Fri, 28 Oct 2005 15:19:06 +0100 [ARM] 2995/1: Replace map_desc.physical with map_desc.pfn: Versatile Patch from Deepak Saxena Versatile map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit d157e9ecec59383a676d676e2bb39367430396a2 tree c7947a901355530a047258c876104e96ec605725 parent f10083f5a6f4a2735cca3a8c762457272ea66bf0 author Deepak Saxena Fri, 28 Oct 2005 15:19:05 +0100 committer Russell King Fri, 28 Oct 2005 15:19:05 +0100 [ARM] 2994/1: Replace map_desc.physical with map_desc.pfn: CLPS7500 Patch from Deepak Saxena CLSP7500 map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit f10083f5a6f4a2735cca3a8c762457272ea66bf0 tree fcfe67bcb1b14305ffdad376a2b0ee10377a1916 parent 92519d82828a93743adc31202927f411601c0d04 author Deepak Saxena Fri, 28 Oct 2005 15:19:05 +0100 committer Russell King Fri, 28 Oct 2005 15:19:05 +0100 [ARM] 2993/1: Replace map_desc.physical with map_desc.pfn: CLPS711x Patch from Deepak Saxena CLSP711x map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 92519d82828a93743adc31202927f411601c0d04 tree 66870a71932fa52ad0d4cd748c0df0a8a7fc2e29 parent cd5fc8bffd70b2d87953334b6195db4bc2125ff9 author Deepak Saxena Fri, 28 Oct 2005 15:19:04 +0100 committer Russell King Fri, 28 Oct 2005 15:19:04 +0100 [ARM] 2992/1: Replace map_desc.physical with map_desc.pfn: SA1100 Patch from Deepak Saxena SA1100 map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit cd5fc8bffd70b2d87953334b6195db4bc2125ff9 tree e6245d10dc73176c6298b55cd6cf237b1353621a parent 1cc977a76642b1eec2ab4ba80a6f0db9a63a091e author Deepak Saxena Fri, 28 Oct 2005 15:19:03 +0100 committer Russell King Fri, 28 Oct 2005 15:19:03 +0100 [ARM] 2991/1: Replace map_desc.physical with map_desc.pfn: Shark Patch from Deepak Saxena Shark map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 1cc977a76642b1eec2ab4ba80a6f0db9a63a091e tree cade01987d4749200335f6c19e5e6cb381f75b16 parent f9258f226baf663099acb7972287ea0e26ce05a7 author Deepak Saxena Fri, 28 Oct 2005 15:19:02 +0100 committer Russell King Fri, 28 Oct 2005 15:19:02 +0100 [ARM] 2990/1: Replace map_desc.physical with map_desc.pfn: S3C2410 Patch from Deepak Saxena S3C2410 map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit f9258f226baf663099acb7972287ea0e26ce05a7 tree 107f3597d7e9af9f58219e5f30ac3b7131da78ce parent 6f9182eb32a4e6c46813928bee50df71e3fd1c74 author Deepak Saxena Fri, 28 Oct 2005 15:19:02 +0100 committer Russell King Fri, 28 Oct 2005 15:19:02 +0100 [ARM] 2989/1: Replace map_desc.physical with map_desc.pfn: RiscPC Patch from Deepak Saxena RiscPC map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 6f9182eb32a4e6c46813928bee50df71e3fd1c74 tree 6d5579e43a5bdb8acc7dfe301906e31087f2e741 parent 9fe133b149e8a48742a64b72f22041bcd31fe827 author Deepak Saxena Fri, 28 Oct 2005 15:19:01 +0100 committer Russell King Fri, 28 Oct 2005 15:19:01 +0100 [ARM] 2988/1: Replace map_desc.physical with map_desc.pfn: PXA Patch from Deepak Saxena PXA map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 9fe133b149e8a48742a64b72f22041bcd31fe827 tree f1e61e32613c0c972f88a1ee8886dcefaa8ca3d5 parent 36d28c03d17506dd30aeed9d68a4023f3e7631dc author Deepak Saxena Fri, 28 Oct 2005 15:19:00 +0100 committer Russell King Fri, 28 Oct 2005 15:19:00 +0100 [ARM] 2987/1: Replace map_desc.physical with map_desc.pfn: OMAP Patch from Deepak Saxena OMAP map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 36d28c03d17506dd30aeed9d68a4023f3e7631dc tree b5e0dc704946127a530615de8af8010b74b96983 parent 87fe04bd2a39f263211cc232da9f4f094eaffea0 author Deepak Saxena Fri, 28 Oct 2005 15:18:59 +0100 committer Russell King Fri, 28 Oct 2005 15:18:59 +0100 [ARM] 2986/1: Replace map_desc.physical with map_desc.pfn: LH7A40x Patch from Deepak Saxena LH7A40x map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 87fe04bd2a39f263211cc232da9f4f094eaffea0 tree d6b74cf34b442ae3e0a519dec4d2aed1dea406d9 parent db0d087e34d251254f6349e607c2a2ec295cd90b author Deepak Saxena Fri, 28 Oct 2005 15:18:59 +0100 committer Russell King Fri, 28 Oct 2005 15:18:59 +0100 [ARM] 2985/1: Replace map_desc.physical with map_desc.pfn: IXP4xx Patch from Deepak Saxena IXP4xx map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit db0d087e34d251254f6349e607c2a2ec295cd90b tree 749c707ea000588417bf0236bdf2452dc0c9db48 parent 4835e64a5f44366e97dde9b6e26ede2ec16249da author Deepak Saxena Fri, 28 Oct 2005 15:18:58 +0100 committer Russell King Fri, 28 Oct 2005 15:18:58 +0100 [ARM] 2984/1: Replace map_desc.physical with map_desc.pfn: IXP2000 Patch from Deepak Saxena IXP2000 map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 4835e64a5f44366e97dde9b6e26ede2ec16249da tree f9bb1db7e27d86b2cb40612468bca9338b6280eb parent f70cd65658388ca2a06071bdbd8a5a6beac5aa47 author Deepak Saxena Fri, 28 Oct 2005 15:18:57 +0100 committer Russell King Fri, 28 Oct 2005 15:18:57 +0100 [ARM] 2983/1: Replace map_desc.physical with map_desc.pfn: IOP3xx Patch from Deepak Saxena IOP3xx map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit f70cd65658388ca2a06071bdbd8a5a6beac5aa47 tree 25e49869ae2ef81f1b66740efc9e179d693e8f37 parent c6b9dafce3e3b434a3e7ffd5072815c03d18cc84 author Deepak Saxena Fri, 28 Oct 2005 15:18:56 +0100 committer Russell King Fri, 28 Oct 2005 15:18:56 +0100 [ARM] 2982/1: Replace map_desc.physical with map_desc.pfn: aaec2000 Patch from Deepak Saxena aaec2000 map_desc.pfn conversion Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit c6b9dafce3e3b434a3e7ffd5072815c03d18cc84 tree 111b89d53b0d66d1220d20aaa37f9dbd29658ab4 parent 55f052341ff75e5815b1f7f4d2d3b69314ea8712 author Russell King Fri, 28 Oct 2005 14:56:04 +0100 committer Russell King Fri, 28 Oct 2005 14:56:04 +0100 [ARM] 4/4 Combine oprofile common and init code There is nothing special about having the init code separate from the common code, so combine the two. Signed-off-by: Russell King commit 55f052341ff75e5815b1f7f4d2d3b69314ea8712 tree 12b2bf8b6cd272305bddf39f542ddbf5230d90bc parent 7c5b3fc20807279d8f8e78f1e2ef275128668796 author Russell King Fri, 28 Oct 2005 14:54:21 +0100 committer Russell King Fri, 28 Oct 2005 14:54:21 +0100 [ARM] 3/4 Rename common oprofile code The common oprofile code assumes the name "PMU" (from Intel's performance management unit). This is misleading when we start adding oprofile support for other machine types which don't use the same terminology. Call it op_arm_* instead of pmu_*. Signed-off-by: Russell King commit 7c5b3fc20807279d8f8e78f1e2ef275128668796 tree 393e609ef9e6cd32c9fbce258686a462b33b4ce8 parent b5893c56ca7e664aef010a71c2638db768d4e996 author Russell King Fri, 28 Oct 2005 14:52:30 +0100 committer Russell King Fri, 28 Oct 2005 14:52:30 +0100 [ARM] 2/4 Fix oprofile suspend/resume The oprofile suspend/resume was missing locking. If we failed to start oprofile on resume, we still reported that it was enabled. Instead, disable oprofile on error. Signed-off-by: Russell King commit b5893c56ca7e664aef010a71c2638db768d4e996 tree 0e7478849d0f37fbf199fe2c2005828492a280c4 parent 90072059d2963dec237ae0cf49831ef77ddb5739 author Russell King Fri, 28 Oct 2005 14:51:15 +0100 committer Russell King Fri, 28 Oct 2005 14:51:15 +0100 [ARM] 1/4 Move oprofile driver model code Signed-off-by: Russell King commit 90072059d2963dec237ae0cf49831ef77ddb5739 tree 5ec0cc3e9759599957ea98eb9f5c372ffabca00f parent f339ab3d6c59f8f898c165384aa2b6a0ae5d4c1c author Russell King Fri, 28 Oct 2005 14:48:37 +0100 committer Russell King Fri, 28 Oct 2005 14:48:37 +0100 [ARM] Re-jig bootmem initialisation Make ARM independent of the way bootmem operates internally. We now map each node as we initialise it, and place the bootmem bitmap inside each node, rather than all in the first node. Signed-off-by: Russell King commit f339ab3d6c59f8f898c165384aa2b6a0ae5d4c1c tree c17ec50ffe9544c8c67a6532644bb0a1cedc53b7 parent 674c04538284736c4a44224c78cb784b2c972f98 author Russell King Fri, 28 Oct 2005 14:29:43 +0100 committer Russell King Fri, 28 Oct 2005 14:29:43 +0100 [ARM] Fix sparse warnings Fix sparse warnings in arch/arm/kernel/module.c, arch/arm/mm/consistent.c, drivers/pcmcia/sa1111_generic.c, and platform support files. Signed-off-by: Russell King commit 674c04538284736c4a44224c78cb784b2c972f98 tree b975860890debe5fadcafd4137ad3112f1784849 parent c6b8fdad144bbb915d124ffd95011ad55730bf9f author Russell King Fri, 28 Oct 2005 14:25:28 +0100 committer Russell King Fri, 28 Oct 2005 14:25:28 +0100 [ARM] 3/4: Remove asm/hardware.h from SA1100 io.h Signed-off-by: Russell King commit c6b8fdad144bbb915d124ffd95011ad55730bf9f tree 060b83a573584c69f3fad1f5eec723ae1cbbca28 parent 766529fa2c95e2006ad4c4485c4cde0912d21f12 author Russell King Fri, 28 Oct 2005 14:05:16 +0100 committer Russell King Fri, 28 Oct 2005 14:05:16 +0100 [ARM] 3/4: Remove asm/hardware.h from Versatile and Integrator io.h Signed-off-by: Russell King commit f78541dcec327b0c46b150ee7d727f3db80275c4 tree 9336801742d93ffa0c84c76e2b3cdc5b50c7125b parent c032524f0ddea5fcc3a2cece0d4a61f37e5ca9cd author Paul Mackerras Fri, 28 Oct 2005 22:53:37 +1000 committer Paul Mackerras Fri, 28 Oct 2005 22:53:37 +1000 powerpc: Merge xmon The merged version follows the ppc64 version pretty closely mostly, and in fact ARCH=ppc64 now uses the arch/powerpc/xmon version. The main difference for ppc64 is that the 'p' command to call show_state (which was always pretty dodgy) has been replaced by the ppc32 'p' command, which calls a given procedure (so in fact the old 'p' command behaviour can be achieved with 'p $show_state'). Signed-off-by: Paul Mackerras commit c032524f0ddea5fcc3a2cece0d4a61f37e5ca9cd tree c4ece990e6083cfedc640a06f908bfe33fd344bd parent d73e0c99f5c45e7b86d38725a4ff49f6746f5353 author Paul Mackerras Fri, 28 Oct 2005 22:48:08 +1000 committer Paul Mackerras Fri, 28 Oct 2005 22:48:08 +1000 powerpc: Make single-stepping emulation (mostly) usable on 32-bit The sc instruction emulation can't be done the same way on 32-bit as 64-bit yet, but this should work OK. Signed-off-by: Paul Mackerras commit d73e0c99f5c45e7b86d38725a4ff49f6746f5353 tree 92bc8a15a55ece53c6860af5c2d9ec6ce4d006a8 parent 007e8f51b26ae7b6a17651af5a0f01ab6491cdca author Paul Mackerras Fri, 28 Oct 2005 22:45:25 +1000 committer Paul Mackerras Fri, 28 Oct 2005 22:45:25 +1000 powerpc: Rename asm offset TRAP to _TRAP for 32-bit ... for consistency with 64-bit. Signed-off-by: Paul Mackerras commit 766529fa2c95e2006ad4c4485c4cde0912d21f12 tree e132878cdc98927f9df4625d9a288ee8965fb562 parent 7fca0aa489c82bef85514b5447f6a0be81543115 author Russell King Fri, 28 Oct 2005 10:29:21 +0100 committer Russell King Fri, 28 Oct 2005 10:29:21 +0100 [ARM] 2/4: Remove asm/hardware.h from asm-arm/arch-ebsa110/io.h EBSA110 only requires hardware.h to be included for a couple of files. Move the include there. Signed-off-by: Russell King commit 7fca0aa489c82bef85514b5447f6a0be81543115 tree 7f781dd06d93d629e49de0f9484b3a4e7b7707c0 parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Russell King Fri, 28 Oct 2005 10:20:25 +0100 committer Russell King Fri, 28 Oct 2005 10:20:25 +0100 [ARM] 1/4: Move include of asm/hardware.h to asm-arm/arch-*/io.h Including asm/hardware.h into asm/io.h can cause #define clashes between platform specific definitions and driver local definitions. Signed-off-by: Russell King commit 772eca7825358f52cf208afd7ab8ce22722ce41a tree 682daf64192f8753517e35a5683ac521583d107d parent 64521d1a3ba7cc7fe4ab5640da83d88144f05340 author Jens Axboe Fri, 28 Oct 2005 09:01:17 +0200 committer Jens Axboe Fri, 28 Oct 2005 09:01:17 +0200 [BLOCK] Leftover reference to ->max_back_kb Signed-off-by: Jens Axboe commit 64521d1a3ba7cc7fe4ab5640da83d88144f05340 tree 566f61ed9bbdc1c6ad245cb186fdd8c810a58f25 parent cb98fc8bb9c141009e2bda99c0db39d387e142cf author Jens Axboe Fri, 28 Oct 2005 08:30:39 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:48:23 +0200 [BLOCK] elevator switch fixes/cleanup - 100msec sleep is a little excessive, lots of requests can complete in that timeframe. Use 10msec instead. - Rename QUEUE_FLAG_BYPASS to QUEUE_FLAG_ELVSWITCH to indicate what is going on. Signed-off-by: Jens Axboe commit cb98fc8bb9c141009e2bda99c0db39d387e142cf tree 8957f8a79f39c3e6633a0dbb165ced8b530aca0c parent cb19833dccb32f97cacbfff834b53523915f13f6 author Tejun Heo Fri, 28 Oct 2005 08:29:39 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:48:12 +0200 [BLOCK] Reimplement elevator switch This patch reimplements elevator switch. This patch assumes generic dispatch queue patchset is applied. * Each request is tagged with REQ_ELVPRIV flag if it has its elevator private data set. * Requests which doesn't have REQ_ELVPRIV flag set never enter iosched. They are always directly back inserted to dispatch queue. Of course, elevator_put_req_fn is called only for requests which have its REQ_ELVPRIV set. * Request queue maintains the current number of requests which have its elevator data set (elevator_set_req_fn called) in q->rq->elvpriv. * If a request queue has QUEUE_FLAG_BYPASS set, elevator private data is not allocated for new requests. To switch to another iosched, we set QUEUE_FLAG_BYPASS and wait until elvpriv goes to zero; then, we attach the new iosched and clears QUEUE_FLAG_BYPASS. New implementation is much simpler and main code paths are less cluttered, IMHO. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit cb19833dccb32f97cacbfff834b53523915f13f6 tree 24fb8d125bcfdf5209ac6f502b78160d0193428c parent 4c9f7836406f41ef9da6ee68d7a0448fdb97b5ef author Tejun Heo Mon, 24 Oct 2005 08:35:58 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:46:01 +0200 [BLOCK] kill generic max_back_kb handling This patch kills max_back_kb handling from elv_dispatch_sort() and kills max_back_kb field from struct request_queue. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 4c9f7836406f41ef9da6ee68d7a0448fdb97b5ef tree 9ed099a117a24bee56a5e920ea95f9e2bb82add6 parent 98b11471d72a374f346bec50a00d0887719b85b3 author Tejun Heo Thu, 20 Oct 2005 16:47:40 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:45:47 +0200 [PATCH] 05/05 update biodoc to match new generic dispatch api Updates biodoc to reflect changes in elevator API Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 98b11471d72a374f346bec50a00d0887719b85b3 tree 875feb99eacd983fdc9107eb1c3b68f24e641aa4 parent 06b86245c052963029bfd9020ca1f08ceb66f85a author Tejun Heo Thu, 20 Oct 2005 16:46:54 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:45:35 +0200 [PATCH] 04/05 remove last_merge handling from ioscheds Remove last_merge handling from all ioscheds. This patch removes merging capability of noop iosched. Signed-off-by: Tejun Heo commit 06b86245c052963029bfd9020ca1f08ceb66f85a tree 1bd2675aceca74398f5fcf148f6cf2f551d63b52 parent b4878f245ec8e168cdd1f170f823a750b7dd4af5 author Tejun Heo Thu, 20 Oct 2005 16:46:23 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:45:20 +0200 [PATCH] 03/05 move last_merge handlin into generic elevator code Currently, both generic elevator code and specific ioscheds participate in the management and usage of last_merge. This and the following patches move last_merge handling into generic elevator code. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit b4878f245ec8e168cdd1f170f823a750b7dd4af5 tree de784c2a7e1174e4843807998f0356bf92ee78be parent d9ebb192aa13a026edc6faff137dcb14f2c91731 author Jens Axboe Thu, 20 Oct 2005 16:42:29 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:45:08 +0200 [PATCH] 02/05: update ioscheds to use generic dispatch queue This patch updates all four ioscheds to use generic dispatch queue. There's one behavior change in as-iosched. * In as-iosched, when force dispatching (ELEVATOR_INSERT_BACK), batch_data_dir is reset to REQ_SYNC and changed_batch and new_batch are cleared to zero. This prevernts AS from doing incorrect update_write_batch after the forced dispatched requests are finished. * In cfq-iosched, cfqd->rq_in_driver currently counts the number of activated (removed) requests to determine whether queue-kicking is needed and cfq_max_depth has been reached. With generic dispatch queue, I think counting the number of dispatched requests would be more appropriate. * cfq_max_depth can be lowered to 1 again. Original from Tejun Heo, modified version applied. Signed-off-by: Jens Axboe commit d9ebb192aa13a026edc6faff137dcb14f2c91731 tree cbe0fa0baec9c06157e9c95370ff3f04384e253c parent 1b47f531e244e339b648dfff071c086f936e49e1 author Jens Axboe Thu, 20 Oct 2005 16:37:38 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:44:52 +0200 [PATCH] elevator: leftover function declaration Signed-off-by: Jens Axboe commit 1b47f531e244e339b648dfff071c086f936e49e1 tree 4ecbec3d9ade19e01a47c562772db550daadcef2 parent 8922e16cf6269e668123acb1ae1fdc62b7a3a4fc author Jens Axboe Thu, 20 Oct 2005 16:37:00 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:44:37 +0200 [PATCH] generic dispatch fixes - Split elv_dispatch_insert() into two functions - Rename rq_last_sector() to rq_end_sector() Signed-off-by: Jens Axboe commit 8922e16cf6269e668123acb1ae1fdc62b7a3a4fc tree 272bff0b53bf6fe4a7787728a45a26a282ba2976 parent 2824bc9328467127083c1325f54b67d298c333b2 author Tejun Heo Thu, 20 Oct 2005 16:23:44 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:44:24 +0200 [PATCH] 01/05 Implement generic dispatch queue Implements generic dispatch queue which can replace all dispatch queues implemented by each iosched. This reduces code duplication, eases enforcing semantics over dispatch queue, and simplifies specific ioscheds. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 007e8f51b26ae7b6a17651af5a0f01ab6491cdca tree 916b72b8bdb4ffde07cf9ee05571b529cd9724b6 parent 22b280324acbfd1a1f2374055d9bb39e7069e2bf author David Gibson Fri, 28 Oct 2005 15:35:50 +1000 committer Paul Mackerras Fri, 28 Oct 2005 16:39:19 +1000 [PATCH] powerpc: Move xics.[ch] into platforms/pseries This patch moves the XICS interrupt controller code into the platforms/pseries directory, since it only appears on pSeries machines. If it ever appears on some other machine we can move it to sysdev, although xics.c itself will need a bunch of changes in that case to remove pSeries specific assumptions. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 2824bc9328467127083c1325f54b67d298c333b2 tree 0d19aeb555c35ddbdbcf195b976964523fecc404 parent b2982649ce38293b14684b26bcda20cfc54164e6 author Tejun Heo Thu, 20 Oct 2005 10:56:41 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:15:58 +0200 [PATCH] fix try_module_get race in elevator_find This patch removes try_module_get race in elevator_find. try_module_get should always be called with the spinlock protecting what the module init/cleanup routines register/unregister to held. In the case of elevators, we should be holding elv_list to avoid it going away between spin_unlock_irq and try_module_get. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit b2982649ce38293b14684b26bcda20cfc54164e6 tree 8208c0cd33f2565f0f193d0afab282a7d0778382 parent 20e5c81fcff89535dced2ed71cf24c6c648ff40e author Chen, Kenneth W Thu, 13 Oct 2005 21:49:29 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:15:43 +0200 Following the same idea, it occurs to me that we should only update disk stat when "now" is different from disk->stamp. Otherwise, we are again needlessly adding zero to the stats. Signed-off-by: Ken Chen Signed-off-by: Jens Axboe commit 20e5c81fcff89535dced2ed71cf24c6c648ff40e tree c19edf4ce636f0e4713e39dd918c7d3772cda64a parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Chen, Kenneth W Thu, 13 Oct 2005 21:48:42 +0200 committer Jens Axboe Fri, 28 Oct 2005 08:15:30 +0200 [patch] remove gendisk->stamp_idle field struct gendisk has these two fields: stamp, stamp_idle. Update to stamp_idle is always in sync with stamp and they are always the same. Therefore, it does not add any value in having two fields tracking same timestamp. Suggest to remove it. Also, we should only update gendisk stats with non-zero value. Advantage is that we don't have to needlessly calculate memory address, and then add zero to the content. Signed-off-by: Ken Chen Signed-off-by: Jens Axboe commit 22b280324acbfd1a1f2374055d9bb39e7069e2bf tree 135f45548120ffc198ba0b2105b83f7f805d123a parent 4542437679de448de0f75bc901dab380d6a5bc5b parent 299f6ce491aa28515d86f29af2779cbfdc7a4790 author Paul Mackerras Fri, 28 Oct 2005 13:50:39 +1000 committer Paul Mackerras Fri, 28 Oct 2005 13:50:39 +1000 Merge git://oak/home/sfr/kernels/iseries/work/ commit cb0f0910f4b41772a6771bdb4fb2d419b27bcd77 tree fe34505915c31b3b77296e3828cd7675f4616ba9 parent 089a1bedd84be16a4f49a319e7ccb4a128da5ce9 author Sean Hefty Thu, 27 Oct 2005 20:48:11 -0700 committer Roland Dreier Thu, 27 Oct 2005 20:48:11 -0700 [IB] ib_umad: various cleanups Simplify user_mad.c code in a few places, and convert from kmalloc() + memset() to kzalloc(). This also fixes a theoretical race window by not accessing packet->length after posting the send buffer (the send could complete and packet could be freed before we get to the return statement at the end of ib_umad_write()). Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 4542437679de448de0f75bc901dab380d6a5bc5b tree 1a436c9b6f9459c3938e2bb1ab7ad2c888d0003c parent 2227718ca2f7d5fcc2741c1bbca4d0c2efd340ce parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Paul Mackerras Fri, 28 Oct 2005 13:38:53 +1000 committer Paul Mackerras Fri, 28 Oct 2005 13:38:53 +1000 Merge in v2.6.14 by hand commit 089a1bedd84be16a4f49a319e7ccb4a128da5ce9 tree d2bad46f16a76769b1f8d87aad369d50b4966cb6 parent 3d155f8cd0d077938d271225d26ee52f8eb26082 author Roland Dreier Thu, 27 Oct 2005 20:33:43 -0700 committer Roland Dreier Thu, 27 Oct 2005 20:33:43 -0700 [IB] ib_umad: fix crash when freeing send buffers The conversion of user_mad.c to the new MAD send API was slightly off: in a few places, we used packet->msg instead of packet->msg->mad when referring to the actual data buffer, which ended up corrupting the underlying data structure and crashing when we free an invalid pointer. Signed-off-by: Roland Dreier commit 299f6ce491aa28515d86f29af2779cbfdc7a4790 tree eb748a66cdff8b59d28f40266af9049d3425651a parent a4a264f144d5389a52d467a7e41bec2834cfde75 author Stephen Rothwell Thu, 27 Oct 2005 18:03:58 +1000 committer Stephen Rothwell Fri, 28 Oct 2005 12:54:35 +1000 ppc64: use mem_64.S from powerpc/lib and remove the same bits from ppc64/lib/string.S. Signed-off-by: Stephen Rothwell commit a4a264f144d5389a52d467a7e41bec2834cfde75 tree 6366953476ea5d4ab7a53444260068e4141debf8 parent a2b0ca84a1198505f0b3c7b55b7769dd5dbd0791 author Stephen Rothwell Thu, 27 Oct 2005 17:28:21 +1000 committer Stephen Rothwell Fri, 28 Oct 2005 12:54:26 +1000 ppc64: use usercopy_64.c from powerpc/lib since it is identical to usercopy.c from ppc64/lib. Signed-off-by: Stephen Rothwell commit a2b0ca84a1198505f0b3c7b55b7769dd5dbd0791 tree 5e9871329ffb9ecadbc4f761e5855e41e5559dd1 parent a0d8bf9cf1f9722204936d8ef53370d7ae1181d9 author Stephen Rothwell Thu, 27 Oct 2005 17:12:52 +1000 committer Stephen Rothwell Fri, 28 Oct 2005 12:54:18 +1000 ppc64: user strcase.c from powerpc/lib since it is identical to strcase.c from ppc64/lib. Signed-off-by: Stephen Rothwell commit a0d8bf9cf1f9722204936d8ef53370d7ae1181d9 tree 5d83819d6c457c953556101fc196604cff821e94 parent 12a39407f021fd17d5f9d33d78bddb005bd106fb author Stephen Rothwell Thu, 27 Oct 2005 17:05:27 +1000 committer Stephen Rothwell Fri, 28 Oct 2005 12:54:08 +1000 ppc64: use sstep.c from powerpc/lib since it is identical to sstep.c from ppc64/lib. Signed-off-by: Stephen Rothwell commit 12a39407f021fd17d5f9d33d78bddb005bd106fb tree 51e7848336623b11409f4106a0fb83f29644ec76 parent ecc81e0f719f566b75b222b8aef64c8b809b2e29 author Stephen Rothwell Thu, 27 Oct 2005 16:49:44 +1000 committer Stephen Rothwell Fri, 28 Oct 2005 12:53:58 +1000 ppc64: use memcpy_64.S from powerpc/lib since it is identical to mempcy.S from ppc64/lib. Signed-off-by: Stephen Rothwell commit ecc81e0f719f566b75b222b8aef64c8b809b2e29 tree 34f021072504ef2e4e32b5d0900a34baa6d898a9 parent 43f35ec35c2b9a1c984d885893084eed2101e1bf author Stephen Rothwell Thu, 27 Oct 2005 16:45:38 +1000 committer Stephen Rothwell Fri, 28 Oct 2005 12:53:48 +1000 ppc64: use lockc.c from powerpc/lib since it is effectively the same as locks.c from ppc64/lib. Signed-off-by: Stephen Rothwell commit 43f35ec35c2b9a1c984d885893084eed2101e1bf tree c5fbe9dffcece032eebb588360545ed52fc6250f parent 34faa82841b87e6f375b01dad3262ca345de25c0 author Stephen Rothwell Thu, 27 Oct 2005 16:40:05 +1000 committer Stephen Rothwell Fri, 28 Oct 2005 12:53:37 +1000 ppc64: use copyuser_64.S from powerpc/lib since it is identical to copyuser.S from ppc64/lib. Signed-off-by: Stephen Rothwell commit 34faa82841b87e6f375b01dad3262ca345de25c0 tree c09c6f1a85b29c31823530d30ada26578711c522 parent 454fb016b3407e7cacbe17e590521ddf86a54f7f author Stephen Rothwell Thu, 27 Oct 2005 16:35:43 +1000 committer Stephen Rothwell Fri, 28 Oct 2005 12:53:27 +1000 ppc64: use copypage_64.S from powerpc/lib since it is identical to copypage.S from ppc64/lib. Signed-off-by: Stephen Rothwell commit 454fb016b3407e7cacbe17e590521ddf86a54f7f tree 7a07b2dc21ed54ade3483a7b92d4aa2563d88169 parent 1a3c061efd32b620cf6498b71687ff0768cfe2d8 author Stephen Rothwell Thu, 27 Oct 2005 16:28:43 +1000 committer Stephen Rothwell Fri, 28 Oct 2005 12:53:13 +1000 ppc64: use e2a.c from powerpc/lib since it is identical to e2a.c from ppc64/lib Signed-off-by: Stephen Rothwell commit 1a3c061efd32b620cf6498b71687ff0768cfe2d8 tree 7b6c7321dfd18aef1fc5824114587418eabc5aca parent 640768eef245f1578e75e02c17d277a1496a535b author Stephen Rothwell Thu, 27 Oct 2005 16:25:05 +1000 committer Stephen Rothwell Fri, 28 Oct 2005 12:52:58 +1000 ppc64: use checksum_64.S from powerpc as it is identical to checksum.S from ppc64. Signed-off-by: Stephen Rothwell commit 640768eef245f1578e75e02c17d277a1496a535b tree dc36f97b830076fcdc09c1fe2ec8bf5675fc772a parent 9675c7ebcf1f6308d66b0fcb42ae585e200e80a9 author Stephen Rothwell Fri, 28 Oct 2005 12:51:45 +1000 committer Stephen Rothwell Fri, 28 Oct 2005 12:51:45 +1000 ppc64: use the merged syscall table This allows us to also use entry_64.S from the merged tree and reverts the setup_64.c part of fda262b8978d0089758ef9444508434c74113a61. Signed-off-by: Stephen Rothwell commit 434f1d10c1adb6c2e333d501ce1e42be610e0723 tree a43f1e6f40ea1530e648ae72709a2c45442891aa parent 6070fe6f82c67021367092855c0812a98becf0fa parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Trond Myklebust Thu, 27 Oct 2005 22:13:32 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:13:32 -0400 Merge /home/trondmy/scm/kernel/git/torvalds/linux-2.6 commit 6070fe6f82c67021367092855c0812a98becf0fa tree e3269c7d155bbed9dc701ca00bfb253ed2f7c2c0 parent bec273b491bd16351a9cdb8e9a51d30afa7fe9f4 author Trond Myklebust Thu, 27 Oct 2005 22:12:46 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:46 -0400 RPC: Ensure that nobody can queue up new upcalls after rpc_close_pipes() Signed-off-by: Trond Myklebust commit bec273b491bd16351a9cdb8e9a51d30afa7fe9f4 tree 76013e5926f02d476b47812eb4c49b5dff8264a3 parent 16c32b71bc53d6f7143702ebb264b4ef20d8f1e5 author Trond Myklebust Thu, 27 Oct 2005 22:12:45 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:45 -0400 NFS: Allow files that are open for write to invalidate caches Signed-off-by: Trond Myklebust commit 16c32b71bc53d6f7143702ebb264b4ef20d8f1e5 tree e927cb187666c87ccd7c15c1c1367d015a623ef6 parent 4f9838c7ecd14f31f701f64fa65ded132fc0db8a author Trond Myklebust Thu, 27 Oct 2005 22:12:45 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:45 -0400 NFSv4: Convert unnecessary XDR warning messages into dprintk() Signed-off-by: Trond Myklebust commit 4f9838c7ecd14f31f701f64fa65ded132fc0db8a tree f3fee5b744efb072f44591208541554976bf41d7 parent 16e429596dec4d28e16812b3a9be27f18412c567 author Trond Myklebust Thu, 27 Oct 2005 22:12:44 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:44 -0400 NFSv4: Add post-op attributes to NFSv4 write and commit callbacks. Signed-off-by: Trond Myklebust commit 16e429596dec4d28e16812b3a9be27f18412c567 tree b11c0f3829ae1225794a3d1fca68a1878a87a46d parent 6caf2c8276d371679a798058e8fdf49f5ff831a3 author Trond Myklebust Thu, 27 Oct 2005 22:12:44 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:44 -0400 NFSv4: Add post-op attributes to nfs4_proc_remove() Signed-off-by: Trond Myklebust commit 6caf2c8276d371679a798058e8fdf49f5ff831a3 tree ff53620d5879644df543dcce2ce86db863dad21c parent 91ba2eeec5e8e86e054937eb3bf5aec5b22b1830 author Trond Myklebust Thu, 27 Oct 2005 22:12:43 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:43 -0400 NFSv4: Add post-op attributes to nfs4_proc_rename() Signed-off-by: Trond Myklebust commit 91ba2eeec5e8e86e054937eb3bf5aec5b22b1830 tree 9157b8bfe90fed0b472da3ec71dadfb0c587e566 parent cf809556149f076b7a020c10e066b2b96e79b6a1 author Trond Myklebust Thu, 27 Oct 2005 22:12:42 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:42 -0400 NFSv4: Add post-op attributes to nfs4_proc_link() Optimise attribute revalidation when hardlinking. Add post-op attributes for the directory and the original inode. Signed-off-by: Trond Myklebust commit cf809556149f076b7a020c10e066b2b96e79b6a1 tree 714d3e58b4fe5af9b144c735601946949b217820 parent 516a6af641bb50c608329a5bd751acd0d65cc4ab author Trond Myklebust Thu, 27 Oct 2005 22:12:42 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:42 -0400 NFS: Ensure that nfs_link() instantiates the dentry correctly Signed-off-by: Trond Myklebust commit 516a6af641bb50c608329a5bd751acd0d65cc4ab tree 93b240cb19460073cac3363517fcc0e253fb48d9 parent 3338c143b4fde2d256016b63043ec8e2c93eba19 author Trond Myklebust Thu, 27 Oct 2005 22:12:41 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:41 -0400 NFS: Add optional post-op getattr instruction to the NFSv4 file close. "Optional" means that the close call will not fail if the getattr at the end of the compound fails. If it does succeed, try to refresh inode attributes. Signed-off-by: Trond Myklebust commit 3338c143b4fde2d256016b63043ec8e2c93eba19 tree babfe2188e64ea0bb37c9838f5bcd3337c0c7504 parent 56ae19f38f10aad4f27f7e12138a29b295dff07a author Trond Myklebust Thu, 27 Oct 2005 22:12:41 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:41 -0400 NFS: Optimise attribute revalidation on close(). Only force a getattr in nfs_file_flush() if the attribute cache is stale. Signed-off-by: Trond Myklebust commit 56ae19f38f10aad4f27f7e12138a29b295dff07a tree 79ada0dacbcf6470b4469c537d3bae02bb81069d parent 0c70b50150cfb0b43ff500a8a394a52b4d5f1350 author Trond Myklebust Thu, 27 Oct 2005 22:12:40 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:40 -0400 NFSv4: Add directory post-op attributes to the CREATE operations. Since the directory attributes change every time we CREATE a file, we might as well pick up the new directory attributes in the same compound. Signed-off-by: Trond Myklebust commit 0c70b50150cfb0b43ff500a8a394a52b4d5f1350 tree 292d31ce5378edb856076d2c610c323b76af0b09 parent decf491f3076190262d4c649bed877650623903a author Chuck Lever Tue, 25 Oct 2005 11:48:36 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:40 -0400 NFS: nfs_lookup doesn't need to revalidate the parent directory's inode nfs_lookup() used to consult a lookup cache before trying an actual wire lookup operation. The lookup cache would be invalid, of course, if the parent directory's mtime had changed, so nfs_lookup performed an inode revalidation on the parent. Since nfs_lookup() doesn't use a cache anymore, the revalidation is no longer necessary. There are cases where it will generate a lot of unnecessary GETATTR traffic. See http://bugzilla.linux-nfs.org/show_bug.cgi?id=9 Test-plan: Use lndir and "rm -rf" and watch for excess GETATTR traffic or application level errors. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit decf491f3076190262d4c649bed877650623903a tree 8f67577349fe451b0267b68435db1578ec1273a4 parent 33801147a8fda6b04d7e9afe1d42f1c01d3d6837 author Trond Myklebust Thu, 27 Oct 2005 22:12:39 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:39 -0400 NFS: Don't let nfs_end_data_update() clobber attribute update information Since we almost always call nfs_end_data_update() after we called nfs_refresh_inode(), we now end up marking the inode metadata as needing revalidation immediately after having updated it. This patch rearranges things so that we mark the inode as needing revalidation _before_ we call nfs_refresh_inode() on those operations that need it. Signed-off-by: Trond Myklebust commit 33801147a8fda6b04d7e9afe1d42f1c01d3d6837 tree 5311fb4714f0a24b7d7666b04250205025e18d15 parent 913a70fc170530f7e1ff0693595155457cc6d0ca author Trond Myklebust Thu, 27 Oct 2005 22:12:39 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:39 -0400 NFS: Optimise inode attribute cache updates Allow nfs_refresh_inode() also to update attributes on the inode if the RPC call was sent after the last call to nfs_update_inode(). Signed-off-by: Trond Myklebust commit 913a70fc170530f7e1ff0693595155457cc6d0ca tree 1f3d5db26462d02ecca383794b3061a5eae8d9cc parent 0e574af1be5f569a5d7f2800333b0bfb358a5e34 author Trond Myklebust Thu, 27 Oct 2005 22:12:38 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:38 -0400 NFS: Convert cache_change_attribute into a jiffy-based value Signed-off-by: Trond Myklebust commit 0e574af1be5f569a5d7f2800333b0bfb358a5e34 tree bb5b62dece21b8906222dfee022020ed6f81e34c parent 4c2cb58c552a34744979a99ccf01762d5eb7e288 author Trond Myklebust Thu, 27 Oct 2005 22:12:38 -0400 committer Trond Myklebust Thu, 27 Oct 2005 22:12:38 -0400 NFS: Cleanup initialisation of struct nfs_fattr Signed-off-by: Trond Myklebust commit 2227718ca2f7d5fcc2741c1bbca4d0c2efd340ce tree 30075f5875adcb6fa6d9dd208d5f9851825f564c parent a8e3d48150d70ceab3b8249a4bdbe5c50567a357 author Paul Mackerras Fri, 28 Oct 2005 11:47:17 +1000 committer Paul Mackerras Fri, 28 Oct 2005 11:47:17 +1000 ppc64: Use the correct prototypes for i8259 functions We still had an old copy of i8259.h lying around; this gets rid of it and corrects the callers of i8259_init and i8259_irq. Signed-off-by: Paul Mackerras commit a8e3d48150d70ceab3b8249a4bdbe5c50567a357 tree ec1be71f740be6861ecbf2be36a9b50328be57a8 parent e6b4fe92effe88944af2df7257688ccff811996d author David Gibson Fri, 28 Oct 2005 10:31:49 +1000 committer Paul Mackerras Fri, 28 Oct 2005 11:37:03 +1000 [PATCH] powerpc: Remove dregs of bootinfo.h Since I sent the patch to purge bootinfo.h from ARCH=powerpc and ARCH=ppc64, setup-common.c has come into existence, and another #include of bootinfo.h slipped in. This patch removes it. It also removes include/asm-ppc64/bootinfo.h, which somehow survived the previous patch which was supposed to remove it. Signed-off-by: Paul Mackerras commit e6b4fe92effe88944af2df7257688ccff811996d tree c14cf9dd83e6ad52a9acd7750326872fae5ebe6a parent 9675c7ebcf1f6308d66b0fcb42ae585e200e80a9 author Kumar Gala Thu, 27 Oct 2005 08:54:36 -0500 committer Paul Mackerras Fri, 28 Oct 2005 11:36:55 +1000 [PATCH] powerpc: only build idle_6xx for 6xx For the current time idle_6xx only applies to 6xx ppc32 CPUs Signed-off-by: Kumar K. Gala Signed-off-by: Paul Mackerras commit cb650116a030dd5cf12f30651e29ceb990d42e4a tree 6cac1c4ea615d1a3893f82a4c950623b38421872 parent 7bbaa75452c77cbaa016b987765c5d6c8b744587 parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Jeff Garzik Thu, 27 Oct 2005 20:56:43 -0400 committer Jeff Garzik Thu, 27 Oct 2005 20:56:43 -0400 Merge branch 'master' commit 26ba2a7a9f4d8921f095af646a7d22c15a148028 tree 1e694da6999653551bc61eb9cc6db2eb4645fcd1 parent 91190758d410a5d33c6051ba9ca95baa430256bb parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Jeff Garzik Thu, 27 Oct 2005 20:43:20 -0400 committer Jeff Garzik Thu, 27 Oct 2005 20:43:20 -0400 Merge branch 'master' commit b2ab040db85835e54c7559533df7f85902617926 tree b23cbdca55935c497cb88b588e4e8b088d6ab7ab parent 1f57389a38dc1e8be167ec601f39f78f0bed3a96 parent 741b2252a5e14d6c60a913c77a6099abe73a854a author Jeff Garzik Thu, 27 Oct 2005 20:35:17 -0400 committer Jeff Garzik Thu, 27 Oct 2005 20:35:17 -0400 Merge branch 'master' commit 4ac0068f44f192f2de95a7bb36df3e19767a45fb tree 7971afe201d63657fceeb5770eb8247711ce69aa parent 72ab373a5688a78cbdaf3bf96012e597d5399bb7 author Cliff Wickman Thu, 27 Oct 2005 10:29:08 -0500 committer Tony Luck Thu, 27 Oct 2005 16:15:03 -0700 [IA64] ptrace - find memory sharers on children list In arch/ia64/kernel/ptrace.c there is a test for a peek or poke of a register image (in register backing storage). The test can be unnecessarily long (and occurs while holding the tasklist_lock). Especially long on a large system with thousands of active tasks. The ptrace caller (presumably a debugger) specifies the pid of its target and an address to peek or poke. But the debugger could be attached to several tasks. The idea of find_thread_for_addr() is to find whether the target address is in the RBS for any of those tasks. Currently it searches the thread-list of the target pid. If that search does not find a match, and the shared mm-struct's user count indicates that there are other tasks sharing this address space (a rare occurrence), a search is made of all the tasks in the system. Another approach can drastically shorten this procedure. It depends upon the fact that in order to peek or poke from/to any task, the debugger must first attach to that task. And when it does, the attached task is made a child of the debugger (is chained to its children list). Therefore we can search just the debugger's children list. Signed-off-by: Cliff Wickman Signed-off-by: Tony Luck commit 4c2cb58c552a34744979a99ccf01762d5eb7e288 tree fd35360eb0cb08b07f3a5f4bdf1ebd90a769311d parent 34123da66e613602de5a886b05c875b6a91b8ed2 parent 72ab373a5688a78cbdaf3bf96012e597d5399bb7 author Trond Myklebust Thu, 27 Oct 2005 19:12:49 -0400 committer Trond Myklebust Thu, 27 Oct 2005 19:12:49 -0400 Merge /home/trondmy/scm/kernel/git/torvalds/linux-2.6 commit 34123da66e613602de5a886b05c875b6a91b8ed2 tree 150149bf91537d302da6c50a5b8eed19ec2c2400 parent 6fa05b17367f04ada501e89d3b9cb56adec0d930 author Trond Myklebust Thu, 27 Oct 2005 19:10:09 -0400 committer Trond Myklebust Thu, 27 Oct 2005 19:10:09 -0400 NFS: Fix a bad cast in nfs3_read_done Signed-off-by: Trond Myklebust commit 6fa05b17367f04ada501e89d3b9cb56adec0d930 tree 46493ddc5ab130108e2f0b9d5fd81dae367a4cb0 parent ab27642b59b68d18df5a9aa5fa81b5ab5735aa77 author Trond Myklebust Thu, 27 Oct 2005 19:08:18 -0400 committer Trond Myklebust Thu, 27 Oct 2005 19:08:18 -0400 Revert "RPC: stops the release_pipe() funtion from being called twice" This reverts 747c5534c9a6da4aa87e7cdc2209ea98ea27f381 commit. commit 9675c7ebcf1f6308d66b0fcb42ae585e200e80a9 tree b8b033296d8aaf7fcd70d6f9b64e28527be1f576 parent 09eee6347166a7baab74783999ef1bf23827647f author Paul Mackerras Fri, 28 Oct 2005 08:30:25 +1000 committer Paul Mackerras Fri, 28 Oct 2005 08:30:25 +1000 ppc64: Include arch/powerpc/kernel/setup-common.o ... which is needed now that ARCH=ppc64 is using the merged setup_64.c. Signed-off-by: Paul Mackerras commit 09eee6347166a7baab74783999ef1bf23827647f tree 1a52a6c6645447f65afb4ae7a057ba037c5870f5 parent bfab1019b7e8b499dfc471a0dfc98b587420dda9 author Paul Mackerras Fri, 28 Oct 2005 08:29:36 +1000 committer Paul Mackerras Fri, 28 Oct 2005 08:29:36 +1000 powerpc: Move U3 IOMMU driver to arch/powerpc/sysdev Signed-off-by: Paul Mackerras commit c1902aae322952f8726469a6657df7b9d5c794fe tree 5c78f21c19597b64faf06e0faee7726ae01f7bbb parent 72ab373a5688a78cbdaf3bf96012e597d5399bb7 author Dean Roe Thu, 27 Oct 2005 15:41:04 -0500 committer Tony Luck Thu, 27 Oct 2005 14:44:58 -0700 [IA64] - Avoid slow TLB purges on SGI Altix systems flush_tlb_all() can be a scaling issue on large SGI Altix systems since it uses the global call_lock and always executes on all cpus. When a process enters flush_tlb_range() to purge TLBs for another process, it is possible to avoid flush_tlb_all() and instead allow sn2_global_tlb_purge() to purge TLBs only where necessary. This patch modifies flush_tlb_range() so that this case can be handled by platform TLB purge functions and updates ia64_global_tlb_purge() accordingly. sn2_global_tlb_purge() now calculates the region register value from the mm argument introduced with this patch. Signed-off-by: Dean Roe Signed-off-by: Tony Luck commit 0753ca7bc2b876dd136e9db11a20f85cbe4e08b1 tree 9fca686e1ca5886342232fe16292bae675a1004f parent 04290949b3daef35d6279dcc05f01b549ac1772b author Steve French Thu, 27 Oct 2005 13:55:12 -0700 committer Steve French Thu, 27 Oct 2005 13:55:12 -0700 [CIFS] Change pragma pack(1) to attribute(packed) to allow cifs on arm to access unaligned structures coming in off the wire gcc on arm processors generates very odd code with pragma pack specified - although it does pack the structures in some sense - it does not allow you to access unaligned elements in nested structures at the right offset as other architectures do. Oddly enough though, specifying the structures as packed the long way - one by one with the packed attribute does work. Rather than fighting over whether this is a gcc bug or some obscure side effect of pragma pack, it is easier to do what most (all but 96 other places in the kernel) do - and replace pragma pack with dozens of attribute(packed) structure qualifiers. Much more verbose ... but at least it works. Signed-off-by: David Kleikamp Signed-off-by: Steve French CG: ----------------------------------------------------------------------- commit 04290949b3daef35d6279dcc05f01b549ac1772b tree d34203b71660b9b4f7676f5bae7e0b9838ff161f parent d6d3f5bc68be3c4ab84e6f1f9db92291da671504 parent 72ab373a5688a78cbdaf3bf96012e597d5399bb7 author Steve French Thu, 27 Oct 2005 12:53:03 -0700 committer Steve French Thu, 27 Oct 2005 12:53:03 -0700 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 3d155f8cd0d077938d271225d26ee52f8eb26082 tree 28f65ed2dc5e9f12884daf2a97f50367f145d8a0 parent 7cc656efb560cda66b5ed48444cad7556ea4fe99 author Roland Dreier Thu, 27 Oct 2005 11:03:38 -0700 committer Roland Dreier Thu, 27 Oct 2005 11:03:38 -0700 [IB] mthca: first pass at catastrophic error reporting Add some initial support for detecting and reporting catastrophic errors reported by Mellanox HCAs. We start a periodic timer which polls the catastrophic error reporting buffer in device memory. If an error is detected, we dump the contents of the buffer for port-mortem debugging, and report a fatal asynchronous error to higher levels. In the future we can try to recover from these errors by resetting the device, but this will require some work in higher-level code as well. Let's get this in now, so that we at least get catastrophic errors reported in logs. Signed-off-by: Roland Dreier commit bfab1019b7e8b499dfc471a0dfc98b587420dda9 tree 79e80b9a77815fc7f4a70445276b99183b75e0fe parent 6316222ea050d469c3155881d9dee2c7671d9fef author Paul Mackerras Thu, 27 Oct 2005 22:45:33 +1000 committer Paul Mackerras Thu, 27 Oct 2005 22:45:33 +1000 powerpc: Fix new-world powermac detection My G5 was being reported as an OldWorld in /proc/cpuinfo, which is obviously not right... :) Signed-off-by: Paul Mackerras commit 6316222ea050d469c3155881d9dee2c7671d9fef tree 2a075cbdab11e10efc868a31e378dffae90f06da parent 80579e1f4a6b5f5dec92faa6c3e0645961c99091 author Paul Mackerras Thu, 27 Oct 2005 22:44:39 +1000 committer Paul Mackerras Thu, 27 Oct 2005 22:44:39 +1000 powerpc: Introduce toreal/fromreal assembly macros On 32-bit platforms, these convert from kernel virtual addresses to real (physical addresses), like tophys/tovirt but they use the same register for the source and destination. On 64-bit platforms, they do nothing because the hardware ignores the top two bits of the address in real mode. These new macros are used in fpu.S now. Signed-off-by: Paul Mackerras commit 80579e1f4a6b5f5dec92faa6c3e0645961c99091 tree d8fd5e184b54145811a92914c806544ad745087a parent eef69e3cfb38d83166dbd8bcb12ededa1b6e78b6 author Paul Mackerras Thu, 27 Oct 2005 22:42:04 +1000 committer Paul Mackerras Thu, 27 Oct 2005 22:42:04 +1000 powerpc: 32-bit CHRP SMP fixes Untested, but "should" work... at least this way it compiles. Signed-off-by: Paul Mackerras commit eef69e3cfb38d83166dbd8bcb12ededa1b6e78b6 tree d04f2df475430d9c25340b035c4d594b6e53b083 parent 4b24b01c6c0bab24e6a4c3e4a02d53b564f2d05c author Paul Mackerras Thu, 27 Oct 2005 22:21:37 +1000 committer Paul Mackerras Thu, 27 Oct 2005 22:21:37 +1000 powerpc: remove duplicate screen_info from setup_32.c Signed-off-by: Paul Mackerras commit 4b24b01c6c0bab24e6a4c3e4a02d53b564f2d05c tree 37aebf090a6b48b622c1ee6045e3def62cce26f9 parent cffb09ce6ba7706c89c6df9ca8e72c81adda13f0 author Kumar Gala Wed, 26 Oct 2005 09:56:10 -0500 committer Paul Mackerras Thu, 27 Oct 2005 20:51:22 +1000 [PATCH] powerpc: Moved dcr support to arch/powerpc Signed-off-by: Kumar K. Gala Signed-off-by: Paul Mackerras commit cffb09ce6ba7706c89c6df9ca8e72c81adda13f0 tree 5226184532ed63be2aa785dcc5ae7896b7e6fc1e parent 328985b2c69d2592edd7f181a6b7360e51b08515 author Kumar Gala Wed, 26 Oct 2005 09:55:41 -0500 committer Paul Mackerras Thu, 27 Oct 2005 20:51:19 +1000 [PATCH] powerpc: Fix warning related to do_dabr do_dabr() is not relevant on 40x or Book-E processors so dont build it Signed-off-by: Kumar K. Gala Signed-off-by: Paul Mackerras commit 328985b2c69d2592edd7f181a6b7360e51b08515 tree 62092de50dafd4b3db3513b45868c837915b8108 parent 2765ca254060adb9a5abc2cfc6264b8daafc5742 author David Gibson Mon, 24 Oct 2005 14:05:38 +1000 committer Paul Mackerras Thu, 27 Oct 2005 20:51:13 +1000 [PATCH] powerpc: Don't use kmalloc() for kernel stacks In readiness for 64k pages, when THREAD_SIZE will be less than PAGE_SIZE, ppc64 uses kmalloc() rather than __get_free_pages() to allocate kernel stacks, and since thread_info.h was merged, so does ppc32. However that adds some overhead which we don't really want when PAGE_SIZE <= THREAD_SIZE (including all ppc32 machines), so this patch avoids it. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 2765ca254060adb9a5abc2cfc6264b8daafc5742 tree e4b94377aa8f6b6e155448b6a7b8d5e4baa2fc72 parent e37bc5df8e96c72f27ec3579499726b656e4e641 author David Gibson Mon, 24 Oct 2005 13:07:23 +1000 committer Paul Mackerras Thu, 27 Oct 2005 20:50:54 +1000 [PATCH] powerpc: Merge parport.h Save for the header #define, ppc32 and ppc64 versions of parport.h are identical. This patch merges them. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit e37bc5df8e96c72f27ec3579499726b656e4e641 tree d8267f572da54fd3d258a751d477271252fa12bf parent 25c8a78b1e00ac0cc640677eda78b462c2cd4c6e author David Gibson Mon, 24 Oct 2005 11:41:33 +1000 committer Paul Mackerras Thu, 27 Oct 2005 20:50:46 +1000 [PATCH] powerpc: Purge bootinfo.h With ARCH=powerpc we assume the presence of a device tree, so we don't require any support for the old bi_recs method of passing boot parameters. Likewise, we've never needed it for ppc64, but we still had an include/asm-ppc64/bootinfo.h from which nothing was used. This patch removes that file, and all references to it in arch/ppc64 and arch/powerpc. A related, unused variable 'boot_mem_size' is also removed from setup_32.c. The bootinfo stuff remains in ARCH=ppc for the time being. Built and booted on Power5 (ARCH=ppc64 and ARCH=powerpc), built for 32-bit powermac (ARCH=powerpc and ARCH=ppc). Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 25c8a78b1e00ac0cc640677eda78b462c2cd4c6e tree a0044f8b2b557799a8cb3346b590fcd3a8507ed7 parent fda262b8978d0089758ef9444508434c74113a61 author David Gibson Thu, 27 Oct 2005 16:27:25 +1000 committer Paul Mackerras Thu, 27 Oct 2005 20:48:50 +1000 [PATCH] powerpc: Fix handling of fpscr on 64-bit The recent merge of fpu.S broken the handling of fpscr for ARCH=powerpc and CONFIG_PPC64=y. FP registers could be corrupted, leading to strange random application crashes. The confusion arises, because the thread_struct has (and requires) a 64-bit area to save the fpscr, because we use load/store double instructions to get it in to/out of the FPU. However, only the low 32-bits are actually used, so we want to treat it as a 32-bit quantity when manipulating its bits to avoid extra load/stores on 32-bit. This patch replaces the current definition with a structure of two 32-bit quantities (pad and val), to clarify things as much as is possible. The 'val' field is used when manipulating bits, the structure itself is used when obtaining the address for loading/unloading the value from the FPU. While we're at it, consolidate the 4 (!) almost identical versions of cvt_fd() and cvt_df() (arch/ppc/kernel/misc.S, arch/ppc64/kernel/misc.S, arch/powerpc/kernel/misc_32.S, arch/powerpc/kernel/misc_64.S) into a single version in fpu.S. The new version takes a pointer to thread_struct and applies the correct offset itself, rather than a pointer to the fpscr field itself, again to avoid confusion as to which is the correct field to use. Finally, this patch makes ARCH=ppc64 also use the consolidated fpu.S code, which it previously did not. Built for G5 (ARCH=ppc64 and ARCH=powerpc), 32-bit powermac (ARCH=ppc and ARCH=powerpc) and Walnut (ARCH=ppc, CONFIG_MATH_EMULATION=y). Booted on G5 (ARCH=powerpc) and things which previously fell over no longer do. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit fda262b8978d0089758ef9444508434c74113a61 tree 86cca84a4f62d4d931d7c6e56cbb5b207281ba74 parent 89edce0b4e71f6f78e27d7c18c63e957469b74d3 author Paul Mackerras Thu, 27 Oct 2005 20:20:42 +1000 committer Paul Mackerras Thu, 27 Oct 2005 20:20:42 +1000 [PATCH] ppc64: remove arch/ppc64/kernel/setup.c and use setup_64.c from the merged tree instead. The only difference between them was the code to set up the syscall maps. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 89edce0b4e71f6f78e27d7c18c63e957469b74d3 tree 15d9c66f27aa86c27435b83d3cda8418d6cf22f1 parent 8168f902fa9c2ca8930ea8d72cce283234df03b8 author Stephen Rothwell Tue, 25 Oct 2005 16:59:03 +1000 committer Paul Mackerras Thu, 27 Oct 2005 16:45:52 +1000 [PATCH] powerpc: merge scatterlist.h This depends on the 64bit dma_addr_t patch. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 8168f902fa9c2ca8930ea8d72cce283234df03b8 tree 2a7bd8d19692e6ba5f86b92d35a8dc8206fc0ff1 parent bf20a0000377f7bdeb42b78b10ed578deb3d63f1 author Stephen Rothwell Tue, 25 Oct 2005 16:56:43 +1000 committer Paul Mackerras Thu, 27 Oct 2005 16:45:50 +1000 [PATCH] ppc64: make dma_addr_t 64 bits There has been a need expressed for dma_addr_t to be 64 bits on PPC64. This patch does that. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit bf20a0000377f7bdeb42b78b10ed578deb3d63f1 tree 497ba88015f57fde14b30dc24e8eb6ca7327f631 parent cb4ab974ae0bff3f49086090a1a50373c5edc8f4 author Paul Mackerras Thu, 27 Oct 2005 16:45:29 +1000 committer Paul Mackerras Thu, 27 Oct 2005 16:45:29 +1000 powerpc: undeprecate the old OF device tree accessors for now The recent addition of __deprecated to the declarations for find_devices etc. produces a whole pile of warnings from the ppc32 code. Since those functions still work perfectly well on ppc32, which doesn't have hotplug support for anything in the OF device tree, and we don't have time to fix that code now, remove the __deprecated markings for now. Signed-off-by: Paul Mackerras commit e0f998930eb67c49f2862c58a45262ad0bc03eca tree d2bc6cbe11a00a05f96da01b1d4ac27adaabd546 parent 6958ae318bb1af5e0b77968384700fb184fb8893 parent 7a4ed937aa44acdeb8c6ba671509dc7b54b09d3a author Kyle McMartin Wed, 26 Oct 2005 23:28:40 -0400 committer Kyle McMartin Wed, 26 Oct 2005 23:28:40 -0400 Auto-update from upstream commit cb4ab974ae0bff3f49086090a1a50373c5edc8f4 tree e59341556efcfa7a350c776bb57394a5d21c4315 parent b6a4ce526a87bd8a99a396ac993240d6d3239852 author Paul Mackerras Thu, 27 Oct 2005 11:08:31 +1000 committer Paul Mackerras Thu, 27 Oct 2005 11:08:31 +1000 powerpc: Remove common stuff from setup_64.c This should have been in commit 03501dab035ab7da5e1373f5e130cfd6346d3f21 but got missed by accident. Signed-off-by: Paul Mackerras commit 91190758d410a5d33c6051ba9ca95baa430256bb tree 2c9610004670f233a082549700376ded2a219261 parent ccd7bc2f67fdfa9c47ceae64f1117d1fb6cb8737 author Alan Cox Wed, 26 Oct 2005 12:17:46 -0400 committer Jeff Garzik Wed, 26 Oct 2005 12:17:46 -0400 [libata] ata_timing fix commit b6a4ce526a87bd8a99a396ac993240d6d3239852 tree a1ad8472e9195da61b1427324815d201e4379047 parent bd561c79dce9036c9efb17420b6cf8763c8c9de3 author Paul Mackerras Wed, 26 Oct 2005 22:54:17 +1000 committer Paul Mackerras Wed, 26 Oct 2005 22:54:17 +1000 powerpc: 32-bit powermac needs the mpc106 code Signed-off-by: Paul Mackerras commit bd561c79dce9036c9efb17420b6cf8763c8c9de3 tree d716828d74afe4dd6bcc012d761c0a3006c35e88 parent fa39dc437a41733adaba241fd9036760283a516a author Paul Mackerras Wed, 26 Oct 2005 21:55:33 +1000 committer Paul Mackerras Wed, 26 Oct 2005 21:55:33 +1000 powerpc: Fix incorrect timer register addresses in mpic.c We were computing the wrong address for the MPIC timer registers, so when we went to initialize them we would have been hitting some unrelated ioremap... oops. Signed-off-by: Paul Mackerras commit fa39dc437a41733adaba241fd9036760283a516a tree 4570515bf765a23bbfd1b4d47f1384afa6e73e79 parent b41fc4f82f6a73b8b2e8f44bd7ef075797d2dacb author Paul Mackerras Wed, 26 Oct 2005 21:54:21 +1000 committer Paul Mackerras Wed, 26 Oct 2005 21:54:21 +1000 powerpc32: Limit memory to lowmem if !CONFIG_HIGHMEM. This trims off the extra unusable memory from the lmb structure, so we don't try to use it. Signed-off-by: Paul Mackerras commit b41fc4f82f6a73b8b2e8f44bd7ef075797d2dacb tree 52338ab7d1921deeeb969203fb6a2a5b958ee145 parent c49888203d7a316cb947bb8a1cf2ae191f28bcd3 author Paul Mackerras Wed, 26 Oct 2005 21:53:19 +1000 committer Paul Mackerras Wed, 26 Oct 2005 21:53:19 +1000 power: Update the multiple inclusion protection symbol on machdep.h Signed-off-by: Paul Mackerras commit c49888203d7a316cb947bb8a1cf2ae191f28bcd3 tree 7e2962af5e6978361f04161c5d6fc3765fd21e77 parent bbd0abda9cc689a54df509aae00000bbb2a1a7d1 author Paul Mackerras Wed, 26 Oct 2005 21:52:53 +1000 committer Paul Mackerras Wed, 26 Oct 2005 21:52:53 +1000 powerpc: Fixes to get the Longtrail CHRP a bit further Talk about buggy firmware... the OF on the Longtrail returns 0 from the claim client service rather than -1 when the claim fails. It also has no device_type on the /memory node and blows up if the output buffer for package-to-path is too big. This also fixes a bug with calling alloc_up with align == 0, where we did _ALIGN_UP(alloc_bottom, 0) which will end up as 0. Lastly, we now check the return value (in r3) from calling the prom, and return -1 from call_prom if we get a negative value back. That is supposed to indicate that the requested client service doesn't exist. Signed-off-by: Paul Mackerras commit bbd0abda9cc689a54df509aae00000bbb2a1a7d1 tree d04e8f196f65f5598300485e654e5e90a6160aa6 parent 303d72a0006c65bb8d16199c75a26338ce723811 author Paul Mackerras Wed, 26 Oct 2005 21:45:56 +1000 committer Paul Mackerras Wed, 26 Oct 2005 21:45:56 +1000 powerpc: Merge 32-bit CHRP support. SMP still needs more work but UP gets as far as starting userspace at least. This uses the 64-bit-style code for spinning up the cpus. Signed-off-by: Paul Mackerras commit 303d72a0006c65bb8d16199c75a26338ce723811 tree 28e0c39198b0ffc61103b249e83aaa2798ba216c parent 6d0124fc06be40deafca043c73a8203c78bbfe45 author Paul Mackerras Wed, 26 Oct 2005 17:22:33 +1000 committer Paul Mackerras Wed, 26 Oct 2005 17:22:33 +1000 powerpc: Don't limit pmac_get_rtc_time to return only positive values If the machine's clock is set to a bogus value, this check resulted in userland waiting effectively forever for the RTC value to change, so remove the check. Signed-off-by: Paul Mackerras commit 6d0124fc06be40deafca043c73a8203c78bbfe45 tree a2db556568bb9ecc698d1e8ea3f88fd0c022aa01 parent 830825d6c37a28061c0b6ca538a6411001cf3b2a author Paul Mackerras Wed, 26 Oct 2005 17:19:06 +1000 committer Paul Mackerras Wed, 26 Oct 2005 17:19:06 +1000 powerpc: Fix interrupt-tree parsing The interrupt-tree parsing code wasn't offsetting interrupt numbers by 16 on 32-bit platforms with an i8259 interrupt controller, and it was confused about the encoding of interrupt sense and level (which is different for i8259 and openpic interrupt controllers, just to make things interesting). Signed-off-by: Paul Mackerras commit 830825d6c37a28061c0b6ca538a6411001cf3b2a tree 99ead002881c53e0eda644175ba43d4a166fa26e parent 03501dab035ab7da5e1373f5e130cfd6346d3f21 author Paul Mackerras Wed, 26 Oct 2005 17:16:38 +1000 committer Paul Mackerras Wed, 26 Oct 2005 17:16:38 +1000 powerpc: Pull out MPC106 (grackle) initialization code into its own file This is so that the 32-bit CHRP code can use it. The MPC106 initialization code is now in arch/powerpc/sysdev/grackle.c and is controlled by CONFIG_PPC_MPC106. Signed-off-by: Paul Mackerras commit 03501dab035ab7da5e1373f5e130cfd6346d3f21 tree 53f8299442806612d8d2a73361b754063ce043fa parent 033ef338b6e007dc081c6282a4f2a9dd761f8cd2 author Paul Mackerras Wed, 26 Oct 2005 17:11:18 +1000 committer Paul Mackerras Wed, 26 Oct 2005 17:11:18 +1000 powerpc: Pull common bits of setup_{32,64}.c into setup-common.c This creates a new arch/powerpc/kernel/setup-common.c with various bits that setup_32.c and setup_64.c had in common - functions like machine_shutdown/restart/power_off, show_cpuinfo, set_preferred_console etc. Signed-off-by: Paul Mackerras commit 033ef338b6e007dc081c6282a4f2a9dd761f8cd2 tree 3c77fad71c3d9ba04ddcdaea33063aaf7520ddb0 parent f9bd170a87948a9e077149b70fb192c563770fdf author Paul Mackerras Wed, 26 Oct 2005 17:05:24 +1000 committer Paul Mackerras Wed, 26 Oct 2005 17:05:24 +1000 powerpc: Merge rtas.c into arch/powerpc/kernel This splits arch/ppc64/kernel/rtas.c into arch/powerpc/kernel/rtas.c, which contains generic RTAS functions useful on any CHRP platform, and arch/powerpc/platforms/pseries/rtas-fw.[ch], which contain some pSeries-specific firmware flashing bits. The parts of rtas.c that are to do with pSeries-specific error logging are protected by a new CONFIG_RTAS_ERROR_LOGGING symbol. The inclusion of rtas.o is controlled by the CONFIG_PPC_RTAS symbol, and the relevant platforms select that. Signed-off-by: Paul Mackerras commit f9bd170a87948a9e077149b70fb192c563770fdf tree c759b57b67ab41a859e19f7dcee571504b368202 parent 25635c71e44111a6bd48f342e144e2fc02d0a314 author Paul Mackerras Wed, 26 Oct 2005 16:47:42 +1000 committer Paul Mackerras Wed, 26 Oct 2005 16:47:42 +1000 powerpc: Merge i8259.c into arch/powerpc/sysdev This changes the parameters for i8259_init so that it takes two parameters: a physical address for generating an interrupt acknowledge cycle, and an interrupt number offset. i8259_init now sets the irq_desc[] for its interrupts; all the callers were doing this, and that code is gone now. This also defines a CONFIG_PPC_I8259 symbol to select i8259.o for inclusion, and makes the platforms that need it select that symbol. Signed-off-by: Paul Mackerras commit 25635c71e44111a6bd48f342e144e2fc02d0a314 tree 794b0428a72fefa53a0d9d709247a60a5b4527da parent d9953105ce000abcfa988d0c160b2662186f5879 author Paul Mackerras Wed, 26 Oct 2005 16:36:55 +1000 committer Paul Mackerras Wed, 26 Oct 2005 16:36:55 +1000 ppc: Use the indirect_pci.c from arch/powerpc/sysdev This defines a CONFIG_INDIRECT_PCI symbol to control whether it gets used or not, and fixes the Kconfig to select that symbol for platforms that need it. Signed-off-by: Paul Mackerras commit d9953105ce000abcfa988d0c160b2662186f5879 tree 949e76f9bc3cd8307d2146e7eff2877ebc332628 parent 21f35f28229ad1b017a0ea6cd17c10d6b9ec255f author Michael Ellerman Mon, 24 Oct 2005 15:07:30 +1000 committer Paul Mackerras Wed, 26 Oct 2005 16:00:29 +1000 [PATCH] powerpc: Move ras.c into arch/powerpc/platforms/pseries ras.o is only built for CONFIG_PPC_PSERIES, so move it into arch/powerpc/platforms/pseries. Update Makefiles to suit. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 21f35f28229ad1b017a0ea6cd17c10d6b9ec255f tree 4bd56170e15f789545fae218008e7c4dbc4014fe parent 8c71632f7a13357b7dc5636fca68317f72d3043e author Michael Ellerman Mon, 24 Oct 2005 15:07:29 +1000 committer Paul Mackerras Wed, 26 Oct 2005 16:00:26 +1000 [PATCH] powerpc: Move firmware.h into include/asm-powerpc Move firmware.h into include/asm-powerpc. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 8c71632f7a13357b7dc5636fca68317f72d3043e tree de2bb6b4f9512b0d444ea2486ec3220de4796359 parent a6f3546ecd00a1566cee6e0d992f4c33c2d28287 author Michael Ellerman Mon, 24 Oct 2005 15:07:27 +1000 committer Paul Mackerras Wed, 26 Oct 2005 16:00:19 +1000 [PATCH] powerpc: Remove trailing \n" in HMT macros GCC 3.3.3 barfs on the trailing \n" in the HMT macros. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit a6f3546ecd00a1566cee6e0d992f4c33c2d28287 tree e77f204d13dc153672b90a850006fbcac1c7677e parent 6d7f58b04d824843f7539a132e1ad8220bbe589a author Michael Ellerman Mon, 24 Oct 2005 15:07:26 +1000 committer Paul Mackerras Wed, 26 Oct 2005 16:00:09 +1000 [PATCH] powerpc: Remove duplicate definition of set_tb() Somewhere along the line we got two definitions of set_tb(). They look to be identical although they're not textually identical. So remove the #ifdef CONFIG_PPC64 version, leaving the common version in time.h. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 6d7f58b04d824843f7539a132e1ad8220bbe589a tree 156db49e7525c1f01d46376d9fa51567b3c51520 parent 0fd6f717948083d480f38e97f62cc116faf0e534 author Kumar Gala Tue, 25 Oct 2005 23:57:33 -0500 committer Paul Mackerras Wed, 26 Oct 2005 15:55:53 +1000 [PATCH] powerpc: Some minor cleanups to setup_32.c * Removed of_show_percpuinfo and just report CPU frequency in generic show_cpuinfo code. * Killed OCP and PPC_SYS related code which doesn't belong in the merge tree Signed-off-by: Kumar K. Gala Signed-off-by: Paul Mackerras commit 0fd6f717948083d480f38e97f62cc116faf0e534 tree f8747c6d7536e5bb883ef80d92d12d00556e22f3 parent ab590ccb428f874bb8f9cec1265cc1f9cb38b601 author Kumar Gala Tue, 25 Oct 2005 23:02:59 -0500 committer Paul Mackerras Wed, 26 Oct 2005 15:55:46 +1000 [PATCH] powerpc: Add support for Book-E timer config to generic_calibrate_decr We need to initialize some control SPRS for timers on Book-E before we start taking decrementer interrupts. Signed-off-by: Kumar K. Gala Signed-off-by: Paul Mackerras commit ab590ccb428f874bb8f9cec1265cc1f9cb38b601 tree a5776d126cd54794f4d9f523e368eb2a44ed20a5 parent bfbac4973687ae32df528f2811483f92b943f251 author Becky Bruce Mon, 24 Oct 2005 14:50:46 -0500 committer Paul Mackerras Wed, 26 Oct 2005 15:55:06 +1000 [PATCH] ppc: Fix m82xx_pci build A recent patch updated the name of pci_assign_all_busses to pci_assign_all_buses. This instance of its use wasn't corrected by the original patch to use the new name. Builds cleanly on ads8272. Signed-off-by: Becky Bruce Signed-off-by: Paul Mackerras commit bfbac4973687ae32df528f2811483f92b943f251 tree 69d23f296702ee88b86ca8193e961e0bf7671e02 parent d95bbcb3a344b3eb84b45d162c0a20348f0af37f author Becky Bruce Fri, 21 Oct 2005 16:16:58 -0500 committer Paul Mackerras Wed, 26 Oct 2005 15:54:42 +1000 [PATCH] powerpc: Fix types.h Powerpc: Fix types.h I noticed that Paul had already pulled the version of types.h that is missing the config.h include into the merge tree - this patch adds it back in. Signed-off-by: Becky Bruce Signed-off-by: Paul Mackerras commit d95bbcb3a344b3eb84b45d162c0a20348f0af37f tree 036e03b868b09e3b064489ff7d8f2ccca26a9dda parent 60dda2565bbf31bbe662fd143a41c861b7a190cf author Kumar Gala Thu, 20 Oct 2005 11:44:46 -0500 committer Paul Mackerras Wed, 26 Oct 2005 15:54:31 +1000 [PATCH] powerpc: merge include/asm-ppc*/checksum.h into include/asm-powerpc/checksum.h Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 60dda2565bbf31bbe662fd143a41c861b7a190cf tree 26821704b421cbfc50f50dc2cb7f028960b7294d parent d2e615125762459fd2bb9f0c91881509a0b9c31b author Kumar Gala Thu, 20 Oct 2005 11:44:03 -0500 committer Paul Mackerras Wed, 26 Oct 2005 15:52:56 +1000 [PATCH] powerpc: some prom.c cleanups On !CONFIG_PPC_MULTIPLATFORM _machine is defined as 0. This is ok, but we can't assign a value to _machine then. We may not have CONFIG_PCI available, so only build in support for find_parent_pci_resource(), request_OF_resource(), release_OF_resource() if PCI is enabled. This is probably not the long term fix but works out for now. Make reg_property64 contain 64-bit elements on a 32-bit machine. Mark the deprecated prom.c functions as __deprecated. Signed-off-by: Kumar K. Gala Signed-off-by: Paul Mackerras commit d2e615125762459fd2bb9f0c91881509a0b9c31b tree 249fc27bbf4b81f8cad1072f3ff359a7876fdd5a parent 340601043df518d6f4f82da285c60c785ac8a716 author Kumar Gala Thu, 20 Oct 2005 11:43:33 -0500 committer Paul Mackerras Wed, 26 Oct 2005 15:52:37 +1000 [PATCH] powerpc: Make sure we have an RTC before trying to adjust it Its valid for ppc_md.set_rtc_time to be NULL. We need to check that its non-NULL before trying to update the RTC. Signed-off-by: Kumar K. Gala Signed-off-by: Paul Mackerras commit ccd7bc2f67fdfa9c47ceae64f1117d1fb6cb8737 tree 33b13cd5582c419f8ae098edb24ca355974a7ccf parent 6f0ef4fa57b9ba27d7b1c330bad041f1665501fe parent 6693e74a16ef563960764bd963f1048392135c3c author Jeff Garzik Wed, 26 Oct 2005 01:08:05 -0400 committer Jeff Garzik Wed, 26 Oct 2005 01:08:05 -0400 Merge branch 'master' commit 1f57389a38dc1e8be167ec601f39f78f0bed3a96 tree 5f33d00a046597ae33855cee13d17d77048ba712 parent 077783f87708b24054452e5c07685ead2c28b1eb parent 6693e74a16ef563960764bd963f1048392135c3c author Jeff Garzik Wed, 26 Oct 2005 01:06:45 -0400 committer Jeff Garzik Wed, 26 Oct 2005 01:06:45 -0400 Merge branch 'master' commit 077783f87708b24054452e5c07685ead2c28b1eb tree 998c73ed67ac6a209541941cdde4df20e9f12747 parent ac9c18974f7d08cdedfb1e9599faa8c851c7cef9 author James Ketrenos Mon, 24 Oct 2005 10:27:46 -0500 committer Jeff Garzik Wed, 26 Oct 2005 00:54:23 -0400 [PATCH] ieee80211 build fix James Ketrenos wrote: > [3/4] Use the tx_headroom and reserve requested space. This patch introduced a compile problem; patch below corrects this. Fixed compilation error due to not passing tx_headroom in ieee80211_tx_frame. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit ac9c18974f7d08cdedfb1e9599faa8c851c7cef9 tree 802058729c3d2401ec73c580c670d8b924b17954 parent 9789089703c244ad766a13f441936736b6b1e709 author Ayaz Abdulla Wed, 26 Oct 2005 00:51:24 -0400 committer Jeff Garzik Wed, 26 Oct 2005 00:51:24 -0400 [netdrvr forcedeth] scatter gather and segmentation offload support also: - eliminate use of pointless get_nvpriv() wrapper, and use netdev_priv() directly. - use NETDEV_TX_xxx return codes commit dcab5e1eeccf5e226c771ecc013631cde157435f tree d0e6f0c63caee92c8ac86d24fb280a0c65be11d9 parent 95df1c04ab3f7ca617774930df62c0893a188c2c author David Engel Fri, 21 Oct 2005 22:09:16 -0500 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 01:20:21 -0200 [IPV4]: Fix setting broadcast for SIOCSIFNETMASK Fix setting of the broadcast address when the netmask is set via SIOCSIFNETMASK in Linux 2.6. The code wanted the old value of ifa->ifa_mask but used it after it had already been overwritten with the new value. Signed-off-by: David Engel Signed-off-by: Arnaldo Carvalho de Melo commit 95df1c04ab3f7ca617774930df62c0893a188c2c tree c37783ed5a57ebf90fb3645ed18b3b0005fe58ff parent c83c24861882758b9731e8550225cd1e52a4cd1c author Ralf Baechle Tue, 18 Oct 2005 21:39:33 +0100 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 01:14:09 -0200 [AX.25]: Use constant instead of magic number Signed-off-by: Ralf Baechle DL5RB Signed-off-by: Arnaldo Carvalho de Melo commit c83c24861882758b9731e8550225cd1e52a4cd1c tree a6161031466786ec726532a822fdb63104613b5f parent 0d0d2bba97cb091218ea0bcb3d8debcc7bf48397 author Randy Dunlap Tue, 18 Oct 2005 22:07:41 -0700 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 01:10:18 -0200 [SK_BUFF] kernel-doc: fix skbuff warnings Add kernel-doc to skbuff.h, skbuff.c to eliminate kernel-doc warnings. Signed-off-by: Randy Dunlap Signed-off-by: Arnaldo Carvalho de Melo commit 0d0d2bba97cb091218ea0bcb3d8debcc7bf48397 tree 6f678dcabc60e41a07e1d6948d798e3b2644cea5 parent ea7ce406490cb248f44f510f7c0bcc357184640a author Jayachandran C Thu, 13 Oct 2005 11:43:02 -0700 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:58:54 -0200 [IPV4]: Remove dead code from ip_output.c skb_prev is assigned from skb, which cannot be NULL. This patch removes the unnecessary NULL check. Signed-off-by: Jayachandran C. Acked-by: James Morris Signed-off-by: Arnaldo Carvalho de Melo commit ea7ce406490cb248f44f510f7c0bcc357184640a tree 94865798286a5b9faeca5faa63885d9840c2d8ed parent 80b30c1023dbd795faf948dee0cfb3b270b56d47 author Jayachandran C Thu, 13 Oct 2005 11:43:05 -0700 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:54:46 -0200 [NETLINK]: Remove dead code in af_netlink.c Remove the variable nlk & call to nlk_sk as it does not have any side effect. Signed-off-by: Jayachandran C. Acked-by: James Morris Signed-off-by: Arnaldo Carvalho de Melo commit 80b30c1023dbd795faf948dee0cfb3b270b56d47 tree 18a6c4d4647e6b52ea9b53e1f938b5e7f7e97f8f parent 1371e37da299d4df6267ad0ddf010435782c28e9 author Herbert Xu Sat, 15 Oct 2005 10:58:30 +1000 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:48:45 -0200 [IPSEC]: Kill obsolete get_mss function Now that we've switched over to storing MTUs in the xfrm_dst entries, we no longer need the dst's get_mss methods. This patch gets rid of them. It also documents the fact that our MTU calculation is not optimal for ESP. Signed-off-by: Herbert Xu Signed-off-by: Arnaldo Carvalho de Melo commit 1371e37da299d4df6267ad0ddf010435782c28e9 tree a8b1706d73d86e5f732b132d99b90e1107eafb68 parent eed75f191d8318a2b144da8aae9774e1cfcae492 author Herbert Xu Sat, 15 Oct 2005 09:42:39 +1000 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:25:03 -0200 [IPV4]: Kill redundant rcu_dereference on fa_info This patch kills a redundant rcu_dereference on fa->fa_info in fib_trie.c. As this dereference directly follows a list_for_each_entry_rcu line, we have already taken a read barrier with respect to getting an entry from the list. This read barrier guarantees that all values read out of fa are valid. In particular, the contents of structure pointed to by fa->fa_info is initialised before fa->fa_info is actually set (see fn_trie_insert); the setting of fa->fa_info itself is further separated with a write barrier from the insertion of fa into the list. Therefore by taking a read barrier after obtaining fa from the list (which is given by list_for_each_entry_rcu), we can be sure that fa->fa_info contains a valid pointer, as well as the fact that the data pointed to by fa->fa_info is itself valid. Signed-off-by: Herbert Xu Acked-by: Paul E. McKenney Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo commit eed75f191d8318a2b144da8aae9774e1cfcae492 tree 512e66c1a83911c5944270a68bf950ddc1cbde0d parent d50a6b56f0f239cf061630c85add121dc3555339 author Harald Welte Sun, 16 Oct 2005 14:22:59 +0200 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:19:27 -0200 [NETFILTER] ip_conntrack: Make "hashsize" conntrack parameter writable It's fairly simple to resize the hash table, but currently you need to remove and reinsert the module. That's bad (we lose connection state). Harald has even offered to write a daemon which sets this based on load. Signed-off-by: Rusty Russell Signed-off-by: Harald Welte Signed-off-by: Arnaldo Carvalho de Melo commit d50a6b56f0f239cf061630c85add121dc3555339 tree 98012391b898e4ef4ccd59a41e75cdf65114353c parent b4099fab75d5e3eae8d207c0d7159e2f3348686e author Stephen Hemminger Fri, 14 Oct 2005 15:42:33 -0700 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:12:18 -0200 [PKTGEN]: proc interface revision The code to handle the /proc interface can be cleaned up in several places: * use seq_file for read * don't need to remember all the filenames separately * use for_online_cpu's * don't vmalloc a buffer for small command from user. Committer note: This patch clashed with John Hawkes's "[NET]: Wider use of for_each_*cpu()", so I fixed it up manually. Signed-off-by: Stephen Hemminger Signed-off-by: Robert Olsson Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo commit b4099fab75d5e3eae8d207c0d7159e2f3348686e tree 62e1e42f5422c14491a5b7bd90d48da057912b17 parent 2845b63b504b051a9cb4d78bed8b3594451a1f6f author Stephen Hemminger Fri, 14 Oct 2005 15:32:22 -0700 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:08:10 -0200 [PKTGEN]: Spelling and white space Fix some cosmetic issues. Indentation, spelling errors, and some whitespace. Signed-off-by: Stephen Hemminger Signed-off-by: Robert Olsson Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo commit 2845b63b504b051a9cb4d78bed8b3594451a1f6f tree 6de91ce8e5c07ec3bfd670605e8de916eec3b9ad parent b7c8921bf1a8a9c1907b1eeb029d3f167be226f3 author Stephen Hemminger Fri, 14 Oct 2005 15:29:48 -0700 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:05:32 -0200 [PKTGEN]: Use kzalloc These are cleanup patches for pktgen that can go in 2.6.15 Can use kzalloc in a couple of places. Signed-off-by: Stephen Hemminger Signed-off-by: Robert Olsson Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo commit b7c8921bf1a8a9c1907b1eeb029d3f167be226f3 tree 8b3fcc1f10d297ddde054f8be887cd09129e0320 parent 670c02c2bfd2c8a305a90f5285409a7b0a8fd630 author Stephen Hemminger Fri, 14 Oct 2005 15:26:34 -0700 committer Arnaldo Carvalho de Melo Wed, 26 Oct 2005 00:03:12 -0200 [PKTGEN]: Sleeping function called under lock pktgen is calling kmalloc GFP_KERNEL and vmalloc with lock held. The simplest fix is to turn the lock into a semaphore, since the thread lock is only used for admin control from user context. Signed-off-by: Stephen Hemminger Signed-off-by: Robert Olsson Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo commit 670c02c2bfd2c8a305a90f5285409a7b0a8fd630 tree a6e7d773d72e2716bf675dbb2679e8ada21b4e21 parent 900e0143a575406146ac531fcb91790f166ce52f author John Hawkes Thu, 13 Oct 2005 09:30:31 -0700 committer Arnaldo Carvalho de Melo Tue, 25 Oct 2005 23:54:01 -0200 [NET]: Wider use of for_each_*cpu() In 'net' change the explicit use of for-loops and NR_CPUS into the general for_each_cpu() or for_each_online_cpu() constructs, as appropriate. This widens the scope of potential future optimizations of the general constructs, as well as takes advantage of the existing optimizations of first_cpu() and next_cpu(), which is advantageous when the true CPU count is much smaller than NR_CPUS. Signed-off-by: John Hawkes Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo commit 900e0143a575406146ac531fcb91790f166ce52f tree d75e7e5cbf6303dddafe4f123a7f4bbba7146570 parent 5ed688a7162ff8d28d7cf98b34a1f825e4c2c2ac author Patrick Caulfield Tue, 11 Oct 2005 08:22:33 +0100 committer Arnaldo Carvalho de Melo Tue, 25 Oct 2005 23:49:29 -0200 [DECNET]: Remove some redundant ifdeffed code Signed-off-by: Patrick Caulfield Signed-off-by: Steven Whitehouse Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo commit e7f98dbbb89b68b23a5115708412a820a713fbf1 tree ec373399557962045efa884d17b4a094b701c45b parent 444d1d9bb5b724f03344c9317bc01d54a9b39073 author Russ Anderson Tue, 25 Oct 2005 17:34:19 -0500 committer Tony Luck Tue, 25 Oct 2005 16:53:38 -0700 [IA64-SGI] fix bte_copy() calling get_nasid() while preemptible bte_copy() calls calls get_nasid(), which will get flagged if preemption if enabled. raw_smp_processor_id() is used instead. It is OK if we migrate off node. Signed-off-by: Russ Anderson (rja@sgi.com) Signed-off-by: Tony Luck commit 279290294662d4a35d209fb7d7c46523cfa3d63d tree e321f7bfe1d684b769a55917aea61b65def09c20 parent 4b38fcd4858204cb3667eb7b3aca48ffb1002f05 author Dean Nelson Tue, 25 Oct 2005 14:11:53 -0500 committer Tony Luck Tue, 25 Oct 2005 16:33:22 -0700 [IA64-SGI] cleanup the way XPC locates the reserved page Eliminate the passing in of a scratch buffer used for locating the reserved page setup for XPC. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 4b38fcd4858204cb3667eb7b3aca48ffb1002f05 tree 2125f5d9689e5bdc64ce2e4f35d8a8220c2e0054 parent e54af724c1ae3530c95135157776c9be65cdb747 author Dean Nelson Tue, 25 Oct 2005 14:09:51 -0500 committer Tony Luck Tue, 25 Oct 2005 16:32:39 -0700 [IA64-SGI] XPC changes to support more than 2k nasids XPC needs to be changed to support up to 16k nasids on an SGI Altix system. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit e54af724c1ae3530c95135157776c9be65cdb747 tree 99623edaf5d8fb34c8b43cbd19cf3d7b47d8b8f8 parent a607c38971fd078865fa9bef39e6c1d4435680c8 author Dean Nelson Tue, 25 Oct 2005 14:07:43 -0500 committer Tony Luck Tue, 25 Oct 2005 16:27:37 -0700 [IA64-SGI] fixes for XPC disengage and open/close protocol This patch addresses a few issues with the open/close protocol that were revealed by the newly added disengage functionality combined with more extensive testing. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 7cc656efb560cda66b5ed48444cad7556ea4fe99 tree bfc4d1e256e755623c9782b1a0883fc337d88e6e parent 547e3090738b04be650770b64265835dbb6ddf92 author Roland Dreier Tue, 25 Oct 2005 15:13:54 -0700 committer Roland Dreier Tue, 25 Oct 2005 15:13:54 -0700 [IB] simplify mad_rmpp.c:alloc_response_msg() Change alloc_response_msg() in mad_rmpp.c to return the struct it allocates directly (or an error code a la ERR_PTR), rather than returning a status and passing the struct back in a pointer param. This simplifies the code and gets rid of warnings like drivers/infiniband/core/mad_rmpp.c: In function nack_recv: drivers/infiniband/core/mad_rmpp.c:192: warning: msg may be used uninitialized in this function with newer versions of gcc. Signed-off-by: Roland Dreier commit ddf6d0a00cbb4ad6d4fb4200cc911bb9389174c1 tree b9b426b6d618685fe69a09f62a081fa210204abc parent dc565b525d4b7091a3abb6616d210c8a896a11d7 author hawkes@sgi.com Thu, 13 Oct 2005 12:01:18 -0700 committer Tony Luck Tue, 25 Oct 2005 15:12:05 -0700 [IA64] another place to use for_each_cpu_mask() in arch/ia64 In arch/ia64 change the explicit use of a for-loop using NR_CPUS into the general for_each_online_cpu() construct. This widens the scope of potential future optimizations of the general constructs, as well as takes advantage of the existing optimizations of first_cpu() and next_cpu(), which is advantageous when the true CPU count is much smaller than NR_CPUS. Signed-off-by: John Hawkes Signed-off-by: Tony Luck commit dc565b525d4b7091a3abb6616d210c8a896a11d7 tree 6bd7e8f5cd4e912bfe7f704b1a7b084bfc3cc123 parent 444d1d9bb5b724f03344c9317bc01d54a9b39073 author hawkes@sgi.com Mon, 10 Oct 2005 08:43:26 -0700 committer Tony Luck Tue, 25 Oct 2005 15:10:08 -0700 [IA64] wider use of for_each_cpu_mask() in arch/ia64 In arch/ia64 change the explicit use of for-loops and NR_CPUS into the general for_each_cpu() or for_each_online_cpu() constructs, as appropriate. This widens the scope of potential future optimizations of the general constructs, as well as takes advantage of the existing optimizations of first_cpu() and next_cpu(). Signed-off-by: John Hawkes Signed-off-by: Tony Luck commit 9c184a073bfd650cc791956d6ca79725bb682716 tree d12206902d58d98c059a0a7b1aa8568253bc39c3 parent 444d1d9bb5b724f03344c9317bc01d54a9b39073 author H. J. Lu Fri, 07 Oct 2005 11:01:19 -0700 committer Tony Luck Tue, 25 Oct 2005 15:05:45 -0700 [IA64] Fix 2.6 kernel for the new ia64 assembler The new ia64 assembler uses slot 1 for the offset of a long (2-slot) instruction and the old assembler uses slot 2. The 2.6 kernel assumes slot 2 and won't boot when the new assembler is used: http://sources.redhat.com/bugzilla/show_bug.cgi?id=1433 This patch will work with either slot 1 or 2. Patch provided by H.J. Lu Signed-off-by: Tony Luck commit ce6e71ad4866dad366be135b024b776c00ec9ec8 tree cefc2f4d639726053cc57f557fc4cca812cf0c76 parent 444d1d9bb5b724f03344c9317bc01d54a9b39073 author Siddha, Suresh B Tue, 04 Oct 2005 16:35:31 -0700 committer Tony Luck Tue, 25 Oct 2005 15:00:36 -0700 [IA64] fix siblings field value in /proc/cpuinfo Fix the "siblings" field value in /proc/cpuinfo so that it now shows the number of siblings as seen by OS, instead of what is available from hardware perspective. Signed-off-by: Suresh Siddha Signed-off-by: Tony Luck commit b6a7e1ecef66b9ecd1eed31f46ba0248d6d7e957 tree 682b8cf7e11ca49693b9a73420c050700b0774c7 parent 444d1d9bb5b724f03344c9317bc01d54a9b39073 author Peter Chubb Thu, 20 Oct 2005 12:31:19 +1000 committer Tony Luck Tue, 25 Oct 2005 14:36:55 -0700 [IA64] Allow simulator to use bigger disks The simscsi code at present overflows an int if it's given a large disk image. The attached patch increases the possible size to 128G. While it's unlikely that anyone will want to use SKI with such a large drive, the same framework is currently being used for various virtualisation experiments. Signed-off-by: Peter Chubb Signed-off-by: Tony Luck commit 547e3090738b04be650770b64265835dbb6ddf92 tree 9329491379623349a7ef3a42be9bad302eea011d parent 34816ad98efe4d47ffd858a0345321f9d85d9420 author Roland Dreier Tue, 25 Oct 2005 10:57:32 -0700 committer Roland Dreier Tue, 25 Oct 2005 10:57:32 -0700 [IB] mthca: correct modify QP attribute masks for UC The UC transport does not support RDMA reads or atomic operations, so we shouldn't require or even allow the consumer to set attributes relating to these operations for UC QPs. Signed-off-by: Roland Dreier commit 34816ad98efe4d47ffd858a0345321f9d85d9420 tree 8a5ed6a9b80e667c4c02d9993711ced06d158555 parent ae7971a7706384ca373fb7e212fe195698e6c5a1 author Sean Hefty Tue, 25 Oct 2005 10:51:39 -0700 committer Roland Dreier Tue, 25 Oct 2005 10:51:39 -0700 [IB] Fix MAD layer DMA mappings to avoid touching data buffer once mapped The MAD layer was violating the DMA API by touching data buffers used for sends after the DMA mapping was done. This causes problems on non-cache-coherent architectures, because the device doing DMA won't see updates to the payload buffers that exist only in the CPU cache. Fix this by having all MAD consumers use ib_create_send_mad() to allocate their send buffers, and moving the DMA mapping into the MAD layer so it can be done just before calling send (and after any modifications of the send buffer by the MAD layer). Tested on a non-cache-coherent PowerPC 440SPe system. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 6f0ef4fa57b9ba27d7b1c330bad041f1665501fe tree 1d700a0fe5f1065b1e60d09587111f66ef2b19eb parent 057ace5e79da9ebf2aa82833cfea825533ac06fb author Randy Dunlap Tue, 25 Oct 2005 01:44:30 -0400 committer Jeff Garzik Tue, 25 Oct 2005 01:44:30 -0400 [PATCH] libata kernel-doc fixes Correct some function names in kernel-doc. Add some kernel-doc descriptions. Fix some typos. Remove a few blank lines. Signed-off-by: Randy Dunlap Signed-off-by: Jeff Garzik commit ae7971a7706384ca373fb7e212fe195698e6c5a1 tree 5c0d0fecf3faa6c899f8438c4589fa8dede9da72 parent ec329a135974f1c400214dab02f09584d4beeba9 author Sean Hefty Mon, 24 Oct 2005 12:33:56 -0700 committer Roland Dreier Mon, 24 Oct 2005 12:33:56 -0700 [IB] CM: Fix initialization of QP attributes for UC QPs. Fix cm_init_qp_init_attr(), cm_init_qp_rtr_attr() and cm_init_qp_rts_attr() so that they correctly handle the differences between UC and RC QPs. This fixes problems with setting up UC QPs through the CM. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit ec329a135974f1c400214dab02f09584d4beeba9 tree 235be754f76f4e7d51975d2434f226cfc75cdd08 parent bbf207860931b6a033d0fbcd170ae2332c0d8216 parent 5d7edb3c1a01310725d86f0d83fb3be45685dc82 author Roland Dreier Mon, 24 Oct 2005 10:55:29 -0700 committer Roland Dreier Mon, 24 Oct 2005 10:55:29 -0700 Manual merge of for-linus to upstream (fix conflicts in drivers/infiniband/core/ucm.c) commit 5d7edb3c1a01310725d86f0d83fb3be45685dc82 tree bbe21779313fea41eb644e0e0f06d5949cd4ed49 parent e7d311da9cba1e113f82176130d3af1be77dc3ee author Roland Dreier Mon, 24 Oct 2005 10:53:25 -0700 committer Roland Dreier Mon, 24 Oct 2005 10:53:25 -0700 [IB] Add idr_destroy() calls on module unload Add idr_destroy() calls to the module_exit() functions of the four IB driver modules that use idrs, so we don't leak idr_layer_cache objects when these modules are unloaded. Signed-off-by: Roland Dreier commit a4e62fa031a9681477207b08391c3a5c5c831ce7 tree e635167a89bc286febe64527f308c74f02630f93 parent 67e1a014fbc0e472ccc55766a63640a767ede3bf author Dave Airlie Mon, 24 Oct 2005 18:45:11 +1000 committer Dave Airlie Mon, 24 Oct 2005 18:45:11 +1000 drm: remove unused components of drm structures These haven't been used in quite a long time, takes 1K buffer out of structures. Signed-off-by: Dave Airlie commit 67e1a014fbc0e472ccc55766a63640a767ede3bf tree b8033bfeb4e9ab2b12e6050565b7d815edd469b3 parent 5fb4dc9bf5e3af1ae91be97108bc3b1233252ddf author Dave Airlie Mon, 24 Oct 2005 18:41:39 +1000 committer Dave Airlie Mon, 24 Oct 2005 18:41:39 +1000 drm: fix warning on 64-bit platforms.. This looks ugly, but it is the only thing that makes sense that doesn't change the API. Signed-off-by: Dave Airlie commit 47c564e10f219f867bdb49225972749a43485a47 tree 5e119e0f2e011f422d880d88d1adb2142e508bfc parent c9c2009a4e915db17f32701d1f0535b400e61b58 parent ba9e358fd04190a59e605c2963a15e014139a707 author Anton Altaparmakov Mon, 24 Oct 2005 09:19:36 +0100 committer Anton Altaparmakov Mon, 24 Oct 2005 09:19:36 +0100 Merge branch 'master' of /usr/src/ntfs-2.6/ commit c9c2009a4e915db17f32701d1f0535b400e61b58 tree bc91f1853e1b14069b00c52f7a7cfada55280254 parent dda65b941f992ab10fda3d9f09539c68206b7114 author Anton Altaparmakov Mon, 24 Oct 2005 09:00:51 +0100 committer Anton Altaparmakov Mon, 24 Oct 2005 09:00:51 +0100 NTFS: Document extended attribute ($EA) NEED_EA flag. (Based on libntfs patch by Yura Pakhuchiy.) Signed-off-by: Anton Altaparmakov commit dda65b941f992ab10fda3d9f09539c68206b7114 tree 27468ef642b1d6e7a8b3c7f7f9a842e5ad92456e parent d04bd1fb60252f30f4f41a56613ade48df130588 author Anton Altaparmakov Mon, 24 Oct 2005 08:57:59 +0100 committer Anton Altaparmakov Mon, 24 Oct 2005 08:57:59 +0100 NTFS: Fix compilation warnings with gcc-4.0.2 on SUSE 10.0. Signed-off-by: Anton Altaparmakov commit d04bd1fb60252f30f4f41a56613ade48df130588 tree 53086f94589ecf35912e47fa14b8d8a5bc4714c0 parent d5aeaef37dc9cb009ab5cb8abf325338d21d2b1a author Anton Altaparmakov Mon, 24 Oct 2005 08:41:24 +0100 committer Anton Altaparmakov Mon, 24 Oct 2005 08:41:24 +0100 NTFS: Use %z for size_t to fix compilation warnings. (Andrew Morton) Signed-off-by: Andrew Morton Signed-off-by: Anton Altaparmakov commit 340601043df518d6f4f82da285c60c785ac8a716 tree 251c935b5ab9a805fecd0ca1bf5870e101cac26e parent 915124d8114ec8c3825b10a39151bf9e851593bb author Stephen Rothwell Mon, 24 Oct 2005 17:40:23 +1000 committer Stephen Rothwell Mon, 24 Oct 2005 17:40:23 +1000 powerpc: Add a shutdown member to vio_driver Add a shutdown member to struct vio_driver. We also need vio_bus_shutdown() which converts from struct device to struct vio_dev and knows how to extract the struct vio_driver. Original patch adjusted for different location of vio.c. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 915124d8114ec8c3825b10a39151bf9e851593bb tree 854dd90a4ec252c6282abb2570424c7d17656114 parent 7c7eb28481a038c3859a0efcf38ac5b642aca212 author Stephen Rothwell Mon, 24 Oct 2005 15:12:22 +1000 committer Stephen Rothwell Mon, 24 Oct 2005 16:59:13 +1000 powerpc: set the driver.owner field for all vio drivers Signed-off-by: Stephen Rothwell commit 7c7eb28481a038c3859a0efcf38ac5b642aca212 tree 29870ade1049ce3849d9c08a02619b3ef1eb669c parent 6fdf5392caa4c3cba65add0a4beec9f5eb96b723 author Stephen Rothwell Mon, 24 Oct 2005 15:21:52 +1000 committer Stephen Rothwell Mon, 24 Oct 2005 15:42:24 +1000 powerpc: iseries: Fix a bogus comment A comment in lpevents.c refers to code that's actually in HvCallEvent.h. The code in HvCallEvent.h is pretty obvious, so just remove the comment altogether. Signed-off-by: Michael Ellerman Acked-by: Stephen Rothwell commit 6fdf5392caa4c3cba65add0a4beec9f5eb96b723 tree 336ba343889a1d720e09477c2ea88cd5f99a67b9 parent f38d87f566195d78bd70538d5c774758f2d926d3 author Stephen Rothwell Mon, 24 Oct 2005 14:53:21 +1000 committer Stephen Rothwell Mon, 24 Oct 2005 15:42:12 +1000 powerpc: don't duplicate name between vio_driver and device_driver Just set the name field directly in the device_driver structure contained in the vio_driver struct. Signed-off-by: Stephen Rothwell commit f38d87f566195d78bd70538d5c774758f2d926d3 tree 456022c29c7a162e372770d9253d8ba6347504ce parent 580460194e0e647d95cb5a2b66fdd7497b197f92 author Stephen Rothwell Mon, 24 Oct 2005 14:32:35 +1000 committer Stephen Rothwell Mon, 24 Oct 2005 15:41:58 +1000 powerpc: Move include/asm-ppc64/vio.h to include/asm-powerpc/vio.h Move include/asm-ppc64/vio.h to include/asm-powerpc/vio.h, that's it. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 580460194e0e647d95cb5a2b66fdd7497b197f92 tree bce8e2c26e02c01210f6aa82fed9a9772bdf6fd6 parent 85e568ea5843d455a0bcb682ad2c71abb50bdb80 author Stephen Rothwell Mon, 24 Oct 2005 14:22:37 +1000 committer Stephen Rothwell Mon, 24 Oct 2005 15:41:44 +1000 powerpc: Merge arch/ppc64/kernel/vio.c into arch/powerpc/kernel/vio.c Merge arch/ppc64/kernel/vio.c into arch/powerpc/kernel/vio.c, update the Makefiles to make it work, and make ARCH=ppc64 still work. Michael's version put vio.c in arch/powerpc/sysedv but after consolting Paulus, this one puts it in arch/powerpc/kernel. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit e7d311da9cba1e113f82176130d3af1be77dc3ee tree 05b4baf382124a9a0342777127c09832dcbd88c0 parent c8e0ca683dfea7242ff29814561dfe761945e5b3 parent ba9e358fd04190a59e605c2963a15e014139a707 author Roland Dreier Sun, 23 Oct 2005 17:56:59 -0700 committer Roland Dreier Sun, 23 Oct 2005 17:56:59 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 commit 85e568ea5843d455a0bcb682ad2c71abb50bdb80 tree 64c2cdb54a5d4a2e3101278304b57ae370f7d688 parent a575b807172ca7d8850e6e979c8e83d4258e8c43 author Paul Mackerras Sun, 23 Oct 2005 17:26:32 +1000 committer Paul Mackerras Sun, 23 Oct 2005 17:26:32 +1000 powerpc: Make coff boot wrapper load the kernel at 8M Previously it claimed 7MB starting at the 9M point and loaded the kernel there. That meant that prom_init put the flattened device tree above 16M. On the 601 that caused the early device tree scan to fail, since only 16MB are mapped with BATs on the 601. Moving this down to 8MB allows prom_init to put the flattened device tree between 15M and 16M, so it works on the 601. Signed-off-by: Paul Mackerras commit a575b807172ca7d8850e6e979c8e83d4258e8c43 tree 83c3a6be6f16e4e1d325ecb9b43d26bb4d3d1ab7 parent 96c44507601d64f29b8ccc867637292e326c7019 author Paul Mackerras Sun, 23 Oct 2005 17:23:21 +1000 committer Paul Mackerras Sun, 23 Oct 2005 17:23:21 +1000 powerpc: Run on old powermacs. Old powermacs have a number of differences from current machines: - there is no interrupt tree in the device tree, just interrupt or AAPL,interrupt properties - the chosen node in the device tree is called /chosen@0 - the OF claim method doesn't map the memory, so we have to do an explicit map call as well - there is no /chosen/cpu property on SMP machines - the NVRAM isn't structured as a set of partitions. This adapts the merged powermac support code to cope with these issues. Signed-off-by: Paul Mackerras commit 96c44507601d64f29b8ccc867637292e326c7019 tree 1fbdb6f4a3c2d99afaa6a244161518ec78f31048 parent 985990137e81ca9fd6561cd0f7d1a9695ec57d5a author Paul Mackerras Sun, 23 Oct 2005 17:14:56 +1000 committer Paul Mackerras Sun, 23 Oct 2005 17:14:56 +1000 powerpc: Fix time code for 601 processors The 601 doesn't have the timebase register; instead it has an RTCL register that counts nanoseconds and wraps at 1000000000, and an RTCU register that counts seconds. This makes the necessary changes for the merged time code to use the RTCL/U registers when the kernel is running on a 601. Signed-off-by: Paul Mackerras commit 057ace5e79da9ebf2aa82833cfea825533ac06fb tree f27ed6cbd9a185041862471ef421e6415e099344 parent cf482935c6abe5245e481213c6e6df808c976f56 author Jeff Garzik Sat, 22 Oct 2005 14:27:05 -0400 committer Jeff Garzik Sat, 22 Oct 2005 14:27:05 -0400 libata: const-ification bombing run Enforce access rules where appropriate. If the compiler is smart enough, this may buy us an optimization or two as a side effect. commit c8e0ca683dfea7242ff29814561dfe761945e5b3 tree 9c7be6ca5f815f72c6be614576ad6ef6c3110f8c parent 2cc78eb52bc1ae89f0a4fa5a00eb998dffde4a9f author Roland Dreier Sat, 22 Oct 2005 09:43:29 -0700 committer Roland Dreier Sat, 22 Oct 2005 09:43:29 -0700 [IB] mthca: Always re-arm EQs in mthca_tavor_interrupt() We should always re-arm an event queue's interrupt in mthca_tavor_interrupt() if the corresponding bit is set in the event cause register (ECR), even if we didn't find any entries in the EQ. If we don't, then there's a window where we miss an EQ entry and then get stuck because we don't get another EQ event. Signed-off-by: Roland Dreier commit 985990137e81ca9fd6561cd0f7d1a9695ec57d5a tree 7a67493285623a7356ba7065cada6728993d1a3b parent 834289447542b7ec55c0847486616d4d53ddf891 parent 63172cb3d5ef762dcb60a292bc7f016b85cf6e1f author Paul Mackerras Sat, 22 Oct 2005 16:51:34 +1000 committer Paul Mackerras Sat, 22 Oct 2005 16:51:34 +1000 Merge changes from linux-2.6 by hand commit 834289447542b7ec55c0847486616d4d53ddf891 tree 3fce91fba1ee65ff00e927cca981980eb07f3019 parent 35499c0195e46f479cf6ac16ad8d3f394b5fcc10 author Paul Mackerras Sat, 22 Oct 2005 16:06:27 +1000 committer Paul Mackerras Sat, 22 Oct 2005 16:06:27 +1000 ppc64: Use arch/powerpc/platforms/powermac for powermac build. This switches the ARCH=ppc64 build to use arch/powerpc/platforms/powermac instead of arch/ppc64/kernel/pmac*, and deletes the latter set of files. Signed-off-by: Paul Mackerras commit 35499c0195e46f479cf6ac16ad8d3f394b5fcc10 tree 25660acd2425de5236a1eff7a25dc931e6f86492 parent b6ba92819dc1304a4e5a0bf06b297c657b58168a author Paul Mackerras Sat, 22 Oct 2005 16:02:39 +1000 committer Paul Mackerras Sat, 22 Oct 2005 16:02:39 +1000 powerpc: Merge in 64-bit powermac support. This brings in a lot of changes from arch/ppc64/kernel/pmac_*.c to arch/powerpc/platforms/powermac/*.c and makes various minor tweaks elsewhere. On the powermac we now initialize ppc_md by copying the whole pmac_md structure into it, which required some changes in the ordering of initializations of individual fields of it. Signed-off-by: Paul Mackerras commit b6ba92819dc1304a4e5a0bf06b297c657b58168a tree 3ae9182dc1c0fe58dc43f8ae196cf5ac484482c6 parent ef1a12817aebc313049d226f96eee86e4bcc94a3 author Paul Mackerras Sat, 22 Oct 2005 15:57:55 +1000 committer Paul Mackerras Sat, 22 Oct 2005 15:57:55 +1000 powerpc: Make set_rtc_time() return error code from lower-level function Previously it ignored the return value from ppc_md.set_rtc_time, but in fact the functions that that can point to do return a useful error code, so return it from set_rtc_time(). Signed-off-by: Paul Mackerras commit ef1a12817aebc313049d226f96eee86e4bcc94a3 tree 9c20807e70ef93a3e709e38464b627280bf67b36 parent 529294d59fdc77bf15f00f2308bbeb73e03e7042 author Paul Mackerras Sat, 22 Oct 2005 15:55:58 +1000 committer Paul Mackerras Sat, 22 Oct 2005 15:55:58 +1000 ppc64: Simplify secondary CPU startup on powermacs ... for consistency with ppc32, and because this way is neater. Signed-off-by: Paul Mackerras commit 529294d59fdc77bf15f00f2308bbeb73e03e7042 tree e04c555d8c1ed398b1543442e0f2d4d82b360acb parent f7abbc190b0edec34627d5348ba1d5fa5577da77 author Paul Mackerras Sat, 22 Oct 2005 15:36:52 +1000 committer Paul Mackerras Sat, 22 Oct 2005 15:36:52 +1000 ppc64: Rearrange btext initialization for consistency with ppc32 Moved init_boot_display from arch/ppc64/kernel/pmac_setup.c to arch/ppc64/kernel/btext.c and declared it in asm-ppc64/btext.h. Call it from init_early rather than pmac_init_early. Signed-off-by: Paul Mackerras commit 7bbaa75452c77cbaa016b987765c5d6c8b744587 tree e7332fa7baaa1b7fa777c49acf07f26cd2eb3915 parent 2d5a2ae52d8863275e2d26398bc010249ea709d1 author Jeff Garzik Sat, 22 Oct 2005 01:33:18 -0400 committer Jeff Garzik Sat, 22 Oct 2005 01:33:18 -0400 drivers/block/sx8: kill unused variable commit 5fb4dc9bf5e3af1ae91be97108bc3b1233252ddf tree 842b952d5726992ccadade70fec008a357be23ec parent 23bfc1a339e98510f2ce25a2764a0cfe195faa9e author Dave Airlie Sat, 22 Oct 2005 15:25:01 +1000 committer Dave Airlie Sat, 22 Oct 2005 15:25:01 +1000 merge linus head to drm-mm branch commit 23bfc1a339e98510f2ce25a2764a0cfe195faa9e tree 51652ad15f85d9d1367ae6f9b8641dfe46b4c501 parent 312f5726055534be1dc9dd369be13aabd2943fcb parent 63172cb3d5ef762dcb60a292bc7f016b85cf6e1f author Dave Airlie Sat, 22 Oct 2005 15:24:35 +1000 committer Dave Airlie Sat, 22 Oct 2005 15:24:35 +1000 merge linus head to drm-mm branch commit f7abbc190b0edec34627d5348ba1d5fa5577da77 tree dc6a97aaef1cf9174af7e09329db85be0af13c16 parent a5b518ed314bfd25ea5e433ce09f8b27080023db author Paul Mackerras Sat, 22 Oct 2005 15:03:21 +1000 committer Paul Mackerras Sat, 22 Oct 2005 15:03:21 +1000 ppc64: Add a `primary' argument to pci_process_bridge_OF_ranges ... for consistency with ppc32 and to make the powermac merge easier. Also make it use just a single resource in the host bridge for multiple consecutive elements of the ranges property. Signed-off-by: Paul Mackerras commit a5b518ed314bfd25ea5e433ce09f8b27080023db tree 777d0f9202136dcff484121ad7673eb65d099567 parent e2b5530698cbe8148577b24097eaefcd835ac9ca author Paul Mackerras Sat, 22 Oct 2005 14:55:23 +1000 committer Paul Mackerras Sat, 22 Oct 2005 14:55:23 +1000 ppc64/powerpc: Fix time initialization on SMP systems This moves smp_space_timers from arch/ppc64/kernel/smp.c to arch/powerpc/kernel/time.c and makes it initialize last_jiffy[] instead of paca[].next_jiffy_update_tb, since last_jiffy[] is now what the time code uses. It also declares smp_space_timers in include/asm-powerpc/time.h and gets rid of an ifdef in div128_by_32. Signed-off-by: Paul Mackerras commit e2b5530698cbe8148577b24097eaefcd835ac9ca tree 270f7505fa2b94880b5f59b638a8b5567c28f547 parent 5c8c56ebdfb290e4feaac406518903f58714d874 author Paul Mackerras Sat, 22 Oct 2005 14:46:33 +1000 committer Paul Mackerras Sat, 22 Oct 2005 14:46:33 +1000 ppc64: Fix delivery of RT signals to 32-bit processes. An error in merging led to 32-bit processes getting the wrong link register value on entry to RT signal handlers, and the wrong stack chain as well. This fixes it. Signed-off-by: Paul Mackerras commit 5c8c56ebdfb290e4feaac406518903f58714d874 tree 424ca8975f59d4bb8daa985fc769f10c34a5e87a parent 05d84681abcb33fe34accb5982c413daeb4208c4 author Paul Mackerras Sat, 22 Oct 2005 14:42:51 +1000 committer Paul Mackerras Sat, 22 Oct 2005 14:42:51 +1000 powerpc: Move agp_special_page export to where it is defined ... instead of exporting it in arch/*/kernel/ppc_ksyms.c. Signed-off-by: Paul Mackerras commit cf482935c6abe5245e481213c6e6df808c976f56 tree 076ce597d2a7a07039e7834f2d15411fa3e2d0b7 parent 452503f993feffe96e8cc9fbff4888b96e2c5e40 author Jeff Garzik Sat, 22 Oct 2005 00:19:33 -0400 committer Jeff Garzik Sat, 22 Oct 2005 00:19:33 -0400 libata: turn on block layer clustering commit 2d5a2ae52d8863275e2d26398bc010249ea709d1 tree d616b75e3ca5b317db905984aea16ebe777e4a2d parent 63172cb3d5ef762dcb60a292bc7f016b85cf6e1f author Jeff Garzik Sat, 22 Oct 2005 00:14:31 -0400 committer Jeff Garzik Sat, 22 Oct 2005 00:14:31 -0400 drivers/block/sx8: several minor changes * Newer hardware doesn't corrupt data when the queue depth is greater than one. Rather than force the user to recompile with a greater queue depth, make it a module parameter. * update copyright date * add MODULE_VERSION() * trim trailing whitespace * move CARM_SG_BOUNDARY to a separate enum, since its unsigned long * bump to version 1.0 commit 6958ae318bb1af5e0b77968384700fb184fb8893 tree 3abd55711f92ca14caf2617d79957d6f429f456a parent 27678201333e1b9a9a7fc8e685d858132956113e author Kyle McMartin Fri, 21 Oct 2005 23:11:27 -0400 committer Kyle McMartin Fri, 21 Oct 2005 23:11:27 -0400 [PARISC] Update MAINTAINERS and CREDITS Add Kyle McMartin and Thibaut Varene as maintainers for ALSA ad1889 driver. Add myself to CREDITS. Signed-off-by: Kyle McMartin commit 27678201333e1b9a9a7fc8e685d858132956113e tree 1aaf6756d92bd6b0e10046ab85b724c26d1eacca parent 6ab0f5cd364476fe5cb329fd46ee41bea6d4c69c author Kyle McMartin Fri, 21 Oct 2005 23:11:03 -0400 committer Kyle McMartin Fri, 21 Oct 2005 23:11:03 -0400 [PARISC] defconfig updates defconfig updates from Kyle McMartin, Grant Grundler, and Matthew Wilcox. Signed-off-by: Kyle McMartin commit 6ab0f5cd364476fe5cb329fd46ee41bea6d4c69c tree d89c5f47149b443e05345ed8e7c8c9d8960cfa15 parent ae8c75c1c47029a64976690c37336a2be6b49778 author Matthew Wilcox Fri, 21 Oct 2005 22:58:51 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:58:51 -0400 [PARISC] Update parisc specific input code from parisc tree Update drivers to new input layer changes. Signed-off-by: Helge Deller Signed-off-by: Matthew Wilcox Reorder code in gscps2_interrupt() and only enable ports when opened. This fixes issues with hangs booting an SMP kernel on my C360. Previously serio_interrupt() could be called before the lock in struct serio was initialised. Signed-off-by: Richard Hirst Signed-off-by: Kyle McMartin commit ae8c75c1c47029a64976690c37336a2be6b49778 tree 4af797b490b210f40770d685cf89f760efe15199 parent 27ee073cd2f72aa794299ef1ead31072f5176533 author Matthew Wilcox Fri, 21 Oct 2005 22:58:03 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:58:03 -0400 [PARISC] Fix mux.c driver Missing spin_lock_init() made the Mux driver hang on SMP systems. Fix up users of ->hpa to use ->hpa.start instead Remove warning in 8250_gsc.c by eliminating serial_line_nr Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 27ee073cd2f72aa794299ef1ead31072f5176533 tree 9a9bec76bbcf934454e0d9fef70c77f9ac6ca286 parent abff75439fd6e9b5774e5984d4c3b3b59cb3038b author Matthew Wilcox Fri, 21 Oct 2005 22:57:43 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:57:43 -0400 [PARISC] Update scsi drivers from parisc tree Fix lasi700 for James's ioread*be() changes Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit abff75439fd6e9b5774e5984d4c3b3b59cb3038b tree 2388b814d69621ce9d3ee0d37776f51b4aa86133 parent e55fb3e787ccfbbdb3198ec859d5689e5413c7bd author Randolph Chung Fri, 21 Oct 2005 22:57:13 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:57:13 -0400 [PARISC] Avoid use of floating point in the kernel don't use *printf %f in the kernel, mm'kay? Signed-off-by: Randolph Chung Signed-off-by: Kyle McMartin commit e55fb3e787ccfbbdb3198ec859d5689e5413c7bd tree 09d3def62c8d2e268655afc10f8f6f3647c1fea6 parent 61520e1f8f5ec3a78510a3254947324711944b98 author Grant Grundler Fri, 21 Oct 2005 22:56:53 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:56:53 -0400 [PARISC] Properly specify section alignment for real2.S .align applies to the current section - ie section directives come first. Thanks to Joel Soete for catching this. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 61520e1f8f5ec3a78510a3254947324711944b98 tree f3fae16fc105543b505a2e9f6d4de2b852d44655 parent e635c96ed6c972e1b3cb0c0fc3681c1204697287 author Grant Grundler Fri, 21 Oct 2005 22:56:35 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:56:35 -0400 [PARISC] Specify level to fix binutils level promotion bug fixup.S needs to specify .level and use correct LDREG macro. New binutils has a bug where it doesn't "promote" from PA1.0 to PA1.1 correctly when using ",s" completer. remove use of __LP64__ in assembly.h and add some white space. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit e635c96ed6c972e1b3cb0c0fc3681c1204697287 tree 7bae8401ea7ed96881341b6c4793985d79cf6839 parent 9b3b331d0322b60de1bde20528bf974f62804ffa author Matthew Wilcox Fri, 21 Oct 2005 22:56:14 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:56:14 -0400 [PARISC] Explicitly specify sr4 when flushing kernel space Specify sr4 when flushing kernel space (we could equally well use sr5-7, but must not use sr0). Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 9b3b331d0322b60de1bde20528bf974f62804ffa tree 6c9f07131f4985f8b48ccd198a88d6405fc43869 parent 37318a3cb1028933417533084ddbf9d84be06878 author Grant Grundler Fri, 21 Oct 2005 22:55:51 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:55:51 -0400 [PARISC] Properly specify index field to I/D cache flush ops replace use of "0" with "%r0" since PA 1.1 I/D flush ops only take a general register and not an immediate value for the index field. This just forces the code to always be PA 1.1 "clean". From: Joel Soete Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 37318a3cb1028933417533084ddbf9d84be06878 tree 2806c46b71e68f2c5da2cff54adfc0407a5b7cce parent c2709020adb442f7d25f0805af08a3b6cfedd7be author Grant Grundler Fri, 21 Oct 2005 22:55:34 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:55:34 -0400 [PARISC] Fix copy_user_page_asm to NOT access past end of page 2.6.12-rc2-pa3 fix copy_user_page_asm to NOT access past end of page. My bad. /o\ Lamont confirmed that instructions following a conditional branch are *alway* executed regardless if the branch is taken or not. Unless they are nullified (which was missing in this case). He also noted: Conditional branches nullify on forward taken branch, and on non-taken backward branch. Note that .+4 is a backwards branch. This makes alot more sense than the giberish in the PA20 arch book. Compiles and boots on both 64-bit (a500) and 32-bit (j6k). Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit c2709020adb442f7d25f0805af08a3b6cfedd7be tree abebd5eb62274e79c5084c94bef2c0495529acce parent dd0fd51dc1585941c2edccdb40e5f11ea3a64496 author Sven Schnelle Fri, 21 Oct 2005 22:55:15 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:55:15 -0400 [PARISC] Add NETPOLL support to lasi_82596 add netpoll support Patch by Sven Schnelle Signed-off-by: Sven Schnelle Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit dd0fd51dc1585941c2edccdb40e5f11ea3a64496 tree 4da7851b8972bb7251789b3862642aca8274aa07 parent 63af965d2bc8d8c5d4c5949b8d3dbdc3c7b7d97a author James Bottomley Fri, 21 Oct 2005 22:54:38 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:54:38 -0400 [PARISC] Remove the spurious do_softirq calls from entry.S remove the spurious do_softirq calls from entry.S With these in we were calling do_softirq twice; plus the calls in entry.S took no account of nesting. Signed-off-by: James Bottomley Signed-off-by: Kyle McMartin commit 63af965d2bc8d8c5d4c5949b8d3dbdc3c7b7d97a tree 997f10729a93f9058e999dffc88882c4d54f8351 parent b4b45313e58bf25886072a4ab111fac553747802 author Grant Grundler Fri, 21 Oct 2005 22:54:20 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:54:20 -0400 [PARISC] Define pgprot_noncached macro in pgtable.h drivers/infiniband depends on definition of pgprot_noncached() macro. Someone else will have to fix it's wrong. Signed-off-by: Grant Grundler commit b4b45313e58bf25886072a4ab111fac553747802 tree 8e3ea1a166462a7630cba054e66ef7ba7268d4ae parent 05aa10de701409b893484d2901c8974b3382f8fe author Kyle McMartin Fri, 21 Oct 2005 22:54:00 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:54:00 -0400 [PARISC] Add other CRT_ID for newer cards to grfioctl.h Add IDs for some other STI graphics cards found on HP PA-RISC machines. Signed-off-by: Kyle McMartin commit 05aa10de701409b893484d2901c8974b3382f8fe tree e4cd05811271e2f6052139b58a533d8df37710f6 parent 618febd6784054eea928d712b7e564558a7cefd5 author Grant Grundler Fri, 21 Oct 2005 22:53:43 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:53:43 -0400 [PARISC] Add ECANCELED to errno.h add ECANCELED - SuSv3 wants one L. IB/SDP actually returns this error. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 618febd6784054eea928d712b7e564558a7cefd5 tree 13a60c377dc5a17f44e9b3b227e5996e0ba7e5a4 parent b2450cc1b7ce07d73545ece32db50197d649e230 author James Bottomley Fri, 21 Oct 2005 22:53:26 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:53:26 -0400 [PARISC] Fix the alloc_slabmgmt panic Fix the alloc_slabmgmt panic Hopefully this should also fix a lot of other intermittent kernel bugs. The problem has been around since 2.6.9-rc2-pa6 when we allowed floating point registers to be used in kernel code. The essence of the problem is that gcc prefers to use floating point for integer divides and multiples. Further, it can rely on the values in the no clobber fp regs being correct across a function call. Unfortunately, our task switch function only saves the integer no clobber registers, not the fp ones, so if gcc makes a function call to any function in the kernel which could sleep, the values it is relying on in any no clobber floating point register may be lost. In the case of alloc_slabmgmt, the value of the page offset is being stored in %fr12 across a call to kmem_getpages(), which sleeps if no pages are available. Thus, the offset can be trashed and the slab code can end up with a completely bogus address leading to corruption. Kudos to Randolph who came up with the program to trip this problem at will and thus allowed it to be tracked and fixed. Signed-off-by: James Bottomley Signed-off-by: Kyle McMartin commit b2450cc1b7ce07d73545ece32db50197d649e230 tree 6cde982570c3989ee417c83115bdce4f74f858b8 parent 8b631342dd9db9ca272e11814e041e4ee3d1a948 author Carlos O'Donell Fri, 21 Oct 2005 22:53:04 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:53:04 -0400 [PARISC] Implement 5 argument clone. * arch/parisc/kernel/process.c (sys_clone): Use 5 args, and process CLONE_PARENT_SETTID, CLONE_CHILD_SETTID, CLONE_CHILD_CLEARTID. (copy_thread): First cut at CLONE_SETTLS. Signed-off-by: Carlos O'Donell Signed-off-by: Kyle McMartin commit 8b631342dd9db9ca272e11814e041e4ee3d1a948 tree 52d7975960c6f018ce0bdab1566e9b41511b7cbf parent 5beb5f32c56b70f79117e13a1abd54824a78466c author Grant Grundler Fri, 21 Oct 2005 22:52:46 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:52:46 -0400 [PARISC] Update Kconfig for itimer selection 2.6.14-rc2-pa1: enable 100/250/1000HZ itimer selection Signed-off-by: Grant Grundler Mark floppy as broken. Thanks Joel Signed-off-by: Matthew Wilcox make DISCONTIGMEM depend on 64BIT Signed-off-by: Thibaut VARENE Signed-off-by: Kyle McMartin commit 5beb5f32c56b70f79117e13a1abd54824a78466c tree a0dd70e130a735f6ffacc82ee6928ec34d7445b0 parent 675ec7a56a77da2dda27180c95ee82ae4879142a author Randolph Chung Fri, 21 Oct 2005 22:52:00 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:52:00 -0400 [PARISC] Update minimum compiler version and CROSS_COMPILE for parisc64 Prefix changed in debian, include "gnu" in the commandline. Signed-off-by: Carlos O'Donell Ensure the compiler version is new enough (>= 3.3) Signed-off-by: Randolph Chung Signed-off-by: Kyle McMartin commit 675ec7a56a77da2dda27180c95ee82ae4879142a tree 2b31efafa8306c1e60d9773a0cc61b5eb3f16b4c parent c8e8b1937a788ec46ee11d84437311d4cb8be218 author Grant Grundler Fri, 21 Oct 2005 22:51:40 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:51:40 -0400 [PARISC] Document history of PDC_NARROW as it is now obsolete Document history of PDC_NARROW a bit as it will still show up in an older kernel's .config file. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit c8e8b1937a788ec46ee11d84437311d4cb8be218 tree 6095b828530f992d03825fc7dd379bfda0ee8751 parent b8db800295fd31f8beb39fd1de63660aa7aef47b author Jesper Juhl Fri, 21 Oct 2005 22:51:23 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:51:23 -0400 [PARISC] kfree cleanups to ioctl32.c 2.6.12-rc2-pa2 kfree cleanups from Jesper Juhl Signed-off-by: Jesper Juhl Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit b8db800295fd31f8beb39fd1de63660aa7aef47b tree 0c1a00f6dcc0c8950ceffce45323b606a70db471 parent 8054f03f6330f20e9d47e2f6c7b1d01ddf5adeef author Grant Grundler Fri, 21 Oct 2005 22:50:48 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:50:48 -0400 [PARISC] Cleanup whitespace and handle proc_mkdir() failures in pci-dma.c 1) cleanup whitespace and handle proc_mkdir() failures. From: Christophe Lucas 2) rename "dino" entry to "pcxl_dma"...also seems like it's in the wrong location. 3) don't dump resource bitmap in /proc/pcxl_dma output 4) fixup compiler warning Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 8054f03f6330f20e9d47e2f6c7b1d01ddf5adeef tree e476059c88991ecbf1a7ffafb0b9e21ceb95204a parent 7c92e972da0dd5b6a9ddf01030aab7dec9912b1f author Grant Grundler Fri, 21 Oct 2005 22:50:33 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:50:33 -0400 [PARISC] More informative error message in pcibios_link_hba_resources Generate a more informative message when a resource does not have a parent. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 7c92e972da0dd5b6a9ddf01030aab7dec9912b1f tree bd2d132c35e044e31dcab92915f202265f9d7929 parent 40c72f20e89300dfaea28300ee17aa56d230d63f author Matthew Wilcox Fri, 21 Oct 2005 22:50:06 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:50:06 -0400 [PARISC] Update pdc console from parisc tree Get rid of some unnecessary includes Remove a layer of macro indirection around pdc_console_device Delete pdc_console_die() as it is unused Avoid double-printing on panic by clearing CON_PRINTBUFFER rather than setting con_start to be log_end Make con_start and log_end static again Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 40c72f20e89300dfaea28300ee17aa56d230d63f tree 9303278860122e15e1def56caac7a73a556429c1 parent eba917273eb8579dd8ae36f6645518ca5579a2ab author Randolph Chung Fri, 21 Oct 2005 22:49:47 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:49:47 -0400 [PARISC] Prevent signal loops if we have a problem setting up a frame 2.6.13-rc6-pa2 use force_sigsegv() if we have a problem setting up a frame. This is required to prevent SIGSEGV loops. Signed-off-by: Randolph Chung Signed-off-by: Kyle McMartin commit eba917273eb8579dd8ae36f6645518ca5579a2ab tree e2f6e86ea96e42bcfa78661a5d69e4c050218f2c parent 74d13f84a9905e02a025d952ced6abb2e064f1c1 author Thibaut Varene Fri, 21 Oct 2005 22:49:25 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:49:25 -0400 [PARISC] Add printing of fpregs state to stack dump We're using fp regs now in the kernel, so we want to print them on stack dump Signed-off-by: Thibaut VARENE Signed-off-by: Kyle McMartin commit 74d13f84a9905e02a025d952ced6abb2e064f1c1 tree f1ea8ccd5a19db2402ec85c48a136ebed2c31e6e parent fa681a1800a58234afe4d876c1752c0751826d22 author Matthew Wilcox Fri, 21 Oct 2005 22:49:05 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:49:05 -0400 [PARISC] Fix compile warning in pci.h Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit fa681a1800a58234afe4d876c1752c0751826d22 tree 121863680509f24c2edc94009a703486b16e8768 parent 7efe1611b2db9025ffc52a686897ab91820caeb4 author Randolph Chung Fri, 21 Oct 2005 22:48:34 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:48:34 -0400 [PARISC] Disable use of fpregs in pa_memcpy Disable use of fpregs in pa_memcpy, and turn on the -mdisable-fpregs flag. Signed-off-by: Randolph Chung Signed-off-by: Kyle McMartin commit 7efe1611b2db9025ffc52a686897ab91820caeb4 tree 83e44db7a424f40cc4259780be029eab4d8d6179 parent 91313d60d8ad96fa79a833e55e8c13b56f893614 author Kyle McMartin Fri, 21 Oct 2005 22:48:03 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:48:03 -0400 [PARISC] Initialize serial spinlocks in superio.c git commit 976ecd12b8144d066a23fe97c6fbfc1ac8470af7 changed our locking characteristics, and put the onus of spin_lock_init on superio.c. Signed-off-by: Kyle McMartin commit 91313d60d8ad96fa79a833e55e8c13b56f893614 tree 4808780dd7837cbbb2e242686d026caa26178e1c parent 3aa0862ce7c120e035bc2aa25997fd000d964d6e author Grant Grundler Fri, 21 Oct 2005 22:47:40 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:47:40 -0400 [PARISC] Add sync required after fdc to enforce insn ordering PA20 arch book (page 7-52 and 7-55) indicate a "sync" is required after the FDC "to enforce instruction ordering". And we want to make sure FIC is executed after FDC has retired. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 3aa0862ce7c120e035bc2aa25997fd000d964d6e tree 2e477339f4d91467fbcaa3c873776e759fb7942f parent 413059f28e9949d9ad2d04d1070c63169798176e author Grant Grundler Fri, 21 Oct 2005 22:47:04 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:47:04 -0400 [PARISC] Minor iosapic.c cleanup minor cleanup: qualify constant with "UL" Acked-by: "Hmamouche, Youssef" Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 413059f28e9949d9ad2d04d1070c63169798176e tree c4609bc151c3f88f7e8f2128e81c32356f842063 parent 3499495205a676d85fcc2f3c28e35ec9b43c47e3 author Grant Grundler Fri, 21 Oct 2005 22:46:48 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:46:48 -0400 [PARISC] Replace uses of __LP64__ with CONFIG_64BIT 2.6.12-rc4-pa3 s/__LP64__/CONFIG_64BIT/ and fixup config.h usage Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 3499495205a676d85fcc2f3c28e35ec9b43c47e3 tree a22c976db8b5c81f3f42b283a37954f9381f3f9f parent ba1f188cae2f58e6bf3ecf4ea99a8dc4b0e2ea0e author Grant Grundler Fri, 21 Oct 2005 22:46:18 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:46:18 -0400 [PARISC] Use work queue in LED/LCD driver instead of tasklet. 2.6.12-rc1-pa6 use work queue in LED/LCD driver instead of tasklet. Main advantage is it allows use of msleep() in the led_LCD_driver to "atomically" perform two MMIO writes (CMD, then DATA). Lead to nice cleanup of the main led_work_func() and led_LCD_driver(). Kudos to David for being persistent. From: David Pye Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit ba1f188cae2f58e6bf3ecf4ea99a8dc4b0e2ea0e tree ddae7480dbac1c18cd5377b7ffcbf19426448f9f parent a366064c3ff46c985a3c7243468be197d29874dc author Jens Axboe Fri, 21 Oct 2005 22:45:57 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:45:57 -0400 [PARISC] Add new ioprio_{set,get} syscalls add syscall entries for ioprio_set/get as per Jens Axboe. Signed-off-by: Jens Axboe Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit a366064c3ff46c985a3c7243468be197d29874dc tree 379418f6bbbfcfb8ebd6a53786e8d5e0a19d0327 parent 2464212f68136527f6364d63c23a529e1fd7d168 author Grant Grundler Fri, 21 Oct 2005 22:45:22 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:45:22 -0400 [PARISC] Update bitops from parisc tree Optimize ext2_find_next_zero_bit. Gives about 25% perf improvement with a rsync test with ext3. Signed-off-by: Randolph Chung fix ext3 performance - ext2_find_next_zero() was culprit. Kudos to jejb for pointing out the the possibility that ext2_test_bit and ext2_find_next_zero() may in fact not be enumerating bits in the bitmap because of endianess. Took sparc64 implementation and adapted it to our tree. I suspect the real problem is ffz() wants an unsigned long and was getting garbage in the top half of the unsigned int. Not confirmed but that's what I suspect. Signed-off-by: Grant Grundler Fix find_next_bit for 32-bit Make masking consistent for bitops From: Joel Soete Signed-off-by: Randolph Chung Add back incorrectly removed ext2_find_first_zero_bit definition Signed-off-by: James Bottomley Fixup bitops.h to use volatile for *_bit() ops Based on this email thread: http://marc.theaimsgroup.com/?t=108826637900003 In a nutshell: *_bit() want use of volatile. __*_bit() are "relaxed" and don't use spinlock or volatile. other minor changes: o replaces hweight64() macro with alias to generic_hweight64() (Joel Soete) o cleanup ext2* macros so (a) it's obvious what the XOR magic is about and (b) one version that works for both 32/64-bit. o replace 2 uses of CONFIG_64BIT with __LP64__. bitops.h used both. I think header files that might go to user space should use something userspace will know about (__LP64__). Signed-off-by: Grant Grundler Move SHIFT_PER_LONG to standard location for BITS_PER_LONG (asm/types.h) and ditch the second definition of BITS_PER_LONG in bitops.h Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 2464212f68136527f6364d63c23a529e1fd7d168 tree 5a7a9b56570be465c87047a28d38aadf1357e698 parent f053725b8985d10c2cc4b837a80a381104c936a4 author Stuart Brady Fri, 21 Oct 2005 22:44:14 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:44:14 -0400 [PARISC] Fix parisc_setup_cache_timing to choose a better flush threshold update comment about CAFL_STRIDE Signed-off-by: Kyle McMartin Fixed a bug in parisc_setup_cache_timing() which caused it to calculate a poor value for parisc_cache_flush_threshold. Thanks to Joel Soete for spotting the bug. Thanks to James Bottomley for pointing out the clean way to fix this. Signed-off-by: Stuart Brady Signed-off-by: Kyle McMartin commit f053725b8985d10c2cc4b837a80a381104c936a4 tree b9539783ec2f608638dd0d92c2c56d49eb19d93e parent 99ac79479928bae42d694b7cb53644be5d3b6dd2 author Kyle McMartin Fri, 21 Oct 2005 22:43:15 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:43:15 -0400 [PARISC] Add ability for prctl to change unaligned trap behaviour Add support for changing unaligned trap behaviour on a per-thread basis. Signed-off-by: Kyle McMartin commit 99ac79479928bae42d694b7cb53644be5d3b6dd2 tree f7f8793f2d5df8d3179f86c1eb75c93a2c94749b parent 3a165680168758733b7a9f7fb835954fbe6b91a8 author Randolph Chung Fri, 21 Oct 2005 22:42:57 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:42:57 -0400 [PARISC] Replace some calls to bl with b,l or bv to use longer offsets convert some bl calls to b,l or bv to use longer offsets Signed-off-by: Randolph Chung Signed-off-by: Kyle McMartin commit 3a165680168758733b7a9f7fb835954fbe6b91a8 tree 634b8e305fd9de734f77ac224d404abd574b9d0a parent 5cd55b0edee7f979530c86b23728d461ddeb9f3f author Stuart Brady Fri, 21 Oct 2005 22:42:38 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:42:38 -0400 [PARISC] Update harmony from parisc tree o Added a control for the input source (which can be either "line" or "mic") o Mute the speaker/line-out/headphone outputs by default. o Increased the buffer size from 10 pages to 16. Signed-off-by: Stuart Brady ALSA Harmony was resetting the capture position when preparing the capture substream, which it shouldn't do. This should fix the problem. Signed-off-by: Stuart Brady ALSA Harmony should no longer play junk (left in the buffers from a previous stream) at the start of a new stream. Implement the monitor mixer channel for ALSA Harmony. Also prevent snd_harmony_volume_get from returning negative values. Signed-off-by: Stuart Brady Use the graveyard/silence buffers in ALSA Harmony. Signed-off-by: Stuart Brady Signed-off-by: Kyle McMartin commit 5cd55b0edee7f979530c86b23728d461ddeb9f3f tree a279495f59c8de8bbfdd1bbdfd0b0927160fa669 parent 951a0150135c46c7791d68e0d1112900d99302d7 author Randolph Chung Fri, 21 Oct 2005 22:42:18 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:42:18 -0400 [PARISC] Take into account nullified insn and lock functions for profiling export profile_pc() symbol - oprofile needs it when built as a module. Signed-off-by: Grant Grundler Take into account nullified insn and lock functions for profiling This is needed at the end of functions; it is typical that the return branch nullifies the next insn, which is in the next function. This causes profiling data to show up against the "wrong" function. We also count lock times against the locker. This is consistent with other architectures. Signed-off-by: Randolph Chung Signed-off-by: Kyle McMartin commit 951a0150135c46c7791d68e0d1112900d99302d7 tree 19ca9f01cc7159814f3db9566061be3afeb3033e parent 14e256c107304367eff401d20f2ab9fa72e33136 author Matthew Wilcox Fri, 21 Oct 2005 22:41:49 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:41:49 -0400 [PARISC] Reorganize sticore probe routine to be a little less convoluted Fix some whitespace issues Reorganise parisc_device probe routine to be a little less convoluted Use ->hpa.start instead of ->hpa Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 14e256c107304367eff401d20f2ab9fa72e33136 tree beff45e23977abbb89aa3cc4851ad4f98b283bff parent 04d472dc83388c59deb6241e9aed841926aa1c8c author Matthew Wilcox Fri, 21 Oct 2005 22:41:25 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:41:25 -0400 [PARISC] Update spinlocks from parisc tree Neaten up the CONFIG_PA20 ifdefs More merge fixes, this time for SMP Signed-off-by: Matthew Wilcox Prettify the CONFIG_DEBUG_SPINLOCK __SPIN_LOCK_UNLOCKED initializers. Clean up some warnings with CONFIG_DEBUG_SPINLOCK enabled. Fix build with spinlock debugging turned on. Patch is cleaner like this, too. Remove mandatory 16-byte alignment requirement on PA2.0 processors by using the ldcw,CO completer. Provides a nice insn savings. Signed-off-by: Kyle McMartin commit 04d472dc83388c59deb6241e9aed841926aa1c8c tree b6ebff62c0f62416f9c84bb24e1d6b2901661e02 parent 896a375623c3643a3f189353e7d4828c48a7fdf8 author Grant Grundler Fri, 21 Oct 2005 22:40:24 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:40:24 -0400 [PARISC] Move pa_tlb_lock to tlb_flush.h move pa_tlb_lock and it's primary consumers to tlb_flush.h Future step will be to move spinlock_t definition out of system.h. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 896a375623c3643a3f189353e7d4828c48a7fdf8 tree bb79535f843110f9b2b199890157fcabb0504b43 parent b2c1fe81df7471de9f7e2918877ac04ec9cde35f author Grant Grundler Fri, 21 Oct 2005 22:40:07 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:40:07 -0400 [PARISC] Make sure use of RFI conforms to PA 2.0 and 1.1 arch docs 2.6.12-rc4-pa3 : first pass at making sure use of RFI conforms to PA 2.0 arch pages F-4 and F-5, PA 1.1 Arch page 3-19 and 3-20. The discussion revolves around all the rules for clearing PSW Q-bit. The hard part is meeting all the rules for "relied upon translation". .align directive is used to guarantee the critical sequence ends more than 8 instructions (32 bytes) from the end of page. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit b2c1fe81df7471de9f7e2918877ac04ec9cde35f tree 742a0a30608828b379e911c40ffa80cf576c93b4 parent 92b919fe46509820c639a08962cbf78bc8d227d9 author Grant Grundler Fri, 21 Oct 2005 22:39:43 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:39:43 -0400 [PARISC] Allow STI_CONSOLE access to some FONTS add || STI_CONSOLE to some of the basic FONTs. May need to get at least one of them to default to "Y" for parisc. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 92b919fe46509820c639a08962cbf78bc8d227d9 tree a4c138f9b224129b0bebbea4533cfe7e1a1dba07 parent 86a61ee9c9f3d8b632d29e86ac6610c43ebbb4f0 author Matthew Wilcox Fri, 21 Oct 2005 22:38:23 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:38:23 -0400 [PARISC] Update dino from parisc tree Fix card-mode Dino crashes on 725 (and probably other Snake) systems. Dino was coming up in fatal mode after a warm reboot. Resetting Dino brings it out of fatal mode, so do that if the status register indicates we're in fatal mode. Since this was never observed on any later systems, I presume firmware does this for us on those. Signed-off-by: Matthew Wilcox Add debug statements in the cfg_read and cfg_write functions Fix debug statements from the IRQ overhaul last winter Rename dino_driver_callback() to dino_probe() Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 86a61ee9c9f3d8b632d29e86ac6610c43ebbb4f0 tree d9289057621307b63d5f0f902ab0f37826ccb1f8 parent 64908ad95c34f25849412d6d4735ac10f8fb6575 author Grant Grundler Fri, 21 Oct 2005 22:37:43 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:37:43 -0400 [PARISC] Update ccio-dma from parisc tree revert use of %%sr0 in fdc asm. Thanks to Joel Soete for pointing out this oversight. Signed-off-by: Grant Grundler 2.6.14-rc2-pa3 fdc/lci should be %r0 instead 0 for index (PA 1.1 compliance) From: Joel Soete Signed-off-by: Grant Grundler Explain why we need insert_resource() instead of request_resource(). Fundementally, this is more convoluted for ccio driver because of o legacy (HP-PB) transperant bridges. o support for MMIO behind card-mode Dino (PCI) o support for above bridges without ccio in the box SBA driver doesn't have to worry about those issues. Signed-off-by: Grant Grundler Use insert_resource instead of request_resource now that the subdevices will already have their resources claimed Signed-off-by: Matthew Wilcox re-enable use of "inline" for perf critical functions. Signed-off-by: Grant Grundler 2.6.12-rc4-pa5 fix sign extension of MMIO range Fixes the problem of claiming a range that is disabled on 64-bit kernel: ccio_init_resource() claimed CCIO bus address space (ffffffff00000000, ffffffffffffffff) also removes use of __FILE__. Tested on both 32 and 64-bit systems by Joel. From: Joel Soete Signed-off-by: Grant Grundler 2.6.12-rc1-pa7 incorrect BUG_ON in ccio ccio-dma.c line 1317 was preventing K-class with 4GB RAM from booting. Any ccio machine with >=2GB of RAM would have (incorrectly) triggered this. Signed-off-by: Grant Grundler Convert to ioremap and __raw_read/write Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 64908ad95c34f25849412d6d4735ac10f8fb6575 tree 544173d34dadfb80339e3d4ba147875ad1f5c731 parent 53f01bba49938f115237fe43a261c31ac13ae5c6 author Grant Grundler Fri, 21 Oct 2005 22:37:20 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:37:20 -0400 [PARISC] Update sba_iommu from parisc tree revert use of %%sr0 in fdc asm. Thanks to Joel Soete for pointing out this oversight. Signed-off-by: Grant Grundler 2.6.14-rc2-pa3 move "sync" outside the main loop that fills IO Pdir. Signed-off-by: Grant Grundler remove explicit use of sr0 in fdc ops. Thanks to Joel Soete for reminding me were I added those... Signed-off-by: Grant Grundler 2.6.14-rc2-pa2 - make SBA more anal about invalidating pdir entries Previous code cleared the valid flag a pdir entry but it did NOT guarantee this change was visible to the PDIR before writing the PCOM register. Ie the SBA could pick up a stale entry if the write happened to hit the SBA before the cacheline was flushed from the cache. Long term, I think I want to make this a compile time flag. Developement tree should enable anal pdir checking by default and Debian can disable it with either a CONFIG option or one-line patch. fdc/sync options can only negatively affect performance though I haven't measure how much yet. If someone can run netperf TCP_RR across gige and compare -pa1 and -pa2, that would be sufficient. Cleaned up the use of "fdc" to make sure it's using "kernel" space id (specify sr0 but maps to sr4-7). It seems a bit fragile to assume "sr1" gets loaded with KERNEL_SPACE which is how the code works today. Tested on 32 and 64-bit SMP kernels on j6k. Signed-off-by: Grant Grundler remove PDC_NARROW from SBA and document history of PDC_NARROW a bit. It will still show up in an older kernel's .config file. Signed-off-by: Grant Grundler if/ifdef cleanups from Joel Soete. Signed-off-by: Grant Grundler 2.6.12-rc4-pa2 fix 32-bit support for Astro platforms o Since my last SBA code change, SBA could allocate more than 1GB of IOVA space on Astro boxes with more than 1GB of RAM when running 32-bit kernel. This is bad since IOMMU can only talk to the first 1GB at most. Kudos to jejb for quickly spotting that bug. o jejb also noted SBA should *always* reject DMA masks > 32-bits since DMA-mapping.txt indicates caller should try again with 32-bits. o off-by-one error when comparing the mask to IOVA space size. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 53f01bba49938f115237fe43a261c31ac13ae5c6 tree df2a5fa9d95c7e69447ac0c89d6e149888c9bd1c parent bdad1f836ab1ca2b18a625222f63f630cfd14e41 author Matthew Wilcox Fri, 21 Oct 2005 22:36:40 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:36:40 -0400 [PARISC] Convert parisc_device to use struct resource for hpa Convert pa_dev->hpa from an unsigned long to a struct resource. Signed-off-by: Matthew Wilcox Fix up users of ->hpa to use ->hpa.start instead. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit bdad1f836ab1ca2b18a625222f63f630cfd14e41 tree b52b796d4f93b56b8cf23b23219c7083e363c96b parent 5658374766d9e0249bd04e9d62bdb8456b916b64 author Matthew Wilcox Fri, 21 Oct 2005 22:36:23 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:36:23 -0400 [PARISC] Change the driver names so /sys/bus/parisc/drivers/ looks better Make /sys/bus/parisc/drivers look better by cleaning up parisc_driver names. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 5658374766d9e0249bd04e9d62bdb8456b916b64 tree 61ae77a2c8faf7bb420be00d989b89c5ffd1f4ee parent 63172cb3d5ef762dcb60a292bc7f016b85cf6e1f author Matthew Wilcox Fri, 21 Oct 2005 22:33:38 -0400 committer Kyle McMartin Fri, 21 Oct 2005 22:33:38 -0400 [PARISC] Convert parisc_device tree to use struct device klists Fix parse_tree_node. much more needs to be done to fix this file. Signed-off-by: Matthew Wilcox Make drivers.c compile based on a patch from Pat Mochel. From: Patrick Mochel Signed-off-by: Kyle McMartin Fix drivers.c to create new device tree nodes when no match is found. Signed-off-by: Richard Hirst Do a proper depth-first search returning parents before children, using the new klist infrastructure. Signed-off-by: Richard Hirst Fixed parisc_device traversal so that pdc_stable works again Fixed check_dev so it doesn't dereference a parisc_device until it has verified the bus type Signed-off-by: Randolph Chung Convert pa_dev->hpa from an unsigned long to a struct resource. Use insert_resource() instead of request_mem_region(). Request resources at bus walk time instead of driver probe time. Don't release the resources as we don't have any hotplug parisc_device support yet. Add parisc_pathname() to conveniently get the textual representation of the hwpath used in sysfs. Inline the remnants of claim_device() into its caller. Signed-off-by: Matthew Wilcox I noticed that some of the STI regions weren't showing up in iomem. Reading the STI spec indicated that all STI devices occupy at least 32MB. So check for STI HPAs and give them 32MB instead of 4kB. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit e78a57de94480226f7fc90d0b4837bfc6c99a9e0 tree bfe0a664f88b6cb9d284869d615ae2d7fdb7cf63 parent 77501f3cb648e18733509a951ed31eddd7ef2c0b parent 452503f993feffe96e8cc9fbff4888b96e2c5e40 author Jeff Garzik Fri, 21 Oct 2005 21:33:27 -0400 committer Jeff Garzik Fri, 21 Oct 2005 21:33:27 -0400 Merge branch 'upstream' commit 452503f993feffe96e8cc9fbff4888b96e2c5e40 tree 83163004da490ea8521ec753df71121b62de200a parent 11e29e21514517f3022a1f30998ac4c7b1197658 author Alan Cox Fri, 21 Oct 2005 19:01:32 -0400 committer Jeff Garzik Fri, 21 Oct 2005 19:01:32 -0400 Add ide-timing functionality to libata. This is needed for full AMD and VIA drivers and possibly more. Functions to turn actual clocking and cycle timings into register values. Also to merge shared timings to compute an optimal timing set. Built from the drivers/ide version by Vojtech Pavlik Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit 11e29e21514517f3022a1f30998ac4c7b1197658 tree 195f9ce419f5141d6bab4676184d16fd600cf139 parent 307e4dc28ee255bf22b431f242f847c9d96fe3fa author Alan Cox Fri, 21 Oct 2005 18:46:32 -0400 committer Jeff Garzik Fri, 21 Oct 2005 18:46:32 -0400 libata: handle early device PIO modes correctly commit 9789089703c244ad766a13f441936736b6b1e709 tree 096e552a197400429a033f235fadd4ccbe886f01 parent 59b81827071a8ae7f399da533d268e1e33bfeeb7 parent 519a62bb8a0b0b383e6022cad6242cf63efc015c author Jeff Garzik Fri, 21 Oct 2005 14:58:47 -0400 committer Jeff Garzik Fri, 21 Oct 2005 14:58:47 -0400 Merge rsync://bughost.org/repos/ieee80211-delta/ commit 519a62bb8a0b0b383e6022cad6242cf63efc015c tree 34c1caebdf145d79f31ff2a2537e29402952d5ec parent d3f7bf4fa9626d371f26cd310477202628a8126a author James Ketrenos Thu, 20 Oct 2005 15:57:03 -0500 committer James Ketrenos Fri, 21 Oct 2005 13:00:40 -0500 Update version ieee80211 stamp to 1.1.6 commit d3f7bf4fa9626d371f26cd310477202628a8126a tree 7b12b1ed327ff6f8e9820979e302e23e6a157223 parent f0f15ab5542f73d07e35eeee713df289599427b2 author Michael Buesch Fri, 21 Oct 2005 12:39:52 -0500 committer James Ketrenos Fri, 21 Oct 2005 13:00:28 -0500 ieee80211 subsystem: * Use GFP mask on TX skb allocation. * Use the tx_headroom and reserve requested space. Signed-off-by: Michael Buesch Signed-off-by: James Ketrenos commit ab27642b59b68d18df5a9aa5fa81b5ab5735aa77 tree afc2f191ef73e6eb1064de6358f44177d691aab0 parent ba9b543d5bec0a7605952e2ba501fb8b0f3b6407 parent 654b1536b0927d189526b9063818e0790aa3ea23 author Trond Myklebust Fri, 21 Oct 2005 10:42:58 -0700 committer Trond Myklebust Fri, 21 Oct 2005 10:42:58 -0700 Merge branch 'master' of ssh://rsync.linux-nfs.org/home/trondmy/www_sites/rsync.linux-nfs.org/pub/linux/nfs-2.6 commit d6d3f5bc68be3c4ab84e6f1f9db92291da671504 tree 76946c62cc7d1a18203fba50ea87fd567387f637 parent ac9b9c667c2e1194e22ebe0a441ae1c37aaa9b90 parent 23e7dd7d95f6fdc167a6d6ddea79ced0af33bbff author Steve French Fri, 21 Oct 2005 08:39:12 -0700 committer Steve French Fri, 21 Oct 2005 08:39:12 -0700 Merge with /pub/scm/linux/kernel/git/sfrench/cifs-2.6.git/ commit 05d84681abcb33fe34accb5982c413daeb4208c4 tree 713c1ac65109ab1e2b0bd30a29bad13f2caee38e parent 90eac727c6d7afbe707ce408edf97c33385fa08c author Michael Ellerman Fri, 21 Oct 2005 16:01:34 +1000 committer Paul Mackerras Fri, 21 Oct 2005 22:47:52 +1000 [PATCH] powerpc: Fix mmap returning 64 bit addresses The merge of syscalls.c & sys_ppc32.c (30286ef6e044bc3d9019c3d8b900572e3fa05e65) broke mmap, if the mmap returned a 64 bit address. do_mmap2 was taking the return value from do_mmap_pgoff (an unsigned long), and storing it in an int, before returning it to sys_mmap as an unsigned long. So we were losing the high bits of the address. You would have thought the compiler could catch this for us ... Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 90eac727c6d7afbe707ce408edf97c33385fa08c tree 130fc6e078e82a3c8fd62d90105d346637d680ea parent 6cb7bfebb145af5ea1d052512a2ae7ff07a47202 author Michael Ellerman Fri, 21 Oct 2005 16:01:33 +1000 committer Paul Mackerras Fri, 21 Oct 2005 22:47:39 +1000 [PATCH] powerpc: Don't blow away load_addr in start_thread The patch to make process.c work for 32-bit and 64-bit (06d67d54741a5bfefa31945ef195dfa748c29025) broke some 64-bit binaries. We were blowing away load_addr in gpr[2], so we weren't properly relocating the entry point. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 6cb7bfebb145af5ea1d052512a2ae7ff07a47202 tree 677ce52e6ad423f8a652ec3e16f98c3ad33fcc54 parent b0faa28493f97b55b36ff5b1a2b8c81bf253a460 author David Gibson Fri, 21 Oct 2005 15:45:50 +1000 committer Paul Mackerras Fri, 21 Oct 2005 22:47:23 +1000 [PATCH] powerpc: Merge thread_info.h Merge ppc32 and ppc64 versions of thread_info.h. They were pretty similar already, the chief changes are: - Instead of inline asm to implement current_thread_info(), which needs to be different for ppc32 and ppc64, we use C with an asm("r1") register variable. gcc turns it into the same asm as we used to have for both platforms. - We replace ppc32's 'local_flags' with the ppc64 'syscall_noerror' field. The noerror flag was in fact the only thing in the local_flags field anyway, so the ppc64 approach is simpler, and means we only need a load-immediate/store instead of load/mask/store when clearing the flag. - In readiness for 64k pages, when THREAD_SIZE will be less than a page, ppc64 used kmalloc() rather than get_free_pages() to allocate the kernel stack. With this patch we do the same for ppc32, since there's no strong reason not to. - For ppc64, we no longer export THREAD_SHIFT and THREAD_SIZE via asm-offsets, thread_info.h can now be safely included in asm, as on ppc32. Built and booted on G4 Powerbook (ARCH=ppc and ARCH=powerpc) and Power5 (ARCH=ppc64 and ARCH=powerpc). Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit b0faa28493f97b55b36ff5b1a2b8c81bf253a460 tree c7735210c0de8f21bc91e5ef19b5ba930411a2c4 parent 5d14a18d59b661356409e5a1f624236155a209ba author David Gibson Fri, 21 Oct 2005 15:43:42 +1000 committer Paul Mackerras Fri, 21 Oct 2005 22:47:09 +1000 [PATCH] Fix broken initialization of conswitchp for ARCH=ppc64 In the merge tree, commit 0458060c1c59c5378d8fb5daabe18cf4681c35cd broke boot on some machines because the initialization of conswitchp was moved to arch/powerpc/kernel/setup_64.c, but a corresponding copy was not added to arch/ppc64/kernel/setup.c. This patch fixes it. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 307e4dc28ee255bf22b431f242f847c9d96fe3fa tree 939d7173d97c52680f3a63ff303ccf2f62f540cf parent 9aa36e89b5677a98d951cf7bef6d99a0f93ea633 author Al Viro Fri, 21 Oct 2005 06:46:02 +0100 committer Jeff Garzik Fri, 21 Oct 2005 02:05:31 -0400 [PATCH] iomem annotations (sata_vsc) Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit 9aa36e89b5677a98d951cf7bef6d99a0f93ea633 tree d9e663902fbc2f187bfc56ab16080c2b6d573e5f parent a9afd7cd2f65ff85f5ffe931beb879ccf12540e0 author Al Viro Fri, 21 Oct 2005 06:46:02 +0100 committer Jeff Garzik Fri, 21 Oct 2005 02:05:31 -0400 [PATCH] iomem annotations (sata_sil) Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit a9afd7cd2f65ff85f5ffe931beb879ccf12540e0 tree 698aba1b97371d3fb6b3ece1ebda8e5e0e9ca741 parent 0420dd121d395e76f6b80fe232e7b4bc6a046f18 author Al Viro Fri, 21 Oct 2005 06:46:02 +0100 committer Jeff Garzik Fri, 21 Oct 2005 02:05:31 -0400 [PATCH] iomem annotations (sata_sx4) Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit 0420dd121d395e76f6b80fe232e7b4bc6a046f18 tree b45a5dbd3e1dda91eb92f856063146563f8f6f2a parent b181d3b0121e141cb410ea3126b4dbe4f8e1751a author Al Viro Fri, 21 Oct 2005 06:46:02 +0100 committer Jeff Garzik Fri, 21 Oct 2005 02:05:31 -0400 [PATCH] enum safety (sata_qstor) sata_qstor strays into a nasty area - gcc handling of wide enums is full of bugs that got fixed between gcc versions creating portability nightmare. Single-member enums are safe, so are ones that stay within the range of int or unsigned int. Anything beyond that is asking for trouble. Declaration of constants split in two enums, taking the ~0UL one into a separate enum. Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit b181d3b0121e141cb410ea3126b4dbe4f8e1751a tree aabb79a95405d4c14979fda3f0715bb63cdf6f1f parent 1e4f2a96aeb373000ccd783e0f5b40294b5e668a author Al Viro Fri, 21 Oct 2005 06:46:02 +0100 committer Jeff Garzik Fri, 21 Oct 2005 02:05:31 -0400 [PATCH] iomem annotations (sata_promise) Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit 1e4f2a96aeb373000ccd783e0f5b40294b5e668a tree cdd94e8f5f49e6ac42391e71effe0b6a2892d507 parent 9ee0c0a2ccd66b90eaeb2f197c0a7da43071af52 author Al Viro Fri, 21 Oct 2005 06:46:02 +0100 committer Jeff Garzik Fri, 21 Oct 2005 02:05:31 -0400 [PATCH] iomem annotations (ahci) Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit 9ee0c0a2ccd66b90eaeb2f197c0a7da43071af52 tree f6c1cb2d94b819a685687bc83110123023d1f099 parent 7e6c1208598004a80b1c1fca4953eb9f2a6aa8bc author Al Viro Fri, 21 Oct 2005 06:46:02 +0100 committer Jeff Garzik Fri, 21 Oct 2005 02:05:31 -0400 [PATCH] iomem annotations (sata_nv) Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit 654b1536b0927d189526b9063818e0790aa3ea23 tree afc2f191ef73e6eb1064de6358f44177d691aab0 parent ec073428281b401f1142cb84b277a5b00c7994c9 parent 93918e9afc76717176e9e114e79cdbb602a45ae8 author Trond Myklebust Thu, 20 Oct 2005 14:25:44 -0700 committer Trond Myklebust Thu, 20 Oct 2005 14:25:44 -0700 Merge /home/trondmy/scm/kernel/git/torvalds/linux-2.6 commit ec073428281b401f1142cb84b277a5b00c7994c9 tree c96e6d10af61dc3fd678c46dda505791812ca985 parent 4e51336a00bdcb42960acca52c23e90e9f4e6959 author Trond Myklebust Thu, 20 Oct 2005 14:22:47 -0700 committer Trond Myklebust Thu, 20 Oct 2005 14:22:47 -0700 NFSv4: Fix up locking for nfs4_state_owner Signed-off-by: Trond Myklebust commit 4e51336a00bdcb42960acca52c23e90e9f4e6959 tree 87d619bcd796a0c272abe2499bcc56bc3eda30b4 parent a0857d03b21fa54653c9d2fe7a315381176015b4 author Trond Myklebust Thu, 20 Oct 2005 14:22:41 -0700 committer Trond Myklebust Thu, 20 Oct 2005 14:22:41 -0700 NFSv4: Final tweak to sequence id Sacrifice queueing fairness for performance. Signed-off-by: Trond Myklebust commit 23e7dd7d95f6fdc167a6d6ddea79ced0af33bbff tree dc7f5947df09eaca23c25a4d4a908e4dfe81cf40 parent 84d2f07e8e5e2424eec0f5acfef6792c924a0549 author Steve French Thu, 20 Oct 2005 13:44:56 -0700 committer Steve French Thu, 20 Oct 2005 13:44:56 -0700 [CIFS] Defer close of file handle slightly if there are pending writes that need to get in ahead of it that depend on that file handle. Fixes occassional bad file handle errors on write with heavy use multiple process cases. Signed-off-by: Steve French commit 59b81827071a8ae7f399da533d268e1e33bfeeb7 tree 71b98092ae01162cc33c08617d24b7803f1f89de parent 902f90735b693550eb51a3989895f3148b8229d8 author Ralf Baechle Thu, 20 Oct 2005 12:01:28 +0100 committer Jeff Garzik Thu, 20 Oct 2005 16:06:11 -0400 [PATCH] sb1250-mac: PHY probing fixes. Improve sb1250-mac driver to probe for PHYs at addresses other than 1, such as the PHYs on BigSur. Signed-Off-By: Andy Isaacson Signed-off-by: Ralf Baechle Signed-off-by: Jeff Garzik commit 7e6c1208598004a80b1c1fca4953eb9f2a6aa8bc tree 098dec14f0b7c30193aace90974e1f17a68cd4b8 parent 323cb3ce6eea9d4e72a81a9ffaac4c4e5b800810 author Brett Russ Thu, 20 Oct 2005 08:39:43 -0400 committer Jeff Garzik Thu, 20 Oct 2005 16:04:22 -0400 [PATCH] libata: Marvell endian fix Jeff found an endian bug in the Marvell driver (thanks!). Here's the fix for it. Signed-off-by: Brett Russ Signed-off-by: Jeff Garzik commit bbf207860931b6a033d0fbcd170ae2332c0d8216 tree 9ffa1c4d1b045e1b5bfbe23a8e8f07973d170c9a parent 2e0c512aff978a7040464e81fc9c0dfdf4639c23 author Roland Dreier Thu, 20 Oct 2005 12:54:01 -0700 committer Roland Dreier Thu, 20 Oct 2005 12:54:01 -0700 [IB] user_mad: Use class_device.devt Use devt member of struct class_device so that we don't have to create our own "dev" file in sysfs. Signed-off-by: Roland Dreier commit 2e0c512aff978a7040464e81fc9c0dfdf4639c23 tree 0b278a811609e159bcaa134099af1692cdabd3ee parent 3910f44d79a8a4a26fcfefbf16c5b8e1a7743175 author Roland Dreier Thu, 20 Oct 2005 12:30:16 -0700 committer Roland Dreier Thu, 20 Oct 2005 12:30:16 -0700 [IB] user_mad: trivial coding style fixes Add spaces after "sizeof" operator to match the rest of file. Signed-off-by: Roland Dreier commit 3910f44d79a8a4a26fcfefbf16c5b8e1a7743175 tree 5dd548fbe2fdabecebde7e6cca0665730f3c767b parent 7150bf8a98f14f1ba67e090ef2778004c746f465 author Roland Dreier Thu, 20 Oct 2005 12:29:36 -0700 committer Roland Dreier Thu, 20 Oct 2005 12:29:36 -0700 [IB] cm: Add missing break in switch Add missing "break" in switch statement. Without the break, the CM ended up always falling through and setting every connection request to use RC transport, which meant that UC connections didn't work. Signed-off-by: Roland Dreier commit 9cec58dc138d6fcad9f447a19c8ff69f6540e667 tree 4fe1cca94fdba8b705c87615bee06d3346f687ce parent 17e5ad6c0ce5a970e2830d0de8bdd60a2f077d38 parent ac9b9c667c2e1194e22ebe0a441ae1c37aaa9b90 author Tony Luck Thu, 20 Oct 2005 10:41:44 -0700 committer Tony Luck Thu, 20 Oct 2005 10:41:44 -0700 Update from upstream with manual merge of Yasunori Goto's changes to swiotlb.c made in commit 281dd25cdc0d6903929b79183816d151ea626341 since this file has been moved from arch/ia64/lib/swiotlb.c to lib/swiotlb.c Signed-off-by: Tony Luck commit f0f15ab5542f73d07e35eeee713df289599427b2 tree 4e511a4d571f5cf9838c99bd9bb5b6e06a06e263 parent 5b74eda78db410b979b7d450221c971fdebf5d29 author Hong Liu Thu, 20 Oct 2005 11:06:36 -0500 committer James Ketrenos Thu, 20 Oct 2005 11:06:36 -0500 Fixed oops if an uninitialized key is used for encryption. Without this patch, if you try and use a key that has not been configured, for example: % iwconfig eth1 key deadbeef00 [2] without having configured key [1], then the active key will still be [1], but privacy will now be enabled. Transmission of a packet in this situation will result in a kernel oops. Signed-off-by: James Ketrenos commit 323cb3ce6eea9d4e72a81a9ffaac4c4e5b800810 tree 01c9fc4f3d6757705d0c286da2aa153704c2a3bc parent 59a10b172fccaea793352c00fd9065f0a5b4ef70 parent 93918e9afc76717176e9e114e79cdbb602a45ae8 author Jeff Garzik Thu, 20 Oct 2005 10:11:25 -0400 committer Jeff Garzik Thu, 20 Oct 2005 10:11:25 -0400 Merge branch 'master' commit 902f90735b693550eb51a3989895f3148b8229d8 tree faddc60f0b27ed6d2a26f20c2c09f365dc4a2d7d parent 07b8fede6da76ae6a0f547716c44b801a116bb4a parent 93918e9afc76717176e9e114e79cdbb602a45ae8 author Jeff Garzik Thu, 20 Oct 2005 10:06:09 -0400 committer Jeff Garzik Thu, 20 Oct 2005 10:06:09 -0400 Merge branch 'master' commit 07b8fede6da76ae6a0f547716c44b801a116bb4a tree 5f8e41799fc42343ee67b35a945b12b0a5864b09 parent b06c093ed2dc968b3c140dafa55fa6c7b72169e5 author Mallikarjuna R Chilakala Wed, 19 Oct 2005 10:40:08 -0400 committer Jeff Garzik Thu, 20 Oct 2005 10:05:36 -0400 [PATCH] e1000: Driver version, white space, comments, device id & other Driver version, white space, comments, device id & other Originally posted on 8/31 (and perhaps before)...I think it has not been committed because the patch from that posting was damaged. I'm reposting to make sure it gets in... :-) Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit b06c093ed2dc968b3c140dafa55fa6c7b72169e5 tree 1452c7664692586d65d0a8bfc17cd3b75936d0eb parent 74b0247fbd4b6ed1693a420d85cf50267d840ef4 author John W. Linville Wed, 19 Oct 2005 08:07:34 -0400 committer Jeff Garzik Thu, 20 Oct 2005 10:05:36 -0400 [PATCH] sundance: include MII address 0 in PHY probe Include MII address 0 at the end of the PHY scan. This covers the entire range of possible MII addresses. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 5d14a18d59b661356409e5a1f624236155a209ba tree 445d21d8b1ec0e58623887f7ceb55c2d3f81f4d5 parent 17a6392d30b4ed89b88a47a318b2b6de6ae7b946 author Paul Mackerras Thu, 20 Oct 2005 22:33:06 +1000 committer Paul Mackerras Thu, 20 Oct 2005 22:33:06 +1000 powerpc: Fix some bugs in the new merged time code I had the sense of the test for when to use the old 601-style RTC registers inverted. pmac_calibrate_decr and via_calibrate_decr weren't setting ppc_tb_freq, on which all the further calculations depended. Lastly, update_gtod was losing the top 32 bits of the new tb_to_xs value. Signed-off-by: Paul Mackerras commit 17a6392d30b4ed89b88a47a318b2b6de6ae7b946 tree 1c2a7dbbbce95db33bbfd2725fa19f2d2ecf6ecd parent d85b525e6e1d0886eebd1d4c4f954d9d2f226a63 author Paul Mackerras Thu, 20 Oct 2005 21:10:09 +1000 committer Paul Mackerras Thu, 20 Oct 2005 21:10:09 +1000 powerpc/ppc/ppc64: Various compile fixes. This declares powersave_nap in system.h and makes it an int everywhere, fixes typos for the maple platform, fixes a couple of places where I missed removing the last two arguments from a message_pass function, and makes ppc64 consistent with ppc32 in the type of the pci_bridge.cfg_data field. Signed-off-by: Paul Mackerras commit d85b525e6e1d0886eebd1d4c4f954d9d2f226a63 tree dd36c3369323d53aaa026530fe038d90b5626e16 parent 374e99d450a0c44dc30041fa83eccfd0890330c7 author Paul Mackerras Thu, 20 Oct 2005 21:06:44 +1000 committer Paul Mackerras Thu, 20 Oct 2005 21:06:44 +1000 ppc64: Use the merged mpic.c This means we now compile in arch/powerpc/sysdev for ARCH=ppc64. Signed-off-by: Paul Mackerras commit 374e99d450a0c44dc30041fa83eccfd0890330c7 tree ffa9384b104133941df368dd6542d76d1286ca1c parent 0458060c1c59c5378d8fb5daabe18cf4681c35cd author Paul Mackerras Thu, 20 Oct 2005 21:04:51 +1000 committer Paul Mackerras Thu, 20 Oct 2005 21:04:51 +1000 powerpc: Move some calculations from xxx_calibrate_decr to time_init Previously the individual xxx_calibrate_decr functions would each print the timebase and cpu frequency and calculate several values such as tb_to_us and tb_to_xs. This moves those printks and calculations into time_init just after the call to the platform's calibrate_decr function. Signed-off-by: Paul Mackerras commit 0458060c1c59c5378d8fb5daabe18cf4681c35cd tree ce33af5a0b1d4a4307502d4628529e2dffe7ea8e parent 399fe2bdd315c3a678b59b72659c4ed1ce0e1a24 author Paul Mackerras Thu, 20 Oct 2005 21:00:20 +1000 committer Paul Mackerras Thu, 20 Oct 2005 21:00:20 +1000 ppc64: Move init_boot_text call and conswitchp init into setup_arch This way they get done in one place for all platforms, and it is more consistent with what ppc32 does. Signed-off-by: Paul Mackerras commit 399fe2bdd315c3a678b59b72659c4ed1ce0e1a24 tree 7eadfcfc06b88b7386c94a92bd0a7a9dde08d9de parent ff065ddd96c233d27322de493fa023357939c888 author Paul Mackerras Thu, 20 Oct 2005 20:57:05 +1000 committer Paul Mackerras Thu, 20 Oct 2005 20:57:05 +1000 ppc: rename pci_assign_all_busses to pci_assign_all_buses ... for consistency with ppc64 and to make merging easier. Signed-off-by: Paul Mackerras commit ff065ddd96c233d27322de493fa023357939c888 tree b60d8a362dea386d1cec91422fd18f92da244ffd parent 0dd194d02d2584c34e06ddd26c7a7896a5fa1974 author Paul Mackerras Thu, 20 Oct 2005 20:53:39 +1000 committer Paul Mackerras Thu, 20 Oct 2005 20:53:39 +1000 powerpc: Merge various powermac-related header files. Except for smu.h, which moved from asm-ppc64 to asm-powerpc, all of these moved from asm-ppc to asm-powerpc. In each case the asm-ppc64 version (if there was one) was just a single line including the asm-ppc version. Signed-off-by: Paul Mackerras commit 0dd194d02d2584c34e06ddd26c7a7896a5fa1974 tree f5441cf5497d78d0c3ed5ce9d9ae47328426f4f8 parent a9c59264690aea9d0df2d2d76683bc39ec6b7288 author Paul Mackerras Thu, 20 Oct 2005 20:48:19 +1000 committer Paul Mackerras Thu, 20 Oct 2005 20:48:19 +1000 powerpc: Fix places where ppc_md.show_[per]cpuinfo was treated as int I missed a few places where ppc code was still assuming that the ppc_md.show_[per]cpuinfo functions returned int. Signed-off-by: Paul Mackerras commit 312f5726055534be1dc9dd369be13aabd2943fcb tree 29394a3f83b4952a73b36a4aa962dfeda839e9db parent 3d5efad953c6d5ba11d5bcb584ef8e906f953a73 parent 93918e9afc76717176e9e114e79cdbb602a45ae8 author Dave Airlie Thu, 20 Oct 2005 18:21:33 +1000 committer Dave Airlie Thu, 20 Oct 2005 18:21:33 +1000 merge Linus head tree into my drm tree and fix up conflicts commit a9c59264690aea9d0df2d2d76683bc39ec6b7288 tree 5cf1bc1181caacf93abe91585ab6e989542527e1 parent d8699e65c6bc0a81b5e679ca5b135bfe3c3fb483 author Paul Mackerras Thu, 20 Oct 2005 17:09:51 +1000 committer Paul Mackerras Thu, 20 Oct 2005 17:09:51 +1000 powerpc: Move smp_mpic_message_pass into mpic.c Having it here rather than in arch/ppc64/kernel/smp.c means that we can use it on 32-bit SMP systems easily with ARCH=powerpc. Signed-off-by: Paul Mackerras commit d8699e65c6bc0a81b5e679ca5b135bfe3c3fb483 tree ba80488ff6b5b7e15c999233fe798332fa979430 parent 971dc77b64db9466f5caab56019e62a93c0ddfc5 author Paul Mackerras Thu, 20 Oct 2005 17:02:01 +1000 committer Paul Mackerras Thu, 20 Oct 2005 17:02:01 +1000 ppc64: Change ppc_md.get_cpuinfo to ppc_md.show_cpuinfo ... for consistency with ppc32; also add in ppc32's show_percpuinfo function. Signed-off-by: Paul Mackerras commit 971dc77b64db9466f5caab56019e62a93c0ddfc5 tree 73d153e439d7b205de5eee1c90783af8fcb5f233 parent f7f6f4fea68d9981d65f99a589ad85f510924d99 author Becky Bruce Wed, 19 Oct 2005 18:45:03 -0500 committer Paul Mackerras Thu, 20 Oct 2005 16:22:50 +1000 [PATCH] powerpc: Merge types.h This patch merges types.h into include/asm-powerpc. The only real change is the removal of the include of linux/config.h from the 32-bit version - it doesn't appear to be necessary. This patch has been built on several different 32 and 64-bit platforms, and booted on mpc8540_ads. Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit f7f6f4fea68d9981d65f99a589ad85f510924d99 tree 99eea889bb2ec2967a2be883a63ef58507a25cf9 parent 3d904eef54fd145e2ae5fadb52d2c39bc49339ae author David Gibson Wed, 19 Oct 2005 14:53:32 +1000 committer Paul Mackerras Thu, 20 Oct 2005 16:22:24 +1000 [PATCH] powerpc: Merge ppc64 pmc.[ch] with ppc32 perfmon.[ch] This patches the ppc32 and ppc64 versions of the headers and .c files with helper functions for manipulating the performance counting hardware. As a side effect, it removes use of the term "perfmon" from ppc32, thus avoiding confusion with the unrelated performance counter interface from HP Labs also called "perfmon". Built, but not booted, for g5, pSeries, iSeries, and 32-bit Powermac with both ARCH=powerpc and ARCH=ppc{,64} as appropriate. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 74b0247fbd4b6ed1693a420d85cf50267d840ef4 tree 2491ea6e4213531fc05a2beb612e175dd3e10dda parent 2039973af59889fea0d14362eae56792cfe8d25a author Ralf Baechle Wed, 19 Oct 2005 15:40:02 +0100 committer Jeff Garzik Wed, 19 Oct 2005 22:14:20 -0400 [PATCH] sb1250-mac: Whitespace cleanup. Signed-off-by: Ralf Baechle drivers/net/sb1250-mac.c | 1030 +++++++++++++++++++++++------------------------ 1 files changed, 515 insertions(+), 515 deletions(-) Signed-off-by: Jeff Garzik commit 2039973af59889fea0d14362eae56792cfe8d25a tree 589acab53824f20a4cdd4cd5052ec9c6dc410abf parent ab7a435a01a9995359a72851ff6896dc110c243f author Ralf Baechle Wed, 19 Oct 2005 15:39:05 +0100 committer Jeff Garzik Wed, 19 Oct 2005 22:14:20 -0400 [PATCH] sb1250-mac: Get rid of all the funny SBMAC_WRITECSR and SBMAC_READCSR macros. Signed-off-by: Ralf Baechle drivers/net/sb1250-mac.c | 303 ++++++++++++++++++++--------------------------- 1 files changed, 132 insertions(+), 171 deletions(-) Signed-off-by: Jeff Garzik commit ab7a435a01a9995359a72851ff6896dc110c243f tree 083a81fae56e6f72ec98715caeb9902305195e8f parent c4cfe567b92d5663f98e2f82f28ffc3069fc982f author Ralf Baechle Tue, 18 Oct 2005 21:01:29 +0100 committer Jeff Garzik Wed, 19 Oct 2005 22:14:20 -0400 [PATCH] Remove unused header. mkiss.h has been integrated into mkiss.c earlier. Signed-off-by: Ralf Baechle DL5RB drivers/net/hamradio/mkiss.h | 62 ------------------------------------------- 1 files changed, 62 deletions(-) Signed-off-by: Jeff Garzik commit 3d904eef54fd145e2ae5fadb52d2c39bc49339ae tree 08c783f78f353aa54f5edee4542d0d6daabdfc6e parent b15125fa81a522882247242e569bc7035e28cc82 author Kumar Gala Tue, 18 Oct 2005 17:42:41 -0500 committer Paul Mackerras Thu, 20 Oct 2005 09:43:34 +1000 [PATCH] ppc32: replace use of _GLOBAL with .globl for ppc32 The _GLOBAL() macro is for text symbols only. Changed to using .globl for .data symbols. This is also needed in ppc32 land to allow FSL Book-E, 40x, and 44x to work. Signed-off-by: Kumar K. Gala Signed-off-by: Paul Mackerras commit b15125fa81a522882247242e569bc7035e28cc82 tree 69c383ca33ccb2c141bddb274962246c3e050e15 parent 344480b99730bfd205e306d3fd168cdcebe83425 author Kumar Gala Tue, 18 Oct 2005 17:42:09 -0500 committer Paul Mackerras Thu, 20 Oct 2005 09:43:32 +1000 [PATCH] powerpc: Some more fixes to allow building for a Book-E processor Some minor fixes that are needed if we are building for a book-e processor. Signed-off-by: Kumar K. Gala Signed-off-by: Paul Mackerras commit 344480b99730bfd205e306d3fd168cdcebe83425 tree 43e3d75779307d9ee36f001718efe6ef6fa220d3 parent a4bcc95a3ad0ccba6d7b39442dfb81cc57bb7121 author Paul Mackerras Thu, 20 Oct 2005 09:37:02 +1000 committer Paul Mackerras Thu, 20 Oct 2005 09:37:02 +1000 powerpc: Fix a corner case in __div64_32 The code was incorrectly doing a division by 0 in the case where the denominator was 0x100000000 and the divisor was 0xffffffff. Thanks to Fred Liu of Motorola for pointing this out. Signed-off-by: Paul Mackerras commit a4bcc95a3ad0ccba6d7b39442dfb81cc57bb7121 tree 89ac96fd0859dbf624beff2b90e3b980c1d5abea parent f2783c15007468c14972e2617db51e9affc7fad9 author Paul Mackerras Thu, 20 Oct 2005 09:24:18 +1000 committer Paul Mackerras Thu, 20 Oct 2005 09:24:18 +1000 powerpc: Fix a branch-too-far link error for 32-bit targets Signed-off-by: Paul Mackerras commit f2783c15007468c14972e2617db51e9affc7fad9 tree 6c8f57ee8e5cdaeb810a3ccf7f697576a7df7615 parent 03f88e9f7145b03fd0d855918d54a3bf5342ac5e author Paul Mackerras Thu, 20 Oct 2005 09:23:26 +1000 committer Paul Mackerras Thu, 20 Oct 2005 09:23:26 +1000 powerpc: Merge time.c and asm/time.h. We now use the merged time.c for both 32-bit and 64-bit compilation with ARCH=powerpc, and for ARCH=ppc64, but not for ARCH=ppc32. This removes setup_default_decr (folds its function into time_init) and moves wakeup_decrementer into time.c. This also makes an asm-powerpc/rtc.h. Signed-off-by: Paul Mackerras commit 03f88e9f7145b03fd0d855918d54a3bf5342ac5e tree 9784f24cda3a16c668dd9c4a6c444bd04d76e12b parent b123923d486d38e1a961e82040a26838401aebb5 author Paul Mackerras Thu, 20 Oct 2005 09:15:05 +1000 committer Paul Mackerras Thu, 20 Oct 2005 09:15:05 +1000 ppc64: Minor compilation fixes This defines CONFIG_PPC_STD_MMU for ppc64, changes an instance of sys32_ to compat_sys_ in the ppc64 syscall table, and removes a reference to a non-existent arch/powerpc/xmon/Makefile. Signed-off-by: Paul Mackerras commit b123923d486d38e1a961e82040a26838401aebb5 tree a0a16774c962faeb6750426947ada60839521006 parent 9b7cf8b49dc4464b222afc9fa32628bb9a2e70a3 author Paul Mackerras Thu, 20 Oct 2005 09:11:29 +1000 committer Paul Mackerras Thu, 20 Oct 2005 09:11:29 +1000 powerpc: Move ptrace32.c from arch/ppc64 to arch/powerpc Also corrected my email address in ptrace.c and updated the comments at the top of ptrace32.c. Signed-off-by: Paul Mackerras commit 5b74eda78db410b979b7d450221c971fdebf5d29 tree 4dd2ee158b10bf11e4f34ba00a28e09cdacbf272 parent c4cfe567b92d5663f98e2f82f28ffc3069fc982f author Hong Liu Wed, 19 Oct 2005 16:31:34 -0500 committer James Ketrenos Wed, 19 Oct 2005 16:49:03 -0500 Fixed problem with not being able to decrypt/encrypt broadcast packets. Signed-off-by: James Ketrenos commit 9b7cf8b49dc4464b222afc9fa32628bb9a2e70a3 tree 3a0c28335d1cb3bcebba8774dcb2efa43c7c3a45 parent 0b879a31447acd9ebe8b3c5231f72ccebeefad3a author Paul Mackerras Wed, 19 Oct 2005 23:13:04 +1000 committer Paul Mackerras Wed, 19 Oct 2005 23:13:04 +1000 powerpc: Eliminate a compile warning in signal_32.c The second argument of get_sigset_t needed to have the const keyword. Signed-off-by: Paul Mackerras commit 0b879a31447acd9ebe8b3c5231f72ccebeefad3a tree 8fd2f7cbc80e07be233814454266d6e5f01a19df parent 143a1dec7e04e0a9712ff93e779aabfb21dfd97c author Paul Mackerras Wed, 19 Oct 2005 23:12:01 +1000 committer Paul Mackerras Wed, 19 Oct 2005 23:12:01 +1000 ppc: declare smp_ops in asm/smp.h, since platform setup code needs it Signed-off-by: Paul Mackerras commit 143a1dec7e04e0a9712ff93e779aabfb21dfd97c tree 3a60a4e630d792fb3cdc6e962ce0ecfd94bb2672 parent 7ed476d17f04473f70d796cb6c172bdcfcc9b8e5 author Paul Mackerras Wed, 19 Oct 2005 23:11:21 +1000 committer Paul Mackerras Wed, 19 Oct 2005 23:11:21 +1000 powerpc: Merge machdep.h A few things change for consistency between ppc32 and ppc64: idle functions return void; *_get_boot_time functions return unsigned long (i.e. time_t) rather than filling in a struct rtc_time (since that's useful to the callers and easier for pmac to generate); *_get_rtc_time and *_set_rtc_time functions take a struct rtc_time; irq_canonicalize is gone; nvram_sync returns void. Signed-off-by: Paul Mackerras commit 7ed476d17f04473f70d796cb6c172bdcfcc9b8e5 tree bafacf9813cdbb27a9e4a125340c98415cdcb903 parent 46aab8c584ea69cdbe1060f5eae5bf092763f710 author Paul Mackerras Wed, 19 Oct 2005 21:44:51 +1000 committer Paul Mackerras Wed, 19 Oct 2005 21:44:51 +1000 ppc: Minor smp changes for consistency with ppc64 This makes platform code use the smp_ops variable directly instead of ppc_md.smp_ops, removes the two unused `data' and `wait' arguments from the *_message_pass() functions, and removes the call to the never-implemented smp_ops->space_timers() function. Signed-off-by: Paul Mackerras commit d5aeaef37dc9cb009ab5cb8abf325338d21d2b1a tree 462b8caf5a1f787398a93485e4170605f81ea8d9 parent 7d0ffdb279105d9a87b447758ce4a634496abfd1 author Anton Altaparmakov Wed, 19 Oct 2005 12:23:10 +0100 committer Anton Altaparmakov Wed, 19 Oct 2005 12:23:10 +0100 NTFS: Fix serious data corruption issue when writing. Many thanks to Alberto Patino for testing and reporting the data corruption. And many apologies for corrupting his partition. Signed-off-by: Anton Altaparmakov commit 7d0ffdb279105d9a87b447758ce4a634496abfd1 tree 66bd4d6307a81ae65a01acace5fd8ae6f5a30032 parent e087a412b45543a87497f0a213dbd5d55099f267 author Anton Altaparmakov Wed, 19 Oct 2005 12:21:19 +0100 committer Anton Altaparmakov Wed, 19 Oct 2005 12:21:19 +0100 NTFS: $EA attributes can be both resident non-resident. Minor tidying. Signed-off-by: Anton Altaparmakov commit e087a412b45543a87497f0a213dbd5d55099f267 tree 8892cc84dbee2b4387c9f2604a7892b6ef3aab25 parent 7946ada30bc45546cefc85809ba0fd07879eff52 parent bb7e257ef8d8ba43cab356aa1cc1b20d0106d45f author Anton Altaparmakov Wed, 19 Oct 2005 12:13:58 +0100 committer Anton Altaparmakov Wed, 19 Oct 2005 12:13:58 +0100 Merge branch 'master' of /usr/src/ntfs-2.6/ commit a0857d03b21fa54653c9d2fe7a315381176015b4 tree ac7fcc4415795b9d4530de300ef555cd624727d8 parent 00fd6e14255fe7a249315746386d640bc4e9e758 author J. Bruce Fields Thu, 13 Oct 2005 16:55:23 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:47 -0700 RPCSEC_GSS: krb5 cleanup Remove some senseless wrappers. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 00fd6e14255fe7a249315746386d640bc4e9e758 tree 36d8fad57404c5ea96cdb6e5579f4241e2cd8188 parent 14ae162c24d985593d5b19437d7f3d8fd0062b59 author J. Bruce Fields Thu, 13 Oct 2005 16:55:18 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:47 -0700 RPCSEC_GSS remove all qop parameters Not only are the qop parameters that are passed around throughout the gssapi unused by any currently implemented mechanism, but there appears to be some doubt as to whether they will ever be used. Let's just kill them off for now. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 14ae162c24d985593d5b19437d7f3d8fd0062b59 tree 750fbc08e6a6e0cb00bfad7c871144a757ac43de parent bfa91516b57483fc9c81d8d90325fd2c3c16ac48 author J. Bruce Fields Thu, 13 Oct 2005 16:55:13 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:46 -0700 RPCSEC_GSS: Add support for privacy to krb5 rpcsec_gss mechanism. Add support for privacy to the krb5 rpcsec_gss mechanism. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit bfa91516b57483fc9c81d8d90325fd2c3c16ac48 tree ed5c63ec1aa88152b0991370f4a1dbcfff0cd15a parent f7b3af64c653c73feb060a9f94f2df9ab4bba4c3 author J. Bruce Fields Thu, 13 Oct 2005 16:55:08 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:45 -0700 RPCSEC_GSS: krb5 pre-privacy cleanup The code this was originally derived from processed wrap and mic tokens using the same functions. This required some contortions, and more would be required with the addition of xdr_buf's, so it's better to separate out the two code paths. In preparation for adding privacy support, remove the last vestiges of the old wrap token code. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit f7b3af64c653c73feb060a9f94f2df9ab4bba4c3 tree fee45429f16e5b548356f50dc64eb4e71bca1a9d parent 2d2da60c63b67174add32f06e8d54c3a0c5cd9cf author J. Bruce Fields Thu, 13 Oct 2005 16:55:03 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:45 -0700 RPCSEC_GSS: Simplify rpcsec_gss crypto code Factor out some code that will be shared by privacy crypto routines Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 2d2da60c63b67174add32f06e8d54c3a0c5cd9cf tree 4b9df421a02217e1cd23b601b6c05c592d0bdf02 parent 24b2605becc10ca63c4c30808fa59a8abbf68727 author J. Bruce Fields Thu, 13 Oct 2005 16:54:58 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:44 -0700 RPCSEC_GSS: client-side privacy support Add the code to the client side to handle privacy. This is dead code until we actually add privacy support to krb5. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 24b2605becc10ca63c4c30808fa59a8abbf68727 tree 64634bf6a5427f9a7253c9cb5b4d55550ef8b18d parent f3680312a737355ddf35c1b68af25e384d7ef0a8 author J. Bruce Fields Thu, 13 Oct 2005 16:54:53 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:44 -0700 RPCSEC_GSS: cleanup au_rslack calculation Various xdr encode routines use au_rslack to guess where the reply argument will end up, so we can set up the xdr_buf to recieve data into the right place for zero copy. Currently we calculate the au_rslack estimate when we check the verifier. Normally this only depends on the verifier size. In the integrity case we add a few bytes to allow for a length and sequence number. It's a bit simpler to calculate only the verifier size when we check the verifier, and delay the full calculation till we unwrap. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit f3680312a737355ddf35c1b68af25e384d7ef0a8 tree 6b447f0a58bf1c1acfa8b1731ef06580d275b983 parent ead5e1c26fdcd969cf40c49cb0589d56879d240d author J. Bruce Fields Thu, 13 Oct 2005 16:54:48 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:43 -0700 SUNRPC: Retry wrap in case of memory allocation failure. For privacy we need to allocate extra pages to hold encrypted page data when wrapping requests. This allocation may fail, and we handle that case by waiting and retrying. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit ead5e1c26fdcd969cf40c49cb0589d56879d240d tree af0e04aed32eac60b35c987b933dbc132f0e780b parent 293f1eb551a77fe5c8956a559a3c0baea95cd9bc author J. Bruce Fields Thu, 13 Oct 2005 16:54:43 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:43 -0700 SUNRPC: Provide a callback to allow free pages allocated during xdr encoding For privacy, we need to allocate pages to store the encrypted data (passed in pages can't be used without the risk of corrupting data in the page cache). So we need a way to free that memory after the request has been transmitted. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 293f1eb551a77fe5c8956a559a3c0baea95cd9bc tree 03c770935eb42f6deccb275be0326d2f4b17c80c parent 1d95db8e1688ed54e143a597c5570631a42fa594 author J. Bruce Fields Thu, 13 Oct 2005 16:54:37 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:42 -0700 SUNRPC: Add support for privacy to generic gss-api code. Add support for privacy to generic gss-api code. This is dead code until we have both a mechanism that supports privacy and code in the client or server that uses it. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 1d95db8e1688ed54e143a597c5570631a42fa594 tree b0b0a667cf9ecccabc26cd7afceed05815066aa6 parent 8c233cf9c2ad6f49df753bdce84fddbf00bf6a75 author J. Bruce Fields Thu, 13 Oct 2005 16:54:32 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:41 -0700 NFSv4: Fix acl buffer size resp_len is passed in as buffer size to decode routine; make sure it's set right in case where userspace provides less than a page's worth of buffer. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 8c233cf9c2ad6f49df753bdce84fddbf00bf6a75 tree c2d0e2d58e0fe1c2ab332802caa77046fcaac348 parent 747c5534c9a6da4aa87e7cdc2209ea98ea27f381 author J. Bruce Fields Thu, 13 Oct 2005 16:54:27 -0400 committer Trond Myklebust Tue, 18 Oct 2005 23:19:41 -0700 NFSv4: handle no acl attr Stop handing garbage to userspace in the case where a weird server clears the acl bit in the getattr return (despite the fact that they've already claimed acl support.) Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 747c5534c9a6da4aa87e7cdc2209ea98ea27f381 tree 26b2343b7c941a4fa148f85df844557153971cd9 parent 7f709a48fa798cfa0f2f777c8752e12995054f78 author Steve Dickson Tue, 18 Oct 2005 23:19:40 -0700 committer Trond Myklebust Tue, 18 Oct 2005 23:19:40 -0700 RPC: stops the release_pipe() funtion from being called twice This patch stops the release_pipe() funtion from being called twice by invalidating the ops pointer in the rpc_inode when rpc_pipe_release() is called. Signed-off-by: Steve Dickson Signed-off-by: Trond Myklebust commit 7f709a48fa798cfa0f2f777c8752e12995054f78 tree fde5f4b4918205ba4c547ecaac95acbc8a37caa0 parent cb1f7be73b6f708d4f4ce225a3bbc02908b729e4 author Trond Myklebust Tue, 18 Oct 2005 23:19:39 -0700 committer Trond Myklebust Tue, 18 Oct 2005 23:19:39 -0700 NFSv4: Fix an oopsable condition in nfs_free_seqid Storing a pointer to the struct rpc_task in the nfs_seqid is broken since the nfs_seqid may be freed well after the task has been destroyed. Signed-off-by: Trond Myklebust commit c4cfe567b92d5663f98e2f82f28ffc3069fc982f tree aea6ab8810c74be573d4e5f032b6aac46e16dbd2 parent 2aa1d82db7a967b748c4b41854c4222cd0484114 author Andrew Morton Sat, 15 Oct 2005 00:32:29 -0700 committer Jeff Garzik Tue, 18 Oct 2005 23:57:26 -0400 [PATCH] e1000 build fix Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 2aa1d82db7a967b748c4b41854c4222cd0484114 tree 1f33849dad8fff3a9d287350126794f1cbfa0ef0 parent 67ec2f805a5260c041b1c3c7a86ecfbc9670db06 author John W. Linville Tue, 18 Oct 2005 21:31:02 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:29:14 -0400 [PATCH] sundance: expand reset mask Expand the mask used when reseting the chip to include the GlobalReset bit. This fix comes from ICPlus and seems to be required for some cards. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 67ec2f805a5260c041b1c3c7a86ecfbc9670db06 tree 5cfe4895d39172cdc8afa192932d436322ca3be7 parent 36841c9d02870983c2b08c85d56572c1ff011997 author John W. Linville Tue, 18 Oct 2005 21:31:01 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:29:14 -0400 [PATCH] sundance: remove if (1) { ... } block in sundance_probe1 Remove an if (1) { ... } block in sundance_probe1. Its purpose seems to be only to allow for delaring some extra local variables. But, it also adds ugly indentation without adding any meaning to the code. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 36841c9d02870983c2b08c85d56572c1ff011997 tree 367bdf81afd8fdc64147f95cb23493432449c05b parent 9f38c636ababfb41e58c9ec1e9719492ef7f0479 author John W. Linville Tue, 18 Oct 2005 21:30:58 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:27:14 -0400 [PATCH] orinoco: remove redundance skb length check before padding Checking the skb->len value before calling skb_padto is redundant. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 9f38c636ababfb41e58c9ec1e9719492ef7f0479 tree 52a0d64efd7a0f814dd327f2bd983a5c8260b1be parent df49898a47061e82219c991dfbe9ac6ddf7a866b author John W. Linville Tue, 18 Oct 2005 21:30:59 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:27:13 -0400 [PATCH] b44: alternate allocation option for DMA descriptors This is a (final?) hack to support the odd DMA allocation requirements of the b44 hardware. The b44 hardware has a 30-bit DMA mask. On x86, anything less than a 32-bit DMA mask forces allocations into the 16MB GFP_DMA range. The memory there is somewhat limited, often resulting in an inability to initialize the b44 driver. This hack uses streaming DMA allocation APIs in order to provide an alternative in case the GFP_DMA allocation fails. It is somewhat ugly, but not much worse than the similar existing hacks to support SKB allocations in the same driver. FWIW, I have received positive feedback on this from several Fedora users. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit df49898a47061e82219c991dfbe9ac6ddf7a866b tree 4f0c2445eb5ddb49c622a9d368a9773bd4fb0f7a parent 7645baec58b9661366e2038c4ea02bd06aaf1fbc author John W. Linville Tue, 18 Oct 2005 21:30:58 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:27:13 -0400 [PATCH] bonding: cleanup comment for mode 1 IGMP xmit hack Expand comment explaining MAC address selection for replicated IGMP frames transmitted in bonding mode 1 (active-backup). Also, a small whitespace cleanup. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 7645baec58b9661366e2038c4ea02bd06aaf1fbc tree 03f977ac534403468a670140c0c05085fa95844f parent 4cac018ae30dac8f7fc089a8ff4963904c99725e author John W. Linville Tue, 18 Oct 2005 21:31:00 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:26:01 -0400 [PATCH] 8139too: fix resume for Realtek 8100B/8139D Add "HasHltClk" flag for RTL-8100B/8139D hardware in order to fix problems resuming from suspend-to-RAM. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 4cac018ae30dac8f7fc089a8ff4963904c99725e tree f2a393f0ec57563379366fa2f150671232318675 parent b7b1d2021452d0a3562807b6a90dfa5124147a79 author John W. Linville Tue, 18 Oct 2005 21:30:59 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:26:01 -0400 [PATCH] bonding: fix typos in bonding documentation Fix some simple typos in the bonding.txt file. The typos are in areas relating to loading the bonding driver multiple times. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit b7b1d2021452d0a3562807b6a90dfa5124147a79 tree 9c18a41353b2d40dfa844e955619e7d931ce853d parent 6ba98d311d0a4ff7dc36d8f435ce60174f4c30ec author John W. Linville Tue, 18 Oct 2005 21:31:01 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:26:01 -0400 [PATCH] epic100: fix counting of work_done in epic_poll work_done is overwritten each time through the rx_action loop in epic_poll. This screws-up the NAPI accounting if the loop is executed more than once. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 6ba98d311d0a4ff7dc36d8f435ce60174f4c30ec tree 745daba38635eca9466319f8c8940d1fb3e8ed3c parent 923833405d8d81b5be036093773d88d87fc7e1bd author John W. Linville Tue, 18 Oct 2005 21:31:02 -0400 committer Jeff Garzik Tue, 18 Oct 2005 22:26:01 -0400 [PATCH] via-rhine: change mdelay to msleep and remove from ISR path Get rid of the mdelay call in rhine_disable_linkmon. The function is called from the via-rhine versions of mdio_read and mdio_write. Those functions are indirectly called from rhine_check_media and rhine_tx_timeout, both of which can be called in interrupt context. So, create tx_timeout_task and check_media_task as instances of struct work_struct inside of rhine_private. Then, change rhine_tx_timeout to invoke schedule_work for tx_timeout_task (i.e. rhine_tx_timeout_task), moving the work to process context. Also, change rhine_error (invoked from rhine_interrupt) to invoke schedule_work for check_media_task (i.e. rhine_check_media_task), which simply calls rhine_check media in process context. Finally, add a call to flush_scheduled_work in rhine_close to avoid any resource conflicts with pending work items. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 923833405d8d81b5be036093773d88d87fc7e1bd tree 53cef37e2cdfdad21b3b375f57ba6d63ce341252 parent 166d823d397b9f5404648cedfdefe13e10683694 author Andrew Morton Sun, 16 Oct 2005 00:11:29 -0700 committer Jeff Garzik Tue, 18 Oct 2005 18:33:42 -0400 [PATCH] s2io build fix Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 166d823d397b9f5404648cedfdefe13e10683694 tree de09a5a87b3c42925c70228ef2702eab5b891c3f parent dcbf8477567c312c9f0512545d07e05175d740a4 author Andrew Morton Sun, 16 Oct 2005 13:32:14 -0700 committer Jeff Garzik Tue, 18 Oct 2005 18:32:34 -0400 [PATCH] e1000_intr build fix drivers/net/e1000/e1000_main.c: In function `e1000_intr': drivers/net/e1000/e1000_main.c:3156: error: `i' undeclared (first use in this function) drivers/net/e1000/e1000_main.c:3156: error: (Each undeclared identifier is reported only once drivers/net/e1000/e1000_main.c:3156: error: for each function it appears in.) This function is foul. Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 77501f3cb648e18733509a951ed31eddd7ef2c0b tree 82624caa354394df2422562bf6dda56a2c088704 parent 422fa08e538b649a9b80258950d2f8a202f45f19 parent 59a10b172fccaea793352c00fd9065f0a5b4ef70 author Jeff Garzik Tue, 18 Oct 2005 18:30:58 -0400 committer Jeff Garzik Tue, 18 Oct 2005 18:30:58 -0400 Merge branch 'upstream' commit dcbf8477567c312c9f0512545d07e05175d740a4 tree f3eab7df501b02de7bf09bc6b5c0b62cbabe27af parent 9cc975e00ddb291035bc4d2d49cdc8768ddf1cc3 author Ralf Baechle Mon, 10 Oct 2005 14:51:27 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:48 -0400 [PATCH] mipsnet: Virtual ethernet driver for MIPSsim. Signed-off-by: Ralf Baechle drivers/net/Kconfig | 8 + drivers/net/Makefile | 1 drivers/net/mipsnet.c | 371 ++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/net/mipsnet.h | 127 +++++++++++++++++ 4 files changed, 507 insertions(+) Signed-off-by: Jeff Garzik commit 9cc975e00ddb291035bc4d2d49cdc8768ddf1cc3 tree 133c9a5830efd71f28c0e2ae544533e17e350624 parent 36156cdff17a5ab822898d33cd890a6f8287c43c author Ralf Baechle Mon, 10 Oct 2005 14:51:21 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:48 -0400 [PATCH] ne: Support for RBHMA4500 eval board. Support for Toshiba's RBHMA4500 eval board for the TX4938. Signed-off-by: Ralf Baechle drivers/net/ne.c | 15 +++++++++++++++ 1 files changed, 15 insertions(+) Signed-off-by: Jeff Garzik commit 36156cdff17a5ab822898d33cd890a6f8287c43c tree 256f8f15cb24067fd69243759a078f30965d085e parent 4569504a36cb6223e2b7ad6530326a1563a8f456 author Ralf Baechle Mon, 10 Oct 2005 14:51:16 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:48 -0400 [PATCH] declance: Use physical addresses at the interface level. Use physical addresses at the interface level, letting drivers remap them as appropriate. Signed-off-by: Ralf Baechle drivers/net/declance.c | 26 ++++++++++---------------- 1 files changed, 10 insertions(+), 16 deletions(-) Signed-off-by: Jeff Garzik commit 4569504a36cb6223e2b7ad6530326a1563a8f456 tree c4693f214012ce7a810a4f82c36d04557af3c2af parent 6684b4e28247f31543edf86ba785aa87e8fa3b39 author Ralf Baechle Mon, 10 Oct 2005 14:51:11 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:48 -0400 [PATCH] declance: Deal with the bloody KSEG vs CKSEG horror... Signed-off-by: Ralf Baechle drivers/net/declance.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Jeff Garzik commit 6684b4e28247f31543edf86ba785aa87e8fa3b39 tree 58c93078ea5a4fe1492172f14d39214ff0066e4e parent da848ec37d9cf9edbe269f8be9b3de52f90d70da author Ralf Baechle Mon, 10 Oct 2005 14:51:06 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:48 -0400 [PATCH] declance: Fix mapping of device. These should really be addresses obtained with ioremap() or some bus-specific backend, but for now... Signed-off-by: Ralf Baechle drivers/net/declance.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Signed-off-by: Jeff Garzik commit da848ec37d9cf9edbe269f8be9b3de52f90d70da tree 09db5571eca2971dee69423aacf0376e9e4742b8 parent 302a5c4b3d4d6aff7772a4b3431bb772586e6011 author Ralf Baechle Mon, 10 Oct 2005 14:51:01 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:47 -0400 [PATCH] declance: Convert to irqreturn_t. Signed-off-by: Ralf Baechle drivers/net/declance.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Signed-off-by: Jeff Garzik commit 302a5c4b3d4d6aff7772a4b3431bb772586e6011 tree 0f08e4c1419dae13e86039b53db2271d57bde4e3 parent 2891439e7378e35534d7eb32f77671dc4d61db4c author Ralf Baechle Mon, 10 Oct 2005 14:50:56 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:47 -0400 [PATCH] sgiseeq: Configure PIO and DMA timing requests. Signed-off-by: Ralf Baechle drivers/net/sgiseeq.c | 28 ++++++++++++++-------------- include/asm-mips/sgi/hpc3.h | 40 ++++++++++++++++++++-------------------- 2 files changed, 34 insertions(+), 34 deletions(-) Signed-off-by: Jeff Garzik commit 2891439e7378e35534d7eb32f77671dc4d61db4c tree d2cba6b9391f5488f2b6d8d6418b43e9ae3c2969 parent bc053d45cb0ca5daeaa69ae9ac43cdea42693f60 author Ralf Baechle Mon, 10 Oct 2005 14:50:51 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:47 -0400 [PATCH] sgiseeq: Fix resource handling. Signed-off-by: Ralf Baechle drivers/net/sgiseeq.c | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) Signed-off-by: Jeff Garzik commit bc053d45cb0ca5daeaa69ae9ac43cdea42693f60 tree 1512d6f1f84744212c6138e02fde5c2f21227f8e parent 7f553e3db46b36d2662e1118f8b8fdbf086b76df author Ralf Baechle Mon, 10 Oct 2005 14:50:46 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:47 -0400 [PATCH] de2104x: Resurrect Cobalt support for 2.6. Signed-off-by: Ralf Baechle drivers/net/tulip/de2104x.c | 5 +++++ 1 files changed, 5 insertions(+) Signed-off-by: Jeff Garzik commit 7f553e3db46b36d2662e1118f8b8fdbf086b76df tree 72a243aa23c3ff32797b5b2e2269df8575a8d721 parent 04115def6ad7ef51440365b65a7324fcb82d5d1d author Ralf Baechle Mon, 10 Oct 2005 14:50:41 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:47 -0400 [PATCH] au1000_eth: Misc Au1000 net driver fixes. o Add support for DP83847 MII. o remove unused variable. o Add some initialisations so even an unknown MII won't result in a crash. o Correct error message to "no known MIIs found". Signed-off-by: Ralf Baechle drivers/net/au1000_eth.c | 13 +++++-------- 1 files changed, 5 insertions(+), 8 deletions(-) Signed-off-by: Jeff Garzik commit 04115def6ad7ef51440365b65a7324fcb82d5d1d tree 14e7113cad4264ec4cf6f26730437c293f182802 parent f567ef935094003ee70ea3fd10f5695d349c0f48 author Ralf Baechle Mon, 10 Oct 2005 14:50:36 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:47 -0400 [PATCH] sb1250-mac: Ensure 16-byte alignment of the descriptor ring. Signed-off-by: Ralf Baechle drivers/net/sb1250-mac.c | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletion(-) Signed-off-by: Jeff Garzik commit f567ef935094003ee70ea3fd10f5695d349c0f48 tree 6259ac64133506c683c9449e6fcb93a490d2f445 parent 757d18faee58aa4c43bcaf9a44decf17fa68adeb author Ralf Baechle Mon, 10 Oct 2005 14:50:24 +0100 committer Jeff Garzik Tue, 18 Oct 2005 18:03:47 -0400 [PATCH] sb1250-mac: Check the actual setting for reporting hw checksumming. Signed-off-by: Ralf Baechle drivers/net/sb1250-mac.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Jeff Garzik commit 7150bf8a98f14f1ba67e090ef2778004c746f465 tree 6fd181880b24748b91029fddc629d1dd6f47d1c3 parent ba8e9310244180bbc820e865d2e4378809b4a443 author Jack Morgenstein Tue, 18 Oct 2005 14:46:38 -0700 committer Roland Dreier Tue, 18 Oct 2005 14:46:38 -0700 [IB] mthca: Don't enter QP into MCG more than once. Avoid entering a QP as member of a multicast group multiple times. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 757d18faee58aa4c43bcaf9a44decf17fa68adeb tree 307ccb9b815b2b53ad79bb0b0bc5d17a6f39aed0 parent 28af493cd7b89cba7e3ee534079cf4f41bb4b4f9 author Jiri Benc Mon, 10 Oct 2005 19:16:53 +0200 committer Jeff Garzik Tue, 18 Oct 2005 17:25:36 -0400 [PATCH] ieee80211: division by zero fix This fixes division by zero bug in ieee80211_wx_get_scan(). Signed-off-by: Jiri Benc Signed-off-by: Jeff Garzik commit cb1f7be73b6f708d4f4ce225a3bbc02908b729e4 tree 19045178e6c4271c86ff81e51d8e21ec12520f03 parent 6fe43f9e3701f7a9f2be151a5e6cfe94b87e92f9 parent bb7e257ef8d8ba43cab356aa1cc1b20d0106d45f author Trond Myklebust Tue, 18 Oct 2005 14:25:28 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:25:28 -0700 Merge /home/trondmy/scm/kernel/git/torvalds/linux-2.6 commit ba9b543d5bec0a7605952e2ba501fb8b0f3b6407 tree edf67143a032c7b7867ee999f1deb01437a6bc99 parent c8f32be3874a310fa963d47b534a98be1a05a4cc parent 6fe43f9e3701f7a9f2be151a5e6cfe94b87e92f9 author Trond Myklebust Tue, 18 Oct 2005 14:24:35 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:24:35 -0700 Merge branch 'master' of ssh://rsync.linux-nfs.org/home/trondmy/www_sites/rsync.linux-nfs.org/pub/linux/nfs-2.6 commit 6fe43f9e3701f7a9f2be151a5e6cfe94b87e92f9 tree edf67143a032c7b7867ee999f1deb01437a6bc99 parent 4c780a4688b421baa896b59778c05d7e068e479f author Trond Myklebust Tue, 18 Oct 2005 14:20:22 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:22 -0700 NFS: Fix rename of directory onto empty directory If someone tries to rename a directory onto an empty directory, we currently fail and return EBUSY. This patch ensures that we try the rename if both source and target are directories, and that we fail with a correct error of EISDIR if the source is not a directory. Signed-off-by: Trond Myklebust commit 4c780a4688b421baa896b59778c05d7e068e479f tree 5d7727971fc92e037857d6c560a6af8f4196df8b parent 550f57470c6506f5ef3c708335dea6bd48bf3dc4 author Trond Myklebust Tue, 18 Oct 2005 14:20:21 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:21 -0700 Fix Connectathon locking test failure We currently fail Connectathon test 6.10 in the case of 32-bit locks due to incorrect error checking. Also add support for l->l_len < 0 to 64-bit locks. Signed-off-by: Trond Myklebust commit 550f57470c6506f5ef3c708335dea6bd48bf3dc4 tree be34cc170cce1e103baec1976f7903528eb4ff4d parent b8e5c4c2978fa666287525a9de2fa648a7581262 author Trond Myklebust Tue, 18 Oct 2005 14:20:21 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:21 -0700 NFSv4: Ensure that we recover from the OPEN + OPEN_CONFIRM BAD_STATEID race If the server is in the unconfirmed OPEN state for a given open owner and receives a second OPEN for the same open owner, it will cancel the state of the first request and set up an OPEN_CONFIRM for the second. This can cause a race that is discussed in rfc3530 on page 181. The following patch allows the client to recover by retrying the original open request. Signed-off-by: Trond Myklebust commit b8e5c4c2978fa666287525a9de2fa648a7581262 tree b90d9aca86dcb187d985be1eb39e5f691dfcf187 parent 642ac54923e0291ae2c8e42edde18d8c9c0a3c84 author Trond Myklebust Tue, 18 Oct 2005 14:20:20 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:20 -0700 NFSv4: If a delegated open fails, ensure that we return the delegation Unless of course the open fails due to permission issues. Signed-off-by: Trond Myklebust commit 642ac54923e0291ae2c8e42edde18d8c9c0a3c84 tree 3dbcbbff050551854b29e020f8453306053ae9bb parent cae7a073a4c5484cc5713eab606bf54b46724ab3 author Trond Myklebust Tue, 18 Oct 2005 14:20:19 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:19 -0700 NFSv4: Return delegations in case we're changing ACLs Signed-off-by: Trond Myklebust commit cae7a073a4c5484cc5713eab606bf54b46724ab3 tree e5cdcf0376da5b04bca9bbbf8f226abe13f33275 parent cdce5d6b94b6182f6d8a5b7b52923933e98cbc92 author Trond Myklebust Tue, 18 Oct 2005 14:20:19 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:19 -0700 NFSv4: Return delegation upon rename or removal of file. Signed-off-by: Trond Myklebust commit cdce5d6b94b6182f6d8a5b7b52923933e98cbc92 tree e98ec006186a5d18fac2189dc1d6ece1fda9541f parent 6f926b5ba75c568296ec227e7d782db4ddbdca5c author Trond Myklebust Tue, 18 Oct 2005 14:20:18 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:18 -0700 VFS: Make link_path_walk set LOOKUP_CONTINUE before calling permission(). This will allow nfs_permission() to perform additional optimizations when walking the path, by folding the ACCESS(MAY_EXEC) call on the directory into the lookup revalidation. Signed-off-by: Trond Myklebust commit 6f926b5ba75c568296ec227e7d782db4ddbdca5c tree 6c9aad3139ae4e54210ab5ff37446c357c54b521 parent 02a913a73b52071e93f4b76db3e86138d19efffd author Trond Myklebust Tue, 18 Oct 2005 14:20:18 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:18 -0700 [NFS]: Check that the server returns a valid regular file to our OPEN request Since it appears that some servers don't... Signed-off-by: Trond Myklebust commit 02a913a73b52071e93f4b76db3e86138d19efffd tree 1dc1abbd2d8f57a6fd593dd252d6d7ecc7c811c5 parent 834f2a4a1554dc5b2598038b3fe8703defcbe467 author Trond Myklebust Tue, 18 Oct 2005 14:20:17 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:17 -0700 NFSv4: Eliminate nfsv4 open race... Make NFSv4 return the fully initialized file pointer with the stateid that it created in the lookup w/intent. Signed-off-by: Trond Myklebust commit 834f2a4a1554dc5b2598038b3fe8703defcbe467 tree d27a000a2dd03029e6e2472c6e13801688185b51 parent 039c4d7a82d8268ec71f59679460b41d0dd9b225 author Trond Myklebust Tue, 18 Oct 2005 14:20:16 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:16 -0700 VFS: Allow the filesystem to return a full file pointer on open intent This is needed by NFSv4 for atomicity reasons: our open command is in fact a lookup+open, so we need to be able to propagate open context information from lookup() into the resulting struct file's private_data field. Signed-off-by: Trond Myklebust commit 039c4d7a82d8268ec71f59679460b41d0dd9b225 tree a2f76afdda97f92df432b5d04e335ee90c42ced6 parent 06735b3454824bd561decbde46111f144e905923 author Trond Myklebust Tue, 18 Oct 2005 14:20:16 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:16 -0700 NFS: Fix up a race in the NFS implementation of GETLK ...and fix a memory corruption bug due to improper use of memcpy() on a struct file_lock. Signed-off-by: Trond Myklebust commit 06735b3454824bd561decbde46111f144e905923 tree 2c9e9f18ba8d3700a181b44d2b1f0ce6a62612f8 parent faf5f49c2d9c0af2847837c232a432cc146e203b author Trond Myklebust Tue, 18 Oct 2005 14:20:15 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:15 -0700 NFSv4: Fix up handling of open_to_lock sequence ids Signed-off-by: Trond Myklebust commit faf5f49c2d9c0af2847837c232a432cc146e203b tree f0c097ae68ca3ec3cd5ee0a904916493b00b9c1b parent 0a8838f972883112f0a7b259141b24db17583c2d author Trond Myklebust Tue, 18 Oct 2005 14:20:15 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:15 -0700 NFSv4: Make NFS clean up byte range locks asynchronously Currently we fail to do so if the process was signalled. Signed-off-by: Trond Myklebust commit 0a8838f972883112f0a7b259141b24db17583c2d tree 80b047e5223f8cbaaa68b03ba1b4914b437e3f59 parent 83c9d41e456033000ccfadf535f3098d8739488d author Trond Myklebust Tue, 18 Oct 2005 14:20:14 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:14 -0700 NFSv4: Add missing handling of OPEN_CONFIRM requests on CLAIM_DELEGATE_CUR. Signed-off-by: Trond Myklebust commit 83c9d41e456033000ccfadf535f3098d8739488d tree 09f5573ba348225bb7eed14c20b3305f49449e06 parent e6dfa553cffcb9740f932311dff42f81d6ac63bb author Trond Myklebust Tue, 18 Oct 2005 14:20:13 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:13 -0700 NFSv4: Remove nfs4_client->cl_sem from close() path We no longer need to worry about collisions between close() and the state recovery code, since the new close will automatically recheck the file state once it is done waiting on its sequence slot. Ditto for the nfs4_proc_locku() procedure. Signed-off-by: Trond Myklebust commit e6dfa553cffcb9740f932311dff42f81d6ac63bb tree d5519b749b6a7fb6e25b0459385011cd69a6caaf parent 9512135df14f8293b9bc5e8fb22d4279dee5ff66 author Trond Myklebust Tue, 18 Oct 2005 14:20:13 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:13 -0700 NFSv4: Remove obsolete state_owner and lock_owner semaphores OPEN, CLOSE, etc no longer need these semaphores to ensure ordering of requests. Signed-off-by: Trond Myklebust commit 9512135df14f8293b9bc5e8fb22d4279dee5ff66 tree 83fb778ed53ba10c46734968f538aa0a57d376a1 parent cee54fc944422c44e476736c045a9e8053cb0644 author Trond Myklebust Tue, 18 Oct 2005 14:20:12 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:12 -0700 NFSv4: Fix a potential CLOSE race Once the state_owner and lock_owner semaphores get removed, it will be possible for other OPEN requests to reopen the same file if they have lower sequence ids than our CLOSE call. This patch ensures that we recheck the file state once nfs_wait_on_sequence() has completed waiting. Signed-off-by: Trond Myklebust commit cee54fc944422c44e476736c045a9e8053cb0644 tree 95f4728b3ffa8a2456727b10cd3a68f2a3065415 parent 5e5ce5be6f0161d2a069a4f8a1154fe639c5c02f author Trond Myklebust Tue, 18 Oct 2005 14:20:12 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:12 -0700 NFSv4: Add functions to order RPC calls NFSv4 file state-changing functions such as OPEN, CLOSE, LOCK,... are all labelled with "sequence identifiers" in order to prevent the server from reordering RPC requests, as this could cause its file state to become out of sync with the client. Currently the NFS client code enforces this ordering locally using semaphores to restrict access to structures until the RPC call is done. This, of course, only works with synchronous RPC calls, since the user process must first grab the semaphore. By dropping semaphores, and instead teaching the RPC engine to hold the RPC calls until they are ready to be sent, we can extend this process to work nicely with asynchronous RPC calls too. This patch adds a new list called "rpc_sequence" that defines the order of the RPC calls to be sent. We add one such list for each state_owner. When an RPC call is ready to be sent, it checks if it is top of the rpc_sequence list. If so, it proceeds. If not, it goes back to sleep, and loops until it hits top of the list. Once the RPC call has completed, it can then bump the sequence id counter, and remove itself from the rpc_sequence list, and then wake up the next sleeper. Note that the state_owner sequence ids and lock_owner sequence ids are all indexed to the same rpc_sequence list, so OPEN, LOCK,... requests are all ordered w.r.t. each other. Signed-off-by: Trond Myklebust commit 5e5ce5be6f0161d2a069a4f8a1154fe639c5c02f tree fc6e0397c8e17dad5f3f038fb1b3526a114b5244 parent ea635a517e350eb03ab5f01618417f31b82a9a4d author Trond Myklebust Tue, 18 Oct 2005 14:20:11 -0700 committer Trond Myklebust Tue, 18 Oct 2005 14:20:11 -0700 RPC: allow call_encode() to delay transmission of an RPC call. Currently, call_encode will cause the entire RPC call to abort if it returns an error. This is unnecessarily rigid, and gets in the way of attempts to allow the NFSv4 layer to order RPC calls that carry sequence ids. Signed-off-by: Trond Myklebust commit ea635a517e350eb03ab5f01618417f31b82a9a4d tree f2c506b1dec60259ab9d6cfd0b092433cf91774f parent cff6bf970965c98c62007fc8a36527fd147fe233 author Chuck Lever Thu, 06 Oct 2005 23:12:58 -0400 committer Trond Myklebust Tue, 18 Oct 2005 14:20:10 -0700 SUNRPC: Retry rpcbind requests if the server's portmapper isn't up After a server crash/reboot, rebinding should always retry, otherwise requests on "hard" mounts will fail when they shouldn't. Test plan: Run a lock-intensive workload against a server while rebooting the server repeatedly. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 59a10b172fccaea793352c00fd9065f0a5b4ef70 tree fc0acf367b9fca2ff2c5f8062288f8e271771862 parent 8cbd6df1f0ce977ab7b61feffa59879bb5e0ed8f author Albert Lee Wed, 12 Oct 2005 15:09:42 +0800 committer Jeff Garzik Tue, 18 Oct 2005 17:16:14 -0400 [PATCH] libata CHS: reread device identify info (revise #6) problem: id[53-58] might be changed after initializing device CHS settings. changes: - call ata_dev_reread_id() to reread the identify device info, after initializing device CHS settings. Signed-off-by: Albert Lee ============ Signed-off-by: Jeff Garzik commit 8cbd6df1f0ce977ab7b61feffa59879bb5e0ed8f tree c460778581293ad479ec4983690ccc46bcb4df56 parent 07506697d1c615924298406f2357810709c09bcd author Albert Lee Wed, 12 Oct 2005 15:06:27 +0800 committer Jeff Garzik Tue, 18 Oct 2005 17:16:13 -0400 [PATCH] libata CHS: calculate read/write commands and protocol on the fly (revise #6) - merge ata_prot_to_cmd() and ata_dev_set_protocol() as ata_rwcmd_protocol() - pave road for read/write multiple support - remove usage of pre-cached command and protocol values and call ata_rwcmd_protocol() instead Signed-off-by: Albert Lee ============== Signed-off-by: Jeff Garzik commit 07506697d1c615924298406f2357810709c09bcd tree bd4f223231a92245b8247c6fb8eb23d9b5c3f3be parent 5a476deff3d17093da39c4eccb2692ba714dcb11 author Albert Lee Wed, 12 Oct 2005 15:04:18 +0800 committer Jeff Garzik Tue, 18 Oct 2005 17:16:13 -0400 [PATCH] libata CHS: move the initialization of taskfile LBA flags (revise #6) move the initialization of taskfile LBA flags "ATA_TFLAG_LBA" and "ATA_TFLAG_LBA48 flags" to the SCSI translation functions Signed-off-by: Albert Lee ============= Signed-off-by: Jeff Garzik commit 5a476deff3d17093da39c4eccb2692ba714dcb11 tree 16f5c745a3c8ac780a218ad3d43e32f33164bcf5 parent dd4efa44ebf2a8a0e5edf60a53eadec981b4b10a parent 39ca371c45b04cd50d0974030ae051906fc516b6 author Jeff Garzik Tue, 18 Oct 2005 17:16:06 -0400 committer Jeff Garzik Tue, 18 Oct 2005 17:16:06 -0400 Merge branch 'master' commit ba8e9310244180bbc820e865d2e4378809b4a443 tree 407dc58bb932a7cd09df5c5b0c13f28cfd7f1c61 parent d476306f1cc9156ce4b42586aacce70a356ef656 author Roland Dreier Tue, 18 Oct 2005 14:14:56 -0700 committer Roland Dreier Tue, 18 Oct 2005 14:14:56 -0700 [IB] Fail sysfs queries after device is unregistered We keep IB device structures around until the last sysfs reference is gone, but we shouldn't ask the low-level driver to do anything after the LLD unregisters the device. To handle this, check the reg_state field and just fail sysfs show() requests if the device has already been unregistered. Signed-off-by: Roland Dreier commit 28af493cd7b89cba7e3ee534079cf4f41bb4b4f9 tree ea27df5ab7b728496a15602e0a7da74ff188378f parent 74cfe03f80adc320bde4dd37616354aefe2271aa parent 39ca371c45b04cd50d0974030ae051906fc516b6 author Jeff Garzik Tue, 18 Oct 2005 17:14:17 -0400 committer Jeff Garzik Tue, 18 Oct 2005 17:14:17 -0400 Merge branch 'master' commit d476306f1cc9156ce4b42586aacce70a356ef656 tree 045da3b196f276bbe83cd25f08956578d5e918f6 parent c6f5cb7be0ab478e0618e3c2c6ada27f56d1e7fb author Roland Dreier Tue, 18 Oct 2005 14:07:07 -0700 committer Roland Dreier Tue, 18 Oct 2005 14:07:07 -0700 [IB] mthca: Add struct pci_driver.owner field Set mthca_driver.owner to THIS_MODULE. Signed-off-by: Roland Dreier commit 74cfe03f80adc320bde4dd37616354aefe2271aa tree a5b58d998d2f653d34f331e17db92b8c3692e09e parent 5793f4be23f0171b4999ca68a39a9157b44139f3 author Ralf Baechle Wed, 12 Oct 2005 23:11:01 +0100 committer Jeff Garzik Tue, 18 Oct 2005 17:03:28 -0400 [PATCH] Initialize the .owner field the tty_ldisc structure. If .owner isn't set the module can be unloaded even while still active. Signed-off-by: Ralf Baechle DL5RB Signed-off-by: Jeff Garzik commit 5793f4be23f0171b4999ca68a39a9157b44139f3 tree 01455dae41fc5c025341e4d31b8013a2e727e66d parent bc0a7438605c5e0cafdb32a3caf46254e146b116 author Ralf Baechle Fri, 14 Oct 2005 14:28:09 +0100 committer Jeff Garzik Tue, 18 Oct 2005 17:02:14 -0400 [PATCH] SMACK support for mkiss SMACK (Stuttgart Modified Amateurradio CRC KISS) is a KISS variant that uses CRC16 checksums to secure data transfers between the modem and host. It's also used to communicate over a pty to applications such as Wampes. Patches for Linux 2.4 by Thomas Osterried DL9SAU, upgraded to the latest mkiss 2.6 mkiss driver by me. Signed-off-by: Thomas Osterried DL9SAU Signed-off-by: Ralf Baechle DL5RB Signed-off-by: Jeff Garzik commit bc0a7438605c5e0cafdb32a3caf46254e146b116 tree 7331f97459c13f1f4bb18d8d2db6abd724ad6f7f parent ad4ebed00fbf570411edbf6eb6c391e16b71df25 author Ralf Baechle Mon, 17 Oct 2005 12:42:32 +0100 committer Jeff Garzik Tue, 18 Oct 2005 17:01:27 -0400 [PATCH] rcu in bpqether driver. From Suzanne Wood : Clarify RCU implementation in bpqether.c. Because bpq_new_device() calls list_add_rcu() and bpq_free_device() calls list_del_rcu(), substitute list_for_each_entry_rcu() for list_for_each_entry() in bpq_get_ax25_dev() and in bpq_seq_start(). Add rcu dereference protection in bpq_seq_next(). The rcu_read_lock()/unlock() in bpq_device_event() are removed because netdev event handlers are called with RTNL locking in place. FYI: bpq_free_device() calls list_del_rcu() which, per list.h, requires synchronize_rcu() which can block or call_rcu() or call_rcu_bh() which cannot block. Herbert Xu notes that synchronization is done here by unregister_netdevice(). This calls synchronize_net() which in turn uses synchronize_rcu(). Signed-off-by: Ralf Baechle DL5RB Signed-off-by: Jeff Garzik commit ad4ebed00fbf570411edbf6eb6c391e16b71df25 tree 37f236700d5e831fee6bf8494cd57753231ddf14 parent 59aee3c2a1e69fe5062bd1facb72d6fcea3f3f8f author ravinandan.arakali@neterion.com Mon, 17 Oct 2005 18:26:20 -0700 committer Jeff Garzik Tue, 18 Oct 2005 16:58:27 -0400 [PATCH] S2io: Offline diagnostics fixes This patch fixes the following bugs with offline diagnostics code(run with "ethtool -t"). 1. After running offline diagnostics, adapter would report corrupted packets on receive. This was because of adapter not being brought out of "RLDRAM test mode". 2. Current EEPROM test works only for Xframe I. Since Xframe II uses different interface(SPI), support for this interface has been added. Also, since SPI supports write access to all areas of EEPROM, negative testing is done only for Xframe I. 3. Return values from subfunctions of offline diagnostics have been corrected. 4. In register test, expected value from rx_queue_cfg register is made to depend on adapter type. 5. After the test, need to restore values at EEPROM offsets 0x4F0 and 0x7F0. These locations were modified as part of test. 6. Use macro SPECIAL_REG_WRITE for write access to mc_rldram_test_ctrl register. Also, couple of unnecessary writes to mc_rldram_test_ctrl have been removed. Signed-off-by: Ravinandan Arakali Signed-off-by: Jeff Garzik commit cff6bf970965c98c62007fc8a36527fd147fe233 tree 2791f2208b54ade86625af416ff5342f11282f0c parent 6cd7525a00f3b926e8bd2e402954ed3e09a8e924 parent 39ca371c45b04cd50d0974030ae051906fc516b6 author Trond Myklebust Tue, 18 Oct 2005 13:50:52 -0700 committer Trond Myklebust Tue, 18 Oct 2005 13:50:52 -0700 Merge /home/trondmy/scm/kernel/git/torvalds/linux-2.6 commit c6f5cb7be0ab478e0618e3c2c6ada27f56d1e7fb tree 37446873b146ad0e8a4d3c5c6378e4400e797544 parent 4b2d319b53810ab00ef3d8fdfc1c1ab0647ab0a7 author Roland Dreier Tue, 18 Oct 2005 13:22:16 -0700 committer Roland Dreier Tue, 18 Oct 2005 13:22:16 -0700 [IB] mthca: Use enum in mthca_alloc_db() prototype Make the type parameter of mthca_alloc_db() be an enum mthca_db_type instead of an int. This doesn't have any practical effect but documents the functions a little better. Signed-off-by: Roland Dreier commit 4b2d319b53810ab00ef3d8fdfc1c1ab0647ab0a7 tree e54ac6da33e561bb38cf31d2d1ba43b913983cab parent 762a03e21ed08daa5170d9cd98e83539861e7692 author Roland Dreier Tue, 18 Oct 2005 12:20:06 -0700 committer Roland Dreier Tue, 18 Oct 2005 12:20:06 -0700 [IPoIB] Improve ipoib_timeout() output Use jiffies_to_msecs() so we print a human-readable time so we don't have to worry about what HZ is configured to, and print out a few values to make post-mortem analysis easier. Signed-off-by: Roland Dreier commit 46aab8c584ea69cdbe1060f5eae5bf092763f710 tree 1b2e6fa8a94a4a2ddf25fa01de4346ecb4e81c1a parent 77f543cb467c44960bafa6c91f5af75919d693e4 parent b09a4913b15d2544f8918f05b9937cb4e99a2319 author Paul Mackerras Tue, 18 Oct 2005 14:53:41 +1000 committer Paul Mackerras Tue, 18 Oct 2005 14:53:41 +1000 Merge rsync://oak/kernels/iseries/work/ commit b09a4913b15d2544f8918f05b9937cb4e99a2319 tree ed8e4764e6358f18e5641f6fba5815ea88ac1f5e parent 81e7009ea46c951860b8716ee427ff4f54dd26fc author Stephen Rothwell Tue, 18 Oct 2005 14:51:57 +1000 committer Stephen Rothwell Tue, 18 Oct 2005 14:51:57 +1000 powerpc: change sys32_ to compat_sys_ This allows us to get rid of one type of entry in systbl.S. In passing we remove the duplicate compat_sys_getdents and compat_sys_utimes for which there are generic versions. Signed-off-by: Stephen Rothwell commit 77f543cb467c44960bafa6c91f5af75919d693e4 tree eebf9705cb750be7db8ced19d58bd6c4db0e573e parent 81e7009ea46c951860b8716ee427ff4f54dd26fc author Paul Mackerras Tue, 18 Oct 2005 14:19:41 +1000 committer Paul Mackerras Tue, 18 Oct 2005 14:19:41 +1000 powerpc: Fix various compile errors with ARCH=ppc, ppc64 and powerpc This makes ppc use the syscalls.c from arch/powerpc/kernel, exports copy_and_flush from head_32.S for use by prom_init.c (ARCH=powerpc), and consolidates the sys_fadvise64_64 implementations for 32-bit. Signed-off-by: Paul Mackerras commit 81e7009ea46c951860b8716ee427ff4f54dd26fc tree cd9724dac4d04a2e03f4042adbcc86fdc2d037b7 parent 55d363397f1bdfa4fe861f0e2fadb058c79dafea author Stephen Rothwell Tue, 18 Oct 2005 11:17:58 +1000 committer Stephen Rothwell Tue, 18 Oct 2005 11:17:58 +1000 powerpc: merge ppc signal.c and ppc64 signal32.c Signed-off-by: Stephen Rothwell commit 762a03e21ed08daa5170d9cd98e83539861e7692 tree 43c626e5100387e9e66b8cc152194f51701a08db parent 07d357d0cbf89d9980b1769d5444a3c70f000e00 author Roland Dreier Mon, 17 Oct 2005 15:38:50 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:38:50 -0700 [IB] ucm: quiet sparse warnings Make ctx_id_mutex and ctx_id_table static to quiet sparse warnings. Signed-off-by: Roland Dreier commit 07d357d0cbf89d9980b1769d5444a3c70f000e00 tree cc7bcdee52b4e79e2115295e763f2e3d49c68a86 parent 595e726a1f28420c5fc7970b1a87cbce77a1cd45 author Sean Hefty Mon, 17 Oct 2005 15:37:43 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:37:43 -0700 [IB] CM: bind IDs to a specific device Bind communication identifiers to a device to support device removal. Export per HCA CM devices to userspace. Signed-off-by: Sean Hefty commit 595e726a1f28420c5fc7970b1a87cbce77a1cd45 tree 743f39eb3f33c9f0a58a96cf4c7213ca06af50a9 parent 67cdb40ca444c09853ab4d8a41cf547ac26a4de4 author Sean Hefty Mon, 17 Oct 2005 15:33:47 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:33:47 -0700 [IB] merge ucm.h into ucm.c Eliminate ucm.h. Replace ucm_dbg with direct call to printk KERN_ERR. Signed-off-by: Sean Hefty commit 67cdb40ca444c09853ab4d8a41cf547ac26a4de4 tree fc0ecdf4e2c39db11849c79c594711c9e8e76a13 parent 91ecd4ae178bed83da4f6a94ced7992e4d7711eb author Roland Dreier Fri, 14 Oct 2005 15:26:04 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:31 -0700 [IB] uverbs: Implement more commands Add kernel support for userspace calling poll CQ, request CQ notification, post send, post receive, post SRQ receive, create AH and destroy AH commands. These commands allow us to support userspace verbs for devices that can't perform these operations directly from userspace (eg the PathScale HCA). Signed-off-by: Roland Dreier commit 91ecd4ae178bed83da4f6a94ced7992e4d7711eb tree bb1758547300968ceb47cc929c9c50b96060c759 parent 883a99c7024c5763d6d4f22d9239c133893e8d74 author Roland Dreier Fri, 14 Oct 2005 15:21:44 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:30 -0700 [IB] uverbs: Add ABI structures for more commands Add kernel/user ABI structures for marshalling poll CQ, request CQ notification, post send, post receive, post SRQ receive, create AH and destroy AH commands. These commands allow us to support userspace verbs for devices that can't perform these operations directly from userspace (eg the PathScale HCA). Signed-off-by: Roland Dreier commit 883a99c7024c5763d6d4f22d9239c133893e8d74 tree 659a7982a51d0ba187dac826a5b1e5ef319692fd parent 56c202d6e4f542468fe79b8a735cf128898b87fb author Roland Dreier Fri, 14 Oct 2005 14:00:58 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:30 -0700 [IB] uverbs: Add a mask of device methods allowed for userspace Give each device a uverbs_cmd_mask, so that a low-level driver can control which methods may be called on behalf of userspace. Signed-off-by: Roland Dreier commit 56c202d6e4f542468fe79b8a735cf128898b87fb tree 3080b34f6080d71b88ae26f665b5e23d7f485c69 parent 305a7e87055dde2466a855c24ef51a606915d149 author Roland Dreier Thu, 13 Oct 2005 10:45:02 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:29 -0700 [IB] fail SA queries if device initialization failed If the SA query module's initialization fails for a device, then that device won't have a struct ib_sa_device associated. We should fail SA queries in that case, rather than blindly dereferencing the NULL pointer we get back from ib_get_client_data(). Signed-off-by: Roland Dreier commit 305a7e87055dde2466a855c24ef51a606915d149 tree 7cfe3df3901ad99677dc1794d684894db8bf5a38 parent 5b6810e048435de508ef66aebd6b78db13d651b8 author Roland Dreier Tue, 11 Oct 2005 15:39:38 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:29 -0700 [IB] uverbs: unlock correctly in error paths A couple of functions were missing spin_unlock calls in error paths. Signed-off-by: Roland Dreier commit 5b6810e048435de508ef66aebd6b78db13d651b8 tree b54df96d5821a6ed41d778bf1ecfb54dbc7a4999 parent efaae8f71f3088cc73c9e5ceabbd314aa82ac768 author Roland Dreier Tue, 11 Oct 2005 11:08:24 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:29 -0700 [IPoIB] Rename ipoib_create_qp() -> ipoib_init_qp() and fix error cleanup ipoib_create_qp() no longer creates IPoIB's QP, so it shouldn't destroy the QP on failure -- that unwinding happens elsewhere, so the current code can cause a double free. While we're at it, the function's name should match what it actually does, so rename it to ipoib_init_qp(). Signed-off-by: Roland Dreier commit efaae8f71f3088cc73c9e5ceabbd314aa82ac768 tree b19084ae0a9dc6837cb2837cbd21386c9f1b2e0e parent 4ab6fb7e5b3d34b65a1c3473d80d9d1a462d3a49 author Jack Morgenstein Mon, 10 Oct 2005 13:48:07 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:29 -0700 [IB] mthca: Better limit checking and reporting Check the sizes of CQs, QPs and SRQs when creating objects, and fail instead of creating too-big queues. Also return real limits instead of just plausible-sounding values from mthca_query_device(). Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 4ab6fb7e5b3d34b65a1c3473d80d9d1a462d3a49 tree 3a78a17d4499bf95cc23be72ffb88bd49c8e7852 parent e23d6d2b090658007732770720a44375cba23200 author Roland Dreier Thu, 06 Oct 2005 13:28:16 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:28 -0700 [IB] Fix leak on MAD initialization failure There is a bug in ib_mad_init_device(): if ib_agent_port_open() fails for a given port, then the current code doesn't call ib_mad_port_close() for that port. Signed-off-by: Roland Dreier commit e23d6d2b090658007732770720a44375cba23200 tree 277afdc20477a3ab8ca9a1ff26c478e047a3a581 parent 90f104da22bbf2e2b8a2136c12fb4e013fccf504 author Roland Dreier Thu, 06 Oct 2005 13:25:16 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:28 -0700 [IB] mthca: detect SRQ overflow The hardware relies on us keeping one extra work request that never gets used in SRQs. Add checks to the SRQ work request posting functions so that they fail when someone is about to use up that extra work request, rather than when someone uses the very last work request. Signed-off-by: Roland Dreier commit 90f104da22bbf2e2b8a2136c12fb4e013fccf504 tree d720f4b226cd72903ee878096707578ccc7abc0c parent 116c0074ecfd6f061570856bec52b691d54dbd3c author Roland Dreier Thu, 06 Oct 2005 13:15:56 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:28 -0700 [IB] mthca: SRQ limit reached events Our hardware supports generating an event when the number of receives posted to a shared receive queue (SRQ) falls below a user-specified limit. Implement mthca_modify_srq() to arm the limit, and add code to handle dispatching SRQ events when they occur. Signed-off-by: Roland Dreier commit 116c0074ecfd6f061570856bec52b691d54dbd3c tree 0f9524538accf39d965d270d63728ec43a5f26b8 parent f575394f1de9b4afa4b474f1882c7e2d3b8e51d7 author Roland Dreier Mon, 03 Oct 2005 09:32:33 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:27 -0700 [IB] Check port number in ib_query_port()/ib_modify_port() Check port number before passing query_port or modify_port operations on to device driver. Signed-off-by: Roland Dreier commit f575394f1de9b4afa4b474f1882c7e2d3b8e51d7 tree b9ffc5983cbba3acbb8d7233d26101c38f4d7e61 parent 9825051e8c81cbd4400333e7cdc04be77a0bab75 author Roland Dreier Mon, 03 Oct 2005 09:18:02 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:27 -0700 [IB] uverbs: reject invalid memory registration permission flags Reject userspace memory registrations with invalid permission flags: "local write" is required if "remote write" or "remote atomic" is also requested. Pointed out by Jack Morgenstein Signed-off-by: Roland Dreier commit 9825051e8c81cbd4400333e7cdc04be77a0bab75 tree 0b14750f603b1feece6c147cb95f31619bfb67c2 parent 274c0891637c44ac71f3ac40be91b43c2318883a author Jack Morgenstein Sat, 01 Oct 2005 13:09:44 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:26 -0700 [IB] mthca: Fill in more fields in query_port method Add code to fill in the bad_pkey_cntr, max_mtu, active_mtu and subnet_timeout fields in mthca_query_port(). Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 274c0891637c44ac71f3ac40be91b43c2318883a tree fc7d9f07ab7e663a8acb771069cb9f1053ca2302 parent eb9d3cd5ce2828fbb99ed7270089ea152c8f64b3 author Roland Dreier Thu, 29 Sep 2005 14:17:48 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:26 -0700 [IB] uverbs: Add device-specific ABI version attribute Add abi_version attribute to uverbs class devices to allow for ABI versioning of device-specific interfaces. Signed-off-by: Roland Dreier commit eb9d3cd5ce2828fbb99ed7270089ea152c8f64b3 tree 2d0de42bc6c7777c66ee76d5817312bcfd161718 parent 6b73597e7062118c0549c2702bfb7d273518c906 author Roland Dreier Tue, 27 Sep 2005 15:07:25 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:25 -0700 [IB] uverbs: Fix up resource creation error paths By waiting to add resources to our lists until after the last operation that can fail, we don't have to remove them from their lists in the error path. Also, we should hold the idr mutex until we know whether resource creation has succeed or failed, to avoid someone finding a resource in our table before we're ready. Loosely based on work by Robert Walsh . Signed-off-by: Roland Dreier commit 6b73597e7062118c0549c2702bfb7d273518c906 tree 6034aae7493b32d75d1c8818a801b09b77979acd parent 33033b797225553e48ca68d8d8dc5e64ec22e02b author Roland Dreier Mon, 26 Sep 2005 13:53:25 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:25 -0700 [IB] uverbs: ABI-breaking fixes for userspace verbs Introduce new userspace verbs ABI version 3. This eliminates some unneeded commands, and adds support for user-created completion channels. This cleans up problems with file leaks on error paths, and also makes sure that file descriptors are always installed into the correct process. Signed-off-by: Roland Dreier commit 33033b797225553e48ca68d8d8dc5e64ec22e02b tree f76970269a0a16eb6b301f3d048af7670232d652 parent 0c33aeedb2cf99d877ad9adc7c3df07870f60293 author Jack Morgenstein Mon, 26 Sep 2005 12:30:02 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:24 -0700 [IB] mthca: Report correct atomic capability Return correct atomic capability flag from mthca query function. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 0c33aeedb2cf99d877ad9adc7c3df07870f60293 tree 7f6b23172b327ebd8b5d4f5d40aa216ba48600a2 parent 2cc78eb52bc1ae89f0a4fa5a00eb998dffde4a9f author Jack Morgenstein Mon, 26 Sep 2005 11:47:53 -0700 committer Roland Dreier Mon, 17 Oct 2005 15:20:24 -0700 [IB] Add checks to multicast attach and detach Add checks so that we only allow multicast attach/detach with a valid multicast GID and the correct QP type. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 7946ada30bc45546cefc85809ba0fd07879eff52 tree 03c382e8e4f9b81f151be953de3b7f61411c9303 parent 98b270362bb9ea6629732e7f5b65b8a6ce4743c7 parent 3d80636a0d5f056ffc26472d05b6027a7a9f6e1c author Anton Altaparmakov Mon, 17 Oct 2005 15:00:34 +0100 committer Anton Altaparmakov Mon, 17 Oct 2005 15:00:34 +0100 Merge branch 'master' of /usr/src/ntfs-2.6/ commit 55d363397f1bdfa4fe861f0e2fadb058c79dafea tree e09d805e36f1a024bd999c8f3b4bc620608ece4b parent 61f684ec074f40e2e13e750513df42c0c046689b author David Gibson Thu, 13 Oct 2005 15:46:22 +1000 committer Paul Mackerras Mon, 17 Oct 2005 21:43:12 +1000 [PATCH] powerpc: Another maple merge tree fix With ARCH=powerpc, a spurious ifdef in prom_init prevented the seconday hold loop being correctly copied down on Maple. With this patch, Maple boots with ARCH=powerpc Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 61f684ec074f40e2e13e750513df42c0c046689b tree 3d78d1bf0eb49b5aeb39219262c823561ba98f9b parent ea703ce20699dd85ad7954e34b71a2c7c47b6132 author David Gibson Thu, 13 Oct 2005 14:28:58 +1000 committer Paul Mackerras Mon, 17 Oct 2005 21:43:12 +1000 [PATCH] powerpc: Fix use of LOADBASE in merge tree The merge-tree version of LOADBASE actually loads the whole given address from the toc for ppc64. The matching OFF macro adjust for this, using an offset of 0 for ppc64, but we weren't using that in power4_idle. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit ea703ce20699dd85ad7954e34b71a2c7c47b6132 tree e9d200bb4caa5a211025c1306fac0c8bd5e8e979 parent 5f2967553394d01f4bafd03398777a42e8344d28 author Kumar Gala Tue, 11 Oct 2005 23:54:00 -0500 committer Paul Mackerras Mon, 17 Oct 2005 21:43:12 +1000 [PATCH] powerpc: replace use of _GLOBAL with .globl The _GLOBAL() macro is for text symbols only. Changed to using .globl for .data symbols. Signed-off-by: Kumar K. Gala Signed-off-by: Paul Mackerras commit 5f2967553394d01f4bafd03398777a42e8344d28 tree b4504f072ca945da545fde9f0360a8528bd7c11f parent dd184343b45e94fd3b0d4d0865070924bc6195ab author Paul Mackerras Mon, 17 Oct 2005 20:14:59 +1000 committer Paul Mackerras Mon, 17 Oct 2005 20:14:59 +1000 powerpc: Make CONFIG_PROC_DEVICETREE independent of CONFIG_PPC_OF ... since all platforms will have a device tree. Signed-off-by: Paul Mackerras commit dd184343b45e94fd3b0d4d0865070924bc6195ab tree f7fe5b1ada69a7a59fdec4793b459d851f911e92 parent 7ac59c624992281ff315911dea2a98ca3f3ff06e author Paul Mackerras Mon, 17 Oct 2005 20:13:47 +1000 committer Paul Mackerras Mon, 17 Oct 2005 20:13:47 +1000 powerpc: Clear the BSS at the start of early_init with ARCH=ppc Signed-off-by: Paul Mackerras commit 7ac59c624992281ff315911dea2a98ca3f3ff06e tree cef07b70e33f78cd184a05b16876756fb6e8a4ab parent 3e63b9ec51eb1d9f441e5015427b23d70e5991b3 author Paul Mackerras Mon, 17 Oct 2005 20:12:39 +1000 committer Paul Mackerras Mon, 17 Oct 2005 20:12:39 +1000 ppc: Fix various compile errors resulting from ptrace.c merge This introduces flush_{fp,altivec,spe}_to_thread and fixes a branch-too-far error in linking. Signed-off-by: Paul Mackerras commit 3e63b9ec51eb1d9f441e5015427b23d70e5991b3 tree ccc8e2b93c112fa6d7d65030c6ba4e8e5789e616 parent 30286ef6e044bc3d9019c3d8b900572e3fa05e65 author Paul Mackerras Mon, 17 Oct 2005 20:11:03 +1000 committer Paul Mackerras Mon, 17 Oct 2005 20:11:03 +1000 ppc: Use the merged of_device.c from arch/powerpc/kernel Signed-off-by: Paul Mackerras commit 30286ef6e044bc3d9019c3d8b900572e3fa05e65 tree 4d73bf0eb0da75d3c52613325d4085f139efdd39 parent 30cd4a4e9c25e154ba087848a839bd0c6d024092 author Paul Mackerras Mon, 17 Oct 2005 20:10:13 +1000 committer Paul Mackerras Mon, 17 Oct 2005 20:10:13 +1000 powerpc: Merge syscalls.c and sys_ppc32.c. Signed-off-by: Paul Mackerras commit 30cd4a4e9c25e154ba087848a839bd0c6d024092 tree 8ba678b5e025b1d5e1f1b18e14662d2da720a0f7 parent 7dffb72028bfd909ac51a1546d182de2df4d2426 author Paul Mackerras Mon, 17 Oct 2005 19:20:46 +1000 committer Paul Mackerras Mon, 17 Oct 2005 19:20:46 +1000 powerpc: Initialize btext subsystem later, after prom_init We were initializing the btext stuff from prom_init(), thus breaking the rule that all communication between prom_init() and the rest of the kernel has to be via the flattened device tree. This removes the btext initialization calls from prom_init() and initializes it instead after the device tree is unflattened. It would be nice to do it earlier, but that needs some more infrastructure to find the properties we need in the flattened device tree. Signed-off-by: Paul Mackerras commit 7dffb72028bfd909ac51a1546d182de2df4d2426 tree c465c35642872973543f710f8aa06b955b84f7e5 parent cf764855620aa1aa5b134687ca18b841ac9be4c7 author Stephen Rothwell Mon, 17 Oct 2005 11:50:32 +1000 committer Stephen Rothwell Mon, 17 Oct 2005 11:50:32 +1000 ppc32: use L1_CACHE_SHIFT/L1_CACHE_BYTES instead of L1_CACHE_LINE_SIZE and LG_L1_CACHE_LINE_SIZE Signed-off-by: Stephen Rothwell commit cf764855620aa1aa5b134687ca18b841ac9be4c7 tree e70175e00db5a1041d69b40d6221d7d00f13927f parent c6d2ea92d162c81d4d593b4b5e0f5ceb1b940c72 author Stephen Rothwell Mon, 17 Oct 2005 11:46:53 +1000 committer Stephen Rothwell Mon, 17 Oct 2005 11:46:53 +1000 powerpc: fix 32bit LOADADDR macro I forgot a semicolon. Signed-off-by: Stephen Rothwell commit c6d2ea92d162c81d4d593b4b5e0f5ceb1b940c72 tree a5a7334ba6e472d0c8e702e5d1b8a012f7595af6 parent 0e29bb1a4ef69120a614391a649510010031dd8a author Stephen Rothwell Fri, 14 Oct 2005 17:16:17 +1000 committer Stephen Rothwell Fri, 14 Oct 2005 17:16:17 +1000 powerpc: move iSeries/HvCallPci.h to platforms/iseries/call_pci.h Signed-off-by: Stephen Rothwell commit 0e29bb1a4ef69120a614391a649510010031dd8a tree 2795723298f7bd68eedbcb7e01f4673d12fb5258 parent 20f48ccfa015d8b8391bbf07fc27618453f44969 author Stephen Rothwell Fri, 14 Oct 2005 17:09:16 +1000 committer Stephen Rothwell Fri, 14 Oct 2005 17:09:16 +1000 powerpc: move iSeries/HvCallHpt.h to platforms/iseries/call_hpt.h Signed-off-by: Stephen Rothwell commit 20f48ccfa015d8b8391bbf07fc27618453f44969 tree 0a38839fb3c8899fe1eb3026a29daaabec65babc parent bffa8fc3835b0d3c4a59af8aceeea3aba823b032 author Stephen Rothwell Fri, 14 Oct 2005 16:49:58 +1000 committer Stephen Rothwell Fri, 14 Oct 2005 16:49:58 +1000 powerpc: eliminate DsaAddr from pci_dn Signed-off-by: Stephen Rothwell commit bffa8fc3835b0d3c4a59af8aceeea3aba823b032 tree 53f46e4aef2f9b6afdaa55f82136d67b66de7dec parent 426c1a11a677e39a8c8ed744a521d0f4cb2e417e author Stephen Rothwell Fri, 14 Oct 2005 15:06:10 +1000 committer Stephen Rothwell Fri, 14 Oct 2005 15:06:10 +1000 powerpc: remove ISERIES_[SUB]BUS macros This allows us to simplify a couple of things. Signed-off-by: Stephen Rothwell commit 426c1a11a677e39a8c8ed744a521d0f4cb2e417e tree efa10517ccd9469cfdf1b4390aeb776a8d3f1ddc parent 190554db7bcd41935827f71d4f6f787673da208a author Stephen Rothwell Fri, 14 Oct 2005 14:51:42 +1000 committer Stephen Rothwell Fri, 14 Oct 2005 14:51:42 +1000 powerpc: move iSeries/iSeries_pci.h to platforms/iseries The only real user of this file outside platforms/iseries was drivers/net/iseries_veth.c but all it wanted was ISERIES_HV_ADDR() so we move that to abs_addr.h (and lowercase it). Signed-off-by: Stephen Rothwell commit dd4efa44ebf2a8a0e5edf60a53eadec981b4b10a tree dd6e750c3e7228abb1f922de240b86d7d12d14bf parent 1a04392bd6439876b1552793389cbb5be356ea54 parent 046d20b73960b7a2474b6d5e920d54c3fd7c23fe author Jeff Garzik Thu, 13 Oct 2005 21:23:44 -0400 committer Jeff Garzik Thu, 13 Oct 2005 21:23:44 -0400 Merge branch 'master' commit 59aee3c2a1e69fe5062bd1facb72d6fcea3f3f8f tree b337d73229a69e399d4e4f7128b33ce734660e35 parent 0d69ae5fb7eb9ba3b54cf0ba4ef5ae591f31eef7 parent 046d20b73960b7a2474b6d5e920d54c3fd7c23fe author Jeff Garzik Thu, 13 Oct 2005 21:22:27 -0400 committer Jeff Garzik Thu, 13 Oct 2005 21:22:27 -0400 Merge branch 'master' commit c8f32be3874a310fa963d47b534a98be1a05a4cc tree d26d6760c0fdabda4f313f3b40172269b378bb48 parent 7217cbccbd0c620a6d234ebbe5e58d46d2188d0e parent 046d20b73960b7a2474b6d5e920d54c3fd7c23fe author Trond Myklebust Thu, 13 Oct 2005 18:49:40 -0400 committer Trond Myklebust Thu, 13 Oct 2005 18:49:40 -0400 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 commit 7217cbccbd0c620a6d234ebbe5e58d46d2188d0e tree ed8ad2161ca664c9100cb3fc1f9b0d8c3762500c parent 6cd7525a00f3b926e8bd2e402954ed3e09a8e924 parent c931488cc4619eecfe68a2f046b5898fddc2f904 author Trond Myklebust Thu, 13 Oct 2005 18:49:06 -0400 committer Trond Myklebust Thu, 13 Oct 2005 18:49:06 -0400 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 commit 190554db7bcd41935827f71d4f6f787673da208a tree ff362bb310877b2c96ff6de3aed25b350426c575 parent e8a30302abc42a0c537b9326883523da9963deb6 author Stephen Rothwell Thu, 13 Oct 2005 16:14:15 +1000 committer Stephen Rothwell Thu, 13 Oct 2005 16:14:15 +1000 powerpc: fix uname -m It will now give ppc64 on 64bit platforms and ppc on 32bit platforms. Signed-off-by: Stephen Rothwell commit e8a30302abc42a0c537b9326883523da9963deb6 tree 3d4dc948afff95a2a86805d75162a8cdb3baded6 parent eec5ef909888cd9d25a61f904cd8f0db50ea0455 author Stephen Rothwell Thu, 13 Oct 2005 15:52:04 +1000 committer Stephen Rothwell Thu, 13 Oct 2005 15:52:04 +1000 powerpc: merge ptrace.c Signed-off-by: Stephen Rothwell commit eec5ef909888cd9d25a61f904cd8f0db50ea0455 tree 1104668ef4480c9e0659e72afaa0a730aed63e49 parent ae2752050d21f5aef811c362d3a47dce4694068d author Stephen Rothwell Thu, 13 Oct 2005 15:16:25 +1000 committer Stephen Rothwell Thu, 13 Oct 2005 15:16:25 +1000 ppc64: use powerpc of_device.c Signed-off-by: Stephen Rothwell commit ae2752050d21f5aef811c362d3a47dce4694068d tree 1090dc24a34fa1c43f7623223f628b54b65d6a1a parent d4bf9a7858a0766cafb21dcb66ff9a5d92c1cd09 author Stephen Rothwell Thu, 13 Oct 2005 14:12:25 +1000 committer Stephen Rothwell Thu, 13 Oct 2005 14:12:25 +1000 ppc64: fix arch/ppc64/kernel/Makefile Signed-off-by: Stephen Rothwell commit d4bf9a7858a0766cafb21dcb66ff9a5d92c1cd09 tree 7179d40fa2b016414fb2b7fcc9e9da960459bc8d parent 0f17d0742f27b7a69b0e2dfb21190f06ea3a9087 author Stephen Rothwell Thu, 13 Oct 2005 13:40:54 +1000 committer Stephen Rothwell Thu, 13 Oct 2005 13:40:54 +1000 ppc64: merge binfmt_elf32.c and use start_thread for both 32 and 64 bit bineries. Signed-off-by: Stephen Rothwell commit 0f17d0742f27b7a69b0e2dfb21190f06ea3a9087 tree 5194d14f40c01465e0d7ef7955e38192be668725 parent 7062018687da3d5d4966f58d6f0a58528b1e331b author Stephen Rothwell Wed, 12 Oct 2005 23:23:44 +1000 committer Stephen Rothwell Thu, 13 Oct 2005 09:49:56 +1000 powerpc: make 64 bit binaries work Signed-off-by: Stephen Rothwell commit 7062018687da3d5d4966f58d6f0a58528b1e331b tree ccd1c08ab25397d44f34382fc353df2e5cb591fc parent 4920960f577edcb0a5ef03823a53911cca5875e1 author Stephen Rothwell Wed, 12 Oct 2005 17:44:55 +1000 committer Stephen Rothwell Thu, 13 Oct 2005 09:49:51 +1000 powerpc: create 32 bit LOADADDR macro and use it in misc_32.S Signed-off-by: Stephen Rothwell commit 4920960f577edcb0a5ef03823a53911cca5875e1 tree c37bb1a8b02f54e3a5012bac7f726208e6fc488e parent 7e130edf712ac054aecf643f9d3d0142a9679e6a author Stephen Rothwell Wed, 12 Oct 2005 15:55:09 +1000 committer Stephen Rothwell Thu, 13 Oct 2005 09:49:45 +1000 powerpc: consolidate cputable.c Also simplify arch/ppc64/kernel/Makefile Signed-off-by: Stephen Rothwell commit 84d2f07e8e5e2424eec0f5acfef6792c924a0549 tree c996a1a89db7124d4e644c6abe5e8f0f9c6fdab3 parent 47c786e79b46ef478a1123cb57c711ecb481cbfa author Steve French Wed, 12 Oct 2005 15:32:05 -0700 committer Steve French Wed, 12 Oct 2005 15:32:05 -0700 CIFS: cifs_writepages should not write beyond end of file Signed-off-by: Dave Kleikamp Signed-off-by: Steve French commit 7e130edf712ac054aecf643f9d3d0142a9679e6a tree c762cf5bfdb2f2834f22407fe42c23639615c2ad parent 5629d41d5ce255802cd3c350fbadfe5f3aa5f279 author Paul Mackerras Wed, 12 Oct 2005 17:03:36 +1000 committer Paul Mackerras Wed, 12 Oct 2005 17:03:36 +1000 ppc64: Remove duplicate versions of some headers This removes three headers from include/asm-ppc64 that are now in include/asm-powerpc and are sufficiently similar that they can be used with ARCH=ppc64. Signed-off-by: Paul Mackerras commit 5629d41d5ce255802cd3c350fbadfe5f3aa5f279 tree e00fcb33fd2e25305b3243e060e01cd346d4af94 parent 3eac8c69d1ac1266327f4e29deb23716a12c6d30 author Paul Mackerras Wed, 12 Oct 2005 17:01:50 +1000 committer Paul Mackerras Wed, 12 Oct 2005 17:01:50 +1000 powerpc: Bring in some changes made to arch/ppc and include/asm-ppc64 Recent commits upstream have changed files which are currently duplicated in arch/powerpc and include/asm-powerpc. This updates them with the corresponding changes. Signed-off-by: Paul Mackerras commit 3eac8c69d1ac1266327f4e29deb23716a12c6d30 tree 0f79bf41c9f7e9e72d7f2827c1810d3815d6f2af parent b6ec995a21a9428aef620b5adf46d047a18d88b8 author Paul Mackerras Wed, 12 Oct 2005 16:58:53 +1000 committer Paul Mackerras Wed, 12 Oct 2005 16:58:53 +1000 powerpc: Move default hash table size calculation to hash_utils_64.c We weren't computing the size of the hash table correctly on iSeries because the relevant code in prom.c was #ifdef CONFIG_PPC_PSERIES. This moves the code to hash_utils_64.c, makes it unconditional, and cleans it up a bit. Signed-off-by: Paul Mackerras commit b6ec995a21a9428aef620b5adf46d047a18d88b8 tree 6719121e6605cbca524b687f47336b9bbf3b8d41 parent 3a5f8c5f788d68e325d9fe3c26f4df5a5aee838a parent da64c6ee6bb71bfb3f09d9bb89ce1aa4b1ee7e89 author Paul Mackerras Wed, 12 Oct 2005 14:43:32 +1000 committer Paul Mackerras Wed, 12 Oct 2005 14:43:32 +1000 Merge from Linus' tree commit 47c786e79b46ef478a1123cb57c711ecb481cbfa tree 915f408208c8930ccefff3ea8a137ec5fd395b22 parent 1047abc159b4eb4ba4a7342a0969e16e9d4b4c69 author Steve French Tue, 11 Oct 2005 20:03:18 -0700 committer Steve French Tue, 11 Oct 2005 20:03:18 -0700 [CIFS] Add null malloc response check in notify experimental code Signed-off-by: Steve French (sfrench@us.ibm.com) commit 1047abc159b4eb4ba4a7342a0969e16e9d4b4c69 tree 532cf6200f2c63869f006dfad2b41d9d408a9a59 parent 4ca9c190d902caa7efb899a4c7fc8c6e6d926e95 author Steve French Tue, 11 Oct 2005 19:58:06 -0700 committer Steve French Tue, 11 Oct 2005 19:58:06 -0700 [CIFS] CIFS Stats improvements New cifs_writepages routine was not updated bytes written in cifs stats. Also added ability to clear /proc/fs/cifs/Stats by writing (0 or 1) to it. Signed-off-by: Steve French commit 3a5f8c5f788d68e325d9fe3c26f4df5a5aee838a tree ad0bb508722bb54baca8ad830c569a476f345233 parent f255f0dd1b4ef7af0e48f5603d1f27ee4bad5848 author Stephen Rothwell Tue, 11 Oct 2005 19:40:20 +1000 committer Stephen Rothwell Wed, 12 Oct 2005 10:58:00 +1000 powerpc: make iSeries boot again On ARCH=ppc64 we were getting htab_hash_mask recalculated to the correct value for our particular machine by accident. In the merge tree, that code was commented out, so htab_hash_mask was being corrupted. We now set ppc64_pft_size instead which gets htab_has_mask calculated correctly for us later. We should put an ibm,pft-size property in the device tree at some point. Also set -mno-minimal-toc in some makefiles. Allow iSeries to configure PROC_DEVICETREE. Signed-off-by: Stephen Rothwell commit f255f0dd1b4ef7af0e48f5603d1f27ee4bad5848 tree 93d93a62b5d3604efbc60666c14e35c90600c237 parent f696012330a67a60a9822ed48d1e9ecba73b4f18 author Stephen Rothwell Mon, 10 Oct 2005 17:10:54 +1000 committer Stephen Rothwell Wed, 12 Oct 2005 10:57:45 +1000 powerpc: pci_dn's should point to their device_node's Signed-off-by: Stephen Rothwell commit 98b270362bb9ea6629732e7f5b65b8a6ce4743c7 tree 2ca1f46a426628a16cc8cef2a4d4fba657d7ac1f parent 29f5f3c141c58b0a4c0765c77da612271875bcce author Anton Altaparmakov Tue, 11 Oct 2005 15:40:40 +0100 committer Anton Altaparmakov Tue, 11 Oct 2005 15:40:40 +0100 NTFS: The big ntfs write(2) rewrite has arrived. We now implement our own file operations ->write(), ->aio_write(), and ->writev() for regular files. This replaces the old use of generic_file_write(), et al and the address space operations ->prepare_write and ->commit_write. This means that both sparse and non-sparse (unencrypted and uncompressed) files can now be extended using the normal write(2) code path. There are two limitations at present and these are that we never create sparse files and that we only have limited support for highly fragmented files, i.e. ones whose data attribute is split across multiple extents. When such a case is encountered, EOPNOTSUPP is returned. Signed-off-by: Anton Altaparmakov commit b6a47fd8ff08a9d5cd279cdb8d97a619983575fa tree 5e946b5a7c3f224d181525ca475fd3f29508c47d parent ac17b8b57013a3e38d1958f66a218f15659e5752 author Dave Kleikamp Tue, 11 Oct 2005 09:06:59 -0500 committer Dave Kleikamp Tue, 11 Oct 2005 09:06:59 -0500 JFS: Corrupted block map should not cause trap Replace assert statements with better error handling. Signed-off-by: Dave Kleikamp commit 29f5f3c141c58b0a4c0765c77da612271875bcce tree 5e3f7c988636a72c280e85ed3b78d5fd44338c22 parent 29b8990513b077dc388b0756acd31465e5c21441 author Anton Altaparmakov Tue, 11 Oct 2005 14:59:40 +0100 committer Anton Altaparmakov Tue, 11 Oct 2005 14:59:40 +0100 NTFS: Remove address space operations ->prepare_write and ->commit_write in preparation for the big rewrite of write(2) support in ntfs. Signed-off-by: Anton Altaparmakov commit 29b8990513b077dc388b0756acd31465e5c21441 tree b7de34b7cf3c33d99af1579433f7e2b66a4cd37f parent 29d8699ebb1e8948a612306c69e6d9c4ef23342f author Anton Altaparmakov Tue, 11 Oct 2005 14:54:42 +0100 committer Anton Altaparmakov Tue, 11 Oct 2005 14:54:42 +0100 NTFS: In attrib.c::ntfs_attr_set() call balance_dirty_pages_ratelimited() and cond_resched() in the main loop as we could be dirtying a lot of pages and this ensures we play nice with the VM and the system as a whole. Signed-off-by: Anton Altaparmakov commit f696012330a67a60a9822ed48d1e9ecba73b4f18 tree 1d9b3a88950ff6cf00dfba98ebfa2c7d795cc132 parent 3abec857a0f7491b397a97337cc057b84a1d637a author Paul Mackerras Tue, 11 Oct 2005 22:10:49 +1000 committer Paul Mackerras Tue, 11 Oct 2005 22:10:49 +1000 ppc64: compile fix - define execve in misc.S This used to be inline in include/asm-ppc64/unistd.h, but isn't inline in the merged include/asm-powerpc/unistd.h, so we need a definition here. Signed-off-by: Paul Mackerras commit 3abec857a0f7491b397a97337cc057b84a1d637a tree c0bedb7865f7106c3854065be974d8a064281d29 parent fd582ec88eb8d2d907876603e4ecebe6eab330d9 author Paul Mackerras Tue, 11 Oct 2005 22:09:48 +1000 committer Paul Mackerras Tue, 11 Oct 2005 22:09:48 +1000 ppc64: Use merged versions of init_task.c and process.c. These two files are now built in arch/powerpc/kernel instead of arch/ppc64/kernel. Signed-off-by: Paul Mackerras commit fd582ec88eb8d2d907876603e4ecebe6eab330d9 tree bafacc1916098001051b8235722daa6b9b52e63a parent 35d81a4bfe28a6ea81c9f67c9ce40543124ded0b author Paul Mackerras Tue, 11 Oct 2005 22:08:12 +1000 committer Paul Mackerras Tue, 11 Oct 2005 22:08:12 +1000 ppc: Various minor compile fixes This fixes up a variety of minor problems in compiling with ARCH=ppc arising from using the merged versions of various header files. A lot of the changes are just adding #include to files that use ppc_md or smp_ops_t. This also arranges for us to use semaphore.c, vecemu.c, vector.S and fpu.S from arch/powerpc/kernel when compiling with ARCH=ppc. Signed-off-by: Paul Mackerras commit 35d81a4bfe28a6ea81c9f67c9ce40543124ded0b tree 43ed0161b53e0b4c620066c6b1c49d04b13188f5 parent cc5aa206d2c853929ce67d8f5ebb57cd1c7fd413 author Paul Mackerras Tue, 11 Oct 2005 22:03:09 +1000 committer Paul Mackerras Tue, 11 Oct 2005 22:03:09 +1000 ppc: Adapt to asm-powerpc/irq.h irq_canonicalize changes Now instead of having a ppc_md function, we just have a variable which says whether to do the i8259 irq canonicalization or not, and set that variable on the platforms that need that. It looks to me that radstone_ppc7d was trying to use irq canonicalization for something else in a broken kind of way - it will need to be fixed properly. Signed-off-by: Paul Mackerras commit 29d8699ebb1e8948a612306c69e6d9c4ef23342f tree f2378e8d2fbef7fc215a25acf2042b8965109e5e parent e9438250b635f7832e99a8c8d2e394dd1522ce65 parent 907a42617970a159361f17ef9a63f04d276995ab author Anton Altaparmakov Tue, 11 Oct 2005 09:29:48 +0100 committer Anton Altaparmakov Tue, 11 Oct 2005 09:29:48 +0100 Merge branch 'master' of /usr/src/ntfs-2.6/ commit cc5aa206d2c853929ce67d8f5ebb57cd1c7fd413 tree 2f054b386205b51cb8b3098e44b41a39e0d056cc parent abc244dd855a8013db8c850c21811c12a22b608a author Paul Mackerras Tue, 11 Oct 2005 17:35:20 +1000 committer Paul Mackerras Tue, 11 Oct 2005 17:35:20 +1000 powerpc: Remove debug messages from setup_64.c A bunch of printks were left in arch/powerpc/kernel/setup_64.c from when I was chasing a bug. This removes them. Signed-off-by: Paul Mackerras commit 1a04392bd6439876b1552793389cbb5be356ea54 tree 12af7b77e3b0848127f2d2871778c9c1f315578a parent 68399bb5080c1d96f2110b0a040b39d3ccd7a18a parent 3c92c2ba33cd7d666c5f83cc32aa590e794e91b0 author Jeff Garzik Tue, 11 Oct 2005 01:48:37 -0400 committer Jeff Garzik Tue, 11 Oct 2005 01:48:37 -0400 Merge branch 'master' commit 68399bb5080c1d96f2110b0a040b39d3ccd7a18a tree 678151c01ea0277c6f7d1a7c5fcc5a3ebe54997b parent edea3ab58f8edd5f72d31f891ab4f34382e97e3a author Jeff Garzik Tue, 11 Oct 2005 01:44:14 -0400 committer Jeff Garzik Tue, 11 Oct 2005 01:44:14 -0400 [libata pdc_adma] license update, minor cleanup from me: change from OSL+GPL to GPL (with approval) from Mark: Gets rid of an unneeded control bit, slightly increasing throughput. commit 4ca9c190d902caa7efb899a4c7fc8c6e6d926e95 tree 2c2cce67494a43c7cd35063435ac0d18a85dbe4d parent 34210f33025a3256b9ac3f0a182f02f1879140cb author Steve French Mon, 10 Oct 2005 19:52:13 -0700 committer Steve French Mon, 10 Oct 2005 19:52:13 -0700 [CIFS] Fix oops in experimental notify code (when CONFIG_CIFS_EXPERIMENTAL was turned on). Signed-off-by: Steve French commit abc244dd855a8013db8c850c21811c12a22b608a tree b4161fbe6b1eee7b525c4a21dfe3695cc80a617a parent 60a3d741780a883f4ce10c0fab99e8542ec65e04 author Paul Mackerras Tue, 11 Oct 2005 09:47:23 +1000 committer Paul Mackerras Tue, 11 Oct 2005 10:00:07 +1000 powerpc: Remove xmon.h include from arch/powerpc/platforms/powermac/pic.c ... since it isn't needed. Signed-off-by: Paul Mackerras commit 60a3d741780a883f4ce10c0fab99e8542ec65e04 tree 5c15375d6863c985fc70abe9be8a6f9279376ef6 parent 8d66912c3d12df45a59d4e2a66b5ae622e3524b7 author Paul Mackerras Tue, 11 Oct 2005 09:46:10 +1000 committer Paul Mackerras Tue, 11 Oct 2005 10:00:00 +1000 powerpc: Merged asm/xmon.h Xmon itself isn't merged yet, though. Signed-off-by: Paul Mackerras commit 8d66912c3d12df45a59d4e2a66b5ae622e3524b7 tree f5622827c0a68fe7ddfcc1274d46105ccf189f28 parent 3b341c1c410078bdc4128e08d4dfeef491697198 author Paul Mackerras Tue, 11 Oct 2005 09:33:08 +1000 committer Paul Mackerras Tue, 11 Oct 2005 09:59:53 +1000 powerpc: Remove 83xx from arch/powerpc/platforms/Makefile for now Since we don't have an 83xx directory or a 83xx/Makefile, having 83xx in causes make clean to fail. Signed-off-by: Paul Mackerras commit 3b341c1c410078bdc4128e08d4dfeef491697198 tree 49a769713c4e541829240cf04842413d2c372d62 parent 508c40227caee4cef0e963e61a3a5172a108b455 author Paul Mackerras Tue, 11 Oct 2005 09:28:16 +1000 committer Paul Mackerras Tue, 11 Oct 2005 09:59:44 +1000 powerpc: Merged asm/i8259.h Signed-off-by: Paul Mackerras commit 508c40227caee4cef0e963e61a3a5172a108b455 tree 2cec3435f5fec2f088d41d0d3f07dea54b278646 parent 20f629549b30a1154c8b5e830cb10a0c0faa875f author Paul Mackerras Tue, 11 Oct 2005 09:26:48 +1000 committer Paul Mackerras Tue, 11 Oct 2005 09:59:38 +1000 powerpc: Merged asm/backlight.h Signed-off-by: Paul Mackerras commit 20f629549b30a1154c8b5e830cb10a0c0faa875f tree 39ea48bbdb63a9a3d43f477e28de019d44100da7 parent 3c3f42d63a11f2e22dbff6bb4d170f92dbd39316 author Paul Mackerras Tue, 11 Oct 2005 09:25:40 +1000 committer Paul Mackerras Tue, 11 Oct 2005 09:59:32 +1000 powerpc: Make building the boot image work for both 32-bit and 64-bit At the moment we don't have a merged arch/powerpc/boot, so we build the boot images in arch/ppc/boot and arch/ppc64/boot. Unfortunately the makefile targets are different in those two directories, so this makes a change to accommodate both for the moment. Signed-off-by: Paul Mackerras commit edea3ab58f8edd5f72d31f891ab4f34382e97e3a tree 28762fa95419037ed0b6aa8062334b45d7917bc7 parent 3d3467f0fdf61a421361c00cf84fcf0f1a6dc1e8 author Mark Lord Mon, 10 Oct 2005 17:53:58 -0400 committer Jeff Garzik Mon, 10 Oct 2005 17:53:58 -0400 libata: add new driver pdc_adma for PDC ADMA ATA cards commit 34210f33025a3256b9ac3f0a182f02f1879140cb tree 8990de96d44d121e42475f70094cfdc8066c1041 parent 9e2e85f82fa280e937ee42152e7cbaff78be01a2 author Steve French Mon, 10 Oct 2005 14:31:13 -0700 committer Steve French Mon, 10 Oct 2005 14:31:13 -0700 [CIFS] Still missing a line from previous fix Signed-off-by: Steve French (sfrench@us.ibm.com) commit 9e2e85f82fa280e937ee42152e7cbaff78be01a2 tree 9613f8c41ddbbdfff180034945e14e6fffc8292c parent b387eaeb666f6a5e24990a1f4d6a0447ae14315d author Steve French Mon, 10 Oct 2005 14:28:38 -0700 committer Steve French Mon, 10 Oct 2005 14:28:38 -0700 [CIFS] Fix minor build problem with previous changeset Signed-off-by: Steve French commit b387eaeb666f6a5e24990a1f4d6a0447ae14315d tree cf79a1fe2e47e599b3ec8cf0ea1b56b3f9c1cf58 parent 5e1253b50111220f06ee13bc4e555d89ff39176b author Steve French Mon, 10 Oct 2005 14:21:15 -0700 committer Steve French Mon, 10 Oct 2005 14:21:15 -0700 [CIFS] Do not shrink tcp sndbuf/rcvbuf from their defaults Signed-off-by: Steve French commit 5e1253b50111220f06ee13bc4e555d89ff39176b tree 3386f365db264fad206e9e019025aab1e6a5f8fa parent 02c37a6df558fb8768c4c8ae792e86e9abf2d733 author Steve French Mon, 10 Oct 2005 14:06:37 -0700 committer Steve French Mon, 10 Oct 2005 14:06:37 -0700 [CIFS] Correct cifs tcp retry when some data sent before getting EAGAIN. Continue implementation of cifs umount begin to allow force unmounts of cifs mounts. Signed-off-by: Steve French commit 02c37a6df558fb8768c4c8ae792e86e9abf2d733 tree fbd38b7129884ce702f10b023b7e2f00c65be31c parent 190fdeb84499a2dc046adae2eebfdda49e315e96 author Steve French Mon, 10 Oct 2005 11:49:37 -0700 committer Steve French Mon, 10 Oct 2005 11:49:37 -0700 [CIFS] Update cifs version to 1.38 Signed-off-by: Steve French commit 190fdeb84499a2dc046adae2eebfdda49e315e96 tree a8a84acaeabf0e92d965faf415702a3c37646fe7 parent 0ae0efada36219024e4e3008f16c993d5d091280 author Steve French Mon, 10 Oct 2005 11:48:26 -0700 committer Steve French Mon, 10 Oct 2005 11:48:26 -0700 [CIFS] Fix byte range locking to Windows when Windows server returns illegal RFC1001 length (which had caused the lock to block forever until killed). commit 0ae0efada36219024e4e3008f16c993d5d091280 tree 65e5f46068b31f3d5163e34eec578753f8f99117 parent 68058e757573d4e81550e74c5a03a29a29069ce7 author Steve French Mon, 10 Oct 2005 10:57:19 -0700 committer Steve French Mon, 10 Oct 2005 10:57:19 -0700 [CIFS] Fix rsize calculation so that large readx flag is checked. Signed-off-by: Steve French (sfrench@us.ibm.com) commit 68058e757573d4e81550e74c5a03a29a29069ce7 tree d8c6c318e2e486ae707a22915983afd512f38b51 parent 131afd0b748e382c3a00355d3fa245801f929298 author Steve French Mon, 10 Oct 2005 10:34:22 -0700 committer Steve French Mon, 10 Oct 2005 10:34:22 -0700 [CIFS] Reduce CIFS tcp congestion timeout (it was too long) and backoff ever longer amounts (up to 15 seconds). This improves performance especially when using large wsize. Signed-off-by: Steve French (sfrench@us.ibm.com) commit 3c3f42d63a11f2e22dbff6bb4d170f92dbd39316 tree 2619d63e6d49480b55de02044a75f8c843dbd811 parent e574d238ab907963ae6f97cb6bf12bb8fd48c376 author Paul Mackerras Mon, 10 Oct 2005 22:58:41 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:58:41 +1000 powerpc: Start merging 64-bit support into powermac files Signed-off-by: Paul Mackerras commit e574d238ab907963ae6f97cb6bf12bb8fd48c376 tree 038a29b3ec5d61a6f5cb3f17ae671ea6471eeb47 parent c5200c90db3823a6e2f529acf202c4aed04966ae author Paul Mackerras Mon, 10 Oct 2005 22:58:10 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:58:10 +1000 powerpc: Fix compilation for 32-bit configs Signed-off-by: Paul Mackerras commit c5200c90db3823a6e2f529acf202c4aed04966ae tree 823caccd6dd7d7bf90d5f0c33704622cc41f106e parent eef289f79c03ba5ca197e2ac1e33906175f01c39 author Paul Mackerras Mon, 10 Oct 2005 22:57:03 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:57:03 +1000 powerpc: Fix off-by-one error in prom_init.c This was preventing us from recognizing that we did actually instantiate RTAS successfully on pSeries. Signed-off-by: Paul Mackerras commit eef289f79c03ba5ca197e2ac1e33906175f01c39 tree 4e41114811c65aeac28e07f4bae4fdee1e2312be parent 1b92313d5ba993bb6e38a6205ccc64a7595cd0a6 author Paul Mackerras Mon, 10 Oct 2005 22:56:11 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:56:11 +1000 powerpc: Merge asm/unistd.h Signed-off-by: Paul Mackerras commit 1b92313d5ba993bb6e38a6205ccc64a7595cd0a6 tree e863dc92dc4959f5b4d9aaf3d2b490f16c1c9920 parent 76f9f87fa51c9fb62c17986e2066ed467ac2da05 author Paul Mackerras Mon, 10 Oct 2005 22:54:57 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:54:57 +1000 powerpc: Merge asm/irq.h Signed-off-by: Paul Mackerras commit 76f9f87fa51c9fb62c17986e2066ed467ac2da05 tree 7e9d351fe87d543b4054a2869718d4b6370b6a29 parent 40ef8cbc6d360e564573eb19582249c35d8ba330 author Paul Mackerras Mon, 10 Oct 2005 22:52:26 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:52:26 +1000 powerpc: Get iseries to compile with ARCH=powerpc This moves the Device_List member from struct device_node to struct pci_dn, which cleans up the device_node and makes the code a little simpler. Signed-off-by: Paul Mackerras commit 40ef8cbc6d360e564573eb19582249c35d8ba330 tree abba70b7da8bef93a87431691dc8df79eb4425d5 parent bc6f8a4b199156897f6eb5b70bf5c1a4773f4e2b author Paul Mackerras Mon, 10 Oct 2005 22:50:37 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:50:37 +1000 powerpc: Get 64-bit configs to compile with ARCH=powerpc This is a bunch of mostly small fixes that are needed to get ARCH=powerpc to compile for 64-bit. This adds setup_64.c from arch/ppc64/kernel/setup.c and locks.c from arch/ppc64/lib/locks.c. Signed-off-by: Paul Mackerras commit bc6f8a4b199156897f6eb5b70bf5c1a4773f4e2b tree 03ab5936f5924b7773b3ad5c486454bf66ab76af parent 5a408329ed19cf2a80e831d28cbd93d2e36155a6 author Paul Mackerras Mon, 10 Oct 2005 22:45:07 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:45:07 +1000 powerpc: move lparmap.c to arch/powerpc/kernel Since lparmap.s gets included in arch/powerpc/kernel/head_64.S, this avoids depending on a file in another directory. Signed-off-by: Paul Mackerras commit 5a408329ed19cf2a80e831d28cbd93d2e36155a6 tree dc5ae749f1da14819ef6947893b0c4f2d9e1ed1c parent 4a2885630bc0735e573bced7001dae9750cb80d5 author Paul Mackerras Mon, 10 Oct 2005 22:41:25 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:41:25 +1000 powerpc: Fix bug caused by negation of 64-bit reloc_offset value Although both ppc32 and ppc64 have a reloc_offset function, the ppc64 one produced the opposite sign to the ppc32 one. This standardizes on the ppc32 sign and fixes the merged 64-bit code to account for that. Signed-off-by: Paul Mackerras commit 4a2885630bc0735e573bced7001dae9750cb80d5 tree 181fa3cc5a8923b753f842f33f8108ba71e2452c parent 8641778049e75c1da66e66441a6d8b7a2069f607 author Paul Mackerras Mon, 10 Oct 2005 22:38:46 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:38:46 +1000 powerpc: Reduce the 32/64-bit diffs in vmlinux.lds.S Also adds the definition of the _sdata symbol to the ppc64 vmlinux.lds.S. Signed-off-by: Paul Mackerras commit 8641778049e75c1da66e66441a6d8b7a2069f607 tree e3e134f23e1c1926538509a05ab2780a7656790a parent b42b661745c8d78cd3483752fb22cc7420c67f74 author Paul Mackerras Mon, 10 Oct 2005 22:37:57 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:37:57 +1000 powerpc: Reduce the 32/64-bit differences in traps.c Signed-off-by: Paul Mackerras commit b42b661745c8d78cd3483752fb22cc7420c67f74 tree 8b1d74f22cce3613039df205d19da912230e21bc parent 9994a33865f4d55c44c9731c01e1f891543278de author Paul Mackerras Mon, 10 Oct 2005 22:37:16 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:37:16 +1000 powerpc: Make prom_init.c suitable for both 32-bit and 64-bit Signed-off-by: Paul Mackerras commit 9994a33865f4d55c44c9731c01e1f891543278de tree 77d8fe580493dbf9ce1820a703c482fba291b6b9 parent 06d67d54741a5bfefa31945ef195dfa748c29025 author Paul Mackerras Mon, 10 Oct 2005 22:36:14 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:36:14 +1000 powerpc: Introduce entry_{32,64}.S, misc_{32,64}.S, systbl.S The system call table has been consolidated into systbl.S. We have separate 32-bit and 64-bit versions of entry.S and misc.S since the code is mostly sufficiently different to be not worth merging. There are some common bits that will be extracted in future. Signed-off-by: Paul Mackerras commit 06d67d54741a5bfefa31945ef195dfa748c29025 tree ee47a8b2f86d927c930da5120659c086f9b5dc55 parent daec962e27490be4fae9ab5a51d0c17f6e638715 author Paul Mackerras Mon, 10 Oct 2005 22:29:05 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:29:05 +1000 powerpc: make process.c suitable for both 32-bit and 64-bit Signed-off-by: Paul Mackerras commit daec962e27490be4fae9ab5a51d0c17f6e638715 tree 86044d794f5406dcdcca5e6827607782d7c27ab1 parent b3b8dc6c07cecc1f8d52d03f677206bdf9f794c9 author Paul Mackerras Mon, 10 Oct 2005 22:25:26 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:25:26 +1000 powerpc: Use arch/powerpc/mm and arch/powerpc/lib for 64-bit This also puts a copy of indirect_pci.c in arch/powerpc/sysdev so that we don't need to build in arch/ppc/syslib. Signed-off-by: Paul Mackerras commit b3b8dc6c07cecc1f8d52d03f677206bdf9f794c9 tree 5d5c3ac4de563d03759d98399030aac00be33023 parent ff64208df7eb17c5526197449762ff5e04a95de6 author Paul Mackerras Mon, 10 Oct 2005 22:20:10 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:20:10 +1000 powerpc: Use reg.h instead of processor.h when we just want reg names Now that the register names and bit definitions are all in reg.h, use that instead of processor.h in assembly code in a few places. Signed-off-by: Paul Mackerras commit ff64208df7eb17c5526197449762ff5e04a95de6 tree b977f1868464d7486786ad81660e4620c6b4fd5d parent f6d57916db2009bd7e220472200cd131fc010d64 author Paul Mackerras Mon, 10 Oct 2005 22:15:52 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:15:52 +1000 powerpc: Merge Kconfig.debug This merges in the ppc64 bits into arch/powerpc/Kconfig.debug Signed-off-by: Paul Mackerras commit f6d57916db2009bd7e220472200cd131fc010d64 tree 2a8fc645864920c45e2cd12dc5cf88a09da6aebb parent c17e3325ba603642922219b19623764ba5280ad4 author Paul Mackerras Mon, 10 Oct 2005 22:13:53 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:13:53 +1000 powerpc: rename powermac files to remove pmac_ prefix Since the files are now in arch/powerpc/platforms/powermac, the pmac_ prefix that they had is redundant. Signed-off-by: Paul Mackerras commit c17e3325ba603642922219b19623764ba5280ad4 tree bbff7a04b07b77d7bb4effed7dfc7dbf450f2d88 parent 69a80d3f69d0b2d7fae5a73c6e034d402d434d8a author Paul Mackerras Mon, 10 Oct 2005 22:07:35 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:07:35 +1000 ppc64: Use SPRN_ prefix for special purpose register names Now that we are using the merged reg.h we have to use the SPRN_xxx names rather than the xxx names. Signed-off-by: Paul Mackerras commit 69a80d3f69d0b2d7fae5a73c6e034d402d434d8a tree dd66f34510eae791a04c8dd77ce77a223b2f46d6 parent ab1f9dac6eea25ee59e4c8e1cf0b7476afbbfe07 author Paul Mackerras Mon, 10 Oct 2005 22:03:41 +1000 committer Paul Mackerras Mon, 10 Oct 2005 22:03:41 +1000 powerpc: move pSeries files to arch/powerpc/platforms/pseries Signed-off-by: Paul Mackerras commit ab1f9dac6eea25ee59e4c8e1cf0b7476afbbfe07 tree 03577652197b5e58c348ede3c474bc8dd47e046c parent 70d64ceaa1a84d2502405422a4dfd3f87786a347 author Paul Mackerras Mon, 10 Oct 2005 21:58:35 +1000 committer Paul Mackerras Mon, 10 Oct 2005 21:58:35 +1000 powerpc: Merge arch/ppc64/mm to arch/powerpc/mm This moves the remaining files in arch/ppc64/mm to arch/powerpc/mm, and arranges that we use them when compiling with ARCH=ppc64. Signed-off-by: Paul Mackerras commit 70d64ceaa1a84d2502405422a4dfd3f87786a347 tree 23e38168021988d34b11c6f41cfff82f8095092e parent a432403a89646614252c3bb6dfbe897c8312ab35 author Paul Mackerras Mon, 10 Oct 2005 21:52:43 +1000 committer Paul Mackerras Mon, 10 Oct 2005 21:52:43 +1000 powerpc: Rename files to have consistent _32/_64 suffixes This doesn't change any code, just renames things so we consistently have foo_32.c and foo_64.c where we have separate 32- and 64-bit versions. Signed-off-by: Paul Mackerras commit a432403a89646614252c3bb6dfbe897c8312ab35 tree f646814ab9c75374533abfe9c2182e4b08a0606c parent 9f04b9e327c495f8ddbf89c08da6cbe626e1b1b3 author Paul Mackerras Mon, 10 Oct 2005 20:49:07 +1000 committer Paul Mackerras Mon, 10 Oct 2005 20:49:07 +1000 ppc64: Use the merged lmb routines The only real change here is that lmb_enforce_memory_limit now takes the memory_limit as a parameter instead of as a global variable. Signed-off-by: Paul Mackerras commit 9f04b9e327c495f8ddbf89c08da6cbe626e1b1b3 tree 381e9786b837085bd555c705542047f54cd2beab parent b60fc8bbd2d0ea2a9b1fc7271d521fcf47f27bfd author Paul Mackerras Mon, 10 Oct 2005 14:19:43 +1000 committer Paul Mackerras Mon, 10 Oct 2005 14:19:43 +1000 powerpc: Merged processor.h. This adds register definitions from the ppc64 processor.h to reg.h, and makes a single merged processor.h. I moved __is_processor from the ppc64 system.h to the merged reg.h along with the PVR register constants. Signed-off-by: Paul Mackerras commit b60fc8bbd2d0ea2a9b1fc7271d521fcf47f27bfd tree bd3fb544fc6ea9484fddb6ba6e05f1027b8b0c63 parent b5bbeb23732196558222a2827092f5b7be8a7945 author Paul Mackerras Mon, 10 Oct 2005 14:14:55 +1000 committer Paul Mackerras Mon, 10 Oct 2005 14:14:55 +1000 powerpc: Make some #includes explicit. In preparation for merging processor.h, this adds some explicit but won't be after the merge. Signed-off-by: Paul Mackerras commit b5bbeb23732196558222a2827092f5b7be8a7945 tree d367c3c0c52e9db865c2ceaecc32498a65337c7b parent 05f62a5c049845eab8dfb3aeda55c18a2d4396e3 author Paul Mackerras Mon, 10 Oct 2005 14:01:07 +1000 committer Paul Mackerras Mon, 10 Oct 2005 14:01:07 +1000 powerpc: Use SPRN_xxx rather than xxx for SPR numbers This changes symbols like HID0, SPRG3, SRR0, SRR1 etc. that refer to special purpose registers to SPRN_HID0, SPRN_SPRG3, etc. Using the SPRN_ symbols clutters the namespace less, and the forthcoming merge of asm/processor.h and asm/reg.h is going to remove the non-SPRN_ versions. Signed-off-by: Paul Mackerras commit 3d3467f0fdf61a421361c00cf84fcf0f1a6dc1e8 tree 9941b526bac21cb7445c75fe8edf995659c93780 parent e710245bb0f980adfb1dfe850e43761a8117c6be parent 042c21fd2c3aa553907020131caa553a9da24589 author Jeff Garzik Sun, 09 Oct 2005 10:54:30 -0400 committer Jeff Garzik Sun, 09 Oct 2005 10:54:30 -0400 Merge branch 'sil24' commit 422fa08e538b649a9b80258950d2f8a202f45f19 tree 85fd3f5f5e47783622157c0aa84d7c19b7a47eeb parent ffe75ef650e1aec26a84bd82a620b5e27df9ed34 author Jeff Garzik Sun, 09 Oct 2005 10:49:34 -0400 committer Jeff Garzik Sun, 09 Oct 2005 10:49:34 -0400 [libata passthru] update ATAPI completion for new error handling commit ffe75ef650e1aec26a84bd82a620b5e27df9ed34 tree 8ed31fa093cbf6f6d6142e0e2118bee26aa71fa7 parent 9dc263239bb2cfeb242d8ef758fca66a968822d5 parent e710245bb0f980adfb1dfe850e43761a8117c6be author Jeff Garzik Sun, 09 Oct 2005 10:40:44 -0400 committer Jeff Garzik Sun, 09 Oct 2005 10:40:44 -0400 Merge branch 'upstream' commit 9dc263239bb2cfeb242d8ef758fca66a968822d5 tree 70c0c46fa6f01740c776ae24bc0874a8d97df222 parent 0e5dec478cfff2c29e68d1108ff828fa321adc59 parent 829841146878e082613a49581ae252c071057c23 author Jeff Garzik Sun, 09 Oct 2005 10:33:02 -0400 committer Jeff Garzik Sun, 09 Oct 2005 10:33:02 -0400 Merge branch 'master' commit e710245bb0f980adfb1dfe850e43761a8117c6be tree f74e4253af1649bd1ce5291f24c7ac8f78d31f8a parent ae00651020413bd7eb5fa3bd0abbd78d7cf1abb2 author Andy Currid Fri, 07 Oct 2005 08:53:39 -0700 committer Jeff Garzik Sun, 09 Oct 2005 09:38:28 -0400 [PATCH] Fix sata_nv handling of NVIDIA MCP51/55 Patch to fix sata_nv handling of NVIDIA MCP51/55 Signed-off-by: Andy Currid Signed-off-by: Jeff Garzik commit 042c21fd2c3aa553907020131caa553a9da24589 tree d2118086e12bb88f21d1fc0129e170d49b9b35ef parent 1fcce839a541ffcd50da99a1bfdfea594be0e3d3 author Tejun Heo Sun, 09 Oct 2005 09:35:46 -0400 committer Jeff Garzik Sun, 09 Oct 2005 09:35:46 -0400 [libata sata_sil24] add support for 3131/3531 This patch adds support for sil_3131 and sil_3531. Both are identical to 3124 except that they have only one port. Bits 30 and 31 of ata_port_info->host_flags is used to encode available port numbers. Version number is bumped to 0.22. Edward Falk supplied all the necessary information and preliminary patch. Signed-off-by: Tejun Heo commit 1fcce839a541ffcd50da99a1bfdfea594be0e3d3 tree 6b3aa2760497d63714e7742dc1bd213c5117b193 parent 7f726d125d570f38b9e7c8a2decebc39c0a343dc author Tejun Heo Sun, 09 Oct 2005 09:31:33 -0400 committer Jeff Garzik Sun, 09 Oct 2005 09:31:33 -0400 [libata sata_sil24] nit pickings This patch removes unused NR_PORTS macro and adds termination entry to sil24_pci_tbl. Signed-off-by: Tejun Heo commit ae00651020413bd7eb5fa3bd0abbd78d7cf1abb2 tree d30e0682d43a81803254cf4ae33a1f21bc1de207 parent 845c5834d0aa60eb1588397696e7fabbaab2d3b0 author Douglas Gilbert Sun, 09 Oct 2005 09:09:35 -0400 committer Jeff Garzik Sun, 09 Oct 2005 09:09:35 -0400 [libata scsi] improve scsi error handling with ata_scsi_set_sense() - change "xlat" and "fill" actors in libata-scsi so they are responsible for SCSI status and sense data when they return 1. This allows GOOD status or a specialized error to be set. - yield an error for mode sense requests for saved values [sat-r06] - remove static inlines for ata_bad_scsiop() and ata_bad_cdb() which are no longer used Signed-off-by: Douglas Gilbert Signed-off-by: Jeff Garzik commit 845c5834d0aa60eb1588397696e7fabbaab2d3b0 tree 963d4a2c132273cf6df68a3846326a08cdbe17f4 parent d95300758bed9e0f783f3e3b4fd037bf0a21abe0 author Douglas Gilbert Sun, 09 Oct 2005 08:55:41 -0400 committer Jeff Garzik Sun, 09 Oct 2005 08:55:41 -0400 [libata scsi] add ata_scsi_set_sense helper - add extern ata_scsi_set_sense() to build SCSI fixed sense data and corresponding SCSI status Signed-off-by: Douglas Gilbert Signed-off-by: Jeff Garzik commit d95300758bed9e0f783f3e3b4fd037bf0a21abe0 tree 994823b6e0b88597eded79f9eeb0f44b580c89e5 parent e12669e774be403c84baa651306d305752a35cd8 parent 829841146878e082613a49581ae252c071057c23 author Jeff Garzik Sat, 08 Oct 2005 03:31:22 -0400 committer Jeff Garzik Sat, 08 Oct 2005 03:31:22 -0400 Merge branch 'master' commit 131afd0b748e382c3a00355d3fa245801f929298 tree 1581222aa48c6610877b3cc3bd5a4d275a6a68cd parent dd99cd803d460576cf84f012786ff39814b73f7f author Steve French Fri, 07 Oct 2005 09:51:05 -0700 committer Steve French Fri, 07 Oct 2005 09:51:05 -0700 [CIFS] /proc/fs/cifs debug code cleanup and new stats2 These changes to debug code and new stats are helpful in debugging potential tcp performance/configuration problems under cifs. Signed-off-by: Steve French commit 7f726d125d570f38b9e7c8a2decebc39c0a343dc tree f7a830e7c93d0c182f8f2f5942f9c30d320dfd42 parent 6a575fa969beeddd0859f9e9d26ab16c6a0d8d6a author Tejun Heo Fri, 07 Oct 2005 01:43:19 +0900 committer Jeff Garzik Thu, 06 Oct 2005 13:15:02 -0400 [PATCH] sil24: implement tf_read callback Hello, guys. This patch implements ->tf_read callback for sil24. It didn't use to be necessary but new ata_gen_fixed_sense now makes use of ->tf_read callback. This patch is taken from Edward Falk's driver. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 0e5dec478cfff2c29e68d1108ff828fa321adc59 tree 8daeaf1a20138ecfae874578ee77bb62a9b496fb parent 54dac83c426a1a03bd139c5ac7e938890bd2693e author Jeff Garzik Thu, 06 Oct 2005 09:40:20 -0400 committer Jeff Garzik Thu, 06 Oct 2005 09:40:20 -0400 [libata passthru] add (DRIVER_SENSE << 24) to all check-conditions commit 6a575fa969beeddd0859f9e9d26ab16c6a0d8d6a tree 1472f5274023ca59eaff611e485ba6db2d0052bd parent 46b93e7bce80a08ea07e250d03b0b596cbd32595 author Tejun Heo Thu, 06 Oct 2005 11:43:39 +0900 committer Jeff Garzik Thu, 06 Oct 2005 05:51:24 -0400 [PATCH] sil24: implement proper TF register reading & caching 03_sil24_add-tf-reading.patch This patch implements proper TF register reading back and caching and bumps up version to 0.22. This is taken from Edward's driver. Signed-off-by: Tejun Heo sata_sil24.c | 50 +++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 45 insertions(+), 5 deletions(-) Signed-off-by: Jeff Garzik commit 46b93e7bce80a08ea07e250d03b0b596cbd32595 tree d140cda3f6acebcfc8d85907114747c6a8468975 parent ad6e90f6d0c4243cc35e07e2681a3323af533ce4 author Tejun Heo Thu, 06 Oct 2005 11:43:34 +0900 committer Jeff Garzik Thu, 06 Oct 2005 05:51:24 -0400 [PATCH] sil24: remove CMDERR clearing 02_sil24_remove-cmderr-clearing.patch CMDERR register doesn't need clearing. This is from Edward's driver. Signed-off-by: Tejun Heo sata_sil24.c | 4 ---- 1 file changed, 4 deletions(-) Signed-off-by: Jeff Garzik commit ad6e90f6d0c4243cc35e07e2681a3323af533ce4 tree 3f9af49242301e69b43e1bb151d173f2152cf310 parent 012e060c95e547eceea4a12c6f58592473bf4011 author Tejun Heo Thu, 06 Oct 2005 11:43:29 +0900 committer Jeff Garzik Thu, 06 Oct 2005 05:51:24 -0400 [PATCH] sil24: ignore non-error exception irqs 01_sil24_ignore-non-error-exception-irqs.patch Do not error-finish commands for non-error exception irqs - just ignore them. This is taken from Edward's driver. Signed-off-by: Tejun Heo sata_sil24.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) Signed-off-by: Jeff Garzik commit 012e060c95e547eceea4a12c6f58592473bf4011 tree b57d3eafb50ce517577d2cf366c9ef0b4b286589 parent 923f122573851d18a3832ca808269fa2d5046fb1 parent ed39f731ab2e77e58122232f6e27333331d7793d author Jeff Garzik Thu, 06 Oct 2005 05:51:07 -0400 committer Jeff Garzik Thu, 06 Oct 2005 05:51:07 -0400 Merge branch 'master' commit 05f62a5c049845eab8dfb3aeda55c18a2d4396e3 tree 3d64d5e6af8e66ee53a2664301cb45bd48c4bb7f parent c16ff7e44883afc05cbf6fde0e6913bb10c66885 author Paul Mackerras Thu, 06 Oct 2005 13:29:24 +1000 committer Paul Mackerras Thu, 06 Oct 2005 13:29:24 +1000 powerpc: Fix idle.c compile warning This fixes a compile warning when using arch/ppc/kernel/idle.c in a merged (ARCH=powerpc) kernel. Signed-off-by: Paul Mackerras commit c16ff7e44883afc05cbf6fde0e6913bb10c66885 tree 1d6f4ff838d08db5798852cca5cf7a1fdd2c391b parent 8dad3f9257414f151cd821bfe01f54d7f52d2507 author Paul Mackerras Thu, 06 Oct 2005 13:28:31 +1000 committer Paul Mackerras Thu, 06 Oct 2005 13:28:31 +1000 powerpc: Define a _sdata symbol This is needed by arch/powerpc/mm/mem.c now. Signed-off-by: Paul Mackerras commit 8dad3f9257414f151cd821bfe01f54d7f52d2507 tree 2d9d5285eda91bbfbf3acf6f7f550ca69abfb985 parent b3491269f5604e4265ee2f27b47a76ce1e3678b6 author Paul Mackerras Thu, 06 Oct 2005 13:27:05 +1000 committer Paul Mackerras Thu, 06 Oct 2005 13:27:05 +1000 powerpc: Merge traps.c a bit more This reduces the differences between ppc32 and ppc64 in arch/powerpc/kernel/traps.c a bit further. Signed-off-by: Paul Mackerras commit b3491269f5604e4265ee2f27b47a76ce1e3678b6 tree 671e3135c697ff680d6d8a4cced7563cd5cf75db parent 2e686bc3bf6268e30eb9584e0bcd43b7bec28f3b author Paul Mackerras Thu, 06 Oct 2005 13:24:50 +1000 committer Paul Mackerras Thu, 06 Oct 2005 13:24:50 +1000 powerpc: Use the merged of_device.c with ARCH=powerpc Also compile btext.c with -fPIC; this was missed before. Signed-off-by: Paul Mackerras commit 2e686bc3bf6268e30eb9584e0bcd43b7bec28f3b tree ec000e3c6528e3edfcd0e03a3950ffee909ae8c6 parent 187a00679ad51dfb3d3e74620217417102784218 author Paul Mackerras Thu, 06 Oct 2005 13:22:17 +1000 committer Paul Mackerras Thu, 06 Oct 2005 13:22:17 +1000 powerpc: Merge of_device.c and of_device.h Signed-off-by: Paul Mackerras commit 187a00679ad51dfb3d3e74620217417102784218 tree 86791b7ff7ec55160dd9c2daed1b53d3730e5a29 parent 7c8c6b9776fb41134d87ef50706a777a45d61cd4 author Paul Mackerras Thu, 06 Oct 2005 12:49:05 +1000 committer Paul Mackerras Thu, 06 Oct 2005 12:49:05 +1000 powerpc: Remove 64-bit cpu support from ppc32. These days there is no good reason to run a ppc32 kernel on a 64-bit cpu, rather than a ppc64 kernel, so remove the config option and a bunch of code (and ifdefs) from head.S. Signed-off-by: Paul Mackerras commit dd99cd803d460576cf84f012786ff39814b73f7f tree 5804212dea596d82bb561624a6e7c868c27bc2f3 parent 4a77118cd5018fec11bf86f6f8d659352ad9a92b author Steve French Wed, 05 Oct 2005 19:32:49 -0700 committer Steve French Wed, 05 Oct 2005 19:32:49 -0700 [CIFS] cleanup sparse and compile errors in previous fix Signed-off-by: Steve French (sfrench@us.ibm.com) commit 7c8c6b9776fb41134d87ef50706a777a45d61cd4 tree 5f3cc71e34bc244d53364e103a9746bfe92da9ae parent 9b6b563c0d2d25ecc3111916031aa7255543fbfb author Paul Mackerras Thu, 06 Oct 2005 12:23:33 +1000 committer Paul Mackerras Thu, 06 Oct 2005 12:23:33 +1000 powerpc: Merge lmb.c and make MM initialization use it. This also creates merged versions of do_init_bootmem, paging_init and mem_init and moves them to arch/powerpc/mm/mem.c. It gets rid of the mem_pieces stuff. I made memory_limit a parameter to lmb_enforce_memory_limit rather than a global referenced by that function. This will require some small changes to ppc64 if we want to continue building ARCH=ppc64 using the merged lmb.c. Signed-off-by: Paul Mackerras commit 9b6b563c0d2d25ecc3111916031aa7255543fbfb tree 07fd029308055461caa157d15a88c01861efc6bb parent b85a046af3a260e079505e8023ccd10e01cf4f2b author Paul Mackerras Thu, 06 Oct 2005 12:06:20 +1000 committer Paul Mackerras Thu, 06 Oct 2005 12:06:20 +1000 powerpc: Merge in the ppc64 version of the prom code. This brings in the ppc64 version of prom_init.c, prom.c and btext.c and makes them work for ppc32. This also brings in the new calling convention, where the first entry to the kernel (with r5 != 0) goes to the prom_init code, which then restarts from the beginning (with r5 == 0) after it has done its stuff. For now this also brings in the ppc32 version of setup.c. It also merges lmb.h. Signed-off-by: Paul Mackerras commit b85a046af3a260e079505e8023ccd10e01cf4f2b tree 2f5f1af4db85fca6fc88902840463b107721cb14 parent 6ce52e6438fd2921891648ceab700d9b867e5ed2 author Paul Mackerras Thu, 06 Oct 2005 10:59:19 +1000 committer Paul Mackerras Thu, 06 Oct 2005 10:59:19 +1000 powerpc: Define 32/64 bit asm macros and use them in fpu.S These macros help in writing assembly code that works for both ppc32 and ppc64. With this we now have a common fpu.S. This takes out load_up_fpu from head_64.S. Signed-off-by: Paul Mackerras commit e12669e774be403c84baa651306d305752a35cd8 tree d0ce83e8f41f6eb09e1a3771337bb7cd8c4ed0f9 parent 8a70f8dc08dd40b7f8ac77280eaa99a8c6bc46f4 author Jeff Garzik Wed, 05 Oct 2005 18:39:23 -0400 committer Jeff Garzik Wed, 05 Oct 2005 18:39:23 -0400 libata: minor cleanups A few code shuffles, to make merging future code easier. Add (DRIVER_SENSE << 24) to certain result codes, as noted by Douglas Gilbert. commit 4a77118cd5018fec11bf86f6f8d659352ad9a92b tree eab48dadfdf7398815b2bba5de93ff2332727386 parent 37c0eb4677f733a773df6287b0f73f00274402e3 author Steve French Wed, 05 Oct 2005 15:14:33 -0700 committer Steve French Wed, 05 Oct 2005 15:14:33 -0700 CIFS: Allow wsize to exceed CIFSMaxBufSize This allows cifs_writepages to send data in larger chunks from the page cache, without requiring larger memory allocations in other cases. Signed-off-by: Dave Kleikamp Signed-off-by: Steve French commit 37c0eb4677f733a773df6287b0f73f00274402e3 tree 29d6da2f609bdc22316b24aca866ad2ee2093959 parent 6148a742b2bd76abfe0c1fc50dd747cb9f28cd6b author Steve French Wed, 05 Oct 2005 14:50:29 -0700 committer Steve French Wed, 05 Oct 2005 14:50:29 -0700 CIFS: implement cifs_writepages to perform multi-page I/O Signed-off-by: Dave Kleikamp Signed-off-by: Steve French commit 8a70f8dc08dd40b7f8ac77280eaa99a8c6bc46f4 tree a581d2372074c4ddedee1888822b832f3d8c8bc7 parent 05b308e1df6d9d673daedb517969241f41278b52 author Jeff Garzik Wed, 05 Oct 2005 17:19:47 -0400 committer Jeff Garzik Wed, 05 Oct 2005 17:19:47 -0400 [libata sata_mv] fix warning shuffle ifdef location to fix the following warning: drivers/scsi/sata_mv.c:471: warning: 'mv_dump_mem' defined but not used commit 05b308e1df6d9d673daedb517969241f41278b52 tree b7114fdbddb7fef974744a5281896c9e6bf6c1d4 parent afb0edd922c7ed6e73678730921dfcccebec17e8 author Brett Russ Wed, 05 Oct 2005 17:08:53 -0400 committer Jeff Garzik Wed, 05 Oct 2005 17:16:52 -0400 [PATCH] libata: Marvell function headers adds helpful function header comments. Signed-off-by: Brett Russ Signed-off-by: Jeff Garzik commit afb0edd922c7ed6e73678730921dfcccebec17e8 tree cbe655b60569c7a649da8f1b8d6527aa1fca8322 parent a939c9631527053aa38aa8795a6f7203c7f20b69 author Brett Russ Wed, 05 Oct 2005 17:08:42 -0400 committer Jeff Garzik Wed, 05 Oct 2005 17:16:52 -0400 [PATCH] libata: Marvell spinlock fixes and simplification This should fix up lockups that people were seeing due to improper spinlock placement. Also, the start/stop DMA routines put guarded trust in the cached state of DMA. Signed-off-by: Brett Russ Signed-off-by: Jeff Garzik commit a939c9631527053aa38aa8795a6f7203c7f20b69 tree ef7aabee7439909153ef05f2651d8f456dd39ce1 parent a15dbeb4772626a015337dea06da67095aec3862 author Jeff Garzik Wed, 05 Oct 2005 17:09:16 -0400 committer Jeff Garzik Wed, 05 Oct 2005 17:09:16 -0400 libata: move atapi_request_sense() to libata-scsi module No content changes, just moving code around. commit 6148a742b2bd76abfe0c1fc50dd747cb9f28cd6b tree 186396bf1e71e981e033e4b5becc2ab6c47fcfca parent 04c08816d693f010ce14b8f408c6228600053af0 author Steve French Wed, 05 Oct 2005 12:23:19 -0700 committer Steve French Wed, 05 Oct 2005 12:23:19 -0700 CIFS: Create routine find_writable_file to reduce redundant code Signed-off-by: Dave Kleikamp Signed-off-by: Steve French commit a15dbeb4772626a015337dea06da67095aec3862 tree 2834c0f61b396c2eba008c176b49460c02a564f5 parent 67846b30171cc4d706125f630193a76a26bb334a author Jeff Garzik Wed, 05 Oct 2005 15:02:14 -0400 committer Jeff Garzik Wed, 05 Oct 2005 15:02:14 -0400 libata: ATAPI command completion tweaks and notes 1) note urgent bug, that completes command twice 2) only fix up INQUIRY data if the SCSI version is zero (typically indicates ATAPI MMC-ish device) 3) if there is a problem on the ATA bus, don't bother with REQUEST SENSE, just directly handle the error based on Status/Error registers. commit 67846b30171cc4d706125f630193a76a26bb334a tree 5ba70c2b68086f471686eb1e56e38436eaf73416 parent 643736a58d2668af94aee05670c5e9ae76e7b85f author Jeff Garzik Wed, 05 Oct 2005 02:58:32 -0400 committer Jeff Garzik Wed, 05 Oct 2005 02:58:32 -0400 libata: add ata_ratelimit(), use it in AHCI driver irq handler commit 0d69ae5fb7eb9ba3b54cf0ba4ef5ae591f31eef7 tree be441bfa1e76035c00b66a3b06fea66cfd63d594 parent 13d1ef29bc5125d7b77c5f6cdfde5ed31226005c parent 9bc39bec87ee3e35897fe27441e979e7c208f624 author Jeff Garzik Wed, 05 Oct 2005 02:11:33 -0400 committer Jeff Garzik Wed, 05 Oct 2005 02:11:33 -0400 Merge branch 'master' commit 1e5c936e3cc2ab745f66c0ae296c42f892ffd42a tree a4044665b479eba3506f448c6ae6115c3fbe600e parent 2d4b1fa234417b902c9d3034442387c1805bfa7b author Bob Picco Tue, 04 Oct 2005 15:14:05 -0400 committer Tony Luck Tue, 04 Oct 2005 13:22:07 -0700 [PATCH] V5 ia64 SPARSEMEM - gensparse_defconfig gensparse_defconfig is a config generated file for SPARSEMEM and GENERIC kernel configuration (defconfig). Signed-off-by: Bob Picco Signed-off-by: Tony Luck commit 2d4b1fa234417b902c9d3034442387c1805bfa7b tree 2ed92c7f82eec32a86f2047ac9e9534d7912e305 parent 1be7d9935b9c7fb9bd5964bfaf3ac543381277db author Bob Picco Tue, 04 Oct 2005 15:13:57 -0400 committer Tony Luck Tue, 04 Oct 2005 13:21:38 -0700 [PATCH] V5 ia64 SPARSEMEM - SPARSEMEM code changes This patch is the minimal set of changes required by ia64 to use SPARSEMEM. Signed-off-by: Bob Picco Signed-off-by: Tony Luck commit 1be7d9935b9c7fb9bd5964bfaf3ac543381277db tree fe39c6d9e19fb890812318f5f3b318de6c3afc57 parent c678796cab4b5288ad578802a54cb1480ae20a08 author Bob Picco Tue, 04 Oct 2005 15:13:50 -0400 committer Tony Luck Tue, 04 Oct 2005 13:21:13 -0700 [PATCH] V5 ia64 SPARSEMEM - conditional changes for SPARSEMEM This patch introduces the conditional changes required for the three memory models. With [patch 1/4] there are three memory models; FLATMEM, DISCONTIG and SPARSEMEM. Also a new arch include file sparemem.h is introduced for defining SPARSEMEM parameters. Signed-off-by: Bob Picco Signed-off-by: Tony Luck commit c678796cab4b5288ad578802a54cb1480ae20a08 tree 6c821b09363b6f0fe4f6d529932fed1aa9f059e2 parent da9577c531f17f744f3eab40f700e07933d26361 author Bob Picco Tue, 04 Oct 2005 15:13:44 -0400 committer Tony Luck Tue, 04 Oct 2005 13:20:23 -0700 [PATCH] V5 ia64 SPARSEMEM - eliminate contig_page_data For FLATMEM contig_page_data has been made transparent to the arch code. This patch conforms to that change. Signed-off-by: Bob Picco Signed-off-by: Tony Luck commit da9577c531f17f744f3eab40f700e07933d26361 tree 388e426b9d387b5297b44a519d60bc9f093935d6 parent dd7205ed0f022a2a5e60eb7404e6c9f49d2301c3 author Bob Picco Tue, 04 Oct 2005 15:13:37 -0400 committer Tony Luck Tue, 04 Oct 2005 13:19:30 -0700 [PATCH] V5 ia64 SPARSEMEM - Kconfig and Makefile The patch modifies the Kconfig file to introduce the new memory model options and other related SPARSEMEM changes. There is also a minor change in the Makefile. Signed-off-by: Bob Picco Signed-off-by: Tony Luck commit 643736a58d2668af94aee05670c5e9ae76e7b85f tree 9ffda5b1611bef0daec14faf051354a7cfde0016 parent 9d5b13021375cad2d64d56105e5f4b5f1509ced2 parent 3f19ee8cb3a1003cb5183696bc55934f5865f868 author Jeff Garzik Tue, 04 Oct 2005 14:24:04 -0400 committer Jeff Garzik Tue, 04 Oct 2005 14:24:04 -0400 Merge branch 'scsi-scan' commit 36735554571ea619e38210a20f429798de90adc1 tree 988510f4132ecdadcabc666931e8d428af754a51 parent ed39f731ab2e77e58122232f6e27333331d7793d author Dean Roe Mon, 03 Oct 2005 11:51:45 -0500 committer Tony Luck Tue, 04 Oct 2005 09:28:00 -0700 [IA64-SGI] Remove references to the SN bist_lock Remove all references to the bist_lock in the SN code as it is not used for anything. Signed-off-by: Dean Roe Signed-off-by: Tony Luck commit e9438250b635f7832e99a8c8d2e394dd1522ce65 tree e91de9667aa45e9f02387a2dc013982af245d029 parent dd072330d1a60be11a5c284fa1e645350750a4fc author Anton Altaparmakov Tue, 04 Oct 2005 16:01:06 +0100 committer Anton Altaparmakov Tue, 04 Oct 2005 16:01:06 +0100 NTFS: Enable ATTR_SIZE attribute changes in ntfs_setattr(). This completes the initial implementation of file truncation. Now both open(2)ing a file with the O_TRUNC flag and the {,f}truncate(2) system calls will resize a file appropriately. The limitations are that only uncompressed and unencrypted files are supported. Also, there is only very limited support for highly fragmented files (the ones whose $DATA attribute is split into multiple attribute extents). Signed-off-by: Anton Altaparmakov commit dd072330d1a60be11a5c284fa1e645350750a4fc tree d0282b4667e3fcedc893802bd54c90c9e12b2dc7 parent 2d86829b846d1447a6ab5af4060fc9f301521317 author Anton Altaparmakov Tue, 04 Oct 2005 15:39:02 +0100 committer Anton Altaparmakov Tue, 04 Oct 2005 15:39:02 +0100 NTFS: Implement fs/ntfs/inode.[hc]::ntfs_truncate(). It only supports uncompressed and unencrypted files. Signed-off-by: Anton Altaparmakov commit 54dac83c426a1a03bd139c5ac7e938890bd2693e tree e2bc11da1f3cdb99bbe13d5452928b8470604314 parent 2ee73cc2d507df7b28050fba5d08bd33dd34848c author Jeff Raubitschek Tue, 04 Oct 2005 10:21:19 -0400 committer Jeff Garzik Tue, 04 Oct 2005 10:21:19 -0400 [libata passthru] fix leak on error commit 2d86829b846d1447a6ab5af4060fc9f301521317 tree deec965c0fb9681376fc4317846eaf5d0e922f21 parent 2a6fc4e1b0f7d2ec3711d5b1782fb30f78cca765 author Anton Altaparmakov Tue, 04 Oct 2005 15:18:56 +0100 committer Anton Altaparmakov Tue, 04 Oct 2005 15:18:56 +0100 NTFS: Add fs/ntfs/attrib.[hc]::ntfs_attr_extend_allocation(), a function to extend the allocation of an attributes. Optionally, the data size, but not the initialized size can be extended, too. Signed-off-by: Anton Altaparmakov commit 2ee73cc2d507df7b28050fba5d08bd33dd34848c tree af5f33b265318e0f4b61f788691fe4f780ec402c parent c1d9728ecc5b560465df3c0c0d3b3825c2710b40 parent ed39f731ab2e77e58122232f6e27333331d7793d author Jeff Garzik Tue, 04 Oct 2005 10:16:31 -0400 committer Jeff Garzik Tue, 04 Oct 2005 10:16:31 -0400 Merge /spare/repo/linux-2.6/ commit 2a6fc4e1b0f7d2ec3711d5b1782fb30f78cca765 tree a123e9bb2c7d17aade84b1d1cc2decafdeace121 parent 8925d4f0d3479b9c5ed7e49acc648beccca95f21 author Anton Altaparmakov Tue, 04 Oct 2005 14:57:15 +0100 committer Anton Altaparmakov Tue, 04 Oct 2005 14:57:15 +0100 NTFS: Fix ntfs_attr_make_non_resident() to update the vfs inode i_blocks which is zero for a resident attribute but should no longer be zero once the attribute is non-resident as it then has real clusters allocated. Signed-off-by: Anton Altaparmakov commit 8925d4f0d3479b9c5ed7e49acc648beccca95f21 tree fc740f0fbc17edc8b855c27c02d074679a0f0f03 parent fc0fa7dc7d243afabdb3fb6a11d59a944a9c91f8 author Anton Altaparmakov Tue, 04 Oct 2005 14:48:20 +0100 committer Anton Altaparmakov Tue, 04 Oct 2005 14:48:20 +0100 NTFS: Change ntfs_attr_make_non_resident to take the attribute value size as an extra parameter. This is needed since we need to know the size before we can map the mft record and our callers always know it. The reason we cannot simply read the size from the vfs inode i_size is that this is not necessarily uptodate. This happens when ntfs_attr_make_non_resident() is called in the ->truncate call path. Signed-off-by: Anton Altaparmakov commit fc0fa7dc7d243afabdb3fb6a11d59a944a9c91f8 tree 67f28282e658eba6ed0daac0553a77f8352c21bc parent 511bea5ea2b2b330e67c9e58ffb5027caebf9052 author Anton Altaparmakov Tue, 04 Oct 2005 14:36:56 +0100 committer Anton Altaparmakov Tue, 04 Oct 2005 14:36:56 +0100 NTFS: - Change ntfs_cluster_alloc() to take an extra boolean parameter specifying whether the cluster are being allocated to extend an attribute or to fill a hole. - Change ntfs_attr_make_non_resident() to call ntfs_cluster_alloc() with @is_extension set to TRUE and remove the runlist terminator fixup code as this is now done by ntfs_cluster_alloc(). Signed-off-by: Anton Altaparmakov commit 511bea5ea2b2b330e67c9e58ffb5027caebf9052 tree 142b89f44ebb15f2db326a246e0eb6c454ade6e7 parent 69b41e3c0223bd38cf23e3d8f1385963089fbf22 author Anton Altaparmakov Tue, 04 Oct 2005 14:24:21 +0100 committer Anton Altaparmakov Tue, 04 Oct 2005 14:24:21 +0100 NTFS: - Change {__,}ntfs_cluster_free() to also take an optional attribute search context as argument. This allows calling it with the mft record mapped. Update all callers. - Fix potential deadlock in ntfs_mft_data_extend_allocation_nolock() error handling by passing in the active search context when calling ntfs_cluster_free(). Signed-off-by: Anton Altaparmakov commit 69b41e3c0223bd38cf23e3d8f1385963089fbf22 tree 6a1fc55f654d6f7cb745bba032115d5590cc5931 parent fd9d63678d42ffd4312815ac720a12920642eb36 author Anton Altaparmakov Tue, 04 Oct 2005 14:01:14 +0100 committer Anton Altaparmakov Tue, 04 Oct 2005 14:01:14 +0100 NTFS: Change ntfs_attr_find_vcn_nolock() to also take an optional attribute search context as argument. This allows calling it with the mft record mapped. Update all callers. Signed-off-by: Anton Altaparmakov commit 9d5b13021375cad2d64d56105e5f4b5f1509ced2 tree 58277dc135251c84cd0e7b858a5100a2886d4807 parent 3aef52311bcb1f88aa5c786302f1ae14a787f61e author Albert Lee Tue, 04 Oct 2005 08:48:17 -0400 committer Jeff Garzik Tue, 04 Oct 2005 08:48:17 -0400 [libata scsi] add CHS support to ata_scsi_start_stop_xlat() commit 3aef52311bcb1f88aa5c786302f1ae14a787f61e tree 12e62f0736c6678e0819543722b66f6813080190 parent c187c4b58a9caff660a4c8ae39d0def88cc449af author Albert Lee Tue, 04 Oct 2005 08:47:43 -0400 committer Jeff Garzik Tue, 04 Oct 2005 08:47:43 -0400 [libata scsi] tidy up SCSI lba and xfer len calculations move the redundant SCSI lba and transfer length calculation code from ata_scsi_verify_xlat() and ata_scsi_rw_xlat() to common functions. commit c187c4b58a9caff660a4c8ae39d0def88cc449af tree 1036c221b59e9763baba4e88d0f8e7c2deba601f parent 47a8659380d40d5c0786ddb62a89b3f7f1392430 author Albert Lee Tue, 04 Oct 2005 08:46:51 -0400 committer Jeff Garzik Tue, 04 Oct 2005 08:46:51 -0400 libata: minor whitespace, comment, debug message updates commit fd9d63678d42ffd4312815ac720a12920642eb36 tree 34dcdb5b47c9d89b4dbc8c98cd93617bb14eaca7 parent c394e458b69632902d65f9e2f39df79314f72908 author Anton Altaparmakov Tue, 04 Oct 2005 13:44:48 +0100 committer Anton Altaparmakov Tue, 04 Oct 2005 13:44:48 +0100 NTFS: Change ntfs_map_runlist_nolock() to also take an optional attribute search context. This allows calling it with the mft record mapped. Signed-off-by: Anton Altaparmakov commit 13d1ef29bc5125d7b77c5f6cdfde5ed31226005c tree fdab36f463a248d5be3bd46a5ad181f6d354ddde parent e2608361be343e6220e0a87e04ff224eb037df31 parent ff0037b259e8b47843176142131844bc80fd2887 author Jeff Garzik Tue, 04 Oct 2005 08:22:13 -0400 committer Jeff Garzik Tue, 04 Oct 2005 08:22:13 -0400 Merge rsync://bughost.org/repos/ieee80211-delta/ commit e2608361be343e6220e0a87e04ff224eb037df31 tree 33c2e8f377d89c323b0ced10e1929912cee0ebb3 parent 075897ce3b1027fccb98f36dd1f18c07f5c374ef author Mateusz Berezecki Tue, 04 Oct 2005 08:14:00 -0400 committer Jeff Garzik Tue, 04 Oct 2005 08:14:00 -0400 [wireless ipw2200] remove redundant return statement commit 47a8659380d40d5c0786ddb62a89b3f7f1392430 tree 696e7f9874e6087e6aaec51fbe1d4a91cd3dfc64 parent fe998aa7e27f125f6768ec6b137b0ce2c9790509 author Alan Cox Tue, 04 Oct 2005 08:09:19 -0400 committer Jeff Garzik Tue, 04 Oct 2005 08:09:19 -0400 libata: bitmask based pci init functions for one or two ports This redoes the n_ports logic I proposed before as a bitmask. ata_pci_init_native_mode is now used with a mask allowing for mixed mode stuff later on. ata_pci_init_legacy_port is called with port number and does one port now not two. Instead it is called twice by the ata init logic which cleans both of them up. There are stil limits in the original code left over - IRQ/port mapping for legacy mode should be arch specific values - You can have one legacy mode IDE adapter per PCI root bridge on some systems - Doesn't handle mixed mode devices yet (but is now a lot closer to it) commit 075897ce3b1027fccb98f36dd1f18c07f5c374ef tree a795da3ac5c888f16b96082ddbd3d01c8c05493d parent 6c1792f4e8cf2ca03a8dd5ec4b162b9219e9268a author John W. Linville Wed, 28 Sep 2005 17:50:53 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:57:38 -0400 [PATCH] bonding: replicate IGMP traffic in activebackup mode Replicate IGMP frames across all slaves in activebackup mode. This ensures fail-over is rapid for multicast traffic as well. Otherwise, multicast traffic will be lost until the next IGMP membership report poll timeout. This is conceptually similar to the treatment of IGMP traffic in bond_alb_xmit. In that case, IGMP traffic transmitted on any slave is re-routed to the active slave in order to ensure that multicast traffic continues to be directed to the active receiver. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 6c1792f4e8cf2ca03a8dd5ec4b162b9219e9268a tree 2bcee321582d201510285d2cafff630a372761cd parent dbc2309d90b59fbb2676dc2e39150aa095e8c222 author John Linville Tue, 04 Oct 2005 07:51:45 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:51:45 -0400 [netdrvr s2io] Add a MODULE_VERSION entry commit dbc2309d90b59fbb2676dc2e39150aa095e8c222 tree 9d17c84d17c5a46e38fa07fef518f955c9944b5b parent 53232803241ae0f26b39897a4d4b37775837de00 author John W. Linville Wed, 28 Sep 2005 17:50:51 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:49:12 -0400 [PATCH] s2io: change strncpy length arg to use size of target Use the size of the target array for the length argument to strncpy instead of the size of the source or a magic number. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 53232803241ae0f26b39897a4d4b37775837de00 tree b4ab0478eb6b32d7c799d6161502c3d6f761e3d9 parent d5919586265d36c6694a5d10ba589c02806873b6 author Michal Schmidt Tue, 04 Oct 2005 07:46:21 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:46:21 -0400 airo: fix resume Cisco Aironet doesn't resume properly from swsusp, because the resume method confuses a PM_EVENT_* for a PCI power state. It thinks that it is resuming from PCI_D1 and doesn't do the necessary initialization of the card. Signed-off-by: Michal Schmidt commit d5919586265d36c6694a5d10ba589c02806873b6 tree b87f83c8215a65e1f1eb0b585d05afb21c15caaf parent 96eb549c0c20cf63ca13fac71d9d406701f744a6 author Ralf Baechle Tue, 04 Oct 2005 12:22:16 +0100 committer Jeff Garzik Tue, 04 Oct 2005 07:42:22 -0400 [PATCH] AX.25: Convert mkiss.c to DEFINE_RWLOCK Signed-off-by: Ingo Molnar Signed-off-by: Ralf Baechle DL5RB drivers/net/hamradio/mkiss.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Jeff Garzik commit 96eb549c0c20cf63ca13fac71d9d406701f744a6 tree 32c23d9653d164e2f631970859d7b2e6ee25a003 parent be2b28ed3bb3dd3952e10fb72623b23c5d8b4795 author Ralf Baechle Tue, 04 Oct 2005 12:20:24 +0100 committer Jeff Garzik Tue, 04 Oct 2005 07:42:21 -0400 [PATCH] AX.25: Delete debug printk from mkiss driver Signed-off-by: Ralf Baechle DL5RB -- drivers/net/hamradio/mkiss.c | 1 - 1 files changed, 1 deletion(-) Signed-off-by: Jeff Garzik commit be2b28ed3bb3dd3952e10fb72623b23c5d8b4795 tree 53a3edbaac116616c4bf9977f69a7b7a84749ffe parent a7990ba60adc46a808c737443393fdfecdc82593 author Jeff Garzik Tue, 04 Oct 2005 07:13:43 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:13:43 -0400 e1000: fix warnings commit a7990ba60adc46a808c737443393fdfecdc82593 tree 5691856aa31edcf1ab15c12c777e9b1aff3a7d70 parent 352c9f854cb197581d7135d1276742fd76b53c25 author Mallikarjuna R Chilakala Tue, 04 Oct 2005 07:08:19 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:08:19 -0400 e1000: Flush shadow RAM Flush shadow RAM to save updates to ASF related bits for 82573 controllers. These bits are past the first 63 words of NVM. Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 352c9f854cb197581d7135d1276742fd76b53c25 tree 938d630ff6ef3de60fcb6111bbe253a832ca019f parent e4c811c9d2f2728ce15440c99b3b44b72799b43f author Mallikarjuna R Chilakala Tue, 04 Oct 2005 07:07:24 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:07:24 -0400 e1000: Added msleep_interruptible delay added msleep_interruptible delay right before returning from diag_test to allow the phy to recover from reset Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit e4c811c9d2f2728ce15440c99b3b44b72799b43f tree 0806fd1239c088d970db38c9a5bfec9b35ce3477 parent 2ae76d98fb9f0a9226dd62cf0a0b7547507d2862 author Mallikarjuna R Chilakala Tue, 04 Oct 2005 07:05:44 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:05:44 -0400 e1000: Fixes for packet split related issues Fixes for packet split related issues * On platforms where PAGE_SIZE > 4K, driver will use only required number of pages compared to always using 3 pages. * Packet split won't be used if the PAGE_SIZE is > 16K * Adds a statistics counter to splits. * Setting the non Null ptr to zero sized buffers to solve packet split receive descriptor error * When the no of pages needed is calculated, the header buffer is not included for a given MTU. Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 2ae76d98fb9f0a9226dd62cf0a0b7547507d2862 tree 2f44f6d13bedba9235b1cc12aaa0f2cce61af78f parent 24025e4ecf88743e1b3d46451b0e3f9de4bbcba5 author Mallikarjuna R Chilakala Tue, 04 Oct 2005 07:04:22 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:04:22 -0400 e1000: Enable custom configuration bits for 82571/2 controllers Enable custom configuration bits for 82571/2 controllers. The bits are required for correct functionality of these controllers. Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 24025e4ecf88743e1b3d46451b0e3f9de4bbcba5 tree 4ab263116b31128c40dcad3e22b26a46fae87ab4 parent 581d708eb47cccb5f41bc0817e50c9b004011ba8 author Mallikarjuna R Chilakala Tue, 04 Oct 2005 07:03:23 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:03:23 -0400 e1000: implementation of the multi-queue feature Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 581d708eb47cccb5f41bc0817e50c9b004011ba8 tree 960e94cc7df451c287f9bc92fd4016c5b362c54f parent 868d5309942927dc86f57009420c5d366ec05daa author Mallikarjuna R Chilakala Tue, 04 Oct 2005 07:01:55 -0400 committer Jeff Garzik Tue, 04 Oct 2005 07:01:55 -0400 e1000: multi-queue defines/modification to data structures defines/modifies data structures, function prototypes and changes to the driver rendering it capable of handling tx/rx queues Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit 868d5309942927dc86f57009420c5d366ec05daa tree c251bfd8341b6bf30064dd0ae50d790d8df65f7e parent cc6e7c44f4b8ab13acf5521cd4b312848122179f author Mallikarjuna R Chilakala Tue, 04 Oct 2005 06:58:59 -0400 committer Jeff Garzik Tue, 04 Oct 2005 06:58:59 -0400 e1000: Support for 82571 and 82572 controllers Signed-off-by: Mallikarjuna R Chilakala Signed-off-by: Ganesh Venkatesan Signed-off-by: John Ronciak Signed-off-by: Jeff Garzik commit cc6e7c44f4b8ab13acf5521cd4b312848122179f tree 9a95e57befa59f6a50e5eb8ef4c9f8ae26816b87 parent d9e34325fd62310b7b49243d02b774f3ef2452db author Ravinandan Arakali Tue, 04 Oct 2005 06:41:24 -0400 committer Jeff Garzik Tue, 04 Oct 2005 06:41:24 -0400 [PATCH] S2io: MSI/MSI-X support (runtime configurable) This patch adds support for MSI/MSI-X feature to the driver. It is a runtime parameter(for now, loadable parameter). Default is INTA. Patch has been tested on IA64 platform with Xframe II adapter, both of which support MSI-X feature. An improvement of about 7% in throughput(both Tx and Rx) was observed and a reduction by 7% in CPU utilization during Tx test. Signed-off-by: Ravinandan Arakali Signed-off-by: Jeff Garzik commit d9e34325fd62310b7b49243d02b774f3ef2452db tree d356eab72377f2576ad356de66daec23f28529a5 parent 500f83abdc83d6bd472f3d103a9a9cd85df29a29 parent 832f8f0378ff1566f2a222352c7ad5df3f8d0d9d author Jeff Garzik Tue, 04 Oct 2005 05:30:02 -0400 committer Jeff Garzik Tue, 04 Oct 2005 05:30:02 -0400 Merge branch 'upstream-fixes' commit 6ce52e6438fd2921891648ceab700d9b867e5ed2 tree 74d6ebbeed0c21cc32c59053cedd0ed49eb4728b parent dd8cad6be2822c7df4ecc5eba12903ba43e09f06 author Paul Mackerras Tue, 04 Oct 2005 14:30:07 +1000 committer Paul Mackerras Tue, 04 Oct 2005 14:30:07 +1000 ppc32: remove obsolete klock_info definition klock_info isn't used or referenced anywhere else in the kernel. Signed-off-by: Paul Mackerras commit dd8cad6be2822c7df4ecc5eba12903ba43e09f06 tree 691534ec7a436e6cb6ed0b3988a254dab0d812c9 parent 292dcc86dd69e343630ab49ce96a418345c174fc author Paul Mackerras Tue, 04 Oct 2005 14:28:29 +1000 committer Paul Mackerras Tue, 04 Oct 2005 14:28:29 +1000 ppc32: export a few more things where they are defined ... and remove the exports from ppc_ksyms.c. Signed-off-by: Paul Mackerras commit 04c08816d693f010ce14b8f408c6228600053af0 tree 4382f43b09bd3660e2d7ead5fb27fa3f2d195995 parent 8cc64c6ecfef020d40829f3e1152aab006c13899 author Steve French Mon, 03 Oct 2005 19:33:15 -0700 committer Steve French Mon, 03 Oct 2005 19:33:15 -0700 [CIFS] Missing parenthesis from error message in previous fix Signed-off-by: Steve French (sfrench@us.ibm.com) commit fe998aa7e27f125f6768ec6b137b0ce2c9790509 tree 124543efd939e2238d1b09a044969adbbef9b4bc parent 31961943e3110c5a1c36b1e0069c29f7c4380e51 author Tejun Heo Sun, 02 Oct 2005 11:54:29 +0900 committer Jeff Garzik Mon, 03 Oct 2005 22:11:29 -0400 [PATCH] libata: add ATA exceptions chapter to doc Hello, Jeff. This patch adds ATA errors & exceptions chapter to Documentation/DocBook/libata.tmpl. As suggested, the chapter is placed before low level driver specific chapters. Contents are unchanged from the last posting. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 31961943e3110c5a1c36b1e0069c29f7c4380e51 tree d9b3b38afeb8f4e9736ba601b0265f584652a30f parent 2b235826098bb653982894dfc3f70fd029f6c2e4 author Brett Russ Fri, 30 Sep 2005 01:36:00 -0400 committer Jeff Garzik Mon, 03 Oct 2005 22:08:19 -0400 [PATCH] libata: Marvell SATA support (DMA mode) (resend: v0.22) This is my libata compatible low level driver for the Marvell SATA family. Currently it runs in DMA mode on a 6081 chip. The 5xxx series parts are not yet DMA capable in this driver because the registers have differences that haven't been accounted for yet. Basically, I'm focused on the 6xxx series right now. I apologize for those seeing problems on the 5xxx series, I've not had a chance to look at those problems yet. For those curious, the previous bug causing the SCSI timeout and subsequent panics was caused by an improper clear of hc_irq_cause in mv_host_intr(). This version is running well in my environment (6081 chips, with/without SW raid1) and is showing equal or better performance compared to the Marvell driver (mv_sata) in my initial tests (timed dd's of reads/writes to/from memory/disk). I still need to look at the causes of occasional problems such as this: ata11: translating stat 0x35 err 0x00 to sense ata11: status=0x35 { DeviceFault SeekComplete CorrectedError Error } SCSI error : <10 0 0 0> return code = 0x8000002 Current sda: sense key Hardware Error end_request: I/O error, dev sda, sector 3155010 and this, seen at init time: ATA: abnormal status 0x80 on port 0xE093911C but they aren't showstoppers. Signed-off-by: Brett Russ Signed-off-by: Jeff Garzik commit 500f83abdc83d6bd472f3d103a9a9cd85df29a29 tree 33e6c948592c7c9b77ad8ebdc489e32ffb9c4b70 parent 3c8c7b2f32c52b259daa7564fefd582146799b23 author Ursula Braun Fri, 30 Sep 2005 10:19:19 +0200 committer Jeff Garzik Mon, 03 Oct 2005 22:06:46 -0400 [PATCH] s390: introducing support in qeth for new OSA CHPID type OSN This patch introduces new feature in qeth: qeth enhancement provides the device driver support for the Communication Controller for Linux on System z9 and zSeries (CCL), which is software that enables running the Network Control Program (NCP) on a zSeries machine. The OSA CDLC support is based on a new IBM mainframe CHPID type called Open Systems Adaper for NCP (OSN). In case of OSN qeth communicates with the type-OSN OSA-card on one hand, and with the CCL-kernel-component Network Device Handler (NDH) on the other. Signed-off-by: Frank Pavlic Signed-off-by: Jeff Garzik commit 3c8c7b2f32c52b259daa7564fefd582146799b23 tree 59ff1ad0d6b7821d474d8fccafd884703684b6d7 parent 7cb3cd090c2725b80561958a362c2ba15a7a8c86 parent 9123e0d78990246304fe681167b8d8097f1e02d7 author Jeff Garzik Mon, 03 Oct 2005 22:06:19 -0400 committer Jeff Garzik Mon, 03 Oct 2005 22:06:19 -0400 Merge branch 'upstream-fixes' commit 7cb3cd090c2725b80561958a362c2ba15a7a8c86 tree 9fc947ea92077967b3a0e6437d32130b3e9d772d parent c355184cd3cd58c9ffc78f2a17e0ac3563312ea7 author Jouni Malinen Sun, 02 Oct 2005 17:19:01 -0700 committer Jeff Garzik Mon, 03 Oct 2005 22:00:09 -0400 [PATCH] hostap: Unregister netdevs before freeing local data Unregister all netdevs before freeing local data. I was unable to trigger any crashes without this change when running busy loops for driver operations when ejecting a Prism2 PC Card. Anyway, should there be a race condition with this, better make it less likely to happen by unregistering the netdevs first. Signed-off-by: Jouni Malinen Signed-off-by: Jeff Garzik commit c355184cd3cd58c9ffc78f2a17e0ac3563312ea7 tree f6de150b08f98540bf660cedffd77785ce75b479 parent f7a74447553d698795ba74b7e17e916000b0cb08 author Jouni Malinen Sun, 02 Oct 2005 17:19:00 -0700 committer Jeff Garzik Mon, 03 Oct 2005 22:00:08 -0400 [PATCH] hostap: Do not free local->hw_priv before unregistering netdev local->hw_priv was being freed and set to NULL just before calling prism2_free_local_data(). However, this may expose a race condition in which something ends up trying to use hw_priv during shutdown. I haven't noticed this happening, but better be safe than sorry, so let's postpone hw_priv freeing to happen only after prism2_free_local_data() has returned. Signed-off-by: Jouni Malinen Signed-off-by: Jeff Garzik commit f7a74447553d698795ba74b7e17e916000b0cb08 tree 02143425097ceec545e4de3795a44e12531e8b78 parent bab76198b3111bd0328be3c1fa208237eb12f86e author Jouni Malinen Sun, 02 Oct 2005 17:18:59 -0700 committer Jeff Garzik Mon, 03 Oct 2005 22:00:08 -0400 [PATCH] hostap: Fix hostap_pci build with PRISM2_IO_DEBUG The debug version of I/O functions in hostap_pci had not survived the change to start using hw_priv pointer, so let's fix them to actually define the local hw_priv variable. Signed-off-by: Jouni Malinen Signed-off-by: Jeff Garzik commit bab76198b3111bd0328be3c1fa208237eb12f86e tree 11f1e2ec911c48a1e74563979457e8d299e414e5 parent 2759c8d536efe3b853867f345627d89fb64c37af author Jouni Malinen Sun, 02 Oct 2005 17:18:58 -0700 committer Jeff Garzik Mon, 03 Oct 2005 22:00:08 -0400 [PATCH] hostap: Remove hw specific dev_open/close handlers Host AP driver used hardware model specific dev_open/close handlers that were called on dev_open/close if the hardware driver had registered the handler. These were only used for hostap_cs and only for tracking whether any of the netdevs were UP. This information is already available from local->num_dev_open, so there is not need for the special open/close handler. Let's get rid of these handlers. In addition to cleaning up the code, this fixes a module refcounting issue for hostap_cs where ejecting the card while any of the netdevs were open did not decrement refcount properly. Signed-off-by: Jouni Malinen Signed-off-by: Jeff Garzik commit 3f19ee8cb3a1003cb5183696bc55934f5865f868 tree 106eda632143805fcc4fccef4d601c4d5d579bd7 parent 644dd0cc494702ecd0698f467de113ace9593888 author Jeff Garzik Mon, 03 Oct 2005 21:36:41 -0400 committer Jeff Garzik Mon, 03 Oct 2005 21:36:41 -0400 [libata] improve device scan even more Since our max_lun is unconditionally set to 1, we might as well hardcode a LUN 0 probe, rather than a wildcard LUN scan. The ide-scsi driver sets max_lun to a value greater than under certain conditions: if ((drive->id->last_lun & 0x7) != 7) host->max_lun = (drive->id->last_lun & 0x7) + 1; else host->max_lun = 1; last_lun is Word 126 of IDENTIFY PACKET DEVICE, marked as obsolete and undocumented in non-ancient specs. We'll leave it out for now. Should the need arise to support multi-LUN ATAPI devices, we'll probably want to add the above code. Finally, there have been reports of REPORT LUNS commands locking up ATAPI drives. Eliminating the wildcard LUN scan could help reduce the trouble from problematic drives. commit 2b235826098bb653982894dfc3f70fd029f6c2e4 tree ec525ddba74f58017a3f145bb68cf94376648c1c parent b4b52db71529bbe46da914eda772fb574914c94d parent c77054e518d9163578cfcad09826d7b959f95ece author Jeff Garzik Mon, 03 Oct 2005 19:46:45 -0400 committer Jeff Garzik Mon, 03 Oct 2005 19:46:45 -0400 Merge branch 'master' commit 8cc64c6ecfef020d40829f3e1152aab006c13899 tree 0e7a9bbde73768d56a4428fb63ea3bcf71860617 parent 3e84469d0101456caceffc6b22218a49017fcd3f author Steve French Mon, 03 Oct 2005 13:49:43 -0700 committer Steve French Mon, 03 Oct 2005 13:49:43 -0700 [CIFS] Allow SMBWrite2 to work to older servers Signed-off-by: Steve French (sfrench@us.ibm.com) commit 3e84469d0101456caceffc6b22218a49017fcd3f tree 2e52687ade7f3e52b5621142997ca6e7b38df70a parent 70ca734a14366b634224a1e4586d43b36b65ab67 author Steve French Mon, 03 Oct 2005 13:37:24 -0700 committer Steve French Mon, 03 Oct 2005 13:37:24 -0700 [CIFS] Add writepages support to shrink memory usage on writes, eliminate the double copy, and improve cifs write performance and help the server by upping the typical write size from 4K to 16K (or even larger if wsize set explicitly) for servers which support this. Part 1 of 2 Signed-off-by: Dave Kleikamp Signed-off-by: Steve French commit ac17b8b57013a3e38d1958f66a218f15659e5752 tree f7a28ccd5bd5496f6a2284f3d77a5019dc75c820 parent ddea7be0ec8d1374f0b483a81566ed56ec9f3905 author Dave Kleikamp Mon, 03 Oct 2005 15:32:11 -0500 committer Dave Kleikamp Mon, 03 Oct 2005 15:32:11 -0500 JFS: make special inodes play nicely with page balancing This patch fixes up a few problems with jfs's reserved inodes. 1. There is no need for the jfs code setting the I_DIRTY bits in i_state. I am ashamed that the code ever did this, and surprised it hasn't been noticed until now. 2. Make sure special inodes are on an inode hash list. If the inodes are unhashed, __mark_inode_dirty will fail to put the inode on the superblock's dirty list, and the data will not be flushed under memory pressure. 3. Force writing journal data to disk when metapage_writepage is unable to write a metadata page due to pending journal I/O. Signed-off-by: Dave Kleikamp commit 644dd0cc494702ecd0698f467de113ace9593888 tree d49e781476dea85a4bfc1b05b6d15ed0a224a747 parent 87e807b6c461bbd449496a4c3ab78ab164a4ba97 author Jeff Garzik Mon, 03 Oct 2005 15:55:19 -0400 committer Jeff Garzik Mon, 03 Oct 2005 15:55:19 -0400 [libata] improve device scan Replace SCSI's legacy "bang at the door" method of probing with one directly controlled by the underlying ATA transport layer. We now only call scsi_scan_target() for devices we find, rather than probing every possible channel/id within a certain range. commit ff0037b259e8b47843176142131844bc80fd2887 tree ee5c9522e4f009c546aa2ab8d384d1455729a86e parent c1bda44a4aedf13251b2704e6e67afb4909195c8 author James Ketrenos Mon, 03 Oct 2005 10:23:42 -0500 committer James Ketrenos Mon, 03 Oct 2005 10:23:42 -0500 Lindent and trailing whitespace script executed ieee80211 subsystem Signed-off-by: James Ketrenos commit c1bda44a4aedf13251b2704e6e67afb4909195c8 tree ff5bd9d92894bf777183447df3fad5615da51db7 parent ff9e00f1b09d594004f91700a371870f729ffc02 author Ivo van Doorn Mon, 03 Oct 2005 10:20:47 -0500 committer James Ketrenos Mon, 03 Oct 2005 10:20:47 -0500 When an assoc_resp is received the network structure is not completely initialized which can cause problems for drivers that expect the network structure to be completely filled in. This patch will make sure the network is filled in as much as possible. Signed-off-by: Ivo van Doorn Signed-off-by: James Ketrenos commit ff9e00f1b09d594004f91700a371870f729ffc02 tree 44977fc59711d89871d69e3169f8bc2b2cc2b55e parent e846cbb11245e648983b50349a1c715202d5ccf0 author Ivo van Doorn Mon, 03 Oct 2005 10:19:25 -0500 committer James Ketrenos Mon, 03 Oct 2005 10:19:25 -0500 Currently the info_element is parsed by 2 seperate functions, this results in a lot of duplicate code. This will move the parsing stage into a seperate function. Signed-off-by: Ivo van Doorn Signed-off-by: James Ketrenos commit e846cbb11245e648983b50349a1c715202d5ccf0 tree 7cdeea0d54e1fcf13cd2d2d372749e6f1936e2de parent 7c254d3dba0fae124b1d33f784ca23572ac386b0 author Randy Dunlap Mon, 03 Oct 2005 10:02:14 -0500 committer James Ketrenos Mon, 03 Oct 2005 10:02:14 -0500 Fix implicit nocast warnings in ieee80211 code: net/ieee80211/ieee80211_tx.c:215:9: warning: implicit cast to nocast type Signed-off-by: Randy Dunlap Signed-off-by: James Ketrenos commit 7c254d3dba0fae124b1d33f784ca23572ac386b0 tree 033b9cacdabd184bac9f543308976234ce97146b parent 604116a32eaef4e10d05ae3361450b3f4a4e6a90 author Ivo van Doorn Mon, 03 Oct 2005 09:50:40 -0500 committer James Ketrenos Mon, 03 Oct 2005 09:50:40 -0500 This will move the ieee80211_is_ofdm_rate function to the ieee80211.h header, and I also added the ieee80211_is_cck_rate counterpart. Various drivers currently create there own version of these functions, but I guess the ieee80211 stack is the best place to provide such routines. Signed-off-by: Ivo van Doorn Signed-off-by: James Ketrenos commit 292dcc86dd69e343630ab49ce96a418345c174fc tree 08d00ca3559e96bda3bda0cce92283364117b89b parent c0c0d996d08e450164adedc249c1bbbca63524ce parent eeb2d21806123a67d957783c4a0c8b020a378cf0 author Paul Mackerras Sun, 02 Oct 2005 11:12:43 +1000 committer Paul Mackerras Sun, 02 Oct 2005 11:12:43 +1000 Merge rsync://ozlabs.org/sfr-git/for-paulus/ commit eeb2d21806123a67d957783c4a0c8b020a378cf0 tree e19cc71b40592efa308018c42691dcdec4850f65 parent cabb558714945e92000f627dda562aa5e86a31af author Stephen Rothwell Fri, 30 Sep 2005 17:24:15 +1000 committer Stephen Rothwell Sat, 01 Oct 2005 18:52:26 +1000 powerpc: make iSeries boot Now that we use the device tree, it helps to build it in. It helps to links the kernel at the correct address. Signed-off-by: Stephen Rothwell commit cabb558714945e92000f627dda562aa5e86a31af tree 595cd75dad072224041260afb220d7fce3164e53 parent bd142b70a6bd5522f7d95f0cec06091b93bb0715 author Stephen Rothwell Fri, 30 Sep 2005 16:16:52 +1000 committer Stephen Rothwell Sat, 01 Oct 2005 18:52:10 +1000 powerpc: make iSeries build Merge vmlinux.lds.S. Also remove arch/powerpc/kernel/vmlinux.lds which is a generated file. Signed-off-by: Stephen Rothwell commit bd142b70a6bd5522f7d95f0cec06091b93bb0715 tree 7982cf5585a88680e0ac55e71f0009790a5cb68b parent dc1c1ca3dcd94c545c5e01d7c06b46824d43f4d0 author Stephen Rothwell Fri, 30 Sep 2005 13:51:25 +1000 committer Stephen Rothwell Sat, 01 Oct 2005 18:51:12 +1000 ppc64: simplify the build a little Signed-off-by: Stephen Rothwell commit dc1c1ca3dcd94c545c5e01d7c06b46824d43f4d0 tree fa088ac3eae8709dd379deda6f31d5b29197d4c9 parent d96024c688b59d4d1e60dbb0e226964eb758aa01 author Stephen Rothwell Sat, 01 Oct 2005 18:43:42 +1000 committer Stephen Rothwell Sat, 01 Oct 2005 18:43:42 +1000 powerpc: merge idle_power4.S and trapc.s Use idle_power4.S from ppc64 as we are not going to support 32 bit power4 in the merged tree. Merge ppc64 traps.c into powerpc traps.c: use ppc64 versions of exception routine names (as they don't have StudlyCaps) make all the versions if die() have the same prototype Signed-off-by: Stephen Rothwell commit c0c0d996d08e450164adedc249c1bbbca63524ce tree 15f297796a93568fd45756c72ca07e77756c8653 parent ab11d1ea281e85895369ef57c5259ad8a432fabb author Paul Mackerras Sat, 01 Oct 2005 13:49:08 +1000 committer Paul Mackerras Sat, 01 Oct 2005 13:49:08 +1000 powerpc: Get merged kernel to compile and run on 32-bit SMP powermac. This updates the powermac SMP code to use the mpic driver instead of the openpic driver and fixes the SMP-dependent context switch code. We had a subtle bug where we were using interrupt numbers 256-259 for IPIs, but ppc32 had NR_IRQS = 256. Moved the IPIs down to use interrupt numbers 252-255 instead. Signed-off-by: Paul Mackerras commit 3d5efad953c6d5ba11d5bcb584ef8e906f953a73 tree 1ff02ade271173d594818c6ca40aa8678987da6f parent b3a83639895a422b25f72eec0a5d1d88c3ac4e9e author Dave Airlie Fri, 30 Sep 2005 19:12:46 +1000 committer Dave Airlie Fri, 30 Sep 2005 19:12:46 +1000 drm: fix drm PCIGART PCI Express support broke PCIGART Signed-off-by: Dave Airlie commit b3a83639895a422b25f72eec0a5d1d88c3ac4e9e tree 1cd03d53cccb01964ea57564d7be575a29b7fec2 parent 689b9d74b1c00e1316fbb7d1e912fe1227fdb1ab author Dave Airlie Fri, 30 Sep 2005 18:37:36 +1000 committer Dave Airlie Fri, 30 Sep 2005 18:37:36 +1000 drm: fix all sparse warning on 32-bit x86 Finally cleaned up the sparse warnings for the drm. Signed-off-by: Dave Airlie commit d96024c688b59d4d1e60dbb0e226964eb758aa01 tree b814632b1eaaff27be69537b2ecfa6767eeb50e5 parent ee400b63f37120987bd12a2fada850c6212d7563 author Stephen Rothwell Thu, 29 Sep 2005 01:46:29 +1000 committer Stephen Rothwell Fri, 30 Sep 2005 18:04:10 +1000 powerpc: Move lparmap.c to powerpc/platforms Signed-off-by: Stephen Rothwell commit ee400b63f37120987bd12a2fada850c6212d7563 tree ede86a22406e2383b9cf3e84d93bc00dce873341 parent dcff1b170b43d9b8cb83e275cb3451dfd261c23e author Stephen Rothwell Thu, 29 Sep 2005 11:50:22 +1000 committer Stephen Rothwell Fri, 30 Sep 2005 18:04:06 +1000 powerpc: more cleanup of powerpc/kernel Update head_64.S from arch/ppc64 Remove arc/ppc/kernel/fpu.S Signed-off-by: Stephen Rothwell commit dcff1b170b43d9b8cb83e275cb3451dfd261c23e tree 774f5fa8ef6a5e0e379a4edf3867fe678b0696a4 parent d1dead5c5f016ebadb4b87c2c9fa13dfc2c99bf0 author Stephen Rothwell Thu, 29 Sep 2005 00:59:39 +1000 committer Stephen Rothwell Fri, 30 Sep 2005 18:04:03 +1000 powerpc: remove old vector.S files Update old kernel/Makefiles to cope Signed-off-by: Stephen Rothwell commit d1dead5c5f016ebadb4b87c2c9fa13dfc2c99bf0 tree 9b1fc4e887c43965ad2ed30d62cef06fa04b4515 parent b08567cb680686cdea9e362c0ccf0a08d77b9f0c author Stephen Rothwell Thu, 29 Sep 2005 00:35:31 +1000 committer Stephen Rothwell Fri, 30 Sep 2005 18:03:59 +1000 powerpc: merge asm-offsets.c Signed-off-by: Stephen Rothwell commit b08567cb680686cdea9e362c0ccf0a08d77b9f0c tree 534e348cfa070dc9fe0344aae16d6a7512faccea parent ab11d1ea281e85895369ef57c5259ad8a432fabb author Stephen Rothwell Wed, 28 Sep 2005 23:37:01 +1000 committer Stephen Rothwell Fri, 30 Sep 2005 18:03:56 +1000 ppc64 iseries: move some iSeries include files These files are only referenced from within arch/powerpc/platforms/iseries, so move them there. Signed-off-by: Stephen Rothwell commit 689b9d74b1c00e1316fbb7d1e912fe1227fdb1ab tree 46d53c2d2ecb31d3db08f034052106030a9d8046 parent b6ce156c415544f900e031890c78eba8bc92f9b3 author Dave Airlie Fri, 30 Sep 2005 17:09:07 +1000 committer Dave Airlie Fri, 30 Sep 2005 17:09:07 +1000 drm: add option to force writeback off. In order to get some better debugging from people about certain hangs/crashes we need to be able to turn AGP writeback off permanently... Signed-off-by: Dave Airlie commit 17e5ad6c0ce5a970e2830d0de8bdd60a2f077d38 tree 6193cf97426634ce00df43e81aa953426aca4e99 parent 8d15d19e44d2e903d00ae4b70da917ac77921239 author Tony Luck Thu, 29 Sep 2005 15:52:13 -0700 committer Tony Luck Thu, 29 Sep 2005 15:52:13 -0700 [PATCH] Removed remaining PCI specific references from swiotlb.c Matthew Wilcox pointed out that swiotlb.c implements a generic interface that is not tied to just PCI. Remove includes of , . Fix comments and printk() messages to no longer refer to PCI. Signed-off-by: Tony Luck commit 8d15d19e44d2e903d00ae4b70da917ac77921239 tree af073d56ae211c4b9de3363168dc264fb03ac64a parent 569c8bf5d8eeeeb9f5250d5b7991007874f0fef2 author John W. Linville Thu, 29 Sep 2005 14:45:52 -0700 committer Tony Luck Thu, 29 Sep 2005 14:45:52 -0700 [PATCH] x86_64: implement dma_sync_single_range_for_{cpu,device} Re-implement dma_sync_single_range_for_{cpu,device} for x86_64 using swiotlb_sync_single_range_for_{cpu,device}. Signed-off-by: John W. Linville Signed-off-by: Tony Luck commit 569c8bf5d8eeeeb9f5250d5b7991007874f0fef2 tree ad351d1db69a1b5655d049e253eaa147ff632f7b parent de69e0f0b38a467d881e138a302b005bf31c8400 author John W. Linville Thu, 29 Sep 2005 14:45:24 -0700 committer Tony Luck Thu, 29 Sep 2005 14:45:24 -0700 [PATCH] swiotlb: file header comments Change comment at top of swiotlb.c to reflect that the code is shared with EM64T (i.e. Intel x86_64). Also add an entry for myself so that if I "broke it", everyone knows who "bought it"... :-) Signed-off-by: John W. Linville Signed-off-by: Tony Luck commit de69e0f0b38a467d881e138a302b005bf31c8400 tree cce186614aafa090de860c65855c90600b300c56 parent 878a97cfd7014b01285db09f52f9881ffe4cb608 author John W. Linville Thu, 29 Sep 2005 14:44:57 -0700 committer Tony Luck Thu, 29 Sep 2005 14:44:57 -0700 [PATCH] swiotlb: support syncing DMA_BIDIRECTIONAL mappings The current implementation of sync_single in swiotlb.c chokes on DMA_BIDIRECTIONAL mappings. This patch adds the capability to sync those mappings, and optimizes other syncs by accounting for the sync target (i.e. cpu or device) in addition to the DMA direction of the mapping. Signed-off-by: John W. Linville Signed-off-by: Tony Luck commit 878a97cfd7014b01285db09f52f9881ffe4cb608 tree 19f19873602a559a351d669ee09988e8ce8bfa6e parent 8270f3f1a605c83b3aa516c1eaed209fe0884e84 author John W. Linville Thu, 29 Sep 2005 14:44:23 -0700 committer Tony Luck Thu, 29 Sep 2005 14:44:23 -0700 [PATCH] swiotlb: support syncing sub-ranges of mappings This patch implements swiotlb_sync_single_range_for_{cpu,device}. This is intended to support an x86_64 implementation of dma_sync_single_range_for_{cpu,device}. Signed-off-by: John W. Linville Signed-off-by: Tony Luck commit 8270f3f1a605c83b3aa516c1eaed209fe0884e84 tree dbe49f6263658cd9b7ace81fed257009140c0b9e parent 6c654b5fdf093cd05f35f7c9c2a00182fa5636dc author John W. Linville Thu, 29 Sep 2005 14:43:32 -0700 committer Tony Luck Thu, 29 Sep 2005 14:43:32 -0700 [PATCH] swiotlb: cleanup some code duplication cruft The implementations of swiotlb_sync_single_for_{cpu,device} are identical. Likewise for swiotlb_syng_sg_for_{cpu,device}. This patch move the guts of those functions to two new inline functions, and calls the appropriate one from the bodies of those functions. Signed-off-by: John W. Linville Signed-off-by: Tony Luck commit 6c654b5fdf093cd05f35f7c9c2a00182fa5636dc tree 7aa16a41d64b906c6e7e5248897f88027428d12a parent 0b9afede3d9c66fef06f1d5ef5ff15c4b97730fc author John W. Linville Thu, 29 Sep 2005 14:42:42 -0700 committer Tony Luck Thu, 29 Sep 2005 14:42:42 -0700 [PATCH] swiotlb: move from arch/ia64/lib/ to lib/ The swiotlb implementation is shared by both IA-64 and EM64T. However, the source itself lives under arch/ia64. This patch moves swiotlb.c from arch/ia64/lib to lib/ and fixes-up the appropriate Makefile and Kconfig files. No actual changes are made to swiotlb.c. Signed-off-by: John W. Linville Signed-off-by: Tony Luck commit ab11d1ea281e85895369ef57c5259ad8a432fabb tree 684147479c6a8bb2fbed21bdcf12de1dd519c730 parent 952ecef7a0479049c8abb7c34a688ec2981ceadd parent 664cceb0093b755739e56572b836a99104ee8a75 author Paul Mackerras Thu, 29 Sep 2005 13:13:36 +1000 committer Paul Mackerras Thu, 29 Sep 2005 13:13:36 +1000 Merge by hand from Linus' tree. Signed-off-by: Paul Mackerras commit d719948e623622cf9fc8016f7ec63422d929eb3b tree 3ea5e18a0f6c1b43392d9abc76722095ce179e59 parent be379124c0a5abfbe57dab2823fe8a71ce797aee author Tony Luck Wed, 28 Sep 2005 16:09:46 -0700 committer Tony Luck Wed, 28 Sep 2005 16:09:46 -0700 [IA64] end of kernel 'data' is at _end, not _edata /proc/iomem describes a block of memory as "Kernel data", but the end address is derived from "_edata". The kernel actually has many other sections beyond _edata. Get the real end address from _end. Acked-by: Khalid Aziz Signed-off-by: Tony Luck commit 59c422358d6573716f2bf2e78e5b12c20eff5a31 tree c2845caccb2224e78d195056a0e8940d1bc066c1 parent 55642d36cd0f626c614f6dfa1151a5af1ff84f36 author Jack Steiner Tue, 27 Sep 2005 08:25:32 -0500 committer Tony Luck Wed, 28 Sep 2005 14:32:57 -0700 [IA64-SGI] Increase max system size of SGI SN systems Increase the maximum system size of SGI SN systems. Note that this is not the maximum SSI size. The maximum system size is the number of nodes in the numalink domain. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit 604116a32eaef4e10d05ae3361450b3f4a4e6a90 tree 6e5a0667172ddafd366b745a53b4ff392927176e parent 2759c8d536efe3b853867f345627d89fb64c37af author Michael Wu Wed, 28 Sep 2005 15:16:46 -0500 committer James Ketrenos Wed, 28 Sep 2005 15:16:46 -0500 This patch fixes a typo in ieee80211.h: ieee82011_deauth -> ieee80211_deauth Signed-off-by: Michael Wu Signed-off-by: James Ketrenos commit b4b52db71529bbe46da914eda772fb574914c94d tree 3f29440fd0a5b16ef06cb04296682df269b478c2 parent a1213499b0ef75d8c627b461047805a235c9dd00 author Alan Cox Mon, 26 Sep 2005 12:48:41 +0100 committer Jeff Garzik Wed, 28 Sep 2005 13:29:56 -0400 [PATCH] ata: re-order speeds sensibly. Signed-off-by: Jeff Garzik commit a1213499b0ef75d8c627b461047805a235c9dd00 tree 89b39cb950138db7c2f9d65b1abe14e8993e3bc1 parent bfd00722ac230a39bc5234c5f7a514ea6a77996d author Jeff Garzik Wed, 28 Sep 2005 13:26:47 -0400 committer Jeff Garzik Wed, 28 Sep 2005 13:26:47 -0400 libata: move EH docs to separate DocBook chapter commit bfd00722ac230a39bc5234c5f7a514ea6a77996d tree 08b76d7cfe885f9cabd5a6502105f13c1b8cf6fb parent 64f09c98d7fce21dcb8da9f248e4159eb1ec245e author Tejun Heo Mon, 26 Sep 2005 11:28:47 +0900 committer Jeff Garzik Wed, 28 Sep 2005 12:16:54 -0400 [PATCH] libata EH document update Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 64f09c98d7fce21dcb8da9f248e4159eb1ec245e tree e03ed75665d536438fcb79b468a439caacd3d7dc parent 14be71f4c5c5ad1e222c5202ee6d234e9c8828b7 parent 98ed72deebfd2b55b7e1bb94c8175b1169999212 author Jeff Garzik Wed, 28 Sep 2005 12:11:15 -0400 committer Jeff Garzik Wed, 28 Sep 2005 12:11:15 -0400 /spare/repo/libata-dev branch 'chs-support' commit 14be71f4c5c5ad1e222c5202ee6d234e9c8828b7 tree 715ac051b4fd2e3d62219110be4fc71d2f1a06f8 parent ee500aabf10323a7e313731b8c0be7c2c6dd27c7 author Albert Lee Tue, 27 Sep 2005 17:36:35 +0800 committer Jeff Garzik Wed, 28 Sep 2005 11:58:39 -0400 [PATCH] libata: rename host states Changes: s/PIO_ST_/HSM_ST_/ and s/pio_task_state/hsm_task_state/. Signed-off-by: Albert Lee Signed-off-by: Jeff Garzik commit ee500aabf10323a7e313731b8c0be7c2c6dd27c7 tree 55a5b978ea433102c9c0febc977af3d0cde6dadd parent 87e807b6c461bbd449496a4c3ab78ab164a4ba97 author Albert Lee Tue, 27 Sep 2005 17:34:38 +0800 committer Jeff Garzik Wed, 28 Sep 2005 11:57:29 -0400 [PATCH] libata: indent and whitespace change Signed-off-by: Albert Lee Signed-off-by: Jeff Garzik commit 952ecef7a0479049c8abb7c34a688ec2981ceadd tree 74377080bb1fe12e874d18cb77461341a904f854 parent beeca08738c4c4024c81a591812bfe38f8c436c0 parent 252e75a51d40757928d692b3d339e66838294b4b author Paul Mackerras Wed, 28 Sep 2005 21:11:41 +1000 committer Paul Mackerras Wed, 28 Sep 2005 21:11:41 +1000 Merge Stephen Rothwell's patches commit beeca08738c4c4024c81a591812bfe38f8c436c0 tree 2d668f8529c54562c13ee06f2777d0f145f92c1e parent 20c8c2106305729e7d5e06f6c3d390e965a3dd34 author Paul Mackerras Wed, 28 Sep 2005 20:29:44 +1000 committer Paul Mackerras Wed, 28 Sep 2005 20:29:44 +1000 Don't call a NULL ack function in the generic IRQ code. Some IRQ controllers don't need an ack function (e.g. OpenPIC on PPC platforms) and for them we'd rather not have the overhead of doing an indirect call to a function that does nothing. Signed-off-by: Paul Mackerras commit 20c8c2106305729e7d5e06f6c3d390e965a3dd34 tree 23ae68e9ed3c7bdb1fccb19a761904a67c671f57 parent a3a9e99e36b2897b3e038869e61f363d62434086 author Paul Mackerras Wed, 28 Sep 2005 20:28:14 +1000 committer Paul Mackerras Wed, 28 Sep 2005 20:28:14 +1000 powerpc: Fixes to get the merged kernel to boot on powermac. This merges ppc_ksyms.c, puts back the actual do_execve call in sys_execve, makes init_MMU call find_end_of_memory rather than ppc_md.find_end_of_memory (every platform has a device tree with a /memory node now, right?) and fixes some problems with the mpic initialization on newworld powermacs. Signed-off-by: Paul Mackerras commit a3a9e99e36b2897b3e038869e61f363d62434086 tree c7cd550825a3d460ab24071ee4acff539976a9af parent 400d221274426958f1e1c7081a247bea9cede696 author Paul Mackerras Wed, 28 Sep 2005 15:53:36 +1000 committer Paul Mackerras Wed, 28 Sep 2005 15:53:36 +1000 powerpc: Fix building in the old arch's boot directory for now Signed-off-by: Paul Mackerras commit 400d221274426958f1e1c7081a247bea9cede696 tree db0907bc14504d827b06b45004152b6610387b40 parent 10b35d9978ac35556aec0d2642055742d8941488 author Kumar Gala Tue, 27 Sep 2005 15:13:12 -0500 committer Paul Mackerras Wed, 28 Sep 2005 15:42:54 +1000 [PATCH] ppc32: make cur_cpu_spec a single pointer instead of an array Changed ppc32 so that cur_cpu_spec is just a single pointer for all CPUs. Additionally, made call_setup_cpu check to see if the cpu_setup pointer is NULL or not before calling the function. This lets remove the dummy cpu_setup calls that just return. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 10b35d9978ac35556aec0d2642055742d8941488 tree 7c59c62e2840d7d9971076e1acccaa0cadd678b8 parent a559c91d77c3220be521453bd23815e1e1980a82 author Kumar Gala Fri, 23 Sep 2005 14:08:58 -0500 committer Paul Mackerras Wed, 28 Sep 2005 15:42:53 +1000 [PATCH] powerpc: merged asm/cputable.h Merged cputable.h between ppc32 and ppc64. In doing this removed support for the BEGIN_FTR_SECTION/END_FTR_SECTION macros in C code since they dont compile correctly. C code should use cpu_has_feature(). This is based on Arnd Bergmann's initial patch. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit a559c91d77c3220be521453bd23815e1e1980a82 tree 01191109d74ccfac274d443e1cd129b7bd650d7c parent 6b67f62cf655c80147435544a2f8f6f57e07ec87 author Becky Bruce Tue, 27 Sep 2005 14:28:56 -0500 committer Paul Mackerras Wed, 28 Sep 2005 15:42:53 +1000 [PATCH] powerpc: merge byteorder.h powerpc: Merge byteorder.h Essentially adopts the 64-bit version of this file. The 32-bit version had been using unsigned ints for arguments/return values that were actually only 16 bits - the new file uses __u16 for these items as in the 64-bit version of the header. The order of some of the asm constraints in the 64-bit version was slightly different than the 32-bit version, but they produce identical code. Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 252e75a51d40757928d692b3d339e66838294b4b tree 6ae6e08ae69f54320da58ac369cb98bdf097a7c2 parent c111d0bda8437d146ccf5101970801fe4ff23ed8 author Stephen Rothwell Wed, 28 Sep 2005 14:40:40 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 14:40:40 +1000 ppc64 iSeries: use device_node instead of iSeries_Device_node There needs to be more cleanup after this. Signed-off-by: Stephen Rothwell commit c111d0bda8437d146ccf5101970801fe4ff23ed8 tree 3d4a3f0a5b11e2cddfa1f35560a720fe043440ec parent 7b875f4dc345dc5f6a2c3bd0e1f90bfee46b2258 author Stephen Rothwell Wed, 28 Sep 2005 13:28:01 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 13:28:01 +1000 powerpc: move more iSeries code Move the iSeries specific parts of misc.S and ppc_ksyms.c into powerpc/platforms/iseries. Signed-off-by: Stephen Rothwell commit 7b875f4dc345dc5f6a2c3bd0e1f90bfee46b2258 tree 78de92cf631b3f74e95bde1c8ef2ba93ffb9b4a7 parent d223e721b743787fad71f6aef5e860176214c8f9 author Stephen Rothwell Wed, 28 Sep 2005 09:40:24 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 09:40:24 +1000 powerpc: Make powerpc pmac 32 bit build again Signed-off-by: Stephen Rothwell commit d223e721b743787fad71f6aef5e860176214c8f9 tree e2fec87364dc1cbaa983f31c8276eb709ee491bd parent b6b8681843f9eaee12f8c30ffac399f7b2601ab3 author Stephen Rothwell Wed, 28 Sep 2005 03:12:35 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 03:12:35 +1000 powerpc: Move viopath.c to powerpc/platforms/iseries Signed-off-by: Stephen Rothwell commit b6b8681843f9eaee12f8c30ffac399f7b2601ab3 tree 378e366e0d85c8d6ffc8da520efe7f96fc8b85ee parent ed7f2c05de956da72baf066701ac642f7215dbf5 author Stephen Rothwell Wed, 28 Sep 2005 03:07:14 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 03:07:14 +1000 powerpc: Move iSeries_smp.c to powerpc/platforms/iseries And rename it to smp.c. Signed-off-by: Stephen Rothwell commit ed7f2c05de956da72baf066701ac642f7215dbf5 tree e808dab2caed385657af31cbb0cf71e0376e556e parent da3420fcd62a8967c14a586355e322253a1504a8 author Stephen Rothwell Wed, 28 Sep 2005 03:03:00 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 03:03:00 +1000 powerpc: Move iSeries_vio.c to powerpc/platforms/iseries And rename it to vio.c. Signed-off-by: Stephen Rothwell commit da3420fcd62a8967c14a586355e322253a1504a8 tree 0aab4d1578097b098f580af3b5d30b88395eddfd parent cb4cf8056ead24ef0595859952319e2a608d5e07 author Stephen Rothwell Wed, 28 Sep 2005 02:59:19 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 02:59:19 +1000 powerpc: Move iSeries_VpdInfo.c to powerpc/platforms/iseries And rename it to vpdinfo.c. Signed-off-by: Stephen Rothwell commit cb4cf8056ead24ef0595859952319e2a608d5e07 tree 303521dcaac493ee7433cd8f8c1f8d83dc0a7653 parent d387899f3f7092edbafe16d69ea9737846473e99 author Stephen Rothwell Wed, 28 Sep 2005 02:54:39 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 02:54:39 +1000 powerpc: Move iSeries_irq.c to powerpc/platorms/iseries And rename it to irq.c. Signed-off-by: Stephen Rothwell commit d387899f3f7092edbafe16d69ea9737846473e99 tree b8e6e1fd681e841bf81d79cfe273d9434c010f76 parent cc14d430837e8854bd160275ad71d887a8a98488 author Stephen Rothwell Wed, 28 Sep 2005 02:50:25 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 02:50:25 +1000 powerpc: Move iSeries_pci.c to powerpc/platform/iseries and rename it to pci.c. This also required moving arch/ppc64/kernel/pci.h into include/asm-powerpc (called ppc-pci.h. Signed-off-by: Stephen Rothwell commit cc14d430837e8854bd160275ad71d887a8a98488 tree 23dfd2ec7b7c1098ba86609d22aa2bdacff16d37 parent e508f438e0c152dcd1fbec5104e9c0ee28f352d4 author Stephen Rothwell Wed, 28 Sep 2005 02:32:16 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 02:32:16 +1000 powerpc: Move iSeries_iommu.c to powerpc/platforms/iseries And rename it to iommu.c Signed-off-by: Stephen Rothwell commit e508f438e0c152dcd1fbec5104e9c0ee28f352d4 tree bf67e0848e8ec5c5c255a8223550e9970cbdc29d parent cb5c7980ab16c461a883ec7899675be57798d285 author Stephen Rothwell Wed, 28 Sep 2005 02:28:45 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 02:28:45 +1000 powerpc: Move iSeries_htab.c to powerpc/platforms/iseries And rename it to htab.c Signed-off-by: Stephen Rothwell commit cb5c7980ab16c461a883ec7899675be57798d285 tree b84622d3d61b8e947062c03393822e24ad7f3f1b parent 544cbbaed4de962fb0e831e8799ab01c448ff37d author Stephen Rothwell Wed, 28 Sep 2005 02:24:05 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 02:24:05 +1000 powerpc: move iSeries_proc.c to powerpc/platforms/iseries And renamed it to proc.c Signed-off-by: Stephen Rothwell commit 544cbbaed4de962fb0e831e8799ab01c448ff37d tree 3f03ca171a9f8c2e80bdca050d8714994cd6de9f parent 99a2379cdddcc4e8579e70deb80479450ed65d49 author Stephen Rothwell Wed, 28 Sep 2005 02:18:47 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 02:18:47 +1000 powerpc: Merge HvLpEvent.c into lpevents.c These two files were intimately connected, so just merge them. Signed-off-by: Stephen Rothwell commit 99a2379cdddcc4e8579e70deb80479450ed65d49 tree d5c40a1e7ffabb87c3b1f1ae510eac80f4b52d05 parent 2952bc7c896ec76a20e18321e2be40a694a73a78 author Stephen Rothwell Wed, 28 Sep 2005 00:17:40 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 00:17:40 +1000 powerpc: move hvCall.s to powerpc/platforms/iseries Rename it to hvcall.S and (so I can do that) rename hvcall.c to hvlog.c - a more appropriate name. Do some white space cleanups. Signed-off-by: Stephen Rothwell commit 2952bc7c896ec76a20e18321e2be40a694a73a78 tree 291b2208855d2941274548aa1b4e12ac1712757b parent c8b84976f86adcd10c221d398e1d0be2b778f3c8 author Stephen Rothwell Wed, 28 Sep 2005 00:03:46 +1000 committer Stephen Rothwell Wed, 28 Sep 2005 00:03:46 +1000 powerpc: move ItLpQueue.c to powerpc/platforms/iseries Signed-off-by: Stephen Rothwell commit c8b84976f86adcd10c221d398e1d0be2b778f3c8 tree 54924b199234c014ad6d70269e24c59041a69432 parent 2960eb661a82131b9492cdd1b6500a5f74ccc394 author Stephen Rothwell Tue, 27 Sep 2005 18:44:42 +1000 committer Stephen Rothwell Tue, 27 Sep 2005 18:44:42 +1000 powerpc: move iSeries_setup.[ch] and mf.c into platforms/iseries iSeries_setup.c becomes setup.c iSeries_setup.h becomes setup.h mf.c retains its name Also moved iSeries_[gs]et_rtc_time and iSeries_get_boot_time into mf.c since they are just small wrappers around mf_ functions. Signed-off-by: Stephen Rothwell commit 2960eb661a82131b9492cdd1b6500a5f74ccc394 tree b5a28da9179cfc0248d74232d1b6fa7d13f8b09c parent acdbec1b8974f61b0cb69ebe57916f8721b2f3d7 author Stephen Rothwell Fri, 23 Sep 2005 13:42:26 +1000 committer Stephen Rothwell Tue, 27 Sep 2005 17:24:54 +1000 powerpc: Move LparData.c to powerpc platforms Also rename it to lpardata.c Signed-off-by: Stephen Rothwell commit acdbec1b8974f61b0cb69ebe57916f8721b2f3d7 tree 73d03d16bfe954fff13258a910b0a36a7a5b6f74 parent ba0dd617a3e23321a14cb38ff7ad6f796ba32c34 author Stephen Rothwell Fri, 23 Sep 2005 13:23:58 +1000 committer Stephen Rothwell Tue, 27 Sep 2005 17:24:37 +1000 powerpc: Move HvLpConfig.c to powerpc arch Also rename it to hvlpconfig.c Signed-off-by: Stephen Rothwell commit ba0dd617a3e23321a14cb38ff7ad6f796ba32c34 tree 22c600620587cc1927215bdf61b88d1613336066 parent 6b67f62cf655c80147435544a2f8f6f57e07ec87 author Stephen Rothwell Fri, 23 Sep 2005 13:15:51 +1000 committer Stephen Rothwell Tue, 27 Sep 2005 17:23:00 +1000 powerpc: Create arch/powerpc/platforms/iseries I also move arch/ppc64/kernel/HvCall.c to arch/powerpc/platforms/iseries/hvcall.c. Signed-off-by: Stephen Rothwell commit 6b67f62cf655c80147435544a2f8f6f57e07ec87 tree fdbc706746344d4370ce3ae544c0a71ac833b147 parent e607d98369dbd8e7b33b19664d1729a8a81fe7cd author Stephen Rothwell Tue, 27 Sep 2005 14:09:39 +1000 committer Paul Mackerras Tue, 27 Sep 2005 16:36:23 +1000 [PATCH] ppc64 g5: merge tree build fix We removed __pmacdata in the merge. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit e607d98369dbd8e7b33b19664d1729a8a81fe7cd tree fcb0fa7a8c6b7bd93e5efd47bbc5d23498d9d5fd parent bbeb3f4c55f666df7bcd2655b303dfb8c4d1a119 author Paul Mackerras Tue, 27 Sep 2005 14:24:18 +1000 committer Paul Mackerras Tue, 27 Sep 2005 14:24:18 +1000 ppc64: Fix typo in iommu cleanups that broke pmac build. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit bbeb3f4c55f666df7bcd2655b303dfb8c4d1a119 tree 30180a33fb5bb9a5c633e93d533b7f4ffc800e2e parent 51a0885ed7f883758462926b35fbd6f09f9c717c author Stephen Rothwell Tue, 27 Sep 2005 13:51:59 +1000 committer Stephen Rothwell Tue, 27 Sep 2005 13:51:59 +1000 powerpc: clean up after powermac build merge Complete moving arch/ppc64/kernel/mpic.h, include/asm-ppc/reg.h, include/asm-ppc64/kdebug.h and include/asm-ppc64/kprobes.h Add arch/powerpc/platforms/Makefile and use it from arch/powerpc/Makefile Introduce OLDARCH temporarily so we can point back to the originating architecture Signed-off-by: Stephen Rothwell commit 51a0885ed7f883758462926b35fbd6f09f9c717c tree 3789f94f7b599222bef32dc20dc2213b9cf9d948 parent 14cf11af6cf608eb8c23e989ddb17a715ddce109 parent 3d8a66cc9ec475baaf22de139deff67ffe8e7cf2 author Paul Mackerras Mon, 26 Sep 2005 16:20:49 +1000 committer Paul Mackerras Mon, 26 Sep 2005 16:20:49 +1000 Merge refs/heads/devtree from rsync://oak/kernels/iseries/work/.git commit 14cf11af6cf608eb8c23e989ddb17a715ddce109 tree 271a97ce73e265f39c569cb159c195c5b4bb3f8c parent e5baa396af7560382d2cf3f0871d616b61fc284c author Paul Mackerras Mon, 26 Sep 2005 16:04:21 +1000 committer Paul Mackerras Mon, 26 Sep 2005 16:04:21 +1000 powerpc: Merge enough to start building in arch/powerpc. This creates the directory structure under arch/powerpc and a bunch of Kconfig files. It does a first-cut merge of arch/powerpc/mm, arch/powerpc/lib and arch/powerpc/platforms/powermac. This is enough to build a 32-bit powermac kernel with ARCH=powerpc. For now we are getting some unmerged files from arch/ppc/kernel and arch/ppc/syslib, or arch/ppc64/kernel. This makes some minor changes to files in those directories and files outside arch/powerpc. The boot directory is still not merged. That's going to be interesting. Signed-off-by: Paul Mackerras commit e5baa396af7560382d2cf3f0871d616b61fc284c tree 6afc166894b8c8b3b2cf6add72a726be14ae2443 parent d6a4c847e43c851cc0ddf73087a730227223f989 parent ef6bd6eb90ad72ee8ee7ba8b271f27102e9a90c1 author Paul Mackerras Sun, 25 Sep 2005 22:51:50 +1000 committer Paul Mackerras Sun, 25 Sep 2005 22:51:50 +1000 Merge from Linus' tree. commit d6a4c847e43c851cc0ddf73087a730227223f989 tree 4f1991e81f8c87296222145e456a682a41d6be8e parent 342e73b3d6fd1321d1eaaa6a935f267a300ceebd author Becky Bruce Fri, 23 Sep 2005 11:07:36 -0500 committer Paul Mackerras Sun, 25 Sep 2005 22:38:46 +1000 [PATCH] powerpc: merge semaphore.h powerpc: Merge semaphore.h Adopted the ppc64 version of semaphore.h. The 32-bit version used smp_wmb(), but recent updates to atomic.h mean this is no longer required. The 64-bit version made use of unlikely(), which has been retained in the combined version. This patch requires the recent atomic.h patch. Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 342e73b3d6fd1321d1eaaa6a935f267a300ceebd tree 539517d2f11f2dfcce1cc70c7fceb7f7d947c882 parent feaf7cf153335fe7100b65ed6f4585c3574fe69a author Jon Loeliger Thu, 22 Sep 2005 14:55:30 -0500 committer Paul Mackerras Sun, 25 Sep 2005 22:38:46 +1000 [PATCH] powerpc: Merge asm-ppc*/rwsem.h Merge asm-ppc*/rwsem.h into include/asm-powerpc. Removed smp_*mb() memory barriers from the ppc32 code as they are now burried in the atomic_*() functions as suggested by Paul, implemented by Arnd, and pushed out by Becky. I am not the droid you are looking for. This patch depends on Becky's atomic.h merge patch. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit feaf7cf153335fe7100b65ed6f4585c3574fe69a tree c57198f01b5f12ffe8ce90f4e1399505c1f84a02 parent 2bfadee32f1501faa3184d574f6a769f17236c87 author Becky Bruce Thu, 22 Sep 2005 14:20:04 -0500 committer Paul Mackerras Sun, 25 Sep 2005 22:38:46 +1000 [PATCH] powerpc: merge atomic.h, memory.h powerpc: Merge atomic.h and memory.h into powerpc Merged atomic.h into include/powerpc. Moved asm-style HMT_ defines from memory.h into ppc_asm.h, where there were already HMT_defines; moved c-style HMT_ defines to processor.h. Renamed memory.h to synch.h to better reflect its contents. Signed-off-by: Kumar Gala Signed-off-by: Becky Bruce Signed-off-by: Jon Loeliger Signed-off-by: Paul Mackerras commit 2bfadee32f1501faa3184d574f6a769f17236c87 tree c90a7261ffa59312459666f2917f1882c8a3f320 parent 3efc333e7fdb6fab9d4eae129e2b249c6483b250 author Jon Loeliger Fri, 23 Sep 2005 08:05:03 -0500 committer Paul Mackerras Sun, 25 Sep 2005 22:38:45 +1000 [PATCH] powerpc: Merge asm-ppc*/seccomp.h, drop TIF_32BIT check Merge asm-ppc*/seccomp.h. Drop TIF_32BIT check. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 3efc333e7fdb6fab9d4eae129e2b249c6483b250 tree fd83ddc78cc484a767edf69731ab3525a625dbb8 parent b671ad2befe37131af380183760862d5cbad858d author Kumar Gala Thu, 22 Sep 2005 10:13:31 -0500 committer Paul Mackerras Sun, 25 Sep 2005 22:38:45 +1000 [PATCH] powerpc: Fix building of power3 config on ppc32 The spinlock_types.h merge renamed the structure for raw_spinlock_t to match ppc64. In doing so some of the spinlock macros/functions needed to be updated to match. Apparently, this seems to only be caught when building power3. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit b6ce156c415544f900e031890c78eba8bc92f9b3 tree caf620af0b6f8de3786b8aee86fd7e992bad5a58 parent 13e4a9c85152a49ec10e682308581ab13b437470 author Dave Airlie Sun, 25 Sep 2005 15:07:24 +1000 committer Dave Airlie Sun, 25 Sep 2005 15:07:24 +1000 drm: fix some lindent damage Signed-off-by: Dave Airlie commit 13e4a9c85152a49ec10e682308581ab13b437470 tree c82846763a0b6a73fe3c6cf4a64460647baa3407 parent b5e89ed53ed8d24f83ba1941c07382af00ed238e author Dave Airlie Sun, 25 Sep 2005 14:30:09 +1000 committer Dave Airlie Sun, 25 Sep 2005 14:30:09 +1000 drm: cast handle to a pointer to avoid warning Andrew reported a warning on this line, just case to void *. Signed-off-by: Dave Airlie commit b5e89ed53ed8d24f83ba1941c07382af00ed238e tree 747bae7a565f88a2e1d5974776eeb054a932c505 parent 99a2657a29e2d623c3568cd86b27cac13fb63140 author Dave Airlie Sun, 25 Sep 2005 14:28:13 +1000 committer Dave Airlie Sun, 25 Sep 2005 14:28:13 +1000 drm: lindent the drm directory. I've been threatening this for a while, so no point hanging around. This lindents the DRM code which was always really bad in tabbing department. I've also fixed some misnamed files in comments and removed some trailing whitespace. Signed-off-by: Dave Airlie commit 99a2657a29e2d623c3568cd86b27cac13fb63140 tree 9023ee34d4ccc8dac11d07dc3978f13297d77411 parent 4e0c1159d83a658d1ffba5bc3442f4ec4cadb436 author Dave Airlie Sun, 25 Sep 2005 13:25:41 +1000 committer Dave Airlie Sun, 25 Sep 2005 13:25:41 +1000 drm: use kernel macros Make some of the DRM_ macros use the real kernel macros. Signed-off-by: Dave Airlie commit 4e0c1159d83a658d1ffba5bc3442f4ec4cadb436 tree 36a5079ba7ba9b9e0f2f633356705b980940eac4 parent ea98a92ff18c03bf7f4d21536986cbbcb4c10cd9 parent ef6bd6eb90ad72ee8ee7ba8b271f27102e9a90c1 author Dave Airlie Sun, 25 Sep 2005 13:14:45 +1000 committer Dave Airlie Sun, 25 Sep 2005 13:14:45 +1000 update from upstream commit 2759c8d536efe3b853867f345627d89fb64c37af tree e8dc66c8c5e2e5dbea9629f1405cdf9bada79985 parent e2e965072564e7aad8df963107677a6d22c41767 author Jeff Garzik Sat, 24 Sep 2005 04:09:04 -0400 committer Jeff Garzik Sat, 24 Sep 2005 04:09:04 -0400 [wireless airo] remove needed dma_addr_t obfuscation Fixes bus address truncation bug for certain configs. commit e2e965072564e7aad8df963107677a6d22c41767 tree 92667c7ec98f96308f4eefd4ec3c1bdfbb5acd93 parent 596ff2e7c8db39c700e277f0bc267244be253f5b author Jeff Garzik Sat, 24 Sep 2005 04:05:52 -0400 committer Jeff Garzik Sat, 24 Sep 2005 04:05:52 -0400 Remove WIRELESS_EXT ifdefs from several wireless drivers. commit 596ff2e7c8db39c700e277f0bc267244be253f5b tree 9f0f0897c0ef74f8d44510c0cc868ee0e314cbdd parent a9d12b9a4afcfa2cb6f6e76beb4f185a9177c98e author Jean Tourrilhes Fri, 23 Sep 2005 21:59:01 -0700 committer Jeff Garzik Sat, 24 Sep 2005 03:33:51 -0400 [PATCH] hostap: Remove iwe_stream_add_event kludge Now that we are compiling with -fno-strict-aliasing (this is the kernel default), we can drop the following kludge for iwe_stream_add_event(). Signed-off-by: Jouni Malinen Signed-off-by: Jeff Garzik commit a9d12b9a4afcfa2cb6f6e76beb4f185a9177c98e tree ec30834a9f39a737d2f9d01d5c5b561015265ad1 parent c28df16ed70d1b6cefd12135e3c68bfccd1bb635 author Jean Tourrilhes Fri, 23 Sep 2005 21:59:00 -0700 committer Jeff Garzik Sat, 24 Sep 2005 03:33:51 -0400 [PATCH] hostap: Use GFP_ATOMIC to get rid of weird might_sleep issue This is the trace I got : Signed-off-by: Jeff Garzik commit c28df16ed70d1b6cefd12135e3c68bfccd1bb635 tree d1161f1c5523e9720f9bc58adf3b7495a5b1ac62 parent 7a716536c602be6050b4f3ece30f1fc3b64362b0 author Jean Tourrilhes Fri, 23 Sep 2005 21:58:59 -0700 committer Jeff Garzik Sat, 24 Sep 2005 03:33:51 -0400 [PATCH] hostap: Add support for WE-19 This patch adds support for WE-19 to the HostAP driver. One of the major change is the use of an explicit flag to tell if iwstat is in dBm or not. Signed-off-by: Jouni Malinen Signed-off-by: Jeff Garzik commit 7a716536c602be6050b4f3ece30f1fc3b64362b0 tree 58ed691a144e75b81b712ccdf5daccebbe58693a parent 8cee0cd5bec53b78dd3c43a73b27821a688133e6 author Pavel Roskin Fri, 23 Sep 2005 21:58:58 -0700 committer Jeff Garzik Sat, 24 Sep 2005 03:33:51 -0400 [PATCH] hostap: Fix pci_driver name for hostap_plx and hostap_pci hostap_pci and hostap_plx drivers still use PCI driver names "prism2_pci" and "prism2_plx" respectively. This is unfriendly to linux-wlan-ng, which uses the same names. So, if e.g. hostap_pci and prism2_pci are loaded, they will "share" /sys/bus/pci/drivers/prism2_plx directory. Change PCI driver names of hostap_pci and hostap_plx to be equal to their module names. Signed-off-by: Pavel Roskin Signed-off-by: Jouni Malinen Signed-off-by: Jeff Garzik commit 98ed72deebfd2b55b7e1bb94c8175b1169999212 tree f1682a68f65e0a38159f55a58c054779d749f8df parent dbaa9a9d2b37d838125fb7f2b9fdc5dc5fa4eaa9 parent 87e807b6c461bbd449496a4c3ab78ab164a4ba97 author Jeff Garzik Sat, 24 Sep 2005 00:26:49 -0400 committer Jeff Garzik Sat, 24 Sep 2005 00:26:49 -0400 Merge /spare/repo/linux-2.6/ commit c1d9728ecc5b560465df3c0c0d3b3825c2710b40 tree d0abb5c923a7a3eca2d4b2c3e1964bf484870909 parent 165415f700b0c77fa1f8db6198f48582639adf78 parent 87e807b6c461bbd449496a4c3ab78ab164a4ba97 author Jeff Garzik Sat, 24 Sep 2005 00:25:02 -0400 committer Jeff Garzik Sat, 24 Sep 2005 00:25:02 -0400 Merge /spare/repo/linux-2.6/ commit 8cee0cd5bec53b78dd3c43a73b27821a688133e6 tree 067920155bf3cf6896e88d1cff8c170d32768922 parent bb40dcbb0fcebe1df08ba261483fcc38b307d063 author Jeff Garzik Fri, 23 Sep 2005 22:58:49 -0400 committer Jeff Garzik Fri, 23 Sep 2005 22:58:49 -0400 [netdrvr] delete CONFIG_PHYCONTROL commit bb40dcbb0fcebe1df08ba261483fcc38b307d063 tree aefeb8db397de215cf1ff1c5ff7a581cee2b2b4b parent acc4b985a6f8f22a0e826692894a4af234764001 author Andy Fleming Fri, 23 Sep 2005 22:54:21 -0400 committer Jeff Garzik Fri, 23 Sep 2005 22:54:21 -0400 [netdrvr gianfar] use new phy layer Signed-off-by: Andy Fleming Signed-off-by: Jeff Garzik commit 61b9cf7c6cf5077c40ad37480fa56f6574af3db5 tree dd2f5c7a770005d13910ed581128542720ee8936 parent 12f44f46bc9c6dc79255e661b085797af395d8da author Mark Maule Fri, 23 Sep 2005 12:31:53 -0500 committer Tony Luck Fri, 23 Sep 2005 11:21:59 -0700 [IA64-SGI] fix sn_pci_legacy_read/fix sn_pci_legacy_write This patch adds a #define for SN_SAL_IOIF_PCI_SAFE and makes that the preferred method of implementing sn_pci_legacy_read() and sn_pci_legacy_write(). This SAL call has been present in SGI proms since version 4.10. If the SN_SAL_IOIF_PCI_SAFE call fails, revert to the previous code for compatability with older proms. Signed-off-by: Mark Maule Signed-off-by: Tony Luck commit 6cd7525a00f3b926e8bd2e402954ed3e09a8e924 tree ef62460b3ea5bd9bd81cb243c20a7a64ed41b8e5 parent f134585a7343d71f9be7f0cf97e2145f21dd10c6 author Chuck Lever Thu, 22 Sep 2005 21:24:59 -0400 committer Trond Myklebust Fri, 23 Sep 2005 13:54:10 -0400 SUNRPC: fix bug in patch "portmapper doesn't need a reserved port" The in-kernel portmapper does in fact need a reserved port when registering new services, but not when performing bind queries. Ensure that we distinguish between the two cases. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 463eb297401eeb174db3fdf37a87911b576b3993 tree 1a0b2ffefc08cb4d3a2c591a5ff9bf9e5fb659ea parent 12f44f46bc9c6dc79255e661b085797af395d8da author Bjorn Helgaas Fri, 23 Sep 2005 11:39:07 -0600 committer Tony Luck Fri, 23 Sep 2005 10:50:09 -0700 [IA64] respect ACPI producer/consumer flag for PCI root bridges Address space resources for ACPI devices have a producer/consumer flag. All devices "consume" the indicated address space. If the resource is marked as a "producer", the range is also passed on to child devices. We currently ignore this flag when setting up MMIO and I/O port windows for PCI root bridges, so we could mistakenly interpret a "consumed-only" range, like CSR space for the device itself, as a window that is routed to children. Signed-off-by: Bjorn Helgaas Signed-off-by: Tony Luck commit f134585a7343d71f9be7f0cf97e2145f21dd10c6 tree f1eae77a5063e3748cd8deba9a13794ae0a9439c parent 3063d8a16643190f9e12e9c7e9f1ca56f7e7934e author Trond Myklebust Fri, 23 Sep 2005 11:08:25 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:39:00 -0400 Revert "[PATCH] RPC,NFS: new rpc_pipefs patch" This reverts 17f4e6febca160a9f9dd4bdece9784577a2f4524 commit. commit 3063d8a16643190f9e12e9c7e9f1ca56f7e7934e tree e44b1e23f7a7c642d9ef5040a2bc0b753e0fad99 parent 278c995c8a153bb2a9bc427e931cfb9c8034c9d7 author Trond Myklebust Thu, 25 Aug 2005 16:25:57 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:59 -0400 NFS: Make /proc/mounts display the protocol used by NFSv4 Signed-off-by: Trond Myklebust commit 278c995c8a153bb2a9bc427e931cfb9c8034c9d7 tree fe1b62d1686c78659133d751393ab2d5acf38665 parent 470056c288334eb0b37be26c9ff8aee37ed1cc7a author Christoph Hellwig Sun, 24 Jul 2005 23:53:01 +0100 committer Trond Myklebust Fri, 23 Sep 2005 12:38:57 -0400 [PATCH] RPC,NFS: new rpc_pipefs patch Currently rpc_mkdir/rpc_rmdir and rpc_mkpipe/mk_unlink have an API that's a little unfortunate. They take a path relative to the rpc_pipefs root and thus need to perform a full lookup. If you look at debugfs or usbfs they always store the dentry for directories they created and thus can pass in a dentry + single pathname component pair into their equivalents of the above functions. And in fact rpc_pipefs actually stores a dentry for all but one component so this change not only simplifies the core rpc_pipe code but also the callers. Unfortuntately this code path is only used by the NFS4 idmapper and AUTH_GSSAPI for which I don't have a test enviroment. Could someone give it a spin? It's the last bit needed before we can rework the lookup_hash API Signed-off-by: Christoph Hellwig Signed-off-by: Trond Myklebust commit 470056c288334eb0b37be26c9ff8aee37ed1cc7a tree 8c76a17c31c5dadbd4438a11d64364cdbe164c40 parent 03bf4b707eee06706c9db343dd5c905b7ee47ed2 author Chuck Lever Thu, 25 Aug 2005 16:25:56 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:55 -0400 [PATCH] RPC: rationalize set_buffer_size In fact, ->set_buffer_size should be completely functionless for non-UDP. Test-plan: Check socket buffer size on UDP sockets over time. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 03bf4b707eee06706c9db343dd5c905b7ee47ed2 tree 54f89b578758e2bf2650b647ae1c7100c882a757 parent 3167e12c0c424f3c323944701615343022d86418 author Chuck Lever Thu, 25 Aug 2005 16:25:55 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:53 -0400 [PATCH] RPC: parametrize various transport connect timeouts Each transport implementation can now set unique bind, connect, reestablishment, and idle timeout values. These are variables, allowing the values to be modified dynamically. This permits exponential backoff of any of these values, for instance. As an example, we implement exponential backoff for the connection reestablishment timeout. Test-plan: Destructive testing (unplugging the network temporarily). Connectathon with UDP and TCP. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 3167e12c0c424f3c323944701615343022d86418 tree 952961988fe19c19fc63f9cffb5edb4566f3527f parent 529b33c6db0120126b1381faa51406dc463acdc9 author Chuck Lever Thu, 25 Aug 2005 16:25:55 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:52 -0400 [PATCH] RPC: make sure to get the same local port number when reconnecting Implement a best practice: if the remote end drops our connection, try to reconnect using the same port number. This is important because the NFS server's Duplicate Reply Cache often hashes on the source port number. If the client reuses the port number when it reconnects, the server's DRC will be more effective. Based on suggestions by Mike Eisler, Olaf Kirch, and Alexey Kuznetsky. Test-plan: Destructive testing. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 529b33c6db0120126b1381faa51406dc463acdc9 tree 4856a23687aa891f6a5d1c45db80190b90b0fc68 parent 555ee3af161b037865793bd4bebc06b58daafde6 author Chuck Lever Thu, 25 Aug 2005 16:25:54 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:50 -0400 [PATCH] RPC: allow RPC client's port range to be adjustable Select an RPC client source port between 650 and 1023 instead of between 1 and 800. The old range conflicts with a number of network services. Provide sysctls to allow admins to select a different port range. Note that this doesn't affect user-level RPC library behavior, which still uses 1 to 800. Based on a suggestion by Olaf Kirch . Test-plan: Repeated mount and unmount. Destructive testing. Idle timeouts. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 555ee3af161b037865793bd4bebc06b58daafde6 tree 4c72474dabffab62234db158e5b6c86ace4f9d09 parent ed63c003701a314c4893c11eceb9d68f8f46c662 author Chuck Lever Thu, 25 Aug 2005 16:25:54 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:48 -0400 [PATCH] RPC: clean up after nocong was removed Clean-up: Move some macros that are specific to the Van Jacobson implementation into xprt.c. Get rid of the cong_wait field in rpc_xprt, which is no longer used. Get rid of xprt_clear_backlog. Test-plan: Compile with CONFIG_NFS enabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit ed63c003701a314c4893c11eceb9d68f8f46c662 tree c0567884d9cce53960061fece0ae9c2eabd0af77 parent a58dd398f5db4f73d5c581069fd70a4304cc4f0a author Chuck Lever Thu, 25 Aug 2005 16:25:53 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:47 -0400 [PATCH] RPC: remove xprt->nocong Get rid of the "xprt->nocong" variable. Test-plan: Use WAN simulation to cause sporadic bursty packet loss with UDP mounts. Look for significant regression in performance or client stability. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit a58dd398f5db4f73d5c581069fd70a4304cc4f0a tree 09e290d351c043392e7a2f8e0bc77aba90ff88ad parent 1570c1e41eabf6b7031f3e4322a2cf1cbe319fee author Chuck Lever Thu, 25 Aug 2005 16:25:53 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:45 -0400 [PATCH] RPC: add a release_rqst callout to the RPC transport switch The final place where congestion control state is adjusted is in xprt_release, where each request is finally released. Add a callout there to allow transports to perform additional processing when a request is about to be released. Test-plan: Use WAN simulation to cause sporadic bursty packet loss. Look for significant regression in performance or client stability. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 1570c1e41eabf6b7031f3e4322a2cf1cbe319fee tree eee53757ac3e03d55b6c01bb0500996ba520a8bb parent 46c0ee8bc4ad3743de05e8b8b20201df44dcb6d3 author Chuck Lever Thu, 25 Aug 2005 16:25:52 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:43 -0400 [PATCH] RPC: add generic interface for adjusting the congestion window A new interface that allows transports to adjust their congestion window using the Van Jacobson implementation in xprt.c is provided. Test-plan: Use WAN simulation to cause sporadic bursty packet loss. Look for significant regression in performance or client stability. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 46c0ee8bc4ad3743de05e8b8b20201df44dcb6d3 tree 6b2993ff1cefb69cc3cc40c3605d088ea2af3c98 parent 49e9a89086b3cae784a4868ca852863e4f4ea3fe author Chuck Lever Thu, 25 Aug 2005 16:25:52 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:41 -0400 [PATCH] RPC: separate xprt_timer implementations Allow transports to hook the retransmit timer interrupt. Some transports calculate their congestion window here so that a retransmit timeout has immediate effect on the congestion window. Test-plan: Use WAN simulation to cause sporadic bursty packet loss. Look for significant regression in performance or client stability. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 49e9a89086b3cae784a4868ca852863e4f4ea3fe tree 5ba197fc1767fee5590b892b2f19aeb3583494c4 parent 12a804698b29d040b7cdd92e8a44b0e75164dae9 author Chuck Lever Thu, 25 Aug 2005 16:25:51 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:40 -0400 [PATCH] RPC: expose API for serializing access to RPC transports The next method we abstract is the one that releases a transport, allowing another task to have access to the transport. Again, one generic version of this is provided for transports that don't need the RPC client to perform congestion control, and one version is for transports that can use the original Van Jacobson implementation in xprt.c. Test-plan: Use WAN simulation to cause sporadic bursty packet loss. Look for significant regression in performance or client stability. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 12a804698b29d040b7cdd92e8a44b0e75164dae9 tree 9885cf95a0a2945ad8cd00de59633a0aa16a3599 parent fe3aca290f17ae4978bd73d02aa4029f1c9c024c author Chuck Lever Thu, 25 Aug 2005 16:25:51 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:38 -0400 [PATCH] RPC: expose API for serializing access to RPC transports The next several patches introduce an API that allows transports to choose whether the RPC client provides congestion control or whether the transport itself provides it. The first method we abstract is the one that serializes access to the RPC transport to prevent the bytes from different requests from mingling together. This method provides proper request serialization and the opportunity to prevent new requests from being started because the transport is congested. The normal situation is for the transport to handle congestion control itself. Although NFS over UDP was first, it has been recognized after years of experience that having the transport provide congestion control is much better than doing it in the RPC client. Thus TCP, and probably every future transport implementation, will use the default method, xprt_lock_write, provided in xprt.c, which does not provide any kind of congestion control. UDP can continue using the xprt.c-provided Van Jacobson congestion avoidance implementation. Test-plan: Use WAN simulation to cause sporadic bursty packet loss. Look for significant regression in performance or client stability. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit fe3aca290f17ae4978bd73d02aa4029f1c9c024c tree 4fbaa255e9e7a85f41eacb7cf1214dc44a90bcea parent 43118c29dea2b23798bd42a147015cceee7fa885 author Chuck Lever Thu, 25 Aug 2005 16:25:50 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:36 -0400 [PATCH] RPC: add API to set transport-specific timeouts Prepare the way to remove the "xprt->nocong" variable by adding a callout to the RPC client transport switch API to handle setting RPC retransmit timeouts. Add a pair of generic helper functions that provide the ability to set a simple fixed timeout, or to set a timeout based on the state of a round- trip estimator. Test-plan: Use WAN simulation to cause sporadic bursty packet loss. Look for significant regression in performance or client stability. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 43118c29dea2b23798bd42a147015cceee7fa885 tree 4951a6777a3dc167d46c1373c02d21912b250e96 parent 808012fbb23a52ec59352445d2076d175ad4ab26 author Chuck Lever Thu, 25 Aug 2005 16:25:49 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:35 -0400 [PATCH] RPC: get rid of xprt->stream Now we can fix up the last few places that use the "xprt->stream" variable, and get rid of it from the rpc_xprt structure. Test-plan: Destructive testing (unplugging the network temporarily). Connectathon with UDP and TCP. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 808012fbb23a52ec59352445d2076d175ad4ab26 tree 7175edb3917bc35f7f5484f567e91d7303a17663 parent 262965f53defd312a294b45366ea17907b6a616b author Chuck Lever Thu, 25 Aug 2005 16:25:49 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:33 -0400 [PATCH] RPC: skip over transport-specific heads automatically Add a generic mechanism for skipping over transport-specific headers when constructing an RPC request. This removes another "xprt->stream" dependency. Test-plan: Write-intensive workload on a single mount point (try both UDP and TCP). Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 262965f53defd312a294b45366ea17907b6a616b tree a5e0f194c02f230ff12d9d5b0933bad9eb8810ea parent b0d93ad511ce2f37823a07c7a3258117a431f5fb author Chuck Lever Thu, 11 Aug 2005 16:25:56 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:31 -0400 [PATCH] RPC: separate TCP and UDP socket write paths Split the RPC client's main socket write path into a TCP version and a UDP version to eliminate another dependency on the "xprt->stream" variable. Compiler optimization removes unneeded code from xs_sendpages, as this function is now called with some constant arguments. We can now cleanly perform transport protocol-specific return code testing and error recovery in each path. Test-plan: Millions of fsx operations. Performance characterization such as "sio" or "iozone". Examine oprofile results for any changes before and after this patch is applied. Version: Thu, 11 Aug 2005 16:08:46 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit b0d93ad511ce2f37823a07c7a3258117a431f5fb tree a9fc753bf821d1d71c345f58e056511dfd0cf5ac parent c7b2cae8a634015b72941ba2fc6c4bc9b8d3a129 author Chuck Lever Thu, 11 Aug 2005 16:25:53 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:29 -0400 [PATCH] RPC: separate TCP and UDP transport connection logic Create separate connection worker functions for managing UDP and TCP transport sockets. This eliminates several dependencies on "xprt->stream". Test-plan: Destructive testing (unplugging the network temporarily). Connectathon with v2, v3, and v4. Version: Thu, 11 Aug 2005 16:08:18 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit c7b2cae8a634015b72941ba2fc6c4bc9b8d3a129 tree 95f561877d67eed80a823daa6ef0c00ad1c060eb parent 55aa4f58aa43dc9a51fb80010630d94b96053a2e author Chuck Lever Thu, 11 Aug 2005 16:25:50 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:28 -0400 [PATCH] RPC: separate TCP and UDP write space callbacks Split the socket write space callback function into a TCP version and UDP version, eliminating one dependence on the "xprt->stream" variable. Keep the common pieces of this path in xprt.c so other transports can use it too. Test-plan: Write-intensive workload on a single mount point. Version: Thu, 11 Aug 2005 16:07:51 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 55aa4f58aa43dc9a51fb80010630d94b96053a2e tree 7b3d79bdc15c76c25d8a53437b9e4173ebc68f24 parent 44fbac2288dfed6f1963ac00bf922c3bcd779cd1 author Chuck Lever Thu, 11 Aug 2005 16:25:47 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:26 -0400 [PATCH] RPC: client-side transport switch cleanup Clean-up: change some comments to reflect the realities of the new RPC transport switch mechanism. Get rid of unused xprt_receive() prototype. Also, organize function prototypes in xprt.h by usage and scope. Test-plan: Compile kernel with CONFIG_NFS enabled. Version: Thu, 11 Aug 2005 16:07:21 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 44fbac2288dfed6f1963ac00bf922c3bcd779cd1 tree f256182f85b4fdf9185903d6f0531f877e311c8e parent 86b9f57dfdf455763d2be73a742a9a88bb664173 author Chuck Lever Thu, 11 Aug 2005 16:25:44 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:24 -0400 [PATCH] RPC: Add helper for waking tasks pending on a transport Clean-up: remove only reference to xprt->pending from the socket transport implementation. This makes a cleaner interface for other transport implementations as well. Test-plan: Compile kernel with CONFIG_NFS enabled. Version: Thu, 11 Aug 2005 16:06:52 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 86b9f57dfdf455763d2be73a742a9a88bb664173 tree 4d153fb7e1452efcbfd170c8ce85f049257c558e parent 2226feb6bcd0e5e117a9be3ea3dd3ffc14f3e41e author Chuck Lever Thu, 11 Aug 2005 16:25:41 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:23 -0400 [PATCH] RPC: Eliminate socket.h includes in RPC client Clean-up: get rid of unnecessary socket.h and in.h includes in the generic parts of the RPC client. Test-plan: Compile kernel with CONFIG_NFS enabled. Version: Thu, 11 Aug 2005 16:06:23 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 2226feb6bcd0e5e117a9be3ea3dd3ffc14f3e41e tree 5ae6bde4dd66da8932c23c780745c72cf38de722 parent 5dc07727f86b25851e95193a0c484ea21b531c47 author Chuck Lever Thu, 11 Aug 2005 16:25:38 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:21 -0400 [PATCH] RPC: rename the sockstate field Clean-up: get rid of a name reference to sockets in the generic parts of the RPC client by renaming the sockstate field in the rpc_xprt structure. Test-plan: Compile kernel with CONFIG_NFS enabled. Version: Thu, 11 Aug 2005 16:05:53 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 5dc07727f86b25851e95193a0c484ea21b531c47 tree 813a8cb359fef51172ff67d9da8efdfc5fee4a83 parent 4a0f8c04f2ece949d54a0c4fd7490259cf23a58a author Chuck Lever Thu, 11 Aug 2005 16:25:35 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:19 -0400 [PATCH] RPC: Rename xprt_lock Clean-up: Replace the xprt_lock with something more aptly named. This lock single-threads the XID and request slot reservation process. Test-plan: Compile kernel with CONFIG_NFS enabled. Version: Thu, 11 Aug 2005 16:05:26 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 4a0f8c04f2ece949d54a0c4fd7490259cf23a58a tree 6c6e142cfa37b984dcba6f785a4f886374a307c6 parent b4b5cc85ed4ecbe4adbfbc4df028850de67a9f09 author Chuck Lever Thu, 11 Aug 2005 16:25:32 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:17 -0400 [PATCH] RPC: Rename sock_lock Clean-up: replace a name reference to sockets in the generic parts of the RPC client by renaming sock_lock in the rpc_xprt structure. Test-plan: Compile kernel with CONFIG_NFS enabled. Version: Thu, 11 Aug 2005 16:05:00 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit b4b5cc85ed4ecbe4adbfbc4df028850de67a9f09 tree 41b4a8d22847f816e555ad5e4566b9c33dea5c0f parent 9903cd1c27a1f30e8efea75e125be3b2002f7cb9 author Chuck Lever Thu, 11 Aug 2005 16:25:29 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:16 -0400 [PATCH] RPC: Reduce stack utilization in xs_sendpages Reduce stack utilization of the RPC socket transport's send path. A couple of unlikely()s are added to ensure the compiler places the tail processing at the end of the csect. Test-plan: Millions of fsx operations. Performance characterization such as "sio" or "iozone". Version: Thu, 11 Aug 2005 16:04:30 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 9903cd1c27a1f30e8efea75e125be3b2002f7cb9 tree ad684d0ce47793f161839e2321f118206ef707f3 parent a246b0105bbd9a70a698f69baae2042996f2a0e9 author Chuck Lever Thu, 11 Aug 2005 16:25:26 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:14 -0400 [PATCH] RPC: transport switch function naming Introduce block header comments and a function naming convention to the socket transport implementation. Provide a debug setting for transports that is separate from RPCDBG_XPRT. Eliminate xprt_default_timeout(). Provide block comments for exposed interfaces in xprt.c, and eliminate the useless obvious comments. Convert printk's to dprintk's. Test-plan: Compile kernel with CONFIG_NFS enabled. Version: Thu, 11 Aug 2005 16:04:04 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit a246b0105bbd9a70a698f69baae2042996f2a0e9 tree 6c8831d8579a7fdc5201d3e9c20270cb1420eeda parent 094bb20b9fcab3a1652a77741caba6b78097d622 author Chuck Lever Thu, 11 Aug 2005 16:25:23 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:12 -0400 [PATCH] RPC: introduce client-side transport switch Move the bulk of client-side socket-specific code into a separate source file, net/sunrpc/xprtsock.c. Test-plan: Millions of fsx operations. Performance characterization such as "sio" or "iozone". Destructive testing (unplugging the network temporarily, server reboots). Connectathon with v2, v3, and v4. Version: Thu, 11 Aug 2005 16:03:38 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 094bb20b9fcab3a1652a77741caba6b78097d622 tree 85347e557be116ed1fa8bbf63555fcb83920baf5 parent 602f83273c89fdd25f24757564d8001cf723e740 author Chuck Lever Thu, 11 Aug 2005 16:25:20 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:11 -0400 [PATCH] RPC: extract socket logic common to both client and server Clean-up: Move some code that is common to both RPC client- and server-side socket transports into its own source file, net/sunrpc/socklib.c. Test-plan: Compile kernel with CONFIG_NFS enabled. Millions of fsx operations over UDP, client and server. Connectathon over UDP. Version: Thu, 11 Aug 2005 16:03:09 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 602f83273c89fdd25f24757564d8001cf723e740 tree 5268f27e143907ca08d265fdbc49e9c5c89e914d parent eab5c084b858fd95a873fc2b97de9a9ad937b4ed author Chuck Lever Thu, 11 Aug 2005 16:25:17 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:08 -0400 [PATCH] RPC: portmapper doesn't need a reserved port The in-kernel portmapper does not require a reserved port for making bind queries. Test-plan: Tens of runs of the Connectathon locking suite with TCP and UDP against several other NFS server implementations using NFSv3, not NFSv4 (which doesn't require rpcbind). Version: Thu, 11 Aug 2005 16:02:43 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit eab5c084b858fd95a873fc2b97de9a9ad937b4ed tree 6ba8287570ecc83fed1512bd4901df979221c2ab parent da35187801732397a7e05fb9e77f3700cc35f5db author Chuck Lever Thu, 11 Aug 2005 16:25:14 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:06 -0400 [PATCH] NFS: use a constant value for TCP retransmit timeouts Implement a best practice: don't use exponential backoff when computing retransmit timeout values on TCP connections, but simply retransmit at regular intervals. This also fixes a bug introduced when xprt_reset_majortimeo() was added. Test-plan: Enable RPC debugging and watch timeout behavior on a NFS/TCP mount. Version: Thu, 11 Aug 2005 16:02:19 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit da35187801732397a7e05fb9e77f3700cc35f5db tree 61307975e36112fd85b98d0df824386e209a5049 parent 23475d66bd8600e0c5353f86c1b74f68df27bdb5 author Chuck Lever Thu, 11 Aug 2005 16:25:11 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:04 -0400 [PATCH] RPC: proper soft timeout behavior for rpcbind Implement a best practice: for soft mounts, an rpcbind timeout should cause an RPC request to fail. This also provides an FSM hook for retrying an rpcbind with a different rpcbind protocol version. We'll use this later to try multiple rpcbind protocol versions when binding. To enable this, expose the RPC error code returned during a portmap request to the FSM so it can make some decision about how to report, retry, or fail the request. Test-plan: Hundreds of passes with connectathon NFSv3 locking suite, on the client and server. Version: Thu, 11 Aug 2005 16:01:53 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 23475d66bd8600e0c5353f86c1b74f68df27bdb5 tree 040565dacc08e99a86e2dd716b348f74e12e08db parent 9aa48b7e270d13c8781414dce081a42cae20a80d author Chuck Lever Thu, 11 Aug 2005 16:25:08 -0400 committer Trond Myklebust Fri, 23 Sep 2005 12:38:03 -0400 [PATCH] RPC: Report connection errors properly when mounting with "soft" Fix up xprt_connect_status: the soft timeout logic was clobbering tk_status, so TCP connect errors were not properly reported on soft mounts. Test-plan: Destructive testing (unplugging the network temporarily). Connectathon with UDP and TCP. Version: Thu, 11 Aug 2005 16:01:28 -0400 Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 9aa48b7e270d13c8781414dce081a42cae20a80d tree 788749de63303b280155cd84c5a47434f029d6e0 parent 449231d6ddf50ca46b7fb2f76ecf790135222913 author Trond Myklebust Thu, 25 Aug 2005 16:25:35 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:38:01 -0400 NFS: Don't expose internal READDIR errors to userspace Fixes a condition whereby the kernel is returning the non-POSIX error EBADCOOKIE to userspace. Signed-off-by: Trond Myklebust commit 449231d6ddf50ca46b7fb2f76ecf790135222913 tree 0c493d7f4fb68f1f639c56258bcd025d5b904fb0 parent 20509f1bc553ed7fafa88fa8d01c6212d1876d9f author Olaf Kirch Thu, 25 Aug 2005 16:25:35 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:37:59 -0400 From: Olaf Kirch [PATCH] Fix miscompare in __posix_lock_file If an application requests the same lock twice, the kernel should just leave the existing lock in place. Currently, it will install a second lock of the same type. Signed-off-by: Olaf Kirch Signed-off-by: Trond Myklebust commit 20509f1bc553ed7fafa88fa8d01c6212d1876d9f tree da10ad62009995269dc0733a254a0bc1f6293aa2 parent 12f44f46bc9c6dc79255e661b085797af395d8da author Trond Myklebust Thu, 25 Aug 2005 16:25:34 -0700 committer Trond Myklebust Fri, 23 Sep 2005 12:37:58 -0400 NFS: Drop inode after rename When doing a rename on top of an existing file that is not in use, the inode of the overwritten file will remain in the icache. The fix is to decrement i_nlink of the overwritten inode, like we do for unlink, rmdir etc already. Problem diagnosed by Olaf Kirch. This patch is a slight variation on his fix. Signed-off-by: Trond Myklebust commit acc4b985a6f8f22a0e826692894a4af234764001 tree 4615a3494ce14ed78d592599fd29605425b9c986 parent 48ca703807eba616ad5e384b40e27514bd341a3d author Pavel Roskin Fri, 23 Sep 2005 04:18:06 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:14 -0400 [PATCH] orinoco: Bump version to 0.15rc3. Signed-off-by: Pavel Roskin Bump version to 0.15rc3. Signed-off-by: Jeff Garzik commit 48ca703807eba616ad5e384b40e27514bd341a3d tree ca4a41c2a653ff89ff1e713109e9afe4978a12e6 parent d133ae4cd6a3c75c31b1630f906cc9979a11077f author Pavel Roskin Fri, 23 Sep 2005 04:18:06 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:13 -0400 [PATCH] orinoco: Read only needed data in __orinoco_ev_txexc(). Signed-off-by: Pavel Roskin Read only needed data in __orinoco_ev_txexc(). Don't read the 802.11 header beyond addr1. The rest of the frame is not used currently. Signed-off-by: Jeff Garzik commit d133ae4cd6a3c75c31b1630f906cc9979a11077f tree 4b292054c342e6e8c5b2594c62cbf3534eea1edf parent 393da59834eef526fc6fd0df321e94344d7c49e3 author Pavel Roskin Fri, 23 Sep 2005 04:18:06 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:13 -0400 [PATCH] orinoco: Annotate endianess of variables and structure members. Signed-off-by: Pavel Roskin Annotate endianess of variables and structure members. Don't reuse variables for both host-endian and little-endian data. Minor comment changes in affected structures. Signed-off-by: Jeff Garzik commit 393da59834eef526fc6fd0df321e94344d7c49e3 tree bf4285c3f2064b56c2b188d4f24fe2b3d740290b parent 8aeabc375041a5fe9c9be315472497b2e0547eed author Pavel Roskin Fri, 23 Sep 2005 04:18:06 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:13 -0400 [PATCH] orinoco: Remove unneeded forward declarations. Signed-off-by: Pavel Roskin Remove unneeded forward declarations. Also reorder struct pcmcia_driver initialization to keep attach and detach together. Signed-off-by: Jeff Garzik commit 8aeabc375041a5fe9c9be315472497b2e0547eed tree 27f79b27bc015596395c03ecd9c6ae72964fb322 parent f3cb4cc120177090b0ccc9fb20a12010de39ac8a author Pavel Roskin Fri, 23 Sep 2005 04:18:06 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:13 -0400 [PATCH] orinoco: orinoco_send_wevents() could return without unlocking. Signed-off-by: Pavel Roskin orinoco_send_wevents() could return without unlocking. Failure to read BSSID from the hardware would cause orinoco_send_wevents() to return with lock held. Found by sparse. Signed-off-by: Jeff Garzik commit f3cb4cc120177090b0ccc9fb20a12010de39ac8a tree 368c76f705f9512f5016288b607e3a0e4b36d54d parent 4c08202547111e503eca4031ae9443159a79e2b2 author Pavel Roskin Fri, 23 Sep 2005 04:18:06 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:13 -0400 [PATCH] orinoco: Fix memory leak and unneeded unlock in orinoco_join_ap() Signed-off-by: Pavel Roskin Fix memory leak and unneeded unlock in orinoco_join_ap() If orinoco_lock() fails, the code would still run orinoco_unlock(), instead of freeing the allocated memory. Found by sparse. Signed-off-by: Jeff Garzik commit 4c08202547111e503eca4031ae9443159a79e2b2 tree 16e191f069d0d722a61cbab76ab77fa587162386 parent ef846bf04f4c9e1a68ab841e89931f8c26100874 author Pavel Roskin Fri, 23 Sep 2005 04:18:06 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:13 -0400 [PATCH] orinoco: Make nortel_pci_hw_init() static. Signed-off-by: Pavel Roskin Make nortel_pci_hw_init() static. Found by sparse. Signed-off-by: Jeff Garzik commit ef846bf04f4c9e1a68ab841e89931f8c26100874 tree 20a1f3808166d65f98db97944870e20143c05067 parent da192bb50cc9a7fe7d95e048422d51777bad0bba author Pavel Roskin Fri, 23 Sep 2005 04:18:07 -0400 committer Jeff Garzik Fri, 23 Sep 2005 04:36:13 -0400 [PATCH] orinoco: Remove inneeded system includes. Signed-off-by: Pavel Roskin Remove inneeded system includes. Most system includes are not needed. In particular, the hardware backends don't need anything network related. Some includes have been moved from local headers to the C files where they are actually used. Includes that have to be in the local headers are no longer from the C sources. Signed-off-by: Jeff Garzik commit 3d8a66cc9ec475baaf22de139deff67ffe8e7cf2 tree c878bdc48eac5f9b9035664de93f5bb308579b58 parent 95b293800859886b602e31c8926a840530a82971 author Stephen Rothwell Fri, 23 Sep 2005 15:17:30 +1000 committer Stephen Rothwell Fri, 23 Sep 2005 15:17:30 +1000 ppc64 iSeries: Don't create linux,boot-cpu This is obsolete. Signed-off-by: Stephen Rothwell commit 95b293800859886b602e31c8926a840530a82971 tree 7355f1986b4f41e09c91e354b4a59191de1e799b parent 47db360328582000a7a46390cfa385b8df07b44f author Michael Ellerman Fri, 23 Sep 2005 15:03:10 +1000 committer Stephen Rothwell Fri, 23 Sep 2005 15:03:10 +1000 ppc64 iSeries: Define /cpus in iSeries device tree Add the /cpus node and nodes for each cpu, as well as cache size properties, reg propery, "linux,boot-cpu", and timebase/clock frequency. With those properties in place we can remove: - setup_iSeries_cache_sizes() - code in iSeries_setup_arch() to calculate timebase etc. - iSeries_calibrate_decr() - smp_iSeries_numProcs() and simplify smp_iSeries_probe() Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 47db360328582000a7a46390cfa385b8df07b44f tree b6f57ac073945c7630a881173006e51f3f42a88f parent 3ab42407fe0628c7880b21eff057566390865319 author Michael Ellerman Fri, 23 Sep 2005 15:01:49 +1000 committer Stephen Rothwell Fri, 23 Sep 2005 15:01:49 +1000 ppc64 iSeries: Move setup of systemcfg->platform into iSeries device tree Add /chosen/linux,platform to the device tree so we can remove iSeries specific code in setup_system() to set systemcfg->platform. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 3ab42407fe0628c7880b21eff057566390865319 tree 2e5f9aa35cf7603a4298f2940d9ec53b588ca6b3 parent 4762713a93fa8706c31b0897c1340e7dc282d8fb author Michael Ellerman Fri, 23 Sep 2005 15:00:20 +1000 committer Stephen Rothwell Fri, 23 Sep 2005 15:00:20 +1000 ppc64 iSeries: Move memory setup into iSeries device tree This patch adds the required nodes to the iSeries device tree to allow early_init_devtree() to do the lmb setup for us. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 4762713a93fa8706c31b0897c1340e7dc282d8fb tree 12c28b1b91fa691c17e9d33dcc7a391e7445a473 parent c0a59491daca7db11d49edad1a1cefaaa7120a9e author Michael Ellerman Fri, 23 Sep 2005 14:59:04 +1000 committer Stephen Rothwell Fri, 23 Sep 2005 14:59:04 +1000 ppc64 iSeries: Call early_setup() on iSeries Misc steps to incorporate the flat device tree on iSeries. - define iseries_probe() - call build_iSeries_Memory_Map() earlier - return __pa() of the flat device tree from iSeries_early_setup() - actually call early_setup() for iSeries - add iseries_md to machdep_calls - build prom.o for iSeries - enable /proc/device-tree for iSeries Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit c0a59491daca7db11d49edad1a1cefaaa7120a9e tree ea7947639fd442a15f57962f4350998b3c2ccbb3 parent f6ab9c68406dfcd1fcd0a5352244fcb932b113b1 author Michael Ellerman Fri, 23 Sep 2005 14:56:09 +1000 committer Stephen Rothwell Fri, 23 Sep 2005 14:56:09 +1000 ppc64 iSeries: Create a fake flat device tree on iSeries This patch adds infrastructure for creating a fake flattened device tree on iSeries. We also need to build prom.o for iSeries which means we'll always need it. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit f6ab9c68406dfcd1fcd0a5352244fcb932b113b1 tree 8a411992ed256859bfdca3a15b2335d0cbd065ee parent 7c6f947f2477f7c0017be1af458eb5e0b96b7f40 author Michael Ellerman Fri, 23 Sep 2005 14:54:37 +1000 committer Stephen Rothwell Fri, 23 Sep 2005 14:54:37 +1000 ppc64 iSeries: Make smp_release_cpus() callable on iSeries We don't need to call smp_release_cpus() on iSeries but it's harmless if we do and it removes another #ifdef ISERIES. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 7c6f947f2477f7c0017be1af458eb5e0b96b7f40 tree abb7a4387a8b1ab531fa1746ddd88f9215bc8449 parent 4c55130b2aa93370f1bf52d2304394e91cf8ee39 author Michael Ellerman Fri, 23 Sep 2005 14:50:25 +1000 committer Stephen Rothwell Fri, 23 Sep 2005 14:50:25 +1000 ppc64 iSeries: Make stab_initialize() work on iSeries We don't need to call stab_initialize() for the boot cpu on iSeries, so we hack around it so that early_setup() can be called on iSeries. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 4c55130b2aa93370f1bf52d2304394e91cf8ee39 tree 522c7f510775f221c4e8046bc238a618db4768df parent ba293fff085fde5b9f1b5a57c8abb1a8098d0c59 author Michael Ellerman Fri, 23 Sep 2005 14:47:58 +1000 committer Stephen Rothwell Fri, 23 Sep 2005 14:47:58 +1000 ppc64 iSeries: Update create_pte_mapping to replace iSeries_bolt_kernel() early_setup() calls htab_initialize() which is similar, but not identical to iSeries_bolt_kernel(). On iSeries the Hypervisor has already inserted some ptes for us, and we simply have to detect that and bolt them. iSeries_hpte_bolt_or_insert() implements that logic. For the case of a non-existing pte we just call iSeries_hpte_insert(). This appears to work, although it's not entirely equivalent to the old code in iSeries_make_pte() which panicked if we got a secondary slot. Not sure if that's important. Finally we call iSeries_hpte_bolt_or_insert() from create_pte_mapping(), which is called from htab_initialize() for each lmb region. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit ba293fff085fde5b9f1b5a57c8abb1a8098d0c59 tree a5fdbb59380facc566adcfc3c4a2dea947324473 parent 9f497581fda5fd804e9ebd7d8f6d80c3a0e9f883 author Michael Ellerman Fri, 23 Sep 2005 14:43:22 +1000 committer Stephen Rothwell Fri, 23 Sep 2005 14:43:22 +1000 ppc46 iSeries: Make some generic irq code compile for iSeries In order to call finish_device_tree() on iSeries we need to define virt_irq_create_mapping(). We also need to set ppc64_interrupt_controller to something other than zero. If we want to do interrupt setup via the device tree on iSeries this code will need some serious work, but it's harmless to have it there as long as the nodes in the iSeries device tree don't cause it to be invoked. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 9f497581fda5fd804e9ebd7d8f6d80c3a0e9f883 tree 3a766e7140be8fa99a75e9384ccee64d66b82993 parent e903c5b536895fdf69970df62c5bf49ad17e6533 author Michael Ellerman Fri, 23 Sep 2005 14:10:59 +1000 committer Stephen Rothwell Fri, 23 Sep 2005 14:10:59 +1000 ppc64 iSeries: Move iSeries ppc_md functions into a machdep_calls struct Move the iSeries machine specific calls into a machdep_calls struct like other platforms, rather than setting members of ppc_md explicitly. Signed-off-by: Michael Ellerman Signed-off-by: Stephen Rothwell commit 70ca734a14366b634224a1e4586d43b36b65ab67 tree bad9c511f846baebc18d0f5190bbe5fde5ae0dd1 parent 2096243885ee34b78cb57ce835e07c8536a67d2a author Steve French Thu, 22 Sep 2005 16:32:06 -0700 committer Steve French Thu, 22 Sep 2005 16:32:06 -0700 [CIFS] Various minor bigendian fixes and sparse level 2 warning message fixes Most important of these fixes mapchars on bigendian and a few statfs fields Signed-off-by: Shaggy (shaggy@austin.ibm.com) Signed-off-by: Steve French (sfrench@us.ibm.com) commit da192bb50cc9a7fe7d95e048422d51777bad0bba tree 560986cb68a747de281f82ca605c7125ccc65c1c parent af9288a707b609cdb1069cfe5bde0d6567c12c31 parent 3fd07d3bf0077dcc0f5a33d2eb1938ea050da8da author Jeff Garzik Thu, 22 Sep 2005 15:43:14 -0400 committer Jeff Garzik Thu, 22 Sep 2005 15:43:14 -0400 Merge /spare/repo/linux-2.6/ commit af9288a707b609cdb1069cfe5bde0d6567c12c31 tree 32ee8fee982736729524f34ece457449ab1356d3 parent 6eb6edf04acd09e3cea09456913e8da59323b89e author James Ketrenos Thu, 22 Sep 2005 15:43:07 -0400 committer Jeff Garzik Thu, 22 Sep 2005 15:43:07 -0400 ieee80211: update orinoco, wl3501 drivers for latest struct naming commit 6eb6edf04acd09e3cea09456913e8da59323b89e tree 7cf648aba7823b1b7cc9419f682a2dca60cc2e82 parent e5658d3e8a347f4393a9403b0cec8d43fa6214b1 author James Ketrenos Thu, 22 Sep 2005 10:34:15 +0000 committer Jeff Garzik Thu, 22 Sep 2005 15:40:59 -0400 [PATCH] ieee80211: in-tree driver updates to sync with latest ieee80211 series Changed crypto method from requiring a struct ieee80211_device reference to the init handler. Instead we now have a get/set flags method for each crypto component. Setting of TKIP countermeasures can now be done via set_flags(IEEE80211_CRYPTO_TKIP_COUNTERMEASURES) Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit e5658d3e8a347f4393a9403b0cec8d43fa6214b1 tree ae957738fa0a95a656e26b8ea48728b6c4267604 parent 31b59eaee8f8ec29d8cb6ac0c8eed086689d8030 author James Ketrenos Wed, 21 Sep 2005 11:58:56 -0500 committer Jeff Garzik Thu, 22 Sep 2005 15:39:41 -0400 [PATCH] ieee80211: added IE comments, reason_code to reason, removed info_element from ieee80211_disassoc tree 0254e7c97cece038cd11b47a16027c6379e464fe parent a84f7713dc87ca1b51c6d53b391087663425a080 author James Ketrenos 1126661324 -0500 committer James Ketrenos 1127319069 -0500 Updated based on Michael Wu's patch and comments sent to netdev. Added IE comments to ieee80211_* frame structures. Changed reason_code to reason (consistency) Removed info_element from ieee80211_disassoc Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 31b59eaee8f8ec29d8cb6ac0c8eed086689d8030 tree 5ab119a07e98aaf623dc8ce6f04f7b3403b6b971 parent 31696160c7415b5a7efa650c7f1ca5c9623f5d8f author James Ketrenos Wed, 21 Sep 2005 11:58:49 -0500 committer Jeff Garzik Thu, 22 Sep 2005 15:39:41 -0400 [PATCH] ieee80211: Added handle_deauth() callback, enhanced tkip/ccmp support of varying hw/sw offload tree de81b55e78e85997642c651ea677078d0554a14f parent c8030da8c159f8b82712172a6748a42523aea83a author James Ketrenos 1127104380 -0500 committer James Ketrenos 1127315225 -0500 Added handle_deauth() callback. Enhanced crypt_{tkip,ccmp} to support varying splits of HW/SW offload. Changed channel freq to u32 from u16. Signed-off-by: Jeff Garzik commit 31696160c7415b5a7efa650c7f1ca5c9623f5d8f tree 1f82e3a1e477374c78240ec2e95cece4859d9e81 parent 8a4ae7f2e24bf99b61082ca45de8e54e70300b9d author James Ketrenos Wed, 21 Sep 2005 11:58:46 -0500 committer Jeff Garzik Thu, 22 Sep 2005 15:39:41 -0400 [PATCH] ieee80211: Added subsystem version string and reporting via MODULE_VERSION tree c1b50ac5d2d1f9b727c39c6bd86a7872f25a1127 parent 1bb997a3ac7dd1941e02426d2f70bd28993a82b7 author James Ketrenos 1126720779 -0500 committer James Ketrenos 1127314674 -0500 Added subsystem version string and reporting via MODULE_VERSION and pritnk during load. NOTE: This is the version support split out from patch 24/29 of the prior series. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit b671ad2befe37131af380183760862d5cbad858d tree c6c27d4adf742f360e5056f435601254f050781d parent fa2ac7a25f1b11c4a695c9288339d0476ecfaf38 author Kumar Gala Wed, 21 Sep 2005 16:52:55 -0500 committer Paul Mackerras Thu, 22 Sep 2005 21:03:34 +1000 [PATCH] powerpc: merged hw_irq.h Merged hw_irq.h between ppc32 & ppc64. Added support to use the Book-E wrtee[i] instructions that allow modifying MSR[EE] atomically. Additionally, added get_irq_desc() macros to ppc32 to allow mask_irq(), unmask_irq(), and ack_irq() to be common between ppc32 & ppc64. Note: because 64-bit Book-E implementations only have a 32-bit MSR the macro's for Book-E need to come before the PPC64 macro's to ensure the right thing happends for 64-bit Book-E processors. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit fa2ac7a25f1b11c4a695c9288339d0476ecfaf38 tree 17fa8141c7601ea8e7281cd54fd7a41ae35f7d85 parent b8f114db84dac709080198e08a5564976afd6579 author Kumar Gala Wed, 21 Sep 2005 15:44:11 -0500 committer Paul Mackerras Thu, 22 Sep 2005 21:03:34 +1000 [PATCH] powerpc: Fix compiling of ppc32 The merging of auxvec.h into asm-powerpc introduced the AT_SYSINFO_EHDR into the ppc32 build that is used for VDSO. However, we dont have VDSO support in the ppc32 tree at this time. Introducing this define causes a number of other things to get built with the assumption of VDSO, thus causing the compile errors for ppc32. Until we have VDSO on ppc32 we will leave AT_SYSINFO_EHDR a ppc64 only define. Signed-off-by: Kumar K. Gala Signed-off-by: Paul Mackerras commit b8f114db84dac709080198e08a5564976afd6579 tree 6680ab0ae0d189ea5b4ec729bfedb352e859d412 parent e903c5b536895fdf69970df62c5bf49ad17e6533 author Jon Loeliger Wed, 21 Sep 2005 14:54:51 -0500 committer Paul Mackerras Thu, 22 Sep 2005 21:03:33 +1000 [PATCH] powerpc: Merge asm-ppc*/dma.h This merges the asm-ppc*/dma.h files. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 2096243885ee34b78cb57ce835e07c8536a67d2a tree caae2d2535d33cca16f11da9a2d25e445bd30018 parent e30dcf3a1905b4d2154f95db5fdfdf69691b4f0e author Steve French Wed, 21 Sep 2005 22:05:57 -0700 committer Steve French Wed, 21 Sep 2005 22:05:57 -0700 [CIFS] Add support for legacy servers part nine. statfs (df and du) is now functional, and the length check is fixed so readdir does not throw a warning message when windows me messes up the response to FindFirst of an empty dir (with only . and ..). Signed-off-by: Steve French (sfrench@us.ibm.com) commit 8a4ae7f2e24bf99b61082ca45de8e54e70300b9d tree 560df923cbd6dcee66352e1d55c8b170ebd57b36 parent 9a01c16bd49071b2e7904d222cae71d5f8bf6bb5 author Manfred Spraul Wed, 21 Sep 2005 23:22:10 -0400 committer Jeff Garzik Wed, 21 Sep 2005 23:22:10 -0400 forcedeth: add hardware tx checksumming Recent forcedeth nics support checksum offloading for tx. The attached patch, written by Ayaz Abdulla, adds the support to the driver. It also cleans up the handling of the three dma ring entry formats that are supported by the driver. Signed-off-By: Manfred Spraul Signed-off-By: Jeff Garzik commit 9a01c16bd49071b2e7904d222cae71d5f8bf6bb5 tree 6f1235f312251cccbb7f7d28f1e9c3f7fae0d0a2 parent 5bfc819b53ed67c76f33f969ab627070e85d87c1 author James Ketrenos Wed, 21 Sep 2005 14:33:32 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:19:09 -0400 [PATCH] ieee82011: Remove WIRELESS_EXT ifdefs Remove old WIRELESS_EXT version compatibility In-tree doesn't need to maintain backward compatibility. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 5bfc819b53ed67c76f33f969ab627070e85d87c1 tree a50aa1fd2c5cd51d934883b4f7cf559157c8f592 parent d041674d62e1ad565f2fb6d53ae80b31d6656033 author James Ketrenos Wed, 21 Sep 2005 12:23:51 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:07:15 -0400 [PATCH] ieee80211: Updated hostap to be compatible with extra_prefix_len changes tree 8c1676c8a15c08e6d4c718fc7cd42d9bf4cd8235 parent 0ccc3dd6469ed492578c184f47dde2baccde3593 author James Ketrenos 1126715240 -0500 committer James Ketrenos 1127316717 -0500 Updated hostap to be compatible with extra_prefix_len changes. Accomplished via: for i in hostap_ap.c hostap_80211_tx.c; do sed -i -e "s:\([.>]\)extra_prefix_len:\1extra_mpdu_prefix_len:g" \ -e "s:\([.>]\)extra_postfix_len:\1extra_mpdu_postfix_len:g" \ drivers/net/wireless/hostap/$i done CC: Jouni Malinen Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit d041674d62e1ad565f2fb6d53ae80b31d6656033 tree fe63cb09606c2c23485092bac7298c85677fea92 parent ebeaddcc02fd47d1dbb7f25318d046461d90e4af author James Ketrenos Wed, 21 Sep 2005 12:23:49 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:07:15 -0400 [PATCH] ieee80211: Updated hostap to be compatible with ieee80211_hdr changes tree 8ec97d9056ceaf0f845ed51175dd842b700baadd parent 329128457008ace3110c96971addf85a767dd5af author James Ketrenos 1126714484 -0500 committer James Ketrenos 1127316636 -0500 Updated hostap to be compatible with ieee80211_hdr changes. Change accomplished via: for i in hostap_ap.{c,h} hostap_80211_{t,r}x.c; do sed -i -e "s:ieee80211_hdr\([^_]\):ieee80211_hdr_4addr\1:g" \ drivers/net/wireless/hostap/$i done CC: Jouni Malinen Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit ebeaddcc02fd47d1dbb7f25318d046461d90e4af tree f623693884cb482dcbf3c5e3974442ddd31ca6de parent 7dc888fefc053996354ca40602159e0ce5669f86 author James Ketrenos Wed, 21 Sep 2005 11:58:43 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:04:58 -0400 [PATCH] ieee80211: Updated copyright dates tree 0d3e41e574fcb41b9da7f0b7e1d27ec350726654 parent dbe2885fe2f454d538eaaabefc741ded1026f476 author James Ketrenos 1126720499 -0500 committer James Ketrenos 1127314531 -0500 Updated copyright dates. NOTE: This is a split out of just the copyright updates from patch 24/29 in the prior series. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 7dc888fefc053996354ca40602159e0ce5669f86 tree a92b0c4d487649958d908fbd2ce60425ca5ac8e8 parent ccd0fda3a6d9186d067893114f65b8df758d5a1f author James Ketrenos Wed, 21 Sep 2005 11:58:38 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:04:57 -0400 [PATCH] ieee80211: Keep auth mode unchanged after iwconfig key off/on cycle tree 2e6f6e7dc4f4eeb8e3dc265020016dd53e40578a parent ba2075794a089430b3dd7c90ff46ce1b67e9c7cc author Zhu Yi 1125551043 +0800 committer James Ketrenos 1127314475 -0500 [Bug 768] Keep auth mode unchanged after iwconfig key off/on cycle. Signed-off-by: Zhu Yi Signed-off-by: Jeff Garzik commit ccd0fda3a6d9186d067893114f65b8df758d5a1f tree 2a6301d4762851c7253a21b50e10818cc1bab5b3 parent 42c94e43be27f8b9be9b5be491bae8af05e54dbd author James Ketrenos Wed, 21 Sep 2005 11:58:32 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:04:57 -0400 [PATCH] ieee80211: Mixed PTK/GTK CCMP/TKIP support tree 5c7559a1216ae1121487f6aed94a6017490729b3 parent c1ff4c22e5622c8987bf96c09158c4924cde98c2 author Hong Liu 1125482767 +0800 committer James Ketrenos 1127314427 -0500 Mixed PTK/GTK CCMP/TKIP support. Signed-off-by: Hong Liu Signed-off-by: Jeff Garzik commit 42c94e43be27f8b9be9b5be491bae8af05e54dbd tree 83ec8abd98a18e1539c6b99979f11b5d6c3341bc parent 9ba7e0d1579485ce231594651b39c169029f5d67 author James Ketrenos Wed, 21 Sep 2005 11:58:29 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:04:57 -0400 [PATCH] ieee80211: Type-o, capbility definition for QoS, and ERP parsing tree 3ac0dd07b9972dfd68fee47ec2152d3d378de000 parent 9ada1d971d9829c34a14d98840080b7e69fdff6b author Mohamed Abbad 1126054379 -0500 committer James Ketrenos 1127314340 -0500 Type-o, capbility definition for QoS, and ERP parsing Added WLAN_CAPABILITY_QOS Fixed type-o WLAN_CAPABILITY_OSSS_OFDM -> WLAN_CAPABILITY_DSSS_OFDM Added ERP IE parsing to ieee80211_rx Added handle_probe_request callback. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 9ba7e0d1579485ce231594651b39c169029f5d67 tree a00b1757d7a2d548b0e3cd13589aaadeb88d1d3c parent cdcfc210820b8e043cb606eddc145906185c6743 author James Ketrenos Wed, 21 Sep 2005 11:58:24 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:03:55 -0400 [PATCH] ieee80211: "extern inline" to "static inline" tree bce04549ce0a8239d8083d8da5c3d12f7e1aecd9 parent b15a5153d5f1c75d9435d5ce19b52287059d5d54 author Adrian Bunk 1125026386 -0500 committer James Ketrenos 1127313953 -0500 "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit cdcfc210820b8e043cb606eddc145906185c6743 tree 96765d7169945c83d8ace4db8d5bde187ec2d812 parent 3905ec4561b7b049e9c2e27311d072c356dbdee2 author James Ketrenos Wed, 21 Sep 2005 11:56:49 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:03:55 -0400 [PATCH] ieee80211: Additional fixes for endian-aware types tree 589bbb92ce7cdf7c2ae820b0ebd3f8fbf1baeee9 parent c6ce9081e79e8836a11e86e3d38297521a2420be author Jiri Benc 1125015310 -0400 committer James Ketrenos 1127313914 -0500 Additional fixes for endian-aware types Based on the application of __le16/__be16 changes already made w/ a prior patch by Michael Wu Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 3905ec4561b7b049e9c2e27311d072c356dbdee2 tree 81a34fc3ce8f5bf8aa937023e23f90c7e2ed6760 parent 02cda6ae01814f58422c45259fb48136fbd7bcc1 author James Ketrenos Wed, 21 Sep 2005 11:56:42 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:03:55 -0400 [PATCH] ieee80211: Added ieee80211_radiotap.h tree 383c59b2516a61f2683f02dfebbed0caf6ee5dc3 parent a04948f63fd96c4b875a43f78afad1a0874cc441 author Mike Kershaw 1124447833 -0500 committer James Ketrenos 1127313883 -0500 Added ieee80211_radiotap.h to enhance statistic reporting to user space from wireless drivers. Signed-off-by: Mike Kershaw Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 02cda6ae01814f58422c45259fb48136fbd7bcc1 tree 3efdd946b19928c4dbe039f68ee1cfc65fe57355 parent 9e8571affd1c54b9638b4ff9844e47aae07310f6 author James Ketrenos Wed, 21 Sep 2005 11:56:38 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:03:55 -0400 [PATCH] ieee80211: Added ieee80211_geo to provide helper functions tree 385b391fc0d7c124cd0547fdb6183e9a0c333391 parent 97d7a47f76e72bedde7f402785559ed4c7a8e8e8 author James Ketrenos 1124447590 -0500 committer James Ketrenos 1127313735 -0500 Added ieee80211_geo to provide helper functions to drivers for implementing supported channel maps. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 9e8571affd1c54b9638b4ff9844e47aae07310f6 tree f6e568913c2d8aa1bf6bfedb3d90a78f2ade747b parent 2c0aa2a5c2dfa1293ae3a07517d0b7de149358a1 author James Ketrenos Wed, 21 Sep 2005 11:56:33 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:03:54 -0400 [PATCH] ieee80211: Add QoS (WME) support to the ieee80211 subsystem tree a3ad796273e98036eb0e9fc063225070fa24508a parent 1b9c0aeb377abf8e4a43a86cff42382f74ca0259 author Mohamed Abbas 1124447069 -0500 committer James Ketrenos 1127313435 -0500 Add QoS (WME) support to the ieee80211 subsystem. NOTE: This requires drivers that use the ieee80211 hard_start_xmit (ipw2100 and ipw2200) to add the priority parameter to their callback. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 2c0aa2a5c2dfa1293ae3a07517d0b7de149358a1 tree a9f949b6dc6a5e68086c06dfeb459a14608227a3 parent 1264fc0498e1e20f97b1ab690e523e7a7fc50eab author James Ketrenos Wed, 21 Sep 2005 11:56:27 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:03:54 -0400 [PATCH] ieee80211: Return NETDEV_TX_BUSY when QoS buffer full tree ba6509c7cd1dd4244a2f285f2da5d632e7ffbb25 parent 7b5f9f2ddcabdaea214527a895e6e8445cafdd80 author James Ketrenos 1124447000 -0500 committer James Ketrenos 1127313383 -0500 Per the conversations with folks at OLS, the QoS layer in 802.11 drivers can now result in NETDEV_TX_BUSY being returned when the queue a packet is targetted for is full. To implement this, ieee80211_xmit will now call the driver's is_queue_full to determine if the current priority queue is full. If so, NETDEV_TX_BUSY is returned to the kernel and no processing is done on the frame. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 1264fc0498e1e20f97b1ab690e523e7a7fc50eab tree 000b8528685f3ca250d0581df88abef03417941d parent 3f552bbf8614d2d26f488ca0d3e188bdec484bf4 author James Ketrenos Wed, 21 Sep 2005 11:54:53 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:02:31 -0400 [PATCH] ieee80211: Fix TKIP, repeated fragmentation problem, and payload_size reporting tree 8428e9f510e6ad6c77baec89cb57374842abf733 parent d78bfd3ddae9c422dd350159110f9c4d7cfc50de author Liu Hong 1124446520 -0500 committer James Ketrenos 1127313183 -0500 Fix TKIP, repeated fragmentation problem, and payload_size reporting 1. TKIP encryption Originally, TKIP encryption issues msdu + mpdu encryption on every fragment. Change the behavior to msdu encryption on the whole packet, then mpdu encryption on every fragment. 2. Avoid repeated fragmentation when !host_encrypt. We only need do fragmentation when using host encryption. Otherwise we only need pass the whole packet to driver, letting driver do the fragmentation. 3. change the txb->payload_size to correct value FW will use this value to determine whether to do fragmentation. If we pass the wrong value, fw may cut on the wrong bound which will make decryption fail when we do host encryption. NOTE: This requires changing drivers (hostap) that have extra_prefix_len used within them (structure member name change). Signed-off-by: Hong Liu Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 3f552bbf8614d2d26f488ca0d3e188bdec484bf4 tree 9721d4dc2d53579d7c324fa0b98eddc964149ab4 parent 3cdd00c5827621cd0b1bb0665aa62ef9a724297d author James Ketrenos Wed, 21 Sep 2005 11:54:47 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:02:31 -0400 [PATCH] ieee82011: Added ieee80211_tx_frame to convert generic 802.11 data frames, and callbacks tree 40adc78b623ae70d56074934ec6334eb4f0ae6a5 parent db43d847bcebaa3df6414e26d0008eb21690e8cf author James Ketrenos 1124445938 -0500 committer James Ketrenos 1127313102 -0500 Added ieee80211_tx_frame to convert generic 802.11 data frames into txbs for transmission. Added several purpose specific callbacks (handle_assoc, handle_auth, etc.) which the driver can register with for being notified on reception of variouf frame elements. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 3cdd00c5827621cd0b1bb0665aa62ef9a724297d tree 03d3a7cfa9fb645b052bac748c5398430ab2c9ca parent ee34af37c095482b9dba254b9cd7cb5e65e9a25e author James Ketrenos Wed, 21 Sep 2005 11:54:43 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:02:30 -0400 [PATCH] ieee80211: adds support for the creation of RTS packets tree b45c9c1017fd23216bfbe71e441aed9aa297fc84 parent 04aacdd71e904656a304d923bdcf57ad3bd2b254 author Ivo van Doorn 1124445405 -0500 committer James Ketrenos 1127313029 -0500 This patch adds support for the creation of RTS packets when the config flag CFG_IEEE80211_RTS has been set. Signed-Off-By: Ivo van Doorn Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit ee34af37c095482b9dba254b9cd7cb5e65e9a25e tree eed75aee11663053e658d839fb91bc8dfae56ecb parent e0d369d1d969fc9e4fd08a20f6dad04d369aceea author James Ketrenos Wed, 21 Sep 2005 11:54:36 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:02:30 -0400 [PATCH] ieee80211: Renamed ieee80211_hdr to ieee80211_hdr_3addr tree e9c18b2c8e5ad446a4d213243c2dcf9fd1652a7b parent 4e97ad6ae7084a4f741e94e76c41c68bc7c5a76a author James Ketrenos 1124444315 -0500 committer James Ketrenos 1127312922 -0500 Renamed ieee80211_hdr to ieee80211_hdr_3addr and modified ieee80211_hdr to just contain the frame_ctrl and duration_id. Changed uses of ieee80211_hdr to ieee80211_hdr_4addr or ieee80211_hdr_3addr based on what was expected for that portion of code. NOTE: This requires changes to ipw2100, ipw2200, hostap, and atmel drivers. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit e0d369d1d969fc9e4fd08a20f6dad04d369aceea tree 9ce4d6a3938960b35c3d7c7b3da4bb546f8b1d95 parent 259bf1fd8a7cc0f6b47fd8a9ac5e2dfc33182a3d author James Ketrenos Wed, 21 Sep 2005 11:54:30 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:02:30 -0400 [PATCH] ieee82011: Added WE-18 support to default wireless extension handler tree 1536f39c18756698d033da72c49300a561be1289 parent 07172d7c9f10ee3d05d6f6489ba6d6ee2628da06 author Liu Hong 1124436225 -0500 committer James Ketrenos 1127312664 -0500 Added WE-18 support to default wireless extension handler in ieee80211 subsystem. Updated patch since last send to account for ieee80211_device parameter being added to the crypto init method. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 259bf1fd8a7cc0f6b47fd8a9ac5e2dfc33182a3d tree 6c59c778280f899929c3d09c7f5564d80da830c2 parent 0ad0c3c64484b1458b51167bd3e614d8d9d070f8 author James Ketrenos Wed, 21 Sep 2005 11:54:22 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:01:52 -0400 [PATCH] ieee80211: Allow drivers to fix an issue when using wpa_supplicant with WEP tree 898fedef6ca1b5b58b8bdf7e6d8894a78bbde4cd parent 8720fff53090ae428d2159332b6f4b2749dea10f author Zhu Yi 1124435746 -0500 committer James Ketrenos 1127312509 -0500 Allow drivers to fix an issue when using wpa_supplicant with WEP. The problem is introduced by the hwcrypto patch. We changed indicator of the encryption request from the upper layer (i.e. wpa_supplicant): In the original host based crypto the driver could use: crypt && crypt->ops. In the new hardware based crypto, the driver should use the flags specified in ieee->sec.encrypt. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 0ad0c3c64484b1458b51167bd3e614d8d9d070f8 tree 4ff20e24d22523603c51d9cd876ae0e5b1714531 parent 42e349fd10d471d9ae6955a7f12523291c0193e6 author James Ketrenos Wed, 21 Sep 2005 11:54:15 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:01:52 -0400 [PATCH] ieee80211: Fix kernel Oops when module unload tree b69e983266840983183a00f5ac02c66d5270ca47 parent cdd6372949b76694622ed74fe36e1dd17a92eb71 author Zhu Yi 1124435425 -0500 committer James Ketrenos 1127312421 -0500 Fix kernel Oops when module unload. Export a new function ieee80211_crypt_quiescing from ieee80211. Device drivers call it to make the host crypto stack enter the quiescence state, which means "process existing requests, but don't accept new ones". This is usually called during a driver's host crypto data structure free (module unload) path. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 42e349fd10d471d9ae6955a7f12523291c0193e6 tree 9c7ce6a08a8b237b3fb9c53b7ad506d0343f0a02 parent f1bf6638af9e9bbbb6fb0b769054fb7db1ae652f author James Ketrenos Wed, 21 Sep 2005 11:54:07 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:01:52 -0400 [PATCH] ieee80211: Fix time calculation, switching to use jiffies_to_msecs tree b9cdd7058b787807655ea6f125e2adbf8d26c863 parent 85d9b2bddfcf3ed2eb4d061947c25c6a832891ab author Zhu Yi 1124435212 -0500 committer James Ketrenos 1127312152 -0500 Fix time calculation, switching to use jiffies_to_msecs. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit f1bf6638af9e9bbbb6fb0b769054fb7db1ae652f tree 5cf2dca63f88c1709ae8ee9d913c7f819bfc6ce8 parent 20d64713ae71c0b0aa06084acbef2244021baaca author James Ketrenos Wed, 21 Sep 2005 11:53:54 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:01:52 -0400 [PATCH] ieee80211: Hardware crypto and fragmentation offload support tree 5322d496af90d03ffbec27292dc1a6268a746ede parent 6c9364386ccb786e4a84427ab3ad712f0b7b8904 author James Ketrenos 1124432367 -0500 committer James Ketrenos 1127311810 -0500 Hardware crypto and fragmentation offload support added (Zhu Yi) Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 20d64713ae71c0b0aa06084acbef2244021baaca tree f9af562b0bc70f7f75d0195aacf155fd3ec6628a parent 4ca5253d573d7b3785dbb2f123f948fdca6ee235 author James Ketrenos Wed, 21 Sep 2005 11:53:43 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:01:52 -0400 [PATCH] ieee80211: Fixed a kernel oops on module unload tree 367069f24fc38b4aa910e86ff40094d2078d8aa7 parent a33a1982012e9070736e3717231714dc9892303b author James Ketrenos 1124430800 -0500 committer James Ketrenos 1127310571 -0500 Fixed a kernel oops on module unload by adding spin lock protection to ieee80211's crypt handlers (thanks to Zhu Yi) Modified scan result logic to report WPA and RSN IEs if set (vs.being based on wpa_enabled) Added ieee80211_device as the first parameter to the crypt init() method. TKIP modified to use that structure for determining whether to countermeasures are active. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 4ca5253d573d7b3785dbb2f123f948fdca6ee235 tree 51092301c2553b9c977cbb6d77e272750ccfd068 parent c8d42d1ae4518091a20f7212b0591a0f4b0e8ca0 author James Ketrenos Wed, 21 Sep 2005 12:23:46 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:00:58 -0400 [PATCH] ieee80211: Updated atmel to be compatible with ieee80211_hdr changes tree d7be83000b058b14450d76f99c432b1fb2a1c177 parent 322201093e03830fceedfc24931420b1ea855a8c author James Ketrenos 1127316330 -0500 committer James Ketrenos 1127316330 -0500 Updated atmel to be compatible with ieee80211_hdr changes. Change accomplished via: sed -i -e "s:ieee80211_hdr\([^_]\):ieee80211_hdr_4addr\1:g" \ drivers/net/wireless/atmel.c Compile tested only. CC: simon@thekelleys.org.uk Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit c8d42d1ae4518091a20f7212b0591a0f4b0e8ca0 tree c79676c91d5f8fc12b7ef54625e1bcff8bdab14f parent 0dacca1f0a53938dd7d5ba35c692bd1a3356d504 author James Ketrenos Wed, 21 Sep 2005 12:23:43 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:00:57 -0400 [PATCH] ieee80211: Updated ipw2200 to be compatible with ieee80211's hard_start_xmit change. tree 713b6ff3311decfe42d5209f7b2508736d144b85 parent 6465beff0e89779330450dffc2a5e6dc5154eebf author James Ketrenos 1126716726 -0500 committer James Ketrenos 1127316162 -0500 Updated ipw2200 to be compatible with ieee80211's hard_start_xmit change. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 0dacca1f0a53938dd7d5ba35c692bd1a3356d504 tree 1c3e6ddedd1032ef26a4e0f45e8d3b1fa3fd8d96 parent 3a5becf720d6346ffca2d6be6473f603b39322a2 author James Ketrenos Wed, 21 Sep 2005 12:23:41 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:00:57 -0400 [PATCH] ieee80211: Updated ipw2200 to be compatible with ieee80211_hdr changes tree 9f86c7b4f59249c05c96c360dfaa817995e8a44f parent 9b09701b2c6254f2fddb009004a14eb5a908714f author James Ketrenos 1126714305 -0500 committer James Ketrenos 1127316074 -0500 Updated ipw2200 to be compatible with ieee80211_hdr changes. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 3a5becf720d6346ffca2d6be6473f603b39322a2 tree 0084320b04b04b2d61e4630505803104251205a6 parent 99a4b232b6682a847c70d877e4a3c15e9138c8f6 author James Ketrenos Wed, 21 Sep 2005 12:23:37 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:00:57 -0400 [PATCH] ieee80211: Updated ipw2100 to be compatible with ieee80211's hard_start_xmit change tree ee48cbe413b795d6be454b9baf4f3bd3d74814cb parent 49856b147763bd6847e0d8f53aee1ddd61385638 author James Ketrenos 1126716634 -0500 committer James Ketrenos 1127316024 -0500 Updated ipw2100 to be compatible with ieee80211's hard_start_xmit change. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 99a4b232b6682a847c70d877e4a3c15e9138c8f6 tree 7dacb727771de8dc9318beb81752f3c5f22adab2 parent a3536c839f04682ed06c84a7f75968c27c6108c8 author James Ketrenos Wed, 21 Sep 2005 12:23:25 -0500 committer Jeff Garzik Wed, 21 Sep 2005 23:00:57 -0400 [PATCH] ieee80211: Updated ipw2100 to be compatible with ieee80211_hdr changes tree 992b203395c50342f1cced415acae6177344e270 parent c59bb604a2ff4e40232ff0422e7adc44e3b007a0 author James Ketrenos 1126714006 -0500 committer James Ketrenos 1127315910 -0500 Updated ipw2100 to be compatible with ieee80211_hdr changes. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit a3536c839f04682ed06c84a7f75968c27c6108c8 tree 92c26ea74c0ffb9b83a2285ad2539cc271b09856 parent a33a1982012e9070736e3717231714dc9892303b parent efb0372bbaf5b829ff8c39db372779928af542a7 author Jeff Garzik Wed, 21 Sep 2005 22:34:08 -0400 committer Jeff Garzik Wed, 21 Sep 2005 22:34:08 -0400 Merge /spare/repo/linux-2.6/ commit e903c5b536895fdf69970df62c5bf49ad17e6533 tree c3020645465b9438adc886f5f01dfcef31b79e72 parent 8a4a10ae996b67c622b9f3f6a4dfea5de4500a11 author Kumar Gala Tue, 20 Sep 2005 16:49:51 -0500 committer Paul Mackerras Wed, 21 Sep 2005 19:21:10 +1000 [PATCH] powerpc: merge include/asm-ppc*/statfs.h into include/asm-powerpc/statfs.h Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 8a4a10ae996b67c622b9f3f6a4dfea5de4500a11 tree f445a61123773d582f2b3c6699483e58db1d9a71 parent 3f58542f476f9a77d5c59b62165e67290d7f55ed author Kumar Gala Tue, 20 Sep 2005 16:33:54 -0500 committer Paul Mackerras Wed, 21 Sep 2005 19:21:09 +1000 [PATCH] powerpc: merge include/asm-ppc*/spinlock_types.h into include/asm-powerpc/spinlock_types.h Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 3f58542f476f9a77d5c59b62165e67290d7f55ed tree ca00e3030db63229d9ab9a2ab33aa3eef28c7ccc parent 8b22cc010599075806b84cfe2955ab87ab07172c author Kumar Gala Tue, 20 Sep 2005 15:45:26 -0500 committer Paul Mackerras Wed, 21 Sep 2005 19:21:09 +1000 [PATCH] powerpc: merge include/asm-ppc*/auxvec.h into include/asm-powerpc/auxvec.h Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 8b22cc010599075806b84cfe2955ab87ab07172c tree 56fa6fdd104f5b85f2cac63092149eca248a56e1 parent a99eb2ef452ce685e40a433ceb187276ba0871f4 author linuxppc@jdl.com Tue, 20 Sep 2005 14:32:37 -0500 committer Paul Mackerras Wed, 21 Sep 2005 19:21:09 +1000 [PATCH] powerpc: Merge asm-ppc*/vga.h Merge asm-ppc*/vga.h Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit a99eb2ef452ce685e40a433ceb187276ba0871f4 tree 7226783dea8be9aa14f6b8dde330ac0dc3ba7ab5 parent 25433b123ce1a3da78ddd9b848484bca91cbb7a1 author Becky Bruce Mon, 19 Sep 2005 19:17:27 -0500 committer Paul Mackerras Wed, 21 Sep 2005 19:21:09 +1000 [PATCH] powerpc: Merge elf.h ppc/ppc64: Merge elf.h into include/asm-powerpc Merge elf.h into a single include file for 32 and 64-bit ppc platforms. This patch has been tested on 32-bit and built on 64-bit platforms. Signed-off-by: Kumar Gala Signed-off-by: Becky Bruce Signed-off-by: Paul Mackerras commit 25433b123ce1a3da78ddd9b848484bca91cbb7a1 tree 259ee758b3770894160dd8a732fddd4067ea8699 parent 3e57615bb5a8b6208627049884ee441f6d05905e author Becky Bruce Mon, 19 Sep 2005 17:01:54 -0500 committer Paul Mackerras Wed, 21 Sep 2005 19:21:09 +1000 [PATCH] powerpc: Merge bug.h ppc32/ppc64: Merge bug.h into include/asm-powerpc This patch merges bug.h into include/asm-powerpc. Changed the data structure for bug_entry such that line is always an int on both 32 and 64-bit platforms; removed casts to int from the 64-bit trap code to reflect this. Signed-off-by: Kumar Gala Signed-off-by: Becky Bruce Signed-off-by: Paul Mackerras commit 3e57615bb5a8b6208627049884ee441f6d05905e tree ce59d350bcb9e9fa6469b3bdefc7f25b3897bfa3 parent c7aeffc4d38f0573b05bf5ebd2f037997ec9d075 author linuxppc@jdl.com Mon, 19 Sep 2005 09:32:07 -0500 committer Paul Mackerras Wed, 21 Sep 2005 19:21:09 +1000 [PATCH] powerpc: Revised merge asm-ppc*/hardirq.h This is a revised patch to merge asm-ppc*/hardirq.h. It removes some unnecessary #includes, but then requires the addition of #include in PPC32's hw_irq.h much like ppc64 already does. Furthermore, several unnecessary #includes were removed from some ppc32 boards in order to break resulting bad #include cycles. Builds pSeries_defconfig and all ppc32 platforms except the already b0rken bseip. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit c7aeffc4d38f0573b05bf5ebd2f037997ec9d075 tree c70f8882c04e5ffdf041a71751a0703472606bb9 parent 82cd02c16be99cba6a97d38488aee8807580a202 author Kumar Gala Mon, 19 Sep 2005 09:30:27 -0500 committer Paul Mackerras Wed, 21 Sep 2005 19:21:09 +1000 [PATCH] powerpc: unified signature of timer_interrupt() between ppc32/ppc64 On ppc64 timer_interrupt() returned a value that was never used. Changed the ppc64 version of timer_interrupt() to no longer return a value so that the signatures between ppc32 & ppc64 match. This will simplify future merging of arch/powerpc. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 82cd02c16be99cba6a97d38488aee8807580a202 tree 36d1d79b87ed91df0a0a91164a3acd21cab2e971 parent 86a5cddbd9676b129cfa2ed7a1a11759d3b2b512 author Stephen Rothwell Mon, 19 Sep 2005 23:28:21 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:08 +1000 [PATCH] powerpc: reduce oprofile/common.c differences Rename and slightly modify {request,free}_perfmon_irq in the ppc code. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 86a5cddbd9676b129cfa2ed7a1a11759d3b2b512 tree 7d5d4fdda4df9067c43870f5dcb3d5c714fdf227 parent 654810ec899ea5f2fc2138fca1793b603d481ff4 author Stephen Rothwell Mon, 19 Sep 2005 23:24:08 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:08 +1000 [PATCH] powerpc: merge the rest of arch/ppc*/oprofile - merge common.c - move model specific files - remove stub Makefiles - clean up arch/ppc*/Makefile Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 654810ec899ea5f2fc2138fca1793b603d481ff4 tree 7b5e4d411d275a22606b81e0725ebc06acb7bff6 parent a3e48c10cca3287a845435dd8ca58ecbde72d847 author Stephen Rothwell Mon, 19 Sep 2005 23:21:15 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:08 +1000 [PATCH] powerpc: merge oprofile headers Merge include/asm-ppc64/oprofile_ipml.h and arch/ppc/oprofile/op_impl.h into include/asm-powerpc/oprofile_ipml.h Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit a3e48c10cca3287a845435dd8ca58ecbde72d847 tree 5976d3b64f272d4383e1dd710afc3b5afd6d08d9 parent d9e5b83b120dea9f306de06f7dead55103ab2d46 author Stephen Rothwell Mon, 19 Sep 2005 23:18:31 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:08 +1000 [PATCH] powerpc: rename op_ppc{32,64}_model to op_powerpc_model Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit d9e5b83b120dea9f306de06f7dead55103ab2d46 tree f6d74408ee62379332905af6d2d177929f017c9a parent bcdd1ea350feb7ee28d4f425c312e9fdf681acfb author Stephen Rothwell Mon, 19 Sep 2005 23:15:51 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:08 +1000 [PATCH] Merge arch/ppc*/oprofile/Makefile into arch/powerpc/oprofile Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit bcdd1ea350feb7ee28d4f425c312e9fdf681acfb tree 6da2a23b984e417d2abda8896b4261be237592a7 parent 5bfc82652ab913606c91d74f7337cbd94627a797 author Stephen Rothwell Mon, 19 Sep 2005 23:13:24 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:08 +1000 [PATCH] powerpc: Move arch/ppc*/oprofile/Kconfig to arch/powerpc These files are identical. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 5bfc82652ab913606c91d74f7337cbd94627a797 tree eb480a44164fbb43be5d2bcbfeb09019002842bf parent 564ee7a5668e8b6d3b369fd807c75c77285c88d4 author Stephen Rothwell Mon, 19 Sep 2005 17:50:21 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:08 +1000 [PATCH] powerpc: Merge include/asm-ppc*/a.out.h into include/asm-powerpc Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 564ee7a5668e8b6d3b369fd807c75c77285c88d4 tree 15eb17f5bcef733122460d57abc99234c15a6542 parent 17b1dc07aebdef9ee43c06525bee702d5f0e9db1 author Stephen Rothwell Mon, 19 Sep 2005 17:33:25 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:07 +1000 [PATCH] powerpc: Move arch/ppc*/kernel/vecemu.c to arch/powerpc This file is the same in both architectures so create arch/powerpc/kernel and move it there. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 17b1dc07aebdef9ee43c06525bee702d5f0e9db1 tree 4965361a9762f351a8192fb0842ba552cc0e4bd3 parent da0825fd201a03294dbf7f8f030676d608da122c author jdl@freescale.com Fri, 09 Sep 2005 16:43:52 -0500 committer Paul Mackerras Wed, 21 Sep 2005 19:21:07 +1000 [PATCH] powerpc: Merge asm-ppc*/posix_types.h Merge asm-ppc/posix_types.h and asm-ppc64/posix_types.h. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit da0825fd201a03294dbf7f8f030676d608da122c tree 23f9b907247996ec90a66eace260ef256becad3a parent 61b1a94254a2158d053458764a5bd30331d73a54 author Kumar Gala Sun, 18 Sep 2005 21:33:18 -0500 committer Paul Mackerras Wed, 21 Sep 2005 19:21:07 +1000 [PATCH] ppc32: Allow user to individual select CHRP/PMAC/PREP config Made the CHRP/PMAC/PREP config options selectable by the user. This allows us to build kernels specifically for one of the platforms thus reducing code size. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 61b1a94254a2158d053458764a5bd30331d73a54 tree 4a2aa56ae5d3182c1015b5e9a4351aeb8fab2f3a parent 637a6ff6ce525d8495df944550efea0f023dd521 author Benjamin Herrenschmidt Tue, 20 Sep 2005 13:52:50 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:07 +1000 [PATCH] ppc64: Store virtual address in TLB flush batches This patch slightly change the TLB flush batch mecanism so that we store the full vaddr (including vsid) when adding an entry to the batch so that the flush part doesn't have to get to the context. This cleans it a bit, and paves the way to future updates like dynamic vsids. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 637a6ff6ce525d8495df944550efea0f023dd521 tree f4d31da12a348ecf9136cef8f5986172d6af6003 parent d0035c62d9145a2ce3057c8182a7ff0b4921a41c author Olof Johansson Tue, 20 Sep 2005 13:47:41 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:07 +1000 [PATCH] ppc64: Updated Olof misc updates 3/3 Replace some of the hard-coded constants with PAGE_SIZE/SHIFT/ORDER where appropriate. Likewise, in a couple of places it doesn't make sense to base some allocations on page size when all that's required is a constant 4K, etc. Signed-off-by: Olof Johansson Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit d0035c62d9145a2ce3057c8182a7ff0b4921a41c tree 0a55703d5e71668f61439649f4963daba55401c3 parent c707ffcf3a44914f30e5f2fd53089ad5586c9e42 author Olof Johansson Tue, 20 Sep 2005 13:46:44 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:07 +1000 [PATCH] ppc64: Updated Olof iommu updates 2/3 There are potential cases in the future where the IOMMU might be mapping smaller pages than the regular MMU is using. Keep the allocator working on MMU pagesizes, but the low-level mapping functions need to map more than one TCE entry per page to deal with this. Signed-off-by: Olof Johansson Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit c707ffcf3a44914f30e5f2fd53089ad5586c9e42 tree 5a5d95c903d0440adcdd638b74be78fe51b42612 parent a21ead3239c6a7a1220b45df0a7b537882afff16 author Olof Johansson Tue, 20 Sep 2005 13:45:41 +1000 committer Paul Mackerras Wed, 21 Sep 2005 19:21:06 +1000 [PATCH] ppc64: Updated Olof iommu updates 1/3 Split out the implementation-specific parts of include/asm-ppc64/iommu.h to separate include files (tce.h and dart.h respectively). The generic iommu code really doesn't care about the underlying implementation, and the TCE and DART stuff is completely different. Signed-off-by: Olof Johansson Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit a21ead3239c6a7a1220b45df0a7b537882afff16 tree 626a265159b1feed80f72a78b027951d421d64d1 parent df0d3cecc4bd03ea911d7c3302510984388c8a76 author Paul Mackerras Wed, 21 Sep 2005 18:47:00 +1000 committer Paul Mackerras Wed, 21 Sep 2005 18:47:00 +1000 Revert "[PATCH] ppc32: Allow user to individual select CHRP/PMAC/PREP config" This reverts df0d3cecc4bd03ea911d7c3302510984388c8a76 commit. commit e30dcf3a1905b4d2154f95db5fdfdf69691b4f0e tree 13fb11eff9f5bbbfae6eeefaf8f6a56c76885347 parent 3e87d80391c84eefceb4bda94a6363661dba4f71 author Steve French Tue, 20 Sep 2005 20:49:16 -0700 committer Steve French Tue, 20 Sep 2005 20:49:16 -0700 [CIFS] Add support for legacy servers part eight. Write fixes for Windows ME, and do not set ctime unless explicitly requested with atime and/or mtime (it gets thrown away by most servers anyway as there is no way to set this via posix). Signed-off-by: Steve French (sfrench@us.ibm.com) commit 650316f1228c0dc5e45c17765caef30db62468cd tree 236a5eb89130ef3857d37da00fcda294f3a0c827 parent 044a500e46742d39d22f1781cfb64ba93b463e39 author Bjorn Helgaas Fri, 16 Sep 2005 11:43:45 -0600 committer Tony Luck Mon, 19 Sep 2005 15:57:48 -0700 [IA64] move ACPI IOSAPIC locality domain mapping from pci.c to acpi.c Move acpi_map_iosapics() from pci.c to acpi.c, since it doesn't have anything to do with PCI. Signed-off-by: Bjorn Helgaas Signed-off-by: Tony Luck commit 44c451208da397438e7062393aeb3a19ddb76a60 tree b6478dc02cab1a189e25c7b9ea0586ccf4c9f8e9 parent 044a500e46742d39d22f1781cfb64ba93b463e39 author Bjorn Helgaas Fri, 16 Sep 2005 11:43:10 -0600 committer Tony Luck Mon, 19 Sep 2005 15:55:48 -0700 [IA64] ia64: add ar.k0 usage note Update comment about how ar.k0 is used. Make the initialization the same as in start_secondary() (no functional change, just make it look more similar). Signed-off-by: Bjorn Helgaas Signed-off-by: Tony Luck commit be379124c0a5abfbe57dab2823fe8a71ce797aee tree c16b8dce920a001431add24bcd12cc1f12bf824d parent d8c97d5f3aa348272df2ccb4e224b1cf9a1eb6d7 author Khalid Aziz Mon, 19 Sep 2005 15:42:36 -0700 committer Tony Luck Mon, 19 Sep 2005 15:42:36 -0700 [IA64] include EFI memory information in /proc/iomem User mode kexec tools expect to find information about physical memory in /proc/iomem (as they do on x86) to validate the addresses that the new kernel will use. Signed-off-by: Khalid Aziz Signed-off-by: Tony Luck commit 3e87d80391c84eefceb4bda94a6363661dba4f71 tree ef39515dde8b86007de4ad769716d375b8973dca parent f9f5c81769f88bccd177423a30a7d30461754c39 author Steve French Sun, 18 Sep 2005 20:49:21 -0700 committer Steve French Sun, 18 Sep 2005 20:49:21 -0700 [CIFS] Add support for legacy servers part seven. Fix open for write, begin implementation of Win9x style set file size via open then write of zero bytes. Signed-off-by: Steve French (sfrench@us.ibm.com) commit df0d3cecc4bd03ea911d7c3302510984388c8a76 tree b4299b8f5c7b40ebd57adab5a97e169aed81c65d parent fbcd54b1e67ffa27f2b2ce087ee300138828d730 author Kumar Gala Sun, 18 Sep 2005 13:02:03 -0500 committer Paul Mackerras Mon, 19 Sep 2005 09:38:50 +1000 [PATCH] ppc32: Allow user to individual select CHRP/PMAC/PREP config Made the CHRP/PMAC/PREP config options selectable by the user. This allows us to build kernels specifically for one of the platforms thus reducing code size. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit fbcd54b1e67ffa27f2b2ce087ee300138828d730 tree 626a265159b1feed80f72a78b027951d421d64d1 parent 6c45ab992e4299c869fb26427944a8f8ea177024 author Jon Loeliger Sat, 17 Sep 2005 10:39:46 -0500 committer Paul Mackerras Mon, 19 Sep 2005 09:38:50 +1000 [PATCH] powerpc: Merge simplified sections.h into asm-powerpc Here is a new patch that removes all notion of the pmac, prep, chrp and openfirmware initialization sections, and then unifies the sections.h files without those __pmac, etc, sections identifiers cluttering things up. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 6c45ab992e4299c869fb26427944a8f8ea177024 tree 01d2dce5219550106d3ba2ea176eea9fedbae8d8 parent aacaf9bd9646f6f611a08fca976411b6e5ddefe2 author Jon Loeliger Sat, 17 Sep 2005 10:38:23 -0500 committer Paul Mackerras Mon, 19 Sep 2005 09:38:49 +1000 [PATCH] powerpc: Remove section free() and linker script bits Here is a new patch that removes all notion of the pmac, prep, chrp and openfirmware initialization sections, and then unifies the sections.h files without those __pmac, etc, sections identifiers cluttering things up. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit aacaf9bd9646f6f611a08fca976411b6e5ddefe2 tree 604853646cc176c0a0908db39f254285121fa50c parent f495a8bfd6a52cf32859f93d5320bb234d8a9560 author Jon Loeliger Sat, 17 Sep 2005 10:36:54 -0500 committer Paul Mackerras Mon, 19 Sep 2005 09:38:49 +1000 [PATCH] powerpc: Remove sections use from ppc64 and drivers Here is a new patch that removes all notion of the pmac, prep, chrp and openfirmware initialization sections, and then unifies the sections.h files without those __pmac, etc, sections identifiers cluttering things up. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit f495a8bfd6a52cf32859f93d5320bb234d8a9560 tree b3159974aa2dc6de8406af66bc3b1ac5b10e4f94 parent 7da8f8600a4751d7f0248e00d973901b7371fabc author Jon Loeliger Sat, 17 Sep 2005 10:35:08 -0500 committer Paul Mackerras Mon, 19 Sep 2005 09:38:49 +1000 [PATCH] powerpc: Remove sections use from ppc Here is a new patch that removes all notion of the pmac, prep, chrp and openfirmware initialization sections, and then unifies the sections.h files without those __pmac, etc, sections identifiers cluttering things up. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 7da8f8600a4751d7f0248e00d973901b7371fabc tree 0d46a5b29121878eb8452d4b1930109ff2f63741 parent 5f7c690728ace1404f72d74972dcc261674c0dd4 author Kumar Gala Fri, 16 Sep 2005 11:37:33 -0500 committer Paul Mackerras Mon, 19 Sep 2005 09:38:49 +1000 [PATCH] ppc32: Removed non-inlined versions of local_irq* functions We always use the inlined versions of local_irq_enable, local_irq_disable, local_save_flags_ptr, and local_irq_restore on ppc32 so the non-inlined versions where just taking up space. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 5f7c690728ace1404f72d74972dcc261674c0dd4 tree d2fea77e39c2103be9ae41b9b849dce949cd9efd parent 0a1e1222b77b9b02457d8126f598e3713559d5c7 author Kumar Gala Fri, 09 Sep 2005 15:02:25 -0500 committer Paul Mackerras Mon, 19 Sep 2005 09:38:49 +1000 [PATCH] powerpc: Merged ppc_asm.h Merged ppc_asm.h between ppc32 & ppc64. The majority of the file is common between the two architectures excluding how a single GPR is saved/restored and which GPRs are non-volatile. Additionally, moved the ASM_CONST macro used on ppc64 into ppc_asm.h. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 0a1e1222b77b9b02457d8126f598e3713559d5c7 tree e3bf05d36f41f4a7571ff63b32277bccec83cc7c parent 628f87f3d585bd0c2b0e39df039585d7a5831cc9 author Jon Loeliger Tue, 06 Sep 2005 15:51:47 -0500 committer Paul Mackerras Mon, 19 Sep 2005 09:38:49 +1000 [PATCH] powerpc: Merge kmap_types.h Here is a patch to merge the ppc and pp64 version of kmap_types.h Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 54703d3678d13e7406d0b5aa451abb9526d53b9d tree d7064aec7aa78d73879a26fd8dcc9c5add26b520 parent 06168d8a10ceccced51380d683245b33474d428a author Jack Steiner Wed, 14 Sep 2005 10:33:40 -0500 committer Tony Luck Fri, 16 Sep 2005 11:51:27 -0700 [IA64] Increase max NR_CPUS on IA64 from 512 to 1024 This patch increases the maximum number of cpus supported on IA64 to 1024. No changes are made to the default SSI size. The patch simply allows specifying up to 1024p. There are certainly scaling (& other) issues that also need to be addressed!!! Additional patches will follow..... Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit a33a1982012e9070736e3717231714dc9892303b tree 83ff248e8019cd6036f01db43a9627da1b703bae parent 3bc5ed684253f407b1567799d13cb06a0d86fe80 author James Ketrenos Wed, 14 Sep 2005 14:28:59 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:15:57 -0400 [PATCH] Updated ipw2200 to compile with ieee80211 abg_ture to abg_true change author James Ketrenos 1126713327 -0500 committer James Ketrenos 1126713327 -0500 Updated ipw2200 to compile with ieee80211 abg_ture to abg_true change. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 3bc5ed684253f407b1567799d13cb06a0d86fe80 tree fec657fe7a87aedc5a60e5c1128c6ba509ae18f8 parent 262d8e467710a1c870717bc432caaf74cde3ce20 author James Ketrenos Tue, 13 Sep 2005 17:48:54 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:15:57 -0400 [PATCH] ieee80211 Fixed type-o of abg_ture -> abg_true [PATCH 14/29] Fixed type-o of abg_ture -> abg_true. Signed-off-by: James Ketrenos NOTE: This patch requires drivers using abg_ture to be updated. Signed-off-by: Jeff Garzik commit 262d8e467710a1c870717bc432caaf74cde3ce20 tree 17ce405907e553bdb8691a60df3d4805461bec72 parent 18294d8727b825eb2f3f98d6b6ae4a999dff854a author James Ketrenos Tue, 13 Sep 2005 17:42:53 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:11:58 -0400 [PATCH] ieee80211 Switched to sscanf in store_debug_level Switched to sscanf as per friendly comment in store_debug_level. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 18294d8727b825eb2f3f98d6b6ae4a999dff854a tree 869c9254e4211fb2cea8184575f65184f207ec60 parent 7b1fa54020985fa4b154f9f5d2f04ba174c7f1a5 author James Ketrenos Tue, 13 Sep 2005 17:40:29 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:11:58 -0400 [PATCH] ieee80211 Cleanup memcpy parameters. Cleanup memcpy parameters. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 7b1fa54020985fa4b154f9f5d2f04ba174c7f1a5 tree 01bd894cfcca1a9bc70de6bf3163e379244ee46e parent 68e4e036b841d5fb23ae1ac51b1e40baf9d582bf author James Ketrenos Tue, 13 Sep 2005 17:38:13 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:10:56 -0400 [PATCH] ieee80211 Removed ieee80211_info_element_hdr Removed ieee80211_info_element_hdr structure as ieee80211_info_element provides the same use. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 68e4e036b841d5fb23ae1ac51b1e40baf9d582bf tree a5fe3c6c7ef9fa132b5719790f7c1fc0084da083 parent 74079fdce472a2b16d502fe39e06b135ef06c69b author James Ketrenos Tue, 13 Sep 2005 17:37:22 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:10:56 -0400 [PATCH] Changed 802.11 headers to use ieee80211_info_element[0] Changed 802.11 headers to use ieee80211_info_element as zero sized array so that sizeof calculations do not account for IE sizes. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 74079fdce472a2b16d502fe39e06b135ef06c69b tree a2f097836efccc5b4758888bd97599aecd56e37e parent b1b508e1b13529b3cc5b59c352f49b9b58a302b6 author James Ketrenos Tue, 13 Sep 2005 17:35:21 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:06:32 -0400 [PATCH] ieee80211 Added wireless spy support Added wireless spy support to Rx code path. Signed-off-by: James Ketrenos NOTE: Looks like scripts/Lindent generated output different than the Lindented version already in-kernel, hence all the whitespace deltas... *sigh* Signed-off-by: Jeff Garzik commit b1b508e1b13529b3cc5b59c352f49b9b58a302b6 tree 6321572a9bca16928b57e936376af616a1868dc0 parent fd27817ce941c7134adefd2852f8a5f274315ff4 author James Ketrenos Tue, 13 Sep 2005 17:27:19 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:06:32 -0400 [PATCH] ieee80211 quality scaling algorithm extension handler Incorporated Bill Moss' quality scaling algorithm into default wireless extension handler. Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit fd27817ce941c7134adefd2852f8a5f274315ff4 tree 152c2194e03c104bb34fc105494ee5238f31acb9 parent 9c8a11d7c2298680ff3ee8acda54575c88668bfc author James Ketrenos Tue, 13 Sep 2005 17:25:51 -0500 committer Jeff Garzik Fri, 16 Sep 2005 03:06:31 -0400 [PATCH] Fixed some endian issues with 802.11 header usage in ieee80211_rx.c Fixed some endian issues with 802.11 header usage in ieee80211_rx.c Signed-off-by: James Ketrenos Signed-off-by: Jeff Garzik commit 9c8a11d7c2298680ff3ee8acda54575c88668bfc tree a183ce73c486bfe86ea5e96e9619f2088784bbae parent 27c91efba4c121f90c0e6d371c7064733b286a69 author Pavel Roskin Fri, 16 Sep 2005 02:18:31 -0400 committer Jeff Garzik Fri, 16 Sep 2005 02:56:36 -0400 [PATCH] orinoco: Update PCMCIA ID's. Author: Pavel Roskin Date: Fri Sep 16 01:07:47 2005 -0400 Update PCMCIA ID's. Intel Pro/Wireless 2011 and 2011B have the same numeric ID, so use strings instead. Take all entries from *.conf for Orinoco, HostAP and linux-wlan-ng and adds them with minimal changes (e.g. we don't need a revision string after a string that identifies the chipset). Add comments with card names to all numeric entries. Note: the comments don't and cannot cover all cards, since the main reason of having numeric IDs is to cover cards that are often rebranded. Signed-off-by: Pavel Roskin Signed-off-by: Jeff Garzik commit 27c91efba4c121f90c0e6d371c7064733b286a69 tree 78dd96949dcb026a37f182255db3d804a4274706 parent 65853b133d0256786df25f03eea0e5a6799e8d17 author Pavel Roskin Fri, 16 Sep 2005 02:16:52 -0400 committer Jeff Garzik Fri, 16 Sep 2005 02:56:36 -0400 [PATCH] orinoco: Don't include twice. Author: Pavel Roskin Date: Fri Sep 16 00:50:00 2005 -0400 Don't include twice. Signed-off-by: Pavel Roskin Signed-off-by: Jeff Garzik commit 65853b133d0256786df25f03eea0e5a6799e8d17 tree 38c3d8007e70992829271a2fcf453624d4afadd2 parent 76209926e3756f66c9cdc8a4becbf34df8c47799 author Pavel Roskin Fri, 16 Sep 2005 02:15:13 -0400 committer Jeff Garzik Fri, 16 Sep 2005 02:56:36 -0400 [PATCH] orinoco: Remove conditionals that are useless in the kernel drivers. Author: Pavel Roskin Date: Fri Sep 16 00:49:05 2005 -0400 Remove conditionals that are useless in the kernel drivers. Kernel drivers are never compiled against pcmcia-cs headers. Firmware is never embedded into spectrum_cs module. Signed-off-by: Pavel Roskin Signed-off-by: Jeff Garzik commit 76209926e3756f66c9cdc8a4becbf34df8c47799 tree 173b55358f0864026fe9957407409f8613448ed4 parent eabf04151682bc7b57c84fea58cf9e4e5a3cf2a9 author Hubert WS Lin Wed, 14 Sep 2005 11:39:27 -0700 committer Jeff Garzik Fri, 16 Sep 2005 02:43:23 -0400 [PATCH] pcnet32: set min ring size to 4 Don Fry reminded me that the pcnet32_loopback_test() asssumes the ring size is no less than 4. The minimum ring size was changed to 4 in pcnet32_set_ringparam() to allow the loopback test to work unchanged. - Set minimum ring size to 4 to allow loopback test to work unchanged - Moved variable init_block to first field in struct pcnet32_private Signed-off-by: Hubert WS Lin Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit eabf04151682bc7b57c84fea58cf9e4e5a3cf2a9 tree 82e41403e8b3f0dbf8f4a47bd90a5afc57142e36 parent f89efd523b25cc1702e074dafdcac283da657002 author Hubert WS Lin Wed, 14 Sep 2005 11:39:25 -0700 committer Jeff Garzik Fri, 16 Sep 2005 02:43:23 -0400 [PATCH] pcnet32: set_ringparam implementation This patch implements the set_ringparam(), one of the ethtool operations, which allows changing tx/rx ring sizes via ethtool. - Changed memery allocation of tx/rx ring from static to dynamic - Implemented set_ringparam() - Tested on i386 and ppc64 Signed-off-by: Hubert WS Lin Signed-off-by: Jay Vosburgh Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit f9f5c81769f88bccd177423a30a7d30461754c39 tree 52ade60ddaacefc7cd350a67a7b40d6e2d27f84c parent eafe87012159a40a1e7151cc576e99a22aea2f0b author Steve French Thu, 15 Sep 2005 23:06:38 -0700 committer Steve French Thu, 15 Sep 2005 23:06:38 -0700 [CIFS] Add support for legacy servers part six. Fix read syntax so we do not request more than negotiated buffer size even if buffer size is small (smaller than one page) Signed-off-by: Steve French (sfrench@us.ibm.com) commit eafe87012159a40a1e7151cc576e99a22aea2f0b tree 5d9225494429ea235befb943581901d9c94aa236 parent ab2f218f4fa2c36ecd39ac1406eec1e63cd430bd author Steve French Thu, 15 Sep 2005 21:47:30 -0700 committer Steve French Thu, 15 Sep 2005 21:47:30 -0700 [CIFS] Fix readdir caching when unlink removes file in current search buffer, and this is followed by a rewind search to just before the deleted entry. Signed-off-by: Steve French (sfrench@us.ibm.com) commit ab2f218f4fa2c36ecd39ac1406eec1e63cd430bd tree 80a361ff0417e1a9733fd49cbb133797854da264 parent 9a899e76683639486846ce17dbaa0c2ec1ae5ab5 author Steve French Thu, 15 Sep 2005 20:44:50 -0700 committer Steve French Thu, 15 Sep 2005 20:44:50 -0700 [CIFS] Fix compiler warnings Fix some compiler warnings noticed on x64 by me and ppc64 by Shaggy Signed-off-by: Steve French (sfrench@us.ibm.com) commit 55642d36cd0f626c614f6dfa1151a5af1ff84f36 tree 2f167337a389371f21a5f980f8fddc3110e11c10 parent 24ee0a6d7b0a52b140c880aae24c255de3b4a9a1 author Tony Luck Thu, 15 Sep 2005 17:00:10 -0700 committer Tony Luck Thu, 15 Sep 2005 17:00:10 -0700 [IA64] Two more uses of cpuid_to_cnodeid() must go. s/cpuid_to_cnodeid/cpu_to_node/ Signed-off-by: Tony Luck commit 24ee0a6d7b0a52b140c880aae24c255de3b4a9a1 tree b57e06db620c9de7143baa58fc24a36ac24d5a79 parent 1619cca2921f6927f4240e03f413d4165c7002fc author Jack Steiner Mon, 12 Sep 2005 12:15:43 -0500 committer Tony Luck Thu, 15 Sep 2005 16:31:12 -0700 [IA64] Cleanup use of various #defines related to nodes Some of the SN code & #defines related to compact nodes & IO discovery have gotten stale over the years. This patch attempts to clean them up. Some of the various SN MAX_xxx #defines were also unclear & misused. The primary changes are: - use MAX_NUMNODES. This is the generic linux #define for the number of nodes that are known to the generic kernel. Arrays & loops for constructs that are 1:1 with linux-defined nodes should use the linux #define - not an SN equivalent. - use MAX_COMPACT_NODES for MAX_NUMNODES + NUM_TIOS. This is the number of nodes in the SSI system. Compact nodes are a hack to get around the IA64 architectural limit of 256 nodes. Large SGI systems have more than 256 nodes. When we upgrade to ACPI3.0, I _hope_ that all nodes will be real nodes that are known to the generic kernel. That will allow us to delete the notion of "compact nodes". - add MAX_NUMALINK_NODES for the total number of nodes that are in the numalink domain - all partitions. - simplified (understandable) scan_for_ionodes() - small amount of cleanup related to cnodes Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit f2b518d71636c2bda65a837b0a93c3365207a4f0 tree 1d9cd87016bc12cfdfddd161e63c0b7c584e9a71 parent 1619cca2921f6927f4240e03f413d4165c7002fc author Bjorn Helgaas Wed, 14 Sep 2005 16:50:19 -0600 committer Tony Luck Thu, 15 Sep 2005 14:34:31 -0700 [IA64] Update default configs PNP and PNPACPI turned on i8042 recently changed from ACPI to PNP detection. Without PNP, it probes legacy I/O ports for the keyboard controller, which causes an MCA on HP boxes. Also, I'm about to remove 8250_acpi.c, so we'll need PNP to detect non-PCI serial ports. Until 8250_acpi.c is removed, some systems will see serial ports reported twice (once from 8250_acpi.c and again from 8250_pnp.c). This is harmless. PNPACPI is still marked EXPERIMENTAL, but I'm not aware of any outstanding issues on ia64. IDE_GENERIC turned off (except for SGI simulator, all ia64 IDE is PCI) ide-generic probes compiled-in legacy I/O ports for IDE devices, which again causes an MCA. It would be nicer to just get rid of all the legacy junk from include/asm-ia64/ide.h, but that is a bit riskier because it could break ide-cs and the HDIO_REGISTER_HWIF ioctl (http://www.ussg.iu.edu/hypermail/linux/kernel/0508.2/0049.html). Here's the essence of the patch: -# CONFIG_PNP is not set +CONFIG_PNP=y +CONFIG_PNPACPI=y -CONFIG_IDE_GENERIC=y +# CONFIG_IDE_GENERIC is not set Tested on tiger, bigsur, and zx1. Signed-off-by: Bjorn Helgaas Signed-off-by: Tony Luck commit 0b9afede3d9c66fef06f1d5ef5ff15c4b97730fc tree 95f55e1219eed9c3fd2458ddbf960307c631114e parent 1619cca2921f6927f4240e03f413d4165c7002fc author Alex Williamson Tue, 06 Sep 2005 11:20:49 -0600 committer Tony Luck Wed, 14 Sep 2005 16:22:11 -0700 [IA64] more robust zx1/sx1000 machvec support Machine vector selection has always been a bit of a hack given how early in system boot it needs to be done. Services like ACPI namespace are not available and there are non-trivial problems to moving them to early boot. However, there's no reason we can't change to a different machvec later in boot when the services we need are available. By adding a entry point for later initialization of the swiotlb, we can add an error path for the hpzx1 machevec initialization and fall back to the DIG machine vector if IOMMU hardware isn't found in the system. Since ia64 uses 4GB for zone DMA (no ISA support), it's trivial to allocate a contiguous range from the slab for bounce buffer usage. Signed-off-by: Alex Williamson Signed-off-by: Tony Luck commit f89efd523b25cc1702e074dafdcac283da657002 tree f33440ed3f4ba3594d6c3316bdcdda420ce11801 parent 43ec6e95e4d8a73afc2405a44b955c380aeeb65a author Matt Porter Fri, 09 Sep 2005 12:10:10 -0700 committer Jeff Garzik Wed, 14 Sep 2005 09:18:21 -0400 [PATCH] Add rapidio net driver Adds an "Ethernet" driver which sends Ethernet packets over the standard RapidIO messaging. This depends on the core RIO patch for mailbox/doorbell access. Signed-off-by: Matt Porter Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit dbaa9a9d2b37d838125fb7f2b9fdc5dc5fa4eaa9 tree 8641efeba632bddfa0e486b41a5f19578b1a1a31 parent 142e27fc8a3619471669d6241784eec9167c47d1 parent 2f4ba45a75d6383b4a1201169a808ffea416ffa0 author Jeff Garzik Wed, 14 Sep 2005 08:57:30 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:57:30 -0400 Merge /spare/repo/linux-2.6/ commit 43ec6e95e4d8a73afc2405a44b955c380aeeb65a tree e42008bc2e42ea42498229360f995d39357d6c62 parent 7a700fafbed55eee2cc766fbe47cf68e229da281 author Dale Farnsworth Tue, 23 Aug 2005 10:30:29 -0700 committer Jeff Garzik Wed, 14 Sep 2005 08:46:21 -0400 [PATCH] mii: Add test for GigE support Signed-off-by: Dale Farnsworth Signed-off-by: Jeff Garzik commit 7a700fafbed55eee2cc766fbe47cf68e229da281 tree b52a9c14808a61c1ff5c320d380fea08793968d9 parent 387d890db88b4eb7c1dd55a2a0c16d6f0dccc7ad author viro@ZenIV.linux.org.uk Fri, 09 Sep 2005 20:40:23 +0100 committer Jeff Garzik Wed, 14 Sep 2005 08:37:49 -0400 [PATCH] C99 initializers in ray_cs.c Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit 387d890db88b4eb7c1dd55a2a0c16d6f0dccc7ad tree aa18b1e9c91b43cccc76949bba8b2c56b5b8cfed parent 7665a08928f241247afe8c76865cdbe4ef5489bf author viro@ZenIV.linux.org.uk Fri, 09 Sep 2005 17:22:14 +0100 committer Jeff Garzik Wed, 14 Sep 2005 08:37:31 -0400 [PATCH] lne390 bogus casts We already have the iomem pointer we need... Signed-off-by: Al Viro Signed-off-by: Jeff Garzik commit 7665a08928f241247afe8c76865cdbe4ef5489bf tree 99b4dceff3f8210e7c0420053b2433977d7f0322 parent 8e18d1f9c9dcbf2de5b79cad771ed639983ab6cd author Adrian Bunk Fri, 09 Sep 2005 23:17:28 -0700 committer Jeff Garzik Wed, 14 Sep 2005 08:36:54 -0400 [PATCH] drivers/net/wan/: possible cleanups This patch contains possible cleanups including the following: - make needlessly global code static - #if 0 the following unused global function: - sdladrv.c: sdla_intde - remove the following unused global variable: - lmc_media.c: lmc_t1_cables - remove the following unneeded EXPORT_SYMBOL's: - cycx_drv.c: cycx_inten - sdladrv.c: sdla_inten - sdladrv.c: sdla_intde - sdladrv.c: sdla_intack - sdladrv.c: sdla_intr - syncppp.c: sppp_input - syncppp.c: sppp_change_mtu Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 8e18d1f9c9dcbf2de5b79cad771ed639983ab6cd tree c17ceb7190fa7dfd5ad743a9af8b7a4b43aa2d7b parent 3173c8907ffb2c64456142da3df2bd0500bd59e0 author Tobias Klauser Sat, 10 Sep 2005 14:45:00 -0700 committer Jeff Garzik Wed, 14 Sep 2005 08:35:09 -0400 [PATCH] Replace drivers/net/wan custom ctype macros with standard ones Replace the custom is_digit()/is_hex_digit() macros with isdigit()/isxdigit() from Additionaly remove unused macro is_alpha() from Signed-off-by: Tobias Klauser Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 3173c8907ffb2c64456142da3df2bd0500bd59e0 tree dcd3700a2c37e24a2b5911bb5429aee715684926 parent 343c686c04eec556645f251f7d6c9b3d7335dae0 author Nishanth Aravamudan Sun, 11 Sep 2005 02:09:55 -0700 committer Jeff Garzik Wed, 14 Sep 2005 08:33:24 -0400 [PATCH] drivers/net: fix-up schedule_timeout() usage Use schedule_timeout_interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Cc: Jeff Garzik Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 343c686c04eec556645f251f7d6c9b3d7335dae0 tree 2713fbd5e71f7a7dbe94634a1bc4eb81a1ed8af5 parent b81e8e1f4a51556586f72711a165bc3a0de230f3 author Pavel Roskin Fri, 09 Sep 2005 18:43:02 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:30:54 -0400 [PATCH] orinoco: WE-18 support Author: Jean Tourrilhes Signed-off-by: Pavel Roskin Use new Wireless Extension API for wireless stats. Signed-off-by: Jeff Garzik commit b81e8e1f4a51556586f72711a165bc3a0de230f3 tree f57c521eb64c3124637b593932317ab1574518b9 parent 30d60a8288ab6f59939736f5775a7110a8bfff9a author John W. Linville Mon, 12 Sep 2005 10:48:58 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:30:02 -0400 [PATCH] via-rhine: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to via-rhine. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 30d60a8288ab6f59939736f5775a7110a8bfff9a tree 9d396b32f8f898dd56f5428d4401c9338d6d2a1d parent 56230d538233ba037eb679b0fc0b218d33b9b8b8 author John W. Linville Mon, 12 Sep 2005 10:48:58 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:30:02 -0400 [PATCH] sundance: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to sundance. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 56230d538233ba037eb679b0fc0b218d33b9b8b8 tree 93426d6062682766763ecbfe2486727aad06867c parent 6d6525b7f74f9593e647f8c17b1de0f652e1f177 author John W. Linville Mon, 12 Sep 2005 10:48:57 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:30:02 -0400 [PATCH] skge: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to skge. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 6d6525b7f74f9593e647f8c17b1de0f652e1f177 tree 229b049c611c79b9667b222ed306f662d0fcd2f0 parent db0276b060918fac94c9d216213a31ee02cdd73e author John W. Linville Mon, 12 Sep 2005 10:48:57 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:30:02 -0400 [PATCH] r8169: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to r8169. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit db0276b060918fac94c9d216213a31ee02cdd73e tree 0aff024589d97fbf54cfc8596b23d9df7726323c parent 78b345890a91dc57fecea8b6792012e0098c058f author John W. Linville Mon, 12 Sep 2005 10:48:57 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:30:01 -0400 [PATCH] pcnet32: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to pcnet32. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 78b345890a91dc57fecea8b6792012e0098c058f tree 44ff0982df849e25efb6d5835f8bd1a0dd4bfb4a parent df859c519ef7b72d9be7396443316da87272e8b6 author John W. Linville Mon, 12 Sep 2005 10:48:57 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:32 -0400 [PATCH] ne2k-pci: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to ne2k-pci. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit df859c519ef7b72d9be7396443316da87272e8b6 tree b4da7767fd6de6881a1339386d04222f7b212f26 parent c704b8566b060695e90ac401833db4b62813ad8a author John W. Linville Mon, 12 Sep 2005 10:48:56 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:32 -0400 [PATCH] ixgb: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to ixgb. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit c704b8566b060695e90ac401833db4b62813ad8a tree b9f9c947689f21b4de558e6ef00a1ddf24841a6b parent a92dd9233ad185904daf95d040cf88c3da2d7ef6 author John W. Linville Mon, 12 Sep 2005 10:48:56 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:32 -0400 [PATCH] forcedeth: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to forcedeth. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit a92dd9233ad185904daf95d040cf88c3da2d7ef6 tree c43b02acd9e16948a889d5a4be80358428920945 parent 9beb0ac17bcfed23feb0a6fac328216568b74bc1 author John W. Linville Mon, 12 Sep 2005 10:48:56 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:32 -0400 [PATCH] e100: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to e100. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 9beb0ac17bcfed23feb0a6fac328216568b74bc1 tree f4caff544ae7816cc02857d7b24f9694418eb43c parent 2160de53cc17a40ad07bd38bf52dd0bb72dd5183 author John W. Linville Mon, 12 Sep 2005 10:48:55 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:31 -0400 [PATCH] e1000: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to e1000. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 2160de53cc17a40ad07bd38bf52dd0bb72dd5183 tree 398073edc9425debbee57d6bcd844f6291a411e5 parent 62a720b889a37496d5f36d09875578956745d196 author John W. Linville Mon, 12 Sep 2005 10:48:55 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:31 -0400 [PATCH] b44: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to b44. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 62a720b889a37496d5f36d09875578956745d196 tree b1d85cf0fd796e7331f86a3dc1509fcd63a9069e parent bb0ce608a3386268bd76ee6642a4cc8e6818a29b author John W. Linville Mon, 12 Sep 2005 10:48:55 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:31 -0400 [PATCH] 8139too: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to 8139too. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit bb0ce608a3386268bd76ee6642a4cc8e6818a29b tree 00648bee47898e3ef84448b6e6e30feba1fec2c6 parent d8ac10639b6a1ed900efbee38c18baaca31e64dc author John W. Linville Mon, 12 Sep 2005 10:48:54 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:29:31 -0400 [PATCH] 8139cp: support ETHTOOL_GPERMADDR Add support for ETHTOOL_GPERMADDR to 8139cp. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit 923f122573851d18a3832ca808269fa2d5046fb1 tree 41f30af97a513387389429ad45037651e08d513d parent 905ec87e93bc9e01b15c60035cd6a50c636cbaef author Tejun Heo Tue, 13 Sep 2005 13:21:29 +0900 committer Jeff Garzik Wed, 14 Sep 2005 08:19:27 -0400 [PATCH] sil24: initialization fix sil24 0.20 didn't use to perform (what seems to be) port multiplier initialization and controller reset 0.10 driver does. This makes some sil24 controllers malfunction. This patch adds PM initialization and controller resetting to initilization and bumps version to 0.21. Please refer to the following thread for more information. http://marc.theaimsgroup.com/?l=linux-ide&m=112582819830324&w=2 http://marc.theaimsgroup.com/?l=linux-ide&m=112636045531060&w=2 Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 905ec87e93bc9e01b15c60035cd6a50c636cbaef tree 46fd7618d6511611ffc19eb0dd4d7bc6b90a41c2 parent 1d6ae775d7a948c9575658eb41184fd2e506c0df parent 2f4ba45a75d6383b4a1201169a808ffea416ffa0 author Jeff Garzik Wed, 14 Sep 2005 08:19:08 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:19:08 -0400 Merge /spare/repo/linux-2.6/ commit 165415f700b0c77fa1f8db6198f48582639adf78 tree 088e305b0b5b0c6753072e13be1177824c3ed59d parent c324b44c34050cf2a9b58830e11c974806bd85d8 parent 2f4ba45a75d6383b4a1201169a808ffea416ffa0 author Jeff Garzik Wed, 14 Sep 2005 08:12:20 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:12:20 -0400 Merge /spare/repo/linux-2.6/ commit ea98a92ff18c03bf7f4d21536986cbbcb4c10cd9 tree fbff15aaacf19824083c9edb8d37548031636580 parent 9d17601c4e132eee9fe450191f6866fb9fb5a762 author Dave Airlie Sun, 11 Sep 2005 20:28:11 +1000 committer Dave Airlie Sun, 11 Sep 2005 20:28:11 +1000 drm: add radeon PCI express support Add support for Radeon PCI Express cards (needs a new X.org DDX) Also allows PCI GART table to be stored in VRAM for non PCIE cards Signed-off-by: Dave Airlie commit 9d17601c4e132eee9fe450191f6866fb9fb5a762 tree f4bdfbc95a28370ad0bf9f0d0f42a821f5a8ec9d parent 70dfcfea4b728ab26af1a3e0f331cc63a7e3554b author Dave Airlie Sun, 11 Sep 2005 19:55:53 +1000 committer Dave Airlie Sun, 11 Sep 2005 19:55:53 +1000 drm: update radeon driver to 1.18 Add support for GL_ATI_fragment_shader, new packets R200_EMIT_PP_AFS_0/1, R200_EMIT_PP_TXCTLALL_0-5 (replaces R200_EMIT_PP_TXFILTER_0-5, 2 more regs) and R200_EMIT_ATF_TFACTOR (replaces R200_EMIT_TFACTOR_0 (8 consts instead of 6) From: Roland Scheidegger, David Airlie Signed-off-by: David Airlie commit 70dfcfea4b728ab26af1a3e0f331cc63a7e3554b tree ec53b9f73f2b6186b572e0129b8bcf829ad9b96b parent 908f9c485042e516bb3749f4361129a94772fe26 author Dave Airlie Sun, 11 Sep 2005 19:37:29 +1000 committer Dave Airlie Sun, 11 Sep 2005 19:37:29 +1000 drm: missing drm_vm.c changes for consistent maps This adds a missing change from CVS for consistent maps. Signed-off-by: Dave Airlie commit 1fa92957282e4595727c1a21bf6687ea5a2d612f tree 96d7bc1c5b138fdd27f8296e8e7e7b6ba85a91cf parent 5fbcf9a5c6904bd563f584d12d1f4d3f68a19d7d author Tony Luck Fri, 09 Sep 2005 11:41:12 -0700 committer Tony Luck Fri, 09 Sep 2005 11:41:12 -0700 [IA64] Need to include in a few more places. Signed-off-by: Tony Luck commit d8c97d5f3aa348272df2ccb4e224b1cf9a1eb6d7 tree cb71557f43084027559762f58e51f2df5d5e5c46 parent 4706df3d3c42af802597d82c8b1542c3d52eab23 author Tony Luck Thu, 08 Sep 2005 12:39:59 -0700 committer Tony Luck Thu, 08 Sep 2005 12:39:59 -0700 [IA64] simplified efi memory map parsing New version leaves the original memory map unmodified. Also saves any granule trimmings for use by the uncached memory allocator. Inspired by Khalid Aziz (various traces of his patch still remain). Fixes to uncached_build_memmap() and sn2 testing by Martin Hicks. Signed-off-by: Tony Luck commit 1d6ae775d7a948c9575658eb41184fd2e506c0df tree 8128a28e89d82f13bb8e3a2160382240c66e2816 parent 739cdbf1d8f0739b80035b80d69d871e33749b86 parent caf39e87cc1182f7dae84eefc43ca14d54c78ef9 author Jeff Garzik Thu, 08 Sep 2005 05:43:49 -0400 committer Jeff Garzik Thu, 08 Sep 2005 05:43:49 -0400 Merge /spare/repo/linux-2.6/ commit 142e27fc8a3619471669d6241784eec9167c47d1 tree e88850b63ec910ee28874f93c43fb66421bb8119 parent a9053d0494d3c92807701c0f47df61d50c971581 parent caf39e87cc1182f7dae84eefc43ca14d54c78ef9 author Jeff Garzik Thu, 08 Sep 2005 05:41:28 -0400 committer Jeff Garzik Thu, 08 Sep 2005 05:41:28 -0400 Merge /spare/repo/linux-2.6/ commit c324b44c34050cf2a9b58830e11c974806bd85d8 tree 3ac45a783221283925cd698334a8f5e7dd4c1df8 parent 2fcf522509cceea524b6e7ece8fd6759b682175a parent caf39e87cc1182f7dae84eefc43ca14d54c78ef9 author Jeff Garzik Thu, 08 Sep 2005 05:39:55 -0400 committer Jeff Garzik Thu, 08 Sep 2005 05:39:55 -0400 Merge /spare/repo/linux-2.6/ commit 5fbcf9a5c6904bd563f584d12d1f4d3f68a19d7d tree 2da130b000e5c442345e473b4f53104b92a76e4c parent 4706df3d3c42af802597d82c8b1542c3d52eab23 author Mark Maule Tue, 06 Sep 2005 13:03:51 -0500 committer Tony Luck Wed, 07 Sep 2005 16:23:41 -0700 [IA64-SGI] volatile semantics in places where it seems necessary Resend using accessors instead of volatile qualifiers per hch comments, and easier to understand convenience macros per rja comments. Patch to apply volatile semantics when accessing MMR's in various SN files. Signed-off-by: Mark Maule Signed-off-by: Tony Luck commit a607c38971fd078865fa9bef39e6c1d4435680c8 tree cb7853f0d74ee6a9cd92ccc721096b57367d0390 parent 4706df3d3c42af802597d82c8b1542c3d52eab23 author Dean Nelson Thu, 01 Sep 2005 14:01:37 -0500 committer Tony Luck Tue, 06 Sep 2005 16:15:38 -0700 [IA64-SGI] get XPC to cleanly disengage from remote memory references When XPC is being shutdown (i.e., rmmod, reboot) it doesn't ensure that other partitions with whom it was connected have completely disengaged from any attempt at cross-partition memory references. This can lead to MCAs in any of these other partitions when the partition is reset. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 9a899e76683639486846ce17dbaa0c2ec1ae5ab5 tree 309deb2d2e81a2594b7d233c0a85804ff6e64db7 parent c08319a9d50b5c9cb4fdb33728bd16497cf4ddd3 author Steve French Tue, 06 Sep 2005 15:55:49 -0700 committer Steve French Tue, 06 Sep 2005 15:55:49 -0700 [CIFS] Update cifs TODO list with additional new features that have been requested. Signed-off-by: Steve French (sfrench@us.ibm.com) commit c08319a9d50b5c9cb4fdb33728bd16497cf4ddd3 tree 5fbec9030029da1ec387c18b85f26f19ee50da44 parent bfa0d75a1eee59f0577e3c1697ff570b77581a35 parent 4706df3d3c42af802597d82c8b1542c3d52eab23 author Steve French Tue, 06 Sep 2005 15:47:31 -0700 committer Steve French Tue, 06 Sep 2005 15:47:31 -0700 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 25732ad493b22b7d9f0d250c5a9ad17219f96a47 tree 6d2c753c248977fdca4b5d423b65d7fbf2f70186 parent 4706df3d3c42af802597d82c8b1542c3d52eab23 author Bruce Losure Fri, 02 Sep 2005 15:16:35 -0500 committer Tony Luck Tue, 06 Sep 2005 14:16:01 -0700 [IA64] Altix patch for fpga reset 1) workaround a h/w reset issue 2) to improve the determination of FPGA-based h/w in the arch/ia64/sn/kernel/tiocx code. Signed-off-by: Bruce Losure Signed-off-by: Tony Luck commit a9053d0494d3c92807701c0f47df61d50c971581 tree 28cfb17d88d6491c5efd51e00e6937d57b1e81da parent 4dd9e909e3b834b66fd48d6eac50c6557cc50275 parent 6b39374a27eb4be7e9d82145ae270ba02ea90dc8 author Jeff Garzik Mon, 05 Sep 2005 05:14:25 -0400 committer Jeff Garzik Mon, 05 Sep 2005 05:14:25 -0400 /spare/repo/libata-dev branch 'master' commit bfa0d75a1eee59f0577e3c1697ff570b77581a35 tree c5399d95379f71903c4f3e82160bd7b4d36bb42d parent 1c9551878c4629ca78dfe12ed23b9dc8d97770cc author Steve French Wed, 31 Aug 2005 21:50:37 -0700 committer Steve French Wed, 31 Aug 2005 21:50:37 -0700 [CIFS] Add support for legacy servers part 5 Handle small negotiated read sizes (under 4K) and finish up read and write support. Signed-off-by: Steve French commit 1c9551878c4629ca78dfe12ed23b9dc8d97770cc tree 4d9df5ad22d88dd0f62ab9f44d761f1df6a77d55 parent cb8be64084e6294fcb9e558188fe104050b94f0b author Steve French Tue, 30 Aug 2005 20:58:07 -0700 committer Steve French Tue, 30 Aug 2005 20:58:07 -0700 [CIFS] Add support for legacy servers part 4 Fix WriteX support for old servers which do not support large files. Signed-off-by: Steve French commit cb8be64084e6294fcb9e558188fe104050b94f0b tree 6272a7d0b7eab5a6127f9f2c4a6e3006a69a035b parent 16abbecdad3367c76c12537450eba0d86943fe2c author Steve French Tue, 30 Aug 2005 15:25:52 -0700 committer Steve French Tue, 30 Aug 2005 15:25:52 -0700 [CIFS] Add nolock synonym (ala nfs) for nobrl to disable sending byte range locks remotely. Signed-off-by: Steve French (sfrench@us.ibm.com) commit 16abbecdad3367c76c12537450eba0d86943fe2c tree 4e15d2ce6e7ab84587e29c3cdbfed94d25ae5d9f parent 2016ef789a9ded2e169ad1c028ae3deb5302571f author Steve French Tue, 30 Aug 2005 13:10:14 -0700 committer Steve French Tue, 30 Aug 2005 13:10:14 -0700 [CIFS] Add support for suspend cifsd had been preventing software suspend from completing. Signed-off-by: pavel@suse.de Signed-off-by: Steve French lightly modified --- fs/cifs/CHANGES | 3 ++- fs/cifs/cifsfs.c | 4 ++++ fs/cifs/connect.c | 2 ++ 3 files changed, 8 insertions(+), 1 deletions(-) commit 2016ef789a9ded2e169ad1c028ae3deb5302571f tree 601359f15b42d4d9868b4eadfe909a7bef6435c5 parent 7f57356b70dda014ef269135942426e4a852023e parent 6b39374a27eb4be7e9d82145ae270ba02ea90dc8 author Steve French Tue, 30 Aug 2005 11:33:26 -0700 committer Steve French Tue, 30 Aug 2005 11:33:26 -0700 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 7f57356b70dda014ef269135942426e4a852023e tree fe17d0aa1882984eb9120389fde048616161f2aa parent a9d02ad49013c8fc527f06ca66417103cdbb08b6 author Steve French Tue, 30 Aug 2005 11:32:14 -0700 committer Steve French Tue, 30 Aug 2005 11:32:14 -0700 [CIFS] Remove cifs_sb argument from *build_path_from_dentry This argument was added in a recent patch, but is unnecessary, since the superblock is easily obtained from the dentry. Signed-off-by: Dave Kleikamp Signed-off-by: Steve French commit 2fcf522509cceea524b6e7ece8fd6759b682175a tree d356e87307e451cce5497ad8daeeeb047befe489 parent da61396d24e37258817e42537c482e962b4742f7 parent 1fdab81e675c6ef76a49b8aabb7eaf4be51d1b80 author Jeff Garzik Tue, 30 Aug 2005 03:48:57 -0400 committer Jeff Garzik Tue, 30 Aug 2005 03:48:57 -0400 /spare/repo/libata-dev branch 'master' commit 4dd9e909e3b834b66fd48d6eac50c6557cc50275 tree 08315c79b1fbd8e3344881c260dce730e5ebea3c parent 76b2bf9b4dee2fb32ef17f5c84a99ce481a14be2 parent 1fdab81e675c6ef76a49b8aabb7eaf4be51d1b80 author Jeff Garzik Tue, 30 Aug 2005 03:38:51 -0400 committer Jeff Garzik Tue, 30 Aug 2005 03:38:51 -0400 /spare/repo/libata-dev branch 'master' commit 76b2bf9b4dee2fb32ef17f5c84a99ce481a14be2 tree 49cd36d6e980044c2a88f2c14cdc9259e0f0f1b4 parent 2fca877b68b2b4fc5b94277858a1bedd46017cde parent 8f3d17fb7bcb7c255197d11469fb5e9695c9d2f4 author Jeff Garzik Mon, 29 Aug 2005 19:24:43 -0400 committer Jeff Garzik Mon, 29 Aug 2005 19:24:43 -0400 Merge libata branch 'chs-support' to latest upstream kernel. commit 739cdbf1d8f0739b80035b80d69d871e33749b86 tree 15134df8723ab7d7a5524c99070f02d5739bad0d parent 83bbecc905b3431c60fe282830e09aaaab97b26a parent 8f3d17fb7bcb7c255197d11469fb5e9695c9d2f4 author Jeff Garzik Mon, 29 Aug 2005 19:10:39 -0400 committer Jeff Garzik Mon, 29 Aug 2005 19:10:39 -0400 Merge /spare/repo/linux-2.6/ commit da61396d24e37258817e42537c482e962b4742f7 tree 4293a5d557b8f9fed8a2bac93f1e5c939c7b65c3 parent 2f058256cb64e346f4fb4499ff4e0f1c2791a4b4 parent 8f3d17fb7bcb7c255197d11469fb5e9695c9d2f4 author Jeff Garzik Mon, 29 Aug 2005 19:01:43 -0400 committer Jeff Garzik Mon, 29 Aug 2005 19:01:43 -0400 Merge upstream kernel into libata 'passthru' branch commit 2fca877b68b2b4fc5b94277858a1bedd46017cde tree fd02725406299ba2f26354463b3c261721e9eb6b parent ff40c6d3d1437ecdf295b8e39adcb06c3d6021ef parent 02b3e4e2d71b6058ec11cc01c72ac651eb3ded2b author Jeff Garzik Mon, 29 Aug 2005 16:12:36 -0400 committer Jeff Garzik Mon, 29 Aug 2005 16:12:36 -0400 /spare/repo/libata-dev branch 'v2.6.13' commit a9d02ad49013c8fc527f06ca66417103cdbb08b6 tree 9ee3f14e81777296e7057adcfe5c986aea696d47 parent e22cb8bcb8bce94bf5cca90c98933a28816c6a75 author Steve French Wed, 24 Aug 2005 23:06:05 -0700 committer Steve French Wed, 24 Aug 2005 23:06:05 -0700 [CIFS] Support for legacy servers part 3 - Add support for Open and most of Read support. Signed-off-by: Steve French commit e22cb8bcb8bce94bf5cca90c98933a28816c6a75 tree c7b4c27b91b5b6fdb62cce46ede1f75c9fd9862f parent 167a251ad6678ad26aa3cf27bab677b274374ab6 author Steve French Wed, 24 Aug 2005 20:25:21 -0700 committer Steve French Wed, 24 Aug 2005 20:25:21 -0700 [CIFS] Use file instead of dentry in cifs dir_notify struct Signed-off-by: Steve French commit 167a251ad6678ad26aa3cf27bab677b274374ab6 tree 3db2a878de70d180d634d06e5ddf8dc325230e40 parent abb15b8ae4eb7cdff0061e7ac5eca1f8dd8a84af author Steve French Wed, 24 Aug 2005 20:03:11 -0700 committer Steve French Wed, 24 Aug 2005 20:03:11 -0700 [CIFS] Change notify support part 3 Signed-off-by: Steve French commit abb15b8ae4eb7cdff0061e7ac5eca1f8dd8a84af tree fcac3cc1e52c4db1f13c0b97d6512becd3bdc007 parent ff5dbd9ead0d82466cab8bdbdcbc9666707d328a author Steve French Wed, 24 Aug 2005 18:51:02 -0700 committer Steve French Wed, 24 Aug 2005 18:51:02 -0700 [CIFS] Missing line from previous patch Signed-off-by: Steve French (sfrench@us.ibm.com) commit ff5dbd9ead0d82466cab8bdbdcbc9666707d328a tree a0ba466993aa0470fa86d942a6de3bf88fa1d5e1 parent e2a98a7543696306346ba8302a8df6cedf20fdfc author Steve French Wed, 24 Aug 2005 17:10:36 -0700 committer Steve French Wed, 24 Aug 2005 17:10:36 -0700 [CIFS] Change notify support part 2 Signed-off-by: Asser Ferno Signed-off-by: Steve French and lightly modified commit e2a98a7543696306346ba8302a8df6cedf20fdfc tree 73575fd633f91b833bd4c747a4a34546c29e4988 parent 160b13f17c4f92805c4ad03c3336dded15c693e9 author Steve French Wed, 24 Aug 2005 14:43:14 -0700 committer Steve French Wed, 24 Aug 2005 14:43:14 -0700 [CIFS] Update thanks/contributor list with Miklos Szeredi (Signed-off-by: Miklos Szeredi also should have been listed on the last cifs patch fixing some lookup intent handling in cifs) Signed-off-by: Steve French commit 160b13f17c4f92805c4ad03c3336dded15c693e9 tree e5390b0b53c0034e7dc03dcd3ffbfc2180dea39a parent c0c3e8edaabcb6cf6786226813cf087ad21f0743 parent 9c2c38a122cc23d6a09b8004d60a33913683eedf author Steve French Wed, 24 Aug 2005 14:37:23 -0700 committer Steve French Wed, 24 Aug 2005 14:37:23 -0700 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit c0c3e8edaabcb6cf6786226813cf087ad21f0743 tree 1a0da19cbcbbe78be105f70bf7cc99d4143d2a71 parent a45443475835ab4d1c753159812aca21b5c333a3 author Steve French Wed, 24 Aug 2005 14:01:13 -0700 committer Steve French Wed, 24 Aug 2005 14:01:13 -0700 CIFS: Fix typos in fs/cifs/CHANGES Signed-off-by: Dave Kleikamp Signed-off-by: Steve French commit a45443475835ab4d1c753159812aca21b5c333a3 tree 308c2535875dec62bdafae3d3ed2a98af588d608 parent 6b8edfe0f918e7585acb3bd63f62ff56e32dd3d2 author Steve French Wed, 24 Aug 2005 13:59:35 -0700 committer Steve French Wed, 24 Aug 2005 13:59:35 -0700 CIFS: Reduce CONFIG_CIFS_STATS ifdefs Make cifs_stats code conditional in the header files to avoid ifdefs in the main code. Signed-off-by: Dave Kleikamp Signed-off-by: Steve French commit 6b8edfe0f918e7585acb3bd63f62ff56e32dd3d2 tree ea9c6c9c85b0653aeac1abad87ad160114de28af parent a10faeb2a3e266385cc334fe9af76e08e5e4330f author Steve French Tue, 23 Aug 2005 20:26:03 -0700 committer Steve French Tue, 23 Aug 2005 20:26:03 -0700 [CIFS] Support for mounting to older servers part 2. Add support for legacy getattr (lookup). Signed-off-by: Steve French (sfrench@us.ibm.com) commit a10faeb2a3e266385cc334fe9af76e08e5e4330f tree 1649766060aeb1bd56fc51af769646ac9ec84539 parent b92327fe6b25d60004b79df9e3c19091c03118ba author Steve French Mon, 22 Aug 2005 21:38:31 -0700 committer Steve French Mon, 22 Aug 2005 21:38:31 -0700 [CIFS] Support for mounting to older, pre-CIFS servers added. This allows specifying an RFC1001 target "called" name (netbios name of the server, which can now be pecified as mount option "servernetbiosname" but will eventually be passed in automatically on retry of host down error messages caused when server refuses to handle default server name and can not handle port 445). This is an important step, but additional testing and fixup is needed to add remaining function needed for these. Signed-off-by: Steve French (sfrench@us.ibm.com) commit b92327fe6b25d60004b79df9e3c19091c03118ba tree 064479872cf0cc83d08f9c719edfd9769b01b9a3 parent a5a2b489bae8f66559a531df99a26eb16b42299e author Steve French Mon, 22 Aug 2005 20:09:43 -0700 committer Steve French Mon, 22 Aug 2005 20:09:43 -0700 [CIFS] Finish up of case-insensitive dentry handling for cifs. This will eventually (or should eventually) be common code for jfs, smbfs, etc. but in the meantime is small enough and necessary when mounting case insensitive to Windows (nocase). Signed-off-by: Shaggy (shaggy@austin.ibm.com) Signed-off-by: Steve French (sfrench@us.ibm.com) commit a5a2b489bae8f66559a531df99a26eb16b42299e tree 080a579fe5e5382dc3493e302174b9c584964be4 parent 646352319b6cd369750a706706810d87f6b6efa7 author Steve French Sat, 20 Aug 2005 21:42:53 -0700 committer Steve French Sat, 20 Aug 2005 21:42:53 -0700 [CIFS] Make CIFS statistics more accurate and add some stats that were missing. Most importantly SMB reads were undercounted. Signed-off-by: Steve French (sfrench@us.ibm.com) commit 646352319b6cd369750a706706810d87f6b6efa7 tree e7830e1276cbad7d29bf9471def4b8940592c3b7 parent d3485d37c0b3292aec0618b6663c57542df5da99 parent f6fdd7d9c273bb2a20ab467cb57067494f932fa3 author Steve French Sat, 20 Aug 2005 21:40:00 -0700 committer Steve French Sat, 20 Aug 2005 21:40:00 -0700 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit d3485d37c0b3292aec0618b6663c57542df5da99 tree ad841f90fdcd0549874eaf42fc048fbf85de645a parent c46fa8acdc533e8084359ea11c79d56eb98313fb author Steve French Fri, 19 Aug 2005 11:04:29 -0700 committer Steve French Fri, 19 Aug 2005 11:04:29 -0700 [CIFS] Finish cifs mount option which requests case insensitive path name matching. Signed-off-by: Steve French (sfrench@us.ibm.com) commit c46fa8acdc533e8084359ea11c79d56eb98313fb tree d9455c92f58c99e342856995668739236bdd09e3 parent 8d0d50948b276b46b75b1b5855d3f9fab1e0fd92 author Steve French Thu, 18 Aug 2005 20:49:57 -0700 committer Steve French Thu, 18 Aug 2005 20:49:57 -0700 [CIFS] Add mount option for disabling sending byte range lock requests over the wire (to help the case when applications break with cifs mandatory lock behavior. Add part one of mount option for requesting case insensitive path name matching. Signed-off-by: Steve French (sfrench@us.ibm.com) commit 8d0d50948b276b46b75b1b5855d3f9fab1e0fd92 tree c0493d906cfd611f8dc3214dbbbd3a8e9e80ebf8 parent f191401f5906f4d942fac87ebeb4671faf1ba7d6 author Steve French Thu, 18 Aug 2005 09:41:43 -0700 committer Steve French Thu, 18 Aug 2005 09:41:43 -0700 [CIFS] Change Notify support part 1 - add dnotify thread for processing notify responses. Signed-off-by: Asser Ferno Signed-off-by: Steve French commit f191401f5906f4d942fac87ebeb4671faf1ba7d6 tree 5d918edb41604cde78668e3fba2cfd9fb4f11641 parent 1982c344f1bf08118f7c224958b30c64e162009e author Steve French Thu, 18 Aug 2005 09:37:34 -0700 committer Steve French Thu, 18 Aug 2005 09:37:34 -0700 [CIFS] rmmod cifs can oops if done soon after the last cifs unmount Signed-off-by: Shaggy (shaggy@austin.ibm.com) Signed-off-by: Steve French (sfrench@us.ibm.com) commit 1982c344f1bf08118f7c224958b30c64e162009e tree b5268e345010421ca2625b29efc981c187c4df2e parent a59c658607b63ec7b6c2536597a075ee307b1b4c author Steve French Wed, 17 Aug 2005 12:38:22 -0700 committer Steve French Wed, 17 Aug 2005 12:38:22 -0700 [CIFS] Ensure that cifs multiplex ids do not collide. Signed-off-by: Steve French (sfrench@us.ibm.com) commit a59c658607b63ec7b6c2536597a075ee307b1b4c tree e5217df2f7e4a2b3bce1ab8fff4816cc6cd4e964 parent 68984aedabf2552aeb21b9ed232cb8f685444e3a author Steve French Wed, 17 Aug 2005 12:12:19 -0700 committer Steve French Wed, 17 Aug 2005 12:12:19 -0700 [CIFS] Missing ; from previous fix. Pointed out by Shaggy. Signed-off-by: Steve French commit 83bbecc905b3431c60fe282830e09aaaab97b26a tree d3f11fc4b8672ee57f5234bf6c8616de5f080ab5 parent e382eb1dbdb2dec69806a72551bcb4a736142f6d author Tejun Heo Wed, 17 Aug 2005 13:09:18 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: add more comments for constants 08_sil24_add-comments-for-constants.patch Add more comments to constants. Signed-off-by: Edward Falk sata_sil24.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) Signed-off-by: Jeff Garzik commit e382eb1dbdb2dec69806a72551bcb4a736142f6d tree c994010074ee6771f0a9edc4b40ea916ffb8deb5 parent 4f50c3cbb4b608ae4d8ee73ce273d819d901a83f author Tejun Heo Wed, 17 Aug 2005 13:09:13 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: fix PORT_CTRL_STAT constants 07_sil24_fix-PORT_CTRL_STAT-constants.patch PORT_CTRL_STAT constants were copied incorrectly from the preview driver. Signed-off-by: Edward Falk sata_sil24.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) Signed-off-by: Jeff Garzik commit 4f50c3cbb4b608ae4d8ee73ce273d819d901a83f tree cee924a7ae1c571c76a73b8c021d503b3dbe8237 parent 33d015b9f24d143859bb40dbe7bbb4c7805cee7d author Tejun Heo Wed, 17 Aug 2005 13:09:07 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: replace pp->port w/ ap->ioaddr.cmd_addr 06_sil24_remove-pp-port.patch As ap->ioaddr.cmd_addr isn't used for PORT_TF anymore, replace pp->port w/ it as AHCI does. Signed-off-by: Tejun Heo sata_sil24.c | 17 ++++++----------- 1 files changed, 6 insertions(+), 11 deletions(-) Signed-off-by: Jeff Garzik commit 33d015b9f24d143859bb40dbe7bbb4c7805cee7d tree 5a9471333c9c265686df2b3a3a2f13eeab6ef8e5 parent 8746618d4f18fab25916686b0d8a6be2c2912de1 author Tejun Heo Wed, 17 Aug 2005 13:09:02 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: remove PORT_TF 05_sil24_remove-PORT_TF.patch Remove PORT_TF, as taskfile isn't located at PORT_TF. Signed-off-by: Tejun Heo sata_sil24.c | 7 +------ 1 files changed, 1 insertion(+), 6 deletions(-) Signed-off-by: Jeff Garzik commit 8746618d4f18fab25916686b0d8a6be2c2912de1 tree 93b4479715179b22311d9857358e250be08f8006 parent 06460aeaa26ed4a86b92c8451365d3f48abd3786 author Tejun Heo Wed, 17 Aug 2005 13:08:57 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: move error handling out of hot interrupt path 04_sil24_add-error_intr-function.patch Move error handling from sil24_host_intr into separate function - sil24_error_intr. Signed-off-by: Tejun Heo sata_sil24.c | 55 +++++++++++++++++++++++++++++++------------------------ 1 files changed, 31 insertions(+), 24 deletions(-) Signed-off-by: Jeff Garzik commit 06460aeaa26ed4a86b92c8451365d3f48abd3786 tree 050791de806b74054f760b9debbddb7cac9caf75 parent 3cc4571c4106735665e048850ff6656de9558d60 author Tejun Heo Wed, 17 Aug 2005 13:08:52 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: add testing for PCI fault 03_sil24_add-pci-fault-check.patch On entry to interrupt handler, PORT_SLOT_STAT register is read first. Check if PCI fault or device removal has occurred by testing the value for 0xffffffff. Signed-off-by: Tejun Heo sata_sil24.c | 6 ++++++ 1 files changed, 6 insertions(+) Signed-off-by: Jeff Garzik commit 3cc4571c4106735665e048850ff6656de9558d60 tree ce7dc0f5d02af9b247a0a2867010e555dc26834c parent 1483467faa0170cf401955b3d8d3486ea0fe802d author Tejun Heo Wed, 17 Aug 2005 13:08:47 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: remove irq disable code on spurious interrupt 02_sil24_remove-irq-disable-on-spurious-intr.patch If interrupt occurs on a disabled port, the driver used to mask the port's interrupt, but we don't know if such action is necessary yet and that's not what other drives do. So, just do nothing and tell IRQ subsystem that it's not our interrupt. Signed-off-by: Tejun Heo sata_sil24.c | 15 +++++---------- 1 files changed, 5 insertions(+), 10 deletions(-) Signed-off-by: Jeff Garzik commit 1483467faa0170cf401955b3d8d3486ea0fe802d tree fd159d18cdc2d99336044ee9cb70131aec4d7744 parent a2e30e529a48ef4e106e405f91cf4ae525bb01c4 author Tejun Heo Wed, 17 Aug 2005 13:08:42 +0900 committer Jeff Garzik Wed, 17 Aug 2005 00:51:50 -0400 [PATCH] sil24: add FIXME comment above ata_device_add 01_sil24_add-FIXME-comment.patch Add FIXME comment above ata_device_add. Signed-off-by: Tejun Heo sata_sil24.c | 1 + 1 files changed, 1 insertion(+) Signed-off-by: Jeff Garzik commit a2e30e529a48ef4e106e405f91cf4ae525bb01c4 tree 2def96ef17c0672c30f1a10287552978bf1d0b1c parent edb3366703224d5d8df573ae698ccd6b488dc743 parent 2ad56496627630ebc99f06af5f81ca23e17e014e author Jeff Garzik Wed, 17 Aug 2005 00:51:31 -0400 committer Jeff Garzik Wed, 17 Aug 2005 00:51:31 -0400 Merge /spare/repo/linux-2.6/ commit 68984aedabf2552aeb21b9ed232cb8f685444e3a tree 803c93116818a1bdf9566c7b00eff7d373567f80 parent 4a6d87f1db06c9670251d6c72a89319e7d1cbaee parent b4b08e581fac8e0ba9ae348bdc13246c9798c99e author Steve French Sun, 14 Aug 2005 16:09:22 -0700 committer Steve French Sun, 14 Aug 2005 16:09:22 -0700 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 4a6d87f1db06c9670251d6c72a89319e7d1cbaee tree aa21e8220215933742f931a452d7d96839b93c2b parent a47fd3f5e3a3f970ac1b81643ac56737f97a1fea author Steve French Sat, 13 Aug 2005 08:15:54 -0700 committer Steve French Sat, 13 Aug 2005 08:15:54 -0700 [CIFS] Add missing check for path name allocation failure. Remove four redundant null pointer checks before cifs_buf_release. Found by coverity analyzer. Signed-off-by: Steve French (sfrench@us.ibm.com) commit 2f058256cb64e346f4fb4499ff4e0f1c2791a4b4 tree 91e06602f4d3abb6812ea8c9bc9ba4501e14c84e parent 0274aa2506fd2fe89a58dd6cd64d3b3f7b976af8 parent 86b3786078d63242d3194ffc58ae8dae1d1bbef3 author Jeff Garzik Wed, 10 Aug 2005 13:46:28 -0400 committer Jeff Garzik Wed, 10 Aug 2005 13:46:28 -0400 Merge /spare/repo/linux-2.6/ commit a47fd3f5e3a3f970ac1b81643ac56737f97a1fea tree 09bafe2399f187898ddc6a74176893f0b7f28c6b parent ef6724e32142c2d9ca252d423cacc435c142734e parent 86b3786078d63242d3194ffc58ae8dae1d1bbef3 author Steve French Wed, 10 Aug 2005 08:05:35 -0700 committer Steve French Wed, 10 Aug 2005 08:05:35 -0700 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git french@hera:~/linux-2.6(0)$ cg-update l `/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/refs/heads/master' -> `.git/refs/heads/origin' cp: cannot create link `.git/objects/info/packs': File exists progress: 213 objects, 646653 bytes, 77% done `/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects/info/packs' -> `.git/objects/info/packs' progress: 983 objects, 2805763 bytes, 100% done cg-pull: objects pull failed commit ef6724e32142c2d9ca252d423cacc435c142734e tree 5d002426e75eba4e2299b8bcc1f476c75ffb6cf2 parent bcf7e34a71afe24dc210b7825f6f139774cb905c author Steve French Tue, 02 Aug 2005 21:31:05 -0700 committer Steve French Tue, 02 Aug 2005 21:31:05 -0700 [CIFS] Fix missing entries in search results when very long file names and more than 50 (or so) of such long search entries in the directory. FindNext could send corrupt last byte of resume name when resume key was a few hundred bytes long file name or longer. Fixes Samba Bug # 2932 Signed-off-by: Steve French (sfrench@us.ibm.com) commit bcf7e34a71afe24dc210b7825f6f139774cb905c tree d81a8f89eb103290ae70008fde185c068d9f7a4f parent eda3c029899cbf435d76fea43b7e1404439ccec9 parent 688d191821de7893043f5a37970472627aaffa4e author Steve French Tue, 02 Aug 2005 21:20:47 -0700 committer Steve French Tue, 02 Aug 2005 21:20:47 -0700 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit edb3366703224d5d8df573ae698ccd6b488dc743 tree 7c70fd03a94733fe012700637aacf800bcd2c2c5 parent 6b6a93c6876ea1c530d5d3f68e3678093a27fab0 author Tejun Heo Thu, 28 Jul 2005 10:36:22 +0900 committer Jeff Garzik Thu, 28 Jul 2005 16:04:18 -0400 [PATCH] SATA: rewritten sil24 driver This is rewritten sil24 driver against v2.6.13-rc3. Rewritten based on driver originally submitted by Silicon Image. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit eda3c029899cbf435d76fea43b7e1404439ccec9 tree 334ad2504575c4c22247e62c4add3bb2cb54f502 parent 076fb01e8238b7e5d68ba0d729c0ff7716d1d8ec author Steve French Thu, 21 Jul 2005 15:20:28 -0700 committer Steve French Thu, 21 Jul 2005 15:20:28 -0700 [CIFS] Add compat with SFU (part 2) Creating FIFOs to non-Unix servers (with cifs mounts for which sfu option was specified) now works. Signed-off-by: Steve French (sfrench@us.ibm.com) Thanks to Martin Koeppe for his assistance commit 076fb01e8238b7e5d68ba0d729c0ff7716d1d8ec tree abcaefe016870427ed289748cb0b936575d60593 parent 4c48b0d3d1c7ff9f13134b30e41c6e81a92027bf parent f60f700876cd51de9de69f3a3c865d95e287a24d author Steve French Tue, 19 Jul 2005 14:36:00 -0700 committer Steve French Tue, 19 Jul 2005 14:36:00 -0700 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 4c48b0d3d1c7ff9f13134b30e41c6e81a92027bf tree 4a717195673e1abc459e1bd70fb0b0e0aac45d8b parent f4cfd69cf349dd27e00d5cf804b57aee04e059c2 parent 38d84c3bd6dd22bdb1f797c87006931133d71aea author Steve French Fri, 15 Jul 2005 13:14:28 -0700 committer Steve French Fri, 15 Jul 2005 13:14:28 -0700 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit f4cfd69cf349dd27e00d5cf804b57aee04e059c2 tree 9cf95e3f451814db89ab10a1e292b59f817bd00f parent d7245c2ccf14cde2023273c1ec246732d96e2c27 author Steve French Thu, 14 Jul 2005 18:29:02 -0500 committer Steve French Thu, 14 Jul 2005 18:29:02 -0500 [CIFS] Fix path name conversion for long filenames when mapchars mount option was specified at mount time. Signed-off-by: Steve French (sfrench@us.ibm.com) commit d7245c2ccf14cde2023273c1ec246732d96e2c27 tree 657d7b5c9431b6117659f9638f4121ac237d4c5f parent 4887c61811c2283162684d7f9075b7676ef6a9bf author Steve French Thu, 14 Jul 2005 18:25:12 -0500 committer Steve French Thu, 14 Jul 2005 18:25:12 -0500 [CIFS] Add compat with SFU (part 1) This should help the case of creating fifos and other special files to servers which do not support the Unix extensions. Signed-off-by: Steve French (sfrench@us.ibm.com) Thanks to Martin Koeppe for his suggestions and good analysis commit 4887c61811c2283162684d7f9075b7676ef6a9bf tree 19bfdbe4d2f3a108dfa260ceebe13aab2e31a9dc parent c27510c031cae15f84b90f28d6dc02c314d84cf8 parent c32511e2718618f0b53479eb36e07439aa363a74 author Steve French Wed, 13 Jul 2005 10:08:04 -0700 committer Steve French Wed, 13 Jul 2005 10:08:04 -0700 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit c27510c031cae15f84b90f28d6dc02c314d84cf8 tree ece97a4b2f3d8e5ce3588c55f353a16c46101d8f parent ab997aaeb9cf7a0da1cecc46c5bb6c7262416917 parent 9f02d6b7b43d46a74dd385f06090104ecd0fb807 author Steve French Tue, 12 Jul 2005 15:06:31 -0700 committer Steve French Tue, 12 Jul 2005 15:06:31 -0700 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit ab997aaeb9cf7a0da1cecc46c5bb6c7262416917 tree b8a09ed676101a2478d17c1d71da1274293c3c64 parent fa5cfae37799177769e9ae2c0527fbdfea462fa9 parent bd53d1270f51c6cfb53b06c8f93fd42327871d6b author Steve French Thu, 30 Jun 2005 20:57:39 -0700 committer Steve French Thu, 30 Jun 2005 20:57:39 -0700 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit fa5cfae37799177769e9ae2c0527fbdfea462fa9 tree 02f99e208949486c8899a310846dee444bac8093 parent 0c0ff09329dafb165c0d9ac08965ddc0615020b1 parent 16822e62053e73fa7def9decc38a7e287d27d980 author Steve French Thu, 23 Jun 2005 19:03:20 -0700 committer Steve French Thu, 23 Jun 2005 19:03:20 -0700 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 0c0ff09329dafb165c0d9ac08965ddc0615020b1 tree 19b4cf11057b8cc740382c7d2c63b84538d45819 parent 45abc6ee2b916a235d6824a41225177bd6e5e24f author Steve French Thu, 23 Jun 2005 19:31:17 -0500 committer Steve French Thu, 23 Jun 2005 19:31:17 -0500 [CIFS] Performance improvement, finish up adding CIFSSMBWrite2 Signed-off-by: Steve French (sfrench@us.ibm.com) commit 45abc6ee2b916a235d6824a41225177bd6e5e24f tree 3917490721cd007eac3304078b22cdc6c58c4e6e parent ea0daab4ae4a2f853f06c76961c0ed324fd0804c author Steve French Thu, 23 Jun 2005 13:42:03 -0500 committer Steve French Thu, 23 Jun 2005 13:42:03 -0500 [CIFS] Fix typo in POSIX SetFSInfo call Signed-off-by: Steve French (sfrench@us.ibm.com) commit ea0daab4ae4a2f853f06c76961c0ed324fd0804c tree f6fbe2db5772695181b7a7257b05e43343bd8d75 parent 58aab753de605c14b9878a897e7349c3063afeff parent 1bdf7a78c2b21fb94dfe7994dbe89310b18479d2 author Steve French Wed, 22 Jun 2005 20:26:47 -0500 committer Steve French Wed, 22 Jun 2005 20:26:47 -0500 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git commit 1bdf7a78c2b21fb94dfe7994dbe89310b18479d2 tree 7741cfd476f9c622a10c198da421fdb3e38708b9 parent ac67055ef2378ea95c34b593ddf9d0a0737a240a parent a4936044001694f033fe4ea94d6034d51a6b465c author Jeremy Allison Wed, 22 Jun 2005 17:35:06 -0700 committer Steve French Wed, 22 Jun 2005 17:35:06 -0700 Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit ac67055ef2378ea95c34b593ddf9d0a0737a240a tree 78f76cde63f158b318a57a3972a77731d8fb0ef6 parent dfb7533b5f157ac7135da23883e80d895227d965 author Jeremy Allison Wed, 22 Jun 2005 17:26:35 -0700 committer Steve French Wed, 22 Jun 2005 17:26:35 -0700 [CIFS] POSIX extensions, SetFSInfo added Signed-off-by: Steve French@sfrench@us.ibm.com Signed-off-by: Jeremy Allison (jra@samba.org) commit dfb7533b5f157ac7135da23883e80d895227d965 tree 6a09f6d0945653bb21a2cdc8f050b82a4671227c parent 8b22c249e7de453961e4d253b19fc2a0bdd65d53 author Steve French Wed, 22 Jun 2005 17:13:47 -0700 committer Steve French Wed, 22 Jun 2005 17:13:47 -0700 [CIFS] Add stats for findfirst, findnext, findclose Signed-off-by: Steve French (sfrench@us.ibm.com) commit 0274aa2506fd2fe89a58dd6cd64d3b3f7b976af8 tree be336e9d13a0a3f2d75bf60918781573afe76a53 parent 80bd6d7f5e0d872a0f5a151473d2a39d95d210a8 author Jeff Garzik Wed, 22 Jun 2005 13:50:56 -0400 committer Jeff Garzik Wed, 22 Jun 2005 13:50:56 -0400 libata: Update 'passthru' branch for latest libata commit 80bd6d7f5e0d872a0f5a151473d2a39d95d210a8 tree b3a36048d6b7de88f7e906624ecb4b98816bb736 parent 949d33e70f2c3e93bfe5265a50e40175b1ab1ec1 parent 2a5a68b840cbab31baab2d9b2e1e6de3b289ae1e author Jeff Garzik Wed, 22 Jun 2005 13:10:49 -0400 committer Jeff Garzik Wed, 22 Jun 2005 13:10:49 -0400 Merge /spare/repo/linux-2.6/ commit ff40c6d3d1437ecdf295b8e39adcb06c3d6021ef tree 3666d029b4bd4df2909dbefd9c7a09e6042b7d32 parent 8bf62ecee58360749c5f0e68bc97d5e02a6816b1 parent 2a5a68b840cbab31baab2d9b2e1e6de3b289ae1e author Jeff Garzik Wed, 22 Jun 2005 13:07:28 -0400 committer Jeff Garzik Wed, 22 Jun 2005 13:07:28 -0400 Merge upstream kernel changes into 'C/H/S support' branch of libata. commit 58aab753de605c14b9878a897e7349c3063afeff tree c9339c8cbcaae4dfe2232618fe6de1398d05455e parent 5893a65711164e42fea4a58bb8adf47c2fac8a4b parent 8b22c249e7de453961e4d253b19fc2a0bdd65d53 author Steve French Mon, 20 Jun 2005 13:12:51 -0500 committer Steve French Mon, 20 Jun 2005 13:12:51 -0500 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git commit 5893a65711164e42fea4a58bb8adf47c2fac8a4b tree 31b5f20e314aae236b06998de3fffeb729581af5 parent d6e04ae64c6b06ef76a5d4fb49106b393b7fa50a parent c0105338eb4e61e537ca34ae06921177cb6efcf0 author Steve French Mon, 13 Jun 2005 13:25:38 -0500 committer Steve French Mon, 13 Jun 2005 13:25:38 -0500 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git commit d6e04ae64c6b06ef76a5d4fb49106b393b7fa50a tree 0ae0d4e7c94ccbba95e55d7512eb628d845eff20 parent 2830077f7ae93ef2f7a312e3e489110963612e77 author Steve French Mon, 13 Jun 2005 13:24:43 -0500 committer Steve French Mon, 13 Jun 2005 13:24:43 -0500 [CIFS] CIFS writepage improvements - eliminate double copy Signed-off-by: Steve French (sfrench@us.ibm.com) commit 2830077f7ae93ef2f7a312e3e489110963612e77 tree 039fea827a1376552ef89ab686168947e3558069 parent 36358c21423d58dde90aedde2b8517192c4092f4 parent 0b68177ccd12866d9f19cafad212b861c9d02a8c author Steve French Mon, 06 Jun 2005 12:31:45 -0500 committer Steve French Mon, 06 Jun 2005 12:31:45 -0500 Merge with rsync://rsync.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git commit 36358c21423d58dde90aedde2b8517192c4092f4 tree 46e5913ef683c48d9aaefe3e087ad791b1c4a30c parent d0d2f2df65ddea9a30ddd117f769bfff65d3fc56 author Alexey Dobriyan Thu, 02 Jun 2005 20:01:16 -0500 committer Steve French Thu, 02 Jun 2005 20:01:16 -0500 [CIFS] fs/cifs/netmisc.c: fix sparse warning Signed-off-by: Steve French Signed-off-by: Alexey Dobriyan Signed-off-by: Domen Puncer commit 949d33e70f2c3e93bfe5265a50e40175b1ab1ec1 tree ca88fd8f8f81b167dc4685ed34e9636f267db60d parent b095518ef51c37658c58367bd19240b8a113f25c parent bef9c558841604116704e10b3d9ff3dbf4939423 author Thu, 26 May 2005 01:47:10 -0400 committer Jeff Garzik Thu, 26 May 2005 01:47:10 -0400 Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git branch HEAD commit b095518ef51c37658c58367bd19240b8a113f25c tree fc65e55b8786c48067338b8097bae1cbc13fbaac parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author Jeff Garzik Thu, 12 May 2005 15:45:22 -0400 committer Jeff Garzik Thu, 12 May 2005 15:45:22 -0400 [libata] ATA passthru (arbitrary ATA command execution) Authors: Brett Russ John W. Linville Andy Warner commit 8bf62ecee58360749c5f0e68bc97d5e02a6816b1 tree a3da6e695fc5a71ac7f3246707380a9ac22f6402 parent 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 author Albert Lee Thu, 12 May 2005 15:29:42 -0400 committer Jeff Garzik Thu, 12 May 2005 15:29:42 -0400 [libata] C/H/S support, for older devices