commit 4a8e4a270b89030bdeb09d2f8cef7cfe9a50e54d tree 6d4ca39c4e215023b80571ecf5d6a1700913418f parent 3f02d072d46bb409e8ca3cf16c0511f5c21adaf6 parent 107a09c44b65d5e2a5313edfda91c498df3b3f2a author Linus Torvalds Sun, 15 Jan 2006 22:18:04 -0800 committer Linus Torvalds Sun, 15 Jan 2006 22:18:04 -0800 Merge git://oss.sgi.com:8090/oss/git/xfs-2.6 commit 107a09c44b65d5e2a5313edfda91c498df3b3f2a tree 2c642943287ceb878fcdf2a2e5179c1d576fb729 parent c2e81432201d99cc48ff6492567fe05204cc8d7e author Nathan Scott Mon, 16 Jan 2006 16:28:07 +1100 committer Nathan Scott Mon, 16 Jan 2006 16:28:07 +1100 [XFS] remove no-longer-needed IS_NOATIME macro, twas just a build workaround Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit c2e81432201d99cc48ff6492567fe05204cc8d7e tree ea3630e08544dba25120f39f27dcc73b281378fb parent 54245702ab63a9a0b1ccf78bc37b57e778bb3bcc author Nathan Scott Mon, 16 Jan 2006 16:21:34 +1100 committer Nathan Scott Mon, 16 Jan 2006 16:21:34 +1100 [XFS] mutex fallout - fix debug builds and remove no-longer-useful comment. Signed-off-by: Nathan Scott commit 54245702ab63a9a0b1ccf78bc37b57e778bb3bcc tree 4ff4feac3de44fae6bc7bad062454d475c29570f parent 0238cb4e7583c521bb3538060f98a73e65f61324 author Nathan Scott Mon, 16 Jan 2006 15:54:05 +1100 committer Nathan Scott Mon, 16 Jan 2006 15:54:05 +1100 [XFS] Fix symlink creation too, with respect to initialising SELinux context. SGI-PV: 946762 SGI-Modid: xfs-linux-melb:xfs-kern:24983a Signed-off-by: Nathan Scott commit 3f02d072d46bb409e8ca3cf16c0511f5c21adaf6 tree baec074db38a5ceaaabbcee76f199acef43bb42a parent 0238cb4e7583c521bb3538060f98a73e65f61324 parent fb453d4b0b51ea71c9eb8192c61b768afeb7ee8a author Linus Torvalds Sun, 15 Jan 2006 16:43:29 -0800 committer Linus Torvalds Sun, 15 Jan 2006 16:43:29 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial commit 0238cb4e7583c521bb3538060f98a73e65f61324 tree 87081082bfd5c89fddfc1b351f31f6b5a14bfce5 parent 3527761cb403fba72a37c4e6a1fad76eeedd990c parent ef0498a7bfbb5773e7ba4235207054b81ad5120e author Linus Torvalds Sun, 15 Jan 2006 13:33:09 -0800 committer Linus Torvalds Sun, 15 Jan 2006 13:33:09 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 3527761cb403fba72a37c4e6a1fad76eeedd990c tree 69132f07ce10b311041b087f90c30ded72aca348 parent a073404272e8003816d9198f639b1bf11ff0a864 author Wim Van Sebroeck Sun, 15 Jan 2006 21:21:14 +0100 committer Wim Van Sebroeck Sun, 15 Jan 2006 21:21:14 +0100 [PATCH] MAINTAINERS: watchdog device drivers Add a MAINTAINER entry for the watchdog device drivers. Signed-off-by: Wim Van Sebroeck commit a073404272e8003816d9198f639b1bf11ff0a864 tree 67036411b7afd327ce3ac72b001578509652094e parent 6b4977ce0fb9a989ba24fd6b757d07a566abc23d author Ian Campbell Wed, 02 Nov 2005 08:56:49 +0000 committer Wim Van Sebroeck Sun, 15 Jan 2006 21:06:13 +0100 [WATCHDOG] sa1100_wdt.c sparse cleanups The following makes drivers/char/watchdog/sa1100_wdt.c sparse clean. Signed-off-by: Ian Campbell Signed-off-by: Wim Van Sebroeck commit 6b4977ce0fb9a989ba24fd6b757d07a566abc23d tree a65447b794fe9c9f15c34565c3b5fccc22d261d5 parent 69ff56c166629224e9fe914b8543021dc2f001f0 author Kyle McMartin Sun, 15 Jan 2006 12:10:55 -0500 committer Linus Torvalds Sun, 15 Jan 2006 10:17:07 -0800 [PATCH] Use atomic64_set for 64-bit case of atomic_long_set For some reason, the BITS_PER_LONG == 64 case of atomic_long_set was using atomic_set instead of atomic64_set. This does not jive with architectures which use an inline instead of a #define to implement their atomic_set() primitives. Signed-off-by: Kyle McMartin Signed-off-by: Linus Torvalds commit 69ff56c166629224e9fe914b8543021dc2f001f0 tree 89ac4a4f144dd6b131a5400fe024881c347e2cce parent fc03da1ca1954f103ed57daf90611cefa57b07e0 author Jean Delvare Sun, 15 Jan 2006 13:13:13 +0100 committer Linus Torvalds Sun, 15 Jan 2006 10:09:35 -0800 [PATCH] Fix zoran_card compilation warning Fix the following warning which was introduced in 2.6.15-git8 by commit 7408187d223f63d46a13b6a35b8f96b032c2f623: CC [M] drivers/media/video/zoran_card.o drivers/media/video/zoran_card.c: In function `zr36057_init': drivers/media/video/zoran_card.c:1053: warning: assignment makes integer from pointer without a cast Signed-off-by: Jean Delvare Acked-by: Ronald S. Bultje Signed-off-by: Linus Torvalds commit fc03da1ca1954f103ed57daf90611cefa57b07e0 tree 2b9b44b1a39f7743c1c3d7bc89654792686d7dbc parent caf5b04c82f05c65843b2d7189845d6c3df5a41e parent e05b3b4adbaeea508bd1c195f1f2e22c8251176b author Linus Torvalds Sun, 15 Jan 2006 10:05:10 -0800 committer Linus Torvalds Sun, 15 Jan 2006 10:05:10 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge commit ef0498a7bfbb5773e7ba4235207054b81ad5120e tree 73a2e407b3c1b10190fa3ee7744a8fe91ce14e49 parent caf5b04c82f05c65843b2d7189845d6c3df5a41e author Russell King Sun, 15 Jan 2006 17:03:45 +0000 committer Russell King Sun, 15 Jan 2006 17:03:45 +0000 [ARM] Fix missing compiler.h include asm/mach/arch.h introduced a __deprecated, but didn't include compiler.h, causing: In file included from arch/arm/mach-at91rm9200/devices.c:13: include/asm/mach/arch.h:23: warning: no semicolon at end of struct or union include/asm/mach/arch.h:23: error: syntax error before 'phys_ram' include/asm/mach/arch.h:34: error: syntax error before ':' token include/asm/mach/arch.h:35: error: syntax error before ':' token include/asm/mach/arch.h:36: error: syntax error before ':' token include/asm/mach/arch.h:37: error: syntax error before ':' token include/asm/mach/arch.h:45: error: syntax error before '}' token Add the necessary include. Signed-off-by: Russell King commit e05b3b4adbaeea508bd1c195f1f2e22c8251176b tree 61b88c6524b199c6051b46d040b0c379109d40ce parent 820a8ce7931d18338e5c089725ec083518da1644 author Paul Mackerras Sun, 15 Jan 2006 22:05:47 +1100 committer Paul Mackerras Sun, 15 Jan 2006 22:05:47 +1100 powerpc/32: Restore previous version of 32-bit PCI code When I removed the powermac support from arch/ppc/kernel/pci.c, I overlooked the fact that that file is used in 32-bit ARCH=powerpc builds. To prevent problems in future, restore the original version of that file as arch/powerpc/kernel/pci_32.c, and use that. Signed-off-by: Paul Mackerras commit 820a8ce7931d18338e5c089725ec083518da1644 tree cc531ec80117671fece720d208a587891e8ab158 parent a7fdd90bc43e3e9cb08bc1b13650024d419b89e5 author Paul Mackerras Sun, 15 Jan 2006 17:33:52 +1100 committer Paul Mackerras Sun, 15 Jan 2006 17:33:52 +1100 powerpc: Make ARCH=powerpc the default for 32-bit ppc This makes ARCH=powerpc the default on 32-bit powerpc machines, where uname -m returns ppc, as well as on 64-bit powerpc machines. Most people who would be likely to build their own kernels on 32-bit powerpc machines would be using powermacs or CHRP machines, both of which are supported with ARCH=powerpc now. Embedded ppc developers whose ports haven't been moved over to arch/powerpc yet will have to explicitly set ARCH=ppc now. Signed-off-by: Paul Mackerras commit a7fdd90bc43e3e9cb08bc1b13650024d419b89e5 tree 5c99a41b9d157186668ed63c001f72a09965143b parent e8625d463560198cff7cb3eb22886c47d728d501 author Paul Mackerras Sun, 15 Jan 2006 17:30:44 +1100 committer Paul Mackerras Sun, 15 Jan 2006 17:30:44 +1100 [PATCH] ppc: Remove powermac support from ARCH=ppc This makes it possible to build kernels for PReP and/or CHRP with ARCH=ppc by removing the (non-building) powermac support. It's now also possible to select PReP and CHRP independently. Powermac users should now build with ARCH=powerpc instead of ARCH=ppc. (This does mean that it is no longer possible to build a 32-bit kernel for a G5.) Signed-off-by: Paul Mackerras commit caf5b04c82f05c65843b2d7189845d6c3df5a41e tree 57543bd382f065b1e9c368669a2f723e0721383f parent 650eec5e04468d0611a60e6098464b7c43981552 author Linus Torvalds Sat, 14 Jan 2006 22:08:28 -0800 committer Linus Torvalds Sat, 14 Jan 2006 22:08:28 -0800 x86: Work around compiler code generation bug with -Os Some versions of gcc generate incorrect code for the inet_check_attr() function, apparently due to a totally bogus index -> pointer comparison transformation. At least "gcc version 4.0.1 20050727 (Red Hat 4.0.1-5)" from FC4 is affected, possibly others too. This changes the function subtly so that the buggy gcc transformation doesn't trigger. Signed-off-by: Linus Torvalds commit e8625d463560198cff7cb3eb22886c47d728d501 tree 091fe29965fd745d9614efff76bf1e7322a11e44 parent 4683b54c1dae749a0fb8d8ec46d84dd4fefe41d3 author Haren Myneni Sat, 14 Jan 2006 13:48:25 -0800 committer Paul Mackerras Sun, 15 Jan 2006 16:50:04 +1100 [PATCH] powerpc: Kconfig changes for CRASH_DUMP Noticed in 2.6.15-git9 that CRASH_DUMP option is moved to top level. Moved CRASH_DUMP into "kernel options" next to KEXEC and this config option supports only for PPC64 at this time. Signed-off-by: Haren Myneni Signed-off-by: Paul Mackerras commit 4683b54c1dae749a0fb8d8ec46d84dd4fefe41d3 tree e4d6fcfe04b1bcebe5828c9fd348957bef819fad parent 4c882b019160ebd7e954ba787f6353ed69281fd7 author Benjamin Herrenschmidt Sat, 14 Jan 2006 16:46:47 +1100 committer Paul Mackerras Sun, 15 Jan 2006 16:50:01 +1100 [PATCH] powerpc: Update pmac32_defconfig Signed-off-by: Paul Mackerras commit 650eec5e04468d0611a60e6098464b7c43981552 tree dedaf6f64ced34391a085f8c1148c1cf9f593ea6 parent 150a631fc55e33df28a6846371e7f86e9e75e8cb parent 7493a314cb83797ce612a577475aacaedc553fed author Linus Torvalds Sat, 14 Jan 2006 19:44:39 -0800 committer Linus Torvalds Sat, 14 Jan 2006 19:44:39 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit 150a631fc55e33df28a6846371e7f86e9e75e8cb tree 59b1cfdf3b497989e98832db0374c4193d3b9d48 parent 8d5c315059460e665c804d5a9b641f7f0a1e9dd7 parent 51828abc17a4ae0f7fb3879e00a30da7bdc7ca20 author Linus Torvalds Sat, 14 Jan 2006 19:44:01 -0800 committer Linus Torvalds Sat, 14 Jan 2006 19:44:01 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-mmc commit 8d5c315059460e665c804d5a9b641f7f0a1e9dd7 tree b9c598b2ac7a4fd7cf121ce733b98b0f18b8a1df parent a9df3d0f312f4b1aefec76ae5ee86cccbf7cd4e0 parent 3f471126ee53feb5e9b210ea2f525ed3bb9b7a7f author Linus Torvalds Sat, 14 Jan 2006 19:43:21 -0800 committer Linus Torvalds Sat, 14 Jan 2006 19:43:21 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit a9df3d0f312f4b1aefec76ae5ee86cccbf7cd4e0 tree fa0c3084c1c382c4187854286b2b217a99af039a parent ac893963030ad70e528dc23270d499d650546a38 author Ingo Molnar Sat, 14 Jan 2006 13:21:33 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:16 -0800 [PATCH] When CONFIG_CC_OPTIMIZE_FOR_SIZE, allow gcc4 to control inlining If optimizing for size (CONFIG_CC_OPTIMIZE_FOR_SIZE), allow gcc4 compilers to decide what to inline and what not - instead of the kernel forcing gcc to inline all the time. This requires several places that require to be inlined to be marked as such, previous patches in this series do that. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac893963030ad70e528dc23270d499d650546a38 tree 11ca9e97eb4c7fef47076a40723341e491bba11e parent f16623569e2ec055b489462315f5296f153d119b author Peter Osterlund Sat, 14 Jan 2006 13:21:32 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:16 -0800 [PATCH] pktcdvd: un-inline some functions Un-inline two functions in the pktcdvd driver. This makes the compiled code 172 bytes smaller on my system. Signed-off-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f16623569e2ec055b489462315f5296f153d119b tree daef533c4ba906c0618795c0f4b8584db33268ef parent 652050aec936fdd70ed9cbce1cd1ef30a7c9d117 author Arjan van de Ven Sat, 14 Jan 2006 13:21:31 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:15 -0800 [PATCH] Mark some key VFS functions as __always_inline Mark a few VFS functions as mandatory inline (based on Al Viro's request); these must be inline due to stack usage issues during a recursive loop that happens during the recursive symlink resolution (symlink to a symlink to a symlink ..) This patch at this point does not change behavior and is for documentation purposes only (but this changes later in the series) Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 652050aec936fdd70ed9cbce1cd1ef30a7c9d117 tree a2859991fd1c71d918c85c5a8b4bc63bb2c64808 parent 9ab34fe76114b9538bfcaf3a9d112dee0feb5f17 author Ingo Molnar Sat, 14 Jan 2006 13:21:30 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:15 -0800 [PATCH] mark several functions __always_inline Arjan van de Ven Mark a number of functions as 'must inline'. The functions affected by this patch need to be inlined because they use knowledge that their arguments are constant so that most of the function optimizes away. At this point this patch does not change behavior, it's for documentation only (and for future patches in the inline series) Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ab34fe76114b9538bfcaf3a9d112dee0feb5f17 tree 3bd494625e6bef27f876d37f39fe537d554af571 parent 40fc55cb69c0386504ab5184e9bea0a7aecb2bd3 author Ingo Molnar Sat, 14 Jan 2006 13:21:29 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:15 -0800 [PATCH] enable unit-at-a-time optimisations for gcc4 Allow gcc4 compilers to optimize unit-at-a-time. This flag enables gcc to "see" the entire C file before making optimisation decisions such as inline, which results in gcc making better decisions. One of the immediate effects of this is that static functions that are used only once now get inlined. gcc 3.4 has this flag as well, however gcc 3.x have a problem with inlining and stacks and as a result, enabling this flag there would cause excessive and unacceptable stack use. This problem is fixed in the gcc 4.x series. The x86-64 architecture already enables this feature so it's well tested already. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven Acked-by: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 40fc55cb69c0386504ab5184e9bea0a7aecb2bd3 tree a4dd4933013448896d49b0d1cedcc1c43b23fe25 parent 9eb8ef7479b6df59645af5d89d293727b521975e author Ingo Molnar Sat, 14 Jan 2006 13:21:28 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:15 -0800 [PATCH] Make __always_inline actually force always inlining This patch is the first in a series that tries to optimize the kernel in terms of size (and thus cache behavior, both cpu and pagecache). This first patch changes __always_inline to be a forced inline instead of the "regular" inline it was on everything except alpha. This forced inline matches the intention of the define better as a matter of documentation. There is no change in behavior by this patch, since "inline" currently is mapped to a forced inline anyway. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9eb8ef7479b6df59645af5d89d293727b521975e tree b48e2d56f89b9c750d05010e4f3c03b559355710 parent 216d526c89d144928f095f2800bc6c67e968d628 author Antonino A. Daplas Sat, 14 Jan 2006 13:21:26 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:15 -0800 [PATCH] fbdev: Update maintainers list Update maintainers list. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 216d526c89d144928f095f2800bc6c67e968d628 tree 2363b4c9ab1e4f7acea503427fa6a21e5fa3dbe8 parent 67a6680d64e18c7a1901f31ef747ea53b6cd986d author Christoph Hellwig Sat, 14 Jan 2006 13:21:25 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:15 -0800 [PATCH] fbdev: Sanitize ->fb_mmap prototype No need for a file argument. If we'd really need it it's in vma->vm_file already. gbefb and sgivwfb used to set vma->vm_file to the file argument, but the kernel alrady did that. Signed-off-by: Christoph Hellwig Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 67a6680d64e18c7a1901f31ef747ea53b6cd986d tree 1d428eb19fdd393290348c63911c2974016ebc9d parent a80da7389891d0eeacbd568a9b54f665fd424d14 author Christoph Hellwig Sat, 14 Jan 2006 13:21:25 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:14 -0800 [PATCH] fbdev: Sanitize ->fb_ioctl prototype The ioctl and file arguments to ->fb_mmap are totally unused and there's not reason a driver should need them. Also update the ->fb_compat_ioctl prototype to be the same as ->fb_mmap. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a80da7389891d0eeacbd568a9b54f665fd424d14 tree 1f0629804d83692546c9db0223236331cb70a44e parent 4836f5749e55663f884ea25920ff88de7822f0a8 author David Vrabel Sat, 14 Jan 2006 13:21:23 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:14 -0800 [PATCH] gx1fb: (try to) play nicer with various BIOSes Seems that the CS5530A chip used in Geode GX1 systems has some crazy feature that causes SMI traps when accessing the PCI configuration space of the video device. Various GX1 BIOSes seem to use this 'feature' to hide the real BARs of the device. This patch disables these traps (in an early PCI fixup) so that Linux sees the real, physical BARs and not the virtual ones provided by the BIOS. This should allow the GX1 framebuffer driver to work on more systems that have different BIOSes as the driver no longer guesses at what the virtual BARs mean. I'm not entirely sure it the correct solution as I can neither test regular VGA console nor the X's 'cyrix' video driver so there might be some breakage there -- probably best to get some more testers before applying it. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4836f5749e55663f884ea25920ff88de7822f0a8 tree 6d25b5da25bc64b92ec73e9cac00fe44bfeef08c parent 16ab3adf562fb723d9085c998637f214b10072c5 author Christian Trefzer Sat, 14 Jan 2006 13:21:21 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:14 -0800 [PATCH] neofb: take existing display configuration as default On a Dell Latitude CPi-A I noticed a strangeness wrt. the handling of an external monitor by the neomagic framebuffer driver, namely when the laptop is docked in a C/Dock II with the lid shut. A cold boot would result in the BIOS configuring the video chip to use the "external monitor only" mode, yet neofb would default to "internal LCD only". An attempt for a quick fix by using the Fn-F8 keystroke to toggle the display combination modes resulted in a reproductible hard lock, powering down being the only solution. The attached patch makes neofb probe the register for the current display mode, using that value as a default if nothing was specified as kernel/module parameter. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 16ab3adf562fb723d9085c998637f214b10072c5 tree e49bb415ddf8be2b6aff29cb9bbbe93a77f26dbe parent a6b25b675db9f9f1af640b928f5476e8454b391c author Randy Dunlap Sat, 14 Jan 2006 13:21:20 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:14 -0800 [PATCH] Update kernel-parameters.txt IOSCHED to spell out 'anticipatory' Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6b25b675db9f9f1af640b928f5476e8454b391c tree 6b2aa2a6cacc6001f253ac23edb632f52e276a7c parent 9c878967d32a10cb604718f7608efa0ea3d8b596 author Randy Dunlap Sat, 14 Jan 2006 13:21:19 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:14 -0800 [PATCH] nlm kernel-parameters update Add 2 lockd kernel parameters and spell 2 others correctly. Signed-off-by: Randy Dunlap Cc: Neil Brown Cc: Olaf Kirch Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9c878967d32a10cb604718f7608efa0ea3d8b596 tree 08fc64f4390b6d0f9cad984193e54eca99cd2b00 parent a07f0dbec01fda6d88f5089e21454b8df53d36fc author Deepak Saxena Sat, 14 Jan 2006 13:21:18 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:13 -0800 [PATCH] cs89x0: add ixdp2351 support This patch adds support for the Intel IXDP2351 to the CS89x0 driver. Signed-off-by: Deepak Saxena Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a07f0dbec01fda6d88f5089e21454b8df53d36fc tree f15c12ffd1aeaa0f7aa7530ad9dc6fd76810f9f0 parent 580d7b8cc59d68a3d26bfcc64c2053b464782c9a author Lennert Buytenhek Sat, 14 Jan 2006 13:21:17 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:13 -0800 [PATCH] cs89x0: use u16 for device register data cs89x0 inconsistently used 'int' and 'u32' for device register data. As the cs89x0 is a 16-bit chip, change the I/O accessors over to 'u16'. (Spotted by Deepak Saxena.) Signed-off-by: Lennert Buytenhek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 580d7b8cc59d68a3d26bfcc64c2053b464782c9a tree e7192be6a97210d618f812f24e2dfa471963ae67 parent 032874e49271f8c9c53c137cb60cf12617a953a0 author Lennert Buytenhek Sat, 14 Jan 2006 13:21:16 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:13 -0800 [PATCH] cs89x0: use #elif instead of #else/#if/#endif Signed-off-by: Lennert Buytenhek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 032874e49271f8c9c53c137cb60cf12617a953a0 tree a79f9e05c58099c354d3a5783e94f526f6f5259e parent 2c5608404e66047bbcd9b7788e7f3ee2555c8639 author Lennert Buytenhek Sat, 14 Jan 2006 13:21:15 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:13 -0800 [PATCH] cs89x0: credit Dmitry Pervushin Credit Dmitry Pervushin for the PNX010X platform support. Signed-off-by: Lennert Buytenhek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2c5608404e66047bbcd9b7788e7f3ee2555c8639 tree d6d38c404010a872795c919c59115fa6d278a54c parent d063389ecf20e5c20be91a0007656deb9fc38a1c author Abhay Salunke Sat, 14 Jan 2006 13:21:14 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:13 -0800 [PATCH] dell_rbu: fix Bug 5854 This fixes http://bugzilla.kernel.org/show_bug.cgi?id=5854 Root cause: The dell_rbu driver creates entries in /sys/class/firmware/dell_rbu/ by calling request_firmware_nowait (without hotplug ) this function inturn starts a kernel thread which creates the entries in /sys/class/firmware/dell_rbu/loading , data and the thread waits on the user action to return control back to the callback fucntion of dell_rbu. The thread calls wait_on_completion which puts it in a D state until the user action happens. If there is no user action happening the load average goes up as the thread D state is taken in to account. Also after downloading the BIOS image the enrties go away momentarily but they are recreated from the callback function in dell_rbu. This causes the thread to get recreated causing the load average to permenently stay around 1. Fix: The dell_rbu also creates the entry /sys/devices/platform/dell_rbu/image_type at driver load time. The image type by default is mono if required the user can echo packet to image_type to make the BIOS update mechanism using packets. Also by echoing init in to image_type the /sys/class/firmware/dell_rbu entries can be created. The driver code was changed to not create /sys/class/firmware/dell_rbu entries during load time, and also to not create the above entries from the callback function. The entries are only created by echoing init to /sys/devices/platform/dell_rbu/image_type The user now needs to create the entries to download the image monolithic or packet. This fixes the issue since the kernel thread only is created when ever the user is ready to download the BIOS image; this minimizes the life span of the kernel thread and the load average goes back to normal. Signed off by Abhay Salunke Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d063389ecf20e5c20be91a0007656deb9fc38a1c tree 0a5ccb8f50522d62765225f227cdf135438806b9 parent 44db77f33cc42c49f55ddb360f5e9a05581ffdc0 author Pekka Enberg Sat, 14 Jan 2006 13:21:13 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:13 -0800 [PATCH] smbfs: remove kmalloc wrapper Remove the remaining kmalloc() wrapper bits from fs/smbfs/. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44db77f33cc42c49f55ddb360f5e9a05581ffdc0 tree dff20b34e2c022ea7527ee7223b6d2268f384a6d parent 69c99ac17e2ee0eb45e2c9873e6e12d73260fc6b author Pekka Enberg Sat, 14 Jan 2006 13:21:12 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:12 -0800 [PATCH] ncpfs: remove kmalloc wrapper Remove remaining kmalloc wrapper bits from fs/ncpfs/. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69c99ac17e2ee0eb45e2c9873e6e12d73260fc6b tree 9ea1f247f27f391e0867ed4e2e2c01bc2488b54a parent 3135806358e8d3d8ac61a13f58f148d0a98a7b9b author Coywolf Qi Hunt Sat, 14 Jan 2006 13:21:11 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:12 -0800 [PATCH] abandon gcc 295x main.c tidy After abandon-gcc-295x.patch, this relocates the error-out-early comment. Signed-off-by: Coywolf Qi Hunt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3135806358e8d3d8ac61a13f58f148d0a98a7b9b tree 42723acbd28e943267cc303a45380671a925c29a parent d9975d6ba0668aa21d9f0c565d7df56c805c8d5c author Valdis.Kletnieks@vt.edu Sat, 14 Jan 2006 13:21:10 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:12 -0800 [PATCH] quota: make useless quota error message informative fs/quota_v2.c can, under some conditions, issue a kernel message that says, in totality, 'failed read'. This patch does the following: 1) Gives a hint who issued the error message, so people reading the logs don't have to go grepping the entire kernel tree (with 11 false positives). 2) Say what amount of data we expected, and actually got. Signed-off-by: Valdis Kletnieks Cc: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d9975d6ba0668aa21d9f0c565d7df56c805c8d5c tree c761868423e57d5d083f80830b9eb6d79b28bac3 parent 2ff6b1c2575f13885c1d5291e4283682ad9a41cd author Pekka Enberg Sat, 14 Jan 2006 13:21:09 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:12 -0800 [PATCH] reiserfs: remove d_splice_alias NULL check from reiserfs_lookup Remove redundant NULL check in reiserfs_lookup() as d_splice_alias() can take NULL inode as input. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ff6b1c2575f13885c1d5291e4283682ad9a41cd tree d31fd027ec45f63ccf5669b8e58ce3a23887c19a parent ba7fe369875075c3b0def9887afb7a44fa88175e author Pekka Enberg Sat, 14 Jan 2006 13:21:09 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:12 -0800 [PATCH] isofs: remove d_splice_alias NULL check from isofs_lookup Remove redundant NULL check in isofs_lookup() as d_splice_alias() can take NULL inode as input. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ba7fe369875075c3b0def9887afb7a44fa88175e tree 2b1052b698a66b67e981fbdea526c4b09df65ede parent 082a05c6f02e00982dd42ddae434fbc806a822e5 author Pekka Enberg Sat, 14 Jan 2006 13:21:08 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:10 -0800 [PATCH] ext3: remove d_splice_alias NULL check from ext3_lookup Remove redundant NULL check in ext3_lookup() as d_splice_alias() can take NULL inode as input. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 082a05c6f02e00982dd42ddae434fbc806a822e5 tree a26e7df9e311c2dce2fb739502656baeeb683d62 parent 505970b96e3b7d22177c38e03435a68376628e7a author Pekka Enberg Sat, 14 Jan 2006 13:21:07 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:10 -0800 [PATCH] ext2: remove d_splice_alias NULL check from ext2_lookup Remove redundant NULL check in ext2_lookup() as d_splice_alias() can take NULL inode as input. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 505970b96e3b7d22177c38e03435a68376628e7a tree 5508317e391961355bf3d946a6aac05bb21569eb parent ed68cb3676bb179768529aeb808403d57295af56 author Paul Jackson Sat, 14 Jan 2006 13:21:06 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:10 -0800 [PATCH] cpuset oom lock fix The problem, reported in: http://bugzilla.kernel.org/show_bug.cgi?id=5859 and by various other email messages and lkml posts is that the cpuset hook in the oom (out of memory) code can try to take a cpuset semaphore while holding the tasklist_lock (a spinlock). One must not sleep while holding a spinlock. The fix seems easy enough - move the cpuset semaphore region outside the tasklist_lock region. This required a few lines of mechanism to implement. The oom code where the locking needs to be changed does not have access to the cpuset locks, which are internal to kernel/cpuset.c only. So I provided a couple more cpuset interface routines, available to the rest of the kernel, which simple take and drop the lock needed here (cpusets callback_sem). Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed68cb3676bb179768529aeb808403d57295af56 tree 1f9578bb86deb23f4102feff7cf59d880a0103b7 parent 4ce3b30cf32c5c078518f0f3e6623bcb6eee9872 author Heiko Carstens Sat, 14 Jan 2006 13:21:05 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:10 -0800 [PATCH] s390: fix blk_queue_ordered call in dasd.c fixup The QUEUE_ORDERED_* numbers got renumbered and by accident the dasd driver was changed to use QUEUE_ORDERED_DRAIN instead of QUEUE_ORDERED_TAG. Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ce3b30cf32c5c078518f0f3e6623bcb6eee9872 tree bb797a7b39154cb2dac8332f75de0008de10078d parent 871931c1eef1727d42ff3ecf993b1978cf1e209f author Cornelia Huck Sat, 14 Jan 2006 13:21:04 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:10 -0800 [PATCH] s390: email-address change Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 871931c1eef1727d42ff3ecf993b1978cf1e209f tree 7d32ef81f40a363a6708d9fb0277e611ed20d08e parent 1f1c12afe5c3e0ef901eec12dee09df4947462ee author Cornelia Huck Sat, 14 Jan 2006 13:21:03 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:09 -0800 [PATCH] s390: chps[] array too short The chps[] array in struct channel_subsystem is one too short; therefore the code doesn't realize the chpid ff is already known. When several devices on chpid ff become available, the message "new_channel_path: could not register ff" is displayed for every device but the first one. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1f1c12afe5c3e0ef901eec12dee09df4947462ee tree 157f01441ef5ddc0810d0bfebca4667c21254529 parent bcc132651d384ad115a275868effb49c64b348ce author Martin Schwidefsky Sat, 14 Jan 2006 13:21:03 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:09 -0800 [PATCH] s390: cputime misaccounting finish_arch_switch needs to update the user cpu time as well, not just the system cpu time. Otherwise the partial user cpu time of a process that is stored in the lowcore will be (mis-)accounted to the next process. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bcc132651d384ad115a275868effb49c64b348ce tree 86613d17c58bc65c9d7fb86b6b2b5965ec807a01 parent 53df751ccd0a404cca169dbd61bae571cc21559a author Martin Schwidefsky Sat, 14 Jan 2006 13:21:02 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:09 -0800 [PATCH] s390: fix blk_queue_ordered call in dasdc Add the missing third argument to the blk_queue_ordered call and use the constant QUEUE_ORDERED_DRAIN instead of "1". Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53df751ccd0a404cca169dbd61bae571cc21559a tree 1dcd6089afe739a4d287613eb5131811dd14a44b parent 0152fb37603e3a776768794030b809ae77027aa4 author Martin Schwidefsky Sat, 14 Jan 2006 13:21:01 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:09 -0800 [PATCH] s390: add dummy pm_power_off Define a dummy pm_power_off pointer to make sys_reboot happy. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0152fb37603e3a776768794030b809ae77027aa4 tree dc1df7a4e474e6e8c4b6987a22e09c727bb97433 parent 68c119177890afff4759abda8da2b4ff5e06efa1 author Martin Schwidefsky Sat, 14 Jan 2006 13:21:00 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:09 -0800 [PATCH] s390: spinlock fixes Remove useless spin_retry_counter and fix compilation for UP kernels. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 68c119177890afff4759abda8da2b4ff5e06efa1 tree d20210665857168da2cc6ea1f3832458a34f77ab parent 6410dd5e07b63606605794eeb7ec29e61fbda3db author Alexey Dobriyan Sat, 14 Jan 2006 13:20:58 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:09 -0800 [PATCH] s390: fix cpcmd calls on UP Add missing fourth argument to cpcmd calls under !CONFIG_SMP. Signed-off-by: Alexey Dobriyan Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6410dd5e07b63606605794eeb7ec29e61fbda3db tree b4d8a0a88060af079e6c2342cac2d6465f1d37e0 parent eb33c190c2b633f0dfc98481ecf12f62a02c705e author Martin Schwidefsky Sat, 14 Jan 2006 13:20:58 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:08 -0800 [PATCH] s390: sigcontext.h vs __user Add an include of linux/compiler.h in sigcontext.h to avoid compiler errors in user space apps because of a missing definition for __user. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb33c190c2b633f0dfc98481ecf12f62a02c705e tree cb7ec1168d0c9d333adc0d33012c0aefd808e58e parent 7ffbc9da137ef475afd5e01f72e1ce1ce49668b1 author Heiko Carstens Sat, 14 Jan 2006 13:20:57 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:08 -0800 [PATCH] s390: show_task oops The show_task function walks the kernel stack backchain of processes assuming that the processes are not running. Since this assumption is not correct walking the backchain can lead to an addressing exception and therefore to a kernel hang. So prevent the kernel hang (you still get incorrect results) verity that all read accesses are within the bounds of the kernel stack before performing them. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7ffbc9da137ef475afd5e01f72e1ce1ce49668b1 tree ce30c284745e148e4159190ae84b700d556bd67b parent fda5e142598341d30006e3715e53b2c983a9fca7 author Jan Glauber Sat, 14 Jan 2006 13:20:56 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:08 -0800 [PATCH] s390: sha256 crypto code fix Fix processing of messages larger than 2 * SHA256_BLOCK_SIZE. Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fda5e142598341d30006e3715e53b2c983a9fca7 tree 5db77e1175acc1529d62a54b0dc7d8d4b1f7f34f parent b8dc6038ff894d0eb0b5d61c9fafdf323ec10251 author Jan Glauber Sat, 14 Jan 2006 13:20:55 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:08 -0800 [PATCH] s390: aes crypto code fixes Call KM[C] only with a multiple of block size. Check return value of KM[C] instructions and complain about erros Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b8dc6038ff894d0eb0b5d61c9fafdf323ec10251 tree a703e90f2f73aacc1d8742f5f99451b93fc763d7 parent c1357833bf5d92b1bda41215ae88a6597664251b author Jan Glauber Sat, 14 Jan 2006 13:20:53 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:08 -0800 [PATCH] s390: des crypto code speedup Provide ECB and CBC encrypt / decrypt functions to crypto API to speed up our hardware accelerated DES implementation. This new functions allow the crypto API to call ECB / CBC directly with large blocks in difference to the old functions that were calles with algorithm block size (8 bytes for DES). This is up to factor 10 faster than our old hardware implementation :) Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c1357833bf5d92b1bda41215ae88a6597664251b tree 986dafb9463c0f5764cd511defbd2650a66c3f68 parent 7aa89746e89fca8fc722485aaf4454f2b636cf4d author Jan Glauber Sat, 14 Jan 2006 13:20:53 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:08 -0800 [PATCH] s390: des crypto code cleanup Beautify the s390 in-kernel-crypto des code. Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7aa89746e89fca8fc722485aaf4454f2b636cf4d tree f5a08d6537f9c8aedd25ed9d52241fababe78110 parent ce63ad78b55daf708d5d4ced9b832a4354ad2a4c author Chuck Ebbert <76306.1226@compuserve.com> Sat, 14 Jan 2006 13:20:52 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:07 -0800 [PATCH] i386: fix stack dump loglevel Recent changes caused part of stack traces from SysRq-T to print at KERN_EMERG loglevel. Also, parts of stack dump during oops were failing to print at that level when they should. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ce63ad78b55daf708d5d4ced9b832a4354ad2a4c tree 2652030c947315845c4532335ad578490f7e9a65 parent fabbfb9e8c53416eaa4f62b957430211376c9c82 author Randy Dunlap Sat, 14 Jan 2006 13:20:51 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:07 -0800 [PATCH] i386: put HOTPLUG_CPU under Processor type, not Bus options Move the HOTPLUG_CPU option under "Processor type" instead of under "Bus options". This makes it the same for i386 as most other processor types (arm, ia64, parisc, ppc, s390, & x86_64; but not for powerpc). Besides, it takes me too long to find it under Bus options. I can't be the only person who has trouble finding it. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fabbfb9e8c53416eaa4f62b957430211376c9c82 tree a17bd86d02975f724471dbc8ed23f4b38005b739 parent 7339ff8302fd70aabf5f1ae26e0c4905fa74a495 author Kumar Gala Sat, 14 Jan 2006 13:20:50 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:07 -0800 [PATCH] powerpc: Add support for the MPC83xx watchdog Add support for the PowerPC MPC83xx watchdog. The MPC83xx has a simple watchdog that once enabled it can not be stopped, has some simple timeout range selection, and the ability to either reset the processor or take a machine check. Signed-off-by: Dave Updegraff Signed-off-by: Kumar Gala Cc: Wim Van Sebroeck Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7339ff8302fd70aabf5f1ae26e0c4905fa74a495 tree 38ee561d51b7e4db7c0d6dd9ebd9fc22c2b6ab88 parent 852cf918dcf2ae46468b425e679fbcbf0ea8fdbb author Robin Holt Sat, 14 Jan 2006 13:20:48 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:07 -0800 [PATCH] Add tmpfs options for memory placement policies Anything that writes into a tmpfs filesystem is liable to disproportionately decrease the available memory on a particular node. Since there's no telling what sort of application (e.g. dd/cp/cat) might be dropping large files there, this lets the admin choose the appropriate default behavior for their site's situation. Introduce a tmpfs mount option which allows specifying a memory policy and a second option to specify the nodelist for that policy. With the default policy, tmpfs will behave as it does today. This patch adds support for preferred, bind, and interleave policies. The default policy will cause pages to be added to tmpfs files on the node which is doing the writing. Some jobs expect a single process to create and manage the tmpfs files. This results in a node which has a significantly reduced number of free pages. With this patch, the administrator can specify the policy and nodes for that policy where they would prefer allocations. This patch was originally written by Brent Casavant and Hugh Dickins. I added support for the bind and preferred policies and the mpol_nodelist mount option. Signed-off-by: Brent Casavant Signed-off-by: Hugh Dickins Signed-off-by: Robin Holt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 852cf918dcf2ae46468b425e679fbcbf0ea8fdbb tree 7605fd255442fc6301c9e96b8aa7a01bc2dcc0e2 parent eed6565f70ce3fc958e5a3483c48fc4a8e111bdc author Christoph Lameter Sat, 14 Jan 2006 13:20:46 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:07 -0800 [PATCH] Fix for CONFIG_NUMA without CONFIG_SWAP Some people apparently run CONFIG_NUMA without CONFIG_SWAP. The migration code currently depends on swap. This patch provides a set of inline fallback functions so that the kernel properly compiles. However, calls to migration functions will fail. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eed6565f70ce3fc958e5a3483c48fc4a8e111bdc tree 43f3bb533401eff6197f8a0beebf690fc0b4feac parent ee7be5de357b8ff69afc8c39648b336cd917218a author Calin A. Culianu Sat, 14 Jan 2006 13:20:46 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:07 -0800 [PATCH] Watchdog: Winsystems EPX-C3 SBC This is a 2.6 patch that adds support for the watchdog timer built into the EPX-C3 single board computer manufactured by Winsystems, Inc. Driver details: This is for x86 only. This watchdog is pretty basic and simple. It is only configurable via jumpers on the SBC, and it only has either a 1.5s or 200s interval. The watchdog can either be auto-configured to start as soon as the machine powers up (bad idea for the 1.5s interval!) or it can be enabled and disabled by writing to io port 0x1ee. Petting the watchdog involves writing any value to io port 0x1ef. The only unfortunate thing about this watchdog (and it is not at all uncommmon in watchdogs that linux supports) is that it is not a PCI or ISA-PNP device and as such it isn't at all probeable. Either the watchdog exists as 2 bytes at 0x1ee, or it doesn't. Thus, using this driver on a machine that doesn't have that watchdog can potentially hang/crash the system, etc. So only use this driver if you in fact are on a Winsystems EPX-C3 SBC. Anyway this driver fits into the already-existing watchdog framework quite nicely and I already tested it on my EPX-C3 and it works like a charm. Signed-off-by: Calin A. Culianu Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ee7be5de357b8ff69afc8c39648b336cd917218a tree 77127835d1a1896fc182cc737b7b5e9474b3ee63 parent 858119e159384308a5dde67776691a2ebf70df0f author Miklos Szeredi Sat, 14 Jan 2006 13:20:44 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:06 -0800 [PATCH] uml: fix symbol for mktime LD .tmp_vmlinux1 /usr/lib/gcc-lib/i486-linux/3.3.4/../../../libc.a(mktime.o): In function `timelocal': : multiple definition of `mktime' kernel/built-in.o:kernel/time.c:604: first defined here /usr/bin/ld: Warning: size of symbol `mktime' changed from 134 in kernel/built-in.o to 44 in /usr/lib/gcc-lib/i486-linux/3.3.4/../../../libc.a(mktime.o) collect2: ld returned 1 exit status Signed-off-by: Miklos Szeredi Cc: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 858119e159384308a5dde67776691a2ebf70df0f tree f360768f999d51edc0863917ce0bf79e88c0ec4c parent b0a9499c3dd50d333e2aedb7e894873c58da3785 author Arjan van de Ven Sat, 14 Jan 2006 13:20:43 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:27:06 -0800 [PATCH] Unlinline a bunch of other functions Remove the "inline" keyword from a bunch of big functions in the kernel with the goal of shrinking it by 30kb to 40kb Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Acked-by: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b0a9499c3dd50d333e2aedb7e894873c58da3785 tree 1b9610020884091984ce8290c70bebdc3e7bb09b parent 2d0cfb527944c2cfee2cffab14f52d483e329fcf author Ingo Molnar Sat, 14 Jan 2006 13:20:41 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:25:20 -0800 [PATCH] sched: add new SCHED_BATCH policy Add a new SCHED_BATCH (3) scheduling policy: such tasks are presumed CPU-intensive, and will acquire a constant +5 priority level penalty. Such policy is nice for workloads that are non-interactive, but which do not want to give up their nice levels. The policy is also useful for workloads that want a deterministic scheduling policy without interactivity causing extra preemptions (between that workload's tasks). Signed-off-by: Ingo Molnar Cc: Michael Kerrisk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d0cfb527944c2cfee2cffab14f52d483e329fcf tree b2e3340b52d83b51674f3782a208850d53d3d24d parent 7170be5f586b59bdcdab082778a5d9203ba7b667 author Patrick Gefre Sat, 14 Jan 2006 13:20:40 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:25:20 -0800 [PATCH] Altix: ioc3 serial support Add driver support for a 2 port PCI IOC3-based serial card on Altix boxes: This is a re-submission. On the original submission I was asked to organize the code so that the MIPS ioc3 ethernet and serial parts could be used with this driver. Stanislaw Skowronek was kind enough to provide the shim layer for this - thanks Stanislaw. This patch includes the shim layer and the Altix PCI ioc3 serial driver. The MIPS merged ioc3 ethernet and serial support is forthcoming. Signed-off-by: Patrick Gefre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7170be5f586b59bdcdab082778a5d9203ba7b667 tree 00d34a062c5bbab83315232078296567037bd3f4 parent faf3a98918aa5f14a29e0d246e194be58b9357f0 author Neil Horman Sat, 14 Jan 2006 13:20:38 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:25:19 -0800 [PATCH] convert /proc/devices to use seq_file interface A Christoph suggested that the /proc/devices file be converted to use the seq_file interface. This patch does that. I've obxerved one or two installation that had sufficiently large sans that they overran the 4k limit on /proc/devices. Signed-off-by: Neil Horman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit faf3a98918aa5f14a29e0d246e194be58b9357f0 tree 019fc8c909704e6f242de3f84f968db3cdcf8401 parent 7c7dce9209161eb260cdf9e9172f72c3a02379e6 author Ian Kent Sat, 14 Jan 2006 13:20:37 -0800 committer Linus Torvalds Sat, 14 Jan 2006 18:25:19 -0800 [PATCH] autofs4 oops fix We forgot to initialise a couple of nameidata fields. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c882b019160ebd7e954ba787f6353ed69281fd7 tree 170a0b5cf15992bd4ab3f7da7209ae12f0fac9a0 parent 8385a6a3acfbb4b68150c25cfe9084b6c4f501cf author Benjamin Herrenschmidt Sat, 14 Jan 2006 16:35:35 +1100 committer Paul Mackerras Sun, 15 Jan 2006 13:14:47 +1100 [PATCH] powerpc: Fix Maple build The changes to the device node structure broke Maple build. This fixes it. Unfortunately I coudn't test as my Maple board appears to be dead. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 8385a6a3acfbb4b68150c25cfe9084b6c4f501cf tree 9985155527550b8025603515e4ba96d5c24e6072 parent 9216ad8cb7849d88b6d8e9f097718de4f25d4121 author Haren Myneni Fri, 13 Jan 2006 19:15:36 -0800 committer Paul Mackerras Sun, 15 Jan 2006 13:14:42 +1100 [PATCH] powerpc: Fix kdump copy regs and dynamic allocate per-cpu crash notes - This contains the arch specific changes for the following the kdump generic fixes which were already accepted in the upstream. . Capturing CPU registers (for the case of 'panic' and invoking the dump using 'sysrq-trigger') from a function (stack frame) which will be not be available during the kdump boot. Hence, might result in invalid stack trace. . Dynamically allocating per cpu ELF notes section instead of statically for NR_CPUS. - Fix the compiler warning in prom_init.c. Signed-off-by: Haren Myneni Signed-off-by: Paul Mackerras commit 9216ad8cb7849d88b6d8e9f097718de4f25d4121 tree a147d159f8f02c41280318d4da1facac4985c752 parent 7c7dce9209161eb260cdf9e9172f72c3a02379e6 author Paul Mackerras Sun, 15 Jan 2006 13:00:08 +1100 committer Paul Mackerras Sun, 15 Jan 2006 13:00:08 +1100 powerpc/32: Generate miboot images with ARCH=powerpc Miboot images are apparently still used on some old 32-bit powermacs, so build them with ARCH=powerpc if we're 32-bit and powermac support is enabled. Signed-off-by: Paul Mackerras commit fb453d4b0b51ea71c9eb8192c61b768afeb7ee8a tree c341cb829be6c4fcf4cc662bfc8926d82e21ba44 parent 624dffcbcf87b9c501b13256416a82487be962bc author Jesper Juhl Sun, 15 Jan 2006 02:46:48 +0100 committer Adrian Bunk Sun, 15 Jan 2006 02:46:48 +0100 MAINTAINERS: CIFS: add linux-cifs-client@lists.samba.org list Add linux-cifs-client@lists.samba.org to CIFS entry in MAINTAINERS Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk commit 624dffcbcf87b9c501b13256416a82487be962bc tree aa190c9532c7c6549f677f6a07f8cdf51b181815 parent 92c3504e6ee0816d4ea1345a6bd276969224890d author Christian Kujau Sun, 15 Jan 2006 02:43:54 +0100 committer Adrian Bunk Sun, 15 Jan 2006 02:43:54 +0100 correct email address of Manfred Spraul I tried to send the forcedeth maintainer an email, but it came back with: "The mail address manfreds@colorfullife.com is not read anymore. Please resent your mail to manfred@ instead of manfreds@." This patch fixes this. Signed-off-by: Adrian Bunk commit 92c3504e6ee0816d4ea1345a6bd276969224890d tree a5fc7af67092389ee06cd878ceb2773eef3c8bd8 parent 014c2544e6fd09d702c908d95fe32c082376e15c author Jesper Juhl Sun, 15 Jan 2006 02:40:08 +0100 committer Adrian Bunk Sun, 15 Jan 2006 02:40:08 +0100 Spelling fix in init/Kconfig for the help of CONFIG_SWAP Trivial spelling fix s/socalled/so called/ Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk commit 014c2544e6fd09d702c908d95fe32c082376e15c tree deba495e18bc9ba16bd8d703e2c901b9af8bbe38 parent 46a9f65f8bb39778646b83220d9619aff1490bcd author Jesper Juhl Sun, 15 Jan 2006 02:37:08 +0100 committer Adrian Bunk Sun, 15 Jan 2006 02:37:08 +0100 return statement cleanup - kill pointless parentheses This patch removes pointless parentheses from return statements. Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk commit 46a9f65f8bb39778646b83220d9619aff1490bcd tree eec8e012e2d273e6a14de17a4e51ef88a04ea46d parent f1c3ddff84981bbe3bedd60a6330057e8f1f8ef5 author Domen Puncer Sun, 15 Jan 2006 02:20:28 +0100 committer Adrian Bunk Sun, 15 Jan 2006 02:20:28 +0100 remove unused LOCAL_END_REQUEST Remove the last occurence of LOCAL_END_REQUEST. Signed-off-by: Domen Puncer Signed-off-by: Adrian Bunk commit f1c3ddff84981bbe3bedd60a6330057e8f1f8ef5 tree 1f7cf0e2c748a50ac9af7c026193f56fd4072126 parent 3235798804ee75f09d45aee5003197930de57689 author Horms Sun, 15 Jan 2006 02:18:28 +0100 committer Adrian Bunk Sun, 15 Jan 2006 02:18:28 +0100 MAINTAINERS: better list for "POSIX CLOCKS and TIMERS" POSIX CLOCKS and TIMERS disscussion is more appropriate on linux-kernel than linux-net. As suggested by the maintainer, George Anzinger. Signed-off-by: Horms Acked-by: George Anzinger Signed-off-by: Adrian Bunk commit 3235798804ee75f09d45aee5003197930de57689 tree 1f4612f8af6cc638736661c0899e58fb20e650e2 parent fad6a94ee6b33ca5e6184e8b08634a6a2319d0cb author Alexey Dobriyan Sun, 15 Jan 2006 02:12:54 +0100 committer Adrian Bunk Sun, 15 Jan 2006 02:12:54 +0100 Fix "stuct", "strut", "struc" typos Signed-off-by: Alexey Dobriyan Signed-off-by: Adrian Bunk commit fad6a94ee6b33ca5e6184e8b08634a6a2319d0cb tree a194df67d5c8d9298b92acfe346c32eba44eff98 parent 750c902ef4a1956cecbc8fb590ce2dad5b02eab9 author Randy Dunlap Sun, 15 Jan 2006 02:09:54 +0100 committer Adrian Bunk Sun, 15 Jan 2006 02:09:54 +0100 Documentation/hpet.txt typo Fix a typo. Requested by Petr Vandrovec. Signed-off-by: Randy Dunlap Signed-off-by: Adrian Bunk commit 750c902ef4a1956cecbc8fb590ce2dad5b02eab9 tree 8b7c896a9359c7d671f2071bcd4e096c07e5c562 parent 575c96871832e91983248aebb02fc072e5fd17c9 author Adrian Bunk Sun, 15 Jan 2006 02:01:39 +0100 committer Adrian Bunk Sun, 15 Jan 2006 02:01:39 +0100 SOFTWARE_SUSPEND: fix a typo in the dependencies This patch fixes a typo in the dependencies of SOFTWARE_SUSPEND. This patch is based on a report by Jean-Luc Leger . Signed-off-by: Adrian Bunk Acked-by: Pavel Machek commit 575c96871832e91983248aebb02fc072e5fd17c9 tree 2de2ce229506f1e0e866ef00c9cf7e43489e295b parent a8e82ef97a1d1227575698935ec86ae4d02c372c author Adrian Bunk Sun, 15 Jan 2006 02:00:17 +0100 committer Adrian Bunk Sun, 15 Jan 2006 02:00:17 +0100 spelling: s/appropiate/appropriate/ Signed-off-by: Adrian Bunk commit a8e82ef97a1d1227575698935ec86ae4d02c372c tree 79ca26053e20e200f10007da229a78e70d5b28df parent b480146fd19b99b16263467216622effcd93fd96 author Adrian Bunk Sun, 15 Jan 2006 01:58:57 +0100 committer Adrian Bunk Sun, 15 Jan 2006 01:58:57 +0100 drivers/net/{,wireless/}Kconfig: remove dead URL shadow.cabi.net does no longer exist. Signed-off-by: Adrian Bunk commit b480146fd19b99b16263467216622effcd93fd96 tree e5609bee33a097baf74ee41ae0d85f62a03dbd54 parent 9c782e3b2083c33b5a14c9955cf15f32ea88116b author Adrian Bunk Sun, 15 Jan 2006 01:57:47 +0100 committer Adrian Bunk Sun, 15 Jan 2006 01:57:47 +0100 ftape: remove some outdated information from Kconfig files This patch removes some outdated information about the ftape driver like pointers to no longer existing webpages from Kconfig files. Signed-off-by: Adrian Bunk commit 9c782e3b2083c33b5a14c9955cf15f32ea88116b tree 992f409f92486917a4dac822acfa754bced3e5be parent 7c7dce9209161eb260cdf9e9172f72c3a02379e6 author Alex Shepard Sun, 15 Jan 2006 01:57:00 +0100 committer Adrian Bunk Sun, 15 Jan 2006 01:57:00 +0100 Spelling fix in IPW2100 and IPW2200 Kconfig entries s/remvoed/removed/ Signed-off-by: Alex Shepard Signed-off-by: Adrian Bunk commit 7c7dce9209161eb260cdf9e9172f72c3a02379e6 tree 81135190b6aadfc9126dcbff63710cd97fe5b6a1 parent 12dbf3fc4d06d2c0c4c44dc0612df04248b3cfd3 author Alexander Viro Sat, 14 Jan 2006 15:29:55 -0500 committer Linus Torvalds Sat, 14 Jan 2006 12:38:17 -0800 [PATCH] Fix double decrement of mqueue_mnt->mnt_count in sys_mq_open Fixed the refcounting on failure exits in sys_mq_open() and cleaned the logics up. Rules are actually pretty simple - dentry_open() expects vfsmount and dentry to be pinned down and it either transfers them into created struct file or drops them. Old code had been very confused in that area - if dentry_open() had failed either in do_open() or do_create(), we ended up dentry and mqueue_mnt dropped twice, once by dentry_open() cleanup and then by sys_mq_open(). Fix consists of making the rules for do_create() and do_open() same as for dentry_open() and updating the sys_mq_open() accordingly; that actually leads to more straightforward code and less work on normal path. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 12dbf3fc4d06d2c0c4c44dc0612df04248b3cfd3 tree 158610ef6c7711afb60d78956ab4b131bf6a08ef parent 61b7efddc5256225099d13185659e9ad9d8abc8a parent fc091e03820bf67e543362bd40959701a71d0c27 author Linus Torvalds Sat, 14 Jan 2006 12:16:07 -0800 committer Linus Torvalds Sat, 14 Jan 2006 12:16:07 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 commit 3f471126ee53feb5e9b210ea2f525ed3bb9b7a7f tree 3f7567343a892d02e758bcd1c07557af43d5aa1b parent 6c90c872017773cde70a51432cb28f253451b967 author Nicolas Pitre Sat, 14 Jan 2006 19:30:04 +0000 committer Russell King Sat, 14 Jan 2006 19:30:04 +0000 [ARM] 3262/4: allow ptraced syscalls to be overriden Patch from Nicolas Pitre This is needed by strace to properly handle the tracing of some system calls. It could be useful for other applications as well. Based on an earlier patch from Daniel Jacobowitz. Signed-off-by: Nicolas Pitre Signed-off-by: Daniel Jacobowitz Signed-off-by: Russell King commit 61b7efddc5256225099d13185659e9ad9d8abc8a tree 7cbfec9c0012b07c7a236a953f5e067304725415 parent 3e2b32b69308e974cd1167beaf266d3c716e4734 parent 2e10c84b9cf0b2d269c5629048d8d6e35eaf6b2b author Linus Torvalds Sat, 14 Jan 2006 10:43:26 -0800 committer Linus Torvalds Sat, 14 Jan 2006 10:43:26 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/spi-2.6 commit 3e2b32b69308e974cd1167beaf266d3c716e4734 tree 0f1b24dcb7b066a6322d33235b95655d885695ac parent 3824ba7df91745da6ebac703c87c3b801c34fdd0 parent 9c08a938ce5a3e1c9d5f764dc6ae844cb1af76ff author Linus Torvalds Sat, 14 Jan 2006 10:42:40 -0800 committer Linus Torvalds Sat, 14 Jan 2006 10:42:40 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6 commit 3824ba7df91745da6ebac703c87c3b801c34fdd0 tree d613f40e6812042956098d638940c975a920ff8c parent e1b114ee90040af5108973abd1a82babc4905868 author Adrian Bunk Sat, 14 Jan 2006 03:08:16 +0100 committer Linus Torvalds Sat, 14 Jan 2006 10:41:42 -0800 [PATCH] remove unused tmp_buf_sem's tmp_buf_sem sems to be a common name for something completely unused... Signed-off-by: Adrian Bunk Acked-by: Greg Kroah-Hartman ("usb portion") Signed-off-by: Linus Torvalds commit e1b114ee90040af5108973abd1a82babc4905868 tree 6b63f8e659d7bbddc650f67300cb01a0204479f1 parent 7b4ee73e28052e53aac2fef1c91029666d8b2d70 author Xose Vazquez Perez Sat, 14 Jan 2006 12:57:41 +0100 committer Linus Torvalds Sat, 14 Jan 2006 10:39:53 -0800 [PATCH] docs: update some updated code docs Based on comments from Randy Dunlap on my previous commit 5b0ed2c64d8fdafb5fcfb3baabdd288628b1ff9b Signed-off-by: Linus Torvalds commit 7b4ee73e28052e53aac2fef1c91029666d8b2d70 tree a82714e4b9c2e1157695872b66bf180dc12b27a2 parent 59af70385fb125f819d953801b6c45629836e916 author Evgeniy Sat, 14 Jan 2006 11:42:06 +0300 committer Linus Torvalds Sat, 14 Jan 2006 10:27:32 -0800 [PATCH] ufs cleanup Here is update of ufs cleanup patch, brought on by the recently fixed ubh_get_usb_second() bug that made some ugly code rather painfully obvious. It also includes - fix compilation warnings which appears if debug mode turn on - remove unnecessary duplication of code to support UFS2 I tested it on ufs1 and ufs2 file-systems. Signed-off-by: Evgeniy Dushistov Signed-off-by: Linus Torvalds commit 59af70385fb125f819d953801b6c45629836e916 tree 6232fb052167c7cbd51851323088217617dbde42 parent e7de369050534025b33aab1033358bf47a577e4d parent d50f5c5ca0c3426669fbe11ad4d5708d333eb9fb author Linus Torvalds Sat, 14 Jan 2006 09:55:28 -0800 committer Linus Torvalds Sat, 14 Jan 2006 09:55:28 -0800 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 commit e7de369050534025b33aab1033358bf47a577e4d tree fed44f469923690b98f9de2c87e6d1de76f71dc9 parent 87530db5ec7d519c7ba334e414307c5130ae2da8 parent eab9edd27f7ceaad6b57085817d63287bda15190 author Linus Torvalds Sat, 14 Jan 2006 09:49:16 -0800 committer Linus Torvalds Sat, 14 Jan 2006 09:49:16 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/dtor/input commit fc091e03820bf67e543362bd40959701a71d0c27 tree 6a77b9d11dd5711b4ebf658fdcb64f1db3d90fa9 parent 79f89a4296ff22f09baf538d4ff2a6d0c3097a73 author andrew.vasquez@qlogic.com Fri, 13 Jan 2006 17:06:04 -0800 committer James Bottomley Sat, 14 Jan 2006 10:55:40 -0600 [SCSI] qla2xxx: Update version number to 8.01.04-k. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 79f89a4296ff22f09baf538d4ff2a6d0c3097a73 tree e57901e45a0da996bde0c583560265b0913ebd69 parent fdd52dfa3c311a2583850a2fbea99f329be861d7 author andrew.vasquez@qlogic.com Fri, 13 Jan 2006 17:05:58 -0800 committer James Bottomley Sat, 14 Jan 2006 10:55:39 -0600 [SCSI] qla2xxx: Disable port-type RSCN handling via driver state-machine. Given the semantic changes in both the device-model and fc-transport APIs, the driver's handling of port-type RSCNs via a series of ADISCs and PLOGIs can cause series of badness ranging from unexpectedly device loss to devices not being discovered. In the interim, disable (via a module-parameter) this feature and allow RSCN management to continue to occur within the driver's DPC thread. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit fdd52dfa3c311a2583850a2fbea99f329be861d7 tree d8f6dd604dd7e2bb48c47a49601a992b55070845 parent c0eb87552654bc3e8da179c501e3e18c92ee4360 author andrew.vasquez@qlogic.com Fri, 13 Jan 2006 17:05:53 -0800 committer James Bottomley Sat, 14 Jan 2006 10:55:37 -0600 [SCSI] qla2xxx: Kconfig update: Add URL to download firmware images. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit c0eb87552654bc3e8da179c501e3e18c92ee4360 tree 98d3ba10c2fb02822f50bdfad39b916dbbeb2edf parent bc8fb3cb9e208de0d69223f68058714b78f83833 author andrew.vasquez@qlogic.com Fri, 13 Jan 2006 17:05:48 -0800 committer James Bottomley Sat, 14 Jan 2006 10:55:36 -0600 [SCSI] qla2xxx: Correct setting of FDMI supported/current port speed. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit bc8fb3cb9e208de0d69223f68058714b78f83833 tree 4f329bcac7b6d0312377074d98944bdc1c8a3628 parent 590f98e5e8d6502cc21fdcddc90a0cc09c1f770e author andrew.vasquez@qlogic.com Fri, 13 Jan 2006 17:05:42 -0800 committer James Bottomley Sat, 14 Jan 2006 10:55:35 -0600 [SCSI] qla2xxx: Correct execution-throttle setting for ISP24xx. Similarly to other ISPs, set execution throttle to maximum allowed value since 'throttling' is done on a per-lun basis via queue-depth. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 590f98e5e8d6502cc21fdcddc90a0cc09c1f770e tree daa1a9439c0736d6ad79a90752922e5a608d66a9 parent f94097edf2c3ac9bc48580252c2eee52947b5e60 author andrew.vasquez@qlogic.com Fri, 13 Jan 2006 17:05:37 -0800 committer James Bottomley Sat, 14 Jan 2006 10:55:34 -0600 [SCSI] qla2xxx: Collapse load RISC RAM implementations. Simplify essentially duplicate load RISC RAM implementation in qla2x00_load_ram_ext() and qla2x00_load_ram(). Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit f94097edf2c3ac9bc48580252c2eee52947b5e60 tree 09a7ea624d143196ffcf39bdc5eb4521981914d8 parent c9d02acf39d9fdde18b63281944003b9ec9a3271 author andrew.vasquez@qlogic.com Fri, 13 Jan 2006 17:05:32 -0800 committer James Bottomley Sat, 14 Jan 2006 10:55:33 -0600 [SCSI] qla2xxx: Correct swing/emphasis settings for ISP24XX. Swing/emphasis settings in NVRAM were not being honoured due to the driver not converting the serial-link options from LE to host-endian format. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit c9d02acf39d9fdde18b63281944003b9ec9a3271 tree e598fb578cfc92f7a15cedf6f4cd0b242bee311e parent 210d53507e961b0f480d1a86d9a26832cc68645e author andrew.vasquez@qlogic.com Fri, 13 Jan 2006 17:05:26 -0800 committer James Bottomley Sat, 14 Jan 2006 10:55:31 -0600 [SCSI] qla2xxx: Correct issue where portstate does not transition during loop-resync. If the Get Port Database call fails during local-loop update, then schedule the DPC routine to perform a rescan as the firmware would have updated the Get ID List port-entries of their new state. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 210d53507e961b0f480d1a86d9a26832cc68645e tree 4f00e86542a6a734a9e1d451e7bc4b16bd667954 parent e978010cebcc0ac1be67caab8dfc7c1fa831406d author andrew.vasquez@qlogic.com Fri, 13 Jan 2006 17:05:21 -0800 committer James Bottomley Sat, 14 Jan 2006 10:55:30 -0600 [SCSI] qla2xxx: Update firmware-dump procedure for ISP24xx. Small changes to register retrieval and order as per latest firmware specification. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit e978010cebcc0ac1be67caab8dfc7c1fa831406d tree b54ed389bf05df811665389e08eb8f81242dc390 parent 5998983113c1c9158c1ce66ff26a212aceaf7e5c author andrew.vasquez@qlogic.com Fri, 13 Jan 2006 17:05:15 -0800 committer James Bottomley Sat, 14 Jan 2006 10:55:29 -0600 [SCSI] qla2xxx: Re-enable flash-part write protection on ISP24xx boards. Driver would not correctly re-enable the write-protection bits of the flash part after updates. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 5998983113c1c9158c1ce66ff26a212aceaf7e5c tree 7b050a3851d3869eaf21c57042619161ac851a49 parent 03ab2eabed74708c0c74163723007e8e72244219 author andrew.vasquez@qlogic.com Fri, 13 Jan 2006 17:05:10 -0800 committer James Bottomley Sat, 14 Jan 2006 10:55:28 -0600 [SCSI] qla2xxx: Correct excessive delay during LOAD-RISC-RAM mailbox command. Problem report (against 2.4.x driver) from Jeff Layton : An OEM noticed that the U6 qla2200 driver would hang for around 2 minutes at boot time and then proceed normally. I found that the delay was occurring when loading the new firmware into the card, and was due to a schedule_timeout(10) added to the bottom of the polling loop. Some testing showed that the load ram operation on the card was very quick (on the order of a couple of jiffies), but the sleep in the polling loop was making each operation take around 25-30. The attached patch corrects this by making it skip sleeping during the load ram operation, since I believe we only do that when the module is plugged in. It also skips sleeping if the mbox_int flag got set during the current loop. This corrected the hang on my test setup, and OEM also confirmed that it corrected the problem for them. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 03ab2eabed74708c0c74163723007e8e72244219 tree ba997c13673d54e669676edb35506ab5ed3cd6a2 parent e038a1be22bef90795c5239d1563609b89c3aa18 author andrew.vasquez@qlogic.com Fri, 13 Jan 2006 17:05:05 -0800 committer James Bottomley Sat, 14 Jan 2006 10:55:27 -0600 [SCSI] qla2xxx: Use msleep() as delay during ISP polling. Mailbox commands are polled for completion during ISP initialization. During potentially 'long' mailbox commands (i.e. fabric login), we really don't want a busy-wait delay to potentially trigger a (benign) soft-lockup BUG(). Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit e038a1be22bef90795c5239d1563609b89c3aa18 tree 14500448eb96e4fec39b151a88e9930b5b49bc30 parent 9403688e9bca54b55bfcea51053c8af537beba0a author andrew.vasquez@qlogic.com Fri, 13 Jan 2006 17:04:59 -0800 committer James Bottomley Sat, 14 Jan 2006 10:55:26 -0600 [SCSI] qla2xxx: Drop noisy 'UNDERRUN' status message. There's no point in displaying the message during a valid underrun case. Limit the message to potentially problematic cases. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 9403688e9bca54b55bfcea51053c8af537beba0a tree 7682bcb6c4d31ec7a2ebdddb29872d72d58a6579 parent dad9c8c15dbe4eac0ab086c74cdb256ec2fb0b70 author andrew.vasquez@qlogic.com Fri, 13 Jan 2006 17:04:54 -0800 committer James Bottomley Sat, 14 Jan 2006 10:55:24 -0600 [SCSI] qla2xxx: Correct FC4 feature assignment during RFF_ID. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit dad9c8c15dbe4eac0ab086c74cdb256ec2fb0b70 tree a28f44ed9a68979bf26352caf33e7d349c386eb1 parent a1e80c20e1ac751dbdd88dee989e9a19c22c4a84 author andrew.vasquez@qlogic.com Fri, 13 Jan 2006 17:04:49 -0800 committer James Bottomley Sat, 14 Jan 2006 10:55:23 -0600 [SCSI] qla2xxx: Reference proper node/port names in fc_host class. The initial-control-block references are not always correct as the use-node-name qualifier during NVRAM configuration will cause the firmware to use the portname as a base for the nodename. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit a1e80c20e1ac751dbdd88dee989e9a19c22c4a84 tree e6a6e06d8194296b12606f56147de4de6768a58d parent 55e3299d9eca01fb2351c5d37e222872b7c6e0af author Mike Christie Fri, 13 Jan 2006 18:05:56 -0600 committer James Bottomley Sat, 14 Jan 2006 10:55:22 -0600 [SCSI] iscsi: use pageslab From: FUJITA Tomonori and zhenyu.z.wang@intel.com: We cannot handle filesystems like XFS becuase of the pages they are sending us. We had thought page_count could be used to work around this, but the correct test is for PageSlab. The proper solution is to figure out what type of pages filesystems can use so we do not have to add tests like this or handle it in the block layer for all network block drivers but the issue still has not been resolved on fs-devel so we are sending this patch as a temporary fix. This is last patch just in case it is Nakd with the explanation that we need to push the correct fix through fs-devel, mm or the block layer. The rest of the patchset can live without the patch, but the driver will not work with filesystems like XFS. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 55e3299d9eca01fb2351c5d37e222872b7c6e0af tree ee8af84f5506c60b47d363209fc1ac7f05816974 parent 7b8631b53bea286b68847a939b87135198335b66 author Mike Christie Fri, 13 Jan 2006 18:05:53 -0600 committer James Bottomley Sat, 14 Jan 2006 10:55:21 -0600 [SCSI] iscsi: fix 4k stack iscsi setups When we run the xmit code from queuecomand the stack trace gets too deep. The patch runs the xmit code from the scsi_host work queue. This fixes 4k stack and xfs support and should fix the st and sg stack usage bugs. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 7b8631b53bea286b68847a939b87135198335b66 tree 69a3d47f4d00f98771c4eb3cb6bc11fde0a6e0a1 parent 7cae5159dd2623300cf9820865bfbf6dcdb7c1b9 author Mike Christie Fri, 13 Jan 2006 18:05:50 -0600 committer James Bottomley Sat, 14 Jan 2006 10:55:20 -0600 [SCSI] iscsi: seperate iscsi interface from setup functions This is the second version of the patch to address Christoph's comments. Instead of doing the lib, I just kept everything in scsi_trnapsort_iscsi.c like the FC and SPI class. This was becuase the driver model and sysfs class is tied to the session and connection setup so separating did not buy very much at this time. The reason for this patch was becuase HW iscsi LLDs like qla4xxx cannot use the iscsi class becuase the scsi_host was tied to the interface and class code. This patch just seperates the session from scsi host so that LLDs that allocate the host per some resource like pci device can still use the class. This is also fixes a couple refcount bugs that can be triggered when users have a sysfs file open, close the session, then read or write to the file. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 7cae5159dd2623300cf9820865bfbf6dcdb7c1b9 tree 68cd331b75515e90f79f4902de0620b293adcfd4 parent 56851698c23430f0f291d6e50da344e6b414f3b9 author Mike Christie Fri, 13 Jan 2006 18:05:47 -0600 committer James Bottomley Sat, 14 Jan 2006 10:55:18 -0600 [SCSI] iscsi: add high mem support From Mike Christie and FUJITA Tomonori : We cannot use page_address becuase some pages could be highmem. Instead, we can use sock_no_sendpage which does kmap for us. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 56851698c23430f0f291d6e50da344e6b414f3b9 tree e051fccf90003b6057c961b1b954725f38413d02 parent 3e97c7e6cda933e3a1b518a8100d155c532a3cfc author FUJITA Tomonori Fri, 13 Jan 2006 18:05:44 -0600 committer James Bottomley Sat, 14 Jan 2006 10:55:17 -0600 [SCSI] iscsi: data digest page cache usage fix Users can write to a page while we are sending it and making digest calculations. This ends up causing us to retry the command when a digest error is later reported. By using sock_no_sendpage when data digests are calculated we can avoid a lot of (not all but it helps) the retries becuase sock_no_sendpage is not zero copy. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 3e97c7e6cda933e3a1b518a8100d155c532a3cfc tree 9a6682763124014c601808127c4ac7f5f50c6fb0 parent bf310b8f582bddec20c27e32ffbaf8e2c91e147c author zhenyu.z.wang@intel.com Fri, 13 Jan 2006 18:05:41 -0600 committer James Bottomley Sat, 14 Jan 2006 10:55:16 -0600 [SCSI] iscsi: host locking fix We should be taking the host_lock instead of the conn lock when checking host_busy. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit bf310b8f582bddec20c27e32ffbaf8e2c91e147c tree 562a6ba3dc94f903f99e9a829b766d7abae8ec3e parent 42f72aa9e5bc969a34e5989fc00e7e2d71e8a95b author zhenyu.z.wang@intel.com Fri, 13 Jan 2006 18:05:38 -0600 committer James Bottomley Sat, 14 Jan 2006 10:55:15 -0600 [SCSI] iscsi: data under/over flow fix We need to check the ISCSI_FLAG_DATA_* flags. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 42f72aa9e5bc969a34e5989fc00e7e2d71e8a95b tree 6363f47da009a88e37be6016b3e517e8c49049bf parent a12e25bd59e36d12dcd026ffa3c65d48b5cf5442 author FUJITA Tomonori Fri, 13 Jan 2006 18:05:35 -0600 committer James Bottomley Sat, 14 Jan 2006 10:55:14 -0600 [SCSI] iscsi: whitespace cleanup Remove extra whitespaces. Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit a12e25bd59e36d12dcd026ffa3c65d48b5cf5442 tree a09d828f0e552a9e58dfcfae6c877011e92812cf parent 3759b788498ffc0b2563181567af4c82d983f921 author Jes Sorensen Wed, 11 Jan 2006 08:39:45 -0500 committer James Bottomley Sat, 14 Jan 2006 10:55:12 -0600 [SCSI] sem2mutex 3w-[x9]xxx Convert a the 3w-9xxx.c and 3w-xxxx.c drivers to use mutexes instead of semaphores. Untested, but compiles and looks obviously correct. Signed-off-by: Jes Sorensen Signed-off-by: James Bottomley commit 3759b788498ffc0b2563181567af4c82d983f921 tree e2c85821c9293a7416413ecfaac5eebfd52db745 parent 569b11dcfa9d764e775f9e964a680c32265ab7f2 author James Bottomley Sat, 14 Jan 2006 09:28:07 -0600 committer James Bottomley Sat, 14 Jan 2006 10:55:11 -0600 [SCSI] mptfc: need to select transport attrs Now that mptfc actually uses the transport class, it can't be built without it. Signed-off-by: James Bottomley commit 569b11dcfa9d764e775f9e964a680c32265ab7f2 tree d35e71f3819a1b188176afd054f7f6d0df522224 parent e6bc863cf25f30ed8e2a4d41b76d5688f8efaee9 author Moore, Eric Fri, 13 Jan 2006 16:25:29 -0700 committer James Bottomley Sat, 14 Jan 2006 10:55:10 -0600 [SCSI] fusion - fix pci express bug The fix is to write 'MPI_HIM_DIM' to the Host Interrupt Mask register, when enabling interrupts. Instead of the tilde of MPI_HIM_RIM. Apparently writing '1's to some of the reserved bits was causing all the bits to go to `1`, which effectly disabled all interrupts. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit e6bc863cf25f30ed8e2a4d41b76d5688f8efaee9 tree be1c74a5b705c3c5222058ec8358ffeaeae5f87a parent 4b915a73663fe0951077ebcdaf02337ff2bddcfc author Moore, Eric Fri, 13 Jan 2006 16:33:59 -0700 committer James Bottomley Sat, 14 Jan 2006 10:55:09 -0600 [SCSI] scsi_transport_sas: mapping the rphy channel equal to the port identifier We will be mapping the RAID volumes in mptsas to a reserved channel that is one larger than the anticapated number of ports on the direct attached host adapter. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 4b915a73663fe0951077ebcdaf02337ff2bddcfc tree 7a088360af29db0e2454ca324a8cf3c0e4e3e5d1 parent 816aa907b909177bdf6e6e6b0d00c5e5a6e2be8c author Moore, Eric Fri, 13 Jan 2006 16:25:23 -0700 committer James Bottomley Sat, 14 Jan 2006 10:55:08 -0600 [SCSI] fusion - mpi header udpate This updates mpi headers in fusion drivers to version 1.5.12. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 816aa907b909177bdf6e6e6b0d00c5e5a6e2be8c tree 5953e5fc46a49bcdb28b17c6812469af4cc59c93 parent e02f3f59225d8c3b2a0ad0dc941a09865e27da61 author Moore, Eric Fri, 13 Jan 2006 16:25:20 -0700 committer James Bottomley Sat, 14 Jan 2006 10:55:06 -0600 [SCSI] fusion - adding raid support in mptsas The SAS RAID volumes are reported beyond the expected number of phys. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit e02f3f59225d8c3b2a0ad0dc941a09865e27da61 tree 37d2931f5d24dc063d9606ec6b5e8db359b439c7 parent 6d5b0c315e0c14f8a0fe274eda7676d62cbd8584 author Christoph Hellwig Fri, 13 Jan 2006 19:04:00 +0100 committer James Bottomley Sat, 14 Jan 2006 10:55:05 -0600 [SCSI] remove target parent limitiation When James Smart fixed the issue of the userspace scan atributes crashing the system with the FC transport class he added a patch to let the transport class check if the parent is valid for a given transport class. When adding support for the integrated raid of fusion sas devices we ran into a problem with that, as it didn't allow adding virtual raid volumes without the transport class knowing about it. So this patch adds a user_scan attribute instead, that takes over from scsi_scan_host_selected if the transport class sets it and thus lets the transport class control the user-initiated scanning. As this plugs the hole about user-initiated scanning the target_parent hook goes away and we rely on callers of the scanning routines to do something sensible. For SAS this meant I had to switch from a spinlock to a mutex to synchronize the topology linked lists, in FC they were completely unsynchronized which seems wrong. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 6d5b0c315e0c14f8a0fe274eda7676d62cbd8584 tree cf67da224646532670e0f9e3a7e5ecbe4e63d943 parent 05e8ec17f4d11ba13795e878fc389cb04d1fdadd author Moore, Eric Fri, 13 Jan 2006 16:25:26 -0700 committer James Bottomley Sat, 14 Jan 2006 10:55:04 -0600 [SCSI] fusion - adding support for FC949ES Add software recognition for the new LSI Logic Fibre Channel controller. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 05e8ec17f4d11ba13795e878fc389cb04d1fdadd tree 0b7a7360e37be4851ce823450cabbce97bc28eea parent d158d26167a3f6a910ec3e0eda23cc0cd437c689 author Michael Reed Fri, 13 Jan 2006 14:31:54 -0600 committer James Bottomley Sat, 14 Jan 2006 10:55:02 -0600 [SCSI] mptfusion - fc transport attributes Signed-off-by: Michael Reed Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit d158d26167a3f6a910ec3e0eda23cc0cd437c689 tree 640e17d90669c4a854a8ba2f163dfc88132755e3 parent f20139bee4545b91f30e14e2f528320c7ab36fa6 author Jes Sorensen Fri, 13 Jan 2006 16:05:44 -0800 committer James Bottomley Sat, 14 Jan 2006 10:55:01 -0600 [SCSI] sem2mutex: scsi_transport_spi.c Convert the SCSI transport class code to use a mutex rather than a semaphore. Signed-off-by: Jes Sorensen Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit f20139bee4545b91f30e14e2f528320c7ab36fa6 tree 818ae9a89fd69ea8a841406188cf53fd4649dace parent 1ca00bb7916cb40b8140173c23481e11d92d6f6a author James Bottomley Fri, 13 Jan 2006 15:36:25 -0600 committer James Bottomley Sat, 14 Jan 2006 10:54:59 -0600 [SCSI] fix up message/i2o/pci.c There was a use before initialisation of c->name Signed-off-by: James Bottomley commit 1ca00bb7916cb40b8140173c23481e11d92d6f6a tree e5a16f6f230556ce43f77139c729f09a16ec95fb parent eeb846cefdd842af479393a7d0fd399a29e42532 author Christoph Hellwig Fri, 13 Jan 2006 18:27:50 +0100 committer James Bottomley Sat, 14 Jan 2006 10:54:58 -0600 [SCSI] fusion: kzalloc / kcalloc conversion Convert kmalloc + memset to kzalloc or kcalloc in fusion. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit eeb846cefdd842af479393a7d0fd399a29e42532 tree ee8ec36c7ce0c259b52de7b4185013082b061d14 parent 9a28f49adbe4955af8a1306fd36ddae15136dde7 author Christoph Hellwig Fri, 13 Jan 2006 18:27:11 +0100 committer James Bottomley Sat, 14 Jan 2006 10:54:57 -0600 [SCSI] fusion: convert semaphores to mutexes Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 9a28f49adbe4955af8a1306fd36ddae15136dde7 tree ff161da935cf2a14408b9040f685b9e9a530fd82 parent 9638d89a75776abc614c29cdeece0cc874ea2a4c author Christoph Hellwig Fri, 13 Jan 2006 18:04:41 +0100 committer James Bottomley Sat, 14 Jan 2006 10:54:56 -0600 [SCSI] mptsas: support basic hotplug Adds hotplug support for SAS end devices. Unfortunately the fusion firmware doesn't generate similar events for expanders addition/removal so we can't support them yet. Eric has an idea about a clever scheme to find out about expander changes so that'll be added later on. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 9638d89a75776abc614c29cdeece0cc874ea2a4c tree 5d7ac840f1c79e7d0fd48f5df1ba7db7567499f5 parent 560c26c8345509619c3575331b99b329b5de1054 author Salyzyn, Mark Thu, 12 Jan 2006 08:31:57 -0500 committer James Bottomley Sat, 14 Jan 2006 10:54:54 -0600 [SCSI] I2O: move pci_request_regions() just behind pci_enable_device() The problem in dpt_i2o could be the pci config space accesses it triggers as it loads, dangerous to do if there is any I/O activity going on in the other driver (probable if a boot driver I guess). I approve this patch to dpt_i2o.c, and am applying it to the Adaptec branch of the driver. Thanks for the investigation Ryoji. --- In linux 2.6.15, data transfer does hang when both dpt_i2o and i2o_block drivers are loaded. It seems that location of pci_request_regions() are wrong. I moved it just behind pci_enable_device() like other drivers, and it becomes fine. Signed-off-by: Ryoji Kamei Signed-off-by: James Bottomley commit 560c26c8345509619c3575331b99b329b5de1054 tree 5cea5a7c12eccb21776cc0a125c4608ca021b9d1 parent ad757cdfd2a40c9d5310d00f24427525788341cd author Jack Hammer Fri, 13 Jan 2006 10:06:50 -0500 committer James Bottomley Sat, 14 Jan 2006 10:54:53 -0600 [SCSI] ips: Mode Sense (Caching Page ) fix To avoid the "sda: got wrong page" message, the ServeRAID driver should be setting flags indicating that the Mode Sense commands are not supported. Signed-off-by: Jack Hammer Signed-off-by: James Bottomley commit ad757cdfd2a40c9d5310d00f24427525788341cd tree 9353d40be65f6834b5e22c59db17273bb10f051e parent f6cd94b126aa78ebaa21075df3b9577fbf995968 author Andreas Herrmann Fri, 13 Jan 2006 02:26:11 +0100 committer James Bottomley Sat, 14 Jan 2006 10:54:52 -0600 [SCSI] zfcp: transport class adaptations II Replaced zfcp adapter attributes with fc_host attributes: fc_topology by port_type, physical_wwpn by permanent_port_name. Make use of fc_host attribute supported_speeds. Removed zfcp adapter attribute physical_s_id. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit f6cd94b126aa78ebaa21075df3b9577fbf995968 tree e98bd9be9cb06d5b98160222bde6a308121bf41a parent 9eb69aff79264b5f35e41922df20a488c67e9ee2 author Andreas Herrmann Thu, 05 Jan 2006 09:59:34 +0100 committer James Bottomley Sat, 14 Jan 2006 10:54:50 -0600 [SCSI] zfcp: transport class adaptations Added host stats, removed superfluous get_starget_ functions, removed some attributes from zfcp specific sysfs tree (e.g. scsi_host_no, scsi_lun, wwnn and d_id). Host stats are given for the physical adapter port not for the virtual adapter. Reset stats is implemented in the device driver. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 9eb69aff79264b5f35e41922df20a488c67e9ee2 tree 96bb41b45a4e5be1785af95aef57c49d505604c7 parent 6b7281d0a0f8f99d39808088a036459f6f7906a6 author Maxim Shchetynin Thu, 05 Jan 2006 09:56:47 +0100 committer James Bottomley Sat, 14 Jan 2006 10:54:49 -0600 [SCSI] zfcp: handle unsolicited status notification lost Handle unsolicited adapter status that informs about loss of previous unsolicited status notification(s). Signed-off-by: Maxim Shchetynin Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit 6b7281d0a0f8f99d39808088a036459f6f7906a6 tree e2fa5f1ac6fe615723015ba154d06c2845b60d0c parent a09c6311217e8fb079c967427d009fe23f2e420e author Andreas Herrmann Fri, 13 Jan 2006 02:16:54 +0100 committer James Bottomley Sat, 14 Jan 2006 10:54:48 -0600 [SCSI] fc transport: add permanent_port_name fc_host attribute Add fc_host attribute permanent_port_name which is used to show the port name of the primary port - the port that initially logged into the fabric. For a virtual port (registered via the primary port with FDISC command) it is useful to know not only its (virtual) port name but also the permanent port name. Signed-off-by: Andreas Herrmann Signed-off-by: James Bottomley commit a09c6311217e8fb079c967427d009fe23f2e420e tree 7c50d0900d17a0ce316626103369a5c5ccc1c9c0 parent 776b23a0363d99ca402edc1aba1db8099b747b33 author Christoph Hellwig Wed, 11 Jan 2006 14:28:06 +0100 committer James Bottomley Sat, 14 Jan 2006 10:54:46 -0600 [SCSI] sr: split sr_audio_ioctl into specific helpers split each ioctl handled in sr_audio_ioctl into a function of it's own. This cleans the code up nicely, and allows various places in sr_ioctl to call these helpers directly instead of going through the multiplexer. Signed-off-by: Christoph Hellwig Acked-by: Jens Axboe Signed-off-by: James Bottomley commit 776b23a0363d99ca402edc1aba1db8099b747b33 tree 20cab193388facc2506e3de2a3d931ab22d81ae4 parent d4054239929479907f20b9d68c905589125ad343 author Christoph Hellwig Fri, 06 Jan 2006 18:34:07 +0100 committer James Bottomley Sat, 14 Jan 2006 10:54:45 -0600 [SCSI] always handle REQ_BLOCK_PC requests in common code LLDDs should never see REQ_BLOCK_PC requests, we can handle them just fine in the core code. There is a small behaviour change in that some check in sr's rw_intr are bypassed, but I consider the old behaviour a bug. Mike found this cleanup opportunity and provdided early patches, so all the credit goes to him, even if I redid the patches from scratch beause that was easier than forward-porting the old patches. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit d4054239929479907f20b9d68c905589125ad343 tree 09b02453ac3adde7df61ad32f684996f0329874e parent 745caf71d99c5d4ff4c9e4c0f74e64c429fed531 author Christoph Hellwig Wed, 04 Jan 2006 13:45:20 +0100 committer James Bottomley Sat, 14 Jan 2006 10:54:44 -0600 [SCSI] sas: fix removal of devices behind expanders We need to iterate over all children when removing and expander, else stale objects will be around after host removal. This fixes the oops Eric Moore saw when removing and reloading mptsas. Also don't try the scsi_remove_target call unless operating on an end device. The current unconditional call is harmless but confusing. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 6c90c872017773cde70a51432cb28f253451b967 tree 18aa18b8804049ef4bd50d00d58493eaf7088e5b parent 8993a44cede418940a4921de5dc24d52a9fe8767 author Nicolas Pitre Sat, 14 Jan 2006 16:37:15 +0000 committer Russell King Sat, 14 Jan 2006 16:37:15 +0000 [ARM] 3112/1: old ABI compat: config option to turn it on Patch from Nicolas Pitre Enjoy ! Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 8993a44cede418940a4921de5dc24d52a9fe8767 tree cc259505d486301747b347f8c3695d1a8074c50f parent dd35afc22b76766e827c9e67ebc4b7bf6e31ecab author Nicolas Pitre Sat, 14 Jan 2006 16:36:50 +0000 committer Russell King Sat, 14 Jan 2006 16:36:50 +0000 [ARM] 3111/2: old ABI compat: adjust NWFPE to be operational within an EABI kernel Patch from Nicolas Pitre We need NWFPE if we want to support execution of legacy binaries with an EABI kernel. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit dd35afc22b76766e827c9e67ebc4b7bf6e31ecab tree 3336355470c2d57a2b11a47f8d9bcc1e86546735 parent 687ad0191488a067b3b3cc94f670cc21f93811e1 author Nicolas Pitre Sat, 14 Jan 2006 16:36:12 +0000 committer Russell King Sat, 14 Jan 2006 16:36:12 +0000 [ARM] 3110/5: old ABI compat: multi-ABI syscall entry support Patch from Nicolas Pitre This patch adds the required code to support both user space ABIs at the same time. A second syscall table is created to include legacy ABI syscalls that need an ABI compat wrapper. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 687ad0191488a067b3b3cc94f670cc21f93811e1 tree 2113f1d339b88c4e225c3f897718c06acbd81023 parent 713c481519f19df9e6d90f257e7da0336b057592 author Nicolas Pitre Sat, 14 Jan 2006 16:35:31 +0000 committer Russell King Sat, 14 Jan 2006 16:35:31 +0000 [ARM] 3109/1: old ABI compat: syscall wrappers for ABI impedance matching Patch from Nicolas Pitre The difference between EABI and the legacy ABI may affect either structure member alignment and/or argument register selection. The patch has the details. Included are wrappers for the following syscalls: sys_stat64 sys_lstat64 sys_fstat64 sys_fcntl64 sys_epoll_ctl sys_epoll_wait sys_ipc sys_semop sys_semtimedop sys_pread64 sys_pwrite64 sys_truncate64 sys_ftruncate64 sys_readahead Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 713c481519f19df9e6d90f257e7da0336b057592 tree b8242d9f1b94f94a7075a021a3f80ddf0c0de25c parent 704bdda03827db8a551e82b312037d63ba3c22ff author Nicolas Pitre Sat, 14 Jan 2006 16:35:03 +0000 committer Russell King Sat, 14 Jan 2006 16:35:03 +0000 [ARM] 3108/2: old ABI compat: statfs64 and fstatfs64 Patch from Nicolas Pitre struct statfs64 has extra padding with EABI growing its size from 84 to 88. This struct is now __attribute__((packed,aligned(4))) with a small assembly wrapper to force the sz argument to 84 if it is 88 to avoid copying the extra padding over user space memory unexpecting it. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 704bdda03827db8a551e82b312037d63ba3c22ff tree 9e87a55ffd8189116ed7ae6df9fe5862fd0e7bb6 parent c155fc95befc95f4a9d6497f5fadec22f4bc3a24 author Nicolas Pitre Sat, 14 Jan 2006 16:33:50 +0000 committer Russell King Sat, 14 Jan 2006 16:33:50 +0000 [ARM] 3107/3: ARM EABI: last bits to configure it Patch from Nicolas Pitre This adds the configuration option, and disables any FPA floating point emulators which are not EABI compatible. It also disables Acorn RISC OS/Arthur binary support when CONFIG_EABI=y since it is incompatible with an EABI kernel. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit c155fc95befc95f4a9d6497f5fadec22f4bc3a24 tree 116118cd43f6cfa5ac01eac1e8ca7bf62a364ca1 parent 3f2829a31573e3e502b874c8d69a765f7a778793 author Nicolas Pitre Sat, 14 Jan 2006 16:32:12 +0000 committer Russell King Sat, 14 Jan 2006 16:32:12 +0000 [ARM] 3106/2: ARM EABI: some syscall adjustments Patch from Nicolas Pitre Fix a few syscalls for EABI requirements. They were sys_pread64 and sys_pwrite64 where the last argument is now entirely pushed on stack, but since commit 567bd98017d9c9f2ac1c148ddc78c062e8abd398 they don't require any fixup. Remains only the stat64 structure. Non EABI kernels are unaffected. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 3f2829a31573e3e502b874c8d69a765f7a778793 tree 40f64826c0d2964c56c366f770e2d3959123eb59 parent ba95e4e4a0a8a3c6aba363d45f78d5f2e2d111eb author Nicolas Pitre Sat, 14 Jan 2006 16:31:29 +0000 committer Russell King Sat, 14 Jan 2006 16:31:29 +0000 [ARM] 3105/4: ARM EABI: new syscall entry convention Patch from Nicolas Pitre For a while we wanted to change the way syscalls were called on ARM. Instead of encoding the syscall number in the swi instruction which requires reading back the instruction from memory to extract that number and polluting the data cache, it was decided that simply storing the syscall number into r7 would be more efficient. Since this represents an ABI change then making that change at the same time as EABI support is the right thing to do. It is now expected that EABI user space binaries put the syscall number into r7 and use "swi 0" to call the kernel. Syscall register argument are also expected to have "EABI arrangement" i.e. 64-bit arguments should be put in a pair of registers from an even register number. Example with long ftruncate64(unsigned int fd, loff_t length): legacy ABI: - put fd into r0 - put length into r1-r2 - use "swi #(0x900000 + 194)" to call the kernel new ARM EABI: - put fd into r0 - put length into r2-r3 (skipping over r1) - put 194 into r7 - use "swi 0" to call the kernel Note that it is important to use 0 for the swi argument as backward compatibility with legacy ABI user space relies on this. The syscall macros in asm-arm/unistd.h were also updated to support both ABIs and implement the right call method automatically. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit ba95e4e4a0a8a3c6aba363d45f78d5f2e2d111eb tree 886cf3398d3a8e9ca3212dcf233b59110fc87d3d parent 499b2ea11ff00c624d63af23516404fa2156639a author Nicolas Pitre Sat, 14 Jan 2006 16:18:29 +0000 committer Russell King Sat, 14 Jan 2006 16:18:29 +0000 [ARM] 3104/1: ARM EABI: new helper function names Patch from Nicolas Pitre The ARM EABI defines new names for GCC helper functions. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 499b2ea11ff00c624d63af23516404fa2156639a tree 7c63e058acd8f6c6a59b08cc64febf9def142852 parent 2dede2d8e925f4c2cb4e136b14df127685e15dd3 author Nicolas Pitre Sat, 14 Jan 2006 16:18:09 +0000 committer Russell King Sat, 14 Jan 2006 16:18:09 +0000 [ARM] 3103/1: ARM EABI: stack pointer must be 64-bit aligned (part 2) Patch from Nicolas Pitre We must make sure that assembly code that modifies the stack pointer before calling a C function does it so it remains 64-bit aligned. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 2dede2d8e925f4c2cb4e136b14df127685e15dd3 tree 271b3fb300c5ac143556295d10c6736430ebed85 parent da2b1cd61903c8e9796e76be2d606584f26a78e5 author Nicolas Pitre Sat, 14 Jan 2006 16:18:08 +0000 committer Russell King Sat, 14 Jan 2006 16:18:08 +0000 [ARM] 3102/1: ARM EABI: stack pointer must be 64-bit aligned after a CPU exception Patch from Nicolas Pitre The ARM EABI says that the stack pointer has to be 64-bit aligned for reasons already mentioned in patch #3101 when calling C functions. We therefore must verify and adjust sp accordingly when taking an exception from kernel mode since sp might not necessarily be 64-bit aligned if the exception occurs in the middle of a kernel function. If the exception occurs while in user mode then no sp fixup is needed as long as sizeof(struct pt_regs) as well as any additional syscall data stack space remain multiples of 8. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit da2b1cd61903c8e9796e76be2d606584f26a78e5 tree 75dbc2f10d349a7308e5dccaef85274b2f495c93 parent fa0fe48fcca9ea7f8c13e21d2646bbaa1747d183 author Nicolas Pitre Sat, 14 Jan 2006 16:18:07 +0000 committer Russell King Sat, 14 Jan 2006 16:18:07 +0000 [ARM] 3101/1: ARM EABI: slab memory must be 64-bit aligned Patch from Nicolas Pitre Although ARM is still using 32-bit pointers, version 5 and later versions of the ARM architecture introduced the ldrd and strd instructions to move 64-bit data which must be 64-bit aligned in memory, and the EABI includes new constraints on structure data alignment to allow for the compiler to use those instructions. This means that any slab allocation must start on a 64-bit boundary which is not equivalent to BYTES_PER_WORD, especially on those architecture versions that implements the ldrd/strd instructions. Overriding the default alignment disables some slab debug features. If those debug features are really needed then the kernel will have to be compiled for version 4 of the ARM architecture. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit eab9edd27f7ceaad6b57085817d63287bda15190 tree 8ba37791bfeb95e660caf6192c8dcecd9ba2aa6e parent 1e27ffd4d7d39783c5196daa2584cca5785d1f95 author Michael Hanselmann Sat, 14 Jan 2006 10:08:06 -0500 committer Dmitry Torokhov Sat, 14 Jan 2006 10:08:06 -0500 Input: HID - add support for fn key on Apple PowerBooks This patch implements support for the fn key on Apple PowerBooks using USB based keyboards and makes them behave like their ADB counterparts. Signed-off-by: Michael Hanselmann Acked-by: Rene Nussbaumer Acked-by: Johannes Berg Acked-by: Benjamin Herrenschmidt Acked-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit 1e27ffd4d7d39783c5196daa2584cca5785d1f95 tree 57776ea03fd2fa663c756d29da244c54375046d5 parent 5fce9d7bc5f485358263cf3d895e90c974449e1f author Dmitry Torokhov Sat, 14 Jan 2006 00:28:04 -0500 committer Dmitry Torokhov Sat, 14 Jan 2006 00:28:04 -0500 Input: wacom - fix compile on PowerPC Rename G4 (new Graphire4) to WACOM_G4 to avoid clashes on PowerPC Signed-off-by: Dmitry Torokhov commit 5fce9d7bc5f485358263cf3d895e90c974449e1f tree 230dfcd1e9fc1994b2dc4a068724f780212be943 parent f0d5c6f419d3a10443f66d6835855837eae4ac4b author Dmitry Torokhov Sat, 14 Jan 2006 00:27:51 -0500 committer Dmitry Torokhov Sat, 14 Jan 2006 00:27:51 -0500 Input: HID - add more simulation usages Signed-off-by: Dmitry Torokhov commit f0d5c6f419d3a10443f66d6835855837eae4ac4b tree edbaf897d4618095a69865f198d26d2d017813d4 parent b65d0d1bacfdbb4a134a7ebd16f280d5d42241cb author Dmitry Torokhov Sat, 14 Jan 2006 00:27:37 -0500 committer Dmitry Torokhov Sat, 14 Jan 2006 00:27:37 -0500 Input: psmouse - attempt to re-synchronize mouse every 5 seconds This should help driver to deal vith KVMs that reset mice when switching between boxes. Signed-off-by: Dmitry Torokhov commit b65d0d1bacfdbb4a134a7ebd16f280d5d42241cb tree ac305f4d01a127e372d7e2d228e9afd5d2dbc892 parent 940824b0ac6661ff4f3b36e7bce17f681d0cbc23 author Dmitry Torokhov Sat, 14 Jan 2006 00:26:15 -0500 committer Dmitry Torokhov Sat, 14 Jan 2006 00:26:15 -0500 Input: HID - fix an oops in PID initialization code Signed-off-by: Dmitry Torokhov commit 940824b0ac6661ff4f3b36e7bce17f681d0cbc23 tree c06af81c1983956a2beaee7c6f273a6edebef709 parent 3dd01a831133e3260b9c77a09c234b012e9507da author Vojtech Pavlik Sat, 14 Jan 2006 00:25:39 -0500 committer Dmitry Torokhov Sat, 14 Jan 2006 00:25:39 -0500 Input: HID - add support for Cherry Cymotion keyboard The Cherry Cymotion is a special Linux keyboard made by Cherry, with only one little problem: it doesn't work with Linux. This patch (originally by hexten.net, cleaned up by me) makes it work including all the special keys. Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit 87530db5ec7d519c7ba334e414307c5130ae2da8 tree a1720bb29998d8d658e91ed106263561a8101bf0 parent a148058c5cf72ad23fb6c4cf9828f7276e13151c parent d5f079000b20887bfbc84d772a27709c5665e652 author Linus Torvalds Fri, 13 Jan 2006 21:24:55 -0800 committer Linus Torvalds Fri, 13 Jan 2006 21:24:55 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge commit 3dd01a831133e3260b9c77a09c234b012e9507da tree 263a451cf4cd9ad55684ba4c565dc1c39f37e9d8 parent 5fc4e6e197c7e377f1c8ebec727d40df983aceed author Vojtech Pavlik Sat, 14 Jan 2006 00:24:06 -0500 committer Dmitry Torokhov Sat, 14 Jan 2006 00:24:06 -0500 Input: i8042 - add Sony Vaio FSC-115b to MUX blacklist Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit d5f079000b20887bfbc84d772a27709c5665e652 tree 9dc1751898631497d69555d0d1889999450931f7 parent b4e7de0f3575f4862f04921c5bd0cb5680cc8d71 author Paul Mackerras Sat, 14 Jan 2006 15:08:50 +1100 committer Paul Mackerras Sat, 14 Jan 2006 15:08:50 +1100 [PATCH] powerpc: Recognize /chaos bridge on old pmacs as PCI The first generation of PCI powermacs had a host bridge called /chaos which was for all intents and purposes a PCI host bridge, but has a device_type of "vci" in the device tree (presumably it's not really PCI at the hardware level or something). The OF parsing stuff in arch/powerpc/kernel/prom_parse.c currently doesn't recognize it as a PCI bridge, which means that controlfb.c can't get its device addresses. This makes prom_parse.c recognize a device_type of "vci" as indicating a PCI host bridge. With this, controlfb works again. Acked-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit b4e7de0f3575f4862f04921c5bd0cb5680cc8d71 tree b74a9a277168b35119d9dd5657ab567c21fc2111 parent 66a45dd3620ee5f913ba1af3d2dca8b9bdfa2b96 author Paul Mackerras Sat, 14 Jan 2006 15:06:51 +1100 committer Paul Mackerras Sat, 14 Jan 2006 15:06:51 +1100 powerpc: Avoid unaligned loads and stores in boot memcpy code The 601 processor will generate an alignment exception for accesses which cross a page boundary. In the boot wrapper code, OF is still handling all exceptions, and it doesn't have an alignment exception handler that emulates the instruction and continues. This changes the memcpy and memmove routines in the boot wrapper to avoid doing unaligned accesses. If the source and destination are misaligned with respect to each other, we just copy one byte at a time. Signed-off-by: Paul Mackerras commit 66a45dd3620ee5f913ba1af3d2dca8b9bdfa2b96 tree f98b25a1004d6e6bc84244186db61e76d5b2fe1c parent 36874579dbf4cafa31486d4207c6807efbbf1378 author Paul Mackerras Sat, 14 Jan 2006 15:04:06 +1100 committer Paul Mackerras Sat, 14 Jan 2006 15:04:06 +1100 powerpc: Make COFF zImages for old 32-bit powermacs This adds code to build zImage.coff and/or zImage.initrd.coff when CONFIG_PPC32 and CONFIG_PPC_PMAC are defined. It also restructures the OF client code and adds some workarounds for OF quirks on the older machines. Signed-off-by: Paul Mackerras commit 36874579dbf4cafa31486d4207c6807efbbf1378 tree 9a1ec6f679e44d0d98969490d1b9e948739e9024 parent 575e321606c5673efabf28c0fa075e198980c44e author David Woodhouse Sat, 14 Jan 2006 00:15:19 +0000 committer Paul Mackerras Sat, 14 Jan 2006 13:19:18 +1100 [PATCH] powerpc: macio-adb build fix This makes macio-adb.c build again. Entirely untested. Signed-off-by: David Woodhouse Signed-off-by: Paul Mackerras commit 575e321606c5673efabf28c0fa075e198980c44e tree 0d9f9c1a78946aca34af74f701dc3f7cf251e47a parent 91dc182ca6e25ee8b648ed2fb2a41859ead34903 author David Woodhouse Sat, 14 Jan 2006 00:13:49 +0000 committer Paul Mackerras Sat, 14 Jan 2006 13:19:18 +1100 [PATCH] powerpc: Make CHRP build again This makes CHRP build again, although it's untested because my Pegasos is currently in pieces. Signed-off-by: David Woodhouse Signed-off-by: Paul Mackerras commit a148058c5cf72ad23fb6c4cf9828f7276e13151c tree daa700d2c2940934b02923f8595753e59315146a parent fb7ffeb11bb7e9e75dc83ff67a4925c270e0fa3c parent 37d8dc82e0cd93eec77c5bcebd725c4ba661351a author Linus Torvalds Fri, 13 Jan 2006 17:13:44 -0800 committer Linus Torvalds Fri, 13 Jan 2006 17:13:44 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 91dc182ca6e25ee8b648ed2fb2a41859ead34903 tree d668133a2a3abd8345a5a2509c2da185dd180af8 parent 91f62a2491f45b5d46ebe5aca1fac3477355c9c1 author Dave C Boutcher Fri, 13 Jan 2006 18:39:24 -0600 committer Paul Mackerras Sat, 14 Jan 2006 12:04:25 +1100 [PATCH] powerpc: special-case ibm,suspend-me RTAS call Handle the ibm,suspend-me RTAS call specially. It needs to be wrapped in a set of synchronization hypervisor calls (H_Join). When the H_Join calls are made on all CPUs, the intent is that only one will return with H_Continue, meaning that he is the "last man standing". That CPU then issues the ibm,suspend-me call. What is interesting, of course, is that the CPU running when the rtas syscall is made, may NOT be the CPU that ultimately executes the ibm,suspend-me rtas call. Signed-off-by: Dave Boutcher Signed-off-by: Paul Mackerras commit 91f62a2491f45b5d46ebe5aca1fac3477355c9c1 tree 75ca2cf632e4de661fd9b250dbc1fbe40537349a parent 8f069b1a90bd97bf6d59a02ecabf0173d9175609 author Paul Mackerras Sat, 14 Jan 2006 11:17:32 +1100 committer Paul Mackerras Sat, 14 Jan 2006 11:48:29 +1100 ppc: Remove duplicate export of get_wchan The arch/powerpc version of process.c exports get_wchan itself. When I moved ARCH=ppc over to using arch/powerpc/kernel/process.c the get_wchan export in arch/ppc/kernel/ppc_ksyms.c became redundant, so remove it. Signed-off-by: Paul Mackerras (cherry picked from 9871166ad692121d6b944159ef3f053570158ea8 commit) commit 2e10c84b9cf0b2d269c5629048d8d6e35eaf6b2b tree 2b338e8282d4e740529aeb3d5f303c4883f8d667 parent 5d870c8e216f121307445c71caa72e7e10a20061 author David Brownell Wed, 11 Jan 2006 11:23:49 -0800 committer Greg Kroah-Hartman Fri, 13 Jan 2006 16:29:56 -0800 [PATCH] SPI: add spi_butterfly driver This adds a bitbanging parport based adaptor cable for AVR Butterfly, giving SPI links to its DataFlash chip and (eventually) firmware running in the card. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 5d870c8e216f121307445c71caa72e7e10a20061 tree d1d73cf5e520a10086f9a50a00fecb6041def89d parent 7111763d391b0c5a949a4f2575aa88cd585f0ff6 author Andrew Morton Wed, 11 Jan 2006 11:23:49 -0800 committer Greg Kroah-Hartman Fri, 13 Jan 2006 16:29:56 -0800 [PATCH] spi: remove fastcall crap gcc4 generates warnings when a non-FASTCALL function pointer is assigned to a FASTCALL one. Perhaps it has taste. Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 7111763d391b0c5a949a4f2575aa88cd585f0ff6 tree 376eef5003b71c6445c02bbe87950b2e365e0758 parent 8275c642ccdce09a2146d0a9eb022e3698ee927e author David Brownell Sun, 08 Jan 2006 13:34:29 -0800 committer Greg Kroah-Hartman Fri, 13 Jan 2006 16:29:56 -0800 [PATCH] spi: misc fixes This collects some small SPI patches that seem to be missing from the MM tree: - spi_butterfly kbuild hooks got dropped somehow; this restores them - quick fix for a (theoretical?) m25p80_write() oops noted by Andrew - quick fix for a potential config-specific oops for mtd_dataflash() - minor doc tweaks Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 8275c642ccdce09a2146d0a9eb022e3698ee927e tree ea330810f665fcbdf36d31b0da1643db528ad83f parent 2f9f762879015d738a5ec2ac8a16be94b3a4a06d author Vitaly Wool Sun, 08 Jan 2006 13:34:28 -0800 committer Greg Kroah-Hartman Fri, 13 Jan 2006 16:29:56 -0800 [PATCH] spi: use linked lists rather than an array This makes the SPI core and its users access transfers in the SPI message structure as linked list not as an array, as discussed on LKML. From: David Brownell Updates including doc, bugfixes to the list code, add spi_message_add_tail(). Plus, initialize things _before_ grabbing the locks in some cases (in case it grows more expensive). This also merges some bitbang updates of mine that didn't yet make it into the mm tree. Signed-off-by: Vitaly Wool Signed-off-by: Dmitry Pervushin Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 2f9f762879015d738a5ec2ac8a16be94b3a4a06d tree 73efe8bcdb970ee9c815c08358fb707b46aab983 parent 9904f22a7202c6b54e96b0cc9870817013c350a1 author Mike Lavender Sun, 08 Jan 2006 13:34:27 -0800 committer Greg Kroah-Hartman Fri, 13 Jan 2006 16:29:55 -0800 [PATCH] spi: M25 series SPI flash This was originally a driver for the ST M25P80 SPI flash. It's been updated slightly to handle other M25P series chips. For many of these chips, the specific type could be probed, but for now this just requires static setup with flash_platform_data that lists the chip type (size, format) and any default partitioning to use. Signed-off-by: David Brownell Cc: Mike Lavender Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 9904f22a7202c6b54e96b0cc9870817013c350a1 tree 02d526b1bf54b1c64e58a9f903269f9cdc6ec83c parent 2e5a7bd978bf4118a0c8edf2e6ff81d0a72fee47 author David Brownell Sun, 08 Jan 2006 13:34:26 -0800 committer Greg Kroah-Hartman Fri, 13 Jan 2006 16:29:55 -0800 [PATCH] spi: add spi_bitbang driver This adds a bitbanging spi master, hooking up to board/adapter-specific glue code which knows how to set and read the signals (gpios etc). This code kicks in after the glue code creates a platform_device with the right platform_data. That data includes I/O loops, which will usually come from expanding an inline function (provided in the header). One goal is that the I/O loops should be easily optimized down to a few GPIO register accesses, in common cases, for speed and minimized overhead. This understands all the currently defined protocol tweaking options in the SPI framework, and might eventually serve as as reference implementation. - different word sizes (1..32 bits) - differing clock rates - SPI modes differing by CPOL (affecting chip select and I/O loops) - SPI modes differing by CPHA (affecting I/O loops) - delays (usecs) after transfers - temporarily deselecting chips in mid-transfer A lot of hardware could work with this framework, though common types of controller can't reach peak performance without switching to a driver structure that supports pipelining of transfers (e.g. DMA queues) and maybe controllers (e.g. IRQ driven). Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 2e5a7bd978bf4118a0c8edf2e6ff81d0a72fee47 tree ee5b09d090c7a4a6cbf19ddf9f252d315b46eda1 parent 0c868461fcb8413cb9f691d68e5b99b0fd3c0737 author David Brownell Sun, 08 Jan 2006 13:34:25 -0800 committer Greg Kroah-Hartman Fri, 13 Jan 2006 16:29:55 -0800 [PATCH] spi: ads7836 uses spi_driver This updates the ads7864 driver to use the new "spi_driver" struct, and includes some minor unrelated cleanup. Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 0c868461fcb8413cb9f691d68e5b99b0fd3c0737 tree b43db6239f5d72a279b35b14de85cf34d8f6bc74 parent b885244eb2628e0b8206e7edaaa6a314da78e9a4 author David Brownell Sun, 08 Jan 2006 13:34:25 -0800 committer Greg Kroah-Hartman Fri, 13 Jan 2006 16:29:55 -0800 [PATCH] SPI core tweaks, bugfix This includes various updates to the SPI core: - Fixes a driver model refcount bug in spi_unregister_master() paths. - The spi_master structures now have wrappers which help keep drivers from needing class-level get/put for device data or for refcounts. - Check for a few setup errors that would cause oopsing later. - Docs say more about memory management. Highlights the use of DMA-safe i/o buffers, and zero-initializing spi_message and such metadata. - Provide a simple alloc/free for spi_message and its spi_transfer; this is only one of the possible memory management policies. Nothing to break code that already works. Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit b885244eb2628e0b8206e7edaaa6a314da78e9a4 tree e548fb3a94603c4a5406920c97246a78fe16b64a parent 1d6432fe10c3e724e307dd7137cd293a0edcae80 author David Brownell Sun, 08 Jan 2006 13:34:23 -0800 committer Greg Kroah-Hartman Fri, 13 Jan 2006 16:29:54 -0800 [PATCH] spi: add spi_driver to SPI framework This is a refresh of the "Simple SPI Framework" found in 2.6.15-rc3-mm1 which makes the following changes: * There's now a "struct spi_driver". This increase the footprint of the core a bit, since it now includes code to do what the driver core was previously handling directly. Documentation and comments were updated to match. * spi_alloc_master() now does class_device_initialize(), so it can at least be refcounted before spi_register_master(). To match, spi_register_master() switched over to class_device_add(). * States explicitly that after transfer errors, spi_devices will be deselected. We want fault recovery procedures to work the same for all controller drivers. * Minor tweaks: controller_data no longer points to readonly data; prevent some potential cast-from-null bugs with container_of calls; clarifies some existing kerneldoc, And a few small cleanups. Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 1d6432fe10c3e724e307dd7137cd293a0edcae80 tree e32ba2eaecff99b2b86455ed2df8365b082cd396 parent ffa458c1bd9b6f653008d450f337602f3d52a646 author David Brownell Sun, 08 Jan 2006 13:34:22 -0800 committer Greg Kroah-Hartman Fri, 13 Jan 2006 16:29:54 -0800 [PATCH] spi: mtd dataflash driver This is a conversion of the AT91rm9200 DataFlash MTD driver to use the lightweight SPI framework, and no longer be AT91-specific. It compiles down to less than 3KBytes on ARM. The driver allows board-specific init code to provide platform_data with the relevant MTD partitioning information, and hotplugs. This version has been lightly tested. Its parent at91_dataflash driver has been pretty well banged on, although kernel.org JFFS2 dataflash support was acting broken the last time I tried it. Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit ffa458c1bd9b6f653008d450f337602f3d52a646 tree 0e42f7d36790dd7088586b32d9c5290d34b10831 parent 8ae12a0d85987dc138f8c944cb78a92bf466cea0 author David Brownell Sun, 08 Jan 2006 13:34:21 -0800 committer Greg Kroah-Hartman Fri, 13 Jan 2006 16:29:54 -0800 [PATCH] spi: ads7846 driver This is a driver for the ADS7846 touchscreen sensor, derived from the corgi_ts and omap_ts drivers. Key differences from those two: - Uses the new SPI framework (minimalist version) - abstracts board-specific touchscreen info - Sysfs attributes for the temperature and voltage sensors - Uses fewer ARM-specific IRQ primitives The temperature and voltage sensors show up in sysfs like this: $ pwd /sys/devices/platform/omap-uwire/spi2.0 $ ls bus@ input:event0@ power/ temp1 vbatt driver@ modalias temp0 vaux $ cat modalias ads7846 $ cat temp0 991 $ cat temp1 1177 $ So far only basic testing has been done. There's a fair amount of hardware that uses this sensor, and which also runs Linux, which should eventually be able to use this driver. One portability note may be of special interest. It turns out that not all SPI controllers are happy issuing requests that do things like "write 8 bit command, read 12 bit response". Most of them seem happy to handle various word sizes, so the issue isn't "12 bit response" but rather "different rx and tx write sizes", despite that being a common MicroWire convention. So this version of the driver no longer reads 12 bit native-endian words; it reads 16-bit big-endian responses, then byteswaps them and shifts the results to discard the noise. Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 8ae12a0d85987dc138f8c944cb78a92bf466cea0 tree ca032f25bb26f88cc35d68c6f8065143ce64a6a8 parent 67daf5f11f06b9b15f8320de1d237ccc2e74fe43 author David Brownell Sun, 08 Jan 2006 13:34:19 -0800 committer Greg Kroah-Hartman Fri, 13 Jan 2006 16:29:54 -0800 [PATCH] spi: simple SPI framework This is the core of a small SPI framework, implementing the model of a queue of messages which complete asynchronously (with thin synchronous wrappers on top). - It's still less than 2KB of ".text" (ARM). If there's got to be a mid-layer for something so simple, that's the right size budget. :) - The guts use board-specific SPI device tables to build the driver model tree. (Hardware probing is rarely an option.) - This version of Kconfig includes no drivers. At this writing there are two known master controller drivers (PXA/SSP, OMAP MicroWire) and three protocol drivers (CS8415a, ADS7846, DataFlash) with LKML mentions of other drivers in development. - No userspace API. There are several implementations to compare. Implement them like any other driver, and bind them with sysfs. The changes from last version posted to LKML (on 11-Nov-2005) are minor, and include: - One bugfix (removes a FIXME), with the visible effect of making device names be "spiB.C" where B is the bus number and C is the chipselect. - The "caller provides DMA mappings" mechanism now has kerneldoc, for DMA drivers that want to be fancy. - Hey, the framework init can be subsys_init. Even though board init logic fires earlier, at arch_init ... since the framework init is for driver support, and the board init support uses static init. - Various additional spec/doc clarifications based on discussions with other folk. It adds a brief "thank you" at the end, for folk who've helped nudge this framework into existence. As I've said before, I think that "protocol tweaking" is the main support that this driver framework will need to evolve. From: Mark Underwood Update the SPI framework to remove a potential priority inversion case by reverting to kmalloc if the pre-allocated DMA-safe buffer isn't available. Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 37d8dc82e0cd93eec77c5bcebd725c4ba661351a tree 047c89d7a7e6bd8772ed22fc6c689fb75e21799f parent dca80b962a811a0454d779ab6250b59446a8c86c author David S. Miller Fri, 13 Jan 2006 16:19:44 -0800 committer David S. Miller Fri, 13 Jan 2006 16:19:44 -0800 [NETFILTER] x-tables: Missing linux/ipv6.h includes. Signed-off-by: David S. Miller commit 8f069b1a90bd97bf6d59a02ecabf0173d9175609 tree 8853964c83300fa58f5ae7c932cdb44ee89e3da8 parent 7d13d21ae85f64e35dcdae4d6a6286e62a38e0ab author Marcelo Tosatti Fri, 13 Jan 2006 14:16:12 -0200 committer Paul Mackerras Sat, 14 Jan 2006 11:14:27 +1100 [PATCH] powerpc/8xx: Use 8MB D-TLB's for kernel static mapping faults The following implements support for instantiation of 8MB D-TLB entries for the kernel direct virtual mapping on 8xx, thus reducing TLB space consumed for the kernel. Test used: writing 40MB from /dev/zero to file in ext2fs over RAMDISK. $ time dd if=/dev/zero of=file bs=4k count=10000 VANILLA 8MB kernel data pages real 0m11.485s real 0m11.267s user 0m0.218s user 0m0.250s sys 0m8.939s sys 0m9.108s real 0m11.518s real 0m10.978s user 0m0.203s user 0m0.222s sys 0m9.585s sys 0m9.138s real 0m11.554s real 0m10.967s user 0m0.228s user 0m0.222s sys 0m9.497s sys 0m9.127s real 0m11.633s real 0m11.286s user 0m0.214s user 0m0.196s sys 0m9.529s sys 0m9.134s and averages for both: real 11.54750 real 11.12450 Which is a 3.6% improvement in execution time. More improvement is expected for loads with larger kernel data footprint (real workloads). Signed-off-by: Marcelo Tosatti Signed-off-by: Paul Mackerras commit 7d13d21ae85f64e35dcdae4d6a6286e62a38e0ab tree 640ecf78469b9664cd9b2bcc1190ee595ad41ee3 parent eed320010872a11f5255b3d076e5b4f142af553d author Kumar Gala Fri, 13 Jan 2006 11:19:58 -0600 committer Paul Mackerras Sat, 14 Jan 2006 11:13:24 +1100 [PATCH] powerpc: Add MPC834x SYS board to arch/powerpc Add the first MPC83xx board that uses a flat device tree to arch/powerpc. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit eed320010872a11f5255b3d076e5b4f142af553d tree 68653741ed32150a7402f43c6a1adabeb8915f20 parent b8e383d592daaa35c944a9083ee92c995dce66ca author Kumar Gala Fri, 13 Jan 2006 11:19:13 -0600 committer Paul Mackerras Sat, 14 Jan 2006 11:13:22 +1100 [PATCH] powerpc: Add FSL SOC library and setup code Parse the flat device tree for devices on Freescale SOC's that we know about (gianfar, gianfar_mdio, i2c, mpc83xx_wdt). We need to setup platform devices and platform data for these devices to match arch/ppc usage. Also add a helper function (get_immrbase) that reports the base address of the MMIO registers on the SOC. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit b8e383d592daaa35c944a9083ee92c995dce66ca tree c6ca29847f47f3a5cbb77b6529d8982c837d1029 parent 7a45fb19cef93574230827e6e2c97ad5760ddecd author Kumar Gala Fri, 13 Jan 2006 10:15:17 -0600 committer Paul Mackerras Sat, 14 Jan 2006 11:12:23 +1100 [PATCH] powerpc: Allow for ppc_md restart, power_off, and halt to be NULL On a number of embedded reference boards there isn't always a way to reset, power_off, or halt the board. Rather than having each board implement a spin loop just let the generic code do it. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 7a45fb19cef93574230827e6e2c97ad5760ddecd tree 89c4d2628f7d8acea2e7c315097bb4488a7e8070 parent 80f15dc703b3677d0b025bafd215f1f3664c8978 author Andy Whitcroft Fri, 13 Jan 2006 12:35:49 +0000 committer Paul Mackerras Sat, 14 Jan 2006 11:12:16 +1100 [PATCH] powerpc: oprofile cpu type names clash with other code In 2.6.15-git6 a change was commited in the oprofile support in the powerpc architecture. It introduced the powerpc_oprofile_type which contains the define G4. This causes a name clash with the existing wacom usb tablet driver. CC [M] drivers/usb/input/wacom.o drivers/usb/input/wacom.c:98: error: conflicting types for `G4' include/asm/cputable.h:37: error: previous declaration of `G4' CC [M] drivers/usb/mon/mon_text.o make[3]: *** [drivers/usb/input/wacom.o] Error 1 make[2]: *** [drivers/usb/input] Error 2 The elements of an enum declared in global scope are effectivly global identifiers themselves. As such we need to ensure the names are unique. This patch updates the later oprofile support to use unique names. Signed-off-by: Andy Whitcroft Signed-off-by: Paul Mackerras commit fb7ffeb11bb7e9e75dc83ff67a4925c270e0fa3c tree 6344d7a8a8a828f346f8eceb99339f8ba2c63cc1 parent 69eebed240b32377b9034551f1b8c4ae2774ceb6 parent 95ed644fd12f53c6fc778f3f246974e5fe3a9468 author Linus Torvalds Fri, 13 Jan 2006 15:29:07 -0800 committer Linus Torvalds Fri, 13 Jan 2006 15:29:07 -0800 Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband commit 69eebed240b32377b9034551f1b8c4ae2774ceb6 tree 6955dbf8110c6f03d64747fe55e1feb1d81e951f parent 67daf5f11f06b9b15f8320de1d237ccc2e74fe43 parent dca80b962a811a0454d779ab6250b59446a8c86c author Linus Torvalds Fri, 13 Jan 2006 15:28:10 -0800 committer Linus Torvalds Fri, 13 Jan 2006 15:28:10 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 80f15dc703b3677d0b025bafd215f1f3664c8978 tree fa60781edcedefe4eb6baa6d213a62bbc6d7803a parent 25cd6aa0aa059b48cdcef2a00981b14fafd5161a author Paul Mackerras Sat, 14 Jan 2006 10:11:39 +1100 committer Paul Mackerras Sat, 14 Jan 2006 10:11:39 +1100 powerpc: Provide a suitable AT_PLATFORM value The glibc folks want to use AT_PLATFORM to select between possible alternative versions of shared libraries. This commit makes the kernel supply an AT_PLATFORM string that indicates what class of processor we are running on. Processors with the same set of user-level instructions and roughly the same instruction scheduling characteristics are given the same AT_PLATFORM value; for example, 821, 823 and 860 are all reported as "ppc823", and 7447, 7447A, 7448, 7450, 7451, 7455 are all called "ppc7450". The intention is that the AT_PLATFORM values match the values that gcc accepts for the -mcpu= option. For values which are numeric (e.g. -mcpu=750), "ppc" has been prepended. This also adds a PPC_FEATURE_BOOKE bit to the AT_HWCAP value and sets it for the 440 family and the Freescale 85xx family. Signed-off-by: Paul Mackerras commit d50f5c5ca0c3426669fbe11ad4d5708d333eb9fb tree 6897918bb6aa95681cad854b93cbe8ecf8e5bee8 parent d3ef1f5aafcf7a4129eb2078c70bc9e577bc3af1 author Andreas Schwab Fri, 13 Jan 2006 23:46:38 +0100 committer Tony Luck Fri, 13 Jan 2006 15:02:33 -0800 [IA64] build broken for ia64 simserial.c TTY layer buffering revamp broke ia64 in commit 33f0f88f1c51ae5c2d593d26960c760ea154c2e2 CC arch/ia64/hp/sim/simserial.o arch/ia64/hp/sim/simserial.c: In function `receive_chars': arch/ia64/hp/sim/simserial.c:170: error: structure has no member named `flip' ... and so on ... make[1]: *** [arch/ia64/hp/sim/simserial.o] Error 1 Patch from Andreas Schwab. Signed-off-by: Tony Luck commit 95ed644fd12f53c6fc778f3f246974e5fe3a9468 tree edf9f57192ad95f9165b3be5dbf1e8e745249ed1 parent 9eacee2ac624bfa9740d49355dbe6ee88d0cba0a author Ingo Molnar Fri, 13 Jan 2006 14:51:39 -0800 committer Roland Dreier Fri, 13 Jan 2006 14:51:39 -0800 IB: convert from semaphores to mutexes semaphore to mutex conversion by Ingo and Arjan's script. Signed-off-by: Ingo Molnar [ Sanity-checked on real IB hardware ] Signed-off-by: Roland Dreier commit d3ef1f5aafcf7a4129eb2078c70bc9e577bc3af1 tree 619647d90b0a51d39e80bbc20b59e7e7dccbf510 parent e026cca0f2c09c4c28c902db6384fd8a412671d6 author Zhang Yanmin Fri, 13 Jan 2006 14:45:21 -0800 committer Tony Luck Fri, 13 Jan 2006 14:45:21 -0800 [IA64] prevent accidental modification of args in jprobe handler When jprobe is hit, the function parameters of the original function should be saved before jprobe handler is executed, and restored it after jprobe handler is executed, because jprobe handler might change the register values due to tail call optimization by the gcc. Signed-off-by: Zhang Yanmin Signed-off-by: Anil S Keshavamurthy Signed-off-by: Tony Luck commit dca80b962a811a0454d779ab6250b59446a8c86c tree 313ddfa8017aaa47b53287293ee2265bf0596fd9 parent ee51b1b6cece4dad408feeb0c3c9adb9cbd9f7d9 author Patrick McHardy Fri, 13 Jan 2006 14:36:55 -0800 committer David S. Miller Fri, 13 Jan 2006 14:36:55 -0800 [PKT_SCHED]: Change default clock source to gettimeofday The default of using jiffies is very bad and results in underutilization except with very low bandwidth. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit ee51b1b6cece4dad408feeb0c3c9adb9cbd9f7d9 tree bf7f1c6bb864f287d720b167e565ee3799d957b4 parent 7b11f69fb5c475f521db79f5fa22104e15842671 author Patrick McHardy Fri, 13 Jan 2006 14:34:36 -0800 committer David S. Miller Fri, 13 Jan 2006 14:34:36 -0800 [XFRM]: IPsec tunnel wildcard address support When the source address of a tunnel is given as 0.0.0.0 do a routing lookup to get the real source address for the destination and fill that into the acquire message. This allows to specify policies like this: spdadd 172.16.128.13/32 172.16.0.0/20 any -P out ipsec esp/tunnel/0.0.0.0-x.x.x.x/require; spdadd 172.16.0.0/20 172.16.128.13/32 any -P in ipsec esp/tunnel/x.x.x.x-0.0.0.0/require; Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 7b11f69fb5c475f521db79f5fa22104e15842671 tree 631f15d04fb8306b4ce7031f7a75ed44401e68c3 parent 46b86a2da0fd14bd49765330df63a62279833acb author Kris Katterjohn Fri, 13 Jan 2006 14:33:06 -0800 committer David S. Miller Fri, 13 Jan 2006 14:33:06 -0800 [NET]: Clean up comments for sk_chk_filter() This removes redundant comments, and moves one comment to a better location. Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit 46b86a2da0fd14bd49765330df63a62279833acb tree 069b4741a970db9b03772a870b4d63398b1f56e0 parent 23b0ca5bf52cef0ab0f0fe247cb91cbef836e7eb author Joe Perches Fri, 13 Jan 2006 14:29:07 -0800 committer David S. Miller Fri, 13 Jan 2006 14:29:07 -0800 [NET]: Use NIP6_FMT in kernel.h There are errors and inconsistency in the display of NIP6 strings. ie: net/ipv6/ip6_flowlabel.c There are errors and inconsistency in the display of NIPQUAD strings too. ie: net/netfilter/nf_conntrack_ftp.c This patch: adds NIP6_FMT to kernel.h changes all code to use NIP6_FMT fixes net/ipv6/ip6_flowlabel.c adds NIPQUAD_FMT to kernel.h fixes net/netfilter/nf_conntrack_ftp.c changes a few uses of "%u.%u.%u.%u" to NIPQUAD_FMT for symmetry to NIP6_FMT Signed-off-by: Joe Perches Signed-off-by: David S. Miller commit e026cca0f2c09c4c28c902db6384fd8a412671d6 tree 56c7803066b2ec1833ae669f909513f3b3483d60 parent 15029285dc977a392e74eacb7625984b71d4f605 author Keith Owens Fri, 06 Jan 2006 10:36:06 +1100 committer Tony Luck Fri, 13 Jan 2006 14:22:35 -0800 [IA64] Add hotplug cpu to salinfo.c, replace semaphore with mutex Add hotplug cpu support to salinfo.c. The cpu_event field is a cpumask so use the cpu_* macros consistently, replacing the existing mixture of cpu_* and *_bit macros. Instead of counting the number of outstanding events in a semaphore and trying to track that count over user space context, interrupt context, non-maskable interrupt context and cpu hotplug, replace the semaphore with a test for "any bits set" combined with a mutex. Modify the locking to make the test for "work to do" an atomic operation. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit 15029285dc977a392e74eacb7625984b71d4f605 tree 0fed8aac81f7b4491121550b3670b4a8aeabcff9 parent 6d6e420005f3753392b608a614eee8475bdc16f7 author Jason Uhlenkott Fri, 30 Dec 2005 02:27:01 -0800 committer Tony Luck Fri, 13 Jan 2006 14:16:08 -0800 [IA64] Handle debug traps in fsys mode We need to handle debug traps in fsys mode non-fatally. They can happen now that we have fsyscalls which contain probe instructions. Signed-off-by: Jason Uhlenkott Signed-off-by: Tony Luck commit 25cd6aa0aa059b48cdcef2a00981b14fafd5161a tree 7f7469861c44889ed97f81afeda9a9d08afa0e50 parent b11fa580ac06b34944a2b46a44ebce2c284e1a76 parent 67daf5f11f06b9b15f8320de1d237ccc2e74fe43 author Paul Mackerras Sat, 14 Jan 2006 09:15:28 +1100 committer Paul Mackerras Sat, 14 Jan 2006 09:15:28 +1100 Merge ../linux-2.6 commit 6d6e420005f3753392b608a614eee8475bdc16f7 tree a59860fc15ce4e92c00015d068de4aba12a9b889 parent cfbb1426bd76c4ba6ec4491c8df2a5dd3d984750 author Prarit Bhargava Fri, 23 Dec 2005 13:33:25 -0500 committer Tony Luck Fri, 13 Jan 2006 14:13:08 -0800 [IA64-SGI] Fix sn_flush_device_kernel & spinlock initialization This patch separates the sn_flush_device_list struct into kernel and common (both kernel and PROM accessible) structures. As it was, if the size of a spinlock_t changed (due to additional CONFIG options, etc.) the sal call which populated the sn_flush_device_list structs would erroneously write data (and cause memory corruption and/or a panic). This patch does the following: 1. Removes sn_flush_device_list and adds sn_flush_device_common and sn_flush_device_kernel. 2. Adds a new SAL call to populate a sn_flush_device_common struct per device, not per widget as previously done. 3. Correctly initializes each device's sn_flush_device_kernel spinlock_t struct (before it was only doing each widget's first device). Signed-off-by: Prarit Bhargava Signed-off-by: Tony Luck commit cfbb1426bd76c4ba6ec4491c8df2a5dd3d984750 tree 4fe639274b651ea77c9130eae0ccca36e16d6d17 parent 17e8ce0e9417eee1f57f9b3d4aad168425e043c3 author Jack Steiner Thu, 22 Dec 2005 13:45:41 -0600 committer Tony Luck Fri, 13 Jan 2006 14:10:06 -0800 [IA64] Hole in IA64 TLB flushing from system threads I originally thought this was an bug only in the SN code, but I think I also see a hole in the generic IA64 tlb code. (Separate patch was sent for the SN problem). It looks like there is a bug in the TLB flushing code. During context switch, kernel threads (kswapd, for example) inherit the mm of the task that was previously running on the cpu. Normally, this is ok because the previous context is still loaded into the RR registers. However, if the owner of the mm migrates to another cpu, changes it's context number, and references a page before kswapd issues a tlb_purge for that same page, the purge will be done with a stale context number (& RR registers). Signed-off-by: Tony Luck commit 17e8ce0e9417eee1f57f9b3d4aad168425e043c3 tree 58bae85da8cedb339d945d43191ff910501bd175 parent 8a4b7b6f187f2967bff222e8c3758ab47efdb14f author Russ Anderson Fri, 16 Dec 2005 17:19:01 -0600 committer Tony Luck Fri, 13 Jan 2006 14:06:53 -0800 [IA64-SGI] Altix BTE error handling fixes Altix (shub2) pushes the BTE clean-up into SAL. This patch correctly interfaces with the now implemented SAL call. It also fixes a bug when delaying clean-up to allow busy BTEs to complete (or error out). Signed-off-by: Russ Anderson Signed-off-by: Tony Luck commit 7493a314cb83797ce612a577475aacaedc553fed tree 69a0bf18e22927d86637a8afb655b76dfbecb06e parent d600b97cf6ef8c24c9b87a4b7ce390c0d13684e8 author Dmitry Torokhov Fri, 13 Jan 2006 22:06:43 +0000 committer Russell King Fri, 13 Jan 2006 22:06:43 +0000 [SERIAL] serial8250: convert to the new platform device interface Do not use platform_device_register_simple() as it is going away. Also set up driver's owner to create link driver->module in sysfs. Signed-off-by: Dmitry Torokhov Signed-off-by: Russell King commit 8a4b7b6f187f2967bff222e8c3758ab47efdb14f tree 5901743857e67ebdcbd4ef0cbd14076fa9cd6407 parent 9335d48e10d2d07eacaddf889ec1efb8a5a5082e author Francois Wellenrieter Fri, 13 Jan 2006 14:01:01 -0800 committer Tony Luck Fri, 13 Jan 2006 14:01:01 -0800 [IA64] Fix conversion of pal_min_state physical address On return from INIT handler we must convert the address of the minstate area from a kernel virtual uncached address (0xC...) to physical uncached (0x8...). A typo (or thinko?) in the code converted to physical cached. Signed-off-by: Tony Luck commit d600b97cf6ef8c24c9b87a4b7ce390c0d13684e8 tree f49dad4a2c4a3712f2ca7a92e6a33496511f59f7 parent e2862f6a833ea26591c7feb755dc2e46909182a6 author Adrian Bunk Fri, 13 Jan 2006 21:57:22 +0000 committer Russell King Fri, 13 Jan 2006 21:57:22 +0000 [SERIAL] fix SERIAL_M32R_PLDSIO dependencies This patch fixes a typo in the dependencies reported by Jean-Luc Leger . Signed-off-by: Adrian Bunk Signed-off-by: Russell King commit 51828abc17a4ae0f7fb3879e00a30da7bdc7ca20 tree 53d45f0d2bb11466a24f9b9ca898c29538a023aa parent 43ecb9a33ba8c93ebbda81d48ca05f0d1bbf9056 author Andrew Morton Fri, 13 Jan 2006 21:44:18 +0000 committer Russell King Fri, 13 Jan 2006 21:44:18 +0000 [MMC] mmc_blk_probe() warning fix drivers/mmc/mmc_block.c: In function `mmc_blk_probe': drivers/mmc/mmc_block.c:467: warning: long unsigned int format, different type arg (arg 5) We don't know what size sector_t is - cast it. Signed-off-by: Andrew Morton Signed-off-by: Russell King commit e2862f6a833ea26591c7feb755dc2e46909182a6 tree debbb0482bb717d08d5d543b1a772012690970e1 parent 43ecb9a33ba8c93ebbda81d48ca05f0d1bbf9056 author Ingo Molnar Fri, 13 Jan 2006 21:37:07 +0000 committer Russell King Fri, 13 Jan 2006 21:37:07 +0000 [SERIAL] convert uart_state.sem to uart_state.mutex semaphore to mutex conversion. the conversion was generated via scripts, and the result was validated automatically via a script as well. build and boot tested. Signed-off-by: Ingo Molnar Signed-off-by: Russell King commit fa0fe48fcca9ea7f8c13e21d2646bbaa1747d183 tree 803a155f42d989ad15d3dc74389dfa6277a78895 parent 5ff3fd27161127cc464fc04548d58672a6a8272a author Russell King Fri, 13 Jan 2006 21:30:48 +0000 committer Russell King Fri, 13 Jan 2006 21:30:48 +0000 [ARM] Separate VIC (vectored interrupt controller) support from Versatile Other machines may wish to make use of the VIC support code, so move it to arch/arm/common. Signed-off-by: Russell King commit 5ff3fd27161127cc464fc04548d58672a6a8272a tree 6432d3ae801cc5b673a6865837c7ed1f522292bc parent afeb90ca08000cbd75f22836e667f368e25fe3ac author Russell King Fri, 13 Jan 2006 21:09:17 +0000 committer Russell King Fri, 13 Jan 2006 21:09:17 +0000 [ARM] Remove useless 'default n' from Kconfig files The default is already 'n' so there's no need to explicitly state it. Signed-off-by: Russell King commit 23b0ca5bf52cef0ab0f0fe247cb91cbef836e7eb tree 3643a547de2c6f3bad63361d1584ff566c9012ba parent 2e4e6a17af35be359cc8f1c924f8f198fbd478cc author Per Liden Fri, 13 Jan 2006 13:06:40 -0800 committer David S. Miller Fri, 13 Jan 2006 13:06:40 -0800 [PATCH] genetlink: don't touch module ref count Increasing the module ref count at registration will block the module from ever being unloaded. In fact, genetlink should not care about the owner at all. This patch removes the owner field from the struct registered with genetlink. Signed-off-by: Per Liden Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit afeb90ca08000cbd75f22836e667f368e25fe3ac tree f9c3b5c842f8db8dc188185b65a0cae311175c47 parent e72b04756f16e40dfd6dab3da81e03fe6dfe16e6 author Hyok S. Choi Fri, 13 Jan 2006 21:05:25 +0000 committer Russell King Fri, 13 Jan 2006 21:05:25 +0000 [ARM] Support register switch in nommu mode This patch adds register switch support in nommu mode. Signed-off-by: Hyok S. Choi Signed-off-by: Russell King commit e72b04756f16e40dfd6dab3da81e03fe6dfe16e6 tree 1fcdeb3d50aee061ca28bcf848fe9707a2d7a1d9 parent 946d4935fc61e1479f8c057d58c64110bb43d3b0 author Hyok S. Choi Fri, 13 Jan 2006 21:04:17 +0000 committer Russell King Fri, 13 Jan 2006 21:04:17 +0000 [ARM] start_thread fixup for nommu mode This patch supports start_thread in nommu mode which requires the base index register. Signed-off-by: Hyok S. Choi Signed-off-by: Russell King commit 946d4935fc61e1479f8c057d58c64110bb43d3b0 tree fa922ac26c5ba6bd66e6c5095ceee5cb3613ee92 parent 2df96b34aae08e0aa688ef7a8444febb8ec44172 author Nicolas Pitre Fri, 13 Jan 2006 20:51:52 +0000 committer Russell King Fri, 13 Jan 2006 20:51:52 +0000 [ARM] 3260/1: remove phys_ram from struct machine_desc (part 2) Patch from Nicolas Pitre This field is redundent since it must be equal to PHYS_OFFSET anyway. Now that no code uses it anymore, mark it deprecated and remove all initializations from the tree. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 2df96b34aae08e0aa688ef7a8444febb8ec44172 tree 76de18247bba9e84f1239c2ada972c511e7f63a1 parent 3261e362f603cf2649f90e9ad2d1a1f98f69291a author Nicolas Pitre Fri, 13 Jan 2006 20:51:46 +0000 committer Russell King Fri, 13 Jan 2006 20:51:46 +0000 [ARM] 3259/1: remove phys_ram from struct machine_desc (part 1) Patch from Nicolas Pitre This field is redundent since it must be equal to PHYS_OFFSET anyway. First, let's use PHYS_OFFSET directly instead. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 3261e362f603cf2649f90e9ad2d1a1f98f69291a tree 73b2469a0af03022217c25eb0469fec8b6d1995c parent dd29c7277126db6884df42d41f2fbe2ebc10041e author Matt Reimer Fri, 13 Jan 2006 20:51:44 +0000 committer Russell King Fri, 13 Jan 2006 20:51:44 +0000 [ARM] 3258/1: IMX serial: fix parity Patch from Matt Reimer IMX serial parity generation doesn't work because of a simple logic error. This patch fixes it and now Bluetooth works on R1000. Signed-off-by: Matt Reimer Signed-off-by: Russell King commit dd29c7277126db6884df42d41f2fbe2ebc10041e tree 24f88807ec27882ace0ac4254a7cac72742d0fa7 parent 43ecb9a33ba8c93ebbda81d48ca05f0d1bbf9056 author Lennert Buytenhek Fri, 13 Jan 2006 20:51:43 +0000 committer Russell King Fri, 13 Jan 2006 20:51:43 +0000 [ARM] 3257/1: ixp2000: map in scratch and sram Patch from Lennert Buytenhek For the ixp2000 netdev driver, we need to map in a chunk of SRAM (to store the transmit and receive descriptors) and the scratch get/put area (so that we can use the scratchpad rings in the cpu for managing the descriptors.) These are the final two mappings needed for the netdev driver and the last missing piece for the driver in mainline to work. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 9c08a938ce5a3e1c9d5f764dc6ae844cb1af76ff tree 9bd0a984b2e5466454e2633783786a516fe14484 parent 2d7b5a70e01ff8b1b054d8313362e454e3057c5a author Michael Richardson Mon, 09 Jan 2006 01:04:51 -0800 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:12 -0800 [PATCH] device_shutdown can loop if the driver frees itself This patch changes device_shutdown() to use the newly introduced safe reverse list traversal. We experienced loops on system reboot if we had removed and re-inserted our device from the device list. We noticed this problem on PPC405. Our PCI IDE device comes and goes a lot. Our hypothesis was that there was a loop caused by the driver->shutdown freeing memory. It is possible that we do something wrong as well, but being unable to reboot is kind of nasty. Signed-off-by: Michael Richardson Cc: Patrick Mochel Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 2d7b5a70e01ff8b1b054d8313362e454e3057c5a tree db0c60aac7ed0d07de1c1b53957bf11fac4ffc17 parent 8bbace7e686f1536905c703038a7eddfb1520264 author Jean Delvare Tue, 27 Dec 2005 19:45:58 +0100 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:11 -0800 [PATCH] platform-device-del typo fix Please fold this typo fix into platform-device-del.patch, as was discussed earlier on LKML: http://lkml.org/lkml/2005/12/10/76 Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 8bbace7e686f1536905c703038a7eddfb1520264 tree 99253fd56bebd7903ac8dd05ee7c236c765e2798 parent 348290a4ae143a692124330942b464ccdb0d0365 author Cornelia Huck Wed, 11 Jan 2006 10:56:22 +0100 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:11 -0800 [PATCH] Add {css,ccw}_bus_type probe, remove, shutdown methods. The following patch converts css_bus_type and ccw_bus_type to use the new bus_type methods. Signed-off-by: Cornelia Huck CC: Martin Schwidefsky Signed-off-by: Greg Kroah-Hartman commit 348290a4ae143a692124330942b464ccdb0d0365 tree 1fae9909d4d4519c9548b5940be2dca7e31935c2 parent d78967fb035aeb839a047ae69ce5f1ff39288a8d author Russell King Fri, 06 Jan 2006 11:42:03 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:11 -0800 [PATCH] Add bttv sub bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit d78967fb035aeb839a047ae69ce5f1ff39288a8d tree e76337604583e4052b8a685223af1d342f40ad19 parent 4031bbe4bbec6c0fe50412ef7fb43a270b0f29f1 author Russell King Fri, 06 Jan 2006 11:41:32 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:11 -0800 [PATCH] Remove usb gadget generic driver methods USB gadget drivers make no use of these, remove the pointless comments. Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 4031bbe4bbec6c0fe50412ef7fb43a270b0f29f1 tree 1e1449ba492ab04d8c5fbc75f9761be237bcae72 parent bbbe3a41f7ee529f7f4fdcc1bc1157234bac0766 author Russell King Fri, 06 Jan 2006 11:41:00 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:10 -0800 [PATCH] Add ide_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit bbbe3a41f7ee529f7f4fdcc1bc1157234bac0766 tree a1915bb813d98f68d231d19e762c57d6ddd52e5e parent fc3d3ddd3e628d9f22d4aa56a640d0b31c977a8f author Russell King Thu, 05 Jan 2006 14:44:46 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:10 -0800 [PATCH] Add Pseudo LLD bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit fc3d3ddd3e628d9f22d4aa56a640d0b31c977a8f tree 78d353c96c168963c12a666bcfabaf87df6cec99 parent b6a01e9bda69aaf22f3a23bafc91c0fb51420a7a author Russell King Thu, 05 Jan 2006 14:44:14 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:10 -0800 [PATCH] Add rio_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit b6a01e9bda69aaf22f3a23bafc91c0fb51420a7a tree f98effb1d882d8d2648a989e3a6bd72d853bdb16 parent ac33bc3d54936d364c1f979e50f43dfa3f9a13c1 author Russell King Thu, 05 Jan 2006 14:43:43 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:10 -0800 [PATCH] Add zorro_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit ac33bc3d54936d364c1f979e50f43dfa3f9a13c1 tree 22ea930b8b2a642d0e6efeaa069a111a0b16d0a6 parent ff2dae79773658eaaab731663ddca9f7975430eb author Russell King Thu, 05 Jan 2006 14:43:11 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:09 -0800 [PATCH] Add usb_serial_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit ff2dae79773658eaaab731663ddca9f7975430eb tree c27859a56e87dbddd041a787dfad0e6d4507680e parent f9ccf4569ac4597e9e09d301ca362d90b4a1046d author Russell King Thu, 05 Jan 2006 14:42:40 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:09 -0800 [PATCH] Add superhyway_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit f9ccf4569ac4597e9e09d301ca362d90b4a1046d tree 67a3eaf663e26e9b6b6625fbc1114237db28f43c parent 4681fc320889de4591f945c4fdf08546eb9ab266 author Russell King Thu, 05 Jan 2006 14:42:09 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:09 -0800 [PATCH] Add ccwgroup_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 4681fc320889de4591f945c4fdf08546eb9ab266 tree 84da79632be2925c68eed99636c184f8342d270e parent 1d0baa3a1c836f0403b318d549fd49ebc73ee631 author Russell King Thu, 05 Jan 2006 14:41:37 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:09 -0800 [PATCH] Add pnp_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 1d0baa3a1c836f0403b318d549fd49ebc73ee631 tree 22a59c7e5840c035f79703419bdb25fde180ce2a parent 4d0b653cdfde193944784c01fa3359b0a444dcf1 author Russell King Thu, 05 Jan 2006 14:40:58 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:08 -0800 [PATCH] Add pcmcia_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 4d0b653cdfde193944784c01fa3359b0a444dcf1 tree d3f359a72bd4df788277c2bf518809ff184be058 parent 413b486e18587fd53c9954252e6648f9450c734e author Russell King Thu, 05 Jan 2006 14:40:27 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:08 -0800 [PATCH] Add mmc_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 413b486e18587fd53c9954252e6648f9450c734e tree de5bb0cea40571fb97d93b54746cf21f214df971 parent 4866b124a1ded3b94b0cea0bd543f46ffa9a3943 author Russell King Thu, 05 Jan 2006 14:39:56 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:08 -0800 [PATCH] Add MCP bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 4866b124a1ded3b94b0cea0bd543f46ffa9a3943 tree 5b9bcc0a631e34db71dbb2e3856a8bc3e5a07e07 parent 30226f8199cb7f5ace767f65bcebb85941612dfc author Russell King Thu, 05 Jan 2006 14:39:24 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:08 -0800 [PATCH] Add macio_bus_type probe and remove methods Signed-off-by: Russell King Acked-by: Benjamin Herrenschmidt Signed-off-by: Greg Kroah-Hartman commit 30226f8199cb7f5ace767f65bcebb85941612dfc tree 8155e420d407bf831aa6aa838328a5a2fbfe3ee0 parent 29a4a20e9fe7459f9d464b8be070ce8b7335be7e author Russell King Thu, 05 Jan 2006 14:38:53 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:07 -0800 [PATCH] Add serio bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 29a4a20e9fe7459f9d464b8be070ce8b7335be7e tree fab8064c3d917482ee8c885ed10f75860f240d70 parent b864c7d5d17c171c4ead0791b44ab05d7a21dc0c author Russell King Thu, 05 Jan 2006 14:38:22 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:07 -0800 [PATCH] Add gameport bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit b864c7d5d17c171c4ead0791b44ab05d7a21dc0c tree f9822f71b07920f819c3282084fa2831fc6d7458 parent 5b34bf88779fa965a134b92ab61688e0d1ddfe1d author Russell King Thu, 05 Jan 2006 14:37:50 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:07 -0800 [PATCH] Add i2c_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 5b34bf88779fa965a134b92ab61688e0d1ddfe1d tree bf3387d7cc4d8880894d8884baf9f3e318e1e26e parent 2f53a80fc0f6287d4bd6cc2422cd095c90f30410 author Russell King Thu, 05 Jan 2006 14:37:18 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:07 -0800 [PATCH] Add dio_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 2f53a80fc0f6287d4bd6cc2422cd095c90f30410 tree 2247f49c965012d22f6d67442b7be64122958f55 parent 79f9fb8886d901fd549793a4ad632ece51c68405 author Russell King Thu, 05 Jan 2006 14:36:47 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:07 -0800 [PATCH] Add vio_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 79f9fb8886d901fd549793a4ad632ece51c68405 tree f51fb4fd185efde0cf2c82245ee1f9a67848d062 parent c6a09196bab3bc9e515b713193d61e3e87c720f7 author Russell King Thu, 05 Jan 2006 14:36:16 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:06 -0800 [PATCH] Add of_platform_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit c6a09196bab3bc9e515b713193d61e3e87c720f7 tree 17636bb7c0c0d9cb01868a2d9bdbd56df25c0855 parent 91fb53866d00b4eaeaf1cbfd2237799cb152f742 author Russell King Thu, 05 Jan 2006 14:35:42 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:06 -0800 [PATCH] Add sh_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 91fb53866d00b4eaeaf1cbfd2237799cb152f742 tree 5c9181d21c4f1e74cbc6592659d608b4855b6287 parent ad3ed31c682d956d2187e562635c55c8c74c1021 author Russell King Thu, 05 Jan 2006 14:35:09 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:06 -0800 [PATCH] Add ocp_bus_type probe and remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit ad3ed31c682d956d2187e562635c55c8c74c1021 tree b050cef6a5f686f9cf2b9b16cbf63c7387053da3 parent 83dfb8b67522f6cf1fc5771a8be0a9095eea65d4 author Russell King Thu, 05 Jan 2006 14:34:38 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:06 -0800 [PATCH] Add parisc_bus_type probe and remove methods Signed-off-by: Russell King Acked-by: Matthew Wilcox Signed-off-by: Greg Kroah-Hartman commit 83dfb8b67522f6cf1fc5771a8be0a9095eea65d4 tree b146d1eaa04b9ff40e0ce755bd041dcae23cccc6 parent 5c0784c350516856ed15deb6adf6b053bf427792 author Russell King Thu, 05 Jan 2006 14:34:06 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:05 -0800 [PATCH] Add tiocx bus_type probe/remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 5c0784c350516856ed15deb6adf6b053bf427792 tree 283a9078a98288b2f8352d8d6999ac32ffb05f5d parent 306955be37dd1b1f232f19766227ccccb83f7873 author Russell King Thu, 05 Jan 2006 14:33:35 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:05 -0800 [PATCH] Add logic module bus_type probe/remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 306955be37dd1b1f232f19766227ccccb83f7873 tree 580a152ea67887e0754419afd7868fb22403d6ad parent 2876ba4321f0f85c40726b736eeaadf317803f16 author Russell King Thu, 05 Jan 2006 14:33:04 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:05 -0800 [PATCH] Add locomo bus_type probe/remove methods Signed-off-by: Russell King Signed-off-by: Richard Purdie Signed-off-by: Greg Kroah-Hartman commit 2876ba4321f0f85c40726b736eeaadf317803f16 tree bff3510763543ff92b613810347c34fcf7b4bdb7 parent e08b754161d6de4f91e2d3c805f350b35a95d8b8 author Russell King Thu, 05 Jan 2006 14:32:32 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:05 -0800 [PATCH] Add SA1111 bus_type probe/remove methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit e08b754161d6de4f91e2d3c805f350b35a95d8b8 tree 5a0dad12bed3064416e78f753982d9c7137a36be parent b15d686a2b589c9e4f1ea116553e9c3c3d030dae author Russell King Thu, 05 Jan 2006 14:30:57 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:05 -0800 [PATCH] Add ecard_bus_type probe/remove/shutdown methods Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit b15d686a2b589c9e4f1ea116553e9c3c3d030dae tree a4412435d021a65c38a4e91b2ec6e94aaba76ce2 parent 594c8281f90560faf9632d91bb9d402cbe560e63 author Russell King Thu, 05 Jan 2006 14:30:22 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:04 -0800 [PATCH] Add pci_bus_type probe and remove methods Move the PCI bus device probe/remove methods to the bus_type structure. We leave the shutdown method alone since there are compatibility issues with that. Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit 594c8281f90560faf9632d91bb9d402cbe560e63 tree abeb32df086cfd204accad33b11040381c31689d parent bd37e5a951ad2123d3f51f59c407b5242946b6ba author Russell King Thu, 05 Jan 2006 14:29:51 +0000 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:04 -0800 [PATCH] Add bus_type probe, remove, shutdown methods. Add bus_type probe, remove and shutdown methods to replace the corresponding methods in struct device_driver. This matches the way we handle the suspend/resume methods. Since the bus methods override the device_driver methods, warn if a device driver is registered whose methods will not be called. The long-term idea is to remove the device_driver methods entirely. Signed-off-by: Russell King Signed-off-by: Greg Kroah-Hartman commit bd37e5a951ad2123d3f51f59c407b5242946b6ba tree 3a9b4875ee602d9495d4b3e1f202b20d644ae793 parent 67daf5f11f06b9b15f8320de1d237ccc2e74fe43 author Kay Sievers Thu, 05 Jan 2006 13:19:55 +0100 committer Greg Kroah-Hartman Fri, 13 Jan 2006 11:26:04 -0800 [PATCH] INPUT: add MODALIAS to the event environment input: add MODALIAS to the event environment Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 9335d48e10d2d07eacaddf889ec1efb8a5a5082e tree a0f9c33010e42d5c195dd4da5f413528d97a303a parent 87a149d6bba5949fbc53b8a21189b54748ac9e2a author Dean Nelson Tue, 10 Jan 2006 11:12:32 -0600 committer Tony Luck Fri, 13 Jan 2006 10:40:23 -0800 [IA64-SGI] move xpc.h to include/asm-ia64/sn (cleanup) Cleanup a few items after moving xpc.h from arch/ia64/sn/kernel to include/asm-ia64/sn. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 87a149d6bba5949fbc53b8a21189b54748ac9e2a tree 860024852a4bb983f79fe84b2c44958492c0e0d5 parent d6ad033a88b42420ddb6c62c95e42f88d862b246 author Dean Nelson Tue, 10 Jan 2006 11:09:48 -0600 committer Tony Luck Fri, 13 Jan 2006 10:39:34 -0800 [IA64-SGI] move xpc.h to include/asm-ia64/sn Move xpc.h from arch/ia64/sn/kernel to include/asm-ia64/sn without change. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit d6ad033a88b42420ddb6c62c95e42f88d862b246 tree 8e4fb8900e4eed320457307d9976dd8108adf8cd parent 1f4674b2d5f63bac4c393ac4de1d6c1b6b72c09c author Dean Nelson Tue, 10 Jan 2006 11:08:55 -0600 committer Tony Luck Fri, 13 Jan 2006 10:36:27 -0800 [IA64-SGI] move xpc_system_reboot() Move xpc_system_reboot() to be closer to the file it calls for readability reasons (which are indeed subjective). Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 1f4674b2d5f63bac4c393ac4de1d6c1b6b72c09c tree 4a0832cd88e87896f020f88c0fb3ddf0f1ee0cb5 parent 0752c670d83362609c7f3f59ffa0e180709c60c2 author Dean Nelson Tue, 10 Jan 2006 11:08:00 -0600 committer Tony Luck Fri, 13 Jan 2006 10:35:02 -0800 [IA64-SGI] ignoring loss of heartbeat while XPC is in kdebug Allow for the loss of heartbeat while in kdebug to be ignored by remote partitions. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 0752c670d83362609c7f3f59ffa0e180709c60c2 tree aef0bc9705de8263c6897352e818d12e5deecfc5 parent 1ecaded80f94f2779160529aef7d6f37a22c2f60 author Dean Nelson Tue, 10 Jan 2006 11:07:19 -0600 committer Tony Luck Fri, 13 Jan 2006 10:33:44 -0800 [IA64-SGI] XPC and unregistering from notifier lists Only unregister from notifier lists if XPC is unloading. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 1ecaded80f94f2779160529aef7d6f37a22c2f60 tree 3d87c587e6b67e34403ddd954f1dec09b72563f2 parent 246c7e33d51afe99890b2caab7ad482c0296d5ba author Dean Nelson Fri, 06 Jan 2006 09:48:21 -0600 committer Tony Luck Fri, 13 Jan 2006 10:19:14 -0800 [IA64-SGI] cleanup XPC disengage related messages Cleanup the XPC disengage related messages that are printed to the log. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 246c7e33d51afe99890b2caab7ad482c0296d5ba tree 20d96a5182dd5971d9d51d6626cf02d4a1c19c85 parent 7ae69d2aa4ed3ee8cef18a072346366f019d6a4a author Dean Nelson Thu, 22 Dec 2005 14:32:56 -0600 committer Tony Luck Fri, 13 Jan 2006 10:16:36 -0800 [IA64-SGI] ensure XPC disengage request is processed This patch fixes a problem in XPC disengage processing whereby it was not seeing the request to disengage from a remote partition, so the disengage wasn't happening. The disengagement is suppose to transpire during the time a XPC channel is disconnecting, and should be completed before the channel is declared to be disconnected. Signed-off-by: Dean Nelson Signed-off-by: Tony Luck commit 7ae69d2aa4ed3ee8cef18a072346366f019d6a4a tree e385484d604dcb09908fb3801b451ed4296b990d parent 67daf5f11f06b9b15f8320de1d237ccc2e74fe43 author Tony Luck Fri, 13 Jan 2006 10:03:58 -0800 committer Tony Luck Fri, 13 Jan 2006 10:03:58 -0800 [IA64] Add stub entry to fsys.S for sys_migrate_pages When this new syscall was added to ia64 in commit 39743889aaf76725152f16aa90ca3c45f6d52da3 fsys.S was forgotten. Add a ".data8 0" there to keep it in step. [Reported by Stephane Eranian] Signed-off-by: Tony Luck commit 67daf5f11f06b9b15f8320de1d237ccc2e74fe43 tree 4dd751c65e36fb277fa7e1619279023590b05e29 parent 8a430d74fea797fc55fef1ad4c21420212b83574 author Paul Mackerras Fri, 13 Jan 2006 14:23:25 +1100 committer Linus Torvalds Fri, 13 Jan 2006 09:12:21 -0800 [PATCH] Increase AT_VECTOR_SIZE On PowerPC, we want to be able to provide an AT_PLATFORM aux table entry to userspace, so that glibc can choose optimized libraries for the processor we're running on. Unfortunately that would be the 21st aux table entry on powerpc, meaning that the aux table including the terminating null entry would overflow the mm->saved_auxv[] array, leading to userland programs segfaulting. This increases the size of the mm->saved_auxv array to be large enough to accommodate an AT_PLATFORM entry on powerpc. Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds commit 8a430d74fea797fc55fef1ad4c21420212b83574 tree 123a53efd78abc925821065c70e0c8c3c417a888 parent 43ecb9a33ba8c93ebbda81d48ca05f0d1bbf9056 author Evgeniy Fri, 13 Jan 2006 18:12:15 +0300 committer Linus Torvalds Fri, 13 Jan 2006 08:42:48 -0800 [PATCH] Fix oops in ufs_fill_super at mount time There's a lack of parenthesis in fs/ufs/utils.h, so instead of the 512th byte of buffer, the usb2 pointer will point to the nth structure of type ufs_super_block_second. This can cause a mount-time oops if you're unlucky (especially with DEBUG_PAGEALLOC, which is how Alexey Dobriyan saw this problem) Signed-off-by: Evgeniy Dushistov Acked-by: Alexey Dobriyan Signed-off-by: Linus Torvalds commit b11fa580ac06b34944a2b46a44ebce2c284e1a76 tree 128c569facfb43b1e3eccbb0ead907c52358a13e parent 144b9c135b963bcb7f242c7b83bff930620d3161 author Anton Blanchard Fri, 13 Jan 2006 16:51:52 +1100 committer Paul Mackerras Fri, 13 Jan 2006 21:18:54 +1100 [PATCH] powerpc: reformat atomic_add_unless It makes my eyes hurt. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 144b9c135b963bcb7f242c7b83bff930620d3161 tree 4b454f3e5e5921c5a528131dfa51df542259d918 parent 3356bb9f7ba378a6e2709f9df95f4ea52111f4df author Anton Blanchard Fri, 13 Jan 2006 15:37:17 +1100 committer Paul Mackerras Fri, 13 Jan 2006 21:18:50 +1100 [PATCH] powerpc: use lwsync in atomics, bitops, lock functions eieio is only a store - store ordering. When used to order an unlock operation loads may leak out of the critical region. This is potentially buggy, one example is if a user wants to atomically read a couple of values. We can solve this with an lwsync which orders everything except store - load. I removed the (now unused) EIEIO_ON_SMP macros and the c versions isync_on_smp and eieio_on_smp now we dont use them. I also removed some old comments that were used to identify inline spinlocks in assembly, they dont make sense now our locks are out of line. Another interesting thing was that read_unlock was using an eieio even though the rest of the spinlock code had already been converted to use lwsync. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 3356bb9f7ba378a6e2709f9df95f4ea52111f4df tree 84f370df6e58cec63132f9acce492d585226e671 parent e58c3495e6007af59382540bb21ee941e470d88d author David Gibson Fri, 13 Jan 2006 10:26:42 +1100 committer Paul Mackerras Fri, 13 Jan 2006 21:17:39 +1100 [PATCH] powerpc: Remove lppaca structure from the PACA At present the lppaca - the structure shared with the iSeries hypervisor and phyp - is contained within the PACA, our own low-level per-cpu structure. This doesn't have to be so, the patch below removes it, making a separate array of lppaca structures. This saves approximately 500*NR_CPUS bytes of image size and kernel memory, because we don't need aligning gap between the Linux and hypervisor portions of every PACA. On the other hand it means an extra level of dereference in many accesses to the lppaca. The patch also gets rid of several places where we assign the paca address to a local variable for no particular reason. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit e58c3495e6007af59382540bb21ee941e470d88d tree 24b559cb768bfa5cf4bdef69f2943b081a1f5afa parent 7e78e5e502d4f220d24c6f738f2fdb078ad33607 author David Gibson Fri, 13 Jan 2006 14:56:25 +1100 committer Paul Mackerras Fri, 13 Jan 2006 21:16:23 +1100 [PATCH] powerpc: Cleanup LOADADDR etc. asm macros This patch consolidates the variety of macros used for loading 32 or 64-bit constants in assembler (LOADADDR, LOADBASE, SET_REG_TO_*). The idea is to make the set of macros consistent across 32 and 64 bit and to make it more obvious which is the appropriate one to use in a given situation. The new macros and their semantics are described in the comments in ppc_asm.h. In the process, we change several places that were unnecessarily using immediate loads on ppc64 to use the GOT/TOC. Likewise we cleanup a couple of places where we were clumsily subtracting PAGE_OFFSET with asm instructions to use assemble-time arithmetic or the toreal() macro instead. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 7e78e5e502d4f220d24c6f738f2fdb078ad33607 tree fec615c750234e7f46fdda682b5a3412c7c30327 parent 135f0b17a7a146fa65ccd75704eecf77ee19d587 author Kumar Gala Thu, 12 Jan 2006 21:04:23 -0600 committer Paul Mackerras Fri, 13 Jan 2006 21:16:18 +1100 [PATCH] powerpc: Updated platforms that use gianfar to match driver The gianfar driver changed how it required MDIO bus and phy id's to be passed to it. Also, it no longer passes the physical address of the MDIO bus. Instead we have a proper platform device. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 135f0b17a7a146fa65ccd75704eecf77ee19d587 tree 324f4f1f0cee2b7f1b9a5c9b6c09ad5520b7d05d parent 610d91511f99f0a8325ad78fb7259c454b23e65a author Tom Rini Thu, 12 Jan 2006 16:55:58 -0700 committer Paul Mackerras Fri, 13 Jan 2006 21:14:28 +1100 [PATCH] powerpc/boot: Better use of defaultimage- The following reworks how defaultimage- is used. We default to zImage here and then override it on platforms that need something more (uImage in the future) or less (vmlinux on iSeries). Signed-off-by: Tom Rini Signed-off-by: Paul Mackerras commit 610d91511f99f0a8325ad78fb7259c454b23e65a tree 7b391f12c8f9eb2d6aa14c10e2302faa57c50e7b parent ecaa8b0ff326920c8a89d748382e1c1d8812676c author Dave C Boutcher Thu, 12 Jan 2006 16:10:22 -0600 committer Paul Mackerras Fri, 13 Jan 2006 21:12:41 +1100 [PATCH] powerpc: Add support for changing properties from userspace Add support to reconfigure the device tree through the existing proc filesystem interface. Add "add_property", "remove_property", and "update_property" commands to the existing interface. Signed-off-by: Dave Boutcher Signed-off-by: Paul Mackerras commit ecaa8b0ff326920c8a89d748382e1c1d8812676c tree 49027f063fee21f6b03f4b2ccd5c0b80b0aa4440 parent 088186ded490ced80758200cf8f906ed741df306 author Dave C Boutcher Thu, 12 Jan 2006 16:09:29 -0600 committer Paul Mackerras Fri, 13 Jan 2006 21:11:57 +1100 [PATCH] powerpc: Add of_find_property function Add an of_find_property function that returns a struct property given a property name. Then change the get_property function to use that routine internally. Signed-off-by: Dave Boutcher Signed-off-by: Paul Mackerras commit 088186ded490ced80758200cf8f906ed741df306 tree 0afbaac2b9843937c63da79dfbd91a60f606c00f parent 898b5395e915210f41223caa30312994d64cba1d author Dave C Boutcher Thu, 12 Jan 2006 16:08:27 -0600 committer Paul Mackerras Fri, 13 Jan 2006 21:02:50 +1100 [PATCH] powerpc: Add/remove/update properties in firmware device tree Add support for updating and removing device tree properties. Since we hand out pointers to properties with gay abandon, we can't just free the property storage. Instead we move deleted, or the old copy of an updated property, to a "dead properties" list. Also note, its not feasable to kref device tree properties. we call get_property() all over the kernel in a wild variety of contexts. One consequence of this change is that we now take a read_lock(&devtree_lock) when doing get_property(). Signed-off-by: Dave Boutcher Signed-off-by: Paul Mackerras commit 898b5395e915210f41223caa30312994d64cba1d tree 018455c4268293f308d1e2fcde0dc01005c73722 parent 43ccf202214067f12af5d7a6e144e18bb35553a9 author Dave C Boutcher Thu, 12 Jan 2006 16:07:17 -0600 committer Paul Mackerras Fri, 13 Jan 2006 21:02:13 +1100 [PATCH] powerpc: Add/remove/update properties in /proc/device-tree Add support to the proc_device_tree file for removing and updating properties. Remove just removes the proc file, update changes the data pointer within the proc file. The remainder of the device-tree changes occur elsewhere. Signed-off-by: Dave Boutcher Signed-off-by: Paul Mackerras commit 43ccf202214067f12af5d7a6e144e18bb35553a9 tree 5b509f006c390348c9cfb6884acd5edd808e34b0 parent 9e1c72a4e465ceb2c4c6e2dfc0584a59bec5c2c9 author Dave C Boutcher Thu, 12 Jan 2006 16:05:35 -0600 committer Paul Mackerras Fri, 13 Jan 2006 20:56:38 +1100 [PATCH] powerpc: Add some more pSeries hypervisor call constants Adds a few more hypervisor call constants. Signed-off-by: Dave Boutcher Signed-off-by: Paul Mackerras commit 9e1c72a4e465ceb2c4c6e2dfc0584a59bec5c2c9 tree 48f31f205e713815e629add89856d204f52af2cc parent 43ecb9a33ba8c93ebbda81d48ca05f0d1bbf9056 author Tom Rini Thu, 12 Jan 2006 14:25:50 -0700 committer Paul Mackerras Fri, 13 Jan 2006 20:56:00 +1100 [PATCH] Remove bzImage target Since the documentation no longer tells people to 'make bzImage', and with the previous patch nothing more than 'make' is required to get the right bootable images (just like on i386 now), this removes the bzImage -> zImage target redirect on ARCH=powerpc Signed-off-by: Tom Rini Signed-off-by: Paul Mackerras commit 9eacee2ac624bfa9740d49355dbe6ee88d0cba0a tree 44226d2cee7f9b9f1e588e27664cc2db15fb3eda parent c063a06835d3ccfa6c039d3a3869fcf22249c862 author Michael S. Tsirkin Thu, 12 Jan 2006 15:55:41 -0800 committer Roland Dreier Thu, 12 Jan 2006 15:55:41 -0800 IB/mthca: Initialize grh_present before using it build_mlx_header() was using sqp->ud_header.grh_present before it was initialized by mthca_read_ah(). Furthermore, header->grh_present is set by ib_ud_header_init, so there's no need to set it again in mthca_read_ah(). Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit c063a06835d3ccfa6c039d3a3869fcf22249c862 tree a056b2ab3032a3efa12f07f1ee952b75066e822e parent 17e2e819517d75f2f3407e59c5f7f6f0ef305d14 author Michael S. Tsirkin Thu, 12 Jan 2006 15:43:58 -0800 committer Roland Dreier Thu, 12 Jan 2006 15:43:58 -0800 IB/mthca: Cosmetic: use the ALIGN macro Use the ALIGN macro to simplify some rounding code. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 43ecb9a33ba8c93ebbda81d48ca05f0d1bbf9056 tree 28e4c9fa3ac800e2799d48e981a25f1403c4502e parent 58cba4650a7a414eabd2b40cc9d8e45fcdf192d9 parent 9f3f46b5fe83a56d380d4006dd2cd906bc186f91 author Linus Torvalds Thu, 12 Jan 2006 15:43:39 -0800 committer Linus Torvalds Thu, 12 Jan 2006 15:43:39 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit 17e2e819517d75f2f3407e59c5f7f6f0ef305d14 tree be0be0430b4650a01fa51d0f00a59c95d41384ca parent 59f174faffd5dfee709fa0ead320cc6daf827e93 author Jack Morgenstein Thu, 12 Jan 2006 15:35:15 -0800 committer Roland Dreier Thu, 12 Jan 2006 15:35:15 -0800 IB/mthca: Fix memory leaks in error handling Fix memory leaks in mthca_create_qp() and mthca_create_srq() error handling. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 59f174faffd5dfee709fa0ead320cc6daf827e93 tree a0d6503074dd97e808cb98fc4779c40e3cbf6fef parent 988bd50300ef2e2d5cb8563e2ac99453dd9acd86 author Ishai Rabinovitz Thu, 12 Jan 2006 15:24:51 -0800 committer Roland Dreier Thu, 12 Jan 2006 15:24:51 -0800 IB/mthca: Fix memory leak of multicast group structures Convert "/ (1 << lg)" to ">> lg" for a slight code size reduction. add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-24 (-24) function old new delta mthca_map_cmd 613 589 -24 Signed-off-by: Ishai Rabinovitz Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 988bd50300ef2e2d5cb8563e2ac99453dd9acd86 tree 2ffc52fb4b88a8c9299306880d07062947ce3b32 parent 78bfe0b5b67fe126ed98608e42e42fb6ed9aabd4 author Eli Cohen Thu, 12 Jan 2006 14:32:20 -0800 committer Roland Dreier Thu, 12 Jan 2006 14:32:20 -0800 IPoIB: Fix memory leak of multicast group structures The current handling of multicast groups in IPoIB ends up never freeing send-only multicast groups. It turns out the logic was much more complicated than it needed to be; we can fix this bug and completely kill ipoib_mcast_dev_down() at the same time. Signed-off-by: Eli Cohen Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 2e4e6a17af35be359cc8f1c924f8f198fbd478cc tree cb4b5438dcf9ff9d57518a26124308bcbfffd214 parent 880b005f294454d989783d0984dc554dfe3c8214 author Harald Welte Thu, 12 Jan 2006 13:30:04 -0800 committer David S. Miller Thu, 12 Jan 2006 14:06:43 -0800 [NETFILTER] x_tables: Abstraction layer for {ip,ip6,arp}_tables This monster-patch tries to do the best job for unifying the data structures and backend interfaces for the three evil clones ip_tables, ip6_tables and arp_tables. In an ideal world we would never have allowed this kind of copy+paste programming... but well, our world isn't (yet?) ideal. o introduce a new x_tables module o {ip,arp,ip6}_tables depend on this x_tables module o registration functions for tables, matches and targets are only wrappers around x_tables provided functions o all matches/targets that are used from ip_tables and ip6_tables are now implemented as xt_FOOBAR.c files and provide module aliases to ipt_FOOBAR and ip6t_FOOBAR o header files for xt_matches are in include/linux/netfilter/, include/linux/netfilter_{ipv4,ipv6} contains compatibility wrappers around the xt_FOOBAR.h headers Based on this patchset we're going to further unify the code, gradually getting rid of all the layer 3 specific assumptions. Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 880b005f294454d989783d0984dc554dfe3c8214 tree d1cffd5367f0bc939ef6952f6dacd78fb8592f39 parent e86eaa3abc285a988524d95e867285aad5d026a7 author David S. Miller Thu, 12 Jan 2006 13:22:32 -0800 committer David S. Miller Thu, 12 Jan 2006 14:06:41 -0800 [TIPC]: Fix 64-bit build warnings. When storing u32 values in a pointer, need to do some long casts to keep GCC happy. Signed-off-by: David S. Miller commit e86eaa3abc285a988524d95e867285aad5d026a7 tree dbebed81e4e7fc4baf7460154711e88e4171d9ce parent 593a5f22d8035b1396a958b6bbde9f13c0f09549 author Per Liden Thu, 12 Jan 2006 16:45:18 +0100 committer David S. Miller Thu, 12 Jan 2006 14:06:40 -0800 [TIPC] Added entry for TIPC in MAINTAINERS Signed-off-by: Per Liden commit 593a5f22d8035b1396a958b6bbde9f13c0f09549 tree 9b17063243db078fba55b80b2777ad6fc8425a0d parent 9da1c8b694f8e72a16f259614caaae50cbcdaf10 author Per Liden Wed, 11 Jan 2006 19:14:19 +0100 committer David S. Miller Thu, 12 Jan 2006 14:06:39 -0800 [TIPC] More updates of file headers Updated copyright notice to include the year the file was actually created. Information about file creation dates was extracted from the files in the old CVS repository at tipc.sourceforge.net. Signed-off-by: Per Liden commit 9da1c8b694f8e72a16f259614caaae50cbcdaf10 tree efaa58a8332e0ddc2274a4843de1a1ead75fb52d parent d0a14a9dbdf613d9307c4b748b03a11678fe8d16 author Per Liden Wed, 11 Jan 2006 18:40:41 +0100 committer David S. Miller Thu, 12 Jan 2006 14:06:38 -0800 [TIPC] Update of file headers The copyright statements from different parts of Ericsson have been merged into one. Signed-off-by: Per Liden commit d0a14a9dbdf613d9307c4b748b03a11678fe8d16 tree 35914611062a16e5365e907207824d936830ba4e parent 9ea1fd3c1a15c620d1e3d0aa269d34b705477003 author Per Liden Wed, 11 Jan 2006 13:52:51 +0100 committer David S. Miller Thu, 12 Jan 2006 14:06:37 -0800 [TIPC] Cleaned up info/warn/err macros Signed-off-by: Per Liden commit 9ea1fd3c1a15c620d1e3d0aa269d34b705477003 tree ef16b1720df86d3cb4927f8426ebebb24d0717ea parent ea714ccda5d5858ee677a77cf33dbaf34a0060c3 author Per Liden Wed, 11 Jan 2006 13:30:43 +0100 committer David S. Miller Thu, 12 Jan 2006 14:06:36 -0800 [TIPC] License header update The license header in each file now more clearly state that this code is licensed under a dual BSD/GPL. Before this was only evident if you looked at the MODULE_LICENSE line in core.c. Signed-off-by: Per Liden commit ea714ccda5d5858ee677a77cf33dbaf34a0060c3 tree 4621c81792b6b60b101d3644f4a4fd8c5fd964cb parent b70e4f45a8d8125e4f420c62e71688b8a766689a author Per Liden Wed, 11 Jan 2006 12:28:47 +0100 committer David S. Miller Thu, 12 Jan 2006 14:06:35 -0800 [TIPC] Moved configuration interface into tipc_config.h Restored the old tipc_config.h to get a cleaner division between the interfaces used by normal TIPC users and TIPC administration utilities. Signed-off-by: Per Liden commit b70e4f45a8d8125e4f420c62e71688b8a766689a tree 2fa8f52ab2665b92008cfc8b88937dda8a7542f5 parent 1dba9743337cabacea79e47ed6d709e636c5ed47 author Jon Maloy Tue, 10 Jan 2006 18:54:24 +0000 committer David S. Miller Thu, 12 Jan 2006 14:06:33 -0800 [TIPC} Fixed bug in disc_timeout() Signed-off-by: Jon Maloy commit 1dba9743337cabacea79e47ed6d709e636c5ed47 tree b5244bd1e0b798553a3ab8627b0b06ddbe52a749 parent b97bf3fd8f6a16966d4f18983b2c40993ff937d4 author Per Liden Thu, 05 Jan 2006 16:34:00 +0100 committer David S. Miller Thu, 12 Jan 2006 14:06:32 -0800 [TIPC] Use dynamically allocated family id with NETLINK_GENERIC Signed-off-by: Per Liden commit b97bf3fd8f6a16966d4f18983b2c40993ff937d4 tree 59959f8a0f3087455efdcb430846686f303c5991 parent 58cba4650a7a414eabd2b40cc9d8e45fcdf192d9 author Per Liden Mon, 02 Jan 2006 19:04:38 +0100 committer David S. Miller Thu, 12 Jan 2006 14:06:31 -0800 [TIPC] Initial merge TIPC (Transparent Inter Process Communication) is a protocol designed for intra cluster communication. For more information see http://tipc.sourceforge.net Signed-off-by: Per Liden commit 58cba4650a7a414eabd2b40cc9d8e45fcdf192d9 tree 9aedb8e87eba92dc203aa169d4f7459a21be9e34 parent 37ef4399a6bb265d3035e6d6e45f7677b132a3ba parent db1019ca0548b263989bc98900eaf15107e533ad author Linus Torvalds Thu, 12 Jan 2006 14:00:47 -0800 committer Linus Torvalds Thu, 12 Jan 2006 14:00:47 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-fixes-2.6 commit 37ef4399a6bb265d3035e6d6e45f7677b132a3ba tree 31adbac36ea310a44562a335f501d69d5ce2c78c parent bf785ee0aeea7a3e717cb1e11df4135b6cbde7da parent 9c7d462eda13ca211b7b4a62f191f4cfda135e2d author Linus Torvalds Thu, 12 Jan 2006 13:53:40 -0800 committer Linus Torvalds Thu, 12 Jan 2006 13:53:40 -0800 Merge branch 'drm-forlinus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6 commit 9f3f46b5fe83a56d380d4006dd2cd906bc186f91 tree fb8211f13c977dd029b75c9dad263c478522affe parent c9fa7d5d6cec7a45f9dc6c2f23500af50d5617c9 author John W. Linville Fri, 09 Dec 2005 10:36:09 -0500 committer Jeff Garzik Thu, 12 Jan 2006 16:39:45 -0500 [PATCH] via-velocity: use NETIF_F_IP_CSUM (hardware only support IPv4) At least some versions of the via-velocity hardware only support checksumming IPv4 frames in hardware. However, the driver is currently setting the NETIF_F_HW_CSUM flag, which indicates support for more than just IPv4. This results in errors when trying to use IPv6 over via-velocity hardware. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit c9fa7d5d6cec7a45f9dc6c2f23500af50d5617c9 tree 26706030d54ca3211cf0afa73ab92763cd888a9a parent 5af47b2ff124fdad9ba84baeb9f7eeebeb227b43 author Johannes Berg Tue, 27 Dec 2005 02:14:13 +0100 committer Jeff Garzik Thu, 12 Jan 2006 16:39:45 -0500 [PATCH] fix wrong comments in ieee80211.h The comments in ieee80211.h claim that one doesn't need to set the len parameter of the stats struct. But if one doesn't, the management frames are read far over the memory they actually occupy causing badness. Signed-Off-By: Johannes Berg Signed-off-by: Jeff Garzik commit 5af47b2ff124fdad9ba84baeb9f7eeebeb227b43 tree 1085c636295cd3f9ade5611f9519d83731e27cdc parent 9a6301c114aaab1df6de6fad9899bb89852a7592 author Jay Vosburgh Mon, 09 Jan 2006 12:14:00 -0800 committer Jeff Garzik Thu, 12 Jan 2006 16:35:39 -0500 [PATCH] bonding: UPDATED hash-table corruption in bond_alb.c I believe I see the race Michael refers to (tlb_choose_channel may set head, which tlb_init_slave clears), although I was not able to reproduce it. I have updated his patch for the current netdev-2.6.git tree and added a version update. His original comment follows: Our systems have been crashing during testing of PCI HotPlug support in the various networking components. We've faulted in the bonding driver due to a bug in bond_alb.c:tlb_clear_slave() In that routine, the last modification to the TLB hash table is made without protection of the lock, allowing a race that can lead tlb_choose_channel() to select an invalid table element. -J Signed-off-by: Jeff Garzik commit 9a6301c114aaab1df6de6fad9899bb89852a7592 tree 7889afd49f5d4a97434c4bac5995e1828192c96d parent c213460fd4781c04832c81416532d64ae2bfa88b author Dan Williams Tue, 10 Jan 2006 00:56:11 -0500 committer Jeff Garzik Thu, 12 Jan 2006 16:34:24 -0500 [PATCH] wireless/atmel: add IWENCODEEXT, IWAUTH, and association event support This patch allows the Atmel driver to work correctly with wpa_supplicant and other programs that require some conformance with WEXT-18. It should not affect current behavior of the driver. The patch does four things: 1) Implements SIOCSIWENCODEEXT, SIOCGIWENCODEEXT, SIOCSIWAUTH, and SIOCGIWAUTH calls for unencrypted and WEP operation 2) Accepts zero-filled addresses for SIOCSIWAP, which are legal and should turn off any previous forced WAP address 3) Sends association and de-association events to userspace at most of the appropriate times 4) Fixes erroneous order of CIPHER_SUITE_WEP_* arguments in one location which are actually unused anyway Signed-off-by: Dan Williams Signed-off-by: Jeff Garzik commit c213460fd4781c04832c81416532d64ae2bfa88b tree eda01454306ecbbaa5693e7afe603f82c2a187d9 parent 4d3248a29cb78b31bb0520eb99b4be620e810a40 author Eric Sesterhenn / snakebyte Tue, 10 Jan 2006 13:16:03 +0100 committer Jeff Garzik Thu, 12 Jan 2006 16:32:35 -0500 [PATCH] replace MODULE_PARM in tulip/uli526x.c Replace the MODULE_PARM usage in uli526x.c with module_param. Signed-off-by: Eric Sesterhenn Signed-off-by: Jeff Garzik commit 4d3248a29cb78b31bb0520eb99b4be620e810a40 tree b33b6a028b926c9a260be42534ddf9b998dbb9b2 parent a4d00f179fcec7065fe5742e9cebd6500886070f author Kumar Gala Wed, 11 Jan 2006 11:27:33 -0800 committer Jeff Garzik Thu, 12 Jan 2006 16:31:52 -0500 [PATCH] gianfar: Use new PHY_ID_FMT macro Make the driver produce the string used by phy_connect and have board specific code pass the integer mii bus id and phy device id for the specific controller instance. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit a4d00f179fcec7065fe5742e9cebd6500886070f tree 1d0fea6521276122c2e767db52bc821241849f8e parent 1d5326774c9245fef77334a9e0f11cd4f8aa7b4e author Kumar Gala Wed, 11 Jan 2006 11:27:33 -0800 committer Jeff Garzik Thu, 12 Jan 2006 16:31:52 -0500 [PATCH] phy: Added a macro to represent the string format used to match a phy device Add the PHY_ID_FMT macro to ensure that the format of the id string used by a driver to match to its specific phy is consistent between the mdio_bus and the driver. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 1d5326774c9245fef77334a9e0f11cd4f8aa7b4e tree 20b581ec56b6a336492dd911a19d1d563eed398f parent 9c07b884b92c80e9d660b7b9282631fb626451e2 author Kumar Gala Wed, 11 Jan 2006 11:27:32 -0800 committer Jeff Garzik Thu, 12 Jan 2006 16:31:51 -0500 [PATCH] gianfar mii: Use proper resource for MII memory region We can now have the gianfar mii platform device have a proper resource for the IO memory region for its registers. Previously we passed this information that the platform_data structure because we couldn't handle overlapping memory regions for platform devices. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 9c07b884b92c80e9d660b7b9282631fb626451e2 tree 8478b3cf28d5cacbaaa8a2a3ec6ab15268a72b45 parent 9ad8b9d1520db4d317d791eeb8d6e47c366be82c author Kumar Gala Wed, 11 Jan 2006 11:26:25 -0800 committer Jeff Garzik Thu, 12 Jan 2006 16:31:51 -0500 [PATCH] gfar: fix compile error Missing include of to get definition of IPPROTO_UDP. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 9ad8b9d1520db4d317d791eeb8d6e47c366be82c tree 56c7b762ee872047b9e617d9f441d733c58e82e8 parent ac7c66698a2c51e4c6a34b84621c79e7cb89e07d author dann frazier Wed, 11 Jan 2006 11:26:24 -0800 committer Jeff Garzik Thu, 12 Jan 2006 16:31:51 -0500 [PATCH] CONFIG_AIRO needs CONFIG_CRYPTO airo.c currently has MICSUPPORT enabled, which requires CONFIG_CRYPTO. A user reported a build failure which is due to the lack of a Kconfig dependency. See http://bugs.debian.org/344205. This patch makes Kconfig enforce this dependency. Signed-off-by: dann frazier Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit ac7c66698a2c51e4c6a34b84621c79e7cb89e07d tree e128ebef78d7250fe7351580d7d44646faab9de5 parent bf785ee0aeea7a3e717cb1e11df4135b6cbde7da author ODonnell, Michael Wed, 11 Jan 2006 11:26:22 -0800 committer Jeff Garzik Thu, 12 Jan 2006 16:31:51 -0500 [PATCH] corruption during e100 MDI register access We have identified two related bugs in the e100 driver. Both bugs are related to manipulation of the MDI control register. The first problem is that the Ready bit is being ignored when writing to the Control register; we noticed this because the Linux bonding driver would occasionally come to the spurious conclusion that the link was down when querying Link State. It turned out that by failing to wait for a previous command to complete it was selecting what was essentially a random register in the MDI register set. When we added code that waits for the Ready bit (as shown in the patch file below) all such problems ceased. The second problem is that, although access to the MDI registers involves multiple steps which must not be intermixed, nothing was defending against two or more threads attempting simultaneous access. The most obvious situation where such interference could occur involves the watchdog versus ioctl paths, but there are probably others, so we recommend the locking shown in our patch file. Signed-off-by: Michael O'Donnell Cc: "David S. Miller" Cc: Jeff Garzik Cc: John Ronciak Cc: Ganesh Venkatesan Cc: Jesse Brandeburg Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 745caf71d99c5d4ff4c9e4c0f74e64c429fed531 tree d03b234d62a611a2d2f29aeac9b13efee0bd5c5c parent cd2f1e6980157638f66f427d577a1c368fd4dc12 author Petr Vandrovec Wed, 11 Jan 2006 11:31:07 -0800 committer James Bottomley Thu, 12 Jan 2006 15:26:13 -0600 [SCSI] Pass proper device from BusLogic to SCSI layer While trying to get SUSE's SLES9 working on system with more than 4GB we've noticed that SCSI layer happilly passes addresses over 4GB to the buslogic driver, which is quite a big problem as buslogic can generate only 32bit busmastering cycles. Fortunately in the current kernels this problem does not exist anymore as SCSI layer now assumes 4GB capable device by default, but it is still good idea to pass correct device structure to the SCSI layer. If nothing else, /sys/block/sda/device now points to /sys/devices/pci0000:00/0000:00:10.0/host0/... instead of /sys/devices/platform/host0/... like it did in the past. Change does nothing for ISA based BusLogic adapters, they'll still end under platform (and they are probably broken for long time as I do not see anything forcing ISA 16MB limit for them). Signed-off-by: Petr Vandrovec Signed-off-by: Andrew Morton Signed-off-by: James Bottomley commit bf785ee0aeea7a3e717cb1e11df4135b6cbde7da tree 32ae52ad51c2a3952f2e1a2af9217717954fa593 parent 8b87e1baff24e586c3fe6c168843d213119bf4dd parent 00431707be0cc1236ee08459367872b57da5be29 author Linus Torvalds Thu, 12 Jan 2006 12:23:49 -0800 committer Linus Torvalds Thu, 12 Jan 2006 12:23:49 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 8b87e1baff24e586c3fe6c168843d213119bf4dd tree 419c0f4cbcc2d211e99a445984f569e6ae612eb2 parent a2b421fee37d34c09bd2a14d3e9294f838c64370 parent f392ecfa12de9a2baf72789b00557bac040d6171 author Linus Torvalds Thu, 12 Jan 2006 12:23:03 -0800 committer Linus Torvalds Thu, 12 Jan 2006 12:23:03 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit a2b421fee37d34c09bd2a14d3e9294f838c64370 tree 2fa074f1e80f7f46ddcc7503c9834009b6b845f7 parent ba027def7be0d6494b72603d5758acc0fb1c7514 parent a621aaed690b9439141c555941b6af53873f6ff1 author Linus Torvalds Thu, 12 Jan 2006 12:22:17 -0800 committer Linus Torvalds Thu, 12 Jan 2006 12:22:17 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-mmc commit ba027def7be0d6494b72603d5758acc0fb1c7514 tree 0390413d299350f838f2fc01ae222d8d3cdf6194 parent 661dd5c840851194c7ee5a2603d5354dcf9bd212 author Jens Axboe Thu, 12 Jan 2006 20:44:12 +0100 committer Linus Torvalds Thu, 12 Jan 2006 12:00:47 -0800 [PATCH] Revert ide softirq handling There's a problem with the REQ_BLOCK_PC handling as well (bad ->data_len handling) where it could actually complete a request ahead of time. I suggest we just back this out for now, I will resubmit it later when I'm fully confident in it. This reverts commit 8672d57138b34447719cd7749f3d21070e1175a1 Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit f392ecfa12de9a2baf72789b00557bac040d6171 tree e406fbff12d8b7fa173a23f871d1b3b24473d144 parent 593195f9b2309693f27b402f34573f7920b82c3e author Arjan van de Ven Thu, 12 Jan 2006 18:44:32 +0000 committer Russell King Thu, 12 Jan 2006 18:44:32 +0000 [SERIAL] turn serial semaphores into mutexes Turn several drivers/serial/ semaphores-used-as-mutex into mutexes Signed-off-by: Arjan van de Ven Signed-off-by: Russell King commit a621aaed690b9439141c555941b6af53873f6ff1 tree 47d08433a946e34299556a9e23482582ffb911c0 parent 593195f9b2309693f27b402f34573f7920b82c3e author Arjan van de Ven Thu, 12 Jan 2006 18:43:35 +0000 committer Russell King Thu, 12 Jan 2006 18:43:35 +0000 [MMC+MFD] Convert mmc to mutexes convert mfd and mmc to mutexes Signed-off-by: Arjan van de Ven Signed-off-by: Russell King commit 00431707be0cc1236ee08459367872b57da5be29 tree 0a57cbf54f1fcc9ef2852e68e96c3b99e1b903d8 parent f4619025a51747a3788fd1bb6bdc46e368a889a7 author Arjan van de Ven Thu, 12 Jan 2006 18:42:23 +0000 committer Russell King Thu, 12 Jan 2006 18:42:23 +0000 [ARM] Convert some arm semaphores to mutexes The arm clock semaphores are strict mutexes, convert them to the new mutex implementation Signed-off-by: Arjan van de Ven Signed-off-by: Russell King commit 661dd5c840851194c7ee5a2603d5354dcf9bd212 tree ae8698638f21deeca51c1522bb8ccfd6a7735770 parent 45bfe98bd790b5ded00462cd582effcfb42263cc parent c9db4fa11526affde83603fe52595bd1260c1354 author Linus Torvalds Thu, 12 Jan 2006 10:22:11 -0800 committer Linus Torvalds Thu, 12 Jan 2006 10:22:11 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/tglx/hrtimer-2.6 commit 45bfe98bd790b5ded00462cd582effcfb42263cc tree d4a1f2c5303dda106635b615f8f40ea9104bf25e parent 9f5974c8734d83d4ab7096ed98136a82f41210d6 parent 624cee31bcb14bfd85559fbec5dd7bb833542965 author Linus Torvalds Thu, 12 Jan 2006 10:21:22 -0800 committer Linus Torvalds Thu, 12 Jan 2006 10:21:22 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge Fix up delete/modify conflict of arch/ppc/kernel/process.c by hand (it's gone, gone, gone). Signed-off-by: Linus Torvalds commit cd2f1e6980157638f66f427d577a1c368fd4dc12 tree 425c6983aac39f7dab23e01b02295d6d3cdf85f3 parent 11668bb673c41ec169a85d0b52c538a1c11d29e1 author James Bottomley Thu, 12 Jan 2006 12:07:13 -0600 committer James Bottomley Thu, 12 Jan 2006 12:07:13 -0600 [SCSI] aic79xx: bump version to 3.0 This takes us past the old 1.x version of the SCSI driver and the 2.x version of the aic website version to reflect the full incorporation of both branches. Signed-off-by: James Bottomley commit 11668bb673c41ec169a85d0b52c538a1c11d29e1 tree 423c30e22eea305d5c059c6463bdd226c1734bf4 parent ba62cd2d01e401faa5d5a25fa8e990d0b1a1996a author Hannes Reinecke Thu, 12 Jan 2006 12:08:06 +0100 committer James Bottomley Thu, 12 Jan 2006 12:03:50 -0600 [SCSI] aic79xx: Sequencer update Update sequencer code to Adaptec version 2.0.12-6.3.9. Signed-off-by: James Bottomley commit ba62cd2d01e401faa5d5a25fa8e990d0b1a1996a tree 46d2c35635f74fb74ebfd8b146e15525c151a075 parent 66a0683e4620f087e41e79d4d2be6c5a06bb206b author Hannes Reinecke Thu, 12 Jan 2006 12:07:02 +0100 committer James Bottomley Thu, 12 Jan 2006 12:01:09 -0600 [SCSI] aic79xx: Sanitize inb/outb handling This patch coalesces inb/outb calls to the approriate word or long form. Signed-off-by: James Bottomley commit 66a0683e4620f087e41e79d4d2be6c5a06bb206b tree 09f5b125da1bda61a582212f6ca1b2265f5b34f5 parent 5e46631b04382ef14255467288052f29cb77daeb author Hannes Reinecke Thu, 12 Jan 2006 12:05:46 +0100 committer James Bottomley Thu, 12 Jan 2006 12:00:34 -0600 [SCSI] aic79xx: Use struct map_node Use struct map_node instead of separate variables. Signed-off-by: James Bottomley commit 5e46631b04382ef14255467288052f29cb77daeb tree ef571b76dd5a56a2b34c6bfd9cbdb8cd141f2f3c parent bcc1e382bce8de4f26182c6447916f9c82b0fbe5 author Hannes Reinecke Thu, 12 Jan 2006 12:04:28 +0100 committer James Bottomley Thu, 12 Jan 2006 11:59:56 -0600 [SCSI] aic7xxx/aic79xx: New device ids Signed-off-by: James Bottomley commit bcc1e382bce8de4f26182c6447916f9c82b0fbe5 tree 04f2230d3474ef68c07879be95d8fbbbf9285750 parent 6171b5eff2ef3f84333af652e8c7b0838bf72945 author Chuck Ebbert <76306.1226@compuserve.com> Wed, 11 Jan 2006 23:58:40 -0500 committer James Bottomley Thu, 12 Jan 2006 11:56:01 -0600 [SCSI] Mask capabilities for SCSI-1 CD drive SCSI-1 CD drives can't do MRW or be opened for writing, so mask off those capabilities. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Acked-by: Jens Axboe Signed-off-by: James Bottomley commit 6171b5eff2ef3f84333af652e8c7b0838bf72945 tree 09349737329fca1be13871df8c3b97c2e148a1e3 parent db39363c029cd9e74661ef059a17785d1c62a851 author Mark Haverkamp Wed, 11 Jan 2006 09:28:57 -0800 committer James Bottomley Thu, 12 Jan 2006 11:55:16 -0600 [SCSI] aacraid: README update Received From Mark Salyzyn. Move the README from the driver directory to the Documentation directory. Updated the documentation, added descriptions for cards that were missing. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit db39363c029cd9e74661ef059a17785d1c62a851 tree 68fa6ae11b646103cc5a115400dc753a04ef2c43 parent 7686f132653fa3d52d45c3f021215f714094f1ca author Mark Haverkamp Wed, 11 Jan 2006 09:28:29 -0800 committer James Bottomley Thu, 12 Jan 2006 11:55:01 -0600 [SCSI] aacraid: 17 element sg performance update Received From Mark Salyzyn. The Jaguar and Corsair class of adapters (2410, 2810, 2610, 21610, CERC) perform better (about 10% better read performance, write performance neutral) with current Firmware if the OS limits the number of scatter gather elements to 17 per request. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 7686f132653fa3d52d45c3f021215f714094f1ca tree 285ed2e0e3a044e869eab806a5bed80141b178c4 parent 6e289a9023d589c24f86b29186d324215cdc9947 author Mark Haverkamp Wed, 11 Jan 2006 09:28:16 -0800 committer James Bottomley Thu, 12 Jan 2006 11:54:45 -0600 [SCSI] aacraid: better sysfs adapter information Received from Mark Salyzyn. Provide more accurate adapter information. Allows the Adapter Firmware to override the Adapter product information. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 6e289a9023d589c24f86b29186d324215cdc9947 tree 6976b28a4df6b0cd2d30f450d16576d398deee14 parent 33b114e935a2202206e224dd2c695cee5a5986bf author Mark Haverkamp Wed, 11 Jan 2006 09:28:07 -0800 committer James Bottomley Thu, 12 Jan 2006 11:54:29 -0600 [SCSI] aacraid: Fix default FIB size Received from Mark Salyzyn. If the adapter has not instructed us otherwise that it can handle a 'large' FIB, then it can handle at most a 2KB FIB. Signed-off-by: Mark Haverkamp Signed-off-by: James Bottomley commit 33b114e935a2202206e224dd2c695cee5a5986bf tree be8a435458696c51495dba8f8866cb1d32d3bff6 parent 0b9506723826c68b50fa33e345700ddcac1bed36 author Christoph Hellwig Wed, 11 Jan 2006 14:20:43 +0100 committer James Bottomley Thu, 12 Jan 2006 11:53:54 -0600 [SCSI] sas: clear parent->rphy in sas_rphy_delete We need to clear the backpointer on rphy removal, else we'll run into problems with host removal after a device has been hot unplugged. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 0b9506723826c68b50fa33e345700ddcac1bed36 tree da3e432ef4517c47ebdc088c6322d0ac51193127 parent dacee84b070c4e705a5b6446f1f0a6a6e2f8d7a4 author Arjan van de Ven Wed, 11 Jan 2006 13:16:10 +0100 committer James Bottomley Thu, 12 Jan 2006 11:53:11 -0600 [SCSI] turn most scsi semaphores into mutexes the scsi layer is using semaphores in a mutex way, this patch converts these into using mutexes instead Signed-off-by: Arjan van de Ven Signed-off-by: James Bottomley commit dacee84b070c4e705a5b6446f1f0a6a6e2f8d7a4 tree 795285f4124ce7687ed29557bbb5afd7e608213f parent 8e0df4a757db82a571f3a179108b62d09258eaf2 author James Bottomley Tue, 10 Jan 2006 12:11:42 -0600 committer James Bottomley Thu, 12 Jan 2006 11:49:07 -0600 [SCSI] aic7xxx: fix timer handling bug The driver is doing a rather stupid mod_timer allegedly to "give request sense more time to complete". This is illegal and pointless, so just eliminate it. Also eliminate all the other uses of struct timer_list in the driver, which are mostly bogus. Signed-off-by: James Bottomley commit db1019ca0548b263989bc98900eaf15107e533ad tree 19c399ec6345d8e91103b3b3625238f914246364 parent f542ff6dd1a444c85cc245ac40aef5f703e48674 author Dominik Brodowski Tue, 10 Jan 2006 19:19:37 +0100 committer Dominik Brodowski Thu, 12 Jan 2006 18:48:16 +0100 [PATCH] pcmcia: runtime powermanagement interface With the "power/state" sysfs interface being deprecated, make another one available which is compatible to what was discussed on the linux PM mailinglist. Signed-off-by: Dominik Brodowski commit f542ff6dd1a444c85cc245ac40aef5f703e48674 tree 0cd8b7d6306e23341815a379ecebf11fcd90aebd parent 9f5974c8734d83d4ab7096ed98136a82f41210d6 author Dominik Brodowski Tue, 10 Jan 2006 19:06:33 +0100 committer Dominik Brodowski Thu, 12 Jan 2006 18:48:15 +0100 [PATCH] pcmcia: add new IDs for serial_cs.c Add IDs for Sierra Aircard 55 CDMA 1xrtt Modem -- a CIS update is required for this card. Signed-off-by: Dominik Brodowski commit 8e0df4a757db82a571f3a179108b62d09258eaf2 tree f4f1bc2c90e00d3fbdd3340afba7ba121e909f52 parent 455c53ec61a6c96d7b21b72ad1fa26ac89824e8e author Andrew Vasquez Mon, 09 Jan 2006 10:17:40 -0800 committer James Bottomley Thu, 12 Jan 2006 11:46:19 -0600 [SCSI] qla2xxx: Kconfig: two fixes Original From: Adrian Bunk Here's a composite patch with Adrian's original additions and help-text with the new Kconfig variable SCSI_QLA_FC. Signed-off-by: James Bottomley commit 455c53ec61a6c96d7b21b72ad1fa26ac89824e8e tree 9c7a9a68a35bd1d2c8a0aac060c8713a9e3acab4 parent bdd70f2cebce0f5172350aab37c057c3b66494ac author Adrian Bunk Fri, 06 Jan 2006 20:21:28 +0100 committer James Bottomley Thu, 12 Jan 2006 11:36:37 -0600 [SCSI] lpfc_scsi.c: make lpfc_get_scsi_buf() static Signed-off-by: Adrian Bunk Acked-by: James Smart Signed-off-by: James Bottomley commit bdd70f2cebce0f5172350aab37c057c3b66494ac tree a6ad96176472a149c5b8c38873836119cd2ce892 parent 8e32ca49ef2eb5bfec1444b5e731cc2d35111519 author Adrian Bunk Thu, 05 Jan 2006 23:39:18 +0100 committer James Bottomley Thu, 12 Jan 2006 11:35:35 -0600 [SCSI] scsi_transport_spi.c: make print_nego() static Signed-off-by: Adrian Bunk Signed-off-by: James Bottomley commit 8e32ca49ef2eb5bfec1444b5e731cc2d35111519 tree 4353478b092ac5ab2daacaa0a9b2569f3377958f parent 593195f9b2309693f27b402f34573f7920b82c3e author Moore, Eric Wed, 04 Jan 2006 14:58:43 -0700 committer James Bottomley Thu, 12 Jan 2006 11:35:15 -0600 [SCSI] raid_class.c - adding RAID10 and RAID10 defines Adding defines for RAID10 and RAID50 levels, in preparation of adding RAID Transport support in the mpt fusion drivers. (BTW: IME is RAID10, and IM is RAID1). Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit f4619025a51747a3788fd1bb6bdc46e368a889a7 tree 81b5c860e1e9b08dbf8ba292ae17eb9ac688f23a parent 90303b102353302e84758f245906368907e6a23b author Russell King Thu, 12 Jan 2006 17:17:57 +0000 committer Russell King Thu, 12 Jan 2006 17:17:57 +0000 [ARM] Allow r2 to be passed through the decompressor to the kernel This is part of a patch from Marc Singer to allow r2 to be passed to the kernel. Marc's original comments follow: This revised R2 (atags pointer) patch incorporates comments from Nico Pitre and Ben Dooks. It modifies the head.S files such that the R2 value set by the bootloader is conveyed to the kernel startup code. The kernel head.S heuristically validates the pointer. It will set R2 to zero if it believes the pointer is invalid. Presently, it requires that the ATAGS list reside in the first 16KiB of physical RAM. Relaxing this contraint may be both desirable as well as tricky. Signed-off-by: Marc Singer Signed-off-by: Russell King commit 9f5974c8734d83d4ab7096ed98136a82f41210d6 tree 6f328555796bafefb74936ab68128aa84efd28b1 parent a2d823bf13efea4c859376f6e85c49cfbad7ab60 parent ddae9c2ea79449beb00027cf77fca6dc489f2d15 author Linus Torvalds Thu, 12 Jan 2006 09:10:34 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:10:34 -0800 Merge git://oss.sgi.com:8090/oss/git/xfs-2.6 commit a2d823bf13efea4c859376f6e85c49cfbad7ab60 tree 0fd97fcd135e9a60adb08c62034f6fc2388120e1 parent 3c9757b7c28161e073e7f408978b7ed01925924c author Al Viro Thu, 12 Jan 2006 01:06:40 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:06 -0800 [PATCH] m68k: console code in head.S needs framebuffer support built in Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c9757b7c28161e073e7f408978b7ed01925924c tree bcaa65fc847c5053453645a6e0e19c5f3581f0f3 parent ed1705afb93409a3e345d653be9d263984aa5c1b author Al Viro Thu, 12 Jan 2006 01:06:40 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:05 -0800 [PATCH] m68k: fix PIO case in esp we always set ->SCp.ptr to physical address of buffer; for DMA that's just what we need, but we end up using it as virtual address in PIO case of esp_do_data(), with obvious breakage as soon as memory mapping becomes non-trivial. The fix is obvious. Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed1705afb93409a3e345d653be9d263984aa5c1b tree 8184e459ba4f532de1339157f0e3a1236c0722d3 parent 54a5a6eb5842d68fe0aaa60d50fdea532c19770b author Al Viro Thu, 12 Jan 2006 01:06:39 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:05 -0800 [PATCH] m68k: fix macfb init To be used by module_init() function should return int; same for functions that have "return -ENODEV;" in them, actually ;-) Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 54a5a6eb5842d68fe0aaa60d50fdea532c19770b tree d2684da4b1253453f41003c2597c60bf9c2bafd6 parent a763be5c1aace94cf4adfc5ea164f5b0d2d255cd author Al Viro Thu, 12 Jan 2006 01:06:38 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:05 -0800 [PATCH] m68k: fix reference to init_task in vmlinux-sun3.lds it's *(.data.init_task), not init_task... Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a763be5c1aace94cf4adfc5ea164f5b0d2d255cd tree 33f4e1aa438814a65492b4cb7fdd57b912b3c022 parent 639074354bb371feb2dde409b2ce05d56afef02b author Al Viro Thu, 12 Jan 2006 01:06:37 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:05 -0800 [PATCH] m68k: fix use of void foo(void) asm("bar") in traps.c with gcc4 these have file scope, so having them different in different blocks doesn't work anymore Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 639074354bb371feb2dde409b2ce05d56afef02b tree 2524111d2bc4531e3cbd280f1b02d656b41c41d4 parent 0c79358b874af31430cf8d26540ae7b8713505f6 author Al Viro Thu, 12 Jan 2006 01:06:36 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:05 -0800 [PATCH] m68k: kill mach_floppy_setup, convert to proper __setup() in drivers Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c79358b874af31430cf8d26540ae7b8713505f6 tree 82f5c96e8968fb93f08db1daa0ca6b8f98b9fdc7 parent 35efbcabdc217f2b3a73bf3b895559e8f269e258 author Al Viro Thu, 12 Jan 2006 01:06:35 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:05 -0800 [PATCH] m68k: Moved initialisation of conswitchp from subarches to global arch setup Signed-off-by: Kars de Jong Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 35efbcabdc217f2b3a73bf3b895559e8f269e258 tree 85077309dff12435d4dfe9419399e6beab7ec424 parent a5d361fc24b75ea51e219367ee32c64422a2134f author Al Viro Thu, 12 Jan 2006 01:06:34 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:04 -0800 [PATCH] m68k: cast in strnlen switched to unsigned long Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a5d361fc24b75ea51e219367ee32c64422a2134f tree a81fe8cae7e440b97fe9114ee10af7b9ff5625da parent 031eb4cddec7a4825212ece47de4bd64cd8e0bee author Al Viro Thu, 12 Jan 2006 01:06:34 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:04 -0800 [PATCH] m68k: NULL noise removal Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 031eb4cddec7a4825212ece47de4bd64cd8e0bee tree 0d421db4aada37806e8ce0202a05fb3914895228 parent d998265feb7cbcf74e27e3057dac309dcad47bf7 author Al Viro Thu, 12 Jan 2006 01:06:33 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:04 -0800 [PATCH] m68k: dmasound __user annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d998265feb7cbcf74e27e3057dac309dcad47bf7 tree 96f84172a1c79b27f138be40d3773758b3d9dec5 parent 3728d254def75837bf57aa4f897ba4f3a3e82d0b author Al Viro Thu, 12 Jan 2006 01:06:32 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:04 -0800 [PATCH] m68k: zorro __user annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3728d254def75837bf57aa4f897ba4f3a3e82d0b tree b2643a959129c19c0ef76588f85b79210fde055c parent d85f6891aa143bed92590e10e210e7e102bbb2a1 author Al Viro Thu, 12 Jan 2006 01:06:31 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:04 -0800 [PATCH] m68k: amifb __user annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d85f6891aa143bed92590e10e210e7e102bbb2a1 tree ce1ea8a89499bcd3b9a20bcb70e49e7edccceddc parent ab14caec7a5f0d9569c8a9dd2ad62e89b220c968 author Al Viro Thu, 12 Jan 2006 01:06:31 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:04 -0800 [PATCH] m68k: dsp56k __user annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ab14caec7a5f0d9569c8a9dd2ad62e89b220c968 tree 35a1c1945a0531b1ceb642244d99df23b1ae35b4 parent 2c7af51129161a7a3dc4169c984964912f1f4822 author Al Viro Thu, 12 Jan 2006 01:06:30 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:03 -0800 [PATCH] m68k: amiserial __user annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2c7af51129161a7a3dc4169c984964912f1f4822 tree 4d13ffe5b34dcb9f3c65d99661bf464cefe58df7 parent 8a423e542b4a9af45ac0106ab8275760af770793 author Al Viro Thu, 12 Jan 2006 01:06:29 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:03 -0800 [PATCH] m68k: ataflop __user annotations, NULL noise removal Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8a423e542b4a9af45ac0106ab8275760af770793 tree 5d21bac2d641afcc6e908ea82c98dd52980c561c parent 6225d85f171f8b7a776850d30352bd196f9bd0d6 author Al Viro Thu, 12 Jan 2006 01:06:28 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:03 -0800 [PATCH] m68k: amiflop __user annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6225d85f171f8b7a776850d30352bd196f9bd0d6 tree 3a3139d1428a78152b383509aaebc04d0a45904e parent 350c20a6fd24b2a3265f7ca440aa17570e89e2cd author Al Viro Thu, 12 Jan 2006 01:06:28 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:03 -0800 [PATCH] m68k: checksum __user annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 350c20a6fd24b2a3265f7ca440aa17570e89e2cd tree 3e10994ff5c6c8f31db2a71b71099c409235bc18 parent 1b7bb54a417ca73eefc52df3702ff5167b46dc89 author Al Viro Thu, 12 Jan 2006 01:06:27 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:03 -0800 [PATCH] m68k: syscalls __user annotation Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1b7bb54a417ca73eefc52df3702ff5167b46dc89 tree d54252ef62ea1e140613d20a7cbf6f1efaf0aba2 parent 2382f77ffcde32e5195d5c82fee91171bb764c1a author Al Viro Thu, 12 Jan 2006 01:06:26 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:03 -0800 [PATCH] m68k: rtc __user annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2382f77ffcde32e5195d5c82fee91171bb764c1a tree a63001b229c1a6f89459f8bfcba6a40950bd92eb parent 11c40f8a6ac8bd057043b1f9e7c9490c0e6149f3 author Al Viro Thu, 12 Jan 2006 01:06:25 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:02 -0800 [PATCH] m68k: signal __user annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 11c40f8a6ac8bd057043b1f9e7c9490c0e6149f3 tree 2086869126f3e327f96f41cb3b85a8f4399e2ef1 parent ad9ec4f8de264903c6b5ba7ae8d8e96432188858 author Al Viro Thu, 12 Jan 2006 01:06:24 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:02 -0800 [PATCH] m68k: basic __user annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ad9ec4f8de264903c6b5ba7ae8d8e96432188858 tree 9ae7f2625eaa777abdb6b5cb2d505361d37ae675 parent 9a4729118c8851bce709a00eba1b3a8f1fd9ed58 author Al Viro Thu, 12 Jan 2006 01:06:24 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:02 -0800 [PATCH] m68k: basic iomem annotations Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a4729118c8851bce709a00eba1b3a8f1fd9ed58 tree 5941c25f7fb53ad4d607a9449db693c6f95bf40f parent 3756513d5fdc7b4ba814419165afcd10c6b1618d author Al Viro Thu, 12 Jan 2006 01:06:23 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:02 -0800 [PATCH] m68k: compile fixes for dmasound (static vs. extern) sound/oss/dmasound/dmasound_atari.c has static expand_bal sound/oss/dmasound/dmasound_q40.c has static expand_bal sound/oss/dmasound/dmasound_awacs.c has non-static expand_bal sound/oss/dmasound/trans_16.c uses expand_bal from dmasound_awacs.c all 4 include dmasound.h; extern for expand_bal used to be there, which is a bloody bad idea, considering _atari and _q40. Moved the extern to trans_16.c. Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3756513d5fdc7b4ba814419165afcd10c6b1618d tree 1ff57ecd55df8ff372143ac94ff419658ce0a7b6 parent 815f597be444e5f9f5b4dbd65b862208d5253598 author Al Viro Thu, 12 Jan 2006 01:06:22 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:02 -0800 [PATCH] m68k: lvalues abuse in dmasound Cast is not an lvalue Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 815f597be444e5f9f5b4dbd65b862208d5253598 tree 0ef609a079829fc68fe1bfe289709e7c16a3cae6 parent 09cc07a5c7996192cc19c79c8aac5a4a22528059 author Al Viro Thu, 12 Jan 2006 01:06:21 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:02 -0800 [PATCH] m68k: dmasound_paula.c lvalues abuse (from m68k CVS) Avoid warnings about use of cast expressions as lvalues Signed-off-by: Roman Zippel Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 09cc07a5c7996192cc19c79c8aac5a4a22528059 tree 839f0352cdf059938307e7b0eb3443da61cac547 parent 0efb71348249903c54e71f26927cfc94ba186dfb author Al Viro Thu, 12 Jan 2006 01:06:21 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:01 -0800 [PATCH] m68k: lvalues abuse in mac8390 Cast is not an lvalue Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0efb71348249903c54e71f26927cfc94ba186dfb tree 041c42c3f5ab97486bcf4722109a434d542552a8 parent 7f2633388d64c0489516af04e0d4cd9f01397a94 author Al Viro Thu, 12 Jan 2006 01:06:20 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:01 -0800 [PATCH] m68k: bogus function argument types (sun3_pgtable.h) function arguments can't be inline, TYVM... Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7f2633388d64c0489516af04e0d4cd9f01397a94 tree b116bd1e17c2eda24e43f829df468c58e71bb5ab parent 77add9f3e6a486e5623f3e693ded216f155bd2a5 author Al Viro Thu, 12 Jan 2006 01:06:19 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:01 -0800 [PATCH] m68k: broken constraints on mulu.l Too permissive constraint on mulu.l - the first argument should not be an a-register. Fixed by replacing "g" with "dm"; with older gcc we got lucky and it had never attempted mulu.l %a0, %d1:%d0. These days it does, with predictable objections from as(1). Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 77add9f3e6a486e5623f3e693ded216f155bd2a5 tree 56f74f931a03f566011d0d946f69a17acd9e34b6 parent 84a65cc6c18848fcee9c9ae8766bb5c60787d21b author Al Viro Thu, 12 Jan 2006 01:06:18 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:01 -0800 [PATCH] m68k: memory input should be an lvalue (mac/misc.c) gcc4 is less forgiving and wants memory inputs to be real lvalues; variable added and value stored in it explicitly before doing __asm__. Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 84a65cc6c18848fcee9c9ae8766bb5c60787d21b tree 150a192c13d9a0970907a34e40306bdf3f3b894d parent 6ebf21ac7cefce035452f34971f6825641791015 author Al Viro Thu, 12 Jan 2006 01:06:17 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:01 -0800 [PATCH] m68k: static vs. extern in amigaints.h extern declaration of static object removed from header Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ebf21ac7cefce035452f34971f6825641791015 tree e06eaf29c938e6b08397f6292e0869e050f46fe3 parent df87ac96140ef216e31b859868743d43732686de author Al Viro Thu, 12 Jan 2006 01:06:17 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:01 -0800 [PATCH] m68k: static vs. extern in sun3ints.h extern declaration of static object removed from header Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit df87ac96140ef216e31b859868743d43732686de tree 0f6d9e458c7794aaa34587c1082c8f32fd008b6a parent aa7e02fe3786b524dde18d24f0c5a718182c72a2 author Al Viro Thu, 12 Jan 2006 01:06:16 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:00 -0800 [PATCH] m68k: static vs. extern in scc.h extern declaration before the static one Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aa7e02fe3786b524dde18d24f0c5a718182c72a2 tree 0b57c959cd852fe6a71ab0c82b55dff0fc2154ec parent 641940611478df8b63f581310b9d51806dda3212 author Al Viro Thu, 12 Jan 2006 01:06:15 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:00 -0800 [PATCH] m68k: isa_{type,sex} should be exported Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 641940611478df8b63f581310b9d51806dda3212 tree 8c55714d905ef06814c161a87e7352d843fad84c parent cef46b1f10ab67c2a00d866413b9e7e26aae9eed author Al Viro Thu, 12 Jan 2006 01:06:14 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:00 -0800 [PATCH] m68k: oktagon makefile fix oktagon_esp is described as modular. However, drivers/scsi/Makefile doesn't handle it right - it's multi-object module, with one of the parts being built from .S. Current makefile tries to declare each part a module of its own; that not only wouldn't work (oktagon_io.o doesn't have the right parts for that), it actually doesn't even build since kbuild doesn't believe in single-object modules built from .S. Turned into proper multi-object module... Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cef46b1f10ab67c2a00d866413b9e7e26aae9eed tree b2804e2e05461b7dbc1d0c3fcfd5cf93cfb71e45 parent 3272244c2b1a8f13cec83c04b8245fa7fcb47a27 author Al Viro Thu, 12 Jan 2006 01:06:13 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:00 -0800 [PATCH] m68k: dumb typo in atyfb Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3272244c2b1a8f13cec83c04b8245fa7fcb47a27 tree dd6db1d885d98ac5f945d676961b3e267ed31440 parent b4290a23cfa9040e2f0de5ab57d6ea65abaf053b author Al Viro Thu, 12 Jan 2006 01:06:13 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:00 -0800 [PATCH] m68k: switch mac/misc.c to direct use of appropriate cuda/pmu/maciisi requests kill ADBREQ_RAW use, replace adb_read_time(), etc. with per-type variants, eliminated remapping from pmu ones, fix the ifdefs (PMU->PMU68K) Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b4290a23cfa9040e2f0de5ab57d6ea65abaf053b tree 592b8ecd6a2a4b618c5de1a2573f79cd932df31e parent 198a4101197797fd9cee40c17dc285dc84c5d745 author Al Viro Thu, 12 Jan 2006 01:06:12 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:09:00 -0800 [PATCH] m68k: namespace pollution fix (custom->amiga_custom) in amigahw.h custom renamed to amiga_custom, in drivers with few instances the same replacement, in the rest - #define custom amiga_custom in driver itself Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 198a4101197797fd9cee40c17dc285dc84c5d745 tree d3478dfa6f1ad8c9e2caf8628df1bbcdc88bc00e parent 85b07cd1aa50aca8331e5dfe3b2ccb2eb391b183 author Al Viro Thu, 12 Jan 2006 01:06:11 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:59 -0800 [PATCH] m68k: compile fix - updated vmlinux.lds to include LOCK_TEXT Signed-off-by: Al Viro Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 85b07cd1aa50aca8331e5dfe3b2ccb2eb391b183 tree 959d39c4d7072a9266b0989c13f5c7ece8656c9f parent f5a61d0c13db3522a996075bc1b1884a8af2ed37 author Al Viro Thu, 12 Jan 2006 01:06:10 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:59 -0800 [PATCH] m68k: compile fix - hardirq checks were in wrong place move the sanity check for NR_IRQS being no more than 1< Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f5a61d0c13db3522a996075bc1b1884a8af2ed37 tree e234cb428cb501206e48b654ca6dc82cb389447e parent 75bb07e788abb060cc93b6f4dc48a70a53c1406b author Al Viro Thu, 12 Jan 2006 01:06:09 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:59 -0800 [PATCH] death of get_thread_info/put_thread_info {get,put}_thread_info() were introduced in 2.5.4 and never had been called by anything in the tree. Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 75bb07e788abb060cc93b6f4dc48a70a53c1406b tree a7c050e5ada04c8900f23e057c425b51c2a96712 parent dc8f6029cd51af1b148846a32e68d69013a5cc0f author Al Viro Thu, 12 Jan 2006 01:06:08 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:59 -0800 [PATCH] mips: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dc8f6029cd51af1b148846a32e68d69013a5cc0f tree 64288cee77b341c2c39accbe5f593ff9445e18f1 parent 40bc9c671a9f0a5189c07a2b4280aec9b40e30cd author Al Viro Thu, 12 Jan 2006 01:06:07 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:59 -0800 [PATCH] mips: task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 40bc9c671a9f0a5189c07a2b4280aec9b40e30cd tree b44709dbe0a5f825f6fc0a0e0bfeac1028d8c443 parent 6450578f32cdca587ae5f148e2118b2fcc36bb11 author Al Viro Thu, 12 Jan 2006 01:06:07 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:58 -0800 [PATCH] mips: task_pt_regs() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6450578f32cdca587ae5f148e2118b2fcc36bb11 tree 91ad424aae66d72fc370dc624fca3f42d830675b parent ab03591db110e8d195d381a68692eb37da981cdf author Al Viro Thu, 12 Jan 2006 01:06:06 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:58 -0800 [PATCH] ia64: task_pt_regs() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ab03591db110e8d195d381a68692eb37da981cdf tree 2ebf699572844388ee9a12407e31d2915a399cb5 parent 718d6114fcd894bf4d3527b9e206a1cbcaaae35d author Al Viro Thu, 12 Jan 2006 01:06:05 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:58 -0800 [PATCH] ia64: task_thread_info() on ia64 thread_info is at the constant offset from task_struct and stack is embedded into the same beast. Set __HAVE_THREAD_FUNCTIONS, made task_thread_info() just add a constant. Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 718d6114fcd894bf4d3527b9e206a1cbcaaae35d tree 3a247a3f9201657ff67735b559984b87ecb1b12f parent cfa0f29b6da2c4d45ecdeaabe17af4c4adc47c05 author Al Viro Thu, 12 Jan 2006 01:06:04 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:58 -0800 [PATCH] cris: task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cfa0f29b6da2c4d45ecdeaabe17af4c4adc47c05 tree b510b043f7762f6bd3089065310015ad96f8b65c parent 95ca0dc603ab58f3e4c5a1c23f675bd1f5b5fef3 author Al Viro Thu, 12 Jan 2006 01:06:04 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:58 -0800 [PATCH] cris: fix KSTK_EIP cris KSTK_EIP looked for pt_regs at the right offset but from the wrong place - forgotten ->thread_info Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 95ca0dc603ab58f3e4c5a1c23f675bd1f5b5fef3 tree 367ddcc3858b9c3e852ea2f6bafaffd43424c9e5 parent 0cec6fd1370807f98934e84c9e6147335b81d8a5 author Al Viro Thu, 12 Jan 2006 01:06:03 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:58 -0800 [PATCH] cris: task_pt_regs() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0cec6fd1370807f98934e84c9e6147335b81d8a5 tree ead813727b785ec973ef88158895cca381a25027 parent b5e2fc1c6259e6f26bc4ae4de697da1f8da0edec author Al Viro Thu, 12 Jan 2006 01:06:02 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:57 -0800 [PATCH] powerpc: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b5e2fc1c6259e6f26bc4ae4de697da1f8da0edec tree a30c0c897bd0b6e529b6ef760f6bd44775cfb7d3 parent ee8c1dd44305cca9d0ded248de991f67b55ec622 author Al Viro Thu, 12 Jan 2006 01:06:01 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:57 -0800 [PATCH] powerpc: task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ee8c1dd44305cca9d0ded248de991f67b55ec622 tree 59d5e3b0cfa58390f793223eb8b3a779fc61c2d6 parent 7fdf0d7a2012e560fee738bfd7f2af26faeb3a39 author Al Viro Thu, 12 Jan 2006 01:06:01 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:57 -0800 [PATCH] sh64: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7fdf0d7a2012e560fee738bfd7f2af26faeb3a39 tree 385216347b902e00104ec01a53c5c6ba020d390c parent 02ef691f6ce4097da5617ebf59493487cb2b4f82 author Al Viro Thu, 12 Jan 2006 01:06:00 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:57 -0800 [PATCH] arm26: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 02ef691f6ce4097da5617ebf59493487cb2b4f82 tree d8622de19098caeed92142a5edfe7d0df04f98a4 parent 697102cda5c5e778d0bc3b4b9f8d935f4fe64125 author Al Viro Thu, 12 Jan 2006 01:05:59 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:57 -0800 [PATCH] arm26: task_pt_regs() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 697102cda5c5e778d0bc3b4b9f8d935f4fe64125 tree c97150b6f2a80b014026fbf496f8259937fdac3a parent 32d39a9355780bc9aadcf76a2d2004bdbe0f4665 author Al Viro Thu, 12 Jan 2006 01:05:59 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:57 -0800 [PATCH] arm26: task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 32d39a9355780bc9aadcf76a2d2004bdbe0f4665 tree bd3003a3b13be7d4766e63dbb4c95472bc708125 parent 552058239238342dfd2fa8d33a299a162b1a4f05 author Al Viro Thu, 12 Jan 2006 01:05:58 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:56 -0800 [PATCH] arm: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 552058239238342dfd2fa8d33a299a162b1a4f05 tree c68f755bcff4d8b1afd931e81187d4065935d4f8 parent 815d5ec86eb8d5f57e5e4aa147bd1fb6338c58ac author Al Viro Thu, 12 Jan 2006 01:05:57 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:56 -0800 [PATCH] arm: end_of_stack() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 815d5ec86eb8d5f57e5e4aa147bd1fb6338c58ac tree fe2e78f38963c0de63e032ec84b25a56ce963bd1 parent e7c1b32fd354c34c4dceb1736a485bc5d91f7c43 author Al Viro Thu, 12 Jan 2006 01:05:57 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:55 -0800 [PATCH] arm: task_pt_regs() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e7c1b32fd354c34c4dceb1736a485bc5d91f7c43 tree 165e0b0f4cf5cc3e393e66fedf4e81d90cf7297c parent 68f8b1f8f113fcbc8d8e835f174b97cdaf96af20 author Al Viro Thu, 12 Jan 2006 01:05:56 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:55 -0800 [PATCH] arm: task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 68f8b1f8f113fcbc8d8e835f174b97cdaf96af20 tree 0064610b7aefea6f3740dd88d7a27d10514a61f3 parent 40f1f0deaff90b78b81dbba109bfa1cef241ec16 author Al Viro Thu, 12 Jan 2006 01:05:55 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:55 -0800 [PATCH] h8300: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 40f1f0deaff90b78b81dbba109bfa1cef241ec16 tree d4c3ca3c4a26df585b5cd24e7ae63ac3c246f4e3 parent 513091ba7e4a8b498632d7913ff9408ebbca6235 author Al Viro Thu, 12 Jan 2006 01:05:55 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:55 -0800 [PATCH] parisc: task_stack_page(), task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 513091ba7e4a8b498632d7913ff9408ebbca6235 tree cb460fb97713839a33cc0df61a336d6884990f4b parent 768595ffba46b101ad54d8775e640fecbe470d9a author Al Viro Thu, 12 Jan 2006 01:05:54 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:55 -0800 [PATCH] m68knommu: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 768595ffba46b101ad54d8775e640fecbe470d9a tree 234a7c06144d118fde6eacf50017a996188df768 parent 097cb338c72b4916d8221278caba63d74d9f19d6 author Al Viro Thu, 12 Jan 2006 01:05:53 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:55 -0800 [PATCH] m68k: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 097cb338c72b4916d8221278caba63d74d9f19d6 tree 7a5abd24170e05a8c87d75da8f4a5ffa59d1c3ab parent 6c3559fc458e3ed171d7a8bf6a6d7eaea1e7b2e5 author Al Viro Thu, 12 Jan 2006 01:05:53 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:54 -0800 [PATCH] frv: task_thread_info(), task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6c3559fc458e3ed171d7a8bf6a6d7eaea1e7b2e5 tree e6c68721887f4f6fbc5aa0c2e6629f30f73f74b2 parent b7f6961d83d480c8636543d1d0dbb9584b878a68 author Al Viro Thu, 12 Jan 2006 01:05:52 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:54 -0800 [PATCH] m32r: task_pt_regs(), task_stack_page(), task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b7f6961d83d480c8636543d1d0dbb9584b878a68 tree 775880d505a3ed00e7bc72a5079183e792325d89 parent 04fe6faf10c310480151667e7fe3e06df4208a8e author Al Viro Thu, 12 Jan 2006 01:05:51 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:54 -0800 [PATCH] v850: task_stack_page(), task_pt_regs() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 04fe6faf10c310480151667e7fe3e06df4208a8e tree 14dc22d1bd96e438a71d9434b07d9e49d072ea9a parent 30af7120fe6cfa8cf9ccd0626474fa1cd6d2bd59 author Al Viro Thu, 12 Jan 2006 01:05:50 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:54 -0800 [PATCH] xtensa: task_pt_regs(), task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30af7120fe6cfa8cf9ccd0626474fa1cd6d2bd59 tree 11b63f1e3c69444303a031eab445f3222f10a6c3 parent c7584fb6b46a71a1aba5e06dc3cc54ce10f0129e author Al Viro Thu, 12 Jan 2006 01:05:50 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:54 -0800 [PATCH] s390: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c7584fb6b46a71a1aba5e06dc3cc54ce10f0129e tree 20c405cf083c77418d2f252b64e9d735cb0012f0 parent 579b3ea5916d60ade1e04d2a49637e5cbba67eac author Al Viro Thu, 12 Jan 2006 01:05:49 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:54 -0800 [PATCH] s390: task_pt_regs() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 579b3ea5916d60ade1e04d2a49637e5cbba67eac tree 9dd96a3fc1e55b3c093ef611edcd16a7aed1f32a parent ca9bc0bb2d1c7afdd34ec79b3de4d16a8e0225e8 author Al Viro Thu, 12 Jan 2006 01:05:48 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:53 -0800 [PATCH] uml: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca9bc0bb2d1c7afdd34ec79b3de4d16a8e0225e8 tree 0233d66a5b61716f676ef78e45bb71e976668cd2 parent 36483c6b5e6cc8f29fbe5203caa7e0b836802747 author Al Viro Thu, 12 Jan 2006 01:05:48 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:53 -0800 [PATCH] uml: task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 36483c6b5e6cc8f29fbe5203caa7e0b836802747 tree fe3504187c6dfae43906f3484cc7bbef42502510 parent d562ef6a23feb72f32ebd23fb32fe7d2c35a85cd author Al Viro Thu, 12 Jan 2006 01:05:47 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:53 -0800 [PATCH] sparc: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d562ef6a23feb72f32ebd23fb32fe7d2c35a85cd tree 3ee5db91cee3b52c6ba1a07a8f487bfe3df0d095 parent 308a792f7c563a7af6e325274c63812f98988d6f author Al Viro Thu, 12 Jan 2006 01:05:46 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:53 -0800 [PATCH] sparc: task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 308a792f7c563a7af6e325274c63812f98988d6f tree dc69f570a04bbf43403dea756fca44a4a7d132fc parent cafcfcaa60dbb5bcccbbc1d0ad7d4bdeeb4d0cc8 author Al Viro Thu, 12 Jan 2006 01:05:45 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:53 -0800 [PATCH] sh: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cafcfcaa60dbb5bcccbbc1d0ad7d4bdeeb4d0cc8 tree a3830f77e0d4de4393ce02fefe401a2edead8746 parent 3cf0f4ece9f1680e54b154b1e38baaf6ace20a62 author Al Viro Thu, 12 Jan 2006 01:05:45 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:53 -0800 [PATCH] sh: task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3cf0f4ece9f1680e54b154b1e38baaf6ace20a62 tree eaebb77428101f5093aa7c0fa8cbc008c9d61ba2 parent 26ecbdea4bf46b0165db4aafd8e4981b4db53936 author Al Viro Thu, 12 Jan 2006 01:05:44 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:52 -0800 [PATCH] sh: task_pt_regs() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 26ecbdea4bf46b0165db4aafd8e4981b4db53936 tree 16d743692c32f465a5c73b3f051bd87c87ba08ae parent ee3eea165e706a3ce8a53693e810403f65239ebb author Al Viro Thu, 12 Jan 2006 01:05:43 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:52 -0800 [PATCH] sparc64: task_pt_regs() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ee3eea165e706a3ce8a53693e810403f65239ebb tree 6e2b4a23cac74a3fadf180d25720eb39292a12e6 parent f3169641c12d2c5abdab863f5393a3f3534788dd author Al Viro Thu, 12 Jan 2006 01:05:43 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:52 -0800 [PATCH] sparc64: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f3169641c12d2c5abdab863f5393a3f3534788dd tree a455f38f7ac748c3e334d1105d16a0f94a4c0e57 parent 65e0fdffc977e69a8f1f26d4bf8ba30984db7e44 author Al Viro Thu, 12 Jan 2006 01:05:42 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:52 -0800 [PATCH] sparc64: task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 65e0fdffc977e69a8f1f26d4bf8ba30984db7e44 tree 569c7238ea64dfac7508c503d4f0229a72d06e32 parent 07b047fc2466249aff7cdb23fa0b0955a7a00d48 author Al Viro Thu, 12 Jan 2006 01:05:41 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:52 -0800 [PATCH] i386: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 07b047fc2466249aff7cdb23fa0b0955a7a00d48 tree af22cc80470f8aff6d0c25276ef8fae2b3f537a7 parent 06b425d80f56280e698b3e8487c372e0d39d9ba1 author akpm@osdl.org Thu, 12 Jan 2006 01:05:41 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:52 -0800 [PATCH] i386: fix task_pt_regs() ) From: Al Viro task_pt_regs() needs the same offset-by-8 to match copy_thread() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 06b425d80f56280e698b3e8487c372e0d39d9ba1 tree 107f441a080074b5fdc16cf4d94632356b29a1e5 parent 57eafdc22c8e788859b67c2c7ac4d636716603a5 author Al Viro Thu, 12 Jan 2006 01:05:40 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:51 -0800 [PATCH] i386: task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 57eafdc22c8e788859b67c2c7ac4d636716603a5 tree a85b01c191084bfc0809d8704e58c2602fa5fddd parent bb049232fa8fe08c90b182f378eed5017da5235c author Al Viro Thu, 12 Jan 2006 01:05:39 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:51 -0800 [PATCH] amd64: task_stack_page() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb049232fa8fe08c90b182f378eed5017da5235c tree b8a71968d4acedf35081986584c6f24c21c68b65 parent e4f17c436f8e4241995c2531372be8dd7ea6ff75 author Al Viro Thu, 12 Jan 2006 01:05:38 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:51 -0800 [PATCH] amd64: task_pt_regs() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e4f17c436f8e4241995c2531372be8dd7ea6ff75 tree ac797b8402c9a44182f16b76ffc13559d6c0edb3 parent e52f4ca2a7cfea3495cabae23d48f1538f09ccf2 author Al Viro Thu, 12 Jan 2006 01:05:38 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:51 -0800 [PATCH] amd64: task_thread_info() Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e52f4ca2a7cfea3495cabae23d48f1538f09ccf2 tree d924a14c6e64a768faf98eb19deb5b7e81ca9934 parent 27f451304aa6f2bccf34ef3c2b049c01d05d6fff author akpm@osdl.org Thu, 12 Jan 2006 01:05:37 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:50 -0800 [PATCH] alpha: task_pt_regs() ) From: Al Viro rename alpha_task_regs() to task_pt_regs(), switch open-coded instances to use of the helper. Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 27f451304aa6f2bccf34ef3c2b049c01d05d6fff tree f4593b303847acb33885ea2638c5ef96a82945dd parent 37bfbaf995d2c1f8196ee04c9d6f68258d5ec3e8 author Al Viro Thu, 12 Jan 2006 01:05:36 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:50 -0800 [PATCH] alpha: task_stack_page() use task_stack_page() for accesses to stack page of task in alpha-specific parts of tree Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 37bfbaf995d2c1f8196ee04c9d6f68258d5ec3e8 tree baa1ce07e948e5b91cfb3cd5d139f8d45e1ba325 parent 9fc658763bf992e778243ebe898b03746151ab88 author Al Viro Thu, 12 Jan 2006 01:05:36 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:50 -0800 [PATCH] alpha: task_thread_info() use task_thread_info() for accesses to thread_info of task in arch/alpha and include/asm-alpha Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9fc658763bf992e778243ebe898b03746151ab88 tree 9ae10dfbf30c2301e8b7ae2845c725078088521b parent d7102e95b7b9c00277562c29aad421d2d521c5f6 author Al Viro Thu, 12 Jan 2006 01:05:34 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:50 -0800 [PATCH] missing helper - task_stack_page() Patchset annotates arch/* uses of ->thread_info. Ones that really are about access of thread_info of given process are simply switched to task_thread_info(task); ones that deal with access to objects on stack are switched to new helper - task_stack_page(). A _lot_ of the latter are actually open-coded instances of "find where pt_regs are"; those are consolidated into task_pt_regs(task) (many architectures actually have such helper already). Note that these annotations are not mandatory - any code not converted to these helpers still works. However, they clean up a lot of places and have actually caught a number of bugs, so converting out of tree ports would be a good idea... As an example of breakage caught by that stuff, see i386 pt_regs mess - we used to have it open-coded in a bunch of places and when back in April Stas had fixed a bug in copy_thread(), the rest had been left out of sync. That required two followup patches (the latest - just before 2.6.15) _and_ still had left /proc/*/stat eip field broken. Try ps -eo eip on i386 and watch the junk... This patch: new helper - task_stack_page(task). Returns pointer to the memory object containing task stack; usually thread_info of task sits in the beginning of that object. Signed-off-by: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d7102e95b7b9c00277562c29aad421d2d521c5f6 tree 3ad3d94c329095962c6cd6dcea41e1ccf2db5a7e parent 198e2f181163233b379dc7ce8a6d7516b84042e7 author akpm@osdl.org Thu, 12 Jan 2006 01:05:32 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:50 -0800 [PATCH] sched: filter affine wakeups ) From: Nick Piggin Track the last waker CPU, and only consider wakeup-balancing if there's a match between current waker CPU and the previous waker CPU. This ensures that there is some correlation between two subsequent wakeup events before we move the task. Should help random-wakeup workloads on large SMP systems, by reducing the migration attempts by a factor of nr_cpus. Signed-off-by: Ingo Molnar Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 198e2f181163233b379dc7ce8a6d7516b84042e7 tree cc4067ca1c81034ba8d214b7ff4c39f2f5be66ee parent 4dc7a0bbeb6882ad665e588e82fabe5bb4645f2f author akpm@osdl.org Thu, 12 Jan 2006 01:05:30 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:50 -0800 [PATCH] scheduler cache-hot-autodetect ) From: Ingo Molnar This is the latest version of the scheduler cache-hot-auto-tune patch. The first problem was that detection time scaled with O(N^2), which is unacceptable on larger SMP and NUMA systems. To solve this: - I've added a 'domain distance' function, which is used to cache measurement results. Each distance is only measured once. This means that e.g. on NUMA distances of 0, 1 and 2 might be measured, on HT distances 0 and 1, and on SMP distance 0 is measured. The code walks the domain tree to determine the distance, so it automatically follows whatever hierarchy an architecture sets up. This cuts down on the boot time significantly and removes the O(N^2) limit. The only assumption is that migration costs can be expressed as a function of domain distance - this covers the overwhelming majority of existing systems, and is a good guess even for more assymetric systems. [ People hacking systems that have assymetries that break this assumption (e.g. different CPU speeds) should experiment a bit with the cpu_distance() function. Adding a ->migration_distance factor to the domain structure would be one possible solution - but lets first see the problem systems, if they exist at all. Lets not overdesign. ] Another problem was that only a single cache-size was used for measuring the cost of migration, and most architectures didnt set that variable up. Furthermore, a single cache-size does not fit NUMA hierarchies with L3 caches and does not fit HT setups, where different CPUs will often have different 'effective cache sizes'. To solve this problem: - Instead of relying on a single cache-size provided by the platform and sticking to it, the code now auto-detects the 'effective migration cost' between two measured CPUs, via iterating through a wide range of cachesizes. The code searches for the maximum migration cost, which occurs when the working set of the test-workload falls just below the 'effective cache size'. I.e. real-life optimized search is done for the maximum migration cost, between two real CPUs. This, amongst other things, has the positive effect hat if e.g. two CPUs share a L2/L3 cache, a different (and accurate) migration cost will be found than between two CPUs on the same system that dont share any caches. (The reliable measurement of migration costs is tricky - see the source for details.) Furthermore i've added various boot-time options to override/tune migration behavior. Firstly, there's a blanket override for autodetection: migration_cost=1000,2000,3000 will override the depth 0/1/2 values with 1msec/2msec/3msec values. Secondly, there's a global factor that can be used to increase (or decrease) the autodetected values: migration_factor=120 will increase the autodetected values by 20%. This option is useful to tune things in a workload-dependent way - e.g. if a workload is cache-insensitive then CPU utilization can be maximized by specifying migration_factor=0. I've tested the autodetection code quite extensively on x86, on 3 P3/Xeon/2MB, and the autodetected values look pretty good: Dual Celeron (128K L2 cache): --------------------- migration cost matrix (max_cache_size: 131072, cpu: 467 MHz): --------------------- [00] [01] [00]: - 1.7(1) [01]: 1.7(1) - --------------------- cacheflush times [2]: 0.0 (0) 1.7 (1784008) --------------------- Here the slow memory subsystem dominates system performance, and even though caches are small, the migration cost is 1.7 msecs. Dual HT P4 (512K L2 cache): --------------------- migration cost matrix (max_cache_size: 524288, cpu: 2379 MHz): --------------------- [00] [01] [02] [03] [00]: - 0.4(1) 0.0(0) 0.4(1) [01]: 0.4(1) - 0.4(1) 0.0(0) [02]: 0.0(0) 0.4(1) - 0.4(1) [03]: 0.4(1) 0.0(0) 0.4(1) - --------------------- cacheflush times [2]: 0.0 (33900) 0.4 (448514) --------------------- Here it can be seen that there is no migration cost between two HT siblings (CPU#0/2 and CPU#1/3 are separate physical CPUs). A fast memory system makes inter-physical-CPU migration pretty cheap: 0.4 msecs. 8-way P3/Xeon [2MB L2 cache]: --------------------- migration cost matrix (max_cache_size: 2097152, cpu: 700 MHz): --------------------- [00] [01] [02] [03] [04] [05] [06] [07] [00]: - 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) [01]: 19.2(1) - 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) [02]: 19.2(1) 19.2(1) - 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) [03]: 19.2(1) 19.2(1) 19.2(1) - 19.2(1) 19.2(1) 19.2(1) 19.2(1) [04]: 19.2(1) 19.2(1) 19.2(1) 19.2(1) - 19.2(1) 19.2(1) 19.2(1) [05]: 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) - 19.2(1) 19.2(1) [06]: 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) - 19.2(1) [07]: 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) 19.2(1) - --------------------- cacheflush times [2]: 0.0 (0) 19.2 (19281756) --------------------- This one has huge caches and a relatively slow memory subsystem - so the migration cost is 19 msecs. Signed-off-by: Ingo Molnar Signed-off-by: Ashok Raj Signed-off-by: Ken Chen Cc: Signed-off-by: John Hawkes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4dc7a0bbeb6882ad665e588e82fabe5bb4645f2f tree 8c034f802157d7f449e76f45086c0e13e0ea4711 parent c6b44d10f25e5a93eca5135b686a35775c63546e author Ingo Molnar Thu, 12 Jan 2006 01:05:27 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:49 -0800 [PATCH] sched: add cacheflush() asm Add per-arch sched_cacheflush() which is a write-back cacheflush used by the migration-cost calibration code at bootup time. Signed-off-by: Ingo Molnar Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c6b44d10f25e5a93eca5135b686a35775c63546e tree 4cf688dae805a46e633e617d819e4d9bc6950651 parent cbe8dd4af2967ee1c2d54ec9d4db35cf3ecc98d3 author Andi Kleen Thu, 12 Jan 2006 01:05:26 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:49 -0800 [PATCH] Implement ioctl emulation for the parport character device Fixes bugzilla.kernel.org bug 2903. Cc: Cc: Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cbe8dd4af2967ee1c2d54ec9d4db35cf3ecc98d3 tree 144660e46384377201583c9aeb4723ebfcf4af11 parent 1edf80d347387405ff4e8934d194d75f57a3caef author Greg Ungerer Thu, 12 Jan 2006 01:05:24 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:49 -0800 [PATCH] memmap_init_zone(): remove uneccesary page++ Remove unecessary page++ from memmap_init_zone loop. Signed-off-by: Greg Ungerer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1edf80d347387405ff4e8934d194d75f57a3caef tree caa49dd92e32368cd767690cdbd034c9645d0f07 parent 2a7e2f7dcb81279e73aefb691ea55ab3540e408a author Neil Brown Thu, 12 Jan 2006 01:05:23 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:49 -0800 [PATCH] md: remove slashes from disk names when creation dev names in sysfs e.g. The sx8 driver uses names like sx8/0. This would make a md component dev name like /sys/block/md0/md/dev-sx8/0 which is not allowed. So we change the '/' to '!' just like fs/partitions/check.c(register_disk) does. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a7e2f7dcb81279e73aefb691ea55ab3540e408a tree 7b9a3568694750bb141a8797415e883f79f90030 parent f4598c8b3678abd65be3be00ed3d046375a4777e author Catalin Marinas Thu, 12 Jan 2006 01:05:21 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:49 -0800 [PATCH] do_truncate() call fix in tiny-shmem.c Adapt tiny-shmem.c to the new do_truncate() prototype. Signed-off-by: Catalin Marinas Acked-by: Matt Mackall Acked-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f4598c8b3678abd65be3be00ed3d046375a4777e tree 497aba8cdeb00b1fe8d227a9b839c1ce8980f3a2 parent 1bc691d357c646700b9523d2aeca02847d3fb3f4 author Christoph Lameter Thu, 12 Jan 2006 01:05:20 -0800 committer Linus Torvalds Thu, 12 Jan 2006 09:08:48 -0800 [PATCH] migration: make sure there is no attempt to migrate reserved pages. This ensures that reserved pages are not migrated. Reserved pages currently cause the WARN_ON to trigger in migrate_page_add() Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1bc691d357c646700b9523d2aeca02847d3fb3f4 tree 430e13982f894c44e4a33dee188b3c718ec989ed parent 593195f9b2309693f27b402f34573f7920b82c3e author Tejun Heo Thu, 12 Jan 2006 15:39:26 +0100 committer Linus Torvalds Thu, 12 Jan 2006 09:05:39 -0800 [PATCH] fix queue stalling while barrier sequencing If ordered tag isn't supported, request ordering for barrier sequencing is performed by queue draining, which basically hangs the request queue until elv_completed_request() reports completion of all previous fs requests. The condition check in elv_completed_request() was only performed for fs requests. If a special request is queued between the last to-be-drained request and the barrier sequence, draining is never completed and the queue is stalled forever. This patch moves the end-of-draining condition check such that it's performed for all requests. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit 90303b102353302e84758f245906368907e6a23b tree 3e417666985ee5875c2d3435518de2c4bdc9b88d parent ece5f7b3c4fde70a1ae4add7372ebca5c90bc34d author Catalin Marinas Thu, 12 Jan 2006 16:53:51 +0000 committer Russell King Thu, 12 Jan 2006 16:53:51 +0000 [ARM] 3256/1: Make the function-returning ldm's use sp as the base register Patch from Catalin Marinas If the low interrupt latency mode is enabled for the CPU (from ARMv6 onwards), the ldm/stm instructions are no longer atomic. An ldm instruction restoring the sp and pc registers can be interrupted immediately after sp was updated but before the pc. If this happens, the CPU restores the base register to the value before the ldm instruction but if the base register is not sp, the interrupt routine will corrupt the stack and the restarted ldm instruction will load garbage. Note that future ARM cores might always run in the low interrupt latency mode. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit ece5f7b3c4fde70a1ae4add7372ebca5c90bc34d tree c86ba5cc55ce1f60a29be56912535ed16c6296d4 parent 6b090a25fe58067e4bf4515d5056df1f07b64849 author Richard Purdie Thu, 12 Jan 2006 16:30:23 +0000 committer Russell King Thu, 12 Jan 2006 16:30:23 +0000 [ARM] 3237/1: PXA I2C driver updates Patch from Richard Purdie This patch adds a check to see if the pxa i2c interface is enabled before allowing it to be used and resets it if found to be disabled. This automatically restores the interface if the device has been suspended and resumed without causing any suspend/resume call ordering issues. The patch also fixes a build warning and adds an appropriate module licence (the module is gpl according to the header). Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 6b090a25fe58067e4bf4515d5056df1f07b64849 tree de48a1d78c55f5ec119d6c8d2a31b72748a3bf60 parent 37134cd55d57e95d3f606c6f2a57fa496bdad333 author Catalin Marinas Thu, 12 Jan 2006 16:28:16 +0000 committer Russell King Thu, 12 Jan 2006 16:28:16 +0000 [ARM] 3234/1: Update cpu_architecture() to deal with the new ID format Patch from Catalin Marinas Since ARM1176, the CPU ID format has changed and it will also be used for future ARM architectures. Signed-off-by: Catalin Marinas Signed-off-by: Russell King commit 37134cd55d57e95d3f606c6f2a57fa496bdad333 tree 0c5c3bb4a52550613eb5f171c5954725b51a1915 parent a3e49436867e6c7acc1b5eed21d30c88d156825b author Kevin Hilman Thu, 12 Jan 2006 16:12:21 +0000 committer Russell King Thu, 12 Jan 2006 16:12:21 +0000 [ARM] 3209/1: Configurable DMA-consistent memory region Patch from Kevin Hilman This patch increase available DMA-consistent memory allocated by dma_coherent_alloc(). The default remains at 2M (defined in asm/memory.h) and each platform has the ability to override in asm/arch-foo/memory.h. Signed-off-by: Kevin Hilman Signed-off-by: Russell King commit c9db4fa11526affde83603fe52595bd1260c1354 tree 3064d71209b32569cfbd5dd0907fbe65bcf02d5e parent e2787630c1abb075c935cf47e91beb7c656f48c4 author Thomas Gleixner Thu, 12 Jan 2006 11:47:34 +0100 committer Thomas Gleixner Thu, 12 Jan 2006 11:47:34 +0100 [hrtimer] Enforce resolution as lower limit of intervals Roman Zippel pointed out that the missing lower limit of intervals leads to an accounting error in the overrun count. Enforce the lower limit of intervals to resolution in the timer forwarding code. Signed-off-by: Thomas Gleixner commit e2787630c1abb075c935cf47e91beb7c656f48c4 tree 43b6ee44b9f81fdb33283313f167d6ecec2b0243 parent 288867ec5c377db82933b64460ce050e5c998ee9 author Thomas Gleixner Thu, 12 Jan 2006 11:36:14 +0100 committer Thomas Gleixner Thu, 12 Jan 2006 11:36:14 +0100 [hrtimer] Change resolution storage to ktime_t format Change the storage format of the per base resolution to ktime_t to make it easier accessible in the hrtimers code. Change the resolution from (NSEC_PER_SEC/HZ) to TICK_NSEC as Roman pointed out. TICK_NSEC is closer to the real resolution. Signed-off-by: Thomas Gleixner commit 288867ec5c377db82933b64460ce050e5c998ee9 tree d1c0c2e89cb7ffa2ac613e9b1740b81a813965a7 parent 593195f9b2309693f27b402f34573f7920b82c3e author Thomas Gleixner Thu, 12 Jan 2006 11:25:54 +0100 committer Thomas Gleixner Thu, 12 Jan 2006 11:25:54 +0100 [hrtimer] Remove listhead from hrtimer struct The list_head in the hrtimer structure was introduced for easy access to the first timer with the further extensions of real high resolution timers in mind, but it turned out in the course of development that it is not necessary for the standard use case. Remove the list head and access the first expiry timer by a datafield in the timer base. Signed-off-by: Thomas Gleixner commit 624cee31bcb14bfd85559fbec5dd7bb833542965 tree f9e428498d88618f4f28b974a51591481ccfed0b parent 8fce10a3c9ee7f9c74d83502fd5156a8ec82c21a author Paul Mackerras Thu, 12 Jan 2006 21:22:34 +1100 committer Paul Mackerras Thu, 12 Jan 2006 21:22:34 +1100 powerpc: make ARCH=ppc use arch/powerpc/kernel/process.c Commit 5388fb1025443ec223ba556b10efc4c5f83f8682 made signal_32.c use discard_lazy_cpu_state, which broke ARCH=ppc because that uses the common signal_32.c but has its own process.c. Make ARCH=ppc use the common process.c to fix this and to reduce the amount of duplicated code. Signed-off-by: Paul Mackerras commit 9c7d462eda13ca211b7b4a62f191f4cfda135e2d tree 1d0107a98587191476a3d58d22e376e432828a8f parent aab8df141fdc4c4c9587521a24b6865390eaeb79 author Dave Airlie Thu, 12 Jan 2006 20:44:30 +1100 committer Dave Airlie Thu, 12 Jan 2006 20:44:30 +1100 drm: fix issues with systems with no MTRR On systems with no MTRR we should still define the interface. Original bug from apkm. Signed-off-by: Dave Airlie commit 8fce10a3c9ee7f9c74d83502fd5156a8ec82c21a tree 4435d67411d7bf350a1a02784a0710f9162bd140 parent b0da985644faa45def84ce5d8e18af6f1680f490 author Arnd Bergmann Wed, 11 Jan 2006 23:07:11 +0000 committer Paul Mackerras Thu, 12 Jan 2006 20:39:14 +1100 [PATCH] powerpc: cell namespace cleanup These symbols are only used in the file that they are defined in, so they should not be in the global namespace. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit b0da985644faa45def84ce5d8e18af6f1680f490 tree b883c5825a9f80ad1a4aa4fd50ab3f30ede7263d parent ff38e7c80a92de91b34e483478d81eb3d1cf1b37 author Arnd Bergmann Wed, 11 Jan 2006 00:00:05 +0000 committer Paul Mackerras Thu, 12 Jan 2006 20:39:14 +1100 [PATCH] powerpc: xmon namespace cleanups These symbols are only used in the file that they are defined in, so they should not be in the global namespace. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit ff38e7c80a92de91b34e483478d81eb3d1cf1b37 tree 766b675af3d0ad5498376e0cdc1d4c9bd2e83ab6 parent 8446196ade39befe68f60cfae49c43b94a1144fc author Arnd Bergmann Wed, 11 Jan 2006 00:00:03 +0000 committer Paul Mackerras Thu, 12 Jan 2006 20:39:13 +1100 [PATCH] powerpc: pmac namespace cleanup pmac_setup_arch is only used in the file that it is defined in, so it should not be in the global namespace. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 8446196ade39befe68f60cfae49c43b94a1144fc tree 5b246a1c926687228a62dabe7202c2284d278592 parent b07dfab3e329955c218cd1d06efdb133c5c18ecd author Arnd Bergmann Wed, 11 Jan 2006 00:00:02 +0000 committer Paul Mackerras Thu, 12 Jan 2006 20:39:13 +1100 [PATCH] powerpc: pseries namespace cleanup These symbols are only used in the file that they are defined in, so they should not be in the global namespace. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit b07dfab3e329955c218cd1d06efdb133c5c18ecd tree 140723ffe42eb0e66fc89d82e71202f9cc638439 parent 9623b5d3d3d85bac47a83e0e2cf2a9998ade9bd3 author Olof Johansson Thu, 12 Jan 2006 00:20:50 -0600 committer Paul Mackerras Thu, 12 Jan 2006 20:39:13 +1100 [PATCH] powerpc: minor dart driver cleanup Rpn is assigned every time in the loop, no need to increase it too. Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras commit 9623b5d3d3d85bac47a83e0e2cf2a9998ade9bd3 tree 7f93e9ef28b155020dc09de1b934cc989d4d48f8 parent 9bd7ea60b1a0cf9fc745fd2eadb261e4c7719acd author Stephen Rothwell Thu, 12 Jan 2006 14:18:28 +1100 committer Paul Mackerras Thu, 12 Jan 2006 20:09:30 +1100 [PATCH] powerpc: small pci cleanups pcibios_claim_one_bus is not needed on iSeries and phbs_remap_io can be mode static. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 9bd7ea60b1a0cf9fc745fd2eadb261e4c7719acd tree cf4af78eefba1383dd1cc8b058dcd148633f5a6d parent ee2cdecec4dce8f7eb0d37a1bbf820cb32b2b75b author Stephen Rothwell Thu, 12 Jan 2006 13:58:19 +1100 committer Paul Mackerras Thu, 12 Jan 2006 20:09:30 +1100 [PATCH] powerpc: clean up iommu.h a bit There was a function declared for CONFIG_PSERIES which no longer exists and the two function declarations for CONFIG_ISERIES have been moved into an include file in platforms/iseries since they are defined and used only there. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit ee2cdecec4dce8f7eb0d37a1bbf820cb32b2b75b tree fa15ce75b9ae28bdea2352a8f80cb9df43f1322b parent 511061049b2fab5ea684dfddcb8d2a38591391f3 author Stephen Rothwell Thu, 12 Jan 2006 13:54:20 +1100 committer Paul Mackerras Thu, 12 Jan 2006 20:09:30 +1100 [PATCH] powerpc: iSeries fixes for build with no PCI This reverts part of "ppc64 iSeries: allow build with no PCI" (145d01e4287b8cbf50f87c3283e33bf5c84e8468) which affected generic code and applies a fix in the arch specific code. Commit "partly merge iseries do_IRQ" (5fee9b3b39eb55c7e3619a3b36ceeabffeb8f144) introduced iSeries_get_irq which was only available if CONFIG_PCI is set. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 511061049b2fab5ea684dfddcb8d2a38591391f3 tree aa7dd9353aff39953092a2c92f401844867650fa parent f9cb83ac1f6c3b794c2706e06546d8fecae60ba5 author Stephen Rothwell Thu, 12 Jan 2006 13:51:42 +1100 committer Paul Mackerras Thu, 12 Jan 2006 20:09:30 +1100 [PATCH] powercp: iSeries include file comment cleanups Mainly just removing file names from the comments. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit f9cb83ac1f6c3b794c2706e06546d8fecae60ba5 tree 144ffdbdec2da220dfa161ac38f4d006d1033aeb parent 677f8c0d0455a35aaff08a0292ba9c6232ef4eb1 author Stephen Rothwell Thu, 12 Jan 2006 13:50:18 +1100 committer Paul Mackerras Thu, 12 Jan 2006 20:09:30 +1100 [PATCH] powerpc: eliminate bitfields from ItLpNaca Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 677f8c0d0455a35aaff08a0292ba9c6232ef4eb1 tree ebac30f3413ecc2eeb2b1f8788b379ac6b56a237 parent 6814350b80e0e7dfb87d2faebbcbef876573897c author Stephen Rothwell Thu, 12 Jan 2006 13:47:43 +1100 committer Paul Mackerras Thu, 12 Jan 2006 20:09:29 +1100 [PATCH] powerpc: remove bitfields from HvLpEvent Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 6814350b80e0e7dfb87d2faebbcbef876573897c tree d2baed2f198a7106a459bc9c3584e2b654eca069 parent cbbcf3401173f11f7e4c03c7ec8955ea29cd83b5 author Stephen Rothwell Thu, 12 Jan 2006 13:48:52 +1100 committer Paul Mackerras Thu, 12 Jan 2006 20:09:29 +1100 [PATCH] powerpc: remove bitfields from hv_call_event.h Also does some comment cleanups and removal of unnecessary variables. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit cbbcf3401173f11f7e4c03c7ec8955ea29cd83b5 tree 3728682606776f026ac120fee00db7d8ddbaa108 parent ea183a957abea8e05530a4536a9c2db16e9fdd85 author Kumar Gala Wed, 11 Jan 2006 17:57:13 -0600 committer Paul Mackerras Thu, 12 Jan 2006 20:09:29 +1100 [PATCH] powerpc: Fixed memory reserve map layout powerpc: Fixed memory reserve map layout The memory reserve map is suppose to be a pair of 64-bit integers to represent each region. On ppc32 the code was treating the pair as two 32-bit integers. Additional the prom_init code was producing the wrong layout on ppc32. Added a simple check to try to provide backwards compatibility. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit ea183a957abea8e05530a4536a9c2db16e9fdd85 tree de42ccabaaee30de5cfaa5c4064f9d96833dbe0e parent 5388fb1025443ec223ba556b10efc4c5f83f8682 author Olof Johansson Wed, 11 Jan 2006 14:02:58 -0600 committer Paul Mackerras Thu, 12 Jan 2006 20:09:29 +1100 [PATCH] powerpc: remove warning in EEH code Remove warning in eeh code about mixed variables and code. Signed-off-by: Olof Johansson Acked-by: Linas Vepstas Signed-off-by: Paul Mackerras commit 5388fb1025443ec223ba556b10efc4c5f83f8682 tree b14832a8886bd254533f226263a2047545c57805 parent 593195f9b2309693f27b402f34573f7920b82c3e author Paul Mackerras Wed, 11 Jan 2006 22:11:39 +1100 committer Paul Mackerras Thu, 12 Jan 2006 20:09:29 +1100 [PATCH] powerpc: Avoid potential FP corruption with preempt and UP Heikki Lindholm pointed out that there was a potential race with the lazy CPU state (FP, VR, EVR) stuff if preempt is enabled. The race is that in the process of restoring FP state on sigreturn, the task gets preempted by a user task that wants to use the FPU. It will take an FP unavailable exception, which will write the current FPU state to the thread_struct, overwriting the values which sigreturn has stored. Note that this can only happen on UP since we don't implement lazy CPU state on SMP. The fix is to flush the lazy CPU state before updating the thread_struct. To do this we re-use the flush_lazy_cpu_state() function from process.c. Signed-off-by: Paul Mackerras commit 593195f9b2309693f27b402f34573f7920b82c3e tree 54d55557665e72e90ef35a1e0f008d381c17ed98 parent 983d5dbdb2b38d024935f560a91cddcf704875f3 parent f9cfc08d640e1586e76eee63cc2b0a9360bc7c7e author Linus Torvalds Wed, 11 Jan 2006 19:36:32 -0800 committer Linus Torvalds Wed, 11 Jan 2006 19:36:32 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb commit 983d5dbdb2b38d024935f560a91cddcf704875f3 tree 834cda0f26f3902aea74d1cd81a9202f78cc5f14 parent 0d9cb75f2f41788a59bcd3dac30b264a4bebaf2e author Vivek Goyal Thu, 12 Jan 2006 03:35:20 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:09:58 -0800 [PATCH] x86_64: Fix SMP bootup with CONFIG_KDUMP enabled o This fix was posted for i386 long back. Posting it for x86_64. http://marc.theaimsgroup.com/?l=linux-kernel&m=110380103229830&w=2 o This patch fixes the problem of secondary cpus boot up. This situation is faced when kernel is built for default locations like 16MB and onwards. In this configuration, only primary cpu (BP) comes and secondary cpus don't boot. o Problem occurs because in trampoline code, lgdt is not able to load the GDT as it happens to be situated beyond 16MB. This is due to the fact that cpu is still in real mode and default operand size is 16bit. o This patch uses lgdtl instead of lgdt to force operand size to 32 instead of 16. Signed-off-by: Vivek Goyal Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 0d9cb75f2f41788a59bcd3dac30b264a4bebaf2e tree a7e6b5a6bef3c849b95d5535e6e20858e5063038 parent 256ddb01ebdcb065f81487fff00be833192d8764 author Andi Kleen Wed, 11 Jan 2006 22:47:10 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:04 -0800 [PATCH] x86_64: Don't confuse noapic with noapictimer Handling common prefixes is tricky. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 256ddb01ebdcb065f81487fff00be833192d8764 tree 203b5e3ab397ccc48cb62e2fb4801f6f3d15bd19 parent 2a2d5924c249e0f73aa00d617f8d5e242ea1430d author Jan Beulich Wed, 11 Jan 2006 22:47:07 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:04 -0800 [PATCH] x86_64: don't copy command line twice ... reducing the amount of changes Xen has to do. Signed-Off-By: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2a2d5924c249e0f73aa00d617f8d5e242ea1430d tree 2458187ff2b5eea03f269e15acf3532f351f8fcb parent 4092bdebab46235d69fcd68afc710cddad550892 author Jan Beulich Wed, 11 Jan 2006 22:47:03 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:04 -0800 [PATCH] i386/x86-64: make setup_early_printk() usage consistent The explicit and implicit calls to setup_early_printk() were passing inconsistent arguments. Signed-Off-By: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 4092bdebab46235d69fcd68afc710cddad550892 tree fafc19afdec2d7706444efde462dbefc6c06c0e8 parent 6c5acd160a10c76e8debf4f8fa8256d7c914f290 author Andi Kleen Wed, 11 Jan 2006 22:47:00 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:04 -0800 [PATCH] i386: Move DOUBLEFAULT config to arch/i386/Kconfig It has no business being elsewhere and x86-64 doesn't need/want it. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6c5acd160a10c76e8debf4f8fa8256d7c914f290 tree c13c1d282ad2bce8a6556d5d517879bf5b4343c7 parent 0a9c3ee7692fa20670986bcf550950e88ab9b4cc author Andi Kleen Wed, 11 Jan 2006 22:46:57 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:03 -0800 [PATCH] x86_64: Allow kernel page tables upto the end of memory Previously they would be only allocated before the kernel text at 1MB. This limited the maximum supported memory to 128GB. Now allow the e820 allocator to put them everywhere. Try to put them beyond any DMA zones to avoid filling them up. This should free some GFP_DMA memory compared to earlier kernels. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 0a9c3ee7692fa20670986bcf550950e88ab9b4cc tree 62721a6246e5b60a4a7ee779d82bf3b88a0896e6 parent 11a8e778c46ee76fc46b0a7fa9d455b5a8e3e19f author Andi Kleen Wed, 11 Jan 2006 22:46:54 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:03 -0800 [PATCH] x86_64: Use safe_smp_processor_id in MCE handler hard_smp_processor_id would return the local APIC id instead of the Linux processor id. On big systems they are often not identical. safe_smp_processor_id is just a wrapper around it that does the necessary conversions. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 11a8e778c46ee76fc46b0a7fa9d455b5a8e3e19f tree 2e6d19e5fbb9d686448868bc087673e696b5b4be parent 5f1d189f8a87930d62c507800a8ac20b9a185e41 author Andi Kleen Wed, 11 Jan 2006 22:46:51 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:03 -0800 [PATCH] x86_64: Some housekeeping in local APIC code Remove support for obsolete hardware and cleanup. - Remove checks for non integrated APICs - Replace apic_write_around with apic_write. - Remove apic_read_around - Remove APIC version reads used by old workarounds - Remove old workaround for Simics - Fix indentation Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5f1d189f8a87930d62c507800a8ac20b9a185e41 tree f83f756d8481dafe3b8ddba5b741ec6b5cf33e96 parent 1b2f6304500930ab534a6aa3198bce0c51586206 author Jan Beulich Wed, 11 Jan 2006 22:46:48 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:03 -0800 [PATCH] x86_64: Display meaningful part of filename during BUG() When building in a separate objtree, file names produced by BUG() & Co. can get fairly long; printing only the first 50 characters may thus result in (almost) no useful information. The following change makes it so that rather the last 50 characters of the filename get printed. Signed-Off-By: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 1b2f6304500930ab534a6aa3198bce0c51586206 tree 208a8544004b6b60ab75fb7037a72b1fb4a21793 parent 5329e13d0bd82e13814050eb9facb25eedde4bbc author Jan Beulich Wed, 11 Jan 2006 22:46:45 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:03 -0800 [PATCH] x86_64: Reduce screen space needed by stack trace Especially under Xen, where the console cannot be adjusted to more than 25 lines, it is fairly important that the information displayed during a panic is as compact as possible. Below adjustments work towards that. Signed-Off-By: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5329e13d0bd82e13814050eb9facb25eedde4bbc tree ec62d8058882edc85caaab3559a85ac1ffa30bf8 parent bdf2b1c9fedf76a1797216559f221e5eaa7a1eab author Jan Beulich Wed, 11 Jan 2006 22:46:42 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:03 -0800 [PATCH] x86_64: Fix get_cmos_time() Due to a broken condition, the body of the loop that is intended to wait for the Update-In-Progress bit to get set and then cleared again was never entered; in fact, the entire loop was optimized out by the compiler. Here is a change to fix the condition (and to also move the initialization of locals out of the spin lock protected region). Signed-Off-By: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit bdf2b1c9fedf76a1797216559f221e5eaa7a1eab tree bfc206dfdf0754c6475df7bd8cffdcbec69fcd4f parent dd52d642db8ca05267456a07a592922e8b093e1c author Andi Kleen Wed, 11 Jan 2006 22:46:39 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:02 -0800 [PATCH] x86_64: No need to export get_cmos_time anymore It was only needed for APM Pointed out by Jan Beulich Cc: jbeulich@novell.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit dd52d642db8ca05267456a07a592922e8b093e1c tree 325cbfbe911c806a8aefb04f5b0c3a5d90d06c94 parent 2e664aa2bad56b0bb52cf9cb9d14c9b575b437bb author Andi Kleen Wed, 11 Jan 2006 22:46:36 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:02 -0800 [PATCH] x86_64: Remove unused AMD K8 C stepping flag X86_FEATURE_K8_C was a synthetic Linux CPUID flag that was used for some code optimizations in Opteron C stepping or later. But support for pre C stepping optimizations has been removed, so this isn't needed anymore. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2e664aa2bad56b0bb52cf9cb9d14c9b575b437bb tree fc7173b4c61e9adb69e4523680f7d790cf90c351 parent 77a75333a3d16b830ccf47cf51d944655b015363 author Andi Kleen Wed, 11 Jan 2006 22:46:33 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:02 -0800 [PATCH] i386: Move phys_proc_id/early intel workaround to correct function. early_cpu_detect only runs on the BP, but this code needs to run on all CPUs. Looks like a mismerge somewhere. Also add a warning comment. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 77a75333a3d16b830ccf47cf51d944655b015363 tree 7c911f2763b640a14bfcefd5c3832ccdd93f69e5 parent cf0501328674849f8becf6de16620067a0c2f1b5 author Stephen Hemminger Wed, 11 Jan 2006 22:46:30 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:02 -0800 [PATCH] x86_64: sparse warning cleanups Fix some trivial sparse warnings in x86_64 code. Signed-off-by: Stephen Hemminger Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit cf0501328674849f8becf6de16620067a0c2f1b5 tree 6f449d3b82bc178573d8a991e29c1eff8e6b94a5 parent cdc4b9c01909d606afbc1e4a4b6c21fa1687a016 author Andi Kleen Wed, 11 Jan 2006 22:46:27 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:01 -0800 [PATCH] x86_64: Move NUMA page_to_pfn/pfn_to_page functions out of line Saves about ~18K .text in defconfig There would be more optimization potential, but that's for later. Suggestion originally from Bill Irwin. Fix from Andy Whitcroft. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit cdc4b9c01909d606afbc1e4a4b6c21fa1687a016 tree 4c4c7191509f6527cc3813af1ee92f07bea0bbed parent af5b98042452cc6f50de8afa9d079bda8556d74d author Andi Kleen Wed, 11 Jan 2006 22:46:24 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:01 -0800 [PATCH] x86_64: Remove unused segments They used to be used by the reboot code, but not anymore. Noticed by Jan Beulich Cc: JBeulich@novell.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit af5b98042452cc6f50de8afa9d079bda8556d74d tree bcfbd3e0ed8daae81ddd7098346334aea93e1d94 parent 79f12614a6537cc3ac9ca4d1ea26f6e4f4a34aee author Vivek Goyal Wed, 11 Jan 2006 22:46:21 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:01 -0800 [PATCH] x86_64: ioapic virtual wire mode fix o Currently, during kexec reboot, IOAPIC is re-programmed back to virtual wire mode if there was an i8259 connected to it. This enables getting timer interrupts in second kernel in legacy mode. o After putting into virtual wire mode, IOAPIC delivers the i8259 interrupts to CPU0. This works well for kexec but not for kdump as we might crash on a different CPU and second kernel will not see timer interrupts. o This patch modifies the redirection table entry to deliver the timer interrupts to the cpu we are rebooting (instead of hardcoding to zero). This ensures that second kernel receives timer interrupts even on a non-boot cpu. Signed-off-by: Vivek Goyal Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 79f12614a6537cc3ac9ca4d1ea26f6e4f4a34aee tree 25167c8862ad7733c7e044b0aad67e4291a0681b parent 5fd63b308569060ffa40af52ed122d9734111bff author Ravikiran G Thirumalai Wed, 11 Jan 2006 22:46:18 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:01 -0800 [PATCH] x86_64: Inclusion of ScaleMP vSMP architecture patches - vsmp_arch Introduce vSMP arch to the kernel. This patch: 1. Adds CONFIG_X86_VSMP 2. Adds machine specific macros for local_irq_disabled, local_irq_enabled and irqs_disabled 3. Writes to the vSMP CTL device to indicate kernel compiled with CONFIG_VSMP Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5fd63b308569060ffa40af52ed122d9734111bff tree 746c2701ec42374b1ec389a6af0d438c9105a9d7 parent 99f7b77d3c62045bb47dfc4228a2341ba71bff1d author Ravikiran G Thirumalai Wed, 11 Jan 2006 22:46:15 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:01 -0800 [PATCH] x86_64: Inclusion of ScaleMP vSMP architecture patches - vsmp_align vSMP specific alignment patch to 1. Define INTERNODE_CACHE_SHIFT for vSMP 2. Use this for alignment of critical structures 3. Use INTERNODE_CACHE_SHIFT for ARCH_MIN_TASKALIGN, and let the slab align task_struct allocations to the internode cacheline size 4. Introduce and use ARCH_MIN_MMSTRUCT_ALIGN for mm_struct slab allocations. Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 99f7b77d3c62045bb47dfc4228a2341ba71bff1d tree 339585fe8b056b3b80022de6d9efe7bc8b376371 parent e4b5939a7eec7726d410517e433040db4ede5102 author Andi Kleen Wed, 11 Jan 2006 22:46:12 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:01 -0800 [PATCH] x86_64: Make sure BITS_PER_ATOMIC is defined in asm-generic/atomic.h Fixes CC fs/nfsctl.o In file included from include2/asm/atomic.h:427, from /home/lsrc/quilt/linux/include/linux/file.h:8, from /home/lsrc/quilt/linux/fs/nfsctl.c:8: /home/lsrc/quilt/linux/include/asm-generic/atomic.h:20:5: warning: "BITS_PER_LONG" is not defined Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit e4b5939a7eec7726d410517e433040db4ede5102 tree 256bc1f4ccb7e42d6bd50bc482fe0499337f6eb3 parent 1008fddcaed7ad3e69f72939c87b24d0d3387ca2 author Brian Gerst Wed, 11 Jan 2006 22:46:09 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:00 -0800 [PATCH] x86_64: cleanup enter_lazy_tlb() Move the #ifdef into the function body. Signed-off-by: Brian Gerst Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 1008fddcaed7ad3e69f72939c87b24d0d3387ca2 tree 916bb6d6d4a6e4ee6e92d936ec9ee322bbd6a7ed parent 60923df35edab273d0bd8e829cdfdc5cfbb4fd2c author Eric W. Biederman Wed, 11 Jan 2006 22:46:06 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:00 -0800 [PATCH] x86_64: Memorize location of i8259 for reboots. 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 are kexec another kernel and likely helpful to an peculiar 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. There does not appear to be anything to guarantee that assumption is true. And From: Vivek Goyal A minor fix to the patch which remembers the location of where i8259 is connected. Now counter i has been replaced by apic. counter i is having some junk value which was leading to non-detection of i8259 connected to IOAPIC. Signed-off-by: Eric W. Biederman Signed-off-by: Vivek Goyal Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 60923df35edab273d0bd8e829cdfdc5cfbb4fd2c tree d4869124d1344f711671a33628e5eebb16ecd68c parent 100c0e36852a771864c56c31b260b7810b554170 author Chuck Ebbert <76306.1226@compuserve.com> Wed, 11 Jan 2006 22:46:03 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:00 -0800 [PATCH] x86_64: allow setting RF in EFLAGS Setting RF (resume flag) allows a debugger to resume execution after a code breakpoint without tripping the breakpoint again. It is reset by the CPU after executing one instruction. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 100c0e36852a771864c56c31b260b7810b554170 tree e1eb184d7e390b151aab1b13f088849e8bff9ce6 parent 68209407856507cda9d085470e8d28542ed1a941 author Chuck Ebbert <76306.1226@compuserve.com> Wed, 11 Jan 2006 22:46:00 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:00 -0800 [PATCH] x86_64: "invalid operand" -> "invalid opcode" The manual says Int 6 is "invalid opcode", not "invalid operand". Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 68209407856507cda9d085470e8d28542ed1a941 tree 52ec3b64ab5a7a7c1eb169ca369ea4922704adb5 parent 915f34e20c20ee383832bce0a4bc962d0c86be8d author Luiz Fernando Capitulino Wed, 11 Jan 2006 22:45:57 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:00 -0800 [PATCH] x86_64: Sparse warnings fix. Fixes the following sparse warnings: arch/x86_64/kernel/mce_amd.c:321:29: warning: Using plain integer as NULL pointer arch/x86_64/kernel/mce_amd.c:410:41: warning: Using plain integer as NULL pointer Signed-off-by: Luiz Capitulino Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 915f34e20c20ee383832bce0a4bc962d0c86be8d tree 2e1914cc129361d15e0ad8d888913a0623aef80b parent e080e9d66fd276ed34bc2834eedc134189b87fc9 author Andi Kleen Wed, 11 Jan 2006 22:45:54 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:05:00 -0800 [PATCH] x86_64: Remove useless KDB vector It was set as an NMI, but the NMI bit always forces an interrupt to end up at vector 2. So it was never used. Remove. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit e080e9d66fd276ed34bc2834eedc134189b87fc9 tree 4bd582d2d9137df7bb7fa43c009e931941b25d01 parent 5b22a3855127bb8221bc96e8e41064b3c5b2bf08 author Jason Uhlenkott Wed, 11 Jan 2006 22:45:51 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:59 -0800 [PATCH] x86_64: Don't claim too many vectors for TLB flushing It looks like the new scalable TLB flush code for x86_64 is claiming one more IRQ vector than it actually uses. Signed-off-by: Jason Uhlenkott Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5b22a3855127bb8221bc96e8e41064b3c5b2bf08 tree 3b7af627e49122d567fa2da50b7ef54446237127 parent 7554c3f0e378161fb6315160d6c3e23bf2de5869 author Andi Kleen Wed, 11 Jan 2006 22:45:48 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:59 -0800 [PATCH] x86_64: Tell user to enable GART_IOMMU when needed Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 7554c3f0e378161fb6315160d6c3e23bf2de5869 tree 9e7b3679fbf08c11dd2629b6dd1e84931468a746 parent 365ba9179f84244d2ffa98e46ae3cddfeb2ef6ff author Andi Kleen Wed, 11 Jan 2006 22:45:45 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:59 -0800 [PATCH] x86_64: Fix warning in nmi.c on uniprocessor kernels Fix CC arch/x86_64/kernel/nmi.o linux/arch/x86_64/kernel/nmi.c: In function ???check_nmi_watchdog???: linux/arch/x86_64/kernel/nmi.c:155: warning: statement with no effect on Uniprocessor builds. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 365ba9179f84244d2ffa98e46ae3cddfeb2ef6ff tree b84be7f9f929d8084fa76af2618877439baee841 parent df79efde82952edc653fa6eb1338a82b87aa0585 author Ravikiran G Thirumalai Wed, 11 Jan 2006 22:45:42 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:59 -0800 [PATCH] x86_64: Allocate PDAs in the local node Patch uses a static PDA array early at boot and reallocates processor PDA with node local memory when kmalloc is ready, just before pda_init. The boot_cpu_pda is needed since the cpu_pda is used even before pda_init for that cpu is called (to set the static per-cpu areas offset table etc) Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit df79efde82952edc653fa6eb1338a82b87aa0585 tree 67abb221cf834c3a7766c406aae1e55aa31b6bcf parent 05b3cbd8bb98736387df8a2e1efe311b1fb4d2ad author Ravikiran G Thirumalai Wed, 11 Jan 2006 22:45:39 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:59 -0800 [PATCH] x86_64: Node local pda take 2 -- cpu_pda preparation Helper patch to change cpu_pda users to use macros to access cpu_pda instead of the cpu_pda[] array. Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 05b3cbd8bb98736387df8a2e1efe311b1fb4d2ad tree 46ca01cfe38d2df4c6f93ba0325a3f2a1e97ea71 parent 0b91317e338f42367de6d53f5e14f273aae7d034 author Ravikiran Thirumalai Wed, 11 Jan 2006 22:45:36 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:59 -0800 [PATCH] x86_64: Early initialization of cpu_to_node Patch enables early intialization of cpu_to_node. apicid_to_node is built by reading the SRAT table, from acpi_numa_init with ACPI_NUMA and k8_scan_nodes with K8_NUMA. x86_cpu_to_apicid is built by parsing the ACPI MADT table, from acpi_boot_init. We combine these two tables and setup cpu_to_node. Early intialization helps the static per_cpu_areas in getting pages from correct node. Change since last release: Do not initialize early init_cpu_to_node for faking node cases. Patch tested on TYAN dual core 4P board with K8 only, ACPI_NUMA. Tested on EM64T NUMA. Also tested with numa=off, numa=fake, and running a kernel compiled with NUMA on a regular EM64 2 way SMP. Signed-off-by: Alok N Kataria Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 0b91317e338f42367de6d53f5e14f273aae7d034 tree 24bfddda3589fc01af2d5d70f39791860cc74b13 parent 2c8bc9446a853f4f36475ce314808dd92201f74e author Andi Kleen Wed, 11 Jan 2006 22:45:33 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:58 -0800 [PATCH] x86_64: Fix up white space in time.c No functional changes. And remove one redundant prototype. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2c8bc9446a853f4f36475ce314808dd92201f74e tree 9f69acf8a0d5fabd85f753ecff8bbd77b3aacdc4 parent 487472bc01fab0625996aad37836aad931e4eda9 author Andi Kleen Wed, 11 Jan 2006 22:45:30 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:58 -0800 [PATCH] x86_64: Use standard __always_inline in vsyscall.c Replacing the old home brewn __force_inline. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 487472bc01fab0625996aad37836aad931e4eda9 tree ede143ee4c756413b396911b3702068283b052f2 parent c818a18146997d1356a4840b0c01f1168c16c8a4 author Andi Kleen Wed, 11 Jan 2006 22:45:27 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:58 -0800 [PATCH] i386: Replace broken serialize_cpu in microcode driver with correct sync_core Passing random input values in eax to cpuid is not a good idea because the CPU will GPF for unknown ones. Use the correct x86-64 version that exists for a longer time too. This also adds a memory barrier to prevent the optimizer from reordering. Cc: tigran@veritas.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit c818a18146997d1356a4840b0c01f1168c16c8a4 tree 8d7e049742e87666bf3089fe46e04828b6417fd7 parent 7f6c5b046978d68e69bdc73433ead41612a2a1c9 author Andi Kleen Wed, 11 Jan 2006 22:45:24 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:58 -0800 [PATCH] x86_64: On Intel CPUs don't do an additional CPU sync before RDTSC RDTSC serialization using cpuid is not needed for Intel platforms. This increases gettimeofday performance. Cc: vojtech@suse.cz Cc: rohit.seth@intel.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 7f6c5b046978d68e69bdc73433ead41612a2a1c9 tree 60f74adc6166496fbd84143272ad3b88254f9b72 parent 6e54d95f73bbc79171802a1983e0c3835676db88 author Andi Kleen Wed, 11 Jan 2006 22:45:21 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:58 -0800 [PATCH] x86_64: Support alternative() in vsyscalls The real vsyscall .text addresses are not mapped when the alternative() replacement runs early, so use some black magic to access them using the direct mapping. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6e54d95f73bbc79171802a1983e0c3835676db88 tree 83b5ff3175f0b3fe445912cfaa98318d8b3ee24a parent 737c5c3bde5641af9c24e3a60366674af72a43ef author Andi Kleen Wed, 11 Jan 2006 22:45:18 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:57 -0800 [PATCH] x86_64: Support alternative() with a output argument. Needed for follow on patches Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 737c5c3bde5641af9c24e3a60366674af72a43ef tree e369c6489279c9fda4a5fb1766fe1966ce9caf87 parent 3c0217511313a46039137d2dab30fdb1c5a65e64 author Andi Kleen Wed, 11 Jan 2006 22:45:15 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:57 -0800 [PATCH] x86_64: Don't try to synchronize the TSC over CPUs on Intel CPUs at boot. They already do this in hardware and the Linux algorithm actually adds errors. Cc: mingo@elte.hu Cc: rohit.seth@intel.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 3c0217511313a46039137d2dab30fdb1c5a65e64 tree 93ffd029cbe81c37daff0bb38e73e98e22026f88 parent b9d1e4bd6e44f2a75340226eb5f762e16bb4652f author Andi Kleen Wed, 11 Jan 2006 22:45:12 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:57 -0800 [PATCH] x86_64: Fix compile error with !CONFIG_COMPAT cpumask.h wasn't included implicitely into proto.h in this case. Just move it over to smp.h Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit b9d1e4bd6e44f2a75340226eb5f762e16bb4652f tree e886056fb4a412e98e8f52e559c16be95994db55 parent aea9fca1dc8a1f9ac5d3b76ef04516a010cbf2e4 author Vivek Goyal Wed, 11 Jan 2006 22:45:09 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:57 -0800 [PATCH] x86_64: x86_64 write apic id fix o Apic id is in most significant 8 bits of APIC_ID register. Current code is trying to write apic id to least significant 8 bits. This patch fixes it. o This fix enables booting uni kdump capture kernel on a cpu with non-zero apic id. Signed-off-by: Vivek Goyal Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit aea9fca1dc8a1f9ac5d3b76ef04516a010cbf2e4 tree 7258695b655ce600c84c67269489a8093ae92c81 parent e3602824cb1172deeb0f2b286025753882b90b28 author Brian Gerst Wed, 11 Jan 2006 22:45:06 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:56 -0800 [PATCH] x86_64: Remove duplicate exports Remove exports that are already exported from the object's source file. Signed-off-by: Brian Gerst Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit e3602824cb1172deeb0f2b286025753882b90b28 tree 8f2cb7feee5b780bd7358c05844df0bfb9353e37 parent 2d0db401ee4ee08857b79f1d3be40e8a819f8992 author Brian Gerst Wed, 11 Jan 2006 22:45:03 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:56 -0800 [PATCH] x86_64: unexport pci_*_consistent These functions are inlines and shouldn't be exported. Signed-off-by: Brian Gerst Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2d0db401ee4ee08857b79f1d3be40e8a819f8992 tree 36e3aa460aa9dac4b6fd7035982dfd792518cfdb parent 4cef0c61380888af99b054937ed391fb28757836 author Andi Kleen Wed, 11 Jan 2006 22:45:00 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:56 -0800 [PATCH] x86_64: Remove unused apic_write_atomic This function is never used for x86_64. Signed-off-by: Brian Gerst Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 4cef0c61380888af99b054937ed391fb28757836 tree dd385a0dc1ab143285f77e0f5c1923490eddc26f parent fd78f11790c37e2165733699f50450500e63a7b3 author Andi Kleen Wed, 11 Jan 2006 22:44:57 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:56 -0800 [PATCH] x86_64: Make the cpu_*_maps in kernel/sched.c read mostly They are referred to often so avoid potential false sharing for them. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit fd78f11790c37e2165733699f50450500e63a7b3 tree b51d2d6d4b1f83c276d81a72d4522ec701aa4354 parent 3d831d925c6d66569a0c7f6f5f17c0927f7d3d25 author Andi Kleen Wed, 11 Jan 2006 22:44:54 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:56 -0800 [PATCH] i386: make pci_map_single/pci_map_sg warn for zero length. As suggested by Linus. This catches driver bugs that could cause corruption on IOMMU architectures. Also I converted the BUGs to out_of_line_bug()s to save a bit of text space. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 3d831d925c6d66569a0c7f6f5f17c0927f7d3d25 tree 059d51b29ae233d2890a4eb76ac54a4a7daeb896 parent 4855170f9876c8b4a16f115f32cf6851bac1ffcc author Andi Kleen Wed, 11 Jan 2006 22:44:51 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:56 -0800 [PATCH] x86_64: Enable sound in old style OSS driver for NForce4 CK804 Just add the missing PCI ID. Cc: perex@suse.cz Cc: tiwai@suse.de Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 4855170f9876c8b4a16f115f32cf6851bac1ffcc tree 163b0c5118421c290f52ec4ae638084b9224fa02 parent 2cbc9ee35c992f88fb2558a4f13920e3df4ef3bb author Andi Kleen Wed, 11 Jan 2006 22:44:48 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:55 -0800 [PATCH] x86_64: Make it clear in machine checks that it's an hardware problem Hopefully the users will take the hint. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2cbc9ee35c992f88fb2558a4f13920e3df4ef3bb tree 51bed27fe9050cae3e7de2d24f55874455316ab2 parent 17a941d854a3f7b0bb916fdeee4c9ffdcc19d8d3 author Andi Kleen Wed, 11 Jan 2006 22:44:45 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:55 -0800 [PATCH] x86_64: Clean up copy_*_user - Remove optimization for old B stepping Opteron - Make the fast path for copies with a multiple of eight length faster. - Minor instruction rearrangement to hopefully avoid a pipeline stall or two. - Add comment about errata to consider. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 17a941d854a3f7b0bb916fdeee4c9ffdcc19d8d3 tree b6b3b55318336adf769bf57141a01a9defbbb202 parent 8a6fdd3e912e0ce6f723431d66baf704bf8a1d26 author Muli Ben-Yehuda Wed, 11 Jan 2006 22:44:42 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:55 -0800 [PATCH] x86_64: Use function pointers to call DMA mapping functions AK: I hacked Muli's original patch a lot and there were a lot of changes - all bugs are probably to blame on me now. There were also some changes in the fall back behaviour for swiotlb - in particular it doesn't try to use GFP_DMA now anymore. Also all DMA mapping operations use the same core dma_alloc_coherent code with proper fallbacks now. And various other changes and cleanups. Known problems: iommu=force swiotlb=force together breaks needs more testing. This patch cleans up x86_64's DMA mapping dispatching code. Right now we have three possible IOMMU types: AGP GART, swiotlb and nommu, and in the future we will also have Xen's x86_64 swiotlb and other HW IOMMUs for x86_64. In order to support all of them cleanly, this patch: - introduces a struct dma_mapping_ops with function pointers for each of the DMA mapping operations of gart (AMD HW IOMMU), swiotlb (software IOMMU) and nommu (no IOMMU). - gets rid of: if (swiotlb) return swiotlb_xxx(); - PCI_DMA_BUS_IS_PHYS is now checked against the dma_ops being set This makes swiotlb faster by avoiding double copying in some cases. Signed-Off-By: Muli Ben-Yehuda Signed-Off-By: Jon D. Mason Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 8a6fdd3e912e0ce6f723431d66baf704bf8a1d26 tree 930056ca5dc50ce6245cd602f044e224dd5a8776 parent 95833c83f3b812c78e48db4eaa19f6c74958470b author Andi Kleen Wed, 11 Jan 2006 22:44:39 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:55 -0800 [PATCH] x86_64: Reject SRAT tables that don't cover all memory Broken BIOS on Iwill 8way systems reports these and it causes the bootmem allocator to crash. Add a sanity check if all the PXMs in the SRAT table cover all memory as reported by e820. If the sanity check fails the SRAT is rejected and the code will fall back to discover the NUMA topology using the K8 northbridge registers when applicable. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 95833c83f3b812c78e48db4eaa19f6c74958470b tree 8ad17da708141d66cf53c2113b4fe1710af929ec parent 6b050f8075823b0d9ec4fad38f4f552b74e5c5af author Andi Kleen Wed, 11 Jan 2006 22:44:36 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:55 -0800 [PATCH] x86_64: Add idle notifiers This adds a new notifier chain that is called with IDLE_START when a CPU goes idle and IDLE_END when it goes out of idle. The context can be idle thread or interrupt context. Since we cannot rely on MONITOR/MWAIT existing the idle end check currently has to be done in all interrupt handlers. They were originally inspired by the similar s390 implementation. They have a variety of applications: - They will be needed for CONFIG_NO_IDLE_HZ - They can be used for oprofile to fix up the missing time in idle when performance counters don't tick. - They can be used for better C state management in ACPI - They could be used for microstate accounting. This is just infrastructure so far, no users. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6b050f8075823b0d9ec4fad38f4f552b74e5c5af tree f2e6f95f7140b06ee8dae4bb03d4d4e78df69e54 parent d18ff47068154de8b4c1506be60a30a961846d18 author Andi Kleen Wed, 11 Jan 2006 22:44:33 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:55 -0800 [PATCH] x86_64: Clean up some printks in NUMA code Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit d18ff47068154de8b4c1506be60a30a961846d18 tree bce5eb01243c89b0e07fd3f02de251ac2645ec2a parent ca8642f606ce22de23bae08a5044067f98de855b author Andi Kleen Wed, 11 Jan 2006 22:44:30 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:54 -0800 [PATCH] x86_64: Fix up coding style in numa.c No functional changes Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit ca8642f606ce22de23bae08a5044067f98de855b tree 143dd169cbba9d58629ca74d618cbfa41964c2f8 parent d25bf7e5fe73b5b6d2246ab0be08ae35d718456b author Andi Kleen Wed, 11 Jan 2006 22:44:27 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:54 -0800 [PATCH] x86_64: Fix off by one in IOMMU check Fix off by one when checking if the machine has enougn memory to need IOMMU This caused the IOMMUs to be needlessly enabled for mem=4G Based on a patch from Jon Mason Signed-off-by: jdmason@us.ibm.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit d25bf7e5fe73b5b6d2246ab0be08ae35d718456b tree 472749fef9b017e9a4d94f9e07a29dc44c3294cb parent 6eb0a0fd059598ee0d49c6283ce25cccd743e9fc author Venkatesh Pallipadi Wed, 11 Jan 2006 22:44:24 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:54 -0800 [PATCH] x86_64: Handle missing local APIC timer interrupts on C3 state Whenever we see that a CPU is capable of C3 (during ACPI cstate init), we disable local APIC timer and switch to using a broadcast from external timer interrupt (IRQ 0). Patch below adds the code for x86_64. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6eb0a0fd059598ee0d49c6283ce25cccd743e9fc tree a608f92e3b8a94cba89e94786169897c64629580 parent 5a07a30c3cc4dc438494d6416ffa74008a2194b3 author Venkatesh Pallipadi Wed, 11 Jan 2006 22:44:21 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:54 -0800 [PATCH] i386: Handle missing local APIC timer interrupts on C3 state Whenever we see that a CPU is capable of C3 (during ACPI cstate init), we disable local APIC timer and switch to using a broadcast from external timer interrupt (IRQ 0). This is needed because Intel CPUs stop the local APIC timer in C3. This is currently only enabled for Intel CPUs. Patch below adds the code for i386 and also the ACPI hunk. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5a07a30c3cc4dc438494d6416ffa74008a2194b3 tree eafda8ee2f58f392f5d78af7748ce58ddb6bf9a2 parent 01b8faaef5d239aeabb1e712c5d9619f29e808dd author Venkatesh Pallipadi Wed, 11 Jan 2006 22:44:18 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:54 -0800 [PATCH] i386/x86-64: Remove sub jiffy profile timer support Remove the finer control of local APIC timer. We cannot provide a sub-jiffy control like this when we use broadcast from external timer in place of local APIC. Instead of removing this only on systems that may end up using broadcast from external timer (due to C3), I am going the "I'm feeling lucky" way to remove this fully. Basically, I am not sure about usefulness of this code today. Few other architectures also don't seem to support this today. If you are using profiling and fine grained control and don't like this going away in normal case, yell at me right now. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 01b8faaef5d239aeabb1e712c5d9619f29e808dd tree 5f04e7d96c14d4d6c7280abcb2048907079ccbb9 parent 4839057cafc9a508ad5906857e9c1d8707c875e3 author John Blackwood Wed, 11 Jan 2006 22:44:15 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:54 -0800 [PATCH] x86_64: Report hardware breakpoints in user space when triggered by the kernel I would like to throw out a suggestion for a possible change in the way that the debug register traps are handled in do_debug() when the trap occurs in kernel-mode. In the x86_64 version of do_debug(), the code will skip around sending a SIGTRAP to the current task if the trap occurred while in kernel mode. On the i386-side of things, if the access happens to occur in kernel mode (say during a read(2) of user's buffer that matches the address of a debug register trap), then the do_debug() routine for i386 will go ahead and call send_sigtrap() and send the SIGTRAP signal. The send_sigtrap() code will also set the info.si_addr to NULL in this case (even though I don't understand why, since the SIGTRAP siginfo processing doesn't use the si_addr field...). So I would like to suggest that the x86_64 do_debug() routine also follow this type of behavior and have it go ahead and send the SIGTRAP signal to the current task, even if the debug register trap happens to have occurred in kernel mode. I have taken a stab at a patch for this change below. (It includes the i386-ish change for setting si_addr to NULL when the trap occurred in kernel mode.) It seems like a useful feature to be able to 'watch' a user location that might also be modified in the kernel via a system service call, and have the debugger report that information back to the user, rather than to just silently ignore the trap. Additionally, I realize that users that pull in a kernel debugger such as KGDB into their kernel might want to remove this change below when they add in KGDB support. However, they could alternatively look at the current task's thread.debugreg[] values to see if the trap occurred due to KGDB or instead because of a user-space debugger trap, and still honor the user SIGTRAP processing (instead of the KGDB breakpoint processing) if the trap matches up with the thread.debugreg[] registers. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 4839057cafc9a508ad5906857e9c1d8707c875e3 tree e060e445336c1f8e8362e9003aa0d30c6bd9a36f parent 66c581569e2cb41231b3fcd91a6c9f853d4d4e25 author Adrian Bunk Wed, 11 Jan 2006 22:44:12 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:53 -0800 [PATCH] x86_64: "extern inline" -> "static inline" in pgtable.h Signed-off-by: Adrian Bunk Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 66c581569e2cb41231b3fcd91a6c9f853d4d4e25 tree b7e4629b9eeee9850e2ba4be32c2ee3c0afb6959 parent bf2fcc6fdfe4f4e92bb74f062c0a1be189f3a561 author Andi Kleen Wed, 11 Jan 2006 22:44:09 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:53 -0800 [PATCH] x86_64: Convert page fault error codes to symbolic constants. Much better to deal with these than with the magic numbers. And remove the comment describing the bits - kernel source is no replacement for an architecture manual. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit bf2fcc6fdfe4f4e92bb74f062c0a1be189f3a561 tree 0bcc33f681c7e8ce6596c9323d4a1026ede84994 parent 2966387b481a11a90a7bed6600fc17b4253f6980 author Andi Kleen Wed, 11 Jan 2006 22:44:06 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:53 -0800 [PATCH] x86_64: Implement is_compat_task the right way By setting a flag during a 32bit system call only Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2966387b481a11a90a7bed6600fc17b4253f6980 tree 69bb1a6cb29ccb6983ff9f2644947da6b537dc17 parent f95190b28daa1bebf78ab5ec4129d01a223982c5 author Andi Kleen Wed, 11 Jan 2006 22:44:03 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:53 -0800 [PATCH] x86_64: Implement compat code for sg driver SG_GET_REQUEST_TABLE ioctl Apparently helps with some non SANE scanner drivers. Cc: axboe@suse.de Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit f95190b28daa1bebf78ab5ec4129d01a223982c5 tree d6a022685daf4c27a3583f25937f35d20051ebf7 parent c11efdf94d3152443c11334720824bb6c7f6c655 author Andi Kleen Wed, 11 Jan 2006 22:44:00 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:53 -0800 [PATCH] x86_64: Remove unnecessary case from the page fault handler Don't need to do the vmalloc check for the module range because its PML4 is shared with the kernel text. Also removed an unnecessary TLB flush. Pointed out by Jan Beulich Cc: jbeulich@novell.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit c11efdf94d3152443c11334720824bb6c7f6c655 tree d4185d8de8b855aca51b6bec730aeab3342e2a0f parent bb33421dde79f9a36d5485c56335ff178ac7d268 author Ravikiran G Thirumalai Wed, 11 Jan 2006 22:43:57 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:53 -0800 [PATCH] x86_64: Align and pad x86_64 GDT on page boundary This patch is on the same lines as Zachary Amsden's i386 GDT page alignemnt patch in -mm, but for x86_64. Patch to align and pad x86_64 GDT on page boundries. [AK: some minor cleanups and fixed incorrect TLS initialization in CPU init.] Signed-off-by: Nippun Goel Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit bb33421dde79f9a36d5485c56335ff178ac7d268 tree f4b8843d9295c1efb550e869352e578cb8667ce1 parent 79c62cf1789f935280138b412bb750be84aec747 author Andi Kleen Wed, 11 Jan 2006 22:43:54 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:52 -0800 [PATCH] x86_64: Allow compilation on a 32bit biarch toolchain This might help on distributions that use a 32bit biarch compiler. First pass -m64 by default. Secondly add some more .code32s because at least the Ubuntu biarch 32bit as called by gcc doesn't seem to handle -m64 -m32 as generated by the Makefile without such assistance. And finally make sure the linker script can be preprocessed with a 32bit cpp. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 79c62cf1789f935280138b412bb750be84aec747 tree 24c522ed0dd3dba942f1db43048205b0973aa7c8 parent e4e94072d9c3b19662537cbd5e2d37bcaeed3d9b author Ross Biro Wed, 11 Jan 2006 22:43:51 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:52 -0800 [PATCH] x86_64: Make udelay more accurate The attempt to avoid overflow in __delay caused varying precision on different CPUs depending on differences in the CPU speed. We should be able to do this multiplication with out overflowing provided the cpu is running at less than about 128 GHz. xloops < 20000 * 0x10c6. loops_per_jiffy * HZ <= cpu_clock_speed. So if the cpu clock speed < 2^64/(20000 * 0x10c6) = 2^64/ 51E6CC0 < 2^64/2^27 = 2^37 = 128G we will not overflow the calculation. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit e4e94072d9c3b19662537cbd5e2d37bcaeed3d9b tree 1d2c1c61319ea999703090023551204606525a1d parent 819a692804a8d2d42b7bb033d2650dba47622149 author Andi Kleen Wed, 11 Jan 2006 22:43:48 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:52 -0800 [PATCH] x86_64: Return -1 for unknown PCI bus affinity When we don't know the node a PCI bus is connected to return -1. This matches the generic code. Noticed by Ravikiran G Thirumalai Cc: Ravikiran G Thirumalai Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 819a692804a8d2d42b7bb033d2650dba47622149 tree a3b614679c0ee42bec418c933d96e194884031d1 parent 1584b89c921acefe88881f08d836d80f00600a84 author Andi Kleen Wed, 11 Jan 2006 22:43:45 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:51 -0800 [PATCH] x86_64: Handle unknown node (-1) in alloc_pages_node Following kmalloc_node. Needed for another patch to return -1 for unknown nodes in x86-64. Cc: Christoph Lameter Cc: kiran@scalex86.org Signed-off-by: Andi Kleen [ Changed 0 to numa_node_id() on suggestion by Christoph Lameter ] Signed-off-by: Linus Torvalds commit 1584b89c921acefe88881f08d836d80f00600a84 tree 112d64a284488f490045b19aa910bb1b2abcbff4 parent 7a4a76cc1057de0dc96ee481590347aa8c5b9ffb author Andi Kleen Wed, 11 Jan 2006 22:43:42 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:51 -0800 [PATCH] x86_64: Validate SLIT table A lot of Opteron BIOS just pass 10 in all SLIT entries (10 is the normalized unit). This is actually worse than the default heuristic because it leads to pci_distance not knowing the difference between local and remote nodes anymore. This messes up some NUMA heuristics in generic code. In this case it's better to fall back to the default heuristic which just does nodea == nodeb ? 10 : 20. This patch does some basic sanity checking on the SLIT and only accepts the SLIT when it passes. Invariants enforced are: - Node to itself shall be 10 - Any other distance shouldn't be 10 - Distances smaller than 10 are illegal Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 7a4a76cc1057de0dc96ee481590347aa8c5b9ffb tree b2f2b8d46fc859b2ec4e7b6e1d3d24ffc7d1c507 parent 7180d4fb83085fef9d24b353f5bd79cf6fd98447 author Andi Kleen Wed, 11 Jan 2006 22:43:39 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:51 -0800 [PATCH] x86_64: Fix off by one in acpi table mapping And fix the test to include the size Noticed by Vivek Goyal Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 7180d4fb83085fef9d24b353f5bd79cf6fd98447 tree 0b2dde2d788ee264fbf02f7f7cfb30288c73feee parent e99286744599a66195de4cd975d7ef4d643c2789 author Jan Beulich Wed, 11 Jan 2006 22:43:36 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:51 -0800 [PATCH] x86_64: Fix 64bit FXSAVE encoding The separation of the rex64 prefix (on fxsave/fxrstor) by way of using a semicolon resulted in the prefix not always taking effect (because when extended registers are needed for addressing, another rex prefix would have been generated by the compiler), thus (depending on the build) resulting in eventually getting 32-bit saves and/or restores. Signed-Off-By: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit e99286744599a66195de4cd975d7ef4d643c2789 tree d231b075c9bdb0bd7fa48d0eb00551a529e4586a parent b347d25fbc4616f4f37895e9afbe25b2bbc7e11f author Andi Kleen Wed, 11 Jan 2006 22:43:33 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:51 -0800 [PATCH] x86_64: Generalize DMI and enable for x86-64 Some people need it now on 64bit so reuse the i386 code for x86-64. This will be also useful for future bug workarounds. It is a bit simplified there because there is no need to do it very early on x86-64. This means it doesn't need early ioremap et.al. We run it as a core initcall right now. I hope it's not needed for early setup. I added a general CONFIG_DMI symbol in case IA64 or someone else wants to reuse the code later too. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit b347d25fbc4616f4f37895e9afbe25b2bbc7e11f tree dff624ba5f0e15a3c5abf4a9679f15be1f50abf0 parent f46ace69282e9791757ec7d7b130285124ec10d0 author Andi Kleen Wed, 11 Jan 2006 22:43:30 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:51 -0800 [PATCH] x86_64: Remove bogus file in arch/x86_64/pci This was a backup file that somehow made it into the official tree. Never used for anything. Remove. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit f46ace69282e9791757ec7d7b130285124ec10d0 tree 37d3e0cfa44e19182d99e5574a0d21baa1a5fa8a parent 636dd2b7def5c9c72551b51d4d516a65c269de08 author Andi Kleen Wed, 11 Jan 2006 22:43:27 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:51 -0800 [PATCH] x86_64: Add missing newline in IOMMU error message Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 636dd2b7def5c9c72551b51d4d516a65c269de08 tree 8a3c1ec030fc0924a96e54c0ec19d94f17ecc44e parent bd9cb64df1d99c07ea9672661ede6ca3ba5c6579 author Stephen Hemminger Wed, 11 Jan 2006 22:43:24 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:50 -0800 [PATCH] x86_64: fls in asm for x86_64 Use single instruction for find largest set bit on x86_64. [Updated by Jan Beulich to fix wrong asm constraints in original patch -AK] Cc: jbeulich@novell.com Signed-off-by: Stephen Hemminger Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit bd9cb64df1d99c07ea9672661ede6ca3ba5c6579 tree 6f9e9e81aad3f554b5ca1e8cae1ad7c3b9676bbf parent 4724e3e86d806860c90917f9b73d4354e388b39b author Jan Beulich Wed, 11 Jan 2006 22:43:21 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:50 -0800 [PATCH] x86_64: fix page fault from show_trace() The introduction of call_softirq switching to the interrupt stack several releases earlier resulted in a problem with the code in show_trace, which assumes that it can pick the previous stack pointer from the end of the interrupt stack. Cc: Andi Kleen Cc: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 4724e3e86d806860c90917f9b73d4354e388b39b tree f14fb69d8fe50894107c48898f8583fdda985055 parent 60917a3832547886549962ab9ee753253cf5e44c author Peter Beutner Wed, 11 Jan 2006 22:43:18 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:50 -0800 [PATCH] x86_64: fix single step handling for 32bit processes Be more careful with TF handling to fix some copy protection codes in wine patch originally for i386 by Linus, then ported to x86_64 by Andi Kleen see: [PATCH] x86_64: Some fixes for single step handling commit: be61bff789fe44bfb6d9282d8f7eccc860bdcfb6 But it was never applied to the ia32 emulation code which breaks some copy-protection schemes under wine when running on x86_64. Signed-off-by: Peter Beutner Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 60917a3832547886549962ab9ee753253cf5e44c tree bf3726a5b0e238784ef6857a505fec5c16dcbee0 parent 6e3fbee5f11a8135109b08bfcbc05a29eb4eabe8 author Benjamin LaHaise Wed, 11 Jan 2006 22:43:15 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:50 -0800 [PATCH] x86_64: don't save eflags in x86-64 switch_to() As discussed, the flags register on x86-64 is saved and restored by the assembly code which sets up struct pt_regs, so we do not need to save and restore it in the inline assembler which already informs gcc that we're clobbering the flags. This patch has been sanity booted and works okay here. Signed-off-by: Benjamin LaHaise Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6e3fbee5f11a8135109b08bfcbc05a29eb4eabe8 tree 2a37bbf126d3312ae2a6a0285ea8c2620f58cc39 parent 329d400f47ddfe8ff599823d739c5c5565da3207 author Eric W. Biederman Wed, 11 Jan 2006 22:43:12 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:04:50 -0800 [PATCH] i386/x86-64: Don't IPI to offline cpus on shutdown So why are we calling smp_send_stop from machine_halt? We don't. Looking more closely at the bug report the problem here is that halt -p is called which triggers not a halt but an attempt to power off. machine_power_off calls machine_shutdown which calls smp_send_stop. If pm_power_off is set we should never make it out machine_power_off to the call of do_exit. So pm_power_off must not be set in this case. When pm_power_off is not set we expect machine_power_off to devolve into machine_halt. So how do we fix this? Playing too much with smp_send_stop is dangerous because it must also be safe to be called from panic. It looks like the obviously correct fix is to only call machine_shutdown when pm_power_off is defined. Doing that will make Andi's assumption about not scheduling true and generally simplify what must be supported. This turns machine_power_off into a noop like machine_halt when pm_power_off is not defined. If the expected behavior is that sys_reboot(LINUX_REBOOT_CMD_POWER_OFF) becomes sys_reboot(LINUX_REBOOT_CMD_HALT) if pm_power_off is NULL this is not quite a comprehensive fix as we pass a different parameter to the reboot notifier and we set system_state to a different value before calling device_shutdown(). Unfortunately any fix more comprehensive I can think of is not obviously correct. The core problem is that there is no architecture independent way to detect if machine_power will become a noop, without calling it. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 329d400f47ddfe8ff599823d739c5c5565da3207 tree 903b45e7ebcccbbd8172e207315c036ceb70f6e8 parent 73ca5358aab55e2e29993a31f3776c54c05ae729 author Zwane Mwaikambo Wed, 11 Jan 2006 22:43:09 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:57 -0800 [PATCH] x86_64/i386: Remove preempt disable calls in lowlevel IPI I noticed that some lowlevel send_IPI_mask helpers had a hotplug/preempt race whereupon the cpu_online_map was read before disabling preemption; ... cpumask_t mask = cpu_online_map; int cpu = get_cpu(); cpu_clear(cpu, mask); ... But then i realised that there is no need for these lowlevel functions to be going through all this trouble when all the callers are already made hotplug/preempt safe. Signed-off-by: Zwane Mwaikambo Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 73ca5358aab55e2e29993a31f3776c54c05ae729 tree 8c9c177c9f5a0e1f16e3f01f9aa668f353cfc95e parent f2ecfab91c6f248cf71dff66c2111d31c8cc1747 author Shaohua Li Wed, 11 Jan 2006 22:43:06 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:57 -0800 [PATCH] x86_64: increase MCE bank counts There is one CPU here whose MCE bank count is 6. This patch increases x86_64's MCE bank count. Signed-off-by: Shaohua Li Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit f2ecfab91c6f248cf71dff66c2111d31c8cc1747 tree 4d0c1834fac10d50cb25d53b82d33794df9a625b parent b556b35e98ad2b9174a7a623d152cdf412d1a999 author Benjamin LaHaise Wed, 11 Jan 2006 22:43:03 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:56 -0800 [PATCH] x86_64: another mb() for smpboot.c The following is probably a good idea given that the atomic_set() isn't a barrier here either. Signed-off-by: Benjamin LaHaise Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit b556b35e98ad2b9174a7a623d152cdf412d1a999 tree 10f99d70e719fba811dee85d2f3a82b26d7a4ce8 parent ed8388a5d9db0445322f86ee8381b0f04a2057ee author Jan Beulich Wed, 11 Jan 2006 22:43:00 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:13 -0800 [PATCH] x86_64: Move int 3 handler to debug stack and allow to increase it. This - switches the INT3 handler to run on an IST stack (to cope with breakpoints set by a kernel debugger on places where the kernel's %gs base hasn't been set up, yet); the IST stack used is shared with the INT1 handler's [AK: this also allows setting a kprobe on the interrupt/exception entry points] - allows nesting of INT1/INT3 handlers so that one can, with a kernel debugger, debug (at least) the user-mode portions of the INT1/INT3 handling; the nesting isn't actively enabled here since a kernel- debugger-free kernel doesn't need it Signed-Off-By: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit ed8388a5d9db0445322f86ee8381b0f04a2057ee tree eba3d011ef4973ff7568274215f43f0508e848e5 parent 7c0ac555b0b927ee0b3ca6200617f43dbdbaffb8 author Andi Kleen Wed, 11 Jan 2006 22:42:57 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:13 -0800 [PATCH] x86_64: Don't confuse apic=... command line option with apic Previously apic was foced with apic=logopt was specified. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 7c0ac555b0b927ee0b3ca6200617f43dbdbaffb8 tree 09e24fdaee0975f0725f9b6278c23c8db36b510c parent 3f98bc4991df8e7b5972489b4632e1e5c03cd1ee author Andi Kleen Wed, 11 Jan 2006 22:42:54 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:12 -0800 [PATCH] x86_64: Dont't disable early PCI scan with apic It might be still needed for non APIC related issues. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 3f98bc4991df8e7b5972489b4632e1e5c03cd1ee tree 877fc1305c6d2713a891fc52cc5babbe5c0d62dc parent 152bf8c55d657898c40c8ed270630c0cf9d51f7d author Andi Kleen Wed, 11 Jan 2006 22:42:51 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:12 -0800 [PATCH] i386/x86-64: Update AMD CPUID flags Print bits for RDTSCP, SVM, CR8-LEGACY. Also now print power flags on i386 like x86-64 always did. This will add a new line in the 386 cpuinfo, but that shouldn't be an issue - did that in the past too and I haven't heard of any breakage. I shrunk some of the fields in the i386 cpuinfo_x86 to chars to make up for the new int "x86_power" field. Overall it's smaller than before. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 152bf8c55d657898c40c8ed270630c0cf9d51f7d tree 952dafe52a4dbe7f61cb01507fbeddc3d1925106 parent 39b3a7910556005a7a0d042ecb7ff98bfa84ea57 author Andi Kleen Wed, 11 Jan 2006 22:42:48 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:12 -0800 [PATCH] x86_64: Use X86_FEATURE_CONSTANT_TSC now to clean up Intel speedstep drivers They previously tried to figure this out on their own. Suggested by Venkatesh. Cc: venkatesh.pallipadi@intel.com Cc: davej@redhat.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 39b3a7910556005a7a0d042ecb7ff98bfa84ea57 tree efcb2602e6fd198c9af34e726741eb389fa4e292 parent 2d52ede9876ba566b583f255fdc43800eea81baa author Andi Kleen Wed, 11 Jan 2006 22:42:45 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:12 -0800 [PATCH] i386/x86-64: Generalize X86_FEATURE_CONSTANT_TSC flag Define it for i386 too. This is a synthetic flag that signifies that the CPU's TSC runs at a constant P state invariant frequency. Fix up the logic on x86-64/i386 to set it on all known CPUs. Use the AMD defined bit to set it on future AMD CPUs. Cc: venkatesh.pallipadi@intel.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2d52ede9876ba566b583f255fdc43800eea81baa tree 07f405b7807ac54a9e091ea6054281d2c290e6c6 parent 7eb903f4a5c35c8310f0aa7b0e94aae0b826d837 author Andi Kleen Wed, 11 Jan 2006 22:42:42 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:12 -0800 [PATCH] x86_64: Remove enable/disable_hlt Was only used by the floppy driver to work around some ancient hardware bug that should never occur on any 64bit system. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 7eb903f4a5c35c8310f0aa7b0e94aae0b826d837 tree 39489c4edd583ae398d7987019a4ba7315bdfcee parent f62a91f6911479642c0018290d4248ace4287648 author Andi Kleen Wed, 11 Jan 2006 22:42:39 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:11 -0800 [PATCH] x86_64: Add documentation for CPU hotplug ACPI extension Cc: len.brown@intel.com, ashok.ray@intel.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit f62a91f6911479642c0018290d4248ace4287648 tree f5d941d1f1dab0bf462795c47fa8b616d31a833f parent 92934bcbf96bc9dc931c40ca5f1a57685b7b813b author Andi Kleen Wed, 11 Jan 2006 22:42:35 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:11 -0800 [PATCH] x86_64: Don't reserve hotplug CPUs by default Most users don't need it so no need to waste memory. This means an user has to specify the appropiate number of hotplug CPUs on the command line with additional_cpus=... or fix their BIOS to follow the convention in Documentation/x86-64/cpu-hotplug-spec Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 92934bcbf96bc9dc931c40ca5f1a57685b7b813b tree eb9690ca6b23b5603429a8b3d290d6ca2545bcaf parent 636aab5ce332d88a76362797a55804c7da643467 author Andi Kleen Wed, 11 Jan 2006 22:42:32 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:11 -0800 [PATCH] i386/x86-64: Use input/output dependencies for bitops Noticed by Andreas Schwab Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 636aab5ce332d88a76362797a55804c7da643467 tree 6127968732ba695e30d72f3dfd53252c18ec89ec parent 1f6818b90dbb887261c616a318733703ed526f0a author Andi Kleen Wed, 11 Jan 2006 22:42:29 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:11 -0800 [PATCH] x86_64: No need to remove NT during CPU setup head.S already clears EFLAGS completely. Following an i386 patch from Zachary Amsden. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 1f6818b90dbb887261c616a318733703ed526f0a tree 7737ceb132fc62339fc1aecc8288e924c63abc87 parent 8b1bde93175182d7c11d9a1230b2210a5815e747 author Andi Kleen Wed, 11 Jan 2006 22:42:26 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:11 -0800 [PATCH] x86_64: Minor GFP_DMA32 comment fix Pretty obvious Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 8b1bde93175182d7c11d9a1230b2210a5815e747 tree 1394674c50a08138e8c47d943335124ae88d3397 parent 505cc4e1d6885acaee008950ac9c6e838f2209f8 author Jan Beulich Wed, 11 Jan 2006 22:42:23 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:11 -0800 [PATCH] x86_64: Adjust page fault handling Adjust page fault protection error check before considering it to be a vmalloc synchronization candidate. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 505cc4e1d6885acaee008950ac9c6e838f2209f8 tree 068e4d458f02003853d7d9a1a8a6b72338222f94 parent eca37c18beb306dd9dea4579d7214e1b4414b3fb author Jan Beulich Wed, 11 Jan 2006 22:42:20 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:10 -0800 [PATCH] x86_64: Remove unprotected iret Make sure no iret can fault without attached recovery code. Cannot happen in the normal case, but might be useful with kernel debuggers Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit eca37c18beb306dd9dea4579d7214e1b4414b3fb tree f74aecdd6f793dd01901220e4a09e82c021d7028 parent 6e3f361781573a27296c77a79c9892dec8f2e36c author Jan Beulich Wed, 11 Jan 2006 22:42:17 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:10 -0800 [PATCH] x86_64: Clean up double fault handling Since a double fault always implies that kernel data structures are corrupt, this fault should neither be handed to user mode handling, nor should the handler allow resuming the faulting code stream (since architecturally this isn't a fault, but an abort). Note that this slightly depends on the previously submitted patch adjusting the prototype of notify_die() (a compiler warning will result without that other patch). AK: Removed obsolete CONFIG_CHECKING code, added comments Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6e3f361781573a27296c77a79c9892dec8f2e36c tree b08ff3ed470d0e21ce3d462f16d6d3f0a6965a9c parent 5c617cfa6422bfba9e79d8d004303a6cc3d2e7d7 author Jan Beulich Wed, 11 Jan 2006 22:42:14 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:10 -0800 [PATCH] x86_64: make trap information available to die notification handlers This adjusts things so that handlers of the die() notifier will have sufficient information about the trap currently being handled. It also adjusts the notify_die() prototype to (again) match that of i386. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5c617cfa6422bfba9e79d8d004303a6cc3d2e7d7 tree c60f411ef40c648b06fff8e8fca286fcaa868f48 parent 0a5215882166dd33a95b313637dd318e4c143113 author Jan Beulich Wed, 11 Jan 2006 22:42:11 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:10 -0800 [PATCH] x86_64: Removing unused function die_if_kernel(). Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 0a5215882166dd33a95b313637dd318e4c143113 tree 00b3211382219459ddebdc8bcde2f3881a657b08 parent 6e0c47ede7b1473a4e2ab65a0fecf0385ab23c03 author Jan Beulich Wed, 11 Jan 2006 22:42:08 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:10 -0800 [PATCH] x86_64: fix bound check IDT gate Other than apparently commonly assumed, the bound instruction does not require the corresponding IDT entry to have DPL 3. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6e0c47ede7b1473a4e2ab65a0fecf0385ab23c03 tree b190f8d76776faf5a2fba9fbfa866c71ec793265 parent 130951ccb14167c20b87e8bed52b60864ed53c2b author Jan Beulich Wed, 11 Jan 2006 22:42:05 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:10 -0800 [PATCH] x86_64: Separate CONFIG_UNWIND_INFO from CONFIG_DEBUG_INFO As a follow-up to the introduction of CONFIG_UNWIND_INFO, this separates the generation of frame unwind information for x86-64 from that of full debug information. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 130951ccb14167c20b87e8bed52b60864ed53c2b tree c54ee85b8f63d82007d1473a35b24fed3d5e2359 parent 2765130b020c22f803afba74772f33f2ad13bf28 author Andi Kleen Wed, 11 Jan 2006 22:42:02 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:09 -0800 [PATCH] x86_64: Support constant TSC feature in future AMD CPUs. Based on the documentation recently posted by Richard Brunner. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2765130b020c22f803afba74772f33f2ad13bf28 tree 4d6b35c25c7031f18c67608beea6f33f2ce2e783 parent 6076399e9561a92388ed320dc7105595f8db1ba9 author Jan Beulich Wed, 11 Jan 2006 22:41:59 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:09 -0800 [PATCH] x86_64: More CFI fixes for 32bit entry code Frame unwind information was still incorrect for ia32_ptregs_common (sorry, my fault), and could be improved for some of the other entry points. Signed-Off-By: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6076399e9561a92388ed320dc7105595f8db1ba9 tree 69c9418a63b0aa78e465f4d1e845bc6381b058e9 parent 8d8706e2f86d28814c1b40a116ffdeca35e4c949 author Andi Kleen Wed, 11 Jan 2006 22:41:56 +0100 committer Linus Torvalds Wed, 11 Jan 2006 19:01:09 -0800 [PATCH] x86_64: Update defconfig Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 8d8706e2f86d28814c1b40a116ffdeca35e4c949 tree 146567d7a807feb37a5368fbb4a6ee76d9d7bc7e parent a9415644583ef344e02f84faf5fe24bfadb2af8e author Andrew Morton Wed, 11 Jan 2006 12:17:49 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:14 -0800 [PATCH] lindent rio drivers Run all rio files through indent -kr -i8 -bri0 -l255, as requested by Alan. rioboot.c and rioinit.c were skipped due to worrisome lindent warnings. Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a9415644583ef344e02f84faf5fe24bfadb2af8e tree 814013533b03705221b0e53191646a6279abcb8c parent 4fc268d24ceb9f4150777c1b5b2b8e6214e56b2b author Randy Dunlap Wed, 11 Jan 2006 12:17:48 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:14 -0800 [PATCH] capable/capability.h (arch/) arch: Use where capable() is used. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4fc268d24ceb9f4150777c1b5b2b8e6214e56b2b tree d2aaf0b5986b03e6129ed3ccd65b9f706cd59c7f parent 16f7e0fe2ecc30f30652e8185e1772cdebe39109 author Randy Dunlap Wed, 11 Jan 2006 12:17:47 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:14 -0800 [PATCH] capable/capability.h (net/) net: Use where capable() is used. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 16f7e0fe2ecc30f30652e8185e1772cdebe39109 tree e668703267c7b02f1af3cc1581bb4366a5370fdd parent c59ede7b78db329949d9cdcd7064e22d357560ef author Randy Dunlap Wed, 11 Jan 2006 12:17:46 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:13 -0800 [PATCH] capable/capability.h (fs/) fs: Use where capable() is used. Signed-off-by: Randy Dunlap Acked-by: Tim Schmielau Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c59ede7b78db329949d9cdcd7064e22d357560ef tree f9dc9d464fdad5bfd464d983e77c1af031389dda parent e16885c5ad624a6efe1b1bf764e075d75f65a788 author Randy.Dunlap Wed, 11 Jan 2006 12:17:46 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:13 -0800 [PATCH] move capable() to capability.h - Move capable() from sched.h to capability.h; - Use where capable() is used (in include/, block/, ipc/, kernel/, a few drivers/, mm/, security/, & sound/; many more drivers/ to go) Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e16885c5ad624a6efe1b1bf764e075d75f65a788 tree de137e799ddc0a696bb288b34fade65af1708a5e parent a9fad4cc3975573a359a92ad047f5995d8391631 author Ingo Molnar Wed, 11 Jan 2006 12:17:45 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:13 -0800 [PATCH] uninline capable() Uninline capable(). Saves 2K of kernel text on a generic .config, and 1K on a tiny config. In addition it makes the use of capable more consistent between CONFIG_SECURITY and !CONFIG_SECURITY Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a9fad4cc3975573a359a92ad047f5995d8391631 tree 7400df3c7b19869e350c90f6579062f8a5369e58 parent 5c908a74d90e693d9079f4238012d43b06231a70 author Matt Domsch Wed, 11 Jan 2006 12:17:44 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:13 -0800 [PATCH] ipmi: use CONFIG_DMI instead of CONFIG_X86 With Andi Kleen's x86_64 patch to use DMI, and my ia64 to use DMI, there is now a new CONFIG_DMI option which takes the place of CONFIG_X86 to denote the availability of the DMI functions. Make the IPMI driver use CONFIG_DMI instead. Tested on ia64 2.6.15 kernel plus the previous patch, on a Dell PowerEdge 7250 Itanium2 server, and it now autodetects the IPMI KCS driver as expected. Signed-off-by: Matt Domsch Acked-by: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5c908a74d90e693d9079f4238012d43b06231a70 tree 8c2f06c414320315b9bf882f1e445d7145f902a4 parent eb3a72921c8276bf2cd028a458bb83435f16c91c author Jesper Juhl Wed, 11 Jan 2006 12:17:43 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:13 -0800 [PATCH] remove unused out_pio label in i810_audio sound/oss/i810_audio.c:3431: warning: label `out_pio' defined but not used Signed-off-by: Jesper Juhl Signed-off-by: Linus Torvalds commit eb3a72921c8276bf2cd028a458bb83435f16c91c tree 634eff43e1926bdb400d038eb08115193b6a7506 parent df019b1d8b893d0f0ee5a9b0f71486f0892561ae author Keshavamurthy Anil S Wed, 11 Jan 2006 12:17:42 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:12 -0800 [PATCH] kprobes: fix race in recovery of reentrant probe There is a window where a probe gets removed right after the probe is hit on some different cpu. In this case probe handlers can't find a matching probe instance related to break address. In this case we need to read the original instruction at break address to see if that is not a break/int3 instruction and recover safely. Previous code had a bug where we were not checking for the above race in case of reentrant probes and the below patch fixes this race. Tested on IA64, Powerpc, x86_64. Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit df019b1d8b893d0f0ee5a9b0f71486f0892561ae tree 9d2ced14291502af1ca687b5d854d8394cbfb84d parent ef43bc4fc32bec8fda7bae8948b774616dc9e496 author Keshavamurthy Anil S Wed, 11 Jan 2006 12:17:41 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:12 -0800 [PATCH] kprobes: fix unloading of self probed module When a kprobes modules is written in such a way that probes are inserted on itself, then unload of that moudle was not possible due to reference couning on the same module. The below patch makes a check and incrementes the module refcount only if it is not a self probed module. We need to allow modules to probe themself for kprobes performance measurements This patch has been tested on several x86_64, ppc64 and IA64 architectures. Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef43bc4fc32bec8fda7bae8948b774616dc9e496 tree 75cec437c9909f29752ad77b50fbd09af55e7817 parent 0c8365ecc57f87e4d982c3fe59a4c1b985484e7f author Jan Kara Wed, 11 Jan 2006 12:17:40 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:12 -0800 [PATCH] reiserfs: fix assertion failure in reiserfs+journaled quotas Sometimes we call do_journal_end() with t_refcount == 0. If quota is turned on and we happen to have some inode with preallocation bad things happen as we try to use the current handle for quota operations. Checks for t_refcount in journal_begin() fail and we Oops. We raise t_refcount to make those checks happy. We should not cause any bad as all the needed quota blocks should be already attached to the transaction (they were attached to the transaction when we allocated those preallocation blocks). Signed-off-by: Jan Kara Cc: Jeff Mahoney Cc: Chris Mason Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c8365ecc57f87e4d982c3fe59a4c1b985484e7f tree 4249e263421e2b428a4c099e933ac26f87329687 parent d251575ab60ca2b5337574bfaf8f8b583f18059e author Paul Fulghum Wed, 11 Jan 2006 12:17:39 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:11 -0800 [PATCH] synclink_gt remove unnecessary page alignment Remove unnecessary and incorrectly implemented page alignment of register base address before calling ioremap() Signed-off-by: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d251575ab60ca2b5337574bfaf8f8b583f18059e tree 8bd9b2a920d01db2cbd770a712657a0a81723007 parent 8c174af880d02f29599178284bb43f8d4f0fdcd8 author Stephen Hemminger Wed, 11 Jan 2006 12:17:38 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:11 -0800 [PATCH] random: get rid of sparse warning Get rid of bogus extern attribute that causes sparse warning. Signed-off-by: Stephen Hemminger Acked-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8c174af880d02f29599178284bb43f8d4f0fdcd8 tree 80165ecf627d380464bff5e51dff6d849e9dd8c4 parent 9e9e3941d0a3497c1e7fb9ce62059705825bb775 author Alan Cox Wed, 11 Jan 2006 12:17:37 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:11 -0800 [PATCH] MAINTAINERS: remove dead project Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9e9e3941d0a3497c1e7fb9ce62059705825bb775 tree 9f0765707996dff85e5ff50f9bfc4b2e9a242c7c parent fd85d765b75db608500c783e5bc41b63627957c8 author Vivek Goyal Wed, 11 Jan 2006 12:17:37 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:11 -0800 [PATCH] kdump: vmcore compilation warning fix o fs/proc/vmcore.c compilation gives warnings on ppc64. The reason being that u64 is defined as unsigned long hence u64* is not same as loff_t* and compiler cribs. o Changed the parameter type to u64* instead of loff_t* to resolve the conflict. Signed-off-by: Vivek Goyal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd85d765b75db608500c783e5bc41b63627957c8 tree e5e16cda841b076b997efe05d9aa76f1d60f409e parent 91e1c46356beddf984ce0ce5ec4fbaea43a07ec8 author Jean Delvare Wed, 11 Jan 2006 12:17:36 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:11 -0800 [PATCH] cs89x0: Fix the Kconfig help text Fix the help text of the cs89x0 network driver Kconfig entry. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 91e1c46356beddf984ce0ce5ec4fbaea43a07ec8 tree 2f9a67e020936687e87bc351002a8af7263abcf9 parent 4ab2495a30bb3de1cfe41a886f83afb68616ab7d author Lennert Buytenhek Wed, 11 Jan 2006 12:17:34 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:11 -0800 [PATCH] cs89x0: fix setting of ALLOW_DMA There's an ifdef in cs89x0.c that seems to have been the wrong way round since it was merged (and noone seems to have noticed) -- the IXDP2x01 doesn't support ISA-style DMA, but when building for IXDP2x01, cs89x0's ALLOW_DMA is set to 1, and when building for another platform, ALLOW_DMA is set to 0. Signed-off-by: Lennert Buytenhek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ab2495a30bb3de1cfe41a886f83afb68616ab7d tree d28d2e379f7eb2c93658f26bc17da0565022b36f parent b7599587faea9403edf4d7f74e80b3c9ea217930 author Alan Cox Wed, 11 Jan 2006 12:17:33 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:10 -0800 [PATCH] tclk: fix typos, exclamation mark frenzy and missing device id on messages I sent this out a couple of months ago and the driver author said it he'd merge it. Nothing has happened since so I'm submitting it directly. No functionality changes just texts. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b7599587faea9403edf4d7f74e80b3c9ea217930 tree b6049fb7006eb1fe5a3bc545c2cf7880ce079971 parent e56d5ae305b9be17edfee20740ec84257e518747 author Alan Cox Wed, 11 Jan 2006 12:17:32 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:10 -0800 [PATCH] Allow reading CMOS day of week register Someone wanted access to this usually unused (and unused by Linux) value for the day of week. Existing kernels have the field in the struct but return 0 always. This updates the kernel to fill in the field. The usual case of 'not set' conveniently is 0. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e56d5ae305b9be17edfee20740ec84257e518747 tree e03b0841489721b3fd9dbab11964712aa47d41fc parent 75ba0861bcc64634166124f164dcc05b6393c0ee author Tore Anderson Wed, 11 Jan 2006 12:17:31 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:10 -0800 [PATCH] ext3: fix documentation of online resizing Undocument the non-working resize= mount option in ext3, and add some references to the ext2resize package instead, which appears to be the only proper way of doing online resizing of ext3 filesystems. Signed-off-by: Tore Anderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 75ba0861bcc64634166124f164dcc05b6393c0ee tree 1104e77b8de54f5dbf875291b154c0845e80a17e parent 8428cfe893c1f13eb22cd879669f12b65900738f author Akinobu Mita Wed, 11 Jan 2006 12:17:31 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:10 -0800 [PATCH] doc: refer to kdump in oops-tracing.txt Kdump has been merged and supported on several architectures. It is better to encourage to use kdump rather than non standard kernel crash dump patches. Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8428cfe893c1f13eb22cd879669f12b65900738f tree aa6de3530fd1387c3929d2f10015749c7bad10d0 parent beb25c6e27b21d0c0f7b9c2769fa334f1f9a8c2c author Akinobu Mita Wed, 11 Jan 2006 12:17:30 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:10 -0800 [PATCH] kdump: add dmesg gdbmacro into document Add gdb macro which print the kernel ring buffer into kdump docs Signed-off-by: Akinobu Mita Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit beb25c6e27b21d0c0f7b9c2769fa334f1f9a8c2c tree 1b4f10528b5d73db96e7b71e9eae58f8bf236d47 parent 621009f4baf24581211dbb7b0816e01ed9fa8496 author Jeff Dike Wed, 11 Jan 2006 12:17:29 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:10 -0800 [PATCH] uml: kill an unused variable The HDIO_GETGEO patch left an unused variable in the UML block driver. This gets rid of it. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 621009f4baf24581211dbb7b0816e01ed9fa8496 tree 9fb6f53b0b0e3d55d3d4e1de60f6b9ab66accc23 parent a174b30e2963a02e9657f4ac69b2b500993bf0d4 author Jeff Dike Wed, 11 Jan 2006 12:17:28 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:10 -0800 [PATCH] uml: fix debug output on x86_64 The debug-stub patch was broken on x86_64 because it thinks the frame size there is 168 words. In reality, it is 168 bytes, and using HOST_FRAME_SIZE, which is expressed in consistent units across architectures, fixes this. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a174b30e2963a02e9657f4ac69b2b500993bf0d4 tree 9defc32aa50e73397ae8744ae07daac3a816b43d parent edc0e6595616db3f34229077f30eb0616d1e0b84 author Jeff Dike Wed, 11 Jan 2006 12:17:28 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:09 -0800 [PATCH] uml: eliminate doubled boot output CON_PRINTBUFFER was a bad idea for the mconsole console. It causes the boot output to be printed twice. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit edc0e6595616db3f34229077f30eb0616d1e0b84 tree f4c7247ded9641273d47302d959737f2143e1d1b parent 114d1ff4f551c8cc940de71b03c5b7365b4124f5 author Jeff Dike Wed, 11 Jan 2006 12:17:27 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:09 -0800 [PATCH] uml: revert compile-time option checking Undo the previous no-modes patch since Adrian Bunk sent in a kbuild way of doing the same thing. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 114d1ff4f551c8cc940de71b03c5b7365b4124f5 tree 4cbdd6bcdce9cd34f3920676fdd10779c30a5780 parent 4ee189a9260849ebacbdd3caf1fd5eb077fcf6a9 author Jeff Dike Wed, 11 Jan 2006 12:17:26 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:09 -0800 [PATCH] uml: update Kconfig help The MODE_TT help was a little outdated. This updates it in light of the existence of skas0 mode. It's also turned off by default since it is mostly obsoleted by skas0 mode. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ee189a9260849ebacbdd3caf1fd5eb077fcf6a9 tree 016e90e4f3d7da648e3739e08849457ffbc50cfd parent 10b5aabddd1e8f26fdccc56666ddcad653e02fd6 author Jeff Dike Wed, 11 Jan 2006 12:17:23 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:09 -0800 [PATCH] uml: fix missing KBUILD_BASENAME 2.6.15-mm1 caused kernel-offsets.c to stop compiling with a syntax error in a header. The problem was with KBUILD_BASENAME, which didn't get a definition with the by-hand compilation in the main UML Makefile. This was OK before since the expansion was syntactically the same as the KBUILD_BASENAME token. With -mm1, the expansion is now a quote-delimited string, so there needs to be a definition of it. Since kernel-offsets.c is basically the same as other arches' asm-offsets.c, and those seem to build OK, this patch turns kernel-offsets.c into asm-offsets.c. kernel-offsets.c is in arch/um/sys-$(SUBARCH), i.e. sys-i386 and sys-x86_64, while kbuild expects it to be in arch/um/kernel. kernel-offsets.c is moved to arch/um/include/sysdep-$(SUBARCH)/kernel-offsets.h, which is included by arch/um/kernel/asm-offsets.c. With that, include/asm-um/asm-offsets.h is generated automatically. kernel-offsets.h continues to exist because it needs to be accessible to userspace UML code, and include/asm-um isn't. So, a symlink is made from arch/um/include/kernel-offsets.h to include/asm-um/asm-offsets.h. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 10b5aabddd1e8f26fdccc56666ddcad653e02fd6 tree 8e6ea18a28efe218cd6720a4588a8a3f76b1d085 parent 4eac915d02453e81a32595cd7423492c81337a26 author Adrian Bunk Wed, 11 Jan 2006 12:17:20 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:09 -0800 [PATCH] include/asm-h8300/page.h: remove unused KTHREAD_SIZE #define Signed-off-by: Adrian Bunk Cc: Yoshinori Sato Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4eac915d02453e81a32595cd7423492c81337a26 tree 2c652730cdf2cb0015cf59a8f75506c917685091 parent 7365f3d169a1eae00e713c1a4eea90e86415dcc5 author Paul Jackson Wed, 11 Jan 2006 12:17:19 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:09 -0800 [PATCH] mm: gfp_atomic comments Clarify in comments that GFP_ATOMIC means both "don't sleep" and "use emergency pools", hence both ALLOC_HARDER and ALLOC_HIGH. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7365f3d169a1eae00e713c1a4eea90e86415dcc5 tree 2071690e80631e38a732657e5debb83b0eedc12a parent 45ed344cc7b6456856b4ae5e3d81cdb18b98f8ad author Hugh Dickins Wed, 11 Jan 2006 12:17:18 -0800 committer Linus Torvalds Wed, 11 Jan 2006 18:42:08 -0800 [PATCH] Restore KERN_EMERG to each line printed by bad_page Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f9cfc08d640e1586e76eee63cc2b0a9360bc7c7e tree 6fa5c8614c2e55aa1df7af5f1349eab5c667112f parent a113bc787e9b0e792f316e803b619d31af1397ad author Adrian Bunk Wed, 11 Jan 2006 23:57:55 -0200 committer Mauro Carvalho Chehab Thu, 12 Jan 2006 00:37:59 -0200 V4L/DVB (3354): VIDEO_SAA7134_ALSA shouldn't select SND_PCM_OSS - There's no reason for an ALSA driver to select an OSS legacy userspace interface. Signed-off-by: Adrian Bunk Signed-off-by: Mauro Carvalho Chehab commit ddae9c2ea79449beb00027cf77fca6dc489f2d15 tree 047c2d7c8d6cbb0721f017514e1d83a20e278d43 parent 0d1335b3106687d87fcfa0e4d90f2a961bd7e1db parent a4fc7ab1d065a9dd89ed0e74439ef87d4a16e980 author Nathan Scott Thu, 12 Jan 2006 13:34:47 +1100 committer Nathan Scott Thu, 12 Jan 2006 13:34:47 +1100 Merge HEAD from oss.sgi.com:/oss/git/linux-2.6.git commit a113bc787e9b0e792f316e803b619d31af1397ad tree 872361a49a080925729c0d0b6b686d894c69a4f6 parent f8bf134d5f697311c04e867b6733d047a4b55a12 author Guy Martin Wed, 11 Jan 2006 23:40:51 -0200 committer Mauro Carvalho Chehab Thu, 12 Jan 2006 00:11:55 -0200 V4L/DVB (3352): Some fixes to compat_ioctl32 - Adds suppport or fix support for VIDIOC_ENUMSTD, VIDIOC_ENUMINPUT, VIDIOC_G_TUNER and VIDIOC_S_TUNER. - Fix the warnings at compile time and add checks for the pointer validity using access_ok(). - v4l_print_ioctl() has also be added to identify possible missing ioctls. - Has been tested on sparc64 and amd64. Other arches such as mips and hppa are expected to work as sparc, but not tested yet. Signed-off-by: Guy Martin Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab commit f8bf134d5f697311c04e867b6733d047a4b55a12 tree be1f5fb03a8c59fa774d056a639d3ed9640e36c1 parent ac9ffb90b8d0d28e3d9e5b5a045ee870a6269b5f author Regis Prevot Wed, 11 Jan 2006 23:31:53 -0200 committer Mauro Carvalho Chehab Thu, 12 Jan 2006 00:11:32 -0200 V4L/DVB (3351): adding support for knc1 Tv Star dvb-s - Added knc1 tv star dvb-s support with philips tuner sd1878. Signed-off-by: Regis Prevot Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit ac9ffb90b8d0d28e3d9e5b5a045ee870a6269b5f tree 274bd37e228c9334745c14a8d888eb26a51bfe69 parent 6bfb2e1f19a3fb68cf82f6ad44c34f4bcf9d4e9f author Michael Krufky Wed, 11 Jan 2006 23:21:00 -0200 committer Mauro Carvalho Chehab Thu, 12 Jan 2006 00:11:19 -0200 V4L/DVB (3350): Added USB ID for DigitalNow DVB-T Dual USB, DViCO clone - Added USB ID for DigitalNow DVB-T Dual USB, DViCO FusionHDTV DVB-T Dual USB clone Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 6bfb2e1f19a3fb68cf82f6ad44c34f4bcf9d4e9f tree ccb8f44d5022ffb80e902597030b89d56521aacb parent b5fc71440f63f653d86c75c2930fe22ad84c909d author Michael Krufky Wed, 11 Jan 2006 22:52:28 -0200 committer Mauro Carvalho Chehab Thu, 12 Jan 2006 00:10:59 -0200 V4L/DVB (3349): Add PCI ID for UltraView DVB-T Plus, rebranded DViCO FusionHDTV DVB-T Plus - Add PCI ID for UltraView DVB-T Plus,rebranded DViCO FusionHDTV DVB-T Plus Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit b5fc71440f63f653d86c75c2930fe22ad84c909d tree 3b138ad05659b8f3c29f2fd11ecb5e0019013967 parent f9195ded25a4e8fba09c67aa24b42cd98a242d7d author Hans Verkuil Wed, 11 Jan 2006 22:41:36 -0200 committer Mauro Carvalho Chehab Thu, 12 Jan 2006 00:10:35 -0200 V4L/DVB (3348): debug renamed to cx25840_debug - Debug var renamed to cx25840 to avoid conflicts with other var with the same name at kernel Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 45ed344cc7b6456856b4ae5e3d81cdb18b98f8ad tree ba64db58e1d4d1fb67b3b666279ebb8e4f7fb42a parent 99535ac2d4d95dbcad6b8d8a04ea57a891fb533b parent bb7e8c5a55c1f5d4192f4b61a84a791796ebf0c3 author Linus Torvalds Wed, 11 Jan 2006 17:06:47 -0800 committer Linus Torvalds Wed, 11 Jan 2006 17:06:47 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 99535ac2d4d95dbcad6b8d8a04ea57a891fb533b tree 6588fe50e22a2c4afe23b66b45b8e8374abe4e20 parent 607f4e3864a4306be0d0ad11ff34284c239aad1b parent 61943c5015acae42fe355bf033bbee8d63691fe3 author Linus Torvalds Wed, 11 Jan 2006 17:06:31 -0800 committer Linus Torvalds Wed, 11 Jan 2006 17:06:31 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit bb7e8c5a55c1f5d4192f4b61a84a791796ebf0c3 tree e924726833eca2911c53684701dc56259289ab5d parent 54608b709963b4f474ea26c1a087409eb0d9bebf author Adrian Bunk Wed, 11 Jan 2006 16:40:30 -0800 committer David S. Miller Wed, 11 Jan 2006 16:40:30 -0800 [PKT_SCHED] net/sched/Kconfig: fix typo in NET_EMATCH_META description Noted by Matt LaPlante . Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 54608b709963b4f474ea26c1a087409eb0d9bebf tree c79e4d801f0a1b041d86233c8e52c20649e5ee53 parent c3f343e4d7b99638b8a4f05c12b542d32405cfc4 author Evgeniy Polyakov Wed, 11 Jan 2006 16:13:46 -0800 committer David S. Miller Wed, 11 Jan 2006 16:32:16 -0800 [PKT_SCHED] ematch: Remove bogus include. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit c3f343e4d7b99638b8a4f05c12b542d32405cfc4 tree edfb917fb2f9692b53954f9b763234425f8f0985 parent 8b3a70058bfe711b2d05ba2134178bae623183ce author Evgeniy Polyakov Wed, 11 Jan 2006 16:12:41 -0800 committer David S. Miller Wed, 11 Jan 2006 16:32:15 -0800 [NET]: Fix diverter build. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 8b3a70058bfe711b2d05ba2134178bae623183ce tree 6f9e55729938f0a935aa885d29d5a38537fa3a97 parent ae0f7d5f83236a43c572a744e4bbb30e8702d821 author Kris Katterjohn Wed, 11 Jan 2006 15:56:43 -0800 committer David S. Miller Wed, 11 Jan 2006 16:32:14 -0800 [NET]: Remove more unneeded typecasts on *malloc() This removes more unneeded casts on the return value for kmalloc(), sock_kmalloc(), and vmalloc(). Signed-off-by: Kris Katterjohn Acked-by: James Morris Signed-off-by: David S. Miller commit ae0f7d5f83236a43c572a744e4bbb30e8702d821 tree 3d4ce288b86cb2845d79c6adec9e254054bb0e02 parent a7768097557be91d0d4c37e8f2e38cd126c4cdf9 author David Woodhouse Wed, 11 Jan 2006 15:53:04 -0800 committer David S. Miller Wed, 11 Jan 2006 16:32:13 -0800 [IPV6]: Avoid calling ip6_xmit() with NULL sk The ip6_xmit() function now assumes that its sk argument is non-NULL, which isn't currently true when TCPv6 code is sending RST or ACK packets. This fixes that code to use a socket of its own for sending such packets, as TCPv4 does. (Thanks Andi for the pointer). Signed-off-by: David Woodhouse Signed-off-by: David S. Miller commit a7768097557be91d0d4c37e8f2e38cd126c4cdf9 tree 476e148a9e6f861405860df720c5705fb9e14ba8 parent 82bf7e97ac5b9fd03aea10df6910cad50d6c032d author David S. Miller Wed, 11 Jan 2006 15:39:14 -0800 committer David S. Miller Wed, 11 Jan 2006 16:32:12 -0800 [NETFILTER]: ip_ct_proto_gre_fini() cannot be __exit It is invoked from failures paths of __init code. Signed-off-by: David S. Miller commit 82bf7e97ac5b9fd03aea10df6910cad50d6c032d tree bd3419516d4ced9bedca2a29008f8d8636adf5b4 parent 607f4e3864a4306be0d0ad11ff34284c239aad1b author David S. Miller Wed, 11 Jan 2006 15:38:28 -0800 committer David S. Miller Wed, 11 Jan 2006 16:32:11 -0800 [NET]: Some more missing include/etherdevice.h includes For compare_ether_addr() Signed-off-by: David S. Miller commit 607f4e3864a4306be0d0ad11ff34284c239aad1b tree c3bfaa2abc5fb7cc33fc28d8606a0d4721d1700b parent 4cec87361462d570d6a67888feda41e77e0a9562 author Paul Fulghum Wed, 11 Jan 2006 17:51:48 -0600 committer Linus Torvalds Wed, 11 Jan 2006 16:12:16 -0800 [PATCH] new tty buffering access fix Fix typos in new tty buffering that incorrectly access and update buffers in pending queue. Signed-off-by: Paul Fulghum Acked-by: Alan Cox Signed-off-by: Linus Torvalds commit 61943c5015acae42fe355bf033bbee8d63691fe3 tree d4333428f4caccfba7f4269fd0f314042421aab2 parent a4fc7ab1d065a9dd89ed0e74439ef87d4a16e980 author Adrian Bunk Wed, 11 Jan 2006 15:55:23 -0800 committer David S. Miller Wed, 11 Jan 2006 15:55:23 -0800 [SPARC64] arch/sparc64/Kconfig: fix HUGETLB_PAGE_SIZE_64K dependencies This patch fixes a typo in the dependencies of HUGETLB_PAGE_SIZE_64K. It might be more logical to rename the HUGETLB_PAGE_SIZE_*K dependencies to HUGETLB_PAGE_SIZE_*KB, but let's fix this bug first. This bug was reported by Jean-Luc Leger . Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 4cec87361462d570d6a67888feda41e77e0a9562 tree 1113096b2aa214f456cfecbbd5974e7efe8f6b27 parent 7e4e574c391cdeef516411eb698ac6955f01d673 author Linus Torvalds Wed, 11 Jan 2006 15:50:47 -0800 committer Linus Torvalds Wed, 11 Jan 2006 15:50:47 -0800 Fix mutex_trylock() copy-and-paste bug (x86, x86-64, generic mutex-dec.h) Noticed by Arjan originally on x86-64, then Ingo on x86, and finally me grepping for it in the generic version. Bad parenthesis nesting. Signed-off-by: Linus Torvalds commit 0d1335b3106687d87fcfa0e4d90f2a961bd7e1db tree 0da896892a40ed56eb02d58601089d9d2b67c382 parent 3762ec6bf76cdd32653c409dbad09f7b85807c68 author Nathan Scott Thu, 12 Jan 2006 10:32:51 +1100 committer Nathan Scott Thu, 12 Jan 2006 10:32:51 +1100 [XFS] Fix follow_link when dealing with symlinks larger than 256 bytes. Thanks to Yamamoto Takashi. SGI-PV: 947953 SGI-Modid: xfs-linux-melb:xfs-kern:24962a Signed-off-by: Nathan Scott commit 3762ec6bf76cdd32653c409dbad09f7b85807c68 tree ffe6dbe857d17709c352e0d60a5be8cba3b83400 parent 6ab65429b4871c42bfd0013f7f5e49d40c0642cd author Nathan Scott Thu, 12 Jan 2006 10:29:53 +1100 committer Nathan Scott Thu, 12 Jan 2006 10:29:53 +1100 [XFS] Merge in trivial changes, sync up headers with userspace equivalents. SGI-PV: 907752 SGI-Modid: xfs-linux-melb:xfs-kern:24961a Signed-off-by: Nathan Scott commit f9195ded25a4e8fba09c67aa24b42cd98a242d7d tree 61b4abb19b4ce4dc734b4a79fa90df241664b6f5 parent f167cb4e6ee07914b66eb85fc0bf006a409b6838 author Hans Verkuil Wed, 11 Jan 2006 19:01:01 -0200 committer Mauro Carvalho Chehab Wed, 11 Jan 2006 20:26:13 -0200 V4L/DVB (3347): Fixes some bad global variables - Debug global var is already used inside kernel, so renamed debug to tuner_debug for the tuner module Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit f167cb4e6ee07914b66eb85fc0bf006a409b6838 tree 11b888db404a404a9a918c841d06d65c21bc4c19 parent b2a17e47ceb82d23dbf5c5fb24b5377e21486dce author Mauro Carvalho Chehab Wed, 11 Jan 2006 19:41:49 -0200 committer Mauro Carvalho Chehab Wed, 11 Jan 2006 19:41:49 -0200 V4L/DVB (3345): Fixes some bad global variables - Debug global var is already used inside kernel. - v4l_dbg now expects the debug var - global vars inside msp34xx renamed to msp_* Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab commit b2a17e47ceb82d23dbf5c5fb24b5377e21486dce tree 5b4bdde4bbdad75fe5ec2bcbd5d2af4bc3614562 parent f823f6793659e63f9f22d3d7617a457806d6d69a author Jiri Slaby Wed, 11 Jan 2006 19:41:40 -0200 committer Mauro Carvalho Chehab Wed, 11 Jan 2006 19:41:40 -0200 V4L/DVB (3344f): Stradis Kconfig url changed http://www.stradis.com/decoder.html returns `No input file specified.' Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit f823f6793659e63f9f22d3d7617a457806d6d69a tree 1e562248727368f0f3120456db88b98c2d705187 parent 91fb8357c3e097a46eb6e92d03b284182172ce80 author Jiri Slaby Wed, 11 Jan 2006 19:41:32 -0200 committer Mauro Carvalho Chehab Wed, 11 Jan 2006 19:41:32 -0200 V4L/DVB (3344e): Stradis Lindent Stradis Lindent + some handwork Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 91fb8357c3e097a46eb6e92d03b284182172ce80 tree bf72766a6cd82835c27adfbc796bbed48026593d parent 9ae82293ff3a3057d939b4f56d57eeea2f91bbec author Jiri Slaby Wed, 11 Jan 2006 19:41:21 -0200 committer Mauro Carvalho Chehab Wed, 11 Jan 2006 19:41:21 -0200 V4L/DVB (3344d): Stradis video little cleanup Unused function removed. Used container_of instead of for loop. Some small changes Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 9ae82293ff3a3057d939b4f56d57eeea2f91bbec tree 735e941317b10973cd06bf63bdcf1140d2ef7412 parent d4437d3fada351d7f40bcc48a62c12b92e2ad9d8 author Jiri Slaby Wed, 11 Jan 2006 19:41:13 -0200 committer Mauro Carvalho Chehab Wed, 11 Jan 2006 19:41:13 -0200 V4L/DVB (3344c): Pci probing for stradis driver - Pci probing functions added, some functions were rewritten. - Use PCI_DEVICE macro. - dev_ used for printing when pci_dev available. Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit d4437d3fada351d7f40bcc48a62c12b92e2ad9d8 tree 8e61010ddc3a88d6a347bba66e1b79810281f66d parent 7408187d223f63d46a13b6a35b8f96b032c2f623 author Arthur Othieno Wed, 11 Jan 2006 19:41:04 -0200 committer Mauro Carvalho Chehab Wed, 11 Jan 2006 19:41:04 -0200 V4L/DVB (3344b): don't ignore return from i2c_add_driver() for tuner-3036 The call to i2c_add_driver() may actually fail, but tuner-3036 ignores this and always returns 0, regardless. Fix it up so it returns what i2c_add_driver() does, instead. Signed-off-by: Arthur Othieno Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 7408187d223f63d46a13b6a35b8f96b032c2f623 tree 425a459f760295de488f57e3f97b034aaa76a78d parent 0b3af1b6df82cfdb54ae294ed860263011fa0408 author Panagiotis Issaris Wed, 11 Jan 2006 19:40:56 -0200 committer Mauro Carvalho Chehab Wed, 11 Jan 2006 19:40:56 -0200 V4L/DVB (3344a): Conversions from kmalloc+memset to k(z|c)alloc Conversions from kmalloc+memset to k(z|c)alloc. Signed-off-by: Panagiotis Issaris Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab commit 0b3af1b6df82cfdb54ae294ed860263011fa0408 tree fc743dcf3dd0074fe164546c7678ddb64924267f parent 6f44725986df6959058b4a0fc35dd215ef16f24a author Ricardo Cerqueira Wed, 11 Jan 2006 19:40:45 -0200 committer Mauro Carvalho Chehab Wed, 11 Jan 2006 19:40:45 -0200 V4L/DVB (3344): Enable microtune for Pinnacle 300i boards - The Pinnacle 300i (like the PCTV Stereo) needs tda9887 port2 set to 1 for the tuner to work Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit 6f44725986df6959058b4a0fc35dd215ef16f24a tree ece86fc5e25914057a81286d92c58ce67ea42d28 parent ca08ca01fdf0c944a04d35c2dc05dd3498f6c80e author Michael Krufky Wed, 11 Jan 2006 19:40:33 -0200 committer Mauro Carvalho Chehab Wed, 11 Jan 2006 19:40:33 -0200 V4L/DVB (3343): Add support for DViCO FusionHDTV DVB-T USB devices - Add support for DViCO FusionHDTV DVB-T USB devices (Thomson dtt7579 and LG z201 based) Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit ca08ca01fdf0c944a04d35c2dc05dd3498f6c80e tree 16867bf2c98ae6c64c10cd9c940dc0fc2e8b143e parent bc28636ad37717c53d3247964164cf7ca1aff9d7 author Michael Krufky Wed, 11 Jan 2006 19:40:25 -0200 committer Mauro Carvalho Chehab Wed, 11 Jan 2006 19:40:25 -0200 V4L/DVB (3342): More whitespace cleanup in bttv-cards.c - More whitespace cleanup in bttv-cards.c Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit bc28636ad37717c53d3247964164cf7ca1aff9d7 tree ce82aefa1d01d4469ab1829d1e520c657d98f6f2 parent 2d05ae6b5b77f063aa0f82cf0570f3e4b80b367c author Michael Krufky Wed, 11 Jan 2006 19:40:17 -0200 committer Mauro Carvalho Chehab Wed, 11 Jan 2006 19:40:17 -0200 V4L/DVB (3341): whitespace cleanup: insert missing space before curly brackets - whitespace cleanup: insert missing space before curly brackets Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 2d05ae6b5b77f063aa0f82cf0570f3e4b80b367c tree 16c12212c57ae7def1c4b2bfe7acd4ea189b4343 parent 30367bfda384ccb96c0fe35aaa001c7624e9fd01 author Julian Calaby Wed, 11 Jan 2006 19:40:09 -0200 committer Mauro Carvalho Chehab Wed, 11 Jan 2006 19:40:09 -0200 V4L/DVB (3340): Add bttv card MagicTV (rebranded MachTV) - Add bttv card MagicTV (rebranded MachTV) Signed-off-by: Julian Calaby Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 30367bfda384ccb96c0fe35aaa001c7624e9fd01 tree 1b511b9cedb4d825b20c7edc3e5f56ad6dcf811e parent a4fc7ab1d065a9dd89ed0e74439ef87d4a16e980 author Chris Pascoe Wed, 11 Jan 2006 19:40:01 -0200 committer Mauro Carvalho Chehab Wed, 11 Jan 2006 19:40:01 -0200 V4L/DVB (3339): Activate remote control on HVR1100 - Add a missing case which was preventing the operation of the HVR1100 remote. Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab commit 78bfe0b5b67fe126ed98608e42e42fb6ed9aabd4 tree ec595bf181906edbff10b93170b4b814fab60ad7 parent 97460df37ea3335ca11562568932c9f9facfecdb author Michael S. Tsirkin Wed, 11 Jan 2006 11:47:34 -0800 committer Roland Dreier Wed, 11 Jan 2006 11:47:34 -0800 IPoIB: Take dev->xmit_lock around mc_list accesses dev->mc_list accesses must be protected by dev->xmit_lock. Found by Eli Cohen . Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 7e4e574c391cdeef516411eb698ac6955f01d673 tree e9f3b05c464b82be608cef1a90688dd3719e1537 parent a4fc7ab1d065a9dd89ed0e74439ef87d4a16e980 parent 97b1b999748d3cde6a3f381e0839e0f1082323e6 author Linus Torvalds Wed, 11 Jan 2006 08:16:57 -0800 committer Linus Torvalds Wed, 11 Jan 2006 08:16:57 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge commit a4fc7ab1d065a9dd89ed0e74439ef87d4a16e980 tree 6312597ad183ee45e8769b1bc5b0035bfa681d64 parent a8b9ee7396ccc8db3bdb4108993556acbe2d3527 author David Woodhouse Wed, 11 Jan 2006 14:41:26 +0000 committer Linus Torvalds Wed, 11 Jan 2006 08:14:16 -0800 [PATCH] fix/simplify mutex debugging code Let's switch mutex_debug_check_no_locks_freed() to take (addr, len) as arguments instead, since all its callers were just calculating the 'to' address for themselves anyway... (and sometimes doing so badly). Signed-off-by: David Woodhouse Acked-by: Ingo Molnar Signed-off-by: Linus Torvalds commit aab8df141fdc4c4c9587521a24b6865390eaeb79 tree 073c4a8a7bf0ea2d72c73eba48fcd4f7e7e23b03 parent 8d2ea6258123d7a92a1f6ec638a8cad4a0604c43 author Dave Airlie Wed, 11 Jan 2006 22:32:51 +1100 committer Dave Airlie Wed, 11 Jan 2006 22:32:51 +1100 drm: cleanup properly on drm module unload Cleanup multiple cards properly Signed-off-by: Dave Airlie commit 6ab65429b4871c42bfd0013f7f5e49d40c0642cd tree d70b4de865038dffafb9ae5559dba02a01b9d0a4 parent ca5ccbf98d792d8727e893765cc2df479ba399f2 author Nathan Scott Wed, 11 Jan 2006 21:03:28 +1100 committer Nathan Scott Wed, 11 Jan 2006 21:03:28 +1100 [XFS] Fix compiler warnings from older gcc versions wrt printfalike arguments. SGI-PV: 907752 SGI-Modid: xfs-linux-melb:xfs-kern:24901a Signed-off-by: Nathan Scott commit ca5ccbf98d792d8727e893765cc2df479ba399f2 tree 5e325ee9d845f9a84bdfa8009866e51013edfa3a parent 1259845d3f3e1d1cf96b2a78f3aec824b9d1e109 author Nathan Scott Wed, 11 Jan 2006 21:03:04 +1100 committer Nathan Scott Wed, 11 Jan 2006 21:03:04 +1100 [XFS] Fix some build fallout from atime changes. SGI-PV: 946679 SGI-Modid: xfs-linux-melb:xfs-kern:24899a Signed-off-by: Nathan Scott commit 1259845d3f3e1d1cf96b2a78f3aec824b9d1e109 tree 5308cde48e134138ac60d994f3753673329b4f84 parent 71df099dc3f9cd17e8564eb647d7c1fb2ee83e2d author Tim Shimmin Wed, 11 Jan 2006 21:02:47 +1100 committer Nathan Scott Wed, 11 Jan 2006 21:02:47 +1100 [XFS] remove XFS_LOG_RES_DEBUG and turn on the res history all the time to get more useful error info on space for trans items SGI-PV: 947110 SGI-Modid: xfs-linux-melb:xfs-kern:24886a Signed-off-by: Tim Shimmin Signed-off-by: Nathan Scott commit 71df099dc3f9cd17e8564eb647d7c1fb2ee83e2d tree cd355dc9b7f89511e27eca3da778a8e52200d7b1 parent 75e17b3caf29b262000dc7348f1be9a7d5403463 author Yingping Lu Wed, 11 Jan 2006 21:02:29 +1100 committer Nathan Scott Wed, 11 Jan 2006 21:02:29 +1100 [XFS] xfssyncd is responsible for flushing inode or device's data by extracting the work from its queue. In addition, this processing also decrement the inode's i_count. If there are any remaining works in queue before this process terminates, we have unbalanced increment and decrement of i_count. Thus it can cause assertion failure of vn_count. The fix allows xyssyncd to process any remaining work before it is shutdown. SGI-PV: 945935 SGI-Modid: xfs-linux-melb:xfs-kern:203970a Signed-off-by: Yingping Lu Signed-off-by: Nathan Scott commit 75e17b3caf29b262000dc7348f1be9a7d5403463 tree 4bdf782dd3624fd23832b035ebbdbb4daca7dd94 parent 204ab25f36fbd44a24458c0227cf2629c8caf00d author Christoph Hellwig Wed, 11 Jan 2006 20:58:44 +1100 committer Nathan Scott Wed, 11 Jan 2006 20:58:44 +1100 [XFS] add helper to get xfs_inode from vnode SGI-PV: 947206 SGI-Modid: xfs-linux-melb:xfs-kern:203960a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 204ab25f36fbd44a24458c0227cf2629c8caf00d tree df4121663a00f4a2573444e99a0f89e23c48ffbc parent da7f93e9eec0885317351eb8a20cc550ed48f470 author Nathan Scott Wed, 11 Jan 2006 20:50:22 +1100 committer Nathan Scott Wed, 11 Jan 2006 20:50:22 +1100 [XFS] Fix up offset type inconsistencies and gcc warnings from earlier changes. SGI-PV: 947038 SGI-Modid: xfs-linux-melb:xfs-kern:24875a Signed-off-by: Nathan Scott commit da7f93e9eec0885317351eb8a20cc550ed48f470 tree aadc8493c85eea24287223b129b7331551c1c7c9 parent f5e596bbef3b0fa583c66c5a83dc9737c0fe2610 author Christoph Hellwig Wed, 11 Jan 2006 20:49:57 +1100 committer Nathan Scott Wed, 11 Jan 2006 20:49:57 +1100 [XFS] fix up per-device xfsbufd SGI-PV: 947098 SGI-Modid: xfs-linux-melb:xfs-kern:203831a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit f5e596bbef3b0fa583c66c5a83dc9737c0fe2610 tree 5e6e318574c86865eb87b3eb897c199823b85467 parent 6c4fe19f66a839bce68fcb7b99cdcb0f31c7a59e author Christoph Hellwig Wed, 11 Jan 2006 20:49:42 +1100 committer Nathan Scott Wed, 11 Jan 2006 20:49:42 +1100 [XFS] fix writeback control handling fix a reversed condition on where to trylock and deal with block layer congestion properly. Patch from David Chinner and Christoph Hellwig. SGI-PV: 947118 SGI-Modid: xfs-linux-melb:xfs-kern:203830a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 6c4fe19f66a839bce68fcb7b99cdcb0f31c7a59e tree c3f1bd213af0ccc5dfed6ce68f83f126a03fa48f parent 7336cea8c2737bbaf0296d67782f760828301d56 author Christoph Hellwig Wed, 11 Jan 2006 20:49:28 +1100 committer Nathan Scott Wed, 11 Jan 2006 20:49:28 +1100 [XFS] cluster rewrites We can cluster mapped pages aswell, this improves performances on rewrites since we can reduce the number of allocator calls. SGI-PV: 947118 SGI-Modid: xfs-linux-melb:xfs-kern:203829a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 7336cea8c2737bbaf0296d67782f760828301d56 tree de5dd8666d4968b7f96204a3cdd8f070d3543124 parent d5cb48aaac5bba1721bce3232e6fb022ade2c0b7 author Christoph Hellwig Wed, 11 Jan 2006 20:49:16 +1100 committer Nathan Scott Wed, 11 Jan 2006 20:49:16 +1100 [XFS] pass full 64bit offsets to xfs_add_to_ioend SGI-PV: 947118 SGI-Modid: xfs-linux-melb:xfs-kern:203828a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit d5cb48aaac5bba1721bce3232e6fb022ade2c0b7 tree 39011d4f06e966cf462ebdfd36f41d7e1e35703b parent 9260dc6b2ee011f728bae50edce11022567be096 author Christoph Hellwig Wed, 11 Jan 2006 20:49:02 +1100 committer Nathan Scott Wed, 11 Jan 2006 20:49:02 +1100 [XFS] consolidate some code in xfs_page_state_convert The unmapped buffer case is very similar to delayed and unwritten extends. Reorganize the code to share some code for these cases. SGI-PV: 947118 SGI-Modid: xfs-linux-melb:xfs-kern:203827a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 9260dc6b2ee011f728bae50edce11022567be096 tree e9422f63e7d15077feeaa6cc8e0a6a394e06cb85 parent 1defeac9d4fffa3eabc4fba887e8ff5b1da7f361 author Christoph Hellwig Wed, 11 Jan 2006 20:48:47 +1100 committer Nathan Scott Wed, 11 Jan 2006 20:48:47 +1100 [XFS] various fixes for xfs_convert_page fix various bogusities in handling offets From David Chinner and Christoph Hellwig SGI-PV: 947118 SGI-Modid: xfs-linux-melb:xfs-kern:203826a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 1defeac9d4fffa3eabc4fba887e8ff5b1da7f361 tree 2943a4d8f5fda0dc4e5722af95ced19fe5d4bdb1 parent 10ce444428c2329eb2aaf84850b5c7c09cecc58c author Christoph Hellwig Wed, 11 Jan 2006 20:48:33 +1100 committer Nathan Scott Wed, 11 Jan 2006 20:48:33 +1100 [XFS] clean up the xfs_offset_to_map interface Currently we pass a struct page and a relative offset into that page around, and returns the current xfs_iomap_t if the block at the specified offset fits into it, or a NULL pointer otherwise. This patch passed the full 64bit offset into the inode that all callers have anyway, and changes the return value to a simple boolean. Also the function gets a more descriptive name: xfs_iomap_valid. SGI-PV: 947118 SGI-Modid: xfs-linux-melb:xfs-kern:203825a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 10ce444428c2329eb2aaf84850b5c7c09cecc58c tree e96e409bc47f89ad2c5129b7a39f44b1d5205f9c parent 78539fdfa4c21308e90c596f060df8114483862a author Christoph Hellwig Wed, 11 Jan 2006 20:48:14 +1100 committer Nathan Scott Wed, 11 Jan 2006 20:48:14 +1100 [XFS] use pagevec lookups This reduces the time spend in the radix tree lookups and avoids unessecary look roundtrips. SGI-PV: 947118 SGI-Modid: xfs-linux-melb:xfs-kern:203823a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 8d2ea6258123d7a92a1f6ec638a8cad4a0604c43 tree 8dae80ca8b6bdf4608460c372023a9500ff02b9f parent f8e0f2905bf0a7cb5ef2baaf009f0c26f80c3056 author Dave Airlie Wed, 11 Jan 2006 20:48:09 +1100 committer Dave Airlie Wed, 11 Jan 2006 20:48:09 +1100 drm: fixup drm bufs being just under the EOM If the mapping was just under the end of memory it would fail. Lets DRM start on my PCI card. Signed-off-by: Dave Airlie commit 78539fdfa4c21308e90c596f060df8114483862a tree 475535625cb750317314ac4eda93c4f6fe57d4d9 parent f6d6d4fcd180f8e47bf6b13fc6cce1e6c156d0ea author Christoph Hellwig Wed, 11 Jan 2006 20:47:41 +1100 committer Nathan Scott Wed, 11 Jan 2006 20:47:41 +1100 [XFS] Export pagevec_lookup for use on the XFS page writeout path, for dealing with delayed allocate and unwritten extents (as well). Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 97b1b999748d3cde6a3f381e0839e0f1082323e6 tree e9cd22289aa81e37de511146507fb3a5fff6d066 parent 886c98d78652f78a64cb21516d3b25ffd5c05e94 author Michael Ellerman Wed, 11 Jan 2006 16:41:29 +1100 committer Paul Mackerras Wed, 11 Jan 2006 19:52:05 +1100 [PATCH] powerpc: Don't build crash.c for PPC32 arch/powerpc/kernel/crash.c isn't safe for PPC32 (yet?), so don't build it. Built with CONFIG_KEXEC=y for pmac32_defconfig, pseries_defconfig, and g5_defconfig. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit a8b9ee7396ccc8db3bdb4108993556acbe2d3527 tree e73cf2abc7b2317523d1fd53e4a0aebdec6447ea parent 05f6ece6f37f987e9de643f6f76e8fb5d5b9e014 author David S. Miller Wed, 11 Jan 2006 00:15:16 -0800 committer David S. Miller Wed, 11 Jan 2006 00:15:16 -0800 [MUTEX]: linux/mutex.h needs linux/linkage.h too Signed-off-by: David S. Miller commit 05f6ece6f37f987e9de643f6f76e8fb5d5b9e014 tree 5244e85d0dfb2619b0af4bc80a2c99dd579f79a5 parent 35d138ae22f826f95f0f8d0285947582ccf4508f parent 58b6c58caef7a34eab7ec887288fa495696653e7 author Linus Torvalds Tue, 10 Jan 2006 21:31:24 -0800 committer Linus Torvalds Tue, 10 Jan 2006 21:31:24 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6 commit 35d138ae22f826f95f0f8d0285947582ccf4508f tree 622d0f4bd533ace1c12a8b51ee02afc1e6e663ab parent d274ba2081cce6ff59f94e608a348f20ba1fe775 parent 5bf887f2ff874e2cd881c34bbed974bee2c90808 author Linus Torvalds Tue, 10 Jan 2006 21:29:53 -0800 committer Linus Torvalds Tue, 10 Jan 2006 21:29:53 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 886c98d78652f78a64cb21516d3b25ffd5c05e94 tree 340a1f45ab2725c027d82f7ef9e29f6e6b43a005 parent c38a04b1ba67e488d94ec680a7dddd4e32d6ddfb author Kumar Gala Tue, 10 Jan 2006 22:36:37 -0600 committer Paul Mackerras Wed, 11 Jan 2006 16:28:13 +1100 [PATCH] powerpc: Fix clean_files in arch/powerpc/boot Makefile clean-files was being set twice rather than being appended to. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit c38a04b1ba67e488d94ec680a7dddd4e32d6ddfb tree aeda3dd9801217ffcebb3cb66e1b2731de96e29b parent c9c47b6e27ca49fb0eea6b021b4919cb2467c8e1 author Paul Mackerras Wed, 11 Jan 2006 16:27:21 +1100 committer Paul Mackerras Wed, 11 Jan 2006 16:27:21 +1100 powerpc/32: Fix compile error caused by pud_t/pgt_t confusion PPC32 is still using asm-generic/4level-fixup.h, but asm-powerpc/page.h was defining pud_t and pgd_t. Depending on the order in which files got included, this could result in a compilation error. Tweak the ifdef so that page.h doesn't try to define pud_t on ppc32 (which uses 2-level page tables). Signed-off-by: Paul Mackerras commit d274ba2081cce6ff59f94e608a348f20ba1fe775 tree f6bf49142f727e9d0a8ae2bb38a89a6a4cdcf97a parent 9819d85c210f5953fffc1052060e589d633f20ed author Linus Torvalds Tue, 10 Jan 2006 21:09:19 -0800 committer Linus Torvalds Tue, 10 Jan 2006 21:09:19 -0800 x86: fix "make install" target Removing the dependency on the boot image build was good, but it also meant that the $< expansion by make needed to be done explicitly. Noted by Stephen Hemminger. Signed-off-by: Linus Torvalds commit 5bf887f2ff874e2cd881c34bbed974bee2c90808 tree 0785a763e185a1a7e30b61ebf2f09ea29d74bd2e parent 9819d85c210f5953fffc1052060e589d633f20ed author David S. Miller Tue, 10 Jan 2006 21:02:21 -0800 committer David S. Miller Tue, 10 Jan 2006 21:02:21 -0800 [IPV6]: Fix modular build with netfilter enabled. Also, drop __exit marker from ipv6_netfilter_fini() as this can be invoked from inet6_init() error handling paths. Based upon a report from Stephen Hemminger. Signed-off-by: David S. Miller commit f6d6d4fcd180f8e47bf6b13fc6cce1e6c156d0ea tree 2d4e981bb61f564904f7b7ca1ab69d163c0f69dd parent ce8e922c0e79c8093452ba9a124981332b75706b author Christoph Hellwig Wed, 11 Jan 2006 15:40:13 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:40:13 +1100 [XFS] Initial pass at going directly-to-bio on the buffered IO path. This allows us to submit much larger I/Os instead of sending down lots of small buffer_heads. To do this we need to have a rather complicated I/O submission and completion tracking infrastructure. Part of the latter has been merged already a long time ago for direct I/O support. Part of the problem is that we need to track sub-pagesize regions and for that we still need buffer_heads for the time beeing. Long-term I hope we can move to better data strucutures and/or maybe move this to fs/mpage.c instead of having it in XFS. Original patch from Nathan Scott with various updates from David Chinner and Christoph Hellwig. SGI-PV: 947118 SGI-Modid: xfs-linux-melb:xfs-kern:203822a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit ce8e922c0e79c8093452ba9a124981332b75706b tree 0f681391461d4d6bbccd3bf88a7762cc7daa8852 parent 68bdb6eabcd2869caa795019961a5445a11b5bc1 author Nathan Scott Wed, 11 Jan 2006 15:39:08 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:39:08 +1100 [XFS] Complete the pagebuf -> xfs_buf naming convention transition, finally. SGI-PV: 947038 SGI-Modid: xfs-linux-melb:xfs-kern:24866a Signed-off-by: Nathan Scott commit 68bdb6eabcd2869caa795019961a5445a11b5bc1 tree 5731c3af7454bca3c3d20604085d16545c98f046 parent a6867a6815fa0241848d4620f2dbd2954f4405d7 author Yingping Lu Wed, 11 Jan 2006 15:38:31 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:38:31 +1100 [XFS] Fixed delayed_blks assert failure during umount. The delayed_blks was caused by ENOSPC but not Rreclaimed by xfs_release or xfs_inactive. The fix changed the condition in xfs_release and xfs_inactive to invoke xfs_inactive_free_eofblocks for this special case, changed xfs_inactive_free_eofblocks to clean the delayed blks after eof. It also changed xfs_write to set correct eof when ENOSPC occurs. SGI-PV: 946267 SGI-Modid: xfs-linux-melb:xfs-kern:203788a Signed-off-by: Yingping Lu Signed-off-by: Nathan Scott commit a6867a6815fa0241848d4620f2dbd2954f4405d7 tree 9565d18c86b935c3a099e4a817137372ce81dde1 parent 216d3b2acba469a9bee98a09bb957e012ba7bc25 author David Chinner Wed, 11 Jan 2006 15:37:58 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:37:58 +1100 [XFS] Introduce per-filesystem delwri pagebuf flushing to reduce contention between filesystems and prevent deadlocks between filesystems when a flush dependency exists between them. SGI-PV: 947098 SGI-Modid: xfs-linux-melb:xfs-kern:24844a Signed-off-by: David Chinner Signed-off-by: Nathan Scott commit 216d3b2acba469a9bee98a09bb957e012ba7bc25 tree c63ef07ba2c32bc4dfa4fd0bdccb0765db3dc1b0 parent 794fe2dc65f1ec4acacc388053bb52d32d3a932e author Tim Shimmin Wed, 11 Jan 2006 15:37:38 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:37:38 +1100 [XFS] take out the call to vn_mark_bad() used when acl inherit fails and it needs to back out the inode creation. Tested by xfs_tests/077. SGI-PV: 930841 SGI-Modid: xfs-linux-melb:xfs-kern:24842a Signed-off-by: Tim Shimmin Signed-off-by: Nathan Scott commit 794fe2dc65f1ec4acacc388053bb52d32d3a932e tree 3aecc571134961cdf78fa392b14d02ae84f7f1c4 parent 60a204f096dd67683f3993798e14905ee9828ba5 author Christoph Hellwig Wed, 11 Jan 2006 15:37:17 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:37:17 +1100 [XFS] endianess annotations and tidying for the uuid code SGI-PV: 943272 SGI-Modid: xfs-linux-melb:xfs-kern:203709a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 60a204f096dd67683f3993798e14905ee9828ba5 tree 04774002024bd658807544fdf7ae7c5b1b5a56db parent 0733af213f2859f7228229f3ac053c025f57d0d5 author Nathan Scott Wed, 11 Jan 2006 15:37:00 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:37:00 +1100 [XFS] Fix a thinko when generating a forced shutdown stack trace. SGI-PV: 929558 SGI-Modid: xfs-linux-melb:xfs-kern:203817a Signed-off-by: Nathan Scott commit 0733af213f2859f7228229f3ac053c025f57d0d5 tree a962211c1640d18b5bf49622edcbd07159fd9f71 parent 77a7cce42509461067f49c484aee626f62162fbc author Ryan Hankins Wed, 11 Jan 2006 15:36:44 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:36:44 +1100 [XFS] Add a stack trace in the case of xfs_forced_shutdown. SGI-PV: 929558 SGI-Modid: xfs-linux-melb:xfs-kern:203701a Signed-off-by: Ryan Hankins Signed-off-by: Nathan Scott commit 77a7cce42509461067f49c484aee626f62162fbc tree 063dd02ce6e3c07f4ba37afb131532633937c606 parent 446ada4a03808f128e8f28daa0f103dc69d22d5b author Nathan Scott Wed, 11 Jan 2006 15:35:57 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:35:57 +1100 [XFS] Fix quotaoff logitem for project quota, affects log recovery only. SGI-PV: 946444 SGI-Modid: xfs-linux-melb:xfs-kern:24768a Signed-off-by: Nathan Scott commit c9c47b6e27ca49fb0eea6b021b4919cb2467c8e1 tree a1378c925a55a5239696d33036c1917e37571202 parent 7eb5476f68cd6c6e7a065083e1741a72a666ac6d author Michael Ellerman Wed, 11 Jan 2006 15:27:25 +1100 committer Paul Mackerras Wed, 11 Jan 2006 15:35:46 +1100 [PATCH] powerpc: Remove redundant setting of htab_address iSeries doesn't need to set the htab_address explicitly, htab_initialize() will do it for us later. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 446ada4a03808f128e8f28daa0f103dc69d22d5b tree b761443e2b7da0dfb1741413e2347b8cdf0b437f parent c2cd2550603d847b709035c4c6b666adf560d7b8 author Nathan Scott Wed, 11 Jan 2006 15:35:44 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:35:44 +1100 [XFS] Add an XFS callout to security_inode_init_security; SE Linux is not functional with XFS without this change. SGI-PV: 946762 SGI-Modid: xfs-linux-melb:xfs-kern:24766a Signed-off-by: Nathan Scott commit 7eb5476f68cd6c6e7a065083e1741a72a666ac6d tree 83218231b0675fe7746218c235d23c120b7b8846 parent 0e5e39bfd811be4612a23242353b426ac6438e03 author Michael Ellerman Wed, 11 Jan 2006 15:27:24 +1100 committer Paul Mackerras Wed, 11 Jan 2006 15:35:40 +1100 [PATCH] powerpc: Add ibm,pft-size to iSeries device tree To make iSeries just a teensy bit less special, create ibm,pft-size properties in the iSeries device tree. We can then rely on htab_dt_scan_pftsize() to set ppc64_pft_size for us. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 0e5e39bfd811be4612a23242353b426ac6438e03 tree 28ce0b1da565334ee011032ad06470cfdc88696f parent 08264cbc9f4ded253e063ed4a804226b195e067c author Kumar Gala Tue, 10 Jan 2006 22:12:23 -0600 committer Paul Mackerras Wed, 11 Jan 2006 15:35:35 +1100 [PATCH] powerpc: Add some missing .gitignore's ignore generated files under arch/powerpc Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit c2cd2550603d847b709035c4c6b666adf560d7b8 tree 98c481f98dd3cef56e2f07dbc20079396a471ca4 parent 42fe2b1f7fe788ed5304a7bfa0a0b0db81bc03a8 author Nathan Scott Wed, 11 Jan 2006 15:35:32 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:35:32 +1100 [XFS] Fix v2 log bufsize reporting in /proc/mounts. SGI-PV: 946760 SGI-Modid: xfs-linux-melb:xfs-kern:24765a Signed-off-by: Nathan Scott commit 08264cbc9f4ded253e063ed4a804226b195e067c tree b97359a4f12887c5226994068379aafe03b63044 parent 7f52eb009306b8047031eaf64169a7ce437a26e7 author Kumar Gala Tue, 10 Jan 2006 21:43:56 -0600 committer Paul Mackerras Wed, 11 Jan 2006 15:35:29 +1100 [PATCH] powerpc: Updated Kconfig and Makefiles for 83xx support Updated Kconfig & Makefiles in prep for adding support for the Freescale MPC83xx family of processors to arch/powerpc. Moved around some config options that are more globally applicable to other PowerPC processors. Added a temporary config option (83xx) to match existing arch/ppc support for the MPC83xx line. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 42fe2b1f7fe788ed5304a7bfa0a0b0db81bc03a8 tree bbf454c788e4370faf569fdf51893529b3f71ab3 parent dd954c69d189cd91571b42d3f926e70351395dc3 author Christoph Hellwig Wed, 11 Jan 2006 15:35:17 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:35:17 +1100 [XFS] fix, speedup and simplify atime handling let the VFS handle atime updates and only sync back to the xfs inode when nessecary SGI-PV: 946679 SGI-Modid: xfs-linux-melb:xfs-kern:203362a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 7f52eb009306b8047031eaf64169a7ce437a26e7 tree 35f7aed7a9305b8c5e6236b71a80cce7670589d5 parent f6cc82fc0b2b6be9ab25f0bfc285e6358db3597a author Geoff Levand Tue, 10 Jan 2006 19:47:37 -0800 committer Paul Mackerras Wed, 11 Jan 2006 15:35:11 +1100 [PATCH] spufs: Suspend/restore MFC DMA operations at SPU context switch. The SPE Book IV indicates that MFC DMA operations must be suspended and restored on SPU context switch (in Step 8). This patch adds that operation, which is missing from the current spufs implementation. Signed-off-by: Masato Noguchi Signed-off-by: Geoff Levand Acked-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit dd954c69d189cd91571b42d3f926e70351395dc3 tree 2268d30490b9ea288b73afe56afa2e6eae50db5e parent 24ee80882deb5777aeee6f75a05f178ab8fbfa69 author Christoph Hellwig Wed, 11 Jan 2006 15:34:50 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:34:50 +1100 [XFS] turn xlog helper macros into real functions SGI-PV: 946205 SGI-Modid: xfs-linux-melb:xfs-kern:203360a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 24ee80882deb5777aeee6f75a05f178ab8fbfa69 tree e13924d483483dd2f380e7d4eb909447f66d2d1f parent 65be60541909c7bf8c384cde3502c18cc362939e author Eric Sandeen Wed, 11 Jan 2006 15:34:32 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:34:32 +1100 [XFS] remove unused vars, args, & unneeded intermediate vars from zeroing code SGI-PV: 946641 SGI-Modid: xfs-linux-melb:xfs-kern:203328a Signed-off-by: Eric Sandeen Signed-off-by: Nathan Scott commit 65be60541909c7bf8c384cde3502c18cc362939e tree 6a8edc80147e7e444c74eb15d122dfb325013b49 parent 0d14824c0774d050cb4232e1e470e5fc9e32e587 author Eric Sandeen Wed, 11 Jan 2006 15:34:19 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:34:19 +1100 [XFS] remove unused "readonly" arg from xlog_find_tail and xlog_recover SGI-PV: 946611 SGI-Modid: xfs-linux-melb:xfs-kern:203307a Signed-off-by: Eric Sandeen Signed-off-by: Nathan Scott commit f6cc82fc0b2b6be9ab25f0bfc285e6358db3597a tree 2623b1345929ec026a44c597cc7aabecf4e92880 parent 6bac953fa424519f784ba2589fefd8f040ce54f0 author Haren Myneni Tue, 10 Jan 2006 19:25:25 -0800 committer Paul Mackerras Wed, 11 Jan 2006 15:33:55 +1100 [PATCH] powerpc: fix for compile problem in kdump code when SMP disabled This patch fixes the compilation error (shown below) when CONFIG_SMP=n. arch/powerpc/kernel/crash.c: In function `crash_kexec_prepare_cpus': arch/powerpc/kernel/crash.c:236: error: implicit declaration of function `smp_release_cpus' Signed-off-by: Haren Myneni Signed-off-by: Paul Mackerras commit 0d14824c0774d050cb4232e1e470e5fc9e32e587 tree 5bb89912861e406b87a19bd0bface95fd0e7df69 parent ee2a4f7caa4a72cdf2329081a1f7eb9939df3aab author Nathan Scott Wed, 11 Jan 2006 15:33:51 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:33:51 +1100 [XFS] Ensure max diosize reported is aligned with minimum diosize. SGI-PV: 910890 SGI-Modid: xfs-linux-melb:xfs-kern:24689a Signed-off-by: Nathan Scott commit ee2a4f7caa4a72cdf2329081a1f7eb9939df3aab tree c4061472d5b83877254e10d39e3f9628bd883833 parent 3ddb8fa98ccce6c3b2afd2f4b95a10b3bb60d1f0 author Nathan Scott Wed, 11 Jan 2006 15:33:36 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:33:36 +1100 [XFS] Fix an intermittent pquota panic caused by dodgey quota flags to an umount dquot flush call. SGI-PV: 946444 SGI-Modid: xfs-linux-melb:xfs-kern:24680a Signed-off-by: Nathan Scott commit 3ddb8fa98ccce6c3b2afd2f4b95a10b3bb60d1f0 tree b0dcd39ac52092cb66c022b2ec86bee27dda6a64 parent a255a7456d4051e804fd6efff9a7c0f43483a7fc author Nathan Scott Wed, 11 Jan 2006 15:33:02 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:33:02 +1100 [XFS] Sort out cosmetic differences between user and kernel copies of some sources. SGI-PV: 907752 SGI-Modid: xfs-linux-melb:xfs-kern:24659a Signed-off-by: Nathan Scott commit a255a7456d4051e804fd6efff9a7c0f43483a7fc tree 623c53e2dc77d61a249e257e9fee5f569857031a parent b04ed21a1fdbfe48ee0738519a4d1af09589dfea author Nathan Scott Wed, 11 Jan 2006 15:32:30 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:32:30 +1100 [XFS] Make d_maxiosz report the real maximum (INT_MAX) so we dont incorrectly limit people using this interface to size IO buffers. SGI-PV: 910890 SGI-Modid: xfs-linux-melb:xfs-kern:24657a Signed-off-by: Nathan Scott commit b04ed21a1fdbfe48ee0738519a4d1af09589dfea tree 2023988bb96a9258a3fe52b73782bd7d76204057 parent 13059ff04c5071c3f6f8a4bd9e51631849f63fa4 author Nathan Scott Wed, 11 Jan 2006 15:32:17 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:32:17 +1100 [XFS] Disable write barriers for now till intermittent IO errors are understood. SGI-PV: 912426 SGI-Modid: xfs-linux-melb:xfs-kern:202962a Signed-off-by: Nathan Scott commit 13059ff04c5071c3f6f8a4bd9e51631849f63fa4 tree 5a038d985cefde848e52c7bc232a71df454f3e0e parent e13a73f02595c564e423bda5742fb8df4ebca455 author Nathan Scott Wed, 11 Jan 2006 15:32:01 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:32:01 +1100 [XFS] Reverse the sense of COMPAT_ATTR and ATTR2, keeps it simple and consistent. SGI-PV: 941645 SGI-Modid: xfs-linux-melb:xfs-kern:202961a Signed-off-by: Nathan Scott commit e13a73f02595c564e423bda5742fb8df4ebca455 tree 0bd3dfd259bb21266332faa255f6d64001915fd1 parent 1df84c930a5101223da016f256b46b192dbf2b30 author Christoph Hellwig Wed, 11 Jan 2006 15:30:08 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:30:08 +1100 [XFS] Write log dummy record when freezing filesystem SGI-PV: 945483 SGI-Modid: xfs-linux-melb:xfs-kern:202638a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 6bac953fa424519f784ba2589fefd8f040ce54f0 tree cfa0543ddc9873fc51348b5ad46e2b43b6f9bec9 parent 415c2e083a85f0daf6cbb4988691ac3ea9279509 author Paul Mackerras Wed, 11 Jan 2006 15:30:07 +1100 committer Paul Mackerras Wed, 11 Jan 2006 15:30:07 +1100 powerpc: Fix compile error when CONFIG_PROC_VMCORE is not defined We were getting elfcorehdr_addr undefined in this case. Signed-off-by: Paul Mackerras commit 1df84c930a5101223da016f256b46b192dbf2b30 tree 306dd22b0df37f70770f3f6a1f991abfcb1c239d parent 1661dc8e7a2c6aeb8f2fb6a8197909c95c220a71 author Christoph Hellwig Wed, 11 Jan 2006 15:29:52 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:29:52 +1100 [XFS] Mark some lookup tables const. Thanks to Arjan van de Ven for spotting these. SGI-PV: 946028 SGI-Modid: xfs-linux-melb:xfs-kern:202617a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 1661dc8e7a2c6aeb8f2fb6a8197909c95c220a71 tree 925c8d4f009a5d080fc5885619c619d9c1e4da71 parent c7d437da3dda0ac7199c320b6a48c04ec37a614d author Yingping Lu Wed, 11 Jan 2006 15:29:39 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:29:39 +1100 [XFS] Fixed an assertion failure in xfs_reclaim caused by delayed block. The assertion failure came from XFS QA41. The fix is done by enabling truncate for delayed block in xfs_inactive. SGI-PV: 945412 SGI-Modid: xfs-linux-melb:xfs-kern:202521a Signed-off-by: Yingping Lu Signed-off-by: Nathan Scott commit c7d437da3dda0ac7199c320b6a48c04ec37a614d tree 4dcf74947a1cca8f7553d668600df7d8db4aaaa8 parent 70a061f1fdbfa4805233a113868d059e9614731a author Christoph Hellwig Wed, 11 Jan 2006 15:28:56 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:28:56 +1100 [XFS] do barrier checks earlier. quota initialization may write to the filesystem SGI-PV: 912426 SGI-Modid: xfs-linux-melb:xfs-kern:202355a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 70a061f1fdbfa4805233a113868d059e9614731a tree a69839c15152b4614ab34e8eed96b068d1b36b7a parent dd9f438e32900d67def49fa1b8961b3e19b6fefc author Nathan Scott Wed, 11 Jan 2006 15:28:45 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:28:45 +1100 [XFS] Fix typo from when enabling write barriers by default, flags botch in showargs. SGI-PV: 912426 SGI-Modid: xfs-linux-melb:xfs-kern:24383a Signed-off-by: Nathan Scott commit dd9f438e32900d67def49fa1b8961b3e19b6fefc tree a0a51110a13445f3a27b72303e36ef6ef48db0eb parent 061f7209bdfb0193b306f88b4ff36b2574b001d3 author Nathan Scott Wed, 11 Jan 2006 15:28:28 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:28:28 +1100 [XFS] Implement the di_extsize allocator hint for non-realtime files as well. Also provides a mechanism for inheriting this property from the parent directory for new files. SGI-PV: 945264 SGI-Modid: xfs-linux-melb:xfs-kern:24367a Signed-off-by: Nathan Scott commit 061f7209bdfb0193b306f88b4ff36b2574b001d3 tree 589ad79019067e1b82006bacf6c10d1d717a46dc parent 4ef19dddbaf2f24e492c18112fd8a04ce116daca author Nathan Scott Wed, 11 Jan 2006 15:27:50 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:27:50 +1100 [XFS] Do not inherit properties for the quota inodes from the root inode. SGI-PV: 945264 SGI-Modid: xfs-linux-melb:xfs-kern:24366a Signed-off-by: Nathan Scott commit 4ef19dddbaf2f24e492c18112fd8a04ce116daca tree 857a14290f682a9a1bc71d9a6b0e20f095c5cc91 parent d3a9b1f9da4ee3e6d284148412097621b1c9e575 author Christoph Hellwig Wed, 11 Jan 2006 15:27:18 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:27:18 +1100 [XFS] enable write barriers by default SGI-PV: 912426 SGI-Modid: xfs-linux-melb:xfs-kern:201981a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit d3a9b1f9da4ee3e6d284148412097621b1c9e575 tree 0de472c3ae18e863aaa0099f2227e2163f71693a parent f60d36690ce11a6a41b89e63b4201fbba3aa0bfb author Christoph Hellwig Wed, 11 Jan 2006 15:23:43 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:23:43 +1100 [XFS] merge xfs_arch.h userspace changes back SGI-PV: 907752 SGI-Modid: xfs-linux-melb:xfs-kern:201882a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit f60d36690ce11a6a41b89e63b4201fbba3aa0bfb tree 88b5457809dc6071ee5d9a89fa98d1d8462e5058 parent 58dc125a66145f45f239cd78db9410062dc0bcd4 author Christoph Hellwig Wed, 11 Jan 2006 15:22:04 +1100 committer Nathan Scott Wed, 11 Jan 2006 15:22:04 +1100 [XFS] remove over-eager assert SGI-PV: 941804 SGI-Modid: xfs-linux-melb:xfs-kern:201702a Signed-off-by: Christoph Hellwig Signed-off-by: Nathan Scott commit 415c2e083a85f0daf6cbb4988691ac3ea9279509 tree a5b81eb3626ac8ae2bd0834b617e5cc4e26f63cf parent 7a0268fa1a3613f2c526a9b3058701b277f6abe1 author Stephen Rothwell Wed, 11 Jan 2006 13:51:22 +1100 committer Paul Mackerras Wed, 11 Jan 2006 14:49:52 +1100 [PATCH] powerpc: fix up iSeries console after TTY layer buffering revamp Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 7a0268fa1a3613f2c526a9b3058701b277f6abe1 tree 738bf94d9bb5d68d260805dbc1898ec40ebc20e5 parent 193cac99f6d8604aca71e5a966a8cd1dfb84819d author Anton Blanchard Wed, 11 Jan 2006 13:16:44 +1100 committer Paul Mackerras Wed, 11 Jan 2006 14:49:45 +1100 [PATCH] powerpc/64: per cpu data optimisations The current ppc64 per cpu data implementation is quite slow. eg: lhz 11,18(13) /* smp_processor_id() */ ld 9,.LC63-.LCTOC1(30) /* per_cpu__variable_name */ ld 8,.LC61-.LCTOC1(30) /* __per_cpu_offset */ sldi 11,11,3 /* form index into __per_cpu_offset */ mr 10,9 ldx 9,11,8 /* __per_cpu_offset[smp_processor_id()] */ ldx 0,10,9 /* load per cpu data */ 5 loads for something that is supposed to be fast, pretty awful. One reason for the large number of loads is that we have to synthesize 2 64bit constants (per_cpu__variable_name and __per_cpu_offset). By putting __per_cpu_offset into the paca we can avoid the 2 loads associated with it: ld 11,56(13) /* paca->data_offset */ ld 9,.LC59-.LCTOC1(30) /* per_cpu__variable_name */ ldx 0,9,11 /* load per cpu data Longer term we can should be able to do even better than 3 loads. If per_cpu__variable_name wasnt a 64bit constant and paca->data_offset was in a register we could cut it down to one load. A suggestion from Rusty is to use gcc's __thread extension here. In order to do this we would need to free up r13 (the __thread register and where the paca currently is). So far Ive had a few unsuccessful attempts at doing that :) The patch also allocates per cpu memory node local on NUMA machines. This patch from Rusty has been sitting in my queue _forever_ but stalled when I hit the compiler bug. Sorry about that. Finally I also only allocate per cpu data for possible cpus, which comes straight out of the x86-64 port. On a pseries kernel (with NR_CPUS == 128) and 4 possible cpus we see some nice gains: total used free shared buffers cached Mem: 4012228 212860 3799368 0 0 162424 total used free shared buffers cached Mem: 4016200 212984 3803216 0 0 162424 A saving of 3.75MB. Quite nice for smaller machines. Note: we now have to be careful of per cpu users that touch data for !possible cpus. At this stage it might be worth making the NUMA and possible cpu optimisations generic, but per cpu init is done so early we have to be careful that all architectures have their possible map setup correctly. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 193cac99f6d8604aca71e5a966a8cd1dfb84819d tree 1e2cca9d04fd495b0b7f538ab19fca6e4328c759 parent 296167ae1799815b9ed2d135a847436502f2ee91 author Michael Neuling Wed, 11 Jan 2006 12:08:56 +1100 committer Paul Mackerras Wed, 11 Jan 2006 14:49:24 +1100 [PATCH] powerpc: parallel port init fix This stops parport from accessing nonexistent parallel ports. Signed-off-by: Michael Neuling Signed-off-by: Paul Mackerras commit 296167ae1799815b9ed2d135a847436502f2ee91 tree 5e9496d0a60e10a021c12117ec6bc8d513f39463 parent bf6a7112bda99aadd6675526423a96be6b356a3d author Michael Ellerman Wed, 11 Jan 2006 11:54:09 +1100 committer Paul Mackerras Wed, 11 Jan 2006 14:48:26 +1100 [PATCH] powerpc: Make early debugging configurable via Kconfig This patch adds Kconfig entries to control the early debugging options, currently in setup_64.c. Doing this via Kconfig rather than #defines means you can have one source tree, which is buildable for multiple platforms - and you can enable the correct early debug option for each platform via .config. I made udbg_early_init() a static inline because otherwise GCC is to daft to optimise it away when debugging is off. Now that we have udbg_init_rtas() we can make call_rtas_display_status* static. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit bf6a7112bda99aadd6675526423a96be6b356a3d tree e3a0e144ac933e7f35d6fa5f95bc0e0fb0ba6309 parent f481f1edee77b3d623457685add1c6b507c25d6f author Michael Ellerman Wed, 11 Jan 2006 11:54:08 +1100 committer Paul Mackerras Wed, 11 Jan 2006 14:48:13 +1100 [PATCH] powerpc: Early debugging support for iSeries Connect iSeries up to the standard early debugging infrastructure. To actually use this you need to enable the iSeries early debugging in setup_64.c. Then after the messages are logged hit Ctrl-x Ctrl-x on your console to dump the Hypervisor console buffer. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit f481f1edee77b3d623457685add1c6b507c25d6f tree 513519a8eb511ecdd4aebd16588f3d98da880166 parent af9deabeb0298559227fd9b481d33aefcb15ca54 author Olaf Hering Tue, 10 Jan 2006 22:31:53 +0100 committer Paul Mackerras Wed, 11 Jan 2006 14:48:02 +1100 [PATCH] powerpc: remove remaining crash_notes variable from machine_kexec.c remove remaining crash_notes definition to fix compile error /dev/shm/linux-2.6/arch/powerpc/kernel/machine_kexec.c:21: error: conflicting types for `crash_notes' /dev/shm/linux-2.6/include/linux/kexec.h:129: error: previous declaration of `crash_notes' Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras commit af9deabeb0298559227fd9b481d33aefcb15ca54 tree 413ade0271ccf598efb64b6f6d9c928bb80fa55c parent ad2b2426bb8dce97827182946e33e7f7ff0afbce author linas Tue, 10 Jan 2006 15:18:16 -0600 committer Paul Mackerras Wed, 11 Jan 2006 14:47:30 +1100 [PATCH] PCI Hotplug/powerpc: module build break The RPAPHP hoplug driver will not build as a module, because it calls on a pcibios routine which is not exported. This exports the symbol. Problem reported by Olaf Hering Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit ad2b2426bb8dce97827182946e33e7f7ff0afbce tree 41b2a82894b9c962cb2297a09ce1dced5c74d3ad parent 02706647a49011ae1e7b4eca33e835d1681b094e author Olaf Hering Tue, 10 Jan 2006 21:57:40 +0100 committer Paul Mackerras Wed, 11 Jan 2006 14:47:13 +1100 [PATCH] enable the RTC driver in ppc64_defconfig Enable the RTC driver. Signed-off-by: Olaf Hering Signed-off-by: Paul Mackerras commit 9819d85c210f5953fffc1052060e589d633f20ed tree c1774c385d20c05fc0a018718b002981e864cd53 parent 7da942e5bc889bc970554876a8c03d7e2af9923d author Linus Torvalds Tue, 10 Jan 2006 19:35:19 -0800 committer Linus Torvalds Tue, 10 Jan 2006 19:35:19 -0800 Fix net/core/wireless.c link failure It needs for compare_ether_addr() commit 58b6c58caef7a34eab7ec887288fa495696653e7 tree c9ac061ae8b7b9d7f6fa410ce2cc33f369ddc8ad parent f45adcf977ac3c5512c17fd97b073bda99c81232 author Matthew Wilcox Tue, 10 Jan 2006 20:48:07 -0500 committer Kyle McMartin Tue, 10 Jan 2006 21:53:19 -0500 [PARISC] Use STABS_DEBUG macro from vmlinux.lds.h Cleanup vmlinux.lds.S by using STABS_DEBUG macro from vmlinux.lds.h instead of repeating the sections. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit f45adcf977ac3c5512c17fd97b073bda99c81232 tree b6dedae336721d6f55836b17b27115ca66874352 parent 4d62ce5d2a85976a2e6f2732980e59b21b2aa8d2 author Matthew Wilcox Tue, 10 Jan 2006 20:48:06 -0500 committer Kyle McMartin Tue, 10 Jan 2006 21:53:14 -0500 [PARISC] Fix Dino reporting on J2240 Fix Dino reporting on J2240. This particular machine thought it had a Cujo. Also add J2240 Dino chip to the hp_hardware_list. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 4d62ce5d2a85976a2e6f2732980e59b21b2aa8d2 tree e5fadeafce6cfc36625f176358c357f4cc5442da parent daaeb6f8d3afdfa58ffeffb7ba168ccbd5969858 author Helge Deller Tue, 10 Jan 2006 20:48:05 -0500 committer Kyle McMartin Tue, 10 Jan 2006 21:53:07 -0500 [PARISC] stifb: Remove obsolete MODULE_PARM() The bpp module parameter has been obsoleted in favour of a setup string, so remove the MODULE_PARM. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit daaeb6f8d3afdfa58ffeffb7ba168ccbd5969858 tree a9d1e2b81df79cee85217563995b1f38e8d66307 parent 5d6d1640a254b27d0f598007313065713c1e3a04 author Helge Deller Tue, 10 Jan 2006 20:48:04 -0500 committer Kyle McMartin Tue, 10 Jan 2006 21:53:00 -0500 [PARISC] stifb: Fix framebuffer console at 32bpp Fix stifb framebuffer console at 32bpp on a HCRX-24 card by properly setting DIRECTCOLOR. Also a few nice cleanups to the code. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit 5d6d1640a254b27d0f598007313065713c1e3a04 tree f63fd9b6cfdac437c404d8cc03a8d8cf18a3ea8c parent 02d79800a221eb4e54d80cbf2026af9edc1f437d author Helge Deller Tue, 10 Jan 2006 20:48:03 -0500 committer Kyle McMartin Tue, 10 Jan 2006 21:52:53 -0500 [PARISC] stifb: use F_EXTEND macro Use the F_EXTEND() macro instead of open coding it with an #ifdef. Provides a nice cleanup. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit 02d79800a221eb4e54d80cbf2026af9edc1f437d tree d0cb719b61cdac3310f3579f07c12cd6c28c7667 parent 4b991da7fec9b87acf86c250332ce15c2811255b author Alexey Dobriyan Tue, 10 Jan 2006 20:48:02 -0500 committer Kyle McMartin Tue, 10 Jan 2006 21:52:45 -0500 [PARISC] Use C99 initializers in asm-parisc/processor.h Cleanup asm-parisc/processor.h to use C99 initializers in INIT_THREAD(). Signed-off-by: Alexey Dobriyan Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 4b991da7fec9b87acf86c250332ce15c2811255b tree e5d048905d82f86dde8182968ce58658c828e460 parent 9b9ff2e16a4609a7ab39b12e67fc56b51c8cd1f4 author Thibaut VARENE Tue, 10 Jan 2006 20:48:01 -0500 committer Kyle McMartin Tue, 10 Jan 2006 21:52:36 -0500 [PARISC] pdc_stable: More robust sysfs error checking pdc_stable 0.10: As mentioned on LKML, pdc_stable wasn't checky enough on the return values of some calls. This patch makes it more robust to errors when registering objects in sysfs. Signed-off-by: Thibaut VARENE Signed-off-by: Kyle McMartin commit 9b9ff2e16a4609a7ab39b12e67fc56b51c8cd1f4 tree 1f0be3d7ba0739d5f526af792c9b02c58185ad07 parent 7c0b67efe9e15fa81cfa332a9a6f6cd5f7941bbc author Grant Grundler Tue, 10 Jan 2006 20:48:00 -0500 committer Kyle McMartin Tue, 10 Jan 2006 21:52:30 -0500 [PARISC] Make PCI_HOST_ADDR and PCI_BUS_ADDR symmetrical Change to asm-parisc/pci.h makes the define of PCI_HOST_ADDR symmetrical with PCI_BUS_ADDR. Also add a comment about PA_VIEW and LMMIO/ELMMIO/GMMIO. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 7c0b67efe9e15fa81cfa332a9a6f6cd5f7941bbc tree 14c3bfcb42e9de2ecfecea30c01622d936fcbdf5 parent 49efdd46eed353027096a765f40dd8af52ece5ae author Guy Martin Tue, 10 Jan 2006 20:47:59 -0500 committer Kyle McMartin Tue, 10 Jan 2006 21:52:25 -0500 [PARISC] Fix parport_gsc by selecting PARPORT_NOT_PC PARPORT_GSC requires selecting PARPORT_NOT_PC in order to work properly. Signed-off-by: Guy Martin Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit 49efdd46eed353027096a765f40dd8af52ece5ae tree 1323c4d264f05980f029f7868581cf18746edbdc parent 5cdb8205e917c09fd1348e4b22e26492e8c45b36 author Stuart Brady Tue, 10 Jan 2006 20:47:58 -0500 committer Kyle McMartin Tue, 10 Jan 2006 21:52:19 -0500 [PARISC] OSS: Fix build of parisc harmony driver OSS Harmony got missed on the conversion of parisc_device.hpa to a struct resource... fix its build. Signed-off-by: Stuart Brady Signed-off-by: Kyle McMartin commit 5cdb8205e917c09fd1348e4b22e26492e8c45b36 tree 0ad6ed7bba30e60dacd827ae6a8c512dfa5bc141 parent 6ca45a24ccb847251f71aec8906746d33e99f33e author Grant Grundler Tue, 10 Jan 2006 20:47:57 -0500 committer Kyle McMartin Tue, 10 Jan 2006 21:52:11 -0500 [PARISC] Fix BLK_BOUNCE_HIGH on parisc by initializing max_low_pfn max_low_pfn was not being set in arch/parisc/mm/init.c, causing severe problems whenever anything tried to use BLK_BOUNCE_HIGH. Set it to max_pfn like other similar architectures do. Signed-off-by: Grant Grundler Signed-off-by: Kyle McMartin commit 6ca45a24ccb847251f71aec8906746d33e99f33e tree 5e35352b6db91aa817018e3a6cacbd385267fed8 parent 110957f0e521c8d14f97bbe955af2fa17bb720bf author Grant Grundler Tue, 10 Jan 2006 20:47:56 -0500 committer Kyle McMartin Tue, 10 Jan 2006 21:52:04 -0500 [PARISC] Truncate overlapping PAT PDC reported ranges Deal with overlapping LBA MMIO resources, rp3440 PDC BUG: PDC reports lmmio range for the last rope that overlaps with the CPU HPA. Console output was: ... Found devices: 1. Storm Peak Fast at 0xfffffffffe798000 [152] { 0, 0x0, 0x889, 0x00004 } 2. Storm Peak Fast at 0xfffffffffe799000 [153] { 0, 0x0, 0x889, 0x00004 } ... FAILED: lba_fixup_bus() request for lmmio_space [fffffffff0000000/fffffffffecffffe] Output is now: LBA: Truncating lmmio_space [fffffffff0000000/fffffffffecffffe] to [fffffffff0000000,fffffffffe797fff] My only concern with this patch is how C8000 (PAT PDC) will report elmmio ranges when a gfx card is installed. I'll have to test this another day. Signed-off-by: Grant Grundler Signed-off-by: James Bottomley Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 110957f0e521c8d14f97bbe955af2fa17bb720bf tree 569ba668cfe6731ca7ca2e3fbd2ce03a20d225ce parent e8b736c860dd93ba26b391abc91891e03ca99858 author Alexey Dobriyan Tue, 10 Jan 2006 20:47:56 -0500 committer Kyle McMartin Tue, 10 Jan 2006 21:51:57 -0500 [PARISC] Add __iomem to __raw_check_addr() Add __iomem to __raw_check_addr(), which nukes ~13809 sparse warnings on allmodconfig. Signed-off-by: Alexey Dobriyan Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit e8b736c860dd93ba26b391abc91891e03ca99858 tree 31836892f93fca17999f2d808f16651b1f769e5e parent 4d64c9f58e618b1bdbc91cb071e6c8d90f43d620 author Helge Deller Tue, 10 Jan 2006 20:47:55 -0500 committer Kyle McMartin Tue, 10 Jan 2006 21:51:51 -0500 [PARISC] Add some defines for HugeTLB pages Define some constants for HugeTLB pages, not that parisc-linux supports it yet. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit 4d64c9f58e618b1bdbc91cb071e6c8d90f43d620 tree cdfd90e3328934260227207cdcb2904218524a6c parent a01c8cb126cb5f5a592f01b08ff8859508c75ba1 author Helge Deller Tue, 10 Jan 2006 20:47:54 -0500 committer Kyle McMartin Tue, 10 Jan 2006 21:51:39 -0500 [PARISC] Introduce DINO_LOCAL_IRQS and use it for gsc_find_local_irq Fix dino by using DINO_LOCAL_IRQS as the limit for gsc_find_local_irq() instead of the irq itself. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit a01c8cb126cb5f5a592f01b08ff8859508c75ba1 tree b91f00dbfc10ac140818e869bfc8eb383f1c4234 parent e0565a1c83a1045d8fae728056082262e712b201 author Matthew Wilcox Tue, 10 Jan 2006 20:47:53 -0500 committer Kyle McMartin Tue, 10 Jan 2006 21:51:33 -0500 [PARISC] Fix GSC graphics cards with 64MB regions Make knapps work with its 64MB gfx card. I probably just broke another machine in the process, but assuming 64MB when 64MB aligned is probably safer than assuming 32MB all the time. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit e0565a1c83a1045d8fae728056082262e712b201 tree fc8c4cbccd738ca6dbf2861bb4d0feef7c4c5772 parent 45dbe9147dcad2b03f9d1397353d6eed9204da02 author Kyle McMartin Tue, 10 Jan 2006 20:47:52 -0500 committer Kyle McMartin Tue, 10 Jan 2006 21:51:25 -0500 [PARISC] Fix and cleanup ioremap.c to work with 4level-fixup.h Fixup ioremap a bit. It seems to work on 32-bit kernels, but fails miserably on the first ioremapped access on 64-bit kernels. Also, having STI enabled causes it to fail. Probably because we're passing an ioremapped region to a real-mode STI call... Signed-off-by: Kyle McMartin commit 45dbe9147dcad2b03f9d1397353d6eed9204da02 tree 1ac34a547f12be60b7aa8ebcfcf94a468d555461 parent 04d35d7324ed35983189bd396db7874a50bbea43 author Alexey Dobriyan Tue, 10 Jan 2006 20:47:51 -0500 committer Kyle McMartin Tue, 10 Jan 2006 21:51:18 -0500 [PARISC] Add __user annotation to eisa_eeprom.c Annotate eisa_eeprom_read() with __user. Signed-off-by: Alexey Dobriyan Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 04d35d7324ed35983189bd396db7874a50bbea43 tree 2b74d598396673777cd391888a426d5df6da23f5 parent 1b2425e3c79984975a1a3e6fa84512f23d96da9f author Helge Deller Tue, 10 Jan 2006 20:47:50 -0500 committer Kyle McMartin Tue, 10 Jan 2006 21:51:11 -0500 [PARISC] Fix Cirrus 6832 Cardbus on RDI Tadpole PARISC Laptop Fix irq-off-by-one for Cirrus 6832 Cardbus on RDI Tadpole PARISC Laptop. We just DECLARE_PCI_FIXUP_ENABLE as it is unlikely that this will be found in any other parisc system. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit 1b2425e3c79984975a1a3e6fa84512f23d96da9f tree 4a79c6a21700f4eeeb457aee81b9e48ad3a87642 parent 8039de10aae3cd4cf0ef0ccebd58aff0e8810df2 author Matthew Wilcox Tue, 10 Jan 2006 20:47:49 -0500 committer Kyle McMartin Tue, 10 Jan 2006 21:49:21 -0500 [PARISC] Make local cache flushes take a void * Make flush_data_cache_local, flush_instruction_cache_local and flush_tlb_all_local take a void * so they don't have to be cast when using on_each_cpu(). This becomes a problem when on_each_cpu is a macro (as it is in current -mm). Also move the prototype of flush_tlb_all_local into tlbflush.h and remove its declaration from .c files. Signed-off-by: Matthew Wilcox Signed-off-by: Kyle McMartin commit 8039de10aae3cd4cf0ef0ccebd58aff0e8810df2 tree af82e045c8fb3a417f78b49ec43413995b5f3c0f parent 02706647a49011ae1e7b4eca33e835d1681b094e author Helge Deller Tue, 10 Jan 2006 20:35:03 -0500 committer Kyle McMartin Tue, 10 Jan 2006 20:35:03 -0500 [PARISC] Add __read_mostly section for parisc Flag a whole bunch of things as __read_mostly on parisc. Also flag a few branches as unlikely() and cleanup a bit of code. Signed-off-by: Helge Deller Signed-off-by: Kyle McMartin commit 7da942e5bc889bc970554876a8c03d7e2af9923d tree b16248b02e6973dccfe8b89d37916ff76664a506 parent c566c6dbf9cb0eed6e11ec7a4141e7af68ec2316 author Nicolas Kaiser Wed, 11 Jan 2006 02:10:28 +0100 committer Adrian Bunk Wed, 11 Jan 2006 02:10:28 +0100 fs/proc/vmcore.c: header included twice Header included twice. Signed-off-by: Nicolas Kaiser Signed-off-by: Adrian Bunk commit c566c6dbf9cb0eed6e11ec7a4141e7af68ec2316 tree 00f57f4a687460779de8cb1a5450c046ea2b32e7 parent 0563572bf47efdc02a059b923d3c1e589783c019 author Nicolas Kaiser Wed, 11 Jan 2006 02:08:57 +0100 committer Adrian Bunk Wed, 11 Jan 2006 02:08:57 +0100 fs/attr.c: header included twice Header included twice. Signed-off-by: Nicolas Kaiser Signed-off-by: Adrian Bunk commit 0563572bf47efdc02a059b923d3c1e589783c019 tree daf2820ac0466de3f377053fe909807c77ca2235 parent 099f7f0a828bfef7b7047101cf52dc44a4b1d76f author Nicolas Kaiser Wed, 11 Jan 2006 02:07:34 +0100 committer Adrian Bunk Wed, 11 Jan 2006 02:07:34 +0100 asm-powerpc: header included twice Header included twice. Signed-off-by: Nicolas Kaiser Signed-off-by: Adrian Bunk commit 099f7f0a828bfef7b7047101cf52dc44a4b1d76f tree c58383034ed04459aaca054b941f8ead3296dc1d parent b8ab50bc554c2f9149e6d0ae741e05810e581ea5 author Nicolas Kaiser Wed, 11 Jan 2006 02:06:20 +0100 committer Adrian Bunk Wed, 11 Jan 2006 02:06:20 +0100 xfs: header included twice Header included twice. Signed-off-by: Nicolas Kaiser Signed-off-by: Adrian Bunk commit b8ab50bc554c2f9149e6d0ae741e05810e581ea5 tree 3ca928e951bce53b73cfbdab2167e64c59c1c822 parent 864913f30dbd6f75b94045cd20ea0b082996287e author Nicolas Kaiser Wed, 11 Jan 2006 02:04:35 +0100 committer Adrian Bunk Wed, 11 Jan 2006 02:04:35 +0100 netfilter: headers included twice Headers included twice. Signed-off-by: Nicolas Kaiser Signed-off-by: Adrian Bunk commit 864913f30dbd6f75b94045cd20ea0b082996287e tree e0404880bf8d6aacdf8ad26d204f46b3e09f4afc parent b56d55b69c5c787b279819f5c0c2d5f5864d0fc2 author Paul Jackson Wed, 11 Jan 2006 02:01:38 +0100 committer Adrian Bunk Wed, 11 Jan 2006 02:01:38 +0100 cpuset two little doc fixes Two little cpuset documentation fixes. Signed-off-by: Paul Jackson Signed-off-by: Adrian Bunk commit b56d55b69c5c787b279819f5c0c2d5f5864d0fc2 tree 39a6a284aee1ae3998b821e89ff84514940361f8 parent e8d2a424675d9878356397e2ecfc632bbf09aa2c author Adrian Bunk Wed, 11 Jan 2006 02:00:10 +0100 committer Adrian Bunk Wed, 11 Jan 2006 02:00:10 +0100 drivers/net/gianfar_sysfs.c: update email address of Kumar Gala drivers/net/gianfar_sysfs.c still contained the old email address of Kumar Gala. Signed-off-by: Adrian Bunk commit e8d2a424675d9878356397e2ecfc632bbf09aa2c tree fb296aa311ce7656783c9e3aedef56832a7d5b64 parent 74da6cd06225da6971943bea6a33f4cb7f6b76a3 author Jesper Juhl Wed, 11 Jan 2006 01:52:40 +0100 committer Adrian Bunk Wed, 11 Jan 2006 01:52:40 +0100 add loglevel to printk in fs/afs/cmservice.c This is a small patch that adds loglevel to a printk in fs/afs/cmservice.c Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk commit 74da6cd06225da6971943bea6a33f4cb7f6b76a3 tree f9ec384242a21b9e2eced6b4588ddfee65192565 parent e97a31117c0f96be6637f68b4029609bb1f2cc7c author Jesper Juhl Wed, 11 Jan 2006 01:51:26 +0100 committer Adrian Bunk Wed, 11 Jan 2006 01:51:26 +0100 missing printk loglevel and tiny tiny whitespace change in binfmt_elf() Patch adds a mising printk loglevel (I think KERN_WARNING is appropriate here) in fs/binfmt_elf.c, and while I was there I made some tiny tiny tiny adjustments to whitespacing in the neighborhood. Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk commit e97a31117c0f96be6637f68b4029609bb1f2cc7c tree 6754f5be8904bf1e034c7c24fe992304a017c75a parent ffd59daceb7db5f7c54f095c5529cec45222c1f1 author Jesper Juhl Wed, 11 Jan 2006 01:50:28 +0100 committer Adrian Bunk Wed, 11 Jan 2006 01:50:28 +0100 add missing printk loglevel in mm/swapfile.c in mm/swapfile.c a printk() is missing a loglevel. I believe the proper loglevel for this situation is KERN_ERR, so that's what the patch below sets -if you agree, please apply. Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk commit ffd59daceb7db5f7c54f095c5529cec45222c1f1 tree cbc7d359179c6cf66a4f1b0a425670cde67b425a parent 210bb9560cb697c950e803d0fdaf9869efefed54 author Jesper Juhl Wed, 11 Jan 2006 01:48:08 +0100 committer Adrian Bunk Wed, 11 Jan 2006 01:48:08 +0100 Tiny esthetic changes to Documentation/laptop-mode.txt Here's a tiny patch making a few esthetic changes to Documentation/laptop-mode.txt To me this patch makes sense, but feel free to disagree, I don't feel strongly about it at all. It changes a single URL to its strictly correct form (directories should end in /), and it makes the arguments to main in an included example program follow convention and be named argc and argv. Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk commit 210bb9560cb697c950e803d0fdaf9869efefed54 tree 03c39bfb2bc2fe16b1abfcbe6e69599ffb4229a8 parent 7823c7c121839f5a003acdf9c2f1839bfa2f6c43 author Adrian Bunk Wed, 11 Jan 2006 01:43:01 +0100 committer Adrian Bunk Wed, 11 Jan 2006 01:43:01 +0100 MAINTAINERS: sh: update the mailing list Signed-off-by: Adrian Bunk commit 7823c7c121839f5a003acdf9c2f1839bfa2f6c43 tree 11c8b9ef1b714e8314cae2896e95fe8e6db64722 parent 02706647a49011ae1e7b4eca33e835d1681b094e author Luiz Fernando Capitulino Wed, 11 Jan 2006 01:38:27 +0100 committer Adrian Bunk Wed, 11 Jan 2006 01:38:27 +0100 ext2: trivial indentation fix. This memset() line was indented with seven spaces, this patch fixes it to use a tab instead. Yes, very trivial but it's the third time I have to look at this line.. Signed-off-by: Luiz Capitulino Signed-off-by: Adrian Bunk commit 02706647a49011ae1e7b4eca33e835d1681b094e tree efe2f31fdecaf6585944e3b66fca6070d23fd9c4 parent 58dc125a66145f45f239cd78db9410062dc0bcd4 author Ingo Molnar Tue, 10 Jan 2006 23:15:02 +0100 committer Linus Torvalds Tue, 10 Jan 2006 14:27:59 -0800 [PATCH] mutex: trivial whitespace cleanups Signed-off-by: Ingo Molnar Signed-off-by: Linus Torvalds commit 58dc125a66145f45f239cd78db9410062dc0bcd4 tree 90537ddf035e96ca3182f61755ed234de93b449b parent c544bdb1999e04eb10035f1c3262a103859d94b2 parent 8a4c8a96a47c9e2f08156fd9664974df086eed50 author Linus Torvalds Tue, 10 Jan 2006 13:44:43 -0800 committer Linus Torvalds Tue, 10 Jan 2006 13:44:43 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit c544bdb1999e04eb10035f1c3262a103859d94b2 tree d74db41598a405ca35df45553715cf15758127da parent 73165b88ffd29813bf73b331eaf90d3521443236 author Ingo Molnar Tue, 10 Jan 2006 22:10:36 +0100 committer Linus Torvalds Tue, 10 Jan 2006 13:20:47 -0800 [PATCH] mark mutex_lock*() as might_sleep() Mark mutex_lock() and mutex_lock_interruptible() as might_sleep() functions. Signed-off-by: Ingo Molnar Signed-off-by: Linus Torvalds commit 73165b88ffd29813bf73b331eaf90d3521443236 tree 224b510df182c5cba7b64fea6202ed9dd414835e parent 042c904c3e35e95ac911e8a2bf4097099b059e1a author Ingo Molnar Tue, 10 Jan 2006 22:07:44 +0100 committer Linus Torvalds Tue, 10 Jan 2006 13:20:47 -0800 [PATCH] fix i386 mutex fastpath on FRAME_POINTER && !DEBUG_MUTEXES Call the mutex slowpath more conservatively - e.g. FRAME_POINTERS can change the calling convention, in which case a direct branch to the slowpath becomes illegal. Bug found by Hugh Dickins. Signed-off-by: Ingo Molnar Signed-off-by: Linus Torvalds commit 042c904c3e35e95ac911e8a2bf4097099b059e1a tree eba7b4fd0e0296651795bc6cd6c10c720f82da9d parent 49cd619c69d643b30a24029e40eb5364c7a26b2e author Ingo Molnar Tue, 10 Jan 2006 15:48:59 -0500 committer Linus Torvalds Tue, 10 Jan 2006 13:20:47 -0800 [PATCH] remove unnecessary asm/mutex.h from kernel/mutex-debug.c Remove unnecessary (and incorrect) inclusion of asm/mutex.h, pointed out by David Howells. Signed-off-by: Ingo Molnar Signed-off-by: Linus Torvalds commit 8a4c8a96a47c9e2f08156fd9664974df086eed50 tree 2049d3b8c70b1893c740eda04a2e9854a9201f01 parent 65e480ac551a7d95969aa824f77d7160a74cf08d author Bart De Schuymer Tue, 10 Jan 2006 13:12:22 -0800 committer David S. Miller Tue, 10 Jan 2006 13:12:22 -0800 [EBTABLES] Don't match tcp/udp source/destination port for IP fragments Signed-off-by: Bart De Schuymer Signed-off-by: David S. Miller commit 65e480ac551a7d95969aa824f77d7160a74cf08d tree 344bd9bb04c7adb877521bec0bb2ae199520a818 parent 214ad78437544b20c3c0d5c2acb24650ce6e4db8 author Adrian Bunk Tue, 10 Jan 2006 13:11:44 -0800 committer David S. Miller Tue, 10 Jan 2006 13:11:44 -0800 [IRDA] DONGLE_OLD: remove dependency on non-existing symbol Jean-Luc Leger reported this alternative dependency on a non-existing symbol. Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 214ad78437544b20c3c0d5c2acb24650ce6e4db8 tree 3e4b62bb43fb36bc0f1151038c1f458ff8f43fbc parent 79a34648e488a41be92369c72aa9784bd4d741f9 author Adrian Bunk Tue, 10 Jan 2006 13:10:02 -0800 committer David S. Miller Tue, 10 Jan 2006 13:10:02 -0800 [IRDA]: kill drivers/net/irda/sir_core.c EXPORT_SYMBOL's do nowadays belong to the files where the actual functions are. Moving the module_init/module_exit to the file with the actual functions has the advantage of saving a few bytes due to the removal of two functions. Signed-off-by: Adrian Bunk Acked-by: Jean Tourrilhes Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 79a34648e488a41be92369c72aa9784bd4d741f9 tree 53ef45fdffa96f7e21e34d2735a8d27051583ac2 parent 12fe2c588df77d60dfe13b432f95d00f76b8c969 author Jesper Juhl Tue, 10 Jan 2006 13:09:01 -0800 committer David S. Miller Tue, 10 Jan 2006 13:09:01 -0800 [ATM]: Remove unneeded kmalloc() return value casts + tiny whitespace cleanup Small cleanups for drivers/atm/zatm.c Get rid of unneeded cast of kmalloc() return value. Small whitespace/CodingStyle/formatting cleanup (since I was in there anyway). Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 12fe2c588df77d60dfe13b432f95d00f76b8c969 tree 514a23f41aa81d89c5385ba67a58a0144693fbcc parent ea2e90dfcee2c09eff8a180976ace071922663a5 author Jesper Juhl Tue, 10 Jan 2006 13:08:21 -0800 committer David S. Miller Tue, 10 Jan 2006 13:08:21 -0800 [NET]: Remove unneeded kmalloc() return value casts Get rid of needless casting of kmalloc() return value in net/ Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit ea2e90dfcee2c09eff8a180976ace071922663a5 tree 8456c8a4b735d12eb4a0c06d10c7e26301dcaa75 parent ad8e4b75c8a7bed475d72ce09bf5267188621961 author Jesper Juhl Tue, 10 Jan 2006 13:07:44 -0800 committer David S. Miller Tue, 10 Jan 2006 13:07:44 -0800 [RXRPC]: Decrease number of pointer derefs in connection.c Decrease the number of pointer derefs in net/rxrpc/connection.c Benefits of the patch: - Fewer pointer dereferences should make the code slightly faster. - Size of generated code is smaller - improved readability Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit ad8e4b75c8a7bed475d72ce09bf5267188621961 tree fe9edd967818a744f87c2d1aa51443bae613fbbf parent babbdb1a18d37e57acae7e348ef122f2b905df0a author Martin Murray Tue, 10 Jan 2006 13:02:29 -0800 committer David S. Miller Tue, 10 Jan 2006 13:02:29 -0800 [AF_NETLINK]: Fix DoS in netlink_rcv_skb() From: Martin Murray Sanity check nlmsg_len during netlink_rcv_skb. An nlmsg_len == 0 can cause infinite loop in kernel, effectively DoSing machine. Noted by Matin Murray. Signed-off-by: Chris Wright Signed-off-by: David S. Miller commit babbdb1a18d37e57acae7e348ef122f2b905df0a tree 51bb7dbffe28ae6f342e0bcc155a54264f30b5e5 parent 9d28026b7ec0f3e2a407d5c03fcb37d0b59d1add author Patrick McHardy Mon, 09 Jan 2006 17:48:09 -0800 committer David S. Miller Tue, 10 Jan 2006 12:54:35 -0800 [NETFILTER]: Fix timeout sysctls on big-endian 64bit architectures The connection tracking timeout variables are unsigned long, but proc_dointvec_jiffies is used with sizeof(unsigned int) in the sysctl tables. Since there is no proc_doulongvec_jiffies function, change the timeout variables to unsigned int. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 9d28026b7ec0f3e2a407d5c03fcb37d0b59d1add tree 843faa49147685abdf7a8fa7b7f810e67d1fe95b parent c07bc1ffbdc14312b214b56fa39f4a4ab1406b8e author Patrick McHardy Mon, 09 Jan 2006 16:44:36 -0800 committer David S. Miller Tue, 10 Jan 2006 12:54:34 -0800 [NETFILTER]: Remove unused function from NAT protocol helpers ->print and ->print_range are not used (and apparently never were). Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit c07bc1ffbdc14312b214b56fa39f4a4ab1406b8e tree bebe88286e6822d41128cc6347d5cb9011d97a7c parent 03b9feca89366952ae5dfe4ad8107b1ece50b710 author Patrick McHardy Mon, 09 Jan 2006 16:44:18 -0800 committer David S. Miller Tue, 10 Jan 2006 12:54:33 -0800 [NETFILTER]: Fix return value confusion in PPTP NAT helper ip_nat_mangle_tcp_packet doesn't return NF_* values but 0/1 for failure/success. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 03b9feca89366952ae5dfe4ad8107b1ece50b710 tree 401e94d15d3f28a759ce716b8b5a742f5d32a520 parent 15db34702cfafd24acc60295cf14861e497502ab author Patrick McHardy Mon, 09 Jan 2006 16:44:00 -0800 committer David S. Miller Tue, 10 Jan 2006 12:54:32 -0800 [NETFILTER]: Fix another crash in ip_nat_pptp The PPTP NAT helper calculates the offset at which the packet needs to be mangled as difference between two pointers to the header. With non-linear skbs however the pointers may point to two seperate buffers on the stack and the calculation results in a wrong offset beeing used. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 15db34702cfafd24acc60295cf14861e497502ab tree 541d18bb0b8e1d915ca258d16ea79df730b8f0b7 parent bb94aa169eaa6e713a429370d37388722f08666f author Patrick McHardy Mon, 09 Jan 2006 16:43:43 -0800 committer David S. Miller Tue, 10 Jan 2006 12:54:30 -0800 [NETFILTER]: Fix crash in ip_nat_pptp When an inbound PPTP_IN_CALL_REQUEST packet is received the PPTP NAT helper uses a NULL pointer in pointer arithmentic to calculate the offset in the packet which needs to be mangled and corrupts random memory or crashes. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit bb94aa169eaa6e713a429370d37388722f08666f tree fefb35f0c42d6e434c6b8ec627a9d715027e7ea2 parent d3f4a687f683f536506d0aa6b22e6cb3e79639ce author Patrick McHardy Mon, 09 Jan 2006 16:43:13 -0800 committer David S. Miller Tue, 10 Jan 2006 12:54:29 -0800 [NETFILTER]: net/ipv[46]/netfilter.c cleanups Don't wrap entire file in #ifdef CONFIG_NETFILTER, remove a few unneccessary includes. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit d3f4a687f683f536506d0aa6b22e6cb3e79639ce tree d1f5fb7177d1dd254e63189cb89e51a86a24f171 parent 770cfbcffdf0011ecf3a12435ecb5604c4c97a19 author Kris Katterjohn Mon, 09 Jan 2006 16:01:43 -0800 committer David S. Miller Tue, 10 Jan 2006 12:54:28 -0800 [NET]: Change memcmp(,,ETH_ALEN) to compare_ether_addr() This changes some memcmp(one,two,ETH_ALEN) to compare_ether_addr(one,two). Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit 770cfbcffdf0011ecf3a12435ecb5604c4c97a19 tree f5e713bf381e5084376afc2216cfe7a2bc320bc6 parent 49cd619c69d643b30a24029e40eb5364c7a26b2e author Stephen Hemminger Mon, 09 Jan 2006 15:56:09 -0800 committer David S. Miller Tue, 10 Jan 2006 12:54:26 -0800 [INET]: congestion and af_ops can be const The congestion ops and af_ops in the inet_connection_sock can be const. Signed-off-by: Stephen Hemminger Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit a3e49436867e6c7acc1b5eed21d30c88d156825b tree 1460c6474c721eaabf3f84f5df4a6a72b90f9621 parent b016450f9f603210239e1a91e3c28f17c310dcc7 author Nicolas Pitre Tue, 10 Jan 2006 19:48:02 +0000 committer Russell King Tue, 10 Jan 2006 19:48:02 +0000 [ARM] 3252/1: help gcc do the best with ___arch__swab32 Patch from Nicolas Pitre Depending on your gcc version, the current C-only implementation would produce suboptimal code, ranging from a bad register selection forcing an additional mov instruction to a failure to merge the eor and the ror in a single instruction. With a little help gcc always produces the best code. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 49cd619c69d643b30a24029e40eb5364c7a26b2e tree 77d181378b85210b3b32a9b22e3363408ebe786a parent 19dbaf6f6f0f3b766df08594446d64747a5cced3 author Alan Cox Mon, 09 Jan 2006 09:35:28 -0500 committer Linus Torvalds Tue, 10 Jan 2006 09:45:36 -0800 [PATCH] moxa serial: add proper capability check This requires the proper capabilities for the moxa bios update ioctl's. Signed-off-by: Linus Torvalds commit 19dbaf6f6f0f3b766df08594446d64747a5cced3 tree 7eb7333c1937446c7302bc33a3ff8185148212e3 parent 3960f2faaf0a67ad352bd5d4085e43f19f33ab91 author Greg Ungerer Tue, 10 Jan 2006 17:02:57 +1000 committer Linus Torvalds Tue, 10 Jan 2006 09:31:27 -0800 [PATCH] m68knommu: save reg a5 on context change Fix a5 register corruption when processing user space signals handlers. We need to save a5 through each contenxt change. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 3960f2faaf0a67ad352bd5d4085e43f19f33ab91 tree bfd8766845324c6da4be7886907865c451addf26 parent 845884d332c060b0dfc54ba5a580d0f1a99c58a2 author Greg Ungerer Tue, 10 Jan 2006 17:00:39 +1000 committer Linus Torvalds Tue, 10 Jan 2006 09:31:27 -0800 [PATCH] m68knommu: fix find_next_zero_bit in bitops.h We're starting a number of big applications (memory footprint app. 1MByte) on our Arcturus uC5272. Therefore memory fragmentation is a real pain for us. We've switched to uClinux-2.4.27-uc1 and found that page_alloc2 fragments the memory heavily. Digging into it we found a bug in the find_next_zero_bit function in the m68knommu/bitops.h file. if the size isn't a multiple of 32 than the upper bits of the last word to be searched should be masked. But the functions masks the lower bits of the last word because it uses a right shift instead of a left shift operator. Patch submitted by Sascha Smejkal Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 845884d332c060b0dfc54ba5a580d0f1a99c58a2 tree da786d4435001105f36d903b532a165e2bae5462 parent 082f2c1cc7aa7aabdbf5235b788ff42e10abb399 author Greg Ungerer Tue, 10 Jan 2006 16:59:37 +1000 committer Linus Torvalds Tue, 10 Jan 2006 09:31:27 -0800 [PATCH] uclinux: delay binfmt_flat trace Modify the initial trace output (which is based on flags in the binary header) so that it is not done until after the magic number check. This may well not be a flat format binary, so the flags could be invalid. (Prime example, running a script). Changes prompted by patches from Stuart Hughs. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 082f2c1cc7aa7aabdbf5235b788ff42e10abb399 tree 6df24ee2dbfff72f29c5ddac02d7f68df241a7f7 parent 892b62527fb3cd6753d6d2b79b5f21259f344cf5 author Greg Ungerer Tue, 10 Jan 2006 16:59:04 +1000 committer Linus Torvalds Tue, 10 Jan 2006 09:31:27 -0800 [PATCH] m68knommu: set irq priority/level different for each ColdFire serial port Set the hardware interrupt priority to a different value for each attached ColdFire serial port. According to the CPU documentation you should not use the same combination of level/priority on more than one device. People have reported odd serial port behavior with them set the same. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 892b62527fb3cd6753d6d2b79b5f21259f344cf5 tree 4601155b517096543bf8cf24254aa18b56f760c1 parent 694d855fbc797141960a3907019c442240ed8a0f author Greg Ungerer Tue, 10 Jan 2006 16:58:16 +1000 committer Linus Torvalds Tue, 10 Jan 2006 09:31:27 -0800 [PATCH] m68knommu: allow configure of FEC for M520x CPU family Allow the ColdFire FEC ethernet driver to be enabled on the M520x CPU family. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 694d855fbc797141960a3907019c442240ed8a0f tree 1e9a420cf68756935f560db339db1b133194a7a5 parent 01829e7212dd9ba3fa68bf8afffc9a175c44cb04 author Greg Ungerer Tue, 10 Jan 2006 16:43:39 +1000 committer Linus Torvalds Tue, 10 Jan 2006 09:31:27 -0800 [PATCH] m68knommu: fix ram length of m5208evb board Adjust length of M5208EVB ram define. It should size up to 32MB after adding in the dBUG reserved 128k. Problem pointed out be Milton Miller . Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 01829e7212dd9ba3fa68bf8afffc9a175c44cb04 tree b8d6169303950a6b5e5049c3cde35433b25640e0 parent afc7cd8950572786c87ad081d8e65e5ea58b563c author Greg Ungerer Tue, 10 Jan 2006 16:42:59 +1000 committer Linus Torvalds Tue, 10 Jan 2006 09:31:26 -0800 [PATCH] m68knommu: fix a5 reg corruption in signal handlers This is a patch adapted from a posting by Andrea Tarani which was pointed out to me by Bernardo Innocenti. Thanks to both of them for their help and patience. The original posting is here: http://mailman.uclinux.org/pipermail/uclinux-dev/2005-July/033543.html The problem first manifest itself as busybox ping terminating with an "Illegal instruction". I reduced this to a test case and found that variable size arrays allocated on the stack could lead to stacks not aligned on 32 bit boundaries. For the Coldfire this proved fatal. Having been pointed out this patch by Bernardo, I applied it and it fixed the first test case. I then went back to busybox's ping. This still failed with "Illegal instruction", but in a different way. Before it depended on the size allocated for the ping buffer, now it happened every time. I also found it depended on optimisation level (gcc-3.4.0) -Os was okay but not -O2. After a lot of looking, it turned out that register a5 was being corrupted by the signal handler (after applying the patch). I re-worked the patch a bit to save/restore a5 and now all seems well. Patch submitted by Stuart Hughs Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit afc7cd8950572786c87ad081d8e65e5ea58b563c tree 2d08b753a5afd2cfee55ff2a965aa482a774cfe4 parent db10cb8e9906a43c8fa49b3fab547b365bc2c666 author Greg Ungerer Tue, 10 Jan 2006 16:42:18 +1000 committer Linus Torvalds Tue, 10 Jan 2006 09:31:26 -0800 [PATCH] m68knommu: fix mangled 'truct' in ptrace.c Fix broken "truct" -> "struct" in arch_ptrace() parameter list. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit db10cb8e9906a43c8fa49b3fab547b365bc2c666 tree 6f7b29833f86305de2450435052477a3ed8e7857 parent 82409799853c3cabc4b17533ff640a95bef01358 author Greg Ungerer Tue, 10 Jan 2006 16:40:21 +1000 committer Linus Torvalds Tue, 10 Jan 2006 09:31:26 -0800 [PATCH] m68knommu: don't set gcc optimizer flags Don't specify compiler optimization flags in the m68knommu Makefile. Let the top level Makefile/config set it. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 82409799853c3cabc4b17533ff640a95bef01358 tree 4a6728df6b0cafe392d03e904687f4e41727b544 parent 7ba6b5ece34fb799f63c72c35a30dac8aca735eb author Greg Ungerer Tue, 10 Jan 2006 16:39:35 +1000 committer Linus Torvalds Tue, 10 Jan 2006 09:31:26 -0800 [PATCH] h8300: remove MAGIC_ROM_PTR from memory.c Remove obsolete MAGIC_ROM_PTR code from h8300 architecture. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 7ba6b5ece34fb799f63c72c35a30dac8aca735eb tree 6f19aa539bb56d58805a89ff6dabc408f8f1603d parent d936cfc72032fb4af03d1edd99596d18ea1f081c author Greg Ungerer Tue, 10 Jan 2006 16:39:30 +1000 committer Linus Torvalds Tue, 10 Jan 2006 09:31:26 -0800 [PATCH] h8300: remove MAGIC_ROM_PTR from k8300_ksyms.c Remove obsolete MAGIC_ROM_PTR code from h8300 architecture. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit b016450f9f603210239e1a91e3c28f17c310dcc7 tree f98c21ce43fc8826dbd006216db0c70cb3901e0d parent 49978db4f39950cdaaf967e1aad4a324bdc2e180 author Richard Purdie Tue, 10 Jan 2006 17:16:12 +0000 committer Russell King Tue, 10 Jan 2006 17:16:12 +0000 [ARM] 3250/1: Change pxa2xx PCMCIA drivers to use platform_device_alloc Patch from Richard Purdie Change mainstone and sharpsl pxa2xx pcmcia drivers to use platform_device_alloc which fixes a memory leak. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit d936cfc72032fb4af03d1edd99596d18ea1f081c tree 6d524c57fbff717ba82c6f4925659f6ec901d45d parent 4f47707b056bd2e3627ef390557ee93d312daba5 parent adfc76419bff33542d4fd53dc7f24818f846f194 author Linus Torvalds Tue, 10 Jan 2006 09:00:55 -0800 committer Linus Torvalds Tue, 10 Jan 2006 09:00:55 -0800 Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus commit 49978db4f39950cdaaf967e1aad4a324bdc2e180 tree 2345284157a58a9d1df1a9492e039c0aa4145ad0 parent f0a13854be269357ff70022524ec503d3cba6a32 author Andrew Victor Tue, 10 Jan 2006 16:59:29 +0000 committer Russell King Tue, 10 Jan 2006 16:59:29 +0000 [ARM] 3247/1: AT91RM9200 support for 2.6 (Cogent CSB337 & CSB637 boards) (Patch #3244) Patch from Andrew Victor This patch adds support to the 2.6 kernel series for the Atmel AT91RM9200 processor. This patch is the support for the Cogent CSB337 and CSB637 boards. Signed-off-by: Andrew Victor Signed-off-by: Russell King commit f0a13854be269357ff70022524ec503d3cba6a32 tree a04ea749fcd945127d29647e1c87c624ad49ed45 parent 1e6c9c2878c9c1f301449c78551e0b7c5f3e3ae5 author Andrew Victor Tue, 10 Jan 2006 16:59:28 +0000 committer Russell King Tue, 10 Jan 2006 16:59:28 +0000 [ARM] 3243/2: AT91RM9200 support for 2.6 (Atmel DK & EK boards) Patch from Andrew Victor This patch adds support to the 2.6 kernel series for the Atmel AT91RM9200 processor. This patch is the support for Atmel's DK and EK boards. Signed-off-by: Andrew Victor Signed-off-by: Russell King commit 1e6c9c2878c9c1f301449c78551e0b7c5f3e3ae5 tree b53b95a16a4f5ee22b5ccb9a8fecbc771b9d566f parent 977127174a7dff52d17faeeb4c4949a54221881f author Andrew Victor Tue, 10 Jan 2006 16:59:27 +0000 committer Russell King Tue, 10 Jan 2006 16:59:27 +0000 [ARM] 3242/2: AT91RM9200 support for 2.6 (Serial) Patch from Andrew Victor This patch adds support to the 2.6 kernel series for the Atmel AT91RM9200 processor. This patch is the Serial driver. This version uses the newly re-written GPL'ed hardware headers. Signed-off-by: Andrew Victor Signed-off-by: Russell King commit 4f47707b056bd2e3627ef390557ee93d312daba5 tree 3d3b7f1a4e43e4b077bf9388e0ec2bb11eeb2daa parent a9c828155ae8d1a1576f9648cc4d9677aea53f89 author Linus Torvalds Tue, 10 Jan 2006 08:56:39 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:56:39 -0800 Fix rpc shutdown event condition bug We want to wait for the cl_users to go down to zero, not for it to stay positive. Quoth Trond (who wasn't even the author, but acked the wrong version): "Argh! I need to increase my daily caffeine dosages." Signed-off-by: Linus Torvalds commit a9c828155ae8d1a1576f9648cc4d9677aea53f89 tree 7b087188579ff897332a767af1ff695ab5bc116f parent 69a0b3157983925f14fe0bdc49622d5389538d8d author Oleg Nesterov Tue, 10 Jan 2006 17:24:53 +0300 committer Linus Torvalds Tue, 10 Jan 2006 08:49:47 -0800 [PATCH] rcu: fix hotplug-cpu ->donelist leak Pointed out by Srivatsa Vaddagiri . rcu_do_batch() stops after processing maxbatch callbacks on ->donelist leaving rcu_tasklet in TASKLET_STATE_SCHED state. If CPU_DEAD event happens remaining ->donelist entries are lost, rcu_offline_cpu() kills this tasklet. With this patch ->donelist migrates along with ->curlist and ->nxtlist to the current cpu. Compile tested. Signed-off-by: Oleg Nesterov Acked-by: Paul E. McKenney Cc: Srivatsa Vaddagiri Cc: Dipankar Sarma Signed-off-by: Linus Torvalds commit 69a0b3157983925f14fe0bdc49622d5389538d8d tree d77b406001d01b0a200c9f713d8287a2ec42ae58 parent c0400dc507a4345357fc25f13e8ac929287688a8 author Oleg Nesterov Tue, 10 Jan 2006 16:48:02 +0300 committer Linus Torvalds Tue, 10 Jan 2006 08:42:50 -0800 [PATCH] rcu: join rcu_ctrlblk and rcu_state This patch moves rcu_state into the rcu_ctrlblk. I think there are no reasons why we should have 2 different variables to control rcu state. Every user of rcu_state has also "rcu_ctrlblk *rcp" in the parameter list. Signed-off-by: Oleg Nesterov Acked-by: Paul E. McKenney Signed-off-by: Linus Torvalds commit c0400dc507a4345357fc25f13e8ac929287688a8 tree d4940df7951f3bfee2b0495d24c4af68c55b9e5e parent daef265f1590cf3e6de989d074041a280c82d58b author Andrey Borzenkov Tue, 10 Jan 2006 11:27:00 +0100 committer Linus Torvalds Tue, 10 Jan 2006 08:38:19 -0800 [PATCH] ide-cd: clear random-write capability it not supported Add CDC-RAM to capability mask. This prevents udev incorrectly reporting RAM capabilities for device. Signed-off-by: Andrey Borzenkov Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit daef265f1590cf3e6de989d074041a280c82d58b tree 3d869c801561f9bfafa6dabd30211379cd0bb55d parent 00d6da9b4d6707b808481372537adb0fb38f99b3 author Jens Axboe Tue, 10 Jan 2006 10:48:02 +0100 committer Linus Torvalds Tue, 10 Jan 2006 08:37:08 -0800 [PATCH] dm: don't enable bouncing by default DM doesn't need to bounce bio's on its own, but the block layer defaults to that in blk_queue_make_request(). The lower level drivers should bounce ios themselves, that is what they need to do if not layered below dm anyways. Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit 00d6da9b4d6707b808481372537adb0fb38f99b3 tree f42b0127843e836ab6de73498564666ec3445748 parent 4ff57935ad0f1620269f4b08e8acfda619cc5e4b author Jens Axboe Tue, 10 Jan 2006 10:43:54 +0100 committer Linus Torvalds Tue, 10 Jan 2006 08:37:08 -0800 [PATCH] cdrom: kill "open failed" error message This triggers all the time with the various polled event programs, change it to CD_OPEN so it's supressed by default. Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit 4ff57935ad0f1620269f4b08e8acfda619cc5e4b tree 70859628e9c59e0495351891b17f537967d1662d parent c8d52465f95c4187871f8e65666c07806ca06d41 author Jens Axboe Tue, 10 Jan 2006 09:44:39 +0100 committer Linus Torvalds Tue, 10 Jan 2006 08:37:07 -0800 [PATCH] ide: preserve errors for failed requests To preserve the ->errors values for requests that failed, use the normal completion path for that. Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit c8d52465f95c4187871f8e65666c07806ca06d41 tree 873a77cf0b47c92fbdc5cb8dd8baa7583c26bbfd parent 115b2ce1c3b974e43e45fa6c9e20cd7271a01dff author Anton Blanchard Tue, 10 Jan 2006 18:21:20 +1100 committer Linus Torvalds Tue, 10 Jan 2006 08:32:35 -0800 [PATCH] Work around ppc64 compiler bug In the process of optimising our per cpu data code, I found a ppc64 compiler bug that has been around forever. Basically the current RELOC_HIDE can end up trashing r30. Details of the bug can be found at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25572 This bug is present in all compilers before 4.1. It is masked by the fact that our current per cpu data code is inefficient and causes other loads that end up marking r30 as used. A workaround identified by Alan Modra is to use the =r asm constraint instead of =g. Signed-off-by: Anton Blanchard [ Verified that this makes no real difference on x86[-64] */ Signed-off-by: Linus Torvalds commit 115b2ce1c3b974e43e45fa6c9e20cd7271a01dff tree 9a883fb4d84713f142c4e003fead92381c11b6c2 parent dd49f96777d5a72d5591ac2112d4ac940391774e parent 5fc4e6e197c7e377f1c8ebec727d40df983aceed author Linus Torvalds Tue, 10 Jan 2006 08:30:29 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:30:29 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input commit dd49f96777d5a72d5591ac2112d4ac940391774e tree 6d9c8bdcd21c600ce1a1c8ea8acb9aec15f6ca4a parent a62e68488dd5ddb07776555fd7e0435c6d021ac1 parent 8b4ad5e3ff94409973e824716c65568f0d97364c author Linus Torvalds Tue, 10 Jan 2006 08:28:53 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:28:53 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit a62e68488dd5ddb07776555fd7e0435c6d021ac1 tree d6cec15baa1ddfee108ef77b315dfdea5e3fa71c parent ab396e91bfe953db26fa1083d9c3e7a4fbe0334a parent 3b212db9217d02e623eaa12f41c9b5f8c6a99535 author Linus Torvalds Tue, 10 Jan 2006 08:28:32 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:28:32 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge commit ab396e91bfe953db26fa1083d9c3e7a4fbe0334a tree 81db9e5f919b84dcb4284ca8cdf675e13716c191 parent 9979ead5d1eb23191a00453559927c5abf9087e2 parent 4f0210b9c4889eede9f8f379f93570c01998ccb9 author Linus Torvalds Tue, 10 Jan 2006 08:21:33 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:21:33 -0800 Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/sam/kbuild Fix up some trivial conflicts in {i386|ia64}/Makefile commit 9979ead5d1eb23191a00453559927c5abf9087e2 tree 50741cf0f7d99c0cc395c4549eef725335edafa6 parent f346f4b373aa320fb0337a3b504e3fb5344abc0b author Adrian Bunk Mon, 09 Jan 2006 20:54:52 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:02:03 -0800 [PATCH] fs/hfsplus/: remove the hfsplus_inode_check() debug function This patch removes the hfsplus_inode_check() debug function. It also removes the now obsolete last_inode_cnt and inode_cnt from struct hfsplus_sb_info. Signed-off-by: Adrian Bunk Acked-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f346f4b373aa320fb0337a3b504e3fb5344abc0b tree 7f8d732b17036d4a063e54d507d2dd71b527df40 parent 4c29c4c5f28616f2a87f0e6499aa9776d9be58ad author Adrian Bunk Mon, 09 Jan 2006 20:54:51 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:02:02 -0800 [PATCH] let MAGIC_SYSRQ no longer depend on DEBUG_KERNEL I know several people using MAGIC_SYSRQ not for kernel debugging but for trying to do a halfway normal shutdown in case of problems. Since there's no technical reason why MAGIC_SYSRQ would have to depend on DEBUG_KERNEL, I'm therefore suggesting to drop this dependency. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c29c4c5f28616f2a87f0e6499aa9776d9be58ad tree 897af28f11c412f9d784df2c86e5f659588b4f30 parent d974837ae076101d33a59eefc6bfef923eaa0e32 author Adrian Bunk Mon, 09 Jan 2006 20:54:50 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:02:02 -0800 [PATCH] include/linux/sched.h: no need to guard the normalize_rt_tasks() prototype There's no need to guard the normalize_rt_tasks() prototype with an #ifdef CONFIG_MAGIC_SYSRQ. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d974837ae076101d33a59eefc6bfef923eaa0e32 tree f9f8de129e0ff6c4df8d34fc06e67d7582b7e807 parent 51d53bd3eb82b953bfd58d0e9c935c34dfb34808 author Adrian Bunk Mon, 09 Jan 2006 20:54:49 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:02:02 -0800 [PATCH] kernel/resource.c: __check_region(): remove pointless __deprecated If a __deprecated is desired it should go to the prototype in the header (where it currently isn't). But at this place it's pointless. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 51d53bd3eb82b953bfd58d0e9c935c34dfb34808 tree c51a352506add19d2c1da0bade66bd1c961ad07e parent ca5ed2f5c7bf3ca51598336fcc1436b5da129f34 author Adrian Bunk Mon, 09 Jan 2006 20:54:48 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:02:02 -0800 [PATCH] video/matrox/matroxfb_misc.c: remove dead code The Coverity checker spotted this dead code. Signed-off-by: Adrian Bunk Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca5ed2f5c7bf3ca51598336fcc1436b5da129f34 tree 6bff73e759d9a0c83bbb8abf60a1aca013c5c8a2 parent e0795cf46d174d4faab35d13d0a088b5bcb2752a author Adrian Bunk Mon, 09 Jan 2006 20:54:47 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:02:02 -0800 [PATCH] include/asm-sh64/: "extern inline" -> "static inline" "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Cc: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e0795cf46d174d4faab35d13d0a088b5bcb2752a tree 7b186963ba5ecd8f54097095432f82529d6835fb parent 792db3af38a55b2079df504b9f5aa57b2dbee48d author Jesper Juhl Mon, 09 Jan 2006 20:54:46 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:02:02 -0800 [PATCH] selinux: Remove unneeded k[cm]alloc() return value casts Remove redundant casts of k*alloc() return values in security/selinux/ss/services.c Signed-off-by: Jesper Juhl Acked-by: Stephen Smalley Cc: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 792db3af38a55b2079df504b9f5aa57b2dbee48d tree a88af0f8cdda91f4ed8ac8278ca0412abd63d489 parent 352d768b19408d3c019a3fa09fd5bfed99a55bc6 author Jesper Juhl Mon, 09 Jan 2006 20:54:45 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:02:01 -0800 [PATCH] fs/binfmt_elf: Remove unneeded kmalloc() return value casts Remove unneeded casts of kmalloc() return value in binfmt_elf. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 352d768b19408d3c019a3fa09fd5bfed99a55bc6 tree 1e3aee2364e1a9a610b05cab8c468f4647c1df31 parent 3795e1616f16905889761536cdc266ebc51855e5 author Jesper Juhl Mon, 09 Jan 2006 20:54:44 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:02:01 -0800 [PATCH] Decrease number of pointer derefs in multipath.c Decrease the number of pointer derefs in drivers/md/multipath.c Benefits of the patch: - Fewer pointer dereferences should make the code slightly faster. - Size of generated code is smaller - improved readability Signed-off-by: Jesper Juhl Acked-by: Ingo Molnar Cc: Alasdair G Kergon Acked-by: NeilBrown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3795e1616f16905889761536cdc266ebc51855e5 tree 89e958009b621e83bc4eba0c9643743a3e06c3c8 parent a547dfe9563c49fd0f9743640e01d1d652119ec7 author Jesper Juhl Mon, 09 Jan 2006 20:54:39 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:02:01 -0800 [PATCH] Decrease number of pointer derefs in exit.c Decrease the number of pointer derefs in kernel/exit.c Benefits of the patch: - Fewer pointer dereferences should make the code slightly faster. - Size of generated code is smaller - improved readability Signed-off-by: Jesper Juhl Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a547dfe9563c49fd0f9743640e01d1d652119ec7 tree 5000f624e91855ce82b620debb98681a2cd98ed4 parent e65c1db19fe8177fa2da53e3e0bddffe585b2d47 author Jiri Slaby Mon, 09 Jan 2006 20:54:26 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:02:01 -0800 [PATCH] char/isicom: More whitespaces and coding style Wrap all the code to 80 chars on a line. `}\nelse' changed to `} else'. Clean whitespaces in header file. Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e65c1db19fe8177fa2da53e3e0bddffe585b2d47 tree 4d1c54f559812b71c9fde79383d00db908c1fd4f parent 9ac0948b20f76d9659add91f868c57383ea1e4e5 author Jiri Slaby Mon, 09 Jan 2006 20:54:25 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:02:01 -0800 [PATCH] char/isicom: Firmware loading Firmware loading via hotplug added. Cleanup firmware old-way fields in header file. Signed-off-by: Jiri Slaby Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ac0948b20f76d9659add91f868c57383ea1e4e5 tree 3edb5c38d8201ebdf5ab277be02cf7c54cf86489 parent aaa246ea78c68cd205f505070650cda7c5a95d34 author Jiri Slaby Mon, 09 Jan 2006 20:54:24 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:02:00 -0800 [PATCH] char/isicom: Pci probing added Pci probing functions added, most of functions rewrited because of it (some for loops were redundant). Used PCI_DEVICE macro. dev_* used for printing wherever possible. Renamed some functions to have isicom_ in the name. Signed-off-by: Jiri Slaby Signed-off-by: Laurent Riffard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aaa246ea78c68cd205f505070650cda7c5a95d34 tree 5fefb7ca495daaaaf00361d3c720396bbb46055c parent 8070e35c6524e0f254cd69f493c50811e8e5b856 author Jiri Slaby Mon, 09 Jan 2006 20:54:23 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:02:00 -0800 [PATCH] char/isicom: Other little changes Move some code from one place to another. Get rid of ugly ifdefs in code in next p[patches, so here create functions and macros to enable it. Rename some functions and align some code to 80 chars. Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8070e35c6524e0f254cd69f493c50811e8e5b856 tree c0f11f7afb656d580bf9bc6acdec4f2b541376d0 parent d8d16e47442a84d7fefc7ff839952ddfc919e495 author Jiri Slaby Mon, 09 Jan 2006 20:54:22 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:02:00 -0800 [PATCH] char/isicom: Type conversion and variables deletion Type which is needed to have accurate size was converted to [us]{8,16}. Removed void * cast. Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d8d16e47442a84d7fefc7ff839952ddfc919e495 tree 7ca3154f0dfce5f90cf85c32c1b4ed0e3d51849b parent d9e39538ce7c52e45e653e777d73ed373189c20d author Jiri Slaby Mon, 09 Jan 2006 20:54:21 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:02:00 -0800 [PATCH] char/isicom: Whitespace cleanup Trailing spaces and tabs and space used for indentation deleted. Indented content of structures. Switch/case indent. Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d9e39538ce7c52e45e653e777d73ed373189c20d tree 66471ccdce44916973b0ab3efc3f5d9fd9ebc223 parent c58cbb6cbb635f53c8b340ae8da9e84b263cc41a author Alan Cox Mon, 09 Jan 2006 20:54:20 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:02:00 -0800 [PATCH] clean up computone remaining cli use Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c58cbb6cbb635f53c8b340ae8da9e84b263cc41a tree c2aa168d889f87d615f90a67451e4985ee2d2e0f parent 33f0f88f1c51ae5c2d593d26960c760ea154c2e2 author Grant Coady Mon, 09 Jan 2006 20:54:18 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:02:00 -0800 [PATCH] n_hdlc.c: remove unused declaration drivers/char/n_hdlc.c:194: warning: `n_hdlc_tty_room' declared `static' but never defined Signed-off-by: Grant Coady Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 33f0f88f1c51ae5c2d593d26960c760ea154c2e2 tree f53a38cf49406863f079d74d0e8f91b276f7c1a9 parent 6ed80991a2dce4afc113be35089c564d62fa1f11 author Alan Cox Mon, 09 Jan 2006 20:54:13 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:59 -0800 [PATCH] TTY layer buffering revamp The API and code have been through various bits of initial review by serial driver people but they definitely need to live somewhere for a while so the unconverted drivers can get knocked into shape, existing drivers that have been updated can be better tuned and bugs whacked out. This replaces the tty flip buffers with kmalloc objects in rings. In the normal situation for an IRQ driven serial port at typical speeds the behaviour is pretty much the same, two buffers end up allocated and the kernel cycles between them as before. When there are delays or at high speed we now behave far better as the buffer pool can grow a bit rather than lose characters. This also means that we can operate at higher speeds reliably. For drivers that receive characters in blocks (DMA based, USB and especially virtualisation) the layer allows a lot of driver specific code that works around the tty layer with private secondary queues to be removed. The IBM folks need this sort of layer, the smart serial port people do, the virtualisers do (because a virtualised tty typically operates at infinite speed rather than emulating 9600 baud). Finally many drivers had invalid and unsafe attempts to avoid buffer overflows by directly invoking tty methods extracted out of the innards of work queue structs. These are no longer needed and all go away. That fixes various random hangs with serial ports on overflow. The other change in here is to optimise the receive_room path that is used by some callers. It turns out that only one ldisc uses receive room except asa constant and it updates it far far less than the value is read. We thus make it a variable not a function call. I expect the code to contain bugs due to the size alone but I'll be watching and squashing them and feeding out new patches as it goes. Because the buffers now dynamically expand you should only run out of buffering when the kernel runs out of memory for real. That means a lot of the horrible hacks high performance drivers used to do just aren't needed any more. Description: tty_insert_flip_char is an old API and continues to work as before, as does tty_flip_buffer_push() [this is why many drivers dont need modification]. It does now also return the number of chars inserted There are also tty_buffer_request_room(tty, len) which asks for a buffer block of the length requested and returns the space found. This improves efficiency with hardware that knows how much to transfer. and tty_insert_flip_string_flags(tty, str, flags, len) to insert a string of characters and flags For a smart interface the usual code is len = tty_request_buffer_room(tty, amount_hardware_says); tty_insert_flip_string(tty, buffer_from_card, len); More description! At the moment tty buffers are attached directly to the tty. This is causing a lot of the problems related to tty layer locking, also problems at high speed and also with bursty data (such as occurs in virtualised environments) I'm working on ripping out the flip buffers and replacing them with a pool of dynamically allocated buffers. This allows both for old style "byte I/O" devices and also helps virtualisation and smart devices where large blocks of data suddenely materialise and need storing. So far so good. Lots of drivers reference tty->flip.*. Several of them also call directly and unsafely into function pointers it provides. This will all break. Most drivers can use tty_insert_flip_char which can be kept as an API but others need more. At the moment I've added the following interfaces, if people think more will be needed now is a good time to say int tty_buffer_request_room(tty, size) Try and ensure at least size bytes are available, returns actual room (may be zero). At the moment it just uses the flipbuf space but that will change. Repeated calls without characters being added are not cumulative. (ie if you call it with 1, 1, 1, and then 4 you'll have four characters of space. The other functions will also try and grow buffers in future but this will be a more efficient way when you know block sizes. int tty_insert_flip_char(tty, ch, flag) As before insert a character if there is room. Now returns 1 for success, 0 for failure. int tty_insert_flip_string(tty, str, len) Insert a block of non error characters. Returns the number inserted. int tty_prepare_flip_string(tty, strptr, len) Adjust the buffer to allow len characters to be added. Returns a buffer pointer in strptr and the length available. This allows for hardware that needs to use functions like insl or mencpy_fromio. Signed-off-by: Alan Cox Cc: Paul Fulghum Signed-off-by: Hirokazu Takata Signed-off-by: Serge Hallyn Signed-off-by: Jeff Dike Signed-off-by: John Hawkes Signed-off-by: Martin Schwidefsky Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ed80991a2dce4afc113be35089c564d62fa1f11 tree 6f32c700264e779683d0aee7b2e8b7ddc13210a1 parent 7e91c55b32a469d9dda845a90038c015a70838e3 author Andrew Morton Mon, 09 Jan 2006 20:54:09 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:57 -0800 [PATCH] tty-layer-buffering-revamp: jsm is broken Looks like JSM will be uncompilable after the TTY layer rework is merged into Linus's post-2.6.15 tree. It was complex to fix - the maintainers were notified in September. Cc: Wendy Xiong Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e91c55b32a469d9dda845a90038c015a70838e3 tree bec63f967117566e325e8e4264fd5f69a152825c parent 87c2ce3b9305b9b723faeedf6e32ef703ec9b33a author Paul Jackson Mon, 09 Jan 2006 20:54:08 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:57 -0800 [PATCH] Serial: disable jsm in ppc64 defconfig Changes to the serial driver to remove flip buffers have broken the serial jsm driver. It doesn't even compile anymore. The jsm driver was enabled in only one defconfig - ppc64. In order to keep defconfigs building, disable CONFIG_SERIAL_JSM for the time being. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 87c2ce3b9305b9b723faeedf6e32ef703ec9b33a tree b953aeb311ae08c4acdd96b2a765e8d24dc47cf8 parent 3af13763d696468d31f71a798155b33f681f221f author Adrian Bunk Mon, 09 Jan 2006 20:54:07 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:57 -0800 [PATCH] lib/zlib*: cleanups This patch contains the following possible cleanups: - #if 0 the following unused functions: - zlib_deflate/deflate.c: zlib_deflateSetDictionary - zlib_deflate/deflate.c: zlib_deflateParams - zlib_deflate/deflate.c: zlib_deflateCopy - zlib_inflate/infblock.c: zlib_inflate_set_dictionary - zlib_inflate/infblock.c: zlib_inflate_blocks_sync_point - zlib_inflate/inflate_sync.c: zlib_inflateSync - zlib_inflate/inflate_sync.c: zlib_inflateSyncPoint - remove the following unneeded EXPORT_SYMBOL's: - zlib_deflate/deflate_syms.c: zlib_deflateCopy - zlib_deflate/deflate_syms.c: zlib_deflateParams - zlib_inflate/inflate_syms.c: zlib_inflateSync - zlib_inflate/inflate_syms.c: zlib_inflateSyncPoint Signed-off-by: Adrian Bunk Cc: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3af13763d696468d31f71a798155b33f681f221f tree 7a4b68f956cedf415462929139df6dc5385ae25e parent 4610a6bea7742ab34e40dcb776bd3feb52da10d6 author Adrian Bunk Mon, 09 Jan 2006 20:54:06 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:56 -0800 [PATCH] fs/ext3/: small cleanups This patch contains the following cleanups: - there's no need for ext3_count_free() #ifndef EXT3FS_DEBUG - having prototypes for ext3_count_free() in two different headers is nonsense Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4610a6bea7742ab34e40dcb776bd3feb52da10d6 tree 5ab0d7a0e6109cb8e2d80400ba21846b56cc8d54 parent a0aa7d0639277f375989071fb52a7ce78beeef97 author Adrian Bunk Mon, 09 Jan 2006 20:54:05 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:56 -0800 [PATCH] fs/ext2/bitmap.c: ext2_count_free() is only required #ifdef EXT2FS_DEBUG There's no need for ext2_count_free() #ifndef EXT2FS_DEBUG. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a0aa7d0639277f375989071fb52a7ce78beeef97 tree 5189b4cae286c754f5193f6ac465e3fff31732b6 parent 1d64ec153e914cbd60cfaaa47ececed55a9d14d7 author Adrian Bunk Mon, 09 Jan 2006 20:54:04 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:56 -0800 [PATCH] drivers/video/: possible cleanups This patch contains the possible cleanups including the following: - every file should #include the headers containing the prototypes for it's global functions - make needlessly global functions static - kyro/STG4000Interface.h: #include video/kyro.h and linux/pci.h instead of a manual "struct pci_dev" - i810_main.{c,h}: prototypes for static functions belong to the C file Signed-off-by: Adrian Bunk Acked-by: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1d64ec153e914cbd60cfaaa47ececed55a9d14d7 tree 372e6813c0b259ca13f379def799892257b397b6 parent fe971071a89c5c5184fc9f3482c7a8e997cf0520 author Jean Delvare Mon, 09 Jan 2006 20:54:03 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:56 -0800 [PATCH] vr41xx: ARRAY_SIZE cleanup No need to define RTC_NUM_RESOURCES, it doesn't add any value to the code. Signed-off-by: Jean Delvare Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fe971071a89c5c5184fc9f3482c7a8e997cf0520 tree 74a29e80d5636255f33c750482497a32d8d3491f parent 3c6bee1d4037a5c569f30d40bd852a57ba250912 author Tobias Klauser Mon, 09 Jan 2006 20:54:02 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:56 -0800 [PATCH] drivers/char: Use ARRAY_SIZE macro Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove duplicates of ARRAY_SIZE. Signed-off-by: Tobias Klauser Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3c6bee1d4037a5c569f30d40bd852a57ba250912 tree dfa0259ccb4e0c823b81f3e040fb09ab17524bde parent e7c368b7676bbe6145f14fbc87913596c9b93c11 author Jesper Juhl Mon, 09 Jan 2006 20:54:01 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:55 -0800 [PATCH] turn "const static" into "static const" ICC likes to complain about storage class not being first, GCC doesn't care much (except for cases like "inline static"). have a hard time seeing how it could break anything. Thanks to Gabriel A. Devenyi for pointing out http://linuxicc.sourceforge.net/ which is what made me create this patch. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e7c368b7676bbe6145f14fbc87913596c9b93c11 tree 581a3652c0320f2db1b9a69d92f90ee8479ab180 parent e48e99093c9bbb67f95e903d37aef30a969a0153 author Adrian Bunk Mon, 09 Jan 2006 20:54:00 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:55 -0800 [PATCH] drivers/net/irda/irport.c: cleanups This patch contains the following cleanups: - make a needlessly global function static - remove the unneeded global function irport_probe Signed-off-by: Adrian Bunk Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e48e99093c9bbb67f95e903d37aef30a969a0153 tree 6028b62cee789ca66b1b563a7e3fad93897310eb parent 5dd94ed249c7d19934e8738bf60f9554d07e888f author Jesper Juhl Mon, 09 Jan 2006 20:53:59 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:55 -0800 [PATCH] Docs update: small fixes to stable_kernel_rules.txt Small spelling, formating & similar fixes to stable_kernel_rules.txt Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5dd94ed249c7d19934e8738bf60f9554d07e888f tree 3dd2df8720d817683fb91d5186322cdff7697cea parent c63ca3c8b01e8cad4fe8874366e598bcbbdd048e author Jesper Juhl Mon, 09 Jan 2006 20:53:58 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:54 -0800 [PATCH] Docs update: remove obsolete patch from locks.txt Remove obsolete patch from Documentation/locks.txt Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c63ca3c8b01e8cad4fe8874366e598bcbbdd048e tree 5a3710fb478498c1f979a0054a82f0cddbf408d2 parent c594a50db4cbe8b839a70fca0cff524d392531ca author Jesper Juhl Mon, 09 Jan 2006 20:53:57 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:54 -0800 [PATCH] Docs update: small spelling, formating etc fixes for filesystems/ext3.txt Spelling fixes, formating changes and corrections for Documentation/filesystems/ext3.txt Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c594a50db4cbe8b839a70fca0cff524d392531ca tree 0052f2fb8731225d40eeecd1432df552e30b073a parent a6d3fe77dace2c41a32b9699fe78960ab0908a97 author Randy Dunlap Mon, 09 Jan 2006 20:53:56 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:54 -0800 [PATCH] Docs update: typos, corrections and additions to applying-patches.txt Typos/corrections. A few extra additions on top of Randy's fixes. Signed-off-by: Randy Dunlap Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6d3fe77dace2c41a32b9699fe78960ab0908a97 tree 344e0f32ffcfc85d8494abca697d0cba682649b0 parent 0863afb32b77fc89c7110b3d10fb048cb56bb1b5 author Martin Waitz Mon, 09 Jan 2006 20:53:55 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:54 -0800 [PATCH] DocBook: warn for missing macro parameters Previously kernel-doc silently ignored missing parameter descriptions for preprocessor macros. Now that all such omissions are fixed up we can warn about them in kernel-doc to be able to keep it that way. Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0863afb32b77fc89c7110b3d10fb048cb56bb1b5 tree ee9e330dcdd1f7331947afdb0b06be7caf7c98d7 parent 061350e7ecf869ed3c98d962b16a772e9674e283 author Martin Waitz Mon, 09 Jan 2006 20:53:55 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:53 -0800 [PATCH] DocBook: fix kernel-doc comments Fix typos in comments to remove kernel-doc warnings. Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 061350e7ecf869ed3c98d962b16a772e9674e283 tree 77749e51406d16e262fff16697581d3d23b07a2d parent be217ff21c875ee1b8073a4fd07353a7a24a4cfd author Martin Waitz Mon, 09 Jan 2006 20:53:53 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:52 -0800 [PATCH] Add git tree for DocBook Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit be217ff21c875ee1b8073a4fd07353a7a24a4cfd tree e18eee6203d8e1918c2e5170b97ff20c970371e9 parent dc3d28d02e3e83c3147b2afc5e19e3b58d23f31b author Martin Waitz Mon, 09 Jan 2006 20:53:52 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:52 -0800 [PATCH] DocBook: add .gitignore file when ignoring all DocBook output files git-status output becomes meaningful again. Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dc3d28d02e3e83c3147b2afc5e19e3b58d23f31b tree d8db50512067ad53ce999dfea7cf6aa79a416234 parent d060a3218f6a046509fa31939ce1a671b0359086 author Jesper Juhl Mon, 09 Jan 2006 20:53:51 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:52 -0800 [PATCH] CodingStyle correction Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d060a3218f6a046509fa31939ce1a671b0359086 tree 376c5c5909302595e8b56cb6617c4a0246bccc0f parent cae8a12f49972f040bae6707b7707cd93fe9c9ab author Ville Syrjala Mon, 09 Jan 2006 20:53:49 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:52 -0800 [PATCH] Fix console blanking Current console blanking code is broken. It will first do a normal blank, then start the VESA blank timer if vesa_off_interval != 0, and then proceed to do the VESA blanking directly. After the timer expires it will do the VESA blanking a second time. Also the vesa_powerdown() function doesn't allow all VESA modes to be used. With this patch the behaviour is: 1. Blank: vesa_off_interval != 0 -> Do normal blank vesa_off_interval == 0 -> Do VESA blank 2. Start the VESA blank timer if vesa_off_interval != 0 and vesa_power_mode != 0. It also gets rid of the limiting vesa_powerdown() function. Signed-off-by: Ville Syrjala Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cae8a12f49972f040bae6707b7707cd93fe9c9ab tree c898f9bcd31ba14d0f646e191525cb6ef6a09976 parent 74b4f04231b9755106d803ef73b11c3cf6978bcd author Thomas Koeller Mon, 09 Jan 2006 20:53:48 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:52 -0800 [PATCH] non-linear frame buffer read/write access While the code in fbmem.c allows for hooking read/write access to non-linear frame buffers by means of fb_read and fb_write in struct fb_ops, I could not find a way tho access the actual frame buffer memory from within these routines. I therefore had to patch fbmem.c, to be able to retrieve a pointer to struct fb_info from the 'file' argument to these functions. The second hunk of the patch is not strictly required, I only did that for symmetry reasons (and the code is somewhat shorter). Signed-off-by: Thomas Koeller Acked-by: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74b4f04231b9755106d803ef73b11c3cf6978bcd tree f49ffadb92cc5e3a2e24cc5219f0ab52b91ee1c2 parent def1ededb7bfefc8678b4c7251622f7cbe65af94 author YOSHIFUJI Hideaki Mon, 09 Jan 2006 20:53:46 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:51 -0800 [PATCH] fbdev: Typos in Kconfig Signed-off-by: YOSHIFUJI Hideaki Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit def1ededb7bfefc8678b4c7251622f7cbe65af94 tree 4cd264f2ec5e05011db8412c22e0ac2d8dbbf32a parent a39bc34ea8f042e090ade124726ae5a3fd1a51f8 author Antonino A. Daplas Mon, 09 Jan 2006 20:53:45 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:51 -0800 [PATCH] fbdev: Replace kmalloc with kzalloc Replace kmalloc with kzalloc Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a39bc34ea8f042e090ade124726ae5a3fd1a51f8 tree 60dbc6861a9189135d789f305957bbc3f2119c1f parent c5eec03f314e1406829d9683284673203b91b9b8 author Antonino A. Daplas Mon, 09 Jan 2006 20:53:44 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:51 -0800 [PATCH] fbcon: Code cleanups - replace kmalloc with kzalloc - remove repeated define (FONTCHHCNT) - remove unneeded local variable (redraw) in ypan_{up|down}_redraw - add and delete cursor timer in fbcon_switch() if old_info != info Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c5eec03f314e1406829d9683284673203b91b9b8 tree 4c86085890e0c2c9d88645cab4de8c55f462bc80 parent 740f14ba5335d1e25b9f3e80643be801f653cd32 author Antonino A. Daplas Mon, 09 Jan 2006 20:53:43 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:51 -0800 [PATCH] i810fb: Fix suspend and resume hooks The i810fb suspend and resume hooks have suffered bitrot over time. Update to current framework, but functionality still not guaranteed to work. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 740f14ba5335d1e25b9f3e80643be801f653cd32 tree e75417acfc017ac1a0dc1e73b6209758bb98c2e3 parent 918799ab6f278805d4811770e9b18ae36408c17f author Arnaud Patard Mon, 09 Jan 2006 20:53:41 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:51 -0800 [PATCH] s3c2410fb: cleanup and fix Here are some cleanups for the s3c2410fb drivers. It : * Removes a buggy call to s3c2410fb_init_registers. There was two calls to this function but the first was done without all initialisations done. No oops but it may confuse some LCDs. * Makes two functions static. Signed-Off-By: Arnaud Patard Signed-Off-By: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 918799ab6f278805d4811770e9b18ae36408c17f tree f1700579a541c5d99467b965099e3238691ce4d5 parent ade9185a39aa2bc51f95b4899836e59df671d844 author Antonino A. Daplas Mon, 09 Jan 2006 20:53:40 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:51 -0800 [PATCH] nvidiafb: Reduce stack usage Reduce stack usage of NVCommonSetup() Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ade9185a39aa2bc51f95b4899836e59df671d844 tree 6a0975b7ac969ad6d0c09524b226d3c01e97ea6b parent af5d0f7e2b5e9ef369de2aefe51e14ca1e6928f5 author Antonino A. Daplas Mon, 09 Jan 2006 20:53:39 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:50 -0800 [PATCH] nvidiafb: Add boot option 'bpp' Add boot/module option 'bpp' so user can specify at what color depth to boot into. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit af5d0f7e2b5e9ef369de2aefe51e14ca1e6928f5 tree b62bc8f2c9fc4825a1e35669483fe3064f627735 parent 0a484a3af905a256cbdd7079defceac62b39e8fa author Antonino A. Daplas Mon, 09 Jan 2006 20:53:38 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:50 -0800 [PATCH] fbdev: Reduce stack usage calc_mode_timings() and fb_get_mode() are using more than 500 bytes off the stack. Fix. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0a484a3af905a256cbdd7079defceac62b39e8fa tree a7349d0d7d774abca668ce52a58b845958fa79c8 parent 244ab72d84a04d40bd270da604161e02af73fb11 author Antonino A. Daplas Mon, 09 Jan 2006 20:53:37 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:50 -0800 [PATCH] fbdev: Fix return code of fb_read and fb_write Make fb_read() and fb_write() return 0 (EOF) instead of -ENOSPC if reading at or past the end of the framebuffer. This fixes user space apps hanging if info->fix.smem_len == 0. Whitespace changes. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 244ab72d84a04d40bd270da604161e02af73fb11 tree 7a5c97cdcbf0bf6a56a05839ee233a250d4c9eea parent 3f08ff4a4dab1ebef06d154050fb80ce2c13fc9c author Knut Petersen Mon, 09 Jan 2006 20:53:36 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:50 -0800 [PATCH] fbcon: disable ywrap if not supported by fbcon scrolling code updatescrollmode() must not select ywrap scrolling if divides(vc->vc_font.height, yres) is not true as this is not supported by the actual ywrap scrolling code. The bug is triggered with e.g. mode 800x600, vxres 1024, vyres 8192, bpp 8, font dimensions 8x16, 8Mb video ram and FBINFO_HWACCEL_YWRAP set. If those conditions are met, scrolling is broken and garbage is permanently displayed at the bottom of the screen. No regression, no possible side effects. Definitely needed by cyblafb and probably needed by amifb. Signed-off-by: Knut Petersen Acked-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3f08ff4a4dab1ebef06d154050fb80ce2c13fc9c tree e7c685c150638fc47f6665b30ffc819ea8cfbe51 parent d911233fe6632981086942a6b66e7ae5dabaaadc author Adrian Bunk Mon, 09 Jan 2006 20:53:35 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:50 -0800 [PATCH] include/video/newport.h: "extern inline" -> "static inline" "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d911233fe6632981086942a6b66e7ae5dabaaadc tree 6608709b71f04173beb0263c76a66bc1b7b2d4a9 parent c549dc6422e4b720fed6702d70fddd8cee0f5c9a author Antonino A. Daplas Mon, 09 Jan 2006 20:53:34 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:49 -0800 [PATCH] skeletonfb: Documentation update Update skeletonfb so it reflects recent (and somewhat old) changes of the framebuffer layer. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c549dc6422e4b720fed6702d70fddd8cee0f5c9a tree 6050aaf2c7fc679376e98dd383c0fbb6b4317b4e parent a14b2283c5fb8504d15768cbd20fbe337ffdb3d6 author Antonino A. Daplas Mon, 09 Jan 2006 20:53:33 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:49 -0800 [PATCH] nvidiafb: Add support for some pci-e chipsets Chipsets with PCI device ids & 0xf0 == 0x00f0 has their actual chipset type in offset 0x1800 of the mmio space. Add support for this. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a14b2283c5fb8504d15768cbd20fbe337ffdb3d6 tree 53c598fb07cb6c12170aff5b86b3b41568b318c9 parent 0c23b67c49e239e40fad3947483815637e5f1790 author Ville Syrjälä Mon, 09 Jan 2006 20:53:32 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:49 -0800 [PATCH] atyfb: LT/LG cleanup Clean up LT and LG chip descriptions. "Mach64 LG" is called 3D Rage LT in the specs and ATI press releases. "Mach64 LT" is unclear. XFree86 driver doesn't know this chip at all. Windows display.inf calls it just "mach64 LT" and it uses the same driver as VT-A/GT-A and older chips. VT-B/GT-B and better use another driver and all of those chips have a more descriptive name in the display.inf file. That makes me think this chip is not a 3D Rage chip. Signed-off-by: Ville Syrjälä Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c23b67c49e239e40fad3947483815637e5f1790 tree 1e3b29be3cb4680f1eb07a02e0407c40a3d15c3d parent 69b569f5c0b47c33fec4e35921368e43cbe089a5 author Ville Syrjälä Mon, 09 Jan 2006 20:53:31 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:49 -0800 [PATCH] atyfb: VT/GT cleanup Clean up VT and GT chip descriptions. All B revision VT chips are called 264VT3. Verified from pictures of the chips as the specs are a bit unlear in this. GT revision B1 is Rage II, B2 is Rage II+. Specs and chip pictures seem to agree. VT revision A4 is 264VT2. Revision A3 is probably a plain 264VT. Signed-off-by: Ville Syrjälä Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69b569f5c0b47c33fec4e35921368e43cbe089a5 tree 7dd2d7cc4eb75a5f09884ffb343dad7b67526f95 parent 480913fe42ae2ff2c821a9e12e6e3eac28d7d730 author Ville Syrjälä Mon, 09 Jan 2006 20:53:30 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:49 -0800 [PATCH] atyfb: Rage XL/XC cleanup Clean up Rage XL/XC chip descriptions. Signed-off-by: Ville Syrjälä Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 480913fe42ae2ff2c821a9e12e6e3eac28d7d730 tree 8e4e577dd0f07a636e821a937c8b76407f7976a0 parent 25163c56ed88a3009e7c1d808d3a052357301d63 author Ville Syrjälä Mon, 09 Jan 2006 20:53:28 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:49 -0800 [PATCH] atyfb: Improve blanking Force blanking signal and disable display requests when blanked. Don't disable LCD backlight with FB_BLANK_NORMAL. Signed-off-by: Ville Syrjälä Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 25163c56ed88a3009e7c1d808d3a052357301d63 tree 8b70b0c0e0cb1d84b1e9b75ebe57088a52c510ac parent e98cef1e9e0ef0c5c02f6f3daa4da7956ad1c9ea author Ville Syrjälä Mon, 09 Jan 2006 20:53:27 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:48 -0800 [PATCH] atyfb: Set ECP divider Set ECP (scaler/overlay clock) divider. The limits were taken from the XFree86 ati driver. Signed-off-by: Ville Syrjälä Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e98cef1e9e0ef0c5c02f6f3daa4da7956ad1c9ea tree 8aa0f1d9ae9e6750fa7899af1bd902591e6e70b1 parent a87d7fddbd7f46475842431d153d35bd03cf4f63 author Ville Syrjälä Mon, 09 Jan 2006 20:53:26 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:48 -0800 [PATCH] atyfb: Don't stretch with CRT The overlay on 3D Rage LT Pro doesn't work correctly if stretching is enabled when using only a CRT. Signed-off-by: Ville Syrjälä Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a87d7fddbd7f46475842431d153d35bd03cf4f63 tree ea069c0462c3a247038d9186110bab2db03fc5fe parent 50c839c7b5e7d7cc3443176f5d5458e134b0b189 author Ville Syrjälä Mon, 09 Jan 2006 20:53:25 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:48 -0800 [PATCH] atyfb: Fix interlaced modes Fix interlaced display modes. Signed-off-by: Ville Syrjälä Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 50c839c7b5e7d7cc3443176f5d5458e134b0b189 tree 58c9f0f765b285782e80c752a8dd7c175f808b31 parent 866d84cec0d37bd6a54428b66fed01e7b7aceeb3 author Ville Syrjälä Mon, 09 Jan 2006 20:53:23 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:48 -0800 [PATCH] atyfb: Fix CRTC_FIFO_LWM mask CRTC_FIFO_LWM was incorrectly masked. Signed-off-by: Ville Syrjälä Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 866d84cec0d37bd6a54428b66fed01e7b7aceeb3 tree 16755efe0c524533515386b72f96e67450b3fa77 parent cd4617bef436a3342a959fe7ca870bb10d59d509 author Ville Syrjälä Mon, 09 Jan 2006 20:53:22 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:47 -0800 [PATCH] atyfb: Reduce verbosity Don't complain about invalid modes when FB_ACTIVATE_TEST is used. Signed-off-by: Ville Syrjälä Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cd4617bef436a3342a959fe7ca870bb10d59d509 tree 628be135bbd887e0ec036ad3fc1a6bbe2c4c8944 parent c49a2bf7993c38b452017e729646e86815b7a51d author Ville Syrjälä Mon, 09 Jan 2006 20:53:21 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:47 -0800 [PATCH] atyfb: Fix spelling Fix some spelling mistakes. Signed-off-by: Ville Syrjälä Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c49a2bf7993c38b452017e729646e86815b7a51d tree ed4be8787e99700653cb7f16e0d5cf6865bdcc9b parent e53f87a02a0d77c519fb93c7aa0912956294050c author Antonino A. Daplas Mon, 09 Jan 2006 20:53:19 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:47 -0800 [PATCH] vga16fb: Trim vga16fb_pan_display Remove error checking and updating from vga16fb_pan_display. This is guaranteed to be done by the core layer. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e53f87a02a0d77c519fb93c7aa0912956294050c tree 91d982c47fcb9795b9c87edb29613253be50bd34 parent f845fbac4e68573351965d9aaf626a63cc4151c7 author Antonino A. Daplas Mon, 09 Jan 2006 20:53:18 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:47 -0800 [PATCH] Fix vesafb display panning regression Fix vesafb hang when scroll mode is REDRAW. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f845fbac4e68573351965d9aaf626a63cc4151c7 tree e644f9ea48b829c37b466b2bc7aa29e1dfb71600 parent 32cf8c1e50ac9d49f348e886c6e664cdc37aaead author Antonino A. Daplas Mon, 09 Jan 2006 20:53:17 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:47 -0800 [PATCH] vesafb: Trim vesafb_pan_display Remove error checking from vesafb_pan_display. This is guaranteed to be done by the core layer. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 32cf8c1e50ac9d49f348e886c6e664cdc37aaead tree 53c930adb8784295f548d6e8e707e0ec9c6ddbb9 parent 198a52a1c490be89a8d5d130eda972630919e0af author Antonino A. Daplas Mon, 09 Jan 2006 20:53:16 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:47 -0800 [PATCH] savagefb: Trim savagefb_pan_display Remove error checking and updating from savagefb_pan_display. This is guaranteed to be done by the core layer. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 198a52a1c490be89a8d5d130eda972630919e0af tree f27d8f7b9fd962262b39cf1a7a95d12fb3c143d0 parent 7227576f4b9dcffe32f8e6b228361b38814bbe7f author Antonino A. Daplas Mon, 09 Jan 2006 20:53:15 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:46 -0800 [PATCH] rivafb: Trim rivafb_pan_display Remove error checking and updating from rivafb_pan_display. This is guaranteed to be done by the core layer. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7227576f4b9dcffe32f8e6b228361b38814bbe7f tree 57b0db8a19a4005cb4d550127fa9daf557d61191 parent cb639258f92b2407c50f79a95364f42932481389 author Antonino A. Daplas Mon, 09 Jan 2006 20:53:14 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:46 -0800 [PATCH] fbdev: sstfb: Driver cleanups - remove unneeded casts - make setcolreg return success if regno > 15, but don't do anything - use framebuffer_alloc/framebuffer_release to allocate/free memory Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cb639258f92b2407c50f79a95364f42932481389 tree bb069095848bf723f4bfd06e027e6c467b8931b3 parent 313e58ab362473fb471f32b7bf86587f7c627a11 author Antonino A. Daplas Mon, 09 Jan 2006 20:53:13 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:46 -0800 [PATCH] fbdev: atyfb: Remove BIOS-less booting CONFIG_ATYFB_XL_INIT option is broken for a long time. It will always cause a kernel hang. Since no one has fixed this problem for some time now, remove it from atyfb. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 313e58ab362473fb471f32b7bf86587f7c627a11 tree e9c5e7611388186b6e157746f086b2dae0df341c parent a807f618b62594467a52b488912bd77606af0572 author Antonino A. Daplas Mon, 09 Jan 2006 20:53:12 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:46 -0800 [PATCH] fbdev: fbdev: Cleanup - remove unneeded casts Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a807f618b62594467a52b488912bd77606af0572 tree c91985182777dadd852ef6d08346b0b1fc42250a parent 6772a2ee9d5992a712b46990f39249c500e0221f author Antonino A. Daplas Mon, 09 Jan 2006 20:53:11 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:46 -0800 [PATCH] fbdev: tdfxfb: Driver cleanups - remove unneeded casts - move memory for pseudo_palette inside struct tdfxfb_par - whitespace changes Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6772a2ee9d5992a712b46990f39249c500e0221f tree a23e391d6b8ad9bcb311aca5193ec9ec9dec2d05 parent 9f19bc56c3ce7d9a1c7159c2456d9b50883930e6 author Antonino A. Daplas Mon, 09 Jan 2006 20:53:10 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:45 -0800 [PATCH] fbdev: pm2fb: Driver cleanups - remove unneeded casts - move memory for pseudo_palette inside struct pm2fb_par Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f19bc56c3ce7d9a1c7159c2456d9b50883930e6 tree 21217a3e16d0faec9feb9636d8771c7e7e961cc0 parent a26968df0110bc2117e5572a07e285b183e68736 author Antonino A. Daplas Mon, 09 Jan 2006 20:53:09 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:45 -0800 [PATCH] fbdev: neofb: Driver cleanups - remove unneeded casts - move memory for pseudo_palette inside struct neofb_par Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a26968df0110bc2117e5572a07e285b183e68736 tree 09aa54089508c0785ec6996709b5642c3b75f91c parent 94f9e09ce531d48b2e46208f9b1c8733a74c22de author Antonino A. Daplas Mon, 09 Jan 2006 20:53:08 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:45 -0800 [PATCH] fbdev: kyrofb: Driver cleanups - remove unneeded casts - use framebuffer_alloc/framebuffer_release to allocate/free memory - the pseudo_palette is always u32 regardless of bpp if using generic drawing functions Signed-off-by: Antonino Daplas Acked-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 94f9e09ce531d48b2e46208f9b1c8733a74c22de tree 5abef48d934736ce028e84c98b4e8d2bba68dd77 parent 1d204ef3e4ea61058e49453af393ca754b529b85 author Antonino A. Daplas Mon, 09 Jan 2006 20:53:07 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:45 -0800 [PATCH] fbdev: imsttfb: Driver cleanups - remove unneeded casts - the pseudo_palette, if using the generic drawing functions, must always be u32 regardless of the bpp - use framebuffer_alloc/framebuffer_release to allocate memory Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1d204ef3e4ea61058e49453af393ca754b529b85 tree e915e9079be964b5d5681054516b301b49d87951 parent 2a9f61702608b6ae7905063278b832439e608938 author Antonino A. Daplas Mon, 09 Jan 2006 20:53:06 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:45 -0800 [PATCH] fbdev: hgafb: Convert to platform device - convert to platform device Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a9f61702608b6ae7905063278b832439e608938 tree 87c291f52a190682e7c5580580219ea82361382f parent f4a41836f1215ae1835c3f00316b20bb32cbfe99 author Antonino A. Daplas Mon, 09 Jan 2006 20:53:05 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:45 -0800 [PATCH] fbdev: asiliantfb: Driver cleanups - allocate just enough space for the pseudo_palette Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f4a41836f1215ae1835c3f00316b20bb32cbfe99 tree 1a6b19d4a562f41b06392845df85fecfb9fdcbc1 parent c019c0ec97548d545c42961e960cbe2e8a6aabe9 author Antonino A. Daplas Mon, 09 Jan 2006 20:53:04 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:44 -0800 [PATCH] fbdev: rivafb: Driver cleanups - remove redundant casts Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c019c0ec97548d545c42961e960cbe2e8a6aabe9 tree 3a1eb5ba31af5633a7d3e7bb178562919e9509a6 parent b8901b091db260b0f0101d6395ce5c6016835a47 author Antonino A. Daplas Mon, 09 Jan 2006 20:53:03 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:44 -0800 [PATCH] fbdev: i810fb: Driver cleanups - remove redundant casts Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b8901b091db260b0f0101d6395ce5c6016835a47 tree c68cfe12b00da435e30fbba83df5e1a7e956896e parent c439e345425434f07df333083794fc8864cee9ca author Antonino A. Daplas Mon, 09 Jan 2006 20:53:02 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:44 -0800 [PATCH] fbdev: savagefb: Driver cleanup - remove redundant casts - remove symbol_get/symbol_put Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c439e345425434f07df333083794fc8864cee9ca tree fb03b4105601a175b5adccdeebd137e2e8fe9e6c parent 30420f8f464975f7f26e8195f60569dfed6ac060 author Antonino A. Daplas Mon, 09 Jan 2006 20:53:02 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:44 -0800 [PATCH] fbdev: nvidiafb: Driver cleanup - remove redundant casts - add mode_option to module parameter Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30420f8f464975f7f26e8195f60569dfed6ac060 tree db9f694f6fedbc984aa42144a46000a6527a8640 parent c35dba601728412f67801792107d3dddd1f3ada1 author Matthew Garrett Mon, 09 Jan 2006 20:53:01 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:44 -0800 [PATCH] Add sysfs entry to disable framebuffer access What commit c35dba601728412f67801792107d3dddd1f3ada1 tree 8fe67ba50d8bbb78d2e161b90be3c4c223c37c72 parent f3e21169b84a80b35d81a2b9fd97eb0b7d73d3f9 author Jean Delvare Mon, 09 Jan 2006 20:52:59 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:44 -0800 [PATCH] savagefb: One more I2C-enabled device in savagefb The I2C bus of the S3 Savage2000 is supposed to work the same way the Savage4 does. At least, the legacy i2c-savage4 driver handled both devices the same way. I do not have the hardware to test this, so testers are welcome. Signed-off-by: Jean Delvare Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f3e21169b84a80b35d81a2b9fd97eb0b7d73d3f9 tree 6e325cb0150f434924cb93a2a55fdb761f15fd61 parent 04a2fe574ad10156266fcdb50adf30ebedad76fb author Antonino A. Daplas Mon, 09 Jan 2006 20:52:58 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:43 -0800 [PATCH] matroxfb: Remove fbcon.h from the main header file matroxfb has no need for struct display and fbcon.h. Remove. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 04a2fe574ad10156266fcdb50adf30ebedad76fb tree 9ec7800eaaeccc9fcf48d018c360ebf9a280163a parent 2610acc7ab36d7657d9a0c97a0e83cd1d6ee2b33 author Antonino A. Daplas Mon, 09 Jan 2006 20:52:58 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:43 -0800 [PATCH] fbcon: Store struct display when setting all vcs Store struct display when setting all vc's. Otherwise, fbcon's behavior becomes undefined, such as malpositioning of the cursor. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2610acc7ab36d7657d9a0c97a0e83cd1d6ee2b33 tree e96871db75afb185404411614017622ac94f78ae parent b73deed32d08740bdbf5f4aab43d988e4d135d95 author Alessandro Zummo Mon, 09 Jan 2006 20:52:57 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:43 -0800 [PATCH] nvidiafb: i2c bus name beautification Assign nvidiafb's i2c busses a better name. Signed-off-by: Alessandro Zummo Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b73deed32d08740bdbf5f4aab43d988e4d135d95 tree 75d78d58fc1a20f6387d1e152bce148398a93836 parent 8416131ded5e491ecc2947d1ffaedf64725bb7a3 author Antonino A. Daplas Mon, 09 Jan 2006 20:52:56 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:42 -0800 [PATCH] fbcon: Sanitize fbcon Do not pass the structure display since fbcon is already keeping the pointer to the current display. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8416131ded5e491ecc2947d1ffaedf64725bb7a3 tree 2567482d480da5d320cc7af065f03716e41dbbd6 parent 2b4f2f4b0132afa9f441171285cca354377bf5d0 author Richard Knutsson Mon, 09 Jan 2006 20:52:55 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:42 -0800 [PATCH] aty: remove unnecessary CONFIG_PCI Signed-off-by: Richard Knutsson Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2b4f2f4b0132afa9f441171285cca354377bf5d0 tree 5f940818050fc272beb2d98294ee5f6eec287113 parent 532347e2bbae9e849816dc7b12a3d0f2c42d4944 author Antonino A. Daplas Mon, 09 Jan 2006 20:52:54 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:42 -0800 [PATCH] vesafb: Drop blank hook From: Bugzilla Bug 5351 "After resuming from S3 (suspended while in X), the LCD panel stays black . However, the laptop is up again, and I can SSH into it from another machine. I can get the panel working again, when I first direct video output to the CRT output of the laptop, and then back to LCD (done by repeatedly hitting Fn+F5 buttons on the Toshiba, which directs output to either LCD, CRT or TV) None of this ever happened with older kernels." This bug is due to the recently added vesafb_blank() method in vesafb. It works with CRT displays, but has a high incidence of problems in laptop users. Since CRT users don't really get that much benefit from hardware blanking, drop support for this. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 532347e2bbae9e849816dc7b12a3d0f2c42d4944 tree 5705f688cd0cd35684126c66a684492f5344dc0d parent e866cfa939de7f52c154a9495eb5767f89abf453 author Ingo Molnar Mon, 09 Jan 2006 20:52:53 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:42 -0800 [PATCH] nfs: sleep_on() removal Convert sleep_on() to wait_event_timeout(). Probably safe with the BKL but could be racy once BKL use in NFS-client is gone. Acked-by: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e866cfa939de7f52c154a9495eb5767f89abf453 tree 331c6c08848597ea5674ebccb51f31a045bd1e30 parent 632d6407afb58ef125bf7e82a2e8af27d0704b56 author Oleg Drokin Mon, 09 Jan 2006 20:52:51 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:41 -0800 [PATCH] d_instantiate_unique / NFS inode leakage If we have found aliased dentry that we return, inode reference is not dropped and inode is not attached anywhere, so it seems the reference to inode is leaked in that case. Cc: Trond Myklebust , Cc: Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 632d6407afb58ef125bf7e82a2e8af27d0704b56 tree a0321dd1dd91993b811b53045f9dfc8da1b5c831 parent f86e7767990c0d63f0630cbf6018b6996f9ecde5 author Jiri Slaby Mon, 09 Jan 2006 20:52:51 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:41 -0800 [PATCH] media-radio: Maestro radio delete owner line from video device fops is used for module handling with ownership. Signed-off-by: Jiri Slaby Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f86e7767990c0d63f0630cbf6018b6996f9ecde5 tree 0da8c5077c264e4c4ebb3a708a15853f91545124 parent 0eaa21fdfe2c50ba27456730cd8da8782cddaf6f author Jiri Slaby Mon, 09 Jan 2006 20:52:50 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:41 -0800 [PATCH] media-radio: Maestro avoid accessing private structures directly video_device.priv is not allowed to touch and it will be actually removed in near future. Use video_get_drvdata() instead. Signed-off-by: Jiri Slaby Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0eaa21fdfe2c50ba27456730cd8da8782cddaf6f tree be36ce5c79f957aec77e2e510f0fb16eb04f38a7 parent 6a2cf8eed7f9c8dcc08785259cd179fcb317b120 author Jiri Slaby Mon, 09 Jan 2006 20:52:49 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:41 -0800 [PATCH] media-radio: Maestro types change __u16 --> u16 and so on Signed-off-by: Jiri Slaby Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a2cf8eed7f9c8dcc08785259cd179fcb317b120 tree a914e519d73f8bc4ee2033833ababec3922d56d9 parent 89dad8f07fa244d64459ecd9499bc314dc617598 author Jiri Slaby Mon, 09 Jan 2006 20:52:48 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:41 -0800 [PATCH] media-radio: Maestro radio Lindent Maestro radio Lindent + some handwork Signed-off-by: Jiri Slaby Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 89dad8f07fa244d64459ecd9499bc314dc617598 tree ac502de4c104c7038257947c72dde569e9b30ad1 parent a0d50069ed3620e9a4d8939bbc3e0d5a692ab58a author Jiri Slaby Mon, 09 Jan 2006 20:52:47 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:41 -0800 [PATCH] media-radio: Pci probing for maestro radio - Pci probing functions added, some functions were rewrited. - Use PCI_DEVICE macro. - dev_* used for printing when pci_dev available. - some static variables changed to dynamicto allow operation with multiple cards. - Deleted macros for DEVICE_IDS, they are in pci_ids.h yet. Signed-off-by: Jiri Slaby Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a0d50069ed3620e9a4d8939bbc3e0d5a692ab58a tree 219097fa753bfe0dc8f3d6290fc6aa20730005fe parent 0498b63504f818e5ab39c818cd6f7b41319a1187 author Keshavamurthy Anil S Mon, 09 Jan 2006 20:52:46 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:41 -0800 [PATCH] Kprobes: conversion from kcalloc to kzalloc Signed-of-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0498b63504f818e5ab39c818cd6f7b41319a1187 tree d040fd5e2703f9ad601c6949f58ea29e8554154e parent e597c2984c64609c6e1e1ac803f00f7550705860 author Ananth N Mavinakayanahalli Mon, 09 Jan 2006 20:52:46 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:40 -0800 [PATCH] kprobes: fix build breakage The following patch (against 2.6.15-rc5-mm3) fixes a kprobes build break due to changes introduced in the kprobe locking in 2.6.15-rc5-mm3. In addition, the patch reverts back the open-coding of kprobe_mutex. Signed-off-by: Ananth N Mavinakayanahalli Acked-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e597c2984c64609c6e1e1ac803f00f7550705860 tree 199bac97827782dcd73283018ec5692b63812fac parent f709b122343fb9a010b6cf2d5559641f1820f7c9 author Anil S Keshavamurthy Mon, 09 Jan 2006 20:52:45 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:40 -0800 [PATCH] kprobes: arch_remove_kprobe Currently arch_remove_kprobes() is only implemented/required for x86_64 and powerpc. All other architecture like IA64, i386 and sparc64 implementes a dummy function which is being called from arch independent kprobes.c file. This patch removes the dummy functions and replaces it with #define arch_remove_kprobe(p, s) do { } while(0) Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f709b122343fb9a010b6cf2d5559641f1820f7c9 tree 5019515d4debd995570ffd35b6311fdd26456306 parent 49a2a1b83ba6fa40c41968d6a28ba16e7ed0c3f7 author Keshavamurthy Anil S Mon, 09 Jan 2006 20:52:44 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:40 -0800 [PATCH] kprobes-changed-from-using-spinlock-to-mutex fix Based on some feedback from Oleg Nesterov, I have made few changes to previously posted patch. Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 49a2a1b83ba6fa40c41968d6a28ba16e7ed0c3f7 tree f257b535d0f09f9ac2531d40feb732349993665c parent 41dead49ccb4d7f0a34d56478f487342a3c3ab2b author Anil S Keshavamurthy Mon, 09 Jan 2006 20:52:43 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:40 -0800 [PATCH] kprobes: changed from using spinlock to mutex Since Kprobes runtime exception handlers is now lock free as this code path is now using RCU to walk through the list, there is no need for the register/unregister{_kprobe} to use spin_{lock/unlock}_isr{save/restore}. The serialization during registration/unregistration is now possible using just a mutex. In the above process, this patch also fixes a minor memory leak for x86_64 and powerpc. Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 41dead49ccb4d7f0a34d56478f487342a3c3ab2b tree 6782eeedac60688b328394971066dad1b6bfa302 parent 2d14e39da8712cff8a92298f464a25afb4283ccf author Anil S Keshavamurthy Mon, 09 Jan 2006 20:52:42 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:40 -0800 [PATCH] kprobes: cleanup include/asm/kprobes.h The arch specific kprobes.h files never gets included when CONFIG_KPROBES is turned off. Hence check for CONFIG_KPROBES is not appropriate here in this arch specific kprobes.h files. Also the below defined function kprobes_exception_notify() is not needed when CONFIG_KPROBES is off. Compile tested for both CONFIG_KPROBES=y and N. Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d14e39da8712cff8a92298f464a25afb4283ccf tree 17de4fe24f4cba62b0fd2f611c3a031a98412d8d parent d1c0b8f835aeba85aa428aaec6d521ef4639c7fa author Anil S Keshavamurthy Mon, 09 Jan 2006 20:52:41 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:39 -0800 [PATCH] kprobes: enable funcions only for required arch Kernel/kprobes.c defines get_insn_slot() and free_insn_slot() which are currently required _only_ for x86_64 and powerpc (which has no-exec support). FYI, get{free}_insn_slot() functions manages the memory page which is mapped as executable, required for instruction emulation. This patch moves those two functions under __ARCH_WANT_KPROBES_INSN_SLOT and defines __ARCH_WANT_KPROBES_INSN_SLOT in arch specific kprobes.h file. Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d1c0b8f835aeba85aa428aaec6d521ef4639c7fa tree c998a5285cd75d540be20ee6e4aa7ebff0cfe7f9 parent caf3c9dc56f5758ca6016513e2790a151bf2077d author Matt Helsley Mon, 09 Jan 2006 20:52:40 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:39 -0800 [PATCH] Remove getnstimestamp() Remove getnstimestamp() in favor of ktime.h's ktime_get_ts() Signed-off-by: Matt Helsley Cc: john stultz Cc: Thomas Gleixner Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit caf3c9dc56f5758ca6016513e2790a151bf2077d tree a2e4abc86d44529bf24b9cfe3cb673a9ce605e02 parent 69778e325c3007c8c8a653fcee2c298ffe071fd4 author Matt Helsley Mon, 09 Jan 2006 20:52:40 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:39 -0800 [PATCH] Switch getnstimestamp() calls to ktime_get_ts() Use ktime_get_ts() to take the timestamp instead of getnstimestamp(). This patch prepares to remove getnstimestamp() by switching its only user to a different function with almost exactly the same code. Signed-off-by: Matt Helsley Cc: john stultz Cc: Thomas Gleixner Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69778e325c3007c8c8a653fcee2c298ffe071fd4 tree 8ed3d8f9ac20449ea01a161539ceddb72deb4d78 parent becf8b5d00f4b47e847f98322cdaf8cd16243861 author Matt Helsley Mon, 09 Jan 2006 20:52:39 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:39 -0800 [PATCH] Export ktime_get_ts() This series removes the getnstimestamp() function from kernel/time.c in favor of kernel/hrtimer.c's ktime_get_ts() function which currently does exactly the same thing: retrieves a high-resolution (ns) timespec structure and performs the wall_to_monotonic adjustment. This patch: Export ktime_get_ts() to be used as a timestamp function since it uses getnstimefoday() and does the wall_to_monotonic adjustment. Signed-off-by: Matt Helsley Cc: john stultz Cc: Thomas Gleixner Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit becf8b5d00f4b47e847f98322cdaf8cd16243861 tree 152ba7583324c64d34ecc70d5401957ca7225761 parent 97735f25d2ba898ec5e13746451525580631c834 author Thomas Gleixner Mon, 09 Jan 2006 20:52:38 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:39 -0800 [PATCH] hrtimer: convert posix timers completely - convert posix-timers.c to use hrtimers - remove the now obsolete abslist code Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 97735f25d2ba898ec5e13746451525580631c834 tree a6da1078f04bec45967bd83f340b6f7bde731f5d parent 6ba1b91213e81aa92b5cf7539f7d2a94ff54947c author Thomas Gleixner Mon, 09 Jan 2006 20:52:37 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:38 -0800 [PATCH] hrtimer: switch clock_nanosleep to hrtimer nanosleep API Switch clock_nanosleep to use the new nanosleep functions in hrtimer.c Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ba1b91213e81aa92b5cf7539f7d2a94ff54947c tree 0d461bf7c7f444a80d09f09501e9fb378a78220f parent 10c94ec16dd187f8d8dfdbb088e98330c05bf03c author Thomas Gleixner Mon, 09 Jan 2006 20:52:36 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:38 -0800 [PATCH] hrtimer: switch sys_nanosleep to hrtimer convert sys_nanosleep() to use hrtimer_nanosleep() Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 10c94ec16dd187f8d8dfdbb088e98330c05bf03c tree d24036d92c24cea0c1cd163409177ecb735468e6 parent 2ff678b8da6478d861c1b0ecb3ac14575760e906 author Thomas Gleixner Mon, 09 Jan 2006 20:52:35 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:38 -0800 [PATCH] hrtimer: create hrtimer nanosleep API introduce the hrtimer_nanosleep() and hrtimer_nanosleep_real() APIs. Not yet used by any code. Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ff678b8da6478d861c1b0ecb3ac14575760e906 tree 0ca983ce820ac8bb9f6e8b193926e0804116a7e0 parent df78488de7befd387e9d060da6e18bb5d1cb882c author Thomas Gleixner Mon, 09 Jan 2006 20:52:34 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:38 -0800 [PATCH] hrtimer: switch itimers to hrtimer switch itimers to a hrtimers-based implementation Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit df78488de7befd387e9d060da6e18bb5d1cb882c tree a7a1560a07dceece15acbbc18ad8c96e7f2ced2a parent c0a3132963db68f1fbbd0e316b73de100fee3f08 author Thomas Gleixner Mon, 09 Jan 2006 20:52:33 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:37 -0800 [PATCH] hrtimer: hrtimer documentation add hrtimer docbook and design document Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c0a3132963db68f1fbbd0e316b73de100fee3f08 tree cdd76aacf0ca7ae7780696a06bf9643f8b245ba1 parent 97fc79f97b1111c80010d34ee66312b88f531e41 author Thomas Gleixner Mon, 09 Jan 2006 20:52:32 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:37 -0800 [PATCH] hrtimer: hrtimer core code hrtimer subsystem core. It is initialized at bootup and expired by the timer interrupt, but is otherwise not utilized by any other subsystem yet. Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 97fc79f97b1111c80010d34ee66312b88f531e41 tree a76e39521541dd3067e653f4463df5b651cf38af parent f8f46da3b4cbb03b43a102b1eb92b63419e10f90 author Thomas Gleixner Mon, 09 Jan 2006 20:52:31 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:37 -0800 [PATCH] hrtimer: introduce ktime_t time format - introduce ktime_t: nanosecond-resolution time format. - eliminate the plain s64 scalar type, and always use the union. This simplifies the arithmetics. Idea from Roman Zippel. Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f8f46da3b4cbb03b43a102b1eb92b63419e10f90 tree e27636e88406d96ddae4687267f4854171303c8d parent 718bcceb5ad72a5def2c2fd1fa3ef964be32a857 author Thomas Gleixner Mon, 09 Jan 2006 20:52:30 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:37 -0800 [PATCH] hrtimer: introduce nsec_t type and conversion functions - introduce the nsec_t type - basic nsec conversion routines: timespec_to_ns(), timeval_to_ns(), ns_to_timespec(), ns_to_timeval(). Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 718bcceb5ad72a5def2c2fd1fa3ef964be32a857 tree a38a49d1af0896acfb00c26f3a9e288071207cc3 parent 5f82b2b77e66d452c3037cc47f436d2d76fd5f06 author Thomas Gleixner Mon, 09 Jan 2006 20:52:29 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:37 -0800 [PATCH] hrtimer: validate timespec of do_sys_settimeofday Check if the timespec which is provided from user space is normalized. Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5f82b2b77e66d452c3037cc47f436d2d76fd5f06 tree c3c5f11d7160fa4651ca1acf5d927a7546c3d725 parent 2a698971941bf5e6ebe96275f7d5318b2cf91ccf author Thomas Gleixner Mon, 09 Jan 2006 20:52:29 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:36 -0800 [PATCH] hrtimer: create and use timespec_valid macro add timespec_valid(ts) [returns false if the timespec is denorm] Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a698971941bf5e6ebe96275f7d5318b2cf91ccf tree 89440360d61ec88a52023682fb670aa7f77ed40b parent a924b04ddea9788e09f387fe19ccbede5f09ddd8 author Thomas Gleixner Mon, 09 Jan 2006 20:52:28 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:36 -0800 [PATCH] hrtimer: coding style and white space cleanup 2 style/whitespace/macro cleanups of posix-timers.h Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a924b04ddea9788e09f387fe19ccbede5f09ddd8 tree aa519a2427b7686d35ceae764d3e37d69a6ae5e8 parent 57a558757bdbb877b54ed5ea15bd0892e02a707d author Thomas Gleixner Mon, 09 Jan 2006 20:52:27 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:36 -0800 [PATCH] hrtimer: make clockid_t arguments const add const arguments to the posix-timers.h API functions Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 57a558757bdbb877b54ed5ea15bd0892e02a707d tree cb69858c09d4b8496534f67ab723692d06261b2f parent 1ad106ca185e66dc312518e18e2ffaedf376a160 author Ingo Molnar Mon, 09 Jan 2006 20:52:26 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:36 -0800 [PATCH] hrtimer: coding style and white space cleanup style and whitespace cleanup of the rest of time.h. Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1ad106ca185e66dc312518e18e2ffaedf376a160 tree f0a146dbf96e48af86df108472e3f8443fe4a9e3 parent 0c4f6eeca98a805fd0c2536b55039383eb56d2ba author Ingo Molnar Mon, 09 Jan 2006 20:52:25 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:36 -0800 [PATCH] hrtimer: coding style clean up of clock constants clean up the CLOCK_ portions of time.h Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c4f6eeca98a805fd0c2536b55039383eb56d2ba tree 9f24c228b7035d348980072d9cd25fa1fbc08c73 parent 199e7056895c8427dec63e1d9841ceafcfaaf314 author Thomas Gleixner Mon, 09 Jan 2006 20:52:25 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:35 -0800 [PATCH] hrtimer: remove unused clock constants remove unused CLOCK_ constants from time.h Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 199e7056895c8427dec63e1d9841ceafcfaaf314 tree b59eca8403ca504287228dde91d6f7aeb67b8c12 parent f4818900fa3ee1c56e96f6dede7cc4c05ed383d1 author Andrew Morton Mon, 09 Jan 2006 20:52:24 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:35 -0800 [PATCH] hrtimer: export deinlined mktime This is now uninlined, but some modules use it. Make it a non-GPL export, since the inlined mktime() was also available that way. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f4818900fa3ee1c56e96f6dede7cc4c05ed383d1 tree 63a53f60a01a33c1c6e755ba16b05de33008bb3d parent 753be6222728996974e9e12c185108fcabbb7c6e author Ingo Molnar Mon, 09 Jan 2006 20:52:23 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:35 -0800 [PATCH] hrtimer: clean up mktime and make arguments const add 'const' to mktime arguments, and clean it up a bit Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 753be6222728996974e9e12c185108fcabbb7c6e tree e7bce7ef8885919c2f0c11dbfe2e6d8c289096c3 parent 67924be88607303a4459fe1c7dcd75527c338cf4 author Thomas Gleixner Mon, 09 Jan 2006 20:52:22 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:35 -0800 [PATCH] hrtimer: deinline mktime and set_normalized_timespec mktime() and set_normalized_timespec() are large inline functions used in many places: deinline them. From: George Anzinger, off-by-1 bugfix Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 67924be88607303a4459fe1c7dcd75527c338cf4 tree d95bdeb27c4a57bc866c6c7c865813f076ead3dc parent 5cca7619a562c9d98a3a0123dc878d79bf3c8fb3 author Thomas Gleixner Mon, 09 Jan 2006 20:52:21 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:35 -0800 [PATCH] hrtimer: remove duplicate div_long_long_rem implementation make posix-timers.c use the generic calc64.h facility Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5cca7619a562c9d98a3a0123dc878d79bf3c8fb3 tree 5efaebf38b6e546e8653f010209bbe3a29831810 parent af4cd3fe4cfa75ca74f8d8622867371289043a8d author Thomas Gleixner Mon, 09 Jan 2006 20:52:20 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:35 -0800 [PATCH] hrtimer: move div_long_long_rem out of jiffies.h move div_long_long_rem() from jiffies.h into a new calc64.h include file, as it is a general math function useful for other things than the jiffy code. Convert it to an inline function Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit af4cd3fe4cfa75ca74f8d8622867371289043a8d tree 70dc7836a98758578628a96dc609a0c67f78dffb parent 7ff92053ddff48d9d7908a353bd85f893944463e author Brian Gerst Mon, 09 Jan 2006 20:52:18 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:34 -0800 [PATCH] Generic ioctl.h Most arches copied the i386 ioctl.h. Combine them into a generic header. Signed-off-by: Brian Gerst Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7ff92053ddff48d9d7908a353bd85f893944463e tree 7536ae8d96b112e87766a60e52de40df8f1f657b parent fc33a7bb9c6dd8f6e4a014976200f8fdabb3a45c author Christoph Hellwig Mon, 09 Jan 2006 20:52:17 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:34 -0800 [PATCH] don't include ioctl32.h in drivers These days ioctl32.h is only used for communication of fs/compat.c and fs/compat_ioctl.c and doesn't contain anything of interest to drivers. Remove inclusion in various drivers. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fc33a7bb9c6dd8f6e4a014976200f8fdabb3a45c tree 26f4d676de476075545e58057aa5d8c57618741d parent 0d456fa4261f43433287a10fe3ec04a9818fac64 author Christoph Hellwig Mon, 09 Jan 2006 20:52:17 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:34 -0800 [PATCH] per-mountpoint noatime/nodiratime Turn noatime and nodiratime into per-mount instead of per-sb flags. After all the preparations this is a rather trivial patch. The mount code needs to treat the two options as per-mount instead of per-superblock, and touch_atime needs to be changed to check the new MNT_ flags in addition to the MS_ flags that are kept for filesystems that are always noatime/nodiratime but not user settable anymore. Besides that core code only nfs needed an update because it's leaving atime updates to the server and thus sets the S_NOATIME flag on every inode, but needs to know whether it's a real noatime mount for an getattr optimization. While we're at it I've killed the IS_NOATIME/IS_NODIRATIME macros that were only used by touch_atime. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d456fa4261f43433287a10fe3ec04a9818fac64 tree 37de7a1bf7bdb25d15292b958068c59d1285c032 parent 24a44dca356e7c68e33bece4effa7021e7429493 author Christoph Hellwig Mon, 09 Jan 2006 20:52:15 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:33 -0800 [PATCH] 9p: remove superflous MS_NODIRATIME assignment MS_NOATIME implies MS_NODIRATIME Signed-off-by: Christoph Hellwig Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 24a44dca356e7c68e33bece4effa7021e7429493 tree 8ca94216e6b82e222a2cbdff128cbda3ef87164c parent e6a6d2efcb7e7c87c5fe0395803da1453b29cbef author Christoph Hellwig Mon, 09 Jan 2006 20:52:14 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:33 -0800 [PATCH] ntfs: remove superflous MS_NOATIME/MS_NODIRATIME assignments MS_RDONLU implies not atime updates at all, no need for the MS_NOATIME and MS_NODIRATIME flags. Signed-off-by: Christoph Hellwig Cc: Anton Altaparmakov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e6a6d2efcb7e7c87c5fe0395803da1453b29cbef tree 76061b3067e22ba78cce975e5f729c6a6a37fce5 parent 8262037f406dc8e0908ad51f355c3dfd4d662aba author Christoph Hellwig Mon, 09 Jan 2006 20:52:14 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:33 -0800 [PATCH] sanitize building of fs/compat_ioctl.c Now that all these entries in the arch ioctl32.c files are gone [1], we can build fs/compat_ioctl.c as a normal object and kill tons of cruft. We need a special do_ioctl32_pointer handler for s390 so the compat_ptr call is done. This is not needed but harmless on all other architectures. Also remove some superflous includes in fs/compat_ioctl.c Tested on ppc64. [1] parisc still had it's PPP handler left, which is not fully correct for ppp and besides that ppp uses the generic SIOCPRIV ioctl so it'd kick in for all netdevice users. We can introduce a proper handler in one of the next patch series by adding a compat_ioctl method to struct net_device but for now let's just kill it - parisc doesn't compile in mainline anyway and I don't want this to block this patchset. Signed-off-by: Christoph Hellwig Cc: Matthew Wilcox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8262037f406dc8e0908ad51f355c3dfd4d662aba tree 43d60f935d3e5eeb089c90cbca204ac7bfa61576 parent ec3cad96901373ad0e21611cfbcc372fe09df1f7 author Christoph Hellwig Mon, 09 Jan 2006 20:52:12 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:32 -0800 [PATCH] add ->compat_ioctl to dasd Add a compat_ioctl method to the dasd driver so the last entries in arch/s390/kernel/compat_ioctl.c can go away. Unlike the previous attempt this one does not replace the ioctl method with an unlocked_ioctl method so that the ioctl_by_bdev calls in s390 partition code continue to work. Signed-off-by: Christoph Hellwig Cc: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ec3cad96901373ad0e21611cfbcc372fe09df1f7 tree 4c4fff817b9e88fe3fd015382913944fe2d946d8 parent 3a0f69d59ba41fbcad6a17b6e8aab02bf45e20ce author Christoph Hellwig Mon, 09 Jan 2006 20:52:11 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:32 -0800 [PATCH] move rtc compat ioctl handling to fs/compat_ioctl.c This patch implements generic handling of RTC_IRQP_READ32, RTC_IRQP_SET32, RTC_EPOCH_READ32 and RTC_EPOCH_SET32 in fs/compat_ioctl.c. It's based on the x86_64 code which needed a little massaging to be endian-clean. parisc used COMPAT_IOCTL or generic w_long handlers for these whichce is wrong and can't work because the ioctls encode sizeof(unsigned long) in their ioctl number. parisc also duplicated COMPAT_IOCTL entries for other rtc ioctls which I remove in this patch, too. Signed-off-by: Christoph Hellwig Acked-by: Matthew Wilcox Acked-by: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a0f69d59ba41fbcad6a17b6e8aab02bf45e20ce tree 8ba042dda77490f574f2c46bd038fd99a7f977e4 parent f042e0f80b0a9f5bb57c36d60a2798de6ca943b2 author Christoph Hellwig Mon, 09 Jan 2006 20:52:08 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:32 -0800 [PATCH] common compat_sys_timer_create The comment in compat.c is wrong, every architecture provides a get_compat_sigevent() for the IPC compat code already. This basically moves the x86_64 version to common code and removes all the others. Signed-off-by: Christoph Hellwig Acked-by: Paul Mackerras Cc: Arnd Bergmann Cc: Benjamin Herrenschmidt Cc: Martin Schwidefsky Cc: "David S. Miller" Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f042e0f80b0a9f5bb57c36d60a2798de6ca943b2 tree 57d8835c4683ec3456ebd73d3c65df0ec5725a74 parent 51a990588a3e38f7963964813786fa4f0da43ecc author Christoph Hellwig Mon, 09 Jan 2006 20:52:07 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:31 -0800 [PATCH] ->compat_ioctl for 390 tape_char The only own ioctl, TAPE390_DISPLAY, is compat_clean, everything else is routed through common translation code. Signed-off-by: Christoph Hellwig Cc: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 51a990588a3e38f7963964813786fa4f0da43ecc tree 4fdbcb7f444367452ef53d87f444bf9a98b9e0a3 parent 0f75e00c9ac5c7b127b5f1f48f1dc421be507133 author Christoph Hellwig Mon, 09 Jan 2006 20:52:05 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:31 -0800 [PATCH] remove TIOCGSERIAL/TIOCSSERIAL compat_ioctl entries for 390 These ioctls are definitely not compat clean, but we already have a proper handler in common code, over-riding it in architecture code is counter-productive. Signed-off-by: Christoph Hellwig Cc: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0f75e00c9ac5c7b127b5f1f48f1dc421be507133 tree 44aa63e2270c0a3428680452810607f1313ebb99 parent bdff071dbf911bf5d1dcaedfaafebb549d2fd969 author Christoph Hellwig Mon, 09 Jan 2006 20:52:04 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:31 -0800 [PATCH] switch fs3270 to ->compat_ioctl Again easy because all ioctls are compat clean. Signed-off-by: Christoph Hellwig Cc: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bdff071dbf911bf5d1dcaedfaafebb549d2fd969 tree f1f25ec5e7d2bc9901a27ea87aa0c945dc37f5ff parent 869243a0f6143f76e7c847e707eee6ece9cbf821 author Adrian Bunk Mon, 09 Jan 2006 20:52:03 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:31 -0800 [PATCH] __deprecated_for_modules the lookup_hash() prototype This patch __deprecated_for_modules the lookup_hash() prototype. Signed-off-by: Adrian Bunk Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 869243a0f6143f76e7c847e707eee6ece9cbf821 tree bf14139c86988c40aa10587834141859049ec890 parent 9cf6f4b3a3d24d8a41515b509b8fb6448f9201e9 author Christoph Hellwig Mon, 09 Jan 2006 20:52:03 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:31 -0800 [PATCH] remove update_atime All callers use touch_atime now which takes a vfsmount and allows us to implement per-mount noatime. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9cf6f4b3a3d24d8a41515b509b8fb6448f9201e9 tree 858c953f9880e6dd67ffb71ab63fa429996f2a48 parent 870f481793b585323fbda3e87c54efc116f46351 author Christoph Hellwig Mon, 09 Jan 2006 20:52:02 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:31 -0800 [PATCH] switch autofs4 to touch_atime() After my lookup_hash patch ->d_revalidate always gets a valid struct nameidata passed (unless you use lookup_one_len which autofs4 doesn't), so we can switch it from update_atime to touch_atime. This is a bit of an academic excercise because autofs has a 1:1 vfsmount superblock relation, but I want to get rid of update_atime so filesystems authors can't easily screw up per-mountpoint noatime support. Signed-off-by: Christoph Hellwig Cc: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 870f481793b585323fbda3e87c54efc116f46351 tree 08dce269f14c18ae1b1682d3cb0f149b938d40bb parent 3542c6e18f6470bad2bde1e94331e4f488a8d3f1 author Christoph Hellwig Mon, 09 Jan 2006 20:52:01 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:30 -0800 [PATCH] replace inode_update_time with file_update_time To allow various options to work per-mount instead of per-sb we need a struct vfsmount when updating ctime and mtime. This preparation patch replaces the inode_update_time routine with a file_update_atime routine so we can easily get at the vfsmount. (and the file makes more sense in this context anyway). Also get rid of the unused second argument - we always want to update the ctime when calling this routine. Signed-off-by: Christoph Hellwig Cc: Al Viro Cc: Anton Altaparmakov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3542c6e18f6470bad2bde1e94331e4f488a8d3f1 tree 3f6cea6d0c3554439b76c219573e7633b2ba97c3 parent b98932cb514eef404c6168c9a15cf28851498dea author Christoph Hellwig Mon, 09 Jan 2006 20:52:00 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:30 -0800 [PATCH] remove xfs xattr permission checks remove checks now in the VFS XFS has an additional xattr interface through obscure ioctl. it requires raised capabilities but we need to add some read-only/immutable checks anyway Signed-off-by: Christoph Hellwig Cc: Nathan Scott Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b98932cb514eef404c6168c9a15cf28851498dea tree 445c3d1b2510dec9ba5caf38e9e44e1d96a712cb parent c37ef806a3e1c0bca65fd03b7590d56d19625da4 author Christoph Hellwig Mon, 09 Jan 2006 20:51:59 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:30 -0800 [PATCH] remove reiserfs xattr permission checks remove checks now in the VFS Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c37ef806a3e1c0bca65fd03b7590d56d19625da4 tree 858caa56d151f28a98765e993a503c2481ec440c parent 267fd05791aafea3786494365a5d13d7923ef526 author akpm@osdl.org Mon, 09 Jan 2006 20:51:58 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:30 -0800 [PATCH] remove ext3 xattr permission checks ) From: Christoph Hellwig remove checks now in the VFS Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 267fd05791aafea3786494365a5d13d7923ef526 tree 01f46843a0095dfb80fd7686e27b94045d2a0ff9 parent 44a0033f6d5f3e7e2fc37d7b44a1d105c70d4682 author akpm@osdl.org Mon, 09 Jan 2006 20:51:58 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:30 -0800 [PATCH] remove ext2 xattr permission checks ) From: Christoph Hellwig remove checks now in the VFS Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44a0033f6d5f3e7e2fc37d7b44a1d105c70d4682 tree 9e58f915cd745ea021687b3e79ced79afc68c4dc parent e0ad7b073eb7317e5afe0385b02dcb1d52a1eedf author Christoph Hellwig Mon, 09 Jan 2006 20:51:57 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:29 -0800 [PATCH] remove jfs xattr permission checks remove checks now in the VFS Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e0ad7b073eb7317e5afe0385b02dcb1d52a1eedf tree bd4a424efe77bfb94c74bb6e57dcf0a0ff998969 parent 5be196e5f925dab2309530fabce69c2e562b9791 author akpm@osdl.org Mon, 09 Jan 2006 20:51:56 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:29 -0800 [PATCH] move xattr permission checks into the VFS ) From: Christoph Hellwig The xattr code has rather complex permission checks because the rules are very different for different attribute namespaces. This patch moves as much as we can into the generic code. Currently all the major disk based filesystems duplicate these checks, while many minor filesystems or network filesystems lack some or all of them. To do this we need defines for the extended attribute names in common code, I moved them up from JFS which had the nicest defintions. Signed-off-by: Christoph Hellwig Acked-by: Dave Kleikamp Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5be196e5f925dab2309530fabce69c2e562b9791 tree 4249d808c38b6f13e899ac936585c1fbb48e5b3b parent a7e670d828e85ef9aacb7fa1cd221525c408110f author Christoph Hellwig Mon, 09 Jan 2006 20:51:55 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:29 -0800 [PATCH] add vfs_* helpers for xattr operations Add vfs_getxattr, vfs_setxattr and vfs_removexattr helpers for common checks around invocation of the xattr methods. NFSD already was missing some of the checks and there will be more soon. Signed-off-by: Christoph Hellwig Cc: James Morris (James, I haven't touched selinux yet because it's doing various odd things and I'm not sure how it would interact with the security attribute fallbacks you added. Could you investigate whether it could use vfs_getxattr or if not add a __vfs_getxattr helper to share the bits it is fine with?) For NFSv4: instead of just converting it add an nfsd_getxattr helper for the code shared by NFSv2/3 and NFSv4 ACLs. In fact that code isn't even NFS-specific, but I'll wait for more users to pop up first before moving it to common code. Signed-off-by: Christoph Hellwig Acked-by: Dave Kleikamp Signed-off-by: Adrian Bunk Signed-off-by: Neil Brown Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a7e670d828e85ef9aacb7fa1cd221525c408110f tree fe7873023cfb9999bd63920ac416cf0a60e23150 parent 05970d476f2c8aa0f47e4e82473b0551b1e4e6d4 author Maneesh Soni Mon, 09 Jan 2006 20:51:53 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:29 -0800 [PATCH] Kdump documentation update Update the kdump documentation to reflect the changes due to recent kernel config option changes for kexec and kdump. Signed-off-by: Maneesh Soni Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05970d476f2c8aa0f47e4e82473b0551b1e4e6d4 tree 99708f3c7d8b17b994776ace981ea43208e8649d parent 720e1a9f1c3bfa9f72cded56962e7f092fefaaed author Maneesh Soni Mon, 09 Jan 2006 20:51:52 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:29 -0800 [PATCH] kexec: change CONFIG_PHYSICAL_START dependency I have heard some complaints about people not finding CONFIG_CRASH_DUMP option and also some objections about its dependency on CONFIG_EMBEDDED. The following patch ends that dependency. I thought of hiding it under CONFIG_KEXEC, but CONFIG_PHYSICAL_START could also be used for some reasons other than kexec/kdump and hence left it visible. I will also update the documentation accordingly. o Following patch removes the config dependency of CONFIG_PHYSICAL_START on CONFIG_EMBEDDED. The reason being CONFIG_CRASH_DUMP option for kdump needs CONFIG_PHYSICAL_START which makes CONFIG_CRASH_DUMP depend on CONFIG_EMBEDDED. It is not always obvious for kdump users to choose CONFIG_EMBEDDED. o It also shifts the palce where this option appears, to make it closer to kexec and kdump options. Signed-off-by: Maneesh Soni Cc: "Eric W. Biederman" Cc: Haren Myneni Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 720e1a9f1c3bfa9f72cded56962e7f092fefaaed tree 0730694a6fa21e6f535d1624db5ce4e0d51d70df parent 4ae362be509306eafa6441603686d33fefe321c1 author akpm@osdl.org Mon, 09 Jan 2006 20:51:51 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:28 -0800 [PATCH] kexec: increase max segment limit ) From: Vivek Goyal - In some cases, the number of segments, on a kexec load, exceeds the existing cap of 8. This patch increases the KEXEC_SEGMENT_MAX limit from 8 to 16. Signed-off-by: Rachita Kothiyal Signed-off-by: Vivek Goyal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ae362be509306eafa6441603686d33fefe321c1 tree d16a59e9c85945a6cc4a0945c80c0ecd97815923 parent ec9ce0dbaa734bc95ec73cf5c13f202f1adb219d author Vivek Goyal Mon, 09 Jan 2006 20:51:50 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:28 -0800 [PATCH] kdump: read previous kernel's memory - Moving the crash_dump.c file to arch dependent part as kmap_atomic_pfn is specific to i386 and highmem may not exist in other archs. - Use ioremap for x86_64 to map the previous kernel memory. - In copy_oldmem_page(), we now directly copy to the user/kernel buffer and avoid the unneccesary copy to a kmalloc'd page. Signed-off-by: Rachita Kothiyal Signed-off-by: Vivek Goyal Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ec9ce0dbaa734bc95ec73cf5c13f202f1adb219d tree 26d799567fe0325ae918e4f0bffa5080a03faeff parent cffe632a25b017dac4b6f060cad31940c6c167b4 author Vivek Goyal Mon, 09 Jan 2006 20:51:49 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:28 -0800 [PATCH] kdump: x86_64 save cpu registers upon crash - Saving the cpu registers of all cpus before booting in to the crash kernel. - crash_setup_regs will save the registers of the cpu on which panic has occured. One of the concerns ppc64 folks raised is that after capturing the register states, one should not pop the current call frame and push new one. Hence it has been inlined. More call frames later get pushed on to stack (machine_crash_shutdown() and machine_kexec()), but one will not want to backtrace those. - Not very sure about the CFI annotations. With this patch I am getting decent backtrace with gdb. Assuming, compiler has generated enough debugging information for crash_kexec(). Coding crash_setup_regs() in pure assembly makes it tricky because then it can not be inlined and we don't want to return back after capturing register states we don't want to pop this call frame. - Saving the non-panicing cpus registers will be done in the NMI handler while shooting down them in machine_crash_shutdown. - Introducing CRASH_DUMP option in Kconfig for x86_64. Signed-off-by: Murali M Chakravarthy Signed-off-by: Vivek Goyal Cc: Andi Kleen Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cffe632a25b017dac4b6f060cad31940c6c167b4 tree 569cc877cdd035a469bec2a1b75b555313a257ca parent aac04b32f3e4c63f461459d0e1d6aa01caac6e66 author akpm@osdl.org Mon, 09 Jan 2006 20:51:48 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:27 -0800 [PATCH] kdump: x86_64 kexec on panic ) From: Vivek Goyal - Implementing the machine_crash_shutdown for x86_64 which will be called by crash_kexec (called in case of a panic, sysrq etc.). Here we do things similar to i386. Disable the interrupts, shootdown the cpus and shutdown LAPIC and IOAPIC. Changes in this version: - As the Eric's APIC initialization patches are reverted back, reintroducing LAPIC and IOAPIC shutdown. - Added some comments on CPU hotplug, modified code as suggested by Andi kleen. Signed-off-by: Murali M Chakravarthy Signed-off-by: Vivek Goyal Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aac04b32f3e4c63f461459d0e1d6aa01caac6e66 tree f8bfb3cf1850b4e9f1f450c09d9cb33a3b29d667 parent 69cda7b1f06befb8d6a884b8a663d19dcaef590b author Vivek Goyal Mon, 09 Jan 2006 20:51:47 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:27 -0800 [PATCH] kdump: x86_64: add elfcorehdr command line option - elfcorehdr= specifies the location of elf core header stored by the crashed kernel. This command line option will be passed by the kexec-tools to capture kernel. Changes in this version : - Added more comments in kernel-parameters.txt and in code. Signed-off-by: Murali M Chakravarthy Signed-off-by: Vivek Goyal Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69cda7b1f06befb8d6a884b8a663d19dcaef590b tree 95896c7ca9ab089b24463afd455fdde15a14c3dd parent bf2083050d7879390ddedbd64e431cf167854a34 author akpm@osdl.org Mon, 09 Jan 2006 20:51:46 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:27 -0800 [PATCH] kdump: x86_64: add memmmap command line option ) From: Vivek Goyal - This patch introduces the memmap option for x86_64 similar to i386. - memmap=exactmap enables setting of an exact E820 memory map, as specified by the user. Changes in this version: - Used e820_end_of_ram() to find the max_pfn as suggested by Andi kleen. - removed PFN_UP & PFN_DOWN macros - Printing the user defined map also. Signed-off-by: Murali M Chakravarthy Signed-off-by: Hariprasad Nellitheertha Signed-off-by: Vivek Goyal Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bf2083050d7879390ddedbd64e431cf167854a34 tree 036c435ff4dc6b5fad694b9ccd92faacd92c08a2 parent f05b690248bc928b85cc19ea85a5c6268bb3acaf author akpm@osdl.org Mon, 09 Jan 2006 20:51:45 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:27 -0800 [PATCH] Kdump: powerpc and s390 build failure fix ) From: Vivek Goyal crash_setup_regs() is an architecture dependent function which is called in architecture independent section. So every architecture supporting kexec should at least provide a dummy definition of crash_setup_regs() even if crash dumping is not implemented yet, to avoid build failures. Signed-off-by: Vivek Goyal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f05b690248bc928b85cc19ea85a5c6268bb3acaf tree 038e44e38036f6ec067325f6ae6139621fec1470 parent e996e58133c475bcf3a229f716b9457267cbaa0a author Vivek Goyal Mon, 09 Jan 2006 20:51:44 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:27 -0800 [PATCH] Kdump: i386 compiler warning fix Fixes a compilation warning message in i386 Signed-off-by: Vivek Goyal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e996e58133c475bcf3a229f716b9457267cbaa0a tree 9fd2f41d7e2c0deaca71a88a1b36d873ede3c7b8 parent 35ed319a36cdfd88fc3debe6ce24e756bc474cce author Vivek Goyal Mon, 09 Jan 2006 20:51:44 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:27 -0800 [PATCH] kdump: save registers early (inline functions) - If system panics then cpu register states are captured through funciton crash_get_current_regs(). This is not a inline function hence a stack frame is pushed on to the stack and then cpu register state is captured. Later this frame is popped and new frames are pushed (machine_kexec). - In theory this is not very right as we are capturing register states for a frame and that frame is no more valid. This seems to have created back trace problems for ppc64. - This patch fixes it up. The very first thing it does after entering crash_kexec() is to capture the register states. Anyway we don't want the back trace beyond crash_kexec(). crash_get_current_regs() has been made inline - crash_setup_regs() is the top architecture dependent function which should be responsible for capturing the register states as well as to do some architecture dependent tricks. For ex. fixing up ss and esp for i386. crash_setup_regs() has also been made inline to ensure no new call frame is pushed onto stack. Signed-off-by: Vivek Goyal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 35ed319a36cdfd88fc3debe6ce24e756bc474cce tree 89d0f142652ae172a33b7433973acd465dd977d1 parent 51be5606d9ff9eb27ed6514f6172fbd7578a25d6 author Vivek Goyal Mon, 09 Jan 2006 20:51:42 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:26 -0800 [PATCH] kdump: export per cpu crash notes pointer through sysfs (fix) Removes the call to get_cpu() and put_cpu() as it is not required. Signed-off-by: Vivek Goyal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 51be5606d9ff9eb27ed6514f6172fbd7578a25d6 tree 8020841fc1eb4fa4603870913385eb9253de7d2e parent cc57165874e938ef684d71ba7d36e7088b551489 author Vivek Goyal Mon, 09 Jan 2006 20:51:42 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:26 -0800 [PATCH] kdump: export per cpu crash notes pointer through sysfs - Kexec on panic functionality allocates memory for saving cpu registers in case of system crash event. Address of this allocated memory needs to be exported to user space, which is used by kexec-tools. - Previously, a single /sys/kernel/crash_notes entry was being exported as memory allocated was a single continuous array. Now memory allocation being dyanmic and per cpu based, address of per cpu buffer is exported through "/sys/devices/system/cpu/cpuX/crash_notes" Signed-off-by: Vivek Goyal Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cc57165874e938ef684d71ba7d36e7088b551489 tree e1847f5547a7a426214e9ef0719eab908ee305d7 parent 82409411571ad89d271dc46f7fa26149fad9efdf author Vivek Goyal Mon, 09 Jan 2006 20:51:41 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:26 -0800 [PATCH] kdump: dynamic per cpu allocation of memory for saving cpu registers - In case of system crash, current state of cpu registers is saved in memory in elf note format. So far memory for storing elf notes was being allocated statically for NR_CPUS. - This patch introduces dynamic allocation of memory for storing elf notes. It uses alloc_percpu() interface. This should lead to better memory usage. - Introduced based on Andi Kleen's and Eric W. Biederman's suggestions. - This patch also moves memory allocation for elf notes from architecture dependent portion to architecture independent portion. Now crash_notes is architecture independent. The whole idea is that size of memory to be allocated per cpu (MAX_NOTE_BYTES) can be architecture dependent and allocation of this memory can be architecture independent. Signed-off-by: Vivek Goyal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 82409411571ad89d271dc46f7fa26149fad9efdf tree 3e7523c55a2d883f2a7d9ac3285ed6ebb864fb1b parent aed615a95f6dcc243daa99cc80658ad9ada95097 author akpm@osdl.org Mon, 09 Jan 2006 20:51:40 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:26 -0800 [PATCH] kdump: i386 save ss esp bug fix ) From: Vivek Goyal This patch fixes a minor bug based on Andi Kleen's suggestion. asm's can't be broken in this particular case, hence merging them. Signed-off-by: Vivek Goyal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aed615a95f6dcc243daa99cc80658ad9ada95097 tree 86ed78f9de3ec9eebd33220b916715f30c4d1b39 parent ed653a640419cd9d1ad0f8dc176478e6634a694e author Alexey Dobriyan Mon, 09 Jan 2006 20:51:39 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:26 -0800 [PATCH] Disable rio on 64-bit platforms Do it via Kconfig rather than via #error. Signed-off-by: Alexey Dobriyan Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed653a640419cd9d1ad0f8dc176478e6634a694e tree 9d7868679e51e7152e1fedfd34514b79ec3e4048 parent df2e71fb9115a8d4f721fb1464db09adc8332bc5 author akpm@osdl.org Mon, 09 Jan 2006 20:51:38 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:25 -0800 [PATCH] Remove set_fs() in stop_machine() ) From: Brian Gerst Call sched_setscheduler() directly instead. Signed-off-by: Brian Gerst Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit df2e71fb9115a8d4f721fb1464db09adc8332bc5 tree 460230de8257235dc57f9835582afb0875cbc057 parent be4f1bb2627c2d963d09be1cd69f8820995a9112 author akpm@osdl.org Mon, 09 Jan 2006 20:51:37 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:25 -0800 [PATCH] dump_thread() cleanup ) From: Adrian Bunk - create one common dump_thread() prototype in kernel.h - dump_thread() is only used in fs/binfmt_aout.c and can therefore be removed on all architectures where CONFIG_BINFMT_AOUT is not available Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit be4f1bb2627c2d963d09be1cd69f8820995a9112 tree c1b347a9675e499755fdedb324e7d88b2b7858f5 parent 9c107805aba774667debc01704718960339c24b9 author Adrian Bunk Mon, 09 Jan 2006 20:51:36 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:25 -0800 [PATCH] ipmi: fix compile errors with PROC_FS=n ... CC [M] drivers/char/ipmi/ipmi_msghandler.o drivers/char/ipmi/ipmi_msghandler.c:3301: `proc_ipmi_root' undeclared here (not in a function) drivers/char/ipmi/ipmi_msghandler.c:3301: initializer element is not constant drivers/char/ipmi/ipmi_msghandler.c:3301: (near initialization for `__ksymtab_proc_ipmi_root.value') drivers/char/ipmi/ipmi_msghandler.c:1535: warning: `ipmb_file_read_proc' defined but not used drivers/char/ipmi/ipmi_msghandler.c:1551: warning: `version_file_read_proc' defined but not used drivers/char/ipmi/ipmi_msghandler.c:1561: warning: `stat_file_read_proc' defined but not used ... CC [M] drivers/char/ipmi/ipmi_poweroff.o drivers/char/ipmi/ipmi_poweroff.c: In function `ipmi_poweroff_init': drivers/char/ipmi/ipmi_poweroff.c:616: warning: implicit declaration of function `unregister_sysctl_table' drivers/char/ipmi/ipmi_poweroff.c:616: `ipmi_table_header' undeclared (first use in this function) drivers/char/ipmi/ipmi_poweroff.c:616: (Each undeclared identifier is reported only once drivers/char/ipmi/ipmi_poweroff.c:616: for each function it appears in.) Signed-off-by: Adrian Bunk Cc: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9c107805aba774667debc01704718960339c24b9 tree 7cad57c658bab6a728327bb969cfc0a8e46781d8 parent 51989b9ffeea58999054fe3f21bd0cd0bd207e5a author Dave Jones Mon, 09 Jan 2006 20:51:32 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:25 -0800 [PATCH] printk levels for i386 oops code. Especially useful when users have booted with 'quiet'. In the regular 'oops' path, we set the console_loglevel before we start spewing debug info, but we can call the backtrace code from other places now too, such as the spinlock debugging code. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 51989b9ffeea58999054fe3f21bd0cd0bd207e5a tree a293e5fc792eeee2acc96cb9cd18d3ed6c4e8e5a parent 0ad42352c01788e41a33336577fdd270d8de55bb author Dave Jones Mon, 09 Jan 2006 20:51:32 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:24 -0800 [PATCH] printk levels for spinlock debug Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0ad42352c01788e41a33336577fdd270d8de55bb tree c7597bbb7d3f5f6fd3a9c359c0b882d0d8ad8bd8 parent e329113ca437e44ec399b7ffe114ed36e84ccf5e author David Howells Mon, 09 Jan 2006 20:51:31 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:24 -0800 [PATCH] Add list_for_each_entry_safe_reverse() Add list_for_each_entry_safe_reverse() to linux/list.h This is needed by unmerged cachefs and be an as-yet-unreviewed device_shutdown() fix. Signed-off-by: David Howells Cc: Patrick Mochel Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e329113ca437e44ec399b7ffe114ed36e84ccf5e tree 1409d73b08f94d531266716f5a9cc58f3569a18b parent 6dd214b554f675e7e66cbce87e594a36f4a57298 author Ben Gardner Mon, 09 Jan 2006 20:51:29 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:24 -0800 [PATCH] i386: GPIO driver for AMD CS5535/CS5536 A simple driver for the CS5535 and CS5536 that allows a user-space program to manipulate GPIO pins. The CS5535/CS5536 chips are Geode processor companion devices. Signed-off-by: Ben Gardner Signed-off-by: Richard Knutsson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6dd214b554f675e7e66cbce87e594a36f4a57298 tree 3c6ab71d30a866cd5a76e478d02e77ac07870915 parent 0137ecfdc3453f58a9beee95152ff61e8bad97b1 author Andrey Borzenkov Mon, 09 Jan 2006 20:51:28 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:24 -0800 [PATCH] fix /sys/class/net//wireless without dev->get_wireless_stats dev->get_wireless_stats is deprecated but removing it also removes wireless subdirectory in sysfs. This patch puts it back. akpm: I don't know what's happening here. This might be appropriate as a 2.6.15.x compatibility backport. Waiting to hear from Jeff. Signed-off-by: Andrey Borzenkov Cc: "David S. Miller" Cc: Jeff Garzik Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0137ecfdc3453f58a9beee95152ff61e8bad97b1 tree e7dc8fe3047c7d0df1cf9d514ea2a25b6efc737e parent 2308acca656c3625c46b671b348fb04b6b006cad author Benjamin Herrenschmidt Mon, 09 Jan 2006 20:51:27 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:24 -0800 [PATCH] nvidiafb: Fixes for new G5 Recent X "nv" driver was fixed for various issues with modern 6xxx and 7xxx cards. This patch ports those fixes to nvidiafb. This makes it work fine on the 6600 bundled with the newest G5 macs. I've verified it still works on the 5200FX of the iMacG5. Signed-off-by: Benjamin Herrenschmidt Acked-by: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2308acca656c3625c46b671b348fb04b6b006cad tree 10dff065667d56f680315dfeb93c506aa65e101b parent 1306a482288152ea0ac091c7a8471adc5569e6c8 author Adrian Bunk Mon, 09 Jan 2006 20:51:26 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:23 -0800 [PATCH] "tiny-make-id16-support-optional" fixes It seems the "make UID16 support optional" patch was checked when it edited the -tiny tree some time ago, but it wasn't checked whether it still matches the current situation when it was submitted for inclusion in -mm. This patch fixes the following bugs: - ARCH_S390X does no longer exist, nowadays this has to be expressed through (S390 && 64BIT) - in five architecture specific Kconfig files the UID16 options weren't removed Additionally, it changes the fragile negative dependencies of UID16 to positive dependencies (new architectures are more likely to not require UID16 support). Signed-off-by: Adrian Bunk Acked-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1306a482288152ea0ac091c7a8471adc5569e6c8 tree e37b45aec6b6574421a83a35edf934960f945d71 parent c3a9aea7aacb26881f3488b879750edb4a578c50 author Andrew Morton Mon, 09 Jan 2006 20:51:25 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:23 -0800 [PATCH] remove asm/serial.h from synclink_gt. Not all architectures implement asm/serial.h, and the driver doesn't appear to need it anyway. Cc: Paul Fulghum Cc: "David S. Miller" Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c3a9aea7aacb26881f3488b879750edb4a578c50 tree 4f56213b4d245e516e5bb3d5bb040489acf7c60c parent 977127174a7dff52d17faeeb4c4949a54221881f author Andrew Morton Mon, 09 Jan 2006 20:51:24 -0800 committer Linus Torvalds Tue, 10 Jan 2006 08:01:23 -0800 [PATCH] spufs: fix for recent "shrink dentry_struct" patch Cc: Eric Dumazet Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 97460df37ea3335ca11562568932c9f9facfecdb tree 19955a4fe4dbead6f4ef2af9d47cdd1c0eb9339a parent 70b4c8cdc168bb5d18e23fd205c4ede1b756a8b2 author Eli Cohen Tue, 10 Jan 2006 07:43:02 -0800 committer Roland Dreier Tue, 10 Jan 2006 07:43:02 -0800 IPoIB: Fix address handle refcounting for multicast groups Multiple ipoib_neigh structures on mcast->neigh_list may point to the same ah. This means that ipoib_mcast_free() can't just make a list of ah structs to free, since this might end up trying to add the same ah to the list more than once. Handle this in ipoib_multicast.c in the same way as it is handled in ipoib_main.c for struct ipoib_path. Signed-off-by: Eli Cohen Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 70b4c8cdc168bb5d18e23fd205c4ede1b756a8b2 tree 029d149d2b25eae3b8ecf4dfa62e0b3c47c7db02 parent cf311cd49a78f1e431787068cc31d29d06a415e6 author Eli Cohen Tue, 10 Jan 2006 07:42:14 -0800 committer Roland Dreier Tue, 10 Jan 2006 07:42:14 -0800 IPoIB: Fix error path in ipoib_mcast_dev_flush() Don't leak memory on allocation failure for broadcast mcast group. Also, print a warning to match handling for other mcast groups. Signed-off-by: Eli Cohen Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit cf311cd49a78f1e431787068cc31d29d06a415e6 tree 369bb01420f5120df73c12903eb9e7783b8489ad parent 87635b71b544563f29050a9cecaa12b5d2a3e34a author Sean Hefty Tue, 10 Jan 2006 07:39:34 -0800 committer Roland Dreier Tue, 10 Jan 2006 07:39:34 -0800 IB: Add node_guid to struct ib_device Add a node_guid field to struct ib_device. It is the responsibility of the low-level driver to initialize this field before registering a device with the midlayer. Convert everyone to looking at this field instead of calling ib_query_device() when all they want is the node GUID, and remove the node_guid field from struct ib_device_attr. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit adfc76419bff33542d4fd53dc7f24818f846f194 tree 881b0271eebb40cc3e1c9bb132c882c6bd835c93 parent 948928add5b64abd314bc196ac9442618e751487 author Ralf Baechle Fri, 23 Dec 2005 02:48:17 +0100 committer Tue, 10 Jan 2006 13:39:08 +0000 MIPS: Malta: Change CPU default to R2. ... giving those with with R1 or older CPU cards more rope to missconfigure their kernels. But MIPS is only selling R2 CPUs since two or three years already. Signed-off-by: Ralf Baechle commit 948928add5b64abd314bc196ac9442618e751487 tree 99acb7120981fb433218c38f73f29b094d6bd2e6 parent 7043ad4f4c81914ca9e2cd2208c8f4801ed63735 author Ralf Baechle Fri, 23 Dec 2005 02:16:44 +0100 committer Tue, 10 Jan 2006 13:39:08 +0000 MIPS: R2: Set 64BIT_PHYS_ADDR for R2 processor also. Signed-off-by: Ralf Baechle commit 7043ad4f4c81914ca9e2cd2208c8f4801ed63735 tree cbc3d8384665ffc1bf02bac46827097ed5cd0b68 parent 15265251c5c68fbabdf561cf704e3e305349715a author Ralf Baechle Thu, 22 Dec 2005 13:41:29 +0100 committer Tue, 10 Jan 2006 13:39:08 +0000 MIPS: R2: Try to bulletproof instruction_hazard against miss-compilation. Gcc has a tradition of misscompiling the previous construct using the address of a label as argument to inline assembler. Gas otoh has the annoying difference between la and dla which are only usable for 32-bit rsp. 64-bit code, so can't be used without conditional compilation. The alterantive is switching the assembler to 64-bit code which happens to work right even for 32-bit code ... Signed-off-by: Ralf Baechle commit 15265251c5c68fbabdf561cf704e3e305349715a tree 9805638b9655e4ddcbbdb1c6472f7ba7ce797d60 parent d4ea001dd0912a14967266581601494d94a4c565 author Maxime Bizon Tue, 20 Dec 2005 06:32:19 +0100 committer Tue, 10 Jan 2006 13:39:08 +0000 MIPS: R2: Fix local_irq_save() local_irq_restore uses di which saves the whole status content, not just the IE bit resulting in local_irq_restore() to fail. This only happens if both CONFIG_CPU_MIPSR2 and CONFIG_IRQ_CPU are enabled. Signed-off-by: Maxime Bizon Signed-off-by: Ralf Baechle commit d4ea001dd0912a14967266581601494d94a4c565 tree a42c805f72cf337c26df72b4d478fc430ff8b977 parent d56efda4510b1c6be3bd5ceb3e6dd3a4d64396f3 author Ralf Baechle Wed, 21 Dec 2005 03:02:26 +0100 committer Tue, 10 Jan 2006 13:39:08 +0000 MIPS: Don't pass -finline-limit=100000. This was a stop gap meassure for gcc 3.3 and newer sometimes not inlining inline functions in the 2.4 days. Starting we pass the always_inline attribute, so -finline-limit is no longer necessary and it's been shown to problematic on Sparc. Signed-off-by: Ralf Baechle commit d56efda4510b1c6be3bd5ceb3e6dd3a4d64396f3 tree 4c7a91fb4f73f37517654a0d10fa92e62b7ede3f parent 830e9c002a5864e8cfcc55d3875cdebdd4168b00 author Al Viro Fri, 16 Dec 2005 22:40:47 +0000 committer Tue, 10 Jan 2006 13:39:08 +0000 MIPS: Namespace pollution: dump_regs() -> elf_dump_regs() dump_regs() is used by a bunch of drivers for their internal stuff; renamed mips instance (one that is seen in system-wide headers) to elf_dump_regs() Signed-off-by: Al Viro Signed-off-by: Ralf Baechle commit 830e9c002a5864e8cfcc55d3875cdebdd4168b00 tree 0a4c67b5f99c649fe2d1c4cbce86a613e39f8cd7 parent c5c64e22834c9f43f246072b4dcb293c9cea0ebe author Ralf Baechle Sat, 17 Dec 2005 21:11:02 +0000 committer Tue, 10 Jan 2006 13:39:07 +0000 MIPS: Remove unused CONFIG_CPU_HAS_LLDSCD. Signed-off-by: Ralf Baechle commit c5c64e22834c9f43f246072b4dcb293c9cea0ebe tree dad15a47f9b7ab23231952871aa3b624c1e99778 parent 29ce2c765ca9a41be6f31aa1770e8ee3ee48cd21 author Sergei Shtylyov Fri, 25 Nov 2005 22:08:08 +0300 committer Tue, 10 Jan 2006 13:39:07 +0000 MIPS: Au1550: Fix OHCI memory map size USB OpenHCI host controller on Au1550 only decodes memory addresses from 0x14020000 to 0x1407FFFF according to the databook, which gives 0x60000 (on the prior Au1x00 chips the map size was 1MB). Signed-off-by: Sergei Shtylyov Acked-by: Jordan Crouse Signed-off-by: Ralf Baechle commit 29ce2c765ca9a41be6f31aa1770e8ee3ee48cd21 tree 4aacbb27a33dbac624f63cabc957d813b321ed3a parent 2065988e9fb1628de7958b0f7f709b93302f7b97 author Ralf Baechle Mon, 12 Dec 2005 20:11:50 +0000 committer Tue, 10 Jan 2006 13:39:07 +0000 Update Yoichi Yuasa's email address. Signed-off-by: Ralf Baechle commit 2065988e9fb1628de7958b0f7f709b93302f7b97 tree 2c452d4390601ac0200fed89c22b25a0cbcc9ee8 parent 9efeae9a5cae7e7bdacff666a1d689f5b2901c64 author Ralf Baechle Fri, 09 Dec 2005 12:42:13 +0000 committer Tue, 10 Jan 2006 13:39:07 +0000 MIPS: Oprofile: Add 5K, 20K and 25K support. Signed-off-by: Ralf Baechle commit 9efeae9a5cae7e7bdacff666a1d689f5b2901c64 tree da7836d8ed54db4911aa6211a6b4408082bb0450 parent ba339c03e2e8ede8ccd37ed6c4e564e3b1545495 author Ralf Baechle Fri, 09 Dec 2005 12:34:45 +0000 committer Tue, 10 Jan 2006 13:39:07 +0000 MIPS: Oprofile: Print error message if the CPU happen to have no counters. Signed-off-by: Ralf Baechle commit ba339c03e2e8ede8ccd37ed6c4e564e3b1545495 tree 1a7bbfd15a9c46d5300d2d5a1890d748b81dbce2 parent 0401572a9b9b2f368176b6e53f53004fd048a566 author Ralf Baechle Fri, 09 Dec 2005 12:29:38 +0000 committer Tue, 10 Jan 2006 13:39:07 +0000 MIPS: Oprofile: Fixup the loose ends in the plumbing. Signed-off-by: Ralf Baechle commit 0401572a9b9b2f368176b6e53f53004fd048a566 tree ac150d269955aeba9eff5bdaa2835626510c9180 parent 11e6df65dc2bae8e7ad17ff81611ddc850b279cd author Ralf Baechle Fri, 09 Dec 2005 12:20:49 +0000 committer Tue, 10 Jan 2006 13:39:07 +0000 MIPS: Reorganize ISA constants strictly as bitmasks. Signed-off-by: Ralf Baechle commit 11e6df65dc2bae8e7ad17ff81611ddc850b279cd tree 5a7ec8e178bb4aa5f12e130f7d0265e9206660da parent b4672d37293cb045ec4d57e8b76a62810c96da71 author Ralf Baechle Fri, 09 Dec 2005 12:09:22 +0000 committer Tue, 10 Jan 2006 13:39:07 +0000 MIPS: MIPS boards: Get rid of useless SMP/non-SMP casing. Signed-off-by: Ralf Baechle commit b4672d37293cb045ec4d57e8b76a62810c96da71 tree 21ba827850d7bc7c36d7009575b979d12b35227c parent e7958bb90d57f0da073cbd031a1808de51d1de15 author Ralf Baechle Thu, 08 Dec 2005 14:04:24 +0000 committer Tue, 10 Jan 2006 13:39:06 +0000 MIPS: Introduce machinery for testing for MIPSxxR1/2. Signed-off-by: Ralf Baechle commit e7958bb90d57f0da073cbd031a1808de51d1de15 tree b4f0d57ab157c64ce23722dbd29864901794a019 parent 571e0bed85470882cedfb100e847902911c3f4d2 author Ralf Baechle Thu, 08 Dec 2005 13:00:20 +0000 committer Tue, 10 Jan 2006 13:39:06 +0000 MIPS: Rename MIPS_CPU_ISA_M{32,64} -> MIPS_CPU_ISA_M{32,64}R1. Signed-off-by: Ralf Baechle commit 571e0bed85470882cedfb100e847902911c3f4d2 tree 1afe6f255bef4c2e78ae382a8dd3a14e56028e99 parent b2d28b7ea57edb4dee34a70fcd89083134017d4d author Ralf Baechle Thu, 08 Dec 2005 00:32:23 +0000 committer Tue, 10 Jan 2006 13:39:06 +0000 MIPS: MT: Fix 32-bit dependencies. Signed-off-by: Ralf Baechle commit b2d28b7ea57edb4dee34a70fcd89083134017d4d tree 142b26e9468f49f37117b194d1f1dcaa2d8abf73 parent 2d5e7b9ffd6fd0cdcf4c51a56b7158a7e38f3dbe author Ralf Baechle Wed, 07 Dec 2005 18:57:52 +0000 committer Tue, 10 Jan 2006 13:39:06 +0000 MIPS: Get rid of atomic_lock. It was resulting in build errors for some configurations. Signed-off-by: Ralf Baechle commit 2d5e7b9ffd6fd0cdcf4c51a56b7158a7e38f3dbe tree f49bd735203673187c7b851b70a9be56fd0bcc0c parent 264879576cabb85f9992e63e0209a99885e3e2f1 author Ralf Baechle Wed, 07 Dec 2005 18:04:40 +0000 committer Tue, 10 Jan 2006 13:39:05 +0000 MIPS: FP: Remove silly trick to avoid warning. Just doesn't fool a modern compiler anymore. Signed-off-by: Ralf Baechle commit 264879576cabb85f9992e63e0209a99885e3e2f1 tree 79de5f111739844c6e241dff6cbcc0fc04aa4543 parent c4fa6348750c68241a14fc255d66b5079439cb30 author Ralf Baechle Wed, 07 Dec 2005 17:52:40 +0000 committer Tue, 10 Jan 2006 13:39:05 +0000 MIPS: DSP: Put mask field into the right place. Signed-off-by: Ralf Baechle commit c4fa6348750c68241a14fc255d66b5079439cb30 tree d747815c2cf2b55af86dd1b0cc324402fc23995a parent 07a801def46f412a7ce6de9553dfd8895bf33356 author Ralf Baechle Wed, 07 Dec 2005 17:50:48 +0000 committer Tue, 10 Jan 2006 13:39:05 +0000 MIPS: DSP: Put DSPcontrol register into the right place in the signal frame. Signed-off-by: Ralf Baechle commit 07a801def46f412a7ce6de9553dfd8895bf33356 tree e46385e7d44fa8218b55d885e73f1b5ac9ca9944 parent f12555d24ca636569b51c6f104aab41b2bba8c32 author Ralf Baechle Tue, 06 Dec 2005 09:43:20 +0000 committer Tue, 10 Jan 2006 13:39:04 +0000 MIPS: DSP: Set all register masks to 0x3ff. 0x2ff was a typo and the value 0x1f of DSP_MASK was refering to an old version of the documentation. Signed-off-by: Ralf Baechle commit f12555d24ca636569b51c6f104aab41b2bba8c32 tree 7fa3b59cf1d8a2d11212bcdda76defecbc5076cc parent 6c35585273b26a580b2e2ad3d6a7db282308eec5 author Atsushi Nemoto Wed, 30 Nov 2005 13:33:26 +0900 committer Tue, 10 Jan 2006 13:39:04 +0000 MIPS: Fix mdelay(1) for 64bit kernel with HZ == 1000 mdelay(1) (i.e. udelay(1000)) does not work correctly due to overflow. 1000 * 0x004189374BC6A7f0 = 0x10000000000000180 (>= 2**64) 0x004189374BC6A7ef (0x004189374BC6A7f0 - 1) is OK and it is exactly same as catchall case (0x8000000000000000UL / (500000 / HZ)). Signed-off-by: Atsushi Nemoto Signed-off-by: Ralf Baechle commit 6c35585273b26a580b2e2ad3d6a7db282308eec5 tree ae81213a06a1f2728050319b47f51308d9d197ca parent da2c9ed55b0c7e8107f23530bde293239a0b5091 author Ralf Baechle Mon, 05 Dec 2005 13:47:25 +0000 committer Tue, 10 Jan 2006 13:39:04 +0000 MIPS: DSP: eleminate used_dsp. used_dsp was meant to be used like used_math - but since the FPU context is small and lazy context switching is a stupid idea on multiprocessors this idea only got halfway implemented and those bits are were now breaking ptrace. Signed-off-by: Ralf Baechle commit da2c9ed55b0c7e8107f23530bde293239a0b5091 tree 6faca8c557afce21b5500f818cfe4fbf2a8871ce parent 977127174a7dff52d17faeeb4c4949a54221881f author Ralf Baechle Mon, 05 Dec 2005 13:39:25 +0000 committer Tue, 10 Jan 2006 13:39:04 +0000 MIPS: DSP: Context switch the DSPcontrol register also. Signed-off-by: Ralf Baechle commit f8e0f2905bf0a7cb5ef2baaf009f0c26f80c3056 tree a46e7cac673c4167387d4762fda76160bcdf227d parent 2185200cd2a910ca7f4e3fa0370c6ed8a2bdc49c author Dave Airlie Tue, 10 Jan 2006 19:56:17 +1100 committer Dave Airlie Tue, 10 Jan 2006 19:56:17 +1100 drm: fix radeon warnings on 64-bit From: Andrew Morton drivers/char/drm/radeon_state.c: In function `radeon_cp_dispatch_texture': drivers/char/drm/radeon_state.c:1653: warning: int format, different type arg (arg 3) drivers/char/drm/radeon_state.c:1661: warning: int format, different type arg (arg 3) drivers/char/drm/radeon_state.c:1689: warning: int format, different type arg (arg 3) sizeof() doesn't return an int. Cc: Dave Airlie Signed-off-by: Andrew Morton Signed-off-by: Dave Airlie commit 2185200cd2a910ca7f4e3fa0370c6ed8a2bdc49c tree 7b472a201769cfab966fb8e1b46eba5ae77f8dd3 parent 4e4c62bd45c40e8e04d09a5f383bffb149abaa63 author Dave Airlie Tue, 10 Jan 2006 19:53:54 +1100 committer Dave Airlie Tue, 10 Jan 2006 19:53:54 +1100 drm: fix warning on alpha From: Andrew Morton On alpha: drivers/char/drm/via_dmablit.h:44: error: field `direction' has incomplete type Cc: Dave Airlie Signed-off-by: Andrew Morton Signed-off-by: Dave Airlie commit 5fc4e6e197c7e377f1c8ebec727d40df983aceed tree 6d7718af1f54d0a7c072f3df39f36f010ee86490 parent 94f8d28c47aa425cbcaa4ca7fc7935cd0ddb0151 author Dmitry Torokhov Tue, 10 Jan 2006 02:00:39 -0500 committer Dmitry Torokhov Tue, 10 Jan 2006 02:00:39 -0500 Input: ibmasm - fix input initialization error path Do not try to free device that has already been unregistered, input_unregister_device() frees it automatically. Spotted by Vernon Mauery Signed-off-by: Dmitry Torokhov commit 94f8d28c47aa425cbcaa4ca7fc7935cd0ddb0151 tree ce0149f7ef4bee2d5207e5f27c9221eb3aa12d87 parent e2bd470ec7ebccb338758b5ab1bebf1c7b926b04 author Paul Mundt Tue, 10 Jan 2006 02:00:27 -0500 committer Dmitry Torokhov Tue, 10 Jan 2006 02:00:27 -0500 Input: remove obsolete maple input drivers These haven't worked in some time, and we've dropped support for the bus from the SH tree until someone shows some interest in maintaining it. Signed-off-by: Paul Mundt Signed-off-by: Dmitry Torokhov commit e2bd470ec7ebccb338758b5ab1bebf1c7b926b04 tree 03a3b742132b250a1d3f234e33101d452a7e32a1 parent c28c3583679c181a03910b6356228e99fcc27167 author Arjan van de Ven Tue, 10 Jan 2006 01:59:51 -0500 committer Dmitry Torokhov Tue, 10 Jan 2006 01:59:51 -0500 Input: prepare for f_ops constness Avoid doing assignments to a live ->fops so it can be marked as 'const'. Signed-off-by: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Dmitry Torokhov commit c28c3583679c181a03910b6356228e99fcc27167 tree e3c7db6f714a909511c52e4625d0f31ad513a5d0 parent ebbac7dde2f5c6b4bd219573f840d4b3952e6220 author Miloslav Trmac Tue, 10 Jan 2006 01:59:07 -0500 committer Dmitry Torokhov Tue, 10 Jan 2006 01:59:07 -0500 Input: wistron - do not crash if BIOS does not support interface offset can never be < 0 because it has type size_t. The driver currently oopses on insmod if BIOS does not support the interface, instead of refusing to load. Signed-off-by: Miloslav Trmac Signed-off-by: Dmitry Torokhov commit ebbac7dde2f5c6b4bd219573f840d4b3952e6220 tree 974ef1dc1a19500212233486fc5c13464fce302f parent 736ce43295682d060f2b93624b4a339f9af6aab1 author Dmitry Torokhov Tue, 10 Jan 2006 01:58:47 -0500 committer Dmitry Torokhov Tue, 10 Jan 2006 01:58:47 -0500 Input: grip_mp - kill commented out code Kill leftovers of dynalloc conversion. Signed-off-by: Dmitry Torokhov commit 3b212db9217d02e623eaa12f41c9b5f8c6a99535 tree 5cf49bb1286da21e43439bb37f555dba0bf7d35a parent 9d17a5c611a7462a41b06c75f661f4106d380a86 author David Woodhouse Tue, 10 Jan 2006 05:16:22 +0000 committer Paul Mackerras Tue, 10 Jan 2006 16:49:20 +1100 [PATCH] powerpc: Some ppc compile fixes... This gets most of the Fedora rawhide RPM building again, as long as I disable CHRP. Signed-off-by: Paul Mackerras commit 8b4ad5e3ff94409973e824716c65568f0d97364c tree 03db1ddd6d20095733ae0e02746d311813a315fe parent cdade109d36b5f958fdc93f31ae8b472afeab6ef author David S. Miller Mon, 09 Jan 2006 21:38:23 -0800 committer David S. Miller Mon, 09 Jan 2006 21:38:23 -0800 [MUTEX]: linux/mutex-debug.h needs linux/linkage.h For FASTCALL() define. Signed-off-by: David S. Miller commit 9d17a5c611a7462a41b06c75f661f4106d380a86 tree 86240edadbc5add98fc9a6521efad5efa6a1fe44 parent f8cd32167d96680af19c3ef5fb01d4460be89982 author Benjamin Herrenschmidt Tue, 10 Jan 2006 14:50:37 +1100 committer Paul Mackerras Tue, 10 Jan 2006 16:25:37 +1100 [PATCH] powerpc: Extended PCI config space This adds back the call to pci_cfg_space_size() when building the PCI tree from OF nodes that was commented out due to the function not being exported by the PCI code. It's now exported, so let's use it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit f8cd32167d96680af19c3ef5fb01d4460be89982 tree 7eedfa5d357391a55a66c6bd301959471891b9a2 parent 13b8a272297b29870d5bf5f8db7a381dd9e82382 author Stephen Rothwell Tue, 10 Jan 2006 10:36:14 +1100 committer Paul Mackerras Tue, 10 Jan 2006 16:25:30 +1100 [PATCH] powerpc: remove compat_sys_pciconfig_* Matthew Wilcox wondered why we need these functions. We don't. Remove them and just use the "normal" versions. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 13b8a272297b29870d5bf5f8db7a381dd9e82382 tree 7abd516728d53f2d096d757412d6e9cd17819382 parent 0f17574a651884c721e1a33051719e59deb13c18 author Paul Mackerras Tue, 10 Jan 2006 16:19:05 +1100 committer Paul Mackerras Tue, 10 Jan 2006 16:19:05 +1100 powerpc: Introduce a new config symbol to control 16550 early debug code The previous change by Kumar Gala in this area led to legacy_serial.c and udbg_16550.c being built as modules when CONFIG_SERIAL_8250=m. Fix this by introducing a new symbol, CONFIG_PPC_UDBG_16550, to control whether these files get built, and arrange for it to be selected for those platforms that need it. Signed-off-by: Paul Mackerras commit cdade109d36b5f958fdc93f31ae8b472afeab6ef tree 2780edee86677b2cf00e08f060199ddc585d8446 parent 977127174a7dff52d17faeeb4c4949a54221881f author David S. Miller Mon, 09 Jan 2006 20:43:57 -0800 committer David S. Miller Mon, 09 Jan 2006 20:43:57 -0800 [SPARC64]: Fix sys_fstat64() entry in 64-bit syscall table. Noticed by Jakub Jelinek. Signed-off-by: David S. Miller commit 0f17574a651884c721e1a33051719e59deb13c18 tree 5de62fde0c71554b6eb11c25f5167873c3f5d996 parent 18eb3b398d92028e6f09f0423aa4e2a7b1096db3 author linas Thu, 01 Dec 2005 18:42:32 -0600 committer Paul Mackerras Tue, 10 Jan 2006 15:32:54 +1100 [PATCH] powerpc/pseries: dlpar-add crash on null pointer deref This fixes a crash on null-pointer deref during dlpar slot addition. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from 1c87c0f84943fbbc91826967ff4fea1b059a526f commit) commit 18eb3b398d92028e6f09f0423aa4e2a7b1096db3 tree c9065b1616b97a6c9514fc7c641b96e42b85cd89 parent 257ffc64a6c22621ecb0371b7f10d5b40b74c878 author Paul Mackerras Tue, 29 Nov 2005 17:17:02 +1100 committer Paul Mackerras Tue, 10 Jan 2006 15:32:31 +1100 powerpc: Fix up some compile errors in the PCI error recovery code is gone now, and the PCI error recovery constants in include/linux/pci.h changed their names in the process of getting accepted. Signed-off-by: Paul Mackerras (cherry picked from 5a2516156c591fc3d2059fbd93f97e15eb6010d6 commit) commit 257ffc64a6c22621ecb0371b7f10d5b40b74c878 tree 1166c38a4ddaf2d4d6f1f9dc838b53b0138b09a7 parent 7684b40cb53ba00cc51271f1c42897b776c48fbc author Linas Vepstas Thu, 03 Nov 2005 18:55:25 -0600 committer Paul Mackerras Tue, 10 Jan 2006 15:30:48 +1100 [PATCH] powerpc: get rid of per_cpu EEH counters 242-eeh-no-percpu-counters.patch Remove per-cpu counters from the EEH code. These statistics counters are incremented at a very low frequency, and the performance gains of per-cpu variables are negligable. By contrast, the counters weren't safe against cpu off/online operations, and its not worth the effort to make them so (other than to turn them into plain globals). Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from be3b5d1be053ccb41e91fa5a6f43ef5db301357d commit) commit 7684b40cb53ba00cc51271f1c42897b776c48fbc tree 19155abfd3b76d13b55dfb6fdf1a46e4a8c0a048 parent d177c207ba16b1db31283e2d1fee7ad4a863584b author Linas Vepstas Thu, 03 Nov 2005 18:55:19 -0600 committer Paul Mackerras Tue, 10 Jan 2006 15:30:39 +1100 [PATCH] powerpc: Save device BARs much earlier in the boot sequence 241-eeh-save-bars-earlier.patch Save the PCI device bars *before* any PCI probing is done. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from 76c902b919098860f3d4e125f847abcc4cb1782a commit) commit d177c207ba16b1db31283e2d1fee7ad4a863584b tree 8afca673d77c1a15585b96df977e39601db535f5 parent 3914ac7b0e672131dc2ac8b415ada79c4ccbbb31 author Linas Vepstas Thu, 03 Nov 2005 18:55:14 -0600 committer Paul Mackerras Tue, 10 Jan 2006 15:30:31 +1100 [PATCH] powerpc: IOMMU: don't ioremap null addresses 240-ioremap-null-ptr-test.patch Under highly unusual circumstances, a buggy driver will ask a null ptr to be ioremapped, an operation that curently succeeds but leads to later trouble. Instead, refuse to remap the null pointer. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from e71d9e598533c1889e7162f5f4647e5d378c102c commit) commit 3914ac7b0e672131dc2ac8b415ada79c4ccbbb31 tree 10ea50e28257b6495cd2cb1e4f64e22fee88f20f parent b6495c0c8f100b882d85774f44529519befefba9 author Linas Vepstas Thu, 03 Nov 2005 18:55:01 -0600 committer Paul Mackerras Tue, 10 Jan 2006 15:30:23 +1100 [PATCH] powerpc: handle multifunction PCI devices properly 239-eeh-multifunction-consolidate.patch New-style firmware will often place multiple different functions under a non-EEH-aware parent. However, these devices might share a common PE "partition endpoint" and config address, ad thus any EEH events will affect all of the devices in common. This patch makes the effort to find all of these common devices and handle them together. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from 216810296bb97d39da8e176822e9de78d2f00187 commit) commit b6495c0c8f100b882d85774f44529519befefba9 tree ec38027b7e7e50ffbe843a5333fbf95456bc1cf5 parent 21e464dd7c943c984dcccd9aff8c9f6a5ea920d7 author Linas Vepstas Thu, 03 Nov 2005 18:54:54 -0600 committer Paul Mackerras Tue, 10 Jan 2006 15:30:14 +1100 [PATCH] powerpc: Don't continue with PCI Error recovery if slot reset failed. 238-eeh-stop-if-reset_failed.patch If the firmware is unable to reset the PCI slot for some reason, then don't attempt any further recovery steps after that point. Instead, mark the device as permanently failed. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from e06b942521eb2cdaf232726f45a820d5837acb12 commit) commit 21e464dd7c943c984dcccd9aff8c9f6a5ea920d7 tree c5c8cd2e9111ccbdf1d7381c9ac5ee660868df59 parent fcb7543e3d01ad9ebd3498eb50fcf323edb163ab author Linas Vepstas Thu, 03 Nov 2005 18:54:47 -0600 committer Paul Mackerras Tue, 10 Jan 2006 15:30:05 +1100 [PATCH] powerpc: set up the RTAS token just like the rest of them. 237-eeh-bridge-token.patch Minor: the rtas-bridge token should be set up the same way that all the other rtas tokens are set up. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from 78379b6c5fc17b6666c40b05988e6708e98479c0 commit) commit fcb7543e3d01ad9ebd3498eb50fcf323edb163ab tree 4a4288cf782621c57ac234b109ad8d9808e67056 parent 821b537fd7bf9018f1df4b882cea199613147f65 author Linas Vepstas Thu, 03 Nov 2005 18:54:39 -0600 committer Paul Mackerras Tue, 10 Jan 2006 15:29:55 +1100 [PATCH] powerpc: Use PE configuration address consistently 236-eeh-config-addr.patch The PE configuration address wasn't being cnsistently used in all locations where a config address is called for. This patch adds it to the places it should have appeared in. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from c2bc904a28095aca0b04a37854b63b78622a032e commit) commit 821b537fd7bf9018f1df4b882cea199613147f65 tree ba22846f6fe8002f105f46e21e60617995d6fb9e parent 9fb40eb883ad2d22ad6975b4323cb76e018fa280 author Linas Vepstas Thu, 03 Nov 2005 18:54:34 -0600 committer Paul Mackerras Tue, 10 Jan 2006 15:29:43 +1100 [PATCH] powerpc: bugfix: fill in uninitialized field 235-eeh-set-pcidev-bugfix.patch The pci device field of the pci_dn struct should be initialized to a valid value. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from beb45c93d494a11c36e5b24f638e610db8428b54 commit) commit 9fb40eb883ad2d22ad6975b4323cb76e018fa280 tree c8f1f1a8e87b65cf69a01842eeb1efd52588d8e4 parent f751f84164bec4f38037b221a194c54d96c73d06 author Linas Vepstas Thu, 03 Nov 2005 18:54:29 -0600 committer Paul Mackerras Tue, 10 Jan 2006 15:29:33 +1100 [PATCH] powerpc: Remove duplicate code 234-eeh-find-pe.patch The find_device_pe() routine is duplicated in two files. Remove one of the two copies, declare the other extern. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from 48408e708282d4d0269136ff27ea5acbd9410b5a commit) commit f751f84164bec4f38037b221a194c54d96c73d06 tree 4f0ad3749aa07269a1bb7f5019ebbc78c65c4963 parent 25e591f6dd07365cbf0b1c2454386ce597dd5e05 author Linas Vepstas Thu, 03 Nov 2005 18:54:23 -0600 committer Paul Mackerras Tue, 10 Jan 2006 15:29:25 +1100 [PATCH] powerpc: remove bogus printk 233-eeh-buid-fix.patch Remove un-desired warning print from EEH code. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from 241239e6aff69788a177d97c5d06fe9995c74cca commit) commit 25e591f6dd07365cbf0b1c2454386ce597dd5e05 tree c5b2709d6eb012dd2a0816f69b4bf9c7b56a887a parent 5d5a0936b3ad9e3d3f6eaf61f1a06c62ea0e7a59 author Linas Vepstas Thu, 03 Nov 2005 18:53:20 -0600 committer Paul Mackerras Tue, 10 Jan 2006 15:29:14 +1100 [PATCH] powerpc: Add "partitionable endpoint" support 26-eeh-partition-endpoint.patch New versions of firmware introduce a new method by which the "partitionable endpoint" (the point at which the pci bus is cut) should be located. This code adds the support for this (mandatory) new feature. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from 9fcfb5d35b5294659f9299aa9cae6fd16325c07e commit) commit 5d5a0936b3ad9e3d3f6eaf61f1a06c62ea0e7a59 tree b663cd4b65c378161afef4d27e579af883b31457 parent 77bd741561016134d1761d6101c4f0361025062f author Linas Vepstas Thu, 03 Nov 2005 18:53:07 -0600 committer Paul Mackerras Tue, 10 Jan 2006 15:29:04 +1100 [PATCH] powerpc: Split out PCI address cache to its own file 25-pci-address-cache.patch The core EEH file is rather large. This patch splits out a self-contained chunk of it into its own file. This is the chunk that performes the caching and lookup of pci devices based on the i/o addresses of thier resoures. This code is almos architecture-independent and could be used by any system that wanted to find a pci device based only on the i/o address used by the device. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from b0b291d59906d4a9a89ed9e34d9fd684c7188924 commit) commit 77bd741561016134d1761d6101c4f0361025062f tree 5e3389b6941add4b24a2be64c730b7a9087c1f2f parent 977127174a7dff52d17faeeb4c4949a54221881f author Linas Vepstas Thu, 03 Nov 2005 18:52:49 -0600 committer Paul Mackerras Tue, 10 Jan 2006 15:28:32 +1100 [PATCH] powerpc: PCI Error Recovery: PPC64 core recovery routines Various PCI bus errors can be signaled by newer PCI controllers. The core error recovery routines are architecture dependent. This patch adds a recovery infrastructure for the PPC64 pSeries systems. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras (cherry picked from e8ca11b460c4c9c7fa6b529be221529ebd770e38 commit) commit 977127174a7dff52d17faeeb4c4949a54221881f tree b05b9d18a1256d7ed97bdfb537213a8d70ccca57 parent 80c0531514516e43ae118ddf38424e06e5c3cb3c parent 93b47684f60cf25e8cefe19a21d94aa0257fdf36 author Linus Torvalds Mon, 09 Jan 2006 18:41:42 -0800 committer Linus Torvalds Mon, 09 Jan 2006 18:41:42 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6 commit 80c0531514516e43ae118ddf38424e06e5c3cb3c tree 2eef8cf8fdf505b18f83078d1eb41167e98f5b54 parent a457aa6c2bdd743bbbffd3f9e4fdbd8c71f8af1b parent 11b751ae8c8ca3fa24c85bd5a3e51dd9f95cda17 author Linus Torvalds Mon, 09 Jan 2006 17:31:38 -0800 committer Linus Torvalds Mon, 09 Jan 2006 17:31:38 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/mingo/mutex-2.6 commit a457aa6c2bdd743bbbffd3f9e4fdbd8c71f8af1b tree 23b1109d5d286d1e96424f0195ed8c3144e04eb1 parent dbc1651f0c5b7d13acc59d3b805a7224332fb1fb parent b3c29d85bf0dcce9e99cbfba2811aeefae017aaa author Linus Torvalds Mon, 09 Jan 2006 17:06:53 -0800 committer Linus Torvalds Mon, 09 Jan 2006 17:06:53 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial commit dbc1651f0c5b7d13acc59d3b805a7224332fb1fb tree 1e380afb42aa091d2acce50cd2cc10e368d1026a parent 1fd5a46dd6bbca3a1275465120caf4748872c2a7 author Oleg Nesterov Sun, 08 Jan 2006 22:19:33 +0300 committer Linus Torvalds Mon, 09 Jan 2006 17:01:39 -0800 [PATCH] rcu: don't set ->next_pending in rcu_start_batch() I think it is better to set ->next_pending in the caller, when it is needed. This saves one parameter, and this coincides with cpu_quiet() beahaviour, which sets ->completed = ->cur itself. Signed-off-by: Oleg Nesterov Acked-by: Paul E. McKenney Signed-off-by: Linus Torvalds commit 11b751ae8c8ca3fa24c85bd5a3e51dd9f95cda17 tree 7da3ef8bc6db62d76569ae709d7a2b8357719b0c parent f36d4024caa3790606e43228a574157c45b73b22 author Ingo Molnar Mon, 09 Jan 2006 15:59:27 -0800 committer Ingo Molnar Mon, 09 Jan 2006 15:59:27 -0800 [PATCH] mutex subsystem, semaphore to completion: drivers/block/loop.c convert the block loop device from semaphores to completions. Signed-off-by: Ingo Molnar commit f36d4024caa3790606e43228a574157c45b73b22 tree eb3d5e39d5fd83731bf608c4a7c424916e68c007 parent 3fe0c2776113c24b4b30374003f934cf44280db5 author Aleksey Makarov Mon, 09 Jan 2006 15:59:27 -0800 committer Ingo Molnar Mon, 09 Jan 2006 15:59:27 -0800 [PATCH] mutex subsystem, semaphore to completion: IDE ->gendev_rel_sem The patch changes semaphores that are initialized as locked to complete(). Source: MontaVista Software, Inc. Modified-by: Steven Rostedt The following patch is from Montavista. I modified it slightly. Semaphores are currently being used where it makes more sense for completions. This patch corrects that. Signed-off-by: Aleksey Makarov Signed-off-by: Steven Rostedt Signed-off-by: Ingo Molnar commit 3fe0c2776113c24b4b30374003f934cf44280db5 tree 0b0039205fd82fb7da94370be23e2634757573c1 parent 906c3b75f6c09b4693a20387aaa6aaa50d327082 author Steven Rostedt Mon, 09 Jan 2006 15:59:26 -0800 committer Ingo Molnar Mon, 09 Jan 2006 15:59:26 -0800 [PATCH] mutex subsystem, semaphore to completion: CPU3WDT change CPU3WDT semaphores to completions. Signed-off-by: Ingo Molnar commit 906c3b75f6c09b4693a20387aaa6aaa50d327082 tree c45749fcb6f8f22d9e2666135b528c885856aaed parent 7892f2f48d165a34b0b8130c8a195dfd807b8cb6 author Steven Rostedt Mon, 09 Jan 2006 15:59:26 -0800 committer Ingo Molnar Mon, 09 Jan 2006 15:59:26 -0800 [PATCH] mutex subsystem, semaphore to completion: SX8 change SX8 semaphores to completions. Signed-off-by: Ingo Molnar commit 7892f2f48d165a34b0b8130c8a195dfd807b8cb6 tree 592b29350c168aa5758700820ab22fb56e72a567 parent 1b1dcc1b57a49136f118a0f16367256ff9994a69 author Ingo Molnar Mon, 09 Jan 2006 15:59:25 -0800 committer Ingo Molnar Mon, 09 Jan 2006 15:59:25 -0800 [PATCH] mutex subsystem, semaphore to mutex: VFS, sb->s_lock This patch converts the superblock-lock semaphore to a mutex, affecting lock_super()/unlock_super(). Tested on ext3 and XFS. Signed-off-by: Ingo Molnar commit 1b1dcc1b57a49136f118a0f16367256ff9994a69 tree b0b36d4f41d28c9d6514fb309d33c1a084d6309b parent 794ee1baee1c26be40410233e6c20bceb2b03c08 author Jes Sorensen Mon, 09 Jan 2006 15:59:24 -0800 committer Ingo Molnar Mon, 09 Jan 2006 15:59:24 -0800 [PATCH] mutex subsystem, semaphore to mutex: VFS, ->i_sem This patch converts the inode semaphore to a mutex. I have tested it on XFS and compiled as much as one can consider on an ia64. Anyway your luck with it might be different. Modified-by: Ingo Molnar (finished the conversion) Signed-off-by: Jes Sorensen Signed-off-by: Ingo Molnar commit 794ee1baee1c26be40410233e6c20bceb2b03c08 tree 1173a5cca98ddfbc1520d2d124af6d16bf950df2 parent de5097c2e73f826302cd8957c225b3725e0c7553 author Jes Sorensen Mon, 09 Jan 2006 15:59:21 -0800 committer Ingo Molnar Mon, 09 Jan 2006 15:59:21 -0800 [PATCH] mutex subsystem, semaphore to mutex: XFS This patch switches XFS over to use the new mutex code directly as opposed to the previous workaround patch I posted earlier that avoided the namespace clash by forcing it back to semaphores. This falls in the 'works for me' category. Signed-off-by: Jes Sorensen Signed-off-by: Ingo Molnar commit de5097c2e73f826302cd8957c225b3725e0c7553 tree 3d56ab6fd891088ac55a9ef529faf4360391a22f parent 408894ee4dd4debfdedd472eb4d8414892fc90f6 author Ingo Molnar Mon, 09 Jan 2006 15:59:21 -0800 committer Ingo Molnar Mon, 09 Jan 2006 15:59:21 -0800 [PATCH] mutex subsystem, more debugging code more mutex debugging: check for held locks during memory freeing, task exit, enable sysrq printouts, etc. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven commit 408894ee4dd4debfdedd472eb4d8414892fc90f6 tree b324c1086b804cc05c2839f9d9675eef2bc7c949 parent f3f54ffa703c6298240ffd69616451d645bae4d5 author Ingo Molnar Mon, 09 Jan 2006 15:59:20 -0800 committer Ingo Molnar Mon, 09 Jan 2006 15:59:20 -0800 [PATCH] mutex subsystem, debugging code mutex implementation - add debugging code. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven commit f3f54ffa703c6298240ffd69616451d645bae4d5 tree 0f66c760d21ab3c94b4f0be4229f458c0a3fd9c2 parent 6053ee3b32e3437e8c1e72687850f436e779bd49 author Ingo Molnar Mon, 09 Jan 2006 15:59:20 -0800 committer Ingo Molnar Mon, 09 Jan 2006 15:59:20 -0800 [PATCH] mutex subsystem, documentation Add mutex design related documentation. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven commit 6053ee3b32e3437e8c1e72687850f436e779bd49 tree bb845004eb66554c569bc53a1efc87365c8a3cbe parent 2acbb8c657af86b2fa5b185f1d7048385e310585 author Ingo Molnar Mon, 09 Jan 2006 15:59:19 -0800 committer Ingo Molnar Mon, 09 Jan 2006 15:59:19 -0800 [PATCH] mutex subsystem, core mutex implementation, core files: just the basic subsystem, no users of it. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven commit 2acbb8c657af86b2fa5b185f1d7048385e310585 tree bc106bb2665a9c6267e6cc4eec9085deedd9e636 parent 823d0f4f67252115212eb86caba14d5795bbe643 author Arjan van de Ven Mon, 09 Jan 2006 15:59:19 -0800 committer Ingo Molnar Mon, 09 Jan 2006 15:59:19 -0800 [PATCH] mutex subsystem, add default include/asm-*/mutex.h files add the per-arch mutex.h files for the remaining architectures. We default to asm-generic/mutex-dec.h, because that performs quite well on most arches. Arches that do not have atomic decrement/increment instructions should switch to mutex-xchg.h instead. Arches can also provide their own implementation for the mutex fastpath primitives. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar commit 823d0f4f67252115212eb86caba14d5795bbe643 tree 24ec0f205c7a78f74612f32fa0ed228b0657ca40 parent b8aa0361e434f8d9cbe9bb34525af1e8721396d8 author Nicolas Pitre Mon, 09 Jan 2006 15:59:18 -0800 committer Ingo Molnar Mon, 09 Jan 2006 15:59:18 -0800 [PATCH] mutex subsystem, add include/asm-arm/mutex.h add the ARM version of mutex.h, which is optimized in assembly for ARMv6, and uses the xchg implementation on pre-ARMv6. Signed-off-by: Ingo Molnar commit b8aa0361e434f8d9cbe9bb34525af1e8721396d8 tree 7af86e12b51596d534add919f2943b22fa006e68 parent 2af7f59eeec18f310b6209d18652ce2387615507 author Ingo Molnar Mon, 09 Jan 2006 15:59:18 -0800 committer Ingo Molnar Mon, 09 Jan 2006 15:59:18 -0800 [PATCH] mutex subsystem, add include/asm-x86_64/mutex.h add the x86_64 version of mutex.h, optimized in assembly. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven commit 2af7f59eeec18f310b6209d18652ce2387615507 tree a3504d2c4776bfe50978baf74a3fb156a8c4df85 parent 620a6fd185c084aa617c411f711533f01ea673c9 author Arjan van de Ven Mon, 09 Jan 2006 15:59:18 -0800 committer Ingo Molnar Mon, 09 Jan 2006 15:59:18 -0800 [PATCH] mutex subsystem, add include/asm-i386/mutex.h add the i386 version of mutex.h, optimized in assembly. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar commit 620a6fd185c084aa617c411f711533f01ea673c9 tree 3ab1a296a2cd952bc3dd602fc5dd2ada9288b2c4 parent 711a660dc2064013a2b0167ee67389707fc9cac3 author Ingo Molnar Mon, 09 Jan 2006 15:59:17 -0800 committer Ingo Molnar Mon, 09 Jan 2006 15:59:17 -0800 [PATCH] mutex subsystem, add asm-generic/mutex-[dec|xchg|null].h implementations Add three (generic) mutex fastpath implementations. The mutex-xchg.h implementation is atomic_xchg() based, and should work fine on every architecture. The mutex-dec.h implementation is atomic_dec_return() based - this one too should work on every architecture, but might not perform the most optimally on architectures that have no atomic-dec/inc instructions. The mutex-null.h implementation forces all calls into the slowpath. This is used for mutex debugging, but it can also be used on platforms that do not want (or need) a fastpath at all. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven commit 711a660dc2064013a2b0167ee67389707fc9cac3 tree 1430cbabc0e634c5efceabbe72da426fde8cc5d0 parent ffbf670f5cd50501a34a5187981460da2216071e author Chuck Ebbert <76306.1226@compuserve.com> Mon, 09 Jan 2006 15:59:17 -0800 committer Ingo Molnar Mon, 09 Jan 2006 15:59:17 -0800 [PATCH] mutex subsystem, add typecheck_fn(type, function) add typecheck_fn(type, function) to do type-checking of function pointers. Modified-by: Ingo Molnar (made it typeof() based, instead of typedef based.) Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Ingo Molnar commit ffbf670f5cd50501a34a5187981460da2216071e tree f2cd9eeeb59839d15feddf906310bb375474c573 parent f17578decc40df8fceff82b106582e30bdfb3189 author Ingo Molnar Mon, 09 Jan 2006 15:59:17 -0800 committer Ingo Molnar Mon, 09 Jan 2006 15:59:17 -0800 [PATCH] mutex subsystem, add atomic_xchg() to all arches add atomic_xchg() to all the architectures. Needed by the new mutex code. Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven commit b3c29d85bf0dcce9e99cbfba2811aeefae017aaa tree 048985e4e4513df24fa3869e1569f8dee0d65b7c parent e82443c092fc37a907c117d36f44b6fe143567ae author Jesper Juhl Tue, 10 Jan 2006 00:35:22 +0100 committer Adrian Bunk Tue, 10 Jan 2006 00:35:22 +0100 Small fixups to the EHCI Kconfig help text Here's a small patch with a few tiny fixups for the EHCI Kconfig help text. Please consider applying. Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk commit 87635b71b544563f29050a9cecaa12b5d2a3e34a tree 5be700dae4582d73fdd31b8db0480eaddd04881c parent 105e50a5e8f184af31daffce4d7bfd7771fe213f author Roland Dreier Mon, 09 Jan 2006 15:29:53 -0800 committer Roland Dreier Mon, 09 Jan 2006 15:29:53 -0800 IB/mthca: Factor common MAD initialization code Factor out common code for initializing MAD packets, which is shared by many query routines in mthca_provider.c, into init_query_mad(). add/remove: 1/0 grow/shrink: 0/4 up/down: 16/-44 (-28) function old new delta init_query_mad - 16 +16 mthca_query_port 521 518 -3 mthca_query_pkey 301 294 -7 mthca_query_device 648 641 -7 mthca_query_gid 453 426 -27 Signed-off-by: Roland Dreier commit 105e50a5e8f184af31daffce4d7bfd7771fe213f tree 67c7b8218301c6e5a778b872d4baaf89fad583fa parent 92898522e3ee1a0ba54140aad1974d9e868f74ae author Roland Dreier Mon, 09 Jan 2006 15:21:21 -0800 committer Roland Dreier Mon, 09 Jan 2006 15:21:21 -0800 IB/mthca: kzalloc conversions Convert kmalloc()/memset(,0,) pairs to kzalloc(). Signed-off-by: Roland Dreier commit e82443c092fc37a907c117d36f44b6fe143567ae tree f54f9011ad0fcedf3540d14e2e6623395969e3f5 parent c28ab5d23a9c8dd99f12602e6ae7feba6f0b43ea author Adrian Bunk Tue, 10 Jan 2006 00:20:30 +0100 committer Adrian Bunk Tue, 10 Jan 2006 00:20:30 +0100 Documentation/filesystems/proc.txt: indentation fix Signed-off-by: Adrian Bunk commit c28ab5d23a9c8dd99f12602e6ae7feba6f0b43ea tree 1e668deae98cbcbf7ab1776726fe357a4aa6dd21 parent 52461121b242365b777762bf7c5f41c55a330646 author Adrian Bunk Tue, 10 Jan 2006 00:15:25 +0100 committer Adrian Bunk Tue, 10 Jan 2006 00:15:25 +0100 remove the outdated arch/i386/kernel/cpu/{,mtrr/}changelog This patch removes two outdated changelog files. Signed-off-by: Adrian Bunk Signed-off-by: Dave Jones commit 52461121b242365b777762bf7c5f41c55a330646 tree 2d8ba9c6ba7a1162bb65edf4ea2f5fb6c2d99141 parent 93b1fae49189d82bca38f47334e9853e44105ced author Adrian Bunk Tue, 10 Jan 2006 00:13:57 +0100 committer Adrian Bunk Tue, 10 Jan 2006 00:13:57 +0100 MAINTAINERS: remove BUSLOGIC entry Leonard N. Zubkoff passed away in August 2002. Signed-off-by: Adrian Bunk commit 93b1fae49189d82bca38f47334e9853e44105ced tree 219f5555a27a122b41f50d708e4dbb541573c7cf parent 943ffb587cfdf3b2adfe52a6db08573f4ecf3284 author Adrian Bunk Tue, 10 Jan 2006 00:13:33 +0100 committer Adrian Bunk Tue, 10 Jan 2006 00:13:33 +0100 spelling: s/trough/through/ Additionally, one comment was reformulated by Joe Perches . Signed-off-by: Adrian Bunk commit 1fd5a46dd6bbca3a1275465120caf4748872c2a7 tree c24862a43f57974394ebb58a1d9005e4093e3bf7 parent 2cc6055060d975e8c7601f4a1c68ef2d3050b4e9 parent dff2c03534f525813342ab8dec90c5bb1ee07471 author Linus Torvalds Mon, 09 Jan 2006 15:12:52 -0800 committer Linus Torvalds Mon, 09 Jan 2006 15:12:52 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 2cc6055060d975e8c7601f4a1c68ef2d3050b4e9 tree b4881e2d9c38462e6633b30497823ba324396acd parent 3995f4c5327595b51482bdac8c189736262eb6e0 parent 3ebc284d52757cf39788731f8fddd70a89f7fc23 author Linus Torvalds Mon, 09 Jan 2006 15:10:22 -0800 committer Linus Torvalds Mon, 09 Jan 2006 15:10:22 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 943ffb587cfdf3b2adfe52a6db08573f4ecf3284 tree d2b631e24a824e9742f941cf3b89b0eea91bd201 parent 540695886075964c0e5295bea8e4793e8765d010 author Adrian Bunk Tue, 10 Jan 2006 00:10:13 +0100 committer Adrian Bunk Tue, 10 Jan 2006 00:10:13 +0100 spelling: s/retreive/retrieve/ Signed-off-by: Adrian Bunk commit 540695886075964c0e5295bea8e4793e8765d010 tree fa9139e0cb56b52753991562f82d24d96f4c6dca parent a58a414fd5438f5ade6210ad0e8b14fbd6f503c5 author Adrian Bunk Tue, 10 Jan 2006 00:09:36 +0100 committer Adrian Bunk Tue, 10 Jan 2006 00:09:36 +0100 s/assoicated/associated/ Signed-off-by: Adrian Bunk commit 3995f4c5327595b51482bdac8c189736262eb6e0 tree ef768d0ecf243a2376bfc646b847964313146d3e parent 05814450070f13b671fc9dbf89477677aa0258cb parent fe38ea5623d262afc0b92ea47b8a7d8c988521d2 author Linus Torvalds Mon, 09 Jan 2006 15:09:30 -0800 committer Linus Torvalds Mon, 09 Jan 2006 15:09:30 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit 05814450070f13b671fc9dbf89477677aa0258cb tree 4c7f6e85c59a79d0e5835cbca69de5642071a833 parent 8e9c238c3884c226f0cddc31cde87dd5df1a6500 parent a61c2d78ce61e67baf27c43f6721db87a27ac762 author Linus Torvalds Mon, 09 Jan 2006 15:09:03 -0800 committer Linus Torvalds Mon, 09 Jan 2006 15:09:03 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit 8e9c238c3884c226f0cddc31cde87dd5df1a6500 tree d6b4bb2f474580fd6f52e70447f8ed79d441a89d parent f17578decc40df8fceff82b106582e30bdfb3189 parent 7225b3fd0b6e224235fc50a69f70479ff96d5602 author Linus Torvalds Mon, 09 Jan 2006 15:08:33 -0800 committer Linus Torvalds Mon, 09 Jan 2006 15:08:33 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-mmc commit a58a414fd5438f5ade6210ad0e8b14fbd6f503c5 tree 89c934be5760d7e26aadf88e90cb954e80591f9e parent f17578decc40df8fceff82b106582e30bdfb3189 author Adrian Bunk Tue, 10 Jan 2006 00:08:17 +0100 committer Adrian Bunk Tue, 10 Jan 2006 00:08:17 +0100 spelling: s/usefull/useful/ Signed-off-by: Adrian Bunk commit dff2c03534f525813342ab8dec90c5bb1ee07471 tree 8aaf683cb0cd09ef5f2f79b3ca3df76e4caebded parent c7d58aabdc08aea92d6c5e01dcd7473a74b3642c author Arnaldo Carvalho de Melo Mon, 09 Jan 2006 14:56:56 -0800 committer David S. Miller Mon, 09 Jan 2006 14:56:56 -0800 [INET_DIAG]: Introduce sk_diag_fill To be called from inet_diag_get_exact, also rename inet_diag_fill to inet_csk_diag_fill, for consistency with inet_twsk_diag_fill. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit c7d58aabdc08aea92d6c5e01dcd7473a74b3642c tree c280a3c6d2c780d915060fe1560ddff6708c0b5d parent 4e852c027989c9fd5c51fb0080e28590c35c75ba author Arnaldo Carvalho de Melo Mon, 09 Jan 2006 14:56:38 -0800 committer David S. Miller Mon, 09 Jan 2006 14:56:38 -0800 [INET_DIAG]: Introduce inet_twsk_diag_dump & inet_twsk_diag_fill To properly dump TIME_WAIT sockets and to reduce complexity a bit by having per socket class accessor routines. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 4e852c027989c9fd5c51fb0080e28590c35c75ba tree 73f5949090dc09dd3b2cc3251a80c9c272456989 parent 7dbf0755249336f44f57368bdbf6f84103b3ba75 author Arnaldo Carvalho de Melo Mon, 09 Jan 2006 14:56:19 -0800 committer David S. Miller Mon, 09 Jan 2006 14:56:19 -0800 [INET_DIAG]: whitespace/simple cleanups Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 7dbf0755249336f44f57368bdbf6f84103b3ba75 tree 66a26e93432c38ccb64092b4e2be1d868df68e45 parent a2c2064f7f23fde23e34fb5d07de43b582966b71 author Arnaldo Carvalho de Melo Mon, 09 Jan 2006 14:56:03 -0800 committer David S. Miller Mon, 09 Jan 2006 14:56:03 -0800 [INET_DIAG]: Use inet_twsk() with TIME_WAIT sockets The fields being accessed in inet_diag_dump are outside sock_common, the common part of struct sock and struct inet_timewait_sock. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 7225b3fd0b6e224235fc50a69f70479ff96d5602 tree 30dd999fd966cb572371eb99bb629625f720de35 parent 788ee7b09883515f3a72a8f2a980df5e94f37e2c author Pierre Ossman Mon, 09 Jan 2006 22:51:46 +0000 committer Russell King Mon, 09 Jan 2006 22:51:46 +0000 [MMC] Indicate that R1/R1b contains command opcode Some controllers actually check the first byte of the response (most don't). This byte contains the command opcode for R1/R1b and all 1:s for other types. The difference must be indicated to the controller so it knows which reply to expect. Signed-off-by: Pierre Ossman commit 3ebc284d52757cf39788731f8fddd70a89f7fc23 tree 10c46ee9fb46cdcfd5e1f29026746baf25c505cd parent 695ca07bf1036091eff2f11d2fe5f1585c2ac8c8 author David S. Miller Mon, 09 Jan 2006 14:36:49 -0800 committer David S. Miller Mon, 09 Jan 2006 14:36:49 -0800 [SPARC64]: Update defconfig. Signed-off-by: David S. Miller commit 695ca07bf1036091eff2f11d2fe5f1585c2ac8c8 tree 8d01fdce568098466d4751aaa660385f8a6cf61c parent 90bf8116641d6c9fb6f88329634341f9a0f429c6 author Richard Mortimer Mon, 09 Jan 2006 14:35:50 -0800 committer David S. Miller Mon, 09 Jan 2006 14:35:50 -0800 [SPARC64]: Fix ptrace/strace Don't clobber register %l0 while checking TI_SYS_NOERROR value in syscall return path. This bug was introduced by: db7d9a4eb700be766cc9f29241483dbb1e748832 Problem narrowed down by Luis F. Ortiz and Richard Mortimer. I tried using %l2 as suggested by Luis and that works for me. Looking at the code I wonder if it makes sense to simplify the code a little bit. The following works for me but I'm not sure how to exercise the "NOERROR" codepath. Signed-off-by: David S. Miller commit a2c2064f7f23fde23e34fb5d07de43b582966b71 tree f3bebcedf4eccd21155808e6a364704bb13d6c5b parent cfacb0577e319b02ed42685a0a8e0f1657ac461b author Patrick McHardy Sun, 08 Jan 2006 22:37:26 -0800 committer David S. Miller Mon, 09 Jan 2006 14:16:31 -0800 [IPV6]: Set skb->priority in ip6_output.c Set skb->priority = sk->sk_priority as in raw.c and IPv4. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit cfacb0577e319b02ed42685a0a8e0f1657ac461b tree acaf2911c7d521374f5f56eaa5d6accda80a5fb1 parent 29f1df6cc1c3ee3530939f0e38d80a9b50645ba5 author Patrick McHardy Sun, 08 Jan 2006 22:36:54 -0800 committer David S. Miller Mon, 09 Jan 2006 14:16:28 -0800 [IPV4]: ip_output.c needs xfrm.h This patch fixes a warning from my IPsec patches: CC net/ipv4/ip_output.o net/ipv4/ip_output.c: In function 'ip_finish_output': net/ipv4/ip_output.c:208: warning: implicit declaration of function 'xfrm4_output_finish' Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 29f1df6cc1c3ee3530939f0e38d80a9b50645ba5 tree ea2e82bf11a7f41df35ce380d0931125a5511c99 parent 253af4235d24ddfcd9f5403485e9273b33d8fa5e author Jamal Hadi Salim Sun, 08 Jan 2006 22:35:55 -0800 committer David S. Miller Mon, 09 Jan 2006 14:16:26 -0800 [PKT_SCHED]: Fix qdisc return code. The mapping between TC_ACTION_SHOT and the qdisc return codes is better suited to NET_XMIT_BYPASS so as not to confuse TCP Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit 253af4235d24ddfcd9f5403485e9273b33d8fa5e tree 65f93e5606e22b0608db2b7beb87fce22089ad52 parent c1854ebc7f13b23c3d6a6e641a1a1db1116ca998 author Jamal Hadi Salim Sun, 08 Jan 2006 22:34:25 -0800 committer David S. Miller Mon, 09 Jan 2006 14:16:23 -0800 [NET]: Add IFB (Intermediate Functional Block) network device. A new device to do intermidiate functional block in a system shared manner. To use the new functionality, you need to turn on qos/classifier actions. The new functionality can be grouped as: 1) qdiscs/policies that are per device as opposed to system wide. ifb allows for a device which can be redirected to thus providing an impression of sharing. 2) Allows for queueing incoming traffic for shaping instead of dropping. Packets are redirected to this device using tc/action mirred redirect construct. If they are sent to it by plain routing instead then they will merely be dropped and the stats would indicate that. Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit c1854ebc7f13b23c3d6a6e641a1a1db1116ca998 tree f6ddfa2532700ef5907d6153c01a06b5c8f4596d parent 09a626600b437d91f6b13ade5c7c4b374893c54e author Ralf Baechle Sun, 08 Jan 2006 22:31:04 -0800 committer David S. Miller Mon, 09 Jan 2006 14:16:21 -0800 [AX25] mkiss: Drop spinlock before sleeping call. With the previous missing-unlock fix the spinlock is dropped only after the tty->driver->write() call which might sleep. Signed-off-by: Ralf Baechle Signed-off-by: David S. Miller commit 09a626600b437d91f6b13ade5c7c4b374893c54e tree a6de3c2a33b7d896cd22a3fe799d1b40d28daf40 parent 4bba3925924148c24fb0c7636a04ad69a6a56b84 author Kris Katterjohn Sun, 08 Jan 2006 22:24:28 -0800 committer David S. Miller Mon, 09 Jan 2006 14:16:18 -0800 [NET]: Change some "if (x) BUG();" to "BUG_ON(x);" This changes some simple "if (x) BUG();" statements to "BUG_ON(x);" Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit 4bba3925924148c24fb0c7636a04ad69a6a56b84 tree 9f8af6ab6509dd1bf3dcb7232a4e6fdc8cbf8629 parent 541673c859c0d71dedaaea1c148dfe3ccccc9422 author Patrick McHardy Sun, 08 Jan 2006 22:22:14 -0800 committer David S. Miller Mon, 09 Jan 2006 14:16:14 -0800 [PKT_SCHED]: Prefix tc actions with act_ Clean up the net/sched directory a bit by prefix all actions with act_. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 541673c859c0d71dedaaea1c148dfe3ccccc9422 tree 17a3438e0f77033a7c3911cee91b1d3fff6c91d9 parent 31bd06eb33bbabe643385a861d780d950ca73846 author Patrick McHardy Sun, 08 Jan 2006 22:17:27 -0800 committer David S. Miller Mon, 09 Jan 2006 14:16:12 -0800 [PKT_SCHED]: Fix memory leak when dumping in pedit action Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 31bd06eb33bbabe643385a861d780d950ca73846 tree 6796f6c0b1d59c3310da49a4ed03fe911b229b22 parent f43c5a0df38e12f53a3023175a12da9b7ef0df63 author Patrick McHardy Sun, 08 Jan 2006 22:16:25 -0800 committer David S. Miller Mon, 09 Jan 2006 14:16:10 -0800 [PKT_SCHED]: Remove some obsolete policer exports Also make sure the legacy code is only built when CONFIG_NET_CLS_ACT is not set. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit f43c5a0df38e12f53a3023175a12da9b7ef0df63 tree 9568a14353e93cffc0f59525c069b68305479520 parent 538e43a4bd36ae49873ef7097a16a207f5d9912b author Patrick McHardy Sun, 08 Jan 2006 22:15:34 -0800 committer David S. Miller Mon, 09 Jan 2006 14:16:08 -0800 [PKT_SCHED]: Convert tc action functions to single skb pointers tcf_action_exec only gets a single skb pointer and doesn't own the skb, but passes double skb pointers (to a local variable) to the action functions. Change to use single skb pointers everywhere. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 538e43a4bd36ae49873ef7097a16a207f5d9912b tree 11a7a9ea4594993c559a247d6ff373dc00b77e1c parent 2941a4863154982918d39a639632c76eeacfa884 author Patrick McHardy Sun, 08 Jan 2006 22:12:03 -0800 committer David S. Miller Mon, 09 Jan 2006 14:16:05 -0800 [PKT_SCHED]: Use USEC_PER_SEC Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 2941a4863154982918d39a639632c76eeacfa884 tree 4d61d12a1f172635b2e3295b35d072738f157dc0 parent a429d2609c153882c421b067ad5ae5a38851459e author Patrick McHardy Sun, 08 Jan 2006 22:05:26 -0800 committer David S. Miller Mon, 09 Jan 2006 14:16:03 -0800 [NET]: Convert net/{ipv4,ipv6,sched} to netdev_priv Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit a429d2609c153882c421b067ad5ae5a38851459e tree 896934bd313ef565011f09b13d0dc0ae3b043641 parent 7302533aac2df321b76e8a113e5cfa529c825b09 author Herbert Xu Sat, 07 Jan 2006 16:38:15 +1100 committer David S. Miller Mon, 09 Jan 2006 14:16:00 -0800 [CRYPTO] cipher: Set alignmask for multi-byte loads Many cipher implementations use 4-byte/8-byte loads/stores which require alignment on some architectures. This patch explicitly sets the alignment requirements for them. Signed-off-by: Herbert Xu commit 7302533aac2df321b76e8a113e5cfa529c825b09 tree 9499633f4d5b6eeecc41ac50cca7fcf5310efd9e parent bcb0ad2b34daade529ce1f38eede0ea8b7309535 author Herbert Xu Sat, 07 Jan 2006 16:24:15 +1100 committer David S. Miller Mon, 09 Jan 2006 14:15:58 -0800 [CRYPTO] api: Require block size to be less than PAGE_SIZE/8 The cipher code path may allocate up to two blocks of data on the stack. Therefore we need to place limits on the maximum block size. Signed-off-by: Herbert Xu commit bcb0ad2b34daade529ce1f38eede0ea8b7309535 tree 5f09892e3031dc3c94304f563e91baa1b3438d6a parent afad2608c766f53c79ec4ffccdb4bef660b90a89 author Herbert Xu Wed, 21 Dec 2005 19:01:58 +0800 committer David S. Miller Mon, 09 Jan 2006 14:15:56 -0800 [CRYPTO] sha1: Fixed off-by-64 bug in sha1_update After a partial update, the done pointer is off to the right by 64 bytes. Signed-off-by: Herbert Xu commit afad2608c766f53c79ec4ffccdb4bef660b90a89 tree 40e34f6e491e505ac51faab210d94f93bb55495d parent e6a3a925a25ddd2ebd66dbc8d14ebdd3d57ca0c3 author Daniel Marjamäki Sat, 03 Dec 2005 17:16:42 +1100 committer David S. Miller Mon, 09 Jan 2006 14:15:53 -0800 [CRYPTO] aes-i586: Remove unused variable ls_tab It is assigned but never read. Signed-off-by: Daniel Marjamäki Signed-off-by: Herbert Xu commit e6a3a925a25ddd2ebd66dbc8d14ebdd3d57ca0c3 tree 1b13c0cd7da01e4a7c14cdae1231ca22d317df21 parent 827c3911d8551842900f44c9a139382bcae68e6e author Denis Vlasenko Tue, 29 Nov 2005 22:23:20 +1100 committer David S. Miller Mon, 09 Jan 2006 14:15:51 -0800 [CRYPTO] aes-i586: Nano-optimisation on key length check Reduce the number of comparisons by one through the use of jb/je. This patch also corrects the comments regarding the different key lengths. Signed-off-by: Herbert Xu commit 827c3911d8551842900f44c9a139382bcae68e6e tree 94a273158e4e343ac71cab555ff32477dad61431 parent fa9b98fdab5b57ecb4dd3d6c2489e262af458c44 author Herbert Xu Tue, 29 Nov 2005 22:04:41 +1100 committer David S. Miller Mon, 09 Jan 2006 14:15:49 -0800 [CRYPTO] cipher: Align temporary buffer in cbc_process_decrypt Since the temporary buffer is used as an argument to cia_decrypt, it must be aligned by cra_alignmask. This bug was found by linux@horizon.com. Signed-off-by: Herbert Xu commit fa9b98fdab5b57ecb4dd3d6c2489e262af458c44 tree 454d374f957985d5931378d86090b6aca5bbc877 parent 9d70a6c86cd86e111291bd0d506028ecb9649923 author Nicolas Pitre Sun, 13 Nov 2005 11:17:33 +1100 committer David S. Miller Mon, 09 Jan 2006 14:15:46 -0800 [CRYPTO] sha1: Avoid shifting count left and right This patch avoids shifting the count left and right needlessly for each call to sha1_update(). It instead can be done only once at the end in sha1_final(). Keeping the previous test example (sha1_update() successively called with len=64), a 1.3% performance increase can be observed on i386, or 0.2% on ARM. The generated code is also smaller on ARM. Signed-off-by: Nicolas Pitre Signed-off-by: Herbert Xu commit 9d70a6c86cd86e111291bd0d506028ecb9649923 tree 1bff5efc7644156f4ea7bea8c9fe8410ea86bf8d parent cfa8d17cc836905ad174fd924701b352585d62f1 author Nicolas Pitre Sun, 13 Nov 2005 10:59:54 +1100 committer David S. Miller Mon, 09 Jan 2006 14:15:44 -0800 [CRYPTO] sha1: Rename i/j to done/partial This patch gives more descriptive names to the variables i and j. Signed-off-by: Nicolas Pitre Signed-off-by: Herbert Xu commit cfa8d17cc836905ad174fd924701b352585d62f1 tree 6c966440661a678aea2082cf72c1bee0886a0a57 parent c8a19c91b5b488fed8cce04200a84c6a35c0bf0c author Nicolas Pitre Sun, 13 Nov 2005 10:47:20 +1100 committer David S. Miller Mon, 09 Jan 2006 14:15:41 -0800 [CRYPTO] sha1: Avoid useless memcpy() The current code unconditionally copy the first block for every call to sha1_update(). This can be avoided if there is no pending partial block. This is always the case on the first call to sha1_update() (if the length is >= 64 of course. Furthermore, temp does need to be called if sha_transform is never invoked. Also consolidate the sha_transform calls into one to reduce code size. Signed-off-by: Nicolas Pitre Signed-off-by: Herbert Xu commit c8a19c91b5b488fed8cce04200a84c6a35c0bf0c tree e0296c60f7601c5a1d1cf5fa9afd0e38f92e6995 parent 5cb1454b862ab3040b78364d58330262fea1ddba author Herbert Xu Sat, 05 Nov 2005 18:06:26 +1100 committer David S. Miller Mon, 09 Jan 2006 14:15:39 -0800 [CRYPTO] Allow AES C/ASM implementations to coexist As the Crypto API now allows multiple implementations to be registered for the same algorithm, we no longer have to play tricks with Kconfig to select the right AES implementation. This patch sets the driver name and priority for all the AES implementations and removes the Kconfig conditions on the C implementation for AES. Signed-off-by: Herbert Xu commit 5cb1454b862ab3040b78364d58330262fea1ddba tree 7e62126fa1f1398bb6a6b7f9e136aece32b0e112 parent 06ace7a9bafeb9047352707eb79e8eaa0dfdf5f2 author Herbert Xu Sat, 05 Nov 2005 16:58:14 +1100 committer David S. Miller Mon, 09 Jan 2006 14:15:37 -0800 [CRYPTO] Allow multiple implementations of the same algorithm This is the first step on the road towards asynchronous support in the Crypto API. It adds support for having multiple crypto_alg objects for the same algorithm registered in the system. For example, each device driver would register a crypto_alg object for each algorithm that it supports. While at the same time the user may load software implementations of those same algorithms. Users of the Crypto API may then select a specific implementation by name, or choose any implementation for a given algorithm with the highest priority. The priority field is a 32-bit signed integer. In future it will be possible to modify it from user-space. This also provides a solution to the problem of selecting amongst various AES implementations, that is, aes vs. aes-i586 vs. aes-padlock. Signed-off-by: Herbert Xu commit 06ace7a9bafeb9047352707eb79e8eaa0dfdf5f2 tree fa22bbc2e8ea5bee00b6aec353783144b6f8735a parent 2df15fffc612b53b2c8e4ff3c981a82441bc00ae author Herbert Xu Sun, 30 Oct 2005 21:25:15 +1100 committer David S. Miller Mon, 09 Jan 2006 14:15:34 -0800 [CRYPTO] Use standard byte order macros wherever possible A lot of crypto code needs to read/write a 32-bit/64-bit words in a specific gender. Many of them open code them by reading/writing one byte at a time. This patch converts all the applicable usages over to use the standard byte order macros. This is based on a previous patch by Denis Vlasenko. Signed-off-by: Herbert Xu commit 2df15fffc612b53b2c8e4ff3c981a82441bc00ae tree fc148a3169794bc295cd8088e1a5ff315f0ee80c parent f17578decc40df8fceff82b106582e30bdfb3189 author Herbert Xu Sun, 30 Oct 2005 20:44:37 +1100 committer David S. Miller Mon, 09 Jan 2006 14:15:31 -0800 [PADLOCK] Fix sparse warning about 1-bit signed bit-field Change the bit-field in struct cword to unsigned to shut sparse up. Signed-off-by: Herbert Xu commit 90bf8116641d6c9fb6f88329634341f9a0f429c6 tree a329b721fbe57c4ac81d7ef641d1d33c7ea92b8b parent f17578decc40df8fceff82b106582e30bdfb3189 author David S. Miller Mon, 09 Jan 2006 13:59:12 -0800 committer David S. Miller Mon, 09 Jan 2006 14:12:50 -0800 [SPARC64]: Add needed pm_power_off symbol. Signed-off-by: David S. Miller commit 92898522e3ee1a0ba54140aad1974d9e868f74ae tree 25f398798849c6806830aa3a32a98c72640a12e3 parent 6627fa662e86c400284b64c13661fdf6bff05983 author Michael S. Tsirkin Mon, 09 Jan 2006 14:04:40 -0800 committer Roland Dreier Mon, 09 Jan 2006 14:04:40 -0800 IB/mthca: prevent event queue overrun I am seeing EQ overruns in SDP stress tests: if the CQ completion handler arms a CQ, this could generate more EQEs, so that EQ will never get empty and consumer index will never get updated. This is similiar to what we have with command interface: /* * cmd_event() may add more commands. * The card will think the queue has overflowed if * we don't tell it we've been processing events. */ However, for completion events, we *don't* want to update the consumer index on each event. So, perform EQ doorbell coalescing: allocate EQs with some spare EQEs, and update once we run out of them. The value 0x80 was selected to avoid any performance impact. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 6627fa662e86c400284b64c13661fdf6bff05983 tree ece216b8bbdedd86dbf19e02ce38d9ada18e2984 parent 5367f2d67c7d0bf1faae90e6e7b4e2ac3c9b5e0f author Michael S. Tsirkin Mon, 09 Jan 2006 13:50:57 -0800 committer Roland Dreier Mon, 09 Jan 2006 13:50:57 -0800 IB/mthca: fix page shift calculation in mthca_reg_phys_mr() For all pages except possibly the last one, the byte beyond the buffer end must be page aligned. Therefore, when computing the page shift to use, OR the end addresses of the buffers as well as the start addresses into the mask we check. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 4f0210b9c4889eede9f8f379f93570c01998ccb9 tree 0883096acb3bc46e65a6873b777f01214d6a7852 parent cb58455c48dc43536e5548bdba4e916b2f0cf13d author Sam Ravnborg Mon, 09 Jan 2006 22:48:34 +0100 committer Sam Ravnborg Mon, 09 Jan 2006 22:48:34 +0100 kbuild: re-export VERSION, PATCHLEVEL, SUBLEVEL Eric Sandeen pointed out that it is usefull to have access to VERSION, PATCHLEVEL, SUBLEVEL in external modules, and gooling a litte confirmed this. So re-export them. Usage within the kernel is still discouraged but possible. Signed-off-by: Sam Ravnborg commit fe38ea5623d262afc0b92ea47b8a7d8c988521d2 tree c08a8899b3281f4815d011d8b6f03909184875a1 parent 9d4ae7276ae26c5bfba6207cf05340af1931d8d4 author Ben Dooks Mon, 09 Jan 2006 21:16:18 +0000 committer Russell King Mon, 09 Jan 2006 21:16:18 +0000 [ARM] 3246/1: S3C24XX - retab clock list in arch/arm/mach-s3c2410/clock.c Patch from Ben Dooks Properly tabulate the clock table in arch/arm/mach-s3c2410/clock.c and put the requisite commas on the end of the structs. Fix the comment about clock enable and disable in the setup code Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 788ee7b09883515f3a72a8f2a980df5e94f37e2c tree bc66a1450d6644e712d6ca7acc1ffd725d48c5fc parent cfa7f52164d6cdcb6cea87386562c568da66ff9e author Russell King Mon, 09 Jan 2006 21:12:17 +0000 committer Russell King Mon, 09 Jan 2006 21:12:17 +0000 [MMC] Add DATA_MULTI flag Some hosts need to know that a transfer will be multi-block. Add a data flag to indicate multiple data block transfers. Signed-off-by: Russell King commit f17578decc40df8fceff82b106582e30bdfb3189 tree 911a435a2094ac03ae649f020237674224e4124a parent 682e852e2638ed0aff84aa51181c9e5d2f939562 parent cec418346e5a411e907293aba7cc21ac53c95834 author Linus Torvalds Mon, 09 Jan 2006 13:03:58 -0800 committer Linus Torvalds Mon, 09 Jan 2006 13:03:58 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb commit 682e852e2638ed0aff84aa51181c9e5d2f939562 tree e1a5221fe0c98d743fbceec2d0932f3556aecf93 parent 41ed16fa47350661da01443b8241bf6ca8080fd7 author Alexey Dobriyan Tue, 10 Jan 2006 00:09:16 +0300 committer Linus Torvalds Mon, 09 Jan 2006 13:02:51 -0800 [PATCH] Fix more "if ((err = foo() < 0))" typos Another reason to use: ret = foo(); if (ret < 0) goto out; Signed-off-by: Alexey Dobriyan Signed-off-by: Linus Torvalds commit 41ed16fa47350661da01443b8241bf6ca8080fd7 tree e12d199c8e63f9f296f73336471038fcbcf22bf3 parent 6150c32589d1976ca8a5c987df951088c05a7542 author Hugh Dickins Mon, 09 Jan 2006 20:46:49 +0000 committer Linus Torvalds Mon, 09 Jan 2006 12:57:05 -0800 [PATCH] Fix sg_page_malloc() memset sg_page_malloc should clear the data buffer, not that extent of mem_map. This fixes Jesper's sg_page_free "Bad page states" Signed-off-by: Hugh Dickins Signed-off-by: Linus Torvalds commit cec418346e5a411e907293aba7cc21ac53c95834 tree e4fbe369d73db6ba7755c91f652c5914d12a873c parent b9f4ad57f70b8a29851b4f4247294f4aba6ae815 author Michael Krufky Mon, 09 Jan 2006 18:21:40 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 18:21:40 -0200 V4L/DVB (3336): Bluebird firmware hosting moved to common dvb firmware dir on linuxtv.org - Get_dvb_firmware script updated accordingly: - my $url = "http://www.linuxtv.org/~mkrufky/dvb-usb-bluebird-01.fw"; + my $url = "http://www.linuxtv.org/download/dvb/firmware/dvb-usb-blue$ Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit b9f4ad57f70b8a29851b4f4247294f4aba6ae815 tree 031387584628bbd06d04de9f3a14f95042ae3c38 parent 81481e9e1278420ed380da69e052c54e3670bf03 author Chris Pascoe Mon, 09 Jan 2006 18:21:39 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 18:21:39 -0200 V4L/DVB (3329): cx88_subids whitespace cleanup - Clean up a recently introduced spaces vs tabs whitespace problem. Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab commit 81481e9e1278420ed380da69e052c54e3670bf03 tree 7426e542f9dd7c6882591db4014a9ef8c8c2bc7b parent f53737882e26ff08022fec6ad79f061c49dadda2 author Michael Krufky Mon, 09 Jan 2006 18:21:38 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 18:21:38 -0200 V4L/DVB (3328): replace omitted 'TODO:' - replace omitted 'TODO:' Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit f53737882e26ff08022fec6ad79f061c49dadda2 tree d07379f003fbb144790b24e845045edfb4f517be parent 5af0c8f6a09534ebc6c56b4e5d79d0d521364750 author Patrick Boettcher Mon, 09 Jan 2006 18:21:38 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 18:21:38 -0200 V4L/DVB (3327): Remove DViCO specific firmware hacks from the generic code. - Move the code that patches bluebird firmware before upload from the generic code into the cxusb driver itself. Signed-off-by: Patrick Boettcher Signed-off-by: Michael Krufky Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab commit 5af0c8f6a09534ebc6c56b4e5d79d0d521364750 tree abc3f4ed2281d5113c053997b1fa2e6b44283b38 parent 5b0fa4fff17d944b6a0d4cb35d8e8b5ad0ac3669 author Hans Verkuil Mon, 09 Jan 2006 18:21:37 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 18:21:37 -0200 V4L/DVB (3326): Fix stereo and standard reporting of msp3400 (esp. for radio) - Add VIDIOC_LOG_STATUS to the radio device ioctl list. - Reduce the confusion between modes and standards - Fix stereo reporting for radio. - Don't set i2c configuration if the chip doesn't support it. - Fix reporting of current standard for radio. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 5b0fa4fff17d944b6a0d4cb35d8e8b5ad0ac3669 tree 1e31c64267ffabe37c733a00e09b91ba4453651a parent d312a46e5340be6a89c662ac483230c0737148c9 author Oliver Endriss Mon, 09 Jan 2006 18:21:37 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 18:21:37 -0200 V4L/DVB (3325): WSS output interface for av7110 - Implemented v4l2 api for sliced vbi data output to pass WSS data from userspace to the av7110 Signed-off-by: Oliver Endriss Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit d312a46e5340be6a89c662ac483230c0737148c9 tree 4d458407ce0baaf613360c4b0866e9f96b5d5df3 parent 1157020d542684e273242663d0befb58e284ade7 author Hans Verkuil Mon, 09 Jan 2006 18:21:36 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 18:21:36 -0200 V4L/DVB (3324): msp3400 audio handling bug fixes. - Check capabilities for audio settings (volume, balance, bass, treble, loudness, mute) - added loudness support - added missing VIDEO_AUDIO_BALANCE flags for v4l1 compatibility - do not call msp_any_detect_stereo for non-autoselect chips to retrieve the current stereo setting: that will temporarily mute the sound. It is only needed when the stereo mode might be changed, and for autoselect msp processors that do not periodically need to update their stereo setting. - do not wake up the thread if the standard did not change. Prevents temporary audio drop-out if the standard is set to the same value. - fix confused stereo detect code where V4L2_TUNER_SUB_STEREO and V4L2_TUNER_MODE_STEREO values were used incorrectly. - stereo mode reporting was broken (v4l2 value used to index a string array expecting v4l1 mode values). - do not set dsp register 0x30 in the 3410d thread: that register does not exist for pre-'G' revision msp chips. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 1157020d542684e273242663d0befb58e284ade7 tree ae05b2ce05f678999f245dd2c1dc0e3fd75f30c2 parent 00e34579feb563ca663be82d977c90241824503e author Marc Koschewski Mon, 09 Jan 2006 18:21:36 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 18:21:36 -0200 V4L/DVB (3323): Add Kconfig option for wrongly programmed devices - A new Kconfig option makes the user able to select if the dibusb-mb driver shall claim faulty programmed USB devices which are coming with default Cypress USB IDs. Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit 00e34579feb563ca663be82d977c90241824503e tree d49b9ba90b4f01cf13938a030384da24fbaef2ce parent 5ba4cc97786e23c3ef96b9c29c797ef5d0251330 author Marc Koschewski Mon, 09 Jan 2006 18:21:35 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 18:21:35 -0200 V4L/DVB (3322): Whitespace cleanup and unused code removed - Some whitespaces cleaned up - unused code removed Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit 5ba4cc97786e23c3ef96b9c29c797ef5d0251330 tree 22549d919131e2eb592b68a2a79efb3331a1c3a4 parent a6bab889c4d21cb8c0b0a25959daba87a56eccbb author Marc Koschewski Mon, 09 Jan 2006 18:21:34 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 18:21:34 -0200 V4L/DVB (3321): Indention cleanups - Indention cleaned for tabsize=8 Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit a6bab889c4d21cb8c0b0a25959daba87a56eccbb tree a5401371f3834d84372bee0d3b0672d68ba147e2 parent 4e5910e6fe5d977a36f7f39f6b13d61109eca19f author Patrick Boettcher Mon, 09 Jan 2006 18:21:33 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 18:21:33 -0200 V4L/DVB (3320): Check if PLL-description is set - Check if in the dvb-usb-device-structure the dvb_pll_desc is set before use. Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit 4e5910e6fe5d977a36f7f39f6b13d61109eca19f tree 048c6757b8013df12d583185abedb4340c245868 parent f2a333148c12f9e8f0be9df052398147614f5cb8 author Marc Koschewski Mon, 09 Jan 2006 18:21:33 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 18:21:33 -0200 V4L/DVB (3319): Changed indention for define's and their values - Indention for values of several request defines were not TabSized=8. Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit f2a333148c12f9e8f0be9df052398147614f5cb8 tree f234dd7dc751ccc18ad45363ddf785efc89a0ad3 parent 7560d7a4f9add362d60d4513033cf522c37adeea author d binderman Mon, 09 Jan 2006 18:21:32 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 18:21:32 -0200 V4L/DVB (3318): Fixes warning: variable "ret" is used before its value is set - Fixes compiling warning on kernel 2.6.15 with the Intel C compiler. - It said drivers/media/dvb/frontends/bcm3510.c(258): warning #592: variable "ret" is used before its value is set Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit 7560d7a4f9add362d60d4513033cf522c37adeea tree ca408b9b374f641373f57650bd5f462a64b810fe parent 3d7d027a9bf41437aa93baf14a1aada521ad9b12 author Hans Verkuil Mon, 09 Jan 2006 18:21:32 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 18:21:32 -0200 V4L/DVB (3317): msp3400: use v4l2_std_id and determine chip capabilities. - Replace old norm by the v4l2_std_id values. - Add code to correctly detect the various capabilities of the various msp chips. It's not yet used, that's going to be the next step. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 3d7d027a9bf41437aa93baf14a1aada521ad9b12 tree d53b9ab9cc50a9a3d02eea76fea2dc8a9c9d3a5e parent a07e60961e4c9cce911a6935bdc90e20c1c97c63 author Chris Pascoe Mon, 09 Jan 2006 18:21:31 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 18:21:31 -0200 V4L/DVB (3315): Use correct AGC settings for DNTV Live! DVB-T Pro - My original settings for this board were incorrect and resulted in an increased number of signal dropouts. Replace this with the settings from the Windows driver. Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab commit a07e60961e4c9cce911a6935bdc90e20c1c97c63 tree 21ce8c1da79ed2676a1dd472219212e807e95257 parent 7c239703a942117c3446ca06af537fc3ea12fb24 author Michael Krufky Mon, 09 Jan 2006 18:21:31 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 18:21:31 -0200 V4L/DVB (3313): codingstyle cleanups & restore some wrongfully deleted dvb-usb-ids - codingstyle cleanups & restore some wrongfully deleted dvb-usb-ids Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 7c239703a942117c3446ca06af537fc3ea12fb24 tree ad09a788f27d1a0fdbe089027757c4d4b93579e0 parent 43eabb4e2284146f8bfae8730ae41c218b724b7d author Chris Pascoe Mon, 09 Jan 2006 18:21:29 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 18:21:29 -0200 V4L/DVB (3312): DViCO USB IR Remote support - Add support for the remote control receiver inside the DViCO FusionHDTV DVB-T Dual Digital, and a keymap for the MCE remote bundled with it. Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab commit 43eabb4e2284146f8bfae8730ae41c218b724b7d tree a085cd1a8045ec6516a9170da8a4f19b0e03cc7c parent 0029ee143d66ca89d0e8b074abb452cf4ca2c53c author Chris Pascoe Mon, 09 Jan 2006 18:21:28 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 18:21:28 -0200 V4L/DVB (3311): DViCO FusionHDTV DVB-T Dual Digital PCI support - Support for DVB reception on the PCI half of the DViCO DVB-T Dual Digital. Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab commit 0029ee143d66ca89d0e8b074abb452cf4ca2c53c tree 6d87e987682ba3b5f4d3d135d5aeb15c22a622a7 parent 0602fbb2c84ffea1b06ae8e677662074620f01d7 author Chris Pascoe Mon, 09 Jan 2006 18:21:28 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 18:21:28 -0200 V4L/DVB (3310): DViCO Dual Digital DVB-T / USB bluebird updates - Add support for the USB portion of the DViCO Dual Digital board. Patch correct "warm" USB IDs into bluebird firmware before download. Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab commit 0602fbb2c84ffea1b06ae8e677662074620f01d7 tree 936ab6e290a69519aa391be81b037c41210987c6 parent cab462f716cdd522edc71436482d8734e8258489 author Peter Missel Mon, 09 Jan 2006 18:21:23 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 18:21:23 -0200 V4L/DVB (3309): SAA7134: GPIO IRQ improvements - Saa7134-core.c saa7134_irq(): Separate GPIO16 and GPIO18 handling. Call IR-remote-GPIO handler only if the GPIO IRQ is "owned" by it. Added infrastructure to branch out to a future I2C-IR IRQ handler. saa7134-core.c saa7134_hwinit2(): Enable only the one GPIO pin and edge to trigger an IRQ that is wired as keyup/keydown mask. IRQ will only be generated for an actual key-down event. saa7134-input.c flyvideo_codes[]: Replace numpad keys with normal ones. Put meaning to mystery keys. Change some key definitions to have their functions match their labels better. Fix typos. saa7134-input.c flydvb_codes[]: Added new table for the larger remote that comes with the LifeView FlyDVB series. saa7134-input.c build_key(): In IRQ mode, signal key-down and then key-up straight in one go. Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit cb58455c48dc43536e5548bdba4e916b2f0cf13d tree cc54d3ba40c77bf2c949f3f689452e3492b7907b parent a9aa1ffaac7c8d6f093bb8f7cdeea761a5e25f53 author Sam Ravnborg Mon, 09 Jan 2006 21:20:34 +0100 committer Sam Ravnborg Mon, 09 Jan 2006 21:20:34 +0100 kbuild: KERNELRELEASE is only re-defined when buiding the kernel To avoid running setlocalversion as root no longer (re-)define KERNELRELEASE for each run. With this patch KERNELRELEASE is only re-read when we do an actual kernel build. Rationale behind this is "do as little as possible" when executing make install - as root! A new file named .kernelrelease is strored in the root of the kernel tree containing the actual version string. So when we use do a kernel build the .kernelrelease file will be updated. But in all other situations it is left as-is. To make it more visible the kernel now prints out the version being build. Sample: Building kernel 2.6.15-g63b794bf-dirty ... ... The patch also un-exports VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION LOCALVERSION since all users of these are anyway broken - and none is left in the tree. Signed-off-by: Sam Ravnborg commit 93b47684f60cf25e8cefe19a21d94aa0257fdf36 tree f89ab5a9197cf9bb771a556f8b48989416848dce parent 46654728b55bf5d09dc91fa45f532131d8a609f2 author Richard Knutsson Wed, 30 Nov 2005 01:00:35 +0100 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:23 -0800 [PATCH] drivers/*rest*: Replace pci_module_init() with pci_register_driver() Replace obsolete pci_module_init() with pci_register_driver(). Signed-off-by: Richard Knutsson Signed-off-by: Greg Kroah-Hartman commit 46654728b55bf5d09dc91fa45f532131d8a609f2 tree d1af8667990afe51813ba82d25f495832c7021d4 parent 9bfab8cec652c80b4864b4d9247520dca042c2df author Greg Kroah-Hartman Tue, 06 Dec 2005 15:33:15 -0800 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:22 -0800 [PATCH] drivers/sound/oss: Replace pci_module_init() with pci_register_driver() Replace obsolete pci_module_init() with pci_register_driver(). Signed-off-by: Greg Kroah-Hartman Signed-off-by: Richard Knutsson commit 9bfab8cec652c80b4864b4d9247520dca042c2df tree d76d008e653949d7b9ead359d44c3662e99cd194 parent d1d6da8f9fb9a0633a2f36b84b292752d78f7d31 author Richard Knutsson Wed, 30 Nov 2005 00:59:34 +0100 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:22 -0800 [PATCH] drivers/block: Replace pci_module_init() with pci_register_driver() Replace obsolete pci_module_init() with pci_register_driver(). Signed-off-by: Richard Knutsson Signed-off-by: Greg Kroah-Hartman commit d1d6da8f9fb9a0633a2f36b84b292752d78f7d31 tree b5ca6cc364c0c23e47221ccd837c220e371aaf70 parent 065c6359071c6d7d1f8b2839317471d1d97fc70b author Richard Knutsson Wed, 30 Nov 2005 00:59:14 +0100 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:21 -0800 [PATCH] arch: Replace pci_module_init() with pci_register_driver() Replace obsolete pci_module_init() with pci_register_driver(). Signed-off-by: Richard Knutsson Signed-off-by: Greg Kroah-Hartman commit 065c6359071c6d7d1f8b2839317471d1d97fc70b tree f893af1d113991b94b39fbbae60e2b16a12efc5b parent 392a1ce761bc3b3a5d642ee341c1ff082cbb71f0 author linas@austin.ibm.com Fri, 02 Dec 2005 19:16:18 -0600 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:21 -0800 [PATCH] PCI Error Recovery: documentation Various PCI bus errors can be signaled by newer PCI controllers. Recovering from those errors requires an infrastructure to notify affected device drivers of the error, and a way of walking through a reset sequence. This patch adds documentation describing the current error recovery proposal. Signed-off-by: Linas Vepstas Signed-off-by: Greg Kroah-Hartman commit 392a1ce761bc3b3a5d642ee341c1ff082cbb71f0 tree 3b8028ae26e668d330e7f2d0559036fcc9ea2a34 parent 19272684b8e2fff39941e4c044d26ad349dd1a69 author linas Wed, 16 Nov 2005 17:10:41 -0600 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:21 -0800 [PATCH] PCI Error Recovery: header file patch Various PCI bus errors can be signaled by newer PCI controllers. Recovering from those errors requires an infrastructure to notify affected device drivers of the error, and a way of walking through a reset sequence. This patch adds a set of callbacks to be used by error recovery routines to notify device drivers of the various stages of recovery. Signed-off-by: Linas Vepstas Signed-off-by: Greg Kroah-Hartman commit 19272684b8e2fff39941e4c044d26ad349dd1a69 tree b855783d002489220a313e1ceb9da7b24a3c9af2 parent 54c762fe62d9ff0982f38e80cbec9c59104311e9 author Jesse Barnes Sat, 17 Dec 2005 09:27:50 -0800 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:21 -0800 [PATCH] PCI: update Toshiba ohci quirk DMI table I upgraded my Toshiba Satellite BIOS recently to see if it would fix an ACPI related problem I have (http://bugzilla.kernel.org/show_bug.cgi?id=5727). Unfortunately, it didn't, and moreover, Toshiba chose to change the system version in the DMI table with the update, causing the OHCI1394 related quirk to break. This patch updates the DMI table for the quirk to include Toshiba's new version name for this machine; I've tested it and it seems to work fine. Signed-off-by: Jesse Barnes Signed-off-by: Greg Kroah-Hartman commit 54c762fe62d9ff0982f38e80cbec9c59104311e9 tree 524fa5aa095973b8496537d39c70aa8c0d47b243 parent c64b5eead93f9d3a8ca0e9ca0ffba0b99dc565b9 author Adrian Bunk Thu, 22 Dec 2005 01:08:52 +0100 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:20 -0800 [PATCH] PCI: drivers/pci: some cleanups This patch contains the following cleanups: - hotplug/pciehp_core.c: make the needlessly global hpdriver_context static - #if 0 the following unused functions: - pci.c: pci_bus_max_busnr() - pci.c: pci_max_busnr() - proc.c: pci_proc_attach_bus() - remove.c: pci_remove_device_safe Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit c64b5eead93f9d3a8ca0e9ca0ffba0b99dc565b9 tree d4debea2e49260151a78d67362805a0746e755aa parent 9f3f4681291fc88864bb27f8f3832b95bb53aae5 author Kristen Accardi Wed, 14 Dec 2005 09:37:26 -0800 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:20 -0800 [PATCH] acpiphp: only size new bus Only size the bus that has been added. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 9f3f4681291fc88864bb27f8f3832b95bb53aae5 tree ab36943b21c2b0833478ad2bbc54928ced5dc4c8 parent 121082e2ab09d5e90ac27e38900c018e6f37bcdf author Greg Kroah-Hartman Wed, 14 Dec 2005 09:37:26 -0800 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:20 -0800 [PATCH] PCI Hotplug: fix up the sysfs file in the compaq pci hotplug driver The Compaq PCI Hotplug driver was creating 2 sysfs files that contained nothing but debug information, and had way more than "one value" in them. This patch converts the code to use debugfs for these files instead. Compile tested only. Cc: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 121082e2ab09d5e90ac27e38900c018e6f37bcdf tree 341e632ce2fc4e54d34e29e637b531bf419d5576 parent c2dea6553090a3fd06ffa9ba512a09fdac4d1b6e author Jesper Juhl Sun, 11 Dec 2005 06:41:42 +0100 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:20 -0800 [PATCH] PCI: Reduce nr of ptr derefs in drivers/pci/hotplug/pciehp_core.c Here's a small patch to reduce the nr. of pointer dereferences in drivers/pci/hotplug/pciehp_core.c Benefits: - micro speed optimization due to fewer pointer derefs - generated code is slightly smaller - small line length cleanup - better readability Signed-off-by: Jesper Juhl Signed-off-by: Greg Kroah-Hartman commit c2dea6553090a3fd06ffa9ba512a09fdac4d1b6e tree 25a5cfe0db7c2a5d457cdea3a818725a14f6c3c5 parent f5c99dfc11dce8f26c1ceedb6595fa0eac335ea3 author Jesper Juhl Sun, 11 Dec 2005 06:43:09 +0100 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:20 -0800 [PATCH] PCI: Reduce nr of ptr derefs in drivers/pci/hotplug/pciehprm_acpi.c Here's a small patch to reduce the nr. of pointer dereferences in drivers/pci/hotplug/pciehprm_acpi.c Benefits: - micro speed optimization due to fewer pointer derefs - generated code is slightly smaller - better readability Signed-off-by: Jesper Juhl Signed-off-by: Greg Kroah-Hartman commit f5c99dfc11dce8f26c1ceedb6595fa0eac335ea3 tree 5373f5f12da8ff8225db41a4577dbecee835ca6f parent efbf62e9f4d93c3716a4d6d3221d537c71e299a2 author Jesper Juhl Sun, 11 Dec 2005 06:42:38 +0100 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:19 -0800 [PATCH] PCI: Reduce nr of ptr derefs in drivers/pci/hotplug/rpaphp_pci.c Here's a small patch to reduce the nr. of pointer dereferences in drivers/pci/hotplug/rpaphp_pci.c Benefits: - micro speed optimization due to fewer pointer derefs - generated code should be slightly smaller - better readability note: due to lack of both hardware and cross-compile tools this patch is, unfortunately, completely untested. Signed-off-by: Jesper Juhl Signed-off-by: Greg Kroah-Hartman commit efbf62e9f4d93c3716a4d6d3221d537c71e299a2 tree f2f6a85b7faa0f81cbaee66f34c5494c6a6a0492 parent 5d135dff536f30022674d463ce3119bb28e045df author Jesper Juhl Sun, 11 Dec 2005 06:42:18 +0100 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:19 -0800 [PATCH] PCI: Reduce nr of ptr derefs in drivers/pci/hotplug/cpqphp_core.c Here's a small patch to reduce the nr of pointer dereferences in drivers/pci/hotplug/cpqphp_core.c Benefits of this patch: - micro speed optimization due to fewer pointer derefs - generated code is slightly smaller - tiny line length and whitespace cleanup - better readability Signed-off-by: Jesper Juhl Signed-off-by: Greg Kroah-Hartman commit 5d135dff536f30022674d463ce3119bb28e045df tree bfc24047c4ed8c3af5b982d1d685ec6d4dcd5dbf parent ac7dc65ac0b945270548414491efa9c4357417d9 author Jesse Barnes Fri, 09 Dec 2005 11:55:03 -0800 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:19 -0800 [PATCH] PCI: document sysfs rom file interface idr gently pointed out today that not only is the sysfs rom file interface somewhat unintuitive (despite my efforts and initial implementation), but it's also undocumented! This patch to Documentation/filesystems/sysfs-pci.txt corrects the latter problem; the former is a userland ABI now though, so we're stuck with it for awhile at least. Signed-off-by: Jesse Barnes Signed-off-by: Greg Kroah-Hartman commit ac7dc65ac0b945270548414491efa9c4357417d9 tree 62fb38b349d00d5f3956ab312d175fe33807ff70 parent 498879417756effe6dc385ee04645a83d724fdef author Benjamin Herrenschmidt Tue, 13 Dec 2005 18:09:16 +1100 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:19 -0800 [PATCH] PCI: Export pci_cfg_space_size The powerpc PCI code sets up the PCI tree without doing config space accesses in most cases, from the firmware tree. However, it still wants to call pci_cfg_space_size() under some conditions, thus it needs to be made non-static (though I don't see a point to export it to modules). Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Greg Kroah-Hartman commit 498879417756effe6dc385ee04645a83d724fdef tree 086bca4dd313d5fce46dccfd945f1b211ff5f141 parent 0eb3bcfd088e3234f7af29e189a7900ccfdd278a author Dominik Brodowski Thu, 08 Dec 2005 16:53:12 +0100 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:19 -0800 [PATCH] PCI: use bus numbers sparsely, if necessary Add a warning if a child bus may be inaccessible because the parent bridge has wrong secondary or subordinate bus numbers. Note that this may or may not happen on "transparent" bridges, as can be seen in bug #5557. Also, if we do not fix up the assignment of bus numbers, try to make use of the bus number space available. Signed-off-by: Dominik Brodowski Signed-off-by: Greg Kroah-Hartman commit 0eb3bcfd088e3234f7af29e189a7900ccfdd278a tree 4a4b431f9cf3c2a041aa72e09c56fe499aa433e4 parent c7ab337f91b59f71a30c3ab71e3bdfff41671977 author Rajesh Shah Thu, 08 Dec 2005 12:12:25 -0800 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:18 -0800 [PATCH] pciehp: allow bridged card hotplug This patch fixes bugs in the pciehp driver that prevent hot-add of a card with PCI bridges on it. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit c7ab337f91b59f71a30c3ab71e3bdfff41671977 tree 187fdbee2a796814d00dfe097dc470b4087b658f parent 9d265124d051c2cf6716639239609d83f736dcdb author Thomas Schaefer Thu, 08 Dec 2005 11:55:57 -0800 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:18 -0800 [PATCH] pciehp: handle sticky power-fault status This patch disables power fault, MRL sensor and presence detection interrupts when a PCIe slot is powered-off and enables those interrupts when it is powered-on again. This is necessary to prevent the associated events from causing an endless cycle of interrupts due to the power-fault bit, which stays set till power is restored to the slot. Signed-off-by: Thomas Schaefer Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman commit 9d265124d051c2cf6716639239609d83f736dcdb tree 24f84b02d4a4506606af4f6d17c3a90fd914e825 parent 81f154427c0c50b6492d454abf98e15c1c2e354e author Daniel Yeisley Mon, 05 Dec 2005 07:06:43 -0500 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:18 -0800 [PATCH] PCI Quirk: 1K I/O space granularity on Intel P64H2 I've implemented a quirk to take advantage of the 1KB I/O space granularity option on the Intel P64H2 PCI Bridge. I had to change probe.c because it sets the resource start and end to be aligned on 4k boundaries (after the quirk sets them to 1k boundaries). I've tested this patch on a Unisys ES7000-600 both with and without the 1KB option enabled. I also tested this on a 2 processor Dell box that doesn't have a P64H2 to make sure there were no negative affects there. Signed-off-by: Dan Yeisley Signed-off-by: Greg Kroah-Hartman commit 81f154427c0c50b6492d454abf98e15c1c2e354e tree 5143314ec7f399b58f2bf98a63c3be7c97d004aa parent cd5b50be8d8e8e6170da3a261fc625fd603f9dc4 author Kenji Kaneshige Mon, 05 Dec 2005 19:31:00 +0900 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:18 -0800 [PATCH] shpchp: Implement get_address callback The following patch implements .get_address callback of hotplug_slot_ops for SHPCHP driver. With this patch, we can see bus address of hotplug slots as follows: $ cat address 0000:0b:01 Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit cd5b50be8d8e8e6170da3a261fc625fd603f9dc4 tree ec3c36ffc5a6e90389ba8bd0ef252bb5a058b0af parent d681db4aed4453c7d34adfbb64956271186514e9 author linas@austin.ibm.com Thu, 01 Dec 2005 18:59:58 -0600 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:18 -0800 [PATCH] PCI Hotplug/powerpc: more removal of duplicated code The RPAPHP code contains two routines that appear to be gratuitous copies of very similar pci code. In particular, rpaphp_claim_resource ~~ pci_claim_resource (there is a minor, non-functional difference) rpadlpar_claim_one_bus == pcibios_claim_one_bus (the code is identical) This patch removes the rpaphp versions of the code. Signed-off-by: Linas Vepstas Acked-by: John Rose Signed-off-by: Greg Kroah-Hartman commit d681db4aed4453c7d34adfbb64956271186514e9 tree dacc3bb27c198bbae2740d8270ad8c37d9ba0124 parent 81745512c6bb78fc78265b881206b3f6800dd09f author linas@austin.ibm.com Thu, 01 Dec 2005 18:56:14 -0600 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:17 -0800 [PATCH] PCI Hotplug/powerpc: remove duplicated code The RPAPHP code contains a routine that duplicates some existing code. This patch removes the rpaphp version of the code. Signed-off-by: Linas Vepstas Acked-by: John Rose Signed-off-by: Greg Kroah-Hartman commit 81745512c6bb78fc78265b881206b3f6800dd09f tree c131542dbeceef2a8df1a163f06c667d6da030e7 parent bd62e271401c5ebf33a0dd24d89baf706f213251 author Daniel Marjamäki Thu, 01 Dec 2005 18:01:28 +0100 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:17 -0800 [PATCH] PCI: irq.c: trivial printk and DBG updates Updated printk and DBG with appropriate KERN_*. Signed-off-by: Daniel Marjamäki Signed-off-by: Greg Kroah-Hartman commit bd62e271401c5ebf33a0dd24d89baf706f213251 tree 77b8e2cd249df83b0d256f8126047a037a1fc542 parent f467f6187fc60c954a9509b3a3e17ef89a4f6f22 author Kenji Kaneshige Fri, 25 Nov 2005 12:28:53 +0900 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:17 -0800 [PATCH] shpchp: fix improper wait for command completion Current SHPCHP driver uses msleep_interruptible() function to wait for a command completion event. But I think this would cause an unnecessary long wait until timeout, if command completion interrupt came before task state was changed to TASK_INTERRUPTIBLE. This patch fixes this issue. With this patch, command completion becomes faster as follows: o Without this patch # time echo 1 > power real 0m4.708s user 0m0.000s sys 0m0.524s o With this patch # time echo 1 > power real 0m2.221s user 0m0.000s sys 0m0.532s Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit f467f6187fc60c954a9509b3a3e17ef89a4f6f22 tree 0ca31955b2de33ec04d22336d0648c2150160e7e parent 0455986cce45d28511f59a29d6cecc17d6b65720 author Kenji Kaneshige Thu, 24 Nov 2005 11:39:29 +0900 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:17 -0800 [PATCH] shpchp: fix improper write to Command Completion Detect bit Current SHPCHP driver writes a '0' to the Command Completion Detect bit to clear the Command Complete Interrupt Pending. But according to the SHPC spec (See 4.7.3.1 System Interrupts), SHPCHP driver must write '1'. This patch fixes this bug. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 0455986cce45d28511f59a29d6cecc17d6b65720 tree 1819f13fdaee29489090a92b683faebff6651ea7 parent 87d6c5593111844f308af7d5106b3fd259b36514 author Kenji Kaneshige Thu, 24 Nov 2005 11:36:59 +0900 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:17 -0800 [PATCH] shpchp: fix improper mmio mapping Current SHPCHP driver seems not to map MMIO region properly. This patch fixes this bug. This patch also cleanup the code. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 87d6c5593111844f308af7d5106b3fd259b36514 tree 5a1832659546e00cd73fe7faa7199a9d8c95b3a2 parent 6558b6ab145ceead45632e4214cd5ef14f48f412 author Kenji Kaneshige Thu, 24 Nov 2005 11:35:05 +0900 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:16 -0800 [PATCH] shpchp: fix improper reference to Mode 1 ECC Capability" bit The hpc_get_mode1_ECC_cap() function of SHPCHP driver seems to refer the wrong bit for refering the "Mode 1 ECC Capability" bit. This bug seems not to cause any problem so far. But I think this should be fixed. This patch fixes this bug. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 6558b6ab145ceead45632e4214cd5ef14f48f412 tree 9316df4d5e28567a4e6f6da4c4cc73b0d98acb0d parent e00e57efa3448b18c0deedce32732e28683cb73d author Kenji Kaneshige Thu, 24 Nov 2005 13:44:01 +0900 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:16 -0800 [PATCH] shpchp: fix improper reference to Slot Avail Regsister The hpc_get_max_bus_speed() function of the SHPCHP driver seems to refer wrong bits in the "Slot Avail Register I" and "Slot Avail Register II". This patch fixes this bug. And this also cleanup the code. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit e00e57efa3448b18c0deedce32732e28683cb73d tree 2ab1dce58a35e5fe0c2a56f47323ac25a689c2bb parent 2555f7bdd3b0db47f6e1d7bb887981654e2261b3 author Kenji Kaneshige Fri, 25 Nov 2005 12:21:25 +0900 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:16 -0800 [PATCH] shpchp: replace pci_find_slot() with pci_get_slot() This patch replaces pci_find_slot() with pci_get_slot() in the SHPCHP driver. This enables SHPCHP driver to work on multiple PCI segment systems. Signed-off-by: Kenji Kaneshige Signed-off-by: Greg Kroah-Hartman commit 2555f7bdd3b0db47f6e1d7bb887981654e2261b3 tree 1004fd2af505c2bda7d74ae430a0613df4515083 parent 88d69a1dff4014889782ebad24ed3e964a8844bc author Adrian Bunk Mon, 21 Nov 2005 00:05:21 +0100 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:16 -0800 [PATCH] PCI Hotplug: cpqphp_ctrl.c: remove dead code The Coverity checker spotted that we already did return -ENOMEM if (!p_mem_node). Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 88d69a1dff4014889782ebad24ed3e964a8844bc tree 972dec765a33cf04b9446d04d6fd23e4490e5c72 parent 8c9ad508c8737ca46a4c55b1062d159b86f7cee2 author Jordan, William P Mon, 21 Nov 2005 22:51:57 -0800 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:16 -0800 [PATCH] PCI Hotplug: ibmphp_pci.c copy-n-paste fix I noticed what appears to be a cut/paste error in drivers/pci/hotplug/ibmphp_pci.c: Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 8c9ad508c8737ca46a4c55b1062d159b86f7cee2 tree 20e2a5ffb2ec6f6dcf98a65c4d612c2766002fa9 parent fb37fb960689aa1346e2621a946f230285c03593 author Sergey Vlasov Mon, 14 Nov 2005 20:30:50 +0300 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:15 -0800 [PATCH] PCIE: make bus_id for PCI Express devices unique The bus_id string must be unique for all devices of that bus in the system, not just for devices with the same parent - otherwise multiple symlinks with identical names appear in /sys/bus/pci_express/devices. Signed-off-by: Sergey Vlasov Signed-off-by: Greg Kroah-Hartman commit fb37fb960689aa1346e2621a946f230285c03593 tree bf1fbbfdd146d7c20b548b9b2ca09b4f0aeb8b5c parent 3c94792f017c8c90d2ca84b0f4cd9c143471d5e3 author Hanna Linder Sun, 06 Nov 2005 23:39:36 -0800 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:15 -0800 [PATCH] PCI: arch/i386/pci/acpi.c: use for_each_pci_dev Signed-off-by: Hanna Linder Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 3c94792f017c8c90d2ca84b0f4cd9c143471d5e3 tree 940243cc3a3afceb46d8986cfd033d6445504c10 parent d08fa1a22e4b7240ac081ba57a67ce8e8cf94cc7 author Jiri Slaby Sun, 06 Nov 2005 23:39:33 -0800 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:15 -0800 [PATCH] PCI: arch: pci_find_device remove (frv/mb93090-mb00/pci-irq.c) Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit d08fa1a22e4b7240ac081ba57a67ce8e8cf94cc7 tree 6558c5f33c29b27b831efc6051a7056f718510e0 parent 619daa2e4c80881d64875db22029a2181f07eaf9 author Jiri Slaby Sun, 06 Nov 2005 23:39:35 -0800 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:15 -0800 [PATCH] PCI: pci_find_device remove (sparc64/kernel/ebus.c) Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 619daa2e4c80881d64875db22029a2181f07eaf9 tree 59a73ca4f9dc1b83194befab40fb89673404f0b2 parent 48d68773629d52ef118cd3f78eef7545d68517ef author Jiri Slaby Sun, 06 Nov 2005 23:39:33 -0800 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:15 -0800 [PATCH] PCI: pci_find_device remove (frv/mb93090-mb00/pci-frv.c) Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 48d68773629d52ef118cd3f78eef7545d68517ef tree 738347affbdb18d31d659e7208147222ec408899 parent cee029538151c0e7bb3cd1c298f222deeecb5ab8 author Jiri Slaby Sun, 06 Nov 2005 23:39:35 -0800 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:14 -0800 [PATCH] PCI: pci_find_device remove (ppc/platforms/85xx/mpc85xx_cds_common.c) Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit cee029538151c0e7bb3cd1c298f222deeecb5ab8 tree 1981e1b4d23fa083332ff765ab855bc02472b112 parent 94517252b7c8e26de7238eb2c1450cb7c69f1af6 author Jiri Slaby Sun, 06 Nov 2005 23:39:34 -0800 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:14 -0800 [PATCH] PCI: pci_find_device remove (ppc/kernel/pci.c) Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman arch/ppc/kernel/pci.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) commit 94517252b7c8e26de7238eb2c1450cb7c69f1af6 tree 589a43eb99ebe5ef5f714e3b01ba674c2ca414cf parent 7d51ceb34c7991633c36a5bab3066927ac7c661c author Jiri Slaby Sun, 06 Nov 2005 23:39:30 -0800 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:14 -0800 [PATCH] PCI: pci_find_device remove (alpha/kernel/sys_alcor.c) Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 7d51ceb34c7991633c36a5bab3066927ac7c661c tree ff8f30b04e6628459e6467a8b1603796a6b2595e parent 3efd273b4d52f0d3ae5ce61b2161cb3752f360a0 author Jiri Slaby Sun, 06 Nov 2005 23:39:32 -0800 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:14 -0800 [PATCH] PCI: pci_find_device remove (alpha/kernel/sys_sio.c) Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 3efd273b4d52f0d3ae5ce61b2161cb3752f360a0 tree 4cd04e90ffd5b86b9dd24b4e9d4195f1218bb471 parent 514d207db1fa3c3d2bd7990ebed8d81cebc7875b author Kristen Accardi Wed, 02 Nov 2005 16:55:49 -0800 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:14 -0800 [PATCH] pci: call pci_read_irq for bridges Call pci_read_irq() for bridges too, so that the pin value is stored for bridges that require interrupts. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 514d207db1fa3c3d2bd7990ebed8d81cebc7875b tree edb9820cc9d01bdb8b7eabb9f27d888acab37563 parent 8015a01486a0f789c9e98e8bf1f12a3ccb535b30 author Kristen Accardi Wed, 02 Nov 2005 16:24:39 -0800 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:13 -0800 [PATCH] pci: use pin stored in pci_dev Use the stored value of the interrupt pin rather than try to read the config again. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 8015a01486a0f789c9e98e8bf1f12a3ccb535b30 tree 5130afa6067e14d179226693cfae88819c5358f6 parent ffeff788d6b10e342b4a887f28d339dfec1737f6 author Kristen Accardi Wed, 02 Nov 2005 16:24:35 -0800 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:13 -0800 [PATCH] apci: use pin stored in pci_dev Use the stored value of the Interrupt Pin, rather than try to read it again. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit ffeff788d6b10e342b4a887f28d339dfec1737f6 tree 9882b7f8215269cc30f422f135b785f6addefb7e parent 6150c32589d1976ca8a5c987df951088c05a7542 author Kristen Accardi Wed, 02 Nov 2005 16:24:32 -0800 committer Greg Kroah-Hartman Mon, 09 Jan 2006 12:13:13 -0800 [PATCH] pci: store PCI_INTERRUPT_PIN in pci_dev Store the value of the INTERRUPT_PIN in the pci_dev structure so that it can be retrieved later. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit a9aa1ffaac7c8d6f093bb8f7cdeea761a5e25f53 tree 97141773b0cb2e0403d73e35a29b726b7ab55d94 parent 0d20babd86b40fa5ac55d9ebf31d05f6f7082161 author Sam Ravnborg Mon, 09 Jan 2006 20:48:03 +0100 committer Sam Ravnborg Mon, 09 Jan 2006 20:48:03 +0100 kbuild/xfs: introduce fs/xfs/Kbuild In kbuild the file named 'Kbuild' has precedence over the file named Makefile. Utilise a file named Kbuild to include the 2.6 Makefile for xfs - since the xfs people likes to keep their arch specific Makefiles separate. With this patch xfs does no longer rely on the KERNELRELEASE components to be global. Signed-off-by: Sam Ravnborg commit 0d20babd86b40fa5ac55d9ebf31d05f6f7082161 tree ffa209ee8d843b5f57b4062c2140971a5848b546 parent 63b794bfd898899cc8b6d4679d4fdc486606194b author H. Peter Anvin Sat, 07 Jan 2006 17:38:39 -0800 committer Sam Ravnborg Mon, 09 Jan 2006 20:36:48 +0100 kbuild: drop vmlinux dependency from "make install" This removes the dependency from vmlinux to install, thus avoiding the current situation where "make install" has a nasty tendency to leave root-turds in the working directory. It also updates x86-64 to be in sync with i386. Signed-off-by: H. Peter Anvin Signed-off-by: Sam Ravnborg commit 9d4ae7276ae26c5bfba6207cf05340af1931d8d4 tree bf6f09189541ac964365c68362e9915c48510eb5 parent 16ed926eee5497db52fbee4d2db2dedbcd23561c author Deepak Saxena Mon, 09 Jan 2006 19:23:11 +0000 committer Russell King Mon, 09 Jan 2006 19:23:11 +0000 [ARM] 3070/2: Add __ioremap_pfn() API Patch from Deepak Saxena In working on adding 36-bit addressed supersection support to ioremap(), I came to the conclusion that it would be far simpler to do so by just splitting __ioremap() into a main external interface and adding an __ioremap_pfn() function that takes a pfn + offset into the page that __ioremap() can call. This way existing callers of __ioremap() won't have to change their code and 36-bit systems will just call __ioremap_pfn() and we will not have to deal with unsigned long long variables. Note that __ioremap_pfn() should _NOT_ be called directly by drivers but is reserved for use by arch_ioremap() implementations that map 32-bit resource regions into the real 36-bit address and then call this new function. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 16ed926eee5497db52fbee4d2db2dedbcd23561c tree efb05ca279ef804c83160b3115f8cbbf09664091 parent 0a3a98f6dd4e8f4d928a09302c0d1c56f2192ac3 author Russell King Mon, 09 Jan 2006 19:19:18 +0000 committer Russell King Mon, 09 Jan 2006 19:19:18 +0000 [ARM] Only call set_type method in setup_irq if it's defined Signed-off-by: Russell King commit 0a3a98f6dd4e8f4d928a09302c0d1c56f2192ac3 tree 92f55e374a84d06ce8213a4540454760fdecf137 parent 8ef12c9f01afba47c2d33bb939085111ca0d0f7d parent 5367f2d67c7d0bf1faae90e6e7b4e2ac3c9b5e0f author Russell King Mon, 09 Jan 2006 19:18:33 +0000 committer Russell King Mon, 09 Jan 2006 19:18:33 +0000 Merge Linus' tree. commit 6150c32589d1976ca8a5c987df951088c05a7542 tree 94073696576323ff966e365d8c47b8ecd8372f97 parent 44637a12f80b80157d9c1bc5b7d6ef09c9e05713 parent be42d5fa3772241b8ecebd443f1fb36247959c54 author Linus Torvalds Mon, 09 Jan 2006 10:03:44 -0800 committer Linus Torvalds Mon, 09 Jan 2006 10:03:44 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge commit 44637a12f80b80157d9c1bc5b7d6ef09c9e05713 tree 17384805725f7b429685ba4cad0d9488d93f9f25 parent 8b78e83bfbc12f7e9bdefd400abdfde9e6c9ac51 author Knut Petersen Mon, 09 Jan 2006 15:04:20 +0100 committer Linus Torvalds Mon, 09 Jan 2006 10:00:36 -0800 [PATCH] Update cyblafb driver This is a major update to the cyblafb framebuffer driver. Most of the stuff has been tested in the mm tree. Main advantages: ============ - vxres > xres support - ywrap and xpan support - much faster for almost all modes (e.g. 1280x1024-16bpp draws more than 41 full screens of text instead of about 25 full screens of text per second on authors Epia 5000) - module init/exit code fixed - bugs triggered by console rotation fixed - lots of minor improvements - startup modes suitable for high performance scrolling in all directions This diff also contains a lot of white space fixes. No side effects are possible, only one single graphics core is affected. Signed-off-by: Knut Petersen Signed-off-by: Linus Torvalds commit cab462f716cdd522edc71436482d8734e8258489 tree c3ec0ceaee9b5d61148afea728cc6c05e682856f parent 0680481c8e6260e1780a0900990531f0193b0dd4 author Mauro Carvalho Chehab Mon, 09 Jan 2006 15:53:26 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:53:26 -0200 V4L/DVB (3307): Some cleanups at I2C modules - i2c names shorten - removed obsoleted flags on newer modules - small cleanups Signed-off-by: Mauro Carvalho Chehab commit 8b78e83bfbc12f7e9bdefd400abdfde9e6c9ac51 tree be746d4c99ddfc4dd8d739a08eb78f62652b8784 parent cf10b2853f86e714eac7117484c0d368ce710fa4 parent b887030aec0971a47ca97a18e93ff446bc7d049e author Linus Torvalds Mon, 09 Jan 2006 09:39:55 -0800 committer Linus Torvalds Mon, 09 Jan 2006 09:39:55 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev commit cf10b2853f86e714eac7117484c0d368ce710fa4 tree 6f1574a9de786c8c345ac852eff12d65b2d75bfe parent 14591de147f7c9656fa2b9c05680d2b46e286c40 parent 166c3436d683cfe5316c7723ed746a93db053f12 author Linus Torvalds Mon, 09 Jan 2006 09:39:05 -0800 committer Linus Torvalds Mon, 09 Jan 2006 09:39:05 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit 14591de147f7c9656fa2b9c05680d2b46e286c40 tree e4c3a5d0da2f7f64d08ba6f10000e363f69889cd parent 677517771b7b6efaf8617e70f655b16f3cafcc9b author Kirill Korotaev Mon, 09 Jan 2006 17:42:42 +0300 committer Linus Torvalds Mon, 09 Jan 2006 09:36:52 -0800 [PATCH] netlink oops fix due to incorrect error code Fixed oops after failed netlink socket creation. Wrong parathenses in if() statement caused err to be 1, instead of negative value. Trivial fix, not trivial to find though. Signed-Off-By: Dmitry Mishin Signed-Off-By: Kirill Korotaev Signed-Off-By: Linus Torvalds commit 677517771b7b6efaf8617e70f655b16f3cafcc9b tree 811f5df7b430cf865ac337f73c7aa2f67cb0bbac parent e2688f00dc0ceb9d9867434dffbd080411fc23b0 author Oleg Nesterov Sun, 08 Jan 2006 22:19:16 +0300 committer Linus Torvalds Mon, 09 Jan 2006 09:35:44 -0800 [PATCH] rcu: uninline __rcu_pending() __rcu_pending() is rather fat and called twice from rcu_pending(). rcu_pending() has multiple callers, and not that small too. This patch uninlines both of them. Signed-off-by: Oleg Nesterov Acked-by: Paul E. McKenney Signed-off-by: Linus Torvalds commit 0680481c8e6260e1780a0900990531f0193b0dd4 tree 5e55d97b90fa7eed6268f7a30a00105dc588a580 parent 565f49490556250383e976c7f3e04ee4b7f54788 author Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:46 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:46 -0200 V4L/DVB (3305): Replaces old debug msgs to newer ones - Replaces old debug msgs from bt832, tda743d and tda9875 to newer ones as defined under v4l2-common.h. Signed-off-by: Mauro Carvalho Chehab commit 565f49490556250383e976c7f3e04ee4b7f54788 tree 13c8104dcd119a7bef8874ba7a402586dc123af0 parent 009494effc129094a5dcbbf2bf0345307ffe4f9b author George Gazurkoff Mon, 09 Jan 2006 15:32:46 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:46 -0200 V4L/DVB (3303): Both AverTV Studio 303 cards #6 and #36 use the same IR programming. - Both AverTV Studio 303 cards, #6 and #36, use the same remote control programming. Signed-off-by: George Gazurkoff Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 009494effc129094a5dcbbf2bf0345307ffe4f9b tree e8a104a39ea59c861807aead84c26e1a5233ad13 parent 4aa6ba513e28884b56bac529553a47a6b160c310 author Guy Martin Mon, 09 Jan 2006 15:32:45 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:45 -0200 V4L/DVB (3296): Fixes a bug at compat_ioctl32 kernel module - There is a bug in the ioctl translations from 32bit userspace to 64bit kernelspace in do_set_window(). - The video window (vw) should be passed to native_ioctl() instead of the video clip. Signed-off-by: Guy Martin Signed-off-by: Mauro Carvalho Chehab commit 4aa6ba513e28884b56bac529553a47a6b160c310 tree 0318ef6dfd3fa731febf67ee2eb11c3c56cd1222 parent f39624fda00d2a30d31f0fa06153e9b460295676 author Peter Missel Mon, 09 Jan 2006 15:32:45 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:45 -0200 V4L/DVB (3295): Add analog support for LifeView FlyDVB Trio. - Add support for LifeView FlyDVB Trio. - all analog inputs are supported and working, including FM radio - TO DO: dvb & remote control Signed-off-by: Peter Missel Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit f39624fda00d2a30d31f0fa06153e9b460295676 tree 65d1637c0ee1b893c75bd18bef5d337d0bb836cf parent b7f355d23c34399ccfd54fd613c306ab4a788234 author Manenti Marco Mon, 09 Jan 2006 15:32:45 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:45 -0200 V4L/DVB (3294): Add Kworld/Vstream Xpert DVB-T card with cx22702 tuner. - Add Kworld/Vstream Xpert DVB-T card with cx22702 tuner. Signed-off-by: Manenti Marco Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab commit b7f355d23c34399ccfd54fd613c306ab4a788234 tree 3e55c0b49918bb82f97650b281ad8feca7ad8007 parent 0de71224d17f43101fa20696a8d7a78fb599557e author Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:44 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:44 -0200 V4L/DVB (3293): Added digital support for cx88 (cx88-alsa) - This module is co-authored by Ricardo Cerqueira . - Added digital audio support for cx88-based boards that have function 01 enabled. These boards can be identified by having PCI id 1471:8801 or 1471:8811. - Increased DMA buffer from 512 to 4096 seems to fix audio distortion. - Existing audio DMA uses conflict with cx88-alsa. Should be disabled when cx88-alsa module is compiled. Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit 0de71224d17f43101fa20696a8d7a78fb599557e tree 20fee7b02c3a0f7d17596c10c7b975f3e93b79ff parent c5099a6481d2d0f9455abd15c91f73c2ced57a40 author Hans Verkuil Mon, 09 Jan 2006 15:32:44 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:44 -0200 V4L/DVB (3292): Fix signed/unsigned bug in brightness handling of cx25840 - Fix signed/unsigned bug in brightness handling (set to 0 and 128 was returned). Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit c5099a6481d2d0f9455abd15c91f73c2ced57a40 tree 18eed92fa32f4fa3170f4af638da63214008f04d parent 82a1c359e8cc15d836c139626d747bfdfc408450 author Hans Verkuil Mon, 09 Jan 2006 15:32:43 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:43 -0200 V4L/DVB (3291): Fix signed/unsigned bug in hue handling - Fix signed/unsigned bug in hue handling (set to -127 and 129 was returned). Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 82a1c359e8cc15d836c139626d747bfdfc408450 tree 890f929530c36ba750c3b4a640dcc260dddb6b5a parent 400b7083fbcc8e7a1157a82aa126977179873268 author Hans Verkuil Mon, 09 Jan 2006 15:32:43 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:43 -0200 V4L/DVB (3195): Fix for 64-bit compile warning - Add the fix for the saa7146 64-bit compile warning (again). This time with comments and checked by Johannes Stezenbach. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 400b7083fbcc8e7a1157a82aa126977179873268 tree 67669ca5f0e0ddd6858cf0c7c5b485ec7554ca40 parent d8e6acf2ec120f3dc7929581d87b5b8b3ff21627 author Peter Beutner Mon, 09 Jan 2006 15:32:43 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:43 -0200 V4L/DVB (3194): Revert one 64-bit fix and improved other 64-bit fixes - Reverted objectionable fix in saa7146_hlp.c - Merged in improved dvb 64-bit fixes from Peter Beutner. Signed-off-by: Peter Beutner Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit d8e6acf2ec120f3dc7929581d87b5b8b3ff21627 tree fcf2e9a25ac25a8f27499a3c190b1de46cfec4f1 parent e71bb548e52d6a0f4934a2dfd7f29a569c94ad53 author Michael Krufky Mon, 09 Jan 2006 15:32:42 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:42 -0200 V4L/DVB (3287): Add DViCO Bluebird firmware to dvb_get_firmware script - Add DViCO Bluebird firmware to dvb_get_firmware script, for FusionHDTV USB devices. - Use usb alt setting 0 for EP4 transfer (dvb-t), - Use usb alt setting 7 for EP2 transfer (atsc) - Added comment to lgdt330x.c to indicate support for DViCO FusionHDTV5 USB Gold. Thanks to: Jeff Lee Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit e71bb548e52d6a0f4934a2dfd7f29a569c94ad53 tree 00b0ba8b84b9e6499e4ae628ea936a71f1b54b22 parent 66190a275246c8c5be140a224e021f8f5eb85ab6 author Michael Krufky Mon, 09 Jan 2006 15:32:42 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:42 -0200 V4L/DVB (3282): rename cxusb_bluebird_atsc_properties to cxusb_bluebird_lgh064f_properties - This property set is for the LG-H064F (FusionHDTV5 USB Gold) - There may, in the future, be a bluebird device using a different NIM, so renaming the struct to somehting NIM-specific is appropriate. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 66190a275246c8c5be140a224e021f8f5eb85ab6 tree 63137a5e59b5add88acd088450d659a8dc754873 parent da4ae5a72b2a9de351ec8f98543b7c666ec97005 author Oliver Endriss Mon, 09 Jan 2006 15:32:42 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:42 -0200 V4L/DVB (3281): av7110 driver: improved recovery from ARM crash and crash detection - Improved recovery from ARM crash and the way a crash is detected. Minor white space clean-up, debug output fixed. Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit da4ae5a72b2a9de351ec8f98543b7c666ec97005 tree 4ba2bb7e3deea78eb8b56a4573a35dce2bb78986 parent d92c20e0a5b560bbe46d7e68bb47df2366cddf8f author Hans Verkuil Mon, 09 Jan 2006 15:32:41 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:41 -0200 V4L/DVB (3280): Added VIDIOC_QUERYCTRL to saa7115 - Added VIDIOC_QUERYCTRL to saa7115 Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit d92c20e0a5b560bbe46d7e68bb47df2366cddf8f tree 6fe906f5fb4c7bb3d3581a298ffb2ad864f43545 parent fac9e89999a12f378112fe93764b30196bc03f46 author Hans Verkuil Mon, 09 Jan 2006 15:32:41 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:41 -0200 V4L/DVB (3279): Added VIDIOC_QUERYCTRL to cx25840. - Added VIDIOC_QUERYCTRL - Removed unnecessary inlines. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit fac9e89999a12f378112fe93764b30196bc03f46 tree 6daf5fee44efe3d878358d17fa9934139d0c7ade parent 0e7072ef6623c3dc58faf3f7310aba77b0a5845e author Hans Verkuil Mon, 09 Jan 2006 15:32:40 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:40 -0200 V4L/DVB (3278): convert diagnostics over to the new v4l2-common.h macros. - Convert diagnostics over to the new v4l2-common.h macros. - deprecated tuner_debug option, the new option is debug. - renamed cx25840_debug to debug. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 0e7072ef6623c3dc58faf3f7310aba77b0a5845e tree ef7b1a5f0e2af6d4b43e5c8f67d8911b462ce4d2 parent 7e8b09ea1636e360a8fabebeaeb91c17f64e01b5 author Michael Krufky Mon, 09 Jan 2006 15:32:40 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:40 -0200 V4L/DVB (3277): Fix incorrect filename reference in top comments - Fix incorrect filename reference in top comments Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 7e8b09ea1636e360a8fabebeaeb91c17f64e01b5 tree ac850285b7fe128cc3a2a821a8b73bdf550a7f79 parent 53b0a1c60bcc167534b31f56adfbbe2919e6f80b author Hans Verkuil Mon, 09 Jan 2006 15:32:40 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:40 -0200 V4L/DVB (3276): Added new diagnositics macros, convert msp3400 to the new macros. - Added new v4l_err, v4l_warn, v4l_info and v4l_dbg macros to v4l2-common.h for use in v4l-dvb i2c drivers. This ensures a unique prefix for each device instance. - At a later stage these macros may be reimplemented using the device-generic macros from device.h. - Converted the msp3400 driver to the new macros. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 53b0a1c60bcc167534b31f56adfbbe2919e6f80b tree 14c965c3578860dc751284d944a0e9b1a3027841 parent e93fa17eb103bad5d2ee7141a988040f077d2a78 author Hans Verkuil Mon, 09 Jan 2006 15:32:39 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:39 -0200 V4L/DVB (3275): Split msp3400.c into msp3400-driver.c and msp3400-kthreads.c - Split msp3400.c into msp3400-driver.c and msp3400-kthreads.c. - Removed experimental DFPREG ioctls. If this is really needed one day then it should be implemented using VIDIOC_G/S_REGISTER. - Added missing BALANCE control info for VIDIOC_QUERYCTRL. - Still more cleanup, clarified some kernel messages. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit e93fa17eb103bad5d2ee7141a988040f077d2a78 tree 5fb67543d5b14d7716d711e0d9be501625a53b9c parent 5e453dc757385ec892a818e4e3b5de027987ced9 author Hans Verkuil Mon, 09 Jan 2006 15:32:39 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:39 -0200 V4L/DVB (3271): more cleanups, simplify volume/balance/bass/treble handling - Continue cleanup effort: - more cosmetic changes - combine volume, balance, bass and treble into one audio function. Revert old 2.4 code that crept in. - print internal ioctls using new debug function. - marked all msp3400c (aka manual) functions as such. - removed some unused data structures. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 5e453dc757385ec892a818e4e3b5de027987ced9 tree c6e5c4ffeb7557c6f3861f39cb4d28532dc3fe39 parent 37bdfa06b6bbf085b55d64eb5d9ed112418ed5ad author Michael Krufky Mon, 09 Jan 2006 15:32:31 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:32:31 -0200 V4L/DVB (3269): ioctls cleanups. - Now, all internal ioctls are at v4l2-common.h - removed unused ioctl at saa6752hs.h - all debug ioctl code moved to v4l2-common.c - removed duplicated stuff from other cards Signed-off-by: Michael Krufky Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit e2688f00dc0ceb9d9867434dffbd080411fc23b0 tree 433549c6a655ac879654ba82d312911677650380 parent 356cebea1123804e4aa85b43ab39bbd0ac8e667c parent a9925a06ea52a44b4bf4a941342e8240eaf22417 author Linus Torvalds Mon, 09 Jan 2006 09:26:40 -0800 committer Linus Torvalds Mon, 09 Jan 2006 09:26:40 -0800 Merge branch 'blk-softirq' of git://brick.kernel.dk/data/git/linux-2.6-block Manual merge for trivial #include changes commit 37bdfa06b6bbf085b55d64eb5d9ed112418ed5ad tree 0370f8fbf10081ec50913616407dae208bd418b1 parent effee0333b6090ff4ff0463e8fb6084cf4406bbd author Michael Krufky Mon, 09 Jan 2006 15:25:47 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:47 -0200 V4L/DVB (3268): Use combined firmware for DVB-T and ATSC Bluebird FusionHDTV USB models. - Now using firmware "dvb-usb-bluebird-01.fw", with combined support for atsc and dvb-t Bluebird models. - Use usb alt setting 0 for EP4 transfer (dvb-t), - Use usb alt setting 7 for EP2 transfer (atsc) */ Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit effee0333b6090ff4ff0463e8fb6084cf4406bbd tree 111ffec9662e88267fabe7cd0ce020673bc01650 parent af36c82c97ff68e03837ed47991de0494007612b author Michael Krufky Mon, 09 Jan 2006 15:25:47 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:47 -0200 V4L/DVB (3266): Add support for DViCO FusionHDTV5 USB Gold - Adds Bluebird ATSC support to the cxusb driver, using dvb-usb-bluebird-atsc-01.fw firmware. Signed-off-by: Michael Krufky Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit af36c82c97ff68e03837ed47991de0494007612b tree 39d92806b9ea665802737fde5566b591de080ada parent 6ce17c57f84731d288107ce29ce468311edd87f4 author Hans Verkuil Mon, 09 Jan 2006 15:25:46 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:46 -0200 V4L/DVB (3261): msp3400.c cleanup (almost all cosmetic) - Step 1 of the msp3400.c cleanup. Most changes are all cosmetic (moved code around, renamed functions and variables). New additions: - VIDIOC_LOG_STATUS for debugging. - More user friendly messages on driver load. - 'simple' renamed to 'autodetect' - 'simpler' renamed to 'autoselect' Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 6ce17c57f84731d288107ce29ce468311edd87f4 tree e19bf015387109e78190cfa3313933047e9c03b5 parent c7f3612cdb515c5062135831184c8d577723df25 author Patrick Boettcher Mon, 09 Jan 2006 15:25:45 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:45 -0200 V4L/DVB (3260): Using new firmware for the WideView Stick - A new firmware fixes VHF tuning issues. This changes the firmware file name in the driver. Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit c7f3612cdb515c5062135831184c8d577723df25 tree 5a311e3a52038507634974fc204abe48707957bb parent 3faeeae48348959c58f3121d2a6a4fb0bc626da0 author Hans Verkuil Mon, 09 Jan 2006 15:25:45 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:45 -0200 V4L/DVB (3257): Add missing audiochip.h include. - Add missing audiochip.h include. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 3faeeae48348959c58f3121d2a6a4fb0bc626da0 tree b8a9388826d06542c190d7ce7c3fe44b78e22b30 parent d3900bc42e6bc5e461c29951cc2a50df09e08771 author Hans Verkuil Mon, 09 Jan 2006 15:25:44 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:44 -0200 V4L/DVB (3256): When in radio mode ignore VIDIOC_G_TUNER - Detect when AUDC_SET_RADIO is called. - When in radio mode ignore VIDIOC_G_TUNER. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit d3900bc42e6bc5e461c29951cc2a50df09e08771 tree cebd289ecf70b3c223d2bba234c2cdaa3f0d7a1b parent 30b54d50f6e2b8f5a4c8b5ade3d25a02612f8f51 author Hans Verkuil Mon, 09 Jan 2006 15:25:44 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:44 -0200 V4L/DVB (3255): When in radio mode don't do anything with VIDIOC_G_TUNER. - When in radio mode don't do anything with VIDIOC_G_TUNER. Allow other devices to fill this. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 30b54d50f6e2b8f5a4c8b5ade3d25a02612f8f51 tree ed5de8ce3b3d80fd0cdccf9224c3caba5906b70e parent 8a854284d09dd3b3d8660762b43546058da5372f author Hans Verkuil Mon, 09 Jan 2006 15:25:43 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:43 -0200 V4L/DVB (3254): Don't reprogram the video standard if it is unchanged. - Don't reprogram the video standard if the new standard equals the old standard. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 8a854284d09dd3b3d8660762b43546058da5372f tree 36f3782761838919a1523b9001699043cbbc12df parent f9a91f08990b0353fc1251ee72ec42c6ea33bd24 author Hans Verkuil Mon, 09 Jan 2006 15:25:43 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:43 -0200 V4L/DVB (3253): Add V4L2 commands to tvaudio - debug messages changed to be like the other modules - Add V4L2 commands VIDIOC_S_TUNER, VIDIOC_G_TUNER, VIDIOC_S_STD and VIDIOC_S_FREQUENCY. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit f9a91f08990b0353fc1251ee72ec42c6ea33bd24 tree 3ce01215bde69cd9f2154ffccc7531925643bb56 parent a8bbf12ad8a8ad532cea0b67f0127ad90d336b04 author Hans Verkuil Mon, 09 Jan 2006 15:25:42 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:42 -0200 V4L/DVB (3250): tea5767: move signal strength level to the 0-65535 range - Move signal strength level to the 0-65535 range as per V4L2 spec. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit a8bbf12ad8a8ad532cea0b67f0127ad90d336b04 tree bd8d9fb0888a7fe28b4795d7567c01ccf72b3c38 parent 3578d3dd0b1e468a44a76a83efe90476a854625d author Hans Verkuil Mon, 09 Jan 2006 15:25:42 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:42 -0200 V4L/DVB (3249): Generalized cx25840 video/audio input handling - Added VIDIOC_S_AUDIO to set the audio inputs separately. - Removed AUDC_SET_INPUT. - Made the video inputs much more general. - Removed cardtype CID and replaced with a CID to enable the PVR150 workaround. The cardtype is no longer necessary with the general video input change. - Update VIDIOC_LOG_STATUS output to show the video and audio inputs separately. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 3578d3dd0b1e468a44a76a83efe90476a854625d tree 2cd544f2aae9844821afdf90308048a800e961a1 parent 21fa715e67fe57e404d7f5f39b7f18016db9e4b6 author Hans Verkuil Mon, 09 Jan 2006 15:25:41 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:41 -0200 V4L/DVB (3214): Calculate the saa7115 AMCLK regs instead of using fixed values - Calculate the audio master clock registers from the actual frequencies. This simplifies the code and it also prepares for adding CGC2 support. - VIDIOC_INT_AUDIO_CLOCK_FREQ now receives an u32 instead of an enum. It is more generic and actually easier to implement. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 21fa715e67fe57e404d7f5f39b7f18016db9e4b6 tree fc04788623f46505d1d5695a5746f9e6a23aa572 parent fbc46e74fa437f16a3ffe4a5561a97f41680a124 author Hans Verkuil Mon, 09 Jan 2006 15:25:41 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:41 -0200 V4L/DVB (3248): Add selected input to saa7115 VIDIOC_LOG_STATUS output. - Add selected input to VIDIOC_LOG_STATUS output. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit fbc46e74fa437f16a3ffe4a5561a97f41680a124 tree 5e7fa7f91b30268d38812bc14d77f1411d967f37 parent 936053516aef6505ab3174c3443f3ba8749d4d98 author Hans Verkuil Mon, 09 Jan 2006 15:25:40 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:40 -0200 V4L/DVB (3247): Replace AUDC_SET_INPUT with VIDIOC_S_AUDIO in wm8775. - Replace AUDC_SET_INPUT with VIDIOC_S_AUDIO. - Added V4L2_CID_AUDIO_MUTE. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 936053516aef6505ab3174c3443f3ba8749d4d98 tree b8a378f8b8d107b7fa7eb3020663f418fda0a134 parent a544521ef06ee7b8a3d82fa29627401196fda77a author Hans Verkuil Mon, 09 Jan 2006 15:25:39 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:39 -0200 V4L/DVB (3246): Use VIDIOC_S_AUDIO instead of AUDC_SET_INPUT in cs53l32a - Replace AUDC_SET_INPUT with VIDIOC_S_AUDIO. - Added V4L2_CID_AUDIO_MUTE. - Minimum volume is -96 dB, not -90. - Show volume in VIDIOC_LOG_STATUS. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit a544521ef06ee7b8a3d82fa29627401196fda77a tree 602154d687748d1f3e9255d50cdf36b679add581 parent 66e33dee9e3062b1045afe23c4b8714c1004668c author Hans Verkuil Mon, 09 Jan 2006 15:25:39 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:39 -0200 V4L/DVB (3245): Added some comments about multiple tuner support. - Added some comments to make clearer how to use ioctl api to handle multiple tuners at the same board. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 66e33dee9e3062b1045afe23c4b8714c1004668c tree e72020e6e5b2b4029d054376655c922cfef6f7a4 parent 12e66f6573beda52a434b757df5b7a5a05b9ebd2 author Michael Krufky Mon, 09 Jan 2006 15:25:39 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:39 -0200 V4L/DVB (3243): add firmware instructions for nxt2002 and nxt2004 - add firmware instructions for nxt2002 and nxt2004 Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 12e66f6573beda52a434b757df5b7a5a05b9ebd2 tree a1b2473cb978be3d878673cfc8298a003c9e0475 parent 90200d2b7f526128671a971ab29db38973bf3f51 author Ville Skytt\ä Mon, 09 Jan 2006 15:25:38 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:38 -0200 V4L/DVB (3242): make the firmware dir docs consistent in the v4l-dvb tree. - make the firmware dir documentation and comments consistent in the v4l-dvb tree. Signed-off-by: Ville Skyttä Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 90200d2b7f526128671a971ab29db38973bf3f51 tree a0ef256cec866e3570b2e398012e002baba226c4 parent 21dcd8ccd76e80118f524b1a730c35ab1c46c09e author Michael Krufky Mon, 09 Jan 2006 15:25:38 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:38 -0200 V4L/DVB (3239): reorganize tuner-simple threshold structure. - Create an array containing frequency threshold and control byte. - allows for an arbitrary amount of frequency ranges to be set, like dvb-pll. - improves code readability. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 21dcd8ccd76e80118f524b1a730c35ab1c46c09e tree 4a08b0416ef74fbeecfb83eb84658c425c625020 parent 9bb13a6dc3a6f68c990264838ff0493d900c48d7 author Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:37 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:37 -0200 V4L/DVB (3234): Included advanced debug option to tvp5150.c - Included advanced debug option to tvp5150.c - Now, advanced debug info is the first item at V4L menu. Signed-off-by: Mauro Carvalho Chehab commit 9bb13a6dc3a6f68c990264838ff0493d900c48d7 tree 274f9dfdcbbbff9f7a382df772a6f2efa9247cc7 parent e1bc80adaf801bf75ca176b9c1b60b3cceee1e03 author Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:37 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:37 -0200 V4L/DVB (3233): Fixed API to set I2S speed control - Created a new ioctl to control I2S speed. Old calls to an inadequate V4L2 API replaced. Signed-off-by: Mauro Carvalho Chehab commit e1bc80adaf801bf75ca176b9c1b60b3cceee1e03 tree ec51175069a1c8a17081ab9cd2829d08bf57706d parent fc40b261db15d010455ad0a4e2ac59da2ced730f author Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:36 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:36 -0200 V4L/DVB (3232): Several improvements at tvp5150 driver - Now reset do init tvp5150 registers to its default. - Debug messages improved. - Implemented video standard selection function. Signed-off-by: Mauro Carvalho Chehab commit fc40b261db15d010455ad0a4e2ac59da2ced730f tree d91b96cb35c8b2e978d6ff1be5bdf3aad1993709 parent 50c25fff5385c6baf3114f7c369b0f75a29ac1e8 author Chris Pascoe Mon, 09 Jan 2006 15:25:35 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:35 -0200 V4L/DVB (3220): Add support for VP-3054 HDTV board - Added support for VP-3054 (aka DigitalNow DNTV Live! DVB-T Pro!). - This board has a secondary I2C bus and remote control. - Added a new module to handle secondary I2C bus on this board. Signed-off-by: Chris Pascoe Signed-off-by: Mauro Carvalho Chehab commit 50c25fff5385c6baf3114f7c369b0f75a29ac1e8 tree 8931b703585db52ee9028d2bd0c2da5a06b0b36e parent 41d70c26c615da5a42aea4655232c68c53b9e084 author Michael Krufky Mon, 09 Jan 2006 15:25:34 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:34 -0200 V4L/DVB (3218): Whitespace cleanups - minor whitespace cleanups Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 41d70c26c615da5a42aea4655232c68c53b9e084 tree 9d2dc9428d3dcbe074c39eaba1e6bfb3f7830965 parent 2a9a9a84f2ac6e4481f564c42a9268477465c359 author Ricardo Cerqueira Mon, 09 Jan 2006 15:25:34 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:34 -0200 V4L/DVB (3216): saa7134 card #58 has a newer revision with a new subsystem ID - Added new ID for different revision of card #58. It's the same card, but with a tda8275a instead of a tda8275 Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit 2a9a9a84f2ac6e4481f564c42a9268477465c359 tree 7db3da8faad0d15980df02c1633db108bbf28a60 parent 6ff5ef28bad0403fbc24cdee127d094449a10ab6 author Nickolay V. Shmyrev Mon, 09 Jan 2006 15:25:33 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:33 -0200 V4L/DVB (3213): Add remote for Compro Videomate Gold+ Pal version. - Add remote. Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab commit 6ff5ef28bad0403fbc24cdee127d094449a10ab6 tree ed41825224d84e4fca7bd5a8003e5813c60c9a6b parent 6fe66ba63fdd27cfc01ffb2e1835a2a475074a63 author Patrick Boettcher Mon, 09 Jan 2006 15:25:33 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:33 -0200 V4L/DVB (3202): Initialize the dvb-usb-device-pointer to NULL - Initialize the the dvb-usb-device-pointer in the -init function to NULL, to be sure that a dvb-usb-device was really initialized. Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit 6fe66ba63fdd27cfc01ffb2e1835a2a475074a63 tree ee896942ff7b4a8ab53ce79ac94830787f538f9d parent 610d1407b2d7a8fbb9f8e5757b2d078b9988299c author Michael Krufky Mon, 09 Jan 2006 15:25:32 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:32 -0200 V4L/DVB (3201): Remove #ifdef BTTV_BOARD_TWINHAN_VP3021 - As far back as the video4linux cvs repository goes, there is no mention of BTTV_TWINHAN_VP3021. It seems that this was done for the sake of backwards compatability with some older v4l, but this can no longer be necessary due to the v4l/dvb cvs merger, nor should this have ever existed in the upstream kernel. Signed-off-by: Michael Krufky Acked-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab commit 610d1407b2d7a8fbb9f8e5757b2d078b9988299c tree bcf6d035ba047e15b0c4d8a91dd950698fc9f77c parent 210e207c1d98348f5993e6f580cd20cf20086d7d author Michael Krufky Mon, 09 Jan 2006 15:25:30 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:30 -0200 V4L/DVB (3199): Removed some unneeded #ifdef's - Removed some unneeded #ifdef's Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 210e207c1d98348f5993e6f580cd20cf20086d7d tree 7975b53bb1d6f5e360e4ea8d71819f7a5ca2efb2 parent 83ac8722be6d34b9bbcaabfff825d5847ce3a9d4 author Tyler Trafford Mon, 09 Jan 2006 15:25:29 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:29 -0200 V4L/DVB (3198): make cx25840 recover from some firmware load failures - In the rare event that a 333MHz i2c firmware load fails after writing some data, this fix makes the driver reset the DL_ADDR registers to the proper values before continuing on with 100MHz transfers. Signed-off-by: Tyler Trafford Signed-off-by: Mauro Carvalho Chehab commit 83ac8722be6d34b9bbcaabfff825d5847ce3a9d4 tree 2f5b1e111f7c988a0a5ce288e1c19e4159c31446 parent bc61b0102a53ee0ced3a8747cd4afe656a453756 author Michael Krufky Mon, 09 Jan 2006 15:25:29 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:29 -0200 V4L/DVB (3196): correct Thomson DTT 761x frequency ranges - Corrected Thomson DTT 7611 tuner programming, based on spec sheet - renamed to Thomson DTT 761x - applies to DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A (DTT 7610 is similar, but slightly different programming) - corrected frequency ranges for analog and digital modes Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit bc61b0102a53ee0ced3a8747cd4afe656a453756 tree ed977f30adf850ef88b198447796bac39fdfbc0c parent 889aee805a0c286e33965cc678ea16672d6c5666 author Andrew Morton Mon, 09 Jan 2006 15:25:28 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:28 -0200 V4L/DVB (3193): Replace del_timer with del_timer_sync - Replace del_timer with del_timer_sync Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit 889aee805a0c286e33965cc678ea16672d6c5666 tree b55ea752bc7051318c38be9fb1d68c1c8404ddfa parent e18828e43a52fb9a792938840cc32cbb2a9e1a5c author Christopher Pascoe Mon, 09 Jan 2006 15:25:28 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:28 -0200 V4L/DVB (3192): Fix bttv sub-device unregister - Fixes sub-device release for BTTV. Without this, DVB modules can't be reloaded Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit e18828e43a52fb9a792938840cc32cbb2a9e1a5c tree 8f85b0bf6254e3f936190cea65703cdcf91523ca parent 67f1570a0659abba5efbf55cc986187af61bdd52 author Hans Verkuil Mon, 09 Jan 2006 15:25:28 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:28 -0200 V4L/DVB (3179): Fix 64-bit compile warnings - Fix 64-bit compile warnings Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 67f1570a0659abba5efbf55cc986187af61bdd52 tree a7c0fe1bbfecfcd418c6549e9eee82b79106f0ba parent 7e57819169d4f9a1d7af55fb645ece3fb981e2e3 author Michael H. Schimek Mon, 09 Jan 2006 15:25:27 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:27 -0200 V4L/DVB (3178): bttv VBI fixes - V4L2_(G|S|TRY)_FMT returned incorrect VBI start lines for PAL-M, NTSC-JP, and PAL-60. They also returned an inaccurate VBI offset. - V4L2_(G|S)_FMT and V4L2_TRY_FMT disagreed about the start of VBI capturing in PAL and SECAM second field. Note the start line fixes may break applications using VIDIOCSVBIFMT because this ioctl fails when the driver does not support exactly the requested parameters. - V4L2_TRY_FMT did not clear the reserved field in struct v4l2_vbi_format. - V4L2_(S|TRY)_FMT did not expect very large or small VBI start or count values, returning wrong (but safe) counts due to an overflow. - VIDIOCGVBIFMT confused V4L and V4L2 VBI flags. However this had no effect because the flags have the same value and bttv never sets them. - In v4l_compat_translate_ioctl() the VIDIOC(G|S)VBIFMT code did not expect V4L2 drivers supporting VBI formats besides V4L2_PIX_FMT_GREY. Signed-off-by: Michael H. Schimek Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 7e57819169d4f9a1d7af55fb645ece3fb981e2e3 tree 305775cb673de02f70aa6d169e2c0fa94b40d8e3 parent 70f00044a2107a2c7d654bf1d3e0494f77777f47 author Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:27 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:27 -0200 V4L/DVB (3167): added ntsc parameter to tuner and more standardized debugs - Debug message changed to be coherent with other modules - added ntsc parameter - parameters moved to the beginning at the file - tuner_status moved to a better position. Signed-off-by: Mauro Carvalho Chehab commit 70f00044a2107a2c7d654bf1d3e0494f77777f47 tree 929354504de7bbcfab5530d7edd1c190bafa6ffc parent 5ea892f156310132a1bd37c45c3ca09663cfb9fb author Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:26 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:26 -0200 V4L/DVB (3162): Some fixes at cx88 controls - Now, default control values at cx88_cx8800_ctls are honored - default value for contrast/saturation were changed to be in line with available documentation for the chipset; - Removed some bad coding at set_control; - U/V Saturation now changes proportionally Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 5ea892f156310132a1bd37c45c3ca09663cfb9fb tree cde5f3cc62c9f2ddfccfa2ad32a0a13048af2d77 parent 4abdfed5676e5ef7f2461bb76f5929068a9cc9cf author Michael Krufky Mon, 09 Jan 2006 15:25:26 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:26 -0200 V4L/DVB (3166): "Philips 1236D ATSC/NTSC dual in" - fix typo. - "Philips 1236D ATSC/NTSC dual in" - fix typo. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 4abdfed5676e5ef7f2461bb76f5929068a9cc9cf tree ff4e3e80f57f788a9cf450966f137c44b58ff1b2 parent e0b2d7a89bb250fb0c9068c4481c9fd26c3fb227 author Ricardo Cerqueira Mon, 09 Jan 2006 15:25:25 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:25 -0200 V4L/DVB (3161): ir-kbd-gpio is now part of bttv - Merged ir-kbd-gpio into bttv as bttv-input, for consistency with other input modules Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit e0b2d7a89bb250fb0c9068c4481c9fd26c3fb227 tree 362ccab98f0cef0d5ee2bf99c2f7ff0bdb474b8c parent f4a3bc82ed5dcef03a74ff974a31b55eade7ed0f author Steven Toth Mon, 09 Jan 2006 15:25:25 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:25 -0200 V4L/DVB (3160): Updates to the tveeprom eeprom checking Updates to the tveeprom eeprom checking Signed-of-by: Steven Toth Signed-off-by: Mauro Carvalho Chehab commit f4a3bc82ed5dcef03a74ff974a31b55eade7ed0f tree 20bd120b481b5ec1a273950b378dd719c3cea5eb parent f961e71a0a96b4a992210b7dd46d837d78b162c6 author Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:24 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:24 -0200 V4L/DVB (3159): Replaces MAX()/MIN() by kernel.h max()/min() macros - Replaces MAX()/MIN() by kernel.h max()/min() macros Signed-off-by: Mauro Carvalho Chehab commit f961e71a0a96b4a992210b7dd46d837d78b162c6 tree d94b7c40c7364ae8999881ced89888fba9febfec parent e4acba3c01ca8b275dda22664191c30ee352a38e author Alex Woods Mon, 09 Jan 2006 15:25:24 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:24 -0200 V4L/DVB (3154): TTUSB DEC driver patch roundup - Collection of patches from Peter Beutner addressing: - add symbolrates to the DVB-S frontend description - fix capability flags in DVB-S frontend describtion - remove some void casts - disable zig-zag scanning as it makes no sense for DVB-T - set sensible min_delay value - return an error for requested filter types the driver can't handle Signed-off-by: Peter Beutner Signed-off-by: Alex Woods Signed-off-by: Mauro Carvalho Chehab commit e4acba3c01ca8b275dda22664191c30ee352a38e tree 8bc95d18a8df0743938f14ffcaf552532f63f425 parent 6a5bdd322e5366730803beb59adca7ebb144d7e4 author Deti Fliegl Mon, 09 Jan 2006 15:25:23 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:23 -0200 DVB (2401): USB hot unplug Oops fix. - USB hot unplug Oops fix. Signed-off-by: Deti Fliegl Signed-off-by: Johannes Stezenbach Signed-off-by: Mauro Carvalho Chehab commit 6a5bdd322e5366730803beb59adca7ebb144d7e4 tree 4052a855b927b65018a800424ba89dd7cbcfb73d parent 4302c15ea237a649780894e263125fcd8c548998 author Jesper Juhl Mon, 09 Jan 2006 15:25:23 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:23 -0200 V4L/DVB (3173): [PATCH] Decrease number of pointer derefs in flexcop-fe-tuner.c - Here's a small patch to decrease the number of pointer derefs in drivers/media/dvb/b2c2/flexcop-fe-tuner.c Benefits of the patch: - Fewer pointer dereferences should make the code slightly faster. - Size of generated code is smaller - Improved readability Signed-off-by: Jesper Juhl Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit 4302c15ea237a649780894e263125fcd8c548998 tree ccddac5c9a79e7adc16ea238392b4dc55c8998fb parent 0144f31466f0b7f1a8b21b470bfeb93c174a2006 author Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:22 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:22 -0200 V4L/DVB (3145): syncronizes some changes between v4l and dvb - digitv_ctrl_msg() if (wo) test is reversed. fixed. - usb timeout is in Hz, not in jiffies. - NULL replaced by 0 to be coherent. - removed uneeded headers. Signed-off-by: Mauro Carvalho Chehab commit 0144f31466f0b7f1a8b21b470bfeb93c174a2006 tree b46367c45eaf577ae10ef9d10c93ff85504a7f2a parent 2c3f11b20fc6c41b4d3f64f301f525e35f18b6bc author Steven Toth Mon, 09 Jan 2006 15:25:22 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:22 -0200 V4L/DVB (3130): cx24123: cleanup timout handling - Cleanup timeout handling in cx24123_pll_writereg(), and use a reasonable value for the timeout. Signed-off-by: Steven Toth Signed-off-by: Johannes Stezenbach Signed-off-by: Mauro Carvalho Chehab commit 2c3f11b20fc6c41b4d3f64f301f525e35f18b6bc tree 5058d609de34137935e7481bf04b80b08d11e5ce parent d21838dd7d098e102ced2fafed62dcb133c4d71c author Stephen Williams Mon, 09 Jan 2006 15:25:21 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:21 -0200 V4L/DVB (3129): correct FE_READ_UNCORRECTED_BLOCKS - Make FE_READ_UNCORRECTED_BLOCKS reset the count after each call, thus returning a momentary value like all other demods do, instead of an absolute, ever increasing count. Signed-off-by: Stephen Williams Signed-off-by: Johannes Stezenbach Signed-off-by: Mauro Carvalho Chehab commit d21838dd7d098e102ced2fafed62dcb133c4d71c tree ed8a319559745e9286a1ee1cf0067e08b202b066 parent b060c25f70adb20532dacefa72029d1d2db1a7f1 author Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:21 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:21 -0200 V4L/DVB (3123b): syncs V4L subsystem tree with kernel - This patch makes kernel in sync with v4l subsystem tree. - some lines reordered to be sync. - some reduntant codes removed. Signed-off-by: Mauro Carvalho Chehab commit b060c25f70adb20532dacefa72029d1d2db1a7f1 tree ac75243ccd4f5c2bce2ed8ad9d8b5ddee624fda8 parent b5b8ab8d93ec46fec279b22eb1a613be18f49f7a author Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:20 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:20 -0200 V4L/DVB (3123a): remove uneeded #if from V4L subsystem - some uneeded #if were introduced by a previous patch. this patch removes these. Signed-off-by: Mauro Carvalho Chehab commit b5b8ab8d93ec46fec279b22eb1a613be18f49f7a tree 2fb2ea84e5029515d4969a629328e0968692acdc parent 899ad11b55206c30db7e3667d14c8bdb167f51f8 author Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:20 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:20 -0200 V4L/DVB (3123): include reorder to be in sync with V4L tree - include reorder to be in sync with V4L tree Signed-off-by: Mauro Carvalho Chehab commit 899ad11b55206c30db7e3667d14c8bdb167f51f8 tree 7190d3bff8a598c2ce42e2f8a56b5ce5e769a088 parent a1789d3aea9e1eca676de011e1e3ebe9171cf9cb author George Gazurkoff Mon, 09 Jan 2006 15:25:19 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:19 -0200 V4L/DVB (3118): Enable remote control on AVERTV STUDIO 303 - Enable remote control on AVERTV STUDIO 303 - This patch adapted from a patch found on a website posted by an anonymous user. Thanks to original anonymous author for creating this patch. Tested successfully by George Gazurkoff. Signed-off-by: George Gazurkoff Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit a1789d3aea9e1eca676de011e1e3ebe9171cf9cb tree f2ee1416bf1f96cf3180baea42953293f7b4c3f3 parent f98c55ea18e87905bdf69eb4a187e94572ed9494 author Hans Verkuil Mon, 09 Jan 2006 15:25:19 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:19 -0200 V4L/DVB (3117): Fix broken TV standard check. - Fix incorrect matching of TV standards leading to incorrect IFPCoff values. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit f98c55ea18e87905bdf69eb4a187e94572ed9494 tree 7e5c755c76bc268ed761735e8fe75d56fa661654 parent a82c51d59344117320eeda3715f93c0695a9fbe6 author Hans Verkuil Mon, 09 Jan 2006 15:25:18 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:18 -0200 V4L/DVB (3116): tda9887 improvements: better defaults, better configurability. - Set the tuner takeover point to 0x10 for NTSC/radio and 0x14 for PAL/SECAM. - Allow override through TDA9887_SET_CONFIG - PAL-N belongs with PAL-BG as does PAL-H. PAL-Nc belongs to PAL-M - Add SECAM-BGH - Set video freq to cVideoIF_38_90 for DK standards. - Add cTunerGainLow to radio, change deemphasis to 75 for mono. - Add ntsc module param for 'M' and 'J' (Japanese) standards. - Fix module handling for 2.4. - Now able to select all standards through pal/secam/ntsc module options Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit a82c51d59344117320eeda3715f93c0695a9fbe6 tree fd4ea8d6887f23f7d107ae52881a313d443bafc2 parent 0345c387de72b5d7fbfeda9d92818fa7013a6d1c author Hans Verkuil Mon, 09 Jan 2006 15:25:18 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:18 -0200 V4L/DVB (3115): Add missing VIDEO_ADV_DEBUG config option. - Add missing VIDEO_ADV_DEBUG config option. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 0345c387de72b5d7fbfeda9d92818fa7013a6d1c tree 2d1b8277b7c5989aa1c8f75fa25f51f881c7a4ae parent 2304759d7e5debbd400eca6e9bb979a186c798a9 author Steven Toth Mon, 09 Jan 2006 15:25:17 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:17 -0200 V4L/DVB (3112): Several fixes for Hauppauge Roselyn Design (blackbird) - This patch adds eeprom awareness for the Roslyn. In effect, the blackbird will query the tuner V4L2_STD_xxxx definitions to determine whether it's connected to a NTSC or PAL tuner. Based on that, various default values will change for blackbird encoding. - Fixes back panel SVIDEO/COMPOSITE with audio, work properly. - Fixes a problem with lip sync issues, due to bad framerate vs audio rate assumptions. - Fixed a problem with the GPIO configuration in cx88-cards. - Removed the comments in cx88-cards that made no sense. Signed-off-by: Steven Toth Signed-off-by: Mauro Carvalho Chehab commit 2304759d7e5debbd400eca6e9bb979a186c798a9 tree 502bbd6f17154972b5c11662a6cd132eab35eb80 parent e64a86ee2b5ef5e23ccda2cc8981a22a8111a3b3 author Otavio Salvador Mon, 09 Jan 2006 15:25:17 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:17 -0200 V4L/DVB (3110): Replace all uses of pci_module_init with pci_register_driver This patch replace all calls to pci_module_init, that's deprecated and will be removed in future, with pci_register_driver that should be the used function now. Signed-off-by: Otavio Salvador Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit e64a86ee2b5ef5e23ccda2cc8981a22a8111a3b3 tree ab39f44bff991d45b4fd99bfdfc47ac71fd858b4 parent 39e8f40da20a803a17e16304e73fd31050b1871c author Steven Toth Mon, 09 Jan 2006 15:25:16 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:16 -0200 V4L/DVB (3108): tveeprom cleanup of hardcoded tuner format values. - Cleaned up the structure to use the V4L2_STD_xxx definitions rather than a one off set of hardcoded values - which could change in the future. Signed-off-by: Steven Toth Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 39e8f40da20a803a17e16304e73fd31050b1871c tree 35b3736436840a47d222457619c6c4595020eebe parent ade0836c8c3bf72edafd18d3256c4fd874a8236f author Hans Verkuil Mon, 09 Jan 2006 15:25:16 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:16 -0200 V4L/DVB (3105): Remove AUDC_CONFIG_PINNACLE horror, fix mt20xx radio support. - Remove AUDC_CONFIG_PINNACLE horror. This also fixes radio support for mt20xx tuners. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit ade0836c8c3bf72edafd18d3256c4fd874a8236f tree 54e1d9351317843fc5289a314feeedf544e21a74 parent cd43c3f60b73512744bb22fe27a266f611466827 author Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:15 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:15 -0200 V4L/DVB (3104): MSP3400 miscelaneous fixes - Removes obsoleted stuff - Reorders some stuff to make it clearer to read - Clears some debug messages Signed-off-by: Mauro Carvalho Chehab commit cd43c3f60b73512744bb22fe27a266f611466827 tree 92b935fd4d11b0f7309ab4841e178925efb6826b parent 7865c44d8ae832d6fb6522862268c7bd7814fd44 author Hans Verkuil Mon, 09 Jan 2006 15:25:15 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:15 -0200 V4L/DVB (3103): Add VIDIOC_LOG_STATUS to tuner-core.c - Mark tda9887.c status log values as hexadecimal (add 0x prefix). Add VIDIOC_LOG_STATUS support to tuner-core.c. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 7865c44d8ae832d6fb6522862268c7bd7814fd44 tree d320c60c02d0c0c7da3eeac9825356de57c3252b parent c0477ad9feca01bd8eff95d7482c33753d05c700 author Hans Verkuil Mon, 09 Jan 2006 15:25:14 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:14 -0200 V4L/DVB (3100): fix compile error, remove dead code and volume scaling - Fix compile error (missing '}') in em28xx-video.c. Remove dead code and volume scaling from msp3400.c. Volume scaling does not belong there, it should be done in the driver for the card that uses the msp3400 if needed, not in the msp3400.c source. The volume scaling code gave problems with the ivtv driver which does not need to do any scaling. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit c0477ad9feca01bd8eff95d7482c33753d05c700 tree aa2640078fdb82cb4bb9c065e7549ecdbc836ca7 parent c432a072b6b597c7af138f2fee337d79261b44f4 author Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:14 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:14 -0200 V4L/DVB (3099): Fixed device controls for em28xx on WinTV USB2 devices - Controls now come from video and audio decoder driver for msp3400 and tvp5150. - Added audio and sound controls as provided by msp3400 and tvp5150. Signed-off-by: Mauro Carvalho Chehab commit c432a072b6b597c7af138f2fee337d79261b44f4 tree e55c9e0452d1b932abfdd6f16c6f0d05c32fcbd0 parent bcb17c421e8fa20d31a0b4a60686908b6d469ce7 author Steven Toth Mon, 09 Jan 2006 15:25:13 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:13 -0200 V4L/DVB (3092): Add support for another Nova-T-PCI PCI subdevice 0x9001 - Add support for another Nova-T-PCI PCI subdevice 0x9001 Signed-off-by: Steven Toth Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit bcb17c421e8fa20d31a0b4a60686908b6d469ce7 tree 1d405e8fc9393e44055e1f825ed175cc83b314c0 parent 611900c1858747a87657eb405ebab5b1e72bb57c author Michael Krufky Mon, 09 Jan 2006 15:25:13 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:13 -0200 V4L/DVB (3090): Cleanup check for dvb. - Cleanup check for dvb. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 611900c1858747a87657eb405ebab5b1e72bb57c tree 661e767af2ee8a655dae18cd8872cfcb897e3ebb parent 35dc0fefb18eea1b4180a8fafbb83db6a9b7c401 author Steven Toth Mon, 09 Jan 2006 15:25:12 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:12 -0200 V4L/DVB (3089): Adding support for the Hauppauge HVR1100 and HVR1100-LP products. - Add support for the Hauppauge HVR1100 and HVR1100-LP products. - Add i2c_gate_ctrl callback function to dvb_frontend_ops struct. Signed-off-by: Steven Toth Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 35dc0fefb18eea1b4180a8fafbb83db6a9b7c401 tree 9ffe72649cb2bd4b134a683cc345cee3290bef65 parent f5b90a27ffe25c428329edae5b1ef81e1a8e383f author Michael Krufky Mon, 09 Jan 2006 15:25:12 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:12 -0200 V4L/DVB (3086): vfree(NULL) is legal. - vfree(NULL) is legal. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit f5b90a27ffe25c428329edae5b1ef81e1a8e383f tree 20d9ba7e9d5fe2fec210d2ff8ef99b77501cfdbd parent 5c07db0cb4f537731dba31002f314f3dc270d83f author Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:12 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:12 -0200 V4L/DVB (3084): Added a new debug msg to help identifying tuner Problems - Added a new debug msg to help identifying tuner Problems Signed-off-by: Mauro Carvalho Chehab commit 5c07db0cb4f537731dba31002f314f3dc270d83f tree 88f13830e795af046306ecf2ea6b0d7acf2f9e79 parent 2aeb49b6884c3719eedaa96f0752b9d5e0609fe3 author Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:11 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:11 -0200 V4L/DVB (3081): added offset parameter for adjusting tuner offset by hand - added offset parameter for adjusting tuner offset by hand Signed-off-by: Mauro Carvalho Chehab commit 2aeb49b6884c3719eedaa96f0752b9d5e0609fe3 tree f3ff6df1f68bb1d1fceac0e44295404083956b06 parent 14725165dd2e25a54315a2350d332b49635ed6c1 author Hans Verkuil Mon, 09 Jan 2006 15:25:11 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:11 -0200 V4L/DVB (3065): Fix gcc-4.0.2 compile error in msp3400.c - Fix gcc-4.0.2 compile error in msp3400.c. - msp_attach moved to reduce a prototype. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 14725165dd2e25a54315a2350d332b49635ed6c1 tree b565e294459ed082b8f4fe40e3bf71b33e20133d parent 174329d951e2fe39f779d67e9488b7a7f15df69c author Hans Verkuil Mon, 09 Jan 2006 15:25:10 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:10 -0200 V4L/DVB (3064): Some cleanups on msp3400 - Change function order to reduce usage of function prototypes. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 174329d951e2fe39f779d67e9488b7a7f15df69c tree bca52d63720bfb19346f4c7656bc939d65ccd5e6 parent 26a0f5db8425fbcbd20e60c924c61592b2c132a6 author Hans Verkuil Mon, 09 Jan 2006 15:25:10 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:10 -0200 V4L/DVB (3062): Fix wrong tuner.h define for tuner 46 - Fix wrong tuner.h define for tuner 46 (it's a Panasonic, not a Microtune). Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 26a0f5db8425fbcbd20e60c924c61592b2c132a6 tree 4ed14c85e34b7301b0a3ea3b44528a782ce5d2f5 parent effa791c22ef2f944b4621c94150e129fe1af28b author Noone Important Mon, 09 Jan 2006 15:25:09 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:09 -0200 DVB (2390): Adds a time-delay to IR remote button presses for av7110 ir input, - Adds a time-delay to IR remote button presses for av7110_ir input, such that it acts more like a keyboard. A short press will be treated as a single button press. Holding down a button on the remote will respond like holding down a key on the keyboard, and result in a key-repeat. This just introduces a delay between the 1st press, and going into key-repeat so that it is possible to get a single 'up'. Signed-off-by: Noone Important Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit effa791c22ef2f944b4621c94150e129fe1af28b tree 0c8252490553e100b61631520b6203399d870b6d parent 1c956a3ac087b7590296f5a0be2cdab2666158cd author Andrew de Quincey Mon, 09 Jan 2006 15:25:09 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:09 -0200 DVB (2454): Port code for SU1278/SH2 (TUA6100) from pre-refactored code - Port code for SU1278/SH2 (TUA6100) from pre-refactored code Signed-off-by: Andrew de Quincey Signed-off-by: Mauro Carvalho Chehab commit 1c956a3ac087b7590296f5a0be2cdab2666158cd tree 6816932312c50640beec0ab807a26dd04fbc2845 parent e3b152bc9ee2b7f841565dc93a042f527cf3116c author Vadim Catana Mon, 09 Jan 2006 15:25:08 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:08 -0200 DVB (2451): Add support for KWorld DVB-S 100, based on the same chips as Hauppauge - Add support for KWorld DVB-S 100, based on the same chips as Hauppauge Nova-S Plus (CX23883/CX24123/CX24109), without the Intersil ISL6421, which is used for LNB control. - LNB voltage and tone are controled by LNBDC and LNBTone bits from register 0x29 of the CX24123 demodulator. - The MO_GP0_IO register from CX23883 is used to turn LNB power on and off. Signed-off-by: Vadim Catana Acked-by: Johannes Stezenbach Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit e3b152bc9ee2b7f841565dc93a042f527cf3116c tree 5b3ab8aaa19993a293ee60954b05fce0a5b138f1 parent b79cb6531d5ba9174f9677ce2213c017d1e2ef19 author Johannes Stezenbach Mon, 09 Jan 2006 15:25:08 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:08 -0200 DVB (2446): Minor cleanups. - Minor cleanups. Signed-off-by: Johannes Stezenbach Signed-off-by: Mauro Carvalho Chehab commit b79cb6531d5ba9174f9677ce2213c017d1e2ef19 tree af45e77912c67a84209ad82d84f599bb6967dfc4 parent 36cb557a2f64513e2fdc1a542167e5e8a6c1c67e author Steve Toth Mon, 09 Jan 2006 15:25:07 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:07 -0200 DVB (2445): Added demodulator driver for Nova-S-Plus and Nova-SE2 DVB-S support. - Added demodulator driver for Nova-S-Plus and Nova-SE2 DVB-S support. Signed-off-by: Steven Toth Signed-off-by: Mauro Carvalho Chehab commit 36cb557a2f64513e2fdc1a542167e5e8a6c1c67e tree 02822705dd0bafb191f4fe26fb3f28ef876b1429 parent 47f3692096eef208d8cb455bfa2b3308cdfc40de author Andrew de Quincey Mon, 09 Jan 2006 15:25:07 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:07 -0200 DVB (2444): Implement frontend-specific tuning and the ability to disable zigzag - Implement frontend-specific tuning and the ability to disable zigzag Signed-off-by: Andrew de Quincey Signed-off-by: Mauro Carvalho Chehab commit 47f3692096eef208d8cb455bfa2b3308cdfc40de tree f5875cc7accf1f466dd86b6c559d79091eb893d4 parent 1c13b95c7d22d5c552246b465da4b364ba00ba65 author Dr. Werner Fink Mon, 09 Jan 2006 15:25:07 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:07 -0200 DVB (2441): Driver support for live-ac3, firmware >= 2621 required. - Driver support for live-ac3, firmware >= 2621 required. Signed-off-by: Dr. Werner Fink Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 1c13b95c7d22d5c552246b465da4b364ba00ba65 tree b04c9da7e2b55cf9d70fcc43d95f8e510f0a8eba parent f49cc15bbe37b767286fdd7abe65810e750cf70a author Marco Schluessler Mon, 09 Jan 2006 15:25:06 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:06 -0200 DVB (2440): Fixed mpeg audio on spdif from Nexus-CA card (rev 2.3), - Fixed mpeg audio on spdif from Nexus-CA card (rev 2.3), definitions for sound chip MSP3415 Signed-off-by: Marco Schluessler Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit f49cc15bbe37b767286fdd7abe65810e750cf70a tree 6c3592edd83633b50d7d496d6de7aa79645560af parent eb3daf3c5acfa737bdf2bd9d1f93c3393dde5067 author Oliver Endriss Mon, 09 Jan 2006 15:25:06 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:06 -0200 DVB (2432): LNB power can now be switched off for Activy Budget-S rev GR/AL. - LNB power can now be switched off for Activy Budget-S rev GR/AL. Dishnetwork support fixed for Nova-S with bsbe1/lnbp21 frontend and Activy Budget-S rev AL. Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit eb3daf3c5acfa737bdf2bd9d1f93c3393dde5067 tree b0b75f412be5f3148b54ff036e88bd89cc000c31 parent 2d0235df0e62cb9f07232bf9cf8009fabf13d304 author Oliver Endriss Mon, 09 Jan 2006 15:25:05 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:05 -0200 DVB (2431): Fixed dishnetwork support for Nexus-S rev 2.3 - Fixed dishnetwork support for Nexus-S rev 2.3 Signed-off-by: Oliver Endriss Signed-off-by: Mauro Carvalho Chehab commit 2d0235df0e62cb9f07232bf9cf8009fabf13d304 tree be338e90f7dfc419bf294fb5e38289fff77ac81b parent 8a8e9c281de5dd63cdcbbafc0252fe0d8c758294 author Andrew de Quincey Mon, 09 Jan 2006 15:25:05 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:05 -0200 DVB (2428): Fixes for the topuptv/SCM mediaguard CAM module in KNC1 CI module - Fixes for the topuptv/SCM mediaguard CAM module in KNC1 CI module Signed-off-by: Andrew de Quincey Signed-off-by: Mauro Carvalho Chehab commit 8a8e9c281de5dd63cdcbbafc0252fe0d8c758294 tree 138241c0891713736dc45615dbbef981858e2a0f parent d3707add6158803b6463292178cd1a041857b91b author Hartmut Hackmann Mon, 09 Jan 2006 15:25:04 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:04 -0200 DVB (2421): Fixed oddities at firmware download - Fixed oddities at firmware download - more tolerant vs crystal frequency offset - lower sampling clock Signed-off-by: Hartmut Hackmann Signed-off-by: Mauro Carvalho Chehab commit d3707add6158803b6463292178cd1a041857b91b tree 29fead33cb3cdb3ed5d3819475e717467967f6c9 parent e142e5107f1e4103dad16e391a41166e15b66a9c author Patrick Boettcher Mon, 09 Jan 2006 15:25:04 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:04 -0200 DVB (2420): Makes integration of future devices easier - To make the integration of future devices easier - modified the dvb-usb-part to allow a device-specific firmware download - added an option to specify whether a device reconnects after a firmware download or not. Signed-off-by: Patrick Boettcher Signed-off-by: Mauro Carvalho Chehab commit e142e5107f1e4103dad16e391a41166e15b66a9c tree 6a6d138efbf9ace2fb2d2f541fc961dbd7bd8873 parent 1faf11a3ed19d7d404fa867f572a1f23def9882e author Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:03 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:03 -0200 V4L (1021): Tuner description now follows the same CodingStyle as the others - Tuner description now follows the same CodingStyle as the others Signed-off-by: Mauro Carvalho Chehab commit 1faf11a3ed19d7d404fa867f572a1f23def9882e tree a68e5456fdd1da56bc4f9aa2a5c93fc0e9b39442 parent 0e0351e3709023dbd015d09880b04f0aa8818fcb author Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:03 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:03 -0200 V4L (0988): Tuner cleanups by removing Video IF from tuners struct - Video IF was removed from tuners struct. - Each Video standard have its own Video IF frequency, so it is related to video standard. Of course tuner also needs saw filters for IF, but this way, similar tuners can be grouped into just one entry, if they have the same cut-off freqs and the same switch config and global config. Signed-off-by: Mauro Carvalho Chehab commit 0e0351e3709023dbd015d09880b04f0aa8818fcb tree 204b97290bd663cf36171e4139c2ad470c7c6b41 parent fb56cb65e4b737c93727ea296050e8d24eb7cb42 author Vadim Catana Mon, 09 Jan 2006 15:25:02 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:02 -0200 V4L (1007): Add support for KWorld DVB-S 100 - Add support for KWorld DVB-S 100, based on the same chips as Hauppauge Nova-S Plus (CX23883/CX24123/CX24109), without the Intersil ISL6421, which is used for LNB control. - LNB voltage and tone are controled by LNBDC and LNBTone bits from register 0x29 of the CX24123 demodulator. - The MO_GP0_IO register from CX23883 is used to turn LNB power on and off. Signed-off-by: Vadim Catana Acked-by: Johannes Stezenbach Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit fb56cb65e4b737c93727ea296050e8d24eb7cb42 tree 0bd147b17c0ce44f3ab92913c6260e21a45bbe01 parent 0fa14aa6214823bb013b598add866e277a7efe28 author Steven Toth Mon, 09 Jan 2006 15:25:02 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:02 -0200 V4L (0990): Enable IR support for the Nova-S-Plus - Enable IR support for the Nova-S-Plus. Signed-off-by: Steven Toth Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit 0fa14aa6214823bb013b598add866e277a7efe28 tree ff037bc55e140ede3464ed9ed4cd6f9541799811 parent cd1257d860f6ee09b589723a5d3888b1fed46487 author Steven Toth Mon, 09 Jan 2006 15:25:02 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:02 -0200 V4L (0979): Added V4L support for the Nova-S-Plus and Nova-SE2 DVB-S products - Added V4L support for the Nova-S-Plus and Nova-SE2 DVB-S products. - Basic DVB-S support is working, analog video inputs work. - It has one or two fixme comments, primarily analog GPIOs (audio) and eeprom parsing. - CX24123 code (in cx88-dvb.c) disabled until the - cx24123 module is added to dvb-kernel cvs. Signed-off-by: Steven Toth Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab commit cd1257d860f6ee09b589723a5d3888b1fed46487 tree 30bc2213bd319128647099a24f157ce596704553 parent f639c9b21b763441bd6bd76185be6d2504d83d54 author Steven Toth Mon, 09 Jan 2006 15:25:01 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:01 -0200 V4L (1023): Added Hauppauge ImpactVCB board - Modifications to bttv to support the Hauppauge ImpactVCB product (Model #64900). Signed-off-by: Steven Toth Signed-off-by: Mauro Carvalho Chehab commit f639c9b21b763441bd6bd76185be6d2504d83d54 tree 9ab955d9a272211e1b68db17f50e67ceef979633 parent f3c5987a386300abea9854b32814d0eab7af7841 author Jörg Schummer Mon, 09 Jan 2006 15:25:01 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:01 -0200 V4L (1019): Added basic support (tv + radio) for TerraTec Cinergy 250 PCI - Added "TerraTec Cinergy 250 PCI" board (tv and radio). - svideo not tested - IR yet not working Signed-off-by: Jörg Schummer Signed-off-by: Mauro Carvalho Chehab commit f3c5987a386300abea9854b32814d0eab7af7841 tree bcfb784dd25b6ef1ca02c4e6ddf5aed7e2a9375e parent 13d133bc66ea78cf2d60c78a41082c87432e0e94 author Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:00 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:00 -0200 V4L (0987): Added Secam L' std on tda9887 and common macros moved to videodev2.h - Added SECAM L' video standard - Common std macros moved to videodev2.h Signed-off-by: Mauro Carvalho Chehab commit 13d133bc66ea78cf2d60c78a41082c87432e0e94 tree ff0cc26a83656c8f4c570bb057888d1f811a36d2 parent cf664a6458b254ce665d129c0960cff4f32b91f3 author Philippe De Muyter Mon, 09 Jan 2006 15:25:00 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:25:00 -0200 V4L/DVB (3152): Fixes some troubles at v4l2 compat stuff - This patch fixes merge and typo problems in v4l2/compat, and fixes VIDIOC_STREAMON, VIDIOC_STREAMOFF & VIDIOC_S_FBUF. Signed-off-by: Philippe De Muyter Signed-off-by: Mauro Carvalho Chehab commit cf664a6458b254ce665d129c0960cff4f32b91f3 tree 2b9d53b04cf87173a52e1cc7c81589250ba695b4 parent e8efb71d02d008a665ba88e6f75af691d9425e49 author Philippe De Muyter Mon, 09 Jan 2006 15:24:59 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:24:59 -0200 V4L/DVB (3120): Adds 32-bit compatibility for v4l2 framegrabber ioctls. - Adds 32-bit compatibility for v4l2 framegrabber ioctls. Signed-off-by: Philippe De Muyter Signed-off-by: Mauro Carvalho Chehab commit e8efb71d02d008a665ba88e6f75af691d9425e49 tree cbfc9e13c45aa9c606ac03dfd10aa0cc7a80c567 parent 97e2a01b6bd995bc3438b361e58b126a2c3cc0ca author Hans Verkuil Mon, 09 Jan 2006 15:24:59 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:24:59 -0200 V4L (0978): 64-bit fixes for removing warnings on compat_ioctl32 - 64-bit fixes for removing warnings on compat_ioctl32. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab commit 97e2a01b6bd995bc3438b361e58b126a2c3cc0ca tree bd60a4ec1afec76ef44e2d83290a6e028fd8ca28 parent 133b735416fcd0f32a429e3f55072afe84c1f005 author MishalÅ Pytasz Mon, 09 Jan 2006 15:24:59 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:24:59 -0200 V4L (0973): Another build fix for compat_ioctl32.c - Another build fix for compat_ioctl32.c Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab commit 133b735416fcd0f32a429e3f55072afe84c1f005 tree f885cfb2c8f6929da14a047fbded458843c4a306 parent 17cbe2e5831c3df114c8d7b7d8bf07f2c35a6030 author Nickolay V. Shmyrev Mon, 09 Jan 2006 15:24:58 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:24:58 -0200 V4L (0972): More build fixes for compat_ioctl32.c - More build fixes for compat_ioctl32.c Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Mauro Carvalho Chehab commit 17cbe2e5831c3df114c8d7b7d8bf07f2c35a6030 tree b619bcb250596ffd85698f94a10c0d8df0d856af parent 925e699f26d2162553f7453dcacbac32f063a4c7 author Mauro Carvalho Chehab Mon, 09 Jan 2006 15:24:58 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:24:58 -0200 V4L (963): Explicit compat_ioctl32 handler to em28xx - Included explicit compat_ioctl32 handler. - removed extra line on cardlist. Signed-off-by: Mauro Carvalho Chehab commit 925e699f26d2162553f7453dcacbac32f063a4c7 tree 106388ac84136e1e888ddc7d2884c0bba5320b6e parent 0d0fbf8152fb3bb4393be11e8df7f70e1fbbd738 author Ricardo Cerqueira Mon, 09 Jan 2006 15:24:57 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:24:57 -0200 V4L (957): Compat ioctl32 license fix - Compat_ioctl32 license fix Signed-off-by: Ricardo Cerqueira Signed-off-by: Mauro Carvalho Chehab commit 0d0fbf8152fb3bb4393be11e8df7f70e1fbbd738 tree 98ef8850e6b769da7391665716e4e2348de21ec1 parent 5367f2d67c7d0bf1faae90e6e7b4e2ac3c9b5e0f author Arnd Bergmann Mon, 09 Jan 2006 15:24:57 -0200 committer Mauro Carvalho Chehab Mon, 09 Jan 2006 15:24:57 -0200 V4L (926_2): Moves compat32 functions from fs to v4l subsystem This moves the 32 bit ioctl compatibility handlers for Video4Linux into a new file and adds explicit calls to them to each v4l device driver. Unfortunately, there does not seem to be any code handling the v4l2 ioctls, so quite often the code goes through two separate conversions, first from 32 bit v4l to 64 bit v4l, and from there to 64 bit v4l2. My patch does not change that, so there is still much room for improvement. Also, some drivers have additional ioctl numbers, for which the conversion should be handled internally to that driver. Signed-off-by: Arnd Bergmann Signed-off-by: Mauro Carvalho Chehab commit 8ef12c9f01afba47c2d33bb939085111ca0d0f7d tree f341aa5e8927712389186f718eca8a96d8283c08 parent 73a59c1c4af06c675a168d698d3ebfbb3270ddbe author Russell King Mon, 09 Jan 2006 17:08:11 +0000 committer Russell King Mon, 09 Jan 2006 17:08:11 +0000 [ARM] AT91RM9200 doesn't need anything in dma.h Signed-off-by: Russell King commit 73a59c1c4af06c675a168d698d3ebfbb3270ddbe tree fa1708e19cf89a6bd13c8f7725a9cc67cc4ae6fd parent 50365c57860cd931c2d806057e0987634797e9af author SAN People Mon, 09 Jan 2006 17:05:41 +0000 committer Russell King Mon, 09 Jan 2006 17:05:41 +0000 [ARM] 3240/2: AT91RM9200 support for 2.6 (Core) Patch from SAN People Following changes were made to clock.c: 1) Replaced with 2) Removed old unused clk_enable & clk_disable. 3) Replaced clk_use/clk_unuse with clk_enable/clk_disable. Otherwise it's the same as the previous patch. Signed-off-by: Andrew Victor Signed-off-by: Russell King commit 166c3436d683cfe5316c7723ed746a93db053f12 tree bb7a72a938b3a9db6a6b04032125ae6a765c0e60 parent 64916f1ebe93592153c72bcdb189a31e4d40049a author Dan Williams Mon, 09 Jan 2006 11:04:31 -0500 committer Jeff Garzik Mon, 09 Jan 2006 11:04:31 -0500 [patch] ipw2100: support WEXT-18 enc_capa v3 This patch allows ipw2100 driver to advertise the WPA-related encryption options that it does really support. It's necessary to work correctly with NetworkManager and other programs that actually check driver & card capabilities. Signed-off-by: Dan Williams Signed-off-by: Jeff Garzik commit 64916f1ebe93592153c72bcdb189a31e4d40049a tree b525bb438c142edb5395125cdb0163efa816cc76 parent fa45459e5e4507402350f1cdaf44b7455602770c author Denis Vlasenko Thu, 05 Jan 2006 22:45:47 -0800 committer Jeff Garzik Mon, 09 Jan 2006 10:54:48 -0500 [PATCH] fix a few "warning: 'cleanup_card' defined but not used" These warnings are emitted if non-modular network drivers are built. Fixes just move cleanup_card() definitions into #ifdef MODULE region. /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/wd.c:131: warning: 'cleanup_card' defined but not used /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/3c503.c:152: warning: 'cleanup_card' defined but not used /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/ne.c:216: warning: 'cleanup_card' defined but not used /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/hp.c:106: warning: 'cleanup_card' defined but not used /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/hp-plus.c:142: warning: 'cleanup_card' defined but not used /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/smc-ultra.c:172: warning: 'cleanup_card' defined but not used /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/e2100.c:144: warning: 'cleanup_card' defined but not used /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/es3210.c:159: warning: 'cleanup_card' defined but not used /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/lne390.c:149: warning: 'cleanup_card' defined but not used /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/lance.c:313: warning: 'cleanup_card' defined but not used /.1/usr/srcdevel/kernel/linux-2.6.15-rc7.src/drivers/net/ac3200.c:127: warning: 'cleanup_card' defined but not used Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit fa45459e5e4507402350f1cdaf44b7455602770c tree d7d27ce7909310821cc7e69e69e704753e5cf9c6 parent 3bb8a18ae825ebf3550fe7894b35cd1c87356a16 author Ayaz Abdulla Thu, 05 Jan 2006 22:45:45 -0800 committer Jeff Garzik Mon, 09 Jan 2006 10:54:48 -0500 [PATCH] forcedeth: TSO fix for large buffers This contains a bug fix for large buffers. Originally, if a tx buffer to be sent was larger then the maximum size of the tx descriptor, it would overwrite other control bits. In this patch, the buffer is split over multiple descriptors. Also, the fragments are now setup in forward order. Signed-off-by: Ayaz Abdulla Signed-off-by: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 3bb8a18ae825ebf3550fe7894b35cd1c87356a16 tree 9839229394db8bec833f42af4f4a24167fff1516 parent 32a4ec97461f00aa63747fc8978011ea771bd543 author Olaf Hering Thu, 05 Jan 2006 22:45:45 -0800 committer Jeff Garzik Mon, 09 Jan 2006 10:54:48 -0500 [PATCH] remove bouncing mail address of mv643xx_eth maintainer Remove bouncing mail address of mv643xx maintainer. Signed-off-by: Olaf Hering Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 32a4ec97461f00aa63747fc8978011ea771bd543 tree 0b9076b1374433d11e7ed89caf4e01703f87960a parent 504ddff4c0b8e31fa2a2775d6d484faeb126a265 author Kenji Kaneshige Thu, 05 Jan 2006 22:45:44 -0800 committer Jeff Garzik Mon, 09 Jan 2006 10:54:48 -0500 [PATCH] e1000: Fix invalid memory reference Fix an invalid memory reference in the e1000 driver which would cause kernel panic. Signed-off-by: Kenji Kaneshige Cc: Jeb Cramer Cc: John Ronciak Cc: Ganesh Venkatesan Cc: Jeff Garzik Acked-by: Jeff Kirsher Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 504ddff4c0b8e31fa2a2775d6d484faeb126a265 tree d785d62ace5cd35252038864d2c09b0b58f647f8 parent cceb904f9b804f18250214fcd988eca72864970c author Adrian Bunk Thu, 05 Jan 2006 22:45:43 -0800 committer Jeff Garzik Mon, 09 Jan 2006 10:54:47 -0500 [PATCH] drivers/net/gianfar.h: "extern inline" -> "static inline" "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Cc: "David S. Miller" Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit cceb904f9b804f18250214fcd988eca72864970c tree dd282cdabc75e0a298643c170a8b4840dd674f8e parent f65fd8fbb2356d1b4412bc83810cf39a529de412 author Adrian Bunk Thu, 05 Jan 2006 22:45:42 -0800 committer Jeff Garzik Mon, 09 Jan 2006 10:54:47 -0500 [PATCH] drivers/net/bonding/bonding.h: "extern inline" -> "static inline" "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Cc: "David S. Miller" Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit f65fd8fbb2356d1b4412bc83810cf39a529de412 tree 6e03f943c7db8a44cf8a3678b6ad9c2465ddaad7 parent b6d08c0e98c8b9a4a066544737cf6642df1ea5bd author Adrian Bunk Thu, 05 Jan 2006 22:45:41 -0800 committer Jeff Garzik Mon, 09 Jan 2006 10:54:47 -0500 [PATCH] drivers/net/Kconfig: indentation fix This patch fixes a wrong indentation. Signed-off-by: Adrian Bunk Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit b6d08c0e98c8b9a4a066544737cf6642df1ea5bd tree a43c1c080681aeeb5efedf9ae8d4b52dc43c8536 parent 8fad6939af311a8be5785d41531baa5a6918f833 author Franck Thu, 05 Jan 2006 22:45:39 -0800 committer Jeff Garzik Mon, 09 Jan 2006 10:54:47 -0500 [PATCH] Add MIPS dependency for dm9000 driver Add MIPS dependency for dm9000 ethernet controller. Indeed this controller is used by some embedded platforms based on MIPS CPUs. Signed-off-by: Franck Bui-Huu Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 8fad6939af311a8be5785d41531baa5a6918f833 tree ae1a1637dd1c7d8f4d17603807a39f99b5fd966d parent b9c4c609660e00377f0b30dfbbec0f1918b56aba author Eric Paris Fri, 06 Jan 2006 11:57:11 -0500 committer Jeff Garzik Mon, 09 Jan 2006 10:48:09 -0500 [PATCH] update bonding.txt to not show ip address on slaves ifenslave, as of abi version 2, does not set the ip address on the slave interfaces. The documentation example however still shows that the ensalved interfaces should have the same IP as the master. The patch simply removes the lines from the example which should no longer appear. Signed-off-by: Eric Paris bonding.txt | 2 -- 1 files changed, 2 deletions(-) Signed-off-by: Jeff Garzik commit b9c4c609660e00377f0b30dfbbec0f1918b56aba tree b74be9c12a4a5fe7b960a7c76b37566755dfa2fa parent 38843888e3e9fb7006d72d55b8e6ffcc925cf18a author Christoph Dworzak Fri, 06 Jan 2006 14:49:22 -0500 committer Jeff Garzik Mon, 09 Jan 2006 10:48:09 -0500 [PATCH] tulip: enable multiport NIC BIOS fixups for x86_64 A BIOS bug affecting some multiport tulip NICs requires an irq fixup in tulip_core.c. This has only been enabled for i686, but it is needed for x86_64 as well. Signed-off-by: John W. Linville Signed-off-by: Jeff Garzik commit b887030aec0971a47ca97a18e93ff446bc7d049e tree 77ecea6cce7d8047ad39feea2d0b0cbff1bdbad2 parent 5367f2d67c7d0bf1faae90e6e7b4e2ac3c9b5e0f author Andrew Chew Wed, 04 Jan 2006 19:13:04 -0800 committer Jeff Garzik Mon, 09 Jan 2006 10:42:06 -0500 [PATCH] sata_nv, spurious interrupts at system startup with MAXTOR 6H500F0 drive This patch works around a problem with spurious interrupts seen at boot time when a MAXTOR 6H500F0 drive is present. An ATA interrupt condition is mysteriously present at start of day. If we took too long in issuing the first command, the kernel would basically get tired of the spurious interrupts and turn the interrupt off. Issuing the first command essentially causes the interrupt condition to get acknowledged. I haven't seen this happen with any other drives. What I basically do is ack ATA status by reading it regardless of whether we're expecting to have to handle an interrupt. This clears the start-of-day anomalous interrupt condition, and keeps the kernel from disabling that interrupt due to too many spurious interrupts. Also, I fixed a bug where hotplug interrupts weren't getting acknowledged as handled in the ISR. This was not the cause of the spurious interrupts, but it's the right thing to do anyway. Signed-Off-By: Andrew Chew Signed-off-by: Jeff Garzik commit 38843888e3e9fb7006d72d55b8e6ffcc925cf18a tree cd39ae82b4672ff76521dc645ca4a21f01baf613 parent a4bf26f30e398afa293b85103c885f03d4660a07 author Eugene Surovegin Tue, 27 Dec 2005 12:36:41 -0800 committer Jeff Garzik Mon, 09 Jan 2006 10:34:25 -0500 [PATCH] PPC44x EMAC driver: disable TX status deferral in half-duplex mode Disable TX status deferral (EMACx_MR[MWSW=001]) in half-duplex mode. I have two reports when EMAC stops transmitting when connected to a hub. TX ring debug printouts show complete mess when this happens, probably hardware collision handling doesn't work quite well in this mode. This is relevant only for SoCs with EMAC4 core (440GX, 440SP, 440SPe). Tested on 440GX. Signed-off-by: Eugene Surovegin Signed-off-by: Jeff Garzik commit a4bf26f30e398afa293b85103c885f03d4660a07 tree ba3db16dc30725c1c1009831b9a29de00d3fd238 parent df22b8aaba3f41cc61f57f5ead78be45edcb7db5 author Johannes Berg Sat, 31 Dec 2005 11:35:20 +0100 committer Jeff Garzik Mon, 09 Jan 2006 10:34:25 -0500 [PATCH] ieee80211: enable hw wep where host has to build IV This patch fixes some of the ieee80211 crypto related code so that instead of having the host fully do crypto operations, the host_build_iv flag works properly (for WEP in this patch) which, if turned on, requires the hardware to do all crypto operations, but the ieee80211 layer builds the IV. The hardware also has to build the ICV. Previously, the host_build_iv flag couldn't be used at all for WEP, and not alone (with both host_decrypt and host_encrypt disabled) because the crypto algorithm wasn't assigned. This is also fixed. I have tested this patch both in host crypto mode and in hw crypto mode (with the Broadcom chipset). [resent, signing digitally caused it to be MIME-junked, sorry] Signed-Off-By: Johannes Berg Signed-off-by: Jeff Garzik commit df22b8aaba3f41cc61f57f5ead78be45edcb7db5 tree 20f40428e0a678999f90a5a1a5709b73e1d381f4 parent 162875570e65b56a7f4d804fc32aebf7a434cf89 author Stephen Hemminger Fri, 06 Jan 2006 16:57:44 -0800 committer Jeff Garzik Mon, 09 Jan 2006 10:32:41 -0500 [PATCH] sk98lin: error handling of pci setup Don't enable the pci device twice (already done in the probe routine). Propogate the error codes from pci_request_region back to initial probing. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 162875570e65b56a7f4d804fc32aebf7a434cf89 tree 838b01f9dbc373ff3726bcaacef8e7808e98d3ab parent 26fc354914219a91254afd0df573fc801bb1183a author Stephen Hemminger Fri, 06 Jan 2006 16:57:43 -0800 committer Jeff Garzik Mon, 09 Jan 2006 10:32:41 -0500 [PATCH] sk98lin: error handling on probe The sk98lin driver doesn't do proper error number handling during initialization. Note: -EAGAIN is a bogus return value for hardware errors. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 26fc354914219a91254afd0df573fc801bb1183a tree 93cc2dee3031788630522f0d21376f61de698250 parent decf67aa2f4d498c02c2ad24a187a66c217f330c author Stephen Hemminger Fri, 06 Jan 2006 16:57:42 -0800 committer Jeff Garzik Mon, 09 Jan 2006 10:32:40 -0500 [PATCH] sk98lin: use kzalloc Trivial use of kzalloc. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit decf67aa2f4d498c02c2ad24a187a66c217f330c tree 96ead26cfcaa2915d4c1300fb533a0b62172f7f7 parent bce7c95e4dd4d5e924deb2929b639b4caca09c93 author Stephen Hemminger Fri, 06 Jan 2006 16:57:41 -0800 committer Jeff Garzik Mon, 09 Jan 2006 10:32:40 -0500 [PATCH] sk98lin: error handling on dual port board Sk98lin driver error recovery on two port boards is bad. If it fails the second allocation, it will not release resources properly. Also it registers the second port in the pci driver data If second port fails, might as well go with one port. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit bce7c95e4dd4d5e924deb2929b639b4caca09c93 tree 0ed78b75ba55aada28f4f02a1f5f89da5b55125d parent 17fa6e2f115ad734ef802b663071159a1a64d06f author Stephen Hemminger Fri, 06 Jan 2006 16:57:40 -0800 committer Jeff Garzik Mon, 09 Jan 2006 10:32:40 -0500 [PATCH] sk98lin: not doing high dma properly Sk98lin 64bit memory handling is wrong. It doesn't set the highdma flag; i.e. the kernel always does bounce buffers. It doesn't fallback to 32 bit mask if it can't get 64 bit mask. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 17fa6e2f115ad734ef802b663071159a1a64d06f tree 9cd0ca9b3bb4c14e2441637b84c1dc8e70f5bdbb parent 5367f2d67c7d0bf1faae90e6e7b4e2ac3c9b5e0f author Stephen Hemminger Fri, 06 Jan 2006 16:57:39 -0800 committer Jeff Garzik Mon, 09 Jan 2006 10:32:40 -0500 [PATCH] sk98lin: routine called from probe marked __init Sk98lin driver has a routine marked __init that is called from the probe code. If using pci hotplug, this could be called after the initialization so it needs to be marked __devinit. So if you hot added a sk98lin board, the kernel would crash. I don't have hot plug hardware to actually try this feat. Also, there are two routines, only called from SkGeBoardInit that can be marked __devinit. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit a9925a06ea52a44b4bf4a941342e8240eaf22417 tree b47a595274404157b7d2753f2bec21d3182a782f parent 8672d57138b34447719cd7749f3d21070e1175a1 author Jens Axboe Mon, 09 Jan 2006 16:04:06 +0100 committer Jens Axboe Mon, 09 Jan 2006 16:04:06 +0100 [BLOCK] CCISS: update for blk softirq completions Signed-off-by: Jens Axboe commit 8672d57138b34447719cd7749f3d21070e1175a1 tree dd23c85cf45c11f5d8f13d748002cddcb5551ab4 parent 1aea6434eebd25e532d2e5ddabf2733af4e1ff0b author Jens Axboe Mon, 09 Jan 2006 16:03:35 +0100 committer Jens Axboe Mon, 09 Jan 2006 16:03:35 +0100 [IDE] Use the block layer deferred softirq request completion This patch makes IDE use the new blk_complete_request() interface. There's still room for improvement, as __ide_end_request() really could drop the lock after getting HWGROUP->rq (why does it need to hold it in the first place? If ->rq access isn't serialized, we are screwed anyways). Signed-off-by: Jens Axboe commit 1aea6434eebd25e532d2e5ddabf2733af4e1ff0b tree b82aa8135d9c9f01a779be1977c0398cf2b406a8 parent ff856bad67cb65cb4dc4ef88b808804fc4265782 author Jens Axboe Mon, 09 Jan 2006 16:03:03 +0100 committer Jens Axboe Mon, 09 Jan 2006 16:03:03 +0100 [SCSI] Kill the SCSI softirq handling This patch moves the SCSI softirq handling to the block layer version. There should be no functional changes. Signed-off-by: Jens Axboe commit ff856bad67cb65cb4dc4ef88b808804fc4265782 tree 2db1e0be2be1e814cf8fe9bb8d3d7401fb24dd86 parent 5367f2d67c7d0bf1faae90e6e7b4e2ac3c9b5e0f author Jens Axboe Mon, 09 Jan 2006 16:02:34 +0100 committer Jens Axboe Mon, 09 Jan 2006 16:02:34 +0100 [BLOCK] ll_rw_blk: Enable out-of-order request completions through softirq Request completion can be a quite heavy process, since it needs to iterate through the entire request and complete the bio's it holds. This patch adds blk_complete_request() which moves this processing into a dedicated block softirq. Signed-off-by: Jens Axboe commit 356cebea1123804e4aa85b43ab39bbd0ac8e667c tree aac7a1421808628fcc12340ce3ad4514c681b297 parent 5a57be8d100c67a033ec78f00d5a0cd387da72e9 author Jens Axboe Mon, 09 Jan 2006 15:30:20 +0100 committer Jens Axboe Mon, 09 Jan 2006 15:30:20 +0100 [BLOCK] Kill blk_attempt_remerge() It's a broken interface, it's done way too late. And apparently it triggers slab problems in recent kernels as well (most likely after the generic dispatch code was merged). So kill it, ide-cd is the only user of it. Signed-off-by: Jens Axboe commit 50365c57860cd931c2d806057e0987634797e9af tree 7d7ad82233e681c72ff18e443a54491c14f34260 parent 50465d0da69e8d8b5493c5b752f0aa6d039c3914 author Russell King Mon, 09 Jan 2006 14:15:14 +0000 committer Russell King Mon, 09 Jan 2006 14:15:14 +0000 [ARM] Make Acorn partition types depend on ACORN_PARTITION balamurugan reported a problem where it was possible to have the various Acorn partition types selected in the configuration, but ACORN_PARTITION disabled. Since ACORN_PARTITION controls whether we build fs/partitions/acorn.c, this lead to undefined references to the adfspart_check_TYPE symbols. Fix this by making the Acorn partition type symbols depend on ACORN_PARTITION. Signed-off-by: Russell King commit 50465d0da69e8d8b5493c5b752f0aa6d039c3914 tree 3c834bf61d91e8e651b87554faae312780455684 parent e9368f8288338c25d8a339c91b15e17ebf33752d author Russell King Mon, 09 Jan 2006 13:59:36 +0000 committer Russell King Mon, 09 Jan 2006 13:59:36 +0000 [ARM] Update am79c961 to use struct platform_driver Signed-off-by: Russell King commit e9368f8288338c25d8a339c91b15e17ebf33752d tree c8dd47c8195882b6a6ffc7fdb10ae8e5c6f33d9d parent 63dcf0ad2a624a36656c10491fc3326cfe199f5e author Russell King Mon, 09 Jan 2006 13:56:42 +0000 committer Russell King Mon, 09 Jan 2006 13:56:42 +0000 [ARM] Remove asm/irq.h includes from ARM drivers Many ARM drivers do not need to include asm/irq.h - remove this unnecessary include from some ARM drivers. Signed-off-by: Russell King commit 5a57be8d100c67a033ec78f00d5a0cd387da72e9 tree f83a6c107c1cb9faae1d287b93766cd5091d8d41 parent 0ea60b5ad8c3630e8f44c443f173d841be7fc701 author Jens Axboe Mon, 09 Jan 2006 14:52:21 +0100 committer Jens Axboe Mon, 09 Jan 2006 14:52:21 +0100 [BLOCK] scsi_ioctl: file can be NULL from ioctl_by_bdev() Signed-off-by: Jens Axboe commit 0ea60b5ad8c3630e8f44c443f173d841be7fc701 tree 9a8d23c797439a03dcccf26678994783d12f1bbb parent 769db45b73896a88d6b40e3e648dfc50a155ec93 author Jens Axboe Mon, 09 Jan 2006 14:45:10 +0100 committer Jens Axboe Mon, 09 Jan 2006 14:45:10 +0100 [BLOCK] bio: init ->bi_bdev in bio_init() For SG_IO requests, bio->bi_bdev may not be explicitly initialized. So make bio_init() clear the field to make sure it's always NULL or valid. Signed-off-by: Jens Axboe commit 769db45b73896a88d6b40e3e648dfc50a155ec93 tree 773ffec86ddf1ab3ddaf1de5959ec3b94807e395 parent 1abee6d2d1b6366df96fce1d43eefd1819e1b055 author Coywolf Qi Hunt Wed, 28 Dec 2005 10:55:49 +0100 committer Jens Axboe Mon, 09 Jan 2006 14:44:15 +0100 make elv_try_merge() static, kill the dead declaration of elv_try_last_merge(). Signed-off-by: Coywolf Qi Hunt Signed-off-by: Jens Axboe commit 1abee6d2d1b6366df96fce1d43eefd1819e1b055 tree 90e65f2b1c4cc985609e709c715cd5e01514d364 parent 5367f2d67c7d0bf1faae90e6e7b4e2ac3c9b5e0f author Nicolas Kaiser Mon, 28 Nov 2005 09:40:20 +0100 committer Jens Axboe Mon, 09 Jan 2006 14:44:15 +0100 [BLOCK][TRIVIAL] ll_rw_blk: header included twice linux/blkdev.h included twice Signed-off-by: Nicolas Kaiser Signed-off-by: Jens Axboe commit 63dcf0ad2a624a36656c10491fc3326cfe199f5e tree 8c41a757e46d7dfbd3bed89cd92922956d6bb225 parent 66a3454e1a6d3f2096e6ecfa59572b34caca4942 author Russell King Mon, 09 Jan 2006 13:32:56 +0000 committer Russell King Mon, 09 Jan 2006 13:32:56 +0000 [ARM] Remove CONFIG_ARCH_CAMELOT from defconfigs EPXA10DB has gone, no need to keep the symbol in the defconfigs. Signed-off-by: Russell King commit 66a3454e1a6d3f2096e6ecfa59572b34caca4942 tree bb62cf7a9da69f7acac8dae61e4c9ddddfddded8 parent 0fec53a24a5e5f7ba68d891b68f568b6aeafaca6 author Russell King Mon, 09 Jan 2006 12:57:05 +0000 committer Russell King Mon, 09 Jan 2006 12:57:05 +0000 [ARM] Update mach-types Signed-off-by: Russell King commit be42d5fa3772241b8ecebd443f1fb36247959c54 tree f9617571eb8cc5a156562d4b7b873cc82635e8fe parent e0fa93d6e6f0f36f39b813e561dbb890c58da58f author Paul Mackerras Mon, 09 Jan 2006 21:32:42 +1100 committer Paul Mackerras Mon, 09 Jan 2006 21:32:42 +1100 powerpc: unbreak iSeries compilation again We don't set CONFIG_PPC_MULTIPLATFORM on iSeries (yet). Avoid compiling in the prom_init stuff on iSeries. Signed-off-by: Paul Mackerras commit e0fa93d6e6f0f36f39b813e561dbb890c58da58f tree d1ceb7ffc8742df26b7d2553ac6fb43cc64c4c8a parent 0a498d96a3324c16add35da0435bc7c13b6c6f3f author Michael Ellerman Mon, 09 Jan 2006 18:19:49 +1100 committer Paul Mackerras Mon, 09 Jan 2006 20:18:19 +1100 [PATCH] powerpc: Don't use KERNELBASE in add_memory() In add_memory() we should be using __va() to get a virtual address. Spotted by Mike Kravetz. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 0a498d96a3324c16add35da0435bc7c13b6c6f3f tree 0fb383f555534ffc7a7796f58c1aba8b2ca5a887 parent bce6c5fd8cc5d3f8d02fd34a24b591fc3e23a775 author Paul Mackerras Mon, 09 Jan 2006 20:17:01 +1100 committer Paul Mackerras Mon, 09 Jan 2006 20:17:01 +1100 powerpc: set CONFIG_PPC_OF=y always for ARCH=powerpc The CONFIG_PPC_OF symbol is used to mean that the firmware device tree access functions are available. Since we always have a device tree with ARCH=powerpc, make CONFIG_PPC_OF always Y for ARCH=powerpc. This fixes some compile errors reported by Kumar Gala, but in a different way to his patch. This also makes prom_parse.o be compiled only if CONFIG_PPC_OF so that non-OF ARCH=ppc platforms will compile. Signed-off-by: Paul Mackerras commit bce6c5fd8cc5d3f8d02fd34a24b591fc3e23a775 tree dc302ce765acd2388d9a6d82d7c7123223a8de0f parent 834608f71a323b90f928d05c64d24df436df3011 author Anton Blanchard Mon, 09 Jan 2006 15:47:04 +1100 committer Paul Mackerras Mon, 09 Jan 2006 16:03:33 +1100 [PATCH] powerpc: DABR exceptions should report the address not the PC When taking a DABR exception we were reporting the PC. It makes more sense to report the address that caused the exception, and the gdb guys would like it that way. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 834608f71a323b90f928d05c64d24df436df3011 tree f5da5366383da7d83efe18532b3e5e4eeaeb4567 parent 32a33994d513606d29e87e152deb67ba5f3c8e82 author Anton Blanchard Mon, 09 Jan 2006 15:42:30 +1100 committer Paul Mackerras Mon, 09 Jan 2006 16:03:30 +1100 [PATCH] ppc64: POWER5+ oprofile support POWER5+ adds new PMU groups and as such needs to be treated differently by oprofile userspace. Change it to report itself as power5+. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 32a33994d513606d29e87e152deb67ba5f3c8e82 tree 2966bbe85eb2880aacc1dba045af7a02cee0aa26 parent 9a699aefa87cb0379a67741926820c9271d748a9 author Anton Blanchard Mon, 09 Jan 2006 15:41:31 +1100 committer Paul Mackerras Mon, 09 Jan 2006 16:02:52 +1100 [PATCH] ppc64: Fix oprofile when compiled as a module My recent changes to oprofile broke it when built as a module. Fix it by using an enum instead of a function pointer. This way we still retain the oprofile configuration in the cputable. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 9a699aefa87cb0379a67741926820c9271d748a9 tree 18e498b6ea54ae229bf7a01ac1c1448fbb03b6a3 parent 5b9ca526917b7bc7d1da3beaccb2251a8f0b5fe2 author Benjamin Herrenschmidt Sat, 07 Jan 2006 11:45:28 +1100 committer Paul Mackerras Mon, 09 Jan 2006 15:47:19 +1100 [PATCH] 4/5 powerpc: Add cpufreq support for all desktop G5 This patch adds cpufreq support for all desktop "tower" G5 models. The only G5 models still lacking cpufreq support at this point are the Xserve and possibly the new iMac iSight (not tested). I'll have those added soon. That patch uses the new platform functions interpreter to implement frequency and voltage switching on most models. Note that in order to find the low frequency value, I had to hack something that might now work properly on all models, so if the frequency value reported when running low speed looks bogus to you, please report it to me. (Appart from a bogus reported value, things should work fine). Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 5b9ca526917b7bc7d1da3beaccb2251a8f0b5fe2 tree f345cbb73a4c5bb4c5645d53df2653c916e54172 parent a28d3af2a26c89aaa6470ca36edb212e05143d67 author Benjamin Herrenschmidt Sat, 07 Jan 2006 11:41:02 +1100 committer Paul Mackerras Mon, 09 Jan 2006 15:47:18 +1100 [PATCH] 3/5 powerpc: Add platform functions interpreter This is the platform function interpreter itself along with the backends for UniN/U3/U4, mac-io, GPIOs and i2c. It adds the ability to execute those do-platform-* scripts in the device-tree (at least for most devices for which a backend is provided). This should replace the clock spreading hacks properly. It might also have an impact on all sort of machines since some of the scripts marked "at init" will now be executed on boot (or some other on sleep/wakeup), those will possibly do things that the kernel didn't do at all, like setting some values into some i2c devices (changing thermal sensor calibration or conversion rate) etc... Thus regression testing is MUCH welcome. Also loook for errors in dmesg. That's also why I've left rather verbose debugging enabled in this version of the patch. (I do expect some Windtunnel G4s to show some errors as they have an i2c clock chip on the PMU bus that uses some primitives that the i2c backend doesn't implement yet. I really need users that have one of those machine to come back to me so we can get that done right, though the errors themselves should be harmless, I suspect the machine might not run at full speed). Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit a28d3af2a26c89aaa6470ca36edb212e05143d67 tree 765472fcde19c3717c6bde60fef2702394718c36 parent 730745a5c45093982112ddc94cee6a9973455641 author Benjamin Herrenschmidt Sat, 07 Jan 2006 11:35:26 +1100 committer Paul Mackerras Mon, 09 Jan 2006 15:47:17 +1100 [PATCH] 2/5 powerpc: Rework PowerMac i2c part 2 This is the continuation of the previous patch. This one removes the old PowerMac i2c drivers (i2c-keywest and i2c-pmac-smu) and replaces them both with a single stub driver that uses the new PowerMac low i2c layer. Now that i2c-keywest is gone, the low-i2c code is extended to support interrupt driver transfers. All i2c busses now appear as platform devices. Compatibility with existing drivers should be maintained as the i2c bus names have been kept identical, except for the SMU bus but in that later case, all users has been fixed. With that patch added, matching a device node to an i2c_adapter becomes trivial. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 730745a5c45093982112ddc94cee6a9973455641 tree 1c36bd96c28d08e2b5d839ba3f4e37588aad2328 parent 002ec58eb57bac2380f0ed5a4e88121b4bdb32ec author Benjamin Herrenschmidt Sat, 07 Jan 2006 11:30:44 +1100 committer Paul Mackerras Mon, 09 Jan 2006 15:47:16 +1100 [PATCH] 1/5 powerpc: Rework PowerMac i2c part 1 This is the first part of a rework of the PowerMac i2c code. It completely reworks the "low_i2c" layer. It is now more flexible, supports KeyWest, SMU and PMU i2c busses, and provides functions to match device nodes to i2c busses and adapters. This patch also extends & fix some bugs in the SMU driver related to i2c support and removes the clock spreading hacks from the pmac feature code rather than adapting them to the new API since they'll be replaced by the platform function code completely in patch 3/5 Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 002ec58eb57bac2380f0ed5a4e88121b4bdb32ec tree f8ee3f3028e6c316b5e49f296b9283c1f79f42da parent aed9c6ccb87d96c333bd6ae631d9e90f3b6d7271 author Anton Blanchard Sat, 07 Jan 2006 00:49:49 +1100 committer Paul Mackerras Mon, 09 Jan 2006 15:47:13 +1100 [PATCH] ppc64: fix time syscall ppc64 has its own version of sys_time. It looks pretty scary, touching a whole bunch of variables without any locking or memory ordering. In fact, a recent bugreport has shown it can actually go backwards. Time to remove it and just use the generic sys_time, which is implemented on top of do_gettimeofday. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit aed9c6ccb87d96c333bd6ae631d9e90f3b6d7271 tree 65366c1ddedfbec62cb422686a5c6b0d734ce5e5 parent 2fb9d2063626374dd8a2514b3a730facac8235d8 author Paul Janzen Wed, 04 Jan 2006 21:40:48 -0800 committer Paul Mackerras Mon, 09 Jan 2006 15:47:08 +1100 [PATCH] ppc32: Put cache flush routines back into .relocate_code section In 2.6.14, we had the following definition of _GLOBAL() in include/asm-ppc/processor.h: #define _GLOBAL(n)\ .stabs __stringify(n:F-1),N_FUN,0,0,n;\ .globl n;\ n: In 2.6.15, as part of the great powerpc merge, we moved this definition to include/asm-powerpc/ppc_asm.h, where it appears (to 32-bit code) as: #define _GLOBAL(n) \ .text; \ .stabs __stringify(n:F-1),N_FUN,0,0,n;\ .globl n; \ n: Mostly, this is fine. However, we also have the following, in arch/ppc/boot/common/util.S: .section ".relocate_code","xa" [...] _GLOBAL(flush_instruction_cache) [...] _GLOBAL(flush_data_cache) [...] The addition of the .text section definition in the definition of _GLOBAL overrides the .relocate_code section definition. As a result, these two functions don't end up in .relocate_code, so they don't get relocated correctly, and the boot fails. There's another suspicious-looking usage at kernel/swsusp.S:37 that someone should look into. I did not exhaustively search the source tree, though. The following is the minimal patch that fixes the immediate problem. I could easily be convinced that the _GLOBAL definition should be modified to remove the ".text;" line either instead of, or in addition to, this fix. Signed-off-by: Paul Janzen Signed-off-by: Paul Mackerras commit 2fb9d2063626374dd8a2514b3a730facac8235d8 tree b410dcdbc5aee656c37951be36951130450549e7 parent aeb013772a2cc85a8d0baffd64977d2888bc781d author Arnd Bergmann Thu, 05 Jan 2006 14:05:29 +0000 committer Paul Mackerras Mon, 09 Jan 2006 15:44:57 +1100 [PATCH] spufs: set irq affinity for running threads For far, all SPU triggered interrupts always end up on the first SMT thread, which is a bad solution. This patch implements setting the affinity to the CPU that was running last when entering execution on an SPU. This should result in a significant reduction in IPI calls and better cache locality for SPE thread specific data. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit aeb013772a2cc85a8d0baffd64977d2888bc781d tree 8ebf25d8ea0d2e0bb384f1399c1e124bd1c12044 parent 6ff730c33b42a6c68217fc6660728676aa8eeb9c author Arnd Bergmann Wed, 04 Jan 2006 20:31:32 +0100 committer Paul Mackerras Mon, 09 Jan 2006 15:44:55 +1100 [PATCH] spufs: fix allocation on 64k pages The size of the local store is architecture defined and independent from the page size, so it should not be defined in terms of pages in the first place. This mistake broke a few places when building for 64kb pages. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 6ff730c33b42a6c68217fc6660728676aa8eeb9c tree 2522175fbaadd3f4d1bd433412f6bfb6e0631754 parent f0831acc4b78e2d9737e8ed91b8b7505b21ddb83 author Arnd Bergmann Wed, 04 Jan 2006 20:31:31 +0100 committer Paul Mackerras Mon, 09 Jan 2006 15:44:52 +1100 [PATCH] spufs: fix sparse warnings One local variable is missing an __iomem modifier, in another place, we pass a completely unused argument with a missing __user modifier. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit f0831acc4b78e2d9737e8ed91b8b7505b21ddb83 tree 0c901e45cdc932776d3953cfcdf66015d6853bec parent ce8ab8541203f6c7be5b2eeaa97f14f1d8d44e4f author Arnd Bergmann Wed, 04 Jan 2006 20:31:30 +0100 committer Paul Mackerras Mon, 09 Jan 2006 15:44:49 +1100 [PATCH] spufs: abstract priv1 register access. In a hypervisor based setup, direct access to the first priviledged register space can typically not be allowed to the kernel and has to be implemented through hypervisor calls. As suggested by Masato Noguchi, let's abstract the register access trough a number of function calls. Since there is currently no public specification of actual hypervisor calls to implement this, I only provide a place that makes it easier to hook into. Cc: Masato Noguchi Cc: Geoff Levand Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit ce8ab8541203f6c7be5b2eeaa97f14f1d8d44e4f tree abdb994ac4ded9a90684f0cdc71ea58e6247ab43 parent 8837d9216f99048636fbb2c11347358e99e06181 author Arnd Bergmann Wed, 04 Jan 2006 20:31:29 +0100 committer Paul Mackerras Mon, 09 Jan 2006 15:44:45 +1100 [PATCH] spufs: move spu_run call to its own file The logic for sys_spu_run keeps growing and it does not really belong into file.c any more since we moved away from using regular file operations to our own syscall. No functional change in here. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 8837d9216f99048636fbb2c11347358e99e06181 tree 26e5cab20e59879f5e3271ea73c0320ae31da140 parent 3f51dd91c80746a5cf76f8c4a77bfc88aa82bb9e author Arnd Bergmann Wed, 04 Jan 2006 20:31:28 +0100 committer Paul Mackerras Mon, 09 Jan 2006 15:44:43 +1100 [PATCH] spufs: clean up use of bitops checking bits manually might not be synchonized with the use of set_bit/clear_bit. Make sure we always use the correct bitops by removing the unnecessary identifiers. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 3f51dd91c80746a5cf76f8c4a77bfc88aa82bb9e tree f92d9867e51a10b73a3f48fa3d65413f186ac733 parent 346f4d3ce948a381a559dcaefb141d79f492335c author Arnd Bergmann Wed, 04 Jan 2006 20:31:27 +0100 committer Paul Mackerras Mon, 09 Jan 2006 15:44:42 +1100 [PATCH] spufs: fix spufs_fill_dir error path If creating one entry failed in spufs_fill_dir, we never cleaned up the freshly created entries. Fix this by calling the cleanup function on error. Noticed by Al Viro. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 346f4d3ce948a381a559dcaefb141d79f492335c tree 47028cc77555850a235574b01e9a2eb398361074 parent 0106246594a05f02a6be6ee4695c7584c758fa7f author Arnd Bergmann Wed, 04 Jan 2006 20:31:26 +0100 committer Paul Mackerras Mon, 09 Jan 2006 15:44:41 +1100 [PATCH] spufs: dont leak directories in failed spu_create If get_unused_fd failed in sys_spu_create, we never cleaned up the created directory. Fix that by restructuring the error path. Noticed by Al Viro. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 0106246594a05f02a6be6ee4695c7584c758fa7f tree 7cdfada54320aef7a2dc7a3e558c0e5259f40c4f parent 5ef8224aaa9220bfecb362f0802cf78aad47c02a author Arnd Bergmann Wed, 04 Jan 2006 20:31:25 +0100 committer Paul Mackerras Mon, 09 Jan 2006 15:44:40 +1100 [PATCH] spufs fix spu_acquire_runnable error path When spu_activate fails in spu_acquire_runnable, the state must still be SPU_STATE_SAVED, we were incorrectly setting it to SPU_STATE_RUNNABLE. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 5ef8224aaa9220bfecb362f0802cf78aad47c02a tree 3288b9510d4ab36d627cf85f1b4160a6d8ff9823 parent e80358ad8606382154d97165121602dfae213e4a author Arnd Bergmann Wed, 04 Jan 2006 20:31:24 +0100 committer Paul Mackerras Mon, 09 Jan 2006 15:44:39 +1100 [PATCH] spufs: serialize sys_spu_run per spu During an earlier cleanup, we lost the serialization of multiple spu_run calls performed on the same spu_context. In order to get this back, introduce a mutex in the spu_context that is held inside of spu_run. Noticed by Al Viro. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit e80358ad8606382154d97165121602dfae213e4a tree b63e3e21cd0f4c1c086f958d05c6fa3298408746 parent c8ca0633e5f2bceab7b4eba4475820fd7674dece author Arnd Bergmann Wed, 04 Jan 2006 20:31:23 +0100 committer Paul Mackerras Mon, 09 Jan 2006 15:44:38 +1100 [PATCH] spufs: check for proper file pointer in sys_spu_run Only checking for SPUFS_MAGIC is not reliable, because it might not be unique in theory. Worse than that, we accidentally allow spu_run to be performed on any file in spufs, not just those returned from spu_create as intended. Noticed by Al Viro. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit c8ca0633e5f2bceab7b4eba4475820fd7674dece tree 6801e179da8f4cebf09d19446f9ce6fcaab54d8e parent 762cf6dac2623473e83bb271f2bbe97d2355c64d author Arnd Bergmann Wed, 04 Jan 2006 20:31:22 +0100 committer Paul Mackerras Mon, 09 Jan 2006 15:44:37 +1100 [PATCH] spufs: dont hold root->isem in spu_forget spu_forget will do mmput on the DMA address space, which can lead to lots of other stuff getting triggered. We better not hold a semaphore here that we might need in the process. Noticed by Al Viro. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 762cf6dac2623473e83bb271f2bbe97d2355c64d tree 51871b65240062fc9442965923f710f0782b4e34 parent c902be71dc6d5e8473bd021feafc8c3608e2b82a author Arnd Bergmann Wed, 04 Jan 2006 20:31:21 +0100 committer Paul Mackerras Mon, 09 Jan 2006 15:44:35 +1100 [PATCH] spufs: fix locking in spu_acquire_runnable We need to check for validity of owner under down_write, down_read is not enough. Noticed by Al Viro. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit c902be71dc6d5e8473bd021feafc8c3608e2b82a tree 527b15800ed84edd16a5d53d165275a48cea1915 parent 017e0fad3e40ece983527ec88a92b3da8fcdecea author Arnd Bergmann Wed, 04 Jan 2006 19:55:53 +0000 committer Paul Mackerras Mon, 09 Jan 2006 15:44:32 +1100 [PATCH] cell: enable pause(0) in cpu_idle This patch enables support for pause(0) power management state for the Cell Broadband Processor, which is import for power efficient operation. The pervasive infrastructure will in the future enable us to introduce more functionality specific to the Cell's pervasive unit. From: Maximino Aguilar Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 017e0fad3e40ece983527ec88a92b3da8fcdecea tree b59f12ebd48e28cb52b695e18641a0262a5936b3 parent 03929c76f3e5af919fb762e9882a9c286d361e7d author Kumar Gala Tue, 03 Jan 2006 16:15:21 -0600 committer Paul Mackerras Mon, 09 Jan 2006 15:44:30 +1100 [PATCH] powerpc: fixing compile issue with !CONFIG_PCI in legacy_serial.c Only build in support for ISA and PCI cases if we have enabled CONFIG_ISA and CONFIG_PCI. Additionally, isa_bridge is a global so we shouldn't use it a parameter name since it gets redefined to NULL when !CONFIG_PCI. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 03929c76f3e5af919fb762e9882a9c286d361e7d tree 947d9705b673c06872be6b9b02f9ff8f51c5bab7 parent 022930ebea0df878d449b7c74309c1d612441ac5 author Aristeu Sergio Rozanski Filho Thu, 29 Dec 2005 19:18:49 -0200 committer Paul Mackerras Mon, 09 Jan 2006 15:44:26 +1100 [PATCH] ppc32: cpm_uart: fix xchar sending while using SCC as uart and as serial console at same time I got this: [ 138.214258] Oops: kernel access of bad area, sig: 11 [#1] [ 138.218832] PREEMPT [ 138.221021] NIP: C0105C48 LR: C0105E60 SP: C03D5D10 REGS: c03d5c60 TRAP: 0300 Not tainted [ 138.229280] MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11 [ 138.234713] DAR: 00000000, DSISR: C0000000 [ 138.238745] TASK = c0349420[693] 'sh' THREAD: c03d4000 [ 138.243754] Last syscall: 6 [ 138.246402] GPR00: FEFFFFFF C03D5D10 C0349420 C01FB094 00000011 00000000 C1ECFBBC C01F24B0 [ 138.254602] GPR08: FF002820 00000000 FF0028C0 00000000 19133615 A0CBCD5E 02000300 00000000 [ 138.262804] GPR16: 00000000 01FF9E4C 00000000 7FA9A770 00000000 00000000 1003E2A8 00000000 [ 138.271003] GPR24: 100562F4 7F9B6EF4 C0210000 C02A5338 C01FB094 00000000 C01FB094 C1F14574 [ 138.279376] NIP [c0105c48] cpm_uart_tx_pump+0x4c/0x22c [ 138.284419] LR [c0105e60] cpm_uart_start_tx+0x38/0xb0 [ 138.289361] Call trace: [ 138.291762] [c0105e60] cpm_uart_start_tx+0x38/0xb0 [ 138.296547] [c010277c] uart_send_xchar+0x88/0x118 [ 138.301244] [c01029a0] uart_unthrottle+0x6c/0x138 [ 138.305942] [c00ece10] check_unthrottle+0x60/0x64 [ 138.310641] [c00ecec4] reset_buffer_flags+0xb0/0x138 [ 138.315595] [c00ecf64] n_tty_flush_buffer+0x18/0x78 [ 138.320465] [c00e81b0] tty_ldisc_flush+0x64/0x7c [ 138.325078] [c010410c] uart_close+0xf0/0x2c8 [ 138.329348] [c00e9c48] release_dev+0x724/0x8d4 [ 138.333790] [c00e9e18] tty_release+0x20/0x3c [ 138.338061] [c006e544] __fput+0x178/0x1e0 [ 138.342076] [c006c43c] filp_close+0x54/0xac [ 138.346261] [c0002d90] ret_from_syscall+0x0/0x44 [ 138.352386] note: sh[693] exited with preempt_count 2 a easy way to reproduce it is log into the system using ssh and do: cat >/dev/ttyCPM0 then, switch to minicom and write some stuff on it back to ssh, a control C produce the oops this happens because uart_close calls uart_shutdown which frees xmit.buf, currently used by xchar sending in cpm_uart_tx_pump(), which seems wrong. the attached patch fixes the oops and also fixes xchar sending. Signed-off-by: Paul Mackerras commit 022930ebea0df878d449b7c74309c1d612441ac5 tree 9d715da714d65d8592dcf2bb3fc41ccfdf255555 parent 9da5cad61c13fbdc7fc7aa425f03a15da9d0cb43 author Haren Myneni Tue, 27 Dec 2005 18:58:29 -0800 committer Paul Mackerras Mon, 09 Jan 2006 15:35:06 +1100 [PATCH] Small fix in eeh definitions when CONFIG_EEH not enabled Undefined symbols (eeh_add_device_tree_early and eeh_remove_bus_device) when EEH is not enabled. This small patch will fix this. Acked-by: Linas Vepstas Signed-off-by: Paul Mackerras commit 9da5cad61c13fbdc7fc7aa425f03a15da9d0cb43 tree 65cf4e8e7b346079c7df7f4bad54b7d02e6ee692 parent 79e7bac0d6ad56d62e2364313b5e5e5950c7385d author Haren Myneni Tue, 27 Dec 2005 15:51:07 -0800 committer Paul Mackerras Mon, 09 Jan 2006 15:35:01 +1100 [PATCH] powerpc: Fix search for the main interrupt controller At present, we are not looking at all interrupt controller nodes in the device tree even though the proper node was not found. This is causing the system panic. The attached patch will scan all nodes until it finds the proper interrupt controller type. Signed-off-by: Haren Myneni Signed-off-by: Paul Mackerras commit 79e7bac0d6ad56d62e2364313b5e5e5950c7385d tree c20bbb30659be4f76a3599ffb519a6518e94e146 parent be6b843918394067e93ebbacb834245251a6f18a author Kumar Gala Wed, 21 Dec 2005 09:27:13 -0600 committer Paul Mackerras Mon, 09 Jan 2006 15:34:31 +1100 [PATCH] powerpc: Call find_legacy_serial_ports() if we enable CONFIG_SERIAL_8250 In setup_arch and setup_system call find_legacy_serial_ports() if we build in support for 8250 serial ports instead of basing it on PPC_MULTIPLATFORM. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit be6b843918394067e93ebbacb834245251a6f18a tree d8d801260e56c2d07ca20ec943cae55e319bfb36 parent b580d46ce833f6bdc6a5602f4f0efb1d9c488ed6 author Kumar Gala Tue, 20 Dec 2005 16:37:07 -0600 committer Paul Mackerras Mon, 09 Jan 2006 15:33:50 +1100 [PATCH] powerpc: added a udbg_progress Added a common udbg_progress for use by ppc_md.progress() Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit b580d46ce833f6bdc6a5602f4f0efb1d9c488ed6 tree bc92353786e3978e9886bb1805329994184f6f0d parent d0e132b536b6c8044991932d0c160676c46c98e5 author Kumar Gala Tue, 20 Dec 2005 16:16:52 -0600 committer Paul Mackerras Mon, 09 Jan 2006 15:33:46 +1100 [PATCH] powerpc: Add the ability to handle SOC ports in legacy_serial Add the ability to configure and initialize legacy 8250 serials ports on an SOC bus. Also, fixed an issue that we would not configure any serial ports if "linux,stdout-path" was not found. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit d0e132b536b6c8044991932d0c160676c46c98e5 tree 7bbf87c14929a93952992c0d13326b20ea69f3e7 parent b226e462124522f2f23153daff31c311729dfa2f author Kumar Gala Tue, 20 Dec 2005 16:16:26 -0600 committer Paul Mackerras Mon, 09 Jan 2006 15:33:42 +1100 [PATCH] powerpc: Loosen udbg_probe_uart_speed sanity checking The checking of the baudrate in udbg_probe_uart_speed was too tight and would cause reporting back of the default baud rate in cases where the computed speed was valid. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 5367f2d67c7d0bf1faae90e6e7b4e2ac3c9b5e0f tree cb2d487774571ec608bcf4241ec70fc19a0b3ad6 parent 64ca9004b819ab87648dbfc78f3ef49ee491343e parent 4f8448dfe8d3804fadad90c9b77494238b4a4eae author Linus Torvalds Sun, 08 Jan 2006 20:18:44 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:18:44 -0800 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband commit b226e462124522f2f23153daff31c311729dfa2f tree c0cc2bbf0005098b348bdf25c84bff01cbd3beb6 parent 021c73354921a315ae2fceb1ad7807d1569a5a74 author Mike Kravetz Fri, 16 Dec 2005 14:30:35 -0800 committer Paul Mackerras Mon, 09 Jan 2006 15:14:22 +1100 [PATCH] powerpc: don't add memory to empty node/zone The system will oops if an attempt is made to add memory to an empty node/zone. This patch prevents adding memory to an empty node. The code to dynamically add a node/zone is non-trivial. This patch is temporary and will be removed when the ability to dynamically add a node/zone is complete. Signed-off-by: Mike Kravetz Signed-off-by: Paul Mackerras commit 021c73354921a315ae2fceb1ad7807d1569a5a74 tree 35451e7108516ed2746a75a230381d7ab44abcc9 parent 42650d8c9060a2658a79d4e30a5790b23d7753e0 author Arnd Bergmann Fri, 16 Dec 2005 22:45:27 +0100 committer Paul Mackerras Mon, 09 Jan 2006 15:14:14 +1100 [PATCH] powerpc: fix two build warnings Building the arch/powerpc tree currently gives me two warnings with gcc-4.0: arch/powerpc/mm/imalloc.c: In function '__im_get_area': arch/powerpc/mm/imalloc.c:225: warning: 'tmp' may be used uninitialized in this function arch/powerpc/mm/hugetlbpage.c: In function 'hugetlb_get_unmapped_area': arch/powerpc/mm/hugetlbpage.c:608: warning: unused variable 'vma' both fixes are trivial. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 64ca9004b819ab87648dbfc78f3ef49ee491343e tree 9b5daef5280800a0006343a17f63072658d91a1d parent 708e9a794cf8822b760edaccd9053edb07c34d19 author Matt Mackall Sun, 08 Jan 2006 01:05:26 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:11 -0800 [PATCH] Make vm86 support optional This adds an option to remove vm86 support under CONFIG_EMBEDDED. Saves about 5k. This version eliminates most of the #ifdefs of the previous version and instead uses function stubs in vm86.h. Also, release_vm86_irqs is moved from asm-i386/irq.h to a more appropriate home in vm86.h so that the stubs can live together. $ size vmlinux-baseline vmlinux-novm86 text data bss dec hex filename 2920821 523232 190652 3634705 377611 vmlinux-baseline 2916268 523100 190492 3629860 376324 vmlinux-novm86 Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 708e9a794cf8822b760edaccd9053edb07c34d19 tree ae5f0f9d69c082db751554b3f5717eee60d6205c parent e585e47031751f4e393e10ffd922885508b958dd author Matt Mackall Sun, 08 Jan 2006 01:05:25 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:11 -0800 [PATCH] tiny: Configure ELF core dump support configurable support for ELF core dumps text data bss dec hex filename 3330172 529036 190556 4049764 3dcb64 vmlinux-baseline 3325552 528912 190556 4045020 3db8dc vmlinux-no-elf add/remove: 0/8 grow/shrink: 0/0 up/down: 0/-4424 (-4424) function old new delta fill_note 32 - -32 maydump 58 - -58 dump_seek 67 - -67 writenote 180 - -180 elf_dump_thread_status 274 - -274 fill_psinfo 308 - -308 fill_prstatus 466 - -466 elf_core_dump 3039 - -3039 Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e585e47031751f4e393e10ffd922885508b958dd tree 08a641dab000aacb25c6b7331c32271e4109535f parent 22c4e3084eb8b88288a622a57d8b35c450a439f2 author Matt Mackall Sun, 08 Jan 2006 01:05:24 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:11 -0800 [PATCH] tiny: Make *[ug]id16 support optional Configurable 16-bit UID and friends support This allows turning off the legacy 16 bit UID interfaces on embedded platforms. text data bss dec hex filename 3330172 529036 190556 4049764 3dcb64 vmlinux-baseline 3328268 529040 190556 4047864 3dc3f8 vmlinux From: Adrian Bunk UID16 was accidentially disabled for !EMBEDDED. Signed-off-by: Matt Mackall Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22c4e3084eb8b88288a622a57d8b35c450a439f2 tree 5d763dcb1f451aa2a89c779c5a68fb6882dadfb6 parent 18e92b12e83bef077a31ba6871f1aec3621b69e3 author Matt Mackall Sun, 08 Jan 2006 01:05:24 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:11 -0800 [PATCH] tiny: Make x86 doublefault handling optional This adds configurable support for doublefault reporting on x86 add/remove: 0/3 grow/shrink: 0/1 up/down: 0/-13048 (-13048) function old new delta cpu_init 846 786 -60 doublefault_fn 188 - -188 doublefault_stack 4096 - -4096 doublefault_tss 8704 - -8704 Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 18e92b12e83bef077a31ba6871f1aec3621b69e3 tree 598f4eee47f2a3af7a7df040a23251bdede08ba9 parent 33443c42f4ffa5ca23b3323234bcb1a78e85d9db author Matt Mackall Sun, 08 Jan 2006 01:05:22 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:10 -0800 [PATCH] tiny: Trim non-IPX builds trivial: drop unused 802.3 code if we compile without IPX (originally from http://wohnheim.fh-wedel.de/~joern/software/kernel/je/25/) Signed-off-by: Matt Mackall Cc: "David S. Miller" Cc: Arnaldo Carvalho de Melo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 33443c42f4ffa5ca23b3323234bcb1a78e85d9db tree b524ba077d49afb7633088c66a2ef77fede0ccd7 parent 5d2bea4582d20cb24085152acaa29b95c05cdcf8 author Matt Mackall Sun, 08 Jan 2006 01:05:22 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:10 -0800 [PATCH] tiny: Uninline some fslocks.c functions uninline some file locking functions add/remove: 3/0 grow/shrink: 0/15 up/down: 256/-1525 (-1269) function old new delta locks_free_lock - 134 +134 posix_same_owner - 69 +69 __locks_delete_block - 53 +53 posix_locks_conflict 126 108 -18 locks_remove_posix 266 237 -29 locks_wake_up_blocks 121 87 -34 locks_block_on_timeout 83 47 -36 locks_insert_block 157 120 -37 locks_delete_block 62 23 -39 posix_unblock_lock 104 59 -45 posix_locks_deadlock 162 100 -62 locks_delete_lock 228 119 -109 sys_flock 338 217 -121 __break_lease 600 474 -126 lease_init 252 122 -130 fcntl_setlk64 793 649 -144 fcntl_setlk 793 649 -144 __posix_lock_file 1477 1026 -451 Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5d2bea4582d20cb24085152acaa29b95c05cdcf8 tree 0ac4e47c8e97ecd3d76507c57ed4346c04a4dba1 parent b01ec0ef63e95570e2463b26333d9c9c854cb941 author Matt Mackall Sun, 08 Jan 2006 01:05:21 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:10 -0800 [PATCH] tiny: Uninline some inode.c functions uninline a couple inode.c functions add/remove: 2/0 grow/shrink: 0/5 up/down: 256/-428 (-172) function old new delta ifind - 136 +136 ifind_fast - 120 +120 ilookup5_nowait 131 80 -51 ilookup 158 71 -87 ilookup5 171 80 -91 iget_locked 190 95 -95 iget5_locked 240 136 -104 Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b01ec0ef63e95570e2463b26333d9c9c854cb941 tree c895cfbeca5443d64075864e4fedbe759b27d0d2 parent d960600df3ce3588571e2c1adf1f5f6d8ca9eb5a author Matt Mackall Sun, 08 Jan 2006 01:05:20 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:10 -0800 [PATCH] tiny: Uninline some open.c functions uninline some open.c functions add/remove: 3/0 grow/shrink: 0/6 up/down: 679/-1166 (-487) function old new delta do_sys_truncate - 336 +336 do_sys_ftruncate - 317 +317 __put_unused_fd - 26 +26 put_unused_fd 57 49 -8 sys_close 150 119 -31 sys_ftruncate64 260 26 -234 sys_ftruncate 272 24 -248 sys_truncate 339 25 -314 sys_truncate64 336 5 -331 Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d960600df3ce3588571e2c1adf1f5f6d8ca9eb5a tree 2d920b912b33f16b5cf8099331fcf421c83ae64b parent e701e85b9f12af4dbe73b4299b541686ef6b1aa5 author Matt Mackall Sun, 08 Jan 2006 01:05:19 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:10 -0800 [PATCH] tiny: Add bloat-o-meter to scripts This is a rewrite of Andi Kleen's bloat-o-meter with sorting and reporting of gainers/decliners. Sample output: add/remove: 0/8 grow/shrink: 2/0 up/down: 88/-4424 (-4336) function old new delta __copy_to_user_ll 59 103 +44 __copy_from_user_ll 59 103 +44 fill_note 32 - -32 maydump 58 - -58 dump_seek 67 - -67 writenote 180 - -180 elf_dump_thread_status 274 - -274 fill_psinfo 308 - -308 fill_prstatus 466 - -466 elf_core_dump 3039 - -3039 The summary line says: no functions added, 8 removed two functions grew, none shrunk we gained 88 bytes and lost 4424 (or -4336 net) This work was sponsored in part by CE Linux Forum Signed-off-by: Matt Mackall Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e701e85b9f12af4dbe73b4299b541686ef6b1aa5 tree 286ca3736e2138c3ca157b22db32b09628c72a1a parent 564de74a7e2778e1d11b2d2e50ee8dab1cf1456a author Jean Delvare Sun, 08 Jan 2006 01:05:18 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:10 -0800 [PATCH] vr41xx: section tags fix module_init functions must be tagged __init rather than __devinit; likewise, module_exit functions must be tagged __exit rather than __devexit. Signed-off-by: Jean Delvare Cc: Yoichi Yuasa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 564de74a7e2778e1d11b2d2e50ee8dab1cf1456a tree 25b1ba320ac19aeb4bafecab2abc25c05d4a085d parent 7019e7e41e34388cb87a5f0e3d05e92992418f34 author Christoph Hellwig Sun, 08 Jan 2006 01:05:17 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:09 -0800 [PATCH] cciss: avoid defining useless MAJOR_NR macro This sneaked in with one of the updates. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7019e7e41e34388cb87a5f0e3d05e92992418f34 tree d960191917c2ea071fd428a07efb86e0418a0706 parent 6e21bd9a30f1d7eab26ef8b9259376e5322d89e5 author Adrian Bunk Sun, 08 Jan 2006 01:05:16 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:09 -0800 [PATCH] drivers/isdn/hardware/eicon/os_4bri.c: correct the xdiLoadFile() signature It's not good if caller and callee disagree regarding the type of the arguments. In this case, this could cause problems on 64bit architectures. Signed-off-by: Adrian Bunk Signed-off-by: Armin Schindler Cc: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e21bd9a30f1d7eab26ef8b9259376e5322d89e5 tree dd63e6e19965f8ef72d452694407e820ecb0e8c1 parent 0f59cc4a35dbbc45c972daad0f1b063380cd9ea4 author Adrian Bunk Sun, 08 Jan 2006 01:05:15 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:09 -0800 [PATCH] drivers/isdn/: add missing #includes Every file should #include the headers containing the prototypes for its global functions. Signed-off-by: Adrian Bunk Signed-off-by: Armin Schindler Cc: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0f59cc4a35dbbc45c972daad0f1b063380cd9ea4 tree 03cb2e69303e2ea3cca0f7eca6c7eb6c5a352e40 parent 86f91d36c2aac910b7cf7e5d047019b10a9a627e author Oleg Nesterov Sun, 08 Jan 2006 01:05:15 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:09 -0800 [PATCH] simplify k_getrusage() Factor out common code for different RUSAGE_xxx cases. Don't take ->sighand->siglock in RUSAGE_SELF case, suggested by Ravikiran G Thirumalai . Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 86f91d36c2aac910b7cf7e5d047019b10a9a627e tree cc6d5b8d0277e8057f7b337dc09bf21553fbd705 parent 96e9dd14a3b2aab4098503a5999ee2ef42d82da1 author Andrew Morton Sun, 08 Jan 2006 01:05:14 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:09 -0800 [PATCH] i810_audio: request_irq() fix Request the IRQ after having set everything up. Otherwise a shared interrupt at the right time can kill the machine. Found this with David Woodhouse 's debug-shared-irqs.patch. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96e9dd14a3b2aab4098503a5999ee2ef42d82da1 tree 58071e25c9d72b10e12f06788ae9798abb332c22 parent f756d5e256059018d753f0ba79980ebeb87a1bc0 author Ben Collins Sun, 08 Jan 2006 01:05:13 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:09 -0800 [PATCH] kconf: Check for eof from input stream. Signed-off-by: Ben Collins Cc: Sam Ravnborg Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f756d5e256059018d753f0ba79980ebeb87a1bc0 tree e96ae0117aaf6dea19dad88079c3229f679c1948 parent 945f390f02ce44a13aefc6d9449c99f33c9286a5 author Nathan Lynch Sun, 08 Jan 2006 01:05:12 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:08 -0800 [PATCH] fix workqueue oops during cpu offline Use first_cpu(cpu_possible_map) for the single-thread workqueue case. We used to hardcode 0, but that broke on systems where !cpu_possible(0) when workqueue_struct->cpu_workqueue_struct was changed from a static array to alloc_percpu. Commit id bce61dd49d6ba7799be2de17c772e4c701558f14 ("Fix hardcoded cpu=0 in workqueue for per_cpu_ptr() calls") fixed that for Ben's funky sparc64 system, but it regressed my Power5. Offlining cpu 0 oopses upon the next call to queue_work for a single-thread workqueue, because now we try to manipulate per_cpu_ptr(wq->cpu_wq, 1), which is uninitialized. So we need to establish an unchanging "slot" for single-thread workqueues which will have a valid percpu allocation. Since alloc_percpu keys off of cpu_possible_map, which must not change after initialization, make this slot == first_cpu(cpu_possible_map). Signed-off-by: Nathan Lynch Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 945f390f02ce44a13aefc6d9449c99f33c9286a5 tree be5685ed17677b4c076b69e7d4d77eae4cbe718c parent ef9ceab28203690a42d7d3915ccf6e208f0762bc author Tobias Klauser Sun, 08 Jan 2006 01:05:11 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:08 -0800 [PATCH] drivers/block: Use ARRAY_SIZE macro Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove a duplicate of ARRAY_SIZE. Some trailing whitespaces are also removed. drivers/block/acsi* has been left out as it's marked BROKEN. Signed-off-by: Tobias Klauser Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef9ceab28203690a42d7d3915ccf6e208f0762bc tree 630d17076f31db1dddad90fc3b2b69d3374e3caf parent 987d4613e52e4f655278265aabbcc69237018b1d author Andrew Morton Sun, 08 Jan 2006 01:05:10 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:08 -0800 [PATCH] remove semicolons from save_flags() Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 987d4613e52e4f655278265aabbcc69237018b1d tree 4190d1488573764e871c3299bac0624858ec3a19 parent 9fe656e91fd95d0893cc4831b032e0be60791bd7 author Dave Jones Sun, 08 Jan 2006 01:05:09 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:08 -0800 [PATCH] Make apm buildable without legacy pm APM doesn't _need_ the PM_LEGACY junk, so remove it's dependancy from Kconfig, and ifdef the junk in the code. Whilst the ifdefs are ugly, when the legacy stuff gets ripped out so will the ifdefs. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9fe656e91fd95d0893cc4831b032e0be60791bd7 tree 0bd4921aafc53cae6256be8e73db9fe66e8a03d9 parent bfc090c468b33fb1f75c27a11efa7b7dc250556f author Jan Blunck Sun, 08 Jan 2006 01:05:09 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:08 -0800 [PATCH] i4l: __attribute__((packed)) for the CAPI message structs The CAPI message structs itself should be packed and not the location of single fields in the structure. Signed-off-by: Jan Blunck Acked-by: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bfc090c468b33fb1f75c27a11efa7b7dc250556f tree c561f969b0f8b965cd82170b7e70002a17fce253 parent 6a878184c202395ea17212f111ab9ec4b5f6d6ee author Jan Blunck Sun, 08 Jan 2006 01:05:08 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:07 -0800 [PATCH] afs: remove unnecessary __attribute__((packed)) Remove the unnecessary __attribute__((packed)) since the enum itself is packed and not the location of it in the structure. Signed-off-by: Jan Blunck Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a878184c202395ea17212f111ab9ec4b5f6d6ee tree 7a4143652fcb41693af44963b7e94b334dd94f54 parent d8a33496671e4533aed090793436d58debea6f3a author Jan Blunck Sun, 08 Jan 2006 01:05:07 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:07 -0800 [PATCH] Eliminate __attribute__ ((packed)) warnings for gcc-4.1 Since version 4.1 the gcc is warning about ignored attributes. This patch is using the equivalent attribute on the struct instead of on each of the structure or union members. GCC Manual: "Specifying Attributes of Types packed This attribute, attached to struct or union type definition, specifies that each member of the structure or union is placed to minimize the memory required. When attached to an enum definition, it indicates that the smallest integral type should be used. Specifying this attribute for struct and union types is equivalent to specifying the packed attribute on each of the structure or union members." Signed-off-by: Jan Blunck Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d8a33496671e4533aed090793436d58debea6f3a tree 12f8732787f815941c8151123988e709a54e19b3 parent d1c4ac408fbab78a5f89ff583b68d2d11b421bb3 author Marko Kohtala Sun, 08 Jan 2006 01:05:06 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:07 -0800 [PATCH] parport: bring back an unused phase for ppdev ioctl Earlier fix removed unused phase, but that changed the values for other phases. Since these are exposed to userspace through ppdev, it is safer not to change them. Restore the unused phase value. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d1c4ac408fbab78a5f89ff583b68d2d11b421bb3 tree 857d824bbb6ee2dc92acbf44e1df5f829645a56f parent a771f2b82aa266fe578468deed82f797e26a3dc4 author Andrew Morton Sun, 08 Jan 2006 01:05:05 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:06 -0800 [PATCH] parport_pc: arm build fix free_dma() isn't implemented on ARM unless HAS_DMA is set. Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a771f2b82aa266fe578468deed82f797e26a3dc4 tree 79ca898412d790b3cfcb8557cc8225f9194eba39 parent e0804b17984afa1504649e2535db489d2a3029b6 author Arjan van de Ven Sun, 08 Jan 2006 01:05:04 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:06 -0800 [PATCH] Add a section about inlining to Documentation/CodingStyle Adds a bit of text to Documentation/Codingstyle to state that inlining everything "just because" is a bad idea Signed-off-by: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e0804b17984afa1504649e2535db489d2a3029b6 tree de1ad2a173e5fecaeffdcbcf93e30fbd3965bf39 parent 19144d0beab077950f3e767385e3c1050061b475 author Eric Van Buggenhaut Sun, 08 Jan 2006 01:05:03 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:06 -0800 [PATCH] hw_random: 82801AB PCI Bridge support pci.lst lists device 80862430 as another RNG # grep 80862430 /lib/discover/pci.lst 80862430 bridge i810_rng 82801AB PCI Bridge but it's not listed in rng_pci_tbl[] Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 19144d0beab077950f3e767385e3c1050061b475 tree b34c3b7337bf9d6c12298f7c1fc7a4fef744302b parent 1dac06b20dcc8078dab037bd70652c69c67ba672 author Dave Jones Sun, 08 Jan 2006 01:05:02 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:06 -0800 [PATCH] fix gcc4.1 build failure on xconfig scripts/kconfig/qconf.h:25: error: extra qualification ‘ConfigSettings::’ on member ‘readSizes’ scripts/kconfig/qconf.h:26: error: extra qualification ‘ConfigSettings::’ on member ‘writeSizes’ scripts/kconfig/qconf.h:127: error: extra qualification ‘ConfigList::’ on member ‘updateMenuList’ Signed-off-by: Dave Jones Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1dac06b20dcc8078dab037bd70652c69c67ba672 tree 34436f474074aa2760604555e3aa9b02df18fce2 parent 531b1094b74365dcc55fa464d28a9a2497ae825d author Latchesar Ionkov Sun, 08 Jan 2006 01:05:02 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:06 -0800 [PATCH] v9fs: handle kthread_create failure, minor bugfixes - remove unnecessary -ENOMEM assignments - return correct value when buf_check_size for second time in a buffer - handle failures when create_workqueue and kthread_create are called - use kzalloc instead of kmalloc/memset 0 - v9fs_str_copy and v9fs_str_compare were buggy, were used only in one place, correct the logic and move it to the place it is used. Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 531b1094b74365dcc55fa464d28a9a2497ae825d tree a0384dabe3be1c844166d028b3ef7c21c3dfe5fc parent d8da097afb765654c866062148fd98b11db9003e author Latchesar Ionkov Sun, 08 Jan 2006 01:05:00 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:06 -0800 [PATCH] v9fs: zero copy implementation Performance enhancement reducing the number of copies in the data and stat paths. Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 42650d8c9060a2658a79d4e30a5790b23d7753e0 tree e9a81a0ed78f606a4d04b71c40a1bcf144d72401 parent 88ced0314938814e1772b4d0d7ab20c52e4472b6 author Paul Mackerras Tue, 20 Dec 2005 18:43:52 +1100 committer Paul Mackerras Mon, 09 Jan 2006 15:14:05 +1100 powerpc: Fix some #ifndef __KERNEL__ that should be #ifdef Grrr.... Signed-off-by: Paul Mackerras commit d8da097afb765654c866062148fd98b11db9003e tree 35dc36ed893bceb63168eba245791b6d0a850698 parent 3cf6429a26da5c4d7b795e6d0f8f56ed2e4fdfc0 author Latchesar Ionkov Sun, 08 Jan 2006 01:04:59 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:05 -0800 [PATCH] v9fs: fix fid management in v9fs_create v9fs_create doesn't manage correctly the fids when it is called to create a directory.. The fid created by the create 9P call (newfid) and the one created by walking to already created file (wfidno) are not used consistently. This patch cleans up the usage of newfid and wfidno. Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3cf6429a26da5c4d7b795e6d0f8f56ed2e4fdfc0 tree a8d856763fd9a0536519634c93ab92da684107fa parent f5ef3c105bee3a52486d7b55cef3330fcde9bca6 author Latchesar Ionkov Sun, 08 Jan 2006 01:04:58 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:05 -0800 [PATCH] v9fs: new multiplexer implementation New multiplexer implementation. Decreases the number of kernel threads required. Better handling when the user process receives a signal. Signed-off-by: Latchesar Ionkov Cc: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f5ef3c105bee3a52486d7b55cef3330fcde9bca6 tree 528a6b32cb8fbbeeced3a147e77fc544567e3a6f parent 7e7f358c8f8f836c504faa293fda0c1c0733b63c author Eric Van Hensbergen Sun, 08 Jan 2006 01:04:56 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:05 -0800 [PATCH] v9fs: fix fd_close If a 9pfs server crashes, v9fs_fd_close() is called. Subsequently, in cleaning up by performing a umount() on the FS that was provided by this server v9fs_fd_close() is called again, and uses the old, freed valus of trans->priv. This patch ensures that trans->priv can be freed only once, otherwise this function bails early. Signed-off-by: Michal Ostrowski Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e7f358c8f8f836c504faa293fda0c1c0733b63c tree b06ef1742fe9e5533f754b46cb0e0e56ee619b0a parent 389cd6ec086e9b5421fe479d14d20a1faf74848d author Brian Gerst Sun, 08 Jan 2006 01:04:54 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:05 -0800 [PATCH] Split out screen_info from tty.h This makes it possible for boot code to use screen_info without dragging in all of tty.h. Signed-off-by: Brian Gerst Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 389cd6ec086e9b5421fe479d14d20a1faf74848d tree 8efe6470c7646d9caaeba71655186ceab2e70876 parent 58591e8a1f4de2e53fdd09b2aa86948687106c07 author Eugene Surovegin Sun, 08 Jan 2006 01:04:53 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:05 -0800 [PATCH] CREDITS update: Eugene Surovegin Add EMAC to my CREDITS entry. Signed-off-by: Eugene Surovegin Signed-off-by: Linus Torvalds commit 58591e8a1f4de2e53fdd09b2aa86948687106c07 tree 572cb4935c6b5a0a8dab4885f59cd791234c1c67 parent 15b2fe3931831891a62bad9cafd403c169ae087c author Randy Dunlap Sun, 08 Jan 2006 01:04:52 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:04 -0800 [PATCH] SubmittingPatches: diffstat options Add desired 'diffstat' options to use for kernel patches. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 15b2fe3931831891a62bad9cafd403c169ae087c tree f962f7fea257daba3d3db47f58bf12c7ecc5a379 parent ac34dd052400b1e63aa8e711a13c0670943296fd author Evgeniy Polyakov Sun, 08 Jan 2006 01:04:51 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:04 -0800 [PATCH] UFS: inode->i_sem is not released in error path Signed-off-by: Evgeniy Polyakov Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac34dd052400b1e63aa8e711a13c0670943296fd tree 690f1c13638420df3dbad24bd9916b5b29b32c32 parent a12dea7af93ae83bd868c0dc09367090ead7cc1e author Maciej W. Rozycki Sun, 08 Jan 2006 01:04:50 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:04 -0800 [PATCH] fs/smbfs/proc.c: fix data corruption in smb_proc_setattr_unix() This patch fixes a data corruption in smb_proc_setattr_unix() (smb_filetype_from_mode() returns an u32, and there are only four bytes reserved for it in data. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a12dea7af93ae83bd868c0dc09367090ead7cc1e tree 90220072dddc951f75ecbcb9b442b8b8a9b774f7 parent eb46996f90a0826921f1a0d81535537a9c7f91b0 author Paolo 'Blaisorblade' Giarrusso Sun, 08 Jan 2006 01:04:49 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:04 -0800 [PATCH] PTRACE_SYSEMU is only for i386 and clashes with other ptrace codes of other archs PTRACE_SYSEMU{,_SINGLESTEP} is actually arch specific, for now, and the current allocated number clashes with a ptrace code of frv, i.e. PTRACE_GETFDPIC. I should have submitted this much earlier, anyway we get no breakage for this. CC: Daniel Jacobowitz Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb46996f90a0826921f1a0d81535537a9c7f91b0 tree 9c9abe4c1e3ea2bf07b97d3ec6603eec94da69fa parent 349aef0bc4c7f07d685c977e12d0e2d0b5d0e6db author Ashutosh Naik Sun, 08 Jan 2006 01:04:37 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:04 -0800 [PATCH] kernel/module.c: remove redundant spinlock in resolve_symbol() Remove the redundant spinlock in the function resolve_symbol() as we are not altering the module list, and we already hold the semaphore. Signed-off-by: Ashutosh Naik Cc: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 349aef0bc4c7f07d685c977e12d0e2d0b5d0e6db tree 6bb266ed8826bb4e7355a07a0092acb3d5d92647 parent 59d9136b9844d3a0376d93c945ab280decedb323 author Andrew Morton Sun, 08 Jan 2006 01:04:36 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:04 -0800 [PATCH] shrink struct page Reduce the size of the pageframe for NR_CPUS>4, CONFIG_PREEMPT back to the minimal size by unionising both ->private and ->mapping with the pagetable lock. It uses an anonymous struct and hence requires gcc-3.x. Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 59d9136b9844d3a0376d93c945ab280decedb323 tree 6c3eaa9f902ae983b96500a8d60720610da539a4 parent fb1697933a03ec47d794b38e2a4e3ccc2463fd22 author Benjamin LaHaise Sun, 08 Jan 2006 01:04:34 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:03 -0800 [PATCH] aio: reorder kiocb structure elements to make sync iocb setup faster Reorder members of the kiocb structure to make sync kiocb setup faster. By setting the elements sequentially, the write combining buffers on the CPU are able to combine the writes into a single burst, which results in fewer cache cycles being consumed, freeing them up for other code. This results in a 10-20KB/s[*] increase on the bw_unix part of LMbench on my test system. * The improvement varies based on what other patches are in the system, as there are a number of bottlenecks, so this number is not absolutely accurate. Signed-off-by: Benjamin LaHaise Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb1697933a03ec47d794b38e2a4e3ccc2463fd22 tree 51612c8b20a338856aef323ea23ab7746cf0283c parent eea8b54dc0dceb740da697a89c54d20dde340306 author Akinobu Mita Sun, 08 Jan 2006 01:04:29 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:03 -0800 [PATCH] modules: mark TAINT_FORCED_RMMOD correctly Currently TAINT_FORCED_RMMOD is totally unused. Because it is marked as TAINT_FORCED_MODULE instead when user forced a module unload. This patch marks it correctly Signed-off-by: Akinobu Mita Cc: Rusty Russell Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eea8b54dc0dceb740da697a89c54d20dde340306 tree c5f42385a174aa38aeb251eec361557a2b31d047 parent b368fae6abaa1736b8f26128c32947d47237b8e5 author Ashutosh Naik Sun, 08 Jan 2006 01:04:25 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:03 -0800 [PATCH] modules: prevent overriding of symbols Ensure that an exported symbol does not already exist in the kernel or in some other module's exported symbol table. This is done by checking the symbol tables for the exported symbol at the time of loading the module. Currently this is done after the relocation of the symbol. Signed-off-by: Ashutosh Naik Signed-off-by: Anand Krishnan Cc: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b368fae6abaa1736b8f26128c32947d47237b8e5 tree d9e14fb1c894c51bdd92b100f0ac30bcc8714174 parent 44f061033360f9d4db7e9b29d64f9df3667cb41e author Ben Collins Sun, 08 Jan 2006 01:04:24 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:03 -0800 [PATCH] sonypi: Enable ACPI events for Sony laptop hotkeys Signed-off-by: Ben Collins Cc: "Brown, Len" Cc: linux-acpi@vger.kernel.org Cc: Stelian Pop Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44f061033360f9d4db7e9b29d64f9df3667cb41e tree 0c95fac1894e977a20c805ae679a525bfb78c8d5 parent fee781e6c25772db862d3322b4745a896022a4f1 author Dmitry Torokhov Sun, 08 Jan 2006 01:04:22 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:03 -0800 [PATCH] Sonypi: convert to the new platform device interface Do not use platform_device_register_simple() as it is going away, implement ->probe() and -remove() functions so manual binding and unbinding will work with this driver. Signed-off-by: Dmitry Torokhov Cc: Stelian Pop Cc: Mattia Dongili Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fee781e6c25772db862d3322b4745a896022a4f1 tree ab1d3ea15594c684eb054bd333a8a38d2ab873a6 parent 80851ef2a5a404e6054211ca96ecd5ac4b06d297 author Adrian Bunk Sun, 08 Jan 2006 01:04:16 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:03 -0800 [PATCH] fs/proc/: function prototypes belong in header files Function prototypes belong into header files. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80851ef2a5a404e6054211ca96ecd5ac4b06d297 tree dcacd2a475adc28c540b6012b58f1af9783778c1 parent 44ac8413901167589226abf824d994aa57e4fd28 author Bjorn Helgaas Sun, 08 Jan 2006 01:04:13 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:02 -0800 [PATCH] /dev/mem: validate mmap requests Add a hook so architectures can validate /dev/mem mmap requests. This is analogous to validation we already perform in the read/write paths. The identity mapping scheme used on ia64 requires that each 16MB or 64MB granule be accessed with exactly one attribute (write-back or uncacheable). This avoids "attribute aliasing", which can cause a machine check. Sample problem scenario: - Machine supports VGA, so it has uncacheable (UC) MMIO at 640K-768K - efi_memmap_init() discards any write-back (WB) memory in the first granule - Application (e.g., "hwinfo") mmaps /dev/mem, offset 0 - hwinfo receives UC mapping (the default, since memmap says "no WB here") - Machine check abort (on chipsets that don't support UC access to WB memory, e.g., sx1000) In the scenario above, the only choices are - Use WB for hwinfo mmap. Can't do this because it causes attribute aliasing with the UC mapping for the VGA MMIO space. - Use UC for hwinfo mmap. Can't do this because the chipset may not support UC for that region. - Disallow the hwinfo mmap with -EINVAL. That's what this patch does. Signed-off-by: Bjorn Helgaas Cc: Hugh Dickins Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44ac8413901167589226abf824d994aa57e4fd28 tree e84b213b960a5b309e426860701e60d98fbb05a5 parent a1365647022eb05a5993f270a78e9bef3bf554eb author Bjorn Helgaas Sun, 08 Jan 2006 01:04:10 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:02 -0800 [PATCH] /dev/mem __HAVE_PHYS_MEM_ACCESS_PROT tidy-up Tidy up __HAVE_PHYS_MEM_ACCESS_PROT usage to make mmap_mem() easier to read. Signed-off-by: Bjorn Helgaas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1365647022eb05a5993f270a78e9bef3bf554eb tree 6dbcab4db80b7d07fdaec88c003743d1f6e1a289 parent fd285bb54d8a3e99810090ae88cfe8ed77d1da25 author Andrew Morton Sun, 08 Jan 2006 01:04:09 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:02 -0800 [PATCH] remove gcc-2 checks Remove various things which were checking for gcc-1.x and gcc-2.x compilers. From: Adrian Bunk Some documentation updates and removes some code paths for gcc < 3.2. Acked-by: Russell King Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fd285bb54d8a3e99810090ae88cfe8ed77d1da25 tree e6ac6d5dc2cd4c197b7f428df726b9ecfe74d2e9 parent fe7d37d1fbf8ffe78abd72728b24fb0c64f7af55 author Andrew Morton Sun, 08 Jan 2006 01:04:07 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:02 -0800 [PATCH] Abandon gcc-2.95.x There's one scsi driver which doesn't compile due to weird __VA_ARGS__ tricks and the rather useful scsi/sd.c is currently getting an ICE. None of the new SAS code compiles, due to extensive use of anonymous unions. The V4L guys are very good at exploiting the gcc-2.95.x macro expansion bug (_why_ does each driver need to implement its own debug macros?) and various people keep on sneaking in anonymous unions, which are rather nice. Plus anonymous unions are rather useful. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fe7d37d1fbf8ffe78abd72728b24fb0c64f7af55 tree 274d82b06d2a711e84381b1357c6332077181d27 parent ddc0f846aa7621940b74cee0c91cd26405058a4d author Oleg Nesterov Sun, 08 Jan 2006 01:04:02 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:01 -0800 [PATCH] copy_process: error path cleanup This patch moves 'fork_out:' under 'bad_fork_free:', and removes now unneeded 'if (retval)' check. Signed-off-by: Oleg Nesterov Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ddc0f846aa7621940b74cee0c91cd26405058a4d tree 74909608259f44d538dc4389ad9b04d2b0352274 parent 37a327957e4b193369854f76afcedaee8d903521 author Adrian Bunk Sun, 08 Jan 2006 01:04:01 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:01 -0800 [PATCH] fs/udf/balloc.c: "extern inline" -> "static inline" "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 37a327957e4b193369854f76afcedaee8d903521 tree e99e6431902bed93ab19482e12dc6ead03930ca3 parent f7dd795e913656c390b6bde27790c518973feea1 author Andy Isaacson Sun, 08 Jan 2006 01:04:00 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:01 -0800 [PATCH] block/stat.txt I couldn't find any docs explaining the contents of /sys/block//stat, so I wrote up the following. I'm not completely sure it's accurate - Jens, could you give a yea or nay on this? In particular, the counts of read/write IOs and read/write sectors are incremented in different places - it looks like they both increment as the request is being finished, but I'm not completely sure of that. Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f7dd795e913656c390b6bde27790c518973feea1 tree d3e61e8e19018b94e80d2a332fa0b9e304007365 parent e19f247a3dbd85485ec13174817ae9c2478fe541 author Oleg Nesterov Sun, 08 Jan 2006 01:03:59 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:01 -0800 [PATCH] setpgid: should not accept ptraced childs sys_setpgid() allows to change ->pgrp of ptraced childs. 'man setpgid' does not tell anything about that, so I consider this behaviour is a bug. Signed-off-by: Oleg Nesterov Cc: Oren Laadan Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e19f247a3dbd85485ec13174817ae9c2478fe541 tree 1d6f6fa28d70d51d1ce71264b07ec1afd768e9a6 parent ee0acf90d320c29916ba8c5c1b2e908d81f5057d author Oren Laadan Sun, 08 Jan 2006 01:03:58 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:01 -0800 [PATCH] setpgid: should work for sub-threads setsid() does not work unless the calling process is a thread_group_leader(). 'man setpgid' does not tell anything about that, so I consider this behaviour is a bug. Signed-off-by: Oren Laadan Cc: Oleg Nesterov Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ee0acf90d320c29916ba8c5c1b2e908d81f5057d tree def952e2e3ebf2b5ba10585055f12ef0cbed17f2 parent 9a5d3023e626a0baf86ac6b892c983b3db13f22b author Oleg Nesterov Sun, 08 Jan 2006 01:03:53 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:01 -0800 [PATCH] setpgid: should work for sub-threads setpgid(0, pgid) or setpgid(forked_child_pid, pgid) does not work unless the calling process is a thread_group_leader(). 'man setpgid' does not tell anything about that, so I consider this behaviour is a bug. Signed-off-by: Oleg Nesterov Cc: Oren Laadan Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a5d3023e626a0baf86ac6b892c983b3db13f22b tree 41d1be6513fc3a5367414654eeaf11bbb12d4814 parent fb86a35b9ded8a7e53a432cbf28df603cdd4849c author Oren Laadan Sun, 08 Jan 2006 01:03:51 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:00 -0800 [PATCH] fork: fix race in setting child's pgrp and tty In fork, child should recopy parent's pgrp/tty after it has tasklist_lock. Otherwise following a setpgid() on the parent, *after* copy_signal(), the child will own a stale pgrp (which may be reused); (eg. if copy_mm() sleeps a long while due to memory pressure). Similar issue for the tty. Signed-off-by: Oren Laadan Cc: Oleg Nesterov Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb86a35b9ded8a7e53a432cbf28df603cdd4849c tree 6cfc9de386c26f5b1c9a126aee2bdc8f80bc8e2b parent d09cf7d77f62f6fb2f6d63fe5980583805f2d559 author Mike Miller Sun, 08 Jan 2006 01:03:50 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:00 -0800 [PATCH] cciss: adds MSI and MSI-X support This creates a new function, cciss_interrupt_mode called from cciss_pci_init. This function determines what type of interrupt vector to use, i.e., MSI, MSI-X, or IO-APIC. One noticeable difference is changing the interrupt field of the controller struct to an array of 4 unsigned ints. The Smart Array HW is capable of generating 4 distinct interrupts depending on the transport method in use during operation. These are: #define DOORBELL_INT 0 Used to notify the contoller of configuration updates. We only use this feature when in polling mode. #define PERF_MODE_INT 0 Used when the controller is in Performant Mode. #define SIMPLE_MODE_INT 2 Used when the controller is in Simple Mode (current Linux implementation). #define MEMQ_INT_MODE 3 Not used. When using IO-APIC interrupts these 4 lines are OR'ed together so when any one fires an interrupt an is generated. In MSI or MSI-X mode this hardware OR'ing is ignored. We must register for our interrupt depending on what mode the controller is running. For Linux we use SIMPLE_MODE_INT exclusively at this time. Please consider this for inclusion. Signed-off-by: Mike Miller Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d09cf7d77f62f6fb2f6d63fe5980583805f2d559 tree 59192c9b47c424bdbc67606f6c2fc2214e7a37d2 parent 5e38291d80086f6972f471c7caffa03184de0bf0 author Kylene Jo Hall Sun, 08 Jan 2006 01:03:48 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:00 -0800 [PATCH] tpmdd: remove global event log Remove global event log in the tpm bios event measurement log code that would have caused problems when the code was run concurrently. A log is now allocated and attached to the seq file upon open and destroyed appropriately. Signed-off-by: Kylene Jo Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e38291d80086f6972f471c7caffa03184de0bf0 tree 563a6aaac4f8c15f448080a3cec738821fa14a0b parent 87ba81dba431232548ce29d5d224115d0c2355ac author Eric W. Biederman Sun, 08 Jan 2006 01:03:46 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:00 -0800 [PATCH] Don't attempt to power off if power off is not implemented The problem. It is expected that /sbin/halt -p works exactly like /sbin/halt, when the kernel does not implement power off functionality. The kernel can do a lot of work in the reboot notifiers and in device_shutdown before we even get to machine_power_off. Some of that shutdown is not safe if you are leaving the power on, and it definitely gets in the way of using sysrq or pressing ctrl-alt-del. Since the shutdown happens in generic code there is no way to fix this in architecture specific code :( Some machines are kernel oopsing today because of this. The simple solution is to turn LINUX_REBOOT_CMD_POWER_OFF into LINUX_REBOOT_CMD_HALT if power_off functionality is not implemented. This has the unfortunate side effect of disabling the power off functionality on architectures that leave pm_power_off to null and still implement something in machine_power_off. And it will break the build on some architectures that don't have a pm_power_off variable at all. On both counts I say tough. For architectures like alpha that don't implement the pm_power_off variable pm_power_off is declared in linux/pm.h and it is a generic part of our power management code, and all architectures should implement it. For architectures like parisc that have a default power off method in machine_power_off if pm_power_off is not implemented or fails. It is easy enough to set the pm_power_off variable. And nothing bad happens there, the machines just stop powering off. The current semantics are impossible without a flag at the top level so we can avoid the problem code if a power off is not implemented. pm_power_off is as good a flag as any with the bonus that it works without modification on at least x86, x86_64, powerpc, and ppc today. Andrew can you pick this up and put this in the mm tree. Kernels that don't compile or don't power off seem saner than kernels that oops or panic. Until we get the arch specific patches for the problem architectures this probably isn't smart to push into the stable kernel. Unfortunately I don't have the time at the moment to walk through every architecture and make them work. And even if I did I couldn't test it :( From: Hirokazu Takata Add pm_power_off() for build fix of arch/m32r/kernel/process.c. From: Miklos Szeredi UML build fix Signed-off-by: Eric W. Biederman Signed-off-by: Hayato Fujiwara Signed-off-by: Hirokazu Takata Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 87ba81dba431232548ce29d5d224115d0c2355ac tree d836d85ff9bfe404adf3975d4a2c8ee135f9392e parent 99aef427e206f4ae7dcf0b18f66416145fea5d20 author Valentine Barshak Sun, 08 Jan 2006 01:03:44 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:00 -0800 [PATCH] fadvise: return ESPIPE on FIFO/pipe The patch makes posix_fadvise return ESPIPE on FIFO/pipe in order to be fully POSIX-compliant. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 99aef427e206f4ae7dcf0b18f66416145fea5d20 tree d4e478ce7b5a96ed283cbed67f2663ad488287f1 parent d84f520348d77e61f936227a048403dbc349fff1 author Rob Landley Sun, 08 Jan 2006 01:03:43 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:14:00 -0800 [PATCH] update to the initramfs docs Based on questions people have asked me. Repeatedly. Signed-off-by: Rob Landley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d84f520348d77e61f936227a048403dbc349fff1 tree 765dd3cc733b4149222d4ac9cf746f54cf557fdd parent 9841d61d75da5e46ed7a978bed4f50c78b1d87fd author Srivatsa Vaddagiri Sun, 08 Jan 2006 01:03:42 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:59 -0800 [PATCH] Extend RCU torture module to test tickless idle CPU This patch forces RCU torture threads off various CPUs in the system allowing them to become idle and go tickless. Meant to test support for such tickless idle CPU in RCU. Signed-off-by: Srivatsa Vaddagiri Cc: Dipankar Sarma Cc: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9841d61d75da5e46ed7a978bed4f50c78b1d87fd tree fae0f4af69456d6c70ac1ea9c91e0cfc6544d5e2 parent f867bac65419a98c9682f4409e087582d29ec5f6 author Dave Jones Sun, 08 Jan 2006 01:03:41 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:59 -0800 [PATCH] Add tainting for proprietary helper modules Kernels that have had Windows drivers loaded into them are undebuggable. I've wasted a number of hours chasing bugs filed in Fedora bugzilla only to find out much later that the user had used such 'helpers', and their problems were unreproducable without them loaded. Acked-by: Arjan van de Ven Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f867bac65419a98c9682f4409e087582d29ec5f6 tree c65e5663259ae2df77179683c8189e6c3de3b9fe parent e78c9a004aadebe22306c81d1a7f1d1278dc37f9 author Eric Dumazet Sun, 08 Jan 2006 01:03:40 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:59 -0800 [PATCH] remove unused blkp field in percpu_data I found that blkp field was not used in kernel tree. As most of the times NR_CPUS is a power of two and kmalloc() memory blocks too, this extra field basically doubles the memory space allocated in __alloc_percpu() to store the 'struct percpu_data' (for example, if NR_CPUS=8 on i386, kmalloc(4*8+4) returns a 64 bytes block instead of a 32 bytes block after this patch) Signed-off-by: Eric Dumazet Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e78c9a004aadebe22306c81d1a7f1d1278dc37f9 tree abbe82c7f8ce8d3059619c7941de14e585859aa4 parent 90f2447d08a5fbddc8b58f8a6425b0513807f919 author Pekka Enberg Sun, 08 Jan 2006 01:03:39 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:59 -0800 [PATCH] fs: remove s_old_blocksize from struct super_block This patch inlines the single user of struct super_block field s_old_blocksize and removes the field. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 90f2447d08a5fbddc8b58f8a6425b0513807f919 tree 4d56eabeb0dfa0d9ca9d5f78573f22709605f27a parent 44fce35f29a7f2d976d9160bfbc55635b459a6a0 author Jesper Juhl Sun, 08 Jan 2006 01:03:38 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:59 -0800 [PATCH] Documentation: Small applying-patches.txt update Minor update to Documentation/applying-patches.txt Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44fce35f29a7f2d976d9160bfbc55635b459a6a0 tree 99ea5c540658e8c02945b00041d904474766b968 parent dda6ebde96044e9b5f1b14588659b39b4e6c08e7 author Nicolas Kaiser Sun, 08 Jan 2006 01:03:37 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:59 -0800 [PATCH] drivers/mfd: header included twice linux/delay.h included twice Signed-off-by: Nicolas Kaiser Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dda6ebde96044e9b5f1b14588659b39b4e6c08e7 tree c06bba58d2623784c88acc321137c34b7be16335 parent cc398c2eae35b13d77b77337136325edc6ca94ca author David Gibson Sun, 08 Jan 2006 01:03:35 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:58 -0800 [PATCH] Fix handling of ELF segments with zero filesize mmap() returns -EINVAL if given a zero length, and thus elf_map() in binfmt_elf.c does likewise if it attempts to map a (page-aligned) ELF segment with zero filesize. Such a situation never arises with the default linker scripts, but there's nothing inherently wrong with zero-filesize (but non-zero memsize) ELF segments. Custom linker scripts can generate them, and the kernel should be able to map them; this patch makes it so. Signed-off-by: David Gibson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cc398c2eae35b13d77b77337136325edc6ca94ca tree c7b502c0cd1f51e462f1861b4c46921941689faf parent 5160ee6fc891a9ca114be0e90fa6655647bb64b2 author David S. Miller Sun, 08 Jan 2006 01:03:34 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:58 -0800 [PATCH] drivers/connector/cn_proc.c typos The parameter to put_cpu_var() is unreferenced by the implementation, and the compiler doesn't try to comprehend comments, so this wouldn't cause any problem, but if bugged me enough to post a fix :-) Signed-off-by: David S. Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5160ee6fc891a9ca114be0e90fa6655647bb64b2 tree 35d3740a777935582af1b78238f20d2c2971ed55 parent 21b6bf143d05d77c350d9c6764ae090a877b66ea author Eric Dumazet Sun, 08 Jan 2006 01:03:32 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:58 -0800 [PATCH] shrink dentry struct Some long time ago, dentry struct was carefully tuned so that on 32 bits UP, sizeof(struct dentry) was exactly 128, ie a power of 2, and a multiple of memory cache lines. Then RCU was added and dentry struct enlarged by two pointers, with nice results for SMP, but not so good on UP, because breaking the above tuning (128 + 8 = 136 bytes) This patch reverts this unwanted side effect, by using an union (d_u), where d_rcu and d_child are placed so that these two fields can share their memory needs. At the time d_free() is called (and d_rcu is really used), d_child is known to be empty and not touched by the dentry freeing. Lockless lookups only access d_name, d_parent, d_lock, d_op, d_flags (so the previous content of d_child is not needed if said dentry was unhashed but still accessed by a CPU because of RCU constraints) As dentry cache easily contains millions of entries, a size reduction is worth the extra complexity of the ugly C union. Signed-off-by: Eric Dumazet Cc: Dipankar Sarma Cc: Maneesh Soni Cc: Miklos Szeredi Cc: "Paul E. McKenney" Cc: Ian Kent Cc: Paul Jackson Cc: Al Viro Cc: Christoph Hellwig Cc: Trond Myklebust Cc: Neil Brown Cc: James Morris Cc: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 21b6bf143d05d77c350d9c6764ae090a877b66ea tree f20e74cf252ae40b17ae13814153f6546c73190d parent 850d6fbe70c62a9792eac3e8ef34f2f09f209895 author Jorn Dreyer Sun, 08 Jan 2006 01:03:30 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:57 -0800 [PATCH] nfsroot: do not silently stop parsing on an unknown option It would be helpful if the kernel did not silently stop parsing nfs options, but instead warned about any he does not recognize. The attached patch adds one printk to do just that. It took me a couple of hours to find my configuration mistake. Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 850d6fbe70c62a9792eac3e8ef34f2f09f209895 tree e02e6bbfd670c7250134c894356d9599a35820bd parent 86174cdcb44c095ffd2e3ca69caa56244cf701d5 author Oleg Nesterov Sun, 08 Jan 2006 01:03:29 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:57 -0800 [PATCH] sigio: cleanup, don't take tasklist twice The only user of send_sigio_to_task() already holds tasklist_lock, so it is better not to send the signal via send_group_sig_info() (which takes tasklist recursively) but use group_send_sig_info(). The same change in send_sigurg()->send_sigurg_to_task(). Signed-off-by: Oleg Nesterov Cc: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 86174cdcb44c095ffd2e3ca69caa56244cf701d5 tree 37d6cd5e6145fb659f436399268be1e7be950e61 parent 08efd10edff199f0c992f04052e897a3f2048508 author Oleg Nesterov Sun, 08 Jan 2006 01:03:28 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:57 -0800 [PATCH] remove unneeded sig->curr_target recalculation This patch removes unneeded sig->curr_target recalculation under 'if (atomic_dec_and_test(&sig->count))' in __exit_signal(). When sig->count == 0 the signal can't be sent to this task and next_thread(tsk) == tsk anyway. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 08efd10edff199f0c992f04052e897a3f2048508 tree 80edbbc2fc58f5204446ad6ee1df141beeccb64b parent 29ba17231222c42ca3df5424f43949e2a6fddec2 author Nicolas Kaiser Sun, 08 Jan 2006 01:03:26 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:56 -0800 [PATCH] MAINTAINERS: line duplication uniq -d MAINTAINERS Signed-off-by: Nicolas Kaiser Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 29ba17231222c42ca3df5424f43949e2a6fddec2 tree 8081c7ffd66a42bc82b685350bcc46e38c94ff4f parent 9f40668d7d14d4d16cedc2104bfb63a43584dacf author Glauber de Oliveira Costa Sun, 08 Jan 2006 01:03:23 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:56 -0800 [PATCH] ext3: use sbi instead of EXT3_SB() in resize code. There are places in the resize code in which EXT3_SB() macro is used after an statement like sbi = EXT3_SB(sb) is done. Inside the same function, both sbi and EXT3_SB() are used to reference the super block Altough it is not wrong, keeping it coherent increases legibility, IMHO. Signed-off-by: Glauber de Oliveira Costa Cc: "Stephen C. Tweedie" Cc: Andreas Dilger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f40668d7d14d4d16cedc2104bfb63a43584dacf tree 1afa0f60acfcfb89e460feca6ea4d5686b192915 parent 25ab7cd84eebdc1869d236029ada3a7b403de8ba author Glauber de Oliveira Costa Sun, 08 Jan 2006 01:03:22 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:56 -0800 [PATCH] ext3: remove trailing newlines from ext3_warning() calls Remove the trailing newlines in calls to ext3_warning(). This function already adds a trailing newline to the end of messages. Signed-off-by: Glauber de Oliveira Costa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 25ab7cd84eebdc1869d236029ada3a7b403de8ba tree 4308545d06f89c50c9dbe9cd6575a2b049a16a32 parent 71b9625744b7d4a6a2416389a5ba464bdf11f07f author Eric Dumazet Sun, 08 Jan 2006 01:03:21 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:56 -0800 [PATCH] oprofile: Use vmalloc_node() in alloc_cpu_buffers() Make oprofile alloc_cpu_buffers() function NUMA aware, allocating each CPU local buffer in its memory node if possible. Signed-off-by: Eric Dumazet Cc: Philippe Elie Cc: John Levon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 71b9625744b7d4a6a2416389a5ba464bdf11f07f tree 0926e8274cfa5030fccfb0955bd0db45e60e0e7c parent bf066c7db775a04bd761f8ea206f5522d0cf40ff author Johann Lombardi Sun, 08 Jan 2006 01:03:20 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:56 -0800 [PATCH] ext3: external journal device as a mount option The patch below adds a new mount option to allow the external journal device to be specified. The syntax is as follows: # mount -t ext3 -o journal_dev=0x0820 ... where 0x0820 means major=8 and minor=32. Signed-off-by: Johann Lombardi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bf066c7db775a04bd761f8ea206f5522d0cf40ff tree e4bfe3bdd8d98a137eaf163a26eb1153af970dfd parent 4a0d11fae57989e24fe2ee3eff6d62d72db9716c author Miklos Szeredi Sun, 08 Jan 2006 01:03:19 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:56 -0800 [PATCH] shared mounts: cleanup Small cleanups in shared mounts code. Signed-off-by: Miklos Szeredi Cc: Ram Pai Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4a0d11fae57989e24fe2ee3eff6d62d72db9716c tree 5d91ff28e650e82e9318db7d9be5f74d43880214 parent c809406b4f2dfac9006d7eb8dca6b9f990f10b61 author Neil Brown Sun, 08 Jan 2006 01:03:18 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:55 -0800 [PATCH] pivot_root: add comment Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c809406b4f2dfac9006d7eb8dca6b9f990f10b61 tree 090455ba2acfb5a6667737edab624560be17afaa parent 55a82ab3181be039c6440d3f2f69260ad6fe2988 author Ashok Raj Sun, 08 Jan 2006 01:03:17 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:55 -0800 [PATCH] Updated CPU hotplug documentation Thanks to Nathan Lynch for the review and comments. Thanks to Joel Schopp for the pointer to add user space scipts. Signed-off-by: Ashok Raj Signed-off-by: Nathan Lynch Signed-off-by: Joel Schopp Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 55a82ab3181be039c6440d3f2f69260ad6fe2988 tree 6acf566ae3831b0f4f8b428fbaa0e335bc7a2691 parent 485a6435abc3897934ce0dc530e31db93e9296a6 author Kylene Jo Hall Sun, 08 Jan 2006 01:03:15 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:55 -0800 [PATCH] tpm: add bios measurement log According to the TCG specifications measurements or hashes of the BIOS code and data are extended into TPM PCRS and a log is kept in an ACPI table of these extensions for later validation if desired. This patch exports the values in the ACPI table through a security-fs seq_file. Signed-off-by: Seiji Munetoh Signed-off-by: Stefan Berger Signed-off-by: Reiner Sailer Signed-off-by: Kylene Hall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 485a6435abc3897934ce0dc530e31db93e9296a6 tree 9f934146083a4b34eedc9edec37a2ca4783419f0 parent bb6f6dbaa48c53525a7a4f9d4df719c3b0b582af author Oleg Nesterov Sun, 08 Jan 2006 01:03:14 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:55 -0800 [PATCH] little do_group_exit() cleanup zap_other_threads() sets SIGNAL_GROUP_EXIT at the very start, do_group_exit() doesn't need to do it. Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb6f6dbaa48c53525a7a4f9d4df719c3b0b582af tree d8214a72c61d49e3cb896e0390256f23e9f72eff parent 0811af28ce49fab963e3e6b8abcf8c460f971cd4 author Oleg Nesterov Sun, 08 Jan 2006 01:03:13 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:55 -0800 [PATCH] do_coredump() should reset group_stop_count earlier __group_complete_signal() sets ->group_stop_count in sig_kernel_coredump() path and marks the target thread as ->group_exit_task. So any thread except group_exit_task will go to handle_group_stop()->finish_stop(). However, when group_exit_task actually starts do_coredump(), it sets SIGNAL_GROUP_EXIT, but does not reset ->group_stop_count while killing other threads. If we have not yet stopped threads in the same thread group, they all will spin in kernel mode until group_exit_task sends them SIGKILL, because ->group_stop_count > 0 means: recalc_sigpending_tsk() never clears TIF_SIGPENDING get_signal_to_deliver() goes to handle_group_stop() handle_group_stop() returns when SIGNAL_GROUP_EXIT set syscall_exit/resume_userspace notice TIF_SIGPENDING, call get_signal_to_deliver() again. So we are wasting cpu cycles, and if one of these threads is rt_task() this may be a serious problem. NOTE: do_coredump() holds ->mmap_sem, so not stopped threads can't escape coredumping after clearing ->group_stop_count. See also this thread: http://marc.theaimsgroup.com/?t=112739139900002 Signed-off-by: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0811af28ce49fab963e3e6b8abcf8c460f971cd4 tree a7a619307a471d713cddb67ef94e3768152fc4bb parent 54b21a7992a31d30c9a91f7e0a00ffdb4bd0caee author Oleg Nesterov Sun, 08 Jan 2006 01:03:09 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:55 -0800 [PATCH] kill_proc_info_as_uid: don't use hardcoded constants Use symbolic names instead of hardcoded constants. Signed-off-by: Oleg Nesterov Acked-by: Harald Welte Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 54b21a7992a31d30c9a91f7e0a00ffdb4bd0caee tree 33eca2bf3c1edfd3d76cc0f7c96a392239c6d2ec parent 676121fcb66c861804e38d94214fd5670a1ef595 author Andrew Morton Sun, 08 Jan 2006 01:03:05 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:54 -0800 [PATCH] fix possible PAGE_CACHE_SHIFT overflows We've had two instances recently of overflows when doing 64_bit_value = (32_bit_value << PAGE_CACHE_SHIFT) I did a tree-wide grep of `<<.*PAGE_CACHE_SHIFT' and this is the result. - afs_rxfs_fetch_descriptor.offset is of type off_t, which seems broken. - jfs and jffs are limited to 4GB anyway. - reiserfs map_block_for_writepage() takes an unsigned long for the block - it should take sector_t. (It'll fail for huge filesystems with blocksizepage_base) Cc: Oleg Drokin Cc: David Howells Cc: David Woodhouse Cc: Cc: Christoph Hellwig Cc: Anton Altaparmakov Cc: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Cc: Roman Zippel Cc: Cc: Miklos Szeredi Cc: Russell King Cc: Trond Myklebust Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 676121fcb66c861804e38d94214fd5670a1ef595 tree 7b0f9d34efd5e1cb9b6b595aedcd9419942b5055 parent 9fa37fd1627ec804e57ae0388555719b03b39f20 author Ben Collins Sun, 08 Jan 2006 01:03:04 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:54 -0800 [PATCH] Unchecked alloc_percpu() return in __create_workqueue() __create_workqueue() not checking return of alloc_percpu() NULL dereference was possible. Signed-off-by: Ben Collins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9fa37fd1627ec804e57ae0388555719b03b39f20 tree 869e4b4d8feb2e3ce240fa32cfa549ab61115153 parent a885c8c4316e1c1d2d2c8755da3f3d14f852528d author taneli.vahakangas@netsonic.fi Sun, 08 Jan 2006 01:03:02 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:54 -0800 [PATCH] nbd: remove duplicate assignment Sent by Paul Clements , who needs to read Documentation/SubmittingPatches.. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a885c8c4316e1c1d2d2c8755da3f3d14f852528d tree e4f4e7a7657c0944d11c259f8f17ffcd6b2da0f5 parent 5b0ed2c64d8fdafb5fcfb3baabdd288628b1ff9b author Christoph Hellwig Sun, 08 Jan 2006 01:02:50 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:54 -0800 [PATCH] Add block_device_operations.getgeo block device method HDIO_GETGEO is implemented in most block drivers, and all of them have to duplicate the code to copy the structure to userspace, as well as getting the start sector. This patch moves that to common code [1] and adds a ->getgeo method to fill out the raw kernel hd_geometry structure. For many drivers this means ->ioctl can go away now. [1] the s390 block drivers are odd in this respect. xpram sets ->start to 4 always which seems more than odd, and the dasd driver shifts the start offset around, probably because of it's non-standard sector size. Signed-off-by: Christoph Hellwig Cc: Jens Axboe Cc: Cc: Jeff Dike Cc: Paolo Giarrusso Cc: Bartlomiej Zolnierkiewicz Cc: Neil Brown Cc: Markus Lidel Cc: Russell King Cc: David Woodhouse Cc: Martin Schwidefsky Cc: James Bottomley Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b0ed2c64d8fdafb5fcfb3baabdd288628b1ff9b tree e73ba55739b27f239cd224a413df9d4b61aff586 parent 71fabd5e4835309b4feca6209122ce56c595c461 author Xose Vazquez Perez Sun, 08 Jan 2006 01:02:49 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:53 -0800 [PATCH] docs: updated some code docs Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 71fabd5e4835309b4feca6209122ce56c595c461 tree 7d9467a4f9678d2271f82d48ec075a316cb1523f parent b5f545c880a2a47947ba2118b2509644ab7a2969 author George Anzinger Sun, 08 Jan 2006 01:02:48 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:53 -0800 [PATCH] sigaction should clear all signals on SIG_IGN, not just < 32 While rooting aroung in the signal code trying to understand how to fix the SIG_IGN ploy (set sig handler to SIG_IGN and flood system with high speed repeating timers) I came across what, I think, is a problem in sigaction() in that when processing a SIG_IGN request it flushes signals from 1 to SIGRTMIN and leaves the rest. Attempt to fix this. Signed-off-by: George Anzinger Cc: Roland McGrath Cc: Linus Torvalds Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b5f545c880a2a47947ba2118b2509644ab7a2969 tree 8720e02262b0ff6309ae79603f6c63965296d378 parent cab8eb594e84b434d20412fc5a3985b0bee3ab9f author David Howells Sun, 08 Jan 2006 01:02:47 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:53 -0800 [PATCH] keys: Permit running process to instantiate keys Make it possible for a running process (such as gssapid) to be able to instantiate a key, as was requested by Trond Myklebust for NFS4. The patch makes the following changes: (1) A new, optional key type method has been added. This permits a key type to intercept requests at the point /sbin/request-key is about to be spawned and do something else with them - passing them over the rpc_pipefs files or netlink sockets for instance. The uninstantiated key, the authorisation key and the intended operation name are passed to the method. (2) The callout_info is no longer passed as an argument to /sbin/request-key to prevent unauthorised viewing of this data using ps or by looking in /proc/pid/cmdline. This means that the old /sbin/request-key program will not work with the patched kernel as it will expect to see an extra argument that is no longer there. A revised keyutils package will be made available tomorrow. (3) The callout_info is now attached to the authorisation key. Reading this key will retrieve the information. (4) A new field has been added to the task_struct. This holds the authorisation key currently active for a thread. Searches now look here for the caller's set of keys rather than looking for an auth key in the lowest level of the session keyring. This permits a thread to be servicing multiple requests at once and to switch between them. Note that this is per-thread, not per-process, and so is usable in multithreaded programs. The setting of this field is inherited across fork and exec. (5) A new keyctl function (KEYCTL_ASSUME_AUTHORITY) has been added that permits a thread to assume the authority to deal with an uninstantiated key. Assumption is only permitted if the authorisation key associated with the uninstantiated key is somewhere in the thread's keyrings. This function can also clear the assumption. (6) A new magic key specifier has been added to refer to the currently assumed authorisation key (KEY_SPEC_REQKEY_AUTH_KEY). (7) Instantiation will only proceed if the appropriate authorisation key is assumed first. The assumed authorisation key is discarded if instantiation is successful. (8) key_validate() is moved from the file of request_key functions to the file of permissions functions. (9) The documentation is updated. From: Build fix. Signed-off-by: David Howells Cc: Trond Myklebust Cc: Alexander Zangerl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cab8eb594e84b434d20412fc5a3985b0bee3ab9f tree 307dc5bf813effdcabe439a74ad2ae866516adb0 parent 017679c4d45783158dba1dd6f79e712c22bb3d9a author David Howells Sun, 08 Jan 2006 01:02:45 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:53 -0800 [PATCH] keys: Discard duplicate keys from a keyring on link Cause any links within a keyring to keys that match a key to be linked into that keyring to be discarded as a link to the new key is added. The match is contingent on the type and description strings being the same. This permits requests, adds and searches to displace negative, expired, revoked and dead keys easily. After some discussion it was concluded that duplicate valid keys should probably be discarded also as they would otherwise hide the new key. Since request_key() is intended to be the primary method by which keys are added to a keyring, duplicate valid keys wouldn't be an issue there as that function would return an existing match in preference to creating a new key. Signed-off-by: David Howells Cc: Trond Myklebust Cc: Alexander Zangerl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 017679c4d45783158dba1dd6f79e712c22bb3d9a tree a536f0b581eacd88a64077f5ff15b29d23fc6405 parent cd140a5c1f456f50897af4a2e9a23d228a5fe719 author David Howells Sun, 08 Jan 2006 01:02:43 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:53 -0800 [PATCH] keys: Permit key expiry time to be set Add a new keyctl function that allows the expiry time to be set on a key or removed from a key, provided the caller has attribute modification access. Signed-off-by: David Howells Cc: Trond Myklebust Cc: Alexander Zangerl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cd140a5c1f456f50897af4a2e9a23d228a5fe719 tree 24170cf30ce2c5d3129c9b535942c4c52231a042 parent 025510cd20f4c35c3958bea133d96c9bd7c6ef9e author Guillaume Chazarain Sun, 08 Jan 2006 01:02:43 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:53 -0800 [PATCH] kmsg_write: don't return printk return value kmsg_write returns with printk, so some programs may be confused by a successful write() with a return value different than the buffer length. # /bin/echo something > /dev/kmsg /bin/echo: write error: Inappropriate ioctl for device The drawbacks is that the printk return value can no more be quickly checked from userspace. Signed-off-by: Guillaume Chazarain Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 025510cd20f4c35c3958bea133d96c9bd7c6ef9e tree a1d7946374dc6db660ffbf76a1ae862c629566d1 parent 2520f14ca85e38f575eed6acc6e586df246abea6 author Guillaume Chazarain Sun, 08 Jan 2006 01:02:41 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:52 -0800 [PATCH] printk return value: fix it What's the true meaning of the printk return value? Should it include the priority prefix length of 3? and what about the timing information? In both cases it was broken: strace -e write echo 1 > /dev/kmsg => write(1, "1\n", 2) = 5 strace -e write echo "<1>1" > /dev/kmsg => write(1, "<1>1\n", 5) = 8 The returned length was "length of input string + 3", I made it "length of string output to the log buffer". Note that I couldn't find any printk caller in the kernel interested by its return value besides kmsg_write. Signed-off-by: Guillaume Chazarain Acked-By: Tim Bird Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2520f14ca85e38f575eed6acc6e586df246abea6 tree 1e0a1f3b0b44dc3069323eb26106312618352156 parent 4a30131e7dbb17e5fec6958bfac9da9aff1fa29b author NeilBrown Sun, 08 Jan 2006 01:02:40 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:52 -0800 [PATCH] Fix overflow tests for compat_sys_fcntl64 locking When making an fctl locking call through compat_sys_fcntl64 (i.e. a 32bit app on a 64bit kernel), the syscall can return a locking range that is in conflict with the queried lock. If some aspect of this range does not fit in the 32bit structure, something needs to be done. The current code is wrong in several respects: - It returns data to userspace even if no conflict was found i.e. it should check l_type for F_UNLCK - It returns -EOVERFLOW too agressively. A lock range covering the last possible byte of the file (start = COMPAT_OFF_T_MAX, len = 1) should be possible, but is rejected with the current test. - A extra-long 'len' should not be a problem. If only that part of the conflicting lock that would be visible to the 32bit app needs to be reported to the 32bit app anyway. This patch addresses those three issues and adds a comment to (hopefully) record it for posterity. Note: this patch mainly affects test-cases. Real applications rarely is ever see the problems. This patch has been tested (LSB test suite), and works. Signed-off-by: Neil Brown Cc: Arnd Bergmann Cc: Christoph Hellwig Cc: Matthew Wilcox Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4a30131e7dbb17e5fec6958bfac9da9aff1fa29b tree 2ff6139b393a9a413e2ea4db4dd2d15eec2201f8 parent 788540141f4549637e89aadca6e25cf25eb53383 author NeilBrown Sun, 08 Jan 2006 01:02:39 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:52 -0800 [PATCH] Fix some problems with truncate and mtime semantics. SUS requires that when truncating a file to the size that it currently is: truncate and ftruncate should NOT modify ctime or mtime O_TRUNC SHOULD modify ctime and mtime. Currently mtime and ctime are always modified on most local filesystems (side effect of ->truncate) or never modified (on NFS). With this patch: ATTR_CTIME|ATTR_MTIME are sent with ATTR_SIZE precisely when an update of these times is required whether size changes or not (via a new argument to do_truncate). This allows NFS to do the right thing for O_TRUNC. inode_setattr nolonger forces ATTR_MTIME|ATTR_CTIME when the ATTR_SIZE sets the size to it's current value. This allows local filesystems to do the right thing for f?truncate. Also, the logic in inode_setattr is changed a bit so there are two return points. One returns the error from vmtruncate if it failed, the other returns 0 (there can be no other failure). Finally, if vmtruncate succeeds, and ATTR_SIZE is the only change requested, we now fall-through and mark_inode_dirty. If a filesystem did not have a ->truncate function, then vmtruncate will have changed i_size, without marking the inode as 'dirty', and I think this is wrong. Signed-off-by: Neil Brown Cc: Christoph Hellwig Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 788540141f4549637e89aadca6e25cf25eb53383 tree 179325644b2eacf66a4cd6bffd63ac0d4390576b parent 53dbb26dbcf0d844967677633d7587c1d34740d5 author David Howells Sun, 08 Jan 2006 01:02:37 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:52 -0800 [PATCH] Permit multiple inclusion of linux/pagevec.h Make it possible to include linux/pagevec.h multiple times without incurring errors due to duplicate definitions. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53dbb26dbcf0d844967677633d7587c1d34740d5 tree 8e0988f3d14758c0f36f1e495f56c79f3f405116 parent 954de9141e75cf2f1ce69ccdbedc83ec827a01ec author Antonino A. Daplas Sun, 08 Jan 2006 01:02:36 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:51 -0800 [PATCH] vgacon: Workaround for resize bug in some chipsets Reported from Redhat Bugzilla Bug 170450 "I updated to the development kernel and now during boot only the top of the text is visable. For example the monitor screen the is the lines and I can only see text in the asterisk area. commit 954de9141e75cf2f1ce69ccdbedc83ec827a01ec tree 05682a83cafc8784d8e60f0d9e98694ad4a932d2 parent b8b0af24353eafadf58a0889999700e43f135aad author Samuel Thibault Sun, 08 Jan 2006 01:02:34 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:51 -0800 [PATCH] vgacon: fix doublescan mode When doublescan mode is in use, scanlines must be doubled. Thanks to Jason Dravet for reporting and testing. Signed-off-by: Samuel Thibault Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b8b0af24353eafadf58a0889999700e43f135aad tree e3ee61aaf3326f9e096b16a144d53d7b4708e4e3 parent 6b9c7ed84837753a436415097063232422e29a35 author Christoph Hellwig Sun, 08 Jan 2006 01:02:33 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:51 -0800 [PATCH] udf: remove bogus inode == NULL check in inode_bmap inode can never be NULL when calling this function. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b9c7ed84837753a436415097063232422e29a35 tree 6ad59a7bebcec359e08b3a211701781db819450d parent 6b34350f490b2c8508717541ec1fd2bbaadded94 author Christoph Hellwig Sun, 08 Jan 2006 01:02:33 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:51 -0800 [PATCH] use ptrace_get_task_struct in various places The ptrace_get_task_struct() helper that I added as part of the ptrace consolidation is useful in variety of places that currently opencode it. Switch them to the common helpers. Add a ptrace_traceme() helper that needs to be explicitly called, and simplify the ptrace_get_task_struct() interface. We don't need the request argument now, and we return the task_struct directly, using ERR_PTR() for error returns. It's a bit more code in the callers, but we have two sane routines that do one thing well now. Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b34350f490b2c8508717541ec1fd2bbaadded94 tree 199c7f7f45e812a3d26bf762aa14a992ba13d4cf parent 761da5c88aca34586e5b7295bd8b9be2438906f2 author Tom Zanussi Sun, 08 Jan 2006 01:02:32 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:51 -0800 [PATCH] relayfs: Documentation cleanup, remove obsolete info librelay and relay-app.h have been retired - update Documentation to reflect that. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 761da5c88aca34586e5b7295bd8b9be2438906f2 tree f5d1c91d1e16b0e8649ccaf3bdd7d163658e7455 parent df49af8f3392e96ddbc9cf6dd81fbdc0496e1b44 author Tom Zanussi Sun, 08 Jan 2006 01:02:31 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:51 -0800 [PATCH] relayfs: cleanup, change relayfs_file_* to relay_file_* This patch renames relayfs_file_operations to relay_file_operations, and the file operations themselves from relayfs_XXX to relay_file_XXX, to make it more clear that they refer to relay files. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit df49af8f3392e96ddbc9cf6dd81fbdc0496e1b44 tree e4a8ce3657f1148f279623fe6048735de9c15c39 parent e6c08367b8fc6dce6dfd1106f53f6ef28215b313 author Tom Zanussi Sun, 08 Jan 2006 01:02:30 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:50 -0800 [PATCH] relayfs: add Documentation on global relay buffers Documentation update for creating global buffers. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e6c08367b8fc6dce6dfd1106f53f6ef28215b313 tree fa5bb7071fdcd61d3296e5d0be224d864cb1d166 parent 03d78d11d92b5ed688bb18167b05d9d01493e175 author Tom Zanussi Sun, 08 Jan 2006 01:02:29 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:50 -0800 [PATCH] relayfs: add support for global relay buffers This patch adds the optional is_global outparam to the create_buf_file() callback. This can be used by clients to create a single global relayfs buffer instead of the default per-cpu buffers. This was suggested as being useful for certain debugging applications where it's more convenient to be able to get all the data from a single channel without having to go to the bother of dealing with per-cpu files. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 03d78d11d92b5ed688bb18167b05d9d01493e175 tree b3d87f9e817bc59d66cdfd60bb1ef68b9b4b22b2 parent 08c541a7ade230883c48225f4ea406a0117e7c2f author Tom Zanussi Sun, 08 Jan 2006 01:02:29 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:50 -0800 [PATCH] relayfs: add Documentation on relay files in other filesystems Documentation update for creating relay files in other filesystems. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 08c541a7ade230883c48225f4ea406a0117e7c2f tree 23288deb876a8bdd07569d1eb8eacd38585c2932 parent 925ac8a2b637466ba0ad8dfaf7b49aa9a362502f author Tom Zanussi Sun, 08 Jan 2006 01:02:28 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:50 -0800 [PATCH] relayfs: add support for relay files in other filesystems This patch adds a couple of callback functions that allow a client to hook into relay_open()/close() and supply the files that will be used to represent the channel buffers; the default implementation if no callbacks are defined is to create the files in relayfs. This is to support the creation and use of relay files in other filesystems such as debugfs, as implied by the fact that relayfs_file_operations are exported. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 925ac8a2b637466ba0ad8dfaf7b49aa9a362502f tree afedf9758186a5438df75d54394523add74faa9b parent aaea25d7a68a7f72e167dc1698b66a15edc71883 author Tom Zanussi Sun, 08 Jan 2006 01:02:27 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:50 -0800 [PATCH] relayfs: add Documention for non-relay files Documentation update for non-relay files. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aaea25d7a68a7f72e167dc1698b66a15edc71883 tree 2aef3767e751099aa05203fa5e255a639d430f94 parent 51008f9f95a4c3158151a75f88fb03fb0f646aba author Tom Zanussi Sun, 08 Jan 2006 01:02:26 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:50 -0800 [PATCH] relayfs: remove unused alloc/destroy_inode() Since we're no longer using relayfs_inode_info, remove relayfs_alloc_inode() and relayfs_destroy_inode() along with the relayfs inode cache. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 51008f9f95a4c3158151a75f88fb03fb0f646aba tree c4028f7562b36c5e02f40f020a47ae663e21f7cf parent 7431733791feb0b19453d8047b0723c744667040 author Tom Zanussi Sun, 08 Jan 2006 01:02:26 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:49 -0800 [PATCH] relayfs: use generic_ip for private data Use inode->u.generic_ip instead of relayfs_inode_info to store pointer to user data. Clients using relayfs_file_create() to create their own files would probably more expect their data to be stored in generic_ip; we also intend in the next set of patches to get rid of relayfs-specific stuff in the file operations, so we might as well do it here. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7431733791feb0b19453d8047b0723c744667040 tree 9521c656ba72bac4de8e29a8f1c22881c3b3d1ad parent 907f2c77d1653ce235e8e1fd6ce5c46005814e78 author Tom Zanussi Sun, 08 Jan 2006 01:02:25 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:49 -0800 [PATCH] relayfs: add relayfs_remove_file() This patch adds and exports relayfs_remove_file(), for API symmetry (with relayfs_create_file()). Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 907f2c77d1653ce235e8e1fd6ce5c46005814e78 tree dddb1fb14c4be54b066585235c97a36460e8faff parent 6625b861f8f0e429902b8671b3e70792cd99074e author Tom Zanussi Sun, 08 Jan 2006 01:02:24 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:49 -0800 [PATCH] relayfs: export relayfs_create_file() with fileops param This patch adds a mandatory fileops param to relayfs_create_file() and exports that function so that clients can use it to create files defined by their own set of file operations, in relayfs. The purpose is to allow relayfs applications to create their own set of 'control' files alongside their relay files in relayfs rather than having to create them in /proc or debugfs for instance. relayfs_create_file() is also used by relay_open_buf() to create the relay files for a channel. In this case, a pointer to relayfs_file_operations is passed in, along with a pointer to the buffer associated with the file. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6625b861f8f0e429902b8671b3e70792cd99074e tree 0a141b0c15d8ed012d971553acde9f7029adcfe6 parent b33291c0bcecfa44baa905964eec4b8815dcbcdf author Tom Zanussi Sun, 08 Jan 2006 01:02:23 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:49 -0800 [PATCH] relayfs: decouple buffer creation from inode creation The patch series implementa or fixes 3 things that were specifically requested or suggested by relayfs users: - support for non-relay files (patches 1-6) Currently, the relayfs API only supports the creation of directories (relayfs_create_dir()) and relay files (relay_open()). These patches adds support for non-relay files (relayfs_create_file()). This is so relayfs applications can create 'control files' in relayfs itself rather than in /proc or via a netlink channel, as is currently done in the relay-app examples. Basically what this amounts to is exporting relayfs_create_file() with an additional file_ops param that clients can use to supply file operations for their own special-purpose files in relayfs. - make exported relay file ops useful (patches 7-8) The relayfs relay_file_operations have always been exported, the intent being to make it possible to create relay files in other filesystems such as debugfs. The problem, though, is that currently the file operations are too tightly coupled to relayfs to actually be used for this purpose. This patch fixes that by adding a couple of callback functions that allow a client to hook into relay_open()/close() and supply the files that will be used to represent the channel buffers; the default implementation if no callbacks are defined is to create the files in relayfs. - add an option to create global relay buffer (patches 9-10) The file creation callback also supplies an optional param, is_global, that can be used by clients to create a single global relayfs buffer instead of the default per-cpu buffers. This was suggested as being useful for certain debugging applications where it's more convenient to be able to get all the data from a single channel without having to go to the bother of dealing with per-cpu files. - cleanup, some renaming and Documentation updates (patches 11-12) There were several comments that the use of netlink in the example code was non-intuitive and in fact the whole relay-app business was needlessly confusing. Based on that feedback, the example code has been completely converted over to relayfs control files as supported by this patch, and have also been made completely self-contained. The converted examples along with a couple of new examples that demonstrate using exported relay files can be found in relay-apps tarball: http://prdownloads.sourceforge.net/relayfs/relay-apps-0.9.tar.gz?download This patch: Separate buffer create/destroy from inode create/destroy. We want to be able to associate other data and not just relay buffers with inodes. Buffer create/destroy is moved out of inode.c and into relayfs core code. Signed-off-by: Tom Zanussi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b33291c0bcecfa44baa905964eec4b8815dcbcdf tree 126c3f84456fd2ee80ef54667615631f7ce31cdc parent b3f3d6141f8636f627bf19fd44eaf59a52637ac8 author Andrew Morton Sun, 08 Jan 2006 01:02:21 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:49 -0800 [PATCH] ipc: expand shm_flags Unobfsucate this struct member Cc: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b3f3d6141f8636f627bf19fd44eaf59a52637ac8 tree 849950ee2e5f3adefeec45d09c8bcf78e1c3e66a parent 095975da26dba21698582e91e96be10f7417333f author Jan Beulich Sun, 08 Jan 2006 01:02:20 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:49 -0800 [PATCH] ELF: symbol table type additions Needed for the Novell kernel debugger and perhaps some per-cpu data on x86_64 in the future. Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 095975da26dba21698582e91e96be10f7417333f tree ce1ffac556d394ef56a18faa97d38f79b07f31e2 parent a57004e1afb6ee03c509f1b1ec74a000682ab93b author Nick Piggin Sun, 08 Jan 2006 01:02:19 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:48 -0800 [PATCH] rcu file: use atomic primitives Use atomic_inc_not_zero for rcu files instead of special case rcuref. Signed-off-by: Nick Piggin Cc: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a57004e1afb6ee03c509f1b1ec74a000682ab93b tree 846112d14bc2ea20ebaf069c83909485fc91655c parent 8382bf2e72d16d0532e351299121ccd3bca0fdd8 author Nick Piggin Sun, 08 Jan 2006 01:02:19 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:48 -0800 [PATCH] atomic: dec_and_lock use atomic primitives Convert atomic_dec_and_lock to use new atomic primitives. Signed-off-by: Nick Piggin Cc: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8382bf2e72d16d0532e351299121ccd3bca0fdd8 tree 4801ff017fdd06f34f81bf8b0ff37a716f1f6c50 parent 97a41e26124330e41aa10ef88cd1711bc3d17460 author Peter Osterlund Sun, 08 Jan 2006 01:02:17 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:48 -0800 [PATCH] pktcdvd: Use bd_claim to get exclusive access Use bd_claim() when opening the cdrom device to prevent user space programs such as cdrecord, hald and kded from interfering with the burning process. Signed-off-by: Peter Osterlund Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 97a41e26124330e41aa10ef88cd1711bc3d17460 tree 1546db361efaf926c7a970e3ec6044ea8d4b6f4c parent b7b4d7a4666454b40b45a853bd1d296af37a85f0 author Adrian Bunk Sun, 08 Jan 2006 01:02:17 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:48 -0800 [PATCH] kernel/: small cleanups This patch contains the following cleanups: - make needlessly global functions static - every file should include the headers containing the prototypes for it's global functions Signed-off-by: Adrian Bunk Acked-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b7b4d7a4666454b40b45a853bd1d296af37a85f0 tree 4049f920642bf2c48a8f1f5c237aef241ef7a8c0 parent 2a10e0b28b196051ae71829e5b989cba00513289 author Adrian Bunk Sun, 08 Jan 2006 01:02:16 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:48 -0800 [PATCH] drivers/isdn/: "extern inline" -> "static inline" "extern inline" -> "static inline" Since there's no pullphone() function this patch removes the dead prototype. Signed-off-by: Adrian Bunk Acked-by: Karsten Keil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a10e0b28b196051ae71829e5b989cba00513289 tree 52dfa9a64cfb3dd01fa1ee1150d589481e54e28e parent 28fd129827b00e12829d48a5290f46277600619b author Adrian Bunk Sun, 08 Jan 2006 01:02:15 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:47 -0800 [PATCH] move rtc_interrupt() prototype to rtc.h This patch moves the rtc_interrupt() prototype to rtc.h and removes the prototypes from C files. It also renames static rtc_interrupt() functions in arch/arm/mach-integrator/time.c and arch/sh64/kernel/time.c to avoid compile problems. Signed-off-by: Adrian Bunk Signed-off-by: Paul Gortmaker Acked-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 28fd129827b00e12829d48a5290f46277600619b tree 38e50e1b88965fec41ea5b36aa557fb5c2b1ca73 parent 05eb0b51fb46430050d5873458612f53e0234f2e author OGAWA Hirofumi Sun, 08 Jan 2006 01:02:14 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:47 -0800 [PATCH] Fix and add EXPORT_SYMBOL(filemap_write_and_wait) This patch add EXPORT_SYMBOL(filemap_write_and_wait) and use it. See mm/filemap.c: And changes the filemap_write_and_wait() and filemap_write_and_wait_range(). Current filemap_write_and_wait() doesn't wait if filemap_fdatawrite() returns error. However, even if filemap_fdatawrite() returned an error, it may have submitted the partially data pages to the device. (e.g. in the case of -ENOSPC) Andrew Morton writes, If filemap_fdatawrite() returns an error, this might be due to some I/O problem: dead disk, unplugged cable, etc. Given the generally crappy quality of the kernel's handling of such exceptions, there's a good chance that the filemap_fdatawait() will get stuck in D state forever. So, this patch doesn't wait if filemap_fdatawrite() returns the -EIO. Trond, could you please review the nfs part? Especially I'm not sure, nfs must use the "filemap_fdatawrite(inode->i_mapping) == 0", or not. Acked-by: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05eb0b51fb46430050d5873458612f53e0234f2e tree 88b9398079f53f29dff7533fb27487ae725983b1 parent 268fc16e343b4f8e249468747db2e658da46a814 author OGAWA Hirofumi Sun, 08 Jan 2006 01:02:13 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:47 -0800 [PATCH] fat: support a truncate() for expanding size (generic_cont_expand) This patch changes generic_cont_expand(), in order to share the code with fatfs. - Use vmtruncate() if ->prepare_write() returns a error. Even if ->prepare_write() returns an error, it may already have added some blocks. So, this truncates blocks outside of ->i_size by vmtruncate(). - Add generic_cont_expand_simple(). The generic_cont_expand_simple() assumes that ->prepare_write() can handle the block boundary. With this, we don't need to care the extra byte. And for expanding a file size by truncate(), fatfs uses the added generic_cont_expand_simple(). Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 268fc16e343b4f8e249468747db2e658da46a814 tree 871a1b1ad8250d1f5b0e4585fe32d00f90443bd3 parent e5174baaea7585760f02eef23b225847d209a8db author OGAWA Hirofumi Sun, 08 Jan 2006 01:02:12 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:47 -0800 [PATCH] export/change sync_page_range/_nolock() This exports/changes the sync_page_range/_nolock(). The fatfs needs sync_page_range/_nolock() for expanding truncate, and changes "size_t count" to "loff_t count". Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e5174baaea7585760f02eef23b225847d209a8db tree 34198b0f205a91670104abc800ec560e14296db3 parent 7c709d00d614d0f2b6a80895b2a1aedbe04e8478 author OGAWA Hirofumi Sun, 08 Jan 2006 01:02:11 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:46 -0800 [PATCH] fat: support ->direct_IO() This patch add to support of ->direct_IO() for mostly read. The user of this seems to want to use for streaming read. So, current direct I/O has limitation, it can only overwrite. (For write operation, mainly we need to handle the hole etc..) Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c709d00d614d0f2b6a80895b2a1aedbe04e8478 tree ba564dbc9f9d67c61b285eee4f856e0b26903127 parent a5425d2927a6a771f9ae8767b6bfb3c09225bcdd author OGAWA Hirofumi Sun, 08 Jan 2006 01:02:10 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:46 -0800 [PATCH] fat: s/EXPORT_SYMBOL/EXPORT_SYMBOL_GPL/ All EXPORT_SYMBOL of fatfs is only for vfat/msdos. _GPL would be proper. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a5425d2927a6a771f9ae8767b6bfb3c09225bcdd tree 52a68076b8cb684d9f094c5518749fa9ec2d1fd3 parent 83b7c996dc859c7b53f94d46ee5c5929cc0399e2 author OGAWA Hirofumi Sun, 08 Jan 2006 01:02:10 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:46 -0800 [PATCH] fat: add the read/writepages() Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 83b7c996dc859c7b53f94d46ee5c5929cc0399e2 tree ba13936ebf2fe9abfdd53fc801b611db97ba65ff parent a6bf6b211cdb92c315c24719a522d8b6f3998210 author OGAWA Hirofumi Sun, 08 Jan 2006 01:02:09 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:46 -0800 [PATCH] fat: use sb_find_get_block() instead of sb_getblk() We don't need to allocate buffer for checking the buffer is uptodate. This use sb_find_get_block() instead, and if it returns NULL it's not uptodate. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6bf6b211cdb92c315c24719a522d8b6f3998210 tree f6719d61b5766014d137a00cc346c1f5d0902869 parent 9ded96f24c3a5fcbef954e88c443385a1af37eb9 author OGAWA Hirofumi Sun, 08 Jan 2006 01:02:08 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:46 -0800 [PATCH] fat: move fat_clusters_flush() to write_super() It is overkill to update the FS_INFO whenever modifying prev_free/free_clusters, because those are just a hint. So, this patch uses ->write_super() for updating FS_INFO instead. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ded96f24c3a5fcbef954e88c443385a1af37eb9 tree 49f43337e2b8d63a5a28402a15d99fe27d8d2a1c parent 705b6c7b34f2621f95f606d0e683daa10cdb8eb9 author Russell King Sun, 08 Jan 2006 01:02:07 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:46 -0800 [PATCH] IRQ type flags Some ARM platforms have the ability to program the interrupt controller to detect various interrupt edges and/or levels. For some platforms, this is critical to setup correctly, particularly those which the setting is dependent on the device. Currently, ARM drivers do (eg) the following: err = request_irq(irq, ...); set_irq_type(irq, IRQT_RISING); However, if the interrupt has previously been programmed to be level sensitive (for whatever reason) then this will cause an interrupt storm. Hence, if we combine set_irq_type() with request_irq(), we can then safely set the type prior to unmasking the interrupt. The unfortunate problem is that in order to support this, these flags need to be visible outside of the ARM architecture - drivers such as smc91x need these flags and they're cross-architecture. Finally, the SA_TRIGGER_* flag passed to request_irq() should reflect the property that the device would like. The IRQ controller code should do its best to select the most appropriate supported mode. Signed-off-by: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 705b6c7b34f2621f95f606d0e683daa10cdb8eb9 tree 70c93fddc9534f5c9e8b22b79d07ea70747725b3 parent de25968cc87cc5b76d09de8b4cbddc8f24fcf5f7 author Paul Fulghum Sun, 08 Jan 2006 01:02:06 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:45 -0800 [PATCH] new driver synclink_gt New character device driver for the SyncLink GT and SyncLink AC families of synchronous and asynchronous serial adapters Signed-off-by: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de25968cc87cc5b76d09de8b4cbddc8f24fcf5f7 tree 1435a31f422039999b728ab326145a2bd5912d4e parent 03a285f58064b8e0af08383e082e383753d9c33e author Tim Schmielau Sun, 08 Jan 2006 01:02:05 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:45 -0800 [PATCH] fix more missing includes Include fixes for 2.6.14-git11. Should allow to remove sched.h from module.h on i386, x86_64, arm, ia64, ppc, ppc64, and s390. Probably more to come since I haven't yet checked the other archs. Signed-off-by: Tim Schmielau Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 03a285f58064b8e0af08383e082e383753d9c33e tree af458f3357d4e2d01dc04d2d41a7dd7d502c4755 parent 7edc59628b2f5d6516b4677b3b56f5f056e45cd9 author Paul Jackson Sun, 08 Jan 2006 01:02:04 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:45 -0800 [PATCH] cpuset: skip rcu check if task is in root cpuset For systems that aren't using cpusets, but have them CONFIG_CPUSET enabled in their kernel (eventually this may be most distribution kernels), this patch removes even the minimal rcu_read_lock() from the memory page allocation path. Actually, it removes that rcu call for any task that is in the root cpuset (top_cpuset), which on systems not actively using cpusets, is all tasks. We don't need the rcu check for tasks in the top_cpuset, because the top_cpuset is statically allocated, so at no risk of being freed out from underneath us. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7edc59628b2f5d6516b4677b3b56f5f056e45cd9 tree cc0f07bc07156c6f805a72c39ae2d5655a97fede parent 6b9c2603ce07f70de9c7a8d335ecd028e8ff11f3 author Paul Jackson Sun, 08 Jan 2006 01:02:03 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:45 -0800 [PATCH] cpuset: mark number_of_cpusets read_mostly Mark cpuset global 'number_of_cpusets' as __read_mostly. This global is accessed everytime a zone is considered in the zonelist loops beneath __alloc_pages, looking for a free memory page. If number_of_cpusets is just one, then we can short circuit the mems_allowed check. Since this global is read alot on a hot path, and written rarely, it is an excellent candidate for __read_mostly. Thanks to Christoph Lameter for the suggestion. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b9c2603ce07f70de9c7a8d335ecd028e8ff11f3 tree 38b009da71a1f93bbda8621c7d2721c18913260d parent c417f0242ebe578924a30d4e53d35b5059fed4e7 author Paul Jackson Sun, 08 Jan 2006 01:02:02 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:45 -0800 [PATCH] cpuset: use rcu directly optimization Optimize the cpuset impact on page allocation, the most performance critical cpuset hook in the kernel. On each page allocation, the cpuset hook needs to check for a possible change in the current tasks cpuset. It can now handle the common case, of no change, without taking any spinlock or semaphore, thanks to RCU. Convert a spinlock on the current task to an rcu_read_lock(), saving approximately a memory barrier and an atomic op, depending on architecture. This is done by adding rcu_assign_pointer() and synchronize_rcu() calls to the write side of the task->cpuset pointer, in cpuset.c:attach_task(), to delay freeing up a detached cpuset until after any critical sections referencing that pointer. Thanks to Andi Kleen, Nick Piggin and Eric Dumazet for ideas. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c417f0242ebe578924a30d4e53d35b5059fed4e7 tree 3058c7c79aedb11e7013f5faca34eb07e9a761bd parent 04c19fa6f16047abff2288ddbc1f0798ede5a849 author Paul Jackson Sun, 08 Jan 2006 01:02:01 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:44 -0800 [PATCH] cpuset: remove test for null cpuset from alloc code path Remove a couple of more lines of code from the cpuset hooks in the page allocation code path. There was a check for a NULL cpuset pointer in the routine cpuset_update_task_memory_state() that was only needed during system boot, after the memory subsystem was initialized, before the cpuset subsystem was initialized, to catch a NULL task->cpuset pointer. Add a cpuset_init_early() routine, just before the mem_init() call in init/main.c, that sets up just enough of the init tasks cpuset structure to render cpuset_update_task_memory_state() calls harmless. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 04c19fa6f16047abff2288ddbc1f0798ede5a849 tree 4c4f109d919042b300ac907a8fde64b822faa7aa parent 4225399a66b315d4d1fb1cb61b75dda201c832e3 author Paul Jackson Sun, 08 Jan 2006 01:02:00 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:44 -0800 [PATCH] cpuset: migrate all tasks in cpuset at once Given the mechanism in the previous patch to handle rebinding the per-vma mempolicies of all tasks in a cpuset that changes its memory placement, it is now easier to handle the page migration requirements of such tasks at the same time. The previous code didn't actually attempt to migrate the pages of the tasks in a cpuset whose memory placement changed until the next time each such task tried to allocate memory. This was undesirable, as users invoking memory page migration exected to happen when the placement changed, not some unspecified time later when the task needed more memory. It is now trivial to handle the page migration at the same time as the per-vma rebinding is done. The routine cpuset.c:update_nodemask(), which handles changing a cpusets memory placement ('mems') now checks for the special case of being asked to write a placement that is the same as before. It was harmless enough before to just recompute everything again, even though nothing had changed. But page migration is a heavy weight operation - moving pages about. So now it is worth avoiding that if asked to move a cpuset to its current location. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4225399a66b315d4d1fb1cb61b75dda201c832e3 tree c8bd976bc6590c5fe859c6129abb93072d99cfa8 parent 202f72d5d1b5c2c084f63ef996c736d208b447b5 author Paul Jackson Sun, 08 Jan 2006 01:01:59 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:44 -0800 [PATCH] cpuset: rebind vma mempolicies fix Fix more of longstanding bug in cpuset/mempolicy interaction. NUMA mempolicies (mm/mempolicy.c) are constrained by the current tasks cpuset to just the Memory Nodes allowed by that cpuset. The kernel maintains internal state for each mempolicy, tracking what nodes are used for the MPOL_INTERLEAVE, MPOL_BIND or MPOL_PREFERRED policies. When a tasks cpuset memory placement changes, whether because the cpuset changed, or because the task was attached to a different cpuset, then the tasks mempolicies have to be rebound to the new cpuset placement, so as to preserve the cpuset-relative numbering of the nodes in that policy. An earlier fix handled such mempolicy rebinding for mempolicies attached to a task. This fix rebinds mempolicies attached to vma's (address ranges in a tasks address space.) Due to the need to hold the task->mm->mmap_sem semaphore while updating vma's, the rebinding of vma mempolicies has to be done when the cpuset memory placement is changed, at which time mmap_sem can be safely acquired. The tasks mempolicy is rebound later, when the task next attempts to allocate memory and notices that its task->cpuset_mems_generation is out-of-date with its cpusets mems_generation. Because walking the tasklist to find all tasks attached to a changing cpuset requires holding tasklist_lock, a spinlock, one cannot update the vma's of the affected tasks while doing the tasklist scan. In general, one cannot acquire a semaphore (which can sleep) while already holding a spinlock (such as tasklist_lock). So a list of mm references has to be built up during the tasklist scan, then the tasklist lock dropped, then for each mm, its mmap_sem acquired, and the vma's in that mm rebound. Once the tasklist lock is dropped, affected tasks may fork new tasks, before their mm's are rebound. A kernel global 'cpuset_being_rebound' is set to point to the cpuset being rebound (there can only be one; cpuset modifications are done under a global 'manage_sem' semaphore), and the mpol_copy code that is used to copy a tasks mempolicies during fork catches such forking tasks, and ensures their children are also rebound. When a task is moved to a different cpuset, it is easier, as there is only one task involved. It's mm->vma's are scanned, using the same mpol_rebind_policy() as used above. It may happen that both the mpol_copy hook and the update done via the tasklist scan update the same mm twice. This is ok, as the mempolicies of each vma in an mm keep track of what mems_allowed they are relative to, and safely no-op a second request to rebind to the same nodes. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 202f72d5d1b5c2c084f63ef996c736d208b447b5 tree f50551f9588f9090fee17130614e17a2dd64c656 parent 74cb21553f4bf244185b9bec4c26e4e3169ad55e author Paul Jackson Sun, 08 Jan 2006 01:01:57 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:44 -0800 [PATCH] cpuset: number_of_cpusets optimization Easy little optimization hack to avoid actually having to call cpuset_zone_allowed() and check mems_allowed, in the main page allocation routine, __alloc_pages(). This saves several CPU cycles per page allocation on systems not using cpusets. A counter is updated each time a cpuset is created or removed, and whenever there is only one cpuset in the system, it must be the root cpuset, which contains all CPUs and all Memory Nodes. In that case, when the counter is one, all allocations are allowed. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74cb21553f4bf244185b9bec4c26e4e3169ad55e tree 3f8f13e8dacc8f0876b01f62765a123ce1722b17 parent 909d75a3b77bdd8baa9429bad3b69a654d2954ce author Paul Jackson Sun, 08 Jan 2006 01:01:56 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:44 -0800 [PATCH] cpuset: numa_policy_rebind cleanup Cleanup, reorganize and make more robust the mempolicy.c code to rebind mempolicies relative to the containing cpuset after a tasks memory placement changes. The real motivator for this cleanup patch is to lay more groundwork for the upcoming patch to correctly rebind NUMA mempolicies that are attached to vma's after the containing cpuset memory placement changes. NUMA mempolicies are constrained by the cpuset their task is a member of. When either (1) a task is moved to a different cpuset, or (2) the 'mems' mems_allowed of a cpuset is changed, then the NUMA mempolicies have embedded node numbers (for MPOL_BIND, MPOL_INTERLEAVE and MPOL_PREFERRED) that need to be recalculated, relative to their new cpuset placement. The old code used an unreliable method of determining what was the old mems_allowed constraining the mempolicy. It just looked at the tasks mems_allowed value. This sort of worked with the present code, that just rebinds the -task- mempolicy, and leaves any -vma- mempolicies broken, referring to the old nodes. But in an upcoming patch, the vma mempolicies will be rebound as well. Then the order in which the various task and vma mempolicies are updated will no longer be deterministic, and one can no longer count on the task->mems_allowed holding the old value for as long as needed. It's not even clear if the current code was guaranteed to work reliably for task mempolicies. So I added a mems_allowed field to each mempolicy, stating exactly what mems_allowed the policy is relative to, and updated synchronously and reliably anytime that the mempolicy is rebound. Also removed a useless wrapper routine, numa_policy_rebind(), and had its caller, cpuset_update_task_memory_state(), call directly to the rewritten policy_rebind() routine, and made that rebind routine extern instead of static, and added a "mpol_" prefix to its name, making it mpol_rebind_policy(). Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 909d75a3b77bdd8baa9429bad3b69a654d2954ce tree f9955ff697b7569fc75e5b8683d886315f34ac49 parent cf2a473c4089aa41c26f653200673f5a4cc25047 author Paul Jackson Sun, 08 Jan 2006 01:01:55 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:44 -0800 [PATCH] cpuset: implement cpuset_mems_allowed Provide a cpuset_mems_allowed() method, which the sys_migrate_pages() code needed, to obtain the mems_allowed vector of a cpuset, and replaced the workaround in sys_migrate_pages() to call this new method. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf2a473c4089aa41c26f653200673f5a4cc25047 tree 0bce21f4684a382b13e93ba5b85409cf5eab1c2c parent b4b2641843db124637fa3d2cb2101982035dcc82 author Paul Jackson Sun, 08 Jan 2006 01:01:54 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:43 -0800 [PATCH] cpuset: combine refresh_mems and update_mems The important code paths through alloc_pages_current() and alloc_page_vma(), by which most kernel page allocations go, both called cpuset_update_current_mems_allowed(), which in turn called refresh_mems(). -Both- of these latter two routines did a tasklock, got the tasks cpuset pointer, and checked for out of date cpuset->mems_generation. That was a silly duplication of code and waste of CPU cycles on an important code path. Consolidated those two routines into a single routine, called cpuset_update_task_memory_state(), since it updates more than just mems_allowed. Changed all callers of either routine to call the new consolidated routine. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b4b2641843db124637fa3d2cb2101982035dcc82 tree fe8ed223f2e1828a6d14090711bad1c864aded09 parent 59dac16fb95f09253b8086134443abeb439703cd author Paul Jackson Sun, 08 Jan 2006 01:01:53 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:43 -0800 [PATCH] cpuset: fork hook fix Fix obscure, never seen in real life, cpuset fork race. The cpuset_fork() call in fork.c was setting up the correct task->cpuset pointer after the tasklist_lock was dropped, which briefly exposed the newly forked process with an unsafe (copied from parent without locks or usage counter increment) cpuset pointer. In theory, that exposed cpuset pointer could have been pointing at a cpuset that was already freed and removed, and in theory another task that had been sitting on the tasklist_lock waiting to scan the task list could have raced down the entire tasklist, found our new child at the far end, and dereferenced that bogus cpuset pointer. To fix, setup up the correct cpuset pointer in the new child by calling cpuset_fork() before the new task is linked into the tasklist, and with that, add a fork failure case, to dereference that cpuset, if the fork fails along the way, after cpuset_fork() was called. Had to remove a BUG_ON() from cpuset_exit(), because it was no longer valid - the call to cpuset_exit() from a failed fork would not have PF_EXITING set. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 59dac16fb95f09253b8086134443abeb439703cd tree 25491bdcff6f980edfed259d7edadeb273a27ee3 parent c5b2aff89635495064592dc90da595f8a880ee87 author Paul Jackson Sun, 08 Jan 2006 01:01:52 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:43 -0800 [PATCH] cpuset: update_nodemask code reformat Restructure code layout of the kernel/cpuset.c update_nodemask() routine, removing embedded returns and nested if's in favor of goto completion labels. This is being done in anticipation of adding more logic to this routine, which will favor the goto style structure. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c5b2aff89635495064592dc90da595f8a880ee87 tree 2a796593bd675979bbad88ddd4de1a11f120bf62 parent 90c9cc4043fd8454d11886379f841f70e176698e author Paul Jackson Sun, 08 Jan 2006 01:01:51 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:43 -0800 [PATCH] cpuset: minor spacing initializer fixes Four trivial cpuset fixes: remove extra spaces, remove useless initializers, mark one __read_mostly. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 90c9cc4043fd8454d11886379f841f70e176698e tree cec3cf3e440dd71aaec842e6f54fa3113284f8ba parent bd5e09cf7054878a3db6a8c8bab1c2fabcd4f072 author Paul Jackson Sun, 08 Jan 2006 01:01:51 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:43 -0800 [PATCH] cpuset: remove marker_pid documentation Remove documentation for the cpuset 'marker_pid' feature, that was in the patch "cpuset: change marker for relative numbering" That patch was previously pulled from *-mm at my (pj) request. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bd5e09cf7054878a3db6a8c8bab1c2fabcd4f072 tree 8038087b61ba0852495d20561bc227f0c3ae04f2 parent 3e0d98b9f1eb757fc98efc84e74e54a08308aa73 author Paul Jackson Sun, 08 Jan 2006 01:01:50 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:43 -0800 [PATCH] cpuset: document additional features Document the additional cpuset features: notify_on_release marker_pid memory_pressure memory_pressure_enabled Rearrange and improve formatting of existing documentation for cpu_exclusive and mem_exclusive features. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e0d98b9f1eb757fc98efc84e74e54a08308aa73 tree 7cf1c75994f734ede7ec89373de640c4a58b237a parent 5966514db662fb24c9bb43226a80106bcffd51f8 author Paul Jackson Sun, 08 Jan 2006 01:01:49 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:42 -0800 [PATCH] cpuset: memory pressure meter Provide a simple per-cpuset metric of memory pressure, tracking the -rate- that the tasks in a cpuset call try_to_free_pages(), the synchronous (direct) memory reclaim code. This enables batch managers monitoring jobs running in dedicated cpusets to efficiently detect what level of memory pressure that job is causing. This is useful both on tightly managed systems running a wide mix of submitted jobs, which may choose to terminate or reprioritize jobs that are trying to use more memory than allowed on the nodes assigned them, and with tightly coupled, long running, massively parallel scientific computing jobs that will dramatically fail to meet required performance goals if they start to use more memory than allowed to them. This patch just provides a very economical way for the batch manager to monitor a cpuset for signs of memory pressure. It's up to the batch manager or other user code to decide what to do about it and take action. ==> Unless this feature is enabled by writing "1" to the special file /dev/cpuset/memory_pressure_enabled, the hook in the rebalance code of __alloc_pages() for this metric reduces to simply noticing that the cpuset_memory_pressure_enabled flag is zero. So only systems that enable this feature will compute the metric. Why a per-cpuset, running average: Because this meter is per-cpuset, rather than per-task or mm, the system load imposed by a batch scheduler monitoring this metric is sharply reduced on large systems, because a scan of the tasklist can be avoided on each set of queries. Because this meter is a running average, instead of an accumulating counter, a batch scheduler can detect memory pressure with a single read, instead of having to read and accumulate results for a period of time. Because this meter is per-cpuset rather than per-task or mm, the batch scheduler can obtain the key information, memory pressure in a cpuset, with a single read, rather than having to query and accumulate results over all the (dynamically changing) set of tasks in the cpuset. A per-cpuset simple digital filter (requires a spinlock and 3 words of data per-cpuset) is kept, and updated by any task attached to that cpuset, if it enters the synchronous (direct) page reclaim code. A per-cpuset file provides an integer number representing the recent (half-life of 10 seconds) rate of direct page reclaims caused by the tasks in the cpuset, in units of reclaims attempted per second, times 1000. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5966514db662fb24c9bb43226a80106bcffd51f8 tree 9c6d8f4f6fee0d6574de7e225141d37b28811dc3 parent 96b7f34143c2c823a6a750fcb758fc66c44945d2 author Paul Jackson Sun, 08 Jan 2006 01:01:47 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:42 -0800 [PATCH] cpuset: mempolicy one more nodemask conversion Finish converting mm/mempolicy.c from bitmaps to nodemasks. The previous conversion had left one routine using bitmaps, since it involved a corresponding change to kernel/cpuset.c Fix that interface by replacing with a simple macro that calls nodes_subset(), or if !CONFIG_CPUSET, returns (1). Signed-off-by: Paul Jackson Cc: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96b7f34143c2c823a6a750fcb758fc66c44945d2 tree a17cadb13e4eeb555f32186579d5d174cf51796b parent 10cef6029502915bdb3cf0821d425cf9dc30c817 author Paul Jackson Sun, 08 Jan 2006 01:01:46 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:42 -0800 [PATCH] cpuset: better bitmap remap defaults Fix the default behaviour for the remap operators in bitmap, cpumask and nodemask. As previously submitted, the pair of masks defined a map of the positions of the set bits in A to the corresponding bits in B. This is still true. The issue is how to map the other positions, corresponding to the unset (0) bits in A. As previously submitted, they were all mapped to the first set bit position in B, a constant map. When I tried to code per-vma mempolicy rebinding using these remap operators, I realized this was wrong. This patch changes the default to map all the unset bit positions in A to the same positions in B, the identity map. For example, if A has bits 4-7 set, and B has bits 9-12 set, then the map defined by the pair maps each bit position in the first 32 bits as follows: 0 ==> 0 ... 3 ==> 3 4 ==> 9 ... 7 ==> 12 8 ==> 8 9 ==> 9 ... 31 ==> 31 This now corresponds to the typical behaviour desired when migrating pages and policies from one cpuset to another. The pages on nodes within the original cpuset, and the references in memory policies to nodes within the original cpuset, are migrated to the corresponding cpuset-relative nodes in the destination cpuset. Other pages and node references are left untouched. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 10cef6029502915bdb3cf0821d425cf9dc30c817 tree 2c9dfef95d58b64dcf4cdf3c32b18164928b438e parent 30992c97ae9d01b17374fbfab76a869fb4bba500 author Matt Mackall Sun, 08 Jan 2006 01:01:45 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:41 -0800 [PATCH] slob: introduce the SLOB allocator configurable replacement for slab allocator This adds a CONFIG_SLAB option under CONFIG_EMBEDDED. When CONFIG_SLAB is disabled, the kernel falls back to using the 'SLOB' allocator. SLOB is a traditional K&R/UNIX allocator with a SLAB emulation layer, similar to the original Linux kmalloc allocator that SLAB replaced. It's signicantly smaller code and is more memory efficient. But like all similar allocators, it scales poorly and suffers from fragmentation more than SLAB, so it's only appropriate for small systems. It's been tested extensively in the Linux-tiny tree. I've also stress-tested it with make -j 8 compiles on a 3G SMP+PREEMPT box (not recommended). Here's a comparison for otherwise identical builds, showing SLOB saving nearly half a megabyte of RAM: $ size vmlinux* text data bss dec hex filename 3336372 529360 190812 4056544 3de5e0 vmlinux-slab 3323208 527948 190684 4041840 3dac70 vmlinux-slob $ size mm/{slab,slob}.o text data bss dec hex filename 13221 752 48 14021 36c5 mm/slab.o 1896 52 8 1956 7a4 mm/slob.o /proc/meminfo: SLAB SLOB delta MemTotal: 27964 kB 27980 kB +16 kB MemFree: 24596 kB 25092 kB +496 kB Buffers: 36 kB 36 kB 0 kB Cached: 1188 kB 1188 kB 0 kB SwapCached: 0 kB 0 kB 0 kB Active: 608 kB 600 kB -8 kB Inactive: 808 kB 812 kB +4 kB HighTotal: 0 kB 0 kB 0 kB HighFree: 0 kB 0 kB 0 kB LowTotal: 27964 kB 27980 kB +16 kB LowFree: 24596 kB 25092 kB +496 kB SwapTotal: 0 kB 0 kB 0 kB SwapFree: 0 kB 0 kB 0 kB Dirty: 4 kB 12 kB +8 kB Writeback: 0 kB 0 kB 0 kB Mapped: 560 kB 556 kB -4 kB Slab: 1756 kB 0 kB -1756 kB CommitLimit: 13980 kB 13988 kB +8 kB Committed_AS: 4208 kB 4208 kB 0 kB PageTables: 28 kB 28 kB 0 kB VmallocTotal: 1007312 kB 1007312 kB 0 kB VmallocUsed: 48 kB 48 kB 0 kB VmallocChunk: 1007264 kB 1007264 kB 0 kB (this work has been sponsored in part by CELF) From: Ingo Molnar Fix 32-bitness bugs in mm/slob.c. Signed-off-by: Matt Mackall Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30992c97ae9d01b17374fbfab76a869fb4bba500 tree b1ea66bec56fabd80571696d0b081423dcab2340 parent 50dd26ba0947aa653f0e42897aad7a4adce4e620 author Matt Mackall Sun, 08 Jan 2006 01:01:43 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:41 -0800 [PATCH] slob: introduce mm/util.c for shared functions Add mm/util.c for functions common between SLAB and SLOB. Signed-off-by: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 50dd26ba0947aa653f0e42897aad7a4adce4e620 tree c9d0e0b03024ceb4098311a1fe557038c6497089 parent a5f51c966720fa519c6ce69b169107dbc5769cdf author Ingo Molnar Sun, 08 Jan 2006 01:01:42 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:41 -0800 [PATCH] DEBUG_SLAB depends on SLAB Make DEBUG_SLAB depend on SLAB. Signed-off-by: Ingo Molnar Cc: Matt Mackall Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a5f51c966720fa519c6ce69b169107dbc5769cdf tree 084928ba54750ba3959e376988b503f02ca698b8 parent d5274261ea46f0aae93820fe36628249120d2f75 author Nick Piggin Sun, 08 Jan 2006 01:01:41 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:41 -0800 [PATCH] radix-tree: reduce tree height upon partial truncation Shrink the height of a radix tree when it is partially truncated - we only do shrinkage of full truncation at present. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5274261ea46f0aae93820fe36628249120d2f75 tree e95c41295270c55ef27a3534894f066f31719ecc parent 6e954b9e90c3a7157c0c1457dd3919e2a1345d23 author Nick Piggin Sun, 08 Jan 2006 01:01:41 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:41 -0800 [PATCH] radix tree: early termination of tag clearing Correctly determine the tags to be cleared in radix_tree_delete() so we don't keep moving up the tree clearing tags that we don't need to. For example, if a tag is simply not set in the deleted item, nor anywhere up the tree, radix_tree_delete() would attempt to clear it up the entire height of the tree. Also, tag_set() was made conditional so as not to dirty too many cachelines high up in the radix tree. Instead, put this logic into radix_tree_tag_set(). Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e954b9e90c3a7157c0c1457dd3919e2a1345d23 tree 61812f63c0b9a354fb9e7f8e9c11cb350afc4c4f parent d4829cd5b4bd1ea58ba1bebad44d562f4027c290 author Nick Piggin Sun, 08 Jan 2006 01:01:40 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:41 -0800 [PATCH] radix tree: code consolidation Introduce helper any_tag_set() rather than repeat the same code sequence 4 times. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d4829cd5b4bd1ea58ba1bebad44d562f4027c290 tree c60f85fdb0233d7a8574b203aeac96d7570c583f parent 2d89c929078588aa9b9c674ef03ee9aa816b59b8 author Paul E. McKenney Sun, 08 Jan 2006 01:01:39 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:40 -0800 [PATCH] remove get_task_struct_rcu() The latest set of signal-RCU patches does not use get_task_struct_rcu(). Attached is a patch that removes it. Signed-off-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d89c929078588aa9b9c674ef03ee9aa816b59b8 tree 129971e5c75545c53236be294f521ec6e7021a2d parent e56d090310d7625ecb43a1eeebd479f04affb48b author Paul E. McKenney Sun, 08 Jan 2006 01:01:38 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:40 -0800 [PATCH] Simpler signal-exit concurrency handling Some simplification in checking signal delivery against concurrent exit. Instead of using get_task_struct_rcu(), which increments the task_struct reference count, check the reference count after acquiring sighand lock. Signed-off-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e56d090310d7625ecb43a1eeebd479f04affb48b tree 2f479215dff4a2d8f3a9ed85200a5bc4f51534be parent 4369ef3c3e9d3bd9b879580678778f558d481e90 author Ingo Molnar Sun, 08 Jan 2006 01:01:37 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:40 -0800 [PATCH] RCU signal handling RCU tasklist_lock and RCU signal handling: send signals RCU-read-locked instead of tasklist_lock read-locked. This is a scalability improvement on SMP and a preemption-latency improvement under PREEMPT_RCU. Signed-off-by: Paul E. McKenney Signed-off-by: Ingo Molnar Acked-by: William Irwin Cc: Roland McGrath Cc: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4369ef3c3e9d3bd9b879580678778f558d481e90 tree 32b443b32c6de858c419f75dad07c46028359afe parent eafbaa94691f6a1fa67c3b076caa3ce4e2920100 author Paul E. McKenney Sun, 08 Jan 2006 01:01:35 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:40 -0800 [PATCH] Make RCU task_struct safe for oprofile Applying RCU to the task structure broke oprofile, because free_task_notify() can now be called from softirq. This means that the task_mortuary lock must be acquired with irq disabled in order to avoid intermittent self-deadlock. Since irq is now disabled, the critical section within process_task_mortuary() has been restructured to be O(1) in order to maximize scalability and minimize realtime latency degradation. Kudos to Wu Fengguang for finding this problem! CC: Wu Fengguang Cc: Philippe Elie Cc: John Levon Signed-off-by: "Paul E. McKenney" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eafbaa94691f6a1fa67c3b076caa3ce4e2920100 tree 3534b420ba7f1465265277b99b0b5f282d38facb parent c0a689d05d8dc1580aeb87b2959e3de8c57f5f77 author Adrian Bunk Sun, 08 Jan 2006 01:01:34 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:40 -0800 [PATCH] uml: prevent MODE_SKAS=n and MODE_TT=n If MODE_TT=n, MODE_SKAS must be y. Signed-off-by: Adrian Bunk Acked-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c0a689d05d8dc1580aeb87b2959e3de8c57f5f77 tree 05e8b4f18f90a9b2b6cebed72cb668808c94cafb parent f8aaeacec159f2d9003872781fa4d49659e347fb author Jeff Dike Sun, 08 Jan 2006 01:01:33 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:40 -0800 [PATCH] uml: whitespace cleanup This fixes some mangled whitespace added by the earlier trap_user.c patch. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f8aaeacec159f2d9003872781fa4d49659e347fb tree f59dc7ae8fccc41e2ded098182a146086c6e2239 parent c66fdd5e324392584c6f11de65cfe24b0e2d9303 author Jeff Dike Sun, 08 Jan 2006 01:01:32 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:39 -0800 [PATCH] consolidate asm/futex.h Most of the architectures have the same asm/futex.h. This consolidates them into asm-generic, with the arches including it from their own asm/futex.h. In the case of UML, this reverts the old broken futex.h and goes back to using the same one as almost everyone else. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c66fdd5e324392584c6f11de65cfe24b0e2d9303 tree f05cb784406c0a0cb24d291e515dfcaa3e4b6464 parent ea2ba7dc3dd3f85034e6da6abacc813d723a2ad5 author Gennady Sharapov Sun, 08 Jan 2006 01:01:32 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:39 -0800 [PATCH] uml: merge trap_user.c and trap_kern.c The serial UML OS-abstraction layer patch (um/kernel dir). This joins trap_user.c and trap_kernel.c files. Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ea2ba7dc3dd3f85034e6da6abacc813d723a2ad5 tree 56f3d2a22d3ba3d91042d9a536b659b9c967dc03 parent 0805d89c151b4800eade4c2f50d39c5253d7d054 author Gennady Sharapov Sun, 08 Jan 2006 01:01:31 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:39 -0800 [PATCH] uml: move libc-dependent code from trap_user.c The serial UML OS-abstraction layer patch (um/kernel dir). This moves all systemcalls from trap_user.c file under os-Linux dir Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0805d89c151b4800eade4c2f50d39c5253d7d054 tree 3ff8a48973e266f5e9eccf6aa38c80282aef12ca parent b2de464f7f0006bec162559a8db161869d32ee93 author Gennady Sharapov Sun, 08 Jan 2006 01:01:29 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:39 -0800 [PATCH] uml: move libc-dependent code from signal_user.c The serial UML OS-abstraction layer patch (um/kernel dir). This moves all systemcalls from signal_user.c file under os-Linux dir Signed-off-by: Gennady Sharapov Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b2de464f7f0006bec162559a8db161869d32ee93 tree 7770b8cff75fc64ad08607897484bf1128bea531 parent 1fd73c6b6737b7e6eacac1b00dac16e7540c3cb1 author Woody Suwalski Sun, 08 Jan 2006 01:01:29 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:39 -0800 [PATCH] ARM: Netwinder ds1620 driver needs an export to be built as module ds1620 module is using gpio_read symbol, so works only if "built-in" symbol needs to be exported from the kernel image Signed-off-by: Woody Suwalski Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1fd73c6b6737b7e6eacac1b00dac16e7540c3cb1 tree e66dbe34118b289c6f89a23764e355ea62fa2c62 parent 22fc6eccbf4ce4eb6265e6ada7b50a7b9cc57d05 author Ravikiran G Thirumalai Sun, 08 Jan 2006 01:01:28 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:39 -0800 [PATCH] Kill L1_CACHE_SHIFT_MAX Kill L1_CACHE_SHIFT from all arches. Since L1_CACHE_SHIFT_MAX is not used anymore with the introduction of INTERNODE_CACHE, kill L1_CACHE_SHIFT_MAX. Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 22fc6eccbf4ce4eb6265e6ada7b50a7b9cc57d05 tree 3887dc6f1eeb658d773be037971b98d6f5fb3dd7 parent 6d524aed1f50b2b1d5b4ad5a4e2fe3f38106d0a6 author Ravikiran G Thirumalai Sun, 08 Jan 2006 01:01:27 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:38 -0800 [PATCH] Change maxaligned_in_smp alignemnt macros to internodealigned_in_smp macros ____cacheline_maxaligned_in_smp is currently used to align critical structures and avoid false sharing. It uses per-arch L1_CACHE_SHIFT_MAX and people find L1_CACHE_SHIFT_MAX useless. However, we have been using ____cacheline_maxaligned_in_smp to align structures on the internode cacheline size. As per Andi's suggestion, following patch kills ____cacheline_maxaligned_in_smp and introduces INTERNODE_CACHE_SHIFT, which defaults to L1_CACHE_SHIFT for all arches. Arches needing L3/Internode cacheline alignment can define INTERNODE_CACHE_SHIFT in the arch asm/cache.h. Patch replaces ____cacheline_maxaligned_in_smp with ____cacheline_internodealigned_in_smp With this patch, L1_CACHE_SHIFT_MAX can be killed Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d524aed1f50b2b1d5b4ad5a4e2fe3f38106d0a6 tree 8b7e5fda1475286379e4cb4b18dc9fdad87888ca parent 2087ff3ec56eba9bccd3b3a9d4d42670b1543f5d author David Howells Sun, 08 Jan 2006 01:01:26 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:38 -0800 [PATCH] frv: fix uninitialised variable in serverworks driver Fix an uninitialised variable warning in the serverworks driver. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2087ff3ec56eba9bccd3b3a9d4d42670b1543f5d tree 10c0604f610a583a6ad7077453799a15e5400cb5 parent 41be6aef38c08f1f85ac1c4bd8191b0d1ec61b4c author David Howells Sun, 08 Jan 2006 01:01:25 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:38 -0800 [PATCH] frv: fix uninitialised variable in atm nicstar driver Fix an uninitialised variable warning in the atm nicstar driver. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 41be6aef38c08f1f85ac1c4bd8191b0d1ec61b4c tree 50c3cca13c3c069fb2061bcf324ff553128c6700 parent 5c15d41bab185431a9a28982b5aaac251dde4556 author David Howells Sun, 08 Jan 2006 01:01:25 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:38 -0800 [PATCH] frv: miscellaneous changes Fix a number of miscellanous items: (1) Declare lock sections in the linker script. (2) Recurse in the correct manner in the arch makefile. (3) asm/bug.h requires asm/linkage.h to be included first. One C file puts asm/bug.h first. (4) Add an empty RTC header file to avoid missing header file errors. (5) sg_dma_address() should use the dma_address member of a scatter list. (6) Add trivial pci_unmap support. (7) Add pgprot_noncached() (8) Discard u_quad_t. (9) Use ~0UL rather than ULONG_MAX in unistd.h in case the latter isn't declared. (10) Add an empty VGA header file to avoid missing header file errors. (11) Add an XOR header file to use the generic XOR stuff. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5c15d41bab185431a9a28982b5aaac251dde4556 tree 5cc009ca5a0822f32f73961556a0a4401a38e8c9 parent f8aec7573b87d2bc09cafab459476953353d2efa author David Howells Sun, 08 Jan 2006 01:01:24 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:38 -0800 [PATCH] frv: make get_user macro cast pointers Make the get_user macro cast the source pointer to an appropriate type for the specified size. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f8aec7573b87d2bc09cafab459476953353d2efa tree d2d988ebed735c059242181e54d3407b37dae93f parent 7a758313905f8b085b4591e8838626274e88b969 author David Howells Sun, 08 Jan 2006 01:01:23 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:38 -0800 [PATCH] frv: force serial driver inclusion Force the 8230 serial driver to be built in if the on-CPU UARTs are to be used. It can't be used as a module because the arch setup needs to call into it. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7a758313905f8b085b4591e8838626274e88b969 tree 168dec8dfc40a5c01fe2d9ad3920e1f7f6238fee parent a2a88f88782e8815cafa22f2b9e22234b9a61d0a author David Howells Sun, 08 Jan 2006 01:01:22 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:37 -0800 [PATCH] frv: fix PCMCIA configuration Fix PCMCIA configuration for FRV by including the stock PCMCIA configuration description file. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a2a88f88782e8815cafa22f2b9e22234b9a61d0a tree b5f949e476fecf756adda75abf25b5e2a8357ce0 parent 00d76710c253341b1e84795923e59ccdb099628f author David Howells Sun, 08 Jan 2006 01:01:22 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:37 -0800 [PATCH] frv: add pci_iomap Implement pci_iomap() for FRV. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 00d76710c253341b1e84795923e59ccdb099628f tree 0865a6f51fc6034a40dc7e35fad882b7e181e0a1 parent a90a72c85fb202d0b172da27d8df2579b6591783 author David Howells Sun, 08 Jan 2006 01:01:21 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:37 -0800 [PATCH] frv: add module support stubs Add stubs for FRV module support. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a90a72c85fb202d0b172da27d8df2579b6591783 tree 6876226fe257b0f191031492d83714f000a78d25 parent 018b8d12bc85f8fb332239b11d919ea0724c49a4 author David Howells Sun, 08 Jan 2006 01:01:20 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:36 -0800 [PATCH] frv: supply various missing I/O access primitives Supply various I/O access primitives that are missing for the FRV arch: (*) mmiowb() (*) read*_relaxed() (*) ioport_*map() (*) ioread*(), iowrite*(), ioread*_rep() and iowrite*_rep() (*) pci_io*map() (*) check_signature() The patch also makes __is_PCI_addr() more efficient. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 018b8d12bc85f8fb332239b11d919ea0724c49a4 tree 88e1cfa3540e09df74ba0fcc82fad6af8a892b0c parent 402344012ebe696d9353bbf056889ddaaec83079 author David Howells Sun, 08 Jan 2006 01:01:19 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:36 -0800 [PATCH] frv: support module exception tables Fix the exception table handling so that modules exceptions are dealt with. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 402344012ebe696d9353bbf056889ddaaec83079 tree 4a4072bdfe80be4c565d01a9188ef5da3a31e19a parent 8369ce4cfe18decc3ea0afcf91e67c665479c78e author David Howells Sun, 08 Jan 2006 01:01:19 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:36 -0800 [PATCH] frv: implement and export various things required by modules Export a number of features required to build all the modules. It also implements the following simple features: (*) csum_partial_copy_from_user() for MMU as well as no-MMU. (*) __ucmpdi2(). so that they can be exported too. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8369ce4cfe18decc3ea0afcf91e67c665479c78e tree bd39d51bde14f27c5c315c8ff38a81af2f38afe4 parent 2fa9e7e2dce6aafecc1890461bdc00d78897be8b author David Howells Sun, 08 Jan 2006 01:01:18 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:36 -0800 [PATCH] frv: drop unsupported debugging features Drop support for debugging features that aren't supported on FRV: (*) EARLY_PRINTK The on-chip UARTs are set up early enough that this isn't required, and VGA support isn't available. There's also a gdbstub available. (*) DEBUG_PAGEALLOC This can't be easily be done since we use huge static mappings to cover the kernel, not pages. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2fa9e7e2dce6aafecc1890461bdc00d78897be8b tree ea17c2801b5f9b59027641cb1aebc87d83397363 parent 2919b51075b3906c2f476e5a932244af1947bf80 author David Howells Sun, 08 Jan 2006 01:01:17 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:36 -0800 [PATCH] frv: drop 8/16-bit xchg and cmpxchg Drop support for 8-bit and 16-bit xchg and cmpxchg emulation and implements 32-bit xchg with the SWAP/SWAPI instruction. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2919b51075b3906c2f476e5a932244af1947bf80 tree 6dabc37140a11d21f7bdc5a77cbec3bedc3588ef parent 277cb103e3d7b31b8f4941b6a495b1b80236b05c author David Howells Sun, 08 Jan 2006 01:01:16 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:13:36 -0800 [PATCH] frv: suppress configuration of certain features for FRV Suppress configuration of certain features for the FRV arch as they can't be built for FRV at the moment: (*) RTC (*) HISAX_* (*) PARPORT_PC (*) VGA_CONSOLE (*) BINFMT_ELF Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88ced0314938814e1772b4d0d7ab20c52e4472b6 tree 3e06de882c0bf5706ee7a8994e06eb8c9ed3feca parent e1333803c3a8fb167ba67ffc5540dbb53fa7deb3 author Arnd Bergmann Fri, 16 Dec 2005 22:43:46 +0100 committer Paul Mackerras Mon, 09 Jan 2006 15:13:08 +1100 [PATCH] powerpc: sanitize header files for user space includes include/asm-ppc/ had #ifdef __KERNEL__ in all header files that are not meant for use by user space, include/asm-powerpc does not have this yet. This patch gets us a lot closer there. There are a few cases where I was not sure, so I left them out. I have verified that no CONFIG_* symbols are used outside of __KERNEL__ any more and that there are no obvious compile errors when including any of the headers in user space libraries. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 277cb103e3d7b31b8f4941b6a495b1b80236b05c tree 3a0f4bb2e2342fb41425301fbcb4b711a9d179e4 parent 37610ff3cb63f59b89370681ff780687d8a7bed3 author Lennert Buytenhek Sun, 08 Jan 2006 01:01:14 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:46 -0800 [PATCH] cs89x0: fix up after pnx0105 Kconfig symbol renaming The Kconfig symbol for pnx0105 was recently renamed to ARCH_PNX010X. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 37610ff3cb63f59b89370681ff780687d8a7bed3 tree 3bc3e49f946cb0baed2a0dcdcc0ac05ad2471d4b parent 084f746a01ca026920e388e76e913cc7a26d5a3f author Lennert Buytenhek Sun, 08 Jan 2006 01:01:13 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:46 -0800 [PATCH] fix Kconfig depends for cs89x0 (PNX010X support) PNX010X support for CS89x0 should be conditional on NET_PCI, as it is an 'on board controller' and NET_PCI includes that category of NICs. Since ARCH_PNX0105 was recently changed to ARCH_PNX010X, incorporate that change as well while we're at it. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 084f746a01ca026920e388e76e913cc7a26d5a3f tree 8eb430502c39b4398bb162e80b012cc659fc4eee parent 3b68d70dffe255e7681d5725d96bc2b92a24bb9d author Lennert Buytenhek Sun, 08 Jan 2006 01:01:12 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:46 -0800 [PATCH] cs89x0: switch {in,out}sw to {read,write}words Implement readwords/writewords that use readword/writeword, and switch the rest of the driver over to use these. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b68d70dffe255e7681d5725d96bc2b92a24bb9d tree 0f311381f9d39e10360431cb57c94b7bcae62727 parent 3eaa5e7dcce0653d2bfd2ab85a623687da49f8d5 author Lennert Buytenhek Sun, 08 Jan 2006 01:01:11 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:45 -0800 [PATCH] cs89x0: cleanly implement ixdp2x01 and pnx0501 support Implement suitable versions of the readword/writeword macros for ixdp2x01 and pnx0501. Handle the 32-bit spacing of the registers in these functions instead of in the header file. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3eaa5e7dcce0653d2bfd2ab85a623687da49f8d5 tree 92f8471f9776088acec5db6efb7fe9158446a583 parent 0d5affcfe23ade8c4c01154e7e381e2a9a916399 author Lennert Buytenhek Sun, 08 Jan 2006 01:01:10 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:45 -0800 [PATCH] cs89x0: make {read,write}reg use {read,write}word Make readreg/writereg use readword/writeword. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0d5affcfe23ade8c4c01154e7e381e2a9a916399 tree ba1e07c7e7ade464c79fa76681f5883136333608 parent fc8c7d79b117f7a5b17640bf657d95afe4025bb8 author Lennert Buytenhek Sun, 08 Jan 2006 01:01:09 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:45 -0800 [PATCH] cs89x0: swap {read,write}reg and {read,write}word Reverse the order of readreg/writereg and readword/writeword in the file, so that we can make readreg/writereg use readword/writeword. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fc8c7d79b117f7a5b17640bf657d95afe4025bb8 tree 15255d30ca5e97793abbb8fc5bef83b8eb6495c2 parent 974dffc2dd72d499a3ff150f61c8025b097a2c34 author Lennert Buytenhek Sun, 08 Jan 2006 01:01:08 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:45 -0800 [PATCH] cs89x0: convert {inw,outw} calls to {read,write}word Switch all occurences of inw/outw in the driver over to readword/writeword. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 974dffc2dd72d499a3ff150f61c8025b097a2c34 tree 17b4a4890466dd8f67cd5163030c6f9675d3adb7 parent 2f659f462d2ab519068d0e2bb677d7a700decb8d author Lennert Buytenhek Sun, 08 Jan 2006 01:01:06 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:45 -0800 [PATCH] cs89x0: make {read,write}word take base_addr readword() and writeword() take a 'struct net_device *' and deref its ->base_addr member. Make them take the base_addr directly instead, so that we can switch the other occurences of inw/outw in the file over to readword/writeword as well. Signed-off-by: Lennert Buytenhek Cc: dmitry pervushin Cc: Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2f659f462d2ab519068d0e2bb677d7a700decb8d tree de65a0b6151880ef5d0b06efd949e32629a2dfd5 parent 6ce3c4c0ff62ca6391019b7832fb41a7f28b9e26 author Kirill Korotaev Sun, 08 Jan 2006 01:01:05 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:45 -0800 [PATCH] Optimise oom kill of current task When oom_killer kills current there's no need to call schedule_timeout_interruptible() since task must die ASAP. Signed-Off-By: Pavel Emelianov Signed-Off-By: Kirill Korotaev Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ce3c4c0ff62ca6391019b7832fb41a7f28b9e26 tree 44801fafc41a45368de7a8e79306d57a04735f1d parent 48fce3429df84a94766fbbc845fa8450d0715b48 author Christoph Lameter Sun, 08 Jan 2006 01:01:04 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:44 -0800 [PATCH] Move page migration related functions near do_migrate_pages() Group page migration functions in mempolicy.c Add a forward declaration for migrate_page_add (like gather_stats()) and use our new found mobility to group all page migration related function around do_migrate_pages(). Signed-off-by: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 48fce3429df84a94766fbbc845fa8450d0715b48 tree 4458b95a0ef8a1896049415a0e3fc8a0e89d340a parent 132beacf9785d2e6e8aecb59aa078f3ca5668fa6 author Christoph Lameter Sun, 08 Jan 2006 01:01:03 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:44 -0800 [PATCH] mempolicies: unexport get_vma_policy() Since the numa_maps functionality is now in mempolicy.c we no longer need to export get_vma_policy(). Signed-off-by: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 132beacf9785d2e6e8aecb59aa078f3ca5668fa6 tree 7b1274279448e4fde20489b7572455ef93bc4c3d parent 1a75a6c825c17249ca49f050a872a04ce0997ce3 author Christoph Lameter Sun, 08 Jan 2006 01:01:02 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:44 -0800 [PATCH] Drop page table lock before calling migrate_page_add() migrate_page_add cannot be called with a spinlock held (calls isolate_lru_page which calles schedule_on_each_cpu). Drop ptl lock in check_pte_range before calling migrate_page_add(). Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1a75a6c825c17249ca49f050a872a04ce0997ce3 tree 2ca8fc6513a20e5b4bec67686323ce1f5c8e237c parent 38e35860dbe6197a4b42eb6e8b47da940b7695dd author Christoph Lameter Sun, 08 Jan 2006 01:01:02 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:44 -0800 [PATCH] Fold numa_maps into mempolicies.c First discussed at http://marc.theaimsgroup.com/?t=113149255100001&r=1&w=2 - Use the check_range() in mempolicy.c to gather statistics. - Improve the numa_maps code in general and fix some comments. Signed-off-by: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 38e35860dbe6197a4b42eb6e8b47da940b7695dd tree 2794681eb62c4bd84e186693df265c9f1a0b28f4 parent ef2bf0dc8675e14cf8cba3b7fb9f48d72640a70e author Christoph Lameter Sun, 08 Jan 2006 01:01:01 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:44 -0800 [PATCH] mempolicies: private pointer in check_range and MPOL_MF_INVERT This was was first posted at http://marc.theaimsgroup.com/?l=linux-mm&m=113149240227584&w=2 (Part of this functionality is also contained in the direct migration pathset. The functionality here is more generic and independent of that patchset.) - Add internal flags MPOL_MF_INVERT to control check_range() behavior. - Replace the pagelist passed through by check_range by a general private pointer that may be used for other purposes. (The following patches will use that to merge numa_maps into mempolicy.c and to better group the page migration code in the policy layer) - Improve some comments. Signed-off-by: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef2bf0dc8675e14cf8cba3b7fb9f48d72640a70e tree 6ef3afba5ca1929cc982efad092ffae62233b813 parent cd105df4590c89837a1c300843238148cfef9b5f author Dave Jones Sun, 08 Jan 2006 01:01:00 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:44 -0800 [PATCH] rmap: additional diagnostics in page_remove_rmap() We seem to be hitting this assertion failure too often for it to be hardware bugs. Cc: Hugh Dickins Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cd105df4590c89837a1c300843238148cfef9b5f tree bea54d8f24ad97d4af5fda6baac5711fa524af0e parent 152194aaa6266d71dfee57882a23def339ef17a4 author Tobias Klauser Sun, 08 Jan 2006 01:00:59 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:43 -0800 [PATCH] mm: clean up local variables Clean up a local variable with the same name as a variable in a larger block. Also move a variable into the block where it's actually used. Spotted by http://linuxicc.sourceforge.net/ Signed-off-by: Tobias Klauser Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 152194aaa6266d71dfee57882a23def339ef17a4 tree 9af269a9f4c14e549c719207b0856da32ddec746 parent aea47ff363c15b0be5fc27ed991b1fdee338f0a7 author Avishay Traeger Sun, 08 Jan 2006 01:00:58 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:43 -0800 [PATCH] set_page_count() macro safety Fix set_page_count() macro to handle complex arguments. Signed-off-by: Avishay Traeger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aea47ff363c15b0be5fc27ed991b1fdee338f0a7 tree 0932af1adfcf795fe8793ce24eb338e832d5fa2c parent 45b07ef31d1182d2cfde7711327e3afb268bb1ac author Christoph Lameter Sun, 08 Jan 2006 01:00:57 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:43 -0800 [PATCH] mm: make hugepages obey cpusets. See http://marc.theaimsgroup.com/?l=linux-kernel&m=113167000201265&w=2 http://marc.theaimsgroup.com/?l=linux-mm&m=113167267527312&w=2 Make hugepages obey cpusets. Signed-off-by: Christoph Lameter Acked-by: William Irwin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 45b07ef31d1182d2cfde7711327e3afb268bb1ac tree 3bf820531f920b43d4ed963643b1f565c82bcaa4 parent d0d963281ccb22e6f339bfdd75c6b2e31351929f author Paul Jackson Sun, 08 Jan 2006 01:00:56 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:43 -0800 [PATCH] cpusets: swap migration interface Add a boolean "memory_migrate" to each cpuset, represented by a file containing "0" or "1" in each directory below /dev/cpuset. It defaults to false (file contains "0"). It can be set true by writing "1" to the file. If true, then anytime that a task is attached to the cpuset so marked, the pages of that task will be moved to that cpuset, preserving, to the extent practical, the cpuset-relative placement of the pages. Also anytime that a cpuset so marked has its memory placement changed (by writing to its "mems" file), the tasks in that cpuset will have their pages moved to the cpusets new nodes, preserving, to the extent practical, the cpuset-relative placement of the moved pages. Signed-off-by: Paul Jackson Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d0d963281ccb22e6f339bfdd75c6b2e31351929f tree ddeb3d1cf73675d71b21be8893b16cf5014c1bc5 parent d498471133ff1f9586a06820beaeebc575fe2814 author Christoph Lameter Sun, 08 Jan 2006 01:00:55 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:42 -0800 [PATCH] SwapMig: Switch error handling in migrate_pages to use -Exx Use -Exxx instead of numeric return codes and cleanup the code in migrate_pages() using -Exx error codes. Consolidate successful migration handling Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d498471133ff1f9586a06820beaeebc575fe2814 tree c7cde93441692e3b32d83dfbf85858ab2d85e481 parent ee27497df36823f2793212cad0997c044eb0e1eb author Christoph Lameter Sun, 08 Jan 2006 01:00:55 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:42 -0800 [PATCH] SwapMig: Extend parameters for migrate_pages() Extend the parameters of migrate_pages() to allow the caller control over the fate of successfully migrated or impossible to migrate pages. Swap migration and direct migration will have the same interface after this patch so that patches can be independently applied to the policy layer and the core migration code. Signed-off-by: Christoph Lameter Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ee27497df36823f2793212cad0997c044eb0e1eb tree 854dded3b0277b0962b3c9a39c9cdb446654154b parent 1480a540c98525640174a7eadd712378fcd6fd63 author Christoph Lameter Sun, 08 Jan 2006 01:00:54 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:42 -0800 [PATCH] SwapMig: Drop unused pages immediately Drop unused pages immediately If a page is encountered that is only referenced by the migration code then there is no reason to swap or migrate the page. Release the page by calling move_to_lru(). Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1480a540c98525640174a7eadd712378fcd6fd63 tree 28f2cc0aa819ff0aed30dd85bb16177d4a73002b parent 8419c3181086c86664e8246bc997afc2e4ffba4f author Christoph Lameter Sun, 08 Jan 2006 01:00:53 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:42 -0800 [PATCH] SwapMig: add_to_swap() avoid atomic allocations Add gfp_mask to add_to_swap add_to_swap does allocations with GFP_ATOMIC in order not to interfere with swapping. During migration we may have use add_to_swap extensively which may lead to out of memory errors. This patch makes add_to_swap take a parameter that specifies the gfp mask. The page migration code can then make add_to_swap use GFP_KERNEL. Signed-off-by: Hirokazu Takahashi Signed-off-by: Dave Hansen Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8419c3181086c86664e8246bc997afc2e4ffba4f tree 25938e6f99bdaaffe8f6d357582eca56692b091c parent 39743889aaf76725152f16aa90ca3c45f6d52da3 author Christoph Lameter Sun, 08 Jan 2006 01:00:52 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:42 -0800 [PATCH] SwapMig: CONFIG_MIGRATION fixes Move move_to_lru, putback_lru_pages and isolate_lru in section surrounded by CONFIG_MIGRATION saving some codesize for single processor kernels. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 39743889aaf76725152f16aa90ca3c45f6d52da3 tree 2a6f658d03dbbd9428934c5e030230a4acb6d5e0 parent dc9aa5b9d65fd11b1f5246b46ec610ee8b83c6dd author Christoph Lameter Sun, 08 Jan 2006 01:00:51 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:42 -0800 [PATCH] Swap Migration V5: sys_migrate_pages interface sys_migrate_pages implementation using swap based page migration This is the original API proposed by Ray Bryant in his posts during the first half of 2005 on linux-mm@kvack.org and linux-kernel@vger.kernel.org. The intent of sys_migrate is to migrate memory of a process. A process may have migrated to another node. Memory was allocated optimally for the prior context. sys_migrate_pages allows to shift the memory to the new node. sys_migrate_pages is also useful if the processes available memory nodes have changed through cpuset operations to manually move the processes memory. Paul Jackson is working on an automated mechanism that will allow an automatic migration if the cpuset of a process is changed. However, a user may decide to manually control the migration. This implementation is put into the policy layer since it uses concepts and functions that are also needed for mbind and friends. The patch also provides a do_migrate_pages function that may be useful for cpusets to automatically move memory. sys_migrate_pages does not modify policies in contrast to Ray's implementation. The current code here is based on the swap based page migration capability and thus is not able to preserve the physical layout relative to it containing nodeset (which may be a cpuset). When direct page migration becomes available then the implementation needs to be changed to do a isomorphic move of pages between different nodesets. The current implementation simply evicts all pages in source nodeset that are not in the target nodeset. Patch supports ia64, i386 and x86_64. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dc9aa5b9d65fd11b1f5246b46ec610ee8b83c6dd tree 808da06f0bc8ab5189f1c315a2b99c85a33ed74c parent 7cbe34cf86c673503b177ff47cfa2c7030dabb50 author Christoph Lameter Sun, 08 Jan 2006 01:00:50 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:41 -0800 [PATCH] Swap Migration V5: MPOL_MF_MOVE interface Add page migration support via swap to the NUMA policy layer This patch adds page migration support to the NUMA policy layer. An additional flag MPOL_MF_MOVE is introduced for mbind. If MPOL_MF_MOVE is specified then pages that do not conform to the memory policy will be evicted from memory. When they get pages back in new pages will be allocated following the numa policy. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7cbe34cf86c673503b177ff47cfa2c7030dabb50 tree 9b39d7e8f11fed68242d1cb1f0c85dfcf96e3250 parent 49d2e9cc4544369635cd6f4ef6d5bb0f757079a7 author Christoph Lameter Sun, 08 Jan 2006 01:00:49 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:41 -0800 [PATCH] Swap Migration V5: Add CONFIG_MIGRATION for page migration support Include page migration if the system is NUMA or having a memory model that allows distinct areas of memory (SPARSEMEM, DISCONTIGMEM). And: - Only include lru_add_drain_per_cpu if building for an SMP system. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 49d2e9cc4544369635cd6f4ef6d5bb0f757079a7 tree d8c76c5224b05b812f96424a18b1e9205d90feae parent 930d915252edda7042c944ed3c30194a2f9fe163 author Christoph Lameter Sun, 08 Jan 2006 01:00:48 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:41 -0800 [PATCH] Swap Migration V5: migrate_pages() function This adds the basic page migration function with a minimal implementation that only allows the eviction of pages to swap space. Page eviction and migration may be useful to migrate pages, to suspend programs or for remapping single pages (useful for faulty pages or pages with soft ECC failures) The process is as follows: The function wanting to migrate pages must first build a list of pages to be migrated or evicted and take them off the lru lists via isolate_lru_page(). isolate_lru_page determines that a page is freeable based on the LRU bit set. Then the actual migration or swapout can happen by calling migrate_pages(). migrate_pages does its best to migrate or swapout the pages and does multiple passes over the list. Some pages may only be swappable if they are not dirty. migrate_pages may start writing out dirty pages in the initial passes over the pages. However, migrate_pages may not be able to migrate or evict all pages for a variety of reasons. The remaining pages may be returned to the LRU lists using putback_lru_pages(). Changelog V4->V5: - Use the lru caches to return pages to the LRU Changelog V3->V4: - Restructure code so that applying patches to support full migration does require minimal changes. Rename swapout_pages() to migrate_pages(). Changelog V2->V3: - Extract common code from shrink_list() and swapout_pages() Signed-off-by: Mike Kravetz Signed-off-by: Christoph Lameter Cc: "Michael Kerrisk" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 930d915252edda7042c944ed3c30194a2f9fe163 tree 620452f11a9949943765b7a28e5b919f40f32b12 parent 21eac81f252fe31c3cf64b805a1e8652192f3a3b author Christoph Lameter Sun, 08 Jan 2006 01:00:47 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:41 -0800 [PATCH] Swap Migration V5: PF_SWAPWRITE to allow writing to swap Add PF_SWAPWRITE to control a processes permission to write to swap. - Use PF_SWAPWRITE in may_write_to_queue() instead of checking for kswapd and pdflush - Set PF_SWAPWRITE flag for kswapd and pdflush Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 21eac81f252fe31c3cf64b805a1e8652192f3a3b tree 255662bda67f54ffde484046fd9ab9b0900ab409 parent 15316ba81aee6775d6079fb46c66c801989e7d10 author Christoph Lameter Sun, 08 Jan 2006 01:00:45 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:41 -0800 [PATCH] Swap Migration V5: LRU operations This is the start of the `swap migration' patch series. Swap migration allows the moving of the physical location of pages between nodes in a numa system while the process is running. This means that the virtual addresses that the process sees do not change. However, the system rearranges the physical location of those pages. The main intent of page migration patches here is to reduce the latency of memory access by moving pages near to the processor where the process accessing that memory is running. The patchset allows a process to manually relocate the node on which its pages are located through the MF_MOVE and MF_MOVE_ALL options while setting a new memory policy. The pages of process can also be relocated from another process using the sys_migrate_pages() function call. Requires CAP_SYS_ADMIN. The migrate_pages function call takes two sets of nodes and moves pages of a process that are located on the from nodes to the destination nodes. Manual migration is very useful if for example the scheduler has relocated a process to a processor on a distant node. A batch scheduler or an administrator can detect the situation and move the pages of the process nearer to the new processor. sys_migrate_pages() could be used on non-numa machines as well, to force all of a particualr process's pages out to swap, if someone thinks that's useful. Larger installations usually partition the system using cpusets into sections of nodes. Paul has equipped cpusets with the ability to move pages when a task is moved to another cpuset. This allows automatic control over locality of a process. If a task is moved to a new cpuset then also all its pages are moved with it so that the performance of the process does not sink dramatically (as is the case today). Swap migration works by simply evicting the page. The pages must be faulted back in. The pages are then typically reallocated by the system near the node where the process is executing. For swap migration the destination of the move is controlled by the allocation policy. Cpusets set the allocation policy before calling sys_migrate_pages() in order to move the pages as intended. No allocation policy changes are performed for sys_migrate_pages(). This means that the pages may not faulted in to the specified nodes if no allocation policy was set by other means. The pages will just end up near the node where the fault occurred. There's another patch series in the pipeline which implements "direct migration". The direct migration patchset extends the migration functionality to avoid going through swap. The destination node of the relation is controllable during the actual moving of pages. The crutch of using the allocation policy to relocate is not necessary and the pages are moved directly to the target. Its also faster since swap is not used. And sys_migrate_pages() can then move pages directly to the specified node. Implement functions to isolate pages from the LRU and put them back later. This patch: An earlier implementation was provided by Hirokazu Takahashi and IWAMOTO Toshihiro for the memory hotplug project. From: Magnus This breaks out isolate_lru_page() and putpack_lru_page(). Needed for swap migration. Signed-off-by: Magnus Damm Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 15316ba81aee6775d6079fb46c66c801989e7d10 tree c6190bdcc6e15fd8b5657a5932313e296b475577 parent 48db57f8ff10eb09ab887ccb6150b0da0c7be24e author Christoph Lameter Sun, 08 Jan 2006 01:00:43 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:40 -0800 [PATCH] add schedule_on_each_cpu() swap migration's isolate_lru_page() currently uses an IPI to notify other processors that the lru caches need to be drained if the page cannot be found on the LRU. The IPI interrupt may interrupt a processor that is just processing lru requests and cause a race condition. This patch introduces a new function run_on_each_cpu() that uses the keventd() to run the LRU draining on each processor. Processors disable preemption when dealing the LRU caches (these are per processor) and thus executing LRU draining from another process is safe. Thanks to Lee Schermerhorn for finding this race condition. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 48db57f8ff10eb09ab887ccb6150b0da0c7be24e tree 5c9fba3937bb802aa2944af189aae57b7bf7aa8b parent 23316bc86fd31c5d644a71c398ec41d9fecacec4 author Nick Piggin Sun, 08 Jan 2006 01:00:42 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:40 -0800 [PATCH] mm: free_pages opt Try to streamline free_pages_bulk by ensuring callers don't pass in a 'count' that exceeds the list size. Some cleanups: Rename __free_pages_bulk to __free_one_page. Put the page list manipulation from __free_pages_ok into free_one_page. Make __free_pages_ok static. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 23316bc86fd31c5d644a71c398ec41d9fecacec4 tree 9efc5bbd9dd7c35b6b5fea8ce8215477c2ff43dd parent 8ad4b1fb8205340dba16b63467bb23efc27264d6 author Nick Piggin Sun, 08 Jan 2006 01:00:41 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:40 -0800 [PATCH] mm: cleanup zone_pcp Use zone_pcp everywhere even though NUMA code "knows" the internal details of the zone. Stop other people trying to copy, and it looks nicer. Also, only print the pagesets of online cpus in zoneinfo. Signed-off-by: Nick Piggin Cc: "Seth, Rohit" Cc: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8ad4b1fb8205340dba16b63467bb23efc27264d6 tree 9f5c237ead93976e5454c5da5d3bba350a2419c5 parent 9d0243bca345d5ce25d3f4b74b7facb3a6df1232 author Rohit Seth Sun, 08 Jan 2006 01:00:40 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:40 -0800 [PATCH] Make high and batch sizes of per_cpu_pagelists configurable As recently there has been lot of traffic on the right values for batch and high water marks for per_cpu_pagelists. This patch makes these two variables configurable through /proc interface. A new tunable /proc/sys/vm/percpu_pagelist_fraction is added. This entry controls the fraction of pages at most in each zone that are allocated for each per cpu page list. The min value for this is 8. It means that we don't allow more than 1/8th of pages in each zone to be allocated in any single per_cpu_pagelist. The batch value of each per cpu pagelist is also updated as a result. It is set to pcp->high/4. The upper limit of batch is (PAGE_SHIFT * 8) Signed-off-by: Rohit Seth Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9d0243bca345d5ce25d3f4b74b7facb3a6df1232 tree a3a0a763bf83a483282dc1c3caab587941a98fc2 parent bec6b0c89b234090681a4516e20ac5debe3e7c59 author Andrew Morton Sun, 08 Jan 2006 01:00:39 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:40 -0800 [PATCH] drop-pagecache Add /proc/sys/vm/drop_caches. When written to, this will cause the kernel to discard as much pagecache and/or reclaimable slab objects as it can. THis operation requires root permissions. It won't drop dirty data, so the user should run `sync' first. Caveats: a) Holds inode_lock for exorbitant amounts of time. b) Needs to be taught about NUMA nodes: propagate these all the way through so the discarding can be controlled on a per-node basis. This is a debugging feature: useful for getting consistent results between filesystem benchmarks. We could possibly put it under a config option, but it's less than 300 bytes. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bec6b0c89b234090681a4516e20ac5debe3e7c59 tree 168a4c123e38b08d12b6787c18c4aa032520a48b parent b28a02de8c70d41d6b6ba8911e83ed3ccf2e13f8 author Christoph Lameter Sun, 08 Jan 2006 01:00:38 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:40 -0800 [PATCH] slab: remove nested #ifdef CONFIG_NUMA For some reason there is an #ifdef CONFIG_NUMA within another #ifdef CONFIG_NUMA in the page allocator. Remove innermost #ifdef CONFIG_NUMA Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b28a02de8c70d41d6b6ba8911e83ed3ccf2e13f8 tree dee0feb5d1d9c007d94a9f5d6f3cbf8a83b46b39 parent 4d268eba1187ef66844a6a33b9431e5d0dadd4ad author Pekka Enberg Sun, 08 Jan 2006 01:00:37 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:39 -0800 [PATCH] slab: fix code formatting The slab allocator code is inconsistent in coding style and messy. For this patch, I ran Lindent for mm/slab.c and fixed up goofs by hand. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4d268eba1187ef66844a6a33b9431e5d0dadd4ad tree 575aa29016688a07b2a80132a15cc8b5a5027f60 parent 85289f98ddc13f6cea82c59d6ff78f9d205dfccc author Pekka Enberg Sun, 08 Jan 2006 01:00:36 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:39 -0800 [PATCH] slab: extract slab order calculation to separate function This patch moves the ugly loop that determines the 'optimal' size (page order) of cache slabs from kmem_cache_create() to a separate function and cleans it up a bit. Thanks to Matthew Wilcox for the help with this patch. Signed-off-by: Matthew Dobson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 85289f98ddc13f6cea82c59d6ff78f9d205dfccc tree 84db27aed1783fb1bc780f7ebd3d8cd14bdc90bd parent f9f7500521b25dbf1aba476b81230489ad8e2c4b author Pekka Enberg Sun, 08 Jan 2006 01:00:36 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:39 -0800 [PATCH] slab: extract slabinfo header printing to separate function This patch extracts slabinfo header printing to a separate function print_slabinfo_header() to make s_start() more readable. Signed-off-by: Matthew Dobson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f9f7500521b25dbf1aba476b81230489ad8e2c4b tree f2bf2f64023c4968ac8d08da54b8aaef86354591 parent b792de39d892e06b18ddea85be076bae123d6bf6 author Pekka Enberg Sun, 08 Jan 2006 01:00:33 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:39 -0800 [PATCH] slab: remove unused align parameter from alloc_percpu __alloc_percpu and alloc_percpu both take an 'align' argument which is completely ignored. snmp6_mib_init() in net/ipv6/af_inet6.c attempts to use it, but it will be ignored. Therefore, remove the 'align' argument and fixup the lone caller. Signed-off-by: Matthew Dobson Acked-by: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b792de39d892e06b18ddea85be076bae123d6bf6 tree 6604e19464fa0cce997bdb600074756ab1266fa8 parent 4dab06fa7b6d07ee95c8bba5ddd0840633069159 author Olaf Hering Sun, 08 Jan 2006 01:00:32 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:39 -0800 [PATCH] Fix compilation with CONFIG_MEMORY_HOTPLUG=y and gcc41. Fix compilation with CONFIG_MEMORY_HOTPLUG=y and gcc41. Also remove unneeded declations, add a public function. drivers/base/memory.c:53: error: static declaration of 'register_memory_notifier' follows non-static declaration include/linux/memory.h:85: error: previous declaration of 'register_memory_notifier' was here drivers/base/memory.c:58: error: static declaration of 'unregister_memory_notifier' follows non-static declaration include/linux/memory.h:86: error: previous declaration of 'unregister_memory_notifier' was here drivers/base/memory.c:68: error: static declaration of 'register_memory' follows non-static declaration include/linux/memory.h:73: error: previous declaration of 'register_memory' was here Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4dab06fa7b6d07ee95c8bba5ddd0840633069159 tree 18c54a1af00ec4effc062d67f45dfc3d8bc096ee parent 70c00ba0bbfb583e39b964ebd88620c18aa02c62 author Woody Suwalski Sun, 08 Jan 2006 01:00:31 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:39 -0800 [PATCH] ARM Netwinder watchdog wdt977 update Cleanup for the ARM-only watchdog driver wdt977. This is probably the last update, since we want to merge with w83977f_wdt. Jose Goncalves has ported this driver to i386, so probably we can iron out configuration differences. Signed-off-by: Woody Suwalski Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 70c00ba0bbfb583e39b964ebd88620c18aa02c62 tree 21ea7e57faec02e154ba1e2029a12da94c0829d0 parent 5998bf1ddb5fb236597190b2274d357add63fd7e author Marcelo Tosatti Sun, 08 Jan 2006 01:00:29 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:38 -0800 [PATCH] small hp_sdc_rtc cleanup: use no_llseek Use no_llseek function. Signed-off-by: Marcelo Tosatti Cc: "Brian S. Julin" Acked-by: Vojtech Pavlik Cc: Dmitry Torokhov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5998bf1ddb5fb236597190b2274d357add63fd7e tree ca05dbc0d17957e9d0adcf50f7868eb25cef3921 parent 84c2008af01132c4ca257ed9b595693c611df15d author Andrew Morton Sun, 08 Jan 2006 01:00:29 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:38 -0800 [PATCH] asm-generic/atomic.h needs types.h For BITS_PER_LONG Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 84c2008af01132c4ca257ed9b595693c611df15d tree a93bb1828e5b56ba041f8227ded78c9f04960a76 parent 9f5336e21893fafd232a9a02cfa7588ad153889a author Andrew Morton Sun, 08 Jan 2006 01:00:28 -0800 committer Linus Torvalds Sun, 08 Jan 2006 20:12:38 -0800 [PATCH] revert "mm: page_state fixes" Hugh says: page_alloc_cpu_notify() specifically contains code to /* Add dead cpu's page_states to our own. */ which handles this more efficiently. Cc: Hugh Dickins Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e1333803c3a8fb167ba67ffc5540dbb53fa7deb3 tree 80cf081d8e3eb40d3ad57575c37e5b9272666b2c parent 555d97ac87aef08bb55dff6f05e68fe2987d6f6d author David Gibson Fri, 16 Dec 2005 14:49:25 +1100 committer Paul Mackerras Mon, 09 Jan 2006 15:06:06 +1100 [PATCH] powerpc: Fix iSeries bug in VMALLOCBASE/VMALLOC_START consolidation Oops, forgot to compile the VMALLOCBASE/VMALLOC_START patch on iSeries. VMALLOC_START is defined in pgtable.h whereas previously VMALLOCBASE was previously defined in page.h. lparmap.c needs to be updated appropriately. Booted on iSeries RS64 (now). Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 555d97ac87aef08bb55dff6f05e68fe2987d6f6d tree 7016485d112af04b972dcc749e437a7131424252 parent e5cd040409dc0f8d34a21827d6b74918b3a4fccf author Andy Fleming Thu, 15 Dec 2005 20:02:04 -0600 committer Paul Mackerras Mon, 09 Jan 2006 15:06:03 +1100 [PATCH] powerpc: G4+ oprofile support This patch adds oprofile support for the 7450 and all its multitudinous derivatives. * Added 7450 (and derivatives) support for oprofile * Changed e500 cputable to have oprofile model and cpu_type fields * Added support for classic 32-bit performance monitor interrupt * Cleaned up common powerpc oprofile code to be as common as possible * Cleaned up oprofile_impl.h to reflect 32 bit classic code * Added 32-bit MMCRx bitfield definitions and SPR numbers Signed-off-by: Andy Fleming Signed-off-by: Paul Mackerras commit e5cd040409dc0f8d34a21827d6b74918b3a4fccf tree 086995318a741375df3529e44f55e3ae14406525 parent f2c4583a381c584c8c025048071a120cc9562ded author Kumar Gala Mon, 19 Dec 2005 15:49:07 -0600 committer Paul Mackerras Mon, 09 Jan 2006 15:05:59 +1100 [PATCH] powerpc: Fix compile problem in pci.c for ppc32 pci_address_to_pio is missing a closing curly brace Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit f2c4583a381c584c8c025048071a120cc9562ded tree 53d6a1d30a3be72f021738c97853cff55a800070 parent a04c8780fd234aeeba5e87f7e37beffd05ef21ae author Benjamin Herrenschmidt Thu, 15 Dec 2005 15:00:57 +1100 committer Paul Mackerras Mon, 09 Jan 2006 15:05:56 +1100 [PATCH] powerpc: pci_address_to_pio fix This fixes pci_address_to_pio() to return an unsigned long (to be safe) and fixes a bug in the implementation that caused it to return a bogus IO port number Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit a04c8780fd234aeeba5e87f7e37beffd05ef21ae tree f7536fe6ac9e56d5760539a63430df69dcee320c parent 14c89e7fc84ae55354b8bf12fee1b6d14f259c8a author Kristian Mueller Thu, 15 Dec 2005 12:31:55 +0800 committer Paul Mackerras Mon, 09 Jan 2006 15:05:51 +1100 [PATCH] via-pmu: compile without Power Management support Fix compilation of via-pmu.c without Power Management support. Signed-off-by: Paul Mackerras commit 14c89e7fc84ae55354b8bf12fee1b6d14f259c8a tree 83d6bbd44499d81e927bbe743f1a212ff5d30b51 parent 56c8eaee65d688b526c12dca54a30276335679e5 author David Gibson Wed, 14 Dec 2005 16:08:40 +1100 committer Paul Mackerras Mon, 09 Jan 2006 15:05:47 +1100 [PATCH] powerpc: Replace VMALLOCBASE with VMALLOC_START On ppc64, we independently define VMALLOCBASE and VMALLOC_START to be the same thing: the start of the vmalloc() area at 0xd000000000000000. VMALLOC_START is used much more widely, including in generic code, so this patch gets rid of the extraneous VMALLOCBASE. This does require moving the definitions of region IDs from page_64.h to pgtable.h, but they don't clearly belong in the former rather than the latter, anyway. While we're moving them, clean up the definitions of the REGION_IDs: - Abolish REGION_SIZE, it was only used once, to define REGION_MASK anyway - Define the specific region ids in terms of the REGION_ID() macro. - Define KERNEL_REGION_ID in terms of PAGE_OFFSET rather than KERNELBASE. It amounts to the same thing, but conceptually this is about the region of the linear mapping (which starts at PAGE_OFFSET) rather than of the kernel text itself (which is at KERNELBASE). Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 56c8eaee65d688b526c12dca54a30276335679e5 tree 548a09c91edd507a9e8341d43edd67b215f7f9b6 parent 1beb6a7d6cbed3ac03500ce9b5b9bb632c512039 author Benjamin Herrenschmidt Mon, 19 Dec 2005 16:49:07 +1100 committer Paul Mackerras Mon, 09 Jan 2006 15:05:42 +1100 [PATCH] powerpc: Fix g5 DART init The patch enabling the new G5's with U4 broke initialization of the DART driver, causing it to trigger a BUG_ON for a case that is actually valid. This patch fixes it: Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 1beb6a7d6cbed3ac03500ce9b5b9bb632c512039 tree 727aa76da5a82fca449dadf3cebbadc414ad6555 parent cd0c7f06803be06a5cf4564aa5a900f4b6aea603 author Benjamin Herrenschmidt Wed, 14 Dec 2005 13:10:10 +1100 committer Paul Mackerras Mon, 09 Jan 2006 15:03:17 +1100 [PATCH] powerpc: Experimental support for new G5 Macs (#2) This adds some very basic support for the new machines, including the Quad G5 (tested), and other new dual core based machines and iMac G5 iSight (untested). This is still experimental ! There is no thermal control yet, there is no proper handing of MSIs, etc.. but it boots, I have all 4 cores up on my machine. Compared to the previous version of this patch, this one adds DART IOMMU support for the U4 chipset and thus should work fine on setups with more than 2Gb of RAM. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit cd0c7f06803be06a5cf4564aa5a900f4b6aea603 tree 23c89e6dde3b316aea54890e7c605ec8a5574716 parent 31087d7d49bf5fc9cbc2c4852a079213755e8733 author Kumar Gala Tue, 13 Dec 2005 14:46:29 -0600 committer Paul Mackerras Mon, 09 Jan 2006 14:54:06 +1100 [PATCH] powerpc: Detect prefetchable windows in pci_process_bridge_OF_ranges Added the ability to determine if an outbound window in the PCI host controller is for prefetchable memory and report it as such. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 31087d7d49bf5fc9cbc2c4852a079213755e8733 tree d41ede60954f3f677377695ee7c0e230f334eb8a parent c4b22f268914ff824a6334b62afd23f7ad79df11 author linas Tue, 13 Dec 2005 13:46:36 -0600 committer Paul Mackerras Mon, 09 Jan 2006 14:54:02 +1100 [PATCH] powerpc: export PCI fixup routine There is code in the RPAPHP directory that is identical to this routine; I'll be removing that code in an upcoming patch, but this patch is needed to expose the function to make it callable. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit c4b22f268914ff824a6334b62afd23f7ad79df11 tree c9add159e07b24bab5245404f5ff1a9646560624 parent cc5d0189b9ba95260857a5018a1c2fef90008507 author Segher Boessenkool Tue, 13 Dec 2005 18:04:29 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:53:59 +1100 [PATCH] powerpc: Update MPIC workarounds Cleanup the MPIC IO-APIC workarounds, make them a bit more generic, smaller and faster. Signed-off-by: Segher Boessenkool Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit cc5d0189b9ba95260857a5018a1c2fef90008507 tree 1202c94b6b3cb81a96d0a0e54424cad10eef68bb parent 9cf84d7c97992dbe5360b241327341c07ce30fc9 author Benjamin Herrenschmidt Tue, 13 Dec 2005 18:01:21 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:53:55 +1100 [PATCH] powerpc: Remove device_node addrs/n_addr The pre-parsed addrs/n_addrs fields in struct device_node are finally gone. Remove the dodgy heuristics that did that parsing at boot and remove the fields themselves since we now have a good replacement with the new OF parsing code. This patch also fixes a bunch of drivers to use the new code instead, so that at least pmac32, pseries, iseries and g5 defconfigs build. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 9cf84d7c97992dbe5360b241327341c07ce30fc9 tree de606aa77fb0d8c4d4c32106ac4fe7fa287cf27e parent f75225d0a01e4f468b0395b02e549d2763bbabfb author Benjamin Herrenschmidt Tue, 13 Dec 2005 17:48:35 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:53:51 +1100 [PATCH] powerpc: Fix platinumfb for some modes The platinumfb driver used only on some powermacs has an issue with some video modes & limited VRAM. This patch fixes it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit f75225d0a01e4f468b0395b02e549d2763bbabfb tree 8b42c5c948981ab2b6397e172144d60fd555d118 parent 448b2719408c736080e1147c615ccefce16ede41 author Benjamin Herrenschmidt Tue, 13 Dec 2005 17:46:23 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:53:47 +1100 [PATCH] powerpc: Add pmac32 defconfig for ARCH=powerpc This adds a defconfig for PowerMac with ARCH=powerpc Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 448b2719408c736080e1147c615ccefce16ede41 tree de1521c1b35f6b429ce7ffd641aee9278be587a0 parent 2406f6063a9caa8ea39e4040e1759db553388caf author Anton Blanchard Tue, 13 Dec 2005 07:56:54 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:53:44 +1100 [PATCH] powerpc: Remove old comment in head.S Remove a comment in head.S which is no longer relevant. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 2406f6063a9caa8ea39e4040e1759db553388caf tree 3b7674db31eddf0cbe17e9e5b4e2d8d65c3a5b77 parent 4b703a231799f43f3414b62300b8ad6736a4aa9d author Anton Blanchard Tue, 13 Dec 2005 07:45:33 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:53:41 +1100 [PATCH] powerpc: Dont set 32bit cputable bits on 64bit Milton and I were looking at the cputable code and it looks like we can set spurious bits on 64bit. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 4b703a231799f43f3414b62300b8ad6736a4aa9d tree 401d9edc69193858bd25f97477207f143dd5aa68 parent 2c066042ecc3b0d811440002b74fa3778d4432cb author Anton Blanchard Tue, 13 Dec 2005 06:56:47 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:53:37 +1100 [PATCH] ppc64: Add NUMA cpu summary at boot We used to print a NUMA cpu summary at boot before the hotplug cpu code was added. This has been useful for catching machine configuration as well as firmware bugs in the past. This patch restores that functionality. An example of the output is: Node 0 CPUs: 0-7 Node 1 CPUs: 8-15 Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 2c066042ecc3b0d811440002b74fa3778d4432cb tree 330a22d051dce06c2dadcf2ac5849bcf0d4feb62 parent f9ce299fc629d5c899a2e56b00e21f5da05cf590 author Nicolas Kaiser Sun, 11 Dec 2005 01:50:03 +0100 committer Paul Mackerras Mon, 09 Jan 2006 14:53:34 +1100 [PATCH] Documentation/powerpc: index update Add three files not mentioned in Documentation/powerpc/00-INDEX. Sort alphabetically. Signed-off-by: Nicolas Kaiser Signed-off-by: Paul Mackerras commit f9ce299fc629d5c899a2e56b00e21f5da05cf590 tree da8f883f72d08f9534e9eca3bba662413b9bd865 parent d52771fce4e774fa786097d34412a057d487c697 author Arnd Bergmann Fri, 09 Dec 2005 19:21:44 +0100 committer Paul Mackerras Mon, 09 Jan 2006 14:53:31 +1100 [PATCH] powerpc: fix large nvram access /dev/nvram uses the user-provided read/write size for kmalloc, which fails, if a large number is passed. This will always use a single page at most, which can be expected to succeed. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit d52771fce4e774fa786097d34412a057d487c697 tree b675aa904a3c96bf1e5607ec1b8332ff40a51362 parent 49d65b3ac5614431041abcd2eabc0d77eff5e32d author David Woodhouse Fri, 09 Dec 2005 19:04:21 +0100 committer Paul Mackerras Mon, 09 Jan 2006 14:53:27 +1100 [PATCH] powerpc/cell: disable legacy i/o area We currently crash in the fedora installer because the keyboard driver tries to access I/O space that is not there on our hardware. This uses the same solution as powermac by just marking all legacy i/o as invalid. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 49d65b3ac5614431041abcd2eabc0d77eff5e32d tree df090de4f35468904fc37011ac06b9316393ff0f parent 38307341af3a0be8ec5319756361b51ac29dffc7 author Jens.Osterkamp@de.ibm.com Fri, 09 Dec 2005 19:04:20 +0100 committer Paul Mackerras Mon, 09 Jan 2006 14:53:24 +1100 [PATCH] powerpc/cell: add iommu support for larger memory So far, the iommu code was hardwired to a linear mapping between 0x20000000 and 0x40000000, so it could only support 512MB of RAM. This patch still keeps the linear mapping, but looks for proper ibm,dma-window properties to set up larger windows, this makes the maximum supported RAM size 2GB. If there is anything unusual about the dma-window properties, we fall back to the old behavior. We also support switching off the iommu completely now with the regular iommu=off command line option. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 38307341af3a0be8ec5319756361b51ac29dffc7 tree 082fae758ea5cc5e4376e7c9e0f3a6b479d59266 parent 462c853eb574bc7843d9c56e84aca129aaa8e018 author Arnd Bergmann Fri, 09 Dec 2005 19:04:18 +0100 committer Paul Mackerras Mon, 09 Jan 2006 14:53:21 +1100 [PATCH] spufs: clear dsisr on CLASS1[Mf] exception Because of always clearing DSISR at spu class 1 interrupt handler, kernel may lose Class1[Mf] interrupt. Signed-off-by: Masato Noguchi Signed-off-by: Geoff Levand Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 462c853eb574bc7843d9c56e84aca129aaa8e018 tree c36ce61201781e0267c5abd002b0c3765d0c90b4 parent 7945a4a27d5d914918b7637b055e01abfe05906e author Arnd Bergmann Fri, 09 Dec 2005 19:04:17 +0100 committer Paul Mackerras Mon, 09 Jan 2006 14:53:18 +1100 [PATCH] spufs: fix hexdump format Output from hexdump with "%08x" depends on HOST platform's endian. When building linux by cross toolchain, that difference makes errors. Signed-off-by: Masato Noguchi Signed-off-by: Geoff Levand Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 7945a4a27d5d914918b7637b055e01abfe05906e tree deb096ecfbdc97b1891b8b162b425ea0116410ba parent 59d6d39f30f4460b7e6489831caf7fbfe371941a author Arnd Bergmann Fri, 09 Dec 2005 19:04:16 +0100 committer Paul Mackerras Mon, 09 Jan 2006 14:53:14 +1100 [PATCH] spufs: trivial compile fix One of my last patches contained a broken line from splitting out some other changes, this restores a working version. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 59d6d39f30f4460b7e6489831caf7fbfe371941a tree 10a8ba60af902f5236bc72f75c6e0f5f161d8a14 parent a819f8ba76e81669fcc2665ac532cac650694b99 author Arnd Bergmann Fri, 09 Dec 2005 19:04:15 +0100 committer Paul Mackerras Mon, 09 Jan 2006 14:53:11 +1100 [PATCH] spufs: fix module refcount race One of the two users of spufs_calls.owner still has a race when calling try_module_get while the module is removed. This makes it use the correct instance of owner. Noticed by Milton Miller. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit a819f8ba76e81669fcc2665ac532cac650694b99 tree 3d87323f4f8187175b20f8e8966d3c8447161336 parent dad482c25698134b79c80694c81f0495019e0842 author Kumar Gala Fri, 09 Dec 2005 11:57:44 -0600 committer Paul Mackerras Mon, 09 Jan 2006 14:53:08 +1100 [PATCH] ppc32: Add TQM85xx (8540/8541/8555/8560) board support This patch adds support for the TQ Components TQM85xx modules. Currently the modules TQM8540/8541/8555/8560 are supported. Signed-off-by: Stefan Roese Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit dad482c25698134b79c80694c81f0495019e0842 tree a7923ee19f66f523cfb174cbc6998a184ea5d8e8 parent 3a843d7cd30ab6815610d9d6aa66b56df0ee1228 author Arnd Bergmann Mon, 05 Dec 2005 22:52:29 -0500 committer Paul Mackerras Mon, 09 Jan 2006 14:53:04 +1100 [PATCH] cell: add platform detection code I can't really get a conclusive answer from the firmware people what to check for, so I just try scanning for anything that starts with "IBM,CPB", which should be correct for all hardware produced so far and for systemsim. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 3a843d7cd30ab6815610d9d6aa66b56df0ee1228 tree b344400a51bf794ec10c6a1fb788e1244969a00f parent 2a911f0bb73e67826062b7d073dd7367ca449724 author Arnd Bergmann Mon, 05 Dec 2005 22:52:27 -0500 committer Paul Mackerras Mon, 09 Jan 2006 14:53:01 +1100 [PATCH] spufs: fix mailbox polling Handling mailbox interrupts was broken in multiple respects, the combination of which was hiding the bugs most of the time. - The ibox interrupt mask was open initially even though there are no waiters on a newly created SPU. - Acknowledging the mailbox interrupt did not work because it is level triggered and the mailbox data is never retrieved from inside the interrupt handler. - The interrupt handler delivered interrupts with a disabled mask if another interrupt is triggered for the same class but a different mask. - The poll function did not enable the interrupt if it had not been enabled, so we might run into the poll timeout if none of the other bugs saved us and no signal was delivered. We probably still have a similar problem with blocking read/write on mailbox files, but that will result in extra wakeup in the worst case, not in incorrect behaviour. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 2a911f0bb73e67826062b7d073dd7367ca449724 tree c1d8d4f340cf7571722b2d9019f158acd345cff4 parent 5110459f181ef1f11200bb3dec61953f08cc49e7 author Arnd Bergmann Mon, 05 Dec 2005 22:52:26 -0500 committer Paul Mackerras Mon, 09 Jan 2006 14:52:58 +1100 [PATCH] spufs: Improved SPU preemptability [part 2]. This patch reduces lock complexity of SPU scheduler, particularly for involuntary preemptive switches. As a result the new code does a better job of mapping the highest priority tasks to SPUs. Lock complexity is reduced by using the system default workqueue to perform involuntary saves. In this way we avoid nasty lock ordering problems that the previous code had. A "minimum timeslice" for SPU contexts is also introduced. The intent here is to avoid thrashing. While the new scheduler does a better job at prioritization it still does nothing for fairness. From: Mark Nutter Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 5110459f181ef1f11200bb3dec61953f08cc49e7 tree 73356ce50b3fb5055b4a6f39f237f046615f797d parent 3b3d22cb84a0bb12f6bbb2b1158972894bec3f21 author Arnd Bergmann Mon, 05 Dec 2005 22:52:25 -0500 committer Paul Mackerras Mon, 09 Jan 2006 14:52:55 +1100 [PATCH] spufs: Improved SPU preemptability. This patch makes it easier to preempt an SPU context by having the scheduler hold ctx->state_sema for much shorter periods of time. As part of this restructuring, the control logic for the "run" operation is moved from arch/ppc64/kernel/spu_base.c to fs/spufs/file.c. Of course the base retains "bottom half" handlers for class{0,1} irqs. The new run loop will re-acquire an SPU if preempted. From: Mark Nutter Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 3b3d22cb84a0bb12f6bbb2b1158972894bec3f21 tree 6b1efbb7c59994f123030c3bc4794ede9a07891c parent b41305a39a6966d8e8b1449d6b7c194923bfb451 author Arnd Bergmann Mon, 05 Dec 2005 22:52:24 -0500 committer Paul Mackerras Mon, 09 Jan 2006 14:52:51 +1100 [PATCH] spufs: Turn off debugging output spufs is rather noisy when debugging is enabled, this turns off the messages for production use. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit b41305a39a6966d8e8b1449d6b7c194923bfb451 tree e8d3368d06a3b900e16700481183bd92ec9c7d4f parent d88cfffac0002c56c1a7a813cb885fa6b5fdcd0e author Arnd Bergmann Mon, 05 Dec 2005 22:52:23 -0500 committer Paul Mackerras Mon, 09 Jan 2006 14:52:48 +1100 [PATCH] spufs: Fix oops when spufs module is not loaded try_module_get returns true when NULL arguments, so we first need to check if there is a module loaded before getting the reference count. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit d88cfffac0002c56c1a7a813cb885fa6b5fdcd0e tree 13e4e65d3275a275913b14b12b49dbe987789334 parent 39c73c332c8264c0a3a1ce58aa3eae52d17af025 author Arnd Bergmann Mon, 05 Dec 2005 22:52:22 -0500 committer Paul Mackerras Mon, 09 Jan 2006 14:52:45 +1100 [PATCH] spufs: fix local store page refcounting With the new rules for reserved pages, the spufs now needs working page reference counting. I should probably look into converting to vm_insert_page, but for now this patch makes spufs work again. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 39c73c332c8264c0a3a1ce58aa3eae52d17af025 tree 5de8740442b5f03de4f57e10fc17c38342ae0487 parent ba7594852f4e7121b3f037d59f983637b795f0dd author Arnd Bergmann Mon, 05 Dec 2005 22:52:21 -0500 committer Paul Mackerras Mon, 09 Jan 2006 14:52:41 +1100 [PATCH] spufs: Make all exports GPL-only This changes all exported symbols of spufs to EXPORT_SYMBOL_GPL. The spu_ibox_read/spu_wbox_write symbols are not exported any more when the scheduler patch is applied. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit ba7594852f4e7121b3f037d59f983637b795f0dd tree 6949f16d3dff337b4b36ced0b460e4ed9b09365b parent 54c32021eb6feafc32e90104e960b38301521b7b author Michael Ellerman Sun, 04 Dec 2005 18:39:55 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:52:38 +1100 [PATCH] powerpc: Add support for "linux,usable-memory" on memory nodes Milton has proposed that we should support a "linux,usable-memory" property on memory nodes which describes, in preference to "reg", the regions of memory Linux should use. This facility is required for kdump to inform the second kernel which memory it should use. Signed-off-by: Haren Myneni Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 54c32021eb6feafc32e90104e960b38301521b7b tree 7aff1e11966569f4b8dce57d6f70eb4d1e72bec2 parent dcee30361d25ea83499a99f921f9a56b4a1a79e7 author Michael Ellerman Sun, 04 Dec 2005 18:39:51 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:52:35 +1100 [PATCH] powerpc: Add arch-dependent copy_oldmem_page Signed-off-by: Haren Myneni Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit dcee30361d25ea83499a99f921f9a56b4a1a79e7 tree 3ec01e42ba916047c370925e6d8ede1ae96293bf parent cc53291521701f9c7c7265bbb3c140563174d8b2 author Michael Ellerman Sun, 04 Dec 2005 18:39:48 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:52:31 +1100 [PATCH] powerpc: Parse crashkernel= parameter in first kernel This patch adds code to parse and setup the crash kernel resource in the first kernel. PPC64 ignores the @x part, we always run at 32 MB. Signed-off-by: Haren Myneni Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit cc53291521701f9c7c7265bbb3c140563174d8b2 tree 9fa71dbb7d853f983c9033fc629edcd118c67858 parent 758438a7b8da593c9116e95cc7fdff6e9e0b0c40 author Michael Ellerman Sun, 04 Dec 2005 18:39:43 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:52:28 +1100 [PATCH] powerpc: Add arch dependent basic infrastructure for Kdump. Implementing the machine_crash_shutdown which will be called by crash_kexec (called in case of a panic, sysrq etc.). Disable the interrupts, shootdown cpus using debugger IPI and collect regs for all CPUs. elfcorehdr= specifies the location of elf core header stored by the crashed kernel. This command line option will be passed by the kexec-tools to capture kernel. savemaxmem= specifies the actual memory size that the first kernel has and this value will be used for dumping in the capture kernel. This command line option will be passed by the kexec-tools to capture kernel. Signed-off-by: Haren Myneni Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 758438a7b8da593c9116e95cc7fdff6e9e0b0c40 tree 5343d8ec40016294902278c27a9f5647bd061890 parent 0cc4746cadda16826a1b3214c042a2f75445b71c author Michael Ellerman Mon, 05 Dec 2005 15:49:00 -0600 committer Paul Mackerras Mon, 09 Jan 2006 14:52:25 +1100 [PATCH] powerpc: Fixups for kernel linked at 32 MB There's a few places where we need to fix things up for the kernel to work if it's linked at 32MB: - platforms/powermac/smp.c To start secondary cpus on pmac we patch the reset vector, which is fine. Except if we're above 32MB we don't have enough bits for an absolute branch, it needs to relative. - kernel/head_64.s - A few branches in the cpu hold code need to load the full target address and do a bctr. - after_prom_start needs to load PHYSICAL_START as the dest address, not 0. - The exception prolog needs to load the low word of the target adddress, not just the low halfword. - Fixup handling of the initial stab address. - kernel/setup_64.c smp_release_cpus() needs to write 1 to the spinloop flag near 0, not 32 MB. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 0cc4746cadda16826a1b3214c042a2f75445b71c tree ec8decc81a3f9fd09454ff208fd3b82cf5bdb730 parent 8c4f1f2958ff9d4a6760f3bdd0cfb7d2b9e12093 author Michael Ellerman Sun, 04 Dec 2005 18:39:37 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:52:21 +1100 [PATCH] powerpc: Reroute interrupts from 0 + offset to PHYSICAL_START + offset Regardless of where the kernel's linked we always get interrupts at low addresses. This patch creates a trampoline in the first 3 pages of memory, where interrupts land, and patches those addresses to jump into the real kernel code at PHYSICAL_START. We also need to reserve the trampoline code and a bit more in prom.c Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 8c4f1f2958ff9d4a6760f3bdd0cfb7d2b9e12093 tree 3616f75215bc397725cd86708862d358d2e10d4c parent 398ab1fcb960ea0800f40a9c36355855e3e23389 author Michael Ellerman Sun, 04 Dec 2005 18:39:33 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:52:17 +1100 [PATCH] powerpc: Create a trampoline for the fwnmi vectors The fwnmi vectors can be anywhere < 32 MB, so we need to use a trampoline for them. The kdump kernel will register the trampoline addresses, which will then jump up to the real code above 32 MB. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 398ab1fcb960ea0800f40a9c36355855e3e23389 tree eb7eda3afffb3c99fc57b1064c7501e0ee2cf931 parent 4693c09a47203d79a9adb69acaf3b3bb3dcf9390 author Michael Ellerman Sun, 04 Dec 2005 18:39:23 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:52:14 +1100 [PATCH] powerpc: Add CONFIG_CRASH_DUMP This patch adds a Kconfig variable, CONFIG_CRASH_DUMP, which configures the built kernel for use as a Kdump kernel. Currently "all" this involves is changing the value of KERNELBASE to 32 MB. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 4693c09a47203d79a9adb69acaf3b3bb3dcf9390 tree c7e86c1dd4ad6cca8df392d3282a4858c3d1cbd9 parent d4e4b3520c4df46cf1d15a56379a6fa57e267b7d author Paul Mackerras Wed, 07 Dec 2005 14:52:16 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:52:10 +1100 powerpc: Fix typo in head_64.S Signed-off-by: Paul Mackerras commit d4e4b3520c4df46cf1d15a56379a6fa57e267b7d tree 653d5a87d58e37b6bf44b5a06eaffb8d62735065 parent e07102db63d10d9f9d94d21dfdb1178e65154b9e author Stephen Rothwell Wed, 07 Dec 2005 13:01:05 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:52:07 +1100 [PATCH] powerpc: fix for "Update OF address parsers" This allows iSeries to build again. It just moves pci_address_to_pio outside the #ifdef CONFIG_PPC_MULTIPLATFORM. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit e07102db63d10d9f9d94d21dfdb1178e65154b9e tree f73f504b9879468b9d5d98770dfacf4a989f113d parent 398f68580f3edd99728028facf571e4a07f9a035 author linas Mon, 05 Dec 2005 19:37:35 -0600 committer Paul Mackerras Mon, 09 Jan 2006 14:52:04 +1100 [PATCH] powerpc: minor cleanup of void ptr deref Minor: use macro to perform void pointer deref; this may someday help avoid pointer typecasting errors. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit 398f68580f3edd99728028facf571e4a07f9a035 tree c789dc4c5d71225c38748cc9d9af82c800951bc0 parent 237a0989e2902b7d43c4228a36d82f8691fb2118 author Marcelo Tosatti Mon, 05 Dec 2005 19:31:36 -0200 committer Paul Mackerras Mon, 09 Jan 2006 14:52:01 +1100 [PATCH] powerpc/8xx: Fix m8xx_wdt issues The following fixes some issues with the last mpc8xx_wdt update: - Adds missing #include - Use "uint __iomem" pointer for in_be32/out_be32 Signed-off-by: Marcelo Tosatti Signed-off-by: Paul Mackerras commit 237a0989e2902b7d43c4228a36d82f8691fb2118 tree 411b5e4978ac15ab283378610fef3941c880711a parent b5666f70395016a55cc9d57826508b8a346398d0 author Mike Kravetz Mon, 05 Dec 2005 12:06:42 -0800 committer Paul Mackerras Mon, 09 Jan 2006 14:51:57 +1100 [PATCH] powerpc: numa placement for dynamically added memory This places dynamically added memory within the appropriate numa node. A new routine hot_add_scn_to_nid() replicates most of the memory scanning code in parse_numa_properties(). Signed-off-by: Mike Kravetz Signed-off-by: Paul Mackerras commit b5666f70395016a55cc9d57826508b8a346398d0 tree 39d74718c2bc3f2fcba6456fdc39a6a0de3d78bd parent 51fae6de24da57bc6cdaa1b253595c3513ecbf2d author Michael Ellerman Mon, 05 Dec 2005 10:24:33 -0600 committer Paul Mackerras Mon, 09 Jan 2006 14:51:54 +1100 [PATCH] powerpc: Separate usage of KERNELBASE and PAGE_OFFSET This patch separates usage of KERNELBASE and PAGE_OFFSET. I haven't looked at any of the PPC32 code, if we ever want to support Kdump on PPC we'll have to do another audit, ditto for iSeries. This patch makes PAGE_OFFSET the constant, it'll always be 0xC * 1 gazillion for 64-bit. To get a physical address from a virtual one you subtract PAGE_OFFSET, _not_ KERNELBASE. KERNELBASE is the virtual address of the start of the kernel, it's often the same as PAGE_OFFSET, but _might not be_. If you want to know something's offset from the start of the kernel you should subtract KERNELBASE. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit 51fae6de24da57bc6cdaa1b253595c3513ecbf2d tree 27df7f07270fb79eae44783331faeb3af3d313ab parent cd0ca2ce4b2f4a5132e7e230be8a510755c20870 author Michael Ellerman Sun, 04 Dec 2005 18:39:15 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:51:50 +1100 [PATCH] powerpc: Add a is_kernel_addr() macro There's a bunch of code that compares an address with KERNELBASE to see if it's a "kernel address", ie. >= KERNELBASE. The proper test is actually to compare with PAGE_OFFSET, since we're going to change KERNELBASE soon. So replace all of them with an is_kernel_addr() macro that does that. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit cd0ca2ce4b2f4a5132e7e230be8a510755c20870 tree 23fe531715b81c852db240b096c8ac43e20dd1c0 parent e40c7f02723e2be5d3144917191aa9fbec5bb64e author Michael Ellerman Sun, 04 Dec 2005 18:39:12 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:51:47 +1100 [PATCH] powerpc: Propagate regs through to machine_crash_shutdown Currently machine_crash_shutdown() gets a struct pt_regs, but doesn't pass it through to the ppc_md function, it should. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit e40c7f02723e2be5d3144917191aa9fbec5bb64e tree 1a27c26bb0d56f65ba0f0eb3a4ecbb822d7316c5 parent 9100b205fdc70b300894954ebebbf2709c5ed525 author Andy Whitcroft Tue, 29 Nov 2005 19:25:54 +0000 committer Paul Mackerras Mon, 09 Jan 2006 14:51:43 +1100 [PATCH] powerpc32: fix definition of distribute_irqs When we select ppc32 under the powerpc architecture we get the error below. This relates to defining distribute_irqs when this configuratiom option is undefined. CC arch/powerpc/sysdev/mpic.o .../arch/powerpc/sysdev/mpic.c: In function `mpic_setup_this_cpu': .../arch/powerpc/sysdev/mpic.c:788: error: `CONFIG_IRQ_ALL_CPUS' undeclared (first use in this function) Signed-off-by: Andy Whitcroft Signed-off-by: Paul Mackerras commit 9100b205fdc70b300894954ebebbf2709c5ed525 tree fa205423dcb6c67798f2d4688e242690eda636a9 parent 7b653cafcbf187c6d86ee3551e4d73a610f18d27 author Andy Whitcroft Tue, 29 Nov 2005 19:20:55 +0000 committer Paul Mackerras Mon, 09 Jan 2006 14:51:40 +1100 [PATCH] powerpc32: clean up available memory models Clean up the currently available memory models for ppc32 under the powerpc architecture. We need FLATMEM for ppc32: enable it. SPARSEMEM is not parameterised for ppc32 so disable that. Take this opportunity to clean up white space for FLATMEM_ENABLE. Signed-off-by: Andy Whitcroft Signed-off-by: Paul Mackerras commit 7b653cafcbf187c6d86ee3551e4d73a610f18d27 tree bf1a897ca6aaa2a3a18ce89b8656eae7364ff317 parent 84c9fdd11e40f46028ff4669bfe5177ce9521266 author Otavio Salvador Sat, 03 Dec 2005 16:42:25 -0200 committer Paul Mackerras Mon, 09 Jan 2006 14:51:37 +1100 [PATCH] ppc: removed unused variable i from code. Signed-off-by: Paul Mackerras commit 84c9fdd11e40f46028ff4669bfe5177ce9521266 tree 478142189490f6a959691de2026c6a16c836ea06 parent 54c233102f3680c7f08b6f06d229cc48503b79c4 author Mike Kravetz Wed, 30 Nov 2005 13:47:23 -0800 committer Paul Mackerras Mon, 09 Jan 2006 14:51:34 +1100 [PATCH] powerpc: Minor numa memory code cleanup Here is an updated version of the patch that panics if no memory is found as Nathan suggested. I'm still concerned that panic strings (not just the one added here) at this stage of booting do not show up on my system. But, that is an issue separate from this patch. Combine get_mem_*_cells() routines to avoid multiple memory node lookups. Added missing of_node_put() call. Changed variable names to help with some confusion as to meaning. Signed-off-by: Mike Kravetz Signed-off-by: Paul Mackerras commit 54c233102f3680c7f08b6f06d229cc48503b79c4 tree 2c2bb4318031e7ddc1ccdbb75e5142f60eb2971f parent d2dd482bc17c3bc240045f80a7c4b4d5cea5e29c author Paul Mackerras Mon, 05 Dec 2005 15:50:39 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:51:30 +1100 Revert "[PATCH] powerpc: Minor numa memory code cleanup" This reverts f1fdc0117004d343698b9830e141491d5ae320d1 commit. commit d2dd482bc17c3bc240045f80a7c4b4d5cea5e29c tree 9c40a9ab9a04839f2d578f9d47985b399074ce58 parent bb6b9b28d6847bc71f910e2e82c9040ff4b97ec0 author Benjamin Herrenschmidt Wed, 30 Nov 2005 16:57:28 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:51:26 +1100 [PATCH] powerpc: Update OF address parsers This updates the OF address parsers to return the IO flags indicating the type of address obtained. It also adds a PCI call for converting physical addresses that hit IO space into into IO tokens, and add routines that return the translated addresses into struct resource Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit bb6b9b28d6847bc71f910e2e82c9040ff4b97ec0 tree 97b0acaade2d32ddb37147ff5112318f6c292cf8 parent 54b9a9aedc990dd2aefc45ab16d84f245cb7d8d0 author Benjamin Herrenschmidt Wed, 30 Nov 2005 16:54:12 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:51:22 +1100 [PATCH] powerpc: udbg updates The udbg low level io layer has an issue with udbg_getc() returning a char (unsigned on ppc) instead of an int, thus the -1 if you had no available input device could end up turned into 0xff, filling your display with bogus characters. This fixes it, along with adding a little blob to xmon to do a delay before exiting when getting an EOF and fixing the detection of ADB keyboards in udbg_adb.c Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 54b9a9aedc990dd2aefc45ab16d84f245cb7d8d0 tree 30b78a921ab6b5e28e2e99b4a4427d76813ccce1 parent 52020d2bda9fe447bb50674a2e39e4064b6a10b5 author Andy Whitcroft Wed, 30 Nov 2005 17:35:01 +0000 committer Paul Mackerras Mon, 09 Jan 2006 14:51:19 +1100 [PATCH] powerpc: powermac adb fix udbg_adb_use_btext warning When compiling without BOOTX_TEXT the following warning is emitted. Fix up the definition to only be made when required. CC arch/powerpc/platforms/powermac/udbg_adb.o .../arch/powerpc/platforms/powermac/udbg_adb.c:41: warning: `udbg_adb_use_btext' defined but not used Signed-off-by: Andy Whitcroft Signed-off-by: Paul Mackerras commit 52020d2bda9fe447bb50674a2e39e4064b6a10b5 tree 2924448f9f57874c6e2a778a971ff5a305b8cd42 parent 2bf6a8fa21570f37fd1789610da30f70a05ac5e3 author Andy Whitcroft Wed, 30 Nov 2005 17:34:50 +0000 committer Paul Mackerras Mon, 09 Jan 2006 14:51:15 +1100 [PATCH] powerpc: powermac adb fix dependency on btext_drawchar udbg_adb_init() has become dependent on btext_drawchar, even when BOOTX_TEXT support is not selected. This leads to the error below. Make the check dependant on BOOTX_TEXT. LD .tmp_vmlinux1 arch/powerpc/platforms/built-in.o(.toc1+0xa40): undefined reference to `btext_drawchar' Signed-off-by: Andy Whitcroft Signed-off-by: Paul Mackerras commit 2bf6a8fa21570f37fd1789610da30f70a05ac5e3 tree 36452f60fabe7f5d69215c81450e38d9bd4c3294 parent facf07870b6103b8f9b6c872e3cb1032c5185d0b author Linas Vepstas Thu, 03 Nov 2005 18:52:16 -0600 committer Paul Mackerras Mon, 09 Jan 2006 14:51:12 +1100 [PATCH] powerpc: migrate common PCI hotplug code 23-rpaphp-migrate.patch (parts) This patch moves some pci device add & remove code from the PCI hotplug directory to the arch/powerpc/kernel directory, and cleans it up a tad. The primary reason for this is that the code performs some fairly generic operations that are shared with the PCI error recovery code (living in the arch/powerpc/kernel directory). Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit facf07870b6103b8f9b6c872e3cb1032c5185d0b tree 30dfdaf12f69fe36186060e6a0486ce8a1853347 parent e2a296eeaa344450196e910a136ab14119d7ae48 author Linas Vepstas Thu, 03 Nov 2005 18:52:01 -0600 committer Paul Mackerras Mon, 09 Jan 2006 14:51:08 +1100 [PATCH] powerpc: make pcibios_claim_one_bus available to other code 22-rpaphp-eliminate-dupe-code.patch (parts) The RPAPHP code contains two routines that appear to be gratuitous copies of very similar pci code. In particular, rpaphp_claim_resource ~~ pci_claim_resource rpadlpar_claim_one_bus == pcibios_claim_one_bus This makes pcibios_claim_one_bus from arch/powerpc/kernel/pci_64.c available to the RPAPHP code. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit e2a296eeaa344450196e910a136ab14119d7ae48 tree 53a9fd6374d1559dec29d909fae1902a305472ad parent 74761bb53df1e2d603937b6abbd8437b03840e38 author Linas Vepstas Thu, 03 Nov 2005 18:51:31 -0600 committer Paul Mackerras Mon, 09 Jan 2006 14:51:05 +1100 [PATCH] powerpc: PCI hotplug common code elimination 20-rpaphp-eeh-cleanup.patch This patch move some code from the rpaphp directory, to the powerpc directory, where it should have been all along (Among other things, I need it in the powerpc directory for the PCI error recovery.) Please note that patch affects TWO maintainers: Paul, after applying the powerpc part, please ask that GregKH appli the PCI part. It is safe to have the powerpc part go in first. It would be bad to have the PCI part go in first. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras commit 74761bb53df1e2d603937b6abbd8437b03840e38 tree da0ef50723c8abf80c693dd1cb610f7f7b93305e parent 8dacaedf04467e32c50148751a96150e73323cdc author Mike Kravetz Mon, 28 Nov 2005 16:33:24 -0800 committer Paul Mackerras Mon, 09 Jan 2006 14:51:02 +1100 [PATCH] powerpc: Minor numa memory code cleanup I started to add missing of_node_put() calls to the routines that determine the number of cells for memory. Decided to combine the routines instead of making separate node lookups. Changed variable names to help with some confusion as to meaning. Signed-off-by: Mike Kravetz Signed-off-by: Paul Mackerras commit 8dacaedf04467e32c50148751a96150e73323cdc tree 74e8406ee6a78c7cf232858994ee49547c273042 parent 1c3eb629102bd4e327cc8b08fb9cdae4a985e841 author Benjamin Herrenschmidt Tue, 29 Nov 2005 11:21:59 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:50:58 +1100 [PATCH] powerpc: More serial probe fixes (#2) This fixes the new serial probe code with some PCI MMIO UARTs, and fixes CHRP build with ARCH=powerpc. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 1c3eb629102bd4e327cc8b08fb9cdae4a985e841 tree 85d8bfd835e4df7f76c7bb5d3bf9ed0b8b234d04 parent fb64c2446b20bf0206a690e9e1df88b25ac421e6 author David Woodhouse Sat, 26 Nov 2005 14:44:47 +0000 committer Paul Mackerras Mon, 09 Jan 2006 14:50:55 +1100 [PATCH] ppc: Make ARCH=ppc build again with new syscall path This makes ARCH=ppc build in your powerpc tree again, with the new syscall entry/exit path. Still doesn't actually boot on my Pegasos; the last thing I see is 'MMU:exit'. But at least it builds -- I'll look at why it doesn't boot later, so that I can see if the mv643xx_eth actually works with ARCH=ppc (it doesn't with ARCH=powerpc; two in every three packets I receive are offset by 4 bytes). Signed-off-by: David Woodhouse Signed-off-by: Paul Mackerras commit fb64c2446b20bf0206a690e9e1df88b25ac421e6 tree 53d6e17957d29d881f8cff83ed952b4229d811bd parent 623703f620453c798b6fa3eb79ad8ea27bfd302a author Marcelo Tosatti Thu, 24 Nov 2005 11:32:09 -0200 committer Paul Mackerras Mon, 09 Jan 2006 14:50:51 +1100 [PATCH] ppc32: m8xx watchdog update This updates m8xx_wdt as follows: 1) Remove now obsolete fpos check in the write() function. The driver is currently non functional due to this bug. 2) Use in/out macros for register access. 3) Allows m8xx_wdt to use a kernel timer instead of the builtin RTC/PIT for keep-alive trigger (which is responsible for servicing the watchdog until an userspace application takes over). For instance Cyclades PRxK boards (MPC 855T based) have a non-functional internal RTC/PIT unit. Behaviour for boards with RTC/PIT is unchaged. 4) The last change required moving the RTCSC register setting code to a weak function which can be overriden by board specific files. Otherwise the timer init code trashes the register making it impossible for m8xx_wdt to detect the situation. Signed-off-by: Marcelo Tosatti Signed-off-by: Paul Mackerras commit 623703f620453c798b6fa3eb79ad8ea27bfd302a tree e2f938f28a42458eb9b23d63721f7415d8239a37 parent 9687c587596b54a77f08620595f5686ea35eed97 author David Woodhouse Thu, 24 Nov 2005 17:36:20 +0000 committer Paul Mackerras Mon, 09 Jan 2006 14:50:48 +1100 [PATCH] Fix code that saves NVGPRS in 32-bit signal frame On Thu, 2005-11-24 at 12:51 +0000, David Woodhouse wrote: > Somehow this one slipped through the cracks; when we ended up in > do_signal() on a 32-bit kernel but without having the caller-saved > registers into the regs, we didn't set the TIF_SAVE_NVGPRS flag to > ensure they got saved later. Oh, and if we actually set the flag, then we fairly quickly find out that I was a bit overzealous in copying code from entry_64.S ... :) Signed-off-by: David Woodhouse Signed-off-by: Paul Mackerras commit 9687c587596b54a77f08620595f5686ea35eed97 tree bc2886ec26d992b20a887a355b2240129f6e0423 parent 31df1678d7732b94178a6e457ed6666e4431212f author David Woodhouse Thu, 24 Nov 2005 12:51:40 +0000 committer Paul Mackerras Mon, 09 Jan 2006 14:50:45 +1100 [PATCH] Save NVGPRS in 32-bit signal frame Somehow this one slipped through the cracks; when we ended up in do_signal() on a 32-bit kernel but without having the caller-saved registers into the regs, we didn't set the TIF_SAVE_NVGPRS flag to ensure they got saved later. Signed-off-by: David Woodhouse Signed-off-by: Paul Mackerras commit 31df1678d7732b94178a6e457ed6666e4431212f tree e464f609dd5fa95a28da60127c79db24bd44152e parent 9177ae4378add0126104e2966aa6150258610d59 author David Woodhouse Thu, 24 Nov 2005 17:08:56 +0000 committer Paul Mackerras Mon, 09 Jan 2006 14:50:42 +1100 [PATCH] powerpc: serial port discovery: cope with broken firmware On Tue, 2005-11-22 at 15:49 +1100, Benjamin Herrenschmidt wrote: > This moves the discovery of legacy serial ports to a separate file, > makes it common to ppc32 and ppc64, and reworks it to use the new OF > address translators to get to the ports early. This new version can also > detect some PCI serial cards using legacy chips and will probably match > those discovered port with the default console choice. This makes it deal with the fact that the Pegasos firmware reports that its clock frequency is zero... Signed-off-by: David Woodhouse Signed-off-by: Paul Mackerras commit 9177ae4378add0126104e2966aa6150258610d59 tree c5226356d7c59a03c1e96dcfafda7ab99f6d92ae parent 404849bbd2bfd62e05b36f4753f6e1af6050a824 author Benjamin Herrenschmidt Thu, 24 Nov 2005 17:34:03 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:50:38 +1100 [PATCH] powerpc: Fix g5 build with xmon My previous patches inadvertently broke building a G5 kernel with CONFIG_XMON enabled. This fixes it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 404849bbd2bfd62e05b36f4753f6e1af6050a824 tree f233dd7d1ca0a0324fbfec7d33f83406c193cb27 parent 1888e7b51c0cb5db49911b59cb758ad2c7a530f2 author David Gibson Thu, 24 Nov 2005 16:51:31 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:50:35 +1100 [PATCH] powerpc: Remove some unneeded fields from the paca This patch removes several unnecessary fields from the paca: - next_jiffy_update_tb was simply unused. Remove trivially. - The exdsi exception save area was not used. There were plans to use it, but they never seem to have gone anywhere. If they ever do, we can put it back. Remove from the paca, and from asm-offsets.c - The default_decr field was used from asm, but was only ever assigned the value of tb_ticks_per_jiffy. Just access tb_ticks_per_jiffy from asm directly instead. Built and booted on POWER5 LPAR and iSeries RS64. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 1888e7b51c0cb5db49911b59cb758ad2c7a530f2 tree dab7d7cbb895658845dce88f1b2bacc0f7238e50 parent 456752f7505ef8f580ffd157558e661da2767d99 author David Gibson Thu, 24 Nov 2005 16:34:45 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:50:32 +1100 [PATCH] powerpc: Remove ItLpRegSave area from the paca On iSeries, the paca contains, amongst other things an ItLpRegSave structure used by the hypervisor to save registers. The hypervisor locates this area through a pointer at the beginning of the paca, so the structure itself can be located elsewhere. This patch moves the reg_save area out into its own array. This reduces the amount of iSeries specific gunk which is visible to general powerpc code via paca.h Built and booted on POWER5 LPAR and iSeries RS64. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 456752f7505ef8f580ffd157558e661da2767d99 tree 8854e9dd2d21ac440f691dd16881e596db61896b parent 706e6b2caf285d3eb056c2847b7c53ae823e8a87 author David Gibson Thu, 24 Nov 2005 14:16:15 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:50:28 +1100 [PATCH] powerpc: Make hugepage mappings respect hint addresses Currently, the powerpc version of hugetlb_get_unmapped_area() entirely ignores the hint address. The only way to get a hugepage mapping at a specified address is with MAP_FIXED, in which case there's no way (short of parsing /proc/self/maps) for userspace to tell if it will clobber an existing mapping. This is inconvenient, so the patch below makes hugepage mappings use the given hint address if possible. Signed-off-by: David Gibson Signed-off-by: Paul Mackerras commit 706e6b2caf285d3eb056c2847b7c53ae823e8a87 tree eacd5d1a2f07a7c777543442170d02e9ceb79c9c parent 8c441a57d789e59ba9cc7f652a028b4a7e5471f7 author Kumar Gala Wed, 23 Nov 2005 13:03:37 -0600 committer Paul Mackerras Mon, 09 Jan 2006 14:50:25 +1100 [PATCH] powerpc: Fix suboptimal uImage target Sam Ravnborg pointed out that calling if_changed was redundant in the rule since a prerequisite had to have changed for us to get there. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 8c441a57d789e59ba9cc7f652a028b4a7e5471f7 tree 2c482abfc3b710fc1828b3faa6d9053fee848a7b parent 1d7a6b97f3c30087e307655116ff2ed492a37ad0 author Kumar Gala Wed, 23 Nov 2005 12:43:15 -0600 committer Paul Mackerras Mon, 09 Jan 2006 14:50:21 +1100 [PATCH] powerpc: Add support for building uImages powerpc: Add support for building uImages Add support to build a kernel image bootable by u-boot. Most of the makefile foo is taken from arch/ppc/boot/images/Makefile Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 1d7a6b97f3c30087e307655116ff2ed492a37ad0 tree 7a384f6fac7ea5328ea0c2d3f96368e9bc3a4fc9 parent a50b56d24c59db33792b421af4016a9c958a906f author Stephen Rothwell Thu, 17 Nov 2005 18:04:37 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:50:18 +1100 powerpc: more iseries irq work Make get_IRQ return a pending irq number so it can be handled in the powerpc geeneric code. Signed-off-by: Stephen Rothwell commit a50b56d24c59db33792b421af4016a9c958a906f tree c53cf076b1725c0ac256d91953df98ebb1b9bf8a parent e199500c6280aadf98c185db99fd24ab61ebe0c7 author Stephen Rothwell Thu, 17 Nov 2005 16:14:17 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:50:15 +1100 powerpc: reduce include in irq.c Signed-off-by: Stephen Rothwell commit e199500c6280aadf98c185db99fd24ab61ebe0c7 tree 43d7314137408fa18102a3a81384b3cb36e55f1e parent 853f828cfd29d3d486d9f4b4df91d99ce509e3b5 author Stephen Rothwell Wed, 16 Nov 2005 18:53:29 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:50:11 +1100 powerpc: partly merge iseries do_IRQ Hide some of the iseries details in iSeries_get_irq. Signed-off-by: Stephen Rothwell commit 853f828cfd29d3d486d9f4b4df91d99ce509e3b5 tree 468a444c789c02ad7141cecee0139587a46f74c0 parent 60798c6a27b4e9827bdf641259409ada674c2868 author Stephen Rothwell Wed, 16 Nov 2005 18:10:40 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:50:08 +1100 powerpc: use end_IRQ for iseries irqs Encode the sub bus number into the real irq number (even though it is always zero for now) so that we have enough information to do the EOI in iseries_end_IRQ. Signed-off-by: Stephen Rothwell commit 60798c6a27b4e9827bdf641259409ada674c2868 tree 40a19224c29b5643df0cfdd7ea9e20804f5f6368 parent 2c5bd01f8f5d7c655d9d1aa60b696d980947e3be author Stephen Rothwell Wed, 16 Nov 2005 17:47:43 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:50:05 +1100 powerpc: cleanup iseries irq.c Remove two useless counters. DeStropify. Signed-off-by: Stephen Rothwell commit 2c5bd01f8f5d7c655d9d1aa60b696d980947e3be tree 5ddf91130e9233f57977dcca204a420ade9afde9 parent d7f3945420b5d8114f2d4d85e90abe5063cc196a author Benjamin Herrenschmidt Wed, 23 Nov 2005 17:59:04 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:50:01 +1100 [PATCH] powerpc: convert macio_asic to use prom_parse Converts the macio_asic core to use the new OF parsing routines instead of relying on the pre-parsed values in struct device_node. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit d7f3945420b5d8114f2d4d85e90abe5063cc196a tree ed09dbc5b91827c09d62af225ff826e2153e42af parent 51d3082fe6e55aecfa17113dbe98077c749f724c author Benjamin Herrenschmidt Wed, 23 Nov 2005 17:58:13 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:49:58 +1100 [PATCH] powerpc: Add back support for booting from BootX (#2) ARCH=powerpc couldn't boot from BootX as it uses a "different" way of getting in the kernel. This patch adds the necessary trampolines, creating a flattened device-tree from the tree passed from MacOS, and initializing the btext engine early for really-early debugging. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 51d3082fe6e55aecfa17113dbe98077c749f724c tree 9a1e2355d5988d8cc1ca511d53c1bb24b0baa17f parent 463ce0e103f419f51b1769111e73fe8bb305d0ec author Benjamin Herrenschmidt Wed, 23 Nov 2005 17:57:25 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:49:54 +1100 [PATCH] powerpc: Unify udbg (#2) This patch unifies udbg for both ppc32 and ppc64 when building the merged achitecture. xmon now has a single "back end". The powermac udbg stuff gets enriched with some ADB capabilities and btext output. In addition, the early_init callback is now called on ppc32 as well, approx. in the same order as ppc64 regarding device-tree manipulations. The init sequences of ppc32 and ppc64 are getting closer, I'll unify them in a later patch. For now, you can force udbg to the scc using "sccdbg" or to btext using "btextdbg" on powermacs. I'll implement a cleaner way of forcing udbg output to something else than the autodetected OF output device in a later patch. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit 463ce0e103f419f51b1769111e73fe8bb305d0ec tree b4ffced87b886d81b518790fcaf841dd006e8068 parent d1405b869850982f05c7ec0d3f137ca27588192f author Benjamin Herrenschmidt Wed, 23 Nov 2005 17:56:06 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:49:50 +1100 [PATCH] powerpc: serial port discovery (#2) This moves the discovery of legacy serial ports to a separate file, makes it common to ppc32 and ppc64, and reworks it to use the new OF address translators to get to the ports early. This new version can also detect some PCI serial cards using legacy chips and will probably match those discovered port with the default console choice. Only ppc64 gets udbg still yet, unifying udbg isn't finished yet. It also adds some speed-probing code to udbg so that the default console can come up at the same speed it was set to by the firmware. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit d1405b869850982f05c7ec0d3f137ca27588192f tree b95b4e6e36f654205ad720609734a5b2ca549de0 parent bcb05504edf0e27a648aa1059cbb71e8746758a1 author Benjamin Herrenschmidt Wed, 23 Nov 2005 17:53:42 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:49:46 +1100 [PATCH] powerpc: Add OF address parsing code (#2) Parsing addresses extracted from Open Firmware isn't a simple matter. We have various bits of code that try to do it in various place, including some heuristics in prom.c that pre-parse addresses at boot and fill device-nodes "addrs", but those are dodgy at best and I want to deprecate them. So this patch introduces a new set of routines that should be capable of parsing most types of addresses and translating them into CPU physical addresses. It currently works for things on PCI busses and ISA busses and should work on "standard" busses like the root bus or the MacIO bus that don't put funky flags in addresses. If you have other bus types that do use funky flags, you'll have to add new bus type translators, which is fairly easy. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras commit bcb05504edf0e27a648aa1059cbb71e8746758a1 tree e21e936a5632b28cc3ee21595898c802a383321a parent c1189c9275dbaa474e1f5ce0b62f6b4d9be67d51 author David Woodhouse Fri, 18 Nov 2005 12:15:33 +0000 committer Paul Mackerras Mon, 09 Jan 2006 14:49:42 +1100 [PATCH] ppc64 syscall_exit_work: call the save_nvgprs function, not its descriptor. On Tue, 2005-11-15 at 18:52 +0000, David Woodhouse wrote: > This cleanup patch speeds up the null syscall path on ppc64 by about 3%, > and brings the ppc32 and ppc64 code slightly closer together. Needs this unless your binutils, like mine, are clever enough to notice my stupidity and fix it up automatically... Spotted by Paul. Signed-off-by: David Woodhouse Signed-off-by: Paul Mackerras commit c1189c9275dbaa474e1f5ce0b62f6b4d9be67d51 tree 11f1e7026c70b163027453ccd7e0fe052c63cea4 parent d6a55504b31dac7a0fd5d12bb6bd9f3773c88569 author Paul Mackerras Fri, 18 Nov 2005 22:30:06 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:49:38 +1100 ppc: remove duplicate bseip.h include/asm-ppc/bseip.h is a duplicate of arch/ppc/platforms/bseip.h and is not referenced anywhere, so get rid of it. Pointed out by Marcelo Tosatti. Signed-off-by: Paul Mackerras commit d6a55504b31dac7a0fd5d12bb6bd9f3773c88569 tree 9e26b1e4029ce491ab911e6ee45f0fca540ae395 parent 8b3d6663c6217e4f50cc3720935a96da9b984117 author Paul Mackerras Fri, 18 Nov 2005 13:16:43 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:49:34 +1100 powerpc: Update __NR_syscalls to account for SPU syscalls A previous patch ended up not increasing __NR_syscalls to account for the new SPU syscalls (probably my fault). Signed-off-by: Paul Mackerras commit 8b3d6663c6217e4f50cc3720935a96da9b984117 tree 5295c29787ac66c26ddf715868fda7fcd3ad5f97 parent 05b841174c289ca62a6b42d883b8791d9ac3a4bd author Arnd Bergmann Tue, 15 Nov 2005 15:53:52 -0500 committer Paul Mackerras Mon, 09 Jan 2006 14:49:30 +1100 [PATCH] spufs: cooperative scheduler support This adds a scheduler for SPUs to make it possible to use more logical SPUs than physical ones are present in the system. Currently, there is no support for preempting a running SPU thread, they have to leave the SPU by either triggering an event on the SPU that causes it to return to the owning thread or by sending a signal to it. This patch also adds operations that enable accessing an SPU in either runnable or saved state. We use an RW semaphore to protect the state of the SPU from changing underneath us, while we are holding it readable. In order to change the state, it is acquired writeable and a context save or restore is executed before downgrading the semaphore to read-only. From: Mark Nutter , Uli Weigand Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 05b841174c289ca62a6b42d883b8791d9ac3a4bd tree f121dff4f40e5caa99a5ab5fd041c0c268dd1f8c parent 7c038749d1e6a2d5fb37ed14aed0fffa34c4e504 author Mark Nutter Tue, 15 Nov 2005 15:53:51 -0500 committer Paul Mackerras Mon, 09 Jan 2006 14:49:25 +1100 [PATCH] spufs: add spu-side context switch code Add the source code that is used to generate spu_save_dump.h and spu_restore_dump.h. Since a full spu tool chain is needed to generate these files, the default remains to use the shipped versions in order to keep the number of tools for building the kernel down. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 7c038749d1e6a2d5fb37ed14aed0fffa34c4e504 tree a6cba799385e67773afb91a17aa888b74adb4c6d parent 5473af049d8b3556874174e61ce1986c9b5e8fa6 author Mark Nutter Tue, 15 Nov 2005 15:53:50 -0500 committer Paul Mackerras Mon, 09 Jan 2006 14:49:21 +1100 [PATCH] kernel-side context switch code for spufs This adds the code needed to perform a context switch from spufs, following the recommended 76-step sequence. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 5473af049d8b3556874174e61ce1986c9b5e8fa6 tree 53da74c13eb9125b85e85f9fc44981d3d1b41b49 parent 67207b9664a8d603138ef1556141e6d0a102bea7 author Mark Nutter Tue, 15 Nov 2005 15:53:49 -0500 committer Paul Mackerras Mon, 09 Jan 2006 14:49:16 +1100 [PATCH] spufs: switchable spu contexts Add some infrastructure for saving and restoring the context of an SPE. This patch creates a new structure that can hold the whole state of a physical SPE in memory. It also contains code that avoids races during the context switch and the binary code that is loaded to the SPU in order to access its registers. The actual PPE- and SPE-side context switch code are two separate patches. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 67207b9664a8d603138ef1556141e6d0a102bea7 tree e98886778be65aeb6625a5f516873bbc5beeb978 parent d7a301033f1990188f65abf4fe8e5b90ef0e3888 author Arnd Bergmann Tue, 15 Nov 2005 15:53:48 -0500 committer Paul Mackerras Mon, 09 Jan 2006 14:49:12 +1100 [PATCH] spufs: The SPU file system, base This is the current version of the spu file system, used for driving SPEs on the Cell Broadband Engine. This release is almost identical to the version for the 2.6.14 kernel posted earlier, which is available as part of the Cell BE Linux distribution from http://www.bsc.es/projects/deepcomputing/linuxoncell/. The first patch provides all the interfaces for running spu application, but does not have any support for debugging SPU tasks or for scheduling. Both these functionalities are added in the subsequent patches. See Documentation/filesystems/spufs.txt on how to use spufs. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit d7a301033f1990188f65abf4fe8e5b90ef0e3888 tree 5df64f9e06049e6006e6a124dc6fa4953d6e42b9 parent 401d1f029bebb7153ca704997772113dc36d9527 author Heiko J Schick Wed, 16 Nov 2005 08:56:43 +0100 committer Paul Mackerras Mon, 09 Jan 2006 14:49:06 +1100 [PATCH] powerpc: IBMEBUS bus support This patch adds the necessary core bus support used by device drivers that sit on the IBM GX bus on modern pSeries machines like the Galaxy infiniband for example. It provide transparent DMA ops (the low level driver works with virtual addresses directly) along with a simple bus layer using the Open Firmware matching routines. Signed-off-by: Heiko J Schick Signed-off-by: Paul Mackerras commit 401d1f029bebb7153ca704997772113dc36d9527 tree 01a3d649ac591d7a1fb910ce29a7223ffb629f9a parent 1cd8e506209223ed10da805d99be55e268f4023c author David Woodhouse Tue, 15 Nov 2005 18:52:18 +0000 committer Paul Mackerras Mon, 09 Jan 2006 14:49:01 +1100 [PATCH] syscall entry/exit revamp This cleanup patch speeds up the null syscall path on ppc64 by about 3%, and brings the ppc32 and ppc64 code slightly closer together. The ppc64 code was checking current_thread_info()->flags twice in the syscall exit path; once for TIF_SYSCALL_T_OR_A before disabling interrupts, and then again for TIF_SIGPENDING|TIF_NEED_RESCHED etc after disabling interrupts. Now we do the same as ppc32 -- check the flags only once in the fast path, and re-enable interrupts if necessary in the ptrace case. The patch abolishes the 'syscall_noerror' member of struct thread_info and replaces it with a TIF_NOERROR bit in the flags, which is handled in the slow path. This shortens the syscall entry code, which no longer needs to clear syscall_noerror. The patch adds a TIF_SAVE_NVGPRS flag which causes the syscall exit slow path to save the non-volatile GPRs into a signal frame. This removes the need for the assembly wrappers around sys_sigsuspend(), sys_rt_sigsuspend(), et al which existed solely to save those registers in advance. It also means I don't have to add new wrappers for ppoll() and pselect(), which is what I was supposed to be doing when I got distracted into this... Finally, it unifies the ppc64 and ppc32 methods of handling syscall exit directly into a signal handler (as required by sigsuspend et al) by introducing a TIF_RESTOREALL flag which causes _all_ the registers to be reloaded from the pt_regs by taking the ret_from_exception path, instead of the normal syscall exit path which stomps on the callee-saved GPRs. It appears to pass an LTP test run on ppc64, and passes basic testing on ppc32 too. Brief tests of ptrace functionality with strace and gdb also appear OK. I wouldn't send it to Linus for 2.6.15 just yet though :) Signed-off-by: David Woodhouse Signed-off-by: Paul Mackerras commit 1cd8e506209223ed10da805d99be55e268f4023c tree ccec0c8aff4f351baebad5dcc213915c3379ca6e parent 3d1229d6ae92ed1994f4411b8493327ef8f4b76f author Kumar Gala Mon, 14 Nov 2005 12:54:33 -0600 committer Paul Mackerras Mon, 09 Jan 2006 14:48:57 +1100 [PATCH] powerpc: moved ipic code to arch/powerpc Moved 83xx and QUICC Engine interrupt handling code into arch/powerpc as a precursor of getting 83xx sub-arch building in arch/powerpc. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 3d1229d6ae92ed1994f4411b8493327ef8f4b76f tree a50dbd6b52f1d653897147c48c57db28cefb69c7 parent afcc2472d80569059b5fe71fcb67e618b9d83fa8 author Michael Ellerman Mon, 14 Nov 2005 23:35:00 +1100 committer Paul Mackerras Mon, 09 Jan 2006 14:48:52 +1100 [PATCH] powerpc: Merge kexec This patch merges, to some extent, the PPC32 and PPC64 kexec implementations. We adopt the PPC32 approach of having ppc_md callbacks for the kexec functions. The current PPC64 implementation becomes the "default" implementation for PPC64 which platforms can select if they need no special treatment. I've added these default callbacks to pseries/maple/cell/powermac, this means iSeries no longer supports kexec - but it never worked anyway. I've renamed PPC32's machine_kexec_simple to default_machine_kexec, inline with PPC64. Judging by the comments it might be better named machine_kexec_non_of, or something, but at the moment it's the only implementation for PPC32 so it's the "default". Kexec requires machine_shutdown(), which is in machine_kexec.c on PPC32, but we already have in setup-common.c on powerpc. All this does is call ppc_md.nvram_sync, which only powermac implements, so instead make machine_shutdown a ppc_md member and have it call core99_nvram_sync directly on powermac. I've also stuck relocate_kernel.S into misc_32.S for powerpc. Built for ARCH=ppc, and 32 & 64 bit ARCH=powerpc, with KEXEC=y/n. Booted on P5 LPAR and successfully kexec'ed. Should apply on top of 493f25ef4087395891c99fcfe2c72e62e293e89f. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit afcc2472d80569059b5fe71fcb67e618b9d83fa8 tree 2ee296c0c8e7680ecbb340d6b9b1d54c5714f618 parent b9abaa3fb7328851bdeaad19e694048f0ff71d9a author Adrian Bunk Sun, 13 Nov 2005 02:26:09 +0100 committer Paul Mackerras Mon, 09 Jan 2006 14:48:47 +1100 [PATCH] PPC_PREP: remove unneeded exports This patch removes the EXPORT_SYMBOL'ed but completely unused variable ucSystemType and removes the unneeded EXPORT_SYMBOL(_prep_type). Signed-off-by: Adrian Bunk Acked-by: Tom Rini Signed-off-by: Paul Mackerras commit 0fec53a24a5e5f7ba68d891b68f568b6aeafaca6 tree c16976218b4f9bd1632ffea9619d209392c1a213 parent b9abaa3fb7328851bdeaad19e694048f0ff71d9a author Russell King Sun, 08 Jan 2006 22:37:46 +0000 committer Russell King Sun, 08 Jan 2006 22:37:46 +0000 [ARM] Remove EPXA10DB machine support EPXA10DB seems to be uncared for: - the "PLD" code has never been merged - no one has reported that this platform has been broken since at least 2.6.10 - interest seems to have dried up around March 2003. Therefore, remove EPXA10DB support. Signed-off-by: Russell King commit 63b794bfd898899cc8b6d4679d4fdc486606194b tree 6065d4bf449155ccbb6f7ac6ca7b11aaeb57385f parent ad14336de8e9cddae9ed29d45bd2e97abb72eaf9 author Sam Ravnborg Sun, 08 Jan 2006 20:37:39 +0100 committer Sam Ravnborg Sun, 08 Jan 2006 20:37:39 +0100 frv: Use KERNELRELEASE Signed-off-by: Sam Ravnborg commit ad14336de8e9cddae9ed29d45bd2e97abb72eaf9 tree 1846c6ca5ecc98a1ab324d9a3a97873067450f7a parent 442ce844e139c1e3c23e8b4df13468041ae35721 author Sam Ravnborg Sun, 08 Jan 2006 19:58:51 +0100 committer Sam Ravnborg Sun, 08 Jan 2006 19:58:51 +0100 kbuild: remove GCC_VERSION This was causing some ordering problems. Remove the up-front evaluation and just revaluate the compiler version each time we need it. (The up-front evaluation was problematic because some architectures modify the value of $(CC)). Signed-off-by: Andrew Morton Signed-off-by: Sam Ravnborg commit cfa7f52164d6cdcb6cea87386562c568da66ff9e tree ab6b702ab01c5fe281088622ae1cddb358607726 parent cb757b4eefd4600a3afa58f6983addbbe82989a8 author Pierre Ossman Sun, 08 Jan 2006 18:17:55 +0000 committer Russell King Sun, 08 Jan 2006 18:17:55 +0000 [MMC] Lindent wbsd driver Fix the coding style in the wbsd driver once and for all. Signed-off-by: Pierre Ossman Signed-off-by: Russell King commit 442ce844e139c1e3c23e8b4df13468041ae35721 tree 248a0daea2b70468befee646cbb926aaa9677089 parent 50aa88e2877f1375ba79d1be7a0ff4aa563741c7 author Dave Jones Fri, 06 Jan 2006 02:40:19 -0500 committer Sam Ravnborg Sun, 08 Jan 2006 18:56:51 +0100 kbuild: reference_discarded addition Error: ./fs/quota_v2.o .opd refers to 0000000000000020 R_PPC64_ADDR64 .exit.text Been carrying this for some time in Red Hat trees. Keith Ownes commented: For our future {in}sanity, add a comment that this is the ppc .opd section, not the ia64 .opd section. ia64 .opd should not point to discarded sections. Any idea why ppc .opd points to discarded sections when ia64 does not? AFAICT no ia64 object has a useful .opd section, they are all empty or (sometimes) a dummy entry which is 1 byte long. ia64 .opd data is built at link time, not compile time. Signed-off-by: Dave Jones Signed-off-by: Sam Ravnborg commit 50aa88e2877f1375ba79d1be7a0ff4aa563741c7 tree 7be24ab38be08efac2428d9c729340cfa4d61606 parent 24d49756aa67322c2def5dc97344615572ac454e author Tore Anderson Sat, 07 Jan 2006 15:34:40 +0100 committer Sam Ravnborg Sun, 08 Jan 2006 18:46:49 +0100 kbuild: ensure mrproper removes .old_version If the final linking of vmlinux fails, the file .old_version are left behind. This patch ensures the mrproper target will remove it if present. Signed-off-by: Tore Anderson Signed-off-by: Sam Ravnborg commit 24d49756aa67322c2def5dc97344615572ac454e tree 334341c33373de1d8ee84285219a985e6d7994fd parent cc6fa432f5eec26c43fd06c0314cb1c2cae6d9a1 author Ryan Anderson Sun, 08 Jan 2006 04:35:36 -0500 committer Sam Ravnborg Sun, 08 Jan 2006 18:44:01 +0100 kbuild: In setlocalversion change -git_dirty to just -dirty When building Debian packages directly from the git tree, the appended "git_dirty" is a problem due to the underscore. In order to cause the least problems, change that just to "dirty". Signed-off-by: Ryan Anderson Signed-off-by: Sam Ravnborg commit cc6fa432f5eec26c43fd06c0314cb1c2cae6d9a1 tree 912f435e1fb44a2eed3046ceb6bfedbd924a3462 parent ac448afbcdcc218fd8d177960466ecc4a523722f author Brian Gerst Sun, 08 Jan 2006 10:53:55 -0500 committer Sam Ravnborg Sun, 08 Jan 2006 18:44:01 +0100 modpost/file2alias: Fix typo SND_MAX should be FF_MAX Signed-off-by: Brian Gerst Signed-off-by: Sam Ravnborg commit ac448afbcdcc218fd8d177960466ecc4a523722f tree 011d0e1fb714895817eaf930bb1e89b709c6b36e parent ae215b14bdbd459afe5f371175765fae817062a8 author Brian Gerst Fri, 06 Jan 2006 18:28:45 -0500 committer Sam Ravnborg Sun, 08 Jan 2006 18:44:00 +0100 kbuild: clean up asm-offsets.h creation - Move mkdir out of cmd_offsets - Add input file to sed command instead of using cat Signed-off-by: Brian Gerst Signed-off-by: Sam Ravnborg commit ae215b14bdbd459afe5f371175765fae817062a8 tree 138f8f74c5d0cca6e1fcb6f88cee3009089ccc8c parent d51bfb7852d0e524074ad1cf04e4c3026d75d652 author Sam Ravnborg Sun, 08 Jan 2006 18:39:44 +0100 committer Sam Ravnborg Sun, 08 Jan 2006 18:39:44 +0100 kconfig: factor out ncurses check in a shell script Cleaning up the lxdialog Makefile by factoring out the ncurses compatibility checks. This made the checks much more obvious and easier to extend. Signed-off-by: Sam Ravnborg commit cb757b4eefd4600a3afa58f6983addbbe82989a8 tree c85004740b95ff8d5e8e0fb886682d60d5952a13 parent 5e68d95d155c94e45f16b521fd4e2bcd6c8481b1 author Pierre Ossman Sun, 08 Jan 2006 14:23:02 +0000 committer Russell King Sun, 08 Jan 2006 14:23:02 +0000 [MMC] Support MMC version 4 cards Version 4 of the MMC specification increased the version number of the CID structure. None of the fields changed though so the only required change is adding '4' to the approved list. Signed-off-by: Pierre Ossman Signed-off-by: Russell King commit 5e68d95d155c94e45f16b521fd4e2bcd6c8481b1 tree e57df508228e555f0447299997a470b691f27a9a parent b9abaa3fb7328851bdeaad19e694048f0ff71d9a author Pierre Ossman Sun, 08 Jan 2006 14:21:52 +0000 committer Russell King Sun, 08 Jan 2006 14:21:52 +0000 [MMC] wbsd pnp suspend Allow the wbsd driver to use the new suspend/resume functions added to the PnP layer. Signed-off-by: Pierre Ossman Signed-off-by: Russell King commit a61c2d78ce61e67baf27c43f6721db87a27ac762 tree c27d0df1c743cff54f15f7476c86ced8917047e5 parent f61051cd2fc58546f28c226933942d4360810ffb author Dave Jones Sat, 07 Jan 2006 23:18:19 +0000 committer Russell King Sat, 07 Jan 2006 23:18:19 +0000 [SERIAL] Make the number of UARTs registered configurable. Also add a nr_uarts module option to the 8250 code to override this, up to a maximum of CONFIG_SERIAL_8250_NR_UARTS This should appease people who complain about a proliferation of /dev/ttyS & /sysfs nodes whilst at the same time allowing a single kernel image to support the rarer occasions of lots of devices. Signed-off-by: Dave Jones commit f61051cd2fc58546f28c226933942d4360810ffb tree bac31cc9c3c857d21b1b084260f443ebc8d25e6c parent b9abaa3fb7328851bdeaad19e694048f0ff71d9a author Russell King Sat, 07 Jan 2006 23:11:23 +0000 committer Russell King Sat, 07 Jan 2006 23:11:23 +0000 [SERIAL] Fix clocal wakeup problem Jim Alexander reported a problem where "if one calls open() in blocking mode with CLOCAL off, the 8250.c driver under the 2.6 kernel (or at least 2.6.8 and 2.6.10) does not wake up the blocked process when DCD is asserted." Fix this by enabling modem status interrupts immediately before we read the carrier detect status. Thanks to Jim for reporting the problem and testing the fix. Signed-off-by: Russell King commit 9f5336e21893fafd232a9a02cfa7588ad153889a tree 83e86a9be67db41144a551cce96d0c2b4884ff70 parent 97dc627fb3471664c72d0933790a90ba3f91e131 author Adrian Bunk Sat, 07 Jan 2006 13:24:25 -0800 committer David S. Miller Sat, 07 Jan 2006 13:24:25 -0800 [IPV6]: small cleanups This patch contains the following cleanups: - addrconf.c: make addrconf_dad_stop() static - inet6_connection_sock.c should #include for getting the prototypes of it's global functions Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit 97dc627fb3471664c72d0933790a90ba3f91e131 tree 89ca7c0856da17268c6f1c0a3d45fb07e4058741 parent f53b61d8c385140fe7f09e0c9187ae813ee9f330 author Adrian Bunk Sat, 07 Jan 2006 13:23:39 -0800 committer David S. Miller Sat, 07 Jan 2006 13:23:39 -0800 [IPV4]: make ip_fragment() static Since there's no longer any external user of ip_fragment() we can make it static. Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller commit f53b61d8c385140fe7f09e0c9187ae813ee9f330 tree effe543a90c814b1b07aeeac7b1fc027b295669d parent da7bc6ee8ee3976696fc740065362ca442eb61c9 author David S. Miller Sat, 07 Jan 2006 12:50:27 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:42 -0800 [NETFILTER]: Add dummy nf_hook{_thresh}() when NETFILTER is disabled. Signed-off-by: David S. Miller commit da7bc6ee8ee3976696fc740065362ca442eb61c9 tree abe8ae0b281fc7070544b141f78d091dc1f231ef parent b341387225832c392ed83b9f89d15668b033a106 author Joe Kappus Fri, 06 Jan 2006 23:15:04 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:41 -0800 [NETFILTER]: ip_conntrack_proto_sctp.c needs linux/interrupt.h Signed-off-by: Joe Kappus Signed-off-by: David S. Miller commit b341387225832c392ed83b9f89d15668b033a106 tree 38f153768969a3b6ad6b10e735931913baee2983 parent e16a8f0b8c53312beb1d8b52e463aae79aa809c7 author Francois Romieu Fri, 06 Jan 2006 23:08:42 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:40 -0800 [AX25/MKISS]: unbalanced spinlock_bh in ax_encaps() The unlocking disappeared during commit 5793f4be23f0171b4999ca68a39a9157b44139f3. Signed-off-by: Francois Romieu Signed-off-by: David S. Miller commit e16a8f0b8c53312beb1d8b52e463aae79aa809c7 tree 2f8e8747261db640e3cc4a5ededb2bcd6a47dedf parent eb9c7ebe6980c41cf6ae889e301c3b49f473ee9f author Patrick McHardy Fri, 06 Jan 2006 23:06:48 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:38 -0800 [NETFILTER]: Add ipt_policy/ip6t_policy matches Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit eb9c7ebe6980c41cf6ae889e301c3b49f473ee9f tree 419103d15b9de9c26c8400c698625231df55da91 parent b59c270104f03960069596722fea70340579244d author Patrick McHardy Fri, 06 Jan 2006 23:06:30 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:37 -0800 [NETFILTER]: Handle NAT in IPsec policy checks Handle NAT of decapsulated IPsec packets by reconstructing the struct flowi of the original packet from the conntrack information for IPsec policy checks. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit b59c270104f03960069596722fea70340579244d tree 5d038835626047899097b622695ead5c1eb1c499 parent 5c901daaea3be0d900b3ae1fc9b5f64ff94e4f02 author Patrick McHardy Fri, 06 Jan 2006 23:06:10 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:36 -0800 [NETFILTER]: Keep conntrack reference until IPsec policy checks are done Keep the conntrack reference until policy checks have been performed for IPsec NAT support. The reference needs to be dropped before a packet is queued to avoid having the conntrack module unloadable. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 5c901daaea3be0d900b3ae1fc9b5f64ff94e4f02 tree 7532b280d892bab7fd9af98b02a3f81929ddca5d parent 4e8e9de7c25315669e2d5565acc50ec379522c28 author Patrick McHardy Fri, 06 Jan 2006 23:05:36 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:35 -0800 [NETFILTER]: Redo policy lookups after NAT when neccessary When NAT changes the key used for the xfrm lookup it needs to be done again. If a new policy is returned in POST_ROUTING the packet needs to be passed to xfrm4_output_one manually after all hooks were called because POST_ROUTING is called with fixed okfn (ip_finish_output). Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 4e8e9de7c25315669e2d5565acc50ec379522c28 tree 3d101041c9d28a70b8eec77af279cbfbb72b3027 parent 3e3850e989c5d2eb1aab6f0fd9257759f0f4cbc6 author Patrick McHardy Fri, 06 Jan 2006 23:05:17 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:34 -0800 [NETFILTER]: Use conntrack information to determine if packet was NATed Preparation for IPsec support for NAT: Use conntrack information instead of saving the saving and comparing the addresses to determine if a packet was NATed and needs to be rerouted to make it easier to extend the key. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 3e3850e989c5d2eb1aab6f0fd9257759f0f4cbc6 tree fa05d1de4767bc30e77442ffbacfe8bd8dd2213d parent 8cdfab8a43bb4b3da686ea503a702cb6f9f6a803 author Patrick McHardy Fri, 06 Jan 2006 23:04:54 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:33 -0800 [NETFILTER]: Fix xfrm lookup in ip_route_me_harder/ip6_route_me_harder ip_route_me_harder doesn't use the port numbers of the xfrm lookup and uses ip_route_input for non-local addresses which doesn't do a xfrm lookup, ip6_route_me_harder doesn't do a xfrm lookup at all. Use xfrm_decode_session and do the lookup manually, make sure both only do the lookup if the packet hasn't been transformed already. Makeing sure the lookup only happens once needs a new field in the IP6CB, which exceeds the size of skb->cb. The size of skb->cb is increased to 48b. Apparently the IPv6 mobile extensions need some more room anyway. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 8cdfab8a43bb4b3da686ea503a702cb6f9f6a803 tree 9c4f42ff23f0e227e705aa5aae4f74e45297f3cb parent b05e106698d9966de524e78d9da1bf6407fe0c32 author Patrick McHardy Fri, 06 Jan 2006 23:04:01 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:32 -0800 [IPV4]: reset IPCB flags when neccessary Reset IPSKB_XFRM_TUNNEL_SIZE flags in ipip and ip_gre hard_start_xmit function before the packet reenters IP. This is neccessary so the encapsulated packets are checked not to be oversized in xfrm4_output.c again. Reset all flags in sit when a packet changes its address family. Also remove some obsolete IPSKB flags. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit b05e106698d9966de524e78d9da1bf6407fe0c32 tree 8a7c253b7249451941674805cccdaaba299dff6f parent 951dbc8ac714b04c36296b8b5c36c8e036ce433f author Patrick McHardy Fri, 06 Jan 2006 23:03:34 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:31 -0800 [IPV4/6]: Netfilter IPsec input hooks When the innermost transform uses transport mode the decapsulated packet is not visible to netfilter. Pass the packet through the PRE_ROUTING and LOCAL_IN hooks again before handing it to upper layer protocols to make netfilter-visibility symetrical to the output path. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 951dbc8ac714b04c36296b8b5c36c8e036ce433f tree 7f3599987f6b6db765f66c65d5c1cefe1457ea6a parent 16a6677fdf1d1194f688f8291b06fbaff248c353 author Patrick McHardy Fri, 06 Jan 2006 23:02:34 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:29 -0800 [IPV6]: Move nextheader offset to the IP6CB Move nextheader offset to the IP6CB to make it possible to pass a packet to ip6_input_finish multiple times and have it skip already parsed headers. As a nice side effect this gets rid of the manual hopopts skipping in ip6_input_finish. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 16a6677fdf1d1194f688f8291b06fbaff248c353 tree 61badedc44ed88eb8f39e082d1abf114252cc686 parent ee2e6841b934d76cb944a3390bbea84da777d4fa author Patrick McHardy Fri, 06 Jan 2006 23:01:48 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:28 -0800 [XFRM]: Netfilter IPsec output hooks Call netfilter hooks before IPsec transforms. Packets visit the FORWARD/LOCAL_OUT and POST_ROUTING hook before the first encapsulation and the LOCAL_OUT and POST_ROUTING hook before each following tunnel mode transform. Patch from Herbert Xu : Move the loop from dst_output into xfrm4_output/xfrm6_output since they're the only ones who need to it. xfrm{4,6}_output_one() processes the first SA all subsequent transport mode SAs and is called in a loop that calls the netfilter hooks between each two calls. In order to avoid the tail call issue, I've added the inline function nf_hook which is nf_hook_slow plus the empty list check. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit ee2e6841b934d76cb944a3390bbea84da777d4fa tree 839c2a904647d220d5188e942240b22a24403990 parent aa0e4e4aea8d9e0a559a884336d728f0263063e0 author Luiz Capitulino Fri, 06 Jan 2006 22:59:43 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:27 -0800 [XFRM]: Fix sparse warning. security/selinux/xfrm.c:155:10: warning: Using plain integer as NULL pointer Signed-off-by: Luiz Capitulino Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit aa0e4e4aea8d9e0a559a884336d728f0263063e0 tree 78517a89214d6106e2f31fe4b84f001fe959088f parent b9abaa3fb7328851bdeaad19e694048f0ff71d9a author David S. Miller Fri, 06 Jan 2006 22:55:39 -0800 committer David S. Miller Sat, 07 Jan 2006 12:57:26 -0800 [DCCP]: ipv6.c needs net/ip6_checksum.c Reported by Dave Jones. Signed-off-by: David S. Miller commit b9abaa3fb7328851bdeaad19e694048f0ff71d9a tree de56cda929b837c6b2e421b57c723939ec7df5da parent 8995b161eb142b843094dd614b80e4cce1d66352 parent 736ce43295682d060f2b93624b4a339f9af6aab1 author Linus Torvalds Sat, 07 Jan 2006 11:29:51 -0800 committer Linus Torvalds Sat, 07 Jan 2006 11:29:51 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input commit 8995b161eb142b843094dd614b80e4cce1d66352 tree ffd9988879441d5ec45ab96b2e06f4fcb1210158 parent cc918c7ab7da017bfaf9661420bb5c462e057cfb parent fe5dd7c73d328b255286b6b65ca19dd34447f709 author Linus Torvalds Sat, 07 Jan 2006 10:45:22 -0800 committer Linus Torvalds Sat, 07 Jan 2006 10:45:22 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-arm commit cc918c7ab7da017bfaf9661420bb5c462e057cfb tree 36198fe17267200131ec6c3df7c046a857f76b8d parent f9c5d0451b406a6bd0d0bf1fdd63c7777af6ebc6 parent dd68e88c72ac9ad25052065c4a443326eda6a052 author Linus Torvalds Sat, 07 Jan 2006 10:44:22 -0800 committer Linus Torvalds Sat, 07 Jan 2006 10:44:22 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-serial commit f9c5d0451b406a6bd0d0bf1fdd63c7777af6ebc6 tree 717e9fc0044e9d94dd363670cacc2dff9d5b4407 parent d354d9afe923eb08f7ee89128b38ddb6415de01d parent f3e2628bed0d5a88ced8239b35f1534557f9631c author Linus Torvalds Sat, 07 Jan 2006 10:43:40 -0800 committer Linus Torvalds Sat, 07 Jan 2006 10:43:40 -0800 Merge master.kernel.org:/home/rmk/linux-2.6-mmc commit d354d9afe923eb08f7ee89128b38ddb6415de01d tree b4ce49dd4ad6963bff6b69ba413f074b11114837 parent f9a204e1de73a7007de66fb289e1d64a7665c9b4 author Knut Petersen Sat, 07 Jan 2006 10:22:04 +0100 committer Linus Torvalds Sat, 07 Jan 2006 10:39:34 -0800 [PATCH] fbcon: don´t call set_par() in fbcon_init() if vc_mode == KD_GRAPHICS Nothing prevents a user to modprobe a framebuffer driver from e.g. the xterm prompt. As a result, the set_par() function of the driver will be called from fbcon_init(). This is fatal as a lot of X / framebuffer combinations are unable to recover from set_par() reprogramming the graphics controller in KD_GRAPHICS mode. It is also unnecessary as the set_par() function will be called during a switch to KD_TEXT anyway. Because of this no side effects are possible. Signed-off-by: Knut Petersen Signed-off-by: Linus Torvalds commit fe5dd7c73d328b255286b6b65ca19dd34447f709 tree 5b93364d88c1f214053003c75bdb0c94b7cdb0df parent f8ce25476d5f12ffa29b885e49c38cd95053437e author Russell King Sat, 07 Jan 2006 16:55:50 +0000 committer Russell King Sat, 07 Jan 2006 16:55:50 +0000 [ARM] byteorder.h needs linux/compiler.h Signed-off-by: Russell King commit 736ce43295682d060f2b93624b4a339f9af6aab1 tree 6f912c51447b389f1456494a3b436534b9b64bed parent 6020bafc9e30e04f4db65298d00e8e28ffb40652 author Vernon Mauery Sat, 07 Jan 2006 11:35:05 -0500 committer Dmitry Torokhov Sat, 07 Jan 2006 11:35:05 -0500 Input: ibmasm - convert to dynamic input_dev allocation Update the ibmasm driver to use the dynamic allocation of input_dev structs to work with the sysfs subsystem. Vojtech: Fixed some problems/bugs in the patch. Dmitry: Fixed some more. Signed-off-by: Vernon Mauery Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit f8ce25476d5f12ffa29b885e49c38cd95053437e tree 640fbdaacbf375f13feaf0eee49306d90b778b8a parent de1d815fccee1f4766a7e56054ab0ec3f6f3a7db author Russell King Sat, 07 Jan 2006 16:15:52 +0000 committer Russell King Sat, 07 Jan 2006 16:15:52 +0000 [ARM] Move asm/hardware/clock.h to linux/clk.h This is needs to be visible to other architectures using the AMBA bus and peripherals. Signed-off-by: Russell King commit de1d815fccee1f4766a7e56054ab0ec3f6f3a7db tree e767e18755de6efc55f8ea2759ece2aa74574b05 parent 123656d4cc8c946f578ebd18c2050f5251720428 author Russell King Sat, 07 Jan 2006 14:54:15 +0000 committer Russell King Sat, 07 Jan 2006 14:54:15 +0000 [ARM] Move AMBA bus code to drivers/amba/ Make the AMBA bus code visible to other architectures. Signed-off-by: Russell King commit 123656d4cc8c946f578ebd18c2050f5251720428 tree 3d5432eff034a3b9cfdc98b37e245abe5695342d parent a62c80e559809e6c7851ec04d30575e85ad6f6ed parent 0aec63e67c69545ca757a73a66f5dcf05fa484bf author Russell King Sat, 07 Jan 2006 14:40:05 +0000 committer Russell King Sat, 07 Jan 2006 14:40:05 +0000 Merge with Linus' kernel. commit a62c80e559809e6c7851ec04d30575e85ad6f6ed tree 7d91fd1f5186ad0d95498f65acfa5a10942133d6 parent 6351610d6906aacbf9176cbdd045dd3876eec4c0 author Russell King Sat, 07 Jan 2006 13:52:45 +0000 committer Russell King Sat, 07 Jan 2006 13:52:45 +0000 [ARM] Move AMBA include files to include/linux/amba/ Since the ARM AMBA bus is used on MIPS as well as ARM, we need to make the bus available for other architectures to use. Move the AMBA include files from include/asm-arm/hardware/ to include/linux/amba/ Signed-off-by: Russell King commit 6351610d6906aacbf9176cbdd045dd3876eec4c0 tree af6219c7a958f91c4d62fd1622954ed91ed1a9e7 parent 2c041f4b9be5cecbd0a042ecd9122a9db6f50416 author Andre McCurdy Sat, 07 Jan 2006 11:39:20 +0000 committer Russell King Sat, 07 Jan 2006 11:39:20 +0000 [ARM] 3239/1: Add ARM optimised swab32 Patch from Andre McCurdy Replaces generic swab32 routine with a more ARM friendly version. Reduces kernel text size by approx 1200 bytes when compiled with 3.4.4 and approx 2400 bytes with 4.0.2 Probably some performance benefit as well. Signed-off-by: Andre McCurdy Signed-off-by: Russell King commit 2c041f4b9be5cecbd0a042ecd9122a9db6f50416 tree 25dca940da091b0426f067338f235e651ac99e07 parent f99c89297cd6995ccad6394c87383941c2570fe9 author Richard Purdie Sat, 07 Jan 2006 11:12:26 +0000 committer Russell King Sat, 07 Jan 2006 11:12:26 +0000 [ARM] 3235/1: SharpSL PM: Fix a gcc4 build error Patch from Richard Purdie Fix a gcc4 build error (incomplete element type) in the pxa SharpSL PM code. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit f99c89297cd6995ccad6394c87383941c2570fe9 tree aea6fffb764b943e3343c0d3259262461f92d7b1 parent 5b2e98cdf3a6ac6c57de6a2156c673d4b0262684 author Pavel Pisa Sat, 07 Jan 2006 10:44:32 +0000 committer Russell King Sat, 07 Jan 2006 10:44:32 +0000 [ARM] 3232/1: i.MX Frame Buffer undeclared "dev" variable fix Patch from Pavel Pisa Correction of the code broken by update whole-tree platform devices update. Signed-off-by: Pavel Pisa Signed-off-by: Sascha Hauer Signed-off-by: Russell King commit f9a204e1de73a7007de66fb289e1d64a7665c9b4 tree e2f6d2d6bc2312a4417d8306d9e4f1a0d7dfc461 parent d758a8fa8ce0566947677f7e70bf70c57ad9445c author Borislav Petkov Fri, 06 Jan 2006 01:31:00 -0500 committer Len Brown Sat, 07 Jan 2006 05:11:08 -0500 [ACPI] remove Kconfig "default y" for laptop drivers Signed-off-by: Borislav Petkov Signed-off-by: Andrew Morton Signed-off-by: Len Brown commit d758a8fa8ce0566947677f7e70bf70c57ad9445c tree d569ee91b84d237de83b28d6a33270fc695e1f34 parent add5b5ee992e40c9cd8697ea94c223628be162a7 author Randy Dunlap Fri, 06 Jan 2006 01:31:00 -0500 committer Len Brown Sat, 07 Jan 2006 05:05:31 -0500 [ACPI] fix kernel-doc warnings in acpi/scan.c Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Len Brown commit add5b5ee992e40c9cd8697ea94c223628be162a7 tree 7f3f279f3e6b41e61d7dfaf4d25a5251024a7185 parent 25da0974601fc8096461f3d3f7ca3aab8e79adfb parent 0aec63e67c69545ca757a73a66f5dcf05fa484bf author Len Brown Sat, 07 Jan 2006 02:05:40 -0500 committer Len Brown Sat, 07 Jan 2006 02:05:40 -0500 Auto-update from upstream commit 0aec63e67c69545ca757a73a66f5dcf05fa484bf tree f01b80fd415389506b2a719831dfd6a90c0b258f parent 0feb9bfcfa3f9bf67a4a1e3f2608700ad73f92ed author David S. Miller Fri, 06 Jan 2006 15:36:48 -0800 committer Linus Torvalds Fri, 06 Jan 2006 20:23:04 -0800 [PATCH] Fix posix-cpu-timers sched_time accumulation I've spent the past 3 days digging into a glibc testsuite failure in current CVS, specifically libc/rt/tst-cputimer1.c The thr1 and thr2 timers fire too early in the second pass of this test. The second pass is noteworthy because it makes use of intervals, whereas the first pass does not. All throughout the posix-cpu-timers.c code, the calculation of the process sched_time sum is implemented roughly as: unsigned long long sum; sum = tsk->signal->sched_time; t = tsk; do { sum += t->sched_time; t = next_thread(t); } while (t != tsk); In fact this is the exact scheme used by check_process_timers(). In the case of check_process_timers(), current->sched_time has just been updated (via scheduler_tick(), which is invoked by update_process_times(), which subsequently invokes run_posix_cpu_timers()) So there is no special processing necessary wrt. that. In other contexts, we have to allot for the fact that tsk->sched_time might be a bit out of date if we are current. And the posix-cpu-timers.c code uses current_sched_time() to deal with that. Unfortunately it does so in an erroneous and inconsistent manner in one spot which is what results in the early timer firing. In cpu_clock_sample_group_locked(), it does this: cpu->sched = p->signal->sched_time; /* Add in each other live thread. */ while ((t = next_thread(t)) != p) { cpu->sched += t->sched_time; } if (p->tgid == current->tgid) { /* * We're sampling ourselves, so include the * cycles not yet banked. We still omit * other threads running on other CPUs, * so the total can always be behind as * much as max(nthreads-1,ncpus) * (NSEC_PER_SEC/HZ). */ cpu->sched += current_sched_time(current); } else { cpu->sched += p->sched_time; } The problem is the "p->tgid == current->tgid" test. If "p" is not current, and the tgids are the same, we will add the process t->sched_time twice into cpu->sched and omit "p"'s sched_time which is very very very wrong. posix-cpu-timers.c has a helper function, sched_ns(p) which takes care of this, so my fix is to use that here instead of this special tgid test. The fact that current can be one of the sub-threads of "p" points out that we could make things a little bit more accurate, perhaps by using sched_ns() on every thread we process in these loops. It also points out that we don't use the most accurate value for threads in the group actively running other cpus (and this is mentioned in the comment). But that is a future enhancement, and this fix here definitely makes sense. Signed-off-by: David S. Miller Signed-off-by: Linus Torvalds commit 4f8448dfe8d3804fadad90c9b77494238b4a4eae tree 0d057d70db0dd4c2dda85a3d932af70bd7025686 parent ac4e7b35579de55db50d602a472858867808a9c3 author Ralph Campbell Fri, 06 Jan 2006 16:43:47 -0800 committer Roland Dreier Fri, 06 Jan 2006 16:43:47 -0800 IB: Set GIDs correctly in ib_create_ah_from_wc() ib_create_ah_from_wc() doesn't create the correct return address (AH) when there is a GRH present (source & dest GIDs need to be swapped). Signed-off-by: Ralph Campbell Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit ac4e7b35579de55db50d602a472858867808a9c3 tree 09680302ee8c821bdea085af19d1d3b50ebcb4a9 parent ea5d4a6ad2bfd1006790666981645cab43d3afbd author Jack Morgenstein Fri, 06 Jan 2006 16:43:14 -0800 committer Roland Dreier Fri, 06 Jan 2006 16:43:14 -0800 IB/uverbs: Release event file reference on ib_uverbs_create_cq() error ib_uverbs_create_cq() should release the completion channel event file if an error occurs after it looks it up. Also, if userspace asks for a completion channel and we don't find it, an error should be returned instead of silently creating a CQ without a completion channel. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit ea5d4a6ad2bfd1006790666981645cab43d3afbd tree eab8ec359f4dd5d833932c6107023701038224e2 parent b4ca1a3f8ca24033d7b7ef595faef97d9f8b2326 author Ralph Campbell Fri, 06 Jan 2006 16:24:45 -0800 committer Roland Dreier Fri, 06 Jan 2006 16:24:45 -0800 IB/uverbs: set ah_flags when creating address handle AH attribute's ah_flags need to be set according to the is_global flag passed in from userspace. Signed-off-by: Roland Dreier commit b4ca1a3f8ca24033d7b7ef595faef97d9f8b2326 tree 1a45fee6feb7fe3a86a9fc4fbd09fdf32a8f7ae6 parent 4de144bf721e46e7ccc8fed45b20a640cc364904 author Jack Morgenstein Fri, 06 Jan 2006 16:21:19 -0800 committer Roland Dreier Fri, 06 Jan 2006 16:21:19 -0800 IB/uverbs: Fix reference counting on error paths If an operation fails after incrementing an object's reference count, then it should decrement the reference count on the error path. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 0feb9bfcfa3f9bf67a4a1e3f2608700ad73f92ed tree 22c71657387b42787bc070502899a881ed909f39 parent d8d8f6a4fd635dcc9e4f946394c1fbde85eeab66 parent ccf18968b1bbc2fb117190a1984ac2a826dac228 author Linus Torvalds Fri, 06 Jan 2006 15:25:08 -0800 committer Linus Torvalds Fri, 06 Jan 2006 15:25:08 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6 commit d8d8f6a4fd635dcc9e4f946394c1fbde85eeab66 tree 0a1bc8ff40c12bb30066467e11ae9153f89514e7 parent 57d1c91fa6d9146b309b7511f6432dea2a24858b parent a2167dc62e9142b9a4bfb20f7e001c0f0a26fd8c author Linus Torvalds Fri, 06 Jan 2006 15:24:28 -0800 committer Linus Torvalds Fri, 06 Jan 2006 15:24:28 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 57d1c91fa6d9146b309b7511f6432dea2a24858b tree d7958dd87eb950cc3eeaf8b32fc372c0e7ff6702 parent 47853e7fa588bef826c9799a87b33904b32bd905 parent 37193147991a53b2e9f573d0ec47f63a2d4de8dc author Linus Torvalds Fri, 06 Jan 2006 15:23:56 -0800 committer Linus Torvalds Fri, 06 Jan 2006 15:23:56 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild commit 47853e7fa588bef826c9799a87b33904b32bd905 tree bd7681d1aedf28125b86fb0218e64297f4d71ac9 parent 221fc10ec89834329e5613e3cab4569ba22da410 parent 9e56904e41e242169007e69d9916059dab995d90 author Linus Torvalds Fri, 06 Jan 2006 15:22:57 -0800 committer Linus Torvalds Fri, 06 Jan 2006 15:22:57 -0800 Merge git://git.linux-nfs.org/pub/linux/nfs-2.6 commit 221fc10ec89834329e5613e3cab4569ba22da410 tree be6c44c8aab6c548082479b29e62e38c274eb115 parent 76832c28de4fabbf32fe1e5a25194724a3430070 author Evgeniy Fri, 06 Jan 2006 21:18:01 +0300 committer Linus Torvalds Fri, 06 Jan 2006 15:22:28 -0800 [PATCH] fs/ufs: debug mode compilation failure This patch should fix compilation failure of fs/ufs/dir.c with defined UFS_DIR_DEBUG Signed-off-by: Evgeniy Dushistov Signed-off-by: Linus Torvalds commit 76832c28de4fabbf32fe1e5a25194724a3430070 tree af30f03ef07b2532332b53f95f43f93c0ec3553d parent c0e7dcc8bc01d7ea1865e7040a586207d1b34b36 author Dimitri Sivanich Fri, 06 Jan 2006 11:33:41 -0600 committer Linus Torvalds Fri, 06 Jan 2006 15:22:28 -0800 [PATCH] shrink mmtimer memory size This greatly reduces the amount of memory used by mmtimer on smaller machines with large values of MAX_COMPACT_NODES. Signed-off-by: Dimitri Sivanich Signed-off-by: Christoph Lameter Signed-off-by: Linus Torvalds commit c0e7dcc8bc01d7ea1865e7040a586207d1b34b36 tree d142efa236f8dbc4a2f4175899503ac09bf3f356 parent d99cf9d679a520d67f81d805b7cb91c68e1847f0 author Adrian Bunk Fri, 06 Jan 2006 18:26:29 +0100 committer Linus Torvalds Fri, 06 Jan 2006 15:22:28 -0800 [PATCH] MAINTAINERS: remove the outdated DAC960 entry Randy Dunlap: "Dave is no longer at OSDL and is no longer maintaining that driver." Signed-off-by: Adrian Bunk Signed-off-by: Linus Torvalds commit d51bfb7852d0e524074ad1cf04e4c3026d75d652 tree af3947d9504938d0a8c657ba58732c8b54df6772 parent 37193147991a53b2e9f573d0ec47f63a2d4de8dc author Sam Ravnborg Fri, 06 Jan 2006 22:35:59 +0100 committer Sam Ravnborg Fri, 06 Jan 2006 22:35:59 +0100 kbuild: introduce escsq to escapre single quotes This makes things a little bit more reader friendly and gvim is less confused. Signed-off-by: Sam Ravnborg commit 25da0974601fc8096461f3d3f7ca3aab8e79adfb tree f9b3c1bfbc63fdb6a94e82177b8c3ae891125422 parent 036d25f79ddfbc9878da24ef8e468a6d22caa605 parent d99cf9d679a520d67f81d805b7cb91c68e1847f0 author Len Brown Fri, 06 Jan 2006 16:34:21 -0500 committer Len Brown Fri, 06 Jan 2006 16:34:21 -0500 Auto-update from upstream commit a2167dc62e9142b9a4bfb20f7e001c0f0a26fd8c tree c6f2a4206952e51f765f3e7ef84892746579501c parent 76ab608d86cf1ef5c5c46819b5733eb9f9f964f8 author Alexey Dobriyan Fri, 06 Jan 2006 13:24:54 -0800 committer David S. Miller Fri, 06 Jan 2006 13:24:54 -0800 [NET]: Endian-annotate in_aton() Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit 76ab608d86cf1ef5c5c46819b5733eb9f9f964f8 tree aa8d9947a722459a0ae0e54c9391a8de7c59aeee parent 5f8ac64b15172c7ced7d7990eb28342092bc751b author Alexey Dobriyan Fri, 06 Jan 2006 13:24:29 -0800 committer David S. Miller Fri, 06 Jan 2006 13:24:29 -0800 [NET]: Endian-annotate struct iphdr And fix trivial warnings that emerged. Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit 4de144bf721e46e7ccc8fed45b20a640cc364904 tree 2a1c8e592d21a5ee03533fe6e01ceda82f068715 parent 0f8e8f9607d77ffc1f9820446dfcf781e96fdfd4 author Dotan Barak Fri, 06 Jan 2006 13:23:58 -0800 committer Roland Dreier Fri, 06 Jan 2006 13:23:58 -0800 IB/mthca: Add support for automatic path migration (APM) Add code to modify QP operation to handle setting alternate paths for connected QPs. Signed-off-by: Dotan Barak Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 5f8ac64b15172c7ced7d7990eb28342092bc751b tree 63046817c9a6e8db513379337f01289c045a5d63 parent 69549ddd2f894c4cead50ee2b60cc02990c389ad author Trent Jaeger Fri, 06 Jan 2006 13:22:39 -0800 committer David S. Miller Fri, 06 Jan 2006 13:22:39 -0800 [LSM-IPSec]: Corrections to LSM-IPSec Nethooks This patch contains two corrections to the LSM-IPsec Nethooks patches previously applied. (1) free a security context on a failed insert via xfrm_user interface in xfrm_add_policy. Memory leak. (2) change the authorization of the allocation of a security context in a xfrm_policy or xfrm_state from both relabelfrom and relabelto to setcontext. Signed-off-by: Trent Jaeger Signed-off-by: David S. Miller commit 69549ddd2f894c4cead50ee2b60cc02990c389ad tree ecd1f34216814c329330f8374d7cbfb59a024596 parent 3cbc4ab58f79853740bf21f3736913d223ee50d4 author Luiz Capitulino Fri, 06 Jan 2006 13:19:31 -0800 committer David S. Miller Fri, 06 Jan 2006 13:19:31 -0800 [PKTGEN]: Adds missing __init. pktgen_find_thread() and pktgen_create_thread() are only called at initialization time. Signed-off-by: Luiz Capitulino Signed-off-by: David S. Miller commit 036d25f79ddfbc9878da24ef8e468a6d22caa605 tree 0d8d981a1f433ad5d34fa059ae48e4a1d95bab4b parent d78fef14c2218ba9666687aabc57392c54569048 author Len Brown Fri, 06 Jan 2006 16:19:26 -0500 committer Len Brown Fri, 06 Jan 2006 16:19:26 -0500 [ACPI] linux-acpi@vger.kernel.org replaces acpi-devel@lists.sourceforge.net Signed-off-by: Len Brown commit 3cbc4ab58f79853740bf21f3736913d223ee50d4 tree 6e620bb2332c6af44c8c2824ba95b29ea7c50da8 parent ee02b3a613a692a40e0f48a25d9d60cc751ebbe5 author Joe Fri, 06 Jan 2006 13:15:11 -0800 committer David S. Miller Fri, 06 Jan 2006 13:15:11 -0800 [NETFILTER]: ipt_helper.c needs linux/interrupt.h From: Joe Signed-off-by: David S. Miller commit 0f8e8f9607d77ffc1f9820446dfcf781e96fdfd4 tree 3e865beb1c3e1cc53b9644ada1415ea11a8f4b77 parent 5ceb74557c71465cf8f6fda050aac00e53f9ad3d author Michael S. Tsirkin Fri, 06 Jan 2006 13:13:32 -0800 committer Roland Dreier Fri, 06 Jan 2006 13:13:32 -0800 IB/mthca: Fill in vendor_err field in completion with error Fill vendor_err field in completion with error. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit ee02b3a613a692a40e0f48a25d9d60cc751ebbe5 tree 51c034027c96a213ac53cd831dee4cb24fd0ed17 parent a20a8554796bc4e28879beabd0db4bf3ce77b686 author Stephen Hemminger Fri, 06 Jan 2006 13:13:29 -0800 committer David S. Miller Fri, 06 Jan 2006 13:13:29 -0800 [BRIDGE] netfilter: vlan + hw checksum = bug? It looks like the bridge netfilter code does not correctly update the hardware checksum after popping off the VLAN header. This is by inspection, I have *not* tested this. To test you would need to set up a filtering bridge with vlans and a device the does hardware receive checksum (skge, or sungem) Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit a20a8554796bc4e28879beabd0db4bf3ce77b686 tree 2fdc866d3fe722e6eea6b6bb4017b9ab53927a62 parent 4bad4dc919573dbe9a5b41dd9edff279e99822d7 author Shaun Pereira Fri, 06 Jan 2006 13:11:35 -0800 committer David S. Miller Fri, 06 Jan 2006 13:11:35 -0800 [X25]: Fix for broken x25 module. When a user-space server application calls bind on a socket, then in kernel space this bound socket is considered 'x25-linked' and the SOCK_ZAPPED flag is unset.(As in x25_bind()/af_x25.c). Now when a user-space client application attempts to connect to the server on the listening socket, if the kernel accepts this in-coming call, then it returns a new socket to userland and attempts to reply to the caller. The reply/x25_sendmsg() will fail, because the new socket created on call-accept has its SOCK_ZAPPED flag set by x25_make_new(). (sock_init_data() called by x25_alloc_socket() called by x25_make_new() sets the flag to SOCK_ZAPPED)). Fix: Using the sock_copy_flag() routine available in sock.h fixes this. Tested on 32 and 64 bit kernels with x25 over tcp. Signed-off-by: Shaun Pereira Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 5ceb74557c71465cf8f6fda050aac00e53f9ad3d tree 8cd77012ee081d45926731306339977da61a4926 parent 0d3b525fff40475e58dab9176740d2efc5f37838 author Jack Morgenstein Fri, 06 Jan 2006 13:11:07 -0800 committer Roland Dreier Fri, 06 Jan 2006 13:11:07 -0800 IB/mthca: multiple fixes for multicast group handling Multicast group management fixes: . Fix leak of mailbox memory in error handling on multicast group operations. . Free AMGM indices at detach and in attach error handling. . Fix amount to shift for aligning next_gid_index in mailbox: it starts at bit 6, not bit 5. . Allocate AMGM index after end of MGM table, in the range num_mgms to multicast table size - 1. Add some BUG_ON checks to catch cases where the index falls in the MGM hash area. . Initialize the list of QPs in a newly-allocated group from AMGM to 0 This is necessary since when a group is moved from AMGM to MGM (in the case where the MGM entry has been emptied of QPs), the AMGM entry is not reset to 0 (and we don't want an extra command to do that). Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 4bad4dc919573dbe9a5b41dd9edff279e99822d7 tree 530b791512cfd2f310c5806d109242bccf090fd7 parent dbbc0988288d9643044e8bd8c7e7de70016ecd23 author Kris Katterjohn Fri, 06 Jan 2006 13:08:20 -0800 committer David S. Miller Fri, 06 Jan 2006 13:08:20 -0800 [NET]: Change sk_run_filter()'s return type in net/core/filter.c It should return an unsigned value, and fix sk_filter() as well. Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit dbbc0988288d9643044e8bd8c7e7de70016ecd23 tree 6e3175bf90bb9702be4fe631b1db36f850cf4249 parent d99cf9d679a520d67f81d805b7cb91c68e1847f0 author Kris Katterjohn Fri, 06 Jan 2006 13:05:58 -0800 committer David S. Miller Fri, 06 Jan 2006 13:05:58 -0800 [NET]: Use newer is_multicast_ether_addr() in some files This uses is_multicast_ether_addr() because it has recently been changed to do the same thing these seperate tests are doing. Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit 0d3b525fff40475e58dab9176740d2efc5f37838 tree aa3704e6e5a6018e5e03857abf9e344df97600b8 parent 0364ffc3e8c441d4185e3eb41ecc61dbb09614e4 author Jack Morgenstein Fri, 06 Jan 2006 13:03:43 -0800 committer Roland Dreier Fri, 06 Jan 2006 13:03:43 -0800 IB/mthca: fix for RTR-to-RTS transition in modify QP PKEY_INDEX is not a legal parameter in the RTR->RTS transition. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 0364ffc3e8c441d4185e3eb41ecc61dbb09614e4 tree 58ae797028c830eff6a8094d5911a9e251f92ad2 parent 5b3bc7a68171138d52b1b62012c37ac888895460 author Jack Morgenstein Fri, 06 Jan 2006 13:01:27 -0800 committer Roland Dreier Fri, 06 Jan 2006 13:01:27 -0800 IB/mthca: fix for SQEr-to-RTS transition in modify QP Fixes to SQEr->RTS transition in modify_qp: 1. The flag IB_QP_ACCESS_FLAGS is optional for UC qps 2. The SQEr state is not supported for RC qps Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit ccf18968b1bbc2fb117190a1984ac2a826dac228 tree 7bc8fbf5722aecf1e84fa50c31c657864cba1daa parent e91c021c487110386a07facd0396e6c3b7cf9c1f parent d99cf9d679a520d67f81d805b7cb91c68e1847f0 author Greg Kroah-Hartman Fri, 06 Jan 2006 12:59:59 -0800 committer Greg Kroah-Hartman Fri, 06 Jan 2006 12:59:59 -0800 Merge ../torvalds-2.6/ commit 5b3bc7a68171138d52b1b62012c37ac888895460 tree 63960e2e3f8db5bbe7ef5c9d64e1c5ea3a9124f5 parent 466200562ccd80f728f7ef602d2b97b4fdedd566 author Jack Morgenstein Fri, 06 Jan 2006 12:57:30 -0800 committer Roland Dreier Fri, 06 Jan 2006 12:57:30 -0800 IB/mthca: max_inline_data handling tweaks Fix a case where copying max_inline_data from a successful create_qp capabilities output to create_qp input could cause EINVAL error: mthca_set_qp_size must check max_inline_data directly against max_desc_sz; checking qp->sq.max_gs is wrong since max_inline_data depends on the qp type and does not involve max_sg. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 37193147991a53b2e9f573d0ec47f63a2d4de8dc tree 8f1464d143b94fddf8c3ff47119def45f37d2d45 parent 367cb704212cd0c9273ba2b1e62523139210563b author Adrian Bunk Mon, 02 Jan 2006 11:25:30 +0100 committer Sam Ravnborg Fri, 06 Jan 2006 21:49:31 +0100 kconfig: fix gconfig with POSIXLY_CORRECT=1 This patch fixed "make gconfig" with POSIXLY_CORRECT=1 set. This issue was reported by Jens Elkner in kernel Bugzilla #2919. Signed-off-by: Adrian Bunk Signed-off-by: Sam Ravnborg commit 367cb704212cd0c9273ba2b1e62523139210563b tree cda6402ea19e2b706ad8ac9a186f1e391ab3c6ea parent 20ede2741551d4a1d24313292beb0da915a55911 author Sam Ravnborg Fri, 06 Jan 2006 21:17:50 +0100 committer Sam Ravnborg Fri, 06 Jan 2006 21:17:50 +0100 kbuild: un-stringnify KBUILD_MODNAME Now when kbuild passes KBUILD_MODNAME with "" do not __stringify it when used. Remove __stringnify for all users. This also fixes the output of: $ ls -l /sys/module/ drwxr-xr-x 4 root root 0 2006-01-05 14:24 pcmcia drwxr-xr-x 4 root root 0 2006-01-05 14:24 pcmcia_core drwxr-xr-x 3 root root 0 2006-01-05 14:24 "processor" drwxr-xr-x 3 root root 0 2006-01-05 14:24 "psmouse" The quoting of the module names will be gone again. Thanks to GregKH + Kay Sievers for reproting this. Signed-off-by: Sam Ravnborg commit 9e56904e41e242169007e69d9916059dab995d90 tree 93078abbe0b10b9889c925b92e560111951f49f1 parent 42181d4bafe9047d0cd7f92fc11d79496bd95034 author J. Bruce Fields Tue, 03 Jan 2006 09:56:01 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:59:00 -0500 SUNRPC: Make krb5 report unsupported encryption types Print messages when an unsupported encrytion algorthm is requested or there is an error locating a supported algorthm. Signed-off-by: Kevin Coffman Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 42181d4bafe9047d0cd7f92fc11d79496bd95034 tree 70140df490e0c1ffa775423b1b76ab7d3dd62af2 parent 9eed129bbde80cbd7ffeacaa1555ba1e0c9a0997 author J. Bruce Fields Tue, 03 Jan 2006 09:56:01 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:59 -0500 SUNRPC: Make spkm3 report unsupported encryption types Print messages when an unsupported encrytion algorthm is requested or there is an error locating a supported algorthm. Signed-off-by: Kevin Coffman Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 9eed129bbde80cbd7ffeacaa1555ba1e0c9a0997 tree 49066f9b5321e09cf9696e5b69d454bf1e393eb0 parent 26c78e156b1d1b2387ec33b5f2fb62d6e0a186a3 author J. Bruce Fields Tue, 03 Jan 2006 09:56:00 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:59 -0500 SUNRPC: Update the spkm3 code to use the make_checksum interface Also update the tokenlen calculations to accomodate g_token_size(). Signed-off-by: Andy Adamson Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 26c78e156b1d1b2387ec33b5f2fb62d6e0a186a3 tree fdbcdc6baa25af41d6935eebd537997fa24bf495 parent 58df095b732529ade8f4051b41d7c29731afecd6 author Trond Myklebust Tue, 03 Jan 2006 09:55:58 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:58 -0500 NFSv4: Fix an Oops in nfs_do_expire_all_delegations If the loop errors, we need to exit. Signed-off-by: Trond Myklebust commit 58df095b732529ade8f4051b41d7c29731afecd6 tree 917819b96bac91e5daea7a31eb6eba66268952d9 parent 0065db328533c390fbfb0fe0c46bcf9a278fb99e author Trond Myklebust Tue, 03 Jan 2006 09:55:57 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:58 -0500 NFSv4: Allow entries in the idmap cache to expire If someone changes the uid/gid mapping in userland, then we do eventually want those changes to be propagated to the kernel. Currently the kernel assumes that it may cache entries forever. Add an expiration time + garbage collector for idmap entries. Signed-off-by: Trond Myklebust commit 0065db328533c390fbfb0fe0c46bcf9a278fb99e tree 3ef282aa05653857007760ce15a4119f198f8320 parent 632e3bdc5006334cea894d078660b691685e1075 author Trond Myklebust Tue, 03 Jan 2006 09:55:56 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:58 -0500 SUNRPC: Clean up xprt_destroy() We ought never to be calling xprt_destroy() if there are still active rpc_tasks. Optimise away the broken code that attempts to "fix" that case. Signed-off-by: Trond Myklebust commit 632e3bdc5006334cea894d078660b691685e1075 tree c18dbe84dfe679d19a581ea0c9bfb931daa08917 parent eadb8c147154bff982f02accf31b847a1f142ace author Trond Myklebust Tue, 03 Jan 2006 09:55:55 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:57 -0500 SUNRPC: Ensure client closes the socket when server initiates a close If the server decides to close the RPC socket, we currently don't actually respond until either another RPC call is scheduled, or until xprt_autoclose() gets called by the socket expiry timer (which may be up to 5 minutes later). This patch ensures that xprt_autoclose() is called much sooner if the server closes the socket. Signed-off-by: Trond Myklebust commit eadb8c147154bff982f02accf31b847a1f142ace tree 875b2cefb6a5a96dcfc956b268128d3b37f9b0d2 parent cf3fff54a46e1f8fa4cc1deb783172a392077eb0 author Trond Myklebust Tue, 03 Jan 2006 09:55:54 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:57 -0500 NFS: get rid of some needless code obfuscation in xdr_encode_sattr(). Signed-off-by: Trond Myklebust commit cf3fff54a46e1f8fa4cc1deb783172a392077eb0 tree 9dc139601f2227abfa4a8efdf996f765fbbdad60 parent f518e35aec984036903c1003e867f833747a9d79 author Trond Myklebust Tue, 03 Jan 2006 09:55:53 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:57 -0500 NFS: Send valid mode bits to the server inode->i_mode contains a lot more than just the mode bits. Make sure that we mask away this extra stuff in SETATTR calls to the server. Signed-off-by: Trond Myklebust commit f518e35aec984036903c1003e867f833747a9d79 tree 2697838e0b1e6cc80565204de8b46430ded1246a parent 922004120b10dcb0ce04b55014168e8a7a8c1a0e author Chuck Lever Tue, 03 Jan 2006 09:55:52 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:56 -0500 SUNRPC: get rid of cl_chatty Clean up: Every ULP that uses the in-kernel RPC client, except the NLM client, sets cl_chatty. There's no reason why NLM shouldn't set it, so just get rid of cl_chatty and always be verbose. Test-plan: Compile with CONFIG_NFS enabled. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 922004120b10dcb0ce04b55014168e8a7a8c1a0e tree 4209bbd1043d9ddf09f2f277a65af758aa3631da parent 35f5a422ce1af836007f811b613c440d0e348e06 author Chuck Lever Tue, 03 Jan 2006 09:55:51 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:56 -0500 SUNRPC: transport switch API for setting port number At some point, transport endpoint addresses will no longer be IPv4. To hide the structure of the rpc_xprt's address field from ULPs and port mappers, add an API for setting the port number during an RPC bind operation. Test-plan: Destructive testing (unplugging the network temporarily). Connectathon with UDP and TCP. NFSv2/3 and NFSv4 mounting should be carefully checked. Probably need to rig a server where certain services aren't running, or that returns an error for some typical operation. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 35f5a422ce1af836007f811b613c440d0e348e06 tree 25aac5cccce27a6ed5ebb4e161f813af2adbaf56 parent 02107148349f31eee7c0fb06fd7a880df73dbd20 author Chuck Lever Tue, 03 Jan 2006 09:55:50 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:56 -0500 SUNRPC: new interface to force an RPC rebind We'd like to hide fields in rpc_xprt and rpc_clnt from upper layer protocols. Start by creating an API to force RPC rebind, replacing logic that simply sets cl_port to zero. Test-plan: Destructive testing (unplugging the network temporarily). Connectathon with UDP and TCP. NFSv2/3 and NFSv4 mounting should be carefully checked. Probably need to rig a server where certain services aren't running, or that returns an error for some typical operation. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 02107148349f31eee7c0fb06fd7a880df73dbd20 tree 37bffd81e08b8e50394ce89a1aa7a3961f0ffbe7 parent 03c21733938aad0758f5f88e1cc7ede69fc3c910 author Chuck Lever Tue, 03 Jan 2006 09:55:49 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:55 -0500 SUNRPC: switchable buffer allocation Add RPC client transport switch support for replacing buffer management on a per-transport basis. In the current IPv4 socket transport implementation, RPC buffers are allocated as needed for each RPC message that is sent. Some transport implementations may choose to use pre-allocated buffers for encoding, sending, receiving, and unmarshalling RPC messages, however. For transports capable of direct data placement, the buffers can be carved out of a pre-registered area of memory rather than from a slab cache. Test-plan: Millions of fsx operations. Performance characterization with "sio" and "iozone". Use oprofile and other tools to look for significant regression in CPU utilization. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 03c21733938aad0758f5f88e1cc7ede69fc3c910 tree d6e7295cb3d325d1de975eb072b363212ba1f6e6 parent a659753ecc66945e9c69823fcbbe222b446c66d7 author J. Bruce Fields Tue, 03 Jan 2006 09:55:48 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:55 -0500 NFSv3: try get_root user-supplied security_flavor Thanks to Ed Keizer for bug and root cause. He says: "... we could only mount the top-level Solaris share. We could not mount deeper into the tree. Investigation showed that Solaris allows UNIX authenticated FSINFO only on the top level of the share. This is a problem because we share/export our home directories one level higher than we mount them. I.e. we share the partition and not the individual home directories. This prevented access to home directories." We still may need to try auth_sys for the case where the client doesn't have appropriate credentials. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit a659753ecc66945e9c69823fcbbe222b446c66d7 tree 2f52a68f46f9ac73819fb8afa0c290ea85f3dc2f parent 64a318ee2af9000df482d7a125c3b3e1f1007404 author J. Bruce Fields Tue, 03 Jan 2006 09:55:46 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:54 -0500 NLM: fix parsing of sm notify procedure The procedure that decodes statd sm_notify call seems to be skipping a few arguments. How did this ever work? >From folks at Polyserve. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 64a318ee2af9000df482d7a125c3b3e1f1007404 tree 7b39e558cccce484635dc847a016bbcb5e83abdb parent 2c5acd2e1a73cad59203a1bace21e6b03f2920a9 author J. Bruce Fields Tue, 03 Jan 2006 09:55:46 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:54 -0500 NLM: Further cancel fixes If the server receives an NLM cancel call and finds no waiting lock to cancel, then chances are the lock has already been applied, and the client just hadn't yet processed the NLM granted callback before it sent the cancel. The Open Group text, for example, perimts a server to return either success (LCK_GRANTED) or failure (LCK_DENIED) in this case. But returning an error seems more helpful; the client may be able to use it to recognize that a race has occurred and to recover from the race. So, modify the relevant functions to return an error in this case. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 2c5acd2e1a73cad59203a1bace21e6b03f2920a9 tree 8fbd8725f4ca96c1d77d3c00a5756beaf5fa8abc parent 5996a298da43a03081e9ba2116983d173001c862 author J. Bruce Fields Tue, 03 Jan 2006 09:55:45 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:54 -0500 NLM: clean up nlmsvc_delete_block The fl_next check here is superfluous (and possibly a layering violation). Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit 5996a298da43a03081e9ba2116983d173001c862 tree 533a3289102051cc3e033eff5730301776e64d31 parent f232142cc21127c829559923eb405d1bcb2e2278 author J. Bruce Fields Tue, 03 Jan 2006 09:55:44 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:53 -0500 NLM: don't unlock on cancel requests Currently when lockd gets an NLM_CANCEL request, it also does an unlock for the same range. This is incorrect. The Open Group documentation says that "This procedure cancels an *outstanding* blocked lock request." (Emphasis mine.) Also, consider a client that holds a lock on the first byte of a file, and requests a lock on the entire file. If the client cancels that request (perhaps because the requesting process is signalled), the server shouldn't apply perform an unlock on the entire file, since that will also remove the previous lock that the client was already granted. Or consider a lock request that actually *downgraded* an exclusive lock to a shared lock. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit f232142cc21127c829559923eb405d1bcb2e2278 tree 4ac11e21c008a26b6e9e5ad3ac4db8b2920534a9 parent fb459f45f7c7689714023d41b3dca999bb90a5d3 author J. Bruce Fields Tue, 03 Jan 2006 09:55:42 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:53 -0500 NLM: Clean up nlmsvc_grant_reply locking Slightly simpler logic here makes it more trivial to verify that the up's and down's are balanced here. Break out an assignment from a conditional while we're at it. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust commit fb459f45f7c7689714023d41b3dca999bb90a5d3 tree 5352bfb2157ad3edfd617e721a3c32e8617b4757 parent a72b44222d222749d54b3e370d825094352e389f author Adrian Bunk Tue, 03 Jan 2006 09:55:41 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:53 -0500 SUNRPC: net/sunrpc/xdr.c: remove xdr_decode_string() This patch removes ths unused function xdr_decode_string(). Signed-off-by: Adrian Bunk Acked-by: Neil Brown Acked-by: Charles Lever Signed-off-by: Trond Myklebust commit a72b44222d222749d54b3e370d825094352e389f tree d64815b696d207927a4154a2cbc649552708c6f2 parent a895b4a198dd06f8353328867e4f6cfd28b63081 author Trond Myklebust Tue, 03 Jan 2006 09:55:41 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:52 -0500 NFSv4: Allow user to set the port used by the NFSv4 callback channel Signed-off-by: Trond Myklebust commit a895b4a198dd06f8353328867e4f6cfd28b63081 tree 88a20d173f39170f40e03eede9103f3b0e10b980 parent fa178f29c0f8a0dce748181a5351f4a92fd4f455 author Trond Myklebust Tue, 03 Jan 2006 09:55:40 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:52 -0500 NFS: Clean up weak cache consistency code ...and ensure that nfs_update_inode() respects wcc Signed-off-by: Trond Myklebust commit fa178f29c0f8a0dce748181a5351f4a92fd4f455 tree 07de5ced8d16d832ebed98c58a2c0498affa12db parent beb2a5ec386e5ce6891ebd1c06b913da04354b40 author Trond Myklebust Tue, 03 Jan 2006 09:55:38 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:51 -0500 NFSv4: Ensure DELEGRETURN returns attributes Upon return of a write delegation, the server will almost always bump the change attribute. Ensure that we pick up that change so that we don't invalidate our data cache unnecessarily. Signed-off-by: Trond Myklebust commit beb2a5ec386e5ce6891ebd1c06b913da04354b40 tree 370e0065936e5739de638389af6c85ee960a6b28 parent 969b7f2522c90dfed5d0d2553a91522bda2c3bf3 author Trond Myklebust Tue, 03 Jan 2006 09:55:37 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:51 -0500 NFSv4: Ensure change attribute returned by GETATTR callback conforms to spec According to RFC3530 we're supposed to cache the change attribute at the time the client receives a write delegation. If the inode is clean, a CB_GETATTR callback by the server to the client is supposed to return the cached change attribute. If, OTOH, the inode is dirty, the client should bump the cached change attribute by 1. Signed-off-by: Trond Myklebust commit 969b7f2522c90dfed5d0d2553a91522bda2c3bf3 tree 762dddd9aa1bce49c85ea2ec5db3440938242e6e parent 566dd6064e89b15ff2dec666a421bebf0f98f26c author Trond Myklebust Tue, 03 Jan 2006 09:55:36 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:51 -0500 SUNRPC: Fix a potential race in rpc_pipefs. Signed-off-by: Trond Myklebust commit 566dd6064e89b15ff2dec666a421bebf0f98f26c tree 45ccdc3084c56557ba5baeae771be7c1e0564ae5 parent 70b9ecbdb9c5fdc731f8780bffd45d9519020c4a author Trond Myklebust Tue, 03 Jan 2006 09:55:35 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:50 -0500 NFS: Make directIO aware of compound pages... ...and avoid calling set_page_dirty on them Signed-off-by: Trond Myklebust commit 70b9ecbdb9c5fdc731f8780bffd45d9519020c4a tree 4678182bd417945cd424a652396510bc53eff8b7 parent 24174119c73983d5217da8f56a12c79a9b57e056 author Trond Myklebust Tue, 03 Jan 2006 09:55:34 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:50 -0500 NFS: Make stat() return updated mtimes after a write() The SuS states that a call to write() will cause mtime to be updated on the file. In order to satisfy that requirement, we need to flush out any cached writes in nfs_getattr(). Speed things up slightly by not committing the writes. Signed-off-by: Trond Myklebust commit 24174119c73983d5217da8f56a12c79a9b57e056 tree 38904c36afc94c6833cb9296c705e654ff286e43 parent 40859d7ee64ed6bfad8a4e93f9bb5c1074afadff author Trond Myklebust Tue, 03 Jan 2006 09:55:33 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:50 -0500 NFSv4: Ensure that we return the delegation on the target of a rename too. Signed-off-by: Trond Myklebust commit 40859d7ee64ed6bfad8a4e93f9bb5c1074afadff tree ed4069423c3d6551035d5b6116f50452cdac4103 parent 325cfed9ae901320e9234b18c21434b783dbe342 author Chuck Lever Wed, 30 Nov 2005 18:09:02 -0500 committer Trond Myklebust Fri, 06 Jan 2006 14:58:49 -0500 NFS: support large reads and writes on the wire Most NFS server implementations allow up to 64KB reads and writes on the wire. The Solaris NFS server allows up to a megabyte, for instance. Now the Linux NFS client supports transfer sizes up to 1MB, too. This will help reduce protocol and context switch overhead on read/write intensive NFS workloads, and support larger atomic read and write operations on servers that support them. Test-plan: Connectathon and iozone on mount point with wsize=rsize>32768 over TCP. Tests with NFS over UDP to verify the maximum RPC payload size cap. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 325cfed9ae901320e9234b18c21434b783dbe342 tree 4c842a04bbb20427b2cf6a40a28fdbddf96bbae3 parent dc20f803904dbf30f834dcc43c14701dfce32491 author Chuck Lever Wed, 30 Nov 2005 18:08:55 -0500 committer Trond Myklebust Fri, 06 Jan 2006 14:58:49 -0500 NFS: make "inode number mismatch" message more useful To help NFS users and server developers, make the "inode number mismatch" message display more useful information. Test-plan: None. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit dc20f803904dbf30f834dcc43c14701dfce32491 tree 27d12ce7f8c7455501c93198d194824a346ce2ad parent a911fd9a6046200e439b4af172e8379c0942eec3 author Chuck Lever Wed, 30 Nov 2005 18:08:57 -0500 committer Trond Myklebust Fri, 06 Jan 2006 14:58:48 -0500 NFS: get rid of useless kernel log message nfs_statfs() generates a log message when GETATTR returns an error. This is usually a useless message. Make it a dprintk. Test plan: None Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit a911fd9a6046200e439b4af172e8379c0942eec3 tree f67582f100edef03085705fc919b4b068775d57a parent 6b59a75460eb9527145d7bd55068e5d32bee8a44 author Chuck Lever Wed, 30 Nov 2005 18:08:59 -0500 committer Trond Myklebust Fri, 06 Jan 2006 14:58:48 -0500 NFS: simplify inlined bit ops in nfs_page.h Minor cleanup: inlined bit ops in nfs_page.h can be simpler. Test plan: Write-intensive workload against a server that requires COMMITs. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 6b59a75460eb9527145d7bd55068e5d32bee8a44 tree e813365a2bdc3605fbc6580d05189b8878185ef6 parent ce1a8e6796150233f5098100f70217521dc7c08f author Chuck Lever Wed, 30 Nov 2005 18:08:19 -0500 committer Trond Myklebust Fri, 06 Jan 2006 14:58:48 -0500 NFS: Fix error recovery code in fs/nfs/inode.c:__init_nfs() Red Hat found a problem in the error recovery logic in __init_nfs. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit ce1a8e6796150233f5098100f70217521dc7c08f tree 439d2abd246e051c43d1cdb7ee3b77b8864fd2b3 parent 286d7d6a0cb38d3d4316a1dfea9b0c0fc5a6455b author Chuck Lever Wed, 30 Nov 2005 18:08:17 -0500 committer Trond Myklebust Fri, 06 Jan 2006 14:58:47 -0500 NFS: use generic_write_checks() to sanity check direct writes Replace ad hoc write parameter sanity checking in nfs_file_direct_write() with a call to generic_write_checks(). This should make the proper checks modulo the O_LARGEFILE flag, and should catch NFSv2-specific limitations by virtue of i_sb->s_maxbytes. Test plan: Posix compliance testing with both NFSv2 and NFSv3. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust commit 286d7d6a0cb38d3d4316a1dfea9b0c0fc5a6455b tree 844ea8a14db8261a3977ae4d460e227402a4a426 parent b4454fe1a7cb76a248d0641c9d68a44a1b8d9a1f author Trond Myklebust Tue, 03 Jan 2006 09:55:26 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:47 -0500 NFSv4: Remove requirement for machine creds for the "setclientid" operation Use a cred from the nfs4_client->cl_state_owners list. Signed-off-by: Trond Myklebust commit b4454fe1a7cb76a248d0641c9d68a44a1b8d9a1f tree 50ddc265e9700b1924e45ffce0f4583ba1013177 parent 58d9714a44a79bba9b414da3ffbf3c753dc5915f author Trond Myklebust Tue, 03 Jan 2006 09:55:25 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:47 -0500 NFSv4: Remove requirement for machine creds for the "renew" operation In RFC3530, the RENEW operation is allowed to use either the same principal, RPC security flavour and (if RPCSEC_GSS), the same mechanism and service that was used for SETCLIENTID_CONFIRM OR Any principal, RPC security flavour and service combination that currently has an OPEN file on the server. Choose the latter since that doesn't require us to keep credentials for the same principal for the entire duration of the mount. Signed-off-by: Trond Myklebust commit 58d9714a44a79bba9b414da3ffbf3c753dc5915f tree 623141f0a40a470c0c81c2edcd8c45c6b0daf4f9 parent 5043e900f5404c01864fbeb5826aa7de3981bbc1 author Trond Myklebust Tue, 03 Jan 2006 09:55:24 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:46 -0500 NFSv4: Send RENEW requests to the server only when we're holding state Signed-off-by: Trond Myklebust commit 5043e900f5404c01864fbeb5826aa7de3981bbc1 tree eaefbbcfd6afb79cc1ad8c9beed49cc56d9ecd53 parent 433fbe4c8837e3cc2ba6a6374edf28737d01a2e9 author Trond Myklebust Tue, 03 Jan 2006 09:55:23 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:46 -0500 NFS: Convert instances of kernel_thread() to kthread() Convert private implementations in NFSv4 state recovery and delegation code to use kthreads. Signed-off-by: Trond Myklebust commit 433fbe4c8837e3cc2ba6a6374edf28737d01a2e9 tree 9448a58eafca388efaab5d3653c818fe60a4450d parent 26e976a884be9aa08f8ff906372f25f68df0d948 author Trond Myklebust Tue, 03 Jan 2006 09:55:22 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:45 -0500 NFSv4: State recovery cleanup Use wait_on_bit() when waiting for state recovery to complete. Signed-off-by: Trond Myklebust commit 26e976a884be9aa08f8ff906372f25f68df0d948 tree ef675345b5c6126dca86699e077b75a375b504b9 parent 2bd615797ef32ec06ef0ee44198a7aecc21ffd8c author Trond Myklebust Tue, 03 Jan 2006 09:55:21 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:45 -0500 NFSv4: OPEN/LOCK/LOCKU/CLOSE will automatically renew the NFSv4 lease Cut down on the number of unnecessary RENEW requests on the wire. Signed-off-by: Trond Myklebust commit 2bd615797ef32ec06ef0ee44198a7aecc21ffd8c tree 5ef07d09b9e3674dffce1a24dfb46e6d23410a72 parent fe650407a86823bcafbfbee96c7bc6a1b5cd1c76 author Trond Myklebust Tue, 03 Jan 2006 09:55:19 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:45 -0500 SUNRPC: Ensure that SIGKILL will always terminate a synchronous RPC call. ...and make sure that the "intr" flag also enables SIGHUP and SIGTERM to interrupt RPC calls too (as per the Solaris implementation). Signed-off-by: Trond Myklebust commit fe650407a86823bcafbfbee96c7bc6a1b5cd1c76 tree 38e899d40fabba538bb558c0dcc3d38f830beadb parent a5d16a4d090bd2af86e648ed9bb205903fcf1e86 author Trond Myklebust Tue, 03 Jan 2006 09:55:18 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:44 -0500 NFSv4: Make DELEGRETURN an interruptible operation. Signed-off-by: Trond Myklebust commit a5d16a4d090bd2af86e648ed9bb205903fcf1e86 tree 9fd615f3991e50d07583010d9703a3d1aced8419 parent 911d1aaf26fc4d771174d98fcab710a44e2a5fa0 author Trond Myklebust Tue, 03 Jan 2006 09:55:17 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:44 -0500 NFSv4: Convert LOCK rpc call into an asynchronous RPC call In order to allow users to interrupt/cancel it. Signed-off-by: Trond Myklebust commit 911d1aaf26fc4d771174d98fcab710a44e2a5fa0 tree e16df0f68093d2dc0abd5f55c2d46ff7705fffb8 parent 864472e9b8fa76ffaad17dfcb84d79e16df6828c author Trond Myklebust Tue, 03 Jan 2006 09:55:16 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:44 -0500 NFSv4: locking XDR cleanup Get rid of some unnecessary intermediate structures Signed-off-by: Trond Myklebust commit 864472e9b8fa76ffaad17dfcb84d79e16df6828c tree 1cc5c4624c36be0b9aebdabae30d1a5385e04dee parent e761692381f294ea079d2e869fcd7c0afc79e394 author Trond Myklebust Tue, 03 Jan 2006 09:55:15 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:43 -0500 NFSv4: Make open recovery track O_RDWR, O_RDONLY and O_WRONLY correctly When recovering from a delegation recall or a network partition, we need to replay open(O_RDWR), open(O_RDONLY) and open(O_WRONLY) separately. Signed-off-by: Trond Myklebust commit e761692381f294ea079d2e869fcd7c0afc79e394 tree 34ebc00c001cddc94866936c460547d311e5dabb parent cdd4e68b5f0ed12c64b3e2be83655d2a47588a74 author Trond Myklebust Tue, 03 Jan 2006 09:55:13 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:43 -0500 NFSv4: Make nfs4_state track O_RDWR, O_RDONLY and O_WRONLY separately A closer reading of RFC3530 reveals that OPEN_DOWNGRADE must always specify a access modes that have been the argument of a previous OPEN operation. IOW: doing OPEN(O_RDWR) and then OPEN_DOWNGRADE(O_WRONLY) is forbidden unless the user called OPEN(O_WRONLY) In order to fix that, we really need to track the three possible open states separately. Signed-off-by: Trond Myklebust commit cdd4e68b5f0ed12c64b3e2be83655d2a47588a74 tree c31565c36e0550655207d2edcabaa6ea1f3217f7 parent 24ac23ab88df5b21b5b2df8cde748bf99b289099 author Trond Myklebust Tue, 03 Jan 2006 09:55:12 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:42 -0500 NFSv4: Make open_confirm() asynchronous too Signed-off-by: Trond Myklebust commit 24ac23ab88df5b21b5b2df8cde748bf99b289099 tree e5e599fc55fc1744284077b320f3541a3658b958 parent e60859ac0e50f660d23b72e42e05f58757dcfeff author Trond Myklebust Tue, 03 Jan 2006 09:55:11 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:42 -0500 NFSv4: Convert open() into an asynchronous RPC call OPEN is a stateful operation, so we must ensure that it always completes. In order to allow users to interrupt the operation, we need to make the RPC call asynchronous, and then wait on completion (or cancel). Signed-off-by: Trond Myklebust commit e60859ac0e50f660d23b72e42e05f58757dcfeff tree a48b07cea18971545bd6670f66f8b8341d393cbc parent 89991c24e48b76f40aa3bd8c40c1e87c75d10a33 author Trond Myklebust Tue, 03 Jan 2006 09:55:10 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:42 -0500 SUNRPC: rpc_execute should not return task->tk_status; Signed-off-by: Trond Myklebust commit 89991c24e48b76f40aa3bd8c40c1e87c75d10a33 tree 82e112cea2034a47b9f0c65e4607d093a4ebb684 parent e56e0b78eb1097a8e06512b9ed4be94d7538e7ac author Trond Myklebust Tue, 03 Jan 2006 09:55:09 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:41 -0500 SUNRPC: Get rid of some unused exports Signed-off-by: Trond Myklebust commit e56e0b78eb1097a8e06512b9ed4be94d7538e7ac tree fe2b82993dd62323f9891f28bdb79c7cb2b01442 parent 06f814a3ad0ddfe19e6e4f44e3da5d490547faf3 author Trond Myklebust Tue, 03 Jan 2006 09:55:08 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:41 -0500 NFSv4: Allocate OPEN call RPC arguments using kmalloc() Cleanup in preparation for making OPEN calls interruptible by the user. Signed-off-by: Trond Myklebust commit 06f814a3ad0ddfe19e6e4f44e3da5d490547faf3 tree 576f5f3c884b10b3b6349523af70a113f75d6634 parent 44c288732fdbd7e38460d156a40d29590bf93bce author Trond Myklebust Tue, 03 Jan 2006 09:55:07 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:40 -0500 NFSv4: Make locku use the new RPC "wait on completion" interface. Signed-off-by: Trond Myklebust commit 44c288732fdbd7e38460d156a40d29590bf93bce tree d4239fe37529b4799e85443f803db754ef66f874 parent 4ce70ada1ff1d0b80916ec9ec5764ce44a50a54f author Trond Myklebust Tue, 03 Jan 2006 09:55:06 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:40 -0500 NFSv4: stateful NFSv4 RPC call interface The NFSv4 model requires us to complete all RPC calls that might establish state on the server whether or not the user wants to interrupt it. We may also need to schedule new work (including new RPC calls) in order to cancel the new state. The asynchronous RPC model will allow us to ensure that RPC calls always complete, but in order to allow for "synchronous" RPC, we want to add the ability to wait for completion. The waits are, of course, interruptible. Signed-off-by: Trond Myklebust commit 4ce70ada1ff1d0b80916ec9ec5764ce44a50a54f tree 9bc9ffc691679a4423a6b8724a27607c9ad7ea2c parent 963d8fe53339128ee46a7701f2e36305f0ccff8c author Trond Myklebust Tue, 03 Jan 2006 09:55:05 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:40 -0500 SUNRPC: Further cleanups Signed-off-by: Trond Myklebust commit 963d8fe53339128ee46a7701f2e36305f0ccff8c tree 426736c70a8e05cb1d945d5c7f44ea6475edd113 parent abbcf28f23d53e8ec56a91f3528743913fa2694a author Trond Myklebust Tue, 03 Jan 2006 09:55:04 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:39 -0500 RPC: Clean up RPC task structure Shrink the RPC task structure. Instead of storing separate pointers for task->tk_exit and task->tk_release, put them in a structure. Also pass the user data pointer as a parameter instead of passing it via task->tk_calldata. This enables us to nest callbacks. Signed-off-by: Trond Myklebust commit abbcf28f23d53e8ec56a91f3528743913fa2694a tree 97dafc3840e4660ac0fcf99bbdc7eddc2fecd08a parent abd3e641d5ef9f836ab2f2b04d80b8619b051531 author Trond Myklebust Tue, 03 Jan 2006 09:55:03 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:39 -0500 SUNRPC: Yet more RPC cleanups Signed-off-by: Trond Myklebust commit abd3e641d5ef9f836ab2f2b04d80b8619b051531 tree 053c82b4c23a5fb419691154879acff3f487923b parent 22905f775dd6a8b73be99826dcad07ceec00244b author Trond Myklebust Tue, 03 Jan 2006 09:55:02 +0100 committer Trond Myklebust Fri, 06 Jan 2006 14:58:39 -0500 NFS: Work correctly with single-page ->writepage() calls Ensure that we always initiate flushing of data before we exit a single-page ->writepage() call. Signed-off-by: Trond Myklebust commit 22905f775dd6a8b73be99826dcad07ceec00244b tree 960c0ad3d10fa208a31b78256788f332e5ebdd48 parent d99cf9d679a520d67f81d805b7cb91c68e1847f0 author Andrew Morton Wed, 16 Nov 2005 15:07:01 -0800 committer Trond Myklebust Fri, 06 Jan 2006 14:58:38 -0500 identify multipage ->writepages() calls NFS needs to be able to distinguish between single-page ->writepage() calls and multipage ->writepages() calls. For the single-page writepage calls NFS can kick off the I/O within the context of ->writepage(). For multipage ->writepages calls, nfs_writepage() will leave the I/O pending and nfs_writepages() will kick off the I/O when it all has been queued up within NFS. Cc: Trond Myklebust Signed-off-by: Andrew Morton Signed-off-by: Trond Myklebust commit 20ede2741551d4a1d24313292beb0da915a55911 tree b59c359badc493ab24fc892e0e7ea0c6157dad3e parent 117a93db1dcd6ed61336b27e4e2938f791c1841b author Brian Gerst Thu, 05 Jan 2006 12:10:52 -0500 committer Sam Ravnborg Fri, 06 Jan 2006 20:52:32 +0100 gitignore: ignore shared objects Many arches make shared objects for VDSOs. Generally exclude them. Signed-off-by: Brian Gerst Signed-off-by: Sam Ravnborg commit 117a93db1dcd6ed61336b27e4e2938f791c1841b tree b869ef55f3048f125c06e70429f04c38f31bf578 parent 253dfa6e465c054a73bd3b13af51c34c9d8d233d author Rene Scharfe Wed, 04 Jan 2006 20:42:03 +0100 committer Sam Ravnborg Fri, 06 Jan 2006 20:46:21 +0100 kbuild: Use git in scripts/setlocalversion Currently scripts/setlocalversion is a Perl script that tries to figure out the current git commit ID of a repo without using git. It also imports Digest::MD5 without using it and generally is too big for the small task it does. :] And it always reports a git ID, even when the HEAD is tagged -- this is a bug. This patch replaces it with a Bourne Shell script that uses git commands to do the same. I can't come up with a scenario where someone would use a git repo and refuse to install git core at the same time, so I think it's reasonable to assume git is available. The new script also reports uncommitted changes by adding -git_dirty to the version string. Obviously you can't see from that _what_ has been changed from the last commit, so it's more of a reminder that you forgot to commit something. The script is easily extensible: simply add a check for Mercurial (or whatever) below the git check. Note: the script doesn't print a newline char anymore. That's only because it was easier to implement it that way, not a feature (or bug). 'make kernelrelease' doesn't care. Signed-off-by: Rene Scharfe Acked-by: Ryan Anderson Signed-off-by: Sam Ravnborg commit 253dfa6e465c054a73bd3b13af51c34c9d8d233d tree c9d510b30f41958afe74271f501c9586b4619e73 parent 9f155b9802bb7049cd0f216c3fe903b58620df11 author Sam Ravnborg Fri, 06 Jan 2006 20:33:41 +0100 committer Sam Ravnborg Fri, 06 Jan 2006 20:33:41 +0100 kbuild: document howto build external modules using several directories Update modules.txt with info how to build external modules with files in several directories. The question popped up on lkml often enough to warrant this, let's see if people read this stuff - or google hits it. Signed-off-by: Sam Ravnborg commit d99cf9d679a520d67f81d805b7cb91c68e1847f0 tree 415aefe6d168df27c006fcc53b1ea5242eabaaea parent 7ed40918a386afc2e14a6d3da563ea6d13686c25 parent e650c305ec3178818b317dad37a6d9c7fa8ba28d author Linus Torvalds Fri, 06 Jan 2006 09:01:25 -0800 committer Linus Torvalds Fri, 06 Jan 2006 09:01:25 -0800 Merge branch 'post-2.6.15' of git://brick.kernel.dk/data/git/linux-2.6-block Manual fixup for merge with Jens' "Suspend support for libata", commit ID 9b847548663ef1039dd49f0eb4463d001e596bc3. Signed-off-by: Linus Torvalds commit 7ed40918a386afc2e14a6d3da563ea6d13686c25 tree e180ba59fa65290a12a731aaf304d2aa840f3ffb parent 9b847548663ef1039dd49f0eb4463d001e596bc3 author Linus Torvalds Fri, 06 Jan 2006 08:43:16 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:43:16 -0800 x86: remove bogus 'pci=usepirqmask' suggestion when no irq is defined This was harmless, but for the case of a device that had no irq pre-defined we would incorrectly suggest that "usepirqmask" might make a difference. It never would, and the message was just confusing people. Reported in the dmesg of Etienne Lorrain. Signed-off-by: Linus Torvalds commit 9b847548663ef1039dd49f0eb4463d001e596bc3 tree 105a0eece522b1347bea57f609f6c04ed673fdb3 parent 88202a0c84e1951d6630d1d557d4801a8cc5b5ef author Jens Axboe Fri, 06 Jan 2006 09:28:07 +0100 committer Linus Torvalds Fri, 06 Jan 2006 08:36:09 -0800 [PATCH] Suspend support for libata This patch adds suspend patch to libata, and ata_piix in particular. For most low level drivers, they should just need to add the 4 hooks to work. As I can only test ata_piix, I didn't enable it for more though. Suspend support is the single most important feature on a notebook, and most new notebooks have sata drives. It's quite embarrassing that we _still_ do not support this. Right now, it's perfectly possible to suspend the drive in mid-transfer. Signed-off-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88202a0c84e1951d6630d1d557d4801a8cc5b5ef tree 5a1aadc008de1ee68f40a4bb667157f248211230 parent 6d7ff7380b2e28c2807da3bf9fa614d91d15bacf author NeilBrown Fri, 06 Jan 2006 00:21:36 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:10 -0800 [PATCH] md: allow sync-speed to be controlled per-device Also export current (average) speed and status in sysfs. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d7ff7380b2e28c2807da3bf9fa614d91d15bacf tree 1f995a4f047a041c86b52efe0db221c76c7d0327 parent 83303b613d00718b07ec0a4dee7c99aa66629d96 author NeilBrown Fri, 06 Jan 2006 00:21:16 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:10 -0800 [PATCH] md: support adding new devices to md arrays via sysfs Writing major:minor to md/new_dev will bind that device to the array. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 83303b613d00718b07ec0a4dee7c99aa66629d96 tree e2c7c113d2f2f69aa426c3a3a355d84089bb13ce parent 6961ece46c7d02de1bb83914900608e39633787d author NeilBrown Fri, 06 Jan 2006 00:21:06 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:10 -0800 [PATCH] md: allow available size of component devices to be set via sysfs Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6961ece46c7d02de1bb83914900608e39633787d tree 55aadb7f85c2ac17f88753257bba3b3ca76b16f8 parent 93c8cad03f02dbd1532a5413bdced25f000d5728 author Andrew Morton Fri, 06 Jan 2006 00:20:59 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:10 -0800 [PATCH] md-export-rdev-data_offset-via-sysfs-fix drivers/md/md.c: In function `offset_show': drivers/md/md.c:1670: warning: long long unsigned int format, different type arg (arg 3) Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 93c8cad03f02dbd1532a5413bdced25f000d5728 tree 80930b6670c21088ed78362fe9281deba82ff7dd parent 014236d2b8ec6faea2a6134ab8e019d84d67b524 author NeilBrown Fri, 06 Jan 2006 00:20:56 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:09 -0800 [PATCH] md: export rdev->data_offset via sysfs Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 014236d2b8ec6faea2a6134ab8e019d84d67b524 tree 80f655fe0631f56544b96f2b9750f93e327b23de parent 2bf071bf50580380a8c3afe5eef8152a66be96c7 author NeilBrown Fri, 06 Jan 2006 00:20:55 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:09 -0800 [PATCH] md: expose device slot information via sysfs This the role that a device has in an array can be viewed and set. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2bf071bf50580380a8c3afe5eef8152a66be96c7 tree 513ef2291446e2b489a2281df4d1f21fb6fb3d96 parent da943b9912df063322d37b1a1f285460531d481d author NeilBrown Fri, 06 Jan 2006 00:20:55 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:09 -0800 [PATCH] md: keep better track of dev/array size when assembling md arrays Move the checks - that dev size is never less than array size - into bind_rdev_to_array to make sure it always happens properly (there is one place where currently it doesn't). Also reject any superblock which claims an array size smaller than the device in question can hold. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit da943b9912df063322d37b1a1f285460531d481d tree 09ec69816055934d264b0a0272435fee9abb2b95 parent 4dbcdc751cb25ffca3a8374cbc5ab6de961cc545 author NeilBrown Fri, 06 Jan 2006 00:20:54 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:09 -0800 [PATCH] md: allow md/raid_disks to be settable If array is active, try to reshape, else just set the value. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4dbcdc751cb25ffca3a8374cbc5ab6de961cc545 tree 61d1eb6e35c0eec66e5a8610c1f57b1e6eec135c parent d9d166c2a9d5d01af34396793950aa695883eed4 author NeilBrown Fri, 06 Jan 2006 00:20:52 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:09 -0800 [PATCH] md: count corrected read errors per drive Store this total in superblock (As appropriate), and make it available to userspace via sysfs. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d9d166c2a9d5d01af34396793950aa695883eed4 tree 6cb593cc0636476ebec9a9690aa48997510f9701 parent 8bb93aaca2062cd54cc2c58c76ee8409cae209a7 author NeilBrown Fri, 06 Jan 2006 00:20:51 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:09 -0800 [PATCH] md: allow array level to be set textually via sysfs Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8bb93aaca2062cd54cc2c58c76ee8409cae209a7 tree 12efef0262795f4d4462c8ac8e0fd6e2117ee81a parent a35b0d695d44410eb1734c9abb632725a3138628 author NeilBrown Fri, 06 Jan 2006 00:20:50 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:08 -0800 [PATCH] md: expose md metadata format in sysfs Allow it to be set to a particular version, or 'none'. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a35b0d695d44410eb1734c9abb632725a3138628 tree 0da4a3ba93cf8a1fd2b4dcad3dd251def752942d parent 3b34380ae8c5df6debd85183c7fa1ac05f79b7d2 author NeilBrown Fri, 06 Jan 2006 00:20:49 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:08 -0800 [PATCH] md: allow md array component size to be accessed and set via sysfs Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b34380ae8c5df6debd85183c7fa1ac05f79b7d2 tree 9979f8b402b0566db286081eb7f5c26418964348 parent 03c902e17f40cfed63cd2494616f35fc9c58571b author NeilBrown Fri, 06 Jan 2006 00:20:47 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:08 -0800 [PATCH] md: allow chunk_size to be settable through sysfs ... only before array is started of course. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 03c902e17f40cfed63cd2494616f35fc9c58571b tree bfa65142a20a9b424dbd078149cecaa0177086fb parent c708443c004f2310abdd7f1c353daa372b37f7a2 author NeilBrown Fri, 06 Jan 2006 00:20:46 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:08 -0800 [PATCH] md: fix rdev->pending counts in raid1 When we do a user-requested check/repair, we lose count of the outstanding requests... Also make sure that when anything is written to md/sync_action, the RECOVERY_NEEDED flag is set and the thread is woken up so any changes take effect. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c708443c004f2310abdd7f1c353daa372b37f7a2 tree b02286101b7f8e9bcad8c30240cb5247010398b3 parent 07dbd37727049c0d56e313e5afcf8db07a9c3e37 author NeilBrown Fri, 06 Jan 2006 00:20:45 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:08 -0800 [PATCH] md: make sure bitmap updates are visible through filesystem When we update a page_cache page in the kernel, we need to flush_dache_page or userspace might not see the change. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 07dbd37727049c0d56e313e5afcf8db07a9c3e37 tree 8886cd0f15ee885e0b2e4d7cede65631b48a8a2a parent 2989ddbd6e1d9638a188311b896362c4bf7b7c25 author Adrian Bunk Fri, 06 Jan 2006 00:20:44 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:07 -0800 [PATCH] drivers/md/md.c: make md_new_event() static Make the needlessly global function md_new_event() static. Signed-off-by: Adrian Bunk Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2989ddbd6e1d9638a188311b896362c4bf7b7c25 tree 6dd1adb19cdff7135aadb96a309e55aed59e8be9 parent f188593ee7af8c71755d2df269a7a5f62c4b695e author NeilBrown Fri, 06 Jan 2006 00:20:43 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:07 -0800 [PATCH] md: make a couple of names in md.c static .. because they aren't used outside md.c Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f188593ee7af8c71755d2df269a7a5f62c4b695e tree e83fb5678870511aade9b0eb9139ae4c83f5c14e parent bce74dac082787375e76d2b33726b94c9701fabc author NeilBrown Fri, 06 Jan 2006 00:20:42 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:07 -0800 [PATCH] md: fix typo in comment Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bce74dac082787375e76d2b33726b94c9701fabc tree c653fdadc41cf35daae7455f794caec42cff05f0 parent 1345b1d8adbdeceb1c871d9a4af5e2a700b341c6 author NeilBrown Fri, 06 Jan 2006 00:20:41 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:07 -0800 [PATCH] md: helper function to match commands written to sysfs files Commands written to sysfs files may, or my not, be \n terminated. We want to accept with case. For this we use cmd_match. Signed-off-by: Neil Brown Acked-by: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1345b1d8adbdeceb1c871d9a4af5e2a700b341c6 tree 0da1db7d273752ad5281db415e9245f3f3a63383 parent 7dd5d34c6c2da04e8cd0732e08b33cd3359e4bae author NeilBrown Fri, 06 Jan 2006 00:20:40 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:07 -0800 [PATCH] md: define and use safe_put_page for md md sometimes call put_page on NULL pointers (treating it like kfree). This is not safe, so define and use a 'safe_put_page' which checks for NULL. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7dd5d34c6c2da04e8cd0732e08b33cd3359e4bae tree a2272fd63abc351e8f07ad771b0abd077cc91145 parent 097426f689f179747f3cd6b4749eb2a6b605702d author NeilBrown Fri, 06 Jan 2006 00:20:39 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:07 -0800 [PATCH] md: remove inappropriate limits in md/bitmap configuration. The kernel should not be imposing these policy limits: The time between bitmap updates should certainly be allowed to be more than 15 seconds, and if someone wants a bitmap chunk size in excess of 4MB, the kernel isn't the place to stop them. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 097426f689f179747f3cd6b4749eb2a6b605702d tree 92b0a78f8aebedd4afdb52dfa23b311a4468719d parent 2604b703b6b3db80e3c75ce472a54dfd0b7bf9f4 author NeilBrown Fri, 06 Jan 2006 00:20:37 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:06 -0800 [PATCH] md: fix possible problem in raid1/raid10 error overwriting The code to overwrite/reread for addressing read errors in raid1/raid10 currently assumes that the read will not alter the buffer which could be used to write to the next device. This is not a safe assumption to make. So we split the loops into a overwrite loop and a separate re-read loop, so that the writing is complete before reading is attempted. Cc: Paul Clements Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2604b703b6b3db80e3c75ce472a54dfd0b7bf9f4 tree 8c0e985c455ff35af24fbe60d8a3f5a276034370 parent a24a8dd858e0ba50f06a9fd8f61fe8c4fe7a8d8e author NeilBrown Fri, 06 Jan 2006 00:20:36 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:06 -0800 [PATCH] md: remove personality numbering from md md supports multiple different RAID level, each being implemented by a 'personality' (which is often in a separate module). These personalities have fairly artificial 'numbers'. The numbers are use to: 1- provide an index into an array where the various personalities are recorded 2- identify the module (via an alias) which implements are particular personality. Neither of these uses really justify the existence of personality numbers. The array can be replaced by a linked list which is searched (array lookup only happens very rarely). Module identification can be done using an alias based on level rather than 'personality' number. The current 'raid5' modules support two level (4 and 5) but only one personality. This slight awkwardness (which was handled in the mapping from level to personality) can be better handled by allowing raid5 to register 2 personalities. With this change in place, the core md module does not need to have an exhaustive list of all possible personalities, so other personalities can be added independently. This patch also moves the check for chunksize being non-zero into the ->run routines for the personalities that need it, rather than having it in core-md. This has a side effect of allowing 'faulty' and 'linear' not to have a chunk-size set. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a24a8dd858e0ba50f06a9fd8f61fe8c4fe7a8d8e tree 14236abb515dcb8101ade92632d5da0d772d7330 parent a8745db232dd86f145bff6946e78f839acab511b author NeilBrown Fri, 06 Jan 2006 00:20:35 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:06 -0800 [PATCH] md: break out of a loop that doesn't need to run to completion Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a8745db232dd86f145bff6946e78f839acab511b tree f63f8fc6586316033ef436aa22d45d7b9c6498b2 parent ea03aff93b4117c2ddfb91b34b44a44e19df24cd author NeilBrown Fri, 06 Jan 2006 00:20:34 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:06 -0800 [PATCH] md: convert recently exported symbol to GPL ...because that seems to be the preferred practice these days. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ea03aff93b4117c2ddfb91b34b44a44e19df24cd tree c3ecdc4b9ba311456c38133e3edb3acc8868682a parent fccddba060f2b4916a30aa27acc3d03b01bb981e author NeilBrown Fri, 06 Jan 2006 00:20:34 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:06 -0800 [PATCH] md: convert various kmap calls to kmap_atomic Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fccddba060f2b4916a30aa27acc3d03b01bb981e tree 92fbb81ab3b1fdbbe8de9ba2ebb91ac68c57b2a0 parent 9ffae0cf3ea02f75d163922accfd3e592d87adde author NeilBrown Fri, 06 Jan 2006 00:20:33 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:06 -0800 [PATCH] md: tidy up raid5/6 hash table code - replace open-coded hash chain with hlist macros - Fix hash-table size at one page - it is already quite generous, so there will never be a need to use multiple pages, so no need for __get_free_pages No functional change. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ffae0cf3ea02f75d163922accfd3e592d87adde tree 4974727e9f36e1b618b68d2789644ee3a0d7a371 parent 2d1f3b5d1b2cd11a162eb29645df749ec0036413 author NeilBrown Fri, 06 Jan 2006 00:20:32 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:05 -0800 [PATCH] md: convert md to use kzalloc throughout Replace multiple kmalloc/memset pairs with kzalloc calls. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d1f3b5d1b2cd11a162eb29645df749ec0036413 tree bb87ef9fcd2d9760b618d196fc8361a5a4dd851e parent d7603b7e3a7f802c67f9190b2387d4d5d111ec14 author NeilBrown Fri, 06 Jan 2006 00:20:31 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:05 -0800 [PATCH] md: clean up 'page' related names in md Substitute: page_cache_get -> get_page page_cache_release -> put_page PAGE_CACHE_SHIFT -> PAGE_SHIFT PAGE_CACHE_SIZE -> PAGE_SIZE PAGE_CACHE_MASK -> PAGE_MASK __free_page -> put_page because we aren't using the page cache, we are just using pages. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d7603b7e3a7f802c67f9190b2387d4d5d111ec14 tree 7fc644f33bd6d77156387f8acddd65030b1a817d parent 0eb3ff12aa8a12538ef681dc83f4361636a0699f author NeilBrown Fri, 06 Jan 2006 00:20:30 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:05 -0800 [PATCH] md: make /proc/mdstat pollable With this patch it is possible to poll /proc/mdstat to detect arrays appearing or disappearing, to detect failures, recovery starting, recovery completing, and devices being added and removed. It is similar to the poll-ability of /proc/mounts, though different in that: We always report that the file is readable (because face it, it is, even if only for EOF). We report POLLPRI when there is a change so that select() can detect it as an exceptional event. Not only are these exceptional events, but that is the mechanism that the current 'mdadm' uses to watch for events (It also polls after a timeout). (We also report POLLERR like /proc/mounts). Finally, we only reset the per-file event counter when the start of the file is read, rather than when poll() returns an event. This is more robust as it means that an fd will continue to report activity to poll/select until the program clearly responds to that activity. md_new_event takes an 'mddev' which isn't currently used, but it will be soon. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0eb3ff12aa8a12538ef681dc83f4361636a0699f tree e5d4b8353362cefd096a4b1ee1a8f473c01169b6 parent 4443ae10ca15d07922ceda622f03db8865fa3d13 author NeilBrown Fri, 06 Jan 2006 00:20:29 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:05 -0800 [PATCH] md: raid10 read-error handling - resync and read-only Add in correct read-error handling for resync and read-only situations. When read-only, we don't over-write, so we need to mark the failed drive in the r10_bio so we don't re-try it. During resync, we always read all blocks, so if there is a read error, we simply over-write it with the good block that we found (assuming we found one). Note that the recovery case still isn't handled in an interesting way. There is nothing useful to do for the 2-copies case. If there are 3 or more copies, then we could try reading from one of the non-missing copies, but this is a bit complicated and very rarely would be used, so I'm leaving it for now. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4443ae10ca15d07922ceda622f03db8865fa3d13 tree f1f0a6a82142effbdde93913d53596aeeacc9dc4 parent 220946c9018de74b952446e3a4dff1bfd4cbf310 author NeilBrown Fri, 06 Jan 2006 00:20:28 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:05 -0800 [PATCH] md: auto-correct correctable read errors in raid10 Largely just a cross-port from raid1. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 220946c9018de74b952446e3a4dff1bfd4cbf310 tree 8a6a85f23ff3e12ed9c770eb9f2b835125ad5378 parent d11c171e636cfd2df818cf3411d88222c2f4fcef author NeilBrown Fri, 06 Jan 2006 00:20:27 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:04 -0800 [PATCH] md: make sure read error on last working drive of raid1 actually returns failure We are inadvertently setting the R1BIO_Uptodate bit on read errors when we decide not to try correcting (because there are no other working devices). This means that the read error is reported to the client as success. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d11c171e636cfd2df818cf3411d88222c2f4fcef tree 1ca670d9eabad009cee23c44f6cb8cd1b3cccadb parent 18f08819f42b647783e4f6ea99141623881bf182 author NeilBrown Fri, 06 Jan 2006 00:20:26 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:04 -0800 [PATCH] md: allow raid1 to check consistency Where performing a user-requested 'check' or 'repair', we read all readable devices, and compare the contents. We only write to blocks which had read errors, or blocks with content that differs from the first good device found. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 18f08819f42b647783e4f6ea99141623881bf182 tree 062f5b77cd2593239af5e8aa720f20781dc8d80e parent 9910f16af35419a5382fa7850eecc220103036fa author NeilBrown Fri, 06 Jan 2006 00:20:25 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:04 -0800 [PATCH] md: support check-without-repair of raid10 arrays Also keep count on the number of errors found. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9910f16af35419a5382fa7850eecc220103036fa tree 3b5145b8a706e03a6f2b4da4bd84fe98c83de31a parent cf30a473a02901fe4db37abc0b0fa26dd5ba3f72 author NeilBrown Fri, 06 Jan 2006 00:20:24 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:04 -0800 [PATCH] md: fix up some rdev rcu locking in raid5/6 There is this "FIXME" comment with a typo in it!! that been annoying me for days, so I just had to remove it. conf->disks[i].rdev should only be accessed if - we know we hold a reference or - the mddev->reconfig_sem is down or - we have a rcu_readlock handle_stripe was referencing rdev in three places without any of these. For the first two, get an rcu_readlock. For the last, the same access (md_sync_acct call) is made a little later after the rdev has been claimed under and rcu_readlock, if R5_Syncio is set. So just use that access... However R5_Syncio isn't really needed as the 'syncing' variable contains the same information. So use that instead. Issues, comment, and fix are identical in raid5 and raid6. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf30a473a02901fe4db37abc0b0fa26dd5ba3f72 tree 3fa967963e174913826943f0f98e63c60032d07d parent 69382e85371c232df71524137a806b9c210ec021 author NeilBrown Fri, 06 Jan 2006 00:20:23 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:04 -0800 [PATCH] md: handle errors when read-only Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69382e85371c232df71524137a806b9c210ec021 tree 03e49cece85cb74ce38e37afbdef718efa2b3695 parent 3e198f7826f830604f3aa7c20359a773e70cbeaa author NeilBrown Fri, 06 Jan 2006 00:20:22 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:04 -0800 [PATCH] md: better handling for read error in raid1 during resync Handling of read errors during resync is separate from handling of read errors during normal IO in raid1. A previous patch added support for read errors during normal IO. This one adds support for read errors during resync or recovery. The key differences are that we don't need to freeze the array, because the normal handling of resync means that this part of the array will be idle except for resync, and the read/overwrite/re-read is needed in a separate piece of code. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3e198f7826f830604f3aa7c20359a773e70cbeaa tree b7b23a9b9085cd652930a706f86187a16505fd84 parent ddaf22abaa831763e75775e6d4c7693504237997 author NeilBrown Fri, 06 Jan 2006 00:20:21 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:03 -0800 [PATCH] md: tidyup some issues with raid1 resync and prepare for catching read errors We are dereferencing ->rdev without an rcu lock! Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ddaf22abaa831763e75775e6d4c7693504237997 tree 4f6ba4cb056f8c7cea82c7d548769b879d0fb405 parent d69762e98456b71167865db9e33e732a28dd36ab author NeilBrown Fri, 06 Jan 2006 00:20:19 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:03 -0800 [PATCH] md: attempt to auto-correct read errors in raid1 On a read-error we suspend the array, then synchronously read the block from other arrays until we find one where we can read it. Then we try writing the good data back everywhere and make sure it works. If any write or subsequent read fails, only then do we fail the device out of the array. To be able to suspend the array, we need to also keep track of how many requests are queued for handling by raid1d. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d69762e98456b71167865db9e33e732a28dd36ab tree a93c3872d23db70e7e6089328cafd3eebba6aadb parent ca65b73bd9c301d243df93780f7b26579e6c9204 author NeilBrown Fri, 06 Jan 2006 00:20:18 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:03 -0800 [PATCH] md: improve handing of read errors with raid6 This is a simple port of match functionality across from raid5. If we get a read error, we don't kick the drive straight away, but try to over-write with good data first. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca65b73bd9c301d243df93780f7b26579e6c9204 tree 1ca8157e11033989ee94c20b1f2d4c936f9dc09c parent 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8 author NeilBrown Fri, 06 Jan 2006 00:20:17 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:03 -0800 [PATCH] md: fix raid6 resync check/repair code raid6 currently does not check the P/Q syndromes when doing a resync, it just calculates the correct value and writes it. Doing the check can reduce writes (often to 0) for a resync, and it is needed to properly implement the echo check > sync_action operation. This patch implements the appropriate checks and tidies up some related code. It also allows raid6 user-requested resync to bypass the intent bitmap. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6cce3b23f6f8e974c00af7a9b88f1d413ba368a8 tree 8c156f26a10de82b1626d74f810704cfd6f5ba2b parent b15c2e57f0f5bf596a19e9c5571e5b07cdfc7363 author NeilBrown Fri, 06 Jan 2006 00:20:16 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:03 -0800 [PATCH] md: write intent bitmap support for raid10 Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b15c2e57f0f5bf596a19e9c5571e5b07cdfc7363 tree da68e3ed72e59212936daf7dd4c86f1f9a7ab386 parent 6ff8d8ec06690f4011a6c3ad9e0759b9094f0601 author NeilBrown Fri, 06 Jan 2006 00:20:16 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:03 -0800 [PATCH] md: move bitmap_create to after md array has been initialised This is important because bitmap_create uses mddev->resync_max_sectors and that doesn't have a valid value until after the array has been initialised (with pers->run()). [It doesn't make a difference for current personalities that support bitmaps, but will make a difference for raid10] This has the added advantage of meaning with can move the thread->timeout manipulation inside the bitmap.c code instead of sprinkling identical code throughout all personalities. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ff8d8ec06690f4011a6c3ad9e0759b9094f0601 tree 3606791ca1fb73e0263c4bb90d9c909d354bf9d4 parent 14f8d26b8ea3413b28f2cac208c9a93600fe3a80 author NeilBrown Fri, 06 Jan 2006 00:20:15 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:02 -0800 [PATCH] md: allow dirty raid[456] arrays to be started at boot See patch to md.txt for more details Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 14f8d26b8ea3413b28f2cac208c9a93600fe3a80 tree c52409db0f8c457683add609367976dfef645b8f parent 0a27ec96b6fb1abf867e36d7b0b681d67588767a author NeilBrown Fri, 06 Jan 2006 00:20:14 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:02 -0800 [PATCH] md: small cleanups for raid5 Resync code: A test that isn't needed, a 'compute_block' that makes more sense elsewhere (And then doesn't need a test), a couple of BUG_ONs to confirm the change makes sense. Printks: A few were missing KERN_* Also fix a typo in a comment.. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0a27ec96b6fb1abf867e36d7b0b681d67588767a tree 4db5d9b8ef02b417fc2077d65311e2ea7cda5ce0 parent 17999be4aa408e7ff3b9d32c735649676567a3cd author NeilBrown Fri, 06 Jan 2006 00:20:13 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:02 -0800 [PATCH] md: improve raid10 "IO Barrier" concept raid10 needs to put up a barrier to new requests while it does resync or other background recovery. The code for this is currently open-coded, slighty obscure by its use of two waitqueues, and not documented. This patch gathers all the related code into 4 functions, and includes a comment which (hopefully) explains what is happening. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 17999be4aa408e7ff3b9d32c735649676567a3cd tree 14f9fd4ef0299f16274ce2980baef7b96f111bea parent ac81b2ee45eb811fdb0aa1cfb71d468d944d00ce author NeilBrown Fri, 06 Jan 2006 00:20:12 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:01 -0800 [PATCH] md: improve raid1 "IO Barrier" concept raid1 needs to put up a barrier to new requests while it does resync or other background recovery. The code for this is currently open-coded, slighty obscure by its use of two waitqueues, and not documented. This patch gathers all the related code into 4 functions, and includes a comment which (hopefully) explains what is happening. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac81b2ee45eb811fdb0aa1cfb71d468d944d00ce tree 68ec667534f7669e60aadc09115f67fb0caf5fbe parent 9d3520a339d62f942085e9888f66905eb8b350bd author Darrick J. Wong Fri, 06 Jan 2006 00:20:11 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:01 -0800 [PATCH] make dm-mirror not issue invalid resync requests I've been attempting to set up a (Host)RAID mirror with dm_mirror on 2.6.14.3, and I've been having a strange little problem. The configuration in question is a set of 9GB SCSI disks that have 17942584 sectors. I set up the dm_mirror table as such: 0 17942528 mirror core 2 2048 nosync 2 8:48 0 8:64 0 If I'm not mistaken, this sets up a 9GB RAID1 mriror with 1MB stripes across both SCSI disks. The sector count of the dm device is less than the size of the disks, so we shouldn't fall off the end. However, I always get the messages like this in dmesg when I set up the dm table: attempt to access beyond end of device sdd: rw=0, want=17958656, limit=17942584 Clearly, something is trying to read sectors past the end of the drive. I traced it down to the __rh_recovery_prepare function in dm-raid1.c, which gets called when we're putting the mirror set together. This function calls the dirty region log's get_resync_work function to see if there's any resync that needs to be done, and queues up any areas that are out of sync. The log's get_resync_work function is actually a pointer to the core_get_resync_work function in dm-log.c. The core_get_resync_work function queries a bitset lc->sync_bits to find out if there are any regions that are out of date (i.e. the bit is 0), which is where the problem occurs. If every bit in lc->sync_bits is 1 (which is the case when we've just configured a new RAID1 with the nosync option), the find_next_zero_bit does NOT return the size parameter (lc->region_count in this case), it returns the size parameter rounded up to the nearest multiple of 32! I don't know if this is intentional, but i386 and x86_64 both exhibit this behavior. In any case, the statement "if (*region == lc->region_count)" looks like it's supposed to catch the case where are no regions to resync and return 0. Since find_next_zero_bit apparently has a habit of returning a value that's larger than lc->region_count, the enclosed patch changes the equality test to a greater-than test so that we don't try to resync areas outside of the RAID1 region. Seeing as the HostRAID metadata lives just past the end of the RAID1 data, mucking around in that area is not a good idea. I suppose another way to fix this would be to amend find_next_zero_bit so that it doesn't return values larger than "size", but I don't know if there's a reason for the current behavior. Signed-Off-By: Darrick J. Wong Acked-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9d3520a339d62f942085e9888f66905eb8b350bd tree 622374ba69e8430ec2ec8d7b00a3d28990659d45 parent 0b56306e56784d0513e1193d58c05a6bd97bd1a9 author Stefan Rompf Fri, 06 Jan 2006 00:20:08 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:01 -0800 [PATCH] dm-crypt: zero key before freeing it Zap the memory before freeing it so we don't leave crypto information around in memory. Signed-off-by: Stefan Rompf Acked-by: Clemens Fruhwirth Acked-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0b56306e56784d0513e1193d58c05a6bd97bd1a9 tree df8b94d7df0e3c8cd3ac22f3a5a06d59658d89e3 parent 6da487dcc0c6f4c827779687a20016efeffc4d60 author Adrian Bunk Fri, 06 Jan 2006 00:20:08 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:01 -0800 [PATCH] drivers/md/kcopyd.c: #if 0 kcopyd_cancel() This patch #if 0's the not yet implemented global function kcopyd_cancel(). Signed-off-by: Adrian Bunk Acked-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6da487dcc0c6f4c827779687a20016efeffc4d60 tree 824d14e18cbb81bf45c6d17104993acfa47c9c36 parent aa8d7c2fbe619d8c0837296d2eaf4c14cebac198 author Alasdair G Kergon Fri, 06 Jan 2006 00:20:07 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:01 -0800 [PATCH] device-mapper ioctl: add skip lock_fs flag Add ioctl DM_SKIP_LOCKFS_FLAG for userspace to request that lock_fs is bypassed when suspending a device. There's no change to the behaviour of existing code that doesn't know about the new flag. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aa8d7c2fbe619d8c0837296d2eaf4c14cebac198 tree 88b63e397b0c2dbdf2b8feb3920d565d352412d6 parent e39e2e95eb8bd536b61654e8fda1516d0a6a3cd1 author Alasdair G Kergon Fri, 06 Jan 2006 00:20:06 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:01 -0800 [PATCH] device-mapper: make lock_fs optional Devices only needs syncing when creating snapshots, so make this optional when suspending a device. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e39e2e95eb8bd536b61654e8fda1516d0a6a3cd1 tree d962d4aa2fd61243db6f627672e80749b00ee4b5 parent a1a190807074bd6ad8771e00b00752771ae586cb author Alasdair G Kergon Fri, 06 Jan 2006 00:20:05 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:00 -0800 [PATCH] device-mapper: rename frozen_bdev Rename frozen_bdev to suspended_bdev and move the bdget outside lockfs. (This prepares for making lockfs optional.) Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1a190807074bd6ad8771e00b00752771ae586cb tree ea9df244d215722e422f7bd7560dd9fe59789f44 parent 2d5fe68987341a59a3fd97c71695efcabb0c6fd5 author Jonathan E Brassow Fri, 06 Jan 2006 00:20:05 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:00 -0800 [PATCH] device-mapper raid1: add default mirror This patch introduces a new field to the mirror_set (default_mirror) to store the default mirror. (A subsequent patch will allow us to change the default mirror in the event of a failure.) Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d5fe68987341a59a3fd97c71695efcabb0c6fd5 tree 232e06bc54a3a0951222b8cb0f88f8d9b3c5b583 parent e6c276159c812ab25f47b7c7b683a5c97c442dd5 author Alasdair G Kergon Fri, 06 Jan 2006 00:20:04 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:00 -0800 [PATCH] device-mapper: scanf sector format change Use %llu not %Lu in sscanf/printf format strings. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e6c276159c812ab25f47b7c7b683a5c97c442dd5 tree d1ef3d342115572493af9054ab029fe35a944dc3 parent 2d38fe204461dc542bb38f2b01a9cd115b367b36 author Andrew Stribblehill Fri, 06 Jan 2006 00:20:03 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:00 -0800 [PATCH] device-mapper: remove unused definition This patch removes an unused #define. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d38fe204461dc542bb38f2b01a9cd115b367b36 tree 3a8267a1ed308a6ae67f89ddc90ca44370b79371 parent 81f1777a55e8c631b61e5fa5980fb7a2004287af author Alasdair G Kergon Fri, 06 Jan 2006 00:20:02 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:00 -0800 [PATCH] device-mapper snapshot: metadata reading separation More snapshot metadata reading into separate function, to prepare for changing the place it gets called from. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 81f1777a55e8c631b61e5fa5980fb7a2004287af tree e63c43ce8951e316f21a85554d867dd25a2ceb6c parent d229a9589ff3b988d3f999cdcfa350f97a372673 author goggin, edward Fri, 06 Jan 2006 00:20:01 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:00 -0800 [PATCH] device-mapper ioctl: event on rename After changing the name of a mapped device, trigger a dm event. (For userspace multipath tools.) Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d229a9589ff3b988d3f999cdcfa350f97a372673 tree ea6da350027f02736de7c1b7f350bc915abae39c parent 637842cfdbe2b981f7088f7633e630570f58efaf author David Teigland Fri, 06 Jan 2006 00:20:01 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:34:00 -0800 [PATCH] device-mapper: add dm_get_md Add dm_get_dev() to get a mapped device given its dev_t. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 637842cfdbe2b981f7088f7633e630570f58efaf tree 05b64c2f30612ab126df9e3ba8448d62101341d2 parent 9f708e40fe040e79f6c393a282f0701c9f8dc174 author David Teigland Fri, 06 Jan 2006 00:20:00 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:59 -0800 [PATCH] device-mapper: add dm_find_md Abstract dm_find_md() from dm_get_mdptr() to allow use elsewhere. Signed-off-by: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f708e40fe040e79f6c393a282f0701c9f8dc174 tree e769b7b9088f03caf324923485ee1e5ef05e2292 parent a334de28665b14f0a33df82699fa9a78cfeedf31 author Neil Brown Fri, 06 Jan 2006 00:19:59 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:59 -0800 [PATCH] knfsd: reduce stack consumption A typical nfsd call trace is nfsd -> svc_process -> nfsd_dispatch -> nfsd3_proc_write -> nfsd_write ->nfsd_vfs_write -> vfs_writev These add up to over 300 bytes on the stack. Looking at each of these, I see that nfsd_write (which includes nfsd_vfs_write) contributes 0x8c to stack usage itself!! It turns out this is because it puts a 'struct iattr' on the stack so it can kill suid if needed. The following patch saves about 50 bytes off the stack in this call path. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a334de28665b14f0a33df82699fa9a78cfeedf31 tree 21749c30159b1e0bf4cae7e174ec1bdcf3859ef4 parent 93fbf1a5de8afde08988dda3735669099dee84d0 author David Shaw Fri, 06 Jan 2006 00:19:58 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:59 -0800 [PATCH] knfsd: check error status from vfs_getattr and i_op->fsync Both vfs_getattr and i_op->fsync return error statuses which nfsd was largely ignoring. This as noticed when exporting directories using fuse. This patch cleans up most of the offences, which involves moving the call to vfs_getattr out of the xdr encoding routines (where it is too late to report an error) into the main NFS procedure handling routines. There is still a called to vfs_gettattr (related to the ACL code) where the status is ignored, and called to nfsd_sync_dir don't check return status either. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 93fbf1a5de8afde08988dda3735669099dee84d0 tree 2be514a800662b94a6a879b7b53f5fab6b56dd0e parent f93ea411b73594f7d144855fd34278bcf34a9afc author Olaf Kirch Fri, 06 Jan 2006 00:19:56 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:59 -0800 [PATCH] Keep nfsd from exiting when seeing recv() errors I submitted this one previously - svc_tcp_recvfrom currently returns any errors to the caller, including ECONNRESET and the like. This is something svc_recv isn't able to deal with: len = svsk->sk_recvfrom(rqstp); [...] if (len == 0 || len == -EAGAIN) { [...] return -EAGAIN; } [...] return len; The nfsd main loop will exit when it sees an error code other than EAGAIN. The following patch fixes this problem svc_recv is not equipped to deal with error codes other than EAGAIN, and will propagate anything else (such as ECONNRESET) up to nfsd, causing it to exit. Signed-off-by: Olaf Kirch Cc: Trond Myklebust Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f93ea411b73594f7d144855fd34278bcf34a9afc tree 50419ba9250be6f923470b4eff73370512c00267 parent 6fe2e70bbed3995d930f39452fb6ce3be7dc47dc author Jan Kara Fri, 06 Jan 2006 00:19:55 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:59 -0800 [PATCH] jbd: split checkpoint lists Split the checkpoint list of the transaction into two lists. In the first list we keep the buffers that need to be submitted for IO. In the second list are kept buffers that were already submitted and we just have to wait for the IO to complete. This should simplify a handling of checkpoint lists a bit and can eventually be also a performance gain. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6fe2e70bbed3995d930f39452fb6ce3be7dc47dc tree b196b26fa0046c39bf072238463329dc66ccca82 parent 066bb8d03b6e52e4844d37145573d6a2bedaa339 author Jayachandran C Fri, 06 Jan 2006 00:19:54 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:59 -0800 [PATCH] kernel/module.c: removed dead code This patch fixes an issue reported by Coverity in kernel/module.c Error reported: Cannot reach this line of code "else return ptr;" Patch description: This is the error path, so 'err' will be negative, the else case is not required, this patch removes it. Signed-off-by: Jayachandran C. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 066bb8d03b6e52e4844d37145573d6a2bedaa339 tree cdef785ca23e7803573ac774ab9750bb83a672c9 parent 81684ee645e15601ec935461d9069a3086179c06 author Paul E. McKenney Fri, 06 Jan 2006 00:19:53 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:58 -0800 [PATCH] fix remaining list_for_each_safe_rcu in -mm (take 2) I missed a use of list_for_each_rcu_safe() in -mm tree. Here is an updated patch to fix it. This time tested on a machine that actually uses IPMI... (Thanks to Serge Hallyn for spotting this.) Signed-off-by: "Paul E. McKenney" Cc: Corey Minyard Cc: Matt Domsch Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 81684ee645e15601ec935461d9069a3086179c06 tree 279068d461a61bc6799f97fcf396ef23d218205b parent a1b9168d83962fbb05859c1ecaa57fd4f53cf38e author Adrian Bunk Fri, 06 Jan 2006 00:19:53 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:58 -0800 [PATCH] include/linux/parport_pc.h: "extern inline" -> "static inline" "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1b9168d83962fbb05859c1ecaa57fd4f53cf38e tree 24339cec1f3bcfac09b4c0daaefa00c6dae2473a parent 94b82095d0f5d6a72a0c619f54645727ebf66642 author Adrian Bunk Fri, 06 Jan 2006 00:19:52 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:58 -0800 [PATCH] simplify PARPORT_PC_PCMCIA dependencies Unless I miss something, this should be the simplest way to express the intended dependencies. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 94b82095d0f5d6a72a0c619f54645727ebf66642 tree 14bffcf877192e3602b6f35c04cbdbe750f01f8d parent 6a85081d1c3ab7935c3ade8f4b2700a860d6fb2e author Marko Kohtala Fri, 06 Jan 2006 00:19:51 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:58 -0800 [PATCH] parport: export parport_get_port() Help external ppSCSI driver by exporting parport_get_port to match the parport_put_port. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a85081d1c3ab7935c3ade8f4b2700a860d6fb2e tree 73cae3b34825a7ca26bf86cd0baf031ed652ccb4 parent 6a19b41b35bf45fc27a46dccf26005b3f44c1aa1 author Marko Kohtala Fri, 06 Jan 2006 00:19:51 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:58 -0800 [PATCH] parport: include fixes Small cleanup of includes meant for older implementation. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a19b41b35bf45fc27a46dccf26005b3f44c1aa1 tree d041d74fd511d1eba667492c060b61edc6f7b1cd parent 110bee75d2e03d3b4bcc74743dee5a21fe7b43bd author Marko Kohtala Fri, 06 Jan 2006 00:19:49 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:57 -0800 [PATCH] parport: Kconfig dependency fixes Make drivers that use directly PC parport HW depend on PARPORT_PC rather than HW independent PARPORT. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 110bee75d2e03d3b4bcc74743dee5a21fe7b43bd tree 1bbef7e9c9508204cce50061bad51e56e3bdc8c4 parent a6767b7cc674ee39635db75ed2f6f65ed0012239 author Marko Kohtala Fri, 06 Jan 2006 00:19:49 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:57 -0800 [PATCH] parport: DEBUG_PARPORT build fix Add missing "struct" keyword preventing compilation with DEBUG_PARPORT defined. Also add some "const". Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6767b7cc674ee39635db75ed2f6f65ed0012239 tree 95db09902a556747df45ac0a0a0c8e164fb94a80 parent b44d3bdd6fcf6233b381bf5bd0893ed235f497a9 author Marko Kohtala Fri, 06 Jan 2006 00:19:48 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:57 -0800 [PATCH] parport: constification Trivial "const" additions to places in parport that truly are const. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b44d3bdd6fcf6233b381bf5bd0893ed235f497a9 tree afb1670747d43a8debc9bb299fc37c3e1d105c0c parent 7c9cc3be1094b267a2da2e0016cbd6ced663da6d author Marko Kohtala Fri, 06 Jan 2006 00:19:47 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:57 -0800 [PATCH] parport: use complete slab buffer Use the complete slab buffer that is allocated by kmalloc. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c9cc3be1094b267a2da2e0016cbd6ced663da6d tree fa3cbbf6a904cbaf474a4ed04e30b5c8253a3f9a parent c29a75ed0d94fae64b59345ea96e52424ae9c6a2 author Marko Kohtala Fri, 06 Jan 2006 00:19:46 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:57 -0800 [PATCH] parport: parport_daisy_select return value fix parport_daisy_select returned wrong status that is read at wrong time during daisy command execution. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c29a75ed0d94fae64b59345ea96e52424ae9c6a2 tree cf118f0c5e6b340428374bd5e093026bd77317a3 parent 310c8c324f988625a2880deab67607bf4e5aeb8a author Marko Kohtala Fri, 06 Jan 2006 00:19:46 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:57 -0800 [PATCH] parport: daisy chain device id reading fix Device ID reading from daisy chain devices failed because the daisy device could not be opened. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 310c8c324f988625a2880deab67607bf4e5aeb8a tree 7b295c4d0875455b332534902fca5739678f28ff parent 742ec650e9b63ea61891455bb6f76bac37025c78 author Marko Kohtala Fri, 06 Jan 2006 00:19:45 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:56 -0800 [PATCH] parport: daisy chain end detection fix Daisy chain end detection failed at least with older daisy chain devices that do not implement the last device signal. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 742ec650e9b63ea61891455bb6f76bac37025c78 tree 993a734fc7c412c0a0c37e107bff761e0071cfcf parent c660629059abbbd0eb56e12f9bb4494f01800bbc author Marko Kohtala Fri, 06 Jan 2006 00:19:44 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:56 -0800 [PATCH] parport: phase fixes Did not move the parport interface properly into IEEE1284_PH_REV_IDLE phase at end of data due to comparing bytes with nibbles. Internal phase IEEE1284_PH_HBUSY_DNA became unused, so remove it. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c660629059abbbd0eb56e12f9bb4494f01800bbc tree da6a8d3a38e0c2e91b45dda210dc9f56306027a0 parent 39ee059affaf57a152c64cd3a0adc3f48f02ed71 author Marko Kohtala Fri, 06 Jan 2006 00:19:43 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:56 -0800 [PATCH] parport: buffer overflow fix Fix potential buffer overflow in case the device ID did not end in semicolon. Also might fail to negotiate back to IEEE1284_MODE_COMPAT in case of failure. parport_device_id did not return what Documentation/parport-lowlevel.txt said, so I changed it to match it. Determining device ID length is overly complicated, but Tim Waugh recalled on linux-parport seeing some buggy device that might need it. Signed-off-by: Marko Kohtala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 39ee059affaf57a152c64cd3a0adc3f48f02ed71 tree d656f8b3eb40cd1019a82d4381bbfa33e6caec8e parent 6ad84acab972f4dfc78e6fdb04c419f82c497d29 author Miklos Szeredi Fri, 06 Jan 2006 00:19:43 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:56 -0800 [PATCH] fuse: check file type in lookup Previously invalid types were quietly changed to regular files, but at revalidation the inode was changed to bad. This was rather inconsistent behavior. Now check if the type is valid on initial lookup, and return -EIO if not. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6ad84acab972f4dfc78e6fdb04c419f82c497d29 tree d1a1370c158fbbf42b5e6d66e5f8046ac7bb9485 parent 3ec870d524c9150add120475c8ddcfa50574f98e author Miklos Szeredi Fri, 06 Jan 2006 00:19:42 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:56 -0800 [PATCH] fuse: ensure progress in read and write In direct_io mode, send at least one page per reqest. Previously it was possible that reqests with zero data were sent, and hence the read/write didn't make any progress, resulting in an infinite (though interruptible) loop. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ec870d524c9150add120475c8ddcfa50574f98e tree 62918ff93aac09bc13d4730208a8c8bc1fec4e40 parent 1d3d752b471d2a3a1d5e4fe177e5e7d52abb4e4c author Miklos Szeredi Fri, 06 Jan 2006 00:19:41 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:56 -0800 [PATCH] fuse: make maximum write data configurable Make the maximum size of write data configurable by the filesystem. The previous fixed 4096 limit only worked on architectures where the page size is less or equal to this. This change make writing work on other architectures too, and also lets the filesystem receive bigger write requests in direct_io mode. Normal writes which go through the page cache are still limited to a page sized chunk per request. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1d3d752b471d2a3a1d5e4fe177e5e7d52abb4e4c tree 05c6c99ca02118e2c80199c36f4f6263cdf7986b parent 248d86e87d12da19eee602075f05a49a5215288b author Miklos Szeredi Fri, 06 Jan 2006 00:19:40 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:56 -0800 [PATCH] fuse: clean up request size limit checking Change the way a too large request is handled. Until now in this case the device read returned -EINVAL and the operation returned -EIO. Make it more flexibible by not returning -EINVAL from the read, but restarting it instead. Also remove the fixed limit on setxattr data and let the filesystem provide as large a read buffer as it needs to handle the extended attribute data. The symbolic link length is already checked by VFS to be less than PATH_MAX, so the extra check against FUSE_SYMLINK_MAX is not needed. The check in fuse_create_open() against FUSE_NAME_MAX is not needed, since the dentry has already been looked up, and hence the name already checked. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 248d86e87d12da19eee602075f05a49a5215288b tree dd6a1159db054102100b2dd37e67022a65dbcf73 parent 6f9f11806af8ad3a107714a3ece56c1c4fafd047 author Miklos Szeredi Fri, 06 Jan 2006 00:19:39 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:55 -0800 [PATCH] fuse: fail file operations on bad inode Make file operations on a bad inode fail. This just makes things a bit more consistent. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f9f11806af8ad3a107714a3ece56c1c4fafd047 tree 175012a2f6bb9737f5eee127aa5ceece5899a657 parent 8cbdf1e6f6876b37d2a0d96fd15ea9f90f7d51c1 author Miklos Szeredi Fri, 06 Jan 2006 00:19:39 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:55 -0800 [PATCH] fuse: add code documentation Document some not-so-trivial functions. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8cbdf1e6f6876b37d2a0d96fd15ea9f90f7d51c1 tree 03633d1c84e651b2e9fafda1159847a05b89b0b2 parent de5f12025572ef8fcffa4be5453061725acfb754 author Miklos Szeredi Fri, 06 Jan 2006 00:19:38 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:55 -0800 [PATCH] fuse: support caching negative dentries Add support for caching negative dentries. Up till now, ->d_revalidate() always forced a new lookup on these. Now let the lookup method return a zero node ID (not used for anything else) meaning a negative entry, but with a positive cache timeout. The old way of signaling negative entry (replying ENOENT) still works. Userspace should check the ABI minor version to see whether sending a zero ID is allowed by the kernel or not. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de5f12025572ef8fcffa4be5453061725acfb754 tree 5d3f54fa7619fd7cc1ddddb037d31b280e3f3dba parent 45714d65618407bce1fd0271bc58303ce14b0785 author Miklos Szeredi Fri, 06 Jan 2006 00:19:37 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:55 -0800 [PATCH] fuse: add frsize to statfs reply Add 'frsize' member to the statfs reply. I'm not sure if sending f_fsid will ever be needed, but just in case leave some space at the end of the structure, so less compatibility mess would be required. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 45714d65618407bce1fd0271bc58303ce14b0785 tree f1f53819fc9dcc04fb9bc7145fcaddc6f8b81fe9 parent 4633a22e7added835fd1d4b072dbcc4474aa3017 author Miklos Szeredi Fri, 06 Jan 2006 00:19:36 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:55 -0800 [PATCH] fuse: bump interface version Change interface version to 7.4. Following changes will need backward compatibility support, so store the minor version returned by userspace. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4633a22e7added835fd1d4b072dbcc4474aa3017 tree 99561b341f42be443ac27257658a0237abc15a84 parent 0aa7c6990e7de06131cdc14ef4abfcab017c24a0 author Miklos Szeredi Fri, 06 Jan 2006 00:19:36 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:55 -0800 [PATCH] fuse: clean up page offset calculation Use page_offset() instead of doing page offset calculation by hand. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0aa7c6990e7de06131cdc14ef4abfcab017c24a0 tree b233db019a145d1b80bd94f775973cceec1b343c parent 524e3b623a9228efbdb70484b5214f27a1ca985d author Miklos Szeredi Fri, 06 Jan 2006 00:19:34 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:54 -0800 [PATCH] fuse: clean up fuse_lookup() Simplify fuse_lookup() and related functions. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 524e3b623a9228efbdb70484b5214f27a1ca985d tree 349c407009c90cd3d544ce2f87ddc635d4f11dcb parent f6ed39a6e1a88240eec629a3da17c3a47ada3b89 author Markus Lidel Fri, 06 Jan 2006 00:19:34 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:54 -0800 [PATCH] I2O: Lindent run Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f6ed39a6e1a88240eec629a3da17c3a47ada3b89 tree b19fee742b48865b94bb26ed4428ca00a1a95b2c parent 2e1973a3cd0b9fe31469be62df3583bdc5a34f51 author Markus Lidel Fri, 06 Jan 2006 00:19:33 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:54 -0800 [PATCH] I2O: Optimizing - make i2o_iop_free() static inline (from Adrian Bunk) - changed kmalloc() + memset(0) into kzalloc() Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2e1973a3cd0b9fe31469be62df3583bdc5a34f51 tree e44d7f091fca1cb64037555f5e856a3f2d027e8b parent dcceafe25a5f47cf69e5b46b4da6f15186ec8386 author Markus Lidel Fri, 06 Jan 2006 00:19:32 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:54 -0800 [PATCH] I2O: Beautifying Fix some typos and minor code beautifying. Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dcceafe25a5f47cf69e5b46b4da6f15186ec8386 tree 4a3d581b2a1d239daf5d42cd9d2e1e5d838d817a parent 24791bd48f643194d806654b587251b0f92233e8 author Markus Lidel Fri, 06 Jan 2006 00:19:32 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:54 -0800 [PATCH] I2O: Bugfixes - Removed some kmalloc's with __GFP_ZERO and replace it with memset() because it didn't work properly. - Fixed returned message frame in i2o_cfg_passthru() which caused raidutils to display wrong error message in case a disk was missing. - Fixed size of printk() in i2o_scsi.c. - Fixed get_device() and put_device() in probing of the I2O controller. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 24791bd48f643194d806654b587251b0f92233e8 tree c95c4db1a565146e3c1d565ba1b796e78d88d556 parent 793fd15d9fafe5b1c71e50d3c041f1463895dbde author Markus Lidel Fri, 06 Jan 2006 00:19:31 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:54 -0800 [PATCH] I2O: Remove wrong I2O device class Removed wrong I2O device class, which was only needed to add sysfs attributes. Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 793fd15d9fafe5b1c71e50d3c041f1463895dbde tree a19f3f17b435a3600d19f5a5ee2136b2d3646987 parent a1a5ea70a6e9db6332b27fe2d96666e17aa1436b author Markus Lidel Fri, 06 Jan 2006 00:19:30 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:53 -0800 [PATCH] I2O: SPARC fixes Fix lot of BE <-> LE bugs which prevent it from working on SPARC. Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1a5ea70a6e9db6332b27fe2d96666e17aa1436b tree 7edfe920aa40af94464ab05539d449dbe5689254 parent 347a8dc3b815f0c0fa62a1df075184ffe4cbdcf1 author Markus Lidel Fri, 06 Jan 2006 00:19:29 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:53 -0800 [PATCH] I2O: changed I2O API to create I2O messages in kernel memory Changed the I2O API to create I2O messages first in kernel memory and then transfer it at once over the PCI bus instead of sending each quad-word over the PCI bus. Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 347a8dc3b815f0c0fa62a1df075184ffe4cbdcf1 tree a6ec76690127e87fe6efa42b6238caadd6c07e7b parent 9bbc8346fb21fad3f678220b067450e436e45dbf author Martin Schwidefsky Fri, 06 Jan 2006 00:19:28 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:53 -0800 [PATCH] s390: cleanup Kconfig Sanitize some s390 Kconfig options. We have ARCH_S390, ARCH_S390X, ARCH_S390_31, 64BIT, S390_SUPPORT and COMPAT. Replace these 6 options by S390, 64BIT and COMPAT. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9bbc8346fb21fad3f678220b067450e436e45dbf tree 80934102daf1e9a6b2c0a387ec619c367cf6a271 parent 3b793060e768197d525e892fd1f84dbc8767cada author Peter Oberparleiter Fri, 06 Jan 2006 00:19:27 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:53 -0800 [PATCH] s390: fix invalid return code in sclp_cpi When the sclp_cpi module is loaded on a system which does not support the required SCLP call (e.g. on z/VM), ENOSUPP is returned to user space. The correct return value is EOPNOTSUPP. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b793060e768197d525e892fd1f84dbc8767cada tree 94b3860f2a5324effb71d2c09aac9ff55e02dcb2 parent 88fbf18399bde8f2900cf932acd40733dfa1effa author Cornelia Huck Fri, 06 Jan 2006 00:19:26 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:52 -0800 [PATCH] s390: Fix missing release function and cosmetic changes - Use kzalloc() in blacklist.c. - Kill unwanted casts in blacklist.c. - Provide release function for struct channel_subsystem. Signed-off-by: Cornelia Huck Cc: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88fbf18399bde8f2900cf932acd40733dfa1effa tree 9b34bf8325e465fbf84df25028f0fd6a11971b5b parent fb6958a594da49ece869793e6ec163b89fc5f79f author Eric Rossman Fri, 06 Jan 2006 00:19:25 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:52 -0800 [PATCH] s390: add support for cex2a crypto cards Signed-off-by: Eric Rossman Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb6958a594da49ece869793e6ec163b89fc5f79f tree 0746cc23ab13a059f9a34d7fc134aaf6410d07b8 parent 678a395b356a98368a93c3640252502b70c3676f author Cornelia Huck Fri, 06 Jan 2006 00:19:25 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:52 -0800 [PATCH] s390: multiple subchannel sets support Add support for multiple subchannel sets. Works with arbitrary devices in subchannel set 1 and is transparent to device drivers. Although currently only two subchannel sets are available, this will work with the architectured maximum number of subchannel sets as well. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 678a395b356a98368a93c3640252502b70c3676f tree faa937ba0579f9788d09cbc6cc39e28a4e03979e parent a28c69448154a0901e8815922030c5dcd2f8e388 author Cornelia Huck Fri, 06 Jan 2006 00:19:24 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:51 -0800 [PATCH] s390: convert /proc/cio_ignore Convert /proc/cio_ignore to a sequential file. This makes multiple subchannel sets support easier. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a28c69448154a0901e8815922030c5dcd2f8e388 tree 532ac1d4abc9cb9317bdfabc09b225ef616dd07b parent f97a56fb768e5fe9cd07c56ca47870136bb5530c author Cornelia Huck Fri, 06 Jan 2006 00:19:23 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:51 -0800 [PATCH] s390: introduce struct channel_subsystem struct channel_subsystem encapsulates several per channel subsystem properties, like status of chpids or the global path group id. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f97a56fb768e5fe9cd07c56ca47870136bb5530c tree 05108317a0cca7aa04cd68f4fcb7b7d3a295ddfa parent a8237fc4108060402d904bea5e1062e22e731969 author Cornelia Huck Fri, 06 Jan 2006 00:19:22 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:51 -0800 [PATCH] s390: introduce for_each_subchannel for_each_subchannel() is an iterator calling a function for every possible subchannel id until non-zero is returned. Convert the current iterating functions to it. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a8237fc4108060402d904bea5e1062e22e731969 tree fc19e33ea8bbe664c33fba6c78b34e497f2cc478 parent 8129ee164267dc030b8e1d541ee3643c0b9f2fa1 author Cornelia Huck Fri, 06 Jan 2006 00:19:21 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:51 -0800 [PATCH] s390: introduce struct subchannel_id This patch introduces a struct subchannel_id containing the subchannel number (formerly referred to as "irq") and switches code formerly relying on the subchannel number over to it. While we're touching inline assemblies anyway, make sure they have correct memory constraints. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8129ee164267dc030b8e1d541ee3643c0b9f2fa1 tree ca477e575a9098e637411332a8d354477143eff4 parent 05f29fcdb0c6c99484c8bea5e244fe2f4edc9337 author Frank Pavlic Fri, 06 Jan 2006 00:19:20 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:51 -0800 [PATCH] s390: qdio V=V pass-through New feature V=V qdio pass-through. QDIO and HiperSockets processing in z/VM V=V guest environments (as well as V=R with z/VM running in LPAR mode) requires shadowing of all QDIO architecture queue elements. Especially the shadowing of SBALs and SLSBs structures in the hypervisor, and the need to issue SIGA SYNC operations to observe state changes, eventually causes significant CPU processing overhead in the hypervisor. The QDIO pass-through support for V=V guests avoids the shadowing of SBALs and SLSBs. This significantly reduces the hypervisor overhead for QDIO based I/O. Signed-off-by: Frank Pavlic Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05f29fcdb0c6c99484c8bea5e244fe2f4edc9337 tree ddd58e864af769894488cbc19c5282a4dacdcecb parent bf754ae8ef8bc443c067601d9401103e4001e7c5 author Jan Glauber Fri, 06 Jan 2006 00:19:19 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:51 -0800 [PATCH] s390: in-kernel crypto test vectors Add new test vectors to the AES test suite for AES CBC and AES with plaintext larger than AES blocksize. Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bf754ae8ef8bc443c067601d9401103e4001e7c5 tree 4241bc75205a638006f40f577e99430099bbe53e parent 0a497c17fee428604e06320272ff74415eacdc31 author Jan Glauber Fri, 06 Jan 2006 00:19:18 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:50 -0800 [PATCH] s390: aes support Add support for the hardware accelerated AES crypto algorithm. Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0a497c17fee428604e06320272ff74415eacdc31 tree b7ebb455fc908489a783a32f6171a3c36ccdcc4f parent c1e26e1ef7ab50f30e5fbf004fe96ed44321ca78 author Jan Glauber Fri, 06 Jan 2006 00:19:18 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:50 -0800 [PATCH] s390: sha256 support Add support for the hardware accelerated sha256 crypto algorithm. Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c1e26e1ef7ab50f30e5fbf004fe96ed44321ca78 tree d4319a9441da5b776637945f9413e702296f5ad3 parent d0f4c16febf258ba8c0f917ac3ba935fc5459566 author Jan Glauber Fri, 06 Jan 2006 00:19:17 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:50 -0800 [PATCH] s390: in-kernel crypto rename Replace all references to z990 by s390 in the in-kernel crypto files in arch/s390/crypto. The code is not specific to a particular machine (z990) but to the s390 platform. Big diff, does nothing.. Signed-off-by: Jan Glauber Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d0f4c16febf258ba8c0f917ac3ba935fc5459566 tree 069f60a74c4bed5c4e599f9ffa337d96454b78f6 parent 1c01b8a5963aec60488c1c97d67cffd8b5275e3f author Andreas Krebbel Fri, 06 Jan 2006 00:19:16 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:50 -0800 [PATCH] s390: add oprofile callgraph support Signed-off-by: Andreas Krebbel Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1c01b8a5963aec60488c1c97d67cffd8b5275e3f tree 48eb6c300541d77ff2cc5d8949ce5788fab1d82f parent 9a7af289660dc749d7c58234191601046a9bf488 author Horst Hummel Fri, 06 Jan 2006 00:19:15 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:50 -0800 [PATCH] s390: dasd failfast support To properly support multipath-failover handling, the linux block layer has introduced a special request flag, 'REQ_FAILFAST'. This flag is now used to return requests immediately in case the device is not operational. Signed-off-by: Horst Hummel Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a7af289660dc749d7c58234191601046a9bf488 tree d32057111e48c3463a87dd3a051c44064eeb86fc parent cfb1b55595a0dfd87b5849e8d0216c029f34445f author Horst Hummel Fri, 06 Jan 2006 00:19:14 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:50 -0800 [PATCH] s390: BIODASDPRRD ioctl return code The IOCTL BIODASDPRRD had no return code for 'profiling is inactive' and therefore tunedasd wrote misleading message for request-counter = 0. Introduce return-code EIO for inactive profiling. Signed-off-by: Horst Hummel Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cfb1b55595a0dfd87b5849e8d0216c029f34445f tree 86d73bda5e9c82e70a4bdbacfac6be5644c8a987 parent 6810a2bce3aa6573faa9920487274f166fe95c6e author Carsten Otte Fri, 06 Jan 2006 00:19:14 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:49 -0800 [PATCH] s390: move s390_root_dev_* out of the cio layer Extract the s390_root_dev_* functions from the common I/O layer as they are also used by non-ccw device drivers. Signed-off-by: Carsten Otte Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6810a2bce3aa6573faa9920487274f166fe95c6e tree 96426b1a7b63fa1f1f40762d27c946ef0013357a parent 089545f0c71bab6511395c2a060d7f81a99bad58 author Cornelia Huck Fri, 06 Jan 2006 00:19:13 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:49 -0800 [PATCH] s390: re-activated path detection If we receive path not operational indications (pnom in pmcw nonzero), we switch off those paths. To catch them becoming available again, we have to recalculate the lpm from the pmcw each time we start path verification. Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 089545f0c71bab6511395c2a060d7f81a99bad58 tree 461ec36ccfc7350db49ce97d59894a7672ae170f parent 088c4ec16aa6b865dcf690051ddac30eb2bf6bcc author Martin Schwidefsky Fri, 06 Jan 2006 00:19:12 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:49 -0800 [PATCH] s390: cputime_t fixes There are some more places where the use of cputime_t instead of an integer type and the associated macros is necessary for the virtual cputime accounting on s390. Affected are the s390 specific appldata code and BSD process accounting. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 088c4ec16aa6b865dcf690051ddac30eb2bf6bcc tree bd2f31466a835145723c529fe05fac25f13a345d parent 4e3df37e7fb4e41bec84465ff31949737160ed58 author Martin Schwidefsky Fri, 06 Jan 2006 00:19:11 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:49 -0800 [PATCH] s390: update default configuration Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4e3df37e7fb4e41bec84465ff31949737160ed58 tree 99860db17a34bd7f8ab18b97bf5f842141a749a7 parent a63a4931c301a14ca79c41fec0b99d898dbba1fb author Cedric Le Goater Fri, 06 Jan 2006 00:19:10 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:49 -0800 [PATCH] s390: rt_sigreturn fix Check return code of do_sigaltstack and force a SIGSEGV if it is -EFAULT. Signed-off-by: Martin Schwidefsky Signed-off-by: Cedric Le Goater Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a63a4931c301a14ca79c41fec0b99d898dbba1fb tree 8d543006aadc1518c8bdb195f357d321b62b15da parent 56dc6a88ec76019e0d0729165cb5b98536270e1d author Martin Schwidefsky Fri, 06 Jan 2006 00:19:09 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:49 -0800 [PATCH] s390: uaccess warnings Convert __access_ok to an inline C function and change __get_user primitive to avoid uaccess compiler warnings. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 56dc6a88ec76019e0d0729165cb5b98536270e1d tree 4f79e6c12bae4be6bc8f78d786367076d38f4798 parent 973bd9937569146de0917f54f05b2942f8257912 author Peter Oberparleiter Fri, 06 Jan 2006 00:19:09 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:48 -0800 [PATCH] s390: cms volume label definitions Moved definition of CMS volume label to vtoc.h and modify partitions/ibm.c to use this volume label definition instead of anonymous array. Signed-off-by: Peter Oberparleiter Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 973bd9937569146de0917f54f05b2942f8257912 tree 86dd796de5bf456eca904b350c9515f4795122bb parent 8d93c700a489eba08514222df414a23852a85d2b author Martin Schwidefsky Fri, 06 Jan 2006 00:19:07 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:48 -0800 [PATCH] s390: atomic primitives Hugh Dickins Fix the broken atomic_cmpxchg primitive. Add atomic_sub_and_test, atomic64_sub_return, atomic64_sub_and_test, atomic64_cmpxchg, atomic64_add_unless and atomic64_inc_not_zero. Replace old style atomic_compare_and_swap by atomic_cmpxchg. Shorten the whole header by defining most primitives with the two inline functions atomic_add_return and atomic_sub_return. In addition this patch contains the s390 related fixes of Hugh's "mm: fill arch atomic64 gaps" patch. Signed-off-by: Martin Schwidefsky Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d93c700a489eba08514222df414a23852a85d2b tree 95431dbad08c7807840faff3d8bf85dba0c66e13 parent 3a331a511a2fe522034f3958eecf58751be434ac author Jeff Dike Fri, 06 Jan 2006 00:19:06 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:48 -0800 [PATCH] uml: free network IRQ correctly Free the network IRQ when closing down the network devices at shutdown. Delete the device from the opened devices list on close. These prevent an -EBADF when later disabling SIGIO on all extant descriptors and a complaint from free_irq about freeing the IRQ twice. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a331a511a2fe522034f3958eecf58751be434ac tree 4e1a5e3f1c1b3d46a685c7993afe8065f84a0786 parent 4111b025dc64f33803d2147565147428dc51d014 author Jeff Dike Fri, 06 Jan 2006 00:19:05 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:48 -0800 [PATCH] uml: fix whitespace in mconsole driver Fix up some bogus spacing in the mconsole driver. Also delete the emacs formatting comment at the end. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4111b025dc64f33803d2147565147428dc51d014 tree 9eaf09fd540df937c40d16a973c11f0427c0c1b0 parent 6f517d3fc862d3c8d8ba65c0b2472d399aceb9ed author Jeff Dike Fri, 06 Jan 2006 00:19:05 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:48 -0800 [PATCH] uml: capture printk output for mconsole sysrq Pass sysrq output back to the mconsole client using the mechanism introduced for stack output. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f517d3fc862d3c8d8ba65c0b2472d399aceb9ed tree d8062920a60939dd2dda3b2deb39a4e206e0ae06 parent 7b033e1fdeef3d8bacac3cd5cfa53c9d670d1f3d author Jeff Dike Fri, 06 Jan 2006 00:19:04 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:48 -0800 [PATCH] uml: capture printk output for mconsole stack The stack command now sends the printk output back to the mconsole client. This is done by registering a special console for the mconsole driver. This receives all printk output. Normally, it is ignored, but when a stack command is issued, any printk output will be sent back to the client. This will capture any printk output, whether it is stack output or not, since we can't tell the difference. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7b033e1fdeef3d8bacac3cd5cfa53c9d670d1f3d tree 632948968ea0d61bc323f419866d3d037a99f0a5 parent 44700a4469b6bb89e6f1edd32b8a4a915dd967c6 author Jeff Dike Fri, 06 Jan 2006 00:19:03 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:47 -0800 [PATCH] uml: add mconsole_reply variant with length param This is needed for the console output patch, since we have a possibly non-NULL-terminated string there. So, the new interface takes a string and a length, and the old interface calls strlen on its string and calls the new interface with the length. There's also a bit of whitespace cleanup. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 44700a4469b6bb89e6f1edd32b8a4a915dd967c6 tree e9474d4c2ebb13f94ca810aa99473d1d6bf8eba1 parent e464bf2bed027ea185992b44bf4b0326387a520d author Jeff Dike Fri, 06 Jan 2006 00:19:02 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:47 -0800 [PATCH] uml: better diagnostics for broken configs Produce a compile-time error if both MODE_SKAS and MODE_TT are disabled. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e464bf2bed027ea185992b44bf4b0326387a520d tree 1038935546cbf91640835d7b868067c60a95b33f parent 7eebe8a9c51686927709a57b1f2725d371014abc author Jeff Dike Fri, 06 Jan 2006 00:19:01 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:47 -0800 [PATCH] uml: SIGWINCH handling cleanup Code cleanup - unregister_winch and winch_cleanup had some duplicate code. This is now abstracted out into free_winch. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7eebe8a9c51686927709a57b1f2725d371014abc tree 6b1543982c8656c76c25baa7e44497d5d9de307a parent 2264c475e4bf7427e59921953c89a5693ecb506f author Jeff Dike Fri, 06 Jan 2006 00:19:01 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:47 -0800 [PATCH] uml: umid cleanup This patch cleans up the umid code: - The only_if_set argument to get_umid is gone. - get_umid returns an empty string rather than NULL if there is no umid. - umid_is_random is gone since its users went away. - Some printfs were turned into printks because the code runs late enough that printk is working. - Error paths were cleaned up. - Some functions now return an error and let the caller print the error message rather than printing it themselves. This eliminates the practice of passing a pointer to printf or printk in, depending on where in the boot process we are. - Major tidying of not_dead_yet - mostly error path cleanup, plus a comment explaining why it doesn't react to errors the way you might expect. - Calls to os_* interfaces that were moved under os are changed back to their native libc forms. - snprintf, strlcpy, and their bounds-checking friends are used more often, replacing by-hand bounds checking in some places. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2264c475e4bf7427e59921953c89a5693ecb506f tree 4ebf1fa766ee7487eeaf583f1ffe2b63e6e0af2c parent e4dcee8099802c71437a15b940f66106d9f88b2f author Jeff Dike Fri, 06 Jan 2006 00:18:59 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:47 -0800 [PATCH] uml: separate libc-dependent umid code I reworked Gennady's umid OS abstraction patch because the code shouldn't be moved entirely to os. As it turns out, I moved most of it anyway. This patch is the minimal one needed to move the code and have it work. It turns out that the concept of the umid is OS-independent, but almost everything else about the implementation is OS-dependent. This is code movement without cleanup - a follow-on patch tidies everything up without shuffling code around. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e4dcee8099802c71437a15b940f66106d9f88b2f tree b4831639d38369fce2e20fd40730425ca702102c parent 9159c9dfffe1746d58b015ceaa3b7b8e99ee9d5c author Jeff Dike Fri, 06 Jan 2006 00:18:58 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:46 -0800 [PATCH] uml: Add throttling to console driver This patch adds support for throttling and unthrottling input when the tty driver can't handle it. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9159c9dfffe1746d58b015ceaa3b7b8e99ee9d5c tree 938b1a30d0d127ed05e8145af2ddcd1c07719ac0 parent 165dc5911627a9c4752e909a0da661b96b6fd269 author Jeff Dike Fri, 06 Jan 2006 00:18:58 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:46 -0800 [PATCH] uml: Fix flip_buf full handling When the tty flip_buf is full, it's a good idea to delay the input processing for a jiffy, rather than just scheduling the tasklet immediately. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 165dc5911627a9c4752e909a0da661b96b6fd269 tree 7e8eb47b7e766a5296b9e15ef177f958dec16d93 parent 1f80171e81ed0d08dcdb6efe239d7b929aef498f author Jeff Dike Fri, 06 Jan 2006 00:18:57 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:46 -0800 [PATCH] uml: Simplify console opening/closing and irq registration This patch simplifies the opening and closing of host console devices and the registration and deregistration of IRQs. The intent is to make it obvious that an IRQ can't exist without an open file descriptor. chan_enable will now open the channel, and when both opening and IRQ registration are desired, this should be used. Opening only is done for the initial console, so that interface still needs to exist. The free_irqs_later interface is now gone. It was intended to avoid freeing an IRQ while it was being processed. It did this, but it didn't eliminate the possiblity of free_irq being called from an interrupt, which is bad. In its place is a list of irqs to be freed, which is processed by the signal handler just before exiting. close_one_chan now disables irqs. When a host device disappears, it is just closed, and that disables IRQs. The device id registered with the IRQ is now the chan structure, not the tty. This is because the interrupt arrives on a descriptor associated with the channel. This caused equivalent changes in the arguments to line_timer_cb. line_disable is gone since it is not used any more. The count field in the line structure is gone. tty->count is used instead. The complicated logic in sigio_handler with freeing IRQs when necessary and making sure its idea of the next irq is correct is now much simpler. The irq list can't be rearranged underneath it, so it is now a simple list walk. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1f80171e81ed0d08dcdb6efe239d7b929aef498f tree f6f72268ddee265b46ceb698cdff6daa7cba6250 parent 418e55d49b0ec7d2e7a033f2dd083f5b2ab7d119 author Jeff Dike Fri, 06 Jan 2006 00:18:55 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:46 -0800 [PATCH] uml: move console configuration This patch changes when console devices are configured in order to prepare the ground for the next patch. parse_chan_pair is now done earlier, when initcalls are run, rather than when the device is opened. When a host device disappears, the channel list is closed, but not freed. This is required by the previous change. line_config now takes the options structure as an argument, and line_open doesn't. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 418e55d49b0ec7d2e7a033f2dd083f5b2ab7d119 tree d1e598b98955774b270b0f3f8f4a4e63815ff97e parent 9010772cdff36072dd509ec72c1a55fccde8e58e author Jeff Dike Fri, 06 Jan 2006 00:18:54 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:46 -0800 [PATCH] uml: line_setup interface change line_setup is changed to return the device which it set up, rather than just success or failure. This will be important in the line-config patch. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9010772cdff36072dd509ec72c1a55fccde8e58e tree b87fbf28462462b691b6f2bca382dd6188ef3dc1 parent d571cd18f225542460b5d9b83e5e0d507be71656 author Jeff Dike Fri, 06 Jan 2006 00:18:54 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:46 -0800 [PATCH] uml: Add static initializations and declarations Some structure fields were being dynamically initialized when they could be initialized at compile-time instead. This also makes some declarations static (in the C sense). Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d571cd18f225542460b5d9b83e5e0d507be71656 tree 2434036d1a068afa831532f71deabcbd47527bc8 parent 88890b88742debb97006df264b653d18acdc80d0 author Jeff Dike Fri, 06 Jan 2006 00:18:53 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:45 -0800 [PATCH] uml: Move mconsole support out of generic code A bit of restructuring which eliminates the all_allowed argument (which is mconsole-specific) to line_setup. That logic is moved to the mconsole callback. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88890b88742debb97006df264b653d18acdc80d0 tree f84377762bd7e69b5cdcab1ee7e4406295c898ce parent 0834cc77af6a8a650f803d4a7c3c0f134b366f87 author Jeff Dike Fri, 06 Jan 2006 00:18:52 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:45 -0800 [PATCH] uml: Remove unneeded structure field This removes a structure field which turned out to be pointless, and references to it. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0834cc77af6a8a650f803d4a7c3c0f134b366f87 tree a23d3746dfed759b28c250a7b5365e035a0a6542 parent d50084a2991f3d9490d5c0f3af72e6fe1515a493 author Jeff Dike Fri, 06 Jan 2006 00:18:51 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:45 -0800 [PATCH] uml: use ARRAY_SIZE This patch replaces instances of "sizeof(foo)/sizeof(foo[0])" with ARRAY_SIZE(foo), which expands to the same thing. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d50084a2991f3d9490d5c0f3af72e6fe1515a493 tree 051d6c46ddab1ee47db40252cdad4cbbe0a04f5b parent 1b57e9c27882a908f180d4daf72ee12c6f137178 author Jeff Dike Fri, 06 Jan 2006 00:18:50 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:45 -0800 [PATCH] uml: Formatting changes This patch makes a bunch of non-functional changes - return(foo); becomes return foo; some statements are broken across lines for readability some trailing whitespace is cleaned up open_one_chan took four arguments, three of which could be deduced from the first. Accordingly, they were eliminated. some examples of "} else {" had a newline added some whitespace cleanup in the indentation lines_init got some control flow cleanup some long lines were broken removed another emacs-specific C formatting comment Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1b57e9c27882a908f180d4daf72ee12c6f137178 tree 422930c86e877418cc96623653b750bd0d1f5a9a parent 970d6e3a3461ebc62bc3fc6d4962c936cb2ed97c author Jeff Dike Fri, 06 Jan 2006 00:18:49 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:45 -0800 [PATCH] uml: non-void functions should return something There are a few functions which are declared to return something, but don't. These are actually infinite loops which are forced to be declared as non-void. This makes them all return 0. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 970d6e3a3461ebc62bc3fc6d4962c936cb2ed97c tree 0af12c696e86ec294d966c704821f806b6e28883 parent 118c1f27b838c5d1cf5338dc5abff52ceb364826 author Jeff Dike Fri, 06 Jan 2006 00:18:48 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:45 -0800 [PATCH] uml: use kstrdup There were a bunch of calls to uml_strdup dating from before kstrdup was introduced. This changes those calls. It doesn't eliminate the definition since there is still a couple of calls in userspace code (which should probably call the libc strdup). Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 118c1f27b838c5d1cf5338dc5abff52ceb364826 tree 8cc09bd5fa17119b21c0e07616841371708d00a7 parent b14a72d6cbf73443b975ffb04871e0ffb240df58 author Alexey Dobriyan Fri, 06 Jan 2006 00:18:47 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:45 -0800 [PATCH] cris: kgdb: remove double_this() Doesn't make much sense and unused. Signed-off-by: Alexey Dobriyan Signed-off-by: Adrian Bunk Cc: Mikael Starvik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b14a72d6cbf73443b975ffb04871e0ffb240df58 tree a839152938e1d257c6ff8b2607b5e89bbf75acdb parent 32588918254cff7c03651dcbd3d8cc2301aba5bd author Christoph Hellwig Fri, 06 Jan 2006 00:18:46 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:44 -0800 [PATCH] m68knommu: remove enable_irq_nosync() m68k, m68knommu and h8300 define this, but it's not actually used anywhere. Signed-off-by: Christoph Hellwig Cc: Greg Ungerer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 32588918254cff7c03651dcbd3d8cc2301aba5bd tree 702d0f0f5af90c3bc103e2894071ea9ea197964d parent adfc31c67f4515ed4bad1ef9555cbacdfc24e8d3 author Christoph Hellwig Fri, 06 Jan 2006 00:18:45 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:44 -0800 [PATCH] m68knommu: enable_irq/disable_irq mach_enable_irq/mach_disable_irq are never actually set, so let's remove them. Signed-off-by: Christoph Hellwig Cc: Greg Ungerer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit adfc31c67f4515ed4bad1ef9555cbacdfc24e8d3 tree 725e760c6d4e9cb1854012243b3605dce880789f parent 9b791d4766c19ac014a7b81a551efe4a7511e12a author Hirokazu Takata Fri, 06 Jan 2006 00:18:45 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:44 -0800 [PATCH] m32r: Remove unnecessary icu_data_t definitions This patch removes unnecessary struct icu_data_t definitions of arch/m32r/kernel/setup_*.c. Signed-off-by: Hayato Fujiwara Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9b791d4766c19ac014a7b81a551efe4a7511e12a tree ac8aaaf5042fb0e6f9cd05e073f7e5d60823445f parent 46ea178b7a5162405bf70954d769165cf2161309 author Hirokazu Takata Fri, 06 Jan 2006 00:18:44 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:44 -0800 [PATCH] m32r: Fix M32104 cache flushing routines This patch fixes cache memory parameter setting for the M32104 target. So far, its performance seemed to have been degraded due to incorrect cache parameter setting. * arch/m32r/boot/setup.S: Set SFR(Special Fuction Registers) region to be non-cachable explicitly. * arch/m32r/mm/cache.c: Fix cache flushing routines not to switch off the M32104 cache. Signed-off-by: Hayato Fujiwara Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46ea178b7a5162405bf70954d769165cf2161309 tree d757c796068a38ffa8c2b793233805c9b0120cde parent 1b5b776aa5730cbda9cba84ba0f8ccd53a775797 author Hirokazu Takata Fri, 06 Jan 2006 00:18:43 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:44 -0800 [PATCH] m32r: Update _port2addr to use NONCACHE_OFFSET Modify _port2addr*() routines in arch/m32r/kernel/io_*.c to use NONCACHE_OFFSET instead of hard-coding of a constant address. This modification is also required to support an M3A-ZA36 FPGA eva board in case an MMU-less synthesizable m32r core is used. Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1b5b776aa5730cbda9cba84ba0f8ccd53a775797 tree 60b661ac7cceba108dd07062a54e7fb724a19e72 parent 9287d95ea194abf32fab24c6909f8ea55ab0292f author Hirokazu Takata Fri, 06 Jan 2006 00:18:42 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:43 -0800 [PATCH] m32r: Update syscall macros for MMU-less targets This patch is for updating m32r's MMU-less support. Some legacy MMU-less m32r chips cannot return from a trap handler to the right-hand side 16-bit halfword code of a 32-bit instrucion code pair, because a "trap" instruction specification was expanded in M32R-II ISA. This modification forces "trap" instructions to be placed in word alignment location with a parallel "nop" code. Signed-off-by: Kazuhiro Inaoka Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9287d95ea194abf32fab24c6909f8ea55ab0292f tree 4c00a6866d1da4fac5b5ca3bdb86eb2170a3fbf4 parent 60c83c77c4a6a399d55e4f9ad156bccdfe51c96b author Hirokazu Takata Fri, 06 Jan 2006 00:18:41 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:43 -0800 [PATCH] m32r: Support M32104UT target platform This patch is for supporting a new target platform, Renesas M32104UT evaluation board. The M32104UT is an eval board based on an uT-Engine specification. This board has an MMU-less M32R family processor, M32104. http://www-wa0.personal-media.co.jp/pmc/archive/te/te_m32104_e.pdf This board is one of the most popular M32R platform, so we have ported Linux/M32R to it. Signed-off-by: Naoto Sugai Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 60c83c77c4a6a399d55e4f9ad156bccdfe51c96b tree b2b902aae8e0028b98122522e12862912e5483f1 parent 8c1d286e6aa5581e9d214cbaec2bee0394bb8de8 author Hirokazu Takata Fri, 06 Jan 2006 00:18:39 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:43 -0800 [PATCH] m32r: trivial fix to remove unused instructions A trivial fix to remove unused instructions. Signed-off-by: Naoto Sugai Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8c1d286e6aa5581e9d214cbaec2bee0394bb8de8 tree 818df5a64c9376286501c8563e4983ddd2085c27 parent 277c6e2ad7369558dbd7ffbcc6dcbe16458bf723 author Dave Jones Fri, 06 Jan 2006 00:18:38 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:43 -0800 [PATCH] don't freeze firewire on suspend. We had a report from one loony user who tried out suspend to disk using a swap partition on a firewire drive. As the firewire thread was put to sleep it didn't work out too well. Signed-off-by: Dave Jones Cc: Pavel Machek Cc: Ben Collins Cc: Jody McIntyre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 277c6e2ad7369558dbd7ffbcc6dcbe16458bf723 tree 4b45284c5c5c13c41d2723f603ea3645d999ce54 parent 1adf6c8ea916bc4a2587a881ec7715fece63fb5e author Rafael J. Wysocki Fri, 06 Jan 2006 00:17:58 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:43 -0800 [PATCH] swsusp: save image header first This makes the swsusp_info structure become the header of the image in the literal sense (ie. it is saved to the swap and read before any other image data with the help of the swsusp's swap map structure, so generally it is treated in the same way as the rest of the image). The main thing it does is to make swsusp_header contain the offset of the swap map used to track the image data pages rather than the offset of swsusp_info.  Simultaneously, swsusp_info becomes the first image page written to the swap. The other changes are generally consequences of the above with a few exceptions (there's some consolidation in the image reading part as a few functions turn into trivial wrappers around something else). Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1adf6c8ea916bc4a2587a881ec7715fece63fb5e tree 0cfeb2d3ea23fbfac3674cf9b7291f80a055aad1 parent 3a291a20bd6fcfafb2109031f0760a0d3e92ecd7 author Rafael J. Wysocki Fri, 06 Jan 2006 00:17:16 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:43 -0800 [PATCH] swsusp: improve handling of swap partitions This changes the handling of swap partitions by swsusp to avoid locking of the swap devices that are not used for suspend and, consequently, simplifies the code. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a291a20bd6fcfafb2109031f0760a0d3e92ecd7 tree 6c034471da9b2aac77b9810af640bb7a515cb299 parent ca0aec0f7a94bf9f07fefa8bfd23282d4e8ceb8a author Rafael J. Wysocki Fri, 06 Jan 2006 00:16:37 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:43 -0800 [PATCH] mm: add a new function (needed for swap suspend) This adds the function get_swap_page_of_type() allowing us to specify an index in swap_info[] and select a swap_info_struct structure to be used for allocating a swap page. This function (or another one of similar functionality) will be necessary for implementing the image-writing part of swsusp in the user space.  It can also be used for simplifying the current in-kernel implementation of the image-writing part of swsusp. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca0aec0f7a94bf9f07fefa8bfd23282d4e8ceb8a tree 5f31f11eba908545d5e02698fe9c163a8612dd26 parent b3a93a255ec33a04776ec50efb30b7a99168dda2 author Rafael J. Wysocki Fri, 06 Jan 2006 00:15:56 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:42 -0800 [PATCH] swsusp: make image size limit tunable Make the suspend image size limit tunable via /sys/power/image_size. It is necessary for systems on which there is a limited amount of swap available for suspend. It can also be useful for optimizing performance of swsusp on systems with 1 GB of RAM or more. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b3a93a255ec33a04776ec50efb30b7a99168dda2 tree 9cfd05925ce0548bec68ca1544f25173e2fb177b parent c050ca78705592d440c22055865bf4de40fe2a4c author Rafael J. Wysocki Fri, 06 Jan 2006 00:15:22 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:42 -0800 [PATCH] swsusp: limit image size Limit the size of the suspend image to approx. 500 MB, which should improve the overall performance of swsusp on systems with more than 1 GB of RAM. It introduces the constant IMAGE_SIZE that can be set to the preferred size of the image (in MB) and modifies the memory-shrinking part of swsusp to take this constant into account (500 is the default value of IMAGE_SIZE). Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c050ca78705592d440c22055865bf4de40fe2a4c tree 41ab01e55c65c09cc5b44880accdff1c5090f220 parent 45029c3207840edb9c9b795de0145ded1c675fce author Pavel Machek Fri, 06 Jan 2006 00:15:21 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:42 -0800 [PATCH] swsusp: Drop duplicate prototypes These two prototypes are already present in sched.h, remove duplicate version. Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 45029c3207840edb9c9b795de0145ded1c675fce tree fb3b6f295d57fb2c55879071421d45cfacdb60e2 parent 76cd48a397f126ea883835f5889ee1837596f021 author Patrick Mochel Fri, 06 Jan 2006 00:15:20 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:41 -0800 [PATCH] oss: remove deprecated PM interface from opl3sa2 driver This change removes the old, deprecated interface from the opl3sa2 driver, including the pm_{,un}register() calls, the local storage of the pmdev object and the reference to the old header files. This change is done to assist in eradicating the users of the legacy interface so as to help facilitate the removal of the interface itself. Signed-off-by: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 76cd48a397f126ea883835f5889ee1837596f021 tree efd303b842cd7083ee2e224e44e63dfd3ffa2b71 parent 53052539f3e2b29ccaf2064b0d3b8cee51d05621 author Patrick Mochel Fri, 06 Jan 2006 00:15:19 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:41 -0800 [PATCH] oss: remove deprecated PM interface from nm256 driver This change removes the old, deprecated interface from the nm256 driver, including the pm_{,un}register() calls, the local storage of the pmdev object and the reference to the old header files. This change is done to assist in eradicating the users of the legacy interface so as to help facilitate the removal of the interface itself. Note that this driver has been obsoleted by an ALSA equivalent. Signed-off-by: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53052539f3e2b29ccaf2064b0d3b8cee51d05621 tree a3628d85d88b3527463a0eeff1d865b46bc17bc8 parent 94661e7c33e6e3001be07d76d3a87eaa41dad3df author Patrick Mochel Fri, 06 Jan 2006 00:15:18 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:41 -0800 [PATCH] oss: remove deprecated PM interface from maestro driver This change removes the old, deprecated interface from the maestro driver, including the pm_{,un}register() calls, the local storage of the pmdev object and the reference to the old header files. This change is done to assist in eradicating the users of the legacy interface so as to help facilitate the removal of the interface itself. The check_suspend() function and associated logic was not removed, even though it is now unnecessary. Note that this driver has been obsoleted by an ALSA equivalent. Acked-by: Zach Brown Signed-off-by: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 94661e7c33e6e3001be07d76d3a87eaa41dad3df tree 830e59bcc2ea6fee5bbef89af2858c387dc25ebe parent ee77e2754247d011a11f572788040cda2493c998 author Patrick Mochel Fri, 06 Jan 2006 00:15:17 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:41 -0800 [PATCH] oss: remove deprecated PM interface from cs46xx driver This change removes the old, deprecated interface from the cs46xx driver, including the pm_{,un}register() calls, the local storage of the pmdev object and the reference to the old header files. This change is done to assist in eradicating the users of the legacy interface so as to help facilitate the removal of the interface itself. Note this driver has PCI PM hooks which are set properly. It also has the ability to trigger suspend/resume from an ioctl. This functionality was not touched, though it could use a serious review if this driver continues to persist in the mainline tree.. Note that this driver has been obsoleted by an ALSA equivalent. Signed-off-by: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ee77e2754247d011a11f572788040cda2493c998 tree 2f8e3f702f92a85cf0460420d51a419f7a093a7a parent e7c045c14bffcab2d329e86b80dc8ff7d528e05b author Patrick Mochel Fri, 06 Jan 2006 00:15:14 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:41 -0800 [PATCH] oss: remove deprecated PM interface from cs4281 driver This change removes the old, deprecated interface from the cs4281 driver, including the pm_{,un}register() calls, the local storage of the pmdev object and the reference to the old header files. This change is done to assist in eradicating the users of the legacy interface so as to help facilitate the removal of the interface itself. Note that this driver has been obsoleted by an ALSA equivalent. Note that this driver has hooks for PCI power management, but does not implement the ->suspend()/->resume() methods. Signed-off-by: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e7c045c14bffcab2d329e86b80dc8ff7d528e05b tree 58e195896bcf597e19459aa24322eeb6520cf79b parent e5e2fa7857f6bf46605c77d949fa6698b9b0bc28 author Patrick Mochel Fri, 06 Jan 2006 00:15:07 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:41 -0800 [PATCH] oss: remove deprecated PM interface from ad1848 driver This change removes the old, deprecated interface from the ad1848 driver, including the pm_{,un}register() calls, the local storage of the pmdev object and the reference to the old header files. This change is done to assist in eradicating the users of the legacy interface so as to help facilitate the removal of the interface itself. Signed-off-by: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e5e2fa7857f6bf46605c77d949fa6698b9b0bc28 tree e5d32d980939ce44ee8b60e7f1fd0732760f7607 parent 72a97e08394a3b2e75481ff680ec2a0591e3cba4 author Rafael J. Wysocki Fri, 06 Jan 2006 00:14:20 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:40 -0800 [PATCH] swsusp: fix enough_free_mem This patch fixes a problem with the function enough_free_mem() used by swsusp to verify if there is a sufficient number of memory pages available to it to create and save the suspend image. Namely, enough_free_mem() uses nr_free_pages() to obtain the number of free memory pages, which is incorrect, because this function returns the total number of free pages, including free highmem pages, and the highmem pages cannot be used by swsusp for storing the image data. The patch makes enough_free_mem() avoid counting the free highmem pages as available to swsusp. Signed-off-by: Rafael J. Wysocki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 72a97e08394a3b2e75481ff680ec2a0591e3cba4 tree d8ba72d6e81ad31ed10876386d3d2067921979e3 parent 7088a5c00103ef48782d6c359cd12b13a10666e6 author Rafael J. Wysocki Fri, 06 Jan 2006 00:13:46 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:40 -0800 [PATCH] swsusp: improve freeing of memory This patch makes swsusp free only as much memory as needed to complete the suspend and not as much as possible.  In the most of cases this should speed up the suspend and make the system much more responsive after resume, especially if a GUI (eg. X Windows) is used. If needed, the old behavior (ie to free as much memory as possible during suspend) can be restored by unsetting FAST_FREE in power.h Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7088a5c00103ef48782d6c359cd12b13a10666e6 tree b731c8af48e00c0ec88bbe57b6b2a2c1ec20fbde parent f2d97f02961e8b1f8a24befb88ab0e5c886586ff author Rafael J. Wysocki Fri, 06 Jan 2006 00:13:05 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:40 -0800 [PATCH] swsusp: introduce the swap map structure This patch introduces the swap map structure that can be used by swsusp for keeping tracks of data pages written to the swap.  The structure itself is described in a comment within the patch. The overall idea is to reduce the amount of metadata written to the swap and to write and read the image pages sequentially, in a file-alike way. This makes the swap-handling part of swsusp fairly independent of its snapshot-handling part and will hopefully allow us to completely separate these two parts in the future. This patch is needed to remove the suspend image size limit imposed by the limited size of the swsusp_info structure, which is essential for x86-64 systems with more than 512 MB of RAM. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f2d97f02961e8b1f8a24befb88ab0e5c886586ff tree 2b8909cf8024413134785cba06df858c0ede4bca parent 0595bf3bca9d9932a05b06dd438f40f01d27cd33 author Rafael J. Wysocki Fri, 06 Jan 2006 00:12:24 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:40 -0800 [PATCH] swsusp: remove encryption This patch removes the image encryption that is only used by swsusp instead of zeroing the image after resume in order to prevent someone from reading some confidential data from it in the future and it does not protect the image from being read by an unauthorized person before resume. The functionality it provides should really belong to the user space and will possibly be reimplemented after the swap-handling functionality of swsusp is moved to the user space. Signed-off-by: Rafael J. Wysocki Acked-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0595bf3bca9d9932a05b06dd438f40f01d27cd33 tree f7b4c361b102e483ee87337a6e471ee17ec8ffdc parent eee45269b0f5979c70bc151c6c2f4e5f4f5ababe author Ivan Kokshaysky Fri, 06 Jan 2006 00:12:22 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:40 -0800 [PATCH] Alpha: convert to generic irq framework (alpha part) Kconfig tweaks and tons of deletions. Signed-off-by: Ivan Kokshaysky Cc: Christoph Hellwig Cc: Richard Henderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eee45269b0f5979c70bc151c6c2f4e5f4f5ababe tree a8ed14ee532ea8dabc1010d540542eea1d620540 parent 1fa744e6e91a895750b9980d13fcfc5791a0cd91 author Ivan Kokshaysky Fri, 06 Jan 2006 00:12:21 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:40 -0800 [PATCH] Alpha: convert to generic irq framework (generic part) Thanks to Christoph for doing most of the work. This allows automatic SMP IRQ affinity assignment other than default "all interrupts on all CPUs" which is rather expensive. This might be useful if the hardware can be programmed to distribute interrupts among different CPUs, like Alpha does. Signed-off-by: Ivan Kokshaysky Cc: Christoph Hellwig Cc: Richard Henderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1fa744e6e91a895750b9980d13fcfc5791a0cd91 tree 2ba30e6d4f263cdb5e5ec9a85fc1fecec9100036 parent 766c3f94d4492ee4ec60b65693e71ee4b1d6fd68 author Shaohua Li Fri, 06 Jan 2006 00:12:20 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:39 -0800 [PATCH] cpu hotplug/x86_64: disable interrupt in play_dead With physical CPU hotplug, the CPU is hot removed and it should not receive any interrupts. Disabling interrupt is much safer. This basically is what we do in ia64 & x86. Signed-off-by: Shaohua Li Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 766c3f94d4492ee4ec60b65693e71ee4b1d6fd68 tree 7654da87fb55d9dc2963c3ff146f0eab6d4f316e parent 76865c3f87e825dda0c458b02f30dd8ae64b7bdc author Ben Collins Fri, 06 Jan 2006 00:12:20 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:39 -0800 [PATCH] i386: Handle HP laptop rebooting properly. Signed-off-by: Ben Collins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 76865c3f87e825dda0c458b02f30dd8ae64b7bdc tree eca4f00f9c8022bf2177f23ff36a27e12edbd939 parent 19d534842cc39df1b568722c18f96ae24fb0e136 author Vivek Goyal Fri, 06 Jan 2006 00:12:19 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:39 -0800 [PATCH] i386: ioapic virtual wire mode fix o Currently, during kexec reboot, IOAPIC is re-programmed back to virtual wire mode if there was an i8259 connected to it. This enables getting timer interrupts in second kernel in legacy mode. o After putting into virtual wire mode, IOAPIC delivers the i8259 interrupts to CPU0. This works well for kexec but not for kdump as we might crash on a different CPU and second kernel will not see timer interrupts. o This patch modifies the redirection table entry to deliver the timer interrupts to the cpu we are rebooting (instead of hardcoding to zero). This ensures that second kernel receives timer interrupts even on a non-boot cpu. Signed-off-by: Vivek Goyal Cc: Andi Kleen Cc: "Seth, Rohit" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 19d534842cc39df1b568722c18f96ae24fb0e136 tree bf4a0deac286079540f849dff8f8c030e2eba097 parent bcf0f0d233fc76e7c59c7f731caad555428d0e8d author Brian Gerst Fri, 06 Jan 2006 00:12:18 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:39 -0800 [PATCH] mpspec: remove unneeded packed attribute GCC 4.1 gives the following warning: include/asm/mpspec.h:79: warning: `packed' attribute ignored for field of type `unsigned char' The packed attribute isn't really necessary anyways so just remove it. Signed-off-by: Brian Gerst Acked-by: Dave Jones Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bcf0f0d233fc76e7c59c7f731caad555428d0e8d tree 34b39caa375380b86eba4ddf1ab2d5928b631f13 parent 3841b0a173cb6fc52163e67c03280543f2412db3 author Larry Finger Fri, 06 Jan 2006 00:12:17 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:39 -0800 [PATCH] fix cpu frequency detection in arch/i386/kernel/timers/timer_tsc.c::recalibrate_cpu_khz() When we re-calibrate the frequency, it is likely that an interrupt (as for example the main system clock) will be triggered by the system. Therefore the calibration may not be accurate. This will also provide a fix to bug #5266. Many thanks to Larry Finger for helping resolving this issue. Signed-off-by: Bruno Ducrot Cc: john stultz Cc: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3841b0a173cb6fc52163e67c03280543f2412db3 tree 38b55ab607add98d3423e6b6b7ef63c1b8a19b47 parent a7a4ad0998dcd682f4968e8ec5fc1259914a1c4a author Jordan Crouse Fri, 06 Jan 2006 00:12:16 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:39 -0800 [PATCH] APM Screen Blanking fix - Fix screen blanking on BIOSes that return APM_NOT_ENGAGED when APM enabled screen blanking is not turned on. The original code only tried to set the state on device 0x100, and then 0x1FF, and I added 0x101 to the mix too. - Clean up logic in apm_console_blank(). - Prevent the error message from printing out twice. Cc: Jordan Crouse Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a7a4ad0998dcd682f4968e8ec5fc1259914a1c4a tree eb3abedd5d748f13cc218fc9226850ac21ecdc3c parent f90b8116032f4216d260e31f966a3585319387ac author Jordan Crouse Fri, 06 Jan 2006 00:12:15 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:38 -0800 [PATCH] Geode LX HW RNG Support Add support to hw_random for the Geode LX HRNG device. Signed-off-by: Jordan Crouse Cc: Alan Cox Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f90b8116032f4216d260e31f966a3585319387ac tree c7234671ff0ee152e40dc0175fe46a0d7147641d parent 6b7f430ee0a269464aa29159eb464e647ca313d3 author Jordan Crouse Fri, 06 Jan 2006 00:12:14 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:38 -0800 [PATCH] Base support for AMD Geode GX/LX processors Provide basic support for the AMD Geode GX and LX processors. Signed-off-by: Jordan Crouse Cc: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6b7f430ee0a269464aa29159eb464e647ca313d3 tree 1fcc5c5038bc1bf69df2b575c12154f94e306c29 parent 6926d570b6159c6a7f65921ca119a675b12fef86 author Daniel Marjamaki Fri, 06 Jan 2006 00:12:13 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:38 -0800 [PATCH] arch/i386/kernel/cpuid.c: unused variable Removed the unused variable "rv". Signed-off-by: Daniel Marjamaki Signed-off-by: H. Peter Anvin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6926d570b6159c6a7f65921ca119a675b12fef86 tree e407cd90d21424fc00cd4cb767f95f24b925453b parent d832245d7cc16d50b29c1b708ccbe9c75ac376a3 author Daniel Marjamaki Fri, 06 Jan 2006 00:12:12 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:38 -0800 [PATCH] arch/i386/kernel/msr.c: removed unused variable Removed the unused variable "rv". Signed-off-by: Daniel Marjamaki Signed-off-by: H. Peter Anvin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d832245d7cc16d50b29c1b708ccbe9c75ac376a3 tree 2fc22b6337fc433a6b392e9b008339d8031e8e1c parent e31b88ba49460653bab87423287bb68743f5de5c author Stephen Hemminger Fri, 06 Jan 2006 00:12:12 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:38 -0800 [PATCH] x86: fls() in asm There is a single instruction on i386 to find largest set bit; so it makes sense to use it (like we use bfs for ffs()). Signed-off-by: Stephen Hemminger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e31b88ba49460653bab87423287bb68743f5de5c tree eb9b0e154c7453da3feaa8ae874a7a4adc3616b9 parent f8af095d3a4c8300b4e63ee2c4bb198b565d9431 author Dave Jones Fri, 06 Jan 2006 00:12:11 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:38 -0800 [PATCH] x86: missing printk newline in apic boot option parser Missing newline in printk. Signed-off-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f8af095d3a4c8300b4e63ee2c4bb198b565d9431 tree 8ca5c266790eb543706fd202d2d2f731466ad541 parent e72c8585e09f127a69a1608bb5ccd1e3fc0dd41e author Dave Jones Fri, 06 Jan 2006 00:12:10 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:38 -0800 [PATCH] x86: change_page_attr() fix The 'make rodata read-only' patch in -mm exposes a latent bug in the 32-bit change_page_attr() function, which causes certain CPUs (Those with NX basically) to reboot instantly after pages are marked read-only. The same bug got fixed a while back on x86-64, but never got propagated to i386. Stuart Hayes from Dell also picked up on this last June, but it never got fixed, as the only thing affected by it aparently was the nvidia driver. Blatantly stealing description from his post.. "It doesn't appear to be fixed (in the i386 arch). The change_page_attr()/split_large_page() code will still still set all the 4K PTEs to PAGE_KERNEL (setting the _PAGE_NX bit) when a large page needs to be split. This wouldn't be a problem for the bulk of the kernel memory, but there are pages in the lower 4MB of memory that's free, and are part of large executable pages that also contain kernel code. If change_page_attr() is called on these, it will set the _PAGE_NX bit on the whole 2MB region that was covered by the large page, causing a large chunk of kernel code to be non-executable." Signed-off-by: Arjan van de Ven Signed-off-by: Dave Jones Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e72c8585e09f127a69a1608bb5ccd1e3fc0dd41e tree 7ad1aae88ae4e9d7cd14899ad5a62ca3a6cdb0c7 parent 1855a2c4ce708b823b8b824f8b12937b45f5462a author Ashok Raj Fri, 06 Jan 2006 00:12:09 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:37 -0800 [PATCH] make bigsmp the default mode if CONFIG_HOTPLUG_CPU If we are using hotplug enabled kernel, then make bigsmp the default mode. Signed-off-by: Ashok Raj Signed-off-by: Venkatesh Pallipadi Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1855a2c4ce708b823b8b824f8b12937b45f5462a tree 2aeed2e32d792652e43ae086d2522210715c9992 parent c898ec16e83331abde39118e22e9e38335bbb950 author Ashok Raj Fri, 06 Jan 2006 00:12:08 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:37 -0800 [PATCH] x86: convert bigsmp to use flat physical mode When we bring up a new CPU via INIT/startup IPI messages, the CPU that's coming up sends a xTPR message to the chipset. Intel chipsets (at least) don't provide any architectural guarantee on what the chipset will do with this message. For example, the E850x chipsets uses this xTPR message to interpret the interrupt operating mode of the platform. When the CPU coming online sends this message, it always indicates that it is in logical flat mode. For the CPU hotplug case, the platform may already be functioning in cluster APIC mode at this time, the chipset can get confused and mishandle I/O device and IPI interrupt routing. The situation eventually gets corrected when the new CPU sends another xTPR update when we switch it to cluster mode, but there's a window during which the chipset may be in an inconsistent state. This patch avoids this problem by using the flat physical interrupt delivery mode instead of cluster mode for bigsmp (>8 cpu) support. Signed-off-by: Ashok Raj Signed-off-by: Venkatesh Pallipadi Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c898ec16e83331abde39118e22e9e38335bbb950 tree bad725f27cb14e50663d39b8f36b1b79ab88fa80 parent 215c3409eed16c89b6d11ea1126bd9d4f36b9afd author Anton Blanchard Fri, 06 Jan 2006 00:12:07 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:37 -0800 [PATCH] allow flatmem to be disabled when only sparsemem is implemented On architectures that implement sparsemem but not discontigmem we want to be able to hide the flatmem option in some cases. On ppc64 for example, when we select NUMA we must not select flatmem. Signed-off-by: Anton Blanchard Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 215c3409eed16c89b6d11ea1126bd9d4f36b9afd tree 611a2831532746e24ff9744c4d277b61569ecb20 parent bb152f53120d66c98c1f16518407df6a84f23714 author Andy Whitcroft Fri, 06 Jan 2006 00:12:06 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:37 -0800 [PATCH] i386 sparsemem for single node systems Allow SPARSEMEM to be enabled on non-numa x86 systems. This is made dependant on EXPERIMENTAL also being set. When an in-tree user (such as simulated numa) exists it should be made dependant on that. The plan is to have no options and no selector as normal when !EXPERIMENTAL. When EXPERIMENTAL we enable the FLATMEM and SPARSEMEM options for X86_PC whilst maintaining DISCONTIGMEM and SPARSEMEM for NUMA. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb152f53120d66c98c1f16518407df6a84f23714 tree 6696d5eccee5af88a7326edaebbd819e628b3e2c parent 67df197b1a07944c2e0e40ded3d4fd07d108e110 author Arjan van de Ven Fri, 06 Jan 2006 00:12:05 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:36 -0800 [PATCH] x86/x86_64: mark rodata section read-only: make some datastructures const Mark some key kernel datastructures readonly. This patch was previously posted on Jun 28th but was back then not merged because nothing was enforcing rodata anyway.. well that changed now :) Patch by Christoph Lameter and Dave Jones Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 67df197b1a07944c2e0e40ded3d4fd07d108e110 tree b29534a27b2c18e64c6b3d4cdc149de8978e38ba parent c728252c7a072628bd3932ff87943d1e12423359 author Arjan van de Ven Fri, 06 Jan 2006 00:12:04 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:36 -0800 [PATCH] x86/x86_64: mark rodata section read-only: x86-64 support x86-64 specific parts to make the .rodata section read only Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c728252c7a072628bd3932ff87943d1e12423359 tree 13a354b83179d6060add1c39bbac79e79f5d4ef2 parent 63aaf3086baea7b94c218053af8237f9dbac5d05 author Arjan van de Ven Fri, 06 Jan 2006 00:12:03 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:36 -0800 [PATCH] x86/x86_64: mark rodata section read only: generic x86-64 bugfix Bug fix required for the .rodata work on x86-64: when change_page_attr() and friends need to break up a 2Mb page into 4Kb pages, it always set the NX bit on the PMD, which causes the cpu to consider the entire 2Mb region to be NX regardless of the actual PTE perms. This is fine in general, with one big exception: the 2Mb page that covers the last part of the kernel .text! The fix is to not invent a new permission for the new PMD entry, but to just inherit the existing one minus the PSE bit. Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 63aaf3086baea7b94c218053af8237f9dbac5d05 tree dc32bf8878d01a25a321eb6412f27bce7ec7c5b7 parent 37b73c828185731f6236a6387c02d7b08c150810 author Arjan van de Ven Fri, 06 Jan 2006 00:12:02 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:36 -0800 [PATCH] x86/x86_64: mark rodata section read only: x86 parts x86 specific parts to make the .rodata section read only Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Adrian Bunk Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 37b73c828185731f6236a6387c02d7b08c150810 tree 312b9f082f78072aba62ee2230e417928156873e parent d89c145c0344fe2180336af6a309a59a8bc8c1c0 author Arjan van de Ven Fri, 06 Jan 2006 00:12:01 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:36 -0800 [PATCH] x86/x86_64: mark rodata section read only: generic infrastructure Generic prep-work for marking the .rodata section readonly: * Align the rodata section at 4Kb boundary * call the mark_rodata_ro() function when available Signed-off-by: Arjan van de Ven Signed-off-by: Ingo Molnar Signed-off-by: Adrian Bunk Cc: Andi Kleen Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d89c145c0344fe2180336af6a309a59a8bc8c1c0 tree 3b124a740d14ef298117b4ad0732e075ed970e4b parent 2684927c6b938ec7a679891e0ec1fa0709c521bd author David Howells Fri, 06 Jan 2006 00:11:59 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:36 -0800 [PATCH] x86: handle -Wsign-compare in bitops Make i386's find_first_bit() use an unsigned integer as a counter to avoid getting warnings when -Wsign-compare is given. Signed-Off-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2684927c6b938ec7a679891e0ec1fa0709c521bd tree 8696e818f64294be38f0d6e2fd677ba35abc7582 parent 92f17f0171e864a2cbe448c5b7b473e72a7d27b8 author Zachary Amsden Fri, 06 Jan 2006 00:11:59 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:35 -0800 [PATCH] x86: Deprecate useless bug Remove the "temporary debugging check" which has managed to live for quite some time, and is clearly unneeded. The mm can never be live at this point, so clearly checking the LDT in the mm->context is redundant as well. Signed-off-by: Zachary Amsden Cc: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 92f17f0171e864a2cbe448c5b7b473e72a7d27b8 tree 81e13e2cfa3b95da5fde4478a994db760e0101c0 parent 2891dcdc4538e8f4ce50c9d1eea457cf2d81fb5b author Zachary Amsden Fri, 06 Jan 2006 00:11:58 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:35 -0800 [PATCH] x86: Apm is on cpu zero only APM BIOS code has a protective wrapper that runs it only on CPU zero. Thus, no need to set APM BIOS segments in the GDT for other CPUs. Signed-off-by: Zachary Amsden Acked-by: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2891dcdc4538e8f4ce50c9d1eea457cf2d81fb5b tree 694477a26693e300ef88efd98ee1f5c98354ae7d parent e6a9918c9617ed21f71f2f20b45efe06822c8f00 author Zachary Amsden Fri, 06 Jan 2006 00:11:57 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:35 -0800 [PATCH] x86: Stop deleting nt Stop deleting NT bit from EFLAGS. See arch/i386/kernel/head.S line 223, which does something even better. Signed-off-by: Zachary Amsden Cc: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e6a9918c9617ed21f71f2f20b45efe06822c8f00 tree 1518725e6db9a84667cc0d713a5e5c6c156a979d parent 5fe9fe3c6f9a1ae7aa224bb7a66eb9aad9e4abef author Zachary Amsden Fri, 06 Jan 2006 00:11:56 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:35 -0800 [PATCH] x86: Fixed pnp bios limits PnP BIOS data, code, and 32-bit entry segments all have fixed limits as well; set them in the GDT rather than adding more code. It would be nice to add these fixups to the boot GDT rather than setting the GDT for each CPU; perhaps I can wiggle this in later, but getting it in before the subsys init looks tricky. Also, make some progress on deprecating the ugly Q_SET_SEL macros. Signed-off-by: Zachary Amsden Cc: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5fe9fe3c6f9a1ae7aa224bb7a66eb9aad9e4abef tree ec120ce6e72700fe49720127bc76228c51bd406b parent 3fae1c37eea98097de34ba665796fea93b29f4aa author Zachary Amsden Fri, 06 Jan 2006 00:11:55 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:35 -0800 [PATCH] x86: Pnp byte granularity The one remaining caller of set_limit, the PnP BIOS code, calls into the PnP BIOS, passing kernel parameters in and out. These parameteres may be passed from arbitrary kernel virtual memory, so they deserve strict protection to stop a bad BIOS from smashing beyond the object size. Unfortunately, the use of set_limit was badly botching this by setting the limit in terms of pages, when it really should have byte granularity. When doing this, I discovered my BIOS had the buggy code during the "get system device node" call: mov ax, es:[bx] Which is harmless, but has a trivial workaround. Signed-off-by: Zachary Amsden Cc: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3fae1c37eea98097de34ba665796fea93b29f4aa tree bc31e7e6a3b88f422a70c1d936a806625dcab137 parent 99022c4695d3f45fcf7f3827aa46dd2d9e53e365 author Zachary Amsden Fri, 06 Jan 2006 00:11:54 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:35 -0800 [PATCH] x86: Deprecate obsolete ldt accessors Old accessors to fetch LDT descriptors are unused and outdated and in the wrong header file. Signed-off-by: Zachary Amsden Cc: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 99022c4695d3f45fcf7f3827aa46dd2d9e53e365 tree da02b2dc37e33a2fbaf8eb752d9f5b2f70222d96 parent 3012d2d209580c78b5927d55c60a10891be8befd author Zachary Amsden Fri, 06 Jan 2006 00:11:53 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:35 -0800 [PATCH] x86: Apm seg in gdt Since APM BIOS segment limits are now fixed, set them in head.S GDT and don't use the complicated _set_limit() macro expansion. Signed-off-by: Zachary Amsden Acked-by: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3012d2d209580c78b5927d55c60a10891be8befd tree 5da305197c9e117b9207395de57d5c0a0ed432c6 parent 5702d0f742b2f462267bca147334f77a255bcc74 author Zachary Amsden Fri, 06 Jan 2006 00:11:53 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:34 -0800 [PATCH] x86: Always relax segments APM BIOSes have many bugs regarding proper representation of the appropriate segment limits for calling the BIOS. By default, APM_RELAX_SEGMENTS is always turned on to support running the APM BIOS on these buggy machines. Keeping 64k limits poses very little danger to the kernel, because the pages where the APM BIOS is located will always be in low physical memory BIOS areas, which should already be marked reserved, and only buggy BIOSes would possibly overstep the segment bounds with writes to data anyway. Since forcing stricter limits breaks many machines and is not default behavior, it seems reasonable to deprecate the older code which may cause APM BIOS to fault. If you really have a badly enough broken APM BIOS that you have to turn off APM_RELAX_SEGMENTS, seems like the best recourse here would be to disable the APM BIOS and / or not compile it into your kernel to begin with, and / or add your system to the known bad list. The reason I want to deprecate this code is there is underlying brokenness with the set_limit macros, and getting rid of many of the call sites rather than rewriting them seems to be the simplest and most correct course of action. Signed-off-by: Zachary Amsden Acked-by: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5702d0f742b2f462267bca147334f77a255bcc74 tree de14f41bc9305aa48a19ce95443b0b9ca5ca2350 parent ff6e8c0d5e47f0ceeebde86ec2f5919dbd5beb67 author Zachary Amsden Fri, 06 Jan 2006 00:11:51 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:34 -0800 [PATCH] x86: Pnp segments in segment h Move PnP BIOS segment definitions into segment.h; the segments are reserved here, so they might as well be defined here as well. Note I didn't do this for APM BIOS, as Macintosh and other systems use those values to emulate APM in some scary way I don't want to understand. Signed-off-by: Zachary Amsden Acked-by: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ff6e8c0d5e47f0ceeebde86ec2f5919dbd5beb67 tree f7e50b5962b7b38ca025c0bf9ee48b618424cc6b parent eb05c3249a8e8a675e79d221f4a0874dc10ec903 author Zachary Amsden Fri, 06 Jan 2006 00:11:50 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:34 -0800 [PATCH] x86: Cr4 is valid on some 486s So some 486 processors do have CR4 register. Allow them to present it in register dumps by using the old fault technique rather than testing processor family. Thanks to Maciej for noticing this. Signed-off-by: Zachary Amsden Cc: "Seth, Rohit" Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit eb05c3249a8e8a675e79d221f4a0874dc10ec903 tree 20d18a6873f8bac31532d1246337ca347e387ad4 parent d43c6e8083ac8baeb1a167510aea34fcef396e33 author Jan Beulich Fri, 06 Jan 2006 00:11:49 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:34 -0800 [PATCH] i386: fix bound check IDT gate Other than apparently commonly assumed, the bound instruction does not require the corresponding IDT entry to have DPL 3. Acked-by: "Seth, Rohit" Acked-by: Zachary Amsden Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d43c6e8083ac8baeb1a167510aea34fcef396e33 tree 45feb3824511d67330bb5d2e5451fa5f66dd7542 parent e43d674f44dc885a2476cab3537e639d9eaa31a9 author Jan Beulich Fri, 06 Jan 2006 00:11:49 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:34 -0800 [PATCH] i386: move SIMD initialization Move some code unrelated to any dealing with hardware bugs from i386's bugs.h to a more logical place. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e43d674f44dc885a2476cab3537e639d9eaa31a9 tree 23bf53cc0752000ddee91b8f957181bfc5b70a4c parent 7c4cb60e5b97677424e95baee9c29df54b26e6ba author Jan Beulich Fri, 06 Jan 2006 00:11:48 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:34 -0800 [PATCH] i386: don't blindly enable interrupts in die() Rather than blindly re-enabling interrupts in die(), save their state upon entry and then restore that state. If the kernel is in really bad condition and faults with interrupts disabled, re-enabling them in die() may cause even more trouble, implying more chances of data corruption. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c4cb60e5b97677424e95baee9c29df54b26e6ba tree a2ad6e6104e153d15bc4bfbb67f74b0e05fea03c parent 599a6e8ca4ff7f453f847217ecc2718d68e3b0f6 author Zachary Amsden Fri, 06 Jan 2006 00:11:47 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:33 -0800 [PATCH] x86: GDT alignment fix Make GDT page aligned and page padded to support running inside of a hypervisor. This prevents false sharing of the GDT page with other hot data, which is not allowed in Xen, and causes performance problems in VMware. Rather than go back to the old method of statically allocating the GDT (which wastes unneded space for non-present CPUs), the GDT for APs is allocated dynamically. Signed-off-by: Zachary Amsden Cc: "Seth, Rohit" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 599a6e8ca4ff7f453f847217ecc2718d68e3b0f6 tree 89961a1030bbdd1e3c9c49bcc451921206bfae9f parent fef2b580eb50281ae1d2413ab340f677f6722281 author Domen Puncer Fri, 06 Jan 2006 00:11:46 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:33 -0800 [PATCH] mips: remove include/asm-mips/riscos-syscall.h Remove nowhere referenced file ("grep riscos -r ." didn't find anything). Signed-off-by: Domen Puncer Signed-off-by: Alexey Dobriyan Acked-by: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fef2b580eb50281ae1d2413ab340f677f6722281 tree a0cd5204a30a06e72123b7030a8279e1239255da parent 8efc0ab50edbac5c65191b8a58dfdab3741b7901 author David Howells Fri, 06 Jan 2006 00:11:45 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:33 -0800 [PATCH] frv: improve signal handling The attached patch improves the signal handling: (1) It makes do_signal() static as it isn't called from anywhere outside of the arch code. (2) It removes the regs argument to all the static functions within that file, using __frame instead (which is the same thing held in a global register). Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8efc0ab50edbac5c65191b8a58dfdab3741b7901 tree 3598a874f715e89d475a9bc8a435a1096f19c58d parent 7ee1dd3fee22f15728f545d266403fc977e1eb99 author David Howells Fri, 06 Jan 2006 00:11:44 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:33 -0800 [PATCH] frv: fix signal handling The attached patch makes FRV signal handling work properly: (1) After do_notify_resume() has been called, the work flags must be checked again (there may be another signal to deliver or the process might require rescheduling for instance). (2) After the signal frame is set up on the userspace stack, ptrace() should be given an opportunity to single-step into the signal handler. (3) The error state from setting up a signal frame should be passed back up the call chain. (4) The segfault handler shouldn't be preemptively reset in the arch if we fail to deliver a SEGV signal: force_sig() will take care of that. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7ee1dd3fee22f15728f545d266403fc977e1eb99 tree e2f9f42b0731d5006fa329a590069be6787af1de parent 5c40f7f373889930d176a515ec375b60a70b5b49 author David Howells Fri, 06 Jan 2006 00:11:44 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:33 -0800 [PATCH] FRV: Make futex code compilable on nommu [try #2] Make the futex code compilable and usable on NOMMU by making the attempt to handle page faults conditional on CONFIG_MMU. If this is not enabled, then we can assume that EFAULT returned from futex_atomic_op_inuser() is not recoverable, and that the address lies outside of valid memory. handle_mm_fault() is made to BUG if called on NOMMU without attempting to invoke the actual handler (__handle_mm_fault). Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5c40f7f373889930d176a515ec375b60a70b5b49 tree 718d63553f5b9b23c5883592a2fe45b84f275687 parent b0e15190ead07056ab0c3844a499ff35e66d27cc author David Howells Fri, 06 Jan 2006 00:11:43 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:33 -0800 [PATCH] FRV: Implement futex operations for FRV The attached patch implements futex operations for the FRV architecture. The operations are applicable to both MMU and no-MMU modes; though the EFAULT handling will be a little bit of wasted space on the latter. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b0e15190ead07056ab0c3844a499ff35e66d27cc tree 0601a8d68fa051a7ee85d22640e982c0a64f0efc parent 642fb4d1f1dd2417aa69189fe5ceb81e4fb72900 author David Howells Fri, 06 Jan 2006 00:11:42 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:32 -0800 [PATCH] NOMMU: Make SYSV IPC SHM use ramfs facilities on NOMMU The attached patch makes the SYSV IPC shared memory facilities use the new ramfs facilities on a no-MMU kernel. The following changes are made: (1) There are now shmem_mmap() and shmem_get_unmapped_area() functions to allow the IPC SHM facilities to commune with the tiny-shmem and shmem code. (2) ramfs files now need resizing using do_truncate() rather than by modifying the inode size directly (see shmem_file_setup()). This causes ramfs to attempt to bind a block of pages of sufficient size to the inode. (3) CONFIG_SYSVIPC is no longer contingent on CONFIG_MMU. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 642fb4d1f1dd2417aa69189fe5ceb81e4fb72900 tree 77427e3141a6160bfa09ed3af4428c6e874f3e0c parent 9f6d4b0c21a6894dad7665d3dda4174c7c120784 author David Howells Fri, 06 Jan 2006 00:11:41 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:32 -0800 [PATCH] NOMMU: Provide shared-writable mmap support on ramfs The attached patch makes ramfs support shared-writable mmaps by: (1) Attempting to perform a contiguous block allocation to the requested size when truncate attempts to increase the file from zero size, such as happens when: fd = shm_open("/file/on/ramfs", ...): ftruncate(fd, size_requested); addr = mmap(NULL, subsize, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_SHARED, fd, offset); (2) Permitting any shared-writable mapping over any contiguous set of extant pages. get_unmapped_area() will return the address into the actual ramfs pages. The mapping may start anywhere and be of any size, but may not go over the end of file. Multiple mappings may overlap in any way. (3) Not permitting a file to be shrunk if it would truncate any shared mappings (private mappings are copied). Thus this patch provides support for POSIX shared memory on NOMMU kernels, with certain limitations such as there being a large enough block of pages available to support the allocation and it only working on directly mappable filesystems. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f6d4b0c21a6894dad7665d3dda4174c7c120784 tree 8eccfa4f32af9fafb2df6427a2bc03a69b223640 parent 683e2cc6dc5aa9bb4ba2f2e0662df9d7f0a1d6c2 author Ben Collins Fri, 06 Jan 2006 00:11:40 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:32 -0800 [PATCH] therm_adt746x: Quiet fan speed change messages Only output the messages about fan speed changes with a verbose=1 module param. Signed-off-by: Fabio M. Di Nitto Signed-off-by: Ben Collins Cc: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 683e2cc6dc5aa9bb4ba2f2e0662df9d7f0a1d6c2 tree 3aa321a15772f55f23584fc73b6ba29be2dd481f parent f80257a25d9f73a0e6e377c7d6bf29b8938c042d author Peter Korsgaard Fri, 06 Jan 2006 00:11:39 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:31 -0800 [PATCH] ppc32: Re-add embed_config.c to ml300/ep405 Commit 3e9e7c1d0b7a36fb8affb973a054c5098e27baa8 (ppc32: cleanup AMCC PPC40x eval boards to support U-Boot) broke the kernel for ML300 / EP405. It still compiles as there's a weak definition of the function in misc-embedded.c, but the kernel crashes as the bd_t fixup isn't performed. Signed-off-by: Peter Korsgaard Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f80257a25d9f73a0e6e377c7d6bf29b8938c042d tree e44b01971bafb813785c8c55e75b2a29f31b804d parent 041cb6241fa97c4881dd19d79f783b2e077acd28 author Sylvain Munaut Fri, 06 Jan 2006 00:11:38 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:31 -0800 [PATCH] ppc32: Allows compilation of a MPC52xx kernel without PCI Some custom cards might not need PCI, without this patch, compilation fails. Signed-off-by: Roger Blofeld Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 041cb6241fa97c4881dd19d79f783b2e077acd28 tree a4574c4a059c05acc33db303dfb075a915abfb61 parent db674ed450f113518285f410c93abecd93e71a2f author Sylvain Munaut Fri, 06 Jan 2006 00:11:37 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:31 -0800 [PATCH] ppc32: Fix MPC52xx PCI init in cas the bootloader didn't do it We were counting on the bootloader to init some stuff, like get the bus out of reset and enable accesses. Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit db674ed450f113518285f410c93abecd93e71a2f tree a4262285a9cab5ff5da39ec3c9372d14ec7143e6 parent dbeb198d9366eb3d3ad64444ceecb5b1d5b5d7ef author Sylvain Munaut Fri, 06 Jan 2006 00:11:36 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:31 -0800 [PATCH] ppc32: Fix MPC52xx configuration space access This patch takes care of an errata of the MPC5200 by avoiding 32 bits access in type 1 configuration accesses. All others accesses are still 32 bits wide. It also adds some mb() since the simple out_be(...) are not sufficient in this case. Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dbeb198d9366eb3d3ad64444ceecb5b1d5b5d7ef tree 78380a8bb90dec84209a5edf268b2850cf743ed7 parent e21b9f2e9a580ce7375ec58953c1bb19aabe0db4 author Sylvain Munaut Fri, 06 Jan 2006 00:11:35 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:31 -0800 [PATCH] ppc32: Remove __init qualifier from mpc52xx pci resources fixups The mpc52xx_pci_fixup_resources is not only called at init but also when there is a pci hotplug like when a cardbus card is plugged in. So that function is needed after init too. Thanks to Asier Llano Palacios for reporting this. Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e21b9f2e9a580ce7375ec58953c1bb19aabe0db4 tree 15ef4b899536caffe9ca863b8257a9b9e0aa3473 parent 4aa7c80193c561e52c06351e0f521e697954a859 author Sylvain Munaut Fri, 06 Jan 2006 00:11:35 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:31 -0800 [PATCH] ppc32: Modify Freescale MPC52xx IRQ mapping to _not_ use irq 0 AFAIK IRQ number 0 is a perfectly valid IRQ number. But it seems there are numerous places where it's considered to be invalid or "no irq" value. Since that value is problematic, the IRQ mapping is changed to not use it. Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4aa7c80193c561e52c06351e0f521e697954a859 tree 97aeb99b3e58355601a2aefd508f9b6f4e991421 parent d62de3aa8ac762c09845aa38634a845da55f31dc author Sylvain Munaut Fri, 06 Jan 2006 00:11:34 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:31 -0800 [PATCH] ppc32: Fix static IO mapping for Freescale MPC52xx The current iomapping used MBAR_SIZE for the size argument of io_block_mapping, resulting in a call to setbat with a size argument of 64k which is invalid. This patch correct this and maps the whole 0xf0000000->0xffffffff range so that devices on the local bus are also included in the BAT mapping. Thanks to Bernhard Kuhn from Metrowerks for pointing this out. Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d62de3aa8ac762c09845aa38634a845da55f31dc tree 22cb364644ecdacb2fe678b93ae0f446932cc971 parent 2d8179c0b77b54e27321944e16f65defeda81e27 author Sylvain Munaut Fri, 06 Jan 2006 00:11:32 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:30 -0800 [PATCH] ppc32/serial: Change mpc52xx_uart.c to use the Low Density Serial port major Before this patch we were just using the "classic" /dev/ttySx devices. However when another on the system is loaded that uses those (like drivers for serial PCMCIA), that creates a conflict for the minors. Therefore, we now use /dev/ttyPSC[0:5] (note the 0-based numbering !) with some minors we've been assigned in the "Low Density Serial port major" Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d8179c0b77b54e27321944e16f65defeda81e27 tree 6edb5004ae7299cc436d888fbc2b36fb5093c6b5 parent 7558824a8d16e244072bfebc9e5e3e3b1b9af261 author Sylvain Munaut Fri, 06 Jan 2006 00:11:31 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:30 -0800 [PATCH] ppc32/serial: Fix compiler errors with GCC 4.x in mpc52xx_uart.c Signed-off-by: Wolfgang Denk Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7558824a8d16e244072bfebc9e5e3e3b1b9af261 tree 7bac709da38c22251d7aba873fc05c028161c91b parent c9662b4b37f8f00a212eb4131d1d177b6ed8ddbd author Sylvain Munaut Fri, 06 Jan 2006 00:11:30 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:30 -0800 [PATCH] ppc32: Remove useless file arch/ppc/platforms/mpc5200.c That file is a left-over of the 'old' OCP model that should have been erased during the change to platform model but I forgot it ... Signed-off-by: Sylvain Munaut Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c9662b4b37f8f00a212eb4131d1d177b6ed8ddbd tree 3224e01f06a95b61dbcc9031596de7b42e1db641 parent e13ac219816c58579f40b48220b2fa5d94c30e84 author Arthur Othieno Fri, 06 Jan 2006 00:11:29 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:30 -0800 [PATCH] macintosh: don't store i2c_add_driver() return if no further processing done therm_pm72.c and windfarm_lm75_sensor.c both store the return from i2c_add_driver() but do no further processing on the result. Simply return what i2c_add_driver() did, instead. Signed-off-by: Arthur Othieno Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e13ac219816c58579f40b48220b2fa5d94c30e84 tree d4c2e5ff885a8e4268975974ceb7689690743e16 parent fa57f9c2b841872ffad9d8f7b3de23d6ba33c30d author Otavio Salvador Fri, 06 Jan 2006 00:11:26 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:30 -0800 [PATCH] arch/ppc/kernel/idle.c: don't declare cpu variable in non-SMP kernels Disable declaration of cpu variable in default_idle function when building non-SMP kernels. Signed-off-by: Otavio Salvador Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fa57f9c2b841872ffad9d8f7b3de23d6ba33c30d tree 72ac27ad1bfc1c376d4c3af4bea5210327312faf parent 1ae8f40767a3afc6244719a2c8fbcf546767d5b0 author Eugene Surovegin Fri, 06 Jan 2006 00:11:26 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:30 -0800 [PATCH] ppc32: remove "jumbo" member from ocp_func_emac_data Remove the not needed anymore "jumbo" member from ocp_func_emac_data. Jumbo frame support is handled by PPC4xx EMAC driver internally now. Signed-off-by: Eugene Surovegin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1ae8f40767a3afc6244719a2c8fbcf546767d5b0 tree f41d957bbc60ad940132fd28ea13a8fced63a398 parent 8d9067bda99c68e1a17d93e78cf3a5a3f67e0c35 author Adrian Bunk Fri, 06 Jan 2006 00:11:25 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:30 -0800 [PATCH] security/: possible cleanups make needlessly global code static Signed-off-by: Adrian Bunk Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d9067bda99c68e1a17d93e78cf3a5a3f67e0c35 tree 6f3c7fe665012c456b57840c290eafd4deabbeb2 parent 32725ad8430b58e42c5d54757ce7871e680d05cb author David Howells Fri, 06 Jan 2006 00:11:24 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:29 -0800 [PATCH] Keys: Remove key duplication Remove the key duplication stuff since there's nothing that uses it, no way to get at it and it's awkward to deal with for LSM purposes. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 32725ad8430b58e42c5d54757ce7871e680d05cb tree f1e08edf1e154ef3f64b9d1c6cb88e2c6b0b5d22 parent 6e20a64a3913819133fefeca466211c7eb8adda1 author Tobias Klauser Fri, 06 Jan 2006 00:11:23 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:29 -0800 [PATCH] selinux: more ARRAY_SIZE cleanups Further ARRAY_SIZE cleanups under security/selinux. Signed-off-by: Tobias Klauser Signed-off-by: Stephen Smalley Acked-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e20a64a3913819133fefeca466211c7eb8adda1 tree 65056023c41294514de2bbd032647942a2d188f9 parent b09eb1c06a14641209e6b86e9a5b28ea8287f193 author Nicolas Kaiser Fri, 06 Jan 2006 00:11:22 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:29 -0800 [PATCH] selinux: ARRAY_SIZE cleanups Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]). Signed-off-by: Nicolas Kaiser Signed-off-by: Stephen Smalley Acked-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b09eb1c06a14641209e6b86e9a5b28ea8287f193 tree 1a3adbf25c05d7f6a585331260c2cdd7287e8c36 parent a74609fafa2e5cc31d558012abaaa55ec9ad9da4 author Nick Piggin Fri, 06 Jan 2006 00:11:21 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:29 -0800 [PATCH] mm: page_state opt docs Comment the new locking rules for page_state statistics. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a74609fafa2e5cc31d558012abaaa55ec9ad9da4 tree 0be653692864d99da345b575dfe2083994ee1d21 parent d3cb487149bd706aa6aeb02042332a450978dc1c author Nick Piggin Fri, 06 Jan 2006 00:11:20 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:29 -0800 [PATCH] mm: page_state opt Optimise page_state manipulations by introducing interrupt unsafe accessors to page_state fields. Callers must provide their own locking (either disable interrupts or not update from interrupt context). Switch over the hot callsites that can easily be moved under interrupts off sections. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d3cb487149bd706aa6aeb02042332a450978dc1c tree 69051e0f9853314cf275e4e800faad950e3053c3 parent 070f80326a215d8e6c4fd6f175e28eb446c492bc author Christoph Lameter Fri, 06 Jan 2006 00:11:20 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:29 -0800 [PATCH] atomic_long_t & include/asm-generic/atomic.h V2 Several counters already have the need to use 64 atomic variables on 64 bit platforms (see mm_counter_t in sched.h). We have to do ugly ifdefs to fall back to 32 bit atomic on 32 bit platforms. The VM statistics patch that I am working on will also make more extensive use of atomic64. This patch introduces a new type atomic_long_t by providing definitions in asm-generic/atomic.h that works similar to the c "long" type. Its 32 bits on 32 bit platforms and 64 bits on 64 bit platforms. Also cleans up the determination of the mm_counter_t in sched.h. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 070f80326a215d8e6c4fd6f175e28eb446c492bc tree e759fa446e9ad101bc2c7f77979fc5a5514aff70 parent 02a68a5ebc7dd823da7496116f42290103e1e4a9 author Christoph Lameter Fri, 06 Jan 2006 00:11:19 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:28 -0800 [PATCH] build_zonelists_node(): rename args Give j and r meaningful names. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 02a68a5ebc7dd823da7496116f42290103e1e4a9 tree 7b79d20246b5c9b769e4f6172fe97e6f91fb921b parent 4be38e351c5f455f6f490f5aff29053e33ab4f99 author Christoph Lameter Fri, 06 Jan 2006 00:11:18 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:28 -0800 [PATCH] Fix zone policy determination The use k in the inner loop means that the highest zone nr is always used if any zone of a node is populated. This means that the policy zone is not correctly determined on arches that do no use HIGHMEM like ia64. Change the loop to decrement k which also simplifies the BUG_ON. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4be38e351c5f455f6f490f5aff29053e33ab4f99 tree fd7ba3678cdb5750894f58034f47076dd38c64ae parent 1a93205bdffd9d7278d4a66081cdb48452522a58 author Christoph Lameter Fri, 06 Jan 2006 00:11:17 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:28 -0800 [PATCH] mm: move determination of policy_zone into page allocator Currently the function to build a zonelist for a BIND policy has the side effect to set the policy_zone. This seems to be a bit strange. policy zone seems to not be initialized elsewhere and therefore 0. Do we police ZONE_DMA if no bind policy has been used yet? This patch moves the determination of the zone to apply policies to into the page allocator. We determine the zone while building the zonelist for nodes. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1a93205bdffd9d7278d4a66081cdb48452522a58 tree 7f8500fe725e5e8095a8fc77539d351a0e8a4643 parent f3fe65122da05e1cd4c9140340d96ea2f95d0c49 author Christoph Lameter Fri, 06 Jan 2006 00:11:16 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:28 -0800 [PATCH] mm: simplify build_zonelists_node by removing the case statement. Simplify build_zonelists_node by removing the case statement. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f3fe65122da05e1cd4c9140340d96ea2f95d0c49 tree 65f2bcdb0a9665123b5083d3aea7dae483593cbc parent 80bfed904c690642db9d4178950735299160950b author Con Kolivas Fri, 06 Jan 2006 00:11:15 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:28 -0800 [PATCH] mm: add populated_zone() helper There are numerous places we check whether a zone is populated or not. Provide a helper function to check for populated zones and convert all checks for zone->present_pages. Signed-off-by: Con Kolivas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80bfed904c690642db9d4178950735299160950b tree 5aca96e02dfebf4665a9f1c7e1d3fa58d8009c09 parent 210fe530305ee50cd889fe9250168228b2994f32 author Andrew Morton Fri, 06 Jan 2006 00:11:14 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:28 -0800 [PATCH] consolidate lru_add_drain() and lru_drain_cache() Cc: Christoph Lameter Cc: Rajesh Shah Cc: Li Shaohua Cc: Srivatsa Vaddagiri Cc: Ashok Raj Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 210fe530305ee50cd889fe9250168228b2994f32 tree 4d22a28cf28abded5f77daef5b025c04d1ffea56 parent 41e9b63b35b52cf918a4ffdb8d77862ab824aa8b author Andrew Morton Fri, 06 Jan 2006 00:11:14 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:27 -0800 [PATCH] vmscan: balancing fix Revert a patch which went into 2.6.8-rc1. The changelog for that patch was: The shrink_zone() logic can, under some circumstances, cause far too many pages to be reclaimed. Say, we're scanning at high priority and suddenly hit a large number of reclaimable pages on the LRU. Change things so we bale out when SWAP_CLUSTER_MAX pages have been reclaimed. Problem is, this change caused significant imbalance in inter-zone scan balancing by truncating scans of larger zones. Suppose, for example, ZONE_HIGHMEM is 10x the size of ZONE_NORMAL. The zone balancing algorithm would require that if we're scanning 100 pages of ZONE_HIGHMEM, we should scan 10 pages of ZONE_NORMAL. But this logic will cause the scanning of ZONE_HIGHMEM to bale out after only 32 pages are reclaimed. Thus effectively causing smaller zones to be scanned relatively harder than large ones. Now I need to remember what the workload was which caused me to write this patch originally, then fix it up in a different way... Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 41e9b63b35b52cf918a4ffdb8d77862ab824aa8b tree 472ef8bb097f4e090f5fc95100acdbc77f515087 parent 9617d95e6e9ffd883cf90a89724fe60d7ab22f9a author Nick Piggin Fri, 06 Jan 2006 00:11:13 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:27 -0800 [PATCH] mm: pfault optimisation This atomic operation is superfluous: the pte will be added with the referenced bit set, and the page will be referenced through this mapping after the page fault handler returns anyway. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9617d95e6e9ffd883cf90a89724fe60d7ab22f9a tree 67d555d34d931bd253fbc4959ffdb1e5b904f2b0 parent 224abf92b2f439a9030f21d2926ec8047d1ffcdb author Nick Piggin Fri, 06 Jan 2006 00:11:12 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:27 -0800 [PATCH] mm: rmap optimisation Optimise rmap functions by minimising atomic operations when we know there will be no concurrent modifications. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 224abf92b2f439a9030f21d2926ec8047d1ffcdb tree e45074383aea04ef8b3b8d2cc04a3b34959f9e65 parent 9328b8faae922e52073785ed6c1eaa8565648a0e author Nick Piggin Fri, 06 Jan 2006 00:11:11 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:26 -0800 [PATCH] mm: bad_page optimisation Cut down size slightly by not passing bad_page the function name (it should be able to be determined by dump_stack()). And cut down the number of printks in bad_page. Also, cut down some branching in the destroy_compound_page path. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9328b8faae922e52073785ed6c1eaa8565648a0e tree 065034bc534a4997197d26acf1774725159e4e65 parent 7756b9e4e321c3c83c7aa5b9532d3e7fd7ddeb4a author Nick Piggin Fri, 06 Jan 2006 00:11:10 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:26 -0800 [PATCH] mm: dma32 zone statistics Add dma32 to zone statistics. Also attempt to arrange struct page_state a bit better (visually). Signed-off-by: Nick Piggin Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7756b9e4e321c3c83c7aa5b9532d3e7fd7ddeb4a tree fe59fcd970e97e3878a743a5b476420501f99f00 parent bbfbb7cec9dd7266534b2b4b9c8be2fa425bbfc9 author Andrew Morton Fri, 06 Jan 2006 00:11:09 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:26 -0800 [PATCH] kill last zone_reclaim() bits Remove the last bits of Martin's ill-fated sys_set_zone_reclaim(). Cc: Martin Hicks Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bbfbb7cec9dd7266534b2b4b9c8be2fa425bbfc9 tree d1949123224d1674a7192743d188ff652c964663 parent a226f6c899799fe2c4919daa0767ac579c88f7bd author Nikita Danilov Fri, 06 Jan 2006 00:11:08 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:26 -0800 [PATCH] find_lock_page(): call __lock_page() directly. As find_lock_page() already checks with TestSetPageLocked() that page is locked, there is no need to call lock_page() that will try-lock page again (chances of page being unlocked in between are small). Call __lock_page() directly, this saves one atomic operation. Also, mark truncate-while-slept path as unlikely while we are here. (akpm: ug. But this is actually a common path for normal old read()s against a page which is under readahead I/O so ho-hum.) Signed-off-by: Nikita Danilov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a226f6c899799fe2c4919daa0767ac579c88f7bd tree 82863c401f344cae8ab518b174085a7071a0a325 parent 008857c1a49ccffc31a54c3ea7e182833bd61304 author David Howells Fri, 06 Jan 2006 00:11:08 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:26 -0800 [PATCH] FRV: Clean up bootmem allocator's page freeing algorithm The attached patch cleans up the way the bootmem allocator frees pages. A new function, __free_pages_bootmem(), is provided in mm/page_alloc.c that is called from mm/bootmem.c to turn pages over to the main allocator. All the bits of code to initialise pages (clearing PG_reserved and setting the page count) are moved to here. The checks on page validity are removed, on the assumption that the struct page arrays will have been prepared correctly. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 008857c1a49ccffc31a54c3ea7e182833bd61304 tree ba65452db097f57e05d2e3df550d55d45feabc94 parent 085cc7d5de3cc662da7ea78296464a0d52f3f01f author Ravikiran G Thirumalai Fri, 06 Jan 2006 00:11:01 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:26 -0800 [PATCH] Cleanup bootmem allocator and fix alloc_bootmem_low Patch cleans up the alloc_bootmem fix for swiotlb. Patch removes alloc_bootmem_*_limit api and fixes alloc_boot_*low api to do the right thing -- allocate from low32 memory. Signed-off-by: Ravikiran Thirumalai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 085cc7d5de3cc662da7ea78296464a0d52f3f01f tree 0fc8bc9ef25929b1bfc2bfb444eb62e6bc5468ff parent a86b1f53166a260ced8f3c8c526945bf496f2e78 author Nick Piggin Fri, 06 Jan 2006 00:11:01 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:25 -0800 [PATCH] mm: page_alloc cleanups Small cleanups that does not change generated code with the gcc's I've tested with. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a86b1f53166a260ced8f3c8c526945bf496f2e78 tree 5513bccce91fed08d4769fd18e0f527a84aea508 parent 2d92c5c9150a2a9ca3dc25da58d5042e17a96b6a author Nick Piggin Fri, 06 Jan 2006 00:11:00 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:25 -0800 [PATCH] mm: page_state fixes read_page_state and __get_page_state only traverse online CPUs, which will cause results to fluctuate when CPUs are plugged in or out. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d92c5c9150a2a9ca3dc25da58d5042e17a96b6a tree 7a559b29019f2391095f958d9546a4453839ec43 parent 13e7444b0ec59f96d81a4e8c379d5f38fc5f2cc1 author Nick Piggin Fri, 06 Jan 2006 00:10:59 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:25 -0800 [PATCH] mm: remove pcp low struct per_cpu_pages.low is useless. Remove it. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 13e7444b0ec59f96d81a4e8c379d5f38fc5f2cc1 tree 95420c03993981fd778047563c5af3f7dbdba74f parent 92be2e33b155ee76399f51f41fb061f850d02f08 author Nick Piggin Fri, 06 Jan 2006 00:10:58 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:25 -0800 [PATCH] mm: remove bad_range bad_range is supposed to be a temporary check. It would be a pity to throw it out. Make it depend on CONFIG_DEBUG_VM instead. CONFIG_HOLES_IN_ZONE systems were relying on this to check pfn_valid in the page allocator. Add that to page_is_buddy instead. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 92be2e33b155ee76399f51f41fb061f850d02f08 tree 13397157257259eff83729e0286c9a94cfb5a966 parent 77a8a78834561398fb4cb1480afa7b0e80b1dd53 author Nick Piggin Fri, 06 Jan 2006 00:10:57 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:25 -0800 [PATCH] mm: microopt conditions Micro optimise some conditionals where we don't need lazy evaluation. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 77a8a78834561398fb4cb1480afa7b0e80b1dd53 tree c58179bfb6c68fb6cad547852345150be039591f parent c54ad30c784b84d0275152d0ca80985b21471811 author Nick Piggin Fri, 06 Jan 2006 00:10:57 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:25 -0800 [PATCH] mm: set_page_refs opt Inline set_page_refs. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c54ad30c784b84d0275152d0ca80985b21471811 tree 7a40d6ddbe67360a1d9c577e3a2987d140056303 parent c484d41042e6ccb88089ca41e3b3eed1bafdae21 author Nick Piggin Fri, 06 Jan 2006 00:10:56 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:25 -0800 [PATCH] mm: pagealloc opt Slightly optimise some page allocation and freeing functions by taking advantage of knowing whether or not interrupts are disabled. Signed-off-by: Nick Piggin Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c484d41042e6ccb88089ca41e3b3eed1bafdae21 tree c65e522698456899ed5ab058373d3ca2aad1650b parent 161599ff39a3c3cdea0a1be05ac53accd2c45cdd author Hugh Dickins Fri, 06 Jan 2006 00:10:55 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:24 -0800 [PATCH] mm: free_pages_and_swap_cache opt Minor optimization (though it doesn't help in the PREEMPT case, severely constrained by small ZAP_BLOCK_SIZE). free_pages_and_swap_cache works in chunks of 16, calling release_pages which works in chunks of PAGEVEC_SIZE. But PAGEVEC_SIZE was dropped from 16 to 14 in 2.6.10, so we're now doing more spin_lock_irq'ing than necessary: use PAGEVEC_SIZE throughout. Signed-off-by: Hugh Dickins Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 161599ff39a3c3cdea0a1be05ac53accd2c45cdd tree 9943c93c97dcf042f5ec7c5fab011be655d8212a parent 2bdaf115b1c364d89484b59d5b937973f1c5a5c3 author Andy Whitcroft Fri, 06 Jan 2006 00:10:54 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:24 -0800 [PATCH] sparsemem: provide pfn_to_nid Before SPARSEMEM is initialised we cannot provide an efficient pfn_to_nid() implmentation; before initialisation is complete we use early_pfn_to_nid() to provide location information. Until recently there was no non-init user of this functionality. Provide a post init pfn_to_nid() implementation. Note that this implmentation assumes that the pfn passed has been validated with pfn_valid(). The current single user of this function already has this check. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2bdaf115b1c364d89484b59d5b937973f1c5a5c3 tree 184d595f1969e5488da6c78f8387f239e8d49cac parent 03b00ebcc804180829d513df9e92e5fe8f72aacf author Andy Whitcroft Fri, 06 Jan 2006 00:10:53 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:24 -0800 [PATCH] flatmem split out memory model There are three places we define pfn_to_nid(). Two in linux/mmzone.h and one in asm/mmzone.h. These in essence represent the three memory models. The definition in linux/mmzone.h under !NEED_MULTIPLE_NODES is both the FLATMEM definition and the optimisation for single NUMA nodes; the one under SPARSEMEM is the NUMA sparsemem one; the one in asm/mmzone.h under DISCONTIGMEM is the discontigmem one. This is not in the least bit obvious, particularly the connection between the non-NUMA optimisations and the memory models. Two patches: flatmem-split-out-memory-model: simplifies the selection of pfn_to_nid() implementations. The selection is based primarily off the memory model selected. Optimisations for non-NUMA are applied where needed. sparse-provide-pfn_to_nid: implement pfn_to_nid() for SPARSEMEM This patch: pfn_to_nid is memory model specific The pfn_to_nid() call is memory model specific. It represents the locality identifier for the memory passed. Classically this would be a NUMA node, but not a chunk of memory under DISCONTIGMEM. The SPARSEMEM and FLATMEM memory model non-NUMA versions of pfn_to_nid() are folded together under NEED_MULTIPLE_NODES, while DISCONTIGMEM has its own optimisation. This is all very confusing. This patch splits out each implementation of pfn_to_nid() so that we can see them and the optimisations to each. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 03b00ebcc804180829d513df9e92e5fe8f72aacf tree 6ffa5de42322cca4b1823f7257647e70a4a166bb parent a94b3ab7eab4edcc9b2cb474b188f774c331adf7 author Russell King Fri, 06 Jan 2006 00:10:52 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:24 -0800 [PATCH] Shut up warnings in ipc/shm.c Fix two warnings in ipc/shm.c ipc/shm.c:122: warning: statement with no effect ipc/shm.c:560: warning: statement with no effect by converting the macros to empty inline functions. For safety, let's do all three. This also has the advantage that typechecking gets performed even without CONFIG_SHMEM enabled. Signed-off-by: Russell King Cc: Manfred Spraul Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a94b3ab7eab4edcc9b2cb474b188f774c331adf7 tree 96636969fa4a9e0b79c98f81cbcd726c5d3834a5 parent d5afa6dcf74c0efb60ce07c63d0a727be93c67c5 author Mike Kravetz Fri, 06 Jan 2006 00:10:51 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:24 -0800 [PATCH] mm: remove arch independent NODES_SPAN_OTHER_NODES The NODES_SPAN_OTHER_NODES config option was created so that DISCONTIGMEM could handle pSeries numa layouts. However, support for DISCONTIGMEM has been replaced by SPARSEMEM on powerpc. As a result, this config option and supporting code is no longer needed. I have already sent a patch to Paul that removes the option from powerpc specific code. This removes the arch independent piece. Doesn't really matter which is applied first. Signed-off-by: Mike Kravetz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d5afa6dcf74c0efb60ce07c63d0a727be93c67c5 tree 5cc602e4c3c6ebbf0d8879676b67c237f3abb026 parent 9f3fd602aef96c2a490e3bfd669d06475aeba8d8 author Andy Whitcroft Fri, 06 Jan 2006 00:10:50 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:24 -0800 [PATCH] mm: pfn_to_pgdat not used in common code pfn_to_pgdat() isn't used in common code. Remove definition. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9f3fd602aef96c2a490e3bfd669d06475aeba8d8 tree 3f16d0d4ff7cbb8943c37391a0ea5fa9e3424dbb parent 6bda666a03f063968833760c5bb5c13062ab9291 author Andy Whitcroft Fri, 06 Jan 2006 00:10:50 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:23 -0800 [PATCH] mm: kvaddr_to_nid not used in common code kvaddr_to_nid() isn't used in common code nor in i386 code. Remove these definitions. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6bda666a03f063968833760c5bb5c13062ab9291 tree 8ecc0b672c059aa296f80935cda33f3e59970832 parent 21abb1478a87e26f5fa71dbcb7cf4264272c2248 author Christoph Lameter Fri, 06 Jan 2006 00:10:49 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:23 -0800 [PATCH] hugepages: fold find_or_alloc_pages into huge_no_page() The number of parameters for find_or_alloc_page increases significantly after policy support is added to huge pages. Simplify the code by folding find_or_alloc_huge_page() into hugetlb_no_page(). Adam Litke objected to this piece in an earlier patch but I think this is a good simplification. Diffstat shows that we can get rid of almost half of the lines of find_or_alloc_page(). If we can find no consensus then lets simply drop this patch. Signed-off-by: Christoph Lameter Cc: Andi Kleen Acked-by: William Lee Irwin III Cc: Adam Litke Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 21abb1478a87e26f5fa71dbcb7cf4264272c2248 tree 01e9a76ec55975b509aa721ad7d9e9cce89d9c82 parent 5da7ca86078964cbfe6c83efc1205904587706fe author Christoph Lameter Fri, 06 Jan 2006 00:10:47 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:23 -0800 [PATCH] Remove old node based policy interface from mempolicy.c mempolicy.c contains provisional interface for huge page allocation based on node numbers. This is in use in SLES9 but was never used (AFAIK) in upstream versions of Linux. Huge page allocations now use zonelists to figure out where to allocate pages. The use of zonelists allows us to find the closest hugepage which was the consideration of the NUMA distance for huge page allocations. Remove the obsolete functions. Signed-off-by: Christoph Lameter Cc: Andi Kleen Acked-by: William Lee Irwin III Cc: Adam Litke Acked-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5da7ca86078964cbfe6c83efc1205904587706fe tree a64a7824e90b42d6fdd71e6cb652362beb8983a1 parent 96df9333c94d7d5aeceb21f6c5e7ae8ff34753cf author Christoph Lameter Fri, 06 Jan 2006 00:10:46 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:23 -0800 [PATCH] Add NUMA policy support for huge pages. The huge_zonelist() function in the memory policy layer provides an list of zones ordered by NUMA distance. The hugetlb layer will walk that list looking for a zone that has available huge pages but is also in the nodeset of the current cpuset. This patch does not contain the folding of find_or_alloc_huge_page() that was controversial in the earlier discussion. Signed-off-by: Christoph Lameter Cc: Andi Kleen Acked-by: William Lee Irwin III Cc: Adam Litke Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96df9333c94d7d5aeceb21f6c5e7ae8ff34753cf tree a4ac0486af418df0194ed0038b87459652d61945 parent 1e8f889b10d8d2223105719e36ce45688fedbd59 author Christoph Lameter Fri, 06 Jan 2006 00:10:45 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:23 -0800 [PATCH] mm: dequeue a huge page near to this node This was discussed at http://marc.theaimsgroup.com/?l=linux-kernel&m=113166526217117&w=2 This patch changes the dequeueing to select a huge page near the node executing instead of always beginning to check for free nodes from node 0. This will result in a placement of the huge pages near the executing processor improving performance. The existing implementation can place the huge pages far away from the executing processor causing significant degradation of performance. The search starting from zero also means that the lower zones quickly run out of memory. Selecting a huge page near the process distributed the huge pages better. Signed-off-by: Christoph Lameter Cc: William Lee Irwin III Cc: Adam Litke Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1e8f889b10d8d2223105719e36ce45688fedbd59 tree 86dee89e4363aaf6c7ec7c9751ea37f725c95bb9 parent 86e5216f8d8aa258ba836caffe2613d79cc9aead author David Gibson Fri, 06 Jan 2006 00:10:44 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:23 -0800 [PATCH] Hugetlb: Copy on Write support Implement copy-on-write support for hugetlb mappings so MAP_PRIVATE can be supported. This helps us to safely use hugetlb pages in many more applications. The patch makes the following changes. If needed, I also have it broken out according to the following paragraphs. 1. Add a pair of functions to set/clear write access on huge ptes. The writable check in make_huge_pte is moved out to the caller for use by COW later. 2. Hugetlb copy-on-write requires special case handling in the following situations: - copy_hugetlb_page_range() - Copied pages must be write protected so a COW fault will be triggered (if necessary) if those pages are written to. - find_or_alloc_huge_page() - Only MAP_SHARED pages are added to the page cache. MAP_PRIVATE pages still need to be locked however. 3. Provide hugetlb_cow() and calls from hugetlb_fault() and hugetlb_no_page() which handles the COW fault by making the actual copy. 4. Remove the check in hugetlbfs_file_map() so that MAP_PRIVATE mmaps will be allowed. Make MAP_HUGETLB exempt from the depricated VM_RESERVED mapping check. Signed-off-by: David Gibson Signed-off-by: Adam Litke Cc: William Lee Irwin III Cc: "Seth, Rohit" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 86e5216f8d8aa258ba836caffe2613d79cc9aead tree 33669c0194490700b575fceb0e5e010a4468a5fe parent 85ef47f74afe96c8c23eaa605f28cc01443c905f author Adam Litke Fri, 06 Jan 2006 00:10:43 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:22 -0800 [PATCH] Hugetlb: Reorganize hugetlb_fault to prepare for COW This patch splits the "no_page()" type activity into its own function, hugetlb_no_page(). hugetlb_fault() becomes the entry point for hugetlb faults and delegates to the appropriate handler depending on the type of fault. Right now we still have only hugetlb_no_page() but a later patch introduces a COW fault. Signed-off-by: David Gibson Signed-off-by: Adam Litke Cc: William Lee Irwin III Cc: "Seth, Rohit" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 85ef47f74afe96c8c23eaa605f28cc01443c905f tree afe3a52f3e00cbab3f30f756fb60b250fe8de2c6 parent f0916794f00be44154102dedaeafe68b743078a2 author Adam Litke Fri, 06 Jan 2006 00:10:42 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:22 -0800 [PATCH] Hugetlb: Rename find_lock_page to find_or_alloc_huge_page find_lock_huge_page() isn't a great name, since it does extra things not analagous to find_lock_page(). Rename it find_or_alloc_huge_page() which is closer to the mark. Signed-off-by: David Gibson Signed-off-by: Adam Litke Cc: William Lee Irwin III Cc: "Seth, Rohit" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f0916794f00be44154102dedaeafe68b743078a2 tree 0faa7e86d938c184f5ccead70410b4d014c2bdf2 parent f6b3ec238d12c8cc6cc71490c6e3127988460349 author Adam Litke Fri, 06 Jan 2006 00:10:40 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:22 -0800 [PATCH] Hugetlb: Remove duplicate i_size check cleanup Signed-off-by: David Gibson Signed-off-by: Adam Litke Cc: William Lee Irwin III Cc: "Seth, Rohit" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f6b3ec238d12c8cc6cc71490c6e3127988460349 tree b395c1054802760b0e938199231a9de9ac2f358a parent d7339071f6a8b50101d7ba327926b770f22d5d8b author Badari Pulavarty Fri, 06 Jan 2006 00:10:38 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:22 -0800 [PATCH] madvise(MADV_REMOVE): remove pages from tmpfs shm backing store Here is the patch to implement madvise(MADV_REMOVE) - which frees up a given range of pages & its associated backing store. Current implementation supports only shmfs/tmpfs and other filesystems return -ENOSYS. "Some app allocates large tmpfs files, then when some task quits and some client disconnect, some memory can be released. However the only way to release tmpfs-swap is to MADV_REMOVE". - Andrea Arcangeli Databases want to use this feature to drop a section of their bufferpool (shared memory segments) - without writing back to disk/swap space. This feature is also useful for supporting hot-plug memory on UML. Concerns raised by Andrew Morton: - "We have no plan for holepunching! If we _do_ have such a plan (or might in the future) then what would the API look like? I think sys_holepunch(fd, start, len), so we should start out with that." - Using madvise is very weird, because people will ask "why do I need to mmap my file before I can stick a hole in it?" - None of the other madvise operations call into the filesystem in this manner. A broad question is: is this capability an MM operation or a filesytem operation? truncate, for example, is a filesystem operation which sometimes has MM side-effects. madvise is an mm operation and with this patch, it gains FS side-effects, only they're really, really significant ones." Comments: - Andrea suggested the fs operation too but then it's more efficient to have it as a mm operation with fs side effects, because they don't immediatly know fd and physical offset of the range. It's possible to fixup in userland and to use the fs operation but it's more expensive, the vmas are already in the kernel and we can use them. Short term plan & Future Direction: - We seem to need this interface only for shmfs/tmpfs files in the short term. We have to add hooks into the filesystem for correctness and completeness. This is what this patch does. - In the future, plan is to support both fs and mmap apis also. This also involves (other) filesystem specific functions to be implemented. - Current patch doesn't support VM_NONLINEAR - which can be addressed in the future. Signed-off-by: Badari Pulavarty Cc: Hugh Dickins Cc: Andrea Arcangeli Cc: Michael Kerrisk Cc: Ulrich Drepper Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d7339071f6a8b50101d7ba327926b770f22d5d8b tree 051234ada89be22abb9ebbe4a541b16ade3bc2ff parent 900b2b463dc6e65ec474d6880412c63c25b3aea9 author Hans Reiser Fri, 06 Jan 2006 00:10:36 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:22 -0800 [PATCH] reiser4: vfs: add truncate_inode_pages_range() This patch makes truncate_inode_pages_range from truncate_inode_pages. truncate_inode_pages became a one-liner call to truncate_inode_pages_range. Reiser4 needs truncate_inode_pages_ranges because it tries to keep correspondence between existences of metadata pointing to data pages and pages to which those metadata point to. So, when metadata of certain part of file is removed from filesystem tree, only pages of corresponding range are to be truncated. (Needed by the madvise(MADV_REMOVE) patch) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 900b2b463dc6e65ec474d6880412c63c25b3aea9 tree 2de7c1df9decff48d97e4070350dd2288c65d818 parent 98a38ebdda69f1498be4f618d8d919695c8d6352 author Andy Whitcroft Fri, 06 Jan 2006 00:10:35 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:22 -0800 [PATCH] memhotplug: register_memory should be global register_memory is global and declared so in linux/memory.h. Update the HOTPLUG specific definition to match. This fixes a compile warning when HOTPLUG is enabled. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 98a38ebdda69f1498be4f618d8d919695c8d6352 tree b3d9ff9de113375eaa34b396de7f962284145028 parent 5ac24eefd1d89bc6aa2817741c3bd5d4205b2efd author Andy Whitcroft Fri, 06 Jan 2006 00:10:35 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:21 -0800 [PATCH] memhotplug: register_ and unregister_memory_notifier should be global Both register_memory_notifer and unregister_memory_notifier are global and declared so in linux/memory.h. Update the HOTPLUG specific definitions to match. This fixes a compile warning when HOTPLUG is enabled. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5ac24eefd1d89bc6aa2817741c3bd5d4205b2efd tree 3112180da39a0fa9967c55022118a6f8dfa10d8f parent 47f3a867f6310d6abfa185ab12baaba7ed1d69af author Andy Whitcroft Fri, 06 Jan 2006 00:10:33 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:21 -0800 [PATCH] memhotplug: __add_section remove unused pgdat definition __add_section defines an unused pointer to the zones pgdat. Remove this definition. This fixes a compile warning. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 47f3a867f6310d6abfa185ab12baaba7ed1d69af tree 59e218a6d18c683bc3f3d86055d3df553a5acaed parent a576219aca70e6700705a9836e098dbecd25fb56 author Paul Jackson Fri, 06 Jan 2006 00:10:32 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:21 -0800 [PATCH] mm: fix __alloc_pages cpuset ALLOC_* flags Two changes to the setting of the ALLOC_CPUSET flag in mm/page_alloc.c:__alloc_pages() - A bug fix - the "ignoring mins" case should not be honoring ALLOC_CPUSET. This case of all cases, since it is handling a request that will free up more memory than is asked for (exiting tasks, e.g.) should be allowed to escape cpuset constraints when memory is tight. - A logic change to make it simpler. Honor cpusets even on GFP_ATOMIC (!wait) requests. With this, cpuset confinement applies to all requests except ALLOC_NO_WATERMARKS, so that in a subsequent cleanup patch, I can remove the ALLOC_CPUSET flag entirely. Since I don't know any real reason this logic has to be either way, I am choosing the path of the simplest code. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a576219aca70e6700705a9836e098dbecd25fb56 tree 1388f5fceb79d42c019443a527b311cf6497e3bd parent 817c41d76e9eaf72044268b0e545a547abadc0bb author Andrew Morton Fri, 06 Jan 2006 00:09:50 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:21 -0800 [PATCH] swsusp: resume_store() retval fix - This function returns -EINVAL all the time. Fix. - Decruftify it a bit too. - Writing to it doesn't seem to do what it's suppoed to do. Cc: Pavel Machek Cc: "Rafael J. Wysocki" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 817c41d76e9eaf72044268b0e545a547abadc0bb tree 5e6b8189f4a08c914aaea2949d0a9fff6f2660dc parent 1f1e030bf75774b6a283518e1534d598e14147d4 author Andrew Morton Fri, 06 Jan 2006 00:09:50 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:21 -0800 [PATCH] alpha: dma_map_page() fix Cc: Ivan Kokshaysky Cc: Richard Henderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1f1e030bf75774b6a283518e1534d598e14147d4 tree 8b59e6ed6db756066d2cc18b35d00a753f13e237 parent 4b2f0260c74324abca76ccaa42d426af163125e7 author NeilBrown Fri, 06 Jan 2006 00:09:49 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:21 -0800 [PATCH] knfsd: fix hash function for IP addresses on 64bit little-endian machines. The hash.h hash_long function, when used on a 64 bit machine, ignores many of the middle-order bits. (The prime chosen it too bit-sparse). IP addresses for clients of an NFS server are very likely to differ only in the low-order bits. As addresses are stored in network-byte-order, these bits become middle-order bits in a little-endian 64bit 'long', and so do not contribute to the hash. Thus you can have the situation where all clients appear on one hash chain. So, until hash_long is fixed (or maybe forever), us a hash function that works well on IP addresses - xor the bytes together. Thanks to "Iozone" for identifying this problem. Cc: "Iozone" Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b2f0260c74324abca76ccaa42d426af163125e7 tree 881f76200dc3489b11497528feb72d6eae93bddb parent bd6a59b22fd3bd044bb14978b885bcd042a10e8e author Herbert Xu Fri, 06 Jan 2006 00:09:47 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:20 -0800 [PATCH] nbd: fix TX/RX race condition Janos Haar of First NetCenter Bt. reported numerous crashes involving the NBD driver. With his help, this was tracked down to bogus bio vectors which in turn was the result of a race condition between the receive/transmit routines in the NBD driver. The bug manifests itself like this: CPU0 CPU1 do_nbd_request add req to queuelist nbd_send_request send req head for each bio kmap send nbd_read_stat nbd_find_request nbd_end_request kunmap When CPU1 finishes nbd_end_request, the request and all its associated bio's are freed. So when CPU0 calls kunmap whose argument is derived from the last bio, it may crash. Under normal circumstances, the race occurs only on the last bio. However, if an error is encountered on the remote NBD server (such as an incorrect magic number in the request), or if there were a bug in the server, it is possible for the nbd_end_request to occur any time after the request's addition to the queuelist. The following patch fixes this problem by making sure that requests are not added to the queuelist until after they have been completed transmission. In order for the receiving side to be ready for responses involving requests still being transmitted, the patch introduces the concept of the active request. When a response matches the current active request, its processing is delayed until after the tranmission has come to a stop. This has been tested by Janos and it has been successful in curing this race condition. From: Herbert Xu Here is an updated patch which removes the active_req wait in nbd_clear_queue and the associated memory barrier. I've also clarified this in the comment. Signed-off-by: Herbert Xu Cc: Cc: Paul Clements Signed-off-by: Herbert Xu Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bd6a59b22fd3bd044bb14978b885bcd042a10e8e tree 5cfad676f7985f657b831f4fc6ad7a9367ec6c4d parent 9f155b9802bb7049cd0f216c3fe903b58620df11 author Joshua Kwan Fri, 06 Jan 2006 00:09:45 -0800 committer Linus Torvalds Fri, 06 Jan 2006 08:33:20 -0800 [PATCH] hfsplus oops fix nls_utf8 is available, and the check in hfsplus_fill_super checks the wrong pointer for NULLness (it checks the saved nls, not the new one that it needs to use.) Signed-off-by: Joshua Kwan Cc: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e650c305ec3178818b317dad37a6d9c7fa8ba28d tree b6fab22f84f0974db317c1511c31acd54d55f4cb parent 15fc858a0067c800f410a24551a7b461978abf0b author Jens Axboe Fri, 06 Jan 2006 12:38:30 +0100 committer Jens Axboe Fri, 06 Jan 2006 12:38:30 +0100 [SCSI] scsi_end_async() needs to take an uptodate parameter Signed-off-by: Jens Axboe commit 15fc858a0067c800f410a24551a7b461978abf0b tree e6324460a829926fa891f9204b72434f144fcb5e parent ff5b8cf1491330836d75eede4e5632caa32b776a author Jens Axboe Fri, 06 Jan 2006 10:00:50 +0100 committer Jens Axboe Fri, 06 Jan 2006 10:00:50 +0100 [BLOCK] Correct blk_execute_rq_nowait() prototype commit ff5b8cf1491330836d75eede4e5632caa32b776a tree 4bb6d0fea6922d139f989da12231661149082b22 parent 3e087b575496b8aa445192f58e7d996b1cdfa121 author Tejun Heo Fri, 06 Jan 2006 09:58:37 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:58:37 +0100 [BLOCK] I/O barrier documentation update Update documentation to match new barrier implementation. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 3e087b575496b8aa445192f58e7d996b1cdfa121 tree 6ee355645e199a7e5c9aeae11c3143a8235d2a81 parent 9a3dccc42556537a48f39ee9a9e7ab90a933f766 author Tejun Heo Fri, 06 Jan 2006 09:57:31 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:57:31 +0100 [BLOCK] update IDE to use new blk_ordered for barriers Update IDE to use new blk_ordered. This change makes the following behavior changes. * Partial completion of the barrier request is handled as failure of the whole ordered sequence. No more partial completion for barrier requests. * Any failure of pre or post flush request results in failure of the whole ordered sequence. So, successfully completed ordered sequence guarantees that all requests prior to the barrier made to physical medium and, then, the while barrier request made to the physical medium. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 9a3dccc42556537a48f39ee9a9e7ab90a933f766 tree e67d7b314d4e0732bfa5558bef4f1941ea80cb58 parent 93c9338713d4e11102cd09b4670ad42a336b06a3 author Tejun Heo Fri, 06 Jan 2006 09:56:18 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:56:18 +0100 [BLOCK] add FUA support to libata Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 93c9338713d4e11102cd09b4670ad42a336b06a3 tree 88de622c74859a499570bb9c529915f12240bdcb parent 007365ad60387df30f02f01fdc2b6e6432f6c265 author Tejun Heo Fri, 06 Jan 2006 09:55:00 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:55:00 +0100 [BLOCK] update libata to use new blk_ordered for barriers Reflect changes in SCSI midlayer and updated to use new ordered request implementation Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 007365ad60387df30f02f01fdc2b6e6432f6c265 tree 5fa1f755011cc026d2096b6bc5aa83712ab9a32a parent 461d4e90c8cd049718884cd17c955e231140d3be author Tejun Heo Fri, 06 Jan 2006 09:53:52 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:53:52 +0100 [BLOCK] scsi: add FUA support to sd Add FUA support for barriers to SCSI disk. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 461d4e90c8cd049718884cd17c955e231140d3be tree 990836cdff2f1dc952026f24b2d7b5e606d6e8be parent 797e7dbbee0a91fa1349192f18ad5c454997d876 author Tejun Heo Fri, 06 Jan 2006 09:52:55 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:52:55 +0100 [BLOCK] update SCSI to use new blk_ordered for barriers All ordered request related stuff delegated to HLD. Midlayer now doens't deal with ordered setting or prepare_flush callback. sd.c updated to deal with blk_queue_ordered setting. Currently, ordered tag isn't used as SCSI midlayer cannot guarantee request ordering. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 797e7dbbee0a91fa1349192f18ad5c454997d876 tree c0d5974f469dd2d3d4f9b15d87d201b61e248f54 parent 52d9e675361261a1eb1716b02222ec6177ec342b author Tejun Heo Fri, 06 Jan 2006 09:51:03 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:51:03 +0100 [BLOCK] reimplement handling of barrier request Reimplement handling of barrier requests. * Flexible handling to deal with various capabilities of target devices. * Retry support for falling back. * Tagged queues which don't support ordered tag can do ordered. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 52d9e675361261a1eb1716b02222ec6177ec342b tree a9ed62b6fe9b6622b7c42249e983136f38f75255 parent 8ffdc6550c47f75ca4e6c9f30a2a89063e035cf2 author Tejun Heo Fri, 06 Jan 2006 09:49:58 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:49:58 +0100 [BLOCK] ll_rw_blk: separate out bio init part from __make_request Separate out bio initialization part from __make_request. It will be used by the following blk_ordered_reimpl. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit 8ffdc6550c47f75ca4e6c9f30a2a89063e035cf2 tree a478b9acef5c66242a964154f7ad3a0ea750ef0f parent 64100099ed22f71cce656c5c2caecf5c9cf255dc author Tejun Heo Fri, 06 Jan 2006 09:49:03 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:49:03 +0100 [BLOCK] add @uptodate to end_that_request_last() and @error to rq_end_io_fn() add @uptodate argument to end_that_request_last() and @error to rq_end_io_fn(). there's no generic way to pass error code to request completion function, making generic error handling of non-fs request difficult (rq->errors is driver-specific and each driver uses it differently). this patch adds @uptodate to end_that_request_last() and @error to rq_end_io_fn(). for fs requests, this doesn't really matter, so just using the same uptodate argument used in the last call to end_that_request_first() should suffice. imho, this can also help the generic command-carrying request jens is working on. Signed-off-by: tejun heo Signed-Off-By: Jens Axboe commit 64100099ed22f71cce656c5c2caecf5c9cf255dc tree f6ebf7c94ee2eeb080d25880ffca839ec39ec47e parent 80cfd548eed68cf90c5ae9cfcd6b02230cece756 author Arjan van de Ven Fri, 06 Jan 2006 09:46:02 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:46:02 +0100 [BLOCK] mark some block/ variables cons the patch below marks various read-only variables in block/* as const, so that gcc can optimize the use of them; eg gcc will replace the use by the value directly now and will even remove the memory usage of these. Signed-off-by: Arjan van de Ven Signed-off-by: Jens Axboe commit 80cfd548eed68cf90c5ae9cfcd6b02230cece756 tree a178608e394b5ee079838353004eb318ff22c513 parent 88ee5ef157202624de2b43b3512fdcb54fda1ab5 author Jens Axboe Fri, 06 Jan 2006 09:43:28 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:43:28 +0100 [BLOCK] bio: check for same page merge possibilities in __bio_add_page() For filesystems with a blocksize < page size, we can merge same page calls into the bio_vec at the end of the bio. This saves segments on systems with a page size > the "normal" 4kb fs block size. Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe commit 88ee5ef157202624de2b43b3512fdcb54fda1ab5 tree a95cd472fb62eab2a6bd1c651ddf44c3f248868d parent ef9be1d336378de279d4e37779f1b83cebadbcc0 author Jens Axboe Sat, 12 Nov 2005 11:09:12 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:39:04 +0100 [BLOCK] ll_rw_blk: fastpath get_request() Originally from: Nick Piggin Move current_io_context out of the get_request fastpth. Also try to streamline a few other things in this area. Signed-off-by: Jens Axboe commit ef9be1d336378de279d4e37779f1b83cebadbcc0 tree decd8ee4c74ea8c30de9eca3a591bb0962ccd15f parent 9f155b9802bb7049cd0f216c3fe903b58620df11 author Tejun Heo Fri, 11 Nov 2005 14:27:09 +0100 committer Jens Axboe Fri, 06 Jan 2006 09:39:03 +0100 [BLOCK] as-iosched: update alias handling Unlike other ioscheds, as-iosched handles alias by chaing them using rq->queuelist. As aliased requests are very rare in the first place, this complicates merge/dispatch handling without meaningful performance improvement. This patch updates as-iosched to dump aliased requests into dispatch queue as other ioscheds do. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe commit e91c021c487110386a07facd0396e6c3b7cf9c1f tree 50cd2a5ab8bba9711dd0185e3d232e323e8d6c39 parent 7c72ccf09b6debe55b8e049377ad3183ed4f4cb3 author Mark A. Greer Sun, 18 Dec 2005 17:22:01 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:27 -0800 [PATCH] i2c: i2c-mv64xxx fix transaction abortion When the i2c-mv64xxx i2c driver is signalled to abort a transaction, it aborts it immediately by issuing a stop condition on the bus. This violates the i2c protocol and can cause what appears to be an i2c bus hang. This patch delays issuing the stop condition until the i2c device can reasonably expect a stop condition. Also includes a minor fixup. Signed-off-by: Mark A. Greer Signed-off-by: Jean Delvare commit 7c72ccf09b6debe55b8e049377ad3183ed4f4cb3 tree d9a4cfd4074c90a7ea1565449c304dcde8693c32 parent a4787c0d232e16e727b37205dc647337b8974f35 author Jean Delvare Sun, 18 Dec 2005 17:25:18 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:27 -0800 [PATCH] i2c: i2c-nforce2 add nforce4 MCP-04 device ID One more supported PCI ID for the i2c-nforce2 driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit a4787c0d232e16e727b37205dc647337b8974f35 tree 4e7ef0882d0916bb56410a23399e2f0baa794703 parent 3fb81a3df63e1900a7b3f496806a3f8d2b4295dd author Martin Hicks Sun, 18 Dec 2005 17:18:01 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:27 -0800 [PATCH] i2c: i2c-ibm_iic add I2C_CLASS_HWMON Add the ibm_iic driver to the HWMON class so it will scan the bus for connected hardware monitor sensors. Signed-off-by: Martin Hicks Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 3fb81a3df63e1900a7b3f496806a3f8d2b4295dd tree ac8ae7f705d116aec60c32dfa5bfdb2d7f6adeb4 parent fb687d73fa7685ffeed1a6b24fadb5f4db817783 author Jean Delvare Sun, 18 Dec 2005 17:11:51 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:27 -0800 [PATCH] i2c: I2C_DF_NOTIFY removal comment cleanups The removal of I2C_DF_NOTIFY left some out of date comments in the code. Drop them. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit fb687d73fa7685ffeed1a6b24fadb5f4db817783 tree 2e45a80aca89daa28ba27092175d860252a905f8 parent d564baee2984098c73fd0e55bc5c8a890878ef3b author Jean Delvare Sun, 18 Dec 2005 16:51:55 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:26 -0800 [PATCH] i2c: update i2c_driver.command documentation Document i2c_driver.command as being deprecated, and don't suggest an empty implementation of this callback as it doesn't make any sense. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit d564baee2984098c73fd0e55bc5c8a890878ef3b tree 0f92136763fbe9f614c72f9e5581a2f091ebf118 parent 04b4b8434a92b9ef127985113c0bd961957778b7 author Laurent Riffard Sun, 18 Dec 2005 16:49:30 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:26 -0800 [PATCH] i2c: drop empty i2c_driver.command implementations Given that implementing i2c_driver.command is optional, there is no point in an empty implementation thereof. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Cc: Michael Geng Cc: Petr Vandrovec Signed-off-by: Greg Kroah-Hartman commit 04b4b8434a92b9ef127985113c0bd961957778b7 tree a43fbba69676e540cb864369c819d69ffb42fe67 parent a7be58a126d4cd9f0588df23f58796ed996c1835 author Jean Delvare Sun, 18 Dec 2005 16:42:35 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:26 -0800 [PATCH] i2c: driver ID list cleanups Cleanups to i2c driver ID list: * Remove mostly bogus comments about driver ID ranges. * Drop experimental driver IDs, as the concept is pretty broken. * Drop now unused IDs of non-I2C (ISA) drivers. * Drop a few more IDs which are no more used. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit a7be58a126d4cd9f0588df23f58796ed996c1835 tree 26d0556bee4b8c241702fb9b49ea1936fc70ee4d parent 734a12a36676ad3b9418fa5a829c518afec02b8a author Jean Delvare Sun, 18 Dec 2005 16:40:14 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:26 -0800 [PATCH] hwmon: it87 use u8 for vrm VRM values fit in u8 by design now. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 734a12a36676ad3b9418fa5a829c518afec02b8a tree 2d59c180d831162b6afcdad9180965e7ead44883 parent 99d855602c1d7968ca6b6cc99b773b0b47909690 author Rudolf Marek Sun, 18 Dec 2005 16:36:52 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:26 -0800 [PATCH] hwmon: add VRM/VID support for some VIA CPUs This patch adds the VIA CENTAUR CPUs to detection table. Table was updated to treat future Intel x86 CPUs as VRD10. Stepping field was added, because some VIA CPUs have different VRM specs across stepping. I changed the vrm type to u8 because all drivers use u8 anyway. Signed-off-by: Rudolf Marek Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 99d855602c1d7968ca6b6cc99b773b0b47909690 tree 3e79339c40f1819f90911c6d96b72cb73781dbdd parent c9152deaa635cab09cb43c17cf80130b9e6ee29d author Jean Delvare Sun, 18 Dec 2005 16:34:28 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:25 -0800 [PATCH] hwmon: w83792d simplify in low bits handling Simplify the way the w83792d driver handles the extra resolution bits of voltage input channels. Signed-off-by: Jean Delvare Acked-by: Yuan Mu Signed-off-by: Greg Kroah-Hartman commit c9152deaa635cab09cb43c17cf80130b9e6ee29d tree f05e5e846b0c042d0f7421bf33c68337aaca20ed parent 79472132f555ae1e912699e116e5c82f338872f6 author Jean Delvare Sun, 18 Dec 2005 16:29:40 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:25 -0800 [PATCH] hwmon: w83792d misc cleanups Cleanup the w83792d driver a bit: * Discard unused lock and irrelevant comments inherited from the w83781d driver. * Simplify w83792d_{read,write}_value functions. * Drop useless address test during detection. * Drop useless bitmasking. Signed-off-by: Jean Delvare Acked-by: Yuan Mu Signed-off-by: Greg Kroah-Hartman commit 79472132f555ae1e912699e116e5c82f338872f6 tree 5f2b69e43b8797cab242f6524f6bb0d55694c849 parent d82c0bf88fa97c1993ea9d6051488e7cb012b440 author Greg Kroah-Hartman Tue, 06 Dec 2005 15:33:15 -0800 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:25 -0800 [PATCH] I2C: move i2c-dev to use dynamic class devices i2c-dev doesn't use the reference counting logic of struct class_device so move it to the dynamic method. This makes the code paths simpler and the driver smaller. Signed-off-by: Greg Kroah-Hartman Cc: Jean Delvare commit d82c0bf88fa97c1993ea9d6051488e7cb012b440 tree 60ecbf9971ee125f84f063d153328f9d7ec5ea98 parent 2b48716d1d2f2edb1e7cbc5ecf1cb2cb39373e33 author Jean Delvare Wed, 07 Dec 2005 21:54:26 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:25 -0800 [PATCH] i2c: Documentation update Update the i2c documentation to reflect the recent change to i2c_add_driver. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 2b48716d1d2f2edb1e7cbc5ecf1cb2cb39373e33 tree 04c095d45dfa892b7710e338724a1ac4f1da7cba parent de59cf9ed44f64991e52a9de6094729537f0420c author Greg Kroah-Hartman Tue, 06 Dec 2005 15:33:15 -0800 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:25 -0800 [PATCH] I2C: Remove .owner setting from i2c_driver as it's no longer needed Now that i2c_add_driver() doesn't need the module owner to be set by hand, we can delete it from the drivers. This patch catches all of the drivers that I found in the current tree (if a driver sets the .owner by hand, it's not a problem, just not needed.) Signed-off-by: Greg Kroah-Hartman Cc: Jean Delvare commit de59cf9ed44f64991e52a9de6094729537f0420c tree 038f6fb83228d09812f729d19fb7bdc8a324dd55 parent e1c489b0e4fbb1687f8227fe78b4769c123768c1 author Greg Kroah-Hartman Tue, 06 Dec 2005 15:33:15 -0800 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:24 -0800 [PATCH] I2C: Make i2c_add_driver automatically set the proper module owner This prevents i2c drivers from messing up and forgetting to set the module owner of their driver. It also reduces the size of their drivers by one line :) Signed-off-by: Greg Kroah-Hartman Cc: Jean Delvare commit e1c489b0e4fbb1687f8227fe78b4769c123768c1 tree 406a079669c46f5978621a80fe95056dd0b93730 parent d45d204f0c3daa01a393dfe81415573f9459506a author Greg Kroah-Hartman Wed, 30 Nov 2005 16:35:09 -0800 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:24 -0800 [PATCH] I2C: Fix up debug build error for previous i2c structure changes Signed-off-by: Greg Kroah-Hartman Signed-off-by: Jean Delvare commit d45d204f0c3daa01a393dfe81415573f9459506a tree 48cdeb3f4b1a10d36bf81377ebde7c8cc8ac8065 parent b33a665dba55c83f08cdd62aba1cd2672bccdd80 author Jean Delvare Sat, 26 Nov 2005 20:55:35 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:24 -0800 [PATCH] i2c: Drop i2c_driver.{owner,name}, 11 of 11 Document the drop of the owner and name fields of the i2c_driver structure. Signed-off-by: Jean Delvare CC: Laurent Riffard Signed-off-by: Greg Kroah-Hartman commit b33a665dba55c83f08cdd62aba1cd2672bccdd80 tree 42d6c3a15739007a092ac56e887c1f5022ce426c parent 1a7edcdca618d25564690c2df27c2c5c6e9f6316 author Jean Delvare Sat, 26 Nov 2005 20:54:10 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:24 -0800 [PATCH] i2c: Drop i2c_driver.{owner,name}, 10 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the drivers for arm arch. Signed-off-by: Jean Delvare CC: Laurent Riffard Signed-off-by: Greg Kroah-Hartman commit 1a7edcdca618d25564690c2df27c2c5c6e9f6316 tree a890b90b5eed7041090a495cfa89e5610c1bc243 parent e533449d291b5a28ce9527539750a0cb88146f6e author Laurent Riffard Sat, 26 Nov 2005 20:52:34 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:24 -0800 [PATCH] i2c: Drop i2c_driver.{owner,name}, 9 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the matroxfb driver. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Acked-by: Petr Vandrovec Signed-off-by: Greg Kroah-Hartman commit e533449d291b5a28ce9527539750a0cb88146f6e tree d7b7045a247276594846bddd073c46f34f3e02a5 parent e100fe103e679372b3d1d6e9d32fd3ab57484be2 author Laurent Riffard Sat, 26 Nov 2005 20:51:06 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:24 -0800 [PATCH] i2c: Drop i2c_driver.{owner,name}, 8 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the drivers for acorn arch. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Acked-by: Russell King Signed-off-by: Greg Kroah-Hartman commit e100fe103e679372b3d1d6e9d32fd3ab57484be2 tree b45c17d6c44523f8ea51f84cd59e942e9d4dfc34 parent d74cdab1cad1e5895d8928eeeb2ac469f8410d2e author Laurent Riffard Sat, 26 Nov 2005 20:48:35 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:23 -0800 [PATCH] i2c: Drop i2c_driver.{owner,name}, 7 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the drivers for ppc arch. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit d74cdab1cad1e5895d8928eeeb2ac469f8410d2e tree 67f0d77998c9c6bb1affbee5daf6320e07f06149 parent 604f28e2b8d34cbaf08f0351374645f161335a82 author Laurent Riffard Sat, 26 Nov 2005 20:46:32 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:23 -0800 [PATCH] i2c: Drop i2c_driver.{owner,name}, 6 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the OSS drivers. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 604f28e2b8d34cbaf08f0351374645f161335a82 tree 0f9183994b4fafa6ac58ce8e090fb8e2bf4869dd parent a33ca23231a37e28d15da9546b1f3e83dc48284b author Laurent Riffard Sat, 26 Nov 2005 20:43:39 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:23 -0800 [PATCH] i2c: Drop i2c_driver.{owner,name}, 5 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the drivers/media/video and usb/media drivers. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit a33ca23231a37e28d15da9546b1f3e83dc48284b tree 50c59c7dfbf77cb9297dd20d2aa1e3958f5f358d parent cdaf79349c7d24e1d33acb6497849c9e956a33ea author Laurent Riffard Sat, 26 Nov 2005 20:40:34 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:23 -0800 [PATCH] i2c: Drop i2c_driver.{owner,name}, 4 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the drivers for macintosh. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Acked-by: Benjamin Herrenschmidt Signed-off-by: Greg Kroah-Hartman commit cdaf79349c7d24e1d33acb6497849c9e956a33ea tree 48f22bb5f215953ac0e57385282fbc5042a03955 parent a9718b0c1154dcbd955be6aaee47a314cde6a25a author Laurent Riffard Sat, 26 Nov 2005 20:37:41 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:23 -0800 [PATCH] i2c: Drop i2c_driver.{owner,name}, 3 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the hwmon drivers. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit a9718b0c1154dcbd955be6aaee47a314cde6a25a tree 5bc275f56d94649477e24f5d2ac03d211a41723f parent 35d8b2e6b8e86b0d5126f36613b5202d4eb978b6 author Laurent Riffard Sat, 26 Nov 2005 20:36:00 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:23 -0800 [PATCH] i2c: Drop i2c_driver.{owner,name}, 2 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the miscellaneaous i2c chip drivers. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 35d8b2e6b8e86b0d5126f36613b5202d4eb978b6 tree 2327c791f10216db39ae5c22235a13a5bc886d1e parent 482c788ded0aa9710722eaf9cf60886d3b923218 author Laurent Riffard Sat, 26 Nov 2005 20:34:05 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:22 -0800 [PATCH] i2c: Drop i2c_driver.{owner,name}, 1 of 11 We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones. This patch updates the core of the i2c drivers: it removes .name and .owner fields from the struct i2c_device and modify various functions to use struct device fields instead. Signed-off-by: Laurent Riffard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 482c788ded0aa9710722eaf9cf60886d3b923218 tree a66b5810e0db6061da847c1edd73f3e2fa0c5f32 parent 92b429461228f0f06a994dd3d4ccf1c9ff7596bd author Jean Delvare Sat, 26 Nov 2005 21:06:08 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:22 -0800 [PATCH] i2c: i2c_get_client is gone The i2c_get_client function doesn't exist anymore, so we shouldn't have a definition for it in i2c.h. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 92b429461228f0f06a994dd3d4ccf1c9ff7596bd tree 1a32a26d6536076aa9d7eaf91aa25ecc0a086fbf parent cf02df770228350254251fde520007a2709db785 author Jean Delvare Sat, 26 Nov 2005 21:05:17 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:22 -0800 [PATCH] i2c: Chip driver porting guide update Update Documentation/i2c/porting-clients. Many recent changes to the i2c and hwmon subsystems were never reported there. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit cf02df770228350254251fde520007a2709db785 tree ef10929d0160ebf27f29bac2a9e285b267a63331 parent cde7859bda0d1124392b44e50aa11df99707e1d9 author Jean Delvare Sat, 26 Nov 2005 21:03:41 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:22 -0800 [PATCH] i2c: Rework client usage count, 3 of 3 Do not limit the usage count of i2c clients to 1. In other words, change the client usage count behavior from the old I2C_CLIENT_ALLOW_USE to the old I2C_CLIENT_ALLOW_MULTIPLE_USE. The rationale is that no driver actually needs the limiting behavior, and the unlimiting behavior is slightly easier to implement. Update the documentation to reflect this change. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit cde7859bda0d1124392b44e50aa11df99707e1d9 tree c852e7ff9b44b5e59f6ae75951514585f0ff10d9 parent cb748fb20186d4b345c68a7f580429f379fdd268 author Jean Delvare Sat, 26 Nov 2005 21:00:54 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:22 -0800 [PATCH] i2c: Rework client usage count, 2 of 3 Make I2C_CLIENT_ALLOW_USE the default for all i2c clients. It doesn't hurt if the usage count is actually never used for any given driver, and allows for nice code simplifications in i2c-core. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit cb748fb20186d4b345c68a7f580429f379fdd268 tree 6c8f4f0937941bb4ee56ed72ba0b7f60562f1e1d parent 5d7b851dcced3611e4a4432308618b1ed1a9fc31 author Jean Delvare Sat, 26 Nov 2005 20:58:35 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:22 -0800 [PATCH] i2c: Rework client usage count, 1 of 3 No i2c client uses the I2C_CLIENT_ALLOW_MULTIPLE_USE flag, drop it. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 5d7b851dcced3611e4a4432308618b1ed1a9fc31 tree 26f847cf68fe004827e4dfb588674d2bdfc3fdc6 parent 8a9947552d43b0d20d5fa23ac0ba435d526be454 author Jean Delvare Sun, 27 Nov 2005 08:57:10 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:22 -0800 [PATCH] i2c: Drop i2c_driver.flags, 3 of 3 The flags member of the i2c_driver structure is no more used. Drop it. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 8a9947552d43b0d20d5fa23ac0ba435d526be454 tree 086844a62f549e488ebeecc196e1d4726a1d4598 parent ff179c8cf5caa17bf3d407edbb5872aa2eee6900 author Jean Delvare Sat, 26 Nov 2005 20:28:06 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:21 -0800 [PATCH] i2c: Drop i2c_driver.flags, 2 of 3 Just about every i2c chip driver sets the I2C_DF_NOTIFY flag, so we can simply make it the default and drop the flag. If any driver really doesn't want to be notified when i2c adapters are added, that driver can simply omit to set .attach_adapter. This approach is also more robust as it prevents accidental NULL pointer dereferences. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit ff179c8cf5caa17bf3d407edbb5872aa2eee6900 tree ac10dc7a3c5be7f8cd1d88736cf508600c19b8d7 parent 1de9e371b89e1cf4da123f0d92efa8eb134ca5e8 author Jean Delvare Sat, 26 Nov 2005 20:24:59 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:21 -0800 [PATCH] i2c: Drop i2c_driver.flags, 1 of 3 The I2C_DF_DUMMY flag is gone since 2.5.70, it's about time to drop all ifdef'd out references thereto. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 1de9e371b89e1cf4da123f0d92efa8eb134ca5e8 tree 2640b33775ee6f6ebfa19f35976c3fe6dbe55c02 parent 1d26f455eb0db0bf4d4b7177547f4310b645a32a author Roger Lucas Sat, 26 Nov 2005 20:20:05 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:21 -0800 [PATCH] hwmon: New vt8231 driver Port the vt8231 hardware monitoring driver from lm_sensors CVS to Linux 2.6. Signed-off-by: Roger Lucas Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 1d26f455eb0db0bf4d4b7177547f4310b645a32a tree 9d54d48bf529b83abd272e37fc33e0c9adf431eb parent 7e94436942a7517d08c0cd1a8831122a0fea289e author Peter Korsgaard Sat, 26 Nov 2005 20:18:43 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:21 -0800 [PATCH] i2c: Add support for Barco LPT->DVI to i2c-parport The following patch adds support for the Barco LPT->DVI I2C adapter to the i2c-parport driver. Signed-off-by: Peter Korsgaard Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 7e94436942a7517d08c0cd1a8831122a0fea289e tree f67263807fb5ce39796dc75525323a2c6753c143 parent 5b319400f5e2cd31a82b38405856ff2b46a9bb83 author Nicolas Kaiser Sat, 26 Nov 2005 20:15:23 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:21 -0800 [PATCH] i2c: Remove duplicate rtc8564 BCD macros Remove duplicate of BCD macros. Signed-off-by: Nicolas Kaiser Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 5b319400f5e2cd31a82b38405856ff2b46a9bb83 tree ab22b0738f072128dc428f16aa37b0aa89934cc4 parent dd149c52223cfb05cdefb0755d3c2793e8d33ede author Mark M. Hoffman Sat, 26 Nov 2005 20:10:56 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:20 -0800 [PATCH] hwmon: Clarify the W83627THF VID documentation This patch clarifies the W83627THF VID documentation. Signed-off-by: Mark M. Hoffman Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit dd149c52223cfb05cdefb0755d3c2793e8d33ede tree 78b0b51586442c66b0d4b948564a6d4863b29766 parent 9c516ef496c857aa4b1b41dc313010f11d39c496 author Yuan Mu Sat, 26 Nov 2005 20:13:18 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:20 -0800 [PATCH] hwmon: W83627THF VID fixes This patch fixes the VID reading; no cpu0_vid and vrm files created if the chip is w83627thf and GPIO5 not enabled. Signed-off-by: Yuan Mu Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 9c516ef496c857aa4b1b41dc313010f11d39c496 tree 94fd2cc493def4ec290705b4d943335558eb304e parent 07421cabdc62519d0f747149b7c9b425b4d746cd author Jean Delvare Sat, 26 Nov 2005 20:07:54 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:20 -0800 [PATCH] hwmon: Support the VRM 10 mode of the ADT7463 Support the VRM 10 mode of the ADT7463. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 07421cabdc62519d0f747149b7c9b425b4d746cd tree a72c4afdff890c7b61176591f155d18e4080c365 parent f9e8957937ebf60d22732a5ca9130f48a7603f60 author Grant Coady Sun, 06 Nov 2005 23:13:06 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:20 -0800 [PATCH] hwmon: remove deprecated sysfs names of adm1025 and adm1026 drivers, hwmon, adm1025 and adm1026: remove deprecated sysfs names. these names have been listed for removal for six months, time for them to go Signed-off-by: Grant Coady Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit f9e8957937ebf60d22732a5ca9130f48a7603f60 tree c36adb2b1c9e3ef69bf598ee3084966ef7085596 parent 2e3e13f8e9d9b2111404cdccaa4e1b988b70acce author Michael Burian Mon, 07 Nov 2005 22:30:14 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:20 -0800 [PATCH] i2c: Extend ds1337 initialization Add code to handle case where board firmware does not start the RTC. Signed-off-by: Jean Delvare CC: James Chapman Signed-off-by: Greg Kroah-Hartman commit 2e3e13f8e9d9b2111404cdccaa4e1b988b70acce tree de95ee215c2189cbfb98829e32e7fb117c94a160 parent 46f25dffbaba48c571d75f5f574f31978287b8d2 author Mark M. Hoffman Sun, 06 Nov 2005 23:04:51 +0100 committer Greg Kroah-Hartman Thu, 05 Jan 2006 22:16:20 -0800 [PATCH] i2c: i2c-i801 explicitly enables/disables PEC This patch tweaks i2c-i801.c so that the driver always sets the SMBAUXCTL register (which enables/disables PEC) explicitly before each transaction. Signed-off-by: Mark M. Hoffman Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 9f155b9802bb7049cd0f216c3fe903b58620df11 tree d83fa1699e8113d83588d38a1c16e68cd3fcf462 parent 29552b1462799afbe02af035b243e97579d63350 author Chuck Ebbert <76306.1226@compuserve.com> Thu, 05 Jan 2006 23:11:29 -0500 committer Linus Torvalds Thu, 05 Jan 2006 20:50:51 -0800 [PATCH] i386: PTRACE_POKEUSR: allow changing RF bit in EFLAGS register. Setting RF (resume flag) allows a debugger to resume execution after a code breakpoint without tripping the breakpoint again. It is reset by the CPU after execution of one instruction. Requested by Stephane Eranian: "I am trying to the user HW debug registers on i386 and I am running into a problem with ptrace() not allowing access to EFLAGS_RF for POKEUSER (see FLAG_MASK). [ ... ] It avoids the need to remove the breakpoint, single step, and reinstall. The equivalent functionality exists on IA-64 and is allowed by ptrace()" Cc: Stephane Eranian Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Linus Torvalds commit 29552b1462799afbe02af035b243e97579d63350 tree 42ad1639678a1bc8064f690494f62497bc48d318 parent 6c59f9d9fb95934bf3d7d64249b338ce79953b5b parent 51e7a5987058c6b4d0c1337587f2ec0c34ffa708 author Linus Torvalds Thu, 05 Jan 2006 20:43:11 -0800 committer Linus Torvalds Thu, 05 Jan 2006 20:43:11 -0800 Merge http://oss.oracle.com/git/ocfs2 commit 6c59f9d9fb95934bf3d7d64249b338ce79953b5b tree 30edcae8ba7901a638d8e50bbf263c2ef9266507 parent 52cab57873c25d3c8324ee3e4d463db6e8e73fd7 author Jody McIntyre Thu, 05 Jan 2006 23:04:08 -0500 committer Jody McIntyre Thu, 05 Jan 2006 23:04:08 -0500 Update MAINTAINERS - Jody is no longer at Steamballoon. commit 6020bafc9e30e04f4db65298d00e8e28ffb40652 tree 7c81b72d3cd3ce92ef240d847050ecd7d692fe19 parent 1f85145c5825a6f1fdf83e6c48e788dd3117c39a author Ben Collins Thu, 05 Jan 2006 23:00:38 -0500 committer Dmitry Torokhov Thu, 05 Jan 2006 23:00:38 -0500 Input: i8042 - add OQO Zepto to noloop dmi table. Signed-off-by: Ben Collins Signed-off-by: Dmitry Torokhov commit 1f85145c5825a6f1fdf83e6c48e788dd3117c39a tree 840e3f05df2d6056bfe389735e351bddfef55c31 parent dbc26344350dff2932902a7723a4e89e71752803 author Michael Hanselmann Thu, 05 Jan 2006 23:00:26 -0500 committer Dmitry Torokhov Thu, 05 Jan 2006 23:00:26 -0500 Input: add missing keys from input.h to hid-debug.h Signed-off-by: Michael Hanselmann Signed-off-by: Dmitry Torokhov commit dbc26344350dff2932902a7723a4e89e71752803 tree a7a4926ee30979a297628ee0f34b3e86f13df840 parent fed8bf19ec20efc0641740b2d10aa589dbd6d1ab author Dmitry Torokhov Thu, 05 Jan 2006 23:00:13 -0500 committer Dmitry Torokhov Thu, 05 Jan 2006 23:00:13 -0500 Input: atkbd - don't lose keymap settings when reconnecting keyboard Call serio_reconnect() instead of serio_rescan() when detecting that a new keyboard was plugged in. This should help KVM uses losing custom keymap settings when switching between boxes. Signed-off-by: Dmitry Torokhov commit fed8bf19ec20efc0641740b2d10aa589dbd6d1ab tree c104a13c7b8cb7f4152b15729dc5aede7c063e91 parent e7c3aad53dba54d375b632f2a21b680546828dec parent 46f25dffbaba48c571d75f5f574f31978287b8d2 author Dmitry Torokhov Thu, 05 Jan 2006 22:25:13 -0500 committer Dmitry Torokhov Thu, 05 Jan 2006 22:25:13 -0500 Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 commit 52cab57873c25d3c8324ee3e4d463db6e8e73fd7 tree 826cb36827afa363944e6478d19512e669446c64 parent 0a75c23a009ff65f651532cecc16675d05f4de37 parent 46f25dffbaba48c571d75f5f574f31978287b8d2 author Jody McIntyre Thu, 05 Jan 2006 22:22:50 -0500 committer Jody McIntyre Thu, 05 Jan 2006 22:22:50 -0500 Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 46f25dffbaba48c571d75f5f574f31978287b8d2 tree 080e8c4331faf36202bd92174e5e47d0a5d9aa47 parent e924283bf93989979f27ef4f1228c5925f584a0a author Kris Katterjohn Thu, 05 Jan 2006 16:35:42 -0800 committer David S. Miller Thu, 05 Jan 2006 16:48:56 -0800 [NET]: Change 1500 to ETH_DATA_LEN in some files These patches add the header linux/if_ether.h and change 1500 to ETH_DATA_LEN in some files. Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit e924283bf93989979f27ef4f1228c5925f584a0a tree ccc559f2bc69a524a99ea1952c18ee896df99618 parent d7906de1d774ca70d696d3047223bb3e5e759d92 author Andrew Morton Thu, 05 Jan 2006 14:57:36 -0800 committer David S. Miller Thu, 05 Jan 2006 16:48:55 -0800 [IPVS]: Another file needs linux/interrupt.h Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 466200562ccd80f728f7ef602d2b97b4fdedd566 tree 7bfbd22c9f888add6ec57852738fcd62530cbeb2 parent 38d1e793471d95728219f500bbb8bd25658d73b0 author Michael S. Tsirkin Thu, 05 Jan 2006 16:17:38 -0800 committer Roland Dreier Thu, 05 Jan 2006 16:17:38 -0800 IB/mthca: create_eq with size not a power of 2 Fix mthca_create_eq for when the EQ size is not a power of 2. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 38d1e793471d95728219f500bbb8bd25658d73b0 tree a3d0ee4441434481109e56c5a26fd46ff4acfa21 parent aa2f9367790ad81ef51d3f667124227ca3003d3b author Jack Morgenstein Thu, 05 Jan 2006 16:13:46 -0800 committer Roland Dreier Thu, 05 Jan 2006 16:13:46 -0800 IB/mthca: check port validity in modify_qp Modify_qp should check that the physical port number provided is a legal value. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit aa2f9367790ad81ef51d3f667124227ca3003d3b tree cc204dc5ffe3e9eda77ab5d2a1b5827e809f00bb parent 1d7d2f6f476cf7aa65f9f740a6c932fb75608110 author Jack Morgenstein Thu, 05 Jan 2006 16:12:01 -0800 committer Roland Dreier Thu, 05 Jan 2006 16:12:01 -0800 IB/mthca: check return value in mthca_dev_lim call Check error return on call to mthca_dev_lim for Tavor (as is done for memfree). Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit d7906de1d774ca70d696d3047223bb3e5e759d92 tree 6065caea25668f9fd33c23a24047cecb2c5b5cd7 parent fbd91ac22229fdb89f0dd2eaa11dd663f2ba1a92 parent 725a6abfe37025975c125ace1c7da35f27ce5384 author Linus Torvalds Thu, 05 Jan 2006 15:55:49 -0800 committer Linus Torvalds Thu, 05 Jan 2006 15:55:49 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6 commit 725a6abfe37025975c125ace1c7da35f27ce5384 tree dc10f24a25e1c765b63ea661c8859c7fa365d274 parent 6e493882726e762d0eb7a0a5fcae42a122ae75a5 author Richard Purdie Thu, 05 Jan 2006 09:56:03 +0000 committer Dominik Brodowski Fri, 06 Jan 2006 00:31:07 +0100 [PATCH] pcmcia: add some IDs for ide-cs and dtl1_cs Add some PCMCIA device IDs for the microdrive found in the Sharp Zaurus and a different revision of the Socket CF+ Bluetooth card. Signed-off-by: Richard Purdie Signed-off-by: Dominik Brodowski commit 6e493882726e762d0eb7a0a5fcae42a122ae75a5 tree 27cae84701b9ec892853b561b59b2cdb6fb1f1eb parent 3cf89b185971bf186cec657911f08354e7701635 author Daniel Ritz Fri, 30 Dec 2005 15:12:35 +0100 committer Dominik Brodowski Fri, 06 Jan 2006 00:28:15 +0100 [PATCH] pcmcia: cleanup cs.c, reduce size kill the socket_shutdown()/shutdown_socket() confusion by making it one single function. move cs_socket_put() in there. nicer to read and smaller: original: text data bss dec hex filename 25181 1076 32 26289 66b1 drivers/pcmcia/pcmcia_core.ko patched: text data bss dec hex filename 24973 1076 32 26081 65e1 drivers/pcmcia/pcmcia_core.ko Signed-off-by: Daniel Ritz Signed-off-by: Dominik Brodowski commit 3cf89b185971bf186cec657911f08354e7701635 tree 8d4f1ff08106b64bd03beb7081d442e06a9d2103 parent 8084b372adac9c24ff7abdd939b2e8816e7b88a3 author Alexey Dobriyan Fri, 23 Dec 2005 23:51:08 +0300 committer Dominik Brodowski Fri, 06 Jan 2006 00:28:10 +0100 [PATCH] drivers/pcmcia/cistpl.c: fix endian warnings Signed-off-by: Alexey Dobriyan Signed-off-by: Dominik Brodowski commit 8084b372adac9c24ff7abdd939b2e8816e7b88a3 tree a4a4005d7b025abc0a3e7693404abd0abbfd434b parent 6423efaacbf0bce6372897e793d8450c1c08ec8d author Dominik Brodowski Sun, 11 Dec 2005 21:18:26 +0100 committer Dominik Brodowski Fri, 06 Jan 2006 00:28:06 +0100 [PATCH] pcmcia: kzalloc conversion Convert users of kmalloc and memset to kzalloc Signed-off-by: Dominik Brodowski commit 6423efaacbf0bce6372897e793d8450c1c08ec8d tree b082d15e0f4b552b1c144eaa353fbfbd245aeb30 parent 002dbb2d0d42b4a2c1eef2012c2fe7af48163b3c author Dominik Brodowski Sun, 11 Dec 2005 20:47:44 +0100 committer Dominik Brodowski Fri, 06 Jan 2006 00:28:01 +0100 [PATCH] pcmcia: no probing of ioports on PARISC Do not wildly probe the IO ports we're trying to use on PARISC. Signed-off-by: Dominik Brodowski commit 002dbb2d0d42b4a2c1eef2012c2fe7af48163b3c tree 10f16863e7302e36df41b0d65006633c286779c3 parent 1371d3be045a6a1a8b828b838069b5fe6e0ab4c6 author Dominik Brodowski Thu, 08 Dec 2005 23:50:36 +0100 committer Dominik Brodowski Fri, 06 Jan 2006 00:27:57 +0100 [PATCH] pcmcia: export stored values in sysfs Export the stored values instead of re-reading everything in the socket information sysfs files, and make them accessible to all users, not only to root. Signed-off-by: Dominik Brodowski commit 1371d3be045a6a1a8b828b838069b5fe6e0ab4c6 tree 418c16b1381aa3f1a14d6b48600f4b2db3ce891c parent a94515fa1f1609249dbebcfb93181ad0ba4b285a author Vitaly Bordug Thu, 08 Dec 2005 13:56:12 -0200 committer Dominik Brodowski Fri, 06 Jan 2006 00:27:53 +0100 [PATCH] 8xx PCMCIA: support for MPC885ADS and MPC866ADS This adds PCMCIA support for both MPC885ADS and MPC866ADS. This is established not together with FADS, because 885 does not have io_block_mapping() for BCSR area. Also, some cleanups done both for 885ADS and MBX. Signed-off-by: Vitaly Bordug Signed-off-by: Marcelo Tosatti Signed-off-by: Dominik Brodowski commit a94515fa1f1609249dbebcfb93181ad0ba4b285a tree e3f3462f481ea6f977f56a34a5467bddf2d3120b parent 3b27e9421a1433689704fe0a02e926d4ba971121 author Vitaly Bordug Thu, 08 Dec 2005 13:53:20 -0200 committer Dominik Brodowski Fri, 06 Jan 2006 00:27:48 +0100 [PATCH] m8xx_pcmcia: support MAP_AUTOSZ required for CF cards This fixes misconfiguration that could result in odd work of some old CF cards. Signed-off-by: Vitaly Bordug Signed-off-by: Marcelo Tosatti Signed-off-by: Dominik Brodowski commit 3b27e9421a1433689704fe0a02e926d4ba971121 tree c3ca9e3e929da1c48ce5d8e9fa6d0257b5b900f5 parent efe3cd105f2a19e72ce9280bb22c7c80752e4314 author Dominik Brodowski Wed, 07 Dec 2005 12:32:20 +0100 committer Dominik Brodowski Fri, 06 Jan 2006 00:27:43 +0100 [PATCH] pcmcia: properly handle static mem, but dynamic io sockets Some PCMCIA sockets have statically mapped memory windows, but dynamically mapped IO windows. Using the "nonstatic" socket library is inpractical for them, as they do neither need a resource database (as we can trust the kernel resource database on m68k and ppc) nor lots of other features of that library. Let them get a small "iodyn" socket library (105 lines of code) instead. Signed-off-by: Dominik Brodowski commit efe3cd105f2a19e72ce9280bb22c7c80752e4314 tree 3caa16ce9bb50ca15aeb757621be283abd389870 parent f8cfa618dccbdc6dab5297f75779566a388a98fd author Dominik Brodowski Fri, 06 Jan 2006 00:27:16 +0100 committer Dominik Brodowski Fri, 06 Jan 2006 00:27:16 +0100 [PATCH] pcmcia: fix sound drivers Update the PCMCIA sound drivers to handle the recent changes to the PCMCIA core. A part of this merge was done by Takashi Iwai . Signed-off-by: Dominik Brodowski commit f8cfa618dccbdc6dab5297f75779566a388a98fd tree b91e0952038dafc6e03bf8b1d8948b1fdefec031 parent b463581154f3f3eecda27cae60df813fefcd84d3 author Dominik Brodowski Mon, 14 Nov 2005 21:25:51 +0100 committer Dominik Brodowski Fri, 06 Jan 2006 00:03:24 +0100 [PATCH] pcmcia: unify attach, EVENT_CARD_INSERTION handlers into one probe callback Unify the EVENT_CARD_INSERTION and "attach" callbacks to one unified probe() callback. As all in-kernel drivers are changed to this new callback, there will be no temporary backwards-compatibility. Inside a probe() function, each driver _must_ set struct pcmcia_device *p_dev->instance and instance->handle correctly. With these patches, the basic driver interface for 16-bit PCMCIA drivers now has the classic four callbacks known also from other buses: int (*probe) (struct pcmcia_device *dev); void (*remove) (struct pcmcia_device *dev); int (*suspend) (struct pcmcia_device *dev); int (*resume) (struct pcmcia_device *dev); Signed-off-by: Dominik Brodowski commit b463581154f3f3eecda27cae60df813fefcd84d3 tree 5e5b0f7a32b0727b64e52b9b2649897e6c841074 parent f3990715589d378a2d3aa9b8accd78bb4a2378b7 author Dominik Brodowski Mon, 14 Nov 2005 21:25:35 +0100 committer Dominik Brodowski Fri, 06 Jan 2006 00:03:20 +0100 [PATCH] pcmcia: remove dev_list from drivers The linked list of devices managed by each PCMCIA driver is, in very most cases, unused. Therefore, remove it from many drivers. Signed-off-by: Dominik Brodowski commit f3990715589d378a2d3aa9b8accd78bb4a2378b7 tree de81bbdcefa4d599ce92f269aefe9aee814d67af parent cc3b4866bee996c922e875b8c8efe9f0d8803aae author Dominik Brodowski Mon, 14 Nov 2005 21:25:23 +0100 committer Dominik Brodowski Fri, 06 Jan 2006 00:03:15 +0100 [PATCH] pcmcia: remove old detach mechanism Remove the old "detach" mechanism as it is unused now. Signed-off-by: Dominik Brodowski commit cc3b4866bee996c922e875b8c8efe9f0d8803aae tree 6632837b6986f33566f75ed971cecbdc210e3201 parent 8e9e793d68fcda6cc84c18cedf85ca0f91d801a8 author Dominik Brodowski Mon, 14 Nov 2005 21:23:14 +0100 committer Dominik Brodowski Fri, 06 Jan 2006 00:03:10 +0100 [PATCH] pcmcia: unify detach, REMOVAL_EVENT handlers into one remove callback Unify the "detach" and REMOVAL_EVENT handlers to one "remove" function. Old functionality is preserved, for the moment. Signed-off-by: Dominik Brodowski commit 8e9e793d68fcda6cc84c18cedf85ca0f91d801a8 tree 3dcceaaa676f1221e532e24106bb661143733eaf parent 98e4c28b7ec390c2dad6a4c69d69629c0f7e8b10 author Dominik Brodowski Fri, 06 Jan 2006 00:02:03 +0100 committer Dominik Brodowski Fri, 06 Jan 2006 00:02:03 +0100 [PATCH] pcmcia: merge suspend into device model Merge the suspend and resume methods for 16-bit PCMCIA cards into the device model -- for both runtime power management and suspend to ram/disk. Bugfix in ds.c by Richard Purdie Signed-Off-By: Richard Purdie Signed-off-by: Dominik Brodowski commit 98e4c28b7ec390c2dad6a4c69d69629c0f7e8b10 tree b3d46f0643352e541d6a39e6da09059687cf713d parent 63e7ebd06402951bc8863ba5b7bc9b9f42044849 author Dominik Brodowski Mon, 14 Nov 2005 21:21:18 +0100 committer Dominik Brodowski Thu, 05 Jan 2006 23:59:02 +0100 [PATCH] pcmcia: new suspend core Move the suspend and resume methods out of the event handler, and into special functions. Also use these functions for pre- and post-reset, as almost all drivers already do, and the remaining ones can easily be converted. Bugfix to include/pcmcia/ds.c Signed-off-by: Andrew Morton Signed-off-by: Dominik Brodowski commit 63e7ebd06402951bc8863ba5b7bc9b9f42044849 tree 9265e2ca96c3a6e488060b36187f2f5a005fda2f parent 2cff944720332535a24b7eae16cff32055a43048 author Daniel Ritz Thu, 03 Nov 2005 21:12:14 +0100 committer Dominik Brodowski Thu, 05 Jan 2006 23:41:23 +0100 [PATCH] yenta: make bridge specific init code configurable Make the bridge specific initialization code config options depending on CONFIG_EMBEDDED. Config options for TI/EnE, Toshiba, Ricoh and O2Micro are available. Disabling all of the specific tweaks cuts off more than half of yenta_socket.ko. Signed-off-by: Daniel Ritz Signed-off-by: Dominik Brodowski commit 2cff944720332535a24b7eae16cff32055a43048 tree 02758aa2ac6f9cece083fc216576042c05789ede parent de75914ee103a30d82ad21b39b7e04f70e4fa1f0 author Andrew Morton Wed, 16 Nov 2005 21:29:26 -0800 committer Dominik Brodowski Thu, 05 Jan 2006 23:41:19 +0100 [PATCH] pcmcia: validate_mem fix Also return a value if CONFIG_PCMCIA_PROBE is not set. Signed-off-by: Andrew Morton Signed-off-by: Dominik Brodowski commit de75914ee103a30d82ad21b39b7e04f70e4fa1f0 tree 492f275d49d2e37449ba89594127ebca8502cb3f parent 9da4bc6d6a38c1c3d850c046d0aee324c1a2e52a author Dominik Brodowski Wed, 28 Sep 2005 19:41:56 +0200 committer Dominik Brodowski Thu, 05 Jan 2006 23:41:14 +0100 [PATCH] pcmcia: validate_mem shouldn't be void Add a return value to pcmcia_validate_mem. Only if we have enough memory available to map the CIS, we should proceed in trying to determine information about the device. Signed-off-by: Dominik Brodowski commit 9da4bc6d6a38c1c3d850c046d0aee324c1a2e52a tree 2783de4a280ece6707b9b5800b82e1149b4d4f48 parent 7f316b033b36adfbdf56bfb15c13de49798ab0b2 author Dominik Brodowski Sat, 12 Nov 2005 23:56:33 +0100 committer Dominik Brodowski Thu, 05 Jan 2006 23:41:09 +0100 [PATCH] pcmcia: remove get_socket callback The .get_socket callback is never used by the PCMCIA core, therefore remove it. Signed-off-by: Dominik Brodowski commit 7f316b033b36adfbdf56bfb15c13de49798ab0b2 tree 8e447b779a03d55f78b2843ea3fdda482601b443 parent e4115805cf2020da94e8bd1296243605cda487ff author Dominik Brodowski Wed, 28 Sep 2005 19:41:55 +0200 committer Dominik Brodowski Thu, 05 Jan 2006 23:41:05 +0100 [PATCH] pcmcia: remove socket register_callback Remove the register_callback declaration in struct pccard_operations as it is unused. Signed-off-by: Dominik Brodowski commit e4115805cf2020da94e8bd1296243605cda487ff tree 0362f93813f4a90e0c241c5e49e04207feb985ee parent 37f779554404ddca981ac4b4cc6692fc09b71e96 author Daniel Ritz Tue, 20 Sep 2005 14:17:37 -0700 committer Dominik Brodowski Thu, 05 Jan 2006 23:41:00 +0100 [PATCH] yenta: optimize interrupt handler Don't waste cpu time in yenta interrupt handler when the interrupt was for another device. Signed-off-by: Daniel Ritz Signed-off-by: Dominik Brodowski commit 37f779554404ddca981ac4b4cc6692fc09b71e96 tree a61a0a7e813dd473834eb4d736e32e8e7652221e parent db9edfd7e339ca4113153d887e782dd05be5a9eb author Pavel Machek Wed, 07 Sep 2005 16:00:26 -0700 committer Dominik Brodowski Thu, 05 Jan 2006 23:40:25 +0100 [PATCH] pcmcia: avoid macro usage in cistpl Fix macro abuse in pcmcia. Signed-off-by: Pavel Machek Signed-off-by: Dominik Brodowski commit fbd91ac22229fdb89f0dd2eaa11dd663f2ba1a92 tree d4734ba408aba217d8dc44cd6a2741a40c62b407 parent 6e2324e0fbb3a075382359b1cbc392a3f4ec8792 parent 38c0b2c2aaab5595a140ade4410e01d407fff751 author Linus Torvalds Thu, 05 Jan 2006 14:18:15 -0800 committer Linus Torvalds Thu, 05 Jan 2006 14:18:15 -0800 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 commit 6e2324e0fbb3a075382359b1cbc392a3f4ec8792 tree 3f2095838900eca866ce0d2dbe6b0b18aadf0df9 parent e8eaedf2f8b368c26aa31a5a5a623b6867ef7f2b parent 5b373e10aeadc2599c085a3357b7fad8b8e760b8 author Linus Torvalds Thu, 05 Jan 2006 14:01:23 -0800 committer Linus Torvalds Thu, 05 Jan 2006 14:01:23 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 commit 38c0b2c2aaab5595a140ade4410e01d407fff751 tree 3a67125cce0460ea0783535e57bd57802688d1d4 parent 5c3eee79128c372a81a83665be2332a000944280 author Tony Luck Thu, 05 Jan 2006 13:30:52 -0800 committer Tony Luck Thu, 05 Jan 2006 13:30:52 -0800 [IA64] Fix compile warnings in setup.c arch/ia64/kernel/setup.c: In function `show_cpuinfo': arch/ia64/kernel/setup.c:576: warning: long unsigned int format, different type arg (arg 12) arch/ia64/kernel/setup.c:576: warning: long unsigned int format, different type arg (arg 13) Introduced by 95235ca2c20ac0b31a8eb39e2d599bcc3e9c9a10 Signed-off-by: Tony Luck commit 5b373e10aeadc2599c085a3357b7fad8b8e760b8 tree 63b6a041cc7fdef16c32949e30f898a8bb3a6b1e parent db9edfd7e339ca4113153d887e782dd05be5a9eb author Luis F. Ortiz Thu, 05 Jan 2006 13:12:41 -0800 committer David S. Miller Thu, 05 Jan 2006 13:12:41 -0800 [ATYFB]: Fix onboard video on SPARC Blade 100 for 2.6.{13,14,15} I have recently been switching from using 2.4.32 on my trusty old Sparc Blade 100 to using 2.6.15 . Some of the problems I ran into were distorted video when the console was active (missing first character, skipped dots) and when running X windows (colored snow, stripes, missing pixels). A quick examination of the 2.6 versus 2.4 source for the ATY driver revealed alot of changes. A closer look at the code/data for the 64GR/XL chip revealed two minor "typos" that the rewriter(s) of the code made. The first is a incorrect clock value (230 .vs. 235) and the second is a missing flag (M64F_SDRAM_MAGIC_PLL). Making both these changes seems to have fixed my problem. I tend to think the 235 value is the correct one, as there is a 29.4 Mhz clock crystal close to the video chip and 235.2 (29.4*8) is too close to 235 to make it a coincidence. The flag for M64F_SDRAM_MAGIC_PLL was dropped during the changes made by adaplas in file revision 1.72 on the old bitkeeper repository. The change relating to the clock rate has been there forever, at least in the 2.6 tree. I'm not sure where to look for the old 2.5 tree or if anyone cares when it happened. On SPARC Blades 100's, which use the ATY MACH64GR video chipset, the clock crystal frequency is 235.2 Mhz, not 230 Mhz. The chipset also requires the use of M64F_SDRAM_MAGIC_PLL in order to setup the PLL properly for the DRAM. Signed-off-by: Luis F. Ortiz Signed-off-by: David S. Miller commit 5b2e98cdf3a6ac6c57de6a2156c673d4b0262684 tree d4e1c3acd232ffe1642dfcf764558360a7bfaea6 parent 54e269ead6e672325866037b0617a72edd1396b9 author Jared Hulbert Thu, 05 Jan 2006 21:12:26 +0000 committer Russell King Thu, 05 Jan 2006 21:12:26 +0000 [ARM] 3206/1: Modifications to the bus arbiter controller for the Intel PXA27x Patch from Jared Hulbert The following patch changes the bus arbiter controller settings for the Intel PXA27x Application Processor Family. Up to 5% better video performance. It parks the bus on the core while not in use and sets the arbitration for other bus items. The patch only applies changes to the Intel Mainstone development platform. This patch is not compatible with preproduction Intel PXA27x silicon. This patch is based on the Intel Linux Preview Kit released to the public on 25 Feb. 2005 found at ftp://ftp.arm.linux.org.uk/pub/linux/arm/people/xscale/mainstone/02-25-2005/. Signed-off-by: Justin A Treon Signed-off-by: Jared Hulbert Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 54e269ead6e672325866037b0617a72edd1396b9 tree 3076c2e0187657daed3054d511b62dc33a4c8f8b parent 2b9ac7c15c0c5c9d6057b9e297dabaebd208ffe8 author Deepak Saxena Thu, 05 Jan 2006 20:59:29 +0000 committer Russell King Thu, 05 Jan 2006 20:59:29 +0000 [ARM] 3226/1: IXP4xx runtime expansion bus window size configuration Patch from Deepak Saxena The expansion bus on the IXP46x NPU can be configured for either 32MiB or 16MiB windows and changing the configuration causes the base address for each chip select for each region to change. Because of this, we cannot hardcode the physical base as we currently do. This patch checks the expansion bus configuration registers at runtime to determine the appropriate window size. Note that this requires that the bootloader already configured the device sizes appropriately, but I feel that is valid assumption to make as the bootloader must configure and access the flash window, the output display (LCD, LEDs, etc) window, and other expansion bus devices. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 2b9ac7c15c0c5c9d6057b9e297dabaebd208ffe8 tree 44b063c573993d2a735b70e58d28bf4671e6803b parent 6a2273d6fc627d28a4de9beadf77ae6636b1e5d0 author Dan Williams Thu, 05 Jan 2006 20:53:02 +0000 committer Russell King Thu, 05 Jan 2006 20:53:02 +0000 [ARM] 3217/1: iop331 uarts as platform devices Patch from Dan Williams Convert old-style serial devices to platform devices so that printk's are visible during the boot process. Signed-off-by: Dan Williams Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 6a2273d6fc627d28a4de9beadf77ae6636b1e5d0 tree 686cb1ee9f791c3eba9be8d9d2cbaa4e87395257 parent 945b957972844881002ab4f68534581f4427a30b author Sascha Hauer Thu, 05 Jan 2006 20:44:58 +0000 committer Russell King Thu, 05 Jan 2006 20:44:58 +0000 [ARM] 3231/1: mx1ads board support cleanup Patch from Sascha Hauer - remove unnecessary mappings - rename mx1ads_device to cs89x0_device, because that's what it is - fix io/irq resource for cs89x0 device Signed-off-by: Sascha Hauer Signed-off-by: Russell King commit 945b957972844881002ab4f68534581f4427a30b tree 0b9a1deb5094b847ce943b8f101386f373f472c6 parent 53b7c2b243bd31f857dddabd9339f2dd6ae3fb67 author Richard Purdie Thu, 05 Jan 2006 20:44:57 +0000 committer Russell King Thu, 05 Jan 2006 20:44:57 +0000 [ARM] 3230/1: Sharp Scoop: Fix Shared Power Control Issues Patch from Richard Purdie The SL-Cxx00 devices have a power control register in SCOOP that is shared by both CF and MMC/SD card slots. The CF reset code was resetting this register leading to various lockups as the MMC power was suddenly lost. This patch handles the CPR register in a more sensitive manner. It also removes some unneeded collie specific calls as the reset code handles this. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 53b7c2b243bd31f857dddabd9339f2dd6ae3fb67 tree 5db702d4ad645ed477ed8096f069bc194dede94d parent b7557de41a04346cb545d4dda7088760cb96e713 author Richard Purdie Thu, 05 Jan 2006 20:44:55 +0000 committer Russell King Thu, 05 Jan 2006 20:44:55 +0000 [ARM] 3229/1: Remove uneeded ARM apm dependency on PM_LEGACY Patch from Richard Purdie ARM doesn't use ACPI so ARM's apm implementation has no need to depend on PM_LEGACY. This patch removes that dependency. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit b7557de41a04346cb545d4dda7088760cb96e713 tree df9acef34fdf1460858ed39b35d447f6bfdc95d1 parent 3125c68d70e3433c21234431a9df9e7336efa29f author Richard Purdie Thu, 05 Jan 2006 20:44:55 +0000 committer Russell King Thu, 05 Jan 2006 20:44:55 +0000 [ARM] 3228/1: SharpSL: Move PM code to arch/arm/common Patch from Richard Purdie This patch moves a large chunk of the sharpsl_pm driver to arch/arm/common so that it can be reused on other devices such as the SL-5500 (collie). It also abstracts some functions from the core into the machine and platform specific parts of the driver to aid reuse. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 3125c68d70e3433c21234431a9df9e7336efa29f tree d4602c154d66b301982a9c2ae8c2808dc7cd9a72 parent 4c70b926c91ba9c1ce3dc92d418f8e4670c8f16d author Richard Purdie Thu, 05 Jan 2006 20:44:52 +0000 committer Russell King Thu, 05 Jan 2006 20:44:52 +0000 [ARM] 3227/1: Spitz: Add pxa27x OHCI platform specific code Patch from Richard Purdie Add platform code to enable the ohci device on the pxa27x based Sharp Zaurus Cxx00 devices. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit e8eaedf2f8b368c26aa31a5a5a623b6867ef7f2b tree 3085c59beafdf6add373be3cc484c8ce510e615a parent 0ae2cfe7f3d88f061aa2656c7e881d3a0697d622 author Yasuyuki Kozakai Thu, 05 Jan 2006 12:28:57 -0800 committer David S. Miller Thu, 05 Jan 2006 12:28:57 -0800 [NETFILTER]: Use HOPLIMIT metric as TTL of TCP reset sent by REJECT HOPLIMIT metric is appropriate to TCP reset sent by REJECT target than hard-coded max TTL. Thanks to David S. Miller for hint. Signed-off-by: Yasuyuki Kozakai Signed-off-by: David S. Miller commit 0ae2cfe7f3d88f061aa2656c7e881d3a0697d622 tree e362c2a31994413beaa7ea75c38cae3e5b9b2e99 parent 22dea562bb56dbc3430c8f23f60ccd38527b1f5a author Patrick McHardy Thu, 05 Jan 2006 12:21:52 -0800 committer David S. Miller Thu, 05 Jan 2006 12:21:52 -0800 [NETFILTER]: nf_conntrack_l3proto_ipv4.c needs net/route.h CC [M] net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.o net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c: In function 'ipv4_refrag': net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c:198: error: dereferencing pointer to incomplete type make[3]: *** [net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.o] Error 1 Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 22dea562bb56dbc3430c8f23f60ccd38527b1f5a tree 4bcb8a3c6136e09a4864fa0d9948c4ff2892b2ed parent b777e0ce7437a0e788e2aeb42aca9af2cce1f2e1 author Patrick McHardy Thu, 05 Jan 2006 12:21:34 -0800 committer David S. Miller Thu, 05 Jan 2006 12:21:34 -0800 [NETFILTER]: Export ip6_masked_addrcmp, don't pass IPv6 addresses on stack Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit b777e0ce7437a0e788e2aeb42aca9af2cce1f2e1 tree cecbfdf5b78b909b80f3f04cbfdac7599f5a3352 parent 1bd9bef6f9fe06dd0c628ac877c85b6b36aca062 author Patrick McHardy Thu, 05 Jan 2006 12:21:16 -0800 committer David S. Miller Thu, 05 Jan 2006 12:21:16 -0800 [NETFILTER]: make ipv6_find_hdr() find transport protocol header The original ipv6_find_hdr() finds the specified header in IPv6 packets. This makes it possible to get transport header so that we can kill similar loop in ip6_match_packet(). Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 1bd9bef6f9fe06dd0c628ac877c85b6b36aca062 tree 60b4bfdd06efc0ab5cf297c470a273f470b7c1f5 parent abbcc73982445c1457901c7fc1d0d110e7a587e3 author Patrick McHardy Thu, 05 Jan 2006 12:20:59 -0800 committer David S. Miller Thu, 05 Jan 2006 12:20:59 -0800 [NETFILTER]: Call POST_ROUTING hook before fragmentation Call POST_ROUTING hook before fragmentation to get rid of the okfn use in ip_refrag and save the useless fragmentation/defragmentation step when NAT is used. The patch introduces one user-visible change, the POSTROUTING chain in the mangle table gets entire packets, not fragments, which should simplify use of the MARK and CLASSIFY targets for queueing as a nice side-effect. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit abbcc73982445c1457901c7fc1d0d110e7a587e3 tree 1b4920052f0e4a9d4243f07791eca389f5582f9e parent a9b305c4e56f97d6a2ae4f21691bc13797498caf author Patrick McHardy Thu, 05 Jan 2006 12:20:40 -0800 committer David S. Miller Thu, 05 Jan 2006 12:20:40 -0800 [NETFILTER]: Remove okfn usage in ip_vs_core.c okfn should only be used from different contexts to avoid deep call chains, i.e. by nf_queue. Acked-by: Julian Anastasov Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit a9b305c4e56f97d6a2ae4f21691bc13797498caf tree db6474b1b08573fc4d2e1c97aacdf60791623af3 parent e7be6994ec68c38d8e23e647eac649b280c4fe5a author Patrick McHardy Thu, 05 Jan 2006 12:20:02 -0800 committer David S. Miller Thu, 05 Jan 2006 12:20:02 -0800 [NETFILTER]: ctnetlink: Fix dumping of helper name Properly dump the helper name instead of internal kernel data. Based on patch by Marcus Sundberg . Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit e7be6994ec68c38d8e23e647eac649b280c4fe5a tree b0ebac3839ce33579cbf3aa0965e1c0beecdb794 parent 87711cb81c33e75fe8c95137fe62c8d462ff781c author Patrick McHardy Thu, 05 Jan 2006 12:19:46 -0800 committer David S. Miller Thu, 05 Jan 2006 12:19:46 -0800 [NETFILTER]: Fix module_param types and permissions Fix netfilter module_param types and permissions. Also fix an off-by-one in the ipt_ULOG nlbufsiz < 128k check. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 87711cb81c33e75fe8c95137fe62c8d462ff781c tree 0e29e0143cca698931a867049a26f1702de68bf3 parent c1d10adb4a521de5760112853f42aaeefcec96eb author Pablo Neira Ayuso Thu, 05 Jan 2006 12:19:23 -0800 committer David S. Miller Thu, 05 Jan 2006 12:19:23 -0800 [NETFILTER]: Filter dumped entries based on the layer 3 protocol number Dump entries of a given Layer 3 protocol number. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit c1d10adb4a521de5760112853f42aaeefcec96eb tree c7ba283aa0b9016c8403fa6589b7b3418f71acda parent 205d67c7d942c057648148fefb17e46f77e3efd6 author Pablo Neira Ayuso Thu, 05 Jan 2006 12:19:05 -0800 committer David S. Miller Thu, 05 Jan 2006 12:19:05 -0800 [NETFILTER]: Add ctnetlink port for nf_conntrack Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 205d67c7d942c057648148fefb17e46f77e3efd6 tree f8724ee1c0809cccbbd61ad2a970d6cd84d2c0b6 parent d4d6bb41e09f07668ca2655da707eab936e8e8f0 author Pablo Neira Ayuso Thu, 05 Jan 2006 12:18:44 -0800 committer David S. Miller Thu, 05 Jan 2006 12:18:44 -0800 [NETFILTER]: ctnetlink: remove unused variable Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit d4d6bb41e09f07668ca2655da707eab936e8e8f0 tree a785fa9ade81b7591ff33c54a23fbcf234f296f5 parent 0368309cb45bbba99f84a01d5fc6a18780788480 author Pablo Neira Ayuso Thu, 05 Jan 2006 12:18:25 -0800 committer David S. Miller Thu, 05 Jan 2006 12:18:25 -0800 [NETFILTER]: ctnetlink: fix conntrack mark race Set conntrack mark before it is in hashes. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 0368309cb45bbba99f84a01d5fc6a18780788480 tree 4e49139b921d701b2fbf33d5e21016ee108a0ef1 parent 47116eb201571ad1198a8d76dc3571e85ba7c8c9 author Pablo Neira Ayuso Thu, 05 Jan 2006 12:18:08 -0800 committer David S. Miller Thu, 05 Jan 2006 12:18:08 -0800 [NETFILTER]: ctnetlink: ctnetlink_event cleanup Cleanup: Use 'else if' instead of a ugly 'goto' statement. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 47116eb201571ad1198a8d76dc3571e85ba7c8c9 tree 40dd334366d7c4c0bb264d52a2138eebf5d97c05 parent 984955b3d7f9943becf9915601f49a1fb7a41f7a author Pablo Neira Ayuso Thu, 05 Jan 2006 12:17:50 -0800 committer David S. Miller Thu, 05 Jan 2006 12:17:50 -0800 [NETFILTER]: ctnetlink: use u_int32_t instead of unsigned int Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 984955b3d7f9943becf9915601f49a1fb7a41f7a tree 890933098933171b48c19119715e9c69a6d46385 parent 90c4656eb4871c47a5d9fe7050590c9bb8b78b5a author Pablo Neira Ayuso Thu, 05 Jan 2006 12:17:29 -0800 committer David S. Miller Thu, 05 Jan 2006 12:17:29 -0800 [NETFILTER]: ctnetlink: propagate ctnetlink_dump_tuples_proto return value back Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 90c4656eb4871c47a5d9fe7050590c9bb8b78b5a tree 2860756314d852ba41a5fbe67b0295c570d93dd8 parent 684f7b296c0cb8238ce63f1828d33a00d5f3a26e author Yasuyuki Kozakai Thu, 05 Jan 2006 12:17:03 -0800 committer David S. Miller Thu, 05 Jan 2006 12:17:03 -0800 [NETFILTER]: ctnetlink: Add sanity checkings for ICMP Signed-off-by: Yasuyuki Kozakai Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 684f7b296c0cb8238ce63f1828d33a00d5f3a26e tree 97b357cc6a07bf38d071d0cce41227d43217b1e6 parent d695aa8a1f133359485e15db06d53e15e7309e4d author Pablo Neira Ayuso Thu, 05 Jan 2006 12:16:41 -0800 committer David S. Miller Thu, 05 Jan 2006 12:16:41 -0800 [NETFILTER]: ctnetlink: remove bogus checks in ICMP protocol at dumping Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit d695aa8a1f133359485e15db06d53e15e7309e4d tree 913bdfe6b01ee1791ceb455fa28443c87c09f6d3 parent 3e4ead4fe5d0d9fdd7ad6749e6e608d39dd46e8a author Jesper Juhl Thu, 05 Jan 2006 12:16:16 -0800 committer David S. Miller Thu, 05 Jan 2006 12:16:16 -0800 [NETFILTER]: Decrease number of pointer derefs in nf_conntrack_core.c Benefits of the patch: - Fewer pointer dereferences should make the code slightly faster. - Size of generated code is smaller - improved readability Signed-off-by: Jesper Juhl Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 3e4ead4fe5d0d9fdd7ad6749e6e608d39dd46e8a tree 64abb015416af552edb47022f740ac8c056456c0 parent 4ffd2e4907184813101cefa7196102927cdbe104 author Jesper Juhl Thu, 05 Jan 2006 12:15:58 -0800 committer David S. Miller Thu, 05 Jan 2006 12:15:58 -0800 [NETFILTER]: Decrease number of pointer derefs in nfnetlink_queue.c Benefits of the patch: - Fewer pointer dereferences should make the code slightly faster. - Size of generated code is smaller - improved readability Signed-off-by: Jesper Juhl Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit 4ffd2e4907184813101cefa7196102927cdbe104 tree aa7dee01e33b03fc8eeda3bd475210c181fa9b70 parent db9edfd7e339ca4113153d887e782dd05be5a9eb author Adrian Bunk Thu, 05 Jan 2006 12:14:43 -0800 committer David S. Miller Thu, 05 Jan 2006 12:14:43 -0800 [IPVS]: Fix compilation Signed-off-by: Adrian Bunk Acked-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 5c3eee79128c372a81a83665be2332a000944280 tree e44331d36d63adc971003cc32540d0cb0c019525 parent 408045afbdb46e109a1a44e67af688e9ddf7ad66 parent db9edfd7e339ca4113153d887e782dd05be5a9eb author Tony Luck Thu, 05 Jan 2006 08:52:11 -0800 committer Tony Luck Thu, 05 Jan 2006 08:52:11 -0800 Auto-update from upstream commit 0a75c23a009ff65f651532cecc16675d05f4de37 tree bdcd6158758fe1810f0ddddb80d2816779518688 parent 34b8c399dc04c8e51f014b73458e654570698597 parent db9edfd7e339ca4113153d887e782dd05be5a9eb author Jody McIntyre Thu, 05 Jan 2006 08:03:40 -0500 committer Jody McIntyre Thu, 05 Jan 2006 08:03:40 -0500 Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit dd68e88c72ac9ad25052065c4a443326eda6a052 tree 0119b11909b08a5327f7a70130a1e596a0b274dc parent ea8874dc3881c2a496a4bd6bc981f707cc6a0db1 author Andrew Morton Thu, 05 Jan 2006 10:55:26 +0000 committer Russell King Thu, 05 Jan 2006 10:55:26 +0000 [SERIAL] 8520_pci: build fix _INLINE_ went away. Signed-off-by: Andrew Morton Signed-off-by: Russell King commit f3e2628bed0d5a88ced8239b35f1534557f9631c tree 5261ca866b3adffcb186d2b1f6db9f4e44302995 parent e9c091b47409255cefa1672041479d850b7b991a author Evgeniy Polyakov Thu, 05 Jan 2006 10:31:23 +0000 committer Russell King Thu, 05 Jan 2006 10:31:23 +0000 [MMC] mmci: kunmap_atomic() unmaps virtual address, not page Signed-off-by: Evgeniy Polyakov Signed-off-by: Andrew Morton Signed-off-by: Russell King commit db9edfd7e339ca4113153d887e782dd05be5a9eb tree 0a4ba12447a0cabc800adc7e9667d284777b0181 parent 631b034724364b413e8a52e7c2e03a9d77e4c2b4 parent fd586bacf439f36dea9b9bf6e6133ac87df2730c author Linus Torvalds Wed, 04 Jan 2006 18:44:12 -0800 committer Linus Torvalds Wed, 04 Jan 2006 18:44:12 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6 Trivial manual merge fixup for usb_find_interface clashes. commit 631b034724364b413e8a52e7c2e03a9d77e4c2b4 tree 9df818466b2a67debe2213f65dc2bcd3cde961ea parent 3adfd4e2b8804e926a5245062ba8ee12e88d30c3 author Chuck Ebbert <76306.1226@compuserve.com> Tue, 03 Jan 2006 22:36:14 -0500 committer Linus Torvalds Wed, 04 Jan 2006 16:47:42 -0800 [PATCH] i386: "invalid operand" -> "invalid opcode" According to the manual, INT 6 is "invalid opcode", not "invalid operand". Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Linus Torvalds commit 3adfd4e2b8804e926a5245062ba8ee12e88d30c3 tree abcd17bd38ac7609566977bc5070573f16ed1be3 parent 4da5cc2cec8caec1d357053e85a7a32f243f93a1 author Deepak Saxena Tue, 03 Jan 2006 12:50:30 -0800 committer Linus Torvalds Wed, 04 Jan 2006 16:47:42 -0800 [PATCH] Fix IXP4xx watchdog errata workaround The IXP4xx driver bails out on all A0 CPUs, but it should only do so on IXP42x as IXP46x has functioning HW. Signed-off-by: Deepak Saxena Signed-off-by: Linus Torvalds commit 4da5cc2cec8caec1d357053e85a7a32f243f93a1 tree 3f8b603af4af88f86be7ec1d4e3639a7fc9dd1a6 parent 25c862cc9ea9b312c25a9f577f91b973131f1261 parent c6f43290ae687c11cdcd150d8bfeb57ec29cfa5b author Linus Torvalds Wed, 04 Jan 2006 16:38:36 -0800 committer Linus Torvalds Wed, 04 Jan 2006 16:38:36 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/perex/alsa commit 25c862cc9ea9b312c25a9f577f91b973131f1261 tree 8e8f56531144370ced50fa98db2973f4e93e38b0 parent 52347f4e810ba323d02cd2c26b5d738f4a2c3d5e parent 8ded4ac018ea706bf7ee926601a27184665c9c28 author Linus Torvalds Wed, 04 Jan 2006 16:36:52 -0800 committer Linus Torvalds Wed, 04 Jan 2006 16:36:52 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild commit 52347f4e810ba323d02cd2c26b5d738f4a2c3d5e tree d956016f7aefff1030ca0f7885ac6a6f890a9e94 parent 1cb9e8e01d2c73184e2074f37cd155b3c4fdaae6 parent 48d727a9f93e617d6d443507acf7d1b849c63366 author Linus Torvalds Wed, 04 Jan 2006 16:34:57 -0800 committer Linus Torvalds Wed, 04 Jan 2006 16:34:57 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial commit 1cb9e8e01d2c73184e2074f37cd155b3c4fdaae6 tree 3c8d1716cd53ed77a935036090323a1ae9a7963b parent d779188d2baf436e67fe8816fca2ef53d246900f parent a18ceba7b40e24a9da87249bd74f16ea5abd6894 author Linus Torvalds Wed, 04 Jan 2006 16:32:33 -0800 committer Linus Torvalds Wed, 04 Jan 2006 16:32:33 -0800 Merge branch 'upstream' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev commit d779188d2baf436e67fe8816fca2ef53d246900f tree 9bac75842a5611172860feec3c4019ff874a2b89 parent f61ea1b0c825a20a1826bb43a226387091934586 parent ac67c6247361b3b8644b34e5301a46d5069c1373 author Linus Torvalds Wed, 04 Jan 2006 16:31:56 -0800 committer Linus Torvalds Wed, 04 Jan 2006 16:31:56 -0800 Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 commit f61ea1b0c825a20a1826bb43a226387091934586 tree fdedf0a2368f707e3fd5205db05bfcbac79606ec parent d347da0deffa1d8f88f0d270eab040e4707c9916 parent 7b32b8e018d8f8cc94c808a5fa84a3f889441b91 author Linus Torvalds Wed, 04 Jan 2006 16:30:12 -0800 committer Linus Torvalds Wed, 04 Jan 2006 16:30:12 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 commit d347da0deffa1d8f88f0d270eab040e4707c9916 tree e0911f2ef4d36a7b44f7a5379feabebbd37dcfc4 parent c6c88bbde4d8b2ffe9886b7130b2e23781d424e5 parent 74cb8798222bb7d1aecb0acb91e6eeedf5feb948 author Linus Torvalds Wed, 04 Jan 2006 16:27:41 -0800 committer Linus Torvalds Wed, 04 Jan 2006 16:27:41 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 commit c6c88bbde4d8b2ffe9886b7130b2e23781d424e5 tree 47c2b61983acc6fbc42d89813729b87bbaf2aed9 parent 0356dbb7fe87ba59558902e536d9f960e87353c1 parent c8dd7709c534ab0d713aa698c99132b6c812b57c author Linus Torvalds Wed, 04 Jan 2006 16:25:44 -0800 committer Linus Torvalds Wed, 04 Jan 2006 16:25:44 -0800 Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 commit 0356dbb7fe87ba59558902e536d9f960e87353c1 tree 2cb23f809c838f0bd7406845ea0a8e7cb5875c99 parent e28cc71572da38a5a12c1cfe4d7032017adccf69 parent 95235ca2c20ac0b31a8eb39e2d599bcc3e9c9a10 author Linus Torvalds Wed, 04 Jan 2006 16:21:26 -0800 committer Linus Torvalds Wed, 04 Jan 2006 16:21:26 -0800 Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq commit e28cc71572da38a5a12c1cfe4d7032017adccf69 tree bea9af22a98ea2988a38f5e9fc2467ccbbf3ae70 parent a020ff412f0ecbb1e4aae1681b287e5785dd77b5 author Linus Torvalds Wed, 04 Jan 2006 16:20:40 -0800 committer Linus Torvalds Wed, 04 Jan 2006 16:20:40 -0800 Relax the rw_verify_area() error checking. In particular, allow over-large read- or write-requests to be downgraded to a more reasonable range, rather than considering them outright errors. We want to protect lower layers from (the sadly all too common) overflow conditions, but prefer to do so by chopping the requests up, rather than just refusing them outright. Cc: Peter Anvin Cc: Ulrich Drepper Cc: Andi Kleen Cc: Al Viro Signed-off-by: Linus Torvalds commit fd586bacf439f36dea9b9bf6e6133ac87df2730c tree 2d0ea08194e086851b4a35d1003aa8be376ab683 parent 1f1bf132d81ed723bc5fefbcec7d0779ce683a4f author Kay Sievers Mon, 19 Dec 2005 01:42:56 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:10 -0800 [PATCH] net: swich device attribute creation to default attrs Recent udev versions don't longer cover bad sysfs timing with built-in logic. Explicit rules are required to do that. For net devices, the following is needed: ACTION=="add", SUBSYSTEM=="net", WAIT_FOR_SYSFS="address" to handle access to net device properties from an event handler without races. This patch changes the main net attributes to be created by the driver core, which is done _before_ the event is sent out and will not require the stat() loop of the WAIT_FOR_SYSFS key. Signed-off-by: Kay Sievers Acked-by: David S. Miller Signed-off-by: Greg Kroah-Hartman commit 1f1bf132d81ed723bc5fefbcec7d0779ce683a4f tree 59cfbf241906753770c6150ef76efd1816210b74 parent e80a5dea8e056d8f398be1900d61c581d379f02f author Adrian Bunk Mon, 12 Dec 2005 01:31:03 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:10 -0800 [PATCH] drivers/base/power/runtime.c: #if 0 dpm_set_power_state() This patch #if 0's an unused global function. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit e80a5dea8e056d8f398be1900d61c581d379f02f tree 97d6e0d1c669987c54961bec49347b3717e55d52 parent 8218ef80932aa7e5e3d20c929a640c8d82133a9a author Steven Rostedt Wed, 23 Nov 2005 09:15:44 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:09 -0800 [PATCH] sysfs: handle failures in sysfs_make_dirent I noticed that if sysfs_make_dirent fails to allocate the sd, then a null will be passed to sysfs_put. Signed-off-by: Steven Rostedt Signed-off-by: Greg Kroah-Hartman commit 8218ef80932aa7e5e3d20c929a640c8d82133a9a tree 73f2e7a972563cf536a7dae0fa02d99c4041d893 parent 874c6241b2e49e52680d32a50d4909c7768d5cb9 author Greg Kroah-Hartman Tue, 13 Dec 2005 15:17:34 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:09 -0800 [PATCH] Driver core: Make block devices create the proper symlink name Block devices need to add the block device name to the symlink they put in the device directory, otherwise multiple symlinks of the same name can be created. This matches the class system, which works the same way, we just forgot to convert block at the same time. Cc: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 874c6241b2e49e52680d32a50d4909c7768d5cb9 tree 815b08ab6793cd45346c3d5f6a3875f36c0bfc91 parent a96b204208443ab7e23c681f7ddabe807a741d0c author Greg Kroah-Hartman Tue, 13 Dec 2005 15:17:34 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:09 -0800 [PATCH] Driver core: only all userspace bind/unbind if CONFIG_HOTPLUG is enabled Thanks to drivers making their id tables __devinit, we can't allow userspace to bind or unbind drivers from devices manually through sysfs. So we only allow this if CONFIG_HOTPLUG is enabled. Cc: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit a96b204208443ab7e23c681f7ddabe807a741d0c tree 7dacd3fe2790e1c5a922ff30fdab00b689a83998 parent 93ce3061be212f6280e7ccafa9a7f698a95c6d75 author Dmitry Torokhov Sat, 10 Dec 2005 01:36:28 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:09 -0800 [PATCH] Driver Core: Rearrange exports in platform.c Driver core: rearrange exports in platform.c The new way is to specify export right after symbol definition. Rearrange exports to follow new style to avoid mixing two styles in one file. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit 93ce3061be212f6280e7ccafa9a7f698a95c6d75 tree a451566360fea86ef597fcd2fe693dce65626f93 parent e39b84337b8aed3044683a57741a19e5002225b9 author Dmitry Torokhov Sat, 10 Dec 2005 01:36:27 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:09 -0800 [PATCH] Driver Core: Add platform_device_del() Driver core: add platform_device_del function Having platform_device_del90 allows more straightforward error handling code in drivers registering platform devices. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman commit e39b84337b8aed3044683a57741a19e5002225b9 tree b0e6fdd68b9b7d24b984401795f4660cc9cf7d0b parent 1d8f430c15b3a345db990e285742c67c2f52f9a6 author Rusty Russell Sat, 10 Dec 2005 22:48:20 +1100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:09 -0800 [PATCH] Input: fix add modalias support build error Fix build when scripts/mod/file2alias.c includes linux/input.h, which tries to include /usr/include/linux/mod_devicetable.h: In file included from scripts/mod/file2alias.c:40: include/linux/input.h:21:35: linux/mod_devicetable.h: No such file or directory make[2]: *** [scripts/mod/file2alias.o] Error 1 Signed-off-by: Rusty Russell Signed-off-by: Greg Kroah-Hartman commit 1d8f430c15b3a345db990e285742c67c2f52f9a6 tree 7bf8ae0929ebf581c4de68e7f4be9f6ea672d453 parent 263756ec228f1cdd49fc50b1f87001a4cebdfe12 author Rusty Russell Wed, 07 Dec 2005 21:40:34 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:09 -0800 [PATCH] Input: add modalias support Here's the patch for modalias support for input classes. It uses comma-separated numbers, and doesn't describe all the potential keys (no module currently cares, and that would make the strings huge). The changes to input.h are to move the definitions needed by file2alias outside __KERNEL__. I chose not to move those definitions to mod_devicetable.h, because there are so many that it might break compile of something else in the kernel. The rest is fairly straightforward. Signed-off-by: Rusty Russell CC: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 263756ec228f1cdd49fc50b1f87001a4cebdfe12 tree 502925a94655348a768f25180e49126688100a8d parent f743ca5e10f4145e0b3e6d11b9b46171e16af7ce author Kay Sievers Mon, 12 Dec 2005 18:03:44 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:09 -0800 [PATCH] ide: MODALIAS support for autoloading of ide-cd, ide-disk, ... IDE: MODALIAS support for autoloading of ide-cd, ide-disk, ... Add MODULE_ALIAS to IDE midlayer modules: ide-disk, ide-cd, ide-floppy and ide-tape, to autoload these modules depending on the probed media type of the IDE device. It is used by udev and replaces the former agent shell script of the hotplug package, which was required to lookup the media type in the proc filesystem. Using proc was racy, cause the media file is created after the hotplug event is sent out. The module autoloading does not take any effect, until something like the following udev rule is configured: SUBSYSTEM=="ide", ACTION=="add", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}" The module ide-scsi will not be autoloaded, cause it requires manual configuration. It can't be, and never was supported for automatic setup in the hotplug package. Adding a MODULE_ALIAS to ide-scsi for all supported media types, would just lead to a default blacklist entry anyway. $ modinfo ide-disk filename: /lib/modules/2.6.15-rc4-g1b0997f5/kernel/drivers/ide/ide-disk.ko description: ATA DISK Driver alias: ide:*m-disk* license: GPL ... $ modprobe -vn ide:m-disk insmod /lib/modules/2.6.15-rc4-g1b0997f5/kernel/drivers/ide/ide-disk.ko $ cat /sys/bus/ide/devices/0.0/modalias ide:m-disk It also adds attributes to the IDE device: $ tree /sys/bus/ide/devices/0.0/ /sys/bus/ide/devices/0.0/ |-- bus -> ../../../../../../../bus/ide |-- drivename |-- media |-- modalias |-- power | |-- state | `-- wakeup `-- uevent $ cat /sys/bus/ide/devices/0.0/{modalias,drivename,media} ide:m-disk hda disk Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit f743ca5e10f4145e0b3e6d11b9b46171e16af7ce tree e21e900b2400d66a6da37492951e80c6f4cf4230 parent d960bb4db9f422b5c3c82e0dfd6c8213a4fc430d author akpm@osdl.org Tue, 22 Nov 2005 23:36:13 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:08 -0800 [PATCH] kobject_uevent CONFIG_NET=n fix lib/lib.a(kobject_uevent.o)(.text+0x25f): In function `kobject_uevent': : undefined reference to `__alloc_skb' lib/lib.a(kobject_uevent.o)(.text+0x2a1): In function `kobject_uevent': : undefined reference to `skb_over_panic' lib/lib.a(kobject_uevent.o)(.text+0x31d): In function `kobject_uevent': : undefined reference to `skb_over_panic' lib/lib.a(kobject_uevent.o)(.text+0x356): In function `kobject_uevent': : undefined reference to `netlink_broadcast' lib/lib.a(kobject_uevent.o)(.init.text+0x9): In function `kobject_uevent_init': : undefined reference to `netlink_kernel_create' make: *** [.tmp_vmlinux1] Error 1 Netlink is unconditionally enabled if CONFIG_NET, so that's OK. kobject_uevent.o is compiled even if !CONFIG_HOTPLUG, which is lazy. Let's compound the sin. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit d960bb4db9f422b5c3c82e0dfd6c8213a4fc430d tree a5d79803da3f7e20fa55f6fd1b8ec9c74ef0c322 parent e22dafbcd7a579c29a424d5203b5b33b131948a7 author Kumar Gala Mon, 28 Nov 2005 10:15:39 -0600 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:08 -0800 [PATCH] Allow overlapping resources for platform devices There are cases in which a device's memory mapped registers overlap with another device's memory mapped registers. On several PowerPC devices this occurs for the MDIO bus, whose registers tended to overlap with one of the ethernet controllers. By switching from request_resource to insert_resource we can register the MDIO bus as a proper platform device and not hack around how we handle its memory mapped registers. Signed-off-by: Kumar Gala Signed-off-by: Greg Kroah-Hartman commit e22dafbcd7a579c29a424d5203b5b33b131948a7 tree 122969a87ba706be8374beb15bc03493e3601404 parent bf74ad5bc41727d5f2f1c6bedb2c1fac394de731 author Frank Pavlic Sat, 26 Nov 2005 20:48:40 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:08 -0800 [PATCH] klist: Fix broken kref counting in find functions The klist reference counting in the find functions that use klist_iter_init_node is broken. If the function (for example driver_find_device) is called with a NULL start object then everything is fine, the first call to next_device()/klist_next increases the ref-count of the first node on the list and does nothing for the start object which is NULL. If they are called with a valid start object then klist_next will decrement the ref-count for the start object but nobody has incremented it. Logical place to fix this would be klist_iter_init_node because the function puts a reference of the object into the klist_iter struct. Signed-off-by: Martin Schwidefsky Signed-off-by: Frank Pavlic Cc: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit bf74ad5bc41727d5f2f1c6bedb2c1fac394de731 tree 1e46f41550a9fe6df40fedeace23f5aff656b478 parent 6d20b035dee4300e9786c6e1cb77a765c7f9460a author Alan Stern Thu, 17 Nov 2005 16:54:12 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:08 -0800 [PATCH] Hold the device's parent's lock during probe and remove This patch (as604) makes the driver core hold a device's parent's lock as well as the device's lock during calls to the probe and remove methods in a driver. This facility is needed by USB device drivers, owing to the peculiar way USB devices work: A device provides multiple interfaces, and drivers are bound to interfaces rather than to devices; Nevertheless a reset, reset-configuration, suspend, or resume affects the entire device and requires the caller to hold the lock for the device, not just a lock for one of the interfaces. Since a USB driver's probe method is always called with the interface lock held, the locking order rules (always lock parent before child) prevent these methods from acquiring the device lock. The solution provided here is to call all probe and remove methods, for all devices (not just USB), with the parent lock already acquired. Although currently only the USB subsystem requires these changes, people have mentioned in prior discussion that the overhead of acquiring an extra semaphore in all the prove/remove sequences is not overly large. Up to now, the USB core has been using its own set of private semaphores. A followup patch will remove them, relying entirely on the device semaphores provided by the driver core. The code paths affected by this patch are: device_add and device_del: The USB core already holds the parent lock, so no actual change is needed. driver_register and driver_unregister: The driver core will now lock both the parent and the device before probing or removing. driver_bind and driver_unbind (in sysfs): These routines will now lock both the parent and the device before binding or unbinding. bus_rescan_devices: The helper routine will lock the parent before probing a device. I have not tested this patch for conflicts with other subsystems. As far as I can see, the only possibility of conflict would lie in the bus_rescan_devices pathway, and it seems pretty remote. Nevertheless, it would be good for this to get a lot of testing in -mm. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 6d20b035dee4300e9786c6e1cb77a765c7f9460a tree 104596b8fca1f4946da8d499a8429e5decf7e2d9 parent 712f47cea7703a340406fde61e84eb86ce781988 author Paul Jackson Fri, 25 Nov 2005 20:04:26 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:08 -0800 [PATCH] driver kill hotplug word from sn and others fix The first of these changes s/hotplug/uevent/ was needed to compile sn2_defconfig (ia64/sn). The other three files changed are blind changes of all remaining bus_type.hotplug references I could find to bus_type.uevent. This patch attempts to finish similar changes made in the gregkh-driver-kill-hotplug-word-from-driver-core Nov 22 patch. Signed-off-by: Paul Jackson Signed-off-by: Greg Kroah-Hartman commit 712f47cea7703a340406fde61e84eb86ce781988 tree cf8a4ae14b1503446000454151ef5c8cef507336 parent 312c004d36ce6c739512bac83b452f4c20ab1f62 author Greg Kroah-Hartman Wed, 16 Nov 2005 11:27:07 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:08 -0800 [PATCH] HOTPLUG: always enable the .config option, unless EMBEDDED With modules, dynamic /dev, and uevents, people really want CONFIG_HOTPLUG to be enabled in their kernels. If not, they can still disable it, but it is discouraged. Signed-off-by: Greg Kroah-Hartman commit 312c004d36ce6c739512bac83b452f4c20ab1f62 tree e61e8331680a0da29557fe21414d3b31e62c9293 parent 5f123fbd80f4f788554636f02bf73e40f914e0d6 author Kay Sievers Wed, 16 Nov 2005 09:00:00 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:08 -0800 [PATCH] driver core: replace "hotplug" by "uevent" Leave the overloaded "hotplug" word to susbsystems which are handling real devices. The driver core does not "plug" anything, it just exports the state to userspace and generates events. Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 5f123fbd80f4f788554636f02bf73e40f914e0d6 tree dbb7db4c62fa8130a393ce772cf819fcffe2606b parent 033b96fd30db52a710d97b06f87d16fc59fee0f1 author Kay Sievers Fri, 11 Nov 2005 14:43:07 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:07 -0800 [PATCH] merge kobject_uevent and kobject_hotplug The distinction between hotplug and uevent does not make sense these days, netlink events are the default. udev depends entirely on netlink uevents. Only during early boot and in initramfs, /sbin/hotplug is needed. So merge the two functions and provide only one interface without all the options. The netlink layer got a nice generic interface with named slots recently, which is probably a better facility to plug events for subsystem specific events. Also the new poll() interface to /proc/mounts is a nicer way to notify about changes than sending events through the core. The uevents should only be used for driver core related requests to userspace now. Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 033b96fd30db52a710d97b06f87d16fc59fee0f1 tree 00fbccf2cf478307e213f298a221e330f3ba12ae parent 0f76e5acf9dc788e664056dda1e461f0bec93948 author Kay Sievers Fri, 11 Nov 2005 06:09:55 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:07 -0800 [PATCH] remove mount/umount uevents from superblock handling The names of these events have been confusing from the beginning on, as they have been more like claim/release events. We needed these events for noticing HAL if storage devices have been mounted. Thanks to Al, we have the proper solution now and can poll() /proc/mounts instead to get notfied about mount tree changes. Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 0f76e5acf9dc788e664056dda1e461f0bec93948 tree fdb7db438cb03fb3e0508d582a7cc1321c62efed parent 0296b2281352e4794e174b393c37f131502e09f0 author Kay Sievers Fri, 11 Nov 2005 04:58:04 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:07 -0800 [PATCH] add uevent_helper control in /sys/kernel/ This deprecates the /proc/sys/kernel/hotplug file, as all this stuff should be in /sys some day, right? :) In /sys/kernel/ we have now uevent_seqnum and uevent_helper. The seqnum is no longer used by udev, as the version for this kernel depends on netlink which events will never get out-of-order. Recent udev versions disable the /sbin/hotplug helper with an init script, cause it leads to OOM on big boxes by running hundreds of shells in parallel. It should be done now by: echo "" > /sys/kernel/uevent_helper (Note that "-n" does not work, cause neighter proc nor sysfs support truncate().) Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 0296b2281352e4794e174b393c37f131502e09f0 tree 874e1de7ffaf56ab14f031d2818b69853c4914d8 parent 034382117725f6b6b26fbb138498139c5c012c1b author Kay Sievers Fri, 11 Nov 2005 05:33:52 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:07 -0800 [PATCH] remove CONFIG_KOBJECT_UEVENT option It makes zero sense to have hotplug, but not the netlink events enabled today. Remove this option and merge the kobject_uevent.h header into the kobject.h header file. Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 034382117725f6b6b26fbb138498139c5c012c1b tree 2f920e992b26b35924753d06765a5d525a364a5c parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Kay Sievers Fri, 11 Nov 2005 04:25:06 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 16:18:07 -0800 [PATCH] keep pnpbios usermod_helper away from hotplug_path[] These days we use udev to manage all kernel events. /proc/sys/kernel/hotplug will usually be disabled by an init-script. pnpnbios is not integrated with the driver core and should stay away from the now disabled /sbin/hotplug. Set the helper to /sbin/phpbios, even when there is probably no current user of this faciliy. If it's needed, it should definitely get proper driver core integration instead of forking binaries from the kernel. Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 1d7d2f6f476cf7aa65f9f740a6c932fb75608110 tree d85f316160717bde054302d88e5007073ff82e4d parent c4342d8a4d95e18b957b898dbf5bfce28fca2780 author Jack Morgenstein Wed, 04 Jan 2006 14:42:39 -0800 committer Roland Dreier Wed, 04 Jan 2006 14:42:39 -0800 IB/mthca: fix WQE size calculation in create-srq Thinko: 64 bytes is the minimum SRQ WQE size (not the maximum). Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 74cb8798222bb7d1aecb0acb91e6eeedf5feb948 tree 830ed6e12774714149d6a73be2d7dc9d10fbd481 parent 9369986306d4692f37b61302d4e1ce3054d8833e author Thomas Young Wed, 04 Jan 2006 13:59:32 -0800 committer David S. Miller Wed, 04 Jan 2006 13:59:32 -0800 [TCP] tcp_vegas: Fix slow start Vegas' slow start was only adding one MSS per RTT rather than one for every ack. Slow start behavior should now match Reno. Signed-off-by: Thomas Young Signed-off-by: David S. Miller commit 9369986306d4692f37b61302d4e1ce3054d8833e tree 104133156ada1b78fbfc8d3d84a4c8ae9ee9060a parent 181a46a56e9f852060c54247209e93740329b6eb author Kris Katterjohn Wed, 04 Jan 2006 13:58:36 -0800 committer David S. Miller Wed, 04 Jan 2006 13:58:36 -0800 [NET]: More instruction checks fornet/core/filter.c Signed-off-by: Kris Katterjohn Signed-off-by: David S. Miller commit 181a46a56e9f852060c54247209e93740329b6eb tree 656f6eaf5e26f17bde97dc74a892e83f68fe1649 parent 196433c5b788eb732fdcf92449274e302f089ce4 author YOSHIFUJI Hideaki Wed, 04 Jan 2006 13:56:54 -0800 committer David S. Miller Wed, 04 Jan 2006 13:56:54 -0800 [NETFILTER]: Use macro for spinlock_t/rwlock_t initializations/definition. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 196433c5b788eb732fdcf92449274e302f089ce4 tree 905f1da8155eb2b2b00e98e30532ba33fbc3a909 parent ca4033024858fcbd392465ba9cbf4c838aedfb58 author YOSHIFUJI Hideaki Wed, 04 Jan 2006 13:56:31 -0800 committer David S. Miller Wed, 04 Jan 2006 13:56:31 -0800 [IPV6]: Use macro for rwlock_t initialization. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit ca4033024858fcbd392465ba9cbf4c838aedfb58 tree 1cc64bc39d641ee033408ab1f22b612352a69331 parent f190055ff5c08a877d3e1ac2e0300fd92c264b06 author YOSHIFUJI Hideaki Wed, 04 Jan 2006 13:56:08 -0800 committer David S. Miller Wed, 04 Jan 2006 13:56:08 -0800 [ECONET]: Use macro for spinlock_t definition. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit a020ff412f0ecbb1e4aae1681b287e5785dd77b5 tree 94fba0f0ade540eaae89051971b49bd29803be51 parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author David Howells Wed, 04 Jan 2006 18:01:03 +0000 committer Linus Torvalds Wed, 04 Jan 2006 13:55:35 -0800 [PATCH] Fix pragma packing in ip2 driver This fixes the pragma packing in the ip2 driver by popping the previous setting rather than explicitly assuming that the correct setting is 4. This also gets around a compiler bug in the FRV compiler when building allmodconfig. Signed-Off-By: David Howells Signed-off-by: Linus Torvalds commit c8dd7709c534ab0d713aa698c99132b6c812b57c tree 30daa90dfdf17ef397efe4230f6dfb03060d669d parent cb5b3f6950b4fbad9d8d41756f49aba792804b5b author Sam Bishop Thu, 22 Dec 2005 17:11:02 -0700 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:45 -0800 [PATCH] USB: fix usb-skeleton limit resource usage patch. Prevents a compiler warning and uses down_interruptible() instead of down() in process context. Signed-off-by: Sam Bishop Signed-off-by: Greg Kroah-Hartman commit cb5b3f6950b4fbad9d8d41756f49aba792804b5b tree 52359251d2f32767be54ab9e0e5fe2ad69f9a9f1 parent f5691d70d4aeec0ac9cff11f0cabb7d5a1735705 author Olav Kongas Thu, 22 Dec 2005 12:44:52 +0200 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:45 -0800 [PATCH] USB: fix buffer size limiting in skeleton driver Fix buffer size limiting. Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman commit f5691d70d4aeec0ac9cff11f0cabb7d5a1735705 tree 124e1d04ab52425be1417e71387ae7036e03152c parent a9714c845c0681a203a9ae22aa5165ec72c51d33 author Pete Zaitcev Wed, 21 Dec 2005 17:24:54 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:44 -0800 [PATCH] USB: fix usb_find_interface for ppc64 Fix usb_find_interface. You cannot case pointers to int and long on a big-endian 64-bitter without consequences. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit a9714c845c0681a203a9ae22aa5165ec72c51d33 tree f08697d81eca4e6e877b0d3d3561f7f8bf8111e7 parent 318e479eb7ad9a948c6da381976d258464413816 author David Woodhouse Fri, 23 Dec 2005 16:41:41 +0000 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:44 -0800 [PATCH] USB: Export IEEE-1284 device id in sysfs for usblp devices I looked at the userspace code which uses the LPIOC_GET_DEVICE_ID ioctl and I almost went blind. Let's export it in sysfs instead, and just as a string instead of with a big-endian length at the beginning of it. This also prints the message about finding the printer _after_ we know the minor device number it's going to have, rather than reporting all printers as 'usblp0'. Signed-off-by: David Woodhouse Signed-off-by: Greg Kroah-Hartman commit 318e479eb7ad9a948c6da381976d258464413816 tree d73ef1b9d684ec47d9d963190b85e62df26c2fcc parent a083dec0ed537a75fbe8f2f83d198e9e672240d8 author Pete Zaitcev Wed, 21 Dec 2005 17:03:24 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:44 -0800 [PATCH] USB: ioctl compat for usblp.c From: David Woodhouse David has a G5 with a printer. I am quite surprised that nobody else noticed this before. Linus has a G5. Hackers hate printing in general, maybe. We do not use BKL anymore, because one of code paths had a sleeping call, so we had to use a semaphore. I am sure it's safe to use unlocked_ioctl. The new ioctls return long and retval is int. It looks completely fine to me. We never want these extra bits, and the sign extension ought to work right. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman -- commit a083dec0ed537a75fbe8f2f83d198e9e672240d8 tree 8d214715bf0612a18103cf1169976375db95f631 parent ff90651883093576de2d60bebaae39b0dd2e62f6 author Nathan Lynch Sun, 18 Dec 2005 23:41:38 -0600 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:44 -0800 [PATCH] USB: zd1201: make sysfs device symlink Noticed that my zd1201 adapter isn't "seen" by hal and NetworkManager. The problem seems to be that unlike other network device drivers I checked, zd1201 does not do a SET_NETDEV_DEV(), which makes it so a "device" symlink is created under /sys/class/net/wlan0. With the following patch the device symlink shows up, and now I am happily using NetworkManager to control the adapter: $ ls -l /sys/class/net/wlan0 total 0 -r--r--r-- 1 root root 4096 Dec 18 13:42 address -r--r--r-- 1 root root 4096 Dec 18 13:42 addr_len -r--r--r-- 1 root root 4096 Dec 18 13:42 broadcast -r--r--r-- 1 root root 4096 Dec 18 13:42 carrier lrwxrwxrwx 1 root root 0 Dec 18 13:42 device -> ../../../devices/pci0001:10/0001:10:1b.1/usb4/4-1 -r--r--r-- 1 root root 4096 Dec 18 13:42 features Signed-off-by: Nathan Lynch Signed-off-by: Greg Kroah-Hartman commit ff90651883093576de2d60bebaae39b0dd2e62f6 tree 8029f0742384a7f22fbd4175cf9a73194eee33d6 parent aafbf24a1129480157af7ee780eddcea9b76ee5c author Oliver Neukum Wed, 21 Dec 2005 19:27:29 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:44 -0800 [PATCH] USB: Limiting of resource use in skeleton driver this introduces limits whose lack in the skeleton driver someone recently complained about. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman commit aafbf24a1129480157af7ee780eddcea9b76ee5c tree 218cbb17aeff69689121f294ac7ef513267b158a parent 5e0f76c6bbc0d26cd9625876f7beeb7b002f39bf author Pete Zaitcev Tue, 20 Dec 2005 14:15:04 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:44 -0800 [PATCH] USB: replace __setup("nousb") with __module_param_call Fedora users complain that passing "nousbstorage" to the installer causes the rest of the USB support to disappear. The installer uses kernel command line as a way to pass options through Syslinux. The problem stems from the use of strncmp() in obsolete_checksetup(). I used __module_param_call() instead of module_param because I wanted to preserve the old syntax in grub.conf, and it's the only macro which allows to remove the prefix. The fix is tested to accept the option "nousb" correctly now. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 5e0f76c6bbc0d26cd9625876f7beeb7b002f39bf tree 97daadf2d515e708001e174b501c436228e06342 parent 3e220e9505f3c993b666b5e22b1c466b69ee4f54 author David Hollis Mon, 19 Dec 2005 13:58:38 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:44 -0800 [PATCH] USB: asix.c - Add Linksys USB200M Rev 2 ids Attached patch adds device IDs for the Linksys USB200M Rev 2 device which uses the AX88772 chipset. Signed-off-by: David Hollis Signed-off-by: Greg Kroah-Hartman commit 3e220e9505f3c993b666b5e22b1c466b69ee4f54 tree 4d45df0bff254b5dc5c2a560489fea1f8f086877 parent ab93091dd7f3d3dff9e8d1811d8344af1c52493b author Phil Dibowitz Sun, 18 Dec 2005 21:30:02 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:44 -0800 [PATCH] USB Storage: Fix unusual_devs.h order Alan Stern pointed out there was an ordering issue in unusual_devs.h, and this patch fixes it. Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit ab93091dd7f3d3dff9e8d1811d8344af1c52493b tree 9741a96890bc73e8859ccb3e89f9414a06a82a61 parent 4fb729f5863c29e4466afb4508186303f46458e7 author Daniel Marjamaki Sat, 17 Dec 2005 02:38:46 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:44 -0800 [PATCH] USB: ub 02 Removed unused variable Removed an unused variable Signed-off-by: Daniel Marjamaki Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 4fb729f5863c29e4466afb4508186303f46458e7 tree e71b85374227e2854463ef6e64545fda779d9bba parent 2c26c9e6b4993a1a1231849feff4b6518a4fc239 author Pete Zaitcev Sat, 17 Dec 2005 02:34:12 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:43 -0800 [PATCH] USB: ub 01 rename Rename misleading UB_MINORS_PER_MAJOR into UB_PARTS_PER_LUN. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 2c26c9e6b4993a1a1231849feff4b6518a4fc239 tree afe118d36138599e5d94beed6848702f75cf36a6 parent 6b495f4c5accec6261f522ea6898580dc9cb6316 author Pete Zaitcev Sat, 17 Dec 2005 02:16:43 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:43 -0800 [PATCH] USB: ub 00 implement retries and resets Implement command retries and resets in ub. It is advantageous for users to know if their devices are getting bad. However, failing every I/O is not practical if you have a external USB enclosure with a hard drive. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 6b495f4c5accec6261f522ea6898580dc9cb6316 tree 750143d60621b245d30aa9df0cb030678634380f parent 0e8eb0f06b21bc05c42bcdbb6b273fce59ba9689 author Daniel Marjamäki Tue, 13 Dec 2005 15:30:20 +0200 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:43 -0800 [PATCH] USB: isp116x-hcd.c: Removed unused variable Removed unused variable Signed-off-by: Daniel Marjamäki Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman commit 0e8eb0f06b21bc05c42bcdbb6b273fce59ba9689 tree 8f147c0484a46e4c4a488378a760da64c00057aa parent 740a4282ed5cf0fbcad9a1a1660f24e1b5d11ed2 author Jesper Juhl Sun, 11 Dec 2005 20:34:02 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:43 -0800 [PATCH] USB: Remove unneeded kmalloc() return value casts Remove kmalloc() return value casts that we don't need from drivers/usb/* Signed-off-by: Jesper Juhl Signed-off-by: Greg Kroah-Hartman commit 740a4282ed5cf0fbcad9a1a1660f24e1b5d11ed2 tree d222548105b0bdf110f1e9e25b880c3e26760b0f parent effac8be4e46aabf22788d24caaa1ae9c295d26d author Ian Abbott Tue, 13 Dec 2005 16:18:47 +0000 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:43 -0800 [PATCH] USB: ftdi_sio: new IDs for Teratronik devices This patch adds vendor and product IDs to the ftdi_sio driver's device ID table for two devices from teratronik.de. The device IDs were submitted by O. Wölfelschneider of Teratronik Elektronische Systeme GmbH. The charset of the patch is latin-1, same as the original files. Please apply, thanks! (I've tried to avoid a clash with Andrew Morton's patch to add support for Posiflex PP-7700 printer to the same driver.) Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman commit effac8be4e46aabf22788d24caaa1ae9c295d26d tree 0beaddb1afd96058d671f2f29bb1b0f3bf0c8bab parent 735b0cbb5bbb981d726a465c157f20976794aab0 author Pavel Fedin Fri, 09 Dec 2005 09:30:59 +0300 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:43 -0800 [PATCH] USB: Support for Posiflex PP-7000 retail printer in Linux This little patch adds recognition of Posiflex PP-7000 retail printer to ftdo_sio module. The printer uses FT232BM bridge programmed with custom VID/PID. The patch posted to lkml and sf.net was for 2.6.11.1 kernel, here is one reworked for 2.6.12. Signed-off-by: Greg Kroah-Hartman commit 735b0cbb5bbb981d726a465c157f20976794aab0 tree e0f5cf4e14534028bc0c174e3b53d8cf8867682f parent 52950ed40dc97456209979af1d8f51b63cf6dcab author Ville Syrjälä Sat, 10 Dec 2005 20:30:54 +0200 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:43 -0800 [PATCH] USB: add driver for ATI/Philips USB RF remotes Summary: Driver for ATI/Philips USB RF remotes This is a new input driver for ATI/Philips USB RF remotes (eg. ATI Remote Wonder II). Signed-off-by: Ville Syrjälä Signed-off-by: Greg Kroah-Hartman commit 52950ed40dc97456209979af1d8f51b63cf6dcab tree 527fb1a339889b3df9d227b1c17f87bc487f397f parent f3d34ed48c80903544b509031fee64838d29f35f author Tobias Klauser Sun, 11 Dec 2005 16:20:08 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:43 -0800 [PATCH] USB: Use ARRAY_SIZE macro Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove duplicates of ARRAY_SIZE. Some trailing whitespaces are also removed. Patch is compile-tested on i386. Signed-off-by: Tobias Klauser Signed-off-by: Greg Kroah-Hartman commit f3d34ed48c80903544b509031fee64838d29f35f tree a959c2437cc15e16efca32a8827f3f303fca65f3 parent 3717f2952bd0aab30fe2a6af80657abbeb065461 author Alan Stern Tue, 13 Dec 2005 10:32:13 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:42 -0800 [PATCH] USB: fix local variable clash This patch (as621) fixes a local variable conflict I accidently introduced into usb_set_configuration. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 3717f2952bd0aab30fe2a6af80657abbeb065461 tree ca5df2c9fc1b0ea2d63b29fb9ae5d0dd37613f88 parent 8836aeb86158163532c1835e74751708c2d74385 author Paul Walmsley Wed, 30 Nov 2005 13:57:45 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:42 -0800 [PATCH] USB: usb-storage: add debug entry for REPORT LUNS Bugs involving the REPORT LUNS SCSI-3 command are much easier to track down if usb-storage displays the command's name, rather than "(Unknown command)". Signed-off-by: Paul Walmsley Cc: Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 8836aeb86158163532c1835e74751708c2d74385 tree d9f713f633f3b1b5f04e1927cd8f5cfc3f6eae21 parent e80b0fade09ef1ee67b0898d480d4c588f124d5f author Matthew Dharm Sun, 04 Dec 2005 22:03:47 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:42 -0800 [PATCH] USB Storage: update MAINTAINERS Someone recently pointed out to me that the MAINTAINERS entry for usb-storage was, perhaps, in need of changing. Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit e80b0fade09ef1ee67b0898d480d4c588f124d5f tree f521947191f0c659e0e48c429f5eef25968dffc7 parent a6c976c6c4628ce0c9277c47e7545956d9d4f441 author Matthew Dharm Sun, 04 Dec 2005 22:02:44 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:42 -0800 [PATCH] USB Storage: add alauda support This patch adds another usb-storage subdriver, which supports two fairly old dual-XD/SmartMedia reader-writers (USB1.1 devices). This driver was written by Daniel Drake -- he notes that he wrote this driver without specs, however a vendor-supplied GPL driver for the previous generation of products ("sma03") did prove to be quite useful, as did the sddr09 driver which also has to deal with low-level physical block layout on SmartMedia. The original patch has been reformed by me, as it clashed with the libusual patches. We really need to consolidate some of this common SmartMedia code, and get together with the MTD guys to share it with them as well. Signed-off-by: Daniel Drake Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit a6c976c6c4628ce0c9277c47e7545956d9d4f441 tree 0c0f531595dac6b340c85af500cfb1dae7122bea parent 0dc08a357538de3d93305fbf99348663abdbf2cd author Matthew Dharm Sun, 04 Dec 2005 21:59:45 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:42 -0800 [PATCH] USB Storage: more sddr09 cleanups This is the third of three patches to prepare the sddr09 subdriver for conversion to the Sim-SCSI framework. This patch (as596) moves the computation of the LBA to the start of the read/write routines, so that addresses completely beyond the end of the device can be detected and reported differently from transfers that are partially within the device's capacity. Signed-off-by: Alan Stern Acked-by: Andries Brouwer Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit 0dc08a357538de3d93305fbf99348663abdbf2cd tree d794f54e4ba52ef19e9817562f284736de216b14 parent f5b8cb9c91f2f7d54dc3f066db8d4e0f041de79b author Matthew Dharm Sun, 04 Dec 2005 21:58:52 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:41 -0800 [PATCH] USB Storage: sddr09 cleanups This is the second of three patches to prepare the sddr09 subdriver for conversion to the Sim-SCSI framework. This patch (as595) updates the code to use standard error values for return codes instead of our special-purpose USB_STOR_TRANSPORT_... codes. The reverse update is then needed in the transport routine, but with the Sim-SCSI framework that routine will go away. Signed-off-by: Alan Stern Acked-by: Andries Brouwer Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit f5b8cb9c91f2f7d54dc3f066db8d4e0f041de79b tree 87c0ffd6678cffdd5d9c9425d8f8432ceebc1c33 parent 7931e1c6f8007d5fef8a0bb2dc71bd97315eeae9 author Matthew Dharm Sun, 04 Dec 2005 21:57:51 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:41 -0800 [PATCH] USB Storage: cleanups of sddr09 This is the first of three patches to prepare the sddr09 subdriver for conversion to the Sim-SCSI framework. This patch (as594) straightens out the initialization procedures and headers: Some ugly code from usb.c was moved into sddr09.c. Set-up of the private data structures was moved into the initialization routine. The connection between the "dpcm" version and the standalone version was clarified. A private declaration was moved from a header file into the subdriver's .c file. Signed-off-by: Alan Stern Acked-by: Andries Brouwer Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit 7931e1c6f8007d5fef8a0bb2dc71bd97315eeae9 tree aa4ace5efa3454324b10f0b4036fc87a3e815bcf parent b9b09422570e5e35a9f590a1ead63e711aefac8c author Matthew Dharm Sun, 04 Dec 2005 21:56:51 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:41 -0800 [PATCH] USB Storage: make OneTouch PM-aware The OneTouch subdriver submits its own interrupt URB for notifications about button presses. Consequently it needs to know about suspend and resume events, so it can cancel or restart the URB. This patch (as593) adds a hook to struct us_data, to be used for notifying subdrivers about Power Management events, and it implements the hook in the OneTouch driver. Signed-off-by: Alan Stern Signed-off-by: Nick Sillik Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit b9b09422570e5e35a9f590a1ead63e711aefac8c tree dd392bc6d083ddf8617dbb9fedae00eb5aaf0319 parent 687f5f3428157bea4940dd967fd7b4e59c1b13b4 author Pete Zaitcev Sat, 03 Dec 2005 21:52:10 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:41 -0800 [PATCH] USB: Let usbmon collect less garbage Alan Stern pointed out that (in 2.6 kernel) one successful submission results in one callback, even for ISO-out transfers. Thus, the silly check can be removed from usbmon. This reduces the amount of garbage printed in case of ISO and Interrupt transfers. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 687f5f3428157bea4940dd967fd7b4e59c1b13b4 tree 1f3051906989d2e80df0985c1a48f41c6c283f64 parent fa3465689f93331834a831bbe98e3863701e1068 author Alan Stern Wed, 30 Nov 2005 17:16:19 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:41 -0800 [PATCH] USB: UHCI: edit some comments This patch (as615b) edits a large number of comments in the uhci-hcd code, mainly removing excess apostrophes. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit fa3465689f93331834a831bbe98e3863701e1068 tree f8b1186d7ef49289817d54e35cb7cca82fcc3613 parent f0b80fbf294bc4f6ec179b09fd5b63df25188259 author Alan Stern Wed, 30 Nov 2005 11:57:51 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:41 -0800 [PATCH] USB: UHCI: change uhci_explen macro This patch (as616) changed the uhci_explen macro in uhci-hcd.h so that it now accepts the desired length, rather than length - 1 with special handling for 0. This also fixes a minor bug that would show up only when a driver submits a 0-length bulk URB. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit f0b80fbf294bc4f6ec179b09fd5b63df25188259 tree a3eb4af3ce641bc99dd89bc01aca2917aaba060a parent 95f209f93663103db2a8fb989e226ac68a98b036 author Marcelo Feitoza Parisi Thu, 01 Dec 2005 00:50:39 +0300 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:41 -0800 [PATCH] USB: ati_remote: use time_before() and friends They deal with wrapping correctly and are nicer to read. Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Alexey Dobriyan Signed-off-by: Greg Kroah-Hartman commit 95f209f93663103db2a8fb989e226ac68a98b036 tree 459d85d3012707d2d7d588cfff88a67c3485db48 parent 17fa6e552f2fc6bb06af767b0abf9cb642e13404 author Horst Schirmeier Thu, 28 Jul 2005 15:32:20 +0200 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:41 -0800 [PATCH] USB: pl2303_update_line_status data length fix Minimum data length must be UART_STATE + 1, as data[UART_STATE] is being accessed for the new line_state. Although PL-2303 hardware is not expected to send data with exactly UART_STATE length, this keeps it on the safe side. Signed-off-by: Horst Schirmeier Signed-off-by: Greg Kroah-Hartman commit 17fa6e552f2fc6bb06af767b0abf9cb642e13404 tree b6107c53bd3028f4167813d5edc0764859e7d7c4 parent a5e36d20897ff8317e722fceb4d9eea3e4a5906b author fabien COSSE Wed, 30 Nov 2005 01:16:00 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:40 -0800 [PATCH] USB Storage: add unusual_devs entry for NIKON Coolpix 2000 This patch adds an unusual_devs.h entry for NIKON Coolpix 2000 camera wich cause error: "Not Ready: Medium not present" Works fine with th patched kernel... Here are the informations in /proc/bus/usb/devices: T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=04b0 ProdID=0301 Rev= 0.10 S: Manufacturer=NIKON S: Product=NIKON DSC E2000 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=16ms Signed-off-by: Fabien COSSE Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit a5e36d20897ff8317e722fceb4d9eea3e4a5906b tree ce2d7906a3980c0d31cf848d7f227409d4713092 parent 4c4c9432a6c916729c7296c47fe93b053a73e20c author Richard Purdie Mon, 28 Nov 2005 22:15:46 +0000 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:40 -0800 [PATCH] USB: Correct ohci-pxa27x suspend/resume struct confusion The device data in ohci-pxa27x is a struct hcd, not a struct ohci_hcd. This correct the suspend/resume calls to account for this and adds some code to invalidate the platform data when the module is removed. Signed-off-by: Richard Purdie Signed-off-by: Greg Kroah-Hartman commit 4c4c9432a6c916729c7296c47fe93b053a73e20c tree 7f02f456359259da8bae5e3d32fc4411311ee135 parent 9fe6fcd8ccb2c8c661dfd1e07e3122aef31a67d4 author Arjan van de Ven Tue, 29 Nov 2005 09:43:42 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:40 -0800 [PATCH] USB: mark various usb tables const patch below marks various USB tables and variables as const so that they end up in .rodata section and don't cacheline share with things that get written to. For the non-array variables it also allows gcc to optimize more. Signed-off-by: Arjan van de Ven Signed-off-by: Greg Kroah-Hartman commit 9fe6fcd8ccb2c8c661dfd1e07e3122aef31a67d4 tree 23a952fa918799fa7847fbd78d2fbf2d9691206b parent 2425e9fe67cb5e66c173c4f604ddd8a5970d89e9 author Adrian Bunk Tue, 29 Nov 2005 14:01:55 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:40 -0800 [PATCH] USB: drivers/usb/misc/sisusbvga/sisusb.c: remove dead code The Coverity checker found this dead code. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 2425e9fe67cb5e66c173c4f604ddd8a5970d89e9 tree 80d5846f634adcf9d71894a692259dad27ab3112 parent 3cf0a22e8b1b3f44288db773d315e72e89d51c4c author Alan Stern Tue, 29 Nov 2005 12:13:31 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:40 -0800 [PATCH] USB: Don't assume root-hub resume succeeds This patch (as614) makes a small change to the part of the hub driver responsible for remote wakeup of root hubs. When these wakeups occur the driver is suspended, and in case the resume fails the driver should remain suspended -- it shouldn't try to proceed with its normal processing. This will hardly ever matter in normal use, but it did crop up while I was debugging a different problem. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 3cf0a22e8b1b3f44288db773d315e72e89d51c4c tree b2b9e6d717b317a6439d9e5c1cf2333148759af0 parent a21d4fed4b00eaf7e7c3b2e2b25de24f540bfa66 author Alan Stern Tue, 29 Nov 2005 12:08:15 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:40 -0800 [PATCH] USB Gadget: dummy_hcd: updates to hcd->state This patch (as613) moves the updates to hcd->state in the dummy_hcd driver to where they now belong. It also uses the new HC_FLAG_HW_ACCESSIBLE flag in a way that simulates a real PCI controller, and it adds checks for attempts to resume the bus while the controller is suspended or to suspend the controller while the bus is active. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit a21d4fed4b00eaf7e7c3b2e2b25de24f540bfa66 tree b903c111c0319e44ba5a724d6d87f7754c5a4fcc parent bd39b7f195e5a780a3c6710eb1c1450f158a1f31 author Alan Stern Tue, 29 Nov 2005 12:04:24 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:40 -0800 [PATCH] USB Gadget: file_storage: remove "volatile" declarations This patch (as612) removes the "volatile" declarations from the file-storage gadget. It turns out that they aren't needed for anything much; adding a few memory barriers does a sufficient job. The patch also removes a wait_queue. Not much point having a queue when only one task is ever going to be on it! Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit bd39b7f195e5a780a3c6710eb1c1450f158a1f31 tree 34c57ff00c5779a571c9ab5f5a592093594f3aee parent 5d3202949c9ac6e135d98bde15a8f05ad3fa5849 author Chris Humbert Mon, 28 Nov 2005 09:29:23 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:39 -0800 [PATCH] USB: don't allocate dma pools for PIO HCDs USB: don't allocate dma pools for PIO HCDs hcd_buffer_alloc() and hcd_buffer_free() have a similar dma_mask check and revert to kmalloc()/kfree(), but hcd_buffer_create() doesn't check dma_mask and allocates unused dma pools. Signed-off-by: Chris Humbert Acked-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 5d3202949c9ac6e135d98bde15a8f05ad3fa5849 tree 2807209840c56f37a003ebb9aa3a4e4171c3cfe9 parent 8a4613f01f5bb850cab34e3db572d97251d997b3 author Daniel Ritz Sun, 27 Nov 2005 22:23:38 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:51:39 -0800 [PATCH] USB: input/touchkitusb: handle multiple packets Some versions of the controller seem to put multiple report packet into a single urb. also it can happen that a packet is split across multiple urbs. unpatched you get a jumpy cursor on some screens. the patch does: - handle multiple packets per urb - handle packets split across multiple urb - check packet type - cleanups Signed-off-by: Daniel Ritz Signed-off-by: Greg Kroah-Hartman commit 8a4613f01f5bb850cab34e3db572d97251d997b3 tree 3ce08f8c75cf8696f7902dd33298a95016ed4e14 parent 487f9c6710e7dff338e59820f6cfaeaaa87cb532 author Luiz Fernando Capitulino Mon, 28 Nov 2005 19:16:07 -0200 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:35 -0800 [PATCH] USB: usbserial: race-condition fix. There is a race-condition in usb-serial driver that can be triggered if a processes does 'port->tty->driver_data = NULL' in serial_close() while other processes is in kernel-space about to call serial_ioctl() on the same port. This happens because a process can open the device while there is another one closing it. The patch below fixes that by adding a semaphore to ensure that no process will open the device while another process is closing it. Note that we can't use spinlocks here, since serial_open() and serial_close() can sleep. Signed-off-by: Luiz Capitulino Signed-off-by: Greg Kroah-Hartman commit 487f9c6710e7dff338e59820f6cfaeaaa87cb532 tree cf8b5706aa97d8a9143a40658440772863320bd7 parent 717f736d937d0e98e964375dac770bfa20f73b72 author Luiz Fernando Capitulino Mon, 28 Nov 2005 19:16:05 -0200 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:35 -0800 [PATCH] USB: usbserial: Adds missing checks and bug fix. Checks if 'port' is NULL before using it in all tty operations, this can avoid NULL pointer dereferences. Signed-off-by: Luiz Capitulino Signed-off-by: Greg Kroah-Hartman commit 717f736d937d0e98e964375dac770bfa20f73b72 tree 2aacf4fc87d275c266769022fd179c8339339cfc parent 3aea4a76a3ec4e6484f6316a97efff8b144b2b11 author Olav Kongas Sat, 26 Nov 2005 01:58:36 +0200 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:35 -0800 [PATCH] USB: isp116x-hcd: minor cleanup When going to suspend, there's no point in setting HC state in host controller driver as USB core takes care of this. Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman commit 3aea4a76a3ec4e6484f6316a97efff8b144b2b11 tree b2832719b2427485f7e727262649defa2cc013d8 parent 12c3da346eb81b6a281031f62eda3bca993dff5a author Pavel Machek Sun, 27 Nov 2005 09:47:28 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:35 -0800 [PATCH] USB: Cleanups for usb gadget mass-storage Remove useless initalizers. Signed-off-by: Pavel Machek Signed-off-by: Alan Stern commit 12c3da346eb81b6a281031f62eda3bca993dff5a tree 428ac85a5ebf1564aa4254dcf625174ef36452d9 parent 55c527187c9d78f840b284d596a0b298bc1493af author Alan Stern Wed, 23 Nov 2005 12:09:52 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:35 -0800 [PATCH] USB: Store port number in usb_device This patch (as610) adds a field to struct usb_device to store the device's port number. This allows us to remove several loops in the hub driver (searching for a particular device among all the entries in the parent's array of children). Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 55c527187c9d78f840b284d596a0b298bc1493af tree 17f42fb911ecc70301f5a22d4c0e85ba7348a67a parent 949bf6431189c62eeebd3b52201406ba9978f525 author Alan Stern Wed, 23 Nov 2005 12:03:12 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:34 -0800 [PATCH] USB: Consider power budget when choosing configuration This patch (as609) changes the way we keep track of power budgeting for USB hubs and devices, and it updates the choose_configuration routine to take this information into account. (This is something we should have been doing all along.) A new field in struct usb_device holds the amount of bus current available from the upstream port, and the usb_hub structure keeps track of the current available for each downstream port. Two new rules for configuration selection are added: Don't select a self-powered configuration when only bus power is available. Don't select a configuration requiring more bus power than is available. However the first rule is #if-ed out, because I found that the internal hub in my HP USB keyboard claims that its only configuration is self-powered. The rule would prevent the configuration from being chosen, leaving the hub & keyboard unconfigured. Since similar descriptor errors may turn out to be fairly common, it seemed wise not to include a rule that would break automatic configuration unnecessarily for such devices. The second rule may also trigger unnecessarily, although this should be less common. More likely it will annoy people by sometimes failing to accept configurations that should never have been chosen in the first place. The patch also changes usbcore's reaction when no configuration is suitable. Instead of raising an error and rejecting the device, now the core will simply leave the device unconfigured. People can always work around such problems by installing configurations manually through sysfs. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 949bf6431189c62eeebd3b52201406ba9978f525 tree 50f4798f574d1c88828726e6b1f929361f10a6d5 parent 3d48586cfa2e197515605ccf74527983d35638e3 author Fengwei Yin Fri, 18 Nov 2005 10:35:36 +0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:34 -0800 [PATCH] USB: One potential problem in gadget/serial.c It looks like that the gs_serial module maybe sleep with spinlock in gs_close. Sometimes, system hang when I remove the gs_serial module. From: Fengwei Yin Signed-off-by: Greg Kroah-Hartman commit 3d48586cfa2e197515605ccf74527983d35638e3 tree d2988275f8acd36738409f5765c15fd2d72a716f parent 4bf0ba861442d289eebfad8ea9ce365ab04fd582 author Adrian Bunk Sun, 20 Nov 2005 23:56:11 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:34 -0800 [PATCH] USB: small cleanups This patch contains the following cleanups: - make needlessly global functions static - every file should #include the headers containing the prototypes for it's global functions Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 4bf0ba861442d289eebfad8ea9ce365ab04fd582 tree 0301e45a155712ec03e0226a1e85e74198778f7e parent 7d069b7d80933004282c48edbe62526e4cb0aecc author Alan Stern Mon, 21 Nov 2005 11:58:07 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:34 -0800 [PATCH] USB: Fix locking for USB suspend/resume The earlier USB locking updates didn't touch the suspend/resume routines. They need updating as well, since now the caller holds the device semaphore. This patch (as608) makes the necessary changes. It also adds a line to store the correct power state when a device is resumed, something which was unaccountably missing. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 7d069b7d80933004282c48edbe62526e4cb0aecc tree c18d1e04366bee64b62b28d4953fed3c83e85fcc parent 9ad3d6ccf5eee285e233dbaf186369b8d477a666 author Alan Stern Fri, 18 Nov 2005 12:06:34 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:34 -0800 [PATCH] USB: Disconnect children during hub unbind This patch (as606b) is an updated version of my earlier patch to disconnect children from a hub device when the hub driver is unbound. Thanks to the changes in the driver core locking, we now know that the entire hub device (and not just the interface) is locked whenever the hub driver's disconnect method runs. Hence it is safe to disconnect the child device structures immediately instead of deferring the job. The earlier version of the patch neglected to disable the hub's ports. We don't want to forget that; otherwise we'd end up with live devices using addresses that have been recycled. This update adds the necessary code. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 9ad3d6ccf5eee285e233dbaf186369b8d477a666 tree 4ad43518e01f1b2c6513e79b318d974979041b99 parent 75318d2d7cab77b14c5d3dbd5e69f2680a769e16 author Alan Stern Thu, 17 Nov 2005 17:10:32 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:34 -0800 [PATCH] USB: Remove USB private semaphore This patch (as605) removes the private udev->serialize semaphore, relying instead on the locking provided by the embedded struct device's semaphore. The changes are confined to the core, except that the usb_trylock_device routine now uses the return convention of down_trylock rather than down_read_trylock (they return opposite values for no good reason). A couple of other associated changes are included as well: Now that we aren't concerned about HCDs that avoid using the hcd glue layer, usb_disconnect no longer needs to acquire the usb_bus_lock -- that can be done by usb_remove_hcd where it belongs. Devices aren't locked over the same scope of code in usb_new_device and hub_port_connect_change as they used to be. This shouldn't cause any trouble. Along with the preceding driver core patch, this needs a lot of testing. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 75318d2d7cab77b14c5d3dbd5e69f2680a769e16 tree 13098167bd41d7dd0b0d3f678534a6daa29b4005 parent 2143acc6dc79bdbff812f02a7dc5ab9d4fc81fc8 author Greg Kroah-Hartman Mon, 21 Nov 2005 14:53:03 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:34 -0800 [PATCH] USB: remove .owner field from struct usb_driver It is no longer needed, so let's remove it, saving a bit of memory. Signed-off-by: Greg Kroah-Hartman commit 2143acc6dc79bdbff812f02a7dc5ab9d4fc81fc8 tree 523c2d57e412766bfc37b9ff6c22ff01108c92a5 parent ba9dc657af86d05d2971633e57d1f6f94ed60472 author Greg Kroah-Hartman Mon, 21 Nov 2005 14:53:03 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:32 -0800 [PATCH] USB: make registering a usb driver automatically set the module owner This fixes the driver that forgot to set the module owner up. Now we can remove the unneeded pointer from the usb driver structure. The idea for how to do this was from Al Viro, who did this for the PCI drivers. Signed-off-by: Greg Kroah-Hartman commit ba9dc657af86d05d2971633e57d1f6f94ed60472 tree 2b57fe680536b5a02e9dd3b8f4d1df33d6f65017 parent 733260ff9c45bd4db60f45d17e8560a4a68dff4d author Greg Kroah-Hartman Wed, 16 Nov 2005 13:41:28 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:32 -0800 [PATCH] USB: allow usb drivers to disable dynamic ids This lets drivers, like the usb-serial ones, disable the ability to add ids from sysfs. The usb-serial drivers are "odd" in that they are really usb-serial bus drivers, not usb bus drivers, so the dynamic id logic will have to go into the usb-serial bus core for those drivers to get that ability. Signed-off-by: Greg Kroah-Hartman commit 733260ff9c45bd4db60f45d17e8560a4a68dff4d tree e7f09a9a9e2d7a9f22288c9777f7b03906a89e20 parent ddae41be6145f5f9cb4e6df35661a09121b90672 author Greg Kroah-Hartman Wed, 16 Nov 2005 13:41:28 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:32 -0800 [PATCH] USB: add dynamic id functionality to USB core Echo the usb vendor and product id to the "new_id" file in the driver's sysfs directory, and then that driver will be able to bind to a device with those ids if it is present. Example: echo 0557 2008 > /sys/bus/usb/drivers/foo_driver/new_id adds the hex values 0557 and 2008 to the device id table for the foo_driver. Note, usb-serial drivers do not currently work with this capability yet. usb-storage also might have some oddities. Signed-off-by: Greg Kroah-Hartman commit ddae41be6145f5f9cb4e6df35661a09121b90672 tree b802e866016b66fd193c3a9945be9582f9066580 parent 5ba35bd8f9a4fa6b92ef707826c47a1466ece460 author Greg Kroah-Hartman Wed, 16 Nov 2005 13:41:28 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:31 -0800 [PATCH] USB: reorg some functions out of the main usb.c file This will make the dynamic-id stuff easier to do, as it will be self-contained. No logic was changed at all. Signed-off-by: Greg Kroah-Hartman commit 5ba35bd8f9a4fa6b92ef707826c47a1466ece460 tree 2c180db14baa56d05dca8ff66d78bb97348a60cb parent a00828e9ac62caed7b830d631914d7748817ccd1 author Pete Zaitcev Fri, 16 Dec 2005 00:39:36 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:31 -0800 [PATCH] USB: make bias writeable in libusual Make the bias parameter writeable. Writing the parameter does not trigger a rebind of currently attached storage devices. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit a00828e9ac62caed7b830d631914d7748817ccd1 tree 2fed4c66762fa4f54945413b4027ff5837ad0633 parent 1c50c317e2e7f15427149cbc216a63366468710e author Pete Zaitcev Sat, 22 Oct 2005 20:15:09 -0700 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:31 -0800 [PATCH] USB: drivers/usb/storage/libusual This patch adds a shim driver libusual, which routes devices between usb-storage and ub according to the common table, based on unusual_devs.h. The help and example syntax is in Kconfig. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 1c50c317e2e7f15427149cbc216a63366468710e tree d48dc0b03090e89c644f73f9997b4f70b6ec9b41 parent 8364d6b0be2dbbf162c6aea79615b5025a0d67c2 author Alan Stern Mon, 14 Nov 2005 11:45:38 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:31 -0800 [PATCH] USB: central handling for host controllers that were reset during suspend/resume This patch (as515b) adds a routine to usbcore to simplify handling of host controllers that lost power or were reset during suspend/resume. The new core routine marks all the child devices of the root hub as NOTATTACHED and tells khubd to disconnect the device structures as soon as possible. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 8364d6b0be2dbbf162c6aea79615b5025a0d67c2 tree f7511fe4a6b7ee39d4e8126712a7112dd1e2659a parent a4f81a61ebba5953cba1e76f66423a7eca4a5ee4 author Alan Stern Mon, 14 Nov 2005 12:16:30 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:31 -0800 [PATCH] USB: dummy_hcd: rename variables The recent platform_device update has reintroduced into dummy_hcd.c the dreaded dev->dev syndrome. This harkens back to when an earlier version of that driver included the unforgettable line: dev->dev.dev.driver_data = dev; This patch (as602) renames the platform_device variables to "pdev", in the hope of reducing confusion. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit a4f81a61ebba5953cba1e76f66423a7eca4a5ee4 tree e8a1a3a43df27f26d1516c9df8d9a6aaf1e0a745 parent 4a1728a28a193aa388900714bbb1f375e08a6d8e author A.YOSHIYAMA Tue, 15 Nov 2005 09:55:18 +0200 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:31 -0800 [PATCH] USB: usb-net: new device ID passed through module parameter adds new module parameter "devid" that points to a string with format "device_name:vendor_id:device_id:flags". if provided at module load time, this string is being parsed and a new entry is created in usb_dev_id[] and pegasus_ids[] so the new device can later be recognized by the probe routine. this might be helpful for someone who don't know/wish to build new module/kernel, but want to use his new usb-to-eth device that is not yet listed in pegasus.h Signed-off-by: Petko Manolov Signed-off-by: Greg Kroah-Hartman commit 4a1728a28a193aa388900714bbb1f375e08a6d8e tree 52b5728b5377ef4be8aacabd1ae64a66770603e0 parent 87c4252a35310fdbb2aabb880a39b83f83cadf62 author Petko Manolov Tue, 15 Nov 2005 09:48:23 +0200 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:30 -0800 [PATCH] USB: usb-net: removes redundant return removes all redundant collecting of the return value from get/set_registers() and suchlike. can't remember who put all of those some time ago, but they doesn't make any sense to me. where needed only a few references remained; Signed-off-by: Petko Manolov Signed-off-by: Greg Kroah-Hartman commit 87c4252a35310fdbb2aabb880a39b83f83cadf62 tree e1e5588651b6652696b9f4e81bb1776b1e4a4778 parent c9a50cc9318772e62d56f2a9172bdfda72bdacbe author Alan Stern Wed, 09 Nov 2005 16:59:56 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:30 -0800 [PATCH] USB: file-storage gadget: Add reference count for children This patch (as601) adds a proper reference count to the file-storage gadget's main data structure, to keep track of references held by child devices (LUNs in this case). Before this, the driver would wait for each child to be released before unbinding. While there's nothing really wrong with that (you can't create a hang by doing "rmmod g_file_storage Signed-off-by: Greg Kroah-Hartman commit c9a50cc9318772e62d56f2a9172bdfda72bdacbe tree 768fcbcc35e1054843a04e1dd048425560c6fb3a parent 704aa0b7a9744d5f2b5c1fa68b826fcca73a2104 author David Brownell Mon, 07 Nov 2005 20:45:20 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:30 -0800 [PATCH] USB: hcd uses EXTRA_CFLAGS for -DDEBUG This modifies the HCD builds to automatically "-DDEBUG" if CONFIG_USB_DEBUG is selected. It's just a minor source code cleanup, guaranteeing consistency. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 704aa0b7a9744d5f2b5c1fa68b826fcca73a2104 tree 6a6bce0781c506bf44457514550006102b0f182d parent baefbc39d8e23942cc10db92f5bc42e3476f6bc1 author David Brownell Mon, 07 Nov 2005 15:38:24 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:30 -0800 [PATCH] USB: wakeup flag updates (3/3) isp116x-hcd This makes the ISP116x HCD use the driver model wakeup flags for its controller, not the flags in the HCD glue (which will be removed). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit baefbc39d8e23942cc10db92f5bc42e3476f6bc1 tree 58e3dcb5a768fb1e5d45dddecd676d25562e64e2 parent 0c8624f91d91df7cdeb9b2dace3269b8788c845f author David Brownell Mon, 07 Nov 2005 15:34:41 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:30 -0800 [PATCH] USB: wakeup flag updates (2/3) uhci-hcd This makes UHCI stop using the HCD glue wakeup flags to report whether the controller can wake the system. The existing code was wrong anyway; having a PCI PM capability doesn't imply it reports PME# is supported. I skimmed Intel's ICH7 datasheet and that basically says the wakeup signaling gets routed only through ACPI registers. (On the other hand, many VIA chips provide the PCI PM capabilities...) I think that doing this correctly with UHCI is going to require the ACPI folk to associate the /proc/acpi/wakeup identifiers (and wakeup enable/disable flags) with the relevant /sys/devices/pci*/... devices. From: David Brownell Signed-off-by: Greg Kroah-Hartman commit 0c8624f91d91df7cdeb9b2dace3269b8788c845f tree e836d3ac3e1eb623093d47c678ed8e684a79b7ce parent d97cc2f2e938547a47daef29bc10ab38600a3310 author David Brownell Mon, 07 Nov 2005 15:31:25 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:30 -0800 [PATCH] USB: wakeup flag updates (1/3) sl811-hcd This makes the SL811 HCD use the driver model wakeup flags for its controller, not the flags in the HCD glue (which will be removed). From: David Brownell Signed-off-by: Greg Kroah-Hartman drivers/usb/host/sl811-hcd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit d97cc2f2e938547a47daef29bc10ab38600a3310 tree 587a5b6abd9391975077de52cc7b5e75b47ad3a2 parent 2c1c3c4cd5f796b1912c65aaf3bf48c0ddf11f5e author David Brownell Thu, 22 Dec 2005 17:05:18 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:30 -0800 [PATCH] USB: ehci fix driver model wakeup flags On some systems, EHCI seems to be getting IRQs too early during driver setup ... before the root hub is allocated, in particular, making trouble for any code chasing down root hub pointers! In this case, it seems to be safe to just ignore the root hub setting. Thanks to Rafael J. Wysocki for getting this properly tested. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 2c1c3c4cd5f796b1912c65aaf3bf48c0ddf11f5e tree d0adc25607629f4fbb9f45cc498f5c155d520291 parent 8d7802ed3c617120863f84346638d1cf1c96137b author David Brownell Mon, 07 Nov 2005 15:24:46 -0800 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:30 -0800 [PATCH] USB: EHCI updates (4/4) driver model wakeup flags This teaches the EHCI driver to use the new driver model wakeup flags, replacing the similar ones in the HCD glue. It also adds a workaround for the current glitch whereby PCI init doesn't init the wakeup flags from the PCI PM capabilities. (EHCI controllers don't worry about legacy mode; the PCI PM capability would always do the job.) Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 8d7802ed3c617120863f84346638d1cf1c96137b tree 008b4724dd19719a3541651a8e68a250a5ecf587 parent b72458a80c75cab832248f536412f386e20a93a0 author matthieu castet Tue, 08 Nov 2005 00:02:30 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:29 -0800 [PATCH] USB: Eagle and ADI 930 usb adsl modem driver fix More care on loading firmware, take into account fw->size can't be zero. Signed-off-by: Matthieu CASTET Signed-off-by: Greg Kroah-Hartman commit b72458a80c75cab832248f536412f386e20a93a0 tree aae8bd4f4ca209cd5ddb22ab51c8f02012ed6593 parent 6912354a895fcd234155273fe8838a0d83259a9b author matthieu castet Mon, 07 Nov 2005 23:27:13 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:29 -0800 [PATCH] USB: Eagle and ADI 930 usb adsl modem driver A driver for USB ADSL modems based on the ADI eagle chipset using the usb_atm infrastructure. The managing part was taken from bsd ueagle driver, other parts were written from scratch. The driver uses the in-kernel firmware loader : - to load a first usb firmware when the modem is in pre-firmware state - to load the dsp firmware that are swapped in host memory. - to load CMV (configuration and management variables) when the modem boot. (We can't use options or sysfs for this as there many possible values. See https://mail.gna.org/public/eagleusb-dev/2005-04/msg00031.html for a description of some) - to load fpga code for 930 chipset. The device had 4 endpoints : * 2 for data (use by usbatm). The incoming endpoint could be iso or bulk. The modem seems buggy and produce lot's of atm errors when using it in bulk mode for speed > 3Mbps, so iso endpoint is need for speed > 3Mbps. At the moment iso endpoint need a patched usbatm library and for this reason is not included in this patch. * One bulk endpoint for uploading dsp firmware * One irq endpoint that notices the driver - if we need to upload a page of the dsp firmware - an ack for read or write CMV and the value (for the read case). If order to make the driver cleaner, we design synchronous (read|write)_cmv : -send a synchronous control message to the modem -wait for an ack or a timeout -return the value if needed. In order to run these synchronous usb messages we need a kernel thread. The driver has been tested with sagem fast 800 modems with different eagle chipset revision and with ADI 930 since April 2005. Signed-off-by: Matthieu CASTET Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 6912354a895fcd234155273fe8838a0d83259a9b tree 6dca4969dda3fb177c62f18b12bfb6d2be4bb567 parent 959eea2191e8d74b16ef019b0f4bf875c14f4547 author Alan Stern Thu, 03 Nov 2005 11:44:49 -0500 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:29 -0800 [PATCH] USB: EHCI: fix conflation of buf == 0 with len == 0 When the ehci-hcd driver prepares a control URB, it tests for a zero-length data stage by looking at the transfer_dma value instead of the transfer_buffer_length. (In fact it does this even for non-control URBs, which is an additional aspect of the same bug.) However, under certain circumstances it's possible for transfer_dma to be 0 while transfer_buffer_length is non-zero. This can happen when a freshly allocated page (mapped to address 0 and marked Copy-On-Write, but never written to) is used as the source buffer for an OUT transfer. This patch (as598) fixes the problem. Signed-off-by: Alan Stern Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 959eea2191e8d74b16ef019b0f4bf875c14f4547 tree c535857225eec2a52ce18c162ed94c5f18427dee parent 535488fcf1e4b2331e1c4a1eb67ca09468c13507 author Olav Kongas Thu, 03 Nov 2005 17:38:14 +0200 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:29 -0800 [PATCH] USB: isp116x-hcd: cleanup The attached patch makes a cleanup of isp116x-hcd. Most of the volume of the patch comes from 2 sources: moving the code around to get rid of a few function prototypes and reworking register dumping functions/macros. Among other things, switched over from using procfs to debugfs. Cleanup. The following changes were made: - Rework register dumping code so it can be used for dumping to both syslog and debugfs. - Switch from procfs to debugfs.. - Die gracefully on Unrecoverable Error interrupt. - Fix memory leak in isp116x_urb_enqueue(), if HC happens to die in a narrow time window. - Fix a 'sparce' warning (unnecessary cast). - Report Devices Removable for root hub ports by default (was Devices Permanently Attached). - Move bus suspend/resume functions down in code to get rid of a few function prototypes. - A number of one-line cleanups. - Add an entry to MAINTAINERS. Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman MAINTAINERS | 6 drivers/usb/host/isp116x-hcd.c | 429 ++++++++++++++++------------------------- drivers/usb/host/isp116x.h | 83 +++++-- 3 files changed, 230 insertions(+), 288 deletions(-) commit 535488fcf1e4b2331e1c4a1eb67ca09468c13507 tree 285a6e02054bb5a661605649d3527a73bbdba466 parent 61a87adf2e7b410da8e41799c61c21a7b8c8b001 author Olav Kongas Fri, 28 Oct 2005 15:04:45 +0300 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:29 -0800 [PATCH] USB: isp116x-hcd: support reiniting HC on resume Until now the isp116x-hcd had no support to reinitialize the HC on resume, if the controller lost its state during suspend. This patch, generated against your Oct 26 git tree, adds that support. The patch is basically the same as the one tested by Ivan Kalatchev, who reported the problem, on 2.6.13. Please apply, Support reinitializing the isp116x host controller from scratch on resume, if the controller has lost its state. Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman commit 61a87adf2e7b410da8e41799c61c21a7b8c8b001 tree b4d09ce45dadd78cd2b92848a96c508f44d12f88 parent 2e1dcc1600c1d83b26479edd076866595bbd3523 author David Kubicek Tue, 01 Nov 2005 18:51:34 +0100 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:29 -0800 [PATCH] USB: Converting cdc acm to a ring queue this patch by David converts the sending queue of the CDC ACM driver to a queue of URBs. This is needed for quicker devices. Please apply. Signed-Off-By: Oliver Neukum Signed-off-by: Greg Kroah-Hartman drivers/usb/class/cdc-acm.c | 229 ++++++++++++++++++++++++++++++-------------- drivers/usb/class/cdc-acm.h | 33 +++++- 2 files changed, 185 insertions(+), 77 deletions(-) commit 2e1dcc1600c1d83b26479edd076866595bbd3523 tree 8cdee2c9a12ec62b380b6c9f8ec13171d6b5a60f parent 81f280e22f14d6d976620acaa1b346a90f4e1adc author Richard Purdie Sat, 12 Nov 2005 14:22:14 +0000 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:29 -0800 [PATCH] USB: Add pxa27x OHCI PM functions Add power management functions for the pxa27x USB OHCI host controller. This is a totally rewritten version of the patch by Nicolas Pitre and Todd Poynor which accounts for recent USB changes. Signed-off-by: Richard Purdie Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 81f280e22f14d6d976620acaa1b346a90f4e1adc tree 298db1ef614489451fecdd35439c630c8086a368 parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Richard Purdie Sat, 12 Nov 2005 14:22:11 +0000 committer Greg Kroah-Hartman Wed, 04 Jan 2006 13:48:28 -0800 [PATCH] USB: pxa27x OHCI - Separate platform code from main driver To allow multiple platforms to use the PXA27x OHCI driver, the platform code needs to be moved into the board specific files in arch/arm/mach-pxa. This patch does this for mainstone and adds preliminary hooks to allow other boards to use the driver. This has been compile tested for mainstone and successfully run on Spitz (Sharp Zaurus SL-C3000) with the addition of an appropriate board support file. Signed-off-by: Richard Purdie Signed-off-by: Nicolas Pitre Acked-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit ea8874dc3881c2a496a4bd6bc981f707cc6a0db1 tree c7cef73da86e9ce36a7a8358fbf20b34db2f6d07 parent 45e24601921fc1c4ca7932f7f7a475d3ad64ecad author Russell King Wed, 04 Jan 2006 19:43:24 +0000 committer Russell King Wed, 04 Jan 2006 19:43:24 +0000 [SERIAL] Remove _INLINE_ Signed-off-by: Russell King commit 45e24601921fc1c4ca7932f7f7a475d3ad64ecad tree 21b64ad15abe3b051a0462096ee2474212274e20 parent 50aec3b561de4e435204ad315e5c5ab58ef9feda author Russell King Wed, 04 Jan 2006 19:19:06 +0000 committer Russell King Wed, 04 Jan 2006 19:19:06 +0000 [SERIAL] Move interrupt-time spinlocking inside serial8250_handle_port() All call sites for serial8250_handle_port() acquired the port spinlock and released it afterwards. This is a needless duplication of code. Move the spinlocking inside serial8250_handle_port(). Signed-off-by: Russell King commit 50aec3b561de4e435204ad315e5c5ab58ef9feda tree dfbd24000670a78ebee7d96d8eab510f2fcd1f9e parent 1624f003349b49050f42c7d9f5407dfc05efb912 author Russell King Wed, 04 Jan 2006 18:13:03 +0000 committer Russell King Wed, 04 Jan 2006 18:13:03 +0000 [SERIAL] Use uart_match_port() to find a matching port in find_port() Signed-off-by: Russell King commit 1624f003349b49050f42c7d9f5407dfc05efb912 tree 43fef7650e2bb7832222956b0dc46e6b48e74b8c parent 26e92861be9c0da3be30718de693976b3f6a8026 author Benjamin Herrenschmidt Wed, 04 Jan 2006 18:09:44 +0000 committer Russell King Wed, 04 Jan 2006 18:09:44 +0000 [SERIAL] Fix matching of MMIO ports The function uart_match_port() incorrectly compares the ioremap'd virtual addresses of ports instead of the physical address to find duplicate ports for MMIO based UARTs. This fixes it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Russell King commit 4c70b926c91ba9c1ce3dc92d418f8e4670c8f16d tree 51ed73e4b06e3d1c728af9f21c5dfce98191e062 parent 7a94283a7e8cd8a4ea29bf2cfedba511c706b0b4 author Lennert Buytenhek Wed, 04 Jan 2006 17:17:17 +0000 committer Russell King Wed, 04 Jan 2006 17:17:17 +0000 [ARM] 3225/1: add symbolic names for enp2611 gpio interrupts Patch from Lennert Buytenhek Add symbolic names for the five ixp2400 GPIO lines on the enp2611 that are used as interrupts. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit 7a94283a7e8cd8a4ea29bf2cfedba511c706b0b4 tree e17f02bc7dbe7338ab9b70753978d1c0270ad6b6 parent b721243a6700b2ecc11f7b920d3d5d6718c5d148 author Lennert Buytenhek Wed, 04 Jan 2006 17:17:16 +0000 committer Russell King Wed, 04 Jan 2006 17:17:16 +0000 [ARM] 3224/1: add masked thread interrupt status registers for ixp2000 Patch from Lennert Buytenhek In its interrupt handler, the (NAPI) ixp2000 netdev driver needs to use the masked thread interrupt status register (instead of the raw one) to prevent scheduling polling when polling is already running when a TXdone interrupt comes in. The definitions for the masked status registers were not in yet, so this patch adds them. Signed-off-by: Lennert Buytenhek Signed-off-by: Russell King commit b721243a6700b2ecc11f7b920d3d5d6718c5d148 tree 13460896a686547d627c12d37bc8be1a5a61b32c parent b1ad3a57d39001af413414c34feb5cd41d0f7917 author Lennert Buytenhek Wed, 04 Jan 2006 17:17:15 +0000 committer Russell King Wed, 04 Jan 2006 17:17:15 +0000 [ARM] 3223/1: remove ixdp2x01 cs89x0 hack Patch from Lennert Buytenhek Remove the ixdp2x01 cs89x0 hack from ixp2000's io implementation. Since the cs89x0 driver has been made properly aware of the odd way the cs89x0 is hooked up on the ixdp2x01, we don't need this hack anymore. Signed-off-by: Lennert Buytenhek Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit b1ad3a57d39001af413414c34feb5cd41d0f7917 tree 0ec400bb20410cbd0e9c08b3c5d04b567db585b2 parent 313cbb5519405966e3e65fca86c0305ab24f2a3b author Deepak Saxena Wed, 04 Jan 2006 17:17:14 +0000 committer Russell King Wed, 04 Jan 2006 17:17:14 +0000 [ARM] 3221/1: Update IXP4xx defconfig Patch from Deepak Saxena Add NAS 100d to machine build list and update to new 2.6.15 options. Signed-off-by: Deepak Saxena --- Signed-off-by: Russell King commit 313cbb5519405966e3e65fca86c0305ab24f2a3b tree 949bb8daf7a32d5921cabe9d129df1d6342d40da parent 8d27e6992bc6a7ca7eaa1d29fb1a8d6cb6022c45 author Rod Whitby Wed, 04 Jan 2006 17:17:13 +0000 committer Russell King Wed, 04 Jan 2006 17:17:13 +0000 [ARM] 3218/1: PAGE_SHIFT undeclared in arch-ixp4xx/memory.h (adjust_zones moved out of line) Patch from Rod Whitby PAGE_SHIFT is undeclared in include/asm-arm/arch-ixp4xx/memory.h, identified by the following kernel compilation error: CC [M] sound/core/memory.o In file included from include/asm/memory.h:27, from include/asm/io.h:28, from sound/core/memory.c:24: include/asm/arch/memory.h: In function `__arch_adjust_zones': include/asm/arch/memory.h:28: error: `PAGE_SHIFT' undeclared (first use in this function) This patch replaces my previous attempt at fixing this problem (Patch 3214/1) and is based on the following feedback: Russell King wrote: > The error you see came up on SA1100. The best solution was to move > the __arch_adjust_zones() function out of line. I suggest ixp4xx > does the same. I have moved the function out of line into arch/arm/mach-ixp4xx/common-pci.c as suggested. Signed-off-by: Rod Whitby Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 8d27e6992bc6a7ca7eaa1d29fb1a8d6cb6022c45 tree 2dd4132a1c0128f4047bb0b162e5c2075d7a5dd6 parent 3145d8a6cc83ee15adf18f598873e53a54cd1841 author Deepak Saxena Wed, 04 Jan 2006 17:17:12 +0000 committer Russell King Wed, 04 Jan 2006 17:17:12 +0000 [ARM] 3220/1: Remove gpio_isr_line_clear() from NAS 100d Patch from Deepak Saxena This patch removes referneces to gpio_isr_line_clear() from the NAS 100d platform implementation. Depends on 3192/1 and 3215/1 Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 3145d8a6cc83ee15adf18f598873e53a54cd1841 tree 9b314c3ad06350f4839fc17a2119fb18428123fe parent f7e8bbb8207c17afbd716e7e5fc785b78fa08571 author Rod Whitby Wed, 04 Jan 2006 17:17:11 +0000 committer Russell King Wed, 04 Jan 2006 17:17:11 +0000 [ARM] 3215/1: Iomega NAS 100d (MACH_NAS100D) machine support Patch from Rod Whitby This patch adds support for a new arm/ixp4xx machine - the Iomega NAS 100d network attached storage product. The NAS100D is a consumer device containing a 266MHz Intel IXP420 processor, 16MB of flash, 64MB of RAM, a 160Gb internal IDE hard disk, and 802.11b/g wireless on an Atheros mini-PCI card. Work on porting the latest 2.6.x kernel to this device is being done by the NSLU2-Linux project (the same team who maintains the port to the Linksys NSLU2 device). In particular, the majority of this patch was authored by Alessandro Zummo, based on the work done for MACH_NSLU2 support by the NSLU2-Linux core team of developers. MACH_NAS100D (as implemented by this patch) can be enabled in jumbo ixp4xx kernels without any affect on the other machines supported by that kernel. This patch applies cleanly against 2.6.15-rc7 and should be trivial to apply to later kernel versions. It does not depend upon any other patches. Modified files (and number of lines inserted): arch/arm/mach-ixp4xx/Kconfig | 8 arch/arm/mach-ixp4xx/Makefile | 1 include/asm-arm/arch-ixp4xx/hardware.h | 1 include/asm-arm/arch-ixp4xx/irqs.h | 9 include/asm-arm/arch-ixp4xx/nas100d.h | 75 arch/arm/mach-ixp4xx/nas100d-pci.c | 77 arch/arm/mach-ixp4xx/nas100d-power.c | 69 arch/arm/mach-ixp4xx/nas100d-setup.c | 133 -- Rod Whitby (NSLU2-Linux project lead) Signed-off-by: Rod Whitby Signed-off-by: Alessandro Zummo Signed-off-by: Russell King commit f7e8bbb8207c17afbd716e7e5fc785b78fa08571 tree eb78a6b9578a6f83c1022fcbc1685bc054dc889d parent b3a962455b106a1677f91c754e5315753c3d44c3 author Deepak Saxena Wed, 04 Jan 2006 17:17:10 +0000 committer Russell King Wed, 04 Jan 2006 17:17:10 +0000 [ARM] 3192/1: Remove gpio_isr_line_clear() API from IXP4xx Patch from Deepak Saxena Other than interrupt masking purposes, this API is only used when configuring interrupt lines and this patch moves that functionality directly into the ixp4xx_set_irq_type() implementation as board level PCI code should not need to worry about those details. Signed-off-by: Deepak Saxena Signed-off-by: Russell King commit 26e92861be9c0da3be30718de693976b3f6a8026 tree 22c1e9b40ada381b63d480b2cd7cf71e032dd747 parent 2af7cd68f1ed20e2e72c91988c3d4f457fa29ebc author Gareth Howlett Wed, 04 Jan 2006 17:00:42 +0000 committer Russell King Wed, 04 Jan 2006 17:00:42 +0000 [SERIAL] Add support for more Connect Tech PCI serial boards I've also fixed the sort-ordering comments on this naming convention. Signed-off-by: Stuart MacDonald Signed-off-by: Russell King commit 2af7cd68f1ed20e2e72c91988c3d4f457fa29ebc tree a242ce0d1ecd154ef6bfa7aaf910a003bed3abdd parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Russell King Wed, 04 Jan 2006 16:55:09 +0000 committer Russell King Wed, 04 Jan 2006 16:55:09 +0000 [Serial] Don't miss modem status changes Reading the MSR register on 8250-compatible UARTs results in any modem status interrupts being cleared. To avoid missing any status changes, arrange for get_mctrl() to read the current status via check_modem_status(), which will process any pending state changes for us. Signed-off-by: Russell King commit 34b8c399dc04c8e51f014b73458e654570698597 tree 7027eda7a780e9d945ef271f8c2ea5aaede5dd25 parent eaceec7f6cc5223d0f146086884d67746b8aa81d parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Jody McIntyre Wed, 04 Jan 2006 11:43:17 -0500 committer Jody McIntyre Wed, 04 Jan 2006 11:43:17 -0500 Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit e9c091b47409255cefa1672041479d850b7b991a tree 4a88257e054c186dc878a26ffa66f370b287195e parent ce11a161c11868f268964274edc7a26a3e063e08 author Russell King Wed, 04 Jan 2006 16:24:05 +0000 committer Russell King Wed, 04 Jan 2006 16:24:05 +0000 [MMC] mmci: add data cache coherency Since MMCI currently uses PIO to read data, we have to take steps to ensure data cache coherency on aliasing CPU caches. Add the necessary flush_dcache_page() calls. Signed-off-by: Russell King commit b3a962455b106a1677f91c754e5315753c3d44c3 tree 17eea82e62a02c75fec9b7a5e5021593c9cb0677 parent d7b4a75677f8f2a559b0c55a550b364e79a8d302 author Russell King Wed, 04 Jan 2006 15:55:41 +0000 committer Russell King Wed, 04 Jan 2006 15:55:41 +0000 [ARM] Remove SA1100 PM prepare/finish ops These are empty, unnecessary functions, so remove them. Signed-off-by: Russell King commit d7b4a75677f8f2a559b0c55a550b364e79a8d302 tree c349ee283d3bde9489b7eb6c450cca0b8f45c298 parent 95ba9fb06be4a8714c98df6097eab1808c72fa98 author Russell King Wed, 04 Jan 2006 15:52:45 +0000 committer Russell King Wed, 04 Jan 2006 15:52:45 +0000 [ARM] Move DMA exports to be next to each function Signed-off-by: Russell King commit 95ba9fb06be4a8714c98df6097eab1808c72fa98 tree 84282965985a2616041fda08a1dc4286f5edb1dd parent 065909b91581cf2438d901a7811a82af3476bdab author Russell King Wed, 04 Jan 2006 15:51:51 +0000 committer Russell King Wed, 04 Jan 2006 15:51:51 +0000 [ARM] Remove definition of MAX_DMA_CHANNELS to zero Since we now only build arch/arm/kernel/dma.c on machine types which set ISA_DMA_API, we don't need to define MAX_DMA_CHANNELS to 0 to indicate this - this definition becomes superfluous. Remove it. Signed-off-by: Russell King commit 065909b91581cf2438d901a7811a82af3476bdab tree a6fabd1ff672791c0f83332a55b85a94736b1de6 parent d4c6fc9976dd70a27abc988ddbd6a746c1dba0a7 author Russell King Wed, 04 Jan 2006 15:44:16 +0000 committer Russell King Wed, 04 Jan 2006 15:44:16 +0000 [ARM] Refine selection of ISA_DMA_API and generic dma.c code ISA_DMA_API tells the rest of the kernel if the ISA DMA API is available. Select this symbol only on machine types which make use of the ISA DMA API. Make building of arch/arm/kernel/dma.c depend on this symbol - if a machine does not support the ISA DMA API, it's pointless building this file. Signed-off-by: Russell King commit d4c6fc9976dd70a27abc988ddbd6a746c1dba0a7 tree c524fa0d4ec0679ff899a67455f161753ffa01d9 parent 6842b9299272a9471a7e94e046b953f6ffe3db9d author Russell King Wed, 04 Jan 2006 15:30:48 +0000 committer Russell King Wed, 04 Jan 2006 15:30:48 +0000 [ARM] Move common definition of MAX_DMA_ADDRESS to asm/dma.h Signed-off-by: Russell King commit 6842b9299272a9471a7e94e046b953f6ffe3db9d tree c24433e5f574b7fa70b9f01cbea01544631c6517 parent 7cdad482974792419cfe4b0affca689170116f49 author Russell King Wed, 04 Jan 2006 15:17:08 +0000 committer Russell King Wed, 04 Jan 2006 15:17:08 +0000 [ARM] Use core_initcall() to initialise ARM DMA There's no need to have DMA initialised at the same time as interrupts. Move it to a core_initcall(). Signed-off-by: Russell King commit 7cdad482974792419cfe4b0affca689170116f49 tree f9ee204f8848274ffb3323f425ad039cf4807de6 parent 333c9624b728a9e83b741ea75836aa114ec35272 author Russell King Wed, 04 Jan 2006 15:08:30 +0000 committer Russell King Wed, 04 Jan 2006 15:08:30 +0000 [ARM] Remove '__address' from scatterlist and convert to DMA API The old __address element in struct scatterlist remained from older kernels because the ARM DMA emulation code made use of it. Move this field into struct dma_struct, and convert DMA emulation code to setup a SG entry as required. Also, convert DMA emulation code to use the new DMA API rather than the PCI DMA API. Signed-off-by: Russell King commit 333c9624b728a9e83b741ea75836aa114ec35272 tree 607fa3d2d2aa3d2cc3e4c4ebacdf8e7d7b59c565 parent 109a9378807cb9093a88fbf9707420de97601e14 author Russell King Wed, 04 Jan 2006 14:41:29 +0000 committer Russell King Wed, 04 Jan 2006 14:41:29 +0000 [ARM] Move ISA DMA bus_to_virt() out of set_dma_addr() Allow the compiler to optimise the bus_to_virt(virt_to_bus()) transformation in the ARM ISA DMA interface. Signed-off-by: Russell King commit 109a9378807cb9093a88fbf9707420de97601e14 tree 08c642b8b5fcfca8d3bc925481c5a8f6d7508904 parent a8d3584a2df28827094f6338cde1303c467bc1f0 author Russell King Wed, 04 Jan 2006 14:06:31 +0000 committer Russell King Wed, 04 Jan 2006 14:06:31 +0000 [ARM] Remove unused dma.c files CLPS711x, EPXA10DB and Integrator contained a dma.c file which has never been built. Remove these redundant files. Signed-off-by: Russell King commit ce11a161c11868f268964274edc7a26a3e063e08 tree db372e9c1a551fc64ac5b13a9eefa9d477f98a76 parent 21500bb32acd4c34b50e5d985712e29792c1b9ad author Russell King Wed, 04 Jan 2006 12:40:39 +0000 committer Russell King Wed, 04 Jan 2006 12:40:39 +0000 [MMC] Fix missing ',' Signed-off-by: Russell King commit c6f43290ae687c11cdcd150d8bfeb57ec29cfa5b tree ca3a4bee38a2ce694f30f08cda3b91daa7ddfa4b parent 676338a1623ee9b60a6efb19ef8f743ab3b2eecb author Jaroslav Kysela Wed, 04 Jan 2006 10:26:16 +0100 committer Jaroslav Kysela Wed, 04 Jan 2006 10:26:30 +0100 [ALSA] ad1889 - remove CVS ID from the driver identification Signed-off-by: Jaroslav Kysela commit 676338a1623ee9b60a6efb19ef8f743ab3b2eecb tree 353750772b10adbfa8eed9a09fea94b72f8f55ad parent 3e23c658833f135508127c955d40d7c9387f71dd author Takashi Iwai Tue, 03 Jan 2006 19:56:55 +0100 committer Jaroslav Kysela Wed, 04 Jan 2006 10:13:52 +0100 [ALSA] opl3 - Fix the unreleased resources Modules: OPL3 Fix the unreleased resources in the error path of snd_opl3_create(). Signed-off-by: Takashi Iwai commit 3e23c658833f135508127c955d40d7c9387f71dd tree 846afbfa16ad9ea004495260e28bc92224c1f610 parent 2ad5dd8dc31137a050f205525a5cd1a4be76c3f1 author Takashi Iwai Tue, 03 Jan 2006 19:54:44 +0100 committer Jaroslav Kysela Wed, 04 Jan 2006 10:13:48 +0100 [ALSA] Revert the nested-device patch Modules: ALSA Core Revert the nested-device patch to keep the compatibility with the current HAL configuration. Signed-off-by: Takashi Iwai commit 2ad5dd8dc31137a050f205525a5cd1a4be76c3f1 tree 4c43e055906048435be05e6483b2f9d6e032a0d4 parent 7790db18be736c87b0cdfa8da8aca11627fc5e54 author Jaroslav Kysela Tue, 03 Jan 2006 14:27:21 +0100 committer Jaroslav Kysela Wed, 04 Jan 2006 10:13:46 +0100 [ALSA] dummy driver - added CA0106 emulation defines Modules: Generic drivers Signed-off-by: Jaroslav Kysela commit 7790db18be736c87b0cdfa8da8aca11627fc5e54 tree 4d038004d523a1425ed227be146e4b4ae801d522 parent be9b7e8c02a5f864e29b17f6d86abcde258ef2fa author Jaroslav Kysela Wed, 04 Jan 2006 10:13:22 +0100 committer Jaroslav Kysela Wed, 04 Jan 2006 10:13:22 +0100 [ALSA] version 1.0.11rc2 commit f190055ff5c08a877d3e1ac2e0300fd92c264b06 tree 322e5309316ce619cb354c517186b35019026cbc parent 80e40daa4797a156781d1594642b654eb1c461df author Arnaldo Carvalho de Melo Wed, 04 Jan 2006 02:02:20 -0200 committer Arnaldo Carvalho de Melo Wed, 04 Jan 2006 02:02:20 -0200 [IPVS]: Add missing include CC [M] net/ipv4/ipvs/ip_vs_conn.o /pub/scm/linux/kernel/git/acme/net-2.6/net/ipv4/ipvs/ip_vs_conn.c: In function 'ip_vs_conn_new': /pub/scm/linux/kernel/git/acme/net-2.6/net/ipv4/ipvs/ip_vs_conn.c:606: warning: implicit declaration of function 'net_ratelimit' /pub/scm/linux/kernel/git/acme/net-2.6/net/ipv4/ipvs/ip_vs_conn.c: In function 'ip_vs_random_dropentry': /pub/scm/linux/kernel/git/acme/net-2.6/net/ipv4/ipvs/ip_vs_conn.c:810: warning: implicit declaration of function 'net_random' Signed-off-by: Arnaldo Carvalho de Melo commit 80e40daa4797a156781d1594642b654eb1c461df tree 31a9a37e00b690edf3e54d61393e364f203549c3 parent e4dfd449c80a41bb615b23d0fc198ba08360a1f8 author Arnaldo Carvalho de Melo Wed, 04 Jan 2006 01:58:06 -0200 committer Arnaldo Carvalho de Melo Wed, 04 Jan 2006 01:58:06 -0200 [TCP]: syn_flood_warning is only needed if CONFIG_SYN_COOKIES is selected CC net/ipv4/tcp_ipv4.o /pub/scm/linux/kernel/git/acme/net-2.6/net/ipv4/tcp_ipv4.c:665: warning: 'syn_flood_warning' defined but not used Signed-off-by: Arnaldo Carvalho de Melo commit e4dfd449c80a41bb615b23d0fc198ba08360a1f8 tree cf5ca5bb82cc5e7ef01a368bf6b86029266bc146 parent 6742bbcbb8a0959e1dff0ce055768e3217d9967a author Arnaldo Carvalho de Melo Wed, 04 Jan 2006 01:46:34 -0200 committer Arnaldo Carvalho de Melo Wed, 04 Jan 2006 01:46:34 -0200 [DCCP] ackvec: use u8 for the buf offsets Signed-off-by: Arnaldo Carvalho de Melo commit 6742bbcbb8a0959e1dff0ce055768e3217d9967a tree 999897434bf2f6e7ad905f28949bed30ae76e279 parent 40efc6fa179f440a008333ea98f701bc35a1f97f author Andrea Bittau Wed, 04 Jan 2006 01:45:17 -0200 committer Arnaldo Carvalho de Melo Wed, 04 Jan 2006 01:45:17 -0200 [DCCP] ackvec: Fix spelling of "throw" Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo commit 40efc6fa179f440a008333ea98f701bc35a1f97f tree ef087df36868362c0238a0aa4373532622e49068 parent 3c19065a1e2c862becc576bc65e54f2bc1cbffe6 author Stephen Hemminger Tue, 03 Jan 2006 16:03:49 -0800 committer David S. Miller Tue, 03 Jan 2006 16:03:49 -0800 [TCP]: less inline's TCP inline usage cleanup: * get rid of inline in several places * replace __inline__ with inline where possible * move functions used in one file out of tcp.h * let compiler decide on used once cases On x86_64: text data bss dec hex filename 3594701 648348 567400 4810449 4966d1 vmlinux.orig 3593133 648580 567400 4809113 496199 vmlinux On sparc64: text data bss dec hex filename 2538278 406152 530392 3474822 350586 vmlinux.ORIG 2536382 406384 530392 3473158 34ff06 vmlinux Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 3c19065a1e2c862becc576bc65e54f2bc1cbffe6 tree ffea801487e7bb870fad3ef3dbd4605193acd5d4 parent 88df8ef59a3eb54b1e2412765ff2736d2376d1ca author Stephen Hemminger Tue, 03 Jan 2006 15:27:38 -0800 committer David S. Miller Tue, 03 Jan 2006 15:27:38 -0800 [IEEE80211] ipw2200: Simplify multicast checks. From: Stephen Hemminger is_multicast_ether_addr() accepts broadcast too, so the is_broadcast_ether_addr() calls are redundant. Signed-off-by: David S. Miller commit 88df8ef59a3eb54b1e2412765ff2736d2376d1ca tree 3180783ee0ac9d32271725a6c9c4dcf69eabf717 parent cd8787ab04d23f925f440b712b43a6fd5cb31ece author Stephen Hemminger Tue, 03 Jan 2006 15:25:45 -0800 committer David S. Miller Tue, 03 Jan 2006 15:25:45 -0800 [NET]: Don't exclude broadcast addresses from is_multicast_ether_addr() The check for multicast shouldn't exclude broadcast type addresses. This reverts the incorrect change done in 2.6.13. The broadcast address is a multicast address and should be excluded from being a valid_ether_address for use in bridging or device address. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 21500bb32acd4c34b50e5d985712e29792c1b9ad tree 5100546631aad4116835634b846979550deaf1a7 parent 63648fb5c0173614064e329503cc75c907dcb1a1 author Dmitry Torokhov Tue, 03 Jan 2006 22:57:35 +0000 committer Russell King Tue, 03 Jan 2006 22:57:35 +0000 [MMC] wbsd: convert to the new platfrom device interface platform_device_register_simple() is going away, switch to using platfrom_device_alloc() + platform_device_add(). Also make sure that wbsd_driver gets unregistered when wbsd_init fails. Signed-off-by: Dmitry Torokhov Acked-by: Pierre Ossman commit 63648fb5c0173614064e329503cc75c907dcb1a1 tree 35bed8ecc7aefbc19fedac3447bce0f8a8bbf40b parent a6f6c96b65d7f65a7a7bf5cbe874eda182a6b2cc author Dmitry Torokhov Tue, 03 Jan 2006 22:56:56 +0000 committer Russell King Tue, 03 Jan 2006 22:56:56 +0000 [MMC] wbsd: make use of ARRAY_SIZE() macro Signed-off-by: Dmitry Torokhov Acked-by: Pierre Ossman commit a6f6c96b65d7f65a7a7bf5cbe874eda182a6b2cc tree 5f3bd4dc24866f2b0e593b1457b1f22ec641139b parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Russell King Tue, 03 Jan 2006 22:38:44 +0000 committer Russell King Tue, 03 Jan 2006 22:38:44 +0000 [MMC] Improve MMC card block size selection Select a block size for IO based on the read and write block size combinations, and whether the card supports partial block reads and/or partial block writes. If we are able to satisfy block reads but not block writes, mark the device read only. Signed-off-by: Russell King commit cd8787ab04d23f925f440b712b43a6fd5cb31ece tree c7ac4e77c3997cf908096cc26e559eb5ff4dec1e parent 554c9a8ec37729bff69951cb740074abbae21afa author Stephen Hemminger Tue, 03 Jan 2006 14:38:34 -0800 committer David S. Miller Tue, 03 Jan 2006 14:38:34 -0800 [IPV4] fib_trie: build fix Need this to fix build of fib_trie in net-2.6.16 (rebased) tree. The code needs the new inet_make_mask inline. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 554c9a8ec37729bff69951cb740074abbae21afa tree f327e7dfc005da2d6792896525f5269308503e0b parent e84a9f5e9cd2b229dda24002334bc3cd36c1109d author Stephen Hemminger Tue, 03 Jan 2006 14:35:54 -0800 committer David S. Miller Tue, 03 Jan 2006 14:35:54 -0800 [BRIDGE]: Fix faulty check in br_stp_recalculate_bridge_id() One of the conversions from memcmp to compare_ether_addr is incorrect. We need to do relative comparison to determine min MAC address to use in bridge id. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit e84a9f5e9cd2b229dda24002334bc3cd36c1109d tree 4b4f51efb168618f507ce89645e4cb7d443e3742 parent 9e377202d2c968dde8efd6121d94c7f0a77787aa author Andrea Bittau Tue, 03 Jan 2006 14:26:15 -0800 committer David S. Miller Tue, 03 Jan 2006 14:26:15 -0800 [DCCP]: Notify CCID only after ACK vectors have been processed. The CCID should be notified of packet reception only when a packet is valid. Therefore, the ACK vector needs to be processed before notifying the CCID. Also, the CCID might need information provided by the ACK vector. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 9e377202d2c968dde8efd6121d94c7f0a77787aa tree e52e9cbd49a99bcbac5bb4831b12bd5b1cb23f18 parent 709dd3aaf5304993083c2297c73f5531c36fba5a author Andrea Bittau Tue, 03 Jan 2006 14:25:49 -0800 committer David S. Miller Tue, 03 Jan 2006 14:25:49 -0800 [DCCP]: Send an ACK vector when ACKing a response packet If ACK vectors are used, each packet with an ACK should contain an ACK vector. The only exception currently is response packets. It probably is not a good idea to store ACK vector state before the connection is completed (to help protect from syn floods). Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 709dd3aaf5304993083c2297c73f5531c36fba5a tree 8e6929b88040fb9acb92c3bfe1c45f210ad8e659 parent 5062430c5cc526655e3d10c670fc9c263656f66c author Andrea Bittau Tue, 03 Jan 2006 14:25:17 -0800 committer David S. Miller Tue, 03 Jan 2006 14:25:17 -0800 [DCCP]: Do not process a packet twice when it's not in state DCCP_OPEN. When packets are received, the connection is either in DCCP_OPEN [fast-path] or it isn't. If it's not [e.g. DCCP_PARTOPEN] upper layers will perform sanity checks and parse options. If it is in DCCP_OPEN, dccp_rcv_established() will do it. It is important not to re-parse options in dccp_rcv_established() when it is not called from the fast-path. Else, fore example, the ack vector will be added twice and the CCID will see the packet twice. The solution is to always enfore sanity checks from the upper layers. When packets arrive in the fast-path, sanity checks will be performed before calling dccp_rcv_established(). Note(acme): I rewrote the patch to achieve the same result but keeping dccp_rcv_established with the previous semantics and having it split into __dccp_rcv_established, that doesn't does do any sanity check, code in state != DCCP_OPEN use this lighter version as they already do the sanity checks. Signed-off-by: Andrea Bittau Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 5062430c5cc526655e3d10c670fc9c263656f66c tree 6e68b3077a5fcf2a5d9a896223585f8c9d45204b parent 4b5bdf5cc3695dc5caba011b9c616b40e6299638 author Patrick Caulfield Tue, 03 Jan 2006 14:24:02 -0800 committer David S. Miller Tue, 03 Jan 2006 14:24:02 -0800 [DECNET]: Only use local routers The attached patch makes DECnet routing only use routers from the same area - rather than the highest rated router seen. In theory there should not be an out-of-area router on a local network but some networks are bridged rather than properly routed. VMS seems to behave similarly: if I bring up a VMS node with no router then it can't see anything else on the global network. Signed-off-by: Patrick Caulfield Signed-off-by: David S. Miller commit 4b5bdf5cc3695dc5caba011b9c616b40e6299638 tree 898ccc98f7501c08cd8153621137045143775c7e parent fd30333d0fab9e870af89e112454996c188655e9 author Roberto Nibali Tue, 03 Jan 2006 14:22:59 -0800 committer David S. Miller Tue, 03 Jan 2006 14:22:59 -0800 [IPVS]: Cleanup IP_VS_DBG statements. From: Roberto Nibali The attached patch (against current -GIT) is a cleanup patch which does following: o lookup debug messages shifted back to 9 o added more informational value to flags and refcnt since those entries can be in multiple referenced structures o cleanup 80 char violation It's the prepatch to the session pool implementation and helps very much to debug and monitor important variables and structures regarding the threshold limitation and persistency without the thousands of lookup messages which noone is interested in. Signed-off-by: Horms Signed-off-by: David S. Miller commit fd30333d0fab9e870af89e112454996c188655e9 tree 881b51d7039d5c513729a6179110f31091b2c99a parent b5e5fa5e093e42cab4ee3d6dcbc4f450ad29a723 author Alexey Dobriyan Tue, 03 Jan 2006 14:19:25 -0800 committer David S. Miller Tue, 03 Jan 2006 14:19:25 -0800 [TG3]: fixup tot_len calculation Turning struct iphdr::tot_len into __be16 added sparse warning. Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller commit b5e5fa5e093e42cab4ee3d6dcbc4f450ad29a723 tree 7a87804b0953f22de43054ccc7ae67ebc5b66b20 parent 5ff7630e4aa6c3969094dc30ff1cdaa6f52b0ed0 author Christoph Hellwig Tue, 03 Jan 2006 14:18:33 -0800 committer David S. Miller Tue, 03 Jan 2006 14:18:33 -0800 [NET]: Add a dev_ioctl() fallback to sock_ioctl() Currently all network protocols need to call dev_ioctl as the default fallback in their ioctl implementations. This patch adds a fallback to dev_ioctl to sock_ioctl if the protocol returned -ENOIOCTLCMD. This way all the procotol ioctl handlers can be simplified and we don't need to export dev_ioctl. Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit 5ff7630e4aa6c3969094dc30ff1cdaa6f52b0ed0 tree a7905ac237dae4d9cf9f155a0aea33d904f67e96 parent b461d2f2188c1c578ed651e4cdf608be7a993cd4 author Christoph Hellwig Tue, 03 Jan 2006 14:14:46 -0800 committer David S. Miller Tue, 03 Jan 2006 14:14:46 -0800 [NETROM]: Remove unessecary lock_sock calls in netrom_ioctl() lock_sock is needed only in very few cases, so do it there instead of around the switch statement. Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit b461d2f2188c1c578ed651e4cdf608be7a993cd4 tree 0a53ece878f2f5e3accdf45cdc76bdd1b2ef62f5 parent fd19f329a32bdc4eb07885e0b3889567cfe00aa7 author Per Liden Tue, 03 Jan 2006 14:13:29 -0800 committer David S. Miller Tue, 03 Jan 2006 14:13:29 -0800 [NETLINK] genetlink: fix cmd type in genl_ops to be consistent to u8 Signed-off-by: Per Liden ACKed-by: Jamal Hadi Salim Signed-off-by: David S. Miller commit fd19f329a32bdc4eb07885e0b3889567cfe00aa7 tree c69943e8294cae13df6af3dc8b8c25abab8c9cfb parent 4947d3ef8de7b4f42aed6ea9ba689dc8fb45b5a5 author Benjamin LaHaise Tue, 03 Jan 2006 14:10:46 -0800 committer David S. Miller Tue, 03 Jan 2006 14:10:46 -0800 [AF_UNIX]: Convert to use a spinlock instead of rwlock From: Benjamin LaHaise In af_unix, a rwlock is used to protect internal state. At least on my P4 with HT it is faster to use a spinlock due to the simpler memory barrier used to unlock. This patch raises bw_unix to ~690K/s. Signed-off-by: David S. Miller commit 4947d3ef8de7b4f42aed6ea9ba689dc8fb45b5a5 tree a4e77f0271702e4ff34a7a9e0c9598a3807204ee parent 17ba15fb6264f27374bc87f4c3f8519b80289d85 author Benjamin LaHaise Tue, 03 Jan 2006 14:06:50 -0800 committer David S. Miller Tue, 03 Jan 2006 14:06:50 -0800 [NET]: Speed up __alloc_skb() From: Benjamin LaHaise In __alloc_skb(), the use of skb_shinfo() which casts a u8 * to the shared info structure results in gcc being forced to do a reload of the pointer since it has no information on possible aliasing. Fix this by using a pointer to refer to skb_shared_info. By initializing skb_shared_info sequentially, the write combining buffers can reduce the number of memory transactions to a single write. Reorder the initialization in __alloc_skb() to match the structure definition. There is also an alignment issue on 64 bit systems with skb_shared_info by converting nr_frags to a short everything packs up nicely. Also, pass the slab cache pointer according to the fclone flag instead of using two almost identical function calls. This raises bw_unix performance up to a peak of 707KB/s when combined with the spinlock patch. It should help other networking protocols, too. Signed-off-by: David S. Miller commit 17ba15fb6264f27374bc87f4c3f8519b80289d85 tree 3134abef98d88aa029aa7faa72d8a41686644e99 parent 8639a11e23d9eb0a6ceac2feed27acdfbb158f95 author David S. Miller Tue, 27 Dec 2005 20:57:40 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:23 -0800 [PPPOX]: Fix assignment into const proto_ops. And actually, with this, the whole pppox layer can basically be removed and subsumed into pppoe.c, no other pppox sub-protocol implementation exists and we've had this thing for at least 4 years. Signed-off-by: David S. Miller commit 8639a11e23d9eb0a6ceac2feed27acdfbb158f95 tree 14895d8e71a0561b46da04421f55364a52e46b35 parent 14c850212ed8f8cbb5972ad6b8812e08a0bc901c author Arnaldo Carvalho de Melo Tue, 27 Dec 2005 15:17:57 -0200 committer David S. Miller Tue, 03 Jan 2006 13:11:22 -0800 [TCP]: Don't use __constant_htonl for a non const arg Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 14c850212ed8f8cbb5972ad6b8812e08a0bc901c tree 53c88f03e7bbac4064f6e80d462ad484ee038326 parent 25995ff577675b58dbd848b7758e7bad87411947 author Arnaldo Carvalho de Melo Tue, 27 Dec 2005 02:43:12 -0200 committer David S. Miller Tue, 03 Jan 2006 13:11:21 -0800 [INET_SOCK]: Move struct inet_sock & helper functions to net/inet_sock.h To help in reducing the number of include dependencies, several files were touched as they were getting needed headers indirectly for stuff they use. Thanks also to Alan Menegotto for pointing out that net/dccp/proto.c had linux/dccp.h include twice. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 25995ff577675b58dbd848b7758e7bad87411947 tree 4d47595b01f8645552fa8af7b2be2019f133fefb parent ce1d4d3e88b3a69d23c3feb436a0b36b6ca0642b author Arnaldo Carvalho de Melo Tue, 27 Dec 2005 02:42:22 -0200 committer David S. Miller Tue, 03 Jan 2006 13:11:19 -0800 [SOCK]: Introduce sk_receive_skb Its common enough to to justify that, TCP still can't use it as it has the prequeueing stuff, still to be made generic in the not so distant future :-) Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit ce1d4d3e88b3a69d23c3feb436a0b36b6ca0642b tree 6bec428bddf30c88155d2523fc82a05f8e6876a6 parent cbeb321a64af5437fbde249605b191ff0fdfa21c author Christoph Hellwig Thu, 22 Dec 2005 21:08:46 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:18 -0800 [NET]: restructure sock_aio_{read,write} / sock_{readv,writev} Mid-term I plan to restructure the file_operations so that we don't need to have all these duplicate aio and vectored versions. This patch is a small step in that direction but also a worthwile cleanup on it's own: (1) introduce a alloc_sock_iocb helper that encapsulates allocating a proper sock_iocb (2) add do_sock_read and do_sock_write helpers for common read/write code Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller commit cbeb321a64af5437fbde249605b191ff0fdfa21c tree 15a0c109583ee1aeee00bae7086324be03c63f48 parent f34fbb971368c20f757f8758833a534590b16518 author David S. Miller Thu, 22 Dec 2005 12:58:55 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:17 -0800 [NET]: Fix sock_init() return value. It needs to return zero now that it is an initcall. Also, net/nonet.c no longer needs a dummy sock_init(). Signed-off-by: David S. Miller commit f34fbb971368c20f757f8758833a534590b16518 tree 97762c7bec22dd48cdea39f0a43bdadf663b509e parent 90ddc4f0470427df306f308ad03db6b6b21644b8 author Jaco Kroon Thu, 22 Dec 2005 12:51:46 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:16 -0800 [PKTGEN]: Deinitialise static variables. static variables should not be explicitly initialised to 0. This causes them to be placed in .data instead of .bss. This patch de-initialises 3 static variables in net/core/pktgen.c. There are approximately 800 more such variables in the source tree (2.6.15rc5). If there is more interrest I'd be willing to track down the rest of these as well and de-initialise them as well. Signed-off-by: David S. Miller commit 90ddc4f0470427df306f308ad03db6b6b21644b8 tree f97c1d57b25585394ebbd4b42b8d42a339f98644 parent 77d76ea310b50a9c8ff15bd290fcb4ed4961adf2 author Eric Dumazet Thu, 22 Dec 2005 12:49:22 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:15 -0800 [NET]: move struct proto_ops to const I noticed that some of 'struct proto_ops' used in the kernel may share a cache line used by locks or other heavily modified data. (default linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at least) This patch makes sure a 'struct proto_ops' can be declared as const, so that all cpus can share all parts of it without false sharing. This is not mandatory : a driver can still use a read/write structure if it needs to (and eventually a __read_mostly) I made a global stubstitute to change all existing occurences to make them const. This should reduce the possibility of false sharing on SMP, and speedup some socket system calls. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller commit 77d76ea310b50a9c8ff15bd290fcb4ed4961adf2 tree 7d6e8b2426d4b3debe5ddf838ab2a2ef13f1b106 parent 7708610b1bff4a0ba8a73733d3c7c4bda9f94b21 author Andi Kleen Thu, 22 Dec 2005 12:43:42 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:14 -0800 [NET]: Small cleanup to socket initialization sock_init can be done as a core_initcall instead of calling it directly in init/main.c Also I removed an out of date #ifdef. Signed-off-by: Andi Kleen Signed-off-by: David S. Miller commit 7708610b1bff4a0ba8a73733d3c7c4bda9f94b21 tree 5594f507d721be8de0ec17a7a2c3b473e1e45c15 parent 52ccb8e90c0ace233b8b740f2fc5de0dbd706b27 author Frank Filz Thu, 22 Dec 2005 11:37:30 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:13 -0800 [SCTP]: Add support for SCTP_DELAYED_ACK_TIME socket option. Signed-off-by: Frank Filz Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit 52ccb8e90c0ace233b8b740f2fc5de0dbd706b27 tree d2c06dd7b26e70c8dccf31971508005fdc82cbb2 parent fd9662555cc35f8bf9242cd7bba8b44ae168a68b author Frank Filz Thu, 22 Dec 2005 11:36:46 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:11 -0800 [SCTP]: Update SCTP_PEER_ADDR_PARAMS socket option to the latest api draft. This patch adds support to set/get heartbeat interval, maximum number of retransmissions, pathmtu, sackdelay time for a particular transport/ association/socket as per the latest SCTP sockets api draft11. Signed-off-by: Frank Filz Signed-off-by: Sridhar Samudrala Signed-off-by: David S. Miller commit fd9662555cc35f8bf9242cd7bba8b44ae168a68b tree 0896bb30e93c5cae3d5496eb3df43bd64c4d0038 parent 9eb2d627190a8afe4b9276b24615a9559504fa60 author Robert Olsson Thu, 22 Dec 2005 11:25:10 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:10 -0800 [IPV4] fib_trie: Add credits. Signed-off-by: Robert Olsson Signed-off-by: David S. Miller commit 9eb2d627190a8afe4b9276b24615a9559504fa60 tree 39479e9d761e53462bd05f979d0ced132bbfcb0a parent 89b3d9aaf46791177c5a5fa07a3ed38a035b5ef5 author Stephen Hemminger Wed, 21 Dec 2005 19:32:36 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:09 -0800 [TCP] cubic: use Newton-Raphson Replace cube root algorithim with a faster version using Newton-Raphson. Surprisingly, doing the scaled div64_64 is faster than a true 64 bit division on 64 bit CPU's. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 89b3d9aaf46791177c5a5fa07a3ed38a035b5ef5 tree 161c94fe1060d267de87a6cee04e6dc7838f2816 parent 90933fc8ba5cc9034e3c04ee19938a22b0b4fe4e author Stephen Hemminger Wed, 21 Dec 2005 19:32:08 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:08 -0800 [TCP] cubic: precompute constants Revised version of patch to pre-compute values for TCP cubic. * d32,d64 replaced with descriptive names * cube_factor replaces srtt[scaled by count] / HZ * ((1 << (10+2*BICTCP_HZ)) / bic_scale) * beta_scale replaces 8*(BICTCP_BETA_SCALE+beta)/3/(BICTCP_BETA_SCALE-beta); Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 90933fc8ba5cc9034e3c04ee19938a22b0b4fe4e tree e42a78d253b375025cf73efe0f582d2722619397 parent 3821af2fe13700cab6fd67367128fa180e43f8b8 author Stephen Hemminger Wed, 21 Dec 2005 19:31:36 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:07 -0800 [FLS64]: x86_64 version Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 3821af2fe13700cab6fd67367128fa180e43f8b8 tree a70f63c24bd7d2ac8b25e3e4ee0ef6a50847aa67 parent c865e5d99e25a171e8262fc0f7ba608568633c64 author Stephen Hemminger Wed, 21 Dec 2005 19:30:53 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:06 -0800 [FLS64]: generic version Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit c865e5d99e25a171e8262fc0f7ba608568633c64 tree 5d8cd6a5a4623d3497f2eb0c14e80511f5b2ef73 parent 8cbb512e50fb702b5b1d444f76ebcdb53577b2ec author Stephen Hemminger Wed, 21 Dec 2005 19:03:44 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:05 -0800 [PKT_SCHED] netem: packet corruption option Here is a new feature for netem in 2.6.16. It adds the ability to randomly corrupt packets with netem. A version was done by Hagen Paul Pfeifer, but I redid it to handle the cases of backwards compatibility with netlink interface and presence of hardware checksum offload. It is useful for testing hardware offload in devices. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 8cbb512e50fb702b5b1d444f76ebcdb53577b2ec tree 749abb8677bd19d56b7f4cf8dd34c41250b1b4e3 parent edb5e46fc03d0a45f2b41e3717631f7af7e9fc19 author Stephen Hemminger Wed, 21 Dec 2005 19:01:30 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:04 -0800 [BRIDGE]: add version number Add version info to bridge module. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit edb5e46fc03d0a45f2b41e3717631f7af7e9fc19 tree ede6a4e9dcdf52ff48ea2a11ac0188822b097715 parent 0e5eabac4995e128f06b90df64b93604625de6de author Stephen Hemminger Wed, 21 Dec 2005 19:00:58 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:03 -0800 [BRIDGE]: limited ethtool support Add limited ethtool support to bridge to allow disabling features. Note: if underlying device does not support a feature (like checksum offload), then the bridge device won't inherit it. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 0e5eabac4995e128f06b90df64b93604625de6de tree 1c01b11f47943eadac79a5a0ba6d15f2bb98f24c parent 4433f420e57afae0ab308b1e2b979f09c86bc115 author Stephen Hemminger Wed, 21 Dec 2005 19:00:18 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:02 -0800 [BRIDGE]: filter packets in learning state While in the learning state, run filters but drop the result. This prevents us from acquiring bad fdb entries in learning state. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 4433f420e57afae0ab308b1e2b979f09c86bc115 tree 3481cdce9a8ba28ba8ad26d0ed49151c1d08f4b7 parent 4505a3ef720845b5db3ddb440de13cd4800fd508 author Stephen Hemminger Tue, 20 Dec 2005 15:19:51 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:01 -0800 [BRIDGE]: handle speed detection after carrier changes Speed of a interface may not be available until carrier is detected in the case of autonegotiation. To get the correct value we need to recheck speed after carrier event. But the check needs to be done in a context that is similar to normal ethtool interface (can sleep). Also, delay check for 1ms to try avoid any carrier bounce transitions. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 4505a3ef720845b5db3ddb440de13cd4800fd508 tree 2de3d2fb20d160dc1a04bdb0295882561e4244bc parent fbe9cc4a87030d5cad5f944ffaef6af7efd119e4 author Stephen Hemminger Wed, 21 Dec 2005 18:51:49 -0800 committer David S. Miller Tue, 03 Jan 2006 13:11:00 -0800 [BRIDGE]: allow setting hardware address of bridge pseudo-dev Some people are using bridging to hide multiple machines from an ISP that restricts by MAC address. So in that case allow the bridge mac address to be set to any of the existing interfaces. I don't want to allow any arbitrary value and confuse STP. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit fbe9cc4a87030d5cad5f944ffaef6af7efd119e4 tree f4e9ce6608e1b8b7e160e44e68853a2b6e5e84d5 parent d83d8461f902c672bc1bd8fbc6a94e19f092da97 author David S. Miller Tue, 13 Dec 2005 23:26:29 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:59 -0800 [AF_UNIX]: Use spinlock for unix_table_lock This lock is actually taken mostly as a writer, so using a rwlock actually just makes performance worse especially on chips like the Intel P4. Signed-off-by: David S. Miller commit d83d8461f902c672bc1bd8fbc6a94e19f092da97 tree 0534c553ab92baa2eb9dbb5bba64f2c4540b1e89 parent 22712813620fa8e682dbfb253a60ca0131da1e07 author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:26:10 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:58 -0800 [IP_SOCKGLUE]: Remove most of the tcp specific calls As DCCP needs to be called in the same spots. Now we have a member in inet_sock (is_icsk), set at sock creation time from struct inet_protosw->flags (if INET_PROTOSW_ICSK is set, like for TCP and DCCP) to see if a struct sock instance is a inet_connection_sock for places like the ones in ip_sockglue.c (v4 and v6) where we previously were looking if sk_type was SOCK_STREAM, that is insufficient because we now use the same code for DCCP, that has sk_type SOCK_DCCP. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 22712813620fa8e682dbfb253a60ca0131da1e07 tree d3ed724002ecb7f028666d7fafbfc4fb96297182 parent d8313f5ca2b1f86b7df6c99fc4b3fffa1f84e92b author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:25:56 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:57 -0800 [TCP]: Move the TCPF_ enum to tcp_states.h Upcoming patches will make, for instance, ip_sockglue.c need just this enum and not all of tcp.h. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit d8313f5ca2b1f86b7df6c99fc4b3fffa1f84e92b tree 1ee41d265c7790e4389bf4d123b2b60975ad2967 parent a7f5e7f164788a22eb5d3de8e2d3cee1bf58fdca author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:25:44 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:56 -0800 [INET6]: Generalise tcp_v6_hash_connect Renaming it to inet6_hash_connect, making it possible to ditch dccp_v6_hash_connect and share the same code with TCP instead. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit a7f5e7f164788a22eb5d3de8e2d3cee1bf58fdca tree 809ed01d61aa9548124b9958a5a500068b1db670 parent 6d6ee43e0b8b8d4847627fd43739b98ec2b9404f author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:25:31 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:55 -0800 [INET]: Generalise tcp_v4_hash_connect Renaming it to inet_hash_connect, making it possible to ditch dccp_v4_hash_connect and share the same code with TCP instead. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 6d6ee43e0b8b8d4847627fd43739b98ec2b9404f tree a2a66381d2351610c81362bf218e743f6ccf56ef parent fc44b9805324c0ad2733ea2feea9935cc056709d author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:25:19 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:54 -0800 [TWSK]: Introduce struct timewait_sock_ops So that we can share several timewait sockets related functions and make the timewait mini sockets infrastructure closer to the request mini sockets one. Next changesets will take advantage of this, moving more code out of TCP and DCCP v4 and v6 to common infrastructure. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit fc44b9805324c0ad2733ea2feea9935cc056709d tree 6ba01edabb2d4bf49ee52fc7a7c32bddc36a79f2 parent 3df80d9320bcaea72b1b4761a319c79cb3fdaf5f author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:25:06 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:53 -0800 [DCCP]: Use reqsk_free in dccp_v4_conn_request Now we have the destructor (dccp_v4_reqsk_destructor) in our request_sock_ops vtable. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 3df80d9320bcaea72b1b4761a319c79cb3fdaf5f tree 20ca32dc85b1ec211c6bb91acd325e039bdb496f parent 399c07def62a77678d633f5b3005431423a424a8 author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:24:53 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:52 -0800 [DCCP]: Introduce DCCPv6 Still needs mucho polishing, specially in the checksum code, but works just fine, inet_diag/iproute2 and all 8) Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 399c07def62a77678d633f5b3005431423a424a8 tree 2444dc64ab451366dc81ecdf4c72a57a7d3c5cc0 parent f21e68caa0ddffddf98a1e729e734a470957b6ec author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:24:28 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:51 -0800 [IPV6]: Export ipv6_opt_accepted It was already non-TCP specific, will be used by DCCPv6. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit f21e68caa0ddffddf98a1e729e734a470957b6ec tree 52b372d10cbacd066867ba1c918f48b9fdaad950 parent 34ca6860810342441f801226b19ae6c9e0ecb34f author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:24:16 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:50 -0800 [DCCP]: Prepare the AF agnostic core for the introduction of DCCPv6 Basically exports a similar set of functions as the one exported by the non-AF specific TCP code. In the process moved some non-AF specific code from dccp_v4_connect to dccp_connect_init and moved the checksum verification from dccp_invalid_packet to dccp_v4_rcv, so as to use it in dccp_v6_rcv too. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 34ca6860810342441f801226b19ae6c9e0ecb34f tree 4daae6985e70f28100f2244e73fcd70394f180b9 parent 3cf3dc6c2e05e67b12e522f547c0b71d509a516c author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:23:32 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:49 -0800 [DCCP]: Just rename dccp_v4_prot to dccp_prot To match TCP equivalent. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 3cf3dc6c2e05e67b12e522f547c0b71d509a516c tree 615b39f25e06928962a58aabf27ec8a416806be5 parent 0fa1a53e1f055a6c790f40e7728f42a825b29248 author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:23:20 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:48 -0800 [IPV6]: Export some symbols for DCCPv6 Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 0fa1a53e1f055a6c790f40e7728f42a825b29248 tree 524eb8c8cadf6053faad6c8799c0571dee92c2b1 parent b9750ce13c08aa8a71a9b138d741f3046aefd991 author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:23:09 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:47 -0800 [IPV6]: Introduce inet6_timewait_sock Out of tcp6_timewait_sock, that now is just an aggregation of inet_timewait_sock and inet6_timewait_sock, using tw_ipv6_offset in struct inet_timewait_sock, that is common to the IPv6 transport protocols that use timewait sockets, like DCCP and TCP. tw_ipv6_offset plays the struct inet_sock pinfo6 role, i.e. for the generic code to find the IPv6 area in a timewait sock. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit b9750ce13c08aa8a71a9b138d741f3046aefd991 tree 08b2b842ece908bf63c104bbcb12e8b78c69288d parent 830a1e5c212fb3fdc83b66359c780c3b3a294897 author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:22:54 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:46 -0800 [IPV6]: Generalise some functions Using sk->sk_protocol instead of IPPROTO_TCP. Will be used by DCCPv6 in the next changesets. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 830a1e5c212fb3fdc83b66359c780c3b3a294897 tree 232215af3774d78aa179adb1612bfa5257af181d parent c1cbe4b7ad0bc4b1d98ea708a3fecb7362aa4088 author Benjamin LaHaise Tue, 13 Dec 2005 23:22:32 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:45 -0800 [AF_UNIX]: Remove superfluous reference counting in unix_stream_sendmsg AF_UNIX stream socket performance on P4 CPUs tends to suffer due to a lot of pipeline flushes from atomic operations. The patch below removes the sock_hold() and sock_put() in unix_stream_sendmsg(). This should be safe as the socket still holds a reference to its peer which is only released after the file descriptor's final user invokes unix_release_sock(). The only consideration is that we must add a memory barrier before setting the peer initially. Signed-off-by: Benjamin LaHaise Signed-off-by: David S. Miller commit c1cbe4b7ad0bc4b1d98ea708a3fecb7362aa4088 tree 04ec26c728645dd1da2474b2b883a532b43811ad parent f1f71e03b17db3b9edb0264a8be7719bd5c35582 author Benjamin LaHaise Tue, 13 Dec 2005 23:22:19 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:44 -0800 [NET]: Avoid atomic xchg() for non-error case It also looks like there were 2 places where the test on sk_err was missing from the event wait logic (in sk_stream_wait_connect and sk_stream_wait_memory), while the rest of the sock_error() users look to be doing the right thing. This version of the patch fixes those, and cleans up a few places that were testing ->sk_err directly. Signed-off-by: Benjamin LaHaise Signed-off-by: David S. Miller commit f1f71e03b17db3b9edb0264a8be7719bd5c35582 tree f782baf31e8ea2b14b1b126bd9557c76c56032a5 parent 65a45441d7e91ef6107fadbc55f775db4ba23874 author Roberto Nibali Tue, 13 Dec 2005 23:17:20 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:43 -0800 [IPVS]: remove dead code This patch removes dead code. I don't see the reason to keep this cruft around, besides cluttering the nice and functionally working code. Signed-off-by: Roberto Nibali Signed-off-by: Horms Signed-off-by: David S. Miller commit 65a45441d7e91ef6107fadbc55f775db4ba23874 tree d88c4908321609739e653c10b6d5fbdbeccfd1ea parent 3305b80c214c642b89cd5c21af83bc91ec13f8bd author Stephen Hemminger Tue, 13 Dec 2005 23:17:02 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:42 -0800 [UDP]: udp_checksum_init return value Since udp_checksum_init always returns 0 there is no point in having it return a value. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 3305b80c214c642b89cd5c21af83bc91ec13f8bd tree 909ed75c500d0ac422738781f84a819c933703c5 parent 57cca05af1e20fdc65b55be52c042c234f86c866 author Herbert Xu Tue, 13 Dec 2005 23:16:37 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:41 -0800 [IP]: Simplify and consolidate MSG_PEEK error handling When a packet is obtained from skb_recv_datagram with MSG_PEEK enabled it is left on the socket receive queue. This means that when we detect a checksum error we have to be careful when trying to free the packet as someone could have dequeued it in the time being. Currently this delicate logic is duplicated three times between UDPv4, UDPv6 and RAWv6. This patch moves them into a one place and simplifies the code somewhat. This is based on a suggestion by Eric Dumazet. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 57cca05af1e20fdc65b55be52c042c234f86c866 tree 43b18dca01340861e7ad392c0c2ce398a1c878fd parent af05dc9394feb193d221bc9d4c6db768facb4b40 author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:16:16 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:40 -0800 [DCCP]: Introduce dccp_ipv4_af_ops And make the core DCCP code AF agnostic, just like TCP, now its time to work on net/dccp/ipv6.c, we are close to the end! Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit af05dc9394feb193d221bc9d4c6db768facb4b40 tree 05137311001c383fad817d3ce0f6324200d64532 parent 8292a17a399ffb7c5c8b083db4ad994e090055f7 author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:16:04 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:39 -0800 [ICSK]: Move v4_addr2sockaddr from TCP to icsk Renaming it to inet_csk_addr2sockaddr. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 8292a17a399ffb7c5c8b083db4ad994e090055f7 tree 1544436169ba1dc2eface34664a203c2c17a8d65 parent ca304b6104ffdd120bb6687a88a0625e58bc71cd author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:15:52 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:38 -0800 [ICSK]: Rename struct tcp_func to struct inet_connection_sock_af_ops And move it to struct inet_connection_sock. DCCP will use it in the upcoming changesets. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit ca304b6104ffdd120bb6687a88a0625e58bc71cd tree 99bdf631af245808459a0a956350b9388eada7fc parent 8129765ac07c2455c927051e3a8b048b619b56ee author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:15:40 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:37 -0800 [IPV6]: Introduce inet6_rsk() And inet6_rsk_offset in inet_request_sock, for the same reasons as inet_sock's pinfo6 member. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 8129765ac07c2455c927051e3a8b048b619b56ee tree 4773c8e3079ccca63d490935419eaaf35e9b1459 parent c2977c2213993bff51911f4117281b31c4612591 author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:15:24 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:36 -0800 [IPV6]: Generalise tcp_v6_search_req & tcp_v6_synq_add More work is needed tho to introduce inet6_request_sock from tcp6_request_sock, in the same layout considerations as ipv6_pinfo in inet_sock, next changeset will do that. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit c2977c2213993bff51911f4117281b31c4612591 tree 3b6b4d73d33ee47a6e2669770591303097120347 parent 90b19d31695371bd3ed256d4c9e280861cd6ae7e author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:15:12 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:34 -0800 [ICSK]: make inet_csk_reqsk_queue_hash_add timeout arg unsigned long Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 90b19d31695371bd3ed256d4c9e280861cd6ae7e tree 19b2f273c96f0a7932a3c5f0f95de9a900b48602 parent 971af18bbfabb7b7c9c548da34a51e30869c08fc author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:15:01 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:33 -0800 [IPV6]: Generalise __tcp_v6_hash, renaming it to __inet6_hash Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 971af18bbfabb7b7c9c548da34a51e30869c08fc tree 02597aa6885b9937e1d6526f4789d6841953d551 parent 89cee8b1cbb9dac40c92ef1968aea2b45f82fd18 author Arnaldo Carvalho de Melo Tue, 13 Dec 2005 23:14:47 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:33 -0800 [IPV6]: Reuse inet_csk_get_port in tcp_v6_get_port Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 89cee8b1cbb9dac40c92ef1968aea2b45f82fd18 tree 01049841b15a9c2f3f136710382c7e4c11c1b1e5 parent d5228a4f49db32d22a39c653281b527ef371129c author Herbert Xu Tue, 13 Dec 2005 23:14:27 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:31 -0800 [IPV4]: Safer reassembly Another spin of Herbert Xu's "safer ip reassembly" patch for 2.6.16. (The original patch is here: http://marc.theaimsgroup.com/?l=linux-netdev&m=112281936522415&w=2 and my only contribution is to have tested it.) This patch (optionally) does additional checks before accepting IP fragments, which can greatly reduce the possibility of reassembling fragments which originated from different IP datagrams. Signed-off-by: Herbert Xu Signed-off-by: Arthur Kepner Signed-off-by: David S. Miller commit d5228a4f49db32d22a39c653281b527ef371129c tree 89d2c988c877fd3d25078c40a4bdfdd8df2e553a parent 318360646941d6f3d4c6e4ee99107392728a4079 author Bart De Schuymer Tue, 13 Dec 2005 23:14:08 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:30 -0800 [NETFILTER] ebtables: Support nf_log API from ebt_log and ebt_ulog This makes ebt_log and ebt_ulog use the new nf_log api. This enables the bridging packet filter to log packets e.g. via nfnetlink_log. Signed-off-by: Bart De Schuymer Signed-off-by: Harald Welte Signed-off-by: David S. Miller commit 318360646941d6f3d4c6e4ee99107392728a4079 tree 26ab4ddc68f917dd4e8813ace504956620eba3a8 parent df3271f3361b61ce02da0026b4a53e63bc2720cb author Eric Dumazet Tue, 13 Dec 2005 23:13:48 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:29 -0800 [NETFILTER] ip_tables: NUMA-aware allocation Part of a performance problem with ip_tables is that memory allocation is not NUMA aware, but 'only' SMP aware (ie each CPU normally touch separate cache lines) Even with small iptables rules, the cost of this misplacement can be high on common workloads. Instead of using one vmalloc() area (located in the node of the iptables process), we now allocate an area for each possible CPU, using vmalloc_node() so that memory should be allocated in the CPU's node if possible. Port to arp_tables and ip6_tables by Harald Welte. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller commit df3271f3361b61ce02da0026b4a53e63bc2720cb tree f2d897b95ee85b49b167b14554d9aaf1734fd332 parent 05d054503a9c4652212b8730150608787547ecc3 author Stephen Hemminger Tue, 13 Dec 2005 23:13:28 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:28 -0800 [TCP] BIC: CUBIC window growth (2.0) Replace existing BIC version 1.1 with new version 2.0. The main change is to replace the window growth function with a cubic function as described in: http://www.csc.ncsu.edu/faculty/rhee/export/bitcp/cubic-paper.pdf Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 05d054503a9c4652212b8730150608787547ecc3 tree a1bab354efd29959baf4ec6fcb03b37e3973f838 parent 018da8f44c066d5fc390011b8c953135f973b3a9 author Stephen Hemminger Tue, 13 Dec 2005 23:13:13 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:27 -0800 [TCP] BIC: spelling and whitespace Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 018da8f44c066d5fc390011b8c953135f973b3a9 tree 196fbd3028d166f7ac88e60019b6d3a56d16be13 parent d28d1e080132f28ab773291f10ad6acca4c8bba2 author Stephen Hemminger Tue, 13 Dec 2005 23:13:00 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:26 -0800 [TCP] BIC: remove low utilization code. The latest BICTCP patch at: http://www.csc.ncsu.edu:8080/faculty/rhee/export/bitcp/index_files/Page546.htm disables the low_utilization feature of BICTCP because it doesn't work in some cases. This patch removes it. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit d28d1e080132f28ab773291f10ad6acca4c8bba2 tree 4cc6abef076393bc4c9f0d4e4c9952b78c04d3ee parent df71837d5024e2524cd51c93621e558aa7dd9f3f author Trent Jaeger Tue, 13 Dec 2005 23:12:40 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:25 -0800 [LSM-IPSec]: Per-packet access control. This patch series implements per packet access control via the extension of the Linux Security Modules (LSM) interface by hooks in the XFRM and pfkey subsystems that leverage IPSec security associations to label packets. Extensions to the SELinux LSM are included that leverage the patch for this purpose. This patch implements the changes necessary to the SELinux LSM to create, deallocate, and use security contexts for policies (xfrm_policy) and security associations (xfrm_state) that enable control of a socket's ability to send and receive packets. Patch purpose: The patch is designed to enable the SELinux LSM to implement access control on individual packets based on the strongly authenticated IPSec security association. Such access controls augment the existing ones in SELinux based on network interface and IP address. The former are very coarse-grained, and the latter can be spoofed. By using IPSec, the SELinux can control access to remote hosts based on cryptographic keys generated using the IPSec mechanism. This enables access control on a per-machine basis or per-application if the remote machine is running the same mechanism and trusted to enforce the access control policy. Patch design approach: The patch's main function is to authorize a socket's access to a IPSec policy based on their security contexts. Since the communication is implemented by a security association, the patch ensures that the security association's negotiated and used have the same security context. The patch enables allocation and deallocation of such security contexts for policies and security associations. It also enables copying of the security context when policies are cloned. Lastly, the patch ensures that packets that are sent without using a IPSec security assocation with a security context are allowed to be sent in that manner. A presentation available at www.selinux-symposium.org/2005/presentations/session2/2-3-jaeger.pdf from the SELinux symposium describes the overall approach. Patch implementation details: The function which authorizes a socket to perform a requested operation (send/receive) on a IPSec policy (xfrm_policy) is selinux_xfrm_policy_lookup. The Netfilter and rcv_skb hooks ensure that if a IPSec SA with a securit y association has not been used, then the socket is allowed to send or receive the packet, respectively. The patch implements SELinux function for allocating security contexts when policies (xfrm_policy) are created via the pfkey or xfrm_user interfaces via selinux_xfrm_policy_alloc. When a security association is built, SELinux allocates the security context designated by the XFRM subsystem which is based on that of the authorized policy via selinux_xfrm_state_alloc. When a xfrm_policy is cloned, the security context of that policy, if any, is copied to the clone via selinux_xfrm_policy_clone. When a xfrm_policy or xfrm_state is freed, its security context, if any is also freed at selinux_xfrm_policy_free or selinux_xfrm_state_free. Testing: The SELinux authorization function is tested using ipsec-tools. We created policies and security associations with particular security contexts and added SELinux access control policy entries to verify the authorization decision. We also made sure that packets for which no security context was supplied (which either did or did not use security associations) were authorized using an unlabelled context. Signed-off-by: Trent Jaeger Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit df71837d5024e2524cd51c93621e558aa7dd9f3f tree 58938f1d46f3c6713b63e5a785e82fdbb10121a1 parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Trent Jaeger Tue, 13 Dec 2005 23:12:27 -0800 committer David S. Miller Tue, 03 Jan 2006 13:10:24 -0800 [LSM-IPSec]: Security association restriction. This patch series implements per packet access control via the extension of the Linux Security Modules (LSM) interface by hooks in the XFRM and pfkey subsystems that leverage IPSec security associations to label packets. Extensions to the SELinux LSM are included that leverage the patch for this purpose. This patch implements the changes necessary to the XFRM subsystem, pfkey interface, ipv4/ipv6, and xfrm_user interface to restrict a socket to use only authorized security associations (or no security association) to send/receive network packets. Patch purpose: The patch is designed to enable access control per packets based on the strongly authenticated IPSec security association. Such access controls augment the existing ones based on network interface and IP address. The former are very coarse-grained, and the latter can be spoofed. By using IPSec, the system can control access to remote hosts based on cryptographic keys generated using the IPSec mechanism. This enables access control on a per-machine basis or per-application if the remote machine is running the same mechanism and trusted to enforce the access control policy. Patch design approach: The overall approach is that policy (xfrm_policy) entries set by user-level programs (e.g., setkey for ipsec-tools) are extended with a security context that is used at policy selection time in the XFRM subsystem to restrict the sockets that can send/receive packets via security associations (xfrm_states) that are built from those policies. A presentation available at www.selinux-symposium.org/2005/presentations/session2/2-3-jaeger.pdf from the SELinux symposium describes the overall approach. Patch implementation details: On output, the policy retrieved (via xfrm_policy_lookup or xfrm_sk_policy_lookup) must be authorized for the security context of the socket and the same security context is required for resultant security association (retrieved or negotiated via racoon in ipsec-tools). This is enforced in xfrm_state_find. On input, the policy retrieved must also be authorized for the socket (at __xfrm_policy_check), and the security context of the policy must also match the security association being used. The patch has virtually no impact on packets that do not use IPSec. The existing Netfilter (outgoing) and LSM rcv_skb hooks are used as before. Also, if IPSec is used without security contexts, the impact is minimal. The LSM must allow such policies to be selected for the combination of socket and remote machine, but subsequent IPSec processing proceeds as in the original case. Testing: The pfkey interface is tested using the ipsec-tools. ipsec-tools have been modified (a separate ipsec-tools patch is available for version 0.5) that supports assignment of xfrm_policy entries and security associations with security contexts via setkey and the negotiation using the security contexts via racoon. The xfrm_user interface is tested via ad hoc programs that set security contexts. These programs are also available from me, and contain programs for setting, getting, and deleting policy for testing this interface. Testing of sa functions was done by tracing kernel behavior. Signed-off-by: Trent Jaeger Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit d78fef14c2218ba9666687aabc57392c54569048 tree 273c138af78d03b65ac609aea44917e40f54f0ce parent 04348e69e7e78ad69a09b2e1157f628d6c764370 parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Len Brown Tue, 03 Jan 2006 16:03:07 -0500 committer Len Brown Tue, 03 Jan 2006 16:03:07 -0500 Pull linus into release branch commit 51e7a5987058c6b4d0c1337587f2ec0c34ffa708 tree 7c52561ff6ba0a2fd8717218ba7bf94458c8b98f parent 82353b594c784deabb8d9764b477e65c2b3726f9 author Mark Fasheh Mon, 19 Dec 2005 11:21:42 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:57 -0800 [PATCH] o Update Kconfig documentation to reflect support for readonly mounts. Signed-off-by: Mark Fasheh commit 82353b594c784deabb8d9764b477e65c2b3726f9 tree 9182f0ac8aeca6ab49953da7c346a74d5853bd94 parent b4e40a51881931bfcbc78a585e875bb2784d6d10 author Adrian Bunk Mon, 19 Dec 2005 11:16:07 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:55 -0800 [PATCH] This patch contains the following cleanups: - cluster/sys.c: make needlessly global code static - dlm/: "extern" declarations for variables belong into header files (and in this case, they are already in dlmdomain.h) Signed-off-by: Adrian Bunk Signed-off-by: Mark Fasheh commit b4e40a51881931bfcbc78a585e875bb2784d6d10 tree a874485dafacc0896c3b355efa079f7e93a450fd parent ccd979bdbce9fba8412beb3f1de68a9d0171b12c author Mark Fasheh Thu, 15 Dec 2005 14:31:24 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:48 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem Link the code into the kernel build system. OCFS2 is marked as experimental. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit ccd979bdbce9fba8412beb3f1de68a9d0171b12c tree c50ed941849ce06ccadd4ce27599b3ef9fdbe2ae parent 8df08c89c668e1bd922a053fdb5ba1fadbecbb38 author Mark Fasheh Thu, 15 Dec 2005 14:31:24 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:47 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem The OCFS2 file system module. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 8df08c89c668e1bd922a053fdb5ba1fadbecbb38 tree ab1febb732c01a66c0a9bfe9c8952ba2bb66fba8 parent 6714d8e86bf443f6f7af50f9d432025649f091f5 author Mark Fasheh Thu, 15 Dec 2005 14:31:23 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:47 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem dlmfs: A minimal dlm userspace interface implemented via a virtual file system. Most of the OCFS2 tools make use of this to take cluster locks when doing operations on the file system. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 6714d8e86bf443f6f7af50f9d432025649f091f5 tree 2c484bd1894a90cad7020869c7054f192d3bf34d parent 98211489d4147e41b11703e4245846d60b3acce4 author Kurt Hackel Thu, 15 Dec 2005 14:31:23 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:47 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem A distributed lock manager built with the cluster file system use case in mind. The OCFS2 dlm exposes a VMS style API, though things have been simplified internally. The only lock levels implemented currently are NLMODE, PRMODE and EXMODE. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 98211489d4147e41b11703e4245846d60b3acce4 tree f3c9c6b8df5bb001db79bc6314d8cbb5e127b45b parent a7f6a5fb4bde142b622706e2006ba33f793e13ed author Zach Brown Thu, 15 Dec 2005 14:31:23 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:46 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem Node messaging via tcp. Used by the dlm and the file system for point to point communication between nodes. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit a7f6a5fb4bde142b622706e2006ba33f793e13ed tree 27db335992f61a13658e604ee56f4c6a3c79aea5 parent 0c83ed8eeb28a045cdbd0b216679938aa9e665fe author Mark Fasheh Thu, 15 Dec 2005 14:31:23 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:46 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem Disk based heartbeat. Configured and started from userspace, the kernel component handles I/O submission and event generation via callback mechanism. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 0c83ed8eeb28a045cdbd0b216679938aa9e665fe tree 9b1a839e79acf504854b6efa956fd0a44c216ada parent 52fd3d6fea441835fe3a35b7280e5e128bdeca9b author Kurt Hackel Thu, 15 Dec 2005 14:31:23 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:46 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem A simple node information service, filled and updated from userspace. The rest of the stack queries this service for simple node information. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 52fd3d6fea441835fe3a35b7280e5e128bdeca9b tree 0e3dfdd639ebba904327616375971a37d7aff14f parent 994fc28c7b1e697ac56befe4aecabf23f0689f46 author Zach Brown Thu, 15 Dec 2005 14:31:23 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:45 -0800 [PATCH] OCFS2: The Second Oracle Cluster Filesystem Very simple printk wrapper which adds the ability to enable various sets of debug messages at run-time. Signed-off-by: Mark Fasheh Signed-off-by: Kurt Hackel commit 994fc28c7b1e697ac56befe4aecabf23f0689f46 tree da36d162e9bd077e9b5be385b28e2db90475c263 parent 7063fbf2261194f72ee75afca67b3b38b554b5fa author Zach Brown Thu, 15 Dec 2005 14:28:17 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:42 -0800 [PATCH] add AOP_TRUNCATED_PAGE, prepend AOP_ to WRITEPAGE_ACTIVATE readpage(), prepare_write(), and commit_write() callers are updated to understand the special return code AOP_TRUNCATED_PAGE in the style of writepage() and WRITEPAGE_ACTIVATE. AOP_TRUNCATED_PAGE tells the caller that the callee has unlocked the page and that the operation should be tried again with a new page. OCFS2 uses this to detect and work around a lock inversion in its aop methods. There should be no change in behaviour for methods that don't return AOP_TRUNCATED_PAGE. WRITEPAGE_ACTIVATE is also prepended with AOP_ for consistency and they are made enums so that kerneldoc can be used to document their semantics. Signed-off-by: Zach Brown commit 7063fbf2261194f72ee75afca67b3b38b554b5fa tree 7bfe4eeab8ce784b767cf30886623d456c384718 parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Joel Becker Thu, 15 Dec 2005 14:29:43 -0800 committer Joel Becker Tue, 03 Jan 2006 11:45:28 -0800 [PATCH] configfs: User-driven configuration filesystem Configfs, a file system for userspace-driven kernel object configuration. The OCFS2 stack makes extensive use of this for propagation of cluster configuration information into kernel. Signed-off-by: Joel Becker commit 408045afbdb46e109a1a44e67af688e9ddf7ad66 tree 4bcdc550aeca5a3cb2c561f664be9427f86ecf8e parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Alex Williamson Wed, 21 Dec 2005 15:21:36 -0700 committer Tony Luck Tue, 03 Jan 2006 11:16:17 -0800 [IA64] incorrect return from ia64_pci_legacy_write() The function ia64_pci_legacy_write() returns 0 for everything except errors. This return value gets sent back to the user from pci_write_legacy_io(), making it look like every write fails. The trivial patch below copies the behavior of the SGI sn machvec and does what would be expected from something implementing a write() function. Signed-off-by: Alex Williamson Signed-off-by: Tony Luck commit a8d3584a2df28827094f6338cde1303c467bc1f0 tree d2cdb824f4b2f109ad6a74285455b56e5a2dd118 parent f47fc0ac7ead5ed91a11fcabfad6ee44c17ee934 author Russell King Tue, 03 Jan 2006 18:41:37 +0000 committer Russell King Tue, 03 Jan 2006 18:41:37 +0000 [ARM] Remove clk_use()/clk_unuse() It seems that clk_use() and clk_unuse() are additional complexity which isn't required anymore. Remove them from the clock framework to avoid the additional confusion which they cause, and update all ARM machine types except for OMAP. Signed-off-by: Russell King commit f47fc0ac7ead5ed91a11fcabfad6ee44c17ee934 tree 463b2d165afb2221d3c9f78f64ce0abb906c9814 parent 78ff18a412da24a4b79c6a97000ef5e467e813da author Russell King Tue, 03 Jan 2006 18:34:20 +0000 committer Russell King Tue, 03 Jan 2006 18:34:20 +0000 [ARM] Add additional documentation to the clock source framework It seems that there's some confusion over how the clock source framework should be used. Add some additional comments to explain the ambiguous areas. Signed-off-by: Russell King commit 78ff18a412da24a4b79c6a97000ef5e467e813da tree 901d67dc2c709b71fba37b37b901ea167cef21a2 parent 9d4f13e531b4722fe40cc8e28c02a495bdd49267 author Russell King Tue, 03 Jan 2006 17:39:34 +0000 committer Russell King Tue, 03 Jan 2006 17:39:34 +0000 [ARM] Cleanup ARM includes arch/arm/kernel/entry-armv.S has contained a comment suggesting that asm/hardware.h and asm/arch/irqs.h should be moved into the asm/arch/entry-macro.S include. So move the includes to these two files as required. Add missing includes (asm/hardware.h, asm/io.h) to asm/arch/system.h includes which use those facilities, and remove asm/io.h from kernel/process.c. Remove other unnecessary includes from arch/arm/kernel, arch/arm/mm and arch/arm/mach-footbridge. Signed-off-by: Russell King commit 9d4f13e531b4722fe40cc8e28c02a495bdd49267 tree 4fe18552620677dbe4f6831c4d9d0ecdb34e678a parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Russell King Tue, 03 Jan 2006 17:28:33 +0000 committer Russell King Tue, 03 Jan 2006 17:28:33 +0000 [ARM] Make kernel link address depend on PAGE_OFFSET We are coding the kernel link address into the makefiles, which is invisibly dependent on PAGE_OFFSET. If PAGE_OFFSET is changed, the makefiles also need to be changed. Make adjustments such that the makefiles encode just the offset from PAGE_OFFSET for the kernel link address, and use PAGE_OFFSET in the linker scripts directly. Signed-off-by: Russell King commit a18ceba7b40e24a9da87249bd74f16ea5abd6894 tree 5ce615d345e720ddabf95c46fb62287ee763ad4e parent aaadff81195056c7c14e0d834b3318c624c0fd78 parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Jeff Garzik Tue, 03 Jan 2006 10:58:53 -0500 committer Jeff Garzik Tue, 03 Jan 2006 10:58:53 -0500 Merge branch 'master' commit ac67c6247361b3b8644b34e5301a46d5069c1373 tree dd83147e304181e889eefa39e5056451031f4b5d parent c4c48d83e9ffb1c25cccd59d5ea9dda6ded01faf parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Jeff Garzik Tue, 03 Jan 2006 10:49:18 -0500 committer Jeff Garzik Tue, 03 Jan 2006 10:49:18 -0500 Merge branch 'master' commit 8ded4ac018ea706bf7ee926601a27184665c9c28 tree 8a22c29e6c1c187375e99aa2a0a1d012b47a2a60 parent febf7ea4bedcd36fba0843db726bba28d22bf89a parent 6073aa643f52fd12b02f0532dc96287f4c3293b5 author Sam Ravnborg Tue, 03 Jan 2006 15:59:28 +0100 committer Sam Ravnborg Tue, 03 Jan 2006 15:59:28 +0100 Merge branch 'master' commit 48d727a9f93e617d6d443507acf7d1b849c63366 tree da8c5603a325f1148cf87f9a28a13ee2fa84da0a parent df7b5d13c6c850bc2e3ca6ccfb1038f36bbbcf19 author Paolo 'Blaisorblade' Giarrusso Tue, 03 Jan 2006 13:44:23 +0100 committer Adrian Bunk Tue, 03 Jan 2006 13:44:23 +0100 Documentation/filesystems/00-INDEX: remove entry for fat_cvf.txt Remove non-existing entry for fat_cvf.txt (was it ever supported?). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Adrian Bunk commit be9b7e8c02a5f864e29b17f6d86abcde258ef2fa tree cb0a777be924ffa8f6078ea5189b6cc753e417bc parent 68094e3251a664ee1389fcf179497237cbf78331 author Takashi Iwai Tue, 03 Jan 2006 13:42:38 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 13:43:12 +0100 [ALSA] Remove xxx_t typedefs: SPARC CS4231 Remove xxx_t typedefs from the SPARC CS4231 driver. Signed-off-by: Takashi Iwai commit df7b5d13c6c850bc2e3ca6ccfb1038f36bbbcf19 tree bce8f1a6e326f67a91bd80800278890bf409df17 parent f4b09ebc8baa51ec8394c4173e3de9d62b2cc97a author Adrian Bunk Tue, 03 Jan 2006 13:42:12 +0100 committer Adrian Bunk Tue, 03 Jan 2006 13:42:12 +0100 arch/arm26/nwfpe/fpmodule.c: remove kernel 2.0 #ifdef This patch removes an #ifdef for kernel 2.0 . Signed-off-by: Adrian Bunk commit f4b09ebc8baa51ec8394c4173e3de9d62b2cc97a tree d91c611e6f43e1775f584f796c6990d746d4ef6c parent e3e1bfe4f28de86d065bc041456161a3f3a9aef7 author Adrian Bunk Tue, 03 Jan 2006 13:37:51 +0100 committer Adrian Bunk Tue, 03 Jan 2006 13:37:51 +0100 update the email address of Randy Dunlap This patch removes all references to the bouncing address rddunlap@osdl.org and one dead web page from the kernel. Signed-off-by: Adrian Bunk Acked-by: Randy Dunlap commit e3e1bfe4f28de86d065bc041456161a3f3a9aef7 tree 8518e8c3ed2838bb553bc785cbfbfdcb6c0d854f parent f62870db3c73683fe566a05efa2a05f3faeb44f5 author Jim Cromie Tue, 03 Jan 2006 13:35:41 +0100 committer Adrian Bunk Tue, 03 Jan 2006 13:35:41 +0100 Documentation/filesystems/vfs.txt: typo fix This patch removes an extra occurrence of 'generic'. Acked-by: Pekka Enberg Signed-off-by: Adrian Bunk commit f62870db3c73683fe566a05efa2a05f3faeb44f5 tree 0a3faa49fceb499958943297c2215d8087f46bf8 parent 5e03e2c48fc2952f6a9e986cfa194fe905d0f569 author Kees Cook Tue, 03 Jan 2006 13:33:31 +0100 committer Adrian Bunk Tue, 03 Jan 2006 13:33:31 +0100 Documentation/SubmittingPatches: update Trivial Patch Monkey information While looking for where to send trivial patches, I found old contact information in Documentation/SubmittingPatches. Signed-off-by: Kees Cook Signed-off-by: Adrian Bunk commit 5e03e2c48fc2952f6a9e986cfa194fe905d0f569 tree a6de8faee1dbe6b1d7b90caf27433d625d304326 parent 4a4efbdee278b2f4ed91aad2db5c006ff754276e author Adam D. Moss Tue, 03 Jan 2006 13:31:01 +0100 committer Adrian Bunk Tue, 03 Jan 2006 13:31:01 +0100 update for Documentation/sysrq.txt This patch for 2.4.x updates the dead email address for 'Mydraal' and since he no longer wishes to field questions concerning SysRq or this document removes the statement stating otherwise. Signed-off-by: Adrian Bunk commit 4a4efbdee278b2f4ed91aad2db5c006ff754276e tree be5742c3d3ff5382c8a6ccdcd31bfe00fb9b6491 parent 7a1119b1fc87cc347d3932b8aee051e86b32818f author Matt Mackall Tue, 03 Jan 2006 13:27:11 +0100 committer Adrian Bunk Tue, 03 Jan 2006 13:27:11 +0100 s/retreiv/retriev/g As everyone knows, the rule is: "i before e.. um.. always." Signed-off-by: Matt Mackall Signed-off-by: Adrian Bunk commit 7a1119b1fc87cc347d3932b8aee051e86b32818f tree 29ad1f3a332c44eeb2af2c671094cd680fc30aa7 parent 4d399cae3f5ec1f59b9e88084aae09c4f00760c9 author Adrian Bunk Tue, 03 Jan 2006 13:21:37 +0100 committer Adrian Bunk Tue, 03 Jan 2006 13:21:37 +0100 fs/qnx4/bitmap.c: #if 0 qnx4_new_block() qnx4_new_block() is neither implemented nor used. Signed-off-by: Adrian Bunk Signed-off-by: Anders Larsen commit 4d399cae3f5ec1f59b9e88084aae09c4f00760c9 tree e5d82fbf59c17d5955f3e7dae066355540d465ad parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Adrian Bunk Tue, 03 Jan 2006 13:19:13 +0100 committer Adrian Bunk Tue, 03 Jan 2006 13:19:13 +0100 remove pointers to the defunct UDF mailing list This patch removes pointers to the defunct UDF mailing list. Signed-off-by: Adrian Bunk commit 68094e3251a664ee1389fcf179497237cbf78331 tree 1f38ff587622bab4b1063c19447832f6cbff8a6f parent 4c98cfef2efa6b6662ac28c4f0069964bbd9fdf9 author Pierre Ossman Tue, 29 Nov 2005 09:09:32 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:30 +0100 [ALSA] [PATCH] alsa: Improved PnP suspend support Also use the PnP functions to start/stop the devices during the suspend so that drivers will not have to duplicate this code. Cc: Adam Belay Cc: Jaroslav Kysela Cc: Takashi Iwai Signed-off-by: Pierre Ossman Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit 4c98cfef2efa6b6662ac28c4f0069964bbd9fdf9 tree 4ad45704bcf9e43085164d8d7ca6f07d6f1884dd parent 0ba656d0b2319b76fbebd01c1c9ba5ca8eb33fb1 author Takashi Iwai Tue, 29 Nov 2005 09:09:32 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:19 +0100 [ALSA] PATCH] Add PM support to PnP drivers Add suspend/resume callback to pnp_driver and pnp_card_driver. Signed-off-by: Takashi Iwai commit 0ba656d0b2319b76fbebd01c1c9ba5ca8eb33fb1 tree 803f0177d99f5cbcbe9b7ef0cd099d5368744690 parent e3b9bc0e78a330d0dc6669ace7925e8c132e08a7 author James Courtier-Dutton Mon, 26 Dec 2005 15:30:03 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:17 +0100 [ALSA] snd-emu10k1: Add new SB Live 5.1 PCI-ID. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit e3b9bc0e78a330d0dc6669ace7925e8c132e08a7 tree ef86b886c163eafb0661530a0300e2cd180b0e94 parent 041dec01736c59df43b0600c0fd154e50d8ccf6e author James Courtier-Dutton Sat, 24 Dec 2005 16:54:51 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:15 +0100 [ALSA] snd-emu10k1: Correct control names for Audigy 4 Pro. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit 041dec01736c59df43b0600c0fd154e50d8ccf6e tree 639bf8a1f26572707a28065631dc164697ff7c2f parent eff49137dd432eeae16e4627b8595c71e1362307 author Takashi Iwai Fri, 23 Dec 2005 12:27:52 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:14 +0100 [ALSA] hda-codec - Add model entry for Shuttle ST20G5 Modules: HDA Codec driver Added the model entry for Shuttle ST20G5. Signed-off-by: Takashi Iwai commit eff49137dd432eeae16e4627b8595c71e1362307 tree e6a790b0714737b5f1e2b29c26f0540a15afb863 parent f951fd3cc4b04c338b4fcf94b4844e921337dfaa author Takashi Iwai Thu, 22 Dec 2005 17:01:20 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:13 +0100 [ALSA] emu10k1 - Clean up p16v code Modules: EMU10K1/EMU10K2 driver Clean up and optimize the codes in p16v.c - Add proper __devinit* tags - Reduce unnecessary functions using a closure - Fix whitespaces - Rename 'Unknown' to 'Side' controls Signed-off-by: Takashi Iwai commit f951fd3cc4b04c338b4fcf94b4844e921337dfaa tree f869a471590515ae2b1b4210bdff0dea881557b4 parent 54efc96d4a26f1d55be36324e9cc658a581a40ba author James Courtier-Dutton Thu, 22 Dec 2005 13:05:23 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:11 +0100 [ALSA] snd-emu10k1: Add comments regarding chips present on the card. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit 54efc96d4a26f1d55be36324e9cc658a581a40ba tree 04ffc12208b81541a726852984cb13d3577ca7b8 parent aad9095322c0c7d9637f29b71167458c36a4cdf6 author James Courtier-Dutton Thu, 22 Dec 2005 12:58:41 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:10 +0100 [ALSA] snd-emu10k1: Add some comments regarding chip types. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit aad9095322c0c7d9637f29b71167458c36a4cdf6 tree f321047c62f3583a3a3990db6a8d165682b454d8 parent 18f3c59f2b14225bd23c41a87a5eec39439bc8b9 author James Courtier-Dutton Wed, 21 Dec 2005 22:26:26 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:08 +0100 [ALSA] snd-ca0106: Fix SPI driver code. Fixes speaker output. Modules: CA0106 driver Signed-off-by: James Courtier-Dutton commit 18f3c59f2b14225bd23c41a87a5eec39439bc8b9 tree 8677f39cc15c19ee9e0bb33226d66841a1c995ba parent c6a02ca29388a806df3df73015ee494a6e055309 author James Courtier-Dutton Wed, 21 Dec 2005 22:05:29 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:07 +0100 [ALSA] snd-emu10k1: Tidy SPI code. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit c6a02ca29388a806df3df73015ee494a6e055309 tree d63dc0f42022a8e1570e7334c8ff6845bd5ff5fd parent 28bcbdddaffcb2ccf08d06db7cecf047ec66057d author James Courtier-Dutton Wed, 21 Dec 2005 15:56:01 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:05 +0100 [ALSA] snd-emu10k1: Fix whitespace. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit 28bcbdddaffcb2ccf08d06db7cecf047ec66057d tree 981402d6e7ef6956818e4ff8799c925ea47e9bd2 parent ccadc3e38b72629fdfd1290343fdb11813dfecc2 author James Courtier-Dutton Wed, 21 Dec 2005 15:41:50 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:03 +0100 [ALSA] snd-emu10k1: Fix whitespace. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit ccadc3e38b72629fdfd1290343fdb11813dfecc2 tree 6acdd421f2983cba4e385e0a26c9205cf740ef66 parent 27fe864ec9e61041fc0b6f680207ae84f359b502 author James Courtier-Dutton Wed, 21 Dec 2005 15:31:02 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:02 +0100 [ALSA] snd-emu10k1: Enable speakers on Audigy 2 ZS Notebook. Modules: EMU10K1/EMU10K2 driver Description: This enables the 7.1 speaker output of the Audigy 2 ZS Notebook. Further towards fixing ALSA bug#927 TODO: SPDIF/IEC958 output. (untested, might already work) Sound capture. (untested, might already work.) Signed-off-by: James Courtier-Dutton commit 27fe864ec9e61041fc0b6f680207ae84f359b502 tree 19392d34e5f076e47192f8a9acf877ef50adc881 parent a5875159dd6cec0ec743971343aee8dceac281d7 author James Courtier-Dutton Wed, 21 Dec 2005 15:06:08 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:31:01 +0100 [ALSA] snd-emu10k1: Removes some distortion from Audigy 2 ZS Notebook. Modules: EMU10K1/EMU10K2 driver Description: Part way to fix ALSA bug#927 Add support for the SPI interface on the CA0108 chip. This is used to control the registers on the DAC. Headphone output tested. Other outputs and Capture not tested yet. Note: The red LED does not come on, but sound is still OK. Signed-off-by: James Courtier-Dutton commit a5875159dd6cec0ec743971343aee8dceac281d7 tree 72395f42105af60721e17bd443815901805cf532 parent 39596dc898270fcaaa8a712b63fc033f86d874cf author James Courtier-Dutton Tue, 20 Dec 2005 22:30:49 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:58 +0100 [ALSA] snd-ca0106: Fixes sound output for Creative Audigy SE aka.SB0570. Modules: CA0106 driver Fixes ALSA bug#1636 Signed-off-by: James Courtier-Dutton commit 39596dc898270fcaaa8a712b63fc033f86d874cf tree ae486ce7f86d782768101091b5b489e65316c6ec parent dac8dddd87b1246d9d6b79352bd6f043eb804cf2 author James Courtier-Dutton Fri, 16 Dec 2005 21:59:59 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:57 +0100 [ALSA] snd-ca0106: update SPDIF to IEC958 in mixer control names. Modules: CA0106 driver Signed-off-by: James Courtier-Dutton commit dac8dddd87b1246d9d6b79352bd6f043eb804cf2 tree 352820304032507a6564d1ce025fda48ddf5d7e8 parent 607da7f834592a723797b21c2463507a44d9cfa7 author Takashi Iwai Wed, 14 Dec 2005 12:00:46 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:55 +0100 [ALSA] via82xx - Add a quirk for Targa Traveller 811 Modules: VIA82xx driver Add an ac97 quirk entry for Targa Traveller 811. Signed-off-by: Takashi Iwai commit 607da7f834592a723797b21c2463507a44d9cfa7 tree 9e1dbc0a0844db663a0b10df0c7d00b6afdca7a7 parent ea265c0a433fda15fb69b9fd733e0ea4215c216e author Rene Herman Wed, 14 Dec 2005 11:57:27 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:54 +0100 [ALSA] es1968 - Fix conflict with ISA boards Modules: ES1968 driver Fix disablement of TDMA and legacy support to prevent confliction of resources with ISA boards. Confirmed with Terratec DMX and CS4236. Signed-off-by: Takashi Iwai commit ea265c0a433fda15fb69b9fd733e0ea4215c216e tree 56873a5de0850fd6b03d76bda9502e6d3107e6e9 parent aa1e77e691025149908f7641e77de93ffd7f1188 author Nicolas Pitre Mon, 12 Dec 2005 15:41:47 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:51 +0100 [ALSA] make the pxa2xx-ac97 module more robust against PXA27x bugs Modules: ARM PXA2XX driver The SDONE and CDONE interrupt on the PXA27x might become unusable in some conditions. Let's use an hybrid approach (interrupt with timeout) to have the best possible behavior in all conditions. Also let's not care about CAR_CAIP anymore. This is useless. Signed-off-by: Nicolas Pitre Signed-off-by: Takashi Iwai commit aa1e77e691025149908f7641e77de93ffd7f1188 tree a5c0742275e31a69bf0e9f35e03af9120b1a4cf9 parent 7b6d92451ad5e1136dc347347e888b94638b8ba9 author Clemens Ladisch Mon, 12 Dec 2005 09:36:01 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:50 +0100 [ALSA] seq: reorganize sequencer client numbers Modules: ALSA sequencer Reduce the maximum possible number of global clients to 16 to make more numbers available for card clients, and allow dynamically allocated card client numbers to share the same range as application client numbers to make sure that all 32 cards can be used at the same time. Signed-off-by: Clemens Ladisch commit 7b6d92451ad5e1136dc347347e888b94638b8ba9 tree e62edf62f29e988378cd2c984cde0ccb0993120b parent 83e8ad6984dccd6d848ac91ba0df379ff968180b author Clemens Ladisch Mon, 12 Dec 2005 09:33:37 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:49 +0100 [ALSA] seq: set client name in snd_seq_create_kernel_client() All users of snd_seq_create_kernel_client() have to set the client name anyway, so we can just pass the name as parameter. This relieves us from having to muck around with a struct snd_seq_client_info in these cases. Signed-off-by: Clemens Ladisch commit 83e8ad6984dccd6d848ac91ba0df379ff968180b tree 5ae1f379de542b8ede18ab1cc65537b01b21d212 parent 255bd169ab645970f77d3fd7ac800781f96ddccb author Clemens Ladisch Mon, 12 Dec 2005 09:30:43 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:47 +0100 [ALSA] seq: remove struct snd_seq_client_callback The fields of struct snd_seq_client_callback either aren't used or are always set to the same value, so we can get rid of it altogether. Signed-off-by: Clemens Ladisch commit 255bd169ab645970f77d3fd7ac800781f96ddccb tree 0195152039609cefd76451b906181e7271b61810 parent 22fb2a708d2f390808f20609213fd6a588bf7612 author Clemens Ladisch Mon, 12 Dec 2005 09:28:51 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:45 +0100 [ALSA] seq: remove superfluous fields Modules: ALSA sequencer None of the fields of struct snd_seq_kernel_client was actually used, so remove them. Signed-off-by: Clemens Ladisch commit 22fb2a708d2f390808f20609213fd6a588bf7612 tree 21220fba31f2c7740a8e856c8595b66b9258651e parent 7632c7b4443057e1294208a0d9a55d8558f2f6ca author Clemens Ladisch Mon, 12 Dec 2005 09:27:14 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:44 +0100 [ALSA] ymfpci: show chip model Modules: YMFPCI driver Instead of 'DS-XG', show the correct chip model (DS-1/1L/1S/1E) where possible. Signed-off-by: Clemens Ladisch commit 7632c7b4443057e1294208a0d9a55d8558f2f6ca tree d6b136b70a8a1d2ea4f6e67ef46d1cfa773164d4 parent 235475cb7715852c42118fd8d8ec67b534ab6e8b author Takashi Iwai Wed, 07 Dec 2005 18:25:47 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:43 +0100 [ALSA] hda-codec - Add the model entry for ASUS P5GD1-HVM Modules: HDA Codec driver Add the model entry (ALC880 6stack) for ASUS P5GD1-HVM. Signed-off-by: Takashi Iwai commit 235475cb7715852c42118fd8d8ec67b534ab6e8b tree 8d05766a01706371431513d6ce7ce7d0b2cd6bab parent 4a471b7ddfe76e39c1633d5a23a687f4b5fc0d8d author Takashi Iwai Wed, 07 Dec 2005 15:28:07 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:41 +0100 [ALSA] pcm - Fix wrong asserts Modules: PCM Midlevel Fixed wrong or supreflous snd_assert()'s. Signed-off-by: Takashi Iwai commit 4a471b7ddfe76e39c1633d5a23a687f4b5fc0d8d tree 7ec3b5952d03751e5d5da2d6254f8ce63ba2ba05 parent f7a9275d949cb0bf1f259a1546e52a0bf518151c author Takashi Iwai Wed, 07 Dec 2005 13:56:29 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:40 +0100 [ALSA] hda-codec - Small clean up and fixes Modules: HDA Codec driver,HDA generic driver - Common labels for input pins - Fix and clean up of Realtek codec parsers Signed-off-by: Takashi Iwai commit f7a9275d949cb0bf1f259a1546e52a0bf518151c tree 4d96d9b6196d43684903857ba676dc51bbde4026 parent 416c1079d30f1a52399b96f6772e993274b774ae author Clemens Ladisch Wed, 07 Dec 2005 09:13:42 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:39 +0100 [ALSA] unregister platform devices Call platform_device_unregister() for all platform devices that we've registered. Signed-off-by: Clemens Ladisch commit 416c1079d30f1a52399b96f6772e993274b774ae tree cac70f2afaa88469db6e2ca231e4566046e0c363 parent 156b2aa3bef17c964006c6448aadd440781d7e7d author Clemens Ladisch Wed, 07 Dec 2005 09:11:05 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:36 +0100 [ALSA] Nest sound devices Modules: ALSA Core Make the control device parent of all other ALSA devices of a card. Signed-off-by: Clemens Ladisch commit 156b2aa3bef17c964006c6448aadd440781d7e7d tree 9d18ec3699259ef51dbf5d9866d48de51bdd2654 parent a3bcba384c2f2448ad204ea52baa15f1227d0d40 author Clemens Ladisch Wed, 07 Dec 2005 09:07:25 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:35 +0100 [ALSA] ens1371: fix compilation without SUPPORT_JOYSTICK Modules: ENS1370/1+ driver Move the spdif and lineio parameters around so that they are compiled even when SUPPORT_JOYSTICK isn't set. Signed-off-by: Clemens Ladisch commit a3bcba384c2f2448ad204ea52baa15f1227d0d40 tree 9c9afc47758ec6b0a724d2ad1b9cd6fdfefe5cc8 parent c5f2ea08fbd8911e2c975094780d2b16e65f27e0 author Takashi Iwai Tue, 06 Dec 2005 19:05:29 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:33 +0100 [ALSA] hda-codec - Fix Oops with ALC260 auto-probe Modules: HDA Codec driver - Fix Oops with auto-probing of ALC260 with digital I/O - Fix a typo Signed-off-by: Takashi Iwai commit c5f2ea08fbd8911e2c975094780d2b16e65f27e0 tree c26a747e7148487a1faac565c2c49bd7bf801618 parent a8ee72952bd7bd21df944ef1512a1e582abe0528 author Takashi Iwai Tue, 06 Dec 2005 18:54:31 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:32 +0100 [ALSA] hda-codec - Fix ALC codec probing Modules: HDA Codec driver - Fix ALC882 BIOS auto-probe - Fix ALC262 basic model - Add assert for debugging Oops Signed-off-by: Takashi Iwai commit a8ee72952bd7bd21df944ef1512a1e582abe0528 tree 316aeccb03813ff2f999ead4d228ca5852da52ad parent a0faefedf7d81b6ead6a33e5576a6439606d7ed5 author Gergely Tamas Tue, 06 Dec 2005 14:10:57 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:30 +0100 [ALSA] emu10k1 - Add entry for SB Live 5.1 Digital OEM [SB0220] Modules: EMU10K1/EMU10K2 driver Added the chip-detail entry for SB Live 5.1 Digital OEM [SB0220, (c) 2003]. Signed-off-by: Gergely Tamas Signed-off-by: Takashi Iwai commit a0faefedf7d81b6ead6a33e5576a6439606d7ed5 tree eb940eeb51219da24673036423a3e80fe6a08a06 parent e12229b4d2b7863b1baaeca759aa87703bf9fdf8 author Matthew Garrett Tue, 06 Dec 2005 13:59:12 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:29 +0100 [ALSA] Add a new quirk for mute-LED and HP-only. Modules: AC97 Codec,ATIIXP driver,Intel8x0 driver This patch adds a new quirk for ac97 hardware that combines the existing AC97_TUNE_MUTE_LED and AC97_TUNE_HP_ONLY quirks. This is needed for several current HP laptops. Additionally, it adds the HP nx6125 to the AC97_TUNE_MUTE_LED list. Fixed for the latest version of ALSA by Takashi Iwai . Signed-off-by: Matthew Garrett Signed-off-by: Takashi Iwai commit e12229b4d2b7863b1baaeca759aa87703bf9fdf8 tree 64e43c92fd1f675c29cb6002557ef04156713cbf parent 46a1736d7c07687e7456f72b238a68034fd5a624 author Markus Bollinger Tue, 06 Dec 2005 13:55:26 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:26 +0100 [ALSA] Add PCXHR driver Modules: Documentation,PCI drivers,Digigram PCXHR driver Add Digigram PCXHR driver. Signed-off-by: Takashi Iwai commit 46a1736d7c07687e7456f72b238a68034fd5a624 tree c540eac31915536efe3136c05a42a780fe056537 parent 031c95d4338127a9599fcb7d449f4aa6f086786b author Takashi Iwai Mon, 05 Dec 2005 21:16:37 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:23 +0100 [ALSA] via82xx - Add dxs entry for ASRock mobo Modules: VIA82xx driver Added dxs_support entry for ASRock mobo. Signed-off-by: Takashi Iwai commit 031c95d4338127a9599fcb7d449f4aa6f086786b tree 9ed7e559fbb931f720fb7aa03240da7786fbf65a parent df694daa3c0135202e4702cb2d11e68a43f6c51e author Takashi Iwai Mon, 05 Dec 2005 20:51:43 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:22 +0100 [ALSA] ac97 - Small fix for ALC65x codec Modules: AC97 Codec Small fix for ALC65x codec, sync with Realtek's driver codes: - Rename 'IEC958 Playback Route' to 'IEC958 Playback Source' so that mixer can handle it properly Signed-off-by: Takashi Iwai commit df694daa3c0135202e4702cb2d11e68a43f6c51e tree 1c274f376771ec0ace88200dc97141702ef42a38 parent 59acf76e0268e3f0156ef5113e89d838a8c02bb6 author Kailang Yang Mon, 05 Dec 2005 19:42:22 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:20 +0100 [ALSA] hda-codec - Add the support of ALC262,ALC883,ALC885,ALC861 Modules: HDA Codec driver,HDA generic driver This patch adds the support of ALC262,ALC883,ALC885,ALC861 to driver More models and improvements for ALC880, ALC260 and ALC882 codecs, too. Signed-off-by: Kailang Yang Signed-off-by: Takashi Iwai commit 59acf76e0268e3f0156ef5113e89d838a8c02bb6 tree 1bf84e8e5f2458c7f9686401bf53cc84bd7cb1ce parent bd01e7bc9e975d7d3d6fe4eb2f2cf7ae83041c49 author Takashi Iwai Mon, 05 Dec 2005 19:22:34 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:18 +0100 [ALSA] ice1724 - Add support of M-Audio Revolution 5.1 Modules: ICE1724 driver Added the basic support of M-Audio Revolution 5.1. Signed-off-by: Takashi Iwai commit bd01e7bc9e975d7d3d6fe4eb2f2cf7ae83041c49 tree f2a64df5f65d35575f4ba10fceaa01d3f6ce7ce3 parent 19b99fbaed2e2971b756311435c67e84431d8515 author Andreas Schwab Mon, 05 Dec 2005 15:12:20 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:17 +0100 [ALSA] emu10k1 - Fix missing declarations Modules: EMU10K1/EMU10K2 driver sound/pci/emu10k1/emufx.c: In function 'snd_emu10k1_efx_alloc_pm_buffer': sound/pci/emu10k1/emufx.c:2402: error: implicit declaration of function 'vmalloc' sound/pci/emu10k1/emufx.c:2402: warning: assignment makes pointer from integer without a cast sound/pci/emu10k1/emufx.c: In function 'snd_emu10k1_efx_free_pm_buffer': sound/pci/emu10k1/emufx.c:2413: error: implicit declaration of function 'vfree' Signed-off-by: Andreas Schwab Signed-off-by: Takashi Iwai commit 19b99fbaed2e2971b756311435c67e84431d8515 tree 78f0c968f8bed1a5ce82edd00d793be6f3a73d4c parent 481ba7727fa08deb389b5a2e550e04df24d3f37d author James Courtier-Dutton Sun, 04 Dec 2005 18:03:03 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:15 +0100 [ALSA] emu10k1: Partial support for Creative emu1212m Modules: EMU10K1/EMU10K2 driver Distorted sound now comes from the Audio Out socket. Still more work to do. Signed-off-by: James Courtier-Dutton commit 481ba7727fa08deb389b5a2e550e04df24d3f37d tree be530b7fef0eb9a54bddb6dd05365c0a4354915d parent 58da3a23fe12b1c4730cb85af203950c7707220c author Takashi Iwai Thu, 01 Dec 2005 11:19:41 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:13 +0100 [ALSA] powermac - Revert the last addition for 17' powerbook Modules: PPC PMAC driver The last addition of 17' powerbook support seems buggy (it's not Toonie indeed). Removed again. Signed-off-by: Takashi Iwai commit 58da3a23fe12b1c4730cb85af203950c7707220c tree a7c0bf00eb3e63cf81226174013f5715250bb15d parent 59d48582508c6e3ed6f60bdd7d13e3e2893416b4 author Tobias Klauser Thu, 01 Dec 2005 11:14:00 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:12 +0100 [ALSA] au88x0: Remove unneeded call to pci_dma_supported() Modules: au88x0 driver pci_dma_supported() is called right before pci_set_dma_mask() which already calls pci_dma_supported(). The attached patch removes the unneeded call to pci_dma_supported() Additionally the custom VORTEX_DMA_MASK macro is replaced by DMA_32BIT_MASK from linux/dma-mapping.h Signed-off-by: Tobias Klauser Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit 59d48582508c6e3ed6f60bdd7d13e3e2893416b4 tree e52ecc173a4f44d1a225e6a4abc1ad842fd38deb parent adf1b3d25e50dbab48fdd21006bea2dd5a4cb3a8 author Takashi Iwai Thu, 01 Dec 2005 10:51:58 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:10 +0100 [ALSA] pcm - Make the support of old API selectable Modules: ALSA Core,PCM Midlevel Make the support of old API selectable via config option. Signed-off-by: Takashi Iwai commit adf1b3d25e50dbab48fdd21006bea2dd5a4cb3a8 tree e520ddca1f0cd5e9bb9afd14f3f226e2b1596e9a parent 8cb7b63f5baf7b5e788f0d632d5ebd018856416f author Takashi Iwai Thu, 01 Dec 2005 10:49:58 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:08 +0100 [ALSA] Optimize for config without PROC_FS (pci drivers) Optimize the code when compiled without CONFIG_PROC_FS for some pci drivers. Signed-off-by: Takashi Iwai commit 8cb7b63f5baf7b5e788f0d632d5ebd018856416f tree e14b9675eb01d501c53bd2025199c3bb730ca69a parent 04f141a8800d022981f0405a8d307c98aba55105 author Takashi Iwai Thu, 01 Dec 2005 10:48:37 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:06 +0100 [ALSA] dbri - Don't return errors without CONFIG_PROC_FS Modules: SPARC DBRI driver Don't return errors if the proc file can't be created (for the case without CONFIG_PROC_FS). Signed-off-by: Takashi Iwai commit 04f141a8800d022981f0405a8d307c98aba55105 tree 2083ebe4a2959d57db1c016f1b8fa396e5c3f2af parent e28563cceb9f258ebe3c50fc27d8f4ff0ac4bfa4 author Takashi Iwai Thu, 01 Dec 2005 10:43:51 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:05 +0100 [ALSA] Optimize for config without PROC_FS (seq and oss parts) Modules: ALSA<-OSS emulation,ALSA sequencer,ALSA<-OSS sequencer Optimize the code when compiled without CONFIG_PROC_FS (in seq and oss emulation parts). Signed-off-by: Takashi Iwai commit e28563cceb9f258ebe3c50fc27d8f4ff0ac4bfa4 tree b69095abb998dedc2953368ba2c75978d80f644a parent 7cd01dd840824e7c6023ad1dbfdb94a2183a7adb author Takashi Iwai Thu, 01 Dec 2005 10:42:42 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:02 +0100 [ALSA] Optimize for config without PROC_FS Modules: HWDEP Midlevel,ALSA Core,PCM Midlevel,Timer Midlevel Optimize the code when compiled without CONFIG_PROC_FS. Signed-off-by: Takashi Iwai commit 7cd01dd840824e7c6023ad1dbfdb94a2183a7adb tree de69f9433e271d4c9a4cf35a7fd9a3f898e7f1a4 parent 9d70d91c4663d580bd18317dac3c7dc3bee79480 author Kyle Moffett Wed, 30 Nov 2005 10:54:28 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:30:01 +0100 [ALSA] snd_powermac: Add ID for Spring 2005 17' Powerbook Modules: PPC PMAC driver The audio chip in my Spring 2005 17' PowerBook was incorrectly recognized as an AWACS chip. This adds the chip ID to the snd_powermac driver such that it is recognized as a Toonie (I don't know if that's correct, but it's the only one that makes it work at all). and sorts the ID lists numerically. NOTE: This chip is only minimally supported at this point; it has system beep support and very low volume speaker output, and that's about it. Signed-off-by: Kyle Moffett Signed-off-by: Takashi Iwai commit 9d70d91c4663d580bd18317dac3c7dc3bee79480 tree 3360f1b030f71385c82f28c01471b1e3131d1bc0 parent 403d19446bd0cabee70110415d2f3bc466f46448 author Takashi Iwai Wed, 30 Nov 2005 10:12:26 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:59 +0100 [ALSA] ad1848 - Fix compilation without CONFIG_PM Modules: AD1848 driver Fix compilation without CONFIG_PM. Signed-off-by: Takashi Iwai commit 403d19446bd0cabee70110415d2f3bc466f46448 tree d2ddf51bd4a1274e6469272143a052566944d1ae parent 9056412f21bb6b76ceb98329409a958198b2d591 author Matt Porter Tue, 29 Nov 2005 15:00:51 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:58 +0100 [ALSA] hda-codec - update sigmatel support and bug fixes Modules: HDA Codec driver - Explictly set pin control as input for all input pins - Fix bug in 922x mixer (no mute on adc0vol) - Remove broken ch_mode control - Add support for jack retasking mixer controls to use rear line and mic as surround outputs - Add board tables to support autodetect and pin config defaults for systems with broken bioses - Add support for several Intel mobos - Add support for DFI mobo with reference boards attached (gets rid of compile time switch to use reference boards) Signed-off-by: Matt Porter Signed-off-by: Takashi Iwai commit 9056412f21bb6b76ceb98329409a958198b2d591 tree 4184fda7122d5160b36e2cd5ac7d8d901973f934 parent 954fa19ab7a14c3f54044780a90cd6a95149f90b author Randy Dunlap Tue, 29 Nov 2005 14:48:41 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:56 +0100 [ALSA] sound: align device drivers menus Modules: Sound Core,Generic drivers AC97 Kconfig entries broke the ALSA device drivers menu, so move them to a location where that won't happen, enabling all device sub-menus to be presented together. Fixed for the latest ALSA tree by Takashi Iwai . Signed-off-by: Randy Dunlap Signed-off-by: Takashi Iwai commit 954fa19ab7a14c3f54044780a90cd6a95149f90b tree 2cb86863883ab1c1b08d07d752a283188691632f parent 015b6a198f51d660797b78c6c7ee60d0252ebf40 author Matt Porter Tue, 29 Nov 2005 14:46:01 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:54 +0100 [ALSA] hda-intel - Fix HDA probe_mask default Modules: HDA Intel driver The probe_mask module parameter comment notes that the intended default is -1. Fix it to be so, otherwise all codecs are skipped and init fails. Signed-off-by: Matt Porter Signed-off-by: Takashi Iwai commit 015b6a198f51d660797b78c6c7ee60d0252ebf40 tree 827f8caeabbf69f4932d4fd1ee054876dfd9e738 parent 16f47bb66000a917a33a0da67ef2823b239c36f6 author Jaroslav Kysela Mon, 28 Nov 2005 10:50:59 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:53 +0100 [ALSA] ens1371: added spdif and lineio module options Modules: ENS1370/1+ driver - spdif module option: some hardware revisions are without spdif output - lineio module option: force shared line in / rear out jack settings Signed-off-by: Jaroslav Kysela commit 16f47bb66000a917a33a0da67ef2823b239c36f6 tree 7ea561745a39af2e0708207c555251a4b01e2869 parent f8c7c7b8dd2828b42c1230c6b0235e7d1dcf57e5 author Matthew Garrett Fri, 25 Nov 2005 12:03:20 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:50 +0100 [ALSA] ac97 - Add extra IDs for headphone autosense Modules: AC97 Codec The following patch adds some extra IDs for the list of hardware which should have headphone line sense enabled by default. Signed-off-by: Matthew Garrett Signed-off-by: Takashi Iwai commit f8c7c7b8dd2828b42c1230c6b0235e7d1dcf57e5 tree b6750d3a18d438f79819473b5604f03660a8a3d1 parent d32410b1095cf93e8e31f8919de46f496d7b3ce0 author Takashi Iwai Thu, 24 Nov 2005 16:17:20 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:48 +0100 [ALSA] hda-codec - Fix surrounds on 3stack mode of AD1988 Modules: HDA Codec driver Fixed the swapped surround/CLFE on 3stack mode of AD1988. Signed-off-by: Takashi Iwai commit d32410b1095cf93e8e31f8919de46f496d7b3ce0 tree 8d4b825c568c6bde3fa751320fa1e03e26052773 parent b2ec642362eef10f660e2b857dda12e2d61e0198 author Takashi Iwai Thu, 24 Nov 2005 16:06:23 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:47 +0100 [ALSA] hda-codec - Fix/enhance AD1988 support Modules: HDA Codec driver Fix/enhance AD1988 support code. - Fix for h/w bug of AD1988A rev 2 - The BIOS auto-configuration is added and used as fallback Signed-off-by: Takashi Iwai commit b2ec642362eef10f660e2b857dda12e2d61e0198 tree d8370e3a0cdaef7d2000c9576b8dce06837b4907 parent 606ad75fb5372c0edb5ee6276c8e29fcb525f3e1 author Takashi Iwai Thu, 24 Nov 2005 16:05:04 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:45 +0100 [ALSA] hda-codec - Fix channel mode helper Modules: HDA Codec driver Fix the channel mode helper (for put callback). Signed-off-by: Takashi Iwai commit 606ad75fb5372c0edb5ee6276c8e29fcb525f3e1 tree 8ae65a6a70b4c5950788346d0c897013a03759f0 parent 5014f193166d14e47525a34d65a1c7d77b0f6f38 author Takashi Iwai Thu, 24 Nov 2005 16:03:40 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:43 +0100 [ALSA] hda-intel - Use position buffer as default Modules: HDA Intel driver - Use the position buffer for obtaining the current DMA position as default. This seems more stable than others. - Add probe_mask module option (mainly for test boards with multiple codecs). Signed-off-by: Takashi Iwai commit 5014f193166d14e47525a34d65a1c7d77b0f6f38 tree 0350c8c4089aa66947cdd0aabece2d7b40e6e4a5 parent 18612048b3e951f7e0ae9be65efe9e8cfde868a6 author Libin Yang Wed, 23 Nov 2005 15:48:36 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:41 +0100 [ALSA] hda-codec - Fix auto-probe of ALC880 Modules: HDA Codec driver This patch is to fix the problem of calculating the nid incorrectly when auto-probe for ALC880. The problem to be fixed often behaves with such words when using dmesg, 'num_steps = 0 for NID=0x8' when auto-probe for ALC880. The patch contains: - alsa-kernel/pci/hda/patch_realtek.c: replace 'alc880_dac_to_idx' with 'alc880_idx_to_dac' in function 'alc880_auto_fill_dac_nids()' Signed-off-by: Libin Yang Signed-off-by: Takashi Iwai commit 18612048b3e951f7e0ae9be65efe9e8cfde868a6 tree 5432f794d9ee9129b21b066655fce88d63f073c3 parent 9a1a2a1d4eeda00df45ccf7a3a375d1887f1efb3 author Adrian Bunk Wed, 23 Nov 2005 13:14:50 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:40 +0100 [ALSA] sound/: possible cleanups Modules: RawMidi Midlevel,HDA generic driver This patch contains the following possible cleanups: - pci/hda/hda_proc.c should #include 'hda_local.h' for including the prototype of it's global function snd_hda_codec_proc_new() - core/rawmidi.c: make the needlessly global and EXPORT_SYMBOL'ed function snd_rawmidi_info() static Signed-off-by: Adrian Bunk Signed-off-by: Takashi Iwai commit 9a1a2a1d4eeda00df45ccf7a3a375d1887f1efb3 tree 35b4897c4a353838d5c0d6e0336735a8f418b974 parent 6a81dbf23df5400e4f8182e9f2eb52fabcf42015 author Takashi Iwai Tue, 22 Nov 2005 15:46:41 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:38 +0100 [ALSA] Fix a missing include Modules: ALSA Core Fix missing include Signed-off-by: Takashi Iwai commit 6a81dbf23df5400e4f8182e9f2eb52fabcf42015 tree f80f141a9430eaa6ff1d334b51dd33d90b030c0d parent 1f14a657d87aa0e1a6c08c2e31588fbca34a8844 author Takashi Iwai Tue, 22 Nov 2005 14:33:27 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:33 +0100 [ALSA] ice1712 - Fix Front Digital Input of Terratec DMX 6Fire Modules: ICE1712 driver Fix the inverted switch of 'Front Digital Input' of Terratec DMX 6Fire. Signed-off-by: Takashi Iwai commit 1f14a657d87aa0e1a6c08c2e31588fbca34a8844 tree 74fde07268a93952b1b9caa79efbc42042bb501f parent 2e5b9567f7444673a93cbacdcbeb3feacdb4914f author Clemens Ladisch Mon, 21 Nov 2005 16:40:00 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:32 +0100 [ALSA] usb-audio: fix Edirol UA-20 support Modules: USB generic driver Somebody at Edirol fucked up and released a new revision of the UA-20 without class-specific descriptors, so now we have to hard-code the sample format. Signed-off-by: Clemens Ladisch commit 2e5b9567f7444673a93cbacdcbeb3feacdb4914f tree ca09ff107a1e28da797e5a2c27f689fed524678f parent d25695056ff2e1e048cfc8d7dbafaf80c3c46d5d author Takashi Iwai Mon, 21 Nov 2005 16:36:15 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:29 +0100 [ALSA] hda-codec - Fix AD1988 support Modules: HDA Codec driver Fix AD1988 support. As default, 6stack model is used. Still no auto-BIOS setup is implemented. Signed-off-by: Takashi Iwai commit d25695056ff2e1e048cfc8d7dbafaf80c3c46d5d tree d639f0a40b176de26140428c1d4107c4546911f3 parent 54d174031576a2855c49611d83d4946bde81b504 author Takashi Iwai Mon, 21 Nov 2005 16:33:51 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:28 +0100 [ALSA] hda-codec - Allocate connection lists dynamically in generic parser Modules: HDA generic driver Allocate connection lists dynamically in generic parser. Signed-off-by: Takashi Iwai commit 54d174031576a2855c49611d83d4946bde81b504 tree 6bdcefaccb78bddfa1a3ea7b429e1178b479999d parent 1b98ea4791892399d8c23c93e117567eeff38887 author Takashi Iwai Mon, 21 Nov 2005 16:33:22 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:27 +0100 [ALSA] hda-codec - Fix connection list parsing Modules: HDA Codec driver,HDA generic driver - Fix connection list parsing (with ranged flag). - Increase the max number of connections - Introduce widget capabilities cache - Power up/down widgets at init, suspend and resume Signed-off-by: Takashi Iwai commit 1b98ea4791892399d8c23c93e117567eeff38887 tree 5128a11d23f34048e7d00f2915326f8e9e32bee5 parent 0ef797c5ca8a73853c827cf495caed44676cfe17 author Clemens Ladisch Mon, 21 Nov 2005 07:31:31 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:25 +0100 [ALSA] rawmidi: adjust runtime->avail when changing output buffer size Modules: RawMidi Midlevel When the output buffer size is changed, runtime->avail must be adjusted to the new size; otherwise, draining of a bigger buffer would appear to fail because avail does not reach buffer_size. Signed-off-by: Clemens Ladisch commit 0ef797c5ca8a73853c827cf495caed44676cfe17 tree df926c1efce91263b315f205df213a325e71b416 parent d001544ded23ddb1116f945ccc2d89a7f98ab7e8 author Clemens Ladisch Mon, 21 Nov 2005 07:30:20 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:23 +0100 [ALSA] adjust documentation for higher card limit Modules: Documentation Fix all places in the docs where the card number limit is mentioned. Signed-off-by: Clemens Ladisch commit d001544ded23ddb1116f945ccc2d89a7f98ab7e8 tree 721fbc6355acfb886817e2b120f198383c5e6ae6 parent 204bdb1b50013c7aa3922d8b66df943123087bd8 author Clemens Ladisch Sun, 20 Nov 2005 14:09:05 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:21 +0100 [ALSA] dynamic minors (6/6): increase maximum number of sound cards Modules: ALSA Core,Memalloc module,ALSA sequencer With dynamic minor numbers, we can increase the number of sound cards. This requires that the sequencer client numbers of some kernel drivers are allocated dynamically, too. Signed-off-by: Clemens Ladisch commit 204bdb1b50013c7aa3922d8b66df943123087bd8 tree 9e1721fe87bd960d497dfbb7a3abe9ddb57e5365 parent 332682b1cd540dd7abbbbfc1905af8139e76e1b7 author Clemens Ladisch Sun, 20 Nov 2005 14:08:28 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:20 +0100 [ALSA] dynamic minors (5/6): reduce maximum number of MIDI devices per card Modules: ALSA sequencer,Generic drivers To allow increasing the maximum number of sound cards, we have to limit the number of sequencer clients per card because client numbers are still allocated statically. Reducing the number of clients to four limits the number of sequencer MIDI ports to 1024 per card. Signed-off-by: Clemens Ladisch commit 332682b1cd540dd7abbbbfc1905af8139e76e1b7 tree e2e858870972073b2e01f7f8d5948c187c11e2bb parent f87135f56cb266e031f5ec081dfbde7e43f55e80 author Clemens Ladisch Sun, 20 Nov 2005 14:07:47 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:19 +0100 [ALSA] dynamic minors (4/6): dynamic minor number allocation Modules: ALSA Core,ALSA Minor Numbers Add an option to allocate device file minor numbers dynamically. Signed-off-by: Clemens Ladisch commit f87135f56cb266e031f5ec081dfbde7e43f55e80 tree c048abae6bb04df53f5d8d7dcffbf2c28bc638ff parent 6983b7240cd229787c3ee00e663ea94ea649d96a author Clemens Ladisch Sun, 20 Nov 2005 14:06:59 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:17 +0100 [ALSA] dynamic minors (3/6): store device-specific object pointers dynamically Instead of storing the pointers to the device-specific structures in an array, put them into the struct snd_minor, and look them up dynamically. This makes the device type modules independent of the minor number encoding. Signed-off-by: Clemens Ladisch commit 6983b7240cd229787c3ee00e663ea94ea649d96a tree 25005b4a0fce5465e70961a5d3fe2d040786f890 parent 2af677fc884fc6dc79e65c99050ea607ac8bab9b author Clemens Ladisch Sun, 20 Nov 2005 14:05:49 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:15 +0100 [ALSA] dynamic minors (2/6): simplify storage of snd_minor structures Modules: ALSA Core Store the snd_minor structure pointers in one array instead of using a separate list for each card. This simplifies the mapping from device files to minor struct by removing the need to know about the encoding of the card number in the minor number. Signed-off-by: Clemens Ladisch commit 2af677fc884fc6dc79e65c99050ea607ac8bab9b tree 4291d36c2f116d5887b88da5f0213b68933a1201 parent a106cd3d9e88c8761bd0eac2ce402cc82bd11fea author Clemens Ladisch Sun, 20 Nov 2005 14:03:48 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:14 +0100 [ALSA] dynamic minors (1/6): store device type in struct snd_minor Instead of a comment string, store the device type in the snd_minor structure. This makes snd_minor more flexible, and has the nice side effect that we don't need anymore to create a separate snd_minor template for registering a device but can pass the file_operations directly to snd_register_device(). Signed-off-by: Clemens Ladisch commit a106cd3d9e88c8761bd0eac2ce402cc82bd11fea tree 1dd614d50a0bd30af45fd63372f02da5a5fe86e6 parent ac09a9251d3b7678150ee512de8de1bd98628d11 author Clemens Ladisch Sun, 20 Nov 2005 13:59:56 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:12 +0100 [ALSA] rawmidi: protect against invalid device number in snd_rawmidi_info_select() Modules: RawMidi Midlevel In snd_rawmidi_info_select(), check that the device identified by the passed device number actually exists. Signed-off-by: Clemens Ladisch commit ac09a9251d3b7678150ee512de8de1bd98628d11 tree 6bc4cb3fadec6da9ffc619165467ca74aa61161b parent a2c855bbd76e7044c54a9d84ae46f6eead1b8f89 author Clemens Ladisch Sun, 20 Nov 2005 13:58:28 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:11 +0100 [ALSA] cs5535audio: move sound/driver.h to the top Modules: CS5535 driver Move the #include of to the top which is required for compilation on earlier kernels. Signed-off-by: Clemens Ladisch commit a2c855bbd76e7044c54a9d84ae46f6eead1b8f89 tree 101ba08b1a59c4552ecf811848b18c2a35c9e434 parent b32425ac93370e1ba5556110e662f896b2e143b3 author Takashi Iwai Fri, 18 Nov 2005 18:52:39 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:09 +0100 [ALSA] Fix a compile warning Modules: CS4231 driver Fix a compile warning (unused variable). Signed-off-by: Takashi Iwai commit b32425ac93370e1ba5556110e662f896b2e143b3 tree c5837ee90c16d2aa358e399f2ad79ca4eb770e94 parent 2eb061f41cf74f829bfe90a9c79c765172be9f0b author Takashi Iwai Fri, 18 Nov 2005 18:52:14 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:08 +0100 [ALSA] Fix possible races in timer callbacks Fix possible races in timer callbacks. Signed-off-by: Takashi Iwai commit 2eb061f41cf74f829bfe90a9c79c765172be9f0b tree 41d6aa7f968e0a49f93a673cf2600fd85e457894 parent a9824c868a2c7e310e6263ea4bc9f35cbbec8227 author Jaroslav Kysela Fri, 18 Nov 2005 07:44:13 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:04 +0100 [ALSA] intel8x0 - Added swap_hp quirk for Fujitsu-Siemens Celsius H320 [0x10cf:0x12f2] Modules: Intel8x0 driver Signed-off-by: Jaroslav Kysela commit a9824c868a2c7e310e6263ea4bc9f35cbbec8227 tree 10dd67e5bd08e375bc09b138761221187441cbec parent fa55f837bb1bfc3d9ac9988d6f5450a603fa079a author Takashi Iwai Thu, 17 Nov 2005 17:51:00 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:02 +0100 [ALSA] Add CS4232 PnP BIOS support Modules: CS4231 driver,CS4236+ driver Add CS4232 PnP BIOS support. Still experimental. Signed-off-by: Takashi Iwai commit fa55f837bb1bfc3d9ac9988d6f5450a603fa079a tree ed2ad5d1bf0d1943cf0008dcbdab6411bc92c893 parent 73e77ba0235532bd7523ba90883d325f6e095acf author Takashi Iwai Thu, 17 Nov 2005 17:48:30 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:29:00 +0100 [ALSA] Fix resume of cs4231 Modules: CS4231 driver Use mce_down() again in the resume callback. Signed-off-by: Takashi Iwai commit 73e77ba0235532bd7523ba90883d325f6e095acf tree d22f29805ade9e78bd5f1802590d42f6e121c3c1 parent 00a4e3d9f8df8a90966b75d517154718b4a2242a author Takashi Iwai Thu, 17 Nov 2005 17:44:01 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:58 +0100 [ALSA] Add error messages Add error messages in the critial error path to be more verbose. Signed-off-by: Takashi Iwai commit 00a4e3d9f8df8a90966b75d517154718b4a2242a tree aa67a476ecb418679c9e5a5cec89d6a31269dd42 parent 5fe76e4dc60a2c3ff9b1143f5275a953db685e26 author Takashi Iwai Thu, 17 Nov 2005 17:41:08 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:57 +0100 [ALSA] Merge ad1816a-lib module to ad1816a Modules: AD1816A driver Merge ad1816a-lib module to ad1816. There is no more reason to split. Signed-off-by: Takashi Iwai commit 5fe76e4dc60a2c3ff9b1143f5275a953db685e26 tree f54acdb029f429bf8c0068ed964a1216fbe614d3 parent a4efc230c60ad15584e723755316e67b3c708d67 author Takashi Iwai Thu, 17 Nov 2005 17:26:09 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:55 +0100 [ALSA] document - Update PM support Modules: Documentation Update the description about the PCI PM support. Signed-off-by: Takashi Iwai commit a4efc230c60ad15584e723755316e67b3c708d67 tree 8b81a5e7c079ea5e06279f08ba1d6d4ce4d31dcb parent 27441127b086230cc4c57d6cd9a615272fb47bcd author Takashi Iwai Thu, 17 Nov 2005 17:24:26 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:53 +0100 [ALSA] document - Add PM support Modules: Documentation Mark the drivers newly supporting PM in the documentation. Signed-off-by: Takashi Iwai commit 27441127b086230cc4c57d6cd9a615272fb47bcd tree 83ef28d69ec9b3699ddf28eec2e79745c002cfa8 parent ebfbd2b83da14c7118da0efd1b59d8b641da08c2 author Takashi Iwai Thu, 17 Nov 2005 17:22:43 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:52 +0100 [ALSA] Remove snd_legacy_auto_probe() Modules: ALSA Core Remove unsed snd_legacy_auto_probe() function. Signed-off-by: Takashi Iwai commit ebfbd2b83da14c7118da0efd1b59d8b641da08c2 tree 27f33be61aee55d574d9854687d91056763622af parent fa8174db0fd032c3d48cc0873946358c68e44d4f author Takashi Iwai Thu, 17 Nov 2005 17:21:46 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:50 +0100 [ALSA] Remove snd_card_generic_dev() Remove the obsolete snd_card_generic_dev(). CONFIG_SND_GENERIC_DRIVER is also removed from Kconfig. Signed-off-by: Takashi Iwai commit fa8174db0fd032c3d48cc0873946358c68e44d4f tree de77fe66e2f606831b10efec0e687a9385835404 parent 2b3f558727244efb6edb0866952331f537da13a4 author Takashi Iwai Thu, 17 Nov 2005 17:20:15 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:49 +0100 [ALSA] Remove SND_GENERIC_DRIVER from arm/Kconfig Modules: ARM Remove the obsolete SND_GENERIC_DRIVER from arm/Kconfig. Signed-off-by: Takashi Iwai commit 2b3f558727244efb6edb0866952331f537da13a4 tree 9aa637edbfc15af42fc4a11a7d8620afaed600c4 parent 792a6c51875c9d3b4a7b9af553b7fd18e8d84684 author Takashi Iwai Thu, 17 Nov 2005 17:19:50 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:47 +0100 [ALSA] Use platform_device Modules: SA11xx UDA1341 driver Rewrite the probe/remove with platform_device. Fix PM support, too. Signed-off-by: Takashi Iwai commit 792a6c51875c9d3b4a7b9af553b7fd18e8d84684 tree 8d4887d2be87c9734fbee4436bcddcfe4a946e7d parent 5e12bea0833e47117c31f13b528e31dc8112de57 author Takashi Iwai Thu, 17 Nov 2005 17:19:25 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:46 +0100 [ALSA] Fix PM support Modules: ARM AACI PL041 driver,ARM PXA2XX driver Fix PM support of aaci and pxa2xx drivers. Signed-off-by: Takashi Iwai commit 5e12bea0833e47117c31f13b528e31dc8112de57 tree d0e35b6a75cf3605d4e4a64f380d5b46a7eff393 parent e4f163d96080dda40fd02df725f3672d035e4c5a author Takashi Iwai Thu, 17 Nov 2005 17:17:08 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:44 +0100 [ALSA] powermac - Use platform_device Modules: PPC,PPC PMAC driver,PPC PowerMac driver Rewrite the probe/remove with platform_device. Move the PM support to platform_device's callbacks. Signed-off-by: Takashi Iwai commit e4f163d96080dda40fd02df725f3672d035e4c5a tree c97fc3575683cdbd9ea1d25bb92e0519501d2642 parent 7f52bdb61bdb945b29c2a3b3a6d0f8e6e80b8ec8 author Takashi Iwai Thu, 17 Nov 2005 17:15:58 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:42 +0100 [ALSA] pdaudiocf - Fix PM support Modules: PDAudioCF driver Fix the PM support on pdaudiocf driver. Signed-off-by: Takashi Iwai commit 7f52bdb61bdb945b29c2a3b3a6d0f8e6e80b8ec8 tree 96768c8014ac011aaf0db17a8a7e8d281fbf794b parent d29b761e6162d3b91079b25334270a2c36f6157d author Takashi Iwai Thu, 17 Nov 2005 17:15:20 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:41 +0100 [ALSA] Remove SND_GENERIC_DRIVER from isa/Kconfig Modules: ISA Remove the obsolete SND_GENERIC_DRIVER from isa/Kconfig. Signed-off-by: Takashi Iwai commit d29b761e6162d3b91079b25334270a2c36f6157d tree ec32368c58173039725dba4b6fa1b50d8b6aaab5 parent 99a0b7687ef991a577506a1974be146f02f18d74 author Takashi Iwai Thu, 17 Nov 2005 17:14:11 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:39 +0100 [ALSA] wavefront - Use platform_device Modules: Wavefront drivers Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit 99a0b7687ef991a577506a1974be146f02f18d74 tree ef92d7b1898b8a017decf6fd8c20fc6e1ffce6b2 parent 654aa661779703d3b22ba04a83ddeb1a0dd7a09a author Takashi Iwai Thu, 17 Nov 2005 17:13:59 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:37 +0100 [ALSA] opti9xx - Use platform_device Modules: Opti9xx drivers Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit 654aa661779703d3b22ba04a83ddeb1a0dd7a09a tree a113eb172cef6883c46966adbd3bd3399b87f881 parent 2a571ed13c853d132433c7e81509351823a7c8c6 author Takashi Iwai Thu, 17 Nov 2005 17:13:43 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:36 +0100 [ALSA] gus - Use platform_device Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit 2a571ed13c853d132433c7e81509351823a7c8c6 tree 7c50c681906445667fb15b76581fd412cee64b61 parent 277e926c9b2722317a6bf89ed921d97f6784e0cc author Takashi Iwai Thu, 17 Nov 2005 17:13:30 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:34 +0100 [ALSA] es1688 - Use platform_device Modules: ES1688 driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit 277e926c9b2722317a6bf89ed921d97f6784e0cc tree a8f5ae3307e26fecd61f11ac60205c34ebe587ac parent feb158e6ada20b7871f625e1edd429216ac00d3c author Takashi Iwai Thu, 17 Nov 2005 17:13:12 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:31 +0100 [ALSA] sscape - Use platform_device Modules: Sound Scape driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit feb158e6ada20b7871f625e1edd429216ac00d3c tree 75323e101824a15e65573a5179ec407474377409 parent f7e0ba3e440d4aab381dca6d7a7eee8f2faf210b author Takashi Iwai Thu, 17 Nov 2005 17:12:43 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:29 +0100 [ALSA] sgalaxy - Use platform_device, add PM support Modules: Sound Galaxy driver Rewrite the probe/remove with platform_device. Also, add the PM support. Signed-off-by: Takashi Iwai commit f7e0ba3e440d4aab381dca6d7a7eee8f2faf210b tree 88b578819914103fafcf33b3f3bfc618e3ba172c parent 704e05204c623136ea12411dc4286d1caea6cd7c author Takashi Iwai Thu, 17 Nov 2005 17:12:07 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:28 +0100 [ALSA] es18xx - Use platform_device Modules: ES18xx driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit 704e05204c623136ea12411dc4286d1caea6cd7c tree 3527413100be5eb599325eca50a933539fab6cf2 parent acdcbc15426b91b0041756a92ea4932c60def189 author Takashi Iwai Thu, 17 Nov 2005 17:11:53 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:27 +0100 [ALSA] opl3sa2 - Use platform_device Modules: OPL3SA2 driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit acdcbc15426b91b0041756a92ea4932c60def189 tree 07116cab00cfa6e935187af677059a7f5b8fb139 parent 175cdcfb113e2a72f9d1a2ced4b80e0ff17fcaae author Takashi Iwai Thu, 17 Nov 2005 17:11:35 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:25 +0100 [ALSA] cmi8330 - Use platform_device, add PM support Modules: CMI8330 driver Rewrite the probe/remove with platform_device. Also, add the PM support. Signed-off-by: Takashi Iwai commit 175cdcfb113e2a72f9d1a2ced4b80e0ff17fcaae tree d543a187b156f9c468fae56ac4e429e1d4870338 parent e2fa213591518bb1387f6042b8572c76ecdc6c6e author Takashi Iwai Thu, 17 Nov 2005 17:05:02 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:24 +0100 [ALSA] ad1816a - Clean up PnP code Modules: AD1816A driver Clean up PnP code of ad1816a driver. Signed-off-by: Takashi Iwai commit e2fa213591518bb1387f6042b8572c76ecdc6c6e tree a57921931676bc83ec207f813ecb382981b0056d parent b6cc25cae365bada36c9f006e314b998eb2c5e7c author Takashi Iwai Thu, 17 Nov 2005 17:04:35 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:23 +0100 [ALSA] dt019x - Add PM support Modules: DT019x driver Add PM support to dt019x driver. Signed-off-by: Takashi Iwai commit b6cc25cae365bada36c9f006e314b998eb2c5e7c tree f3b3b2df9b698c3004308b342a7b3d65f7ca26fc parent 480615f33fa48e1a4db33e40b21d4009250f5b23 author Takashi Iwai Thu, 17 Nov 2005 17:04:12 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:21 +0100 [ALSA] azt2320 - Add PM support Modules: AZT2320 driver Add PM support to azt2320 driver. Signed-off-by: Takashi Iwai commit 480615f33fa48e1a4db33e40b21d4009250f5b23 tree bd87766d2d32ae02722a65ab99ec0f36c884efb6 parent 6bba41ac974ad77aa21d112a368ee565b55f303b author Takashi Iwai Thu, 17 Nov 2005 17:03:53 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:17 +0100 [ALSA] als100 - Add PM support Modules: ALS100 driver Add PM support to als100 driver. Signed-off-by: Takashi Iwai commit 6bba41ac974ad77aa21d112a368ee565b55f303b tree 421ee3a28760d64e6b6a0d8ea2176e18febe4026 parent 8b91375736ca602a5fc0695b53caa89b6ef263c9 author Takashi Iwai Thu, 17 Nov 2005 17:00:53 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:16 +0100 [ALSA] cs4236 - Use platform_device Modules: CS4236+ driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit 8b91375736ca602a5fc0695b53caa89b6ef263c9 tree 514b636ffb70565f36a7219c5687d0e43dea2cfd parent 7bb35e20e8a00cf9e3f4e9df0457eee9f312a637 author Takashi Iwai Thu, 17 Nov 2005 17:00:41 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:15 +0100 [ALSA] cs4231 - Use platform_device Modules: CS4231 driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai commit 7bb35e20e8a00cf9e3f4e9df0457eee9f312a637 tree e5483c0460f2dd82318c3774d897b24ea3ea5d2b parent 686688458e5814ac0aca44fc2033218a848fd2d0 author Takashi Iwai Thu, 17 Nov 2005 17:00:17 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:13 +0100 [ALSA] cs4231 - Fix PM support Modules: CS4231 driver Fix PM support. Signed-off-by: Takashi Iwai commit 686688458e5814ac0aca44fc2033218a848fd2d0 tree a02ecb0c5d5c35faf4e21728fe0c8a1be37993e3 parent c66d7f72569e304acc134b2561b148fe7c23c0f7 author Takashi Iwai Thu, 17 Nov 2005 16:58:26 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:11 +0100 [ALSA] ad1848 - Use platform_device, add PM Modules: AD1848 driver Rewrite the probe/remove with platform_device. Add the PM support, too. Signed-off-by: Takashi Iwai commit c66d7f72569e304acc134b2561b148fe7c23c0f7 tree 5404f454238c7f3546eaa1f7d892b7c5a1b5e020 parent 7a8fef1f95e563a93c7d70048b63c1ca20685a1b author Takashi Iwai Thu, 17 Nov 2005 16:57:48 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:10 +0100 [ALSA] ad1848 - Add PM support Modules: AD1848 driver Add PM support to ad1848 support code. Signed-off-by: Takashi Iwai commit 7a8fef1f95e563a93c7d70048b63c1ca20685a1b tree 34fa516e4d6775d50fefbab9bfe1bda8d6deb57b parent 67be445871bb35c450100753b72392ad6ddc0245 author Takashi Iwai Thu, 17 Nov 2005 16:56:11 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:08 +0100 [ALSA] es968 - Add PM support Modules: ES968 driver Add PM support to es968 driver. Signed-off-by: Takashi Iwai commit 67be445871bb35c450100753b72392ad6ddc0245 tree 2c39b540d1b1d86f6b94429cac4d5572b322937c parent 6f045616aff91022966b5c37ba6845791dd125dc author Takashi Iwai Thu, 17 Nov 2005 16:55:22 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:07 +0100 [ALSA] sb8 - Use platform_device and add PnP support Modules: SB8 driver Rewrite the probe/remove with platform_device. Add PM support, too. Signed-off-by: Takashi Iwai commit 6f045616aff91022966b5c37ba6845791dd125dc tree 273a962fbd5fcdd131f194cdc9b91ab0c409c98c parent 703529140cfb774366b839f38f027f283cb948b4 author Takashi Iwai Thu, 17 Nov 2005 16:54:56 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:05 +0100 [ALSA] sb16 - Use platform_device and add PnP support Modules: SB16/AWE driver Rewrite the probe/remove with platform_device. Add PM support using PnP suspend/resume callbacks. Signed-off-by: Takashi Iwai commit 703529140cfb774366b839f38f027f283cb948b4 tree a138810f5748f34aea4d3617010e8ede9fc1075c parent 5bdb6a1629408f657f5f2c42b3c07c689c411499 author Takashi Iwai Thu, 17 Nov 2005 16:16:36 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:04 +0100 [ALSA] als4000 - Add PM support Modules: ALS4000 driver Add PM support to PCI ALS4000 driver. Signed-off-by: Takashi Iwai commit 5bdb6a1629408f657f5f2c42b3c07c689c411499 tree b99b216117506a89a3f09ebb874da83ec13fbf6c parent cb60e5f5b2b19284479825cdaa6dd6b7078cf5d2 author Takashi Iwai Thu, 17 Nov 2005 16:16:10 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:03 +0100 [ALSA] Add PM support to SB-support code Modules: SB drivers,SB16/AWE driver Add PM support to SB-support code. Signed-off-by: Takashi Iwai commit cb60e5f5b2b19284479825cdaa6dd6b7078cf5d2 tree 1a2a9674bbe9abc98385b0a5e0015bc250fd9895 parent b1e9ed26a9e472548a63a59014708fdae013b7a3 author Takashi Iwai Thu, 17 Nov 2005 16:14:49 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:28:01 +0100 [ALSA] cmipci - Add PM support Modules: CMIPCI driver Add PM support to CMIPCI driver. Signed-off-by: Takashi Iwai commit b1e9ed26a9e472548a63a59014708fdae013b7a3 tree 69403fa8ec2c417af81098946888e2555ae5e4b9 parent 09668b441dacdf4640509b640ad73e24efd5204f author Takashi Iwai Thu, 17 Nov 2005 16:14:33 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:59 +0100 [ALSA] fm801 - Add PM support Modules: FM801 driver Add PM support to fm801 driver. Signed-off-by: Takashi Iwai commit 09668b441dacdf4640509b640ad73e24efd5204f tree 177d0548acbcca4432f82ce6f3aa397cba5ba528 parent fe8be10786c040bce53c18048d75b1b23aec64ae author Takashi Iwai Thu, 17 Nov 2005 16:14:10 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:58 +0100 [ALSA] emu10k1 - Add PM support Modules: EMU10K1/EMU10K2 driver Add PM support to emu10k1 driver. Signed-off-by: Takashi Iwai commit fe8be10786c040bce53c18048d75b1b23aec64ae tree 5f96e9b242637dd5c654cf9d9e5baeaf680407e1 parent 11d3824ad7d6240d7ce44bdf1d9e81e62a903f72 author Takashi Iwai Thu, 17 Nov 2005 16:13:41 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:56 +0100 [ALSA] ens137x - Fix and ADD PM support Modules: ENS1370/1+ driver Fix PM support on ens1371 driver. Add PM support on ens1370 (together with AK4531), too. Signed-off-by: Takashi Iwai commit 11d3824ad7d6240d7ce44bdf1d9e81e62a903f72 tree 14561c3817dfb06bf4b59c77beaa86fc41bf88d7 parent 3fcf7d2cd8e0ebce10e4bf89da175ff9bd6aa2da author Takashi Iwai Thu, 17 Nov 2005 16:13:05 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:55 +0100 [ALSA] ak4531 - Add PM support Modules: AK4531 codec Add PM support to AK4531 codec driver. Signed-off-by: Takashi Iwai commit 3fcf7d2cd8e0ebce10e4bf89da175ff9bd6aa2da tree 282784904eb8aab68bf98642e75ba2aebd503758 parent 421a12520d4ed4a0c96640fb672ef24ad8019beb author Takashi Iwai Thu, 17 Nov 2005 16:11:24 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:53 +0100 [ALSA] nm256-intel - Fix PM support Modules: NM256 driver Fix PM support on NM256 driver. Signed-off-by: Takashi Iwai commit 421a12520d4ed4a0c96640fb672ef24ad8019beb tree cdfbcad3881129cb50d4d8d5dd1ae5b17a9d7dbc parent bf53c3b3f368cdc2aa9a59f220337ede854f507d author Takashi Iwai Thu, 17 Nov 2005 16:11:09 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:51 +0100 [ALSA] hda-intel - Fix PM support Modules: HDA Intel driver Fix PM support on HDA-Intel driver. Signed-off-by: Takashi Iwai commit bf53c3b3f368cdc2aa9a59f220337ede854f507d tree 420cfb1ef9012e49c8c0b0cfc5a6b3565731c945 parent 57feb83507d598de04e986cfa463acda9f2a67a8 author Takashi Iwai Thu, 17 Nov 2005 16:10:51 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:50 +0100 [ALSA] ali5451 - Fix PM support Modules: ALI5451 driver Fix PM support on ALI5451 driver. Signed-off-by: Takashi Iwai commit 57feb83507d598de04e986cfa463acda9f2a67a8 tree 3a9b9fef2fed7b8306674724685270c012d096b9 parent 0e2364a7013688c06d1a9454a2c20567027f6a6e author Takashi Iwai Thu, 17 Nov 2005 16:10:35 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:48 +0100 [ALSA] via82xx - Fix PM support Modules: VIA82xx driver,VIA82xx-modem driver Fix PM support on VIA82xx and modem drivers. Signed-off-by: Takashi Iwai commit 0e2364a7013688c06d1a9454a2c20567027f6a6e tree c8b80e895ef3ef6b42a81c2ca79e106720a75580 parent 5809c6c41ae95ce3f45ad14d31503deb1fa8268a author Takashi Iwai Thu, 17 Nov 2005 16:10:19 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:47 +0100 [ALSA] maestro3 - Fix PM support Modules: Maestro3 driver Fix PM support on maestro3 driver. Signed-off-by: Takashi Iwai commit 5809c6c41ae95ce3f45ad14d31503deb1fa8268a tree c1029ae1b55bb67414459d47820dd39dfd277ef7 parent ded462356886e5f80f6a20b227f7e5cf7cfc5159 author Takashi Iwai Thu, 17 Nov 2005 16:10:01 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:42 +0100 [ALSA] intel8x0 - Fix PM support Modules: Intel8x0 driver,Intel8x0-modem driver Fix PM support on Intel8x0 and modem drivers. Signed-off-by: Takashi Iwai commit ded462356886e5f80f6a20b227f7e5cf7cfc5159 tree d060b0f123a3bf844246823174bddd7dcfba0a6e parent fb0700b4debbf45fb0465b40188bdc5396947bda author Takashi Iwai Thu, 17 Nov 2005 16:09:43 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:38 +0100 [ALSA] ymfpci - Fix PM support Modules: YMFPCI driver Fix PM support on YMFPCI driver. Signed-off-by: Takashi Iwai commit fb0700b4debbf45fb0465b40188bdc5396947bda tree 6a314571cd81b9995de254932ab7fe37038fa7b5 parent cb28e45ba2aa42393596a364d4f947027db8a1b5 author Takashi Iwai Thu, 17 Nov 2005 16:09:25 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:37 +0100 [ALSA] trident - Fix PM support Modules: Trident driver Fix PM support on Trident driver. Signed-off-by: Takashi Iwai commit cb28e45ba2aa42393596a364d4f947027db8a1b5 tree 8a9dbc18b5d4c2820fedf1ec27ec25c578ddee8c parent 1d4b822be64b119b47c172aaac7ee76949470e28 author Takashi Iwai Thu, 17 Nov 2005 16:09:04 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:35 +0100 [ALSA] cs46xx - Fix PM support Modules: CS46xx driver Fix PM support on CS46xx driver. Signed-off-by: Takashi Iwai commit 1d4b822be64b119b47c172aaac7ee76949470e28 tree 04f56645155654cf6ac411c42b0c44b3adac7287 parent b34a580ec5b2eb7d3a7645552821e9dadb42bdab author Takashi Iwai Thu, 17 Nov 2005 16:08:43 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:34 +0100 [ALSA] es1968 - Fix PM support Modules: ES1968 driver Fix PM support on ES1968 driver. Signed-off-by: Takashi Iwai commit b34a580ec5b2eb7d3a7645552821e9dadb42bdab tree eafcecac59f5d297294e319991b83eab9bd4f465 parent 38c0a158ee23027e6a4fe47311e05d9c34c94da4 author Takashi Iwai Thu, 17 Nov 2005 16:08:27 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:31 +0100 [ALSA] es1938 - Fix PM support Modules: ES1938 driver Fix PM support on ES1938 driver. Signed-off-by: Takashi Iwai commit 38c0a158ee23027e6a4fe47311e05d9c34c94da4 tree 541dfe21e27fed32932b117aa00dd3d5971ac344 parent 92304cc7ecfc87d8336696ab5fe6a1c0eec2ff00 author Takashi Iwai Thu, 17 Nov 2005 16:08:11 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:27 +0100 [ALSA] cs4281 - Fix PM support Modules: CS4281 driver Fix PM support on CS4281 driver. Signed-off-by: Takashi Iwai commit 92304cc7ecfc87d8336696ab5fe6a1c0eec2ff00 tree 979c7147e3234bc4c92eaf97aff08853c5bb7264 parent 0ed1cad172176a4595f82e8cd9055938ad54bd4b author Takashi Iwai Thu, 17 Nov 2005 16:07:46 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:24 +0100 [ALSA] atiixp - Fix PM support Modules: ATIIXP driver,ATIIXP-modem driver Fix PM support on ATIIXP and modem drivers. Signed-off-by: Takashi Iwai commit 0ed1cad172176a4595f82e8cd9055938ad54bd4b tree b00296e5a061c90debfc4fa8c5303f75042456bc parent 597c3c96691c861e837f9024084b4943fa5fc0fd author Takashi Iwai Thu, 17 Nov 2005 16:06:05 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:22 +0100 [ALSA] vx-driver - Fix PM support Fix PM support on VX drivers (vxpocket and vx222). Signed-off-by: Takashi Iwai commit 597c3c96691c861e837f9024084b4943fa5fc0fd tree 1a27106490d5f24fe270d2be1d5e209d65b3c329 parent b3fe95123f0db79dd0345d249c312823178c11f5 author Takashi Iwai Thu, 17 Nov 2005 16:04:14 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:20 +0100 [ALSA] Remove SND_GENERIC_DRIVER from drivers/Kconfig Modules: Generic drivers Remove SND_GENERIC_DRIVER from drivers/Kconfig. Signed-off-by: Takashi Iwai commit b3fe95123f0db79dd0345d249c312823178c11f5 tree c7c3b6c2270bbe4e4fe83a348e8603ae52df07c4 parent 3564fbb880f9a62ddbb81b7440c32e0e6619c52d author Takashi Iwai Thu, 17 Nov 2005 16:03:39 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:14 +0100 [ALSA] mpu401 - Use platform_device Modules: MPU401 UART Rewrite the probe/remove code using platform_device. Signed-off-by: Takashi Iwai commit 3564fbb880f9a62ddbb81b7440c32e0e6619c52d tree 87689136136d719d0ada90638ee696a2679f6a53 parent 9caf6b5908e1e3b10478e9201ca1be809145253f author Takashi Iwai Thu, 17 Nov 2005 16:03:26 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:13 +0100 [ALSA] virmidi - Use platform_device Modules: Generic drivers Rewrite the probe/remove code using platform_device. Signed-off-by: Takashi Iwai commit 9caf6b5908e1e3b10478e9201ca1be809145253f tree c4429da58b9f7169b4371675e3625a5f868c4acf parent 077d0ac5b63185abb848ae81e2949a1e9aedc1bb author Takashi Iwai Thu, 17 Nov 2005 16:02:30 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:27:11 +0100 [ALSA] serial-u16550 - Use platform_device Modules: Generic drivers Rewrite the probe/remove code using platform_device. Signed-off-by: Takashi Iwai commit 4e4c62bd45c40e8e04d09a5f383bffb149abaa63 tree 2ad72d2cb9d27d54af053dff3723a3213ae5fcb8 parent 97f2aab6698f3ab2552c41c1024a65ffd0763a6d author Dave Airlie Tue, 03 Jan 2006 22:25:29 +1100 committer Dave Airlie Tue, 03 Jan 2006 22:25:29 +1100 drm: remove is_pci flag completely... this snuck back in, in the last merge. Signed-off-by: Dave Airlie commit 077d0ac5b63185abb848ae81e2949a1e9aedc1bb tree 56fdb29388d28123548cb5a067fee957032d69d6 parent 6e65c1cc4458b2784224759b6137a50d4f65e610 author Takashi Iwai Thu, 17 Nov 2005 16:02:15 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:32 +0100 [ALSA] mtpav - Use platform_device Modules: Generic drivers Rewrite the probe/remove code using platform_device. Signed-off-by: Takashi Iwai commit 6e65c1cc4458b2784224759b6137a50d4f65e610 tree 3eb2969064812e3c4aa202bc5f97f6e2aeb98e31 parent e26e7545e9542425f140cb4c605a7ab5a3b13e00 author Takashi Iwai Thu, 17 Nov 2005 16:01:56 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:29 +0100 [ALSA] dummy - Use platform_device Modules: Generic drivers Rewrite the probe/remove code using platform_device. Added the suspend/resume support, too. Signed-off-by: Takashi Iwai commit e26e7545e9542425f140cb4c605a7ab5a3b13e00 tree adbbb875ffba2bf48f18aa962cb0d260314744a5 parent 603bf524aa4cba95e4fcd64dbfffc41f804c65ab author Takashi Iwai Thu, 17 Nov 2005 16:00:01 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:28 +0100 [ALSA] ac97 - NULL check in snd_ac97_suspend/resume Modules: AC97 Codec Add NULL check in snd_ac97_suspend() and snd_ac97_resume() so that the caller doesn't have to do it by itself. Signed-off-by: Takashi Iwai commit 603bf524aa4cba95e4fcd64dbfffc41f804c65ab tree 6ea3abc3f71b3b234c161e1c5744674727176c00 parent a381a7a66486f11606eccb8866e29848f995278f author Takashi Iwai Thu, 17 Nov 2005 15:59:14 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:20 +0100 [ALSA] pcm - NULL check in snd_pcm_suspend*() Modules: PCM Midlevel Add NULL check in snd_pcm_suspend*() so that the caller doesn't have to do it by itself. Signed-off-by: Takashi Iwai commit a381a7a66486f11606eccb8866e29848f995278f tree 4fcc2f971a1f0d509939181b91096a600454b0d6 parent fd66e0d0591dd12eb0bea1e9f3aa194bb93cebbd author Takashi Iwai Thu, 17 Nov 2005 15:55:49 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:19 +0100 [ALSA] Decentralize PM control Modules: ALSA Core,Control Midlevel,/oss/Makefile Remove the centralized PM control in the sound core. Each driver is responsible to get callbacks from bus/driver now. SND_GENERIC_DRIVER is removed together with this action. Signed-off-by: Takashi Iwai commit fd66e0d0591dd12eb0bea1e9f3aa194bb93cebbd tree 010f8f3a7d1db8061616d0228c48bfe129ddabb7 parent 9398441edaf0dc64eca828e3ce7a0326c8640d4c author Takashi Iwai Thu, 17 Nov 2005 15:31:34 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:17 +0100 [ALSA] hda-codec - Add AD1988 support Modules: HDA Codec driver Add AD1988 codec support to hda-codec driver. Still experimental, and no BIOS configuration parser is implemented yet. Signed-off-by: Takashi Iwai commit 9398441edaf0dc64eca828e3ce7a0326c8640d4c tree 87d41ad6c4183f242e411557dca3b2f67a364bc5 parent 446ab5f5039df4209a2e28752bd48c99007d3d82 author Takashi Iwai Thu, 17 Nov 2005 15:30:43 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:15 +0100 [ALSA] ac97-codec - Better ac97_bus name Modules: AC97 Codec Generate a better name string for ac97_bus sysfs interface including the name of ac97 codec chip. Signed-off-by: Takashi Iwai commit 446ab5f5039df4209a2e28752bd48c99007d3d82 tree d40253e01ba04cfdf03ba2aaf5f81e91d40be369 parent a0d6f880faad2ceba3af3b8c34ddefd15119ced1 author Takashi Iwai Thu, 17 Nov 2005 15:12:54 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:14 +0100 [ALSA] Remove xxx_t typedefs: Documentation Modules: Documentation Remove xxx_t typedefs from documentation. Signed-off-by: Takashi Iwai commit a0d6f880faad2ceba3af3b8c34ddefd15119ced1 tree 2ce497e711bb02f9fb439c793ed5e10fbc0460c7 parent 67b1020d88a77a73bd9ccbc21733c155a4d7d44c author Takashi Iwai Thu, 17 Nov 2005 15:12:31 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:12 +0100 [ALSA] Remove xxx_t typedefs: MIPS AU1x00 Modules: MIPS AU1x00 driver Remove xxx_t typedefs from the MIPS AU1x00 driver. Signed-off-by: Takashi Iwai commit 67b1020d88a77a73bd9ccbc21733c155a4d7d44c tree 996fad816752751d467e70e632f7953fd872e7d5 parent 475675d6931ec03cf9575b26e30800fe64898ee0 author Takashi Iwai Thu, 17 Nov 2005 15:12:11 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:09 +0100 [ALSA] Remove xxx_t typedefs: PARISC Harmony Modules: PARISC Harmony driver Remove xxx_t typedefs from the PARIC Harmony driver. Signed-off-by: Takashi Iwai commit 475675d6931ec03cf9575b26e30800fe64898ee0 tree 1c54092e096066777f4cebc2b63a92a82003d8b6 parent dcc94db78362759931ff538f1579d4a1cec8bd64 author Takashi Iwai Thu, 17 Nov 2005 15:11:51 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:08 +0100 [ALSA] Remove xxx_t typedefs: SPARC DBRI Modules: SPARC DBRI driver Remove xxx_t typedefs from the SPARC DBRI driver. Signed-off-by: Takashi Iwai commit dcc94db78362759931ff538f1579d4a1cec8bd64 tree 2755792c2fe694b9ade90a32f91e495bced46c60 parent af0fbfb58dbb2081ae91789892933321ee95d71f author Takashi Iwai Thu, 17 Nov 2005 15:11:19 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:06 +0100 [ALSA] Remove xxx_t typedefs: SPARC AMD7930 Modules: SPARC AMD7930 driver Remove xxx_t typedefs from the SPARC AMD7930 driver. Signed-off-by: Takashi Iwai commit af0fbfb58dbb2081ae91789892933321ee95d71f tree 16ba6aaffb6e6319f652d30db40fd9ed61ac1cfd parent d18f83764e376dea9e14a8ac53d1e14004fa9c13 author Takashi Iwai Thu, 17 Nov 2005 15:10:58 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:04 +0100 [ALSA] Remove xxx_t typedefs: ARM SA11xx-UDA1341 Modules: SA11xx UDA1341 driver Remove xxx_t typedefs from the ARM SA11xx-UDA1341 driver. Signed-off-by: Takashi Iwai commit d18f83764e376dea9e14a8ac53d1e14004fa9c13 tree f51e4a25f8cf71d642c0ab46233858322427c293 parent ceb9e476c89f50e9ba7de914bbec2c05e9647915 author Takashi Iwai Thu, 17 Nov 2005 15:10:38 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:03 +0100 [ALSA] Remove xxx_t typedefs: ARM PXA2xx Modules: ARM PXA2XX driver Remove xxx_t typedefs from the ARM PXA2xx driver. Signed-off-by: Takashi Iwai commit ceb9e476c89f50e9ba7de914bbec2c05e9647915 tree de55dca47a4e573d1baa2f2bb6b269613de83590 parent 65b29f5039b38a5854b5e12238b0688a33e235cc author Takashi Iwai Thu, 17 Nov 2005 15:10:16 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:01 +0100 [ALSA] Remove xxx_t typedefs: ARM AACI Modules: ARM AACI PL041 driver,ARM DMA routines Remove xxx_t typedefs from the ARM AACI driver. Signed-off-by: Takashi Iwai commit 65b29f5039b38a5854b5e12238b0688a33e235cc tree bcbb2986d8a6b247387c0f7516c8f43dddeaf07c parent bbe85bbd02b2220c819ad1e33c9d6327131ad281 author Takashi Iwai Thu, 17 Nov 2005 15:09:46 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:20:00 +0100 [ALSA] Remove xxx_t typedefs: PowerMac Remove xxx_t typedefs from the PowerMac driver. Signed-off-by: Takashi Iwai commit bbe85bbd02b2220c819ad1e33c9d6327131ad281 tree f22dffee1b6211dae18ac7946facbb7add845ca3 parent 86e07d34658bb85b3424f4db64fa28f884edbe8d author Takashi Iwai Thu, 17 Nov 2005 15:08:26 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:56 +0100 [ALSA] Remove xxx_t typedefs: USB-USX2Y Modules: USB USX2Y Remove xxx_t typedefs from the USB-USX2Y driver. Signed-off-by: Takashi Iwai commit 86e07d34658bb85b3424f4db64fa28f884edbe8d tree eb6a97b850d12d2f64fa13cd1c436f0735627171 parent db13154843cb2c99a93e9feed575e906f6e0e455 author Takashi Iwai Thu, 17 Nov 2005 15:08:02 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:55 +0100 [ALSA] Remove xxx_t typedefs: USB-Audio Modules: USB generic driver Remove xxx_t typedefs from the USB-Audio driver. Signed-off-by: Takashi Iwai commit db13154843cb2c99a93e9feed575e906f6e0e455 tree 8249fdd690638c3ea7f3865b1889ccafd8a7a7ae parent e437e3d7c7fb656010f8f767d20215e67b847685 author Takashi Iwai Thu, 17 Nov 2005 15:07:38 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:52 +0100 [ALSA] Remove xxx_t typedefs: PCMCIA PDaudioCF Modules: PDAudioCF driver Remove xxx_t typedefs from the PCMCIA PDaudioCF driver. Signed-off-by: Takashi Iwai commit e437e3d7c7fb656010f8f767d20215e67b847685 tree 807b22db635295cded8ccb5af23f491b22a2a2e6 parent 016e401c2e64ce5c440b1f68eae4a53273aa0bc2 author Takashi Iwai Thu, 17 Nov 2005 15:06:15 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:49 +0100 [ALSA] Remove xxx_t typedefs: PCI VIA82xx Modules: VIA82xx driver,VIA82xx-modem driver Remove xxx_t typedefs from the PCI VIA82xx and modem drivers. Signed-off-by: Takashi Iwai commit 016e401c2e64ce5c440b1f68eae4a53273aa0bc2 tree 1f55600de23e28457d732115a18b2798fc4fa5cc parent a3aefd883dc8c17c2231d763630ffe5cd118d7e8 author Takashi Iwai Thu, 17 Nov 2005 15:05:57 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:47 +0100 [ALSA] Remove xxx_t typedefs: PCI Sonicvibes Modules: SonicVibes driver Remove xxx_t typedefs from the PCI Sonicvibes driver. Signed-off-by: Takashi Iwai commit a3aefd883dc8c17c2231d763630ffe5cd118d7e8 tree 2e116466a303e864a22671278e10fac69ab7f39d parent 017ce80236c28bae9c2573307f1e76724232f287 author Takashi Iwai Thu, 17 Nov 2005 15:05:37 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:45 +0100 [ALSA] Remove xxx_t typedefs: PCI RME96 Modules: RME96 driver Remove xxx_t typedefs from the PCI RME96 driver. Signed-off-by: Takashi Iwai commit 017ce80236c28bae9c2573307f1e76724232f287 tree e2d59723fb9be9195e2fd76618fab593e5bdad1a parent 3470c29dbde2aa8320acb29a654b5a72756ee58b author Takashi Iwai Thu, 17 Nov 2005 15:05:25 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:43 +0100 [ALSA] Remove xxx_t typedefs: PCI RME32 Modules: RME32 driver Remove xxx_t typedefs from the PCI RME32 driver. Signed-off-by: Takashi Iwai commit 3470c29dbde2aa8320acb29a654b5a72756ee58b tree b97f5a716ceeb2b803cf752d9e123990247cc134 parent 6b75a9d8b6c794d4c41d1b875c3e8e920b09e151 author Takashi Iwai Thu, 17 Nov 2005 15:05:09 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:41 +0100 [ALSA] Remove xxx_t typedefs: PCI Maestro3 Modules: Maestro3 driver Remove xxx_t typedefs from the PCI Maestro3 driver. Signed-off-by: Takashi Iwai commit 6b75a9d8b6c794d4c41d1b875c3e8e920b09e151 tree b75b956a7695a3f63c9fbdf5350ebbb90aca99c2 parent a5f22156e03d40f1da24a1b19a8a84c4fb3208f2 author Takashi Iwai Thu, 17 Nov 2005 15:04:53 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:38 +0100 [ALSA] Remove xxx_t typedefs: PCI Intel8x0 Modules: Intel8x0 driver,Intel8x0-modem driver Remove xxx_t typedefs from the PCI Intel8x0 and modem drivers. Signed-off-by: Takashi Iwai commit a5f22156e03d40f1da24a1b19a8a84c4fb3208f2 tree 6dddf7c10e87200412d765361f637d45101e3a71 parent 969165a8b5d9a5b3e3c205c312a13a1872844297 author Takashi Iwai Thu, 17 Nov 2005 15:04:28 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:36 +0100 [ALSA] Remove xxx_t typedefs: PCI FM801 Modules: FM801 driver Remove xxx_t typedefs from the PCI FM801 driver. Signed-off-by: Takashi Iwai commit 969165a8b5d9a5b3e3c205c312a13a1872844297 tree 805c09c80b8b526e633e2e07b5d4273f5eaf57b3 parent e571f59436d1827b5f00f3fba90b30ad7a5ff01e author Takashi Iwai Thu, 17 Nov 2005 15:04:14 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:35 +0100 [ALSA] Remove xxx_t typedefs: PCI ES1968 Modules: ES1968 driver Remove xxx_t typedefs from the PCI ES1968 driver. Signed-off-by: Takashi Iwai commit e571f59436d1827b5f00f3fba90b30ad7a5ff01e tree a0f6a73785923030f8139d5d7061720ff334fffb parent eb3414b4652344972e86c85ce094cc4a780e1a55 author Takashi Iwai Thu, 17 Nov 2005 15:04:01 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:33 +0100 [ALSA] Remove xxx_t typedefs: PCI ES1938 Modules: ES1938 driver Remove xxx_t typedefs from the PCI ES1938 driver. Signed-off-by: Takashi Iwai commit eb3414b4652344972e86c85ce094cc4a780e1a55 tree e786703d8a7bbdae9be8739d012bf6f570f18a9b parent 93e35f956a1720eedcf95b8337dde25bde22d624 author Takashi Iwai Thu, 17 Nov 2005 15:03:46 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:32 +0100 [ALSA] Remove xxx_t typedefs: PCI ENS137x Modules: ENS1370/1+ driver Remove xxx_t typedefs from the PCI ENS137x drivers. Signed-off-by: Takashi Iwai commit 93e35f956a1720eedcf95b8337dde25bde22d624 tree 322844fd62ba2e0aa93362d9231b23f788dfef7d parent 2cbdb686dd8df8d80742738ab50acfcfe9a95939 author Takashi Iwai Thu, 17 Nov 2005 15:03:28 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:29 +0100 [ALSA] Remove xxx_t typedefs: PCI CS4281 Modules: CS4281 driver Remove xxx_t typedefs from the PCI CS4281 driver. Signed-off-by: Takashi Iwai commit 2cbdb686dd8df8d80742738ab50acfcfe9a95939 tree 55c02d451bc6832087609e85b65a8e4aeed2e27e parent 9f362dce9d6315fa24aab6290cb9628563160f75 author Takashi Iwai Thu, 17 Nov 2005 15:03:13 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:27 +0100 [ALSA] Remove xxx_t typedefs: PCI CMIPCI Modules: CMIPCI driver Remove xxx_t typedefs from the PCI CMIPCI driver. Signed-off-by: Takashi Iwai commit 9f362dce9d6315fa24aab6290cb9628563160f75 tree 71f2dfac3228aa0f3f959bf3bab4e719fb61253d parent 95de77660bb54e603d32f2ce342ae16e6de1b2d4 author Takashi Iwai Thu, 17 Nov 2005 15:02:58 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:26 +0100 [ALSA] Remove xxx_t typedefs: PCI BT87x Modules: BT87x driver Remove xxx_t typedefs from the PCI BT87x driver. Signed-off-by: Takashi Iwai commit 95de77660bb54e603d32f2ce342ae16e6de1b2d4 tree 7e13ede45010d0778dfce2747464a0baf02f5d6d parent 74ee4ff1e62d9798361763f152c6f07d491be819 author Takashi Iwai Thu, 17 Nov 2005 15:02:42 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:24 +0100 [ALSA] Remove xxx_t typedefs: PCI AZT3328 Modules: AZT3328 driver Remove xxx_t typedefs from the PCI AZT3328 driver. Signed-off-by: Takashi Iwai commit 74ee4ff1e62d9798361763f152c6f07d491be819 tree 4790b9498602f38400bc8a371a604ae4fdd4e95c parent 17c39d9a59cbf4b3a51a2694134754fc1d3668e7 author Takashi Iwai Thu, 17 Nov 2005 15:02:23 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:22 +0100 [ALSA] Remove xxx_t typedefs: PCI ATIIXP Modules: ATIIXP driver,ATIIXP-modem driver Remove xxx_t typedefs from the PCI ATIIXP and modem drivers. Signed-off-by: Takashi Iwai commit 17c39d9a59cbf4b3a51a2694134754fc1d3668e7 tree e5b29d68fd324693fe72f78c3df67accfa62d41a parent 02c2de69d0bb0ed39b413188241beb4a29d05378 author Takashi Iwai Thu, 17 Nov 2005 15:02:01 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:21 +0100 [ALSA] Remove xxx_t typedefs: PCI ALS4000 Modules: ALS4000 driver Remove xxx_t typedefs from the PCI ALS4000 driver. Signed-off-by: Takashi Iwai commit 02c2de69d0bb0ed39b413188241beb4a29d05378 tree 90c3b19b785e9fc27ffd1d9a62ada1c93902813b parent 10754f53450a2c2aababe69f20edd7d2077e588d author Takashi Iwai Thu, 17 Nov 2005 15:01:46 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:20 +0100 [ALSA] Remove xxx_t typedefs: PCI AD1889 Modules: AD1889 driver Remove xxx_t typedefs from the PCI AD1889 driver. Signed-off-by: Takashi Iwai commit 10754f53450a2c2aababe69f20edd7d2077e588d tree cf21ec72bfe5a068492bda56c318054426b77486 parent 67b48b880062ba1775f424c2dd2c68bc30ec180f author Takashi Iwai Thu, 17 Nov 2005 15:01:29 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:18 +0100 [ALSA] Remove xxx_t typedefs: PCI NM256 Modules: NM256 driver Remove xxx_t typedefs from the PCI NM256 driver. Signed-off-by: Takashi Iwai commit 67b48b880062ba1775f424c2dd2c68bc30ec180f tree 32a39285a55e57cecb773ee92bff82322faaf33a parent fcfd3332e3bf5f63116044c168110820996cd1fe author Takashi Iwai Thu, 17 Nov 2005 15:01:08 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:16 +0100 [ALSA] Remove xxx_t typedefs: PCI miXart Modules: MIXART driver Remove xxx_t typedefs from the PCI miXart driver. Signed-off-by: Takashi Iwai commit fcfd3332e3bf5f63116044c168110820996cd1fe tree 5147f9d3517f0e6cbc24ab6c2de48970dcf29c7f parent ab0c7d72c32d703d1a2833ce2a1920cd3b46b131 author Takashi Iwai Thu, 17 Nov 2005 15:00:46 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:15 +0100 [ALSA] Remove xxx_t typedefs: PCI KORG1212 Modules: KORG1212 driver Remove xxx_t typedefs from the PCI KORG1212 driver. Signed-off-by: Takashi Iwai commit ab0c7d72c32d703d1a2833ce2a1920cd3b46b131 tree 6d5ed4991fd9b463fa929899af0ddf0cde158def parent 6ca308d4edd51c4f34ffff94ae0bbf193087d89f author Takashi Iwai Thu, 17 Nov 2005 15:00:18 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:13 +0100 [ALSA] Remove xxx_t typedefs: PCI ICE1724 Modules: ICE1724 driver,ICE1712 driver Remove xxx_t typedefs from the PCI ICE1724 driver. Signed-off-by: Takashi Iwai commit 6ca308d4edd51c4f34ffff94ae0bbf193087d89f tree 6bc0cb2ccacc6a4fd08cc35ecda4819e01f87af5 parent a98f90fd826913519c3f704ea24fb9bea1e0e494 author Takashi Iwai Thu, 17 Nov 2005 14:59:52 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:11 +0100 [ALSA] Remove xxx_t typedefs: PCI ICE1712 Modules: ICE1712 driver Remove xxx_t typedefs from the PCI ICE1712 driver. Signed-off-by: Takashi Iwai commit a98f90fd826913519c3f704ea24fb9bea1e0e494 tree ab27d20cc7ce7378e485bbe2d59303d175ca9267 parent c8b6bf9b5ef1f595a65a3414a5ca2588e8d993b2 author Takashi Iwai Thu, 17 Nov 2005 14:59:02 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:09 +0100 [ALSA] Remove xxx_t typedefs: HDA-Intel Modules: HDA Intel driver Remove xxx_t typedefs from the HDA-Intel driver. Signed-off-by: Takashi Iwai commit c8b6bf9b5ef1f595a65a3414a5ca2588e8d993b2 tree 9c297d352b2f6056fc336fb4ccb3f1a9f4c9a102 parent 66f8df6bdd388d209c38197785148c994c8a738d author Takashi Iwai Thu, 17 Nov 2005 14:57:47 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:06 +0100 [ALSA] Remove xxx_t typedefs: HD-Audio codec Modules: HDA Codec driver,HDA generic driver Remove xxx_t typedefs from the HD-Audio codec support codes. Signed-off-by: Takashi Iwai commit 66f8df6bdd388d209c38197785148c994c8a738d tree ce3354130f1e18089066f82325c008ebc3d956af parent d1fabd9cbc2f17b525a39adc16331443dddbb15b author Takashi Iwai Thu, 17 Nov 2005 14:56:21 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:04 +0100 [ALSA] Remove xxx_t typedefs: PCI CS5535 Modules: CS5535 driver Remove xxx_t typedefs from the PCI CS5535 driver. Signed-off-by: Takashi Iwai commit d1fabd9cbc2f17b525a39adc16331443dddbb15b tree aae8ae3e530ddc1d88fe268ff32c4becca3281b4 parent e4a3d145455159955d6ac1df976b2ed2a135b858 author Takashi Iwai Thu, 17 Nov 2005 14:56:03 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:03 +0100 [ALSA] Remove xxx_t typedefs: PCI ALI5451 Modules: ALI5451 driver Remove xxx_t typedefs from the PCI ALI5451 driver. Signed-off-by: Takashi Iwai commit e4a3d145455159955d6ac1df976b2ed2a135b858 tree 71a0a4f0a71d07d153d32d88430f21ac4efcdde7 parent 2fd16874aa6322e8b61879a78f3b485999506833 author Takashi Iwai Thu, 17 Nov 2005 14:55:40 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:19:01 +0100 [ALSA] Remove xxx_t typedefs: PCI CA0106 Modules: CA0106 driver Remove xxx_t typedefs from the PCI CA0106 driver. Signed-off-by: Takashi Iwai commit 2fd16874aa6322e8b61879a78f3b485999506833 tree 3d7033f5e9a7873f0c7b871b8b097c79c1cec5e6 parent 208a1b4cb5ad97510aa9cbe51d09e55656691cb4 author Takashi Iwai Thu, 17 Nov 2005 14:55:19 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:59 +0100 [ALSA] Remove xxx_t typedefs: PCI AU88x0 Modules: au88x0 driver Remove xxx_t typedefs from the PCI AU88x0 drivers. Signed-off-by: Takashi Iwai commit 208a1b4cb5ad97510aa9cbe51d09e55656691cb4 tree 5f3c518582f92d19905451aec1bbb2ddd5cbd759 parent bee1a5be8b6210a0a4e27e38d0f76847b0a014ae author Takashi Iwai Thu, 17 Nov 2005 14:53:41 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:58 +0100 [ALSA] Remove xxx_t typedefs: PCI YMFPCI Modules: YMFPCI driver Remove xxx_t typedefs from the PCI YMFPCI driver. Signed-off-by: Takashi Iwai commit bee1a5be8b6210a0a4e27e38d0f76847b0a014ae tree c8059b86095309e23b4fa61d576e96c722466ee6 parent abfd67bd6fcc07b54d54e00a9105900f478323a6 author Takashi Iwai Thu, 17 Nov 2005 14:53:15 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:56 +0100 [ALSA] Remove xxx_t typedefs: PCI Trident Modules: Trident driver Remove xxx_t typedefs from the PCI Trident driver. Signed-off-by: Takashi Iwai commit abfd67bd6fcc07b54d54e00a9105900f478323a6 tree f9c388fbedf793e85d6fc0552584bd6fe4792a48 parent 98274f0701f9e6579ae493ac190227fe93d11e20 author Takashi Iwai Thu, 17 Nov 2005 14:52:53 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:54 +0100 [ALSA] Remove xxx_t typedefs: PCI RME9652 Modules: RME9652 driver Remove xxx_t typedefs from the PCI RME9652 driver. Signed-off-by: Takashi Iwai commit 98274f0701f9e6579ae493ac190227fe93d11e20 tree e6fec740e4103589ea96af83e074d507b33f001c parent 55e957d8328ef1c75238b95033d8a61994b6adcc author Takashi Iwai Thu, 17 Nov 2005 14:52:34 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:53 +0100 [ALSA] Remove xxx_t typedefs: PCI HDSP-MADI Modules: HDSPM driver,RME9652 driver Remove xxx_t typedefs from the PCI HDSP-MADI driver. Signed-off-by: Takashi Iwai commit 55e957d8328ef1c75238b95033d8a61994b6adcc tree dc0012628d0dd0307cbad024a9a13fa5d988f0bb parent 4b32f1aae23f566e98fda140836023dd8275b5de author Takashi Iwai Thu, 17 Nov 2005 14:52:13 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:51 +0100 [ALSA] Remove xxx_t typedefs: PCI HDSP Modules: RME HDSP driver Remove xxx_t typedefs from the PCI HDSP driver. Signed-off-by: Takashi Iwai commit 4b32f1aae23f566e98fda140836023dd8275b5de tree df972b04146507d918c6aa24ca5d3c7259910a71 parent eb4698f347ec908c365504c4edddadd1acd406ea author Takashi Iwai Thu, 17 Nov 2005 14:50:31 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:49 +0100 [ALSA] Remove xxx_t typedefs: PCI emu10k1x Modules: EMU10K1/EMU10K2 driver Remove xxx_t typedefs from the PCI emu10k1x driver. Signed-off-by: Takashi Iwai commit eb4698f347ec908c365504c4edddadd1acd406ea tree 4962019c8bf4a52e35ab55137e17aa150edf9661 parent 3d19f804ef5f1d15fe001fc8d1ed58fac9d591fb author Takashi Iwai Thu, 17 Nov 2005 14:50:13 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:47 +0100 [ALSA] Remove xxx_t typedefs: PCI emu10k1 Modules: EMU10K1/EMU10K2 driver Remove xxx_t typedefs from the PCI emu10k1 driver. Signed-off-by: Takashi Iwai commit 3d19f804ef5f1d15fe001fc8d1ed58fac9d591fb tree e3fd21398754a5c970a2c36f745a910c17db3794 parent af26367f69a474ed809e4a59abb5855b47daaff4 author Takashi Iwai Thu, 17 Nov 2005 14:48:14 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:45 +0100 [ALSA] Remove xxx_t typedefs: PCI CS46xx Modules: CS46xx driver Remove xxx_t typedefs from the PCI CS46xx driver. Signed-off-by: Takashi Iwai commit af26367f69a474ed809e4a59abb5855b47daaff4 tree 8ee9ec6449b3b51953cda3d546e90c064f963684 parent 9f38945fab04a0a0ea50880fa634f9bfa28f6226 author Takashi Iwai Thu, 17 Nov 2005 14:46:59 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:42 +0100 [ALSA] Remove xxx_t typedefs: VXdriver Remove xxx_t typedefs from the VXdriver codes (vx_core support, vx222 and vxpocket). Signed-off-by: Takashi Iwai commit 9f38945fab04a0a0ea50880fa634f9bfa28f6226 tree 7f09c129ce5199bdc0834456e09460f1df81427f parent 11ff5c62b1327cc7bdcfcf66b4b718495fea0043 author Takashi Iwai Thu, 17 Nov 2005 14:44:47 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:41 +0100 [ALSA] Remove xxx_t typedefs: AK4531 codec Modules: AK4531 codec Remove xxx_t typedefs from the AK4531 codec support code. Signed-off-by: Takashi Iwai commit 11ff5c62b1327cc7bdcfcf66b4b718495fea0043 tree a6ed8733002ac196993a091504d804dca48317a1 parent be6245373f46eb21839ba1b54c83bc7cc8274208 author Takashi Iwai Thu, 17 Nov 2005 14:42:36 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:39 +0100 [ALSA] Remove xxx_t typedefs: ISA SB/AD-clone Modules: ALS100 driver,AZT2320 driver,DT019x driver,Sound Galaxy driver Remove xxx_t typedefs from the ISA SB/AD-clone drivers (als100, azt2320, dt019x, sgalaxy). Signed-off-by: Takashi Iwai commit be6245373f46eb21839ba1b54c83bc7cc8274208 tree 645b9067557c6cb2fe733d7d4aacdfa005b1220e parent ec6c5ae353fd9b1141da67094e125e75d031d740 author Takashi Iwai Thu, 17 Nov 2005 14:42:05 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:37 +0100 [ALSA] Remove xxx_t typedefs: ISA SoundScape Modules: Sound Scape driver Remove xxx_t typedefs from the ISA SoundScape driver. Signed-off-by: Takashi Iwai commit ec6c5ae353fd9b1141da67094e125e75d031d740 tree b17125118d8f4e07636992aebe69d5b133592e6f parent 8047c910ff27811060e6983ac446ed5a0fe550c6 author Takashi Iwai Thu, 17 Nov 2005 14:41:45 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:36 +0100 [ALSA] Remove xxx_t typedefs: ISA OPL3SA2 Modules: OPL3SA2 driver Remove xxx_t typedefs from the ISA OPL3SA2 driver. Signed-off-by: Takashi Iwai commit 8047c910ff27811060e6983ac446ed5a0fe550c6 tree 1a48ae4d0caaa29804cd38bf8398ad3a526ab69a parent e3561703723fcc2315f852cb85e80533a2c58e3e author Takashi Iwai Thu, 17 Nov 2005 14:41:22 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:34 +0100 [ALSA] Remove xxx_t typedefs: ISA ES18xx Modules: ES18xx driver Remove xxx_t typedefs from the ISA ES18xx driver. Signed-off-by: Takashi Iwai commit e3561703723fcc2315f852cb85e80533a2c58e3e tree 6c0712a5f963851e21e9a9d0c8773e0c9fe2decd parent 542172f31d41e689988aedcf0d6e67dfe757736a author Takashi Iwai Thu, 17 Nov 2005 14:41:02 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:32 +0100 [ALSA] Remove xxx_t typedefs: ISA CMI8330 Modules: CMI8330 driver Remove xxx_t typedefs from the ISA CMI8330 driver. Signed-off-by: Takashi Iwai commit 542172f31d41e689988aedcf0d6e67dfe757736a tree caad40a7368afc0eb719491b09e84f279b1f9bf6 parent 346c7a689542285aef9b899eda7693d4b912d60d author Takashi Iwai Thu, 17 Nov 2005 14:39:06 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:30 +0100 [ALSA] Remove xxx_t typedefs: ISA Wavefront Modules: Wavefront drivers Remove xxx_t typedefs from the ISA Wavefront driver. Signed-off-by: Takashi Iwai commit 346c7a689542285aef9b899eda7693d4b912d60d tree 80dc6240d92cd1d9c99b97c5eb9a1bc6617f31d3 parent 5e2da20648e39a0e3cb33861499b686a6fe38112 author Takashi Iwai Thu, 17 Nov 2005 14:37:56 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:29 +0100 [ALSA] Remove xxx_t typedefs: ISA Opti9xx Modules: Opti9xx drivers Remove xxx_t typedefs from the ISA Opti 9xx drivers. Signed-off-by: Takashi Iwai commit 5e2da20648e39a0e3cb33861499b686a6fe38112 tree e5f3117e2f44b262f9b6d45cfbd9e17a0ea913bd parent 029d64b0cfa30abc10f722e2f67d282abe09c9da author Takashi Iwai Thu, 17 Nov 2005 14:36:44 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:27 +0100 [ALSA] Remove xxx_t typedefs: ISA GUS Remove xxx_t typedefs from the ISA GUS drivers. Signed-off-by: Takashi Iwai commit 029d64b0cfa30abc10f722e2f67d282abe09c9da tree d9a1e72e9792b33e57db2695f6c1a1a4843df0bf parent d3a7e476740dc23588ea65fa0df1aacdf8e70003 author Takashi Iwai Thu, 17 Nov 2005 14:34:36 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:25 +0100 [ALSA] Remove xxx_t typedefs: ISA SB8/SB16/SBAWE Remove xxx_t typedefs from the ISA SB8/SB16/SBAWE drivers. Signed-off-by: Takashi Iwai commit d3a7e476740dc23588ea65fa0df1aacdf8e70003 tree f3526502e60c587df54394b2e0117996ae25442a parent ba2375a45c528fd902676ea01014ea0f8931464b author Takashi Iwai Thu, 17 Nov 2005 14:31:42 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:23 +0100 [ALSA] Remove xxx_t typedefs: ISA ES1688 Modules: ES1688 driver Remove xxx_t typedefs from the ISA ES1688 driver. Signed-off-by: Takashi Iwai commit ba2375a45c528fd902676ea01014ea0f8931464b tree e38833035449d0d65afb3cfc1104b243ce88454c parent c8ff6647bb8a1865608b2d0c8565ca0ac47fb9b7 author Takashi Iwai Thu, 17 Nov 2005 14:30:42 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:21 +0100 [ALSA] Remove xxx_t typedefs: ISA CS423x Modules: CS4231 driver,CS4236+ driver Remove xxx_t typedefs from the ISA CS423x drivers. Signed-off-by: Takashi Iwai commit c8ff6647bb8a1865608b2d0c8565ca0ac47fb9b7 tree 49f33f6cfed368bd3f85147cb66b0cddc5bcbf28 parent cbdd0dd15f06a989c519089bb24023a5bfa66eaf author Takashi Iwai Thu, 17 Nov 2005 14:29:37 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:19 +0100 [ALSA] Remove xxx_t typedefs: ISA AD1848 Modules: AD1848 driver Remove xxx_t typedefs from the ISA AD1848 driver. Signed-off-by: Takashi Iwai commit cbdd0dd15f06a989c519089bb24023a5bfa66eaf tree 9217e0e66a53937e0516b92b45c7d0038a4efd78 parent 4a4d2cfd8cbca3076742547157ea135d0be77928 author Takashi Iwai Thu, 17 Nov 2005 14:28:35 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:18 +0100 [ALSA] Remove xxx_t typedefs: ISA AD1816A Modules: AD1816A driver Remove xxx_t typedefs from the ISA AD1816A driver. Signed-off-by: Takashi Iwai commit 4a4d2cfd8cbca3076742547157ea135d0be77928 tree 44f859e10ebb6b6a03b18927ecf6dc1bbed9ec59 parent 03da312ac080b4f5c9359c233b8812cc93a035fe author Takashi Iwai Thu, 17 Nov 2005 14:27:28 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:15 +0100 [ALSA] Remove xxx_t typedefs: Generic drivers Modules: Generic drivers Remove xxx_t typedefs from the generic drivers (dummy, mtpav, serial-u16550 and virmidi). Signed-off-by: Takashi Iwai commit 03da312ac080b4f5c9359c233b8812cc93a035fe tree 1a6767ca18964b53442ecfd538141b12e81b23be parent ee42381e71c56328db9e9d64d19a4de7a2f09a93 author Takashi Iwai Thu, 17 Nov 2005 14:24:47 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:14 +0100 [ALSA] Remove xxx_t typedefs: Emu-X synth Modules: Common EMU synth,SoundFont,Synth Remove xxx_t typedefs from the Emu-X synth support. Signed-off-by: Takashi Iwai commit ee42381e71c56328db9e9d64d19a4de7a2f09a93 tree 641cdecfa64347efb7d402c707412e0a45fe7ced parent dc4cafbadad1ae2322e598f2cb72720ef4095fee author Takashi Iwai Thu, 17 Nov 2005 14:21:36 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:12 +0100 [ALSA] Remove xxx_t typedefs: AC97 Modules: AC97 Codec Remove xxx_t typedefs from the AC97 codec support. Signed-off-by: Takashi Iwai commit dc4cafbadad1ae2322e598f2cb72720ef4095fee tree c7b93b3a5d8f8ffffe951dcb03579859c198eeb6 parent 97f02e05f246a2346275c1c93a3079e8933e74b2 author Takashi Iwai Thu, 17 Nov 2005 14:19:28 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:09 +0100 [ALSA] Remove xxx_t typedefs: I2C drivers Modules: AK4114 receiver,AK4117 receiver,AK4XXX AD/DA converters [Missing files in last commit] Remove xxx_t typedefs from the i2c drivers. Signed-off-by: Takashi Iwai commit 97f02e05f246a2346275c1c93a3079e8933e74b2 tree 218d0a71f8bdeb5e6d2660339c29c46dab1adaa7 parent a42dd420bea7a5cd130162183d95f640c299a337 author Takashi Iwai Thu, 17 Nov 2005 14:17:19 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:08 +0100 [ALSA] Remove xxx_t typedefs: I2C drivers Remove xxx_t typedefs from the i2c drivers. Signed-off-by: Takashi Iwai commit a42dd420bea7a5cd130162183d95f640c299a337 tree b9c8a88c957b973faf3e5a4faf027a39a0d8343f parent 5b1646a8eceff0a4ff06f309abb6e7f43f99a498 author Takashi Iwai Thu, 17 Nov 2005 14:13:47 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:06 +0100 [ALSA] Remove xxx_t typedefs: OPL4 Modules: OPL4 Remove xxx_t typedefs from the OPL4 driver Signed-off-by: Takashi Iwai commit 5b1646a8eceff0a4ff06f309abb6e7f43f99a498 tree ecbb7c1d5ffdf2f3f732a18aae3ed6b2a3752e9e parent e1fad17bb4084dc7c435360185417aed55656ec8 author Takashi Iwai Thu, 17 Nov 2005 14:13:14 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:04 +0100 [ALSA] Remove xxx_t typedefs: OPL3 Modules: OPL3,Raw OPL FM Remove xxx_t typedefs from the OPL3 driver Signed-off-by: Takashi Iwai commit e1fad17bb4084dc7c435360185417aed55656ec8 tree f374fc6324e0af415bac8f8f7e24bc2f2e42e4bc parent 87e1f0e2b206eaf8265997a8d0cb7126ea11c844 author Takashi Iwai Thu, 17 Nov 2005 14:12:45 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:01 +0100 [ALSA] Remove xxx_t typedefs: MPU401 Modules: MPU401 UART Remove xxx_t typedefs from the MPU401-UART and MPU401 drivers Signed-off-by: Takashi Iwai commit 87e1f0e2b206eaf8265997a8d0cb7126ea11c844 tree 0f9637806d37c176c66f07494732a2fe84c2b712 parent 080dece3460b534bedc4ef4ba3abaa57e9486331 author Takashi Iwai Thu, 17 Nov 2005 14:08:02 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:18:00 +0100 [ALSA] Backward-compatibility typedefs Modules: ALSA Core Backward-compatibility typedefs are stored in the new header, typedefs.h, for out-of-tree drivers. This will be removed in future. Signed-off-by: Takashi Iwai commit 080dece3460b534bedc4ef4ba3abaa57e9486331 tree 7e35242b3d716cd29f62d96e0920230147cb5c03 parent 19ac31e82cc7328c01bf26f824f33c7c38cb6075 author Takashi Iwai Thu, 17 Nov 2005 14:05:16 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:57 +0100 [ALSA] Remove xxx_t typedefs: Sequencer OSS-emulation Modules: ALSA<-OSS sequencer,ALSA sequencer Remove xxx_t typedefs from the core sequencer OSS-emulation codes. Signed-off-by: Takashi Iwai commit 19ac31e82cc7328c01bf26f824f33c7c38cb6075 tree b0ae7c7c335f1199567443342c038251a203b235 parent c7e0b5bf9fff1b726495081447c107a2333fb82c author Takashi Iwai Thu, 17 Nov 2005 14:04:44 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:54 +0100 [ALSA] Remove xxx_t typedefs: Instrument layer Modules: Instrument layer Remove xxx_t typedefs from the core instrument layer codes. Signed-off-by: Takashi Iwai commit c7e0b5bf9fff1b726495081447c107a2333fb82c tree f4d9ec9a6446f8e2afde4c94e10a39f2b86a0bc9 parent 6ac77bc180fbd985988015020c2e2347e802959d author Takashi Iwai Thu, 17 Nov 2005 14:04:02 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:52 +0100 [ALSA] Remove xxx_t typedefs: Sequencer Modules: ALSA sequencer Remove xxx_t typedefs from the core sequencer codes. Signed-off-by: Takashi Iwai commit 6ac77bc180fbd985988015020c2e2347e802959d tree 1959127176dbc937fe4646d94e48f14cc013d087 parent f956b4a3ae790e1bdde865ac42dd1b99b64a6256 author Takashi Iwai Thu, 17 Nov 2005 14:01:49 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:48 +0100 [ALSA] Remove xxx_t typedefs: PCM OSS-emulation Modules: ALSA<-OSS emulation Remove xxx_t typedefs from the core PCM OSS-emulation codes. Signed-off-by: Takashi Iwai commit f956b4a3ae790e1bdde865ac42dd1b99b64a6256 tree 1f40f52a53f540048573ed94384b0f8e13d314dc parent 174c1f65e5b81f616a5b5c8e41fc2b5eeb7a71af author Takashi Iwai Thu, 17 Nov 2005 14:01:22 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:47 +0100 [ALSA] Remove xxx_t typedefs: Mixer OSS-emulation Modules: ALSA<-OSS emulation Remove xxx_t typedefs from the core mixer OSS-emulation codes. Signed-off-by: Takashi Iwai commit 174c1f65e5b81f616a5b5c8e41fc2b5eeb7a71af tree dd5a70a13e740ada1ae001913eb6f496163420f4 parent 877211f5e1b1196179ba1290e8e1a3dc00427c55 author Takashi Iwai Thu, 17 Nov 2005 14:00:19 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:44 +0100 [ALSA] Remove xxx_t typedefs: OSS-emulation Modules: ALSA Core Remove xxx_t typedefs from the core OSS-emulation codes. Signed-off-by: Takashi Iwai commit 877211f5e1b1196179ba1290e8e1a3dc00427c55 tree 9964e0e46043cee6c76a614ac35ab982faba7f99 parent 24c1f93188b4438c7f30df5b4cd78340cdb28daf author Takashi Iwai Thu, 17 Nov 2005 13:59:38 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:43 +0100 [ALSA] Remove xxx_t typedefs: PCM Modules: PCM Midlevel Remove xxx_t typedefs from the core PCM codes. Signed-off-by: Takashi Iwai commit 24c1f93188b4438c7f30df5b4cd78340cdb28daf tree cbe2c16dd32f2df04cb53d783a20ef42e5895c08 parent d9a98de218ce18befabb5782c43cb4a2766b4b02 author Takashi Iwai Thu, 17 Nov 2005 13:58:48 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:39 +0100 [ALSA] Remove xxx_t typedefs: Proc handler Modules: ALSA Core Remove xxx_t typedefs from the core proc handler codes. Signed-off-by: Takashi Iwai commit d9a98de218ce18befabb5782c43cb4a2766b4b02 tree 4fbacff1ed8122c4a6a6d2d281b62203987e0a47 parent 48c9d417d7269da2a2da5b602fcb5fdbee36305e author Takashi Iwai Thu, 17 Nov 2005 13:58:21 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:38 +0100 [ALSA] Remove xxx_t typedefs: Hwdep Modules: HWDEP Midlevel Remove xxx_t typedefs from the core hwdep codes. Signed-off-by: Takashi Iwai commit 48c9d417d7269da2a2da5b602fcb5fdbee36305e tree b892cec8e6fbf273492f9940f4660c3a9e0453a0 parent 53d2f744afc1fcb4fb68975a443fb66eb6c44da4 author Takashi Iwai Thu, 17 Nov 2005 13:56:51 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:35 +0100 [ALSA] Remove xxx_t typedefs: Raw MIDI Modules: RawMidi Midlevel Remove xxx_t typedefs from the core raw MIDI codes. Signed-off-by: Takashi Iwai commit 53d2f744afc1fcb4fb68975a443fb66eb6c44da4 tree 46db033f71a8da32470d4b5f1027cee379fc7914 parent 82e9bae6fd253af4aea9c690223c7800313632ad author Takashi Iwai Thu, 17 Nov 2005 13:56:05 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:34 +0100 [ALSA] Remove xxx_t typedefs: Timer Modules: RTC timer driver,Timer Midlevel Remove xxx_t typedefs from the core timer. Signed-off-by: Takashi Iwai commit 82e9bae6fd253af4aea9c690223c7800313632ad tree 7a45a6ed1d354318ca25e6bcc92a83b808c13dc9 parent 512bbd6a85230f16389f0dd51925472e72fc8a91 author Takashi Iwai Thu, 17 Nov 2005 13:53:23 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:32 +0100 [ALSA] Remove xxx_t typedefs: Controls Modules: Control Midlevel Remove xxx_t typedefs from the core controls. Signed-off-by: Takashi Iwai commit 512bbd6a85230f16389f0dd51925472e72fc8a91 tree f563f496c46355ed6ed1bca4ab876e984eb69a84 parent 3f05f868f1112b970e7fb9c0aa42cc99370098fe author Takashi Iwai Thu, 17 Nov 2005 13:51:18 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:30 +0100 [ALSA] Remove xxx_t typedefs: Core component Modules: ALSA Core Remove xxx_t typedefs from the core component. Signed-off-by: Takashi Iwai commit 3f05f868f1112b970e7fb9c0aa42cc99370098fe tree 7ce21b25e3e67161aa0e751842722e9fe9c1abd4 parent 8d88bc3d361bdd81a214eb9c5d06b291d06c603a author Takashi Iwai Thu, 17 Nov 2005 11:12:06 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:27 +0100 [ALSA] nm256 - Code clean up Modules: NM256 driver Clean up snd-nm256 driver code: - Simplify chip constructor function Signed-off-by: Takashi Iwai commit 8d88bc3d361bdd81a214eb9c5d06b291d06c603a tree dc3bfd15ff731e55bc8c2e29f54d050325a9ee1a parent a2a20939b1cc82222eb67a4631009338791f1acd author Takashi Iwai Thu, 17 Nov 2005 11:09:23 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:26 +0100 [ALSA] hda-codec - Fix assignment of speaker pin Modules: HDA Codec driver,HDA generic driver Fix the auto-assignment of speaker pin. Handle it independently from line-out pins. Signed-off-by: Takashi Iwai commit a2a20939b1cc82222eb67a4631009338791f1acd tree 124a739f6d2811397c0df1ba647f799561e6fb86 parent 9f146bb6e68610ab2b62c76e7485900545515613 author Takashi Iwai Thu, 17 Nov 2005 11:08:23 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:24 +0100 [ALSA] hda-codec - Fix a typo Modules: HDA Codec driver Fix a typo in hda_codec.h. Signed-off-by: Takashi Iwai commit 9f146bb6e68610ab2b62c76e7485900545515613 tree d19bcc56619d52f13ccde73061b0e0832abc37da parent d2a6d7dc757da6b57d77bd8b460cf4faa9fd152d author Takashi Iwai Thu, 17 Nov 2005 11:07:49 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:22 +0100 [ALSA] hda-codec - Prepare unsol workqueue on demand Modules: HDA Codec driver Prepare unsol workqueue only when a codec really supports. Signed-off-by: Takashi Iwai commit d2a6d7dc757da6b57d77bd8b460cf4faa9fd152d tree b3edf27437b4be8ee23917b852d8e93376ac62da parent 59de641ca37b88dd34d0e1d853800b488f642624 author Takashi Iwai Thu, 17 Nov 2005 11:06:29 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:21 +0100 [ALSA] hda-codec - Add channel-mode helper Modules: HDA Codec driver,HDA generic driver Add common channel-mode helper functions for all codec patches. Signed-off-by: Takashi Iwai commit 59de641ca37b88dd34d0e1d853800b488f642624 tree 7b177bdc376a907955dc74cde05332c31272c591 parent 10e4097fb47b57d095204d3fad10b25e3b4d42a3 author Takashi Iwai Thu, 17 Nov 2005 11:05:34 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:19 +0100 [ALSA] Small update of Procfile.txt Modules: Documentation Small update of Procfile.txt for hda and usb proc files. Signed-off-by: Takashi Iwai commit 10e4097fb47b57d095204d3fad10b25e3b4d42a3 tree 142d9f49e9505dc63e4eec9cb77ebb181fb21ee6 parent ba7301c7d985d206a5688c69d0a74de3988f6d6c author Takashi Iwai Thu, 17 Nov 2005 11:04:55 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:17 +0100 [ALSA] [Trivial] Fix ac97_quirk option in document Modules: Documentation Fix a wrong option value for ac97_quirk option in the document. Signed-off-by: Takashi Iwai commit ba7301c7d985d206a5688c69d0a74de3988f6d6c tree b060741f2035862e0375630e1dcfc7917defb2d4 parent a57d15158113cb7f10e662e6df07f445c986a12d author Andreas Mohr Thu, 17 Nov 2005 11:03:31 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:15 +0100 [ALSA] ALS4000 update Modules: SB drivers,ALS4000 driver some update for the ALS4000 driver (tested with hardware in my PC): - use common control names according to ControlNames.txt - add some controls (Master Mono, 3D control) - optimize struct snd_card_als4000_t layout (performance/size) - save some bytes via unified error path - constify some read-only data - add ToDo list - move GPL license text to top - add comments Signed-off-by: Andreas Mohr Signed-off-by: Takashi Iwai commit a57d15158113cb7f10e662e6df07f445c986a12d tree 14bb731f73657583a364f381a3d58ad211b93cb4 parent cb432379eff40d5656ca9f24afc435b4df353d13 author Takashi Iwai Thu, 17 Nov 2005 10:50:13 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:14 +0100 [ALSA] emux - Avoid cast of function pointers Modules: Common EMU synth Pass the proper functions instead of cast of function pointers, which can be dangerous with compiler optimizations. Signed-off-by: Takashi Iwai commit cb432379eff40d5656ca9f24afc435b4df353d13 tree f00428351803fc5ad0b5b2c74c239402d47a7293 parent 9fd9156c6b0dfb8630f68d11dc48a3e824aa64e6 author Takashi Iwai Thu, 17 Nov 2005 10:48:52 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:09 +0100 [ALSA] usx2y - Code clean up Modules: USB USX2Y Clean up snd-usb-usx2y driver code: - Avoid unnecessary cast - Fix spaces/indents - Use kzalloc() - Remove weird debug prints Signed-off-by: Takashi Iwai commit 9fd9156c6b0dfb8630f68d11dc48a3e824aa64e6 tree ec4c9a37b16a67aa477d06cb33d6170d761c0e15 parent e017fa5772cd2536b2b2fb210f5a6e86cceaa633 author Takashi Iwai Thu, 17 Nov 2005 10:45:48 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:07 +0100 [ALSA] korg1212 - Clean up debug prints Modules: KORG1212 driver Clean up debug prints in korg1212 driver. Also, clean up spaces/indents in some places. Signed-off-by: Takashi Iwai commit e017fa5772cd2536b2b2fb210f5a6e86cceaa633 tree 7ab4eb659c9b88d6754ba1ca602030f3e4e0964f parent 89173bd41439bc6304e3e20f742e52266208ccad author Takashi Iwai Thu, 17 Nov 2005 10:44:51 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:06 +0100 [ALSA] emu10k1 - Minor clean up of memory block handling Modules: EMU10K1/EMU10K2 driver Minor clean up of emu10k1 memory block allocation. Signed-off-by: Takashi Iwai commit 89173bd41439bc6304e3e20f742e52266208ccad tree b17197935f7039dce756ca27730fa329095a27f8 parent b9b4bdd9f1c98388f13591608d574650a9873717 author Takashi Iwai Thu, 17 Nov 2005 10:43:53 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:04 +0100 [ALSA] emu10k1x - Minor clean up Modules: EMU10K1/EMU10K2 driver Minor clean up of the emu10k1x interrupt handler code. Signed-off-by: Takashi Iwai commit b9b4bdd9f1c98388f13591608d574650a9873717 tree de8fe568faae12494ba09852cc9a33dfea3a15ae parent 95a98265eb7b112b3268761053d643635171e219 author Takashi Iwai Thu, 17 Nov 2005 10:42:40 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:03 +0100 [ALSA] ac97 - Remove ac9_enum definition from public header Modules: AC97 Codec Remove the definition of ac97_enum struct from the public ac97_codec.h. It's used only in the module. The location of struct ac97_pcm is moved closer to its accessor to improve readability. Signed-off-by: Takashi Iwai commit 95a98265eb7b112b3268761053d643635171e219 tree daf88b4858b1ba856609c2a3138522ea4a2b6269 parent 954bea35571461b083390a82b03f077f901fe678 author Takashi Iwai Thu, 17 Nov 2005 10:40:18 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:17:01 +0100 [ALSA] ca0106 - Code clean up Modules: CA0106 driver Clean up snd-ca0106 driver code: - Fix spaces and indents - Remove unnecessary spinlocks - Clean up the mixer callbacks using private_value - Clean up mixer constructors using an array Signed-off-by: Takashi Iwai commit 954bea35571461b083390a82b03f077f901fe678 tree 5fb17a9692886a133a943e1961af81a32df4886f parent c9a49bb1957f45e0146c17a865f1444fd06c0f97 author Takashi Iwai Thu, 17 Nov 2005 10:37:40 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:59 +0100 [ALSA] intel8x0 - Clean up delay function Modules: Intel8x0 driver,Intel8x0-modem driver Remove superfluous delay macro. Call appropriate functions directly. Signed-off-by: Takashi Iwai commit c9a49bb1957f45e0146c17a865f1444fd06c0f97 tree 5e4bf737f26e74fe93f7287dc2399c69e102d827 parent bfdcbace6c76cab54f1651349816dc35cc8f12b8 author Takashi Iwai Thu, 17 Nov 2005 10:36:57 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:58 +0100 [ALSA] cs4281 - Clean up delay function Modules: CS4281 driver Remove the own delay function. Call appropriate functions directly. Signed-off-by: Takashi Iwai commit bfdcbace6c76cab54f1651349816dc35cc8f12b8 tree a47854af645cc38f0a53154c313d8691c2d4fe4a parent 03f9ae2505cf2f5d56c197b4045ed9dba5ce8912 author Takashi Iwai Thu, 17 Nov 2005 10:35:53 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:54 +0100 [ALSA] Remove superfluous macros Modules: ATIIXP driver,ATIIXP-modem driver Remove superfluous macros for delay. Call appropriate functions directly. Signed-off-by: Takashi Iwai commit 03f9ae2505cf2f5d56c197b4045ed9dba5ce8912 tree ad5e721f21fe1931d8175a9308ad26c972397d17 parent 33ea25c113a7d63645b10ed89851e08f7c984d1a author Takashi Iwai Thu, 17 Nov 2005 10:34:40 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:52 +0100 [ALSA] harmony - Code clean up Modules: PARISC Harmony driver Clean up snd-harmony driver code: - Give standard module options - Fix spinlocks - Fix the error path of request_irq() - Clean up redundant codes Signed-off-by: Takashi Iwai commit 33ea25c113a7d63645b10ed89851e08f7c984d1a tree 58433ce44c87af1565f250a141006e73e96cce13 parent 6560c349c501388a1f3030d02fb49e7067e6597e author Takashi Iwai Thu, 17 Nov 2005 10:32:43 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:51 +0100 [ALSA] au1x00 - Code clean up Modules: MIPS AU1x00 driver Clean up snd-au1x00 driver code: - Remove global variables - Remove old compatibility codes - Fix DMA-link allocation/release functions in hw_params and hw_free callbacks (they may be called multiple times) - Fix spinlocks Signed-off-by: Takashi Iwai commit 6560c349c501388a1f3030d02fb49e7067e6597e tree 9b93a54f692e1f93bbb910a3fb55c76ec058ac37 parent bc1ff7fc0ae6ec2d7f2202d9126901aeb3f596cd author Takashi Iwai Thu, 17 Nov 2005 10:29:33 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:47 +0100 [ALSA] Clean up includes in asound.h & asequencer.h Modules: ALSA sequencer,ALSA Core Clean up includes in asound.h and asequencer.h. Signed-off-by: Takashi Iwai commit bc1ff7fc0ae6ec2d7f2202d9126901aeb3f596cd tree e886e693a97dcb76e341ca779892987f90a8acf5 parent f739aeccedc7681a249bdae435e9af3e5476ad1d author Takashi Iwai Thu, 17 Nov 2005 10:28:15 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:46 +0100 [ALSA] [Trivial] Fix spaces in gus.h Modules: GUS Library Fix spaces in gus.h. Signed-off-by: Takashi Iwai commit f739aeccedc7681a249bdae435e9af3e5476ad1d tree f0a2e33a755039a6cb3286895d8c43187c1de613 parent 0948e3c8bb187b3dea38be1e1ffd1797866014f1 author Takashi Iwai Thu, 17 Nov 2005 10:27:08 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:44 +0100 [ALSA] Clean up ISA cs4231 code Modules: CS4231 driver Clean up ISA cs4231 code, removing experimental EBUS/SBUS merge, to improve readability. Signed-off-by: Takashi Iwai commit 0948e3c8bb187b3dea38be1e1ffd1797866014f1 tree 2ba279101be08d4f8b7e1e1261e79bfb4e520743 parent c8714ba160a498e249dbd32c637b85a1efa1013b author Takashi Iwai Thu, 17 Nov 2005 10:25:22 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:41 +0100 [ALSA] Clean up sa11xx-uda1341 driver Modules: SA11xx UDA1341 driver,L3 drivers,UDA1341 Clean up sa11xx-uda1341 driver: - Fix buggy destructor - Remove the global variable - Move array definitions from uda1341.h - Make functions in uda1341.c static Signed-off-by: Takashi Iwai commit c8714ba160a498e249dbd32c637b85a1efa1013b tree 3c82240749ee2912f1d55bf90ad7977f4bccb863 parent bdbae7e62837c22c5399df0789a24e9d8a1d675f author Takashi Iwai Thu, 17 Nov 2005 10:22:32 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:39 +0100 [ALSA] Remove tea6330t struct definition from public header Modules: I2C tea6330t Remove tea6330t struct definition from public header. It's anyway unaccessible from outside. Signed-off-by: Takashi Iwai commit bdbae7e62837c22c5399df0789a24e9d8a1d675f tree 4bffa9bf42f5b7541bc432f8b2437e8130278f88 parent c8eb6ba16a5803fab9cc0d1d0dd04a75bf91b6d5 author Takashi Iwai Thu, 17 Nov 2005 10:21:19 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:37 +0100 [ALSA] Remove snd_vx_delay() function Replace snd_vx_delay() with appropriate delay/sleep functions. Signed-off-by: Takashi Iwai commit c8eb6ba16a5803fab9cc0d1d0dd04a75bf91b6d5 tree 801aebfd89e30f0f4492f8d62b8c227f948e26e2 parent 47eaebfd31610d2a55fbaccd1e7c37690d42ce30 author Takashi Iwai Thu, 17 Nov 2005 10:20:23 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:34 +0100 [ALSA] snd-dummy - Code clean-up Modules: Generic drivers Clean up snd-dummy driver code. - Make common PCM callbacks - Simplify open callback - Remove unnecessary irqsave in control callbacks Signed-off-by: Takashi Iwai commit 47eaebfd31610d2a55fbaccd1e7c37690d42ce30 tree d86d90a3741e09cf660aef3dda96566ff68778eb parent 230b5c1a612ae903c560b55a15df287b0ff437ea author Takashi Iwai Thu, 17 Nov 2005 10:18:00 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:33 +0100 [ALSA] Use standard bitmap functions Modules: ALSA<-OSS emulation Use standard bitmap functions instead of in-house ones. Signed-off-by: Takashi Iwai commit 230b5c1a612ae903c560b55a15df287b0ff437ea tree a32df8002571f0f29b2f18c5f4d8b566e7cb4d8f parent 3e8731740e17f01ec1ecce556ccdc4c42279ce1b author Takashi Iwai Thu, 17 Nov 2005 10:17:05 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:31 +0100 [ALSA] Sort Kconfig entries Modules: ISA,PCI drivers Sort Kconfig entries in alphabetical order. Signed-off-by: Takashi Iwai commit 3e8731740e17f01ec1ecce556ccdc4c42279ce1b tree dada863f577ad8c00b152a9538a4cde36aa240d6 parent 9b4ffa48ae855c8657a36014c5b0243ff69f4722 author Takashi Iwai Thu, 17 Nov 2005 10:15:37 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:29 +0100 [ALSA] Minor clean up and fixes for CS5535 audio driver Modules: Documentation,CS5535 driver Minor clean up and fixes for CS5535 audio driver. Added an entry in ALSA-Configuration.txt, too. Signed-off-by: Takashi Iwai commit 9b4ffa48ae855c8657a36014c5b0243ff69f4722 tree 4e36c51bdc69162d6b046641a755907c0e8a3fb1 parent c3e6f7d8763fa0400d28c57633eb323515ba05fc author Jaya Kumar Thu, 17 Nov 2005 10:12:23 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:27 +0100 [ALSA] Add support for the CS5535 Audio device Add support for the CS5535 Audio device. I've fixed up some errors as per Takashi's advice from the thread: http://lkml.org/lkml/2005/9/15/119 From: Alan Cox cs5535 is a 32bit x86 only device using weird CPU features Signed-off-by: Jaya Kumar Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit c3e6f7d8763fa0400d28c57633eb323515ba05fc tree b0803843b710ac74fc1399910445a8ff2cf396a5 parent f31a31b9024f21b2ad8f5a7c30e265a652e2e211 author Takashi Iwai Wed, 16 Nov 2005 18:43:35 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:21 +0100 [ALSA] Remove superfluous pcm_free callbacks Remove superflous pcm_free callbacks. Signed-off-by: Takashi Iwai commit f31a31b9024f21b2ad8f5a7c30e265a652e2e211 tree c0e75c82a7cc38008d76242857d2f9b8b4687419 parent 26741b5512a99ee35f398ef018d23a38e8dc6e8a author Kurt J. Bosch Wed, 16 Nov 2005 18:41:21 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:18 +0100 [ALSA] Fix missing suspend/resume-code for ens1371 Modules: ENS1370/1+ driver This patch fixes missing suspend/resume-code for snd-ens1371 (but not for snd-ens1370) Signed-off-by: Kurt J. Bosch Signed-off-by: Takashi Iwai commit 26741b5512a99ee35f398ef018d23a38e8dc6e8a tree 801644e7fd04f7d4c1c70ce20a33402447110a67 parent b4a621f547ce78d6a415b3be2febd29b55e3235c author Daniel Mueller Mon, 14 Nov 2005 17:40:44 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:13 +0100 [ALSA] hda-codec - Fix HDA sound and V.92 modem for notebook Siemens FieldPG-M Modules: HDA Codec driver The patch fixes the problem of mute onboard HDA sound output, buildin V.92 modem idendification and functionality. Signed-off-by: Daniel Mueller Signed-off-by: Takashi Iwai commit b4a621f547ce78d6a415b3be2febd29b55e3235c tree 76b3531b79c644c669b8a6fcc50cc1fbc64d5e2b parent 6ef7e8614c03f90ecb924938f5cc074af2723d35 author Jaroslav Kysela Mon, 14 Nov 2005 08:48:59 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:10 +0100 [ALSA] ac97 - procfs - print PCI subsystem vendor/device values Modules: AC97 Codec For debugging and problem finding purposes, show also the PCI subsystem vendor/device values in the ac97#X proc file. Signed-off-by: Jaroslav Kysela commit 6ef7e8614c03f90ecb924938f5cc074af2723d35 tree 8dc01760c5d61e1b3f7b54cca7ab2bb63c02cc32 parent e2b15f8f7dfc7a60ab89162502732120792a644f author James Courtier-Dutton Fri, 11 Nov 2005 23:45:23 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:08 +0100 [ALSA] snd-emu10k1: Found some new registers to display in debug mode. Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton commit e2b15f8f7dfc7a60ab89162502732120792a644f tree 0e225066b27a40178e4c164c920e7406183435c5 parent 755e137138007200c3e2549fbd8390a4e7708ed9 author James Courtier-Dutton Fri, 11 Nov 2005 23:39:05 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:06 +0100 [ALSA] snd-emu10k1: Attenuate output volume to reduce distortion Modules: EMU10K1/EMU10K2 driver on Audigy 2 ZS Notebook. Set the master volume to about 6 or 8% in alsamixer. This will attenuate the output enough for better sound quality. Note: Only stereo enabled at present. The distortion is caused by the output path after the DSP adding 12dB gain to the output while still in digital mode, resulting in wrap around distortion. Signed-off-by: James Courtier-Dutton commit 755e137138007200c3e2549fbd8390a4e7708ed9 tree 162e6823a0a331297cccebb4e4797e3add05dc1e parent fd6715e564a53bc3fca22e4f0a9d76b6b72afdb5 author Takashi Iwai Fri, 11 Nov 2005 21:05:27 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:16:01 +0100 [ALSA] ali5451 - Fix and clean up codec accessor Modules: ALI5451 driver Fix the codec accessors to avoid soft lockup. Spin locks are revised, too. Signed-off-by: Takashi Iwai commit fd6715e564a53bc3fca22e4f0a9d76b6b72afdb5 tree 07e55927b7d0d1515185349334968154923b05c2 parent c1b8f5f0e4aabd4b47648dd9465fb750e07da9fb author Jaroslav Kysela Thu, 10 Nov 2005 07:51:31 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:15:57 +0100 [ALSA] ice1724 (juli) - forced analog doughter board detection Modules: ICE1712 driver Signed-off-by: Jaroslav Kysela commit c1b8f5f0e4aabd4b47648dd9465fb750e07da9fb tree 0b6497fd91007d8c74849c5eeec39cc4bcf5e6d7 parent f6f8bb642350dafc21676ccd4fab333282064b8d author Takashi Iwai Tue, 08 Nov 2005 17:44:37 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:15:56 +0100 [ALSA] via82xx - Add dxs entry for MSI KT800 Delta-FSR Modules: VIA82xx driver Added the dxs entry for MSI KT800 Delta-FSR. Signed-off-by: Takashi Iwai commit f6f8bb642350dafc21676ccd4fab333282064b8d tree c8e4294691b796de3d18e609d5e67de15f746186 parent 2f020aa71197eddef749ad6202ca5a66c0c6e382 author Lee Revell Mon, 07 Nov 2005 14:59:19 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:15:53 +0100 [ALSA] Add support for Audigy 2 subsystem 2006 Modules: EMU10K1/EMU10K2 driver Add support for Audigy 2 subsystem 2006. Signed-off-by: Lee Revell Signed-off-by: Takashi Iwai commit 2f020aa71197eddef749ad6202ca5a66c0c6e382 tree a4b176f2937444776744f0e1863105cd1c9ab5ca parent 362775e2125b74cd04f83fd4ef5b72ef1ee6d3a1 author Lee Revell Mon, 07 Nov 2005 14:54:24 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:15:50 +0100 [ALSA] emu10k1 - Enable side surround channels for Audigy2 EX Modules: EMU10K1/EMU10K2 driver Enable side surround channels for Audigy2 EX. Tested by Rick Wright . Signed-off-by: Lee Revell Signed-off-by: Takashi Iwai commit 362775e2125b74cd04f83fd4ef5b72ef1ee6d3a1 tree 19e50a05063d4a2644671a6c43205b4760c5173c parent d031166fecac97fc6b5c35636deace8a3c9ec5f6 author Randy Dunlap Mon, 07 Nov 2005 14:43:23 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:15:48 +0100 [ALSA] sound/hda: rate-limit timeout message Modules: HDA Intel driver Rate-limit the azx_get_response timeout message. A continuous 2 per second is too much. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Takashi Iwai commit d031166fecac97fc6b5c35636deace8a3c9ec5f6 tree 744500b37b37d0411eae18e69c9261810f18b696 parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Takashi Iwai Mon, 07 Nov 2005 14:38:44 +0100 committer Jaroslav Kysela Tue, 03 Jan 2006 12:15:47 +0100 [ALSA] hda-codec - Allocate amp hash array dynamically Modules: HDA Codec driver Allocate amp hash array dynamically instead of static array. Signed-off-by: Takashi Iwai commit febf7ea4bedcd36fba0843db726bba28d22bf89a tree 0a0d398e0637fba8292d8b139afbd41b102bb9c4 parent 00213b17cec87d2cd4df75bcc79aea7a91d8532d author Tue, 03 Jan 2006 11:35:26 +0100 committer Tue, 03 Jan 2006 11:35:26 +0100 gitignore: ignore more generated files Signed-off-by: Sam Ravnborg commit 97f2aab6698f3ab2552c41c1024a65ffd0763a6d tree bb6e3b2949459f54f884c710fc74d40eef00d834 parent d985c1088146607532093d9eaaaf99758f6a4d21 parent 88026842b0a760145aa71d69e74fbc9ec118ca44 author Dave Airlie Tue, 03 Jan 2006 18:18:01 +1100 committer Dave Airlie Tue, 03 Jan 2006 18:18:01 +1100 drm: merge in Linus mainline commit d985c1088146607532093d9eaaaf99758f6a4d21 tree a289ae9a79e694ef1f0cf3b0a153c6d1258b7aa8 parent b0cae664ebc85f2431c5a7c9e192a2a2ef72ecc7 author Dave Airlie Mon, 02 Jan 2006 21:32:48 +1100 committer Dave Airlie Mon, 02 Jan 2006 21:32:48 +1100 drm: major update from CVS for radeon and core This patch pull in a lot of changes from CVS to the main core DRM, and updates the radeon driver to 1.21.0 that supports r300 texrect and radeon card type ioctl. Signed-off-by: Dave Airlie commit b0cae664ebc85f2431c5a7c9e192a2a2ef72ecc7 tree 4e23b30562e25fb9d425a02221c39014bd2de747 parent fe34765be1ee9465b10406e6e5dddbd43ddc4fbe author Dave Airlie Mon, 02 Jan 2006 21:23:07 +1100 committer Dave Airlie Mon, 02 Jan 2006 21:23:07 +1100 drm: update drm pci ids list Signed-off-by: Dave Airlie commit fe34765be1ee9465b10406e6e5dddbd43ddc4fbe tree 0e9ec196e83729b7a10f941c5429878d11ae51b5 parent b3a80a223d5f1af1e1713383376e5472cec4e20c author Dave Airlie Mon, 02 Jan 2006 21:19:39 +1100 committer Dave Airlie Mon, 02 Jan 2006 21:19:39 +1100 drm: drm_ioctl.c sync with fixes from CVS Apply the fixes from CVS that were outstanding for this file Signed-off-by: Dave Airlie commit b3a80a223d5f1af1e1713383376e5472cec4e20c tree 0d749f4a9b16deb53449f25755475c498dc0f743 parent 0d6aa60b4ac9689b750e35cd66f5d7c053aff0f4 author Dave Airlie Mon, 02 Jan 2006 21:15:01 +1100 committer Dave Airlie Mon, 02 Jan 2006 21:15:01 +1100 drm: update lock flags from userspace Signed-off-by: Dave Airlie commit 0d6aa60b4ac9689b750e35cd66f5d7c053aff0f4 tree dfc0d9ddfb139df8612e1823f9af89a6ff000a31 parent f0c408b564ddefa0959ada4e2c2248f4a57f1842 author Dave Airlie Mon, 02 Jan 2006 20:14:23 +1100 committer Dave Airlie Mon, 02 Jan 2006 20:14:23 +1100 drm: update to i915 1.3.0 Add support for vblank ioctls to i915 driver From: Dave Airlie Signed-off-by: Dave Airlie commit f0c408b564ddefa0959ada4e2c2248f4a57f1842 tree d75abe72d5e24bad23b8e9f9a0db63b9fd6a44dd parent 1e7d51902a8bd08e37113aaf182d12233b157151 author Dave Airlie Mon, 02 Jan 2006 19:52:09 +1100 committer Dave Airlie Mon, 02 Jan 2006 19:52:09 +1100 drm: update drm_memory_debug.h Update from DRM CVS for drm memory debug From: Jon Smirl Signed-off-by: Dave Airlie commit 1e7d51902a8bd08e37113aaf182d12233b157151 tree 830c01742cd9ea07a7b6809b342821a20b8f30ad parent b5e9fc13dd0f25a2f422000c185f491bfd4f7335 author Dave Airlie Mon, 02 Jan 2006 19:25:35 +1100 committer Dave Airlie Mon, 02 Jan 2006 19:25:35 +1100 drm: proper fix for drm_context Bad patch in last version Signed-off-by: Dave Airlie commit b5e9fc13dd0f25a2f422000c185f491bfd4f7335 tree 217927d6c812fbe99706a3a986acf98899231835 parent f26c473cdf557ea6e8f267d34eee82d30473a363 author Dave Airlie Mon, 02 Jan 2006 19:23:44 +1100 committer Dave Airlie Mon, 02 Jan 2006 19:23:44 +1100 drm: fix issue with contexts running out of RAM Signed-off-by: Dave Airlie commit f26c473cdf557ea6e8f267d34eee82d30473a363 tree 6b8f9ab884e26b5ee7861700a3e95808442d5720 parent 0a406877e638a6f43ed4591bb08d528415d7d53a author Dave Airlie Mon, 02 Jan 2006 17:18:39 +1100 committer Dave Airlie Mon, 02 Jan 2006 17:18:39 +1100 drm: update PCIGART support from CVS In order to work on FreeBSD the gart needed to use a local mapping This patch moves the mainline to the new code and aligns some comment changes From: Eric Anholt Signed-off-by: Dave Airlie commit 0a406877e638a6f43ed4591bb08d528415d7d53a tree b992153837908e274785ebfcd862737eaef41d4b parent 269dc51296f4e985741d2fd567e7be4e7a0a9f29 author Dave Airlie Mon, 02 Jan 2006 16:49:02 +1100 committer Dave Airlie Mon, 02 Jan 2006 16:49:02 +1100 drm: remove old reclaim_buffers from ix0 drivers From: Dave Airlie Signed-off-by: Dave Airlie commit 269dc51296f4e985741d2fd567e7be4e7a0a9f29 tree 88589ce8ddc51a48f691a2c078863682e645293b parent 3528af1b189d0fbb4c7a3f121f46d9987b9af5b6 author Dave Airlie Mon, 02 Jan 2006 16:23:01 +1100 committer Dave Airlie Mon, 02 Jan 2006 16:23:01 +1100 drm: bring savage inline with latest CVS apply some whitespace cleanup and add wrappers for MTRR for OS calls From: Eric Anholt + Dave Airlie Signed-off-by: Dave Airlie commit 3528af1b189d0fbb4c7a3f121f46d9987b9af5b6 tree 565940d5d0ac96c063f15cba5a049103e2993466 parent 952d751a140e961f7ac67f743cf94d1a37c736e8 author Dave Airlie Mon, 02 Jan 2006 16:11:44 +1100 committer Dave Airlie Mon, 02 Jan 2006 16:11:44 +1100 drm: fix a LOR issue on FreeBSD for savage driver Correct a LOR issue on FreeBSD by allocating temporary space and doing a single DRM_COPY_FROM_USER rather than DRM_VERIFYAREA_READ followed by tons of DRM_COPY_FROM_USER_UNCHECKED. I don't like the look of the temporary space allocation, but I like the simplification in the rest of the file. Tested with glxgears, tuxracer, and q3 on a savage4. From: Eric Anholt Signed-off-by: Dave Airlie commit 952d751a140e961f7ac67f743cf94d1a37c736e8 tree 023b9e97bdd5364043f1cddf0f68a4a2f8643e8f parent 443448d05468277abe99c9b24b9df538dd840f35 author Dave Airlie Mon, 02 Jan 2006 14:44:12 +1100 committer Dave Airlie Mon, 02 Jan 2006 14:44:12 +1100 drm: bring sis + tdfx up to latest CVS Cleanup SIS + TDFX drivers with latest changes from CVS. From: Eric Anholt Signed-off-by: Dave Airlie commit 443448d05468277abe99c9b24b9df538dd840f35 tree bea36178d2ff1e88be9086c95be6c023f9a67f83 parent a7a2cc315c8a5e51b08538d102ec3229c966ac87 author Dave Airlie Mon, 02 Jan 2006 14:26:20 +1100 committer Dave Airlie Mon, 02 Jan 2006 14:26:20 +1100 drm: via driver update to CVS version This updates the DRM via driver to the latest CVS version, which contains support for DMA blitting. It also contains some whitespace and other minor fixes From: Thomas Hellstrom Signed-off-by: Dave Airlie commit a7a2cc315c8a5e51b08538d102ec3229c966ac87 tree ae337f98e400b6fe729498adca03b1960b4f2eb4 parent 925142431bd653175b80ae153bd7a8bc13628bde author Dave Airlie Mon, 02 Jan 2006 13:54:04 +1100 committer Dave Airlie Mon, 02 Jan 2006 13:54:04 +1100 drm: move ioctl flags to a bit field of flags From: Dave Airlie Signed-off-by: Dave Airlie commit 00213b17cec87d2cd4df75bcc79aea7a91d8532d tree 6947dba41f8b0e7fe7bccd41a4840d6de6a27079 parent 352dd1df32e672be4cff71132eb9c06a257872fe author Petr Baudis Thu, 22 Dec 2005 04:44:04 +0100 committer Sun, 01 Jan 2006 22:30:43 +0100 kconfig: Remove support for lxdialog --checklist Remove support for lxdialog --checklist The checklist lxdialog functionality is not used by menuconfig (only the radiolist variant is used) and supporting it would significantly complicate the forthcoming liblxdialog API. Signed-off-by: Petr Baudis Signed-off-by: Sam Ravnborg commit 352dd1df32e672be4cff71132eb9c06a257872fe tree f8477d3133b8f43fe1108a1516295f507b2ca359 parent 02959a875caec8cabd36111046ad537251ef405f author Brian Gerst Tue, 27 Dec 2005 23:43:31 -0500 committer Sun, 01 Jan 2006 22:21:50 +0100 gitignore: misc files Ignore all files generated from *_shipped files, plus a few others. Signed-off-by: Brian Gerst Signed-off-by: Sam Ravnborg commit 02959a875caec8cabd36111046ad537251ef405f tree 7f957aad46b1d5bea2e2f61ea5ae0677a6ddfccc parent 42f122c8f7e7134c824907358a5df94cfa38946d author Brian Gerst Tue, 27 Dec 2005 23:39:51 -0500 committer Sun, 01 Jan 2006 22:21:50 +0100 gitignore: x86_64 files Add filters for x86_64 generated files. Signed-off-by: Brian Gerst Signed-off-by: Sam Ravnborg commit 42f122c8f7e7134c824907358a5df94cfa38946d tree 1323e75c25490fc23526382f7e68d0b572a07a98 parent 752625cff3eba81cbc886988d5b420064c033948 author Brian Gerst Tue, 27 Dec 2005 23:19:04 -0500 committer Sun, 01 Jan 2006 22:21:50 +0100 gitignore: asm-offsets.h Ignore asm-offsets.h for all arches. Signed-off-by: Brian Gerst Signed-off-by: Sam Ravnborg commit 6073aa643f52fd12b02f0532dc96287f4c3293b5 tree 272fc07333289b0a788996dcd2034b80d1693178 parent 752625cff3eba81cbc886988d5b420064c033948 author Jan-Benedict Glaw Sun, 01 Jan 2006 14:23:47 +0100 committer Sun, 01 Jan 2006 19:31:30 +0100 kbuild: tar-pkg with out-out-tree building Fix out-of-tree builds for the tar-pkg targets When I wrote the buildtar script, I didn't even think about out-of-tree builds because I didn't use these back then. This patch throughoutly uses ${objtree} instead of `pwd`. Also, the kernel version is no longer manually built. Instead, it will properly use $KERNELRELEASE . Installing modules is only done if CONFIG_MODULES is set. Signed-off-by: Jan-Benedict Glaw Signed-off-by: Sam Ravnborg commit 04348e69e7e78ad69a09b2e1157f628d6c764370 tree 9bf252f44d17fbeda620a39595659177172f3d77 parent c1a959d8ef4e343f11c8c0f9a693815b6dc76886 author Len Brown Fri, 30 Dec 2005 02:44:59 -0500 committer Len Brown Fri, 30 Dec 2005 02:44:59 -0500 [ACPI] reduce kernel size: move 5BK .bss to 2.5KB .init.data put __initdata on sdt_entry[], as it is accessed only by __init functions. http://bugzilla.kernel.org/show_bug.cgi?id=1311 Signed-off-by: Len Brown commit c1a959d8ef4e343f11c8c0f9a693815b6dc76886 tree bc5630e668d1e3d08c71091d17d011dd0468c71b parent 6968e50c2b53805219618203db3d98566dfa1fdd parent 9e625ff8a37aefcc177b19614ffcffb5bc6eeea1 author Len Brown Fri, 30 Dec 2005 00:35:53 -0500 committer Len Brown Fri, 30 Dec 2005 00:35:53 -0500 Pull linus into release branch commit 6968e50c2b53805219618203db3d98566dfa1fdd tree e340472602ab6bd80e54bc4fc1459cfaab280b8a parent 0a5296dc34593e08c9e54b60e8f93684efff2f92 author Len Brown Fri, 30 Dec 2005 00:32:49 -0500 committer Len Brown Fri, 30 Dec 2005 00:32:49 -0500 [ACPI] linux-acpi@vger.kernel.org replaces acpi-devel@lists.sourceforge.net Signed-off-by: Len Brown commit 0a5296dc34593e08c9e54b60e8f93684efff2f92 tree c0f47aee7d133bacb3f52bf944b3b3fa8a380aba parent 41c0d8680f7f24e1abaaeeabc6723277b2e34b81 parent 3603bc8dc5ab33941e6378fe52ea03b7f5561109 author Len Brown Wed, 28 Dec 2005 23:43:17 -0500 committer Len Brown Wed, 28 Dec 2005 23:43:17 -0500 Pull linus into release branch commit 41c0d8680f7f24e1abaaeeabc6723277b2e34b81 tree 8113bab5f5c3ec8e38e5dd6357686daaad1cefbe parent 67dbb4ea33731415fe09c62149a34f472719ac1d author Len Brown Wed, 28 Dec 2005 12:43:51 -0500 committer Len Brown Wed, 28 Dec 2005 12:43:51 -0500 [ACPI] document processor.nocst parameter Signed-off-by: Len Brown commit e7c3aad53dba54d375b632f2a21b680546828dec tree b724a6939a3d01d2edffce2e654e10f33876f5f3 parent 9d6c25029db6de7fc375b07da936c3341af0accf author Dmitry Torokhov Wed, 28 Dec 2005 01:26:24 -0500 committer Dmitry Torokhov Wed, 28 Dec 2005 01:26:24 -0500 Input: wistron - convert to the new platform device interface Do not use platform_device_register_simple() as it is going away, implement ->probe() and ->remove() functions so manual binding and unbinding would work. Signed-off-by: Dmitry Torokhov commit 9d6c25029db6de7fc375b07da936c3341af0accf tree 1fd40668b046339505896e72a889591d7e40c59f parent 26421c7acc02847c724eb9f92797f84dbf9be007 author Dmitry Torokhov Wed, 28 Dec 2005 01:25:53 -0500 committer Dmitry Torokhov Wed, 28 Dec 2005 01:25:53 -0500 Input: maceps2 - convert to the new platform device interface Do not use platform_device_register_simple() as it is going away, implement ->probe() and ->remove() functions so manual binding and unbinding will work with this driver. Signed-off-by: Dmitry Torokhov commit 26421c7acc02847c724eb9f92797f84dbf9be007 tree aafcebb20f852dc3286668d0ad401999ad4872c8 parent 916d83cfe5da1cda454d8b0ae233f06b58bd7f91 author Dmitry Torokhov Wed, 28 Dec 2005 01:25:42 -0500 committer Dmitry Torokhov Wed, 28 Dec 2005 01:25:42 -0500 Input: q40kbd - convert to the new platform device interface Do not use platform_device_register_simple() as it is going away, implement ->probe() and ->remove() functions so manual binding and unbinding will work with this driver. Signed-off-by: Dmitry Torokhov commit 916d83cfe5da1cda454d8b0ae233f06b58bd7f91 tree 30e5d31dddb98479f565e40444dca4a97af03fb3 parent 87fd6318a6c381ba1e10a4f56907d11ae4a987b9 author Dmitry Torokhov Wed, 28 Dec 2005 01:25:30 -0500 committer Dmitry Torokhov Wed, 28 Dec 2005 01:25:30 -0500 Input: ct82c710 - convert to the new platform device interface Do not use platform_device_register_simple() as it is going away, implement ->probe() and ->remove() functions so manual binding and unbinding will work with this driver. Signed-off-by: Dmitry Torokhov commit 87fd6318a6c381ba1e10a4f56907d11ae4a987b9 tree 84585314facc63e6320d34a70b65983b59b66761 parent 8ea3694fcb7e5471cf84313a10e012b48e33c892 author Dmitry Torokhov Wed, 28 Dec 2005 01:25:11 -0500 committer Dmitry Torokhov Wed, 28 Dec 2005 01:25:11 -0500 Input: i8042 - convert to the new platform device interface Do not use platform_device_register_simple() as it is going away, implement ->probe() and ->remove() functions so manual binding and unbinding will work with this driver. Signed-off-by: Dmitry Torokhov commit 752625cff3eba81cbc886988d5b420064c033948 tree 10281d9345281b3d118aa8b29b3fb21e1ea10655 parent 54e08a2392e99ba9e48ce1060e0b52a39118419c author Sam Ravnborg Mon, 26 Dec 2005 23:34:03 +0100 committer Sam Ravnborg Mon, 26 Dec 2005 23:34:03 +0100 kbuild: always run 'make silentoldconfig' when tree is cleaned If the file .kconfig.d is missing then make sure to run 'make silentoldconfig', since we have no way to detect if a Kconfig file has been updated. -kconfig.d is created by kconfig and is removed as part of 'make clean' so the situation is likely to occur in reality. Jan Beulich reported this bug. Signed-off-by: Sam Ravnborg commit 54e08a2392e99ba9e48ce1060e0b52a39118419c tree d86d89a8b844b88eca9a76362d10cb4b9034dd76 parent 0d5416433190ee80a8146137dd84613bb9c7ae92 author Samuel Thibault Mon, 26 Dec 2005 02:47:18 +0100 committer Sam Ravnborg Mon, 26 Dec 2005 23:19:55 +0100 kbuild: tags file generation fixup Here is a fixup for tags file generation, for proper tags of __releases/__acquires functions. Signed-off-by: samuel.thibault@ens-lyon.org Signed-off-by: Sam Ravnborg commit 0d5416433190ee80a8146137dd84613bb9c7ae92 tree 1d01057c08e559b5947ddd942ce725b5b7d82fb4 parent c40f56409d01f6f1ea80ed4c229096749c2335df author Sam Ravnborg Mon, 26 Dec 2005 23:04:02 +0100 committer Sam Ravnborg Mon, 26 Dec 2005 23:04:02 +0100 kbuild: remove EXPERIMENTAL tag from Module versioning Module versioning support has been stable for a loong time so let's get rid of the EXPERIMENTAL tag. Signed-off-by: Sam Ravnborg commit c40f56409d01f6f1ea80ed4c229096749c2335df tree 11be4df8809929cccea24d4bc7eafd80f2354782 parent a89a0a2354ae666612968e254d650bfd04f11eb6 author Sam Ravnborg Mon, 26 Dec 2005 22:53:25 +0100 committer Sam Ravnborg Mon, 26 Dec 2005 22:53:25 +0100 kbuild: Create _shipped files for genksyms Generate _shipped files so the genksyms change in previous commit is enabled. The files are generated with latest versions of the tools: bison (GNU Bison) 2.0 flex version 2.5.4 GNU gperf 3.0.1 Signed-off-by: Sam Ravnborg commit a89a0a2354ae666612968e254d650bfd04f11eb6 tree 37b8791eb9b6580d511fd514cd180145e39ed04f parent f83b5e323f57d6e1f35a839d663e91cebe985e54 author Robin Holt Tue, 20 Dec 2005 19:45:50 -0600 committer Sam Ravnborg Mon, 26 Dec 2005 22:39:55 +0100 kbuild: Fix genksyms handling of DEFINE_PER_CPU(struct foo_s *, bar); This is a one-line change to parse.y. To take advantage of this the scripts/genksyms/*_shipped files needs to be rebuild - this is the next patch. When a .c file contains: DEFINE_PER_CPU(struct foo_s *, bar); the .cpp output looks like: __attribute__((__section__(".data.percpu"))) __typeof__(struct foo_s *) per_cpu__bar; With the existing parse.y, the value inside the paranthesis of __typeof__() does not evaluate as a type_specifier and therefore per_cpu__bar does not get assigned a type for genksyms which results in the EXPORT_PER_CPU_SYMBOL() not generating a CRC value. I have compared the Modules.symvers with and without this patch and for ia64's defconfig, the only change is: Before 0x00000000 per_cpu____sn_nodepda vmlinux After 0x9d3f3faa per_cpu____sn_nodepda vmlinux per_cpu____sn_nodepda was the original source of my problems. Signed-off-by: Robin Holt Signed-off-by: Sam Ravnborg commit f83b5e323f57d6e1f35a839d663e91cebe985e54 tree 59e19500a8204abd8e77620b7e80138d5f7fda68 parent 4d99f93bdaa1ab49188cac67b4aae9180f8e3960 author Ustyugov Roman Fri, 23 Sep 2005 08:42:11 +0400 committer Sam Ravnborg Mon, 26 Dec 2005 00:33:41 +0100 kbuild: set correct KBUILD_MODNAME when using well known kernel symbols as module names This patch fixes a problem when we use well known kernel symbols as module names. For example, if module source name is current.c, idle_stack.c or etc., we have a bad KBUILD_MODNAME value. For example, KBUILD_MODNAME will be "get_current()" instead of "current", or "(init_thread_union.stack)" instead of "idle_task". The trick is to define a stringify macro on the commandline - named KBUILD_STR for namespace reasons - and then to stringify the module name. There are a few uses of KBUILD_MODNAME throughout the tree but the usage is for debug and will not be harmed by this change so left untouched for now. While at it KBUILD_BASENAME was changed too. Any spinlock usage in the unix module would have created wrong section names without it. Usage in spinlock.h fixed so it no longer stringify KBUILD_BASENAME. Original patch from Ustyogov Roman - all bugs introduced by me. Signed-off-by: Sam Ravnborg commit 4d99f93bdaa1ab49188cac67b4aae9180f8e3960 tree abc13c11bd350117117777e547d80804f8257fb6 parent f6333eb4e788bf70d6455c9004b6b676df62c500 author Sam Ravnborg Sun, 25 Dec 2005 23:21:14 +0100 committer Sam Ravnborg Sun, 25 Dec 2005 23:21:14 +0100 kbuild: escape '#' in .target.cmd files Commandlines are contained in the ..cmd files and in case they contain a '#' char make see this as start of comment. Teach fixdep to escape the '#' char so make will assing the full commandline. Signed-off-by: Sam Ravnborg commit f6333eb4e788bf70d6455c9004b6b676df62c500 tree ae2d734b1f777470905fd1e4d25475b6b0b39ab4 parent 9572b28faf72859c6b91891c627870cfa282d19d author John Kacur Sat, 29 Oct 2005 00:25:13 -0400 committer Sam Ravnborg Sun, 25 Dec 2005 21:29:38 +0100 kbuild: Add ctags support for function prototypes and external variable declarations This patch adds function prototypes and external variable declarations to the set of tag kinds when running ctags. I find this useful when perusing the kernel. Please apply. Signed-off-by: John Kacur Signed-off-by: Sam Ravnborg commit 9572b28faf72859c6b91891c627870cfa282d19d tree ffb70ad557c91ea836eaab5bde0fbecc1f1d8d96 parent 9cc5d74c847dd3a9ea121b5bbca07bd5791c54ee author Luke Yang Wed, 21 Dec 2005 10:27:23 +0800 committer Sam Ravnborg Sun, 25 Dec 2005 21:18:11 +0100 kbuild: Fix crc-error warning on modules This is the patch for the following issue: In include/linux/module.h, "__crc_" and "__ksymtab_" are hard coded to be the prefix for some kinds of symbols (CRC symbol and ksymtab section). But in script /mod/modpost.c, MODULE_SYMBOL_PREFIX##"__crc_" is used as the prefix to search CRC symbols. So if an architecture (such as h8300 or Blackfin) defines MODULE_SYMBOL_PREFIX as not NULL ("_"), modpost will always warn about "no invalid crc". And it is the same with KSYMTAB_PFX. Signed-off-by: Luke Yang Signed-off-by: Sam Ravnborg commit c4c48d83e9ffb1c25cccd59d5ea9dda6ded01faf tree e761460e62fcc11ad358a93c3a5fb24da6ed7a77 parent 6e15b7124990e4b91645601e7a90d3fe72873336 author Stephen Hemminger Tue, 20 Dec 2005 15:08:10 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:38:35 -0500 [PATCH] sky2: version 0.11 Version number change. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6e15b7124990e4b91645601e7a90d3fe72873336 tree 4b7e90e86467ed541c055a69362dc5ba8bc34ec8 parent 6ed995bb29f042eece8392d9bae0b83f84bcdb23 author Stephen Hemminger Tue, 20 Dec 2005 15:08:09 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:38:35 -0500 [PATCH] sky2: handle hardware packet overrun It is possible for hardware to get confused when an oversized frame is received. In that case, just drop the packet and increment a counter. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6ed995bb29f042eece8392d9bae0b83f84bcdb23 tree f1ac80aa3da1a9426373d711dd5c0a16f63c959f parent 1b537565a85cbe5cc9d5174d348a9014381af718 author Stephen Hemminger Tue, 20 Dec 2005 15:08:08 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:38:35 -0500 [PATCH] sky2: don't lose multicast addresses Don't lose multicast addresses when link goes down or ring parameters change. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 1b537565a85cbe5cc9d5174d348a9014381af718 tree fa61606c4426c3384703db9b2bacc84b6d6ad8b4 parent edd702e847fb8a9774a2ed8d50d2b8299b8c7f89 author Stephen Hemminger Tue, 20 Dec 2005 15:08:07 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:38:35 -0500 [PATCH] sky2: handle out of memory on admin changes Don't die if we run out of memory on mtu or ring parameter change. For other admin operations, don't rebuild Rx ring, just restart the PHY. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit edd702e847fb8a9774a2ed8d50d2b8299b8c7f89 tree 3abf9920526b65889aa8216742d85ee3d0e39cba parent b35de2eb389aa1889941ec3d02fff6d7a2569825 author Stephen Hemminger Thu, 15 Dec 2005 12:18:00 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:38:35 -0500 [PATCH] skge: error handling on resume Also have to handle out of memory condition on resume. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit b35de2eb389aa1889941ec3d02fff6d7a2569825 tree 7ad3937122f50b2ac10d5d466b089c4b5cf99afe parent 26b7625c46d5d72570252d30fec6814682476684 author Jens Osterkamp Thu, 15 Dec 2005 13:42:21 +0100 committer Jeff Garzik Sat, 24 Dec 2005 09:37:39 -0500 [PATCH] spidernet: fix Kconfig after BPA->CELL rename We changed the name of the Kconfig symbols along with the move to arch/powerpc. This one hunk got lost during the conversion. From: Jens.Osterkamp@de.ibm.com Cc: netdev@vger.kernel.org Signed-off-by: Arnd Bergmann Signed-off-by: Jeff Garzik commit 26b7625c46d5d72570252d30fec6814682476684 tree 5087ee9f346cf6e839a3b442785a4c8a4fbde180 parent f15943f500c2d3edaee6b4c23dfd738715e74618 author Andrew Morton Wed, 14 Dec 2005 19:25:23 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:37:38 -0500 [PATCH] git-netdev-all: s2io warning fix drivers/net/s2io.c: In function `s2io_txdl_getskb': drivers/net/s2io.c:2023: warning: cast from pointer to integer of different size drivers/net/s2io.c: In function `s2io_open': drivers/net/s2io.c:3325: warning: long long unsigned int format, u64 arg (arg 3) drivers/net/s2io.c:3333: warning: long long unsigned int format, u64 arg (arg 3) drivers/net/s2io.c: In function `s2io_eeprom_test': drivers/net/s2io.c:4749: warning: long long unsigned int format, long unsigned int arg (arg 3) drivers/net/s2io.c:4749: warning: long long unsigned int format, u64 arg (arg 4) drivers/net/s2io.c:4768: warning: long long unsigned int format, long unsigned int arg (arg 3) drivers/net/s2io.c:4768: warning: long long unsigned int format, u64 arg (arg 4) I had to update this patch because more warnings have just appeared. You cannot print a u64 with %l or %ll. You do not know what type the architecture is using. It must be cast to a type which matches the printf control string - unsigned long long. The patch also fixes some overly-long strings. Please try to keep the code looking neat in an 80-col window. Cc: Jeff Garzik Cc: Ananda Raju Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit f15943f500c2d3edaee6b4c23dfd738715e74618 tree 68307aabed0a157e6b764ec98e73b0e79d283745 parent 3b8bb472ad8eee6f42bc82647ff5d6d9bfe49e20 author Stephen Hemminger Wed, 14 Dec 2005 15:47:49 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:36:06 -0500 [PATCH] skge: version number (1.3) Enough changes for one version. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 3b8bb472ad8eee6f42bc82647ff5d6d9bfe49e20 tree a283968f8bee753cbd4be1bdbb3dcd78824c5e48 parent 2770b5172e9b3d135b16d1e5d8344919ac09319d author Stephen Hemminger Wed, 14 Dec 2005 15:47:48 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:36:06 -0500 [PATCH] skge: handle out of memory on ring parameter change If changing ring parameters is unable to allocate memory, we need to return an error and take the device down. Fixes-bug: http://bugzilla.kernel.org/show_bug.cgi?id=5715 Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 2770b5172e9b3d135b16d1e5d8344919ac09319d tree fc36114e4a8cbe74cb09a2c83482989648fe3cbf parent 7731a4ea1bbb7c9336bcdec8ef4050cf08a35268 author Stephen Hemminger Wed, 14 Dec 2005 15:47:47 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:36:06 -0500 [PATCH] skge: get rid of Yukon2 defines Don't need to keep Yukon-2 related definitions around for Skge driver that is only for Yukon-1 and Genesis. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 7731a4ea1bbb7c9336bcdec8ef4050cf08a35268 tree 2aa5dbad868dbaa1bd60972abcd9dcb9ac66fdba parent e8df8554605f014765732605667145c0824a12b7 author Stephen Hemminger Wed, 14 Dec 2005 15:47:46 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:36:05 -0500 [PATCH] skge: handle out of memory on MTU size changes Changing the MTU size causes the receiver to have to reallocate buffers. If this allocation fails, then we need to return an error, and take the device offline. It can then be brought back up or reconfigured for a smaller MTU. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit e8df8554605f014765732605667145c0824a12b7 tree 1cc2a9230a90483ff86d67592764c9482c490dce parent ee294dcda1d5dea5b909164cdc459a8483ee2983 author Stephen Hemminger Wed, 14 Dec 2005 15:47:45 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:36:05 -0500 [PATCH] skge: avoid up/down on pause param changes Change the pause settings doesn't need to cause link to go down/up. It can be handled by the phy_reset code. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit ee294dcda1d5dea5b909164cdc459a8483ee2983 tree 35141a9b95b0713bf79bd44de75517eb37c937c7 parent aa84505fb0fb9504c61d77e8e6930a417fc404d6 author Stephen Hemminger Wed, 14 Dec 2005 15:47:44 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:36:05 -0500 [PATCH] skge: avoid up/down on speed changes Change the speed settings doesn't need to cause link to go down/up. It can be handled by doing the same logic as nway_reset. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit aa84505fb0fb9504c61d77e8e6930a417fc404d6 tree f81404128e2340df1827104ab063a0f0cfd45691 parent ebc62fb36ca40539fb08575f94c7da75d1b9db85 author Stephen Hemminger Wed, 14 Dec 2005 14:38:44 -0800 committer Jeff Garzik Sat, 24 Dec 2005 09:35:17 -0500 [PATCH] chelsio: transmit routine return values The Chelsio driver does not return the correct values from the transmit routine. It works because the values don't conflict, but it is using the wrong defines. And -ENOMEM is not a legal return value. Since t1_sge_tx is only called in one place, making it static allows compiler to be potentially inline it. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit aaadff81195056c7c14e0d834b3318c624c0fd78 tree 34d66d8dcb25fa9ffb568f8acfdb317ddf203b44 parent c6329f4df2263ab5a40601a5236639e61b682f51 parent df7addbb45874f0f992266003155de5a22e1872f author Jeff Garzik Sat, 24 Dec 2005 09:31:05 -0500 committer Jeff Garzik Sat, 24 Dec 2005 09:31:05 -0500 Merge branch 'master' commit ebc62fb36ca40539fb08575f94c7da75d1b9db85 tree b1fa10bf3a02893506fc296d90631a73b215102a parent 418fbfe979d96efc7b91f29b2085d51541c61f0b parent df7addbb45874f0f992266003155de5a22e1872f author Jeff Garzik Sat, 24 Dec 2005 09:28:21 -0500 committer Jeff Garzik Sat, 24 Dec 2005 09:28:21 -0500 Merge branch 'master' commit 8ea3694fcb7e5471cf84313a10e012b48e33c892 tree f39f5cc950cdb40be82d573da22b0d2b7702c656 parent f5b64078d75528f36b78d30e945bb1b05cb05f26 author Dmitry Torokhov Wed, 21 Dec 2005 01:02:54 -0500 committer Dmitry Torokhov Wed, 21 Dec 2005 01:02:54 -0500 Input: logips2pp - add signature of MouseMan Wheel Mouse (87) Signed-off-by: Dmitry Torokhov commit f5b64078d75528f36b78d30e945bb1b05cb05f26 tree 4bc17917169c097a13f18939bbf171c6934d79c0 parent 1f75e6bdfa011c0c2afa65ed1585200a3bc92ddf author Dmitry Torokhov Wed, 21 Dec 2005 00:52:35 -0500 committer Dmitry Torokhov Wed, 21 Dec 2005 00:52:35 -0500 Input: sparcspkr - register with driver core as a platfrom device Signed-off-by: Dmitry Torokhov commit 1f75e6bdfa011c0c2afa65ed1585200a3bc92ddf tree da9d53473c8551ab365816388c4502d23f402052 parent 59317747359dbc26af920813b3df358333a3840c author Dmitry Torokhov Wed, 21 Dec 2005 00:52:29 -0500 committer Dmitry Torokhov Wed, 21 Dec 2005 00:52:29 -0500 Input: m68kspkr - register with driver core as a platfrom device Signed-off-by: Dmitry Torokhov commit 59317747359dbc26af920813b3df358333a3840c tree 5cdeae536cac667ea0823fcaacd5ceae79ade685 parent 1f1a91e033f4ec60a70669e2e3e358d7e4f32495 author Dmitry Torokhov Wed, 21 Dec 2005 00:52:22 -0500 committer Dmitry Torokhov Wed, 21 Dec 2005 00:52:22 -0500 Input: pcspkr - register with driver core as a platfrom device Signed-off-by: Dmitry Torokhov commit 1f1a91e033f4ec60a70669e2e3e358d7e4f32495 tree c8bb3c17c93682d60468cf14579f00527565353e parent 41293e5368d9ba9760935cf510d2631c257f2b74 author Daniele Gozzi Wed, 21 Dec 2005 00:52:10 -0500 committer Dmitry Torokhov Wed, 21 Dec 2005 00:52:10 -0500 Input: lifebook - add DMI signature of Fujitsu Lifebook B142 This DMI data was found in Fujitsu LifeBook B142 (Product S/N FPC01003B, italian keyboard); re: bugzilla #5335 Signed-off-by: Dmitry Torokhov commit 41293e5368d9ba9760935cf510d2631c257f2b74 tree 144f483bb9336348245c533dcef8d9ede2dd3d4a parent 4eb38ac0629716871591b594fe0c611b19613983 author Dmitry Torokhov Wed, 21 Dec 2005 00:52:00 -0500 committer Dmitry Torokhov Wed, 21 Dec 2005 00:52:00 -0500 Input: add help entry for FM801 gameport driver to Kconfig Signed-off-by: Dmitry Torokhov commit 4eb38ac0629716871591b594fe0c611b19613983 tree 89831333d8a81904102551d8a9f8d35f153af965 parent ba44995a1e84b6cebf32e61d9492e8e133d192ce author Dmitry Torokhov Wed, 21 Dec 2005 00:51:51 -0500 committer Dmitry Torokhov Wed, 21 Dec 2005 00:51:51 -0500 Input: i8042 - disable MUX mode for Sharp MM20 Add yet another entry to the ever-growing list of boxes with non-working MUX implementation. Signed-off-by: Dmitry Torokhov commit ba44995a1e84b6cebf32e61d9492e8e133d192ce tree b38bdd5728389c2896cba1930edad02ffa222b41 parent f5e9c9ca54e31c0f629bae487eadaa5b8515b86d author Dmitry Torokhov Wed, 21 Dec 2005 00:51:31 -0500 committer Dmitry Torokhov Wed, 21 Dec 2005 00:51:31 -0500 Input: psmouse - don't leave mouse asleep It looks like quite a few mice out there treat PSMOUSE_RESET_DIS as a powerdown request and turn off the light rendering the mouse unusable. Vojtech recommended to switch from PSMOUSE_RESET_DIS to full reset, however we don't want to do that everywhere as full reset is pretty slow. Instead we only use it before probing for "generic" protocols, such as IntelliMouse and Explorer, to make sure that the mouse will be woken up if it went to sleep as a result of PSMOUSE_RESET_DIS issued earlier. Signed-off-by: Dmitry Torokhov commit f5e9c9ca54e31c0f629bae487eadaa5b8515b86d tree df2dca8f78d124d3fed42eba664239682b4ba7f6 parent e1e02c9f766e5cf20d951d35e6d2bc2683aa87ef author Larry Finger Wed, 21 Dec 2005 00:51:13 -0500 committer Dmitry Torokhov Wed, 21 Dec 2005 00:51:13 -0500 Input: ALPS - add signature for HP ze1115 Signed-off-by: Dmitry Torokhov commit e1e02c9f766e5cf20d951d35e6d2bc2683aa87ef tree e01d10f57fdf1af64ebaab85caa414989e44f50d parent 041387d98460b3947587929ef3a4773b8c48538f author Michael Hanselmann Wed, 21 Dec 2005 00:50:23 -0500 committer Dmitry Torokhov Wed, 21 Dec 2005 00:50:23 -0500 Input: appletouch - add support for Geyser 2 This patch adds support for the Geyser 2 touchpads used on post Oct 2005 Apple PowerBooks to the appletouch driver. Signed-off-by: Michael Hanselmann Acked-by: Rene Nussbaumer Acked-by: Johannes Berg Acked-by: Stelian Pop Signed-off-by: Dmitry Torokhov commit 041387d98460b3947587929ef3a4773b8c48538f tree 3330eebba3fa1aa7c13479e527f07b03d7fb53ed parent 56f0356321a876a1a356712f2486d6188a3b4992 parent b05948d9b7167e23af88cc65b9ffa4687eaf1f0d author Dmitry Torokhov Tue, 20 Dec 2005 23:03:50 -0500 committer Dmitry Torokhov Tue, 20 Dec 2005 23:03:50 -0500 Manual merge with Linus (conflict in drivers/input/misc/wistron_bnts.c) commit 418fbfe979d96efc7b91f29b2085d51541c61f0b tree a9acb07328e0c76011727d5b3b6f5407afcd2866 parent 8b132f4ee7304fec4fa27dec67879bc0172e916a parent ff60dde9e46b87757d5e83bd58be0688fca8e816 author Jeff Garzik Mon, 19 Dec 2005 00:09:53 -0500 committer Jeff Garzik Mon, 19 Dec 2005 00:09:53 -0500 Merge branch 'master' commit 7b32b8e018d8f8cc94c808a5fa84a3f889441b91 tree afe4f0d68258bd7beac1ad3f3f1c09ba195bf096 parent 19c65091c133a98b20d867c94b1b1380a79e4b81 author Matthew Wilcox Fri, 16 Dec 2005 21:11:37 -0700 committer James Bottomley Sat, 17 Dec 2005 10:50:23 -0600 [SCSI] Missing const in sr_vendor Fix compile warnings with current scsi-misc git tree Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 9cc5d74c847dd3a9ea121b5bbca07bd5791c54ee tree adedbc2f70fa3c620c6e67cd47d294652a108a26 parent 98a1e444111c9fd3f7a2b55225f7febf4209c020 author Bodo Eggert <7eggert@gmx.de> Wed, 23 Nov 2005 20:11:34 +0100 committer Sam Ravnborg Fri, 16 Dec 2005 23:19:45 +0100 kbuild: document INSTALL_MOD_PATH in 'make help' Signed-Off-By: Bodo Eggert <7eggert@gmx.de> Signed-off-by: Sam Ravnborg commit 98a1e444111c9fd3f7a2b55225f7febf4209c020 tree 649e7db9746ada555fe2a717234aada8b0dbbb81 parent cb1a7b4df7e2ffc7c97891e8f350ce5db50df3b9 author Brian Strand Tue, 22 Nov 2005 01:23:08 +0000 committer Sam Ravnborg Fri, 16 Dec 2005 23:15:41 +0100 kbuild: patch to Documentation/kbuild/modules.txt First off, thanks for the kbuild docs, they are very useful! Second, I've attached a patch to modules.txt (from 2.6.14.2) with a "compile" fix to a Makefile example, and some trivial spelling/grammar nits. Please let me know if you want the patch in some other format (eg not MIME), or if I should go bother someone else about it. Signed-off-by: Sam Ravnborg commit cb1a7b4df7e2ffc7c97891e8f350ce5db50df3b9 tree e2d5a0b1c59ff7294b04a33cb733df059caa2c78 parent 6f6046cff2e8f04d6b916b10ebaa7b40d7e7967a author Adrian Bunk Wed, 14 Dec 2005 00:26:07 +0100 committer Sam Ravnborg Fri, 16 Dec 2005 21:48:02 +0100 [PATCH] kbuild: remove the deprecated check_gcc check_gcc has been deprecated for quite some time. Signed-off-by: Adrian Bunk Signed-off-by: Sam Ravnborg commit 6f6046cff2e8f04d6b916b10ebaa7b40d7e7967a tree 91a143eb6caba421b3f2f1c26d06bd8716da765e parent e067e1f98d54d62fd598126f95e7684e5b63e67f author Sam Ravnborg Fri, 16 Dec 2005 21:35:19 +0100 committer Sam Ravnborg Fri, 16 Dec 2005 21:35:19 +0100 kconfig: move lxdialog to scripts/kconfig/lxdialog The only lxdialog user i kconfig - for menuconfig. So move it to reflect this. Signed-off-by: Sam Ravnborg commit 19c65091c133a98b20d867c94b1b1380a79e4b81 tree 03076a960278b81e26437f2acb0f24cc4f7fe039 parent cd453c6353ea30171d966fd1dd87c37b05bccee1 author Matthew Wilcox Fri, 16 Dec 2005 12:50:53 -0500 committer James Bottomley Fri, 16 Dec 2005 10:53:47 -0800 [SCSI] Merge sym53c8xx_comm.h and sym53c8xx_defs.h into ncr driver When the sym1 driver was in the tree, it used to share various parts of its infrastructure with the ncr driver. Now it's gone, these files are just an annoyance, so merge sym53c8xx_comm.h into ncr53c8xx.c and merge sym53c8xx_defs.h into ncr53c8xx.h. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit cd453c6353ea30171d966fd1dd87c37b05bccee1 tree c46cd9da8c0508349efa94faaa5b44eeb5031ccc parent 8f23d475581adac949315e3339421e12554932c9 author Matthew Wilcox Fri, 16 Dec 2005 12:50:53 -0500 committer James Bottomley Fri, 16 Dec 2005 10:52:38 -0800 [SCSI] Use spi_print_msg in ncr53c8xx driver The ncr53c8xx driver had its own loop to print scsi messages. Use the SPI one instead. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 8f23d475581adac949315e3339421e12554932c9 tree 30e68e2f1f48b39e0dd0da382d1297d321f817f9 parent ef72582e7a02e1069c6e6bf5eecf6f388b1467c6 author James Bottomley Tue, 29 Nov 2005 16:24:52 -0600 committer James Bottomley Fri, 16 Dec 2005 09:51:01 -0800 [SCSI] 53c700: update endian processing macros This update now allows this driver to be used on big endian bus machines that aren't parisc. To do that, the driver must set a CONFIG_53C700_BE_BUS in Kconfig to compile the right macro versions. Signed-off-by: James Bottomley commit c4342d8a4d95e18b957b898dbf5bfce28fca2780 tree fbaaaa50351a71f03b013b86ba32ef01bea19472 parent d1646f86a2a05a956adbb163c81a81bd621f055e author Jack Morgenstein Thu, 15 Dec 2005 19:59:01 -0800 committer Roland Dreier Thu, 15 Dec 2005 19:59:01 -0800 IB/mthca: Fix corner cases in max_rd_atomic value handling in modify QP sae and sre bits should only be set when setting sra_max. Further, in the old code, if the caller specifies max_rd_atomic = 0, the sre and sae bits are still set, with the result that the QP ends up with max_rd_atomic = 1 in effect. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit ef72582e7a02e1069c6e6bf5eecf6f388b1467c6 tree af53892d987f11d8bc0cec3674daf2f564290e93 parent b32aaffcdc694650d299a59501c5b3e267fca343 author Matthew Wilcox Thu, 15 Dec 2005 16:22:01 -0500 committer James Bottomley Thu, 15 Dec 2005 18:42:39 -0800 [SCSI] Add PPR support to spi_print_msg Introduce a new helper, print_nego() to handle SDTR/WDTR/PPR. Split out the guts of show_spi_transport_period_helper() into period_to_str() and use it in print_nego to get the period factor conversion right. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit b32aaffcdc694650d299a59501c5b3e267fca343 tree 322a00bae954da76a790cad17807bc0f12bc1b6c parent 479721538957d514df6dcb29f66e5edd26393bb1 author Matthew Wilcox Thu, 15 Dec 2005 16:22:01 -0500 committer James Bottomley Thu, 15 Dec 2005 18:42:18 -0800 [SCSI] Use ARRAY_SIZE in spi_print_msg Replace the custom NO_*_MSGS definitions with uses of ARRAY_SIZE. This fixes a bug in the definition of NO_EXTENDED_MSGS. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 479721538957d514df6dcb29f66e5edd26393bb1 tree b9163628bb01505c9bd009c14e5427561506f4aa parent 1abfd370134553f3b47e3e40a0526e05001409c2 author Matthew Wilcox Thu, 15 Dec 2005 16:22:01 -0500 committer James Bottomley Thu, 15 Dec 2005 18:41:55 -0800 [SCSI] Fix printing of two-byte messages A missing comma meant that "Ordered Queue Tag" and "Ignore Wide Residue" were being concatenated together. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 1abfd370134553f3b47e3e40a0526e05001409c2 tree 44653f5df309634cfdf347dcf1ec961667721101 parent 410ca5c7c6ed08bda165e8137bff26c3fbee5a1b author Matthew Wilcox Thu, 15 Dec 2005 16:22:01 -0500 committer James Bottomley Thu, 15 Dec 2005 18:41:27 -0800 [SCSI] Rename scsi_print_msg to spi_print_msg Rename scsi_print_msg to spi_print_msg and move its prototype from scsi_dbg.h to scsi_transport_spi.h Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 410ca5c7c6ed08bda165e8137bff26c3fbee5a1b tree 079d028ecb7ea645f0948e3a90a919c7c4f35eee parent 7b16318dea8d9840dac567a2ae8c50ecdea36aea author Matthew Wilcox Thu, 15 Dec 2005 16:22:01 -0500 committer James Bottomley Thu, 15 Dec 2005 18:41:13 -0800 [SCSI] Move scsi_print_msg to SPI class scsi_print_msg() is an SPI-specific concept. This patch moves it from constants.c to scsi_transport_spi.c and updates the Kconfig to link in the SPI class for the drivers which use scsi_print_msg(). Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 7b16318dea8d9840dac567a2ae8c50ecdea36aea tree 8866511a03ba28dcfd98263aa0a8c65ef876c31b parent 2a1e1379bae53f647c463a677cc2ec71b591c348 author James Bottomley Thu, 15 Dec 2005 20:17:02 -0600 committer James Bottomley Thu, 15 Dec 2005 20:17:02 -0600 Fix up SCSI mismerge I forgot to do a git-update-cache on the merged files ... commit 2a1e1379bae53f647c463a677cc2ec71b591c348 tree a152beb5e8679e94430c5b47bf798dd8a2d4fd5d parent 787926b1b2d21d42ca462dc736b77f1a4a30c503 parent 7b6666530e2736f190a2629c8abe34275054449f author James Bottomley Thu, 15 Dec 2005 17:35:24 -0600 committer James Bottomley Thu, 15 Dec 2005 17:35:24 -0600 Merge by hand (conflicts in scsi_lib.c) This merge is pretty extensive. The conflict is over the new req->retries parameter, so I had to change the prototype to scsi_setup_blk_pc_cmnd() and the usage in sd, sr and st. Signed-off-by: James Bottomley commit 787926b1b2d21d42ca462dc736b77f1a4a30c503 tree 97d5e0dc96f7ccac43052706da15f5346c4b8082 parent defd94b75409b983f94548ea2f52ff5787ddb848 author Kai Makisara Sun, 13 Nov 2005 10:04:44 +0200 committer James Bottomley Thu, 15 Dec 2005 15:17:03 -0800 [SCSI] Fix st oops with new scsi_execute infrastructure Patch from Kai minus last sg_segs clearing which was merged already. > > Was there a oops or lockup or any debug output you can send me? I will try > > some more large request tests with scsi_debug. You also have to compile your > > kernel with SCSI_MAX_PHYS_SEGMENTS == 255 to get larger requests now. > It was an oops in sgl_unmap_user_pages(). The reason is this: /* XXX: just for debug. Remove when PageReserved is removed */ BUG_ON(PageReserved(page)); I was using /dev/zero as input and it triggers this. When I used a file as input, this did not trigger. Should this BUG_ON be removed? In the same log I noticed that there was another ->sg_segs inconsistency. Also, the field ->last_SRpnt was not reset when scsi_execute_async() failed. This caused the error message "Async command already active" later and prevented proper close. While doing the changes, I noticed that the current code (since 2.6.0-test4) does not set the pages dirty when reading with direct i/o. All of these st problems (including the one I sent earlier) are fixed in the patch at the end of this message. These fixes should probably be included already in 2.6.15. After these fixes, the tape seems to operate as expected. Without other changes, the largest block size with sym53c896 SCSI adapter is 384 kB. The maximum number of sg segments is set to 96 and clustering is disabled in the driver. 96 x 4 kB = 384 kB. OK. I enabled clustering and set max_sectors to 10000 in the SCSI HBA driver. Now the block size limit is 5000 kB as expected. Signed-off-by: James Bottomley commit defd94b75409b983f94548ea2f52ff5787ddb848 tree 0138b2dae748de88edaee4da23431f1a9dd347a1 parent 8b05b773b6030de5b1bab1cbb0bf1ff8c34cdbe0 author Mike Christie Mon, 05 Dec 2005 02:37:06 -0600 committer James Bottomley Thu, 15 Dec 2005 15:11:40 -0800 [SCSI] seperate max_sectors from max_hw_sectors - export __blk_put_request and blk_execute_rq_nowait needed for async REQ_BLOCK_PC requests - seperate max_hw_sectors and max_sectors for block/scsi_ioctl.c and SG_IO bio.c helpers per Jens's last comments. Since block/scsi_ioctl.c SG_IO was already testing against max_sectors and SCSI-ml was setting max_sectors and max_hw_sectors to the same value this does not change any scsi SG_IO behavior. It only prepares ll_rw_blk.c, scsi_ioctl.c and bio.c for when SCSI-ml begins to set a valid max_hw_sectors for all LLDs. Today if a LLD does not set it SCSI-ml sets it to a safe default and some LLDs set it to a artificial low value to overcome memory and feedback issues. Note: Since we now cap max_sectors to BLK_DEF_MAX_SECTORS, which is 1024, drivers that used to call blk_queue_max_sectors with a large value of max_sectors will now see the fs requests capped to BLK_DEF_MAX_SECTORS. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit d1646f86a2a05a956adbb163c81a81bd621f055e tree e7b321e9b424682ea08b5214e1c415131e7d215d parent 576d2e4e40315e8140c04be99cd057720d8a3817 author Jack Morgenstein Thu, 15 Dec 2005 14:36:24 -0800 committer Roland Dreier Thu, 15 Dec 2005 14:36:24 -0800 IB/mthca: Fix IB_QP_ACCESS_FLAGS handling. This patch corrects some corner cases in managing the RAE/RRE bits in the mthca qp context. These bits need to be zero if the user requests max_dest_rd_atomic of zero. The bits need to be restored to the value implied by the qp access flags attribute in a previous (or the current) modify-qp command if the dest_rd_atomic variable is changed to non-zero. In the current implementation, the following scenario will not work: RESET-to-INIT set QP access flags to all disabled (zeroes) INIT-to-RTR set max_dest_rd_atomic=10, AND set qp_access_flags = IB_ACCESS_REMOTE_READ | IB_ACCESS_REMOTE_ATOMIC The current code will incorrectly take the access-flags value set in the RESET-to-INIT transition. We can simplify, and correct, this IB_QP_ACCESS_FLAGS handling: it is always safe to set qp access flags in the firmware command if either of IB_QP_MAX_DEST_RD_ATOMIC or IB_QP_ACCESS_FLAGS is set, so let's just set it to the correct value, always. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 576d2e4e40315e8140c04be99cd057720d8a3817 tree 6d4097e260d4612520f81f65c2eeae372c36bfda parent 6c7d2a75b512c64c910b69adf32dbaddb461910b author Jack Morgenstein Thu, 15 Dec 2005 14:20:23 -0800 committer Roland Dreier Thu, 15 Dec 2005 14:20:23 -0800 IB/mthca: Fix SRQ cleanup during QP destroy When cleaning up a CQ for a QP attached to SRQ, need to free an SRQ WQE only if the CQE is a receive completion. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier commit 6c7d2a75b512c64c910b69adf32dbaddb461910b tree a633a543f384de9b6364e17db687f0c75990470b parent 44b5b0303327cfb23f135b95b2fe5436c81ed27c author Michael S. Tsirkin Thu, 15 Dec 2005 13:55:50 -0800 committer Roland Dreier Thu, 15 Dec 2005 13:55:50 -0800 IB/mthca: Fix thinko in mthca_table_find() break only escapes from the innermost loop, and we want to escape both loops and return an answer. Noticed by Ishai Rabinovitch. Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 8b05b773b6030de5b1bab1cbb0bf1ff8c34cdbe0 tree 0d364c50de0ef767846b366307ba69c3c95779b0 parent d6b10348f9397943eb968419a2b7f08895e38472 author Mike Christie Tue, 08 Nov 2005 04:06:44 -0600 committer James Bottomley Wed, 14 Dec 2005 19:16:31 -0800 [SCSI] convert st to use scsi_execute_async convert st to always send scatterlists and kill scsi_request usage. This is the same as last time as it was posted, but with Kai's patches merged and we now pass the bytes value to scsi_execute_async. TODO: - move DIO code to common place or make block layers usable for ULDs. - move buffer allocation code to common place for all ULDs to use. And make buffer allocation code handle all queue limits so we can find out about problems before calling scsi_execute_async. - move indirect (copy_to/from_user) paths commone place or make block layers usable for ULDs. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit d6b10348f9397943eb968419a2b7f08895e38472 tree 9721f49b0cc7a6c4b41d7ef77b11bdfe0d74faea parent aa7b5cd750c766f66a92c9f78ba176bc77512b7e author Mike Christie Tue, 08 Nov 2005 04:06:41 -0600 committer James Bottomley Wed, 14 Dec 2005 19:15:45 -0800 [SCSI] convert sg to scsi_execute_async Convert sg to always send scatterlists, and kill scsi_request usage. TODO: - move DIO code to common place or make block layers usable for ULDs. - move buffer allocation code to common place for all ULDs to use. And make buffer allocation code obey all queue limits so we can find out about problems before calling scsi_execute_async. Currently, sg.c could allocate a buffer that is too large, and send the request to scsi_execute_async. scsi_execute_async will then check it against all the queue limits and return a failure in this case. It would nicer to know about the queue limit violation right away. - move indirect (copy_to/from_user) paths commone place or make block layers usable for ULDs. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit aa7b5cd750c766f66a92c9f78ba176bc77512b7e tree f9825729d1928b7171c09fcec6a4fc45f759e168 parent 0d95716d6a1308c465d8c17ed1a217628936bb0c author Mike Christie Fri, 11 Nov 2005 05:31:41 -0600 committer James Bottomley Wed, 14 Dec 2005 19:09:09 -0800 [SCSI] add kmemcache for scsi_io_context Add kmemcache of scsi io contexts. In the future when we finalize on where these functions will live we can add a mempool for it and do a bioset for out REQ_BLOCK_PC bios. This is needed becuase the dm-multipath handlers will want to use the scsi_exectute* functions for failover and we cannot have them and the bio device allocating from the same mempool. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 0d95716d6a1308c465d8c17ed1a217628936bb0c tree bf304209ec749fee1b7c66e000874bca973d2ec9 parent 17e01f216b611fc46956dcd9063aec4de75991e3 author Mike Christie Fri, 11 Nov 2005 05:31:40 -0600 committer James Bottomley Wed, 14 Dec 2005 19:08:16 -0800 [SCSI] complete the whole command when it is REQ_BLOCK_PC sd does not allow scsi_io_completion to retry commands for SG_IO requests, and it make sense that it should not happen for st SG_IO commands too. If for st we hit the bottom of scsi_io_completion we will probably screw things up pretty bad. This patch returns to the block layer that the whole command completed and relies on the caller to check the request errors field. For initialization commands like in sd, this adds the previous behavior where scsi_io_completion did not process the error. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 17e01f216b611fc46956dcd9063aec4de75991e3 tree e8864490fddd1d67c7911101a1446709ec21720e parent 6e68af666f5336254b5715dca591026b7324499a author Mike Christie Fri, 11 Nov 2005 05:31:37 -0600 committer James Bottomley Wed, 14 Dec 2005 19:04:11 -0800 [SCSI] add retries field to request for REQ_BLOCK_PC use For tape we need to control the retries. This patch adds a retries counter on the request for REQ_BLOCK_PC commands originating from scsi_execute* to use. REQ_BLOCK_PC commands comming from the block layer SG_IO path continue to use the retires set in the ULD init_command. (scsi_execute* does not set the gendisk so we do not execute the init_command in that path). Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 6e68af666f5336254b5715dca591026b7324499a tree 5640209b6e2b75659149460f14531cfecffe2f5d parent 6e39b69e7ea9205c5f80aeac3ef999ab8fb1a4cc author Mike Christie Fri, 11 Nov 2005 05:30:27 -0600 committer James Bottomley Wed, 14 Dec 2005 19:03:35 -0800 [SCSI] Convert SCSI mid-layer to scsi_execute_async Add scsi helpers to create really-large-requests and convert scsi-ml to scsi_execute_async(). Per Jens's previous comments, I placed this function in scsi_lib.c. I made it follow all the queue's limits - I think I did at least :), so I removed the warning on the function header. I think the scsi_execute_* functions should eventually take a request_queue and be placed some place where the dm-multipath hw_handler can use them if that failover code is going to stay in the kernel. That conversion patch will be sent in another mail though. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 6e39b69e7ea9205c5f80aeac3ef999ab8fb1a4cc tree abf6bf248970a249cc15e0c3df75ae42833be084 parent 9e1fe9314cb5649b2dc73690f2cd8d0068e633d9 author Mike Christie Fri, 11 Nov 2005 05:30:24 -0600 committer James Bottomley Wed, 14 Dec 2005 19:00:50 -0800 [SCSI] export blk layer functions needed for blk_execute_rq_nowait To send async requests we need these two functions exported. Signed-off-by: Mike Christie Signed-off-by: James Bottomley commit 9e1fe9314cb5649b2dc73690f2cd8d0068e633d9 tree 14b2fb95a2f58d618c3dcb80b916958aebfeba59 parent e7a1ca1d27e20ea2c0ba161c57e3c1d4112b60f7 author Jesper Juhl Wed, 14 Dec 2005 19:27:20 +0100 committer James Bottomley Wed, 14 Dec 2005 18:52:45 -0800 [SCSI] handle scsi_add_host failure for aic7xxx and fix compiler warning Add scsi_add_host() failure handling for aic7xxx Also silence a compiler warning : drivers/scsi/aic7xxx/aic7xxx_osm.c: In function `ahc_linux_register_host': drivers/scsi/aic7xxx/aic7xxx_osm.c:1100: warning: ignoring return value of `scsi_add_host', declared with attribute warn_unused_result Signed-off-by: Jesper Juhl Signed-off-by: James Bottomley commit e7a1ca1d27e20ea2c0ba161c57e3c1d4112b60f7 tree 69a919a9d6d07b1ebb9dbb836b3d20bd78afb52e parent 829b84675edbe05f11c289946216da4f5c6b8e94 author Jesper Juhl Wed, 14 Dec 2005 19:27:28 +0100 committer James Bottomley Wed, 14 Dec 2005 18:52:24 -0800 [SCSI] handle scsi_add_host failure for aic79xx and fix compiler warning Add scsi_add_host() failure handling for aic79xx Also silence a compiler warning : drivers/scsi/aic7xxx/aic79xx_osm.c: In function `ahd_linux_register_host': drivers/scsi/aic7xxx/aic79xx_osm.c:1099: warning: ignoring return value of `scsi_add_host', declared with attribute warn_unused_result Signed-off-by: Jesper Juhl Signed-off-by: James Bottomley commit c6329f4df2263ab5a40601a5236639e61b682f51 tree 1ae9f8a5d65c8fcb87bf13c82ff09df641c3d418 parent 2bd0fa3b62e8565a80f9535e0f2bd51bba46213f parent 65ab592dc5b34caebabfe1340e7c18f52a785079 author Jeff Garzik Tue, 13 Dec 2005 22:20:12 -0500 committer Jeff Garzik Tue, 13 Dec 2005 22:20:12 -0500 Merge branch 'master' commit 8b132f4ee7304fec4fa27dec67879bc0172e916a tree b5e5c9b347afef51007394ba1b01e434074e299a parent d22a8ccff761c81f2930bd90fa5712e51a0e9a62 parent 65ab592dc5b34caebabfe1340e7c18f52a785079 author Jeff Garzik Tue, 13 Dec 2005 22:15:52 -0500 committer Jeff Garzik Tue, 13 Dec 2005 22:15:52 -0500 Merge branch 'master' commit 829b84675edbe05f11c289946216da4f5c6b8e94 tree 28ca0952c330ea3fc5dcb95603568d20aae56687 parent 38d76df2f5483478dee803cb6e39da5e506a6643 author Matthew Wilcox Tue, 13 Dec 2005 10:29:31 -0700 committer James Bottomley Tue, 13 Dec 2005 18:54:40 -0700 [SCSI] Make scsi_transport_spi.h includable by itself Add forward declarations to allow scsi_transport_spi.h to be compiled by itself. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 38d76df2f5483478dee803cb6e39da5e506a6643 tree db3a82c6de5cd5328d62df9803e40476bff71fda parent 4e06cbd42c41f9e49fcfe5ee45c749eefaae9cf4 author Alan Stern Fri, 09 Dec 2005 11:34:45 -0500 committer James Bottomley Tue, 13 Dec 2005 18:49:18 -0700 [SCSI] sd: Always do write-protect check Since nobody has offered an explanation for why the sd driver makes a write-protect check only for devices with removable media, I'm submitting this patch to get rid of the removable-media test. Signed-off-by: Alan Stern Signed-off-by: James Bottomley commit 4e06cbd42c41f9e49fcfe5ee45c749eefaae9cf4 tree d905ad6cab9b16818885230ad45792efb11f2a32 parent f61c1c41b6b959d08d87eee876406bdbcac77b7c author Moore, Eric Dean Thu, 01 Dec 2005 16:51:02 -0700 committer James Bottomley Tue, 13 Dec 2005 18:44:15 -0700 [SCSI] pci_ids.h: add subclass code for SAS Controllers Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit f61c1c41b6b959d08d87eee876406bdbcac77b7c tree 37cbe0e09a99c5ca7bd7b498d6a02b982f4812b0 parent c7c82987b4844f555d309ccbd42abe95d46822ff author Moore, Eric Dean Wed, 16 Nov 2005 18:54:27 -0700 committer James Bottomley Tue, 13 Dec 2005 18:41:48 -0700 [SCSI] mptfusion - bump version Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit c7c82987b4844f555d309ccbd42abe95d46822ff tree 55eb2c02fa1ff25548b1cc673c47aaa19e380214 parent f2ea8671a8376e09cf759aa8cb3de8b8d3bced9e author Moore, Eric Dean Wed, 16 Nov 2005 18:54:25 -0700 committer James Bottomley Tue, 13 Dec 2005 18:41:15 -0700 [SCSI] mptfusion - mapping fixs required support for transport layers. This utilizes the hostdata area that is hung off of scsi_target and scsi_device for saving unique firmware mapping. This will be required for supporting new Fibre and SPI transport support. This also fixs problems in error handling error code for SAS controllers, in which the incorrect mapping was passed to the firmware. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit f2ea8671a8376e09cf759aa8cb3de8b8d3bced9e tree 82181e022ccecfa0f1b8b3cef673630df917209d parent a9b2937a1eab2939d0eed3830ead88664ed7445d author Moore, Eric Dean Wed, 16 Nov 2005 18:54:23 -0700 committer James Bottomley Tue, 13 Dec 2005 18:40:52 -0700 [SCSI] mptfusion - prep for removing domain validation This moves some functions around from within the #define MPTSCSIH_ENABLE_DOMAIN_VALIDATION area, in preperation for generic domain validation. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit a9b2937a1eab2939d0eed3830ead88664ed7445d tree bde1ec40bc7bbe56ab22f585699dd28b2009cd0f parent 7acec1e7556a861416bb6b10f3e3cbb6e82fc01d author Moore, Eric Dean Wed, 16 Nov 2005 18:54:20 -0700 committer James Bottomley Tue, 13 Dec 2005 18:40:08 -0700 [SCSI] mptfusion - bus_type, change SCSI to SPI This changes to SPI for the bus_type enumeration. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 7acec1e7556a861416bb6b10f3e3cbb6e82fc01d tree 3ca770f11ae152cd17af2a2032f2b13d0370d114 parent f78496da6a85f4b5f4532d7bf85b05fa655146a8 author Moore, Eric Dean Wed, 16 Nov 2005 18:54:17 -0700 committer James Bottomley Tue, 13 Dec 2005 18:38:44 -0700 [SCSI] mptfusion - cleaning up xxx_probe error handling This cleans the returning failure conditions of the mptsas/mptfc/mptspi probe routines. Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit f78496da6a85f4b5f4532d7bf85b05fa655146a8 tree 2c23ba5607a0f445a0a0af6e1477264436fe9809 parent 1cb25a27d0a3f8296e67e5cc915048db10910d4f author Moore, Eric Dean Wed, 16 Nov 2005 18:54:14 -0700 committer James Bottomley Tue, 13 Dec 2005 18:37:42 -0700 [SCSI] mptfusion - adding = THIS_MODULE Signed-off-by: Eric Moore Signed-off-by: James Bottomley commit 1cb25a27d0a3f8296e67e5cc915048db10910d4f tree 3aae0f701a4cf392880511a58acc6796c00a0030 parent fefcb2b677fbfce894133e59a34395f8988d4610 author James.Smart@Emulex.Com Mon, 28 Nov 2005 11:42:49 -0500 committer James Bottomley Tue, 13 Dec 2005 18:36:15 -0700 [SCSI] lpfc 8.1.1 : Change version number to 8.1.1 Signed-off-by: James Smart Signed-off-by: James Bottomley commit fefcb2b677fbfce894133e59a34395f8988d4610 tree 59115b4389dc04bfcd2f011360aa98597943c3ad parent 445cf4f4d2aa28f6ddd1d7a5f0986341ad61ec91 author James.Smart@Emulex.Com Mon, 28 Nov 2005 15:08:56 -0500 committer James Bottomley Tue, 13 Dec 2005 18:35:50 -0700 [SCSI] lpfc 8.1.1 : kill use of pci_read_config_xxx Signed-off-by: James Bottomley commit 445cf4f4d2aa28f6ddd1d7a5f0986341ad61ec91 tree 4a26741b03835b44e266ce4799f4e35cc3800e6f parent 875fbdfe9b1b4c8f12622a8d8d81428ff0984875 author James.Smart@Emulex.Com Mon, 28 Nov 2005 11:42:38 -0500 committer James Bottomley Tue, 13 Dec 2005 18:35:09 -0700 [SCSI] lpfc 8.1.1 : Added code to adjust lun queue depth to avoid target overloading Signed-off-by: James Smart Signed-off-by: James Bottomley commit 875fbdfe9b1b4c8f12622a8d8d81428ff0984875 tree 63c787cb9a7d4a92eaedcc9f8a89a00d5d8f6603 parent 5cc36b3cd0e3610ad7c7e2514160998276798fc0 author James.Smart@Emulex.Com Tue, 29 Nov 2005 16:32:13 -0500 committer James Bottomley Tue, 13 Dec 2005 18:34:14 -0700 [SCSI] lpfc 8.1.1 : Add polled-mode support - Add functionality to run in polled mode only. Includes run time attribute to enable mode. - Enable runtime writable hba settings for coallescing and delay parameters Customers have requested a mode in the driver to run strictly polled. This is generally to support an environment where the server is extremely loaded and is looking to reclaim some cpu cycles from adapter interrupt handling. This patch adds a new "poll" attribute, and the following behavior: if value is 0 (default): The driver uses the normal method for i/o completion. It uses the firmware feature of interrupt coalesing. The firmware allows a minimum number of i/o completions before an interrupt, or a maximum time delay between interrupts. By default, the driver sets these to no delay (disabled) or 1 i/o - meaning coalescing is disabled. Attributes were provided to change the coalescing values, but it was a module-load time only and global across all adapters. This patch allows them to be writable on a per-adapter basis. if value is 1 : Interrupts are left enabled, expecting that the user has tuned the interrupt coalescing values. When this setting is enabled, the driver will attempt to service completed i/o whenever new i/o is submitted to the adapter. If the coalescing values are large, and the i/o generation rate steady, an interrupt will be avoided by servicing completed i/o prior to the coalescing thresholds kicking in. However, if the i/o completion load is high enough or i/o generation slow, the coalescion values will ensure that completed i/o is serviced in a timely fashion. if value is 3 : Turns off FCP i/o interrupts altogether. The coalescing values now have no effect. A new attribute "poll_tmo" (default 10ms) exists to set the polling interval for i/o completion. When this setting is enabled, the driver will attempt to service completed i/o and restart the interval timer whenever new i/o is submitted. This behavior allows for servicing of completed i/o sooner than the interval timer, but ensures that if no i/o is being issued, then the interval timer will kick in to service the outstanding i/o. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 5cc36b3cd0e3610ad7c7e2514160998276798fc0 tree ae9e107f3b4eea99df1598c15ba0a0f306082ed8 parent e4adb20406385d1cc8fdb15e92ed7ac3d0ae41f6 author James.Smart@Emulex.Com Mon, 28 Nov 2005 11:42:19 -0500 committer James Bottomley Tue, 13 Dec 2005 18:27:57 -0700 [SCSI] lpfc 8.1.1 : Bring model descriptions in sync with Emulex standard generic names Signed-off-by: James Smart Signed-off-by: James Bottomley commit e4adb20406385d1cc8fdb15e92ed7ac3d0ae41f6 tree f5fea630ac56209181a041d2f3c276f81d86834e parent 6175c02a0b12f92c03b56c756c4f1e131ae1456c author James.Smart@Emulex.Com Mon, 28 Nov 2005 11:42:12 -0500 committer James Bottomley Tue, 13 Dec 2005 18:27:22 -0700 [SCSI] lpfc 8.1.1 : Add support for more members of the Light Pulse 11xxx (4Gb) family Signed-off-by: James Smart Signed-off-by: James Bottomley commit 6175c02a0b12f92c03b56c756c4f1e131ae1456c tree cee1a84d2c98d52456ceffc3d5d64eadc024266b parent 63c59c3b8ff444b771a245f59935c0202ece963b author James.Smart@Emulex.Com Mon, 28 Nov 2005 11:42:05 -0500 committer James Bottomley Tue, 13 Dec 2005 18:26:47 -0700 [SCSI] lpfc 8.1.1 : Fixes to error handlers - Release task management command before counting outstanding commands. TMF was being erroneously counted as an active outstanding command. - Serialize EH calls and block requests when EH function is running. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 63c59c3b8ff444b771a245f59935c0202ece963b tree eccb686ade63b3c8997f6dd797caca81a2740608 parent 23dc04f1ec0d2f8fdda82ad1f9aa87b6ed74cd4a author James.Smart@Emulex.Com Mon, 28 Nov 2005 11:41:53 -0500 committer James Bottomley Tue, 13 Dec 2005 18:20:22 -0700 [SCSI] lpfc 8.1.1 : Remove locking wrappers around error handlers Remove locking wrappers around error handlers. Wrappers were added in early 2.6.13 api change Signed-off-by: James Smart Signed-off-by: James Bottomley commit 23dc04f1ec0d2f8fdda82ad1f9aa87b6ed74cd4a tree 969cf15f4be04be9cc3f3b20d8faf166f0261ffd parent 6281bfe0002acd7765cb4afe0304c36962ad6b15 author James.Smart@Emulex.Com Mon, 28 Nov 2005 11:41:44 -0500 committer James Bottomley Tue, 13 Dec 2005 18:18:47 -0700 [SCSI] lpfc 8.1.1 : Adjust use of scsi_block_requests and interaction w/ FC transport - Remove unnecessary scsi_block_requests calls on rport deletes. This was deadlocking the sdev removals as they wanted to flush commands. - No longer block requests when adding the remote port (to block discovery). Instead, register, then change port role. Maps to Qlogic behavior, and closer to the register-node-upon-first-ELS behavior. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 6281bfe0002acd7765cb4afe0304c36962ad6b15 tree f67190c5ed4032dc501a07b5df233c2071892d67 parent 2fb70f79936e7180e8b0287a4053b8ba89182717 author James.Smart@Emulex.Com Mon, 28 Nov 2005 11:41:33 -0500 committer James Bottomley Tue, 13 Dec 2005 18:16:01 -0700 [SCSI] lpfc 8.1.1 : Fixes for short cable pulls Cause: Link bounces were causing discovery ELS's to be killed. Driver was not properly flushing ELS commands upon the subsequent link bounces. Thus, processing of ELS post link bounce erroneously assumed discovery failure and device loss. Signed-off-by: James Smart Signed-off-by: James Bottomley commit 2fb70f79936e7180e8b0287a4053b8ba89182717 tree a19435077babd8612ef2709d2d00f53bb9e26912 parent 1de933f35b17622f977eff1630eb1f2c92e9450c author James.Smart@Emulex.Com Mon, 28 Nov 2005 11:41:24 -0500 committer James Bottomley Tue, 13 Dec 2005 18:15:40 -0700 [SCSI] lpfc 8.1.1 : Correct some 8bit to 16bit field conversions/comparisons Signed-off-by: James Smart Signed-off-by: James Bottomley commit 1de933f35b17622f977eff1630eb1f2c92e9450c tree 6524603eee767c6be140e1647b6fed0a44f15267 parent 0a21ef1e603096a8f57fcd7fa0b8b53e7147d3b9 author James.Smart@Emulex.Com Mon, 28 Nov 2005 11:41:15 -0500 committer James Bottomley Tue, 13 Dec 2005 18:14:08 -0700 [SCSI] lpfc 8.1.1: Miscellaneous Cleanups Miscellaneous Cleanups: - Remove ProgType READ_REV mailbox command value check in lpfc_config_port_prep. - Convert simple printk to an lpfc_printf_log in queuecommand. - Modify lpfc_abort_handler message 0749 to display more accurate text and data. - Minor style cleanup: fix 3 long lines in lpfc_hw.h Signed-off-by: James Smart Signed-off-by: James Bottomley commit 0a21ef1e603096a8f57fcd7fa0b8b53e7147d3b9 tree d0d4deb05fbfdc8c36bf606b52f81203d7e9e26d parent 7f23e146a122966bd58e5da9c16a0e12385f09fc author James Bottomley Thu, 01 Dec 2005 12:51:50 -0600 committer James Bottomley Tue, 13 Dec 2005 18:12:07 -0700 [SCSI] qla2xxx: fix compile error caused by pci_dev.owner move Signed-off-by: James Bottomley commit 7f23e146a122966bd58e5da9c16a0e12385f09fc tree 0d478b2724611e794f8f32d732775018c586fc6d parent 8a47cd340b4a299087f926ff2780d1eb08513f04 author James Bottomley Thu, 01 Dec 2005 12:50:13 -0600 committer James Bottomley Tue, 13 Dec 2005 18:12:05 -0700 [SCSI] correct some dropped const compiler warnings Make the vendor, model and rev fields in scsi_device pointers to const and update a few prototypes of functions using them. Signed-off-by: James Bottomley commit 8a47cd340b4a299087f926ff2780d1eb08513f04 tree fab368465f0e187c0f3708385a4618eb115c76e0 parent 4d841d6bd94d55642f8dbb11d6b672b3b50ff82e author Mike Christie Wed, 30 Nov 2005 02:27:19 -0600 committer James Bottomley Tue, 13 Dec 2005 18:12:03 -0700 [SCSI] iscsi: check header digests for mgmt tasks From Wang Zhenyu: check header digest for cmd and mgmt tasks Signed-off-by: Wang Zhenyu Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit 4d841d6bd94d55642f8dbb11d6b672b3b50ff82e tree 30aedcc8f39ca52f0cb7a942778e5517d6d53070 parent 9e3961ba2be51a88c6223143568c80e0616d93ce author Mike Christie Tue, 29 Nov 2005 23:13:01 -0600 committer James Bottomley Tue, 13 Dec 2005 18:12:02 -0700 [SCSI] iscsi: update version Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit 9e3961ba2be51a88c6223143568c80e0616d93ce tree b811c3ab70d14997718596c9ec21a08561b34d5f parent f6cfba1d21e9e4afd80e2274aa4df3dc1bd0aab7 author Mike Christie Tue, 29 Nov 2005 23:12:59 -0600 committer James Bottomley Tue, 13 Dec 2005 18:12:00 -0700 [SCSI] iscsi: lower queue depth From Wang Zhenyu: High queue depth was a problem for some targets so make queue_depth adjustable From Mike Christie Make default queue_depth a little lower Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit f6cfba1d21e9e4afd80e2274aa4df3dc1bd0aab7 tree d5c91ea5b5ec80fff9da3a7e600839860b9d018d parent 733bb6a70cb351786f3c2290ab22f71b612e6893 author Mike Christie Tue, 29 Nov 2005 23:12:57 -0600 committer James Bottomley Tue, 13 Dec 2005 18:11:58 -0700 [SCSI] iscsi: data digest calculation fix From Wang Zhenyu: data digest fix (the bug caused data corruption w/Wasabi StorageBuilder target) Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit 733bb6a70cb351786f3c2290ab22f71b612e6893 tree 3cc08d202d715d3c5c0fe1c8225c8b3558eba47e parent e6273993dbcb8d805dd868e2128c3503a3bb1964 author Mike Christie Tue, 29 Nov 2005 23:12:54 -0600 committer James Bottomley Tue, 13 Dec 2005 18:11:56 -0700 [SCSI] iscsi: iscsi response fix from Wang Zhenyu: Must check SCSI CMD and R2T response according to the spec Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit e6273993dbcb8d805dd868e2128c3503a3bb1964 tree bec5bdc35e9824a2898333e160786d7110f645c5 parent 0d2f16559a9015c4daa8babfc443bf2b8740fbd9 author Mike Christie Tue, 29 Nov 2005 23:12:49 -0600 committer James Bottomley Tue, 13 Dec 2005 18:11:55 -0700 [SCSI] iscsi: redirect fix From tomof@acm.org: There is one more issue about Equallogic systems. They send re-direction info with FIN. I think that the kernel module needs to let iscsid to read data from the socket before killing it. Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit 0d2f16559a9015c4daa8babfc443bf2b8740fbd9 tree 20aea5901dd616566d54fbd1d7c40a9e8193a555 parent ad94c9340a76db187166f2342ba0ff568dc7801f author Mike Christie Tue, 29 Nov 2005 23:12:46 -0600 committer James Bottomley Tue, 13 Dec 2005 18:11:53 -0700 [SCSI] iscsi: opcode check fix Must check only valid opcode bits. Signed-off-by: Mike Christie Signed-off-by: Alex Aizman Signed-off-by: Dmitry Yusupov Signed-off-by: James Bottomley commit ad94c9340a76db187166f2342ba0ff568dc7801f tree 1b134d54c861632a5b89dc5169359d09bfd0da5e parent 66e8d1cc64e95be78e6138cc88635f7e3108ef58 author Matthew Wilcox Tue, 29 Nov 2005 23:08:48 -0500 committer James Bottomley Tue, 13 Dec 2005 18:11:50 -0700 [SCSI] sym2: Version 2.2.2 Update version number to 2.2.2 Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 66e8d1cc64e95be78e6138cc88635f7e3108ef58 tree a95be81fadaa90f90a7425f3f83ca7588598290a parent b37df48923b76155de2a728e1155ed263dba5f53 author Matthew Wilcox Tue, 29 Nov 2005 23:08:46 -0500 committer James Bottomley Tue, 13 Dec 2005 18:11:47 -0700 [SCSI] sym2: Report disabled devices and LUNs more attractively Rather than print a list of targets at driver init time, print each disabled target as we attempt to scan it. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit b37df48923b76155de2a728e1155ed263dba5f53 tree d66ce7b56be9df12a7c64521e931dc4925bf800f parent 33333bacf523bb4bb903058fec6041a5952c93c6 author Matthew Wilcox Tue, 29 Nov 2005 23:08:44 -0500 committer James Bottomley Tue, 13 Dec 2005 18:11:45 -0700 [SCSI] sym2: Allow NVRAM settings to limit speed and width The NVRAM for both Tekram and Symbios boards allows the user to set the speed and width for individual targets. I took that code out in March 2004 when we introduced Domain Validation, but it seems there's still a legitimate need for it in some configurations. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 33333bacf523bb4bb903058fec6041a5952c93c6 tree 4be2b7dbc7260cd090565ea1f6801f2b5cec7647 parent 1e8eb21ea7b5c318d881eab878f3e545e55fa273 author Matthew Wilcox Tue, 29 Nov 2005 23:08:42 -0500 committer James Bottomley Tue, 13 Dec 2005 18:11:43 -0700 [SCSI] sym2: Use scsi_print_msg sym_show_msg was almost a duplicate of scsi_print_msg, except not as featureful. So use the common code instead. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 1e8eb21ea7b5c318d881eab878f3e545e55fa273 tree 1b71ccc72e260c10929ac09432e9a4c0d657113d parent 44f30b0f59d628eb6f57cfa9d8ab06da670e5306 author Matthew Wilcox Tue, 29 Nov 2005 23:08:36 -0500 committer James Bottomley Tue, 13 Dec 2005 18:11:41 -0700 [SCSI] sym2: Use DMA_40BIT_MASK constant Now that this constant has been added to dma-mapping.h, we don't need our own definition Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 44f30b0f59d628eb6f57cfa9d8ab06da670e5306 tree 2d272ce9c67c8b18685eb3828f10734b6a372f7d parent 84e203a279d3de1c8a41a73ab45e55a89bc19345 author Matthew Wilcox Tue, 29 Nov 2005 23:08:33 -0500 committer James Bottomley Tue, 13 Dec 2005 18:11:39 -0700 [SCSI] sym2: Remove code to handle DMA_BIDIRECTION requests The upper layer doesn't send these down since 2.4.x (or 2.6 in practice), so no need to handle it. Inline sym_setup_data_pointers into its only caller so we can fail gracefully in the case we'd get one neverless. Signed-off-by: Christoph Hellwig Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 84e203a279d3de1c8a41a73ab45e55a89bc19345 tree 3015ec3496d9e8ed0dceb5beea5ec28ede6f1a0d parent 760c9de589175f5285668d17825c259aec08370c author Matthew Wilcox Tue, 29 Nov 2005 23:08:31 -0500 committer James Bottomley Tue, 13 Dec 2005 18:11:33 -0700 [SCSI] sym2: Manage sym_lcb properly Allocate the lcb in slave_alloc and free it in slave_destroy. This allows us to remove all the code that checks to see if it's already been allocated. From: Christoph Hellwig Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 760c9de589175f5285668d17825c259aec08370c tree c73350cda851f702b29896b721678936d31590c7 parent 47be1e0ee1f484c8127f306e06ed3be91add07ee author Matthew Wilcox Tue, 29 Nov 2005 23:08:29 -0500 committer James Bottomley Tue, 13 Dec 2005 18:11:29 -0700 [SCSI] sym2: Remove last vestiges of sym_sniff_inquiry The SYM_OPT_SNIFF_INQUIRY define is never set any more, and the sym_sniff_inquiry() function doesn't exist From: Christoph Hellwig Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 47be1e0ee1f484c8127f306e06ed3be91add07ee tree 176ec61deec91fffd77fb5a7f1f541637d376a44 parent dc25fcfbba513f8de8d1531b47fc9daa33d84f5a author Matthew Wilcox Tue, 29 Nov 2005 23:08:27 -0500 committer James Bottomley Tue, 13 Dec 2005 18:11:27 -0700 [SCSI] sym2: Remove FreeBSD ifdefs Remove FreeBSD ifdefs from sym2 driver Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit dc25fcfbba513f8de8d1531b47fc9daa33d84f5a tree e3abe8590a3305e3872776d1be9d116587f74d26 parent c6ce15d7cdb3f6cb3ff442ac01eb6c5f0fe321af author Matthew Wilcox Thu, 10 Nov 2005 07:45:55 -0700 committer James Bottomley Tue, 13 Dec 2005 18:11:25 -0700 [SCSI] Mention scsi_scan_host() in scsi_mid_low_api.txt Update to mention scsi_scan_host() Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit c6ce15d7cdb3f6cb3ff442ac01eb6c5f0fe321af tree 018e9310107a58fc7b6a883a35deb9b698ea9171 parent 331e34768657ead5a5b169337351e045305cafcb author Andrew Vasquez Wed, 09 Nov 2005 15:49:33 -0800 committer James Bottomley Tue, 13 Dec 2005 18:11:23 -0700 [SCSI] qla2xxx: Resync with latest released ISP24xx firmware -- 4.00.16. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 331e34768657ead5a5b169337351e045305cafcb tree 952cb2dc4cb8ba3966d2de18e9830f3ca99f1464 parent 5433383ef33ed40c9c8a86a4355da344234af2a5 author Andrew Vasquez Wed, 09 Nov 2005 15:49:19 -0800 committer James Bottomley Tue, 13 Dec 2005 18:11:19 -0700 [SCSI] qla2xxx: Add support for embedded ISP24xx firmware. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 5433383ef33ed40c9c8a86a4355da344234af2a5 tree 8d82c620fe6faadfa805fb465d5beb67946133c7 parent 26a68019c86e1d1782984a7a5babff762cde1501 author Andrew Vasquez Wed, 09 Nov 2005 15:49:04 -0800 committer James Bottomley Tue, 13 Dec 2005 18:11:16 -0700 [SCSI] qla2xxx: Add full firmware(-request) hotplug support for all ISPs. Transition driver to exclusively use the request_firmware() interfaces to retrieve firmware-blobs from user-space. This will be the default behaviour going forward until the embedded firmware-binary images are removed from the upstream kernel. Upon request, the driver caches the firmware image until the driver is unloaded. NOTE: The option is present to allow the user to continue to use the firmware-loader modules, but, should be considered deprecated. Signed-off-by: Andrew Vasquez Rejections fixed up and Signed-off-by: James Bottomley commit 26a68019c86e1d1782984a7a5babff762cde1501 tree 7c08ae2870d2712d836bc226d0ca0f5e57de4e69 parent 493ff4ee7f93a2b53ed60197e05aa145eec8f8f5 author Jens Axboe Tue, 29 Nov 2005 21:03:34 +0100 committer James Bottomley Tue, 13 Dec 2005 18:11:11 -0700 [SCSI] scsi_lib: stricter checks for clearing use_10_for_rw Check the asc and ascq for being "invalid command opcode" as well. Signed-off-by: James Bottomley commit 493ff4ee7f93a2b53ed60197e05aa145eec8f8f5 tree 3e2aa2ab54ad6b3ff56f8c7c967827c003e8e60f parent 0ad78200baf1f85a21e6b26c225717ad80980d8f author Matthew Wilcox Thu, 17 Nov 2005 11:13:43 -0700 committer James Bottomley Tue, 13 Dec 2005 18:11:09 -0700 [SCSI] Delete trailing full stop None of the other domain validation messages have a trailing full stop, so I don't see why this one should. Signed-off-by: Matthew Wilcox Signed-off-by: James Bottomley commit 0ad78200baf1f85a21e6b26c225717ad80980d8f tree 7f5ffcd60c5bb1dd9a2ef943b2b0950bd5ac5b55 parent ce155ccecd4094e7b5e68058d26db691713240fc author Arjan van de Ven Mon, 28 Nov 2005 16:22:25 +0100 committer James Bottomley Tue, 13 Dec 2005 18:11:01 -0700 [SCSI] Mark some core scsi data structures const patch below marks a few scsi core datastructures as const, so that they end up in the .rodata section and don't cacheline share with things that get dirtied Signed-off-by: Arjan van de Ven Signed-off-by: James Bottomley commit ce155ccecd4094e7b5e68058d26db691713240fc tree 1bc690d3f0555b05c3be587267c01135fa829563 parent ed7e8ef7f12f5c3c8bbb85eeb0a1ded91c7c5dbf author brking@us.ibm.com Thu, 17 Nov 2005 09:35:12 -0600 committer James Bottomley Tue, 13 Dec 2005 18:10:58 -0700 [SCSI] ipr: Driver initialization fix for kexec/kdump When kexec booting a kernel when the previous kernel did not call ipr's shutdown method, the ipr adapter does not get properly initialized, which can result in the ipr adapter completing commands issued by the previous kernel. Fix ipr to detect this scenario by reading the adapter's interrupt mask register and the microprocessor interrupt register. If the interrupt mask register indicates that interrupts are enabled or the reset alert bit is set when the card is probed, this means the card is in an unknown state and we hard reset the card. Signed-off-by: Brian King Signed-off-by: James Bottomley commit ed7e8ef7f12f5c3c8bbb85eeb0a1ded91c7c5dbf tree 2093784bbbc3ff9ebb3c68b43efda7b13228c99a parent 3492b328834319c9503c0a34c50fb3f009556443 author Ju, Seokmann Thu, 17 Nov 2005 13:17:25 -0500 committer James Bottomley Tue, 13 Dec 2005 18:10:56 -0700 [SCSI] megaraid_{mbox,mm} : remove PCI Id overlaping between megaraid_legacy and megaraid_{mbox,mm} Signed-off-by: James Bottomley commit 3492b328834319c9503c0a34c50fb3f009556443 tree f82d553f6508ea3bbe73e4ecf88263f337227a16 parent be0d9b6c7aeaad1683059c00131cabd4c894c17c author Ju, Seokmann Thu, 17 Nov 2005 13:13:31 -0500 committer James Bottomley Tue, 13 Dec 2005 18:10:52 -0700 [SCSI] megaraid_legacy: removed PCI ID overlap from the driv er This patch fixes - PCI ID overlap issue - node name changed to 'megaraid_legacy' I hope this patch addresses concerns brought by Daniel Drake. Signed-off by: Seokmann Ju Signed-off-by: James Bottomley commit d22a8ccff761c81f2930bd90fa5712e51a0e9a62 tree 52a92cf1b9a65e4440276706c4b4e879d4008a87 parent 783e3385a134305d49d7b431df6e591265e7ec14 parent 98684a9d91bceff829b6dc7adf0f662d59cfa6e3 author Jeff Garzik Tue, 13 Dec 2005 11:36:18 -0500 committer Jeff Garzik Tue, 13 Dec 2005 11:36:18 -0500 Merge branch 'upstream-fixes' commit eaceec7f6cc5223d0f146086884d67746b8aa81d tree 7215bd4c40637e10be4595c141dc5920bfeb8cd4 parent cf8d2c0965b891a5efce8c3a9a07a522e91ddba2 author Stefan Richter Tue, 13 Dec 2005 11:05:05 -0500 committer Jody McIntyre Tue, 13 Dec 2005 11:05:05 -0500 sbp2: remove duplicate code from sbp2_start_device() Use sbp2_remove_device() to free FIFO and ORB DMAs in a failure case. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit cf8d2c0965b891a5efce8c3a9a07a522e91ddba2 tree 76786d162a6ad96f6f788c315223c47a5e10adee parent 209171a17a908605e516d11436371337a5d87f06 author Stefan Richter Tue, 13 Dec 2005 11:05:03 -0500 committer Jody McIntyre Tue, 13 Dec 2005 11:05:03 -0500 sbp2: split sbp2_create_command_orb() for better readability sbp2_create_command_orb() code cleanup: - add two helper functions to reduce nesting depth - omit the return value which was always ignored - remove unnecessary declaration from sb2.h Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 209171a17a908605e516d11436371337a5d87f06 tree d17bfc9af8faee2e9bff188050ec42a6b0d07a09 parent 25d3f1622fdbc73db3f6860961b5fb3035a39f32 author Stefan Richter Tue, 13 Dec 2005 11:05:00 -0500 committer Jody McIntyre Tue, 13 Dec 2005 11:05:00 -0500 ohci1394: log number of implemented isochronous contexts Print the number of IR and IT contexts which a hardware implements as an informational log message when ohci1394 initializes. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 2bd0fa3b62e8565a80f9535e0f2bd51bba46213f tree 9364e413a6500cbe47703e50ce6f13e7a2dab756 parent e508a391a0705f770ef1c4f1c304678b0e8e4fe8 author Jesse Barnes Tue, 13 Dec 2005 03:05:03 -0500 committer Jeff Garzik Tue, 13 Dec 2005 03:05:03 -0500 [PATCH] add boot option to control Intel SATA/PATA combined mode Combined mode sucks. Especially when both libata and the legacy IDE drivers try to drive ports on the same device, since that makes DMA rather difficult. This patch addresses the problem by allowing the user to control which driver binds to the ports in a combined mode configuration. In many cases, they'll probably want the libata driver to control both ports since it can use DMA for talking with ATAPI devices (when libata.atapi_enabled=1 of course). It also allows the user to get old school behavior by letting the legacy IDE driver bind to both ports. But neither is forced, the patch doesn't change current behavior unless one of combined_mode=ide or combined_mode=libata is passed on the boot line. Either of those options may require you to access your devices via different device nodes (/dev/hd* in the ide case and /dev/sd* in the libata case), though of course if you have udev installed nicely you may not notice anything. :) Let me know if the documentation is too cryptic, I'd be happy to expand on it if necessary. I think most users will want to boot with 'combined_mode=libata' and add 'options libata atapi_enabled=1' to their modules.conf to get good DVD playing and disk behavior (haven't tested CD or DVD writing though). I'd much rather things behave sanely by default (i.e. DMA for devices on both ports), but apparently that's difficult given the various chip bugs and hardware configs out there (not to mention that people's drives may suddenly change from /dev/hdc to /dev/sdb), so this boot option may be the correct long term fix. Signed-off-by: Jesse Barnes Signed-off-by: Jeff Garzik commit e508a391a0705f770ef1c4f1c304678b0e8e4fe8 tree 5ba0357fb21e08e52b8e904e88ef692dc78855fb parent d00d598ffbba974d9045ba8b95296655fe2162c5 parent 50630195bbdfe1ca775d94cd68a5f18bc1b717e4 author Jeff Garzik Tue, 13 Dec 2005 02:30:04 -0500 committer Jeff Garzik Tue, 13 Dec 2005 02:30:04 -0500 Merge branch 'upstream-fixes' commit d00d598ffbba974d9045ba8b95296655fe2162c5 tree 93bdc3bf4ec728d554c54e3f1f51cb5597f53a31 parent b5632303401c231bf270ef36f1013e52caf4caf9 parent be0d9b6c7aeaad1683059c00131cabd4c894c17c author Jeff Garzik Tue, 13 Dec 2005 01:43:33 -0500 committer Jeff Garzik Tue, 13 Dec 2005 01:43:33 -0500 Merge branch 'master' commit b5632303401c231bf270ef36f1013e52caf4caf9 tree 671b2a1d0d32d30d935535440ce4e57fdff3a709 parent 82033adf0a4b26eb0c0c90e224848431e2a59bc6 author Tejun Heo Tue, 13 Dec 2005 14:51:25 +0900 committer Jeff Garzik Tue, 13 Dec 2005 01:34:46 -0500 [PATCH] libata: remove unused qc->waiting There is no user of qc->waiting left after ata_exec_internal() changes. Kill the field. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit 82033adf0a4b26eb0c0c90e224848431e2a59bc6 tree b995909cbf2de7dca994db13de3f157ace164905 parent a012370322eafee642369784ff71afe81f5a8592 author Tejun Heo Tue, 13 Dec 2005 14:50:38 +0900 committer Jeff Garzik Tue, 13 Dec 2005 01:34:45 -0500 [PATCH] libata: remove unused functions There is no user of ata_qc_wait_err() and ata_qc_complete_noop() after ata_exec_internal() changes. Remove unused functions. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a012370322eafee642369784ff71afe81f5a8592 tree 21888b2919dd6d8f2f2b5adb48c692ae24436391 parent a2a7a662f80d8b7f2295a36de1f9b033ed0b910c author Tejun Heo Tue, 13 Dec 2005 14:49:31 +0900 committer Jeff Garzik Tue, 13 Dec 2005 01:34:45 -0500 [PATCH] libata: use ata_exec_internal() This patch converts all users of libata internal commands to use ata_exec_internal(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik commit a2a7a662f80d8b7f2295a36de1f9b033ed0b910c tree a04872ba93c1eff094d2d37a0435e1d965d43f22 parent 575ab52a218e4ff0667a6cbd972c3af443ee8713 author Tejun Heo Tue, 13 Dec 2005 14:48:31 +0900 committer Jeff Garzik Tue, 13 Dec 2005 01:34:45 -0500 [PATCH] libata: implement ata_exec_internal() This patch implements ata_exec_internal() function which performs libata internal command execution. Previously, this was done by each user by manually initializing a qc, issueing it, waiting for its completion and handling errors. In addition to obvious code factoring, using ata_exec_internal() fixes the following bugs. * qc not freed on issue failure * ap->qactive clearing could race with the next internal command * race between timeout handling and irq * ignoring error condition not represented in tf->status Also, qc & hardware are not accessed anymore once it's completed, making internal commands more conformant with general semantics. ata_exec_internal() also makes it easy to issue internal commands from multiple threads if that becomes necessary. This patch only implements ata_exec_internal(). A following patch will convert all users. Signed-off-by: Tejun Heo -- Jeff, all patches have been regenerated against upstream branch as of today. (575ab52a218e4ff0667a6cbd972c3af443ee8713) Also, I took out a debug printk from ata_exec_internal (don't know how that one got left there). Other than that, all patches are identical to the previous posting. Thanks. :-) Signed-off-by: Jeff Garzik commit 783e3385a134305d49d7b431df6e591265e7ec14 tree 7db0b8f854201e2ad343ea5b1c6fab7c3bca5a9b parent fd803241744ad6e4262b6588c6af89e8fb794098 parent 1cf9e8a7865c0ac216034e519cf6b8505055ea50 author Jeff Garzik Tue, 13 Dec 2005 00:07:46 -0500 committer Jeff Garzik Tue, 13 Dec 2005 00:07:46 -0500 Merge branch 'upstream-fixes' commit fd803241744ad6e4262b6588c6af89e8fb794098 tree d8c4261a4799a2c9ee980cdd6a0c3c5ac61cafed parent ff7eba15ae65e4299fd9e0fbf067477ce6b43d91 author Jeff Kirsher Tue, 13 Dec 2005 00:06:22 -0500 committer Jeff Garzik Tue, 13 Dec 2005 00:06:22 -0500 e1000: Fixes for 8357x - TSO workaround - Fixes eeprom version reporting - Fix loopback test - Fix for WOL Signed-off-by: Jeff Kirsher Signed-off-by: John Ronciak Signed-off-by: Jesse Brandeburg commit ff7eba15ae65e4299fd9e0fbf067477ce6b43d91 tree 67158d972ead1868cee25f8f3864dfd6b532cc9f parent fed954dafc0ab03e00501862df397e8f8e2211fd parent 3c92cae74b24bdd521ad67eff260a8e4ce540d2b author Jeff Garzik Tue, 13 Dec 2005 00:01:02 -0500 committer Jeff Garzik Tue, 13 Dec 2005 00:01:02 -0500 Merge branch 'e1000' commit 25d3f1622fdbc73db3f6860961b5fb3035a39f32 tree f4eef88bc0083f282c64c14e81c0ecc95e5f2b43 parent dc3edd5412341b02d84144ddfd5bf6ccaaeeb1ac parent 0e670506668a43e1355b8f10c33d081a676bd521 author Jody McIntyre Mon, 12 Dec 2005 23:58:44 -0500 committer Jody McIntyre Mon, 12 Dec 2005 23:58:44 -0500 Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 575ab52a218e4ff0667a6cbd972c3af443ee8713 tree 047730477e31fe7f0551d25c5454e299926b6500 parent c621b140603dfb4a89809e00f965d42c054871e0 parent dfa159886f38344ede31e3b13ec614e0bebc09c6 author Jeff Garzik Mon, 12 Dec 2005 23:51:01 -0500 committer Jeff Garzik Mon, 12 Dec 2005 23:51:01 -0500 Merge branch 'upstream-fixes' commit c621b140603dfb4a89809e00f965d42c054871e0 tree 8e72d8109a40ff2853a02e11db9e2b63f625995c parent 9da305eb089c94c535d1790fd2dec16f44c1689f author Alan Cox Thu, 08 Dec 2005 19:22:28 +0000 committer Jeff Garzik Mon, 12 Dec 2005 23:23:03 -0500 [PATCH] libata: ata_piix 450NX errata Signed-off-by: Alan Cox Signed-off-by: Jeff Garzik commit dc3edd5412341b02d84144ddfd5bf6ccaaeeb1ac tree df739298b8c5ea5b3d10b41db3c42c43c77a0786 parent 43863eba763e0c91e33e342ce5b7650fea594a53 author Stefan Richter Mon, 12 Dec 2005 23:03:30 -0500 committer Jody McIntyre Mon, 12 Dec 2005 23:03:30 -0500 sbp2: did not clean up after scsi_add_device() failed If scsi_add_device() at the end of sbp2_start_device() fails, e.g. due to transport errors during SCSI inquiry, sbp2 needs to log out of the device and release all associated resources. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 43863eba763e0c91e33e342ce5b7650fea594a53 tree a353684ea6e69b906f9fc987f5ff74770867e914 parent 51c1d80e929bace26d2d795bd77fcc14b02ba3bb author Stefan Richter Mon, 12 Dec 2005 23:03:24 -0500 committer Jody McIntyre Mon, 12 Dec 2005 23:03:24 -0500 sbp2: delete sbp2scsi_direction_table DMA_BIDIRECTIONAL data direction may be handled properly by Linux in the future. For now, reject it instead to convert it to another direction. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 51c1d80e929bace26d2d795bd77fcc14b02ba3bb tree 0da6fdaf7b83263d3bcebc380d99d7001b3ff21e parent e38dc0ae24635a2a8a68d87cd0f4a13e74a52d98 author Stefan Richter Mon, 12 Dec 2005 23:03:19 -0500 committer Jody McIntyre Mon, 12 Dec 2005 23:03:19 -0500 ieee1394: run high-level updates before high-level probes After a bus reset, let nodemgr call high-level update hooks first for nodes which do not need to be probed. The main benefit is for a bus with more than one SBP-2 device: SBP-2 reconnects will be performed before SBP-2 logins, thus have a much higher chance to succeed, and their SCSI devices will not be blocked much longer than necessary. This was demonstrated for Linux 2.4 by Dave Cinege a while ago. A better approach would be to perform time-consuming probes in parallel by a subthread. I actually plan to implement this for sbp2 but it may take a while to get that done and tested. Until then, this tweak is a huge improvement for users with multiple SBP-2 devices. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 9da305eb089c94c535d1790fd2dec16f44c1689f tree f37f07f148fd7a793233c7f15c0fa9f46212049d parent d96212ed87d032d2d830e265aae14038dc1f8ad8 parent 14ee0a1414536d27bc29373bf23c106b8ef8ce0b author Jeff Garzik Mon, 12 Dec 2005 22:03:53 -0500 committer Jeff Garzik Mon, 12 Dec 2005 22:03:53 -0500 Merge branch 'master' commit d96212ed87d032d2d830e265aae14038dc1f8ad8 tree bdd824b0d842e55351ddb1da42da29c4889c4713 parent fe79e683ccdb29c13b3e0d18507474b4e2d9aab6 author Alan Cox Thu, 08 Dec 2005 19:19:50 +0000 committer Jeff Garzik Mon, 12 Dec 2005 15:33:28 -0500 [PATCH] libata: add ata_piix notes Ok lets start with the 'easy' stuff. This includes my research and summary of chip errata into the new driver so that people can refer to it when updating ata_piix. No code changes Signed-off-by: Jeff Garzik commit fed954dafc0ab03e00501862df397e8f8e2211fd tree 85874d5a83a5fa86d0ddc96846cb2bac066fa766 parent 75d070c56fa77913b165947f046304efcd38e516 author Stephen Hemminger Fri, 09 Dec 2005 11:35:12 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:22 -0500 [PATCH] sky2: version 0.10 Change version number. Still don't have enough history on this to call it 1.0 yet. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 75d070c56fa77913b165947f046304efcd38e516 tree 0f9117ae2530aedb6c5536d63bd029b10873daa7 parent 585b56012f08a6edc598d17b28a6c434134bfaff author Stephen Hemminger Fri, 09 Dec 2005 11:35:11 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:22 -0500 [PATCH] sky2: disable rx checksum on Yukon XL Under load, my SysKonnect SK-9S22 sees duplicate checksums from earlier packets. Doesn't happen on other platforms so just disable receive checksum there. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 585b56012f08a6edc598d17b28a6c434134bfaff tree 4273e79cb7c933f30da7f3e3dc72ac523b39384a parent d70cd51ac0585a9273abea4c333e8f0dd8385d27 author Stephen Hemminger Fri, 09 Dec 2005 11:35:10 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:22 -0500 [PATCH] sky2: turn on tx flow control Turn symmetric flow control on by default. This was an oversight in the initial versions. Signed-off-by: Stephen HEmminger Signed-off-by: Jeff Garzik commit d70cd51ac0585a9273abea4c333e8f0dd8385d27 tree 07b77d08e778e304727fedc0f7186f37a31e075c parent 8c463ef7928d7a42bb9ca410df9b294dc01c1850 author Stephen Hemminger Fri, 09 Dec 2005 11:35:09 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:21 -0500 [PATCH] sky2: prefetch tuning Add a couple more prefetches to where we walk the rings. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 8c463ef7928d7a42bb9ca410df9b294dc01c1850 tree 37615a7fc948094d2780aab66a354af0d4609d03 parent 8cc048e338ad4034255f3ff72ef1f631963e1263 author Stephen Hemminger Fri, 09 Dec 2005 11:35:08 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:21 -0500 [PATCH] sky2: quiet ring full message in case of race Don't print ring full message if we lose race. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 8cc048e338ad4034255f3ff72ef1f631963e1263 tree 95cb0c92ff78511ad5980dd53118b70657fb870d parent 69634ee7366d05b26b2650584bed180edf923125 author Stephen Hemminger Fri, 09 Dec 2005 11:35:07 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:21 -0500 [PATCH] sky2: handle tx timeout Put more logic in to try and handle transmit timeout recovery. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 69634ee7366d05b26b2650584bed180edf923125 tree f446c787632620f28f2b89984271788e37a2d9d2 parent 3e4b32e11674a40cf50e48a79764f12988641e20 author Stephen Hemminger Fri, 09 Dec 2005 11:35:06 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:21 -0500 [PATCH] sky2: interrupt coalescing tuning Adjust interrupt deferral values for better performance and avoid starvation issues under stress. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 3e4b32e11674a40cf50e48a79764f12988641e20 tree 228cf5cbb3d9234a5324fa938f51461850e8f599 parent af2a58acb12f6b19e6f04b730203e199abedc44a author Stephen Hemminger Fri, 09 Dec 2005 11:35:05 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:21 -0500 [PATCH] sky2: interrupt/poll optimization Optimize poll routine by not clearing interrupt till after processing, and checking for more work before re-enable. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit af2a58acb12f6b19e6f04b730203e199abedc44a tree 8fc6c649cff639a3d9af758af90f9b7806bd892b parent 13b97b74b964f9da9b5dab6c57708bccd3ada542 author Stephen Hemminger Fri, 09 Dec 2005 11:35:04 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:21 -0500 [PATCH] sky2: transmit complete routine optimization Hand optimize transmit completion routine. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 13b97b74b964f9da9b5dab6c57708bccd3ada542 tree 568bb52919395e53eb70b186e16a98c5f37f5b5a parent 0e3ff6aab1ff2d093996bd7b8c9c06c3d823855c author Stephen Hemminger Fri, 09 Dec 2005 11:35:03 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:21 -0500 [PATCH] sky2: transmit complete index optimization Change transmit complete handling to use the status values in the poll list because they are in-cache, rather than reading non-cached memory for chips status. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 0e3ff6aab1ff2d093996bd7b8c9c06c3d823855c tree 044b1b395a657643750ab79641a12889c8fdc765 parent 6cdbbdf3055f4657c9d6ccc79257bbcac1a9a1fc author Stephen Hemminger Fri, 09 Dec 2005 11:35:02 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:21 -0500 [PATCH] sky2: transmit logic fixes Some transmit side small fixes: * When computing number of list elements per transmit, do full comparision to check for checksuming. * Get rid of racy check for tx_complete * Change stop test to match wake condition. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6cdbbdf3055f4657c9d6ccc79257bbcac1a9a1fc tree c3910bd44972cb55e29a112fa932a35b17910373 parent 734d18684695dd1c6a9527b50e01bba4acab4738 author Stephen Hemminger Fri, 09 Dec 2005 11:35:01 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:20 -0500 [PATCH] sky2: tx/rx ring data structure split Split Tx and Rx ring into two different data structures. Tx needs the next value (to handle partial status), and Rx always needs the mapaddr (to handle resubmitting same buffer). Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 734d18684695dd1c6a9527b50e01bba4acab4738 tree a080ae5a4e4c6fe3a7ee5897b1e5a01c726267d4 parent 129372d0524c9124d5693f63c1d3c1ce2e3714ce author Stephen Hemminger Fri, 09 Dec 2005 11:35:00 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:20 -0500 [PATCH] sky2: map length optimization Don't need to keep track of mapping length in ring structure because we can get the same info from other info. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 129372d0524c9124d5693f63c1d3c1ce2e3714ce tree 725dc0b2a818e6a4d694ddbea9fb2f469f4adcec parent f2e46561cc1afa82b18b2fc6efc8510ec57c7d7d author Stephen Hemminger Fri, 09 Dec 2005 11:34:59 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:20 -0500 [PATCH] sky2: ring distance optimization Faster way to compute ring distance. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit f2e46561cc1afa82b18b2fc6efc8510ec57c7d7d tree 1d73466e4b0893bfd679f8efb9f2428afdf2a106 parent 91c86df5a8a44157b456bf1e91fc6d878582e68c author Stephen Hemminger Fri, 09 Dec 2005 11:34:58 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:20 -0500 [PATCH] sky2: no irq disable needed during tx Don't need to disable interrupts during the transmit routine. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 91c86df5a8a44157b456bf1e91fc6d878582e68c tree 74f9e3f1c9b78ede4350d3ad59914dd75def74e0 parent fb17358fe31e01baf902a9fd1fce0e29e3493517 author Stephen Hemminger Fri, 09 Dec 2005 11:34:57 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:20 -0500 [PATCH] sky2: phy processing in workqueue rather than tasklet Do phy processing in a work queue rather than a tasklet. This means we can let bottom halves run. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit fb17358fe31e01baf902a9fd1fce0e29e3493517 tree eaeb557cd4835bf608a20563915b1985931db55c parent bdb5c58ebe4301f9c3470cc35adeff1ef7ee99eb author Stephen Hemminger Fri, 09 Dec 2005 11:34:56 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:20 -0500 [PATCH] sky2: ethtool get/set interrupt coalescing Add support for get/set the interrupt coalescing settings. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit bdb5c58ebe4301f9c3470cc35adeff1ef7ee99eb tree d81a92afb5792af5c9195964cc7f48e16df1ef0e parent 6e23231b6509f17a251e6dfddb607d300680ac25 author Stephen Hemminger Fri, 09 Dec 2005 11:34:55 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:20 -0500 [PATCH] sky2: copy threshold as module parameter Make the copy threshold a module parameter for those who may want to turn it off. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6e23231b6509f17a251e6dfddb607d300680ac25 tree 5e65eb35ccd20f05988a09c29c3b93304249bddc parent 92f965e8c5433408d5a3805c6882b657eb6cbdb1 author Stephen Hemminger Fri, 09 Dec 2005 11:34:54 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:20 -0500 [PATCH] sky2: device structure alignment It is a useful optimization to rearrange the structure slightly to align receive and transmit portions. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 92f965e8c5433408d5a3805c6882b657eb6cbdb1 tree 063db455feceaa73fdc3305c14e17cab838e6da1 parent b1086eef813ecee09bd6b8ae364acf0fad065cba author Stephen Hemminger Fri, 09 Dec 2005 11:34:53 -0800 committer Jeff Garzik Mon, 12 Dec 2005 15:27:19 -0500 [PATCH] sky2: don't die if we see chip rev 0xb5 There maybe new versions of Yukon2 in the future, so make the driver more robust to handle this. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit b1086eef813ecee09bd6b8ae364acf0fad065cba tree bc723bbdfc2898252e3fd8e14320d7fac58dca4b parent 003a20c81ec278595820d3829b544e90919f6f61 parent 49d7bc64283970ee83d2c954d04ba00d04e5943d author Jeff Garzik Mon, 12 Dec 2005 15:24:45 -0500 committer Jeff Garzik Mon, 12 Dec 2005 15:24:45 -0500 Merge branch 'master' commit 56f0356321a876a1a356712f2486d6188a3b4992 tree e181142b1b10788a14194f3a574d7ee064aeb662 parent 74a89c966ebc4ec4b80fa93eee0b37ff7de7f4e6 author Michael Hanselmann Sun, 11 Dec 2005 22:33:26 -0500 committer Dmitry Torokhov Sun, 11 Dec 2005 22:33:26 -0500 Input: add the fn key to hid-debug.h Signed-off-by: Michael Hanselmann Acked-by: Johannes Berg Signed-off-by: Dmitry Torokhov commit 74a89c966ebc4ec4b80fa93eee0b37ff7de7f4e6 tree 2af812f69cc962cffdc02b58c62996733955c51b parent 58057b9e57849ae28fbcb013edfe6b5a63edc799 author Ashutosh Naik Sun, 11 Dec 2005 12:41:32 -0500 committer Dmitry Torokhov Sun, 11 Dec 2005 12:41:32 -0500 Input: wistron - add Acer TravelMate 240 to DMI table Signed-off-by: Ashutosh Naik Signed-off-by: Dmitry Torokhov commit 58057b9e57849ae28fbcb013edfe6b5a63edc799 tree 280e3b1881c74ce2fe555480cd601611db908107 parent 84c12b2410ea3b88523270064222fbf505dbf15e author Jasper Spaans Sun, 11 Dec 2005 12:41:22 -0500 committer Dmitry Torokhov Sun, 11 Dec 2005 12:41:22 -0500 Input: logips2pp - add new signature (85) Signed-off-by: Dmitry Torokhov commit 84c12b2410ea3b88523270064222fbf505dbf15e tree 7c72f2cd5409730b9e8aa861110e20c64ebc3c7e parent 3a51f7c40437077ac4a463307e9a4ae6b78755a8 author Dmitry Torokhov Sun, 11 Dec 2005 12:41:03 -0500 committer Dmitry Torokhov Sun, 11 Dec 2005 12:41:03 -0500 Input: mousedev - make module parameters visible in sysfs Signed-off-by: Dmitry Torokhov commit 3a51f7c40437077ac4a463307e9a4ae6b78755a8 tree a28ce7937a2ac917bed4c1993da4c21a1dffb4d4 parent e4f5c82a92c2a546a16af1614114eec19120e40a author Dmitry Torokhov Sun, 11 Dec 2005 12:40:37 -0500 committer Dmitry Torokhov Sun, 11 Dec 2005 12:40:37 -0500 Input: evdev - consolidate compat and regular code Compat and normal code mirror each other and are hard to maintain. When EV_SW was added compat_ioctl case was missed. Here is my attempt at consolidating the code. Signed-off-by: Dmitry Torokhov commit 44b5b0303327cfb23f135b95b2fe5436c81ed27c tree 7f1dcdaf798dbd99cd2b43709e992e3a12c015a6 parent 6aa2e4e8063114bd7cea8616dd5848d3c64b4c36 author Jack Morgenstein Fri, 09 Dec 2005 16:40:14 -0800 committer Roland Dreier Fri, 09 Dec 2005 16:40:14 -0800 IB/mthca: don't change driver's copy of attributes if modify QP fails Only change the driver's copy of the QP attributes in modify QP after checking the modify QP command completed successfully. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 6aa2e4e8063114bd7cea8616dd5848d3c64b4c36 tree 0daa26d085f163572df0292913e8f0b4818c1558 parent 94361cf74a6fca1973d2fed5338d5fb4bcd902fa author Jack Morgenstein Fri, 09 Dec 2005 16:38:04 -0800 committer Roland Dreier Fri, 09 Dec 2005 16:38:04 -0800 IB/mthca: correct log2 calculation Fix thinko in rd_atomic calculation: ffs(x) - 1 does not find the next power of 2 -- it should be fls(x - 1). Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 94361cf74a6fca1973d2fed5338d5fb4bcd902fa tree 5b96f7c52f1d1e60d3406a41393922d77abf67b3 parent 52d0df153c987e4ad57d15f5df91848f65858e5d author Jack Morgenstein Fri, 09 Dec 2005 16:32:21 -0800 committer Roland Dreier Fri, 09 Dec 2005 16:32:21 -0800 IB/mthca: check RDMA limits Add limit checking on rd_atomic and dest_rd_atomic attributes: especially for max_dest_rd_atomic, a value that is larger than HCA capability can cause RDB overflow and corruption of another QP. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 52d0df153c987e4ad57d15f5df91848f65858e5d tree f6c199504a940994344a1e89bfbeea953f092ef1 parent 0efc4883a6b3de12476cd7a35e638c0a9f5fd75f author Jack Morgenstein Fri, 09 Dec 2005 13:48:50 -0800 committer Roland Dreier Fri, 09 Dec 2005 13:48:50 -0800 IB/mthca: fix memory user DB table leak Free the memory allocated in mthca_init_user_db_tab() when releasing the db_tab in mthca_cleanup_user_db_tab(). Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 0efc4883a6b3de12476cd7a35e638c0a9f5fd75f tree 5d15957003282be61923d1ba475b49538ec87ac9 parent de1bb1a64c29bae4f5330c70bd1dc6a62954c9f4 author Jack Morgenstein Fri, 09 Dec 2005 13:46:32 -0800 committer Roland Dreier Fri, 09 Dec 2005 13:46:32 -0800 IB/umad: fix memory leaks Don't leak packet if it had a timeout, and don't leak timeout struct if queue_packet() fails. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 95235ca2c20ac0b31a8eb39e2d599bcc3e9c9a10 tree cdfbebe72a1563f1bfe16b0335da7f9ecb78a91d parent 9a7d82a89a8bf55b112f2a5c3b3f405eb95a4303 author Venkatesh Pallipadi Fri, 02 Dec 2005 10:43:20 -0800 committer Dave Jones Tue, 06 Dec 2005 19:35:11 -0800 [CPUFREQ] CPU frequency display in /proc/cpuinfo What is the value shown in "cpu MHz" of /proc/cpuinfo when CPUs are capable of changing frequency? Today the answer is: It depends. On i386: SMP kernel - It is always the boot frequency UP kernel - Scales with the frequency change and shows that was last set. On x86_64: There is one single variable cpu_khz that gets written by all the CPUs. So, the frequency set by last CPU will be seen on /proc/cpuinfo of all the CPUs in the system. What you see also depends on whether you have constant_tsc capable CPU or not. On ia64: It is always boot time frequency of a particular CPU that gets displayed. The patch below changes this to: Show the last known frequency of the particular CPU, when cpufreq is present. If cpu doesnot support changing of frequency through cpufreq, then boot frequency will be shown. The patch affects i386, x86_64 and ia64 architectures. Signed-off-by: Venkatesh Pallipadi Signed-off-by: Dave Jones commit 9a7d82a89a8bf55b112f2a5c3b3f405eb95a4303 tree 099473309484900e0b0d5263fbadf1c446088e46 parent 1a10760c91c394dfe4adfefeeaf85cd8098c4894 author Mattia Dongili Wed, 30 Nov 2005 22:00:59 +0100 committer Dave Jones Tue, 06 Dec 2005 19:27:15 -0800 [CPUFREQ] Move PMBASE reading away and do it only once at initialization time This patch moves away PMBASE reading and only performs it at cpufreq_register_driver time by exiting with -ENODEV if unable to read the value. Signed-off-by: Mattia Dongili Acked-by: Dominik Brodowski Signed-off-by: Dave Jones commit 1a10760c91c394dfe4adfefeeaf85cd8098c4894 tree 80e6bfa8c8c247843bfbc90b9809ffafda1841f8 parent fc457fa7c0cdbfe96812ba377e508880d600298f author Mattia Dongili Fri, 02 Dec 2005 21:59:41 +0100 committer Dave Jones Tue, 06 Dec 2005 19:27:15 -0800 [CPUFREQ] Measure transition latency at driver initialization The attached patch introduces runtime latency measurement for ICH[234] based chipsets instead of using CPUFREQ_ETERNAL. It includes some sanity checks in case the measured value is out of range and assigns a safe value of 500uSec that should still be enough on problematics chipsets (current testing report values ~200uSec). The measurement is currently done in speedstep_get_freqs in order to avoid further unnecessary transitions and in the hope it'll come handy for SMI also. Signed-off-by: Mattia Dongili Acked-by: Dominik Brodowski Signed-off-by: Dave Jones speedstep-ich.c | 4 ++-- speedstep-lib.c | 32 +++++++++++++++++++++++++++++++- speedstep-lib.h | 1 + speedstep-smi.c | 1 + 4 files changed, 35 insertions(+), 3 deletions(-) commit fc457fa7c0cdbfe96812ba377e508880d600298f tree 514049d61cf8b1587141a375ba3ec4f71e09a9db parent cc6e8de8f0fab61760bb7091fb19eef1406e17be parent e4f5c82a92c2a546a16af1614114eec19120e40a author Dave Jones Tue, 06 Dec 2005 19:14:09 -0800 committer Dave Jones Tue, 06 Dec 2005 19:14:09 -0800 Merge ../linus/ commit cc6e8de8f0fab61760bb7091fb19eef1406e17be tree 9d932948b656545f8806dc769ab0d6f471058d74 parent d4921914de19339d7cd987d2ed6d48754821f41a author Dave Jones Tue, 06 Dec 2005 15:03:55 -0800 committer Dave Jones Tue, 06 Dec 2005 15:03:55 -0800 [CPUFREQ] Change loglevels on powernow-k8 bios error printk's. If a user has booted with 'quiet', some important messages don't get displayed which really should. We've seen at least one case where powernow-k8 stopped working, and the user needed a BIOS update that they didn't know about. Signed-off-by: Dave Jones commit fe79e683ccdb29c13b3e0d18507474b4e2d9aab6 tree 855a61daec6898c089d135f54ab1fd6283edf27b parent d8fe452b3e8e9ea6d62a3d116a092999fabae407 author Albert Lee Tue, 06 Dec 2005 11:34:59 +0800 committer Jeff Garzik Tue, 06 Dec 2005 04:49:23 -0500 [PATCH] libata: err_mask misc fix 1. ata_pio_complete(): It seems unnecessary to wait for the clearing of the DRQ bit. (Waiting for BSY=0 should be enough. ata_ok() also checks the correctness of the status bits later.) 2. ata_pio_block(): - added error checking, before transfering data. - minor comments fix Signed-off-by: Albert Lee ============ Signed-off-by: Jeff Garzik commit d8fe452b3e8e9ea6d62a3d116a092999fabae407 tree 8fdc1ae032ec0a7e223d33fc92c37fc6e36f4a7c parent 1c8489840e6b080e810e588423c1b6dd5913cf18 author Albert Lee Mon, 05 Dec 2005 15:42:17 +0800 committer Jeff Garzik Tue, 06 Dec 2005 04:49:23 -0500 [PATCH] libata: determine the err_mask directly in atapi_packet_task() - set qc->err_mask directly when we found the error - remove the code to determine err_mask from device status Signed-off-by: Albert Lee ============ Signed-off-by: Jeff Garzik commit 1c8489840e6b080e810e588423c1b6dd5913cf18 tree 3b0061fc1f571570e8ddf6069277b497a951f385 parent a22e2eb0710798009b8e696ae911aef745089dd6 author Albert Lee Mon, 05 Dec 2005 15:40:15 +0800 committer Jeff Garzik Tue, 06 Dec 2005 04:49:23 -0500 [PATCH] libata: determine the err_mask when the error is found - move "qc->err_mask |= AC_ERR_ATA_BUS" to where the error is found - add "assert(qc->err_mask)" to ata_pio_error() to make sure qc->err_mask was available when we enter the error state Signed-off-by: Albert Lee ============ Signed-off-by: Jeff Garzik commit a22e2eb0710798009b8e696ae911aef745089dd6 tree 93421443499249db0301868e07f24156c456cf7a parent c14b8331ec4843e4f2b67a4d847a0d812a50e43c author Albert Lee Mon, 05 Dec 2005 15:38:02 +0800 committer Jeff Garzik Tue, 06 Dec 2005 04:49:22 -0500 [PATCH] libata: move err_mask to ata_queued_cmd - remove err_mask from the parameter list of the complete functions - move err_mask to ata_queued_cmd - initialize qc->err_mask when needed - for each function call to ata_qc_complete(), replace the err_mask parameter with qc->err_mask. Signed-off-by: Albert Lee =============== Signed-off-by: Jeff Garzik commit c14b8331ec4843e4f2b67a4d847a0d812a50e43c tree 453d07d81ded3b4845aab08f4825a7dda35340f5 parent f38f2a2c6f32bb29bacb95acd8f8a0d6b7270fa9 author Albert Lee Mon, 05 Dec 2005 15:36:08 +0800 committer Jeff Garzik Tue, 06 Dec 2005 04:49:22 -0500 [PATCH] libata: minor patch before moving err_mask - add qc to ata_pio_poll() - reorder the initialization of qc in ata_pio_complete() Signed-off-by: Albert Lee =================== Signed-off-by: Jeff Garzik commit 3c92cae74b24bdd521ad67eff260a8e4ce540d2b tree 136e15b2ddfc75f88e177f53c8e3a7c648333537 parent fd8a882b612de93b351996ed42a9557afc1f8c34 parent 436b0f76f2cee6617f27a649637766628909dd5d author Jeff Garzik Tue, 06 Dec 2005 04:40:05 -0500 committer Jeff Garzik Tue, 06 Dec 2005 04:40:05 -0500 Merge branch 'master' commit 003a20c81ec278595820d3829b544e90919f6f61 tree a2a4a5a9c63fa16bd4982876ebbe396c6800b9c5 parent 2fde9901f6702ab82b5b2740fec9a7f9a80ddde4 parent 436b0f76f2cee6617f27a649637766628909dd5d author Jeff Garzik Tue, 06 Dec 2005 04:39:48 -0500 committer Jeff Garzik Tue, 06 Dec 2005 04:39:48 -0500 Merge branch 'master' commit f38f2a2c6f32bb29bacb95acd8f8a0d6b7270fa9 tree 2aede472598487d69923875325c0e20ae68d5adf parent 4ef679e6caf1261b6380a610a705a90d7e2738c6 parent 436b0f76f2cee6617f27a649637766628909dd5d author Jeff Garzik Tue, 06 Dec 2005 04:12:02 -0500 committer Jeff Garzik Tue, 06 Dec 2005 04:12:02 -0500 Merge branch 'master' commit e38dc0ae24635a2a8a68d87cd0f4a13e74a52d98 tree da55e59e35194bfc2cc389008d5b745619b4447d parent 61c7f775ca25ccfc0e51486103a724fb1a3a08f2 author Stefan Richter Mon, 05 Dec 2005 16:29:02 -0500 committer Jody McIntyre Mon, 05 Dec 2005 16:29:02 -0500 ieee1394: remove nonexistent functions from nodemgr.h Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 61c7f775ca25ccfc0e51486103a724fb1a3a08f2 tree 90bbd7f117a3831f3bb38ca9bc512de039062f2f parent c4fc108a8275f5eb77c9859725643a6870d20ef6 author Stefan Richter Mon, 05 Dec 2005 16:28:59 -0500 committer Jody McIntyre Mon, 05 Dec 2005 16:28:59 -0500 ieee1394: write broadcast_channel only to select nodes (fixes device recognition) Some old 1394-1995 SBP-2 bridges would hang if they received a broadcast write request to BROADCAST_CHANNEL before the config ROM was read. Affected devices include Datafab MD2-FW2 2.5" HDD and SmartDisk VST FWCDRW-V8 portable CD writer. The write request is now directed to specific nodes instead of being broadcast to all nodes at once, and it is only performed if a previous read request at this register succeeded. Fixes an old interoperability problem which was perceived as a 2.6.14-specific regression: http://marc.theaimsgroup.com/?t=113190586800003 Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit c4fc108a8275f5eb77c9859725643a6870d20ef6 tree de7ce4af8e49ad2504fc270594124ec8ec874857 parent 741854e4f9a23421e194df8d846899172ff393d6 parent e4f5c82a92c2a546a16af1614114eec19120e40a author Jody McIntyre Mon, 05 Dec 2005 15:52:41 -0500 committer Jody McIntyre Mon, 05 Dec 2005 15:52:41 -0500 Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit fd8a882b612de93b351996ed42a9557afc1f8c34 tree baadcaa7217cc40f41f04eb40c0d1236cf462716 parent c8a4f06e4b27dba425ed49fa603d9257e4cd9ece parent 3b6efee9231e12fce09c94930bfc59f66f18d662 author Jeff Garzik Sat, 03 Dec 2005 21:08:17 -0500 committer Jeff Garzik Sat, 03 Dec 2005 21:08:17 -0500 Merge branch 'master' commit 2fde9901f6702ab82b5b2740fec9a7f9a80ddde4 tree 0ca92fabd4169095a50b43b8981d2a6c54f98531 parent f89c2b464558a21fd3be8d578b7d13e810fb6b8a parent 3b6efee9231e12fce09c94930bfc59f66f18d662 author Jeff Garzik Sat, 03 Dec 2005 21:03:28 -0500 committer Jeff Garzik Sat, 03 Dec 2005 21:03:28 -0500 Merge branch 'master' commit 4ef679e6caf1261b6380a610a705a90d7e2738c6 tree 6b59360c267508647ae4492f171668ef6ce82e32 parent 98ac62defe529d04a192688f40d801a2d8fbcf98 parent 9a40525788a1b692ee0fc780a8cdb2ac808de1b0 author Jeff Garzik Sat, 03 Dec 2005 20:34:14 -0500 committer Jeff Garzik Sat, 03 Dec 2005 20:34:14 -0500 Merge branch 'upstream-fixes' commit f89c2b464558a21fd3be8d578b7d13e810fb6b8a tree ffac18b8c1a929ff57af0d626b10cb383d0fd2ad parent d359b6ff6a79e250422fdfa991b36d37c286eda1 author Stephen Hemminger Thu, 01 Dec 2005 08:41:32 -0800 committer Jeff Garzik Sat, 03 Dec 2005 20:29:03 -0500 [PATCH] sky2: interrupt not cleared. One of the rearrangements dropped this and it means sky2 spins in napi/interrupt. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit d359b6ff6a79e250422fdfa991b36d37c286eda1 tree 715b57bf5d944081ca85a662ce5f48423084f3cb parent 0f52bf905884c6dd7f994c9e2f533b2c02f0bd4b author Stephen Hemminger Thu, 01 Dec 2005 11:12:47 -0800 committer Jeff Garzik Sat, 03 Dec 2005 20:29:03 -0500 [PATCH] ixp2000: change netif_schedule_test to __netif_schedule_prep Sky2 update changed name of netif_schedule_test to __netif_schedule_prep Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 741854e4f9a23421e194df8d846899172ff393d6 tree 2ca98e6bcc7515eb3065ffa2be8c0c535502b493 parent 546513f9fd96cba613cc2d025ee03d32d79394b7 author Stefan Richter Thu, 01 Dec 2005 18:52:03 -0500 committer Jody McIntyre Thu, 01 Dec 2005 18:52:03 -0500 ieee1394: whitespace cleanup in hosts.[ch], ieee1394_core.[ch] Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 546513f9fd96cba613cc2d025ee03d32d79394b7 tree 37e44d9741d6cb2c389b176105144a0d936f29e6 parent d7758461b9a8253f1c125e5907579e0594d29e3b author Stefan Richter Thu, 01 Dec 2005 18:52:01 -0500 committer Jody McIntyre Thu, 01 Dec 2005 18:52:01 -0500 ieee1394: hpsb_send_phy_config() cleanup Eliminate some code in hpsb_send_phy_config() which is provided by hpsb_make_phypacket(). Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit d7758461b9a8253f1c125e5907579e0594d29e3b tree 3273cf3f8a33dd962326d08cb6030e9c6d881f0b parent 14c0fa243b358c24040ff5f44b60c47aaf6430c3 author Stefan Richter Thu, 01 Dec 2005 18:51:56 -0500 committer Jody McIntyre Thu, 01 Dec 2005 18:51:56 -0500 ieee1394: add definitions for phy packet constants Introduce new macros related to phy packets and use them in ieee1394_core and nodemgr. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 14c0fa243b358c24040ff5f44b60c47aaf6430c3 tree e338f694399b1c9b2f3e6ba82fad648a677012cf parent 01fc99864ecc678c4f1f476b2a8b64ebcb14e733 author Stefan Richter Thu, 01 Dec 2005 18:51:52 -0500 committer Jody McIntyre Thu, 01 Dec 2005 18:51:52 -0500 ieee1394: resume remote ports when starting a host (fixes device recognition) After initializing an IEEE 1394 host, broadcast a resume packet. This makes remote nodes visible which suspended their ports while the host was down. Such nodes had to be unplugged and replugged in order to be recognized. Motorola DCT6200 cable reciever was affected, probably other devices too. http://marc.theaimsgroup.com/?t=113202715800001 Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 0f52bf905884c6dd7f994c9e2f533b2c02f0bd4b tree 42e15d05ffb12e7bfa3be630c383efb19a9ceed9 parent c75f4742e2306a319baaa556e53209d4e7c47f0d author Brice Goglin Thu, 01 Dec 2005 01:41:46 -0800 committer Jeff Garzik Thu, 01 Dec 2005 04:51:34 -0500 [PATCH] Duplicate IPW_DEBUG option for ipw2100 and 2200 There are currently two IPW_DEBUG options in drivers/net/wireless/Kconfig (one for ipw2100 and one for ipw2200). The attached patch splits it into IPW2100_DEBUG and IPW2200_DEBUG. Signed-off-by: Brice Goglin Cc: "James P. Ketrenos" Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit c75f4742e2306a319baaa556e53209d4e7c47f0d tree 6644c1c802b8a4f9efb02eca774d9ec24c5fa845 parent 62d65a8062530a4b2673999deb9be368fa60ca87 author Takis Thu, 01 Dec 2005 01:41:45 -0800 committer Jeff Garzik Thu, 01 Dec 2005 04:51:34 -0500 [PATCH] ipw2200: kzalloc conversion and Kconfig dependency fix - Use kzalloc for IPW2200 - Fix config dependency for IPW2200 Signed-off-by: Panagiotis Issaris Cc: James Ketrenos Cc: Yi Zhu Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 62d65a8062530a4b2673999deb9be368fa60ca87 tree 89ccd9b8de02b247f145275311378280ae26cdfb parent f89b23217372ed9bdba8804c1616d445402d1e05 parent ea182d4aefa3a27847d890b1592a608d1180aa45 author Jeff Garzik Thu, 01 Dec 2005 04:51:26 -0500 committer Jeff Garzik Thu, 01 Dec 2005 04:51:26 -0500 Merge branch 'upstream-fixes' commit d4921914de19339d7cd987d2ed6d48754821f41a tree 6b16628fca942bc220ada8251820f31341ed089a parent 537208c8072280ab87916710d5a3f7ef11ab94ff author Gabriel A. Devenyi Thu, 01 Dec 2005 01:09:22 -0800 committer Dave Jones Thu, 01 Dec 2005 01:23:24 -0800 [PATCH] cpufreq-nforce2.c fix u32<0 test Thanks to LinuxICC (http://linuxicc.sf.net), a comparison of a u32 less than 0 was found, this patch changes the variable to a signed int so that comparison is meaningful. Signed-off-by: Gabriel A. Devenyi Signed-off-by: Andrew Morton Signed-off-by: Dave Jones commit 537208c8072280ab87916710d5a3f7ef11ab94ff tree 109b9760f337e3c9fdf46166960292cccf370f5c parent 001893cda2f280ab882164737a0b608208524809 author Alexander Clouter Thu, 01 Dec 2005 01:09:23 -0800 committer Dave Jones Thu, 01 Dec 2005 01:23:23 -0800 [PATCH] cpufreq: documentation for 'ondemand' and 'conservative' Added a more verbose entry for the 'ondemend' governor and an entry for the 'conservative' governor to the documentation. Signed-off-by: Alexander Clouter Signed-off-by: Andrew Morton Signed-off-by: Dave Jones commit 001893cda2f280ab882164737a0b608208524809 tree 99e25fb9dc8f525a66c9e04d9109e008b3141200 parent 6df8900676c3f5c133328332fb8ad889fd0cc9e3 author Alexander Clouter Thu, 01 Dec 2005 01:09:25 -0800 committer Dave Jones Thu, 01 Dec 2005 01:23:23 -0800 [PATCH] cpufreq_conservative/ondemand: invert meaning of 'ignore nice' The use of the 'ignore_nice' sysfs file is confusing to anyone using it. This removes the sysfs file 'ignore_nice' and in its place creates a 'ignore_nice_load' entry that defaults to '0'; meaning nice'd processes _are_ counted towards the 'business' calculation. WARNING: this obvious breaks any userland tools that expected ignore_nice' to exist, to draw attention to this fact it was concluded on the mailing list that the entry should be removed altogether so the userland app breaks and so the author can build simple to detect workaround. Having said that it seems currently very few tools even make use of this functionality; all I could find was a Gentoo Wiki entry. Signed-off-by: Alexander Clouter Signed-off-by: Andrew Morton Signed-off-by: Dave Jones commit f89b23217372ed9bdba8804c1616d445402d1e05 tree cb2c44e47590dfca02f98ecd5f7c973db2f241ba parent 127477840b9fd205958203648b9fa89860d69a43 author Dan Streetman Fri, 11 Nov 2005 11:41:42 -0500 committer Jeff Garzik Thu, 01 Dec 2005 02:40:34 -0500 [PATCH] airo.c: add support for IW_ENCODE_TEMP (i.e. xsupplicant) Hello Jeff, this patch changes causes the airo driver to not reset the card when a temporary WEP key is set, when the IW_ENCODE_TEMP flag is used. This is needed for xsupplicant as 802.1x, LEAP, etc. change WEP keys frequently after authentication and resetting the card causes infinite reauthentication. Javier and Jean agree with the patch, Javier suggested I send this to you, can you apply this? Thanks. Signed-off-by: Dan Streetman Signed-off-by: Jeff Garzik commit 98ac62defe529d04a192688f40d801a2d8fbcf98 tree f37be3b98a245f83d6c2ed37938377ed0b1bcae6 parent 6946d28a9f47f50fe3dd916e8b4229de9769108e author Arjan van de Ven Mon, 28 Nov 2005 10:06:23 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:29:35 -0500 [PATCH] mark several libata datastructures const Hi, the patch below marks several libata (and libata-driver) structures const so that they end up in the .rodata segment and don't false-share cachelines with things that get dirtied often. Signed-off-by: Arjan van de Ven Signed-off-by: Jeff Garzik commit 127477840b9fd205958203648b9fa89860d69a43 tree 3baa9ce7235569abb107d1f81b1dcc05257cd4db parent 8ce51d69b755c39e714826899631629209896b70 author Lennert Buytenhek Wed, 23 Nov 2005 12:50:08 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:27 -0500 [PATCH] ixp2000: add driver version, bump version to 0.2 Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 8ce51d69b755c39e714826899631629209896b70 tree 1ba9f46705d8c5f1eed3a27d1fd423799ced6a14 parent cffbfcaf00c4a36592fabd54ae9f960b552322b6 author Lennert Buytenhek Wed, 23 Nov 2005 12:50:04 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:27 -0500 [PATCH] ixp2000: add netpoll support Add netpoll support to the ixp2000 driver. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit cffbfcaf00c4a36592fabd54ae9f960b552322b6 tree 02331a95ba0130f090cb9234e253dd2678da7c0d parent c6e429bdd6f0142558896e29c21a526c1ffdd1f3 author Lennert Buytenhek Wed, 23 Nov 2005 12:49:59 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:27 -0500 [PATCH] enp2611: disable/enable SERDES carrier on interface down/up Disable/enable the SERDES carrier when an interface is administratively downed/upped. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit c6e429bdd6f0142558896e29c21a526c1ffdd1f3 tree 1577129f1762d81b5e54600768289d6ebb270aec parent df86550602f320d28fdaeb577c25f9821525bfa0 author Lennert Buytenhek Wed, 23 Nov 2005 12:49:55 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:27 -0500 [PATCH] pm3386: implement reset Implement pm3386 reset. A reset zeroes out the internally stored MAC addresses, so we need to save and reload them by hand. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit df86550602f320d28fdaeb577c25f9821525bfa0 tree babe84aafa5f1dda0849d87954f76d6b844e1d28 parent 0b85c0ebde63a41d57b6214977ac2752bf5a086f author Lennert Buytenhek Wed, 23 Nov 2005 12:49:51 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:27 -0500 [PATCH] pm3386: add hook for setting carrier Add a pm3386 hook for disabling/enabling the SERDES carrier, so that we can disable it when the interface is administratively downed, and enable it when it is upped. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 0b85c0ebde63a41d57b6214977ac2752bf5a086f tree 3ea968ce6be1c92aa6057958633af6392341b105 parent 7ed98bfdea45dbdc66261660357659470935a03a author Lennert Buytenhek Wed, 23 Nov 2005 12:49:47 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:26 -0500 [PATCH] pm3386: add hook for setting MAC address When we reset the pm3386, it loses its internally stored MAC addresses that were programmed into it by the bootloader (and are used by the hardware for the generation of PAUSE frames.) Add a hook to allow setting these addresses so that we can program them back by hand. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 7ed98bfdea45dbdc66261660357659470935a03a tree 43836b1d4869c7a6863f2eb6325a7b3f6e81b71c parent 350f19632d18e808aa1f2ca96f2be86c67de67ff author Lennert Buytenhek Wed, 23 Nov 2005 12:49:43 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:26 -0500 [PATCH] ixp2000: report MAC addresses for each port on init After initialising, report the MAC address that we're using for each port. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 350f19632d18e808aa1f2ca96f2be86c67de67ff tree c7596345ed0cffe6f3d763cf4bbf113a4b9a4ac3 parent c44185d4dcb92384c22e6c01dc09c25adae36a82 author Lennert Buytenhek Wed, 23 Nov 2005 12:49:40 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:26 -0500 [PATCH] enp2611: report link up/down events Report carrier going up/down. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit c44185d4dcb92384c22e6c01dc09c25adae36a82 tree 7a38ba1faaf15caeed9ae41d89b3fa44caa8fbe9 parent de287fd596e2e9ea9a29c397322d0a8b8a470cd1 author Lennert Buytenhek Wed, 23 Nov 2005 12:49:35 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:26 -0500 [PATCH] enp2611: use 'dev' in link status timer We assign nds[i] to a local variable 'dev', which we never use afterwards. Use the local variable instead. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit de287fd596e2e9ea9a29c397322d0a8b8a470cd1 tree 3fcf649ed94a9826eb34a53ff3fa8af257f91bda parent ee61249468ec9bb8d032896ae2e8ba8a8b8c3972 author Lennert Buytenhek Wed, 23 Nov 2005 12:49:30 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:26 -0500 [PATCH] enp2611: don't check netif_running() in link status timer Even after an interface has gone !netif_running(), we still want to catch the 'carrier went down' event for our internal bookkeeping. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit ee61249468ec9bb8d032896ae2e8ba8a8b8c3972 tree f75e8b32e807bc39633fa04d5f47f1c381343ce5 parent 6744a5069bdadd96324290d015103163a0f7a45b author Lennert Buytenhek Wed, 23 Nov 2005 12:49:25 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:26 -0500 [PATCH] ixp2000: use netif_rx_schedule_test The sky2 driver introduced netif_rx_schedule_test(). This is exactly what we need, so remove our local version of this function (which was called netif_rx_schedule_prep_notup) and use the generic one instead. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 6744a5069bdadd96324290d015103163a0f7a45b tree e42efb221b58c2b6d4d27074d114f31094167b6b parent f48a8815f8535c62714cb596281d8480ba9e78ea author Lennert Buytenhek Wed, 23 Nov 2005 12:49:21 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:26 -0500 [PATCH] caleb/pm3386: include proper header files Make caleb.c and pm3386.c include their own header files, to catch incorrect prototype definitions. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit f48a8815f8535c62714cb596281d8480ba9e78ea tree 0ac0c6b826e1d6d7c716bc19aa05c4164f5749d0 parent 178f171da7f0ea5cfc1c45932680c81b3a8a0bd6 author Lennert Buytenhek Wed, 23 Nov 2005 12:49:15 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:26 -0500 [PATCH] pm3386: remove unnecessary udelays Remove a number of unnecessary udelay() calls. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 178f171da7f0ea5cfc1c45932680c81b3a8a0bd6 tree 917fb452574c90838fb3042c39069819bbde4494 parent 0c49919a4706cc8c72ff381da7f3ae094e6df03a author Lennert Buytenhek Wed, 23 Nov 2005 12:49:10 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:25 -0500 [PATCH] pm3386: zero stats properly Zero our stats structure properly. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 0c49919a4706cc8c72ff381da7f3ae094e6df03a tree fe755520cdbf3ecabec1678eb6f6cc1e7362c062 parent 35b8fcab1b293cadd54cdf9e9636cc576d2cad88 author Lennert Buytenhek Wed, 23 Nov 2005 12:49:05 +0100 committer Jeff Garzik Thu, 01 Dec 2005 02:25:25 -0500 [PATCH] ixp2000: register netdevices last Do not register our netdevices with the kernel until we've actually finished setting up the hardware and microcode. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 35b8fcab1b293cadd54cdf9e9636cc576d2cad88 tree bdd203381a36fdeaba35329d4e713b3475685ecb parent 8f7a17d12a8cfd0ab4a50dded8390f6c44f1f205 author shemminger@osdl.org Wed, 23 Nov 2005 22:00:54 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:22:52 -0500 [PATCH] sk98lin: remove /proc interface Remove device specific proc interface. It doesn't handle renames correctly; it ain't worth fixing. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 8f7a17d12a8cfd0ab4a50dded8390f6c44f1f205 tree 87f839240bc9271ba9ecceda5938ddf1bc42223a parent 09f5a214389fe467c2ff15aa2b85349bbde15bce author shemminger@osdl.org Wed, 23 Nov 2005 22:00:53 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:22:52 -0500 [PATCH] sk98lin: remove redundant fields in device info Shrink size of per device data by removing redundant fields or things that are only used at boot up. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 09f5a214389fe467c2ff15aa2b85349bbde15bce tree 3d7929315ebcc558d11fd312796a5c2e99731af3 parent e9022ee6c348d41cb62c55e15a9711f7a96f2399 author shemminger@osdl.org Wed, 23 Nov 2005 22:00:52 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:22:52 -0500 [PATCH] sk98lin: allow ethtool checksum on/off per port Allow control of checksumming parameters via ethtool. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit e9022ee6c348d41cb62c55e15a9711f7a96f2399 tree feaf8a52abe154d492c2be23420ed157395ddcbb parent 5f4f9dc113a7aedca072851f3a51cc563f8e143f parent be0df20cb5ffd36ced9393d004e473d5c531b5da author Jeff Garzik Thu, 01 Dec 2005 02:22:47 -0500 committer Jeff Garzik Thu, 01 Dec 2005 02:22:47 -0500 Merge branch 'upstream-fixes' commit 5f4f9dc113a7aedca072851f3a51cc563f8e143f tree d5d7af1fdd5669a1d57911911bb5502ff45fdb77 parent 50241c4c59453fae01555f67daa96d799d85b968 author shemminger@osdl.org Wed, 30 Nov 2005 11:45:23 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:21 -0500 [PATCH] sky2: update version number Update version number and print version in boot message. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 50241c4c59453fae01555f67daa96d799d85b968 tree ae9183867f950b531ceb2837cc5575b27c3632d0 parent af4ed7e6ba0cba388cf691f3a330089bd46e4d9e author shemminger@osdl.org Wed, 30 Nov 2005 11:45:22 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:21 -0500 [PATCH] sky2: use pci_register_driver Switch to using pci_register_driver as per current convention. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit af4ed7e6ba0cba388cf691f3a330089bd46e4d9e tree ec4da6f110bf391d6a3796629661c7e2a38c99e1 parent 65497dacd8104004f5115dcb2dfe1bf697154ce9 author shemminger@osdl.org Wed, 30 Nov 2005 11:45:21 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:21 -0500 [PATCH] sky2: remove pci-express hacks Eliminate special case tuning for PCI-Express. This code causes receive hangs and doesn't help performance much anyway. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 65497dacd8104004f5115dcb2dfe1bf697154ce9 tree 71d0654c88d08a27815ed239b03cd4f2f9b919a2 parent 2224795d7e4c7f7e44fe21f0fa067d62539308fb author shemminger@osdl.org Wed, 30 Nov 2005 11:45:20 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:20 -0500 [PATCH] sky2: byteorder annotation Use byteorder annotation for hardware structures Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 2224795d7e4c7f7e44fe21f0fa067d62539308fb tree 6414d3d4307daa181b6fc2b19762bd75f2d19ba7 parent 018d1c667ef4dce5299dd79d38447840789c97d6 author shemminger@osdl.org Wed, 30 Nov 2005 11:45:19 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:20 -0500 [PATCH] sky2: dual port tx completion Sometimes on dual port cards, one tx complete may cover both ports. To handle that rearrange poll routine to lookup at end. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 018d1c667ef4dce5299dd79d38447840789c97d6 tree d208b079dcf74dc2c2e9fa4fc6212fefa2172d4d parent 0a1225769763779288d759e904c4f5a660844ce4 author shemminger@osdl.org Wed, 30 Nov 2005 11:45:18 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:20 -0500 [PATCH] sky2: race with MTU change Avoid possible race conditions when doing MTU and change and shutdown. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 0a1225769763779288d759e904c4f5a660844ce4 tree ead21d103bde6bf9099fa05002a7a30078e5e7b6 parent a018e3305fe1e500e28830666b1757b75c6b4df5 author shemminger@osdl.org Wed, 30 Nov 2005 11:45:17 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:20 -0500 [PATCH] sky2: change netif_rx_schedule_test to __netif_schedule_prep I didn't like the name netif_rx_schedule_test(), in earlier patches and changed to __netif_rx_schedule_prep to be more consistent. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit a018e3305fe1e500e28830666b1757b75c6b4df5 tree c67e376ed636971dd9a1fb5fd0ace0228e6399c9 parent 5a5b1ea026572ac0e5e03d7322deb546d60f9e6e author shemminger@osdl.org Wed, 30 Nov 2005 11:45:16 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:20 -0500 [PATCH] sky2: handle DMA boundary crossing Handle the case of DMA spanning 32 bit boundary. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 5a5b1ea026572ac0e5e03d7322deb546d60f9e6e tree 11b85e1097a755559ffb49cb263129885d7cfdfc parent 13210ce5c06ed9537558b85e9c0df4248b28f1f7 author shemminger@osdl.org Wed, 30 Nov 2005 11:45:15 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:20 -0500 [PATCH] sky2: add Yukon-EC ultra support Add support for Yukon-EC Ultra chip as implemented in SysKonnect's driver version 8.26. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 13210ce5c06ed9537558b85e9c0df4248b28f1f7 tree 8fd431a7f071818b82d156ce57604dfd9cc11ded parent 42eeea0145a1c7570624ddeaa15d3f357a52edf8 author shemminger@osdl.org Wed, 30 Nov 2005 11:45:14 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:20 -0500 [PATCH] sky2: improve receive performance Changes to receive side processing: * bigger receive ring * clean up polling loop Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 42eeea0145a1c7570624ddeaa15d3f357a52edf8 tree 4829f52d291508b251e2782e0b6d2d921fd9c858 parent ef743d3359813795fb38c4308bff2311eb30651f author shemminger@osdl.org Wed, 30 Nov 2005 11:45:13 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:19 -0500 [PATCH] sky2: fix receive flush/pause issues Fix issues with pause and flush. This code works on all chip versions tested. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit ef743d3359813795fb38c4308bff2311eb30651f tree 1e8c330cc6cd0d990a83de53c7f12c79821843a4 parent 214376434863f9ca109a7853fbbd6db284d3fba7 author shemminger@osdl.org Wed, 30 Nov 2005 11:45:12 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:19 -0500 [PATCH] sky2: add MII support Add MII ioctl interface to sky2. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 214376434863f9ca109a7853fbbd6db284d3fba7 tree 98dac6bedd25e7c6361b950c5efbd5c432e4bd89 parent e538af42e416ac17368593370f7e1f5a71d55197 author shemminger@osdl.org Wed, 30 Nov 2005 11:45:11 -0800 committer Jeff Garzik Thu, 01 Dec 2005 02:20:19 -0500 [PATCH] sky2: eliminate special case for EC-A1 Eliminate special case for EC-A1. The overhead isn't so great that having config option is worth it. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6946d28a9f47f50fe3dd916e8b4229de9769108e tree eaa7499bf7fd367cbacf777d8eec8ed038ef287d parent 6c9e5eb522bca694a0311898039d2707e9bc7783 parent 5666c0947ede0432ba5148570aa66ffb9febff5b author Jeff Garzik Thu, 01 Dec 2005 01:58:36 -0500 committer Jeff Garzik Thu, 01 Dec 2005 01:58:36 -0500 Merge branch 'master' commit e538af42e416ac17368593370f7e1f5a71d55197 tree 507b90ccb700de4f564cc1a2def19658fe054a0c parent 2226340eb8df9c42f9fca74582d08d5117fc0cec parent 5666c0947ede0432ba5148570aa66ffb9febff5b author Jeff Garzik Thu, 01 Dec 2005 01:54:02 -0500 committer Jeff Garzik Thu, 01 Dec 2005 01:54:02 -0500 Merge branch 'master' commit c8a4f06e4b27dba425ed49fa603d9257e4cd9ece tree e303035bfce92ce11306cea1f487513781ef7d06 parent 4ab432677957e0a064bba3690004d3244de8ad6c parent 5666c0947ede0432ba5148570aa66ffb9febff5b author Jeff Garzik Thu, 01 Dec 2005 01:53:40 -0500 committer Jeff Garzik Thu, 01 Dec 2005 01:53:40 -0500 Merge branch 'master' commit 6c9e5eb522bca694a0311898039d2707e9bc7783 tree 2dfb79fab2031ae0ebb356457532eeb4d31628da parent b71d4da092801634d04190693a38ca03bdbe2505 author Jeff Garzik Wed, 30 Nov 2005 16:42:55 -0500 committer Jeff Garzik Wed, 30 Nov 2005 16:42:55 -0500 [libata sata_promise] minor whitespace cleanup commit 6df8900676c3f5c133328332fb8ad889fd0cc9e3 tree 089fbc42c65cf6768acb99a8b547ad48f2bf4d15 parent be37bdbce7ceaacf4f20c6cc759efbe75ebd1196 author Dave Jones Wed, 30 Nov 2005 13:33:30 -0800 committer Dave Jones Wed, 30 Nov 2005 13:33:30 -0800 [CPUFREQ] Fix indentation in powernow-k8 Signed-off-by: Dave Jones commit de1bb1a64c29bae4f5330c70bd1dc6a62954c9f4 tree 5586b640073f5e344482246cbc4f3fa8d5662f55 parent 227eca83690da7dcbd698d3268e29402e0571723 author Sean Hefty Wed, 30 Nov 2005 10:01:13 -0800 committer Roland Dreier Wed, 30 Nov 2005 10:01:13 -0800 IB/cm: avoid reusing local ID Use an increasing local ID to avoid re-using identifiers while messages may still be outstanding on the old ID. Without this, a quick connect-disconnect-connect sequence can fail by matching messages for the new connection with the old connection. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 227eca83690da7dcbd698d3268e29402e0571723 tree 83a69c7a2f5245486a885d5ea2a2e0e462521075 parent a3c8ab4fe8f006d742c24be677518bfa9862e732 author Sean Hefty Wed, 30 Nov 2005 10:00:25 -0800 committer Roland Dreier Wed, 30 Nov 2005 10:00:25 -0800 IB/cm: correct reported reject code Change reject code from TIMEOUT to CONSUMER_REJECT when destroying a cm_id in the process of connecting. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit a3c8ab4fe8f006d742c24be677518bfa9862e732 tree 641f58f25ced1cd0beea34ace95c8aa01aa82825 parent f4e401562c11c7ca65592ebd749353cf0b19af7b author Jack Morgenstein Wed, 30 Nov 2005 09:55:22 -0800 committer Roland Dreier Wed, 30 Nov 2005 09:55:22 -0800 IB/mthca: fix QP size limits for mem-free HCAs Unlike tavor, the max work queue size is an exact power of 2 for arbel mode, despite what the documentation (of the QUERY_DEV_LIM firmware command) says. Without this patch, on Arbel, we can start with a QP of a valid size and get above the reported limit after rounding to the next power of two. Signed-off-by: Jack Morgenstein Signed-off-by: Michael S. Tsirkin Signed-off-by: Roland Dreier commit 01fc99864ecc678c4f1f476b2a8b64ebcb14e733 tree 947696fdb2f76609d1a079aa6ff57a22e490d803 parent a880b11a95fab4618da412d99fc7365d723e702d parent d2ef5ebb4c4fe141a82252d4db8d8521e6765c5a author Jody McIntyre Wed, 30 Nov 2005 00:45:31 -0500 committer Jody McIntyre Wed, 30 Nov 2005 00:45:31 -0500 Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit be37bdbce7ceaacf4f20c6cc759efbe75ebd1196 tree f1a42fb5a4a17eea41d47d2c002fa303009f5523 parent 019a61b99338d0ac05de25317b85da88e7ec4b35 parent d70aa5e4b54aa7e704c886838715ac8a45d5750f author Dave Jones Tue, 29 Nov 2005 12:48:34 -0800 committer Dave Jones Tue, 29 Nov 2005 12:48:34 -0800 Merge ../linus commit 019a61b99338d0ac05de25317b85da88e7ec4b35 tree 51b3ed2180547ea582a43777244e11f84dd66e4f parent 8aae8284fece2b8fc404ccd40b7a30aa96f317b5 author Langsdorf, Mark Tue, 29 Nov 2005 14:18:03 -0600 committer Dave Jones Tue, 29 Nov 2005 12:46:07 -0800 [PATCH] Support 100 MHz frequency transitions Future versions of the Opteron processor may support frequency transitions of 100 MHz, instead of the=20 current 200 MHz. This patch enables the powernow-k8 driver to transition to an odd FID code, indicating a multiple of 100 MHz frequency. Signed-off-by: Jacob Shin Signed-off-by: Mark Langsdorf Signed-off-by: Dave Jones commit b71d4da092801634d04190693a38ca03bdbe2505 tree e4adc88ade5832b844768c114b15d4d97253c4d0 parent 656563e32c3f1dfdc35b3944305ece1c5dfeade5 parent 624f54be206adf970cd8eece16446b027913e533 author Jeff Garzik Tue, 29 Nov 2005 03:55:47 -0500 committer Jeff Garzik Tue, 29 Nov 2005 03:55:47 -0500 Merge branch 'master' commit 4ab432677957e0a064bba3690004d3244de8ad6c tree 4ef5785f20be6f62bfc7fbe4f124e1751c9cabf5 parent 30765528d156e58d41ed07cae8726c9105111b9d parent 624f54be206adf970cd8eece16446b027913e533 author Jeff Garzik Tue, 29 Nov 2005 03:51:15 -0500 committer Jeff Garzik Tue, 29 Nov 2005 03:51:15 -0500 Merge branch 'master' commit 2226340eb8df9c42f9fca74582d08d5117fc0cec tree c98370844715194600b79f886dbc391633f3e470 parent 2e06cb5859fdaeba0529806eb1bf161ffd0db201 parent 624f54be206adf970cd8eece16446b027913e533 author Jeff Garzik Tue, 29 Nov 2005 03:50:33 -0500 committer Jeff Garzik Tue, 29 Nov 2005 03:50:33 -0500 Merge branch 'master' commit a880b11a95fab4618da412d99fc7365d723e702d tree 10839a82741b7154067adfff425dadef3caf4163 parent 899a1fc084ef3dcb57737d8847bf219cbf353ed3 parent 458af5439fe7ae7d95ca14106844e61f0795166c author Jody McIntyre Mon, 28 Nov 2005 17:46:32 -0500 committer Jody McIntyre Mon, 28 Nov 2005 17:46:32 -0500 Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 2e06cb5859fdaeba0529806eb1bf161ffd0db201 tree aecc5b4de72b70a76145c4d93f4549b83d6f67ee parent 4af452bd03ec73efb1d3bf560d6d22b12d96752e author Jeff Garzik Mon, 28 Nov 2005 13:54:22 -0500 committer Jeff Garzik Mon, 28 Nov 2005 13:54:22 -0500 [bonding] Remove superfluous changelog. No need to record this information in source code, its all in the git repository, and kernel archives. commit 899a1fc084ef3dcb57737d8847bf219cbf353ed3 tree a9dc1c8530524e0ac345f06de6df105f847a7604 parent c64d472abc68dcad4d34f365545058c3f11973d8 parent 989e4d6cbc69191c41ddf4b1c492457410376b43 author Jody McIntyre Tue, 22 Nov 2005 12:38:34 -0500 committer Jody McIntyre Tue, 22 Nov 2005 12:38:34 -0500 Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit c64d472abc68dcad4d34f365545058c3f11973d8 tree e051e99bf02aa54d1167edac1f686ef98b4dcd2c parent 066ef9c2fb30a22eca7724326e210f0405c51f29 author Jens-Michael Hoffmann Tue, 22 Nov 2005 12:37:10 -0500 committer Jody McIntyre Tue, 22 Nov 2005 12:37:10 -0500 ieee1394/raw1394: LIndent fixes This patch contains fixes by LIndent. Signed-off-by: Jens-Michael Hoffmann Signed-off-by: Jody McIntyre commit 066ef9c2fb30a22eca7724326e210f0405c51f29 tree 07b279cab25f0fb767445e09cd9c5eb1264d093b parent 16c333a34a1a0441c54c4fe5cf6052716f95c2fa author Jens-Michael Hoffmann Tue, 22 Nov 2005 12:35:23 -0500 committer Jody McIntyre Tue, 22 Nov 2005 12:35:23 -0500 ieee1394/iso: LIndent fixes This patch contains fixes by LIndent. Signed-off-by: Jens-Michael Hoffmann Signed-off-by: Jody McIntyre commit 16c333a34a1a0441c54c4fe5cf6052716f95c2fa tree d721e53bf18b876109fd5e69015a5a05971e5945 parent 6649e92d792efa00a823781bcee2dba7f21199ba author Jens-Michael Hoffmann Tue, 22 Nov 2005 12:34:16 -0500 committer Jody McIntyre Tue, 22 Nov 2005 12:34:16 -0500 ieee1394/ieee1394_transactions: LIndent fixes This patch contains fixes by LIndent. Signed-off-by: Jens-Michael Hoffmann Signed-off-by: Jody McIntyre commit 6649e92d792efa00a823781bcee2dba7f21199ba tree 5f544e3dd5765dddf89c206960a3021223cbdeed parent a96074e76f87a4f658af4ecfd95edc89cfd61fc1 author Jens-Michael Hoffmann Tue, 22 Nov 2005 12:18:28 -0500 committer Jody McIntyre Tue, 22 Nov 2005 12:18:28 -0500 ieee1394/dma: LIndent fixes This patch contains fixes by LIndent. Signed-off-by: Jens-Michael Hoffmann Signed-off-by: Jody McIntyre commit a96074e76f87a4f658af4ecfd95edc89cfd61fc1 tree 5c791716a5b8533f25025fbd019d72b9f4e9907f parent 5303a986c33ae6c75d5ffb57d06ccf9246a8725a author Jody McIntyre Tue, 22 Nov 2005 12:17:14 -0500 committer Jody McIntyre Tue, 22 Nov 2005 12:17:14 -0500 csr1212: add check for !valid Don't read the keyval if there's already a valid one in place. May not be necessary but shouldn't hurt. Signed-off-by: Jody McIntyre commit 5303a986c33ae6c75d5ffb57d06ccf9246a8725a tree 9e305aeba9188fd0693be26a96ff1eb2efa09cbe parent b12479ddce4aed112e0018fdf8bbb7cfb349ebdc author Jody McIntyre Tue, 22 Nov 2005 12:17:11 -0500 committer Jody McIntyre Tue, 22 Nov 2005 12:17:11 -0500 csr1212: check results of keyval reads csr1212_parse_csr() did not properly check return values when reading keyvals. Fix this by using _csr1212_read_keyval() instead of csr1212_get_keyval() and checking the return code. Signed-off-by: Jody McIntyre commit b12479ddce4aed112e0018fdf8bbb7cfb349ebdc tree a952941828ee564ec9396a57b5228f87eeaac9ec parent d734f92b0dc4c04daa2e0106354972cbbc2e0fbe author Stefan Richter Mon, 21 Nov 2005 17:32:18 -0500 committer Jody McIntyre Mon, 21 Nov 2005 17:32:18 -0500 raw1394: fix memory deallocation in modify_config_rom raw1394: use correct deallocation macro for CSR cache Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit d734f92b0dc4c04daa2e0106354972cbbc2e0fbe tree c0eaa2ea898f5acc05d08bbe1a2914ed4aac8cfc parent 977545e35289b13981614a57fd6c9b82d55e3b4a author Adrian Bunk Mon, 21 Nov 2005 17:32:14 -0500 committer Jody McIntyre Mon, 21 Nov 2005 17:32:14 -0500 drivers/ieee1394/raw1394.c: fix a NULL pointer The coverity checker spotted that this was a NULL pointer dereference in the "if (copy_from_user(...))" case since the next step is to kfree(cache->filled_head). There's no need to free cache at this point, and it's getting free'd later. Signed-off-by: Adrian Bunk Signed-off-by: Jody McIntyre commit e067e1f98d54d62fd598126f95e7684e5b63e67f tree af41d76e7a2a400237d4a9a33b07841385b1120f parent 59d3cf7a40dfdbb8e86758ade172831c19630050 author Sam Ravnborg Mon, 21 Nov 2005 22:59:32 +0100 committer Sam Ravnborg Mon, 21 Nov 2005 22:59:32 +0100 kconfig: truncate too long menu lines in menuconfig menu lines wrapped over too lines when too long - truncate them. Also fixed a coding style issue Signed-off-by: Sam Ravnborg commit 8aae8284fece2b8fc404ccd40b7a30aa96f317b5 tree 3de7b27c168c1f34a7db3e394a590fa44a9656ca parent db93a82fa9d8b4d6e31c227922eaae829253bb88 author Jacob Shin Mon, 21 Nov 2005 07:23:08 -0800 committer Dave Jones Mon, 21 Nov 2005 07:23:08 -0800 [CPUFREQ] Improve Error reporting in powernow-k8 This patch cleans up some error messages in the powernow-k8 driver and makes them more understandable. Signed-off-by: Jacob Shin Signed-off-by: Mark Langsdorf Signed-off-by: Dave Jones commit 59d3cf7a40dfdbb8e86758ade172831c19630050 tree eed9b3e8c4c1e15ff25a53d9ad411d441c966fa9 parent 7c3badf96e0dc8aa89ebf8919653339a5ee8e035 author Sam Ravnborg Sun, 20 Nov 2005 23:34:35 +0100 committer Sam Ravnborg Sun, 20 Nov 2005 23:34:35 +0100 kconfig: make lxdialog/menubox.c more readable Utilising a small macro for print_item made wonders for readability for this file. Signed-off-by: Sam Ravnborg commit 7c3badf96e0dc8aa89ebf8919653339a5ee8e035 tree cbf583b5eb25a264fd11614f2f9c778ee0446aa0 parent 0e175d05a4e72f85918da3ea4bd9f5d3d78face4 author Sam Ravnborg Sun, 20 Nov 2005 23:03:49 +0100 committer Sam Ravnborg Sun, 20 Nov 2005 23:03:49 +0100 kconfig: Fix indention when using menuconfig in text-onle consoles When using menuconfig in a text-only console (no X started) the indention was often two spaces wrong. This proved to be a ncurses issue which are worked around by calling wrefresh more often. Signed-off-by: Sam Ravnborg commit 0e175d05a4e72f85918da3ea4bd9f5d3d78face4 tree c5cc66d5af52c048c24f9a182bda06135653f9cf parent fa7009d5b59b8acd8071f7b3057d36eeeaf08146 author Sam Ravnborg Sun, 20 Nov 2005 22:41:21 +0100 committer Sam Ravnborg Sun, 20 Nov 2005 22:41:21 +0100 kconfig: Left aling menu items in menuconfig Keeping menu lines on a fixed position creates less visual noise when navigating the menus. Signed-off-by: Sam Ravnborg commit 656563e32c3f1dfdc35b3944305ece1c5dfeade5 tree 2c04a7099de3b088a95bc36401ebac4287cdf3c7 parent 1b15688b31d8c88881102426279e8cc03953860b author Jeff Garzik Sun, 20 Nov 2005 03:36:45 -0500 committer Jeff Garzik Sun, 20 Nov 2005 03:36:45 -0500 [libata] Print out SATA speed, if link is up Make the SATA phy probe messages a bit more informative. Note this only applies to drivers that use __sata_phy_reset(), which excludes some drivers. commit 30765528d156e58d41ed07cae8726c9105111b9d tree 95021732c4c13eaabc88eb037fed89d38f45d496 parent e1d7a2de6c4249072dd886c129410e11e637ceff parent 3bedff1d73b86e0cf52634efb447e9ada08f2cc6 author Jeff Garzik Sun, 20 Nov 2005 01:05:46 -0500 committer Jeff Garzik Sun, 20 Nov 2005 01:05:46 -0500 Merge branch 'master' commit 4af452bd03ec73efb1d3bf560d6d22b12d96752e tree 25b79c5aa3f35da523b4a1f89e7734070a8931ce parent 625876f32ed63af262db3d0ac8178d2c0f510636 parent 3bedff1d73b86e0cf52634efb447e9ada08f2cc6 author Jeff Garzik Sun, 20 Nov 2005 01:05:35 -0500 committer Jeff Garzik Sun, 20 Nov 2005 01:05:35 -0500 Merge branch 'master' commit 1b15688b31d8c88881102426279e8cc03953860b tree a54f0d0ec7f3a1b59c7eeb733eb10a78565bee23 parent 4b317d212cc23a1d635ca8329c802224178afddf parent 3bedff1d73b86e0cf52634efb447e9ada08f2cc6 author Jeff Garzik Sun, 20 Nov 2005 00:40:19 -0500 committer Jeff Garzik Sun, 20 Nov 2005 00:40:19 -0500 Merge branch 'master' commit 977545e35289b13981614a57fd6c9b82d55e3b4a tree fcc58ffce6aadf392004c6e0bbbb0d4276c6116d parent e4cda1654e5c0be4b68e29011e8dc04977286df9 author Stefan Richter Sat, 19 Nov 2005 21:35:22 -0500 committer Jody McIntyre Sat, 19 Nov 2005 21:35:22 -0500 sbp2: slimmer interface to scsi_mod - sbp2scsi_reset does not need to take host_lock - sbp2scsi_reset, as our device reset handler, does not need to stand in as bus reset or host reset handler - let scsi_mod use scsi_host_template.name instead of .info (sbp2 is not an emulation anway) Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit e4cda1654e5c0be4b68e29011e8dc04977286df9 tree bd368877ba69f4a9833a094de535ff3cb34b0762 parent e27d3014f301e6aee7b65b62ad1da2940e1fd8de author Damien Douxchamps Sat, 19 Nov 2005 21:32:03 -0500 committer Jody McIntyre Sat, 19 Nov 2005 21:32:03 -0500 Fix incorrect video1394 timestamps. This patch fixes the incoherent timestamps generated by video1394 since the single-buffer patch was applied in 2.6.11. Credits have also been removed from the header and a "//" comment was changed to "/* */". Signed-off-by: Damien Douxchamps Signed-off-by: Jody McIntyre commit e27d3014f301e6aee7b65b62ad1da2940e1fd8de tree 9469127827205caa3f6700c02d150dcd412a3f16 parent 35267ab61f0bf7a867ac87e19714b858d08d440a author Adrian Bunk Sat, 19 Nov 2005 21:23:48 -0500 committer Jody McIntyre Sat, 19 Nov 2005 21:23:48 -0500 Every file should #include the headers containing the prototypes for it's global functions. Signed-off-by: Adrian Bunk Signed-off-by: Jody McIntyre commit fa7009d5b59b8acd8071f7b3057d36eeeaf08146 tree ba88e9f448aed4c047d8ce311ba44c8731ee96c2 parent a06104af7dcf2f5bafaf18f373c8b2554cbfe014 author Sam Ravnborg Sat, 19 Nov 2005 23:38:06 +0100 committer Sam Ravnborg Sat, 19 Nov 2005 23:38:06 +0100 kconfig: Add print_title helper in lxdialog Simplify check for long title and use a helper function in util.c Signed-off-by: Sam Ravnborg commit a06104af7dcf2f5bafaf18f373c8b2554cbfe014 tree 97015ab8a4bb1c97d6775c53e0e3190cc5d31da7 parent dec69da856653772d7ee7b2f98dc69da27274a22 author Sam Ravnborg Sat, 19 Nov 2005 22:17:55 +0100 committer Sam Ravnborg Sat, 19 Nov 2005 22:17:55 +0100 kconfig: lxdialog is now sparse clean Replacing a gcc idiom with malloc and deleting an unused global variable made lxdialog sparse clean. Signed-off-by: Sam Ravnborg commit dec69da856653772d7ee7b2f98dc69da27274a22 tree 020cf19de028a402a6bfc792caaffeddaf5a3e9b parent b1c5f1c635f4a821f834ed51ccd8a2a1515fffd2 author Sam Ravnborg Sat, 19 Nov 2005 21:56:20 +0100 committer Sam Ravnborg Sat, 19 Nov 2005 21:56:20 +0100 kconfig: fixup after Lindent Readability are more important then the 80 coloumn limit, so fold several lines to greatly improve readability. Also keep return type on same line as function definition. Signed-off-by: Sam Ravnborg commit b1c5f1c635f4a821f834ed51ccd8a2a1515fffd2 tree 7325e59c16a2b90fd6f78ab491f7ef48bfd409b9 parent b286e39207237e2f6929959372bf66d9a8d05a82 author Sam Ravnborg Sat, 19 Nov 2005 19:13:34 +0100 committer Sam Ravnborg Sat, 19 Nov 2005 19:13:34 +0100 kconfig: Lindent scripts/lxdialog The lxdialog code was not easy to read. So as first step the code was run through Lindent. Fix-ups will come in next patchset. Signed-off-by: Sam Ravnborg commit 4b317d212cc23a1d635ca8329c802224178afddf tree c671d279518dad01e58ff97b639fdb984aa2c9e6 parent 79bfb0a98fdc73ed6a18469cef245cbf50a1d8bb parent b286e39207237e2f6929959372bf66d9a8d05a82 author Jeff Garzik Fri, 18 Nov 2005 19:55:06 -0500 committer Jeff Garzik Fri, 18 Nov 2005 19:55:06 -0500 Merge branch 'master' commit 625876f32ed63af262db3d0ac8178d2c0f510636 tree 93a0d2d5332fa679ecb99eee7b0955e444d6a41a parent c902f981b79b512eb3d0c0410f8cae88c78beb57 parent b286e39207237e2f6929959372bf66d9a8d05a82 author Jeff Garzik Fri, 18 Nov 2005 19:54:12 -0500 committer Jeff Garzik Fri, 18 Nov 2005 19:54:12 -0500 Merge branch 'master' commit 35267ab61f0bf7a867ac87e19714b858d08d440a tree db84140a40b22208fe2a598fa233c26e79eb6465 parent a9931a6e37c09f6b76a9fa0cbd777c335548692b parent 8907e94be2661be940c622232d6ce5ae938f10c3 author Jody McIntyre Fri, 18 Nov 2005 15:16:15 -0500 committer Jody McIntyre Fri, 18 Nov 2005 15:16:15 -0500 Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit c902f981b79b512eb3d0c0410f8cae88c78beb57 tree 6c18ba859a0d11d14402b3c1b303f00f0e561915 parent 97bae8dc961f59e81e85c7f92ff04f5ff73c20e8 parent f7492f17f2123f0f4db5f9e8ba89867a7b352658 author Jeff Garzik Fri, 18 Nov 2005 15:07:11 -0500 committer Jeff Garzik Fri, 18 Nov 2005 15:07:11 -0500 Merge branch 'upstream-fixes' commit e1d7a2de6c4249072dd886c129410e11e637ceff tree 14f3488490c4792007d4c9d678c9899c408b85f8 parent fc71fe40d2bedcc57d3406bf2050481f8b3441b6 parent 6b27adb607282addcfe2707783dfcc28ba3a753b author Jeff Garzik Fri, 18 Nov 2005 13:58:20 -0500 committer Jeff Garzik Fri, 18 Nov 2005 13:58:20 -0500 Merge branch 'linville-e1000' of git://git.tuxdriver.com/git/netdev-jwl commit 6b27adb607282addcfe2707783dfcc28ba3a753b tree 23cbb0796320ac9f77f3c5613d9dd6bcb4bf690a parent e98fc4aae10b925ad5aa739c483abf78d80b66db author John W. Linville Tue, 08 Nov 2005 15:59:30 -0500 committer John W. Linville Fri, 18 Nov 2005 13:52:39 -0500 [PATCH] e1000: zero-out pointers in e1000_free_desc_rings In e1000_free_desc_rings, zero-out pointers after the memory they point to is freed. The test rings are static and get re-used, and failures during subsequent test setups can cause e1000_free_desc_rings to get called with dirty pointers. Dirty pointers can cause oopses or crashes... Signed-off-by: John W. Linville commit e98fc4aae10b925ad5aa739c483abf78d80b66db tree bb7ff2db2dcf8630e72a4b26b32319d59d0467d7 parent cd52d1ee9a92587b242d946a2300a3245d3b885a author John W. Linville Tue, 08 Nov 2005 15:45:02 -0500 committer John W. Linville Fri, 18 Nov 2005 13:52:39 -0500 [PATCH] e1000: avoid leak when e1000_setup_loopback_test fails In e1000_loopback_test, make sure to call e1000_free_desc_rings if e1000_setup_loopback_test fails. Currently in that case it will not get called, causing a leak. Signed-off-by: John W. Linville commit 97bae8dc961f59e81e85c7f92ff04f5ff73c20e8 tree 4b1d350e36c76cf1d1665292976af8cc10d57e4c parent 15d014d13149aedd76cbff1b5c3bbfe839391457 parent cea00da3972806d213a7dbe1b98e889435385e6b author Jeff Garzik Fri, 18 Nov 2005 13:36:39 -0500 committer Jeff Garzik Fri, 18 Nov 2005 13:36:39 -0500 Merge branch 'upstream-fixes' commit 15d014d13149aedd76cbff1b5c3bbfe839391457 tree 748af38a44021cf286016b179e58190b685c1630 parent 7f7f53168dbee6d6a462acea666fddd18aad4f08 author Lennert Buytenhek Fri, 11 Nov 2005 18:23:13 +0100 committer Jeff Garzik Fri, 18 Nov 2005 13:32:22 -0500 [PATCH] intel ixp2000 network driver The way the hardware and firmware work is that there is one shared RX queue and IRQ for a number of different network interfaces. Due to this, we would like to process received packets for every interface in the same NAPI poll handler, so we need a pseudo-device to schedule polling on. What the driver currently does is that it always schedules polling for the first network interface in the list, and processes packets for every interface in the poll handler for that first interface -- however, this scheme breaks down if the first network interface happens to not be up, since netif_rx_schedule_prep() checks netif_running(). sky2 apparently has the same issue, and Stephen Hemminger suggested a way to work around this: create a variant of netif_rx_schedule_prep() that does not check netif_running(). I implemented this locally and called it netif_rx_schedule_prep_notup(), and it seems to work well, but it's something that probably not everyone would be happy with. The ixp2000 is an ARM CPU with a high-speed network interface in the CPU itself (full duplex 4Gb/s or 10Gb/s depending on the IXP model.) The CPU package also contains 8 or 16 (again depending on the IXP model) 'microengines', which are somewhat primitive but very fast and efficient processor cores which can be used to offload various things from the main CPU. This driver makes the high-speed network interface in the CPU visible and usable as a regular linux network device. Currently, it only supports the Radisys ENP2611 IXP board, but adding support for other board types should be fairly easy. Signed-off-by: Lennert Buytenhek Signed-off-by: Jeff Garzik commit 7f7f53168dbee6d6a462acea666fddd18aad4f08 tree 9c59f9b4b7c06f70b48197408f37398e54b4771e parent fed5eccdcf542742786701b2514b5cb7ab282b93 author Andy Fleming Fri, 11 Nov 2005 12:38:59 -0600 committer Jeff Garzik Fri, 18 Nov 2005 13:31:26 -0500 [PATCH] Gianfar update and sysfs support This seems to have gotten lost, so I'll resend. Signed-off-by: Andy Fleming * Added sysfs support to gianfar for modifying FIFO and stashing parameters * Updated driver to support 10 Mbit, full duplex operation * Improved comments throughout * Cleaned up and optimized offloading code * Fixed a bug where rx buffers were being improperly mapped and unmapped * (only manifested if cache-coherency was off) * Added support for using the eTSEC exact-match MAC registers * Bumped the version to 1.3 * Added support for distinguishing between reduced 100 and 10 Mbit modes * Modified default coalescing values to lower latency * Added documentation Signed-off-by: Jeff Garzik commit fed5eccdcf542742786701b2514b5cb7ab282b93 tree 526e89f8c7ee9793f6980368f334aca09c62b475 parent 1f8fc99300c6247cace008c470f31eb86e9e7802 author Ananda Raju Mon, 14 Nov 2005 15:25:08 -0500 committer Jeff Garzik Fri, 18 Nov 2005 13:28:15 -0500 [PATCH] s2io: UFO support This patch implements the UFO support in S2io driver. This patch uses the UFO interface available in linux-2.6.15 kernel. Signed-off-by: Ananda Raju Signed-off-by: Jeff Garzik commit 1f8fc99300c6247cace008c470f31eb86e9e7802 tree 8e09406ea2d7a4de8343185277576fed47725d97 parent 638cbac8de9b57345a9446e107b6aebc10b58970 parent 7635d345b2c047339b44c85fff486c6b94b67216 author Jeff Garzik Fri, 18 Nov 2005 13:23:52 -0500 committer Jeff Garzik Fri, 18 Nov 2005 13:23:52 -0500 Merge branch 'upstream-jgarzik' of git://git.tuxdriver.com/git/netdev-jwl commit 638cbac8de9b57345a9446e107b6aebc10b58970 tree e445fe3a1b8ad718d7ee770ed1c7a43e3eb5a611 parent f055408957750cf759162c364c2a4dfe19765844 parent fc71fe40d2bedcc57d3406bf2050481f8b3441b6 author Jeff Garzik Fri, 18 Nov 2005 13:23:21 -0500 committer Jeff Garzik Fri, 18 Nov 2005 13:23:21 -0500 Merge branch 'master' commit 79bfb0a98fdc73ed6a18469cef245cbf50a1d8bb tree faf5312c25eebfa11bd1f65c881bfac07c945f2b parent 67cb6e842e7f1e534a5e0e8708a8779e33b60520 parent fc71fe40d2bedcc57d3406bf2050481f8b3441b6 author Jeff Garzik Fri, 18 Nov 2005 11:30:38 -0500 committer Jeff Garzik Fri, 18 Nov 2005 11:30:38 -0500 Merge branch 'master' commit a9931a6e37c09f6b76a9fa0cbd777c335548692b tree cd6ba9d36e350dd6188f7b8f95efc59c85d34485 parent 7301c8d3a05dc52d33598364da7c4eb6ab6357eb parent 811803c5572b296e0031e0099203de90d77c7bcf author Jody McIntyre Fri, 18 Nov 2005 00:18:25 -0500 committer Jody McIntyre Fri, 18 Nov 2005 00:18:25 -0500 Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git commit 7301c8d3a05dc52d33598364da7c4eb6ab6357eb tree 715c5caaa11427e0c0a736692ebee156317588f2 parent ef797546a93fffa9d8508e7c8539b352b6678568 author Jody McIntyre Fri, 18 Nov 2005 00:16:26 -0500 committer Jody McIntyre Fri, 18 Nov 2005 00:16:26 -0500 Remove amdtp, cmp drivers. Remove the Audio and Music Data Transmission Protocol driver and the Connection Management Procedures driver. These are incomplete, have never worked, and are better implemented in userland via raw1394 (see http://freebob.sourceforge.net/ for example.) Signed-off-by: Jody McIntyre Cc: Adrian Bunk commit 67cb6e842e7f1e534a5e0e8708a8779e33b60520 tree 1c887edd39fddb9016949976fea48f7ca22bae4b parent 8bb6030b62a70edc0cb8129338f83e9063aeaf92 parent a2c91a8819e315e9fd1aef3ff57badb6c1be3f80 author Jeff Garzik Thu, 17 Nov 2005 11:16:39 -0500 committer Jeff Garzik Thu, 17 Nov 2005 11:16:39 -0500 Merge branch 'upstream-fixes' commit 7635d345b2c047339b44c85fff486c6b94b67216 tree 26c3084df392c33094fd58bba0b8286e56940e18 parent 5bc4c36d7cd9f1605efeade67b3d27845a4affcd author Adrian Bunk Sun, 13 Nov 2005 13:26:25 -0500 committer John W. Linville Wed, 16 Nov 2005 14:13:20 -0500 [PATCH] hostap: rename hostap.c to hostap_main.c I wanted to remove the #include "hostap_ioctl.c" from hostap.c and build hostap_ioctl.c separately, but this doesn't work since hostap.c has the same name as the module. After renaming hostap.c this will be possible. Signed-off-by: Adrian Bunk Acked-by: Jouni Malinen Signed-off-by: John W. Linville commit 5bc4c36d7cd9f1605efeade67b3d27845a4affcd tree e843b8935601345fb926bf979a31f43b34d44079 parent 4d791aadf63c9d605bc9a4144e79d5756fc29fb3 author Christophe Lucas Sat, 12 Nov 2005 21:58:53 +0300 committer John W. Linville Wed, 16 Nov 2005 14:13:20 -0500 [PATCH] atmel: audit return code of create_proc_read_entry Signed-off-by: Christophe Lucas Signed-off-by: Alexey Dobriyan Signed-off-by: John W. Linville commit 4d791aadf63c9d605bc9a4144e79d5756fc29fb3 tree 8a8d09d11a00a1d3487fd76c3ffc371ac2aff160 parent c1120b22499d7e13e5cd2349cb2168b76d0edaca author Carlo Perassi Sun, 13 Nov 2005 15:02:15 +0300 committer John W. Linville Wed, 16 Nov 2005 14:13:20 -0500 [PATCH] atmel: CodingStyle cleanup Reading this driver I noticed some trailing whitespaces and tabs so I removed them with some 80th column fitting and a few more similar things. Signed-off-by: Carlo Perassi Signed-off-by: Alexey Dobriyan Signed-off-by: John W. Linville commit c1120b22499d7e13e5cd2349cb2168b76d0edaca tree a6a24330218cd5b2c709c403413c86bd794b6e61 parent 9a648f3c535cb6b24a5f0538d032aea9a33ec515 author Tobias Klauser Sat, 12 Nov 2005 23:46:43 +0300 committer John W. Linville Wed, 16 Nov 2005 14:13:20 -0500 [PATCH] Remove drivers/net/wan/lmc/lmc_prot.h "grep "lmc_prot\." -r ." didn't show anything. lmc_proto.h seems to have the correct prototypes, and is actually used. Signed-off-by: Tobias Klauser Signed-off-by: Alexey Dobriyan Signed-off-by: John W. Linville commit 9a648f3c535cb6b24a5f0538d032aea9a33ec515 tree 462506eaa9284d610e681cc5fca0aac4e762e073 parent c8ebd3a37f0e7a2aae337279d58a50c1a1fcd053 author John W. Linville Sun, 13 Nov 2005 00:33:32 -0500 committer John W. Linville Wed, 16 Nov 2005 14:13:20 -0500 [PATCH] skge: fix warning from inlining SkPciWriteCfgDWord() Making SkPciWriteCfgDWord a static inline produces a warning due to a forward declaration in skdrv2nd.h. This patch removes that declaration. Signed-off-by: John W. Linville commit c8ebd3a37f0e7a2aae337279d58a50c1a1fcd053 tree 7c47b5d4c224cbd903554e0d0c8e1c55bf05743f parent cd52d1ee9a92587b242d946a2300a3245d3b885a author Adrian Bunk Fri, 11 Nov 2005 20:44:21 +0100 committer John W. Linville Wed, 16 Nov 2005 14:13:20 -0500 [PATCH] drivers/net/sk98lin/skge.c: make SkPciWriteCfgDWord() a static inline No external user and that small - such a function should be static inline and not a global function. Signed-off-by: Adrian Bunk Signed-off-by: John W. Linville commit 8bb6030b62a70edc0cb8129338f83e9063aeaf92 tree db4fd4c255e93c2090ba421bf716bc09aaf50f14 parent 77ed78e5cf32be1c3fae5c477cc1d78e2e3f17db parent 7bdd720869ff75700b48b132ee71852615b55808 author Jeff Garzik Wed, 16 Nov 2005 11:07:14 -0500 committer Jeff Garzik Wed, 16 Nov 2005 11:07:14 -0500 Merge branch 'upstream-fixes' commit 77ed78e5cf32be1c3fae5c477cc1d78e2e3f17db tree 805db8c5c180ee7ee85b3c484461100c91f6c781 parent 68bdbdf0b32566e1ebd41415bde9a7c43b47bf48 parent f6ff56cd56b83d8edf4b3cffc5c53c56b37a5081 author Jeff Garzik Tue, 15 Nov 2005 20:56:07 -0500 committer Jeff Garzik Tue, 15 Nov 2005 20:56:07 -0500 Merge branch 'master' commit 68bdbdf0b32566e1ebd41415bde9a7c43b47bf48 tree 318997f4a8b4aa8b8c0cbcbc310e849ed45b2e26 parent 1c24a412fd8873bcacba7ed8a1780d12b86b6cb5 parent 9f68a24853dd37d18f2cfa979cf4e131f5a10e8f author Jeff Garzik Tue, 15 Nov 2005 14:25:12 -0500 committer Jeff Garzik Tue, 15 Nov 2005 14:25:12 -0500 Merge branch 'upstream-fixes' commit f055408957750cf759162c364c2a4dfe19765844 tree aecc0a13c582d310902e6fa95d8853c627828fcc parent 83cbd33aae2c3cd14f80a8abf733033a57aa4923 parent 4060994c3e337b40e0f6fa8ce2cc178e021baf3d author Jeff Garzik Tue, 15 Nov 2005 04:51:40 -0500 committer Jeff Garzik Tue, 15 Nov 2005 04:51:40 -0500 Merge branch 'master' commit 83cbd33aae2c3cd14f80a8abf733033a57aa4923 tree de05bf460a181d5ff68257418021e10fa262da93 parent 06d61cbf7c2522f43c09d5bb050acd0bd31812c0 parent 691b73b13220886aefacb7c7f7ace7f528bbf800 author Jeff Garzik Tue, 15 Nov 2005 04:49:03 -0500 committer Jeff Garzik Tue, 15 Nov 2005 04:49:03 -0500 Merge branch 'bonding-sysfs' of git://git.tuxdriver.com/git/netdev-jwl commit 1c24a412fd8873bcacba7ed8a1780d12b86b6cb5 tree 1ce366866a4f759e2366a56a24045bfbe963dd50 parent e74ac79956ecb56e71a398c57eb10fab8c58a562 author Jeff Garzik Mon, 14 Nov 2005 18:20:23 -0500 committer Jeff Garzik Mon, 14 Nov 2005 18:20:23 -0500 [libata ata_piix] cleanup: remove duplicate ata_port_info records commit e74ac79956ecb56e71a398c57eb10fab8c58a562 tree 546f400f9b011351eb622af3f9e9edea4fab30a8 parent c6e6e666cbfe40f0d7fb1a293ff6332973acac37 author Jeff Garzik Mon, 14 Nov 2005 18:16:37 -0500 committer Jeff Garzik Mon, 14 Nov 2005 18:16:37 -0500 [libata] remove two unused fields from struct ata_port commit 691b73b13220886aefacb7c7f7ace7f528bbf800 tree 3e4a99b220cc25e247b8c903e987c58aa5a13c72 parent e944ef79184ff7f283e7bf79496d2873a0b0410b author Mitch Williams Wed, 09 Nov 2005 10:36:57 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:21 -0500 [PATCH] bonding: comments and changelog Bonding source files still have changelogs in the comments. This, then, is an update to that changelog. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit e944ef79184ff7f283e7bf79496d2873a0b0410b tree ca9e94fa50fc3a43f1f61d90f429bfa3adbca05e parent 39755cad88f7b26dcb1edf9dcf14bd85f8fc2a3a author Mitch Williams Wed, 09 Nov 2005 10:36:50 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:21 -0500 [PATCH] bonding: spelling and whitespace corrections Minor spelling and whitespace corrections. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 39755cad88f7b26dcb1edf9dcf14bd85f8fc2a3a tree ca97e884af3e241f356808cb8888d24d1197ef3e parent b76cdba9cdb29b091cacb4c11534ffb2eac02f64 author Mitch Williams Wed, 09 Nov 2005 10:36:46 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:21 -0500 [PATCH] bonding: version update Update the version number for the bonding module. Since we've just added a significant new feature (sysfs support), bump the major number. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit b76cdba9cdb29b091cacb4c11534ffb2eac02f64 tree a9125448834fd8daf6ae50bfa376d6a6ee697425 parent 4756b02f558cbbbef5ae278fd3bbed778458c124 author Mitch Williams Wed, 09 Nov 2005 10:36:41 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:21 -0500 [PATCH] bonding: add sysfs functionality to bonding (large) This large patch adds sysfs functionality to the channel bonding module. Bonds can be added, removed, and reconfigured at runtime without having to reload the module. Multiple bonds with different configurations are easily configured, and ifenslave is no longer required to configure bonds. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 4756b02f558cbbbef5ae278fd3bbed778458c124 tree 8eca3a9d61659ab236080014ddb1967c0b39fb38 parent 6b780567223524cac86c745aeac425521cf37490 author Mitch Williams Wed, 09 Nov 2005 10:36:25 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:20 -0500 [PATCH] bonding: add ARP entries to /proc Make the /proc files show which ARP targets are in use by each bond. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 6b780567223524cac86c745aeac425521cf37490 tree 98fbe73fc3ec76aa90c1706e42969b799dc0d70a parent 3c535952d86df83f817595068c9fd2b3cfbd3a4d author Mitch Williams Wed, 09 Nov 2005 10:36:19 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:20 -0500 [PATCH] bonding: Allow ARP target table to have empty entries With the sysfs interface, the user can remove entries from the ARP table at runtime. The ARP monitor code now allows for empty entries in the table. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 3c535952d86df83f817595068c9fd2b3cfbd3a4d tree 39b7cc83918b32ad4a4487d20c94221a793c357f parent dfe60397a62b1a5ebc7f05fd65463d3e29397677 author Mitch Williams Wed, 09 Nov 2005 10:36:11 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:20 -0500 [PATCH] bonding: make bond_init not __init The sysfs interface can create bonds at runtime, and __init code goes away after module init. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit dfe60397a62b1a5ebc7f05fd65463d3e29397677 tree 4f11c617486af7497356edfd87c276d81ed466d6 parent a77b53258d76513c37e766dc0db1fc9db7c4ac1e author Mitch Williams Wed, 09 Nov 2005 10:36:04 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:20 -0500 [PATCH] bonding: move bond creation into separate function The sysfs interface can create bonds at runtime, so we need a separate function to do this, instead of just doing it in the module init code. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit a77b53258d76513c37e766dc0db1fc9db7c4ac1e tree ac3be1ed375bc7452bbf1ba4d4f962fe743e6307 parent 12479f9a823dc7d791f198af2d3e4efae418a65e author Mitch Williams Wed, 09 Nov 2005 10:35:51 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:20 -0500 [PATCH] bonding: make functions not static The sysfs code needs access these functions, so make them not static, and move the protos to the header file. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 12479f9a823dc7d791f198af2d3e4efae418a65e tree 276e753e6d9a4755678ff2a198f7695e96e85963 parent b76850ab577bb4b929e60894d2025bbfcc043984 author Mitch Williams Wed, 09 Nov 2005 10:35:44 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:20 -0500 [PATCH] bonding: expose some structs The sysfs code needs to know what these structs look like, so make them not static, and move the definition to the header. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit b76850ab577bb4b929e60894d2025bbfcc043984 tree 0d1c22d205d026cf96da0fa6b014a0c3f915358c parent 0d206a3af4329bd833cfa5fe1cc7fe146e49c131 author Mitch Williams Wed, 09 Nov 2005 10:35:35 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:19 -0500 [PATCH] bonding: explicitly clear RLB flag during ALB init Explicitly clear RLB flag during ALB init. This is needed for sysfs support, since the bond mode can be changed at runtime via sysfs. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 0d206a3af4329bd833cfa5fe1cc7fe146e49c131 tree 755e5a7703e8bbed56429ff748ad4ee7963c02df parent 0f418b2ac49e97b7b763e0473320a201eec15ed3 author Mitch Williams Wed, 09 Nov 2005 10:35:30 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:19 -0500 [PATCH] bonding: move kmalloc out of spinlock in ALB init Move memory allocations out of the spinlock during ALB init. This gets rid of a sleeping-inside-spinlock warning and accompanying stack dump. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 0f418b2ac49e97b7b763e0473320a201eec15ed3 tree 035d1f855c355371e0b84ea5d22470def2be1a6b parent c61b75ad03f3a30ef247cac27406f030c10628b0 author Mitch Williams Wed, 09 Nov 2005 10:35:21 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:19 -0500 [PATCH] bonding: get slave name from actual slave instead of param list Take the primary slave name shown in /proc from the actual slave dev instead of from the command-line parameter, which won't be present if the bond is created via sysfs. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit c61b75ad03f3a30ef247cac27406f030c10628b0 tree de59b51dc8b2906981e360b48567d28ccbd14167 parent 2ac47660f9b4d0ea1a2ab9becba03c14ef5d9b99 author Mitch Williams Wed, 09 Nov 2005 10:35:13 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:18 -0500 [PATCH] bonding: Add transmit policy to /proc Adds information about the recently-added transmit policy setting to each bond's /proc file. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 2ac47660f9b4d0ea1a2ab9becba03c14ef5d9b99 tree 65486155a386bc6d395c20a3d8f4fe472a3479de parent 4e0952c74ee450ded86e8946ce58ea8dfd05b007 author Mitch Williams Wed, 09 Nov 2005 10:35:03 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:18 -0500 [PATCH] bonding: expand module param descriptions Expand and correct the parameter descriptions shown by modinfo. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 4e0952c74ee450ded86e8946ce58ea8dfd05b007 tree 07e10c7adaf8f95d11d5e2181e2adce30c47d3ba parent c2373ee98982a1c842dfb213c398f388d4227e63 author Mitch Williams Wed, 09 Nov 2005 10:34:57 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:18 -0500 [PATCH] bonding: add bond name to all error messages Add the bond name to all error messages so we can tell which one is complaining. Also reformats some error messages to be more consistent. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit c2373ee98982a1c842dfb213c398f388d4227e63 tree 78b02f37f11503c0b2c85da1fb1811f430e8c163 parent 1e2e5659656b8b9bd9fa4714355d91282cb74178 author Mitch Williams Wed, 09 Nov 2005 10:34:45 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:18 -0500 [PATCH] net: make dev_valid_name public dev_valid_name() is a useful function. Make it public. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 1e2e5659656b8b9bd9fa4714355d91282cb74178 tree dd7aa1b83de409743b21d9e71b3e8a1834ad6f67 parent cd52d1ee9a92587b242d946a2300a3245d3b885a author Mitch Williams Wed, 09 Nov 2005 10:34:01 -0800 committer John W. Linville Sun, 13 Nov 2005 14:48:17 -0500 [PATCH] net: allow newline terminated IP addresses in in_aton in_aton() gives weird results if it sees a newline at the end of the input. This patch makes it able to handle such input correctly. Signed-off-by: Mitch Williams Acked-by: Jay Vosburgh Signed-off-by: John W. Linville commit 925142431bd653175b80ae153bd7a8bc13628bde tree 594c1e65d3bf25b10961ea2b97dee5704b4f6cb5 parent 792d2b9a12594522111fbe2a7f17460a4d7edff7 author Dave Airlie Sat, 12 Nov 2005 21:52:46 +1100 committer Dave Airlie Sat, 12 Nov 2005 21:52:46 +1100 drm: update VIA driver to 2.7.2 Add PCI DMA blitengine to VIA DRM Add portability code for porting VIA to FreeBSD. Sync via_drm.h with 3d driver From: Thomas Hellstrom , Eric Anholt Signed-off-by: Dave Airlie commit 06d61cbf7c2522f43c09d5bb050acd0bd31812c0 tree 2ce1fb910566961de2d2ff1f2f01a9c0546d8092 parent 34afd638d0b0698e66b6aa4f749face019a3e90f parent d0bbccfa3297d3ef6ae4691585abde9a6c26b186 author Jeff Garzik Fri, 11 Nov 2005 22:48:14 -0500 committer Jeff Garzik Fri, 11 Nov 2005 22:48:14 -0500 Merge branch 'sky2' commit 34afd638d0b0698e66b6aa4f749face019a3e90f tree 23b62a0fec98d5bc8cb0d8166ab6e7f4e1da8a20 parent 5d06b6bef96ebb27ae9e36656df3c5ef0a2a93ca parent e532c37858fdcc18e9a91d24c2e22cd21aa22561 author Jeff Garzik Fri, 11 Nov 2005 22:47:48 -0500 committer Jeff Garzik Fri, 11 Nov 2005 22:47:48 -0500 Merge branch 'sis900-wol' commit 5d06b6bef96ebb27ae9e36656df3c5ef0a2a93ca tree 1f1d5187841d3f771018f364a905044bef84b033 parent cd52d1ee9a92587b242d946a2300a3245d3b885a parent 0192d69789582f02c015cba77cac514c7291c347 author Jeff Garzik Fri, 11 Nov 2005 22:47:41 -0500 committer Jeff Garzik Fri, 11 Nov 2005 22:47:41 -0500 Merge branch '8139-thread' commit 792d2b9a12594522111fbe2a7f17460a4d7edff7 tree bf2463b4047d35555b882969adf21ec9202f7527 parent 7ccf800e9415daf9214eb667318e356f9a3d81fc author Dave Airlie Fri, 11 Nov 2005 23:30:27 +1100 committer Dave Airlie Fri, 11 Nov 2005 23:30:27 +1100 drm: drop mtrr from i915 Alan Hourihane wants to set MTRR in the DDX only as otherwise we get problems with the shared memory chipset. From: Alan Hourihane Signed-off-by: Dave Airlie commit 7ccf800e9415daf9214eb667318e356f9a3d81fc tree 90c60097909170f1248854d27f86aac71bdbe3b0 parent c0be4d240483f3ebd138db467b5e8fbe15c520e2 author Dave Airlie Fri, 11 Nov 2005 23:11:34 +1100 committer Dave Airlie Fri, 11 Nov 2005 23:11:34 +1100 drm: update mga driver for new bootstrap code The MGA driver needs to use the full AGP interface. From: Ian Romanick Signed-off-by: Dave Airlie commit c0be4d240483f3ebd138db467b5e8fbe15c520e2 tree e34f8e56d03516171559812a9db92ea95f015e98 parent efa58395bee82dc5a87805e7eb7c710e88eb4bd7 author Dave Airlie Fri, 11 Nov 2005 23:10:18 +1100 committer Dave Airlie Fri, 11 Nov 2005 23:10:18 +1100 drm: remove exports that modules shouldn't use. Modules should go via the new drm_agp_ functions. Signed-off-by: Dave Airlie commit efa58395bee82dc5a87805e7eb7c710e88eb4bd7 tree 39b845cda408682638f48d955a066592863ba2d0 parent 732052ed3e7539d87136dd833be523747af3fb3e author Dave Airlie Fri, 11 Nov 2005 22:33:39 +1100 committer Dave Airlie Fri, 11 Nov 2005 22:33:39 +1100 drm: add in-kernel entry points for rest of AGP ioctls Allow DRM modules to call AGP internally in the kernel. From: Ian Romanick Signed-off-by: Dave Airlie commit 732052ed3e7539d87136dd833be523747af3fb3e tree 7989d3062e50f3edc2a206148c6e776f88e7a2c1 parent e96e33eeb8b876c7ec009c557ca5269328eceda0 author Dave Airlie Fri, 11 Nov 2005 22:07:35 +1100 committer Dave Airlie Fri, 11 Nov 2005 22:07:35 +1100 drm: simplify sysfs code for drm This simplifies the sysfs code for the drm and add a dri_library_name attribute which can be used by a userspace app to figure out which library to load. From: Jon Smirl Signed-off-by: Dave Airlie commit e532c37858fdcc18e9a91d24c2e22cd21aa22561 tree d2d27707914fa6690774be7051ac98e6fce4e755 parent 87199134b4a85de56a7508c551ab3b3a3ee35035 parent 5e04e7fe774794b837e1d3897e6b96ae2d06679a author Jeff Garzik Fri, 11 Nov 2005 05:54:37 -0500 committer Jeff Garzik Fri, 11 Nov 2005 05:54:37 -0500 Merge branch 'master' commit 0192d69789582f02c015cba77cac514c7291c347 tree 36a30e9a944a4a4c0ffd2158698083c3c824dfa4 parent 760559e1330a58cc5b320154a20e64b8444143c0 parent 5e04e7fe774794b837e1d3897e6b96ae2d06679a author Jeff Garzik Fri, 11 Nov 2005 05:53:24 -0500 committer Jeff Garzik Fri, 11 Nov 2005 05:53:24 -0500 Merge branch 'master' commit d0bbccfa3297d3ef6ae4691585abde9a6c26b186 tree 96130802e4139de760cfafe452afe9e2482fac76 parent 3b621ee5df437d3f332a635ab6421aaa61a7dc2b author Andrew Morton Thu, 10 Nov 2005 15:29:27 -0800 committer Jeff Garzik Fri, 11 Nov 2005 05:52:37 -0500 [PATCH] sky2 needs dma_mapping.h On alpha: drivers/net/sky2.c: In function `sky2_probe': drivers/net/sky2.c:2819: error: `DMA_64BIT_MASK' undeclared (first use in this function) drivers/net/sky2.c:2819: error: (Each undeclared identifier is reported only once drivers/net/sky2.c:2819: error: for each function it appears in.) drivers/net/sky2.c:2825: error: `DMA_32BIT_MASK' undeclared (first use in this function) Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit 3b621ee5df437d3f332a635ab6421aaa61a7dc2b tree c4a5236cee8eb7418770802313d36a55f1cc0b1e parent 7211bb9b64f17b23834d91fc3d0c1d78671ee9a8 parent 5e04e7fe774794b837e1d3897e6b96ae2d06679a author Jeff Garzik Fri, 11 Nov 2005 05:51:24 -0500 committer Jeff Garzik Fri, 11 Nov 2005 05:51:24 -0500 Merge branch 'master' commit e96e33eeb8b876c7ec009c557ca5269328eceda0 tree 6b3f299bf30f570261d00498c85a73f7501c7c96 parent 61d04160ff89514919ef95b0d10bee706f569925 author Dave Airlie Fri, 11 Nov 2005 20:27:35 +1100 committer Dave Airlie Fri, 11 Nov 2005 20:27:35 +1100 drm: fixup drm_proc.c struct table Signed-off-by: Dave Airlie commit 61d04160ff89514919ef95b0d10bee706f569925 tree 48f2282335b93f98a11085ad868c07119cc083be parent 8f5f39f77f5a6053ae287d4673028e7a69335f5e author Dave Airlie Fri, 11 Nov 2005 19:52:22 +1100 committer Dave Airlie Fri, 11 Nov 2005 19:52:22 +1100 drm: remove old backwards compatibilty stuff Signed-off-by: Dave Airlie commit 8f5f39f77f5a6053ae287d4673028e7a69335f5e tree 4090314e38601f9e40f69256b356334c6430e2d2 parent 7052cff984ba575926bb7d2ae5454cce531a97e1 author Dave Airlie Fri, 11 Nov 2005 19:40:52 +1100 committer Dave Airlie Fri, 11 Nov 2005 19:40:52 +1100 drm: remove drm_flush drm_flush is no longer needed remove. Signed-off-by: Dave Airlie commit 7052cff984ba575926bb7d2ae5454cce531a97e1 tree d4b2b67217a539b4c0a36042300fe4a7ef433397 parent 9d6160137a8ef8bd25266ccc0f97d55863708fc6 author Dave Airlie Fri, 11 Nov 2005 19:34:47 +1100 committer Dave Airlie Fri, 11 Nov 2005 19:34:47 +1100 drm: cleanup via_ds.c includes Remove the linux includes from via_ds.c Signed-off-by: Dave Airlie commit 9d6160137a8ef8bd25266ccc0f97d55863708fc6 tree 1a41b293dc82c2c48a75714f4d175d177800abd6 parent 3f9df54d6386bb632ffc00665489bb3bb3bf6ff2 author Dave Airlie Fri, 11 Nov 2005 19:34:10 +1100 committer Dave Airlie Fri, 11 Nov 2005 19:34:10 +1100 drm: remove remnamt of old DRM code from tdfx Signed-off-by: Dave Airlie commit 3f9df54d6386bb632ffc00665489bb3bb3bf6ff2 tree 1fdd818d7c58ebc80e4b0006d0b40b7467c1d881 parent 22eae947bf76e236ba972f2f11cfd1b083b736ad author Dave Airlie Thu, 10 Nov 2005 22:28:56 +1100 committer Dave Airlie Thu, 10 Nov 2005 22:28:56 +1100 drm: remove drm_init.c it is no longer needed Move drm_cpu_valid into drm_fops.c Signed-off-by: Dave Airlie commit 22eae947bf76e236ba972f2f11cfd1b083b736ad tree e18a2cdfef9ac0f606eb249df4924fef5e7daebd parent 3b44f137b9a846c5452d9e6e1271b79b1dbcc942 author Dave Airlie Thu, 10 Nov 2005 22:16:34 +1100 committer Dave Airlie Thu, 10 Nov 2005 22:16:34 +1100 drm: rename driver hooks more understandably Rename the driver hooks in the DRM to something a little more understandable: preinit -> load postinit -> (removed) presetup -> firstopen postsetup -> (removed) open_helper -> open prerelease -> preclose free_filp_priv -> postclose pretakedown -> lastclose postcleanup -> unload release -> reclaim_buffers_locked version -> (removed) postinit and version were replaced with generic code in the Linux DRM (drivers now set their version numbers and description in the driver structure, like on BSD). postsetup wasn't used at all. Fixes the savage hooks for initializing and tearing down mappings at the right times. Testing involved at least starting X, running glxgears, killing glxgears, exiting X, and repeating. Tested on: FreeBSD (g200, g400, r200, r128) Linux (r200, savage4) From: Eric Anholt Signed-off-by: Dave Airlie commit 760559e1330a58cc5b320154a20e64b8444143c0 tree 46bf5b8d3b78f2ff57fd728026e597844b149efb parent 2f67bdb23d74a6c6fd4f98f64239c5c34d1833cc author Jeff Garzik Thu, 10 Nov 2005 04:31:55 -0500 committer Jeff Garzik Thu, 10 Nov 2005 04:31:55 -0500 [netdrvr 8139too] fast poll for thread, if an unlikely race occurs The rtl8139 thread is triggered only on rare 8139 hardware, the race itself is unlikely, and the impact of racing is low. We don't care enough to create a more-complex race-free solution. Rather, if the trylock fails, we now simply poll twice a second until we do get the lock. commit 2f67bdb23d74a6c6fd4f98f64239c5c34d1833cc tree fe533abe3e7c400848647b95e4806f5125c654c3 parent d40d9d29c020f8466c96f8e3ad4b7c014ff1085d parent 3b44f137b9a846c5452d9e6e1271b79b1dbcc942 author Jeff Garzik Thu, 10 Nov 2005 04:12:10 -0500 committer Jeff Garzik Thu, 10 Nov 2005 04:12:10 -0500 Merge branch 'master' commit ef797546a93fffa9d8508e7c8539b352b6678568 tree c8e357b931b6a25160700ee1bc7fb81b9896865d parent 8551158abc8ef45a7f473a87e69624d05ebfd684 author Stefan Richter Mon, 07 Nov 2005 06:31:50 -0500 committer Jody McIntyre Mon, 07 Nov 2005 06:31:50 -0500 Remove definitions of unreferenced macros virt_to_page and vmalloc_32 from dv1394 and video1394. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 8551158abc8ef45a7f473a87e69624d05ebfd684 tree 47cd79c5f5444c7cac812d797764f203207345a7 parent 7afa1467761f06bd9649efd66a4a6b3ff9f29a1f author Stefan Richter Mon, 07 Nov 2005 06:31:45 -0500 committer Jody McIntyre Mon, 07 Nov 2005 06:31:45 -0500 kmalloc/kzalloc changes: dv1394, eth1394, ieee1394, ohci1394, pcilynx, raw1394, sbp2c, video1394: - use kzalloc - provide safer size arguments to kmalloc and kzalloc - omit some casts Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 7afa1467761f06bd9649efd66a4a6b3ff9f29a1f tree c5c4b00aa4bd5097335aaf8d3a044033588f6826 parent a237f35fdd81d85037dccdacd2e94028227b59fb author Stefan Richter Mon, 07 Nov 2005 06:31:42 -0500 committer Jody McIntyre Mon, 07 Nov 2005 06:31:42 -0500 Remove version strings from eth1394, ohci1394, sbp2. Their version information is not trustworthy. Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit a237f35fdd81d85037dccdacd2e94028227b59fb tree 5ca5603e74e9c92464173187c6c84640115a416f parent e309fc6d71d61bb0f049ab6d0da10c845da9513f author Stefan Richter Mon, 07 Nov 2005 06:31:39 -0500 committer Jody McIntyre Mon, 07 Nov 2005 06:31:39 -0500 sbp2, ohci1394 cleanups: sbp2: various code formatting cleanups ohci1394: remove form feed characters Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit e309fc6d71d61bb0f049ab6d0da10c845da9513f tree 0a4edeac8b002395ab98e3effa8559e976b18e48 parent 365c786f0be44ee92e018773cb0bc4b19080b6aa author Ben Collins Mon, 07 Nov 2005 06:31:34 -0500 committer Jody McIntyre Mon, 07 Nov 2005 06:31:34 -0500 sbp2: Remove our tracking of device type, since we no longer need to worry about it. Depends on patch "ieee1394: remove sbp2's TYPE_RBC and 10byte handling". Signed-off-by: Ben Collins Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 365c786f0be44ee92e018773cb0bc4b19080b6aa tree bd1364ceb901bfbdc6b1158dc1633b35a57d0899 parent 7945619794314414a5c44df11fca4d3f2a3389cf author Ben Collins Mon, 07 Nov 2005 06:31:24 -0500 committer Jody McIntyre Mon, 07 Nov 2005 06:31:24 -0500 sbp2: Merge TYPE_RBC and 10byte removal patch from scsi maintainers. Added more cleanups to remove unused code. Signed-off-by: Ben Collins Signed-off-by: Stefan Richter Signed-off-by: Jody McIntyre commit 7945619794314414a5c44df11fca4d3f2a3389cf tree 0252189ea84abaf13ff35af0a18ceda9d457b0a3 parent 0b154bb7d0cce80e9c0bcf11d4f9e71b59409d26 author Jody McIntyre Mon, 07 Nov 2005 06:29:39 -0500 committer Jody McIntyre Mon, 07 Nov 2005 06:29:39 -0500 sbp2_command_orb_lock must be held when accessing the _orb_inuse list. Fixes an oops in sbp2util_find_command_for_SCpnt after sbp2scsi_abort: https://bugzilla.novell.com/show_bug.cgi?id=113734 Signed-off-by: Jody McIntyre Signed-off-by: Stefan Richter commit 7211bb9b64f17b23834d91fc3d0c1d78671ee9a8 tree 541909f86c31fee97cd70d28ec2fe5c23e1ceb02 parent f1e691a24955ea987f021f378324fb5003b1b208 parent 70d9d825e0a5a78ec1dacaaaf5c72ff5b0206fab author Jeff Garzik Sat, 05 Nov 2005 15:39:24 -0500 committer Jeff Garzik Sat, 05 Nov 2005 15:39:24 -0500 Merge branch 'master' commit 87199134b4a85de56a7508c551ab3b3a3ee35035 tree f7b0d0b4bce377c336a3c8cda0be762d29556cc7 parent ea37ccea66e6bdd9f3571418b6461850088c114e parent 70d9d825e0a5a78ec1dacaaaf5c72ff5b0206fab author Jeff Garzik Sat, 05 Nov 2005 15:38:13 -0500 committer Jeff Garzik Sat, 05 Nov 2005 15:38:13 -0500 Merge branch 'master' commit d40d9d29c020f8466c96f8e3ad4b7c014ff1085d tree cb30b4e80f37e0d734a826aa6b29394f46123f9f parent 96a71d52bb91d9b386a60f904956420f98946dd3 parent 70d9d825e0a5a78ec1dacaaaf5c72ff5b0206fab author Jeff Garzik Sat, 05 Nov 2005 15:37:24 -0500 committer Jeff Garzik Sat, 05 Nov 2005 15:37:24 -0500 Merge branch 'master' commit 96a71d52bb91d9b386a60f904956420f98946dd3 tree de71b019669e26672809f8d36942279b622509e9 parent 38b492a21ac1b0f0a5ebed69c9e2ee6f4202f574 author Jeff Garzik Fri, 04 Nov 2005 22:46:35 -0500 committer Jeff Garzik Fri, 04 Nov 2005 22:46:35 -0500 [netdrvr 8139too] use rtnl_shlock_nowait() rather than rtnl_lock_interruptible() commit 38b492a21ac1b0f0a5ebed69c9e2ee6f4202f574 tree 4b22aa4991148a56c2455bc71d813291666490d2 parent a15e0384dd22ee08f56d62761ce9d770488f6f4e author Jeff Garzik Fri, 04 Nov 2005 22:36:28 -0500 committer Jeff Garzik Fri, 04 Nov 2005 22:36:28 -0500 [netdrvr 8139too] use cancel_rearming_delayed_work() to cancel thread Noted by Herbert Xu. commit a15e0384dd22ee08f56d62761ce9d770488f6f4e tree 28c9fb9ad86295ca87f9bc6df6042727ddaf68c9 parent e2f2e58e7968f8446b1078a20a18bf8ea12b4fbc author Jeff Garzik Mon, 31 Oct 2005 07:59:37 -0500 committer Jeff Garzik Mon, 31 Oct 2005 07:59:37 -0500 [netdrvr 8139too] replace hand-crafted kernel thread with workqueue Gone are the days when 8139too was a shining example of how to use kernel threads. Delayed workqueues are easier, and map precisely to our task: running code from a kernel thread, after a periodic sleep. commit ea37ccea66e6bdd9f3571418b6461850088c114e tree 93e543532a6c2959602d3d01384544c398b4f551 parent 7380a78a973a8109c13cb0e47617c456b6f6e1f5 author Daniele Venzano Tue, 11 Oct 2005 09:44:30 +0200 committer Jeff Garzik Fri, 28 Oct 2005 16:48:19 -0400 [PATCH] Add Wake on LAN support to sis900 (2) Sorry, but that day I had smoked somthing too heavy for me, the patch didn't apply. Here's a new one. The patch availble below adds support for Wake on LAN to the sis900 driver. Some register addresses were added to sis900.h and two new functions were implemented in sis900.c. WoL status is controlled by ethtool. Patch is against 2.6.13. Comments are welcome, but also consider for inclusion in the -mm series. Signed-off-by: Daniele Venzano -- Signed-off-by: Jeff Garzik commit f1e691a24955ea987f021f378324fb5003b1b208 tree 83967945e34d293631623e3dcdfb1ea603af4974 parent bea86103313fae2e29f2d6eb9a4bd7cbeabd4d32 author shemminger@osdl.org Wed, 26 Oct 2005 12:16:11 -0700 committer Jeff Garzik Fri, 28 Oct 2005 12:18:53 -0400 [PATCH] sky2: version 0.7 Change version number Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit bea86103313fae2e29f2d6eb9a4bd7cbeabd4d32 tree efac21150cc73fda30e8d3d5871747b7585c064c parent d571b694df3ebc66f7a4c507f5a32579e43c2294 author shemminger@osdl.org Wed, 26 Oct 2005 12:16:10 -0700 committer Jeff Garzik Fri, 28 Oct 2005 12:18:53 -0400 [PATCH] sky2: fix NAPI and receive handling Speed up the receive and interrupt processing and eliminate a couple of race conditions from NAPI code. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit d571b694df3ebc66f7a4c507f5a32579e43c2294 tree b58bbc8e4dcf938255af533036befd6354461bc5 parent b2f5ad4fec76e78103e7fbb4e808587ea8a6d824 author shemminger@osdl.org Wed, 26 Oct 2005 12:16:09 -0700 committer Jeff Garzik Fri, 28 Oct 2005 12:18:53 -0400 [PATCH] sky2: spelling fixes Cosmetic cleanup's: mostly spelling fixes etc. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit b2f5ad4fec76e78103e7fbb4e808587ea8a6d824 tree 54d767fefe3be4e4c746e0b224131dc0ccbbb588 parent 488f84fd901cd3386f5723a3573ea2e1f55af537 author shemminger@osdl.org Wed, 26 Oct 2005 12:16:08 -0700 committer Jeff Garzik Fri, 28 Oct 2005 12:18:52 -0400 [PATCH] sky2: use kzalloc Can use kzalloc to save a little code. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 488f84fd901cd3386f5723a3573ea2e1f55af537 tree 070a3e9a71062ee701482c7d12da6f8c5649346a parent 90890687859ea658759e653c4e70ed7e9e1a6217 author shemminger@osdl.org Wed, 26 Oct 2005 12:16:07 -0700 committer Jeff Garzik Fri, 28 Oct 2005 12:18:52 -0400 [PATCH] sky2: remove unused definitions The sky2 driver has a lot of register definitions, that were copied over from the skge driver, for areas that don't exist on the Yukon2. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 90890687859ea658759e653c4e70ed7e9e1a6217 tree 9065b30bb189e16ef99b8b5a0d444558f8dc579f parent 2995bfb7855aabd493f840af361f3dd7d221caea parent 5fadd053d9bb4345ec6f405d24db4e7eb49cf81e author Jeff Garzik Fri, 28 Oct 2005 12:17:52 -0400 committer Jeff Garzik Fri, 28 Oct 2005 12:17:52 -0400 Merge branch 'master' commit 2995bfb7855aabd493f840af361f3dd7d221caea tree c1dabbfd2fe08db677cabd4ad07d54d0dc392c4d parent 9a7ae0a978263adb7d6b630f0c3c37c0133325e0 author Stephen Hemminger Wed, 28 Sep 2005 10:01:03 -0700 committer Jeff Garzik Tue, 04 Oct 2005 07:59:43 -0400 [PATCH] sky2: add permanent address support. Add permanent address support Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 9a7ae0a978263adb7d6b630f0c3c37c0133325e0 tree 2f6052964a9f1fe0e8d358911ce663903f388d31 parent 724bca3ca4d2126b67dd62e64d3f97805f9672de author Stephen Hemminger Tue, 27 Sep 2005 15:28:42 -0700 committer Jeff Garzik Wed, 28 Sep 2005 11:52:58 -0400 [PATCH] sky2: nway reset (BONUS FEATURE) Here is support for ethtool controlled renegotiation. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 724bca3ca4d2126b67dd62e64d3f97805f9672de tree c58a2dcb616db04767f5bd0ef7efae0b97d32862 parent 5afa0a9cfb79556f45c02957e71a2ac48a5bb6a1 author shemminger@osdl.org Tue, 27 Sep 2005 15:03:01 -0700 committer Jeff Garzik Wed, 28 Sep 2005 11:52:57 -0400 [PATCH] sky2: version 0.6 Verion number change, comment update and one simple optimization Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 5afa0a9cfb79556f45c02957e71a2ac48a5bb6a1 tree 2043649c5061090b3603d3b48f861fddf7ca7255 parent d1f1370863f7fa3d76dc7d7779debdda854a5a60 author shemminger@osdl.org Tue, 27 Sep 2005 15:03:00 -0700 committer Jeff Garzik Wed, 28 Sep 2005 11:52:57 -0400 [PATCH] sky2: explicit set power state Add better power management, and power down the chip on device removal Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit d1f1370863f7fa3d76dc7d7779debdda854a5a60 tree 9b27703564b30b25f9c772ec3afa4fa1fc22b536 parent d11c13e752c4e34777d33579ee0378e0178ef52d author shemminger@osdl.org Tue, 27 Sep 2005 15:02:57 -0700 committer Jeff Garzik Wed, 28 Sep 2005 11:49:32 -0400 [PATCH] sky2: add hardware VLAN acceleration support Use the hardware to do VLAN. Signed-off-by: Jeff Garzik commit d11c13e752c4e34777d33579ee0378e0178ef52d tree 71b877e71e9c8b03b478a160b07f4a2e0d62cfe9 parent 6b1a3aefd897fd9be410d192f950656ef2b59694 author shemminger@osdl.org Tue, 27 Sep 2005 15:02:56 -0700 committer Jeff Garzik Wed, 28 Sep 2005 11:49:32 -0400 [PATCH] sky2: cleanup interrupt processing The receive processing can be cleaned up by not using local variables to store checksum status, instead just put it directly onto the expected skb. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6b1a3aefd897fd9be410d192f950656ef2b59694 tree afffd4a23a577b5c21e76d098ed93f849bc013da parent ecfd7f32aa9e279f3732c2e5049b1a4a13428572 author shemminger@osdl.org Tue, 27 Sep 2005 15:02:55 -0700 committer Jeff Garzik Wed, 28 Sep 2005 11:49:32 -0400 [PATCH] sky2: changing mtu doesn't have to reset link Changing the MTU of the network device doesn't mean the whole link has to be brought down and back up again. Just stopping the receive engine is good enough. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit ecfd7f32aa9e279f3732c2e5049b1a4a13428572 tree 284a51b002afe8ee056b4c2e8413c6f08c8ff558 parent 6e4cbb34d4cabec48f25f0bbad68935221bd457b author Stephen Hemminger Mon, 19 Sep 2005 15:49:13 -0700 committer Jeff Garzik Wed, 21 Sep 2005 22:30:52 -0400 [PATCH] sky2: version 0.5 Bump version (we are half way to a stable driver??) Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 6e4cbb34d4cabec48f25f0bbad68935221bd457b tree 7128d9b92a49deb8ad3dd49f7a0468cc535661a6 parent 79e57d32fe6d2d5bd38378f6dccfdbe6bd1d1dab author Stephen Hemminger Mon, 19 Sep 2005 15:47:57 -0700 committer Jeff Garzik Wed, 21 Sep 2005 22:30:52 -0400 [PATCH] sky2: allow ethtool debug access to all of PCI space For debugging, it is useful to allow ethtool to dump all of the PCI mapped space. There is one small set of registers for RAM diagnostics that needs to be avoided to prevent hanging, but all the rest is accessible. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 79e57d32fe6d2d5bd38378f6dccfdbe6bd1d1dab tree e3db01e9454ac7b42957087530d7cc6ed7381b2d parent 08217637fe8a0ba24e1bfc893569f9be4d836c6a author Stephen Hemminger Mon, 19 Sep 2005 15:42:33 -0700 committer Jeff Garzik Wed, 21 Sep 2005 22:30:52 -0400 [PATCH] sky2: fix FIFO DMA alignment problems The Yukon2 chip FIFO has a problem recovering from a pause frame if the receive buffer is not aligned. The workaround is to just leave receive buffer at original alignment, which will make IP header unaligned. Rework receive logic for clarity. Need to ignore receive overrun interrupts (or mac hangs). These fixes make the sky2 driver generally usable. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik commit 08217637fe8a0ba24e1bfc893569f9be4d836c6a tree aecd53ca7952b59d93f066161b677926e813a550 parent 793b883ed12a6ae6e2901ddb5e038b77d6f0c0ac parent efb0372bbaf5b829ff8c39db372779928af542a7 author Jeff Garzik Wed, 21 Sep 2005 22:30:42 -0400 committer Jeff Garzik Wed, 21 Sep 2005 22:30:42 -0400 Merge /spare/repo/linux-2.6/ commit 793b883ed12a6ae6e2901ddb5e038b77d6f0c0ac tree d485606a0a7f2b70c9ee0d118fbdedf589f89a2c parent d7f6884ae0ae6e406ec3500fcde16e8f51642460 author Stephen Hemminger Wed, 14 Sep 2005 16:06:14 -0700 committer Jeff Garzik Fri, 16 Sep 2005 02:48:03 -0400 [PATCH] sky2: driver update. Here is revised patch against netdev sky2 branch. It includes whitespace fixes, all the changes from the previous review as well as some optimizations and timing fixes to solve some of the hangs. The stall problem is better but not perfect. It appears that under stress the chip can't keep up with the bus and sends a pause frame, then hangs. This version is for testing, and hopefully other eyes might see the root cause of the problem. I don't want to reinvent the ugly watchdog code in the syskonnect version of sk98lin. If you read it you will see, the original driver writer and the hardware developer obviously didn't understand each other. Dual port support is included, but not tested yet. It did require small change to NAPI since both ports share same IRQ. Signed-off-by: Jeff Garzik commit d7f6884ae0ae6e406ec3500fcde16e8f51642460 tree efceb246a4fa12921b7dbd3946a88fa257684405 parent cd28ab6a4e50a7601d22752aa7ce0c8197b10bdf parent 2f4ba45a75d6383b4a1201169a808ffea416ffa0 author Jeff Garzik Wed, 14 Sep 2005 08:01:25 -0400 committer Jeff Garzik Wed, 14 Sep 2005 08:01:25 -0400 Merge /spare/repo/linux-2.6/ commit cd28ab6a4e50a7601d22752aa7ce0c8197b10bdf tree 7030ba1742db21caebe491c9052f312e30c33628 parent 2ba84684e8cf6f980e4e95a2300f53a505eb794e author Stephen Hemminger Tue, 16 Aug 2005 16:36:49 -0700 committer Jeff Garzik Wed, 17 Aug 2005 00:53:12 -0400 [PATCH] sky2: new experimental Marvell Yukon2 driver New driver for the Marvell Yukon2 Gigabit Ethernet chipset. This driver is based on the skge driver, but using the logic from the SysKonnect version of the sk98lin driver. It should support all the Yukon2 chipsets that are available in many current Intel and AMD motherboards. The driver does support ethtool, tx and rx checksum, and tcp segmentation offload. But it has only been tested for a short while and is known to stop receiving under heavy load. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik