ChangeSet@1.2086, 2004-11-10 16:28:17-08:00, torvalds@ppc970.osdl.org Fix the fix. Silly #endif placement problem. ChangeSet@1.2085, 2004-11-10 16:25:01-08:00, acme@conectiva.com.br [PATCH] fix platform_rename_gsi related ia32 build breakage "platform_rename_gsi" does not exist unless CONFIG_ACPI_BOOT is defined. ChangeSet@1.2083, 2004-11-10 11:23:40-08:00, davem@nuts.davemloft.net Merge nuts.davemloft.net:/disk1/BK/network-2.6 into nuts.davemloft.net:/disk1/BK/net-2.6 ChangeSet@1.2082, 2004-11-10 10:33:00-08:00, chrisw@osdl.org [PATCH] binfmt_elf: handle partial reads gracefully Make sure kernel reads full size of elf data. Error out if mmap fails when mapping any sections of the executable. Make sure interpreter string is NULL terminated. Signed-off-by: Chris Wright Signed-off-by: Linus Torvalds ChangeSet@1.2081, 2004-11-10 10:18:18-08:00, tytso@mit.edu [PATCH] Licencing of drivers/char/rocket.c On Tue, Nov 09, 2004 at 01:38:11PM -0600, Jason.Jorgensen@comtrol.com wrote: On Tuesday, November 09, 2004 10:58 AM, Theodore Ts'o wrote: > I developed the Rocketport device driver under contract of Comtrol, > with the understanding that the resulting device driver would be > released under the GPL. So I believe the correct way of resolving the > conflicting copyright statements is to delete the following lines. > > It would be good to get positive confirmation from Comtrol as well > that this is their understanding as well. You are absolutely correct. That notice slipped by us and should not be in there. If someone with access to the mainline source could remove that for us we would appreciate it. Cc: Keith.Hammerbeck@comtrol.com, Steve.Erler@comtrol.com Acked-by: Jason.Jorgensen@comtrol.com Signed-off-by: "Theodore Ts'o" Signed-off-by: Linus Torvalds ChangeSet@1.2080, 2004-11-10 09:06:41-08:00, dino@in.ibm.com [PATCH] Fix do_wait race Only set the flag in the cases when the exit state is not either TASK_DEAD or TASK_ZOMBIE. (TASK_DEAD or TASK_ZOMBIE will either race or we'll return the information, so no need to note them). I confirmed that this fixes the problem and I also ran some LTP tests Signed-off-by: Dinakar Guniguntala Signed-off-by: Sripathi Kodi Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.438, 2004-11-10 14:52:03+00:00, nico@org.rmk.(none) [ARM PATCH] 2160/1: allow modules to work with XIP kernel Patch from Nicolas Pitre This should be applied on top of patch #2154/1. This maps the XIP kernel in the same virtual area as used for kernel modules instead of the previous arbitrary location. Doing so has the advantage of having a well defined kernel address not conflicting with the different definitions for VMALLOC_END, as well as making modules loadable without any indirect long branch calls. The work on XIPable MTD also requires this with code marked __xipram for the same reason. This of course reduces the space available for kernel modules from 16MB to either 14MB or 12MB depending on the size of the resulting kernel but that shouldn't be a real issue at all, given that the whole purpose behind XIP is to execute as much stuff from flash, which is better achieved by compiling drivers in the kernel directly. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King ChangeSet@1.2026.10.437, 2004-11-10 14:37:18+00:00, nico@org.rmk.(none) [ARM PATCH] 2154/2: XIP kernel for ARM Patch from Nicolas Pitre This patch allows for the kernel to be configured for XIP. A lot of people are using semi hacked up XIP patches already so it is a good idea to have a generic and clean implementation supporting all ARM targets. The patch isn't too intrusive. It involves: - modifying the kernel entry code to map separate .text and .data sections in the initial page table, as well as relocating .data to ram when needed - modifying the linker script to account for the different VMA and LMA for .data, as well as making sure that .init.data gets relocated to ram - adding the final kernel mapping with a new MT_ROM mem type - distinguishing between XIP and non-XIP for bootmem and memory resource declaration - and adding proper target handling to Makefiles. While at it, this also cleans up the kernel boot code a bit so the kernel can now be compiled for any address in ram, removing the need for a relation between kernel address and start of ram. Also throws in some more comments. And finally the _text, _etext, _end and similar variables are now declared extern void instead of extern char, or even extern int. That allows for operations on their address directly without any cast, and trying to reference them by mistake would yield an error which is a good thing. Tested both configurations: XIP and non XIP, the later producing a kernel for execution from ram just as before. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King ChangeSet@1.2026.10.436, 2004-11-10 12:08:25+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2225/1: S3C2410 - export symbol from s3c2440-dsc.c Patch from Ben Dooks Added symbol export to the file, and cleaned up the un-necessary include files Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.2026.1.66, 2004-11-10 10:57:42+00:00, aia21@cantab.net NTFS: 2.1.22 - Many bug and race fixes and error handling improvements. - Cleanup fs/ntfs/aops.c::ntfs_{read,write}page() since we know that a resident attribute will be smaller than a page which makes the code simpler. Also make the code more tolerant to concurrent ->truncate. Signed-off-by: Anton Altaparmakov ChangeSet@1.2026.76.17, 2004-11-09 23:23:15-08:00, davem@nuts.davemloft.net Cset exclude: herbert@gondor.apana.org.au|ChangeSet|20041110052404|08839 ChangeSet@1.2026.76.16, 2004-11-09 22:01:33-08:00, kaber@trash.net [PKT_SCHED]: Unline inner qdiscs immediately in qdisc_destroy() Before the RCU change distruction of the qdisc and all inner qdiscs happend immediately and under the rtnl semaphore. This made sure nothing holding the rtnl semaphore could end up with invalid memory. This is not true anymore, inner qdiscs found on dev->qdisc_list can be suddenly destroyed by the RCU callback. nothing can find them until they get destroyed. This also makes semantics sane again, an inner qdiscs should not be user-visible once the containing qdisc has been destroyed. The second part (locking in qdisc_lookup) is not really required, but currently the only purpose of qdisc_tree_lock seems to be to protect dev->qdisc_list, which is also protected by the rtnl. The rtnl is especially relied on for making sure nobody frees a qdisc while it is used in user-context, so qdisc_tree_lock looks unnecessary. I'm currently reviewing all qdisc locking, if this turns out to be right I will remove qdisc_tree_lock entirely in a follow-up patch, but for now I left it in for consistency. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller ChangeSet@1.2026.76.15, 2004-11-09 21:57:43-08:00, rusty@rustcorp.com.au [NETFILTER]: Fix find_appropriate_src() to actually work. We try to bind to the same source port when sending packets from the same source IP/source port to the outside world. Normally, this is simple, since we always try to keep the same source port anyway, but there are cases where that is not available. This is a requirement for the Kegel Peer-to-Peer NAT paper: http://alumnus.caltech.edu/~dank/peer-nat.html Unfortunately, our current implementation is useless. It looks up a hash to see if this srcip/srcpt has been used, but instead of returning the mapping to use, it simply returns that same srcip/srcpt. This is clearly wrong. As pointed out by Krisztian Kovacs. Also, we are no longer using the netfilter-special list iterators, so we can split src_cmp, in_range and the actual result manipulation for much clearer code. Signed-off-by: Rusty Russell Signed-off-by: David S. Miller ChangeSet@1.2026.76.14, 2004-11-09 21:54:43-08:00, ralf@linux-mips.org [AX25]: Fix cb lookup Ax AX.25 connection is identified only by it's source and destination, not by the device it's routed through, so fix the connection block lookup to ignore the device of a connection. This fixes dying connections in case of an AX.25 routing flap. Signed-off-by: David S. Miller ChangeSet@1.2026.76.13, 2004-11-09 21:52:55-08:00, arjan@infradead.org [NET]: Mark __{lock,release}_sock() static. Signed-off-by: Arjan van de Ven Signed-off-by: David S. Miller ChangeSet@1.2026.76.12, 2004-11-09 21:34:45-08:00, kaber@trash.net [PKT_SCHED]: Fix scheduler/classifier module unload race. This patch fixes an scheduler/classifier module unload race. struct Qdisc_ops which includes the owner field is also part of the module's memory, so ops might already be freed when try_module_get(ops->owner) is called outside of the locked section. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller ChangeSet@1.2026.76.11, 2004-11-09 21:28:24-08:00, kaber@trash.net [PKT_SCHED]: Mark some functions static in tc actions/act_api Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller ChangeSet@1.2026.76.10, 2004-11-09 21:25:42-08:00, herbert@gondor.apana.org.au [IPV6]: Close small race in ip6_del_rt There is a small SMP race in ip6_del_rt where we maybe dereferencing a dst that has been freed. This patch fixes it. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2026.76.9, 2004-11-09 21:24:04-08:00, herbert@gondor.apana.org.au [IPV6]: Fix dst leak in ipv6_add_addr Found another error-path dst leak. If the idev->dead check is triggered in ipv6_add_addr the rt entry will leak. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2076.1.12, 2004-11-09 21:22:29-08:00, ysato@users.sourceforge.jp [PATCH] fix "extern inline" Signed-off-by: Yoshinori Sato Signed-off-by: Linus Torvalds ChangeSet@1.2076.1.11, 2004-11-09 21:22:16-08:00, ysato@users.sourceforge.jp [PATCH] H8/300 vmlinux.lds update Signed-off-by: Yoshinori Sato Signed-off-by: Linus Torvalds ChangeSet@1.2076.1.10, 2004-11-09 21:22:03-08:00, ysato@users.sourceforge.jp [PATCH] H8/300 build error fix Because reference of fls becomes error. Signed-off-by: Yoshinori Sato Signed-off-by: Linus Torvalds ChangeSet@1.2076.1.9, 2004-11-09 21:21:46-08:00, ysato@users.sourceforge.jp [PATCH] H8/300 inline cleanup Eliminate useless clobber. Signed-off-by: Yoshinori Sato Signed-off-by: Linus Torvalds ChangeSet@1.2076.1.8, 2004-11-09 20:11:42-08:00, gerg@snapgear.com [PATCH] m68knommu: add kernel startup code for the ColdFire 5272 Feith CANcam board Kernel startup code specific to the Coldfire 5272 based CANcam board. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2076.1.7, 2004-11-09 20:11:29-08:00, gerg@snapgear.com [PATCH] m68knommu: move ColdFire 5282 definitions to common 528x include Move the ColdFire 5282 specific register definitions into a common 528x definition include. They can be used for all members of the 528x CPU family. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2076.1.6, 2004-11-09 20:10:52-08:00, gerg@snapgear.com [PATCH] m68knommu: use correct register offsets for ColdFire 527x FEC ethernet The ColdFire 527x and 528x use the same FEC ethernet register offsets. Conditionally use the correct structure. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2076.1.5, 2004-11-09 20:10:39-08:00, gerg@snapgear.com [PATCH] m68knommu: remove unused include of delay.h in ColdFire 5407 configuration code Remove unused include of asm/delay.h from ColdFire 5407 configuration code. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2076.1.4, 2004-11-09 20:10:27-08:00, gerg@snapgear.com [PATCH] m68knommu: move ColdFire M5282EVB kernel startup code to common 528x platform directory Move the M5282EVB kernel startup code from the 5282 specific platform directory to a common 528x platform directory. All ColdFire 582x CPU cores are the same, just minor peripheral differences. Renaming the sub-directory to match the proper board name (M5282EVB), not use the generic MOTOROLA. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2076.1.3, 2004-11-09 20:10:08-08:00, gerg@snapgear.com [PATCH] m68knommu: move ColdFire 5282 Makefile to common 528x Makefile Move the ColdFire 5282 specific platform Makefile into the common 528x CPU platform directory. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2076.1.2, 2004-11-09 20:09:43-08:00, gerg@snapgear.com [PATCH] m68knommu: move ColdFire 5282 config code to common 528x config code Move the ColdFire 5282 specific CPU configuration code into the common 528x CPU platform directory. It can be used for all members of the 528x CPU family. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2076.1.1, 2004-11-09 20:09:22-08:00, gerg@snapgear.com [PATCH] m68knommu: add kernel startup code for the Freescale M5275EVB board Add kernel startup code for the Freescale 5275EVB board. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2076, 2004-11-09 17:29:42-08:00, gerg@snapgear.com [PATCH] m68knommu: hardware configuration for Freescale 527x family of CPUs Create basic hardware configuration and setup code for the newly added Freescale 527x family of CPU's (5270/5271/5274/5275). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2075, 2004-11-09 17:29:28-08:00, gerg@snapgear.com [PATCH] m68knommu: dynamic RAM sizing for Motorola 5206e platform Determine the DRAM size dynamically for the MOTOROLA 5206e platform. We can just read back the SDRAM register configuration bits to determine what the RAM size really is. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2074, 2004-11-09 17:29:14-08:00, gerg@snapgear.com [PATCH] m68knommu: get flash based boot args for SCALES and CAMcam boards Removed unused include of asm/delay.h. Add support for getting boot args from dedicated flash segment on the SCALES and CANcam boards. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2073, 2004-11-09 17:28:59-08:00, gerg@snapgear.com [PATCH] m68knommu: use linux/delay.h instead of asm/delay.h Include linux/delay.h instead of asm/delay.h in ColdFire vector handling code. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2072, 2004-11-09 17:28:46-08:00, gerg@snapgear.com [PATCH] m68knommu: build PIT timer for 527x and 528x CPUs Build the PIT timer code in for 528x and 527x CPU targets. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2071, 2004-11-09 17:28:32-08:00, gerg@snapgear.com [PATCH] m68knommu: 527x platform support Makefile Makefile to support building the Freescale 527x platform support. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2070, 2004-11-09 17:28:18-08:00, gerg@snapgear.com [PATCH] m68knommu: update defconfig Updated default configuration for the m68knommu architectures. Adds newly created CPU and clock configurations. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2069, 2004-11-09 17:28:03-08:00, gerg@snapgear.com [PATCH] m68knommu: kernel startup code for Freescale M5271EVB board Kernel startup code specific to the Freescale M5271EVB board. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2068, 2004-11-09 17:27:50-08:00, gerg@snapgear.com [PATCH] m68knommu: new device support for ColdFire FEC ethernet driver A big update to the ColdFire FEC ethernet driver. This has been in the works for a while (and thus tested for a while too). Fundamentally through there is 3 important changes: . support 528x and 527x device families . allow for multiple FEC devices to be present (for example 2 on the 5274/5) . support the Kendein 8721 PHY Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2067, 2004-11-09 17:27:34-08:00, gerg@snapgear.com [PATCH] m68knommu: move ColdFire PIT timer to common code directory Move the PIT timer code from the 5282 specific platform directory to the common ColdFire platform code directory (5307). Freescale are using the PIT timer on other devices now (at least the 523x and 527x families), so put it near the other common timer code so they can all use it easily. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2066, 2004-11-09 17:18:30-08:00, Andries.Brouwer@cwi.nl [PATCH] remove explicit k_name use in atmel_cs.c, bt3c_cs.c ChangeSet@1.2065, 2004-11-09 17:18:17-08:00, Andries.Brouwer@cwi.nl [PATCH] new Solaris partition ID Sun tells me: For many years both Solaris x86 and Linux have used the same fdisk partition id of 0x82. Solaris uses that identifier to allocate disk space which is then further subdivided by the Solaris VTOC (Volume Table of Contents) and Linux uses that id as the identifier for its swap partition. The new release of Solaris should be out early next year. Solaris will begin using a partition id of 0xbf. We will continue to support the older partition id value of 0x82 for compatibility reasons. Solaris's fdisk program has been enhanced to allow system administrators to switch back and forth between the new and old identifier without any loss of data. So, this may be useful to some people a few months from now. ChangeSet@1.2064, 2004-11-09 17:18:05-08:00, Andries.Brouwer@cwi.nl [PATCH] don't divide by 0 when trying to mount ext3 Not surprisingly, the ext3 code crashes in the same way the ext2 code does when dividing by zero. ChangeSet@1.2063, 2004-11-09 17:17:52-08:00, Andries.Brouwer@cwi.nl [PATCH] recieve typos ChangeSet@1.2062, 2004-11-09 17:17:38-08:00, Andries.Brouwer@cwi.nl [PATCH] propogate typos ChangeSet@1.2061, 2004-11-09 17:17:25-08:00, Andries.Brouwer@cwi.nl [PATCH] wierd typos I have directories full of typo corrections - don't know whether you want them. Below some wierds. ChangeSet@1.2060, 2004-11-09 17:17:13-08:00, Andries.Brouwer@cwi.nl [PATCH] ufs docs update Added the hp and 5xbsd flavors of ufstype. ChangeSet@1.2059, 2004-11-09 17:17:00-08:00, Andries.Brouwer@cwi.nl [PATCH] ext2 docs update Removed barrier - it is not an ext2 option. Corrected the distinction between kernel-selected defaults and values read from the filesystem. Fixed some typos. Shortened line length to 80. ChangeSet@1.2058, 2004-11-09 17:16:47-08:00, benh@kernel.crashing.org [PATCH] ppc64: Add HW CPU timebase sync This implements support for doing a HW synchronization of the CPU timebases on SMP G5 machines. When the proper clock chips are found on i2c, they are used to stop the timebase clock source during the synchronization process. This replaces the software sync algorithm we used so far and provides slightly more precise results. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2057, 2004-11-09 17:16:35-08:00, benh@kernel.crashing.org [PATCH] ppc64: Fix G5 low level i2c code The code in pmac_low_i2c.c is a low level synchronous version of the i2c keywest driver for use by platform code early during boot or during sleep/wakeup cycles to communicate with some motherboard chips, typically clock chips. It wasn't used on g5 until now, which is good because it wasn't 64 bits clean :) This patch fixes it, and also remove the use of udelay() since it can be used for synchronizing the HW timebase, and so must operate when it's frozen (and our implementation of udelay uses that timebase). Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.77.2, 2004-11-09 17:08:05-08:00, greg@kroah.com [PATCH] timer: fix up problem where two sysdev_class devices had the same name. Thanks to Kay Sievers for reporting this. Was caused by a change from Venkatesh Pallipadi as seen at: http://linux.bkbits.net:8080/linux-2.5/cset@41810e4aGZ0E5bn_hMb4JgIY5u90zA Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds ChangeSet@1.2026.77.1, 2004-11-09 17:07:52-08:00, Matt_Domsch@dell.com [PATCH] EFI GPT: reduce alternate header probing EFI partitioning scheme was reading the last reported sector of the block device to look for the alternate GPT header, before it had confirmed that it should. This causes problems for devices with the following problems: a) those who misreport their size (typically off-by-one), and b) those who fail when asked to read a block outside their range. This patch moves the test for the Protective Master Boot Record (PMBR) ahead of the tests for the Primary and Alternate GPT headers. If the PMBR is not valid, the disk is assumed to not be a GPT disk. This can be overridden with the 'gpt' kernel command line option. If the Primary GPT header is not valid, the Alternate GPT header is not probed automatically unless the 'gpt' kernel command line option is passed. If the both the PMBR and Primary GPT header are valid, then the Alternate GPT header at the end of the disk is probed. Also re-enables CONFIG_EFI_PARTITION for all architectures. Signed-off-by: Matt Domsch Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.435, 2004-11-10 00:47:09+00:00, dave.jiang@com.rmk.(none) [ARM PATCH] 2223/1: convert serial UART to platform device on iop3xx Patch from Dave Jiang Converting IOP321 UART to platform device Remove asm/arch/serial.h dependency Signed-off-by: Dave Jiang Signed-off-by: Russell King ChangeSet@1.2026.76.8, 2004-11-09 16:44:47-08:00, akpm@osdl.org [NET]: Lock initializer unifying From: To make spinlock/rwlock initialization consistent all over the kernel, this patch converts explicit lock-initializers into spin_lock_init() and rwlock_init() calls. Currently, spinlocks and rwlocks are initialized in two different ways: lock = SPIN_LOCK_UNLOCKED spin_lock_init(&lock) rwlock = RW_LOCK_UNLOCKED rwlock_init(&rwlock) this patch converts all explicit lock initializations to spin_lock_init() or rwlock_init(). (Besides consistency this also helps automatic lock validators and debugging code.) The conversion was done with a script, it was verified manually and it was reviewed, compiled and tested as far as possible on x86, ARM, PPC. There is no runtime overhead or actual code change resulting out of this patch, because spin_lock_init() and rwlock_init() are macros and are thus equivalent to the explicit initialization method. That's the second batch of the unifying patches. Signed-off-by: Thomas Gleixner Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2026.10.434, 2004-11-10 00:42:02+00:00, dave.jiang@com.rmk.(none) [ARM PATCH] 2222/1: iop3xx timer routine cleanup Patch from Dave Jiang Clean up iop3xx timer routines and move to xtime_lock/timer_tick schemes dependent on patch 2216/1 Signed-off-by: Dave Jiang Signed-off-by: Russell King ChangeSet@1.2026.76.7, 2004-11-09 16:40:29-08:00, akpm@osdl.org [BLUETOOTH]: Lock initializer unifying From: To make spinlock/rwlock initialization consistent all over the kernel, this patch converts explicit lock-initializers into spin_lock_init() and rwlock_init() calls. Currently, spinlocks and rwlocks are initialized in two different ways: lock = SPIN_LOCK_UNLOCKED spin_lock_init(&lock) rwlock = RW_LOCK_UNLOCKED rwlock_init(&rwlock) this patch converts all explicit lock initializations to spin_lock_init() or rwlock_init(). (Besides consistency this also helps automatic lock validators and debugging code.) The conversion was done with a script, it was verified manually and it was reviewed, compiled and tested as far as possible on x86, ARM, PPC. There is no runtime overhead or actual code change resulting out of this patch, because spin_lock_init() and rwlock_init() are macros and are thus equivalent to the explicit initialization method. That's the second batch of the unifying patches. Signed-off-by: Thomas Gleixner Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2026.10.433, 2004-11-10 00:36:45+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2224/1: S3C2410 - s3c2440 power management device Patch from Ben Dooks Add a system device for the s3c2440 called s3c2440-core to allow power management hooks for s3c2440 specific registers to be added. Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.2026.10.432, 2004-11-10 00:27:04+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2217/2: S3C2410 - pm updates Patch from Ben Dooks This patch does the following: - Save S3C2410_DCLKCON over sleep - Save all non-SDRAM memory bank config - Fix bug in setting PLL before clock divisor - Save all IRQ level controlls - Restore IRQ masks _after_ configuration restored - No debug until core registers restored This patch also moves the pm save/restore list code into the header, for other parts of arch/arm/mach-s3c2410 to use. Note, this is not a general invite for external code to use these functions. Also applied patch from Dimitry Andric to fix up the spelling/typos in Documentation/arm/Samsung-S3C24XX/Suspend.txt Signed-off-by: Ben Dooks Signed-off-by: Dimitry Andric Signed-off-by: Russell King ChangeSet@1.2026.10.431, 2004-11-10 00:13:49+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2220/1: S3C2410 - regs-dsc.h fixes Patch from Ben Dooks The following fixes are included: - fix the addresses of S3C2440_DSCx (off by 4) - SCK0/SCK1 definitions the wrong way around - renable ENABLE to DISABLE Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.2026.76.5, 2004-11-09 16:12:20-08:00, hch@lst.de [NET]: Remove dead exports from net/core/dev.c Signed-off-by: Christoph Hellwig Signed-off-by: David S. Miller ChangeSet@1.2026.76.4, 2004-11-09 16:08:51-08:00, chas@cmf.nrl.navy.mil [ATM]: [atmtcp] fix refcounting and vcc search Signed-off-by: Chas Williams Signed-off-by: David S. Miller ChangeSet@1.2026.10.430, 2004-11-10 00:04:37+00:00, rmk@flint.arm.linux.org.uk [ARM] Add Assabet flash device partitioning and location data. ChangeSet@1.2026.10.429, 2004-11-09 23:48:56+00:00, rmk@flint.arm.linux.org.uk [ARM] Add SA1100 generic flash infrastructure. ChangeSet@1.2026.10.428, 2004-11-09 23:33:40+00:00, rmk@flint.arm.linux.org.uk [ARM] Add static partitioning information to flash_platform_data. ChangeSet@1.2026.76.3, 2004-11-09 15:22:30-08:00, ajgrothe@yahoo.com [CRYPTO]: Add Anubis support. Signed-off-by: Aaron Grothe Signed-off-by: James Morris Signed-off-by: David S. Miller ChangeSet@1.2026.76.2, 2004-11-09 11:09:01-08:00, greg@kroah.com [PATCH] kobject: fix double kobject_put() in error path of kobject_add() This fixes a problem introduced in the previous set of driver model changes that has been seen by a lot of people (most notibly the greater than 256 pty users, but others might also be hitting this without realizing it.) Also add a comment so we don't try to "fix" this again. Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.427, 2004-11-09 18:08:38+00:00, rmk@flint.arm.linux.org.uk [ARM] rtctime tweaks - if alarm operations are NULL, don't allow alarm ioctls to succeed. - if ops->ioctl is NULL, don't try to call NULL function. - only display the alarm times in /proc/rtc if we successfully read the alarm time. ChangeSet@1.2026.10.426, 2004-11-09 17:51:56+00:00, icampbell@com.rmk.(none) [ARM PATCH] 2219/2: Ignore IRQ_NONE for edge triggered interrupts Patch from Ian Campbell As discussed on the ARM Linux kernel mailing list. With edge triggered interrupts it is impossible to avoid spurious interrupts and so it makes sense to just ignore IRQ_NONE return values in this case. Signed-off-by: Ian Campbell Signed-off-by: Russell King ChangeSet@1.2026.1.65, 2004-11-09 17:35:11+00:00, aia21@cantab.net NTFS: Disable the file size changing code from fs/ntfs/aops.c::ntfs_prepare_write() for now as it is not safe. Signed-off-by: Anton Altaparmakov ChangeSet@1.2026.1.64, 2004-11-09 17:10:24+00:00, aia21@cantab.net NTFS: - Fix creation of buffers in fs/ntfs/mft.c::ntfs_sync_mft_mirror(). Cannot just call fs/ntfs/aops.c::mark_ntfs_record_dirty() since this also marks the page dirty so we create the buffers by hand and set them uptodate. - Revert the removal of the page uptodate check from fs/ntfs/aops.c::mark_ntfs_record_dirty() as it is no longer called from fs/ntfs/mft.c::ntfs_sync_mft_mirror(). Signed-off-by: Anton Altaparmakov ChangeSet@1.2026.1.63, 2004-11-09 10:42:14+00:00, aia21@cantab.net NTFS: - Add mapping of unmapped buffers to all remaining code paths, i.e. fs/ntfs/aops.c::ntfs_write_mst_block(), mft.c::ntfs_sync_mft_mirror(), and write_mft_record_nolock(). From now on we require that the complete runlist for the mft mirror is always mapped into memory. - Add creation of buffers to fs/ntfs/mft.c::ntfs_sync_mft_mirror(). - Do not check for the page being uptodate in mark_ntfs_record_dirty() as we now call this after marking the page not uptodate during mft mirror synchronisation (fs/ntfs/mft.c::ntfs_sync_mft_mirror()). - Improve error handling in fs/ntfs/aops.c::ntfs_{read,write}_block(). Signed-off-by: Anton Altaparmakov ChangeSet@1.2026.10.425, 2004-11-09 10:06:20+00:00, dave.jiang@com.rmk.(none) [ARM PATCH] 2216/1: Update iop3xx timers to new update process times scheme Patch from Dave Jiang Updates the timer irqs to call the new update process time scheme Signed-off-by: Dave Jiang Signed-off-by: Russell King ChangeSet@1.2026.10.424, 2004-11-09 10:01:11+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2215/1: S3C2410 - i2c registers for s3c2440a Patch from Ben Dooks Added S3C2440_IICLC register definitions Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.2026.10.423, 2004-11-09 09:55:47+00:00, davis_g@com.rmk.(none) [ARM PATCH] 2182/1: apcs-32 and alignment-traps command line options are deprecated in gcc-4.0 Patch from George G. Davis Recent gcc-4.0 and gcc-csl-arm-branch tool chains no longer include support for apcs-32 and alignment-traps command line options. This patch tests for presence of these deprecated c/l options and uses new gcc-4.0 c/l options instead if they are not supported by the current toolchain. Signed-off-by: George G. Davis Signed-off-by: Russell King ChangeSet@1.1803.119.53, 2004-11-09 01:26:16-05:00, len.brown@intel.com [ACPI] ibm ACPI 0.8 by Chris Wright and Borislav Deianov Signed-off-by: Len Brown ChangeSet@1.2053, 2004-11-09 00:04:39-05:00, len.brown@intel.com Merge intel.com:/home/lenb/bk/26-latest-ref into intel.com:/home/lenb/src/26-latest-dev ChangeSet@1.2026.10.421, 2004-11-08 19:52:15-08:00, ncunningham@linuxmail.org [PATCH] Fix dm_io.c oops in low memory conditions. If you call drivers/md/dm-io.c:resize_pool on an empty pool and mempool_create is unable to make the pool, the condition is not handled correctly, resulting in an oops in mempool_destroy. Trivial fix. ChangeSet@1.2026.10.420, 2004-11-08 19:09:28-08:00, prasanna@in.ibm.com [PATCH] kprobes: Minor changes for sparc64 Minor changes required to port kprobes for sparc64. - arch_prepare_kprobe() returns an integer. - added arch_remove_kprobe(). - changes to access copy of original instruction, since kprobe_opcode_t insn[MAX_INSN_SIZE] is moved from struct kprobe to a struct arch_specific_insn. Signed-off-by: Prasanna S Panchamukhi Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.75.1, 2004-11-08 17:12:54-08:00, torvalds@ppc970.osdl.org wait_task_stopped() must not just return 0 when it has released the tasklist_lock. Since it released the lock, the process lists may not be valid any more, and we must repeat the loop rather than continue with the next parent. Use -EAGAIN to show this condition (separate from the normal -EFAULT that may happen if rusage information could not be copied to user space). ChangeSet@1.2026.74.3, 2004-11-08 16:49:57-08:00, greg@kroah.com Merge kroah.com:/home/greg/linux/BK/bleed-2.6 into kroah.com:/home/greg/linux/BK/i2c-2.6 ChangeSet@1.2014.2.24, 2004-11-08 16:46:18-08:00, khali@linux-fr.org [PATCH] I2C: add Tyan S4882 driver Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2014.2.23, 2004-11-08 16:45:59-08:00, ben-linux@fluff.org [PATCH] S3C2410 i2c updates This patch integrates several fixes to the s3c2410 i2c driver Shannon Holland: - write IICCON in configuration code - add handling for s3c2410 i2c errata - fix clock rate divisor calculation Ben Dooks: - s3c2440 detection - s3c2440 IICLC register setup - add __exit to the module exit - remove return from exit code Signed-off-by: Ben Dooks Signed-off-by: Shannon Holland Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2014.2.22, 2004-11-08 16:45:39-08:00, bunk@stusta.de [PATCH] i2c/busses/ : make some code static The patch below makes some needlessly global code under i2c/busses/ static. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2014.2.21, 2004-11-08 16:45:21-08:00, khali@linux-fr.org [PATCH] I2C: Check for unregistered adapter in i2c_del_adapter The patch adds a check at the beginning of i2c_del_adapter in case someone attempts to remove an adapter that was never added in the first place. This sounds like a good safety, as doing so will lead to an oops at the moment. Also, I have a need for it in the latest version of my i2c-amd756-s4882 patch. I need to remove the original adapter and install the virtual ones instead, but I have no way to know if the original adapter was succesfully added beforehand or not. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2014.2.20, 2004-11-08 16:45:03-08:00, jthiessen@penguincomputing.com [PATCH] I2C: fix lm85.c build warnings Signed-off-by: Justin Thiessen Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2014.2.19, 2004-11-08 16:38:32-08:00, greg@kroah.com I2C: delete normal_i2c_range logic from sensors as there are no more users. ChangeSet@1.2014.2.18, 2004-11-08 16:37:43-08:00, greg@kroah.com I2C: moved from all sensor drivers from normal_i2c_range to normal_i2c Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2014.2.17, 2004-11-08 16:36:33-08:00, greg@kroah.com I2C: fix i2c_detect to allow NULL fields in adapter address structure. Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2014.2.16, 2004-11-08 16:35:21-08:00, greg@kroah.com I2C: remove normal_isa_range from I2C sensor drivers, as it's not used. Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2014.2.15, 2004-11-08 16:34:36-08:00, greg@kroah.com I2C: remove ignore_range from I2C sensor drivers, as it's not used. Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2014.2.14, 2004-11-08 16:33:52-08:00, greg@kroah.com I2C: remove probe_range from I2C sensor drivers, as it's not used. Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.74.2, 2004-11-08 14:45:49-08:00, torvalds@ppc970.osdl.org Merge bk://linux-sam.bkbits.net/kbuild into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.2026.74.1, 2004-11-08 14:22:09-08:00, adaplas@hotpop.com [PATCH] rivafb: big-endian IO access fixes In big endian machines, the read*/write* accessors do a byteswap for an inherently little endian PCI bus. However, rivafb puts the hardwire in big endian register access, thus the byteswap is not needed. So for 16- and 32-bit access, instead of read*/write*, use __raw_read*/__raw_write* for all archs. Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds ChangeSet@1.2052, 2004-11-08 15:19:37-05:00, len.brown@intel.com Merge ChangeSet@1.2016.1.15, 2004-11-08 15:30:20+01:00, marcel@holtmann.org [Bluetooth] Some trivial s/int/unsigned int/ In http://janitor.kernelnewbies.org/TODO, Jeff Garzik states: "unsigned int" is preferred to "int", it generates better asm code on all platforms except sh5. Signed-off-by: Carlo Perassi Signed-off-by: Marcel Holtmann ChangeSet@1.2026.64.148, 2004-11-07 20:36:41-08:00, torvalds@ppc970.osdl.org fbdev: fix compile of rivafb on __BIG_ENDIAN Typo introduced by latest cleanups by Antonino ChangeSet@1.2026.64.147, 2004-11-07 20:12:12-08:00, dtor_core@ameritech.net [PATCH] panic_blink and i8042 unloading At unload i8042 sets panic_blink to 0. This will cause problems if kernel panics later as it will just use it assuming that the pointer is correct. Signed-off-by: Dmitry Torokhov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.146, 2004-11-07 20:11:59-08:00, Andries.Brouwer@cwi.nl [PATCH] minix_clear_inode fix The patch below fixes two flaws in minix_clear_inode. The first is that it tests bh which is never initialized. (&bh is a parameter of minix_V1_raw_inode, but that routine can fail and return before it has set bh) The second is that generic_delete_inode() goes BUG() in case inode->i_state != I_CLEAR. Clearly, it is expected that inode->i_sb->s_op->delete_inode does a clear_inode() at some point. But minix_delete_inode() calls minix_free_inode() and that routine can print an error and return early, before calling clear_inode(). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.145, 2004-11-07 20:11:47-08:00, petero2@telia.com [PATCH] fix bttv oops in btcx_riscmem_free Signed-off-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.144, 2004-11-07 20:11:34-08:00, vandrove@vc.cvut.cz [PATCH] Add argument-less ppdev ioctls to compat_ioctl.h ppdev's ioctls are not available for 32bit apps on 64bit systems. There are four ioctls which take no argument at all (so they are compatible between 32bit and 64bit), these numbers do not clash with any other ioctl code, and so I see no reason why not applying patch below. It solves problem VMware users are faced on 64bit systems if they want to use direct access to the parallel port. Signed-off-by: Petr Vandrovec Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.143, 2004-11-07 20:11:22-08:00, paulus@samba.org [PATCH] Check character flags in ppp_async ldisc Although it was checking the per-character error flags supplied by the driver for ordinary characters, the ppp_async line discipline code wasn't checking the flags for special characters, such as the flag and escape characters (~ and }). This patch adds that check. Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.142, 2004-11-07 20:11:09-08:00, olh@suse.de [PATCH] fix initcall_debug on ppc64/ia64 ia64 and ppc64 have function descriptors. Booting with initcall_debug will print the descriptor address, not the address and name of the actual function. Another indirection is required. Tested on ppc, ppc64 and ia64. Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.141, 2004-11-07 20:10:57-08:00, apw@shadowen.org [PATCH] fix pnpbios fault message When your plug-n-play BIOS is truly broken and generates a fault during use, we report this and suggest disabling it. The message produced suggests using "nobiospnp" to achive this, the correct option is "pnpbios=off". This patch upates the message. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.140, 2004-11-07 20:10:44-08:00, trini@kernel.crashing.org [PATCH] Add __KERNEL__ to The following adds a __KERNEL__ check to . The problem is that the ppp package includes via , which in turn gets . Signed-off-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.139, 2004-11-07 20:10:32-08:00, marcel@holtmann.org [PATCH] Use add_hotplug_env_var() in firmware loader The add_hotplug_env_var() function is available and so use it in the firmware class code. Signed-off-by: Marcel Holtmann Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.138, 2004-11-07 20:10:19-08:00, trini@kernel.crashing.org [PATCH] Fix building of samba userland After 2.6.8.1, samba userland would no longer build with current kernel headers, as it needs some of the samba kernel headers to work, yet they included outside of __KERNEL__. Signed-off-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.137, 2004-11-07 20:10:07-08:00, james4765@gmail.com [PATCH] ramdisk: Correction to Documentation/kernel-parameters.txt Remove deleted module option in Documentation/kernel-parameters.txt Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.136, 2004-11-07 20:09:54-08:00, james4765@gmail.com [PATCH] tipar: Documentation/tipar.txt cleanup Minor cleanup of Documentation/tipar.txt. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.135, 2004-11-07 20:09:41-08:00, james4765@verizon.net [PATCH] documentation: Remove drivers/char/README.scc Remove unneeded file in drivers/char. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.134, 2004-11-07 20:09:29-08:00, james4765@verizon.net [PATCH] documentation: Remove drivers/char/README.ecpa Remove unneeded file from drivers/char. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.133, 2004-11-07 20:09:17-08:00, james4765@verizon.net [PATCH] documentation: Remove drivers/char/README.cyclomY Remove obsolete file from drivers/char. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.132, 2004-11-07 20:09:04-08:00, james4765@verizon.net [PATCH] documentation: Remove drivers/char/README.computone Remove deprecated file in drivers/char. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.131, 2004-11-07 20:08:52-08:00, kas@fi.muni.cz [PATCH] Minor fix of RCU documentation The attached patch fixes an incorrect example in Documentation/RCU/listRCU.txt - the "original" lock-based code should not call RCU functions, of course. Signed-Off-By: Jan "Yenya" Kasprzak Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.130, 2004-11-07 20:08:39-08:00, hch@lst.de [PATCH] unexport do_settimeofday Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.129, 2004-11-07 20:08:26-08:00, hch@lst.de [PATCH] remove dead exports from random.c Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.128, 2004-11-07 20:08:14-08:00, hch@lst.de [PATCH] remove dead kernel_map_pages export Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.127, 2004-11-07 20:08:01-08:00, akpm@osdl.org [PATCH] Fix ext3_dx_readdir When there are more than one entry in fname linked list, the current implementation of ext3_dx_readdir() can not traverse all entries correctly in the case that call_filldir() fails. If we use system call readdir() to read entries in a directory which happens that "." and ".." in the same fname linked list. Each time we call readdir(), it will return the "." entry and never returns 0 which indicates that all entries are read. Although chances that more than one entry are in one fname linked list are very slim, it does exist. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.126, 2004-11-07 20:07:49-08:00, janitor@sternwelten.at [PATCH] VFS maintainer email address updates viro has moved. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.125, 2004-11-07 20:07:36-08:00, prasanna@in.ibm.com [PATCH] kprobes: kprobes ported to x86_64 Adopted from i386 architecture. Kprobes: Helps developers to trap at almost any kernel code address, specifying a handler routine to be invoked when the breakpoint is hit. Useful for analysing the Linux kernel by collecting debugging information non-disruptively. Employs single-stepping out-of-line to avoid probe misses on SMP and may be especially useful in aiding debugging elusive races and problems on live systems. More elaborate dynamic tracing tools can be built over the kprobes interface. Sample usage: To place a probe on __blockdev_direct_IO: static int probe_handler(struct kprobe *p, struct pt_regs *) { ... whatever ... } struct kprobe kp = { .addr = __blockdev_direct_IO, .pre_handler = probe_handler }; register_kprobe(&kp); Jprobes: A special kprobe type which can be placed on function entry points, and employs a simple mirroring principle to allow seamless access to the arguments of a function being probed. The probe handler routine should have the same prototype as the function being probed. The way it works is that when the probe is hit, the breakpoint handler simply irets to the probe handler's rip while retaining register and stack state corresponding to the function entry. After it is done, the probe handler calls jprobe_return() which traps again to restore processor state and switch back to the probed function. Linus noted correctly at KS that we need to be careful as gcc assumes that the callee owns arguments. We save and restore enough stack bytes to cover argument space. Sample Usage: static int jip_queue_xmit(struct sk_buff *skb, int ipfragok) { ... whatever ... jprobe_return(); return 0; } struct jprobe jp = { {.addr = (kprobe_opcode_t *) ip_queue_xmit}, .entry = (kprobe_opcode_t *) jip_queue_xmit }; register_jprobe(&jp); Signed-off-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.124, 2004-11-07 20:07:23-08:00, prasanna@in.ibm.com [PATCH] kprobes: Minor i386 changes required for porting kprobes to x86_64 - Kprobes structure has been modified to support copying of original instruction as required by the architecture. On x86_64 normal pages we get from kmalloc or vmalloc are not executable. Single-stepping an instruction on such a page yields an oops. So instead of storing the instruction copies in their respective kprobe objects, we allocate a page, map it executable, and store all the instruction copies there and store the pointer of the copied instruction in the specific kprobes object. - jprobe_return_end is moved into inline assembly to avoid compiler optimization. - arch_prepare_kprobe() now returns an integer,since arch_prepare_kprobe() might fail on other architectures. - added arch_remove_kprobe() routine, since other architectures requires it. Signed-off-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.123, 2004-11-07 20:07:11-08:00, arjan@infradead.org [PATCH] remove unused lookup_mnt export lookup_mnt() is entirely unused outside of deep vfs internals, remove the export since it's quite a low level interface anyway Signed-off-by: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.122, 2004-11-07 20:06:58-08:00, Markus.Lidel@shadowconnect.com [PATCH] fix bug in i2o_iop_systab_set where address is used instead of length - Fixed bug in i2o_iop_systab_set where address is used instead of length Signed-off-by: Markus Lidel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.121, 2004-11-07 20:06:45-08:00, mru@inprovide.com [PATCH] SysRq-n changes RT tasks to normal Teach sysrq-N to switch all rt-policy tasks to SCHED_OTHER. For recovering from (and diagnosing) userspace bugs. Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.120, 2004-11-07 20:06:32-08:00, jbaron@redhat.com [PATCH] fix alt-sysrq deadlock The sysrq code is taking a spinlock from both interrupt and process context in an unsafe and deadlocky manner. Move all those inlined functions out of sysrq.h, into sysrq.c then withdraw all those exported-to-modules helper functions then remove __sysrq_trylock_table() altogether and then use spin_lock_irqsave() in the appropriate places. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.119, 2004-11-07 20:06:20-08:00, sonic_amiga@rambler.ru [PATCH] VIA8231 support for parallel port driver This patch allows the kernel to configure port's mode without help of BIOS. It is needed on my machine because its firmware simply ignores the parallel port leaving in unidirectional SPP mode. Notes on usage: To configure the port you need to: - if parport_pc driver is compiled as a module: specify parport_pc init_mode=[spp|ps2|epp|ecp|ecpepp] in /etc/modules file (for Debian Linux). - if the driver is linked statically with the kernel: specify parport_init_mode=[spp|ps2|epp|ecp|ecpepp] in kernel's arguments. This patch is intended for use primarily on Pegasos machines but it will work on any computer with VIA8231 south bridge. In this case it will override BIOS setting if you tell the driver to configure the port. BIOS setting will be honored if you omit init_mode parameter. Technical details: 1. On Pegasos standard port settings (set by OpenFirmware) are: IRQ=7, DMA=3, base address=0x3BC, mode is unidirectional SPP. 2. The patch changes only port mode, all other settings are preserved. So if you have a PC with VIA8231 and use driver to configure the port you'll still be able to change IRQ, DMA and base address in BIOS and these settings will be kept. 3. One exclusion: if you tell the driver to turn on EPP mode (specify epp or ecpepp value) and if default base address is 0x3BC (this is the case on Pegasos) the port will be moved to 0x378. EPP port can't have 0x3BC as the base. Known problems: 1. ECP+EPP mode is strange, it doesn't work even on several PC's i tested with Linux. ECP mode is detected and EPP is not. So if you get the same thing, it's not my fault. I just have no time to deal with it, current result is enough for me. 2. Not all devices work on Pegasos, i tried my Genuis-HR6 parallel port scanner and parallel ZIP drive and both of them don't work. ZIP drive is detected properly but then suddenly gets offline. Scanner does not answer any command at all. Without the patch the same thing happens. Obviously Pegasos has some more problems which are not discovered and not fixed yet. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.118, 2004-11-07 20:06:07-08:00, pluto@pld-linux.org [PATCH] /proc/kcore - enable/disable. The presence of /proc/kcore is supposed to be configurable. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.117, 2004-11-07 20:05:54-08:00, rusty@rustcorp.com.au [PATCH] Don't ignore try_stop_module return Since 2.6.4 we've been ignoring the failure of try_stop_module: it will normally fail if the module reference count is non-zero. This would have been mainly unnoticed, since "modprobe -r" checks the usage count before calling sys_delete_module(), however there is a race which would cause a hang in this case. Signed-off-by: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.116, 2004-11-07 20:05:42-08:00, adaplas@hotpop.com [PATCH] fbcon: Another fix for fbcon generic blanking code If the driver has no fb_blank hook, then the generic method is to clear the screen and then disallow writes to the framebuffer. However, if the console is leaving graphics mode (KD_GRAPHICS), it would update the screen first, then unblank. However, since writes to the framebuffers are disallowed, the update failes, and upon unblank, the screen is left empty except for the flashing cursor. (This happens, for example when switching from X to console). The fix is to allow writes to the framebuffer even if the console is blanked. To imitate a blank screen, the get_color() function will return the attributes of the erase character (black on black) if the console is blanked and if the driver has no fb_blank hook. I think this fixes the rest of the major bugs in the blanking code. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.115, 2004-11-07 20:05:29-08:00, sylvain.meyer@worldonline.fr [PATCH] fbdev: intelfb code cleanup - fix problems in the __iomem annotation - remove builtinmodes.c - remove INTEL_*_PARAM and use module_param instead - remove intelfb_find_mode() and associated functions and use generic fb_find_mode() instead - trivial documentation fix Signed-off-by: Sylvain Meyer Acked-by: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.114, 2004-11-07 20:05:16-08:00, hch@lst.de [PATCH] remove two leftover files Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.113, 2004-11-07 20:05:04-08:00, adaplas@hotpop.com [PATCH] fbcon: "Do not touch hardware if vc_mode != KD_TEXT: fix Sigh, this patch uncovered a can of worms. I tested different combinations, those with/without xxxfb_blank implementation, framebuffers in directcolor or truecolor, etc. I find that there is a problem unblanking if the hardware has no xxxfb_blank() implementation, and also that the generic fb_blank() in fbmem.c is problematic with drivers in directcolor or pseudocolor mode when called by an fb application such as X. Display blanking is implemented in three ways: 1. using the drivers blanking implementation - info->fbops->fb_blank() 2. clearing the screen with the console erase character - fbcon_blank() 3. setting the color map to all black - fb_blank() The third method is problematic for these reasons: - Setting the colormap to all black will not work in truecolor mode - In directcolor or pseudocolor, it will overwrite the fb application's color map, producing wrong colors. So, remove the generic implementation in fb_blank() and just return -EINVAL if there is no hardware implementation. This will be only used by apps doing an FBIO_BLANK ioctl, and is a more robust approach. Other changes: - Consolidated all tests and created an inlined helper function to check if the framebuffer console is inactive or not. - fix unblanking if driver has no xxxfb_blank() hook. I'm probably missing a few more things, but this patch should be generally correct. Please apply after the entire patch series to avoid rejects. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.112, 2004-11-07 20:04:51-08:00, adaplas@hotpop.com [PATCH] fbdev: Check for intialized flag before registration in matroxfb In matroxfb_set_par, a flag is set to nonzero which is checked after register_framebuffer(). If this flag is zero, the driver will initialize the hardware. This is necessary because info->currcon (previously checked by matroxfb) has been removed from struct fb_info. Signed-off-by: Antonino Daplas Acked-by: Petr Vandrovec Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.111, 2004-11-07 20:04:38-08:00, adaplas@hotpop.com [PATCH] fbdev: Set correct mclk/xclk values for aty in ibook The first iBook needs special mclk/xclk values, or the screen will show only garbage. A patch like this went into 2.4.23. It stopped working after 2.6.10-rc1. http://linux.bkbits.net:8080/linux-2.4/cset@3f966ca7mqKxZorh7Uw2SBAuVbv3mA It was discussed here: http://marc.theaimsgroup.com/?t=106345749200001&r=1&w=4 Signed-off-by: Olaf Hering Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.110, 2004-11-07 20:04:26-08:00, syrjala@sci.fi [PATCH] fbdev: Fix atyfb cursor problems Fix atyfb cursor problems: - oops with noaccel option - CONFIG_FB_ATY_CT dependency problem Signed-off-by: Ville Syrjala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.109, 2004-11-07 20:04:14-08:00, adaplas@hotpop.com [PATCH] fbdev: atyfb_base.c requires atyfb_cursor() atyfb_base.c requires atyfb_cursor, but it is only available for linking if CONFIG_FB_ATY_CT=y. This patch moves the .o file to the CONFIG_FB_ATY rule. Signed-off-by: Olaf Hering Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.108, 2004-11-07 20:04:01-08:00, adaplas@hotpop.com [PATCH] fbcon/fbdev: Remove fbcon-specific fields from struct fb_info The following fields in struct fb_info is specific only to fbcon: - struct timer_ cursor_timer - int currcon Remove them from struct fb_info and place them in fbcon_par so they become invisible from the drivers. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.107, 2004-11-07 20:03:47-08:00, adaplas@hotpop.com [PATCH] fbdev: Fix source copy bug in neofb Fix copy system-io copy bug. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.106, 2004-11-07 20:03:35-08:00, adaplas@hotpop.com [PATCH] fbcon: Add box drawing glyphs to 6x11 font From: David Lazar I've tried to use the 6x11 (mac console) font on the framebuffer console (on the x86 architecture), and I've noticed that the font didn't have the correct box drawing glyphs. As a result I've used as a model the 8x16 font and edited the glyphs for all 256 US ASCII characters, so that they display correctly. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.105, 2004-11-07 20:03:22-08:00, adaplas@hotpop.com [PATCH] fbdev: Fix IO access in rivafb Fix IO access in rivafb: - change NV_RD*/WR* macros to use read*/write* family - use NV_RD*/WR* to access IO memory - add __iomem annotations Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.104, 2004-11-07 20:03:09-08:00, adaplas@hotpop.com [PATCH] fbdev: Fix access to ROM in aty128fb Fix access to ROM in aty128fb. Found by sparse. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.103, 2004-11-07 20:02:57-08:00, adaplas@hotpop.com [PATCH] fbcon: Do not touch hardware if vc_mode != KD_TEXT The frambuffer console is still writing to the graphics hardware even if the hardware is not owned anymore by the console. This can lead to crashes with some hardware. A trace of the source indicates that it comes from almost anywhere, anytime. The fix is to return immediately if vc_mode != KD_TEXT. The test is placed in the following functions if not already present. fbcon_cursor() fbcon_putcs() fbcon_clear() fbcon_bmove() fbcon_blank() Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.102, 2004-11-07 20:02:44-08:00, arjan@infradead.org [PATCH] remove journal callback code from jbd With the demise of intermezzo, the journal callback stuff in jbd is entirely unused (neither ext3 nor ocfs2 use it), and thus will only bitrot and bloat the kernel with code and datastructure growth. If intermezzo ever gets resurrected this will be the least of the problems they have to face (both with generic kernel as jbd). Signed-off-by: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.101, 2004-11-07 20:02:32-08:00, stelian@popies.net [PATCH] videodev2.h patchlet The following patchlet to videodev2.h brings in the "__user" definition from linux/compiler.h, making it suitable for inclusion in both kernel or user code. Signed-off-by: Stelian Pop Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.100, 2004-11-07 20:02:19-08:00, stelian@popies.net [PATCH] sonypi: documentation fixes In the latest round of updates for the sonypi driver, I fergot to send the attached patch which fixes the driver documentation. The patch contains mostly whitespace fixes and some additional information regarding the input layer usage. Signed-off-by: Stelian Pop Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.99, 2004-11-07 20:02:06-08:00, stelian@popies.net [PATCH] meye: cache the camera settings in the driver Retrieving the current settings from the camera does not work very well, we need to cache the values in the driver. Signed-off-by: Stelian Pop Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.98, 2004-11-07 20:01:53-08:00, stelian@popies.net [PATCH] meye: bump up the version number Signed-off-by: Stelian Pop Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.97, 2004-11-07 20:01:40-08:00, stelian@popies.net [PATCH] meye: whitespace and coding style cleanups Signed-off-by: Stelian Pop Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.96, 2004-11-07 20:01:28-08:00, stelian@popies.net [PATCH] meye: add v4l2 support Signed-off-by: Stelian Pop Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.95, 2004-11-07 20:01:15-08:00, stelian@popies.net [PATCH] meye: module parameters documentation fixes Signed-off-by: Stelian Pop Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.94, 2004-11-07 20:01:03-08:00, stelian@popies.net [PATCH] meye: the driver is no longer experimental and depends on PCI Signed-off-by: Stelian Pop Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.93, 2004-11-07 20:00:49-08:00, stelian@popies.net [PATCH] meye: cleanup init/exit paths Signed-off-by: Stelian Pop Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.92, 2004-11-07 20:00:37-08:00, stelian@popies.net [PATCH] meye: implement non blocking access using poll() Signed-off-by: Stelian Pop Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.91, 2004-11-07 20:00:24-08:00, stelian@popies.net [PATCH] meye: do lock properly when waiting for buffers Signed-off-by: Stelian Pop Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.90, 2004-11-07 20:00:12-08:00, stelian@popies.net [PATCH] meye: picture depth is in bits not in bytes Signed-off-by: Stelian Pop Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.89, 2004-11-07 19:59:59-08:00, stelian@popies.net [PATCH] meye: replace homebrew queue with kfifo Signed-off-by: Stelian Pop Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.88, 2004-11-07 19:59:46-08:00, stelian@popies.net [PATCH] meye: module related fixes - use module_param() instead of MODULE_PARM() and __setup() - use MODULE_VERSION() Signed-off-by: Stelian Pop Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.87, 2004-11-07 19:59:34-08:00, hunold@linuxtv.org [PATCH] v4l: keep tvaudio driver away from saa7146 The attached patch keeps the tvaudio i2c helper module away from any saa7146 based framegrabber. All saa7146 drivers have their dedicated i2c helper modules and don't work together with tvaudio, so keep it away alltogether. This will make mixed-card configurations work. The patch was discussed and ack'ed by Gerd Knorr. - don't attach tvaudio module on saa7146 i2c busses Signed-off-by: Michael Hunold Acked-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.86, 2004-11-07 19:59:21-08:00, hunold@linuxtv.org [PATCH] v4l: mxb driver and i2c helper cleanup The attached patch cleans up my Video4Linux "MXB" driver and the i2c helper chipset drivers used by that cards. I ran Lindent on the files and fixed some other coding style violations, which makes the patch rather big. But besides the MODULE_PARM => module_param there have been no crucial changes. - [V4L] mxb: replace MODULE_PARM with module_param - [V4L] saa7111: replace MODULE_PARM with module_param - [V4L] tda9840: replace MODULE_PARM with module_param, re-indent code with Lindent, remove unnecessary header includes, code simplification - [V4L] tea6415c: replace MODULE_PARM with module_param, re-indent code with Lindent, remove unnecessary header includes, code simplification - [V4L] tea6420: replace MODULE_PARM with module_param, re-indent code with Lindent, remove unnecessary header includes, code simplification Signed-off-by: Michael Hunold Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.85, 2004-11-07 19:59:08-08:00, jdike@addtoit.com [PATCH] uml: set DTRACE correctly From: Bodo Stroesser - Set PTRACE_DTRACE and singlestep_syscall correctly. Pass out TRACESYSGOOD and make sure the parent gets notified in ptrace_syscall. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.84, 2004-11-07 19:58:55-08:00, jdike@addtoit.com [PATCH] uml: dont check NR_syscalls Remove an unnecessary and even dangerous check in is_syscall() The bug was inserted by my patch syscall-security-1. Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.83, 2004-11-07 19:58:43-08:00, jdike@addtoit.com [PATCH] uml: clear singlestep The patch syscall-security-3 is wrong (provided by me, sorry). I missed, that singlestepping_skas() used to reset PT_DTRACE. This was handled differently in tt and skas. With syscall-security-3 applied, a process in SKAS that singlestepped once continues to singlestep until the next systemcall occurs, even if it is resumed with PTRACE_CONT or PTRACE_SYSCALL. This fix unifies the usage of PT_DTRACE in TT and SKAS. PT_DTRACE now is set by ptrace(PTRACE_SINGLESTEP,...) and reset by singlestepping() and it is evaluated in kern_do_signal(). Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.82, 2004-11-07 19:58:30-08:00, jdike@addtoit.com [PATCH] uml: generic singlestepping From: Bodo Stroesser - Make singlestepping() generic. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.81, 2004-11-07 19:58:17-08:00, jdike@addtoit.com [PATCH] uml: generic singlestep syscall From: Bodo Stroesser - Make singlestep_syscall generic rather than being restricted to tt mode. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.80, 2004-11-07 19:58:05-08:00, jdike@addtoit.com [PATCH] uml: sysenter is syscall From: Bodo Stroesser - Change is_syscall to check for sysenter and also that we are actually executing a system call. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.79, 2004-11-07 19:57:53-08:00, jdike@addtoit.com [PATCH] uml: handle signal api This first patch lays some groundwork needed by the others. From: Bodo Stroesser - Change the interface to handle_signal so that it doesn't take the system call return value as an argument and eliminate its return value. kern_do_signal also now doesn't return immediately after determining that there is no signal to deliver. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.78, 2004-11-07 19:57:39-08:00, jdike@addtoit.com [PATCH] uml: update atomic.h so UML builds cleanly The comment should be self-explanatory. This works around a pile of nasty-looking build output. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.77, 2004-11-07 19:57:27-08:00, blaisorblade_spam@yahoo.it [PATCH] uml: add missing newline in help string Add missing newline in help string for "nosysemu" param. Run ./vmlinux --help before and after to see the difference. Trivial - must go in. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.76, 2004-11-07 19:57:14-08:00, blaisorblade_spam@yahoo.it [PATCH] uml: re-add linux Makefile target - fixes to the old version. We have re-added the "linux" target which just creates a hardlink to vmlinux. It was noted (sorry for forgetting who said this) that "make ARCH=um" will leave an old "linux" file, since the target is not listed in .PHONY. Using a symlink, instead of an hard link, was suggested because the hard link does not get updated with make vmlinux. But mv linux $destpath (the most meaningful installation command) is broken, so I instead added linux to .PHONY. Obviously, linux will not be rebuilt on "make vmlinux ARCH=um", but this makes sense (if people use the new way, don't use old tricks). Anyway, we remove "linux" in any case. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Acked-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.75, 2004-11-07 19:57:02-08:00, blaisorblade_spam@yahoo.it [PATCH] uml: clear errno in CATCH_EINTR To avoid silly messages coming out during debugging or when things break, after that we've read in CATCH_EINTR that errno == EINTR, clear it, so that it's 0 in next iteration. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.74, 2004-11-07 19:56:50-08:00, blaisorblade_spam@yahoo.it [PATCH] uml: Lots of little fixes by Jeff Dike. From: Jeff Dike This is a large set of small fixes and other changes: Fixed a file descriptor leak in the network driver when changing an IP address. The port channel now sets SO_REUSEADDR. Added some initcall and exitcall definitions to arch/um/include/init.h so that they can be used from userspace code. Fixed the error handling in run_helper. Added the log() facility to mem_user.c. Fixed a problem with recursive segfaults not being handled correctly. tty_log_fd and umid aren't added to the command line any more. Fixed some prints. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.73, 2004-11-07 19:56:37-08:00, blaisorblade_spam@yahoo.it [PATCH] uml: use PTRACE_SYSEMU also for TT mode From: Jeff Dike Paolo 'Blaisorblade' Giarrusso As Jeff Dike noted, even if SYSEMU was originally written for use in SKAS mode, there is nothing SKAS specific in SYSEMU, so use it for TT mode, too. SYSEMU simply allows one to ptrace(PTRACE_SYSEMU) a process, that will stop on the syscall entry path like with PTRACE_SYSCALL, but with the difference that it makes sure that the syscall execution is totally skipped and that the child will see the return value set by the ptracer when the child was stopped. We even hope that the SYSEMU patch can be merged in mainline sooner than SKAS. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.72, 2004-11-07 19:56:24-08:00, blaisorblade_spam@yahoo.it [PATCH] uml: more careful test startup From: Paolo 'Blaisorblade' Giarrusso Bodo Stroesser While testing the host ptrace(2) features, we modify the stack frame of a test child which is doing a syscall (namely getpid). Either we override the syscall number or the return value, which become the parent's pid, or we don't, and the return value is the child's pid. Actually, we only compared the return value with the child's pid, so we did not notice a bug where the return value happened to be different from both. So I added a stricter test here. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.71, 2004-11-07 19:56:12-08:00, blaisorblade_spam@yahoo.it [PATCH] uml: fix sysemu test at startup From: Paolo 'Blaisorblade' Giarrusso Bodo Stroesser Jeff Dike Currently, the test for the SYSEMU support on the host is completely wrong, as Bodo noticed. We should change the syscall result (inserting the host pid) and check if it is received correctly by the guest. What we actually do, without this patch, is to overwrite the syscall number. This went unnoticed because we only check that the getpid() syscall from the child does not return its pid. We don't check that it returns the correct value. Also, override the result portably, using the PT_SYSCALL_RET_OFFSET macro which abstract away the host stack frame layout (took from Jeff Dike code). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.70, 2004-11-07 19:56:00-08:00, blaisorblade_spam@yahoo.it [PATCH] uml: revert compile-only changes for other ones I'm reverting the compile-time fixes to replace them with a bigger change, which also happens to fix the compilation problem. The change is in next patches. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.69, 2004-11-07 19:55:47-08:00, blaisorblade_spam@yahoo.it [PATCH] uml: use kallsyms when dumping stack This patch makes UML use print_symbol() when dumping the stack. It is not yet complete (the i386 version uses the frame pointers to walk the stack, for instance), but should be at least enough. Also, it uses bust_spinlock() when dumping errors to help them reach the console. This appears not to be enough - however I analyzed the UML console code, and it seems that UML console don't get flushed *at all* when exiting. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.68, 2004-11-07 19:55:35-08:00, blaisorblade_spam@yahoo.it [PATCH] uml: remove SIGPROF from change_signals From: Paolo 'Blaisorblade' Giarrusso Jeff Dike Since local_irq_save() and local_irq_disable() should match (apart from saving the flags), get/set_signals must match [un]block_signals, i.e. change_signals; since get/set_signals don't enable/disable SIGPROF (and this behaviour is safe as explained in the comment the patch adds, since the profiling code does not interact with the kernel code), not even change_signals must toggle it. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.67, 2004-11-07 19:55:22-08:00, blaisorblade_spam@yahoo.it [PATCH] uml: catch EINTR in generic_console_write Make generic_console_write() catch the EINTR error code and retry doing the calls accordingly. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.66, 2004-11-07 19:55:09-08:00, blaisorblade_spam@yahoo.it [PATCH] uml: mconsole_proc simplify and partial fix From: Gerd Knorr , and me, Paolo Giarrusso This is a rewrite of the mconsole_proc function. The old code had the problem that the kernel crashed after calling "uml_mconsole proc " a few times. I havn't tracked what exactly causes the problem, I guess trying to access the procfs without actually mounting it somewhere causes some corruption of kernel data structures. The new code simply openes /proc/ via sys_open(). That simplifies the function alot. It also doesn't crash any more ;) Also, from Paolo Giarrusso: When printing the content of a file through the "proc" command, make it begin on his own line. PROBLEMS: Drawback is that it only works when procfs is actually mounted below /proc. And within UML, often this is false, because when building honeypots we mount HPPFS under /proc to avoid the hacker recognizing he's attacking a UML instance. One suggestion I've received to fix the later issue was to mount the procfs within a kernel thread with a private namespace, but I havn't tried that so far. Instead, we'd like to fix the actual code of the mconsole_proc function. From "Anthony Brock" Anthony_Brock (at) ous (dot) edu comes a comment, suggesting where the bug lays (as noted in the source): removing part of the code (it seems the symlink lookup) there are no more crashes. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.65, 2004-11-07 19:54:57-08:00, blaisorblade_spam@yahoo.it [PATCH] uml: no duplicate current_thread definition From: Paolo 'Blaisorblade' Giarrusso Jeff Dike Currently there are two distinct definitions of current_thread_info (which has its usual meaning) and current_thread (which is the same thing); so define the second to be the first (for UML compatibility). If needed, a search & replace \ to current_thread_info and removing current_thread can be done (that would be a separate, low-priority patch, however). Also, since the involved headers include each other very deeply, we must fix somehow this recursive inclusion or things won't compile. Jeff Dike noted that this can be done easily, since the nasty chain of includes can be broken by eliminating an include of current.h, and implemented this. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.64, 2004-11-07 19:54:44-08:00, blaisorblade_spam@yahoo.it [PATCH] uml: remove useless inclusion Avoid including some unused headers. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.63, 2004-11-07 19:54:31-08:00, blaisorblade_spam@yahoo.it [PATCH] uml: cleanup header names Rename headers with the same name to avoid specifying the complete path for including them. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.62, 2004-11-07 19:45:33-08:00, blaisorblade_spam@yahoo.it [PATCH] uml: fix symbol conflict in linking Since arch/um/kernel/tt/unmap_fin.o is linked statically, it could contain some symbols also contained in the rest of vmlinux; on some systems, this actually happens (due to some glibc differences). Since that file *must* be linked statically and then relinked (its code must remap the whole .text area except the section it is contained in during UML startup), we cannot change this. So, we use objcopy to turn all symbols into local ones except for switcheroo(), which is the only function actually defined in the source (the other ones are brought in during linking). This shouldn't hurt other systems, while improving the behaviour on affected ones (there is still another issue I'm trying to fix). And it is logically always needed (i.e., without this UML has just happened to work until now). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.61, 2004-11-07 19:45:21-08:00, blaisorblade_spam@yahoo.it [PATCH] uml: fix syscall auditing Correct the entry_exit parameter for syscall_trace when tracing syscalls. It was the reverse of the needed value. (i.e. it was 1 on entry and 0 on exit). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.60, 2004-11-07 19:45:08-08:00, blaisorblade_spam@yahoo.it [PATCH] uml: add startup check for mmap(...PROT_EXEC...) from /tmp. This adds a check that /tmp is not mounted noexec. UML needs to be able to do PROT_EXEC mmaps of temp files. Previously, a noexec /tmp would cause an early mysterious UML crash. (Actually, not /tmp but $TMP, which often is the same). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.59, 2004-11-07 19:44:55-08:00, blaisorblade_spam@yahoo.it [PATCH] uml - some comments about forcing /bin/bash Changes a comment about forcing /bin/bash as shell for the UML Makefile. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.58, 2004-11-07 19:44:42-08:00, blaisorblade_spam@yahoo.it [PATCH] uml: fix ptrace() hang on 2.6.9 host due to host changes From: Gerd Knorr , Paolo 'Blaisorblade' Giarrusso Uml was using kill(pid, SIGKILL) instead of ptrace(PTRACE_KILL, pid), which used to work, while being probably undocumented. Due to the changes in 2.6.9 to the ptrace(2) semantics, with the introduction of TASK_TRACED by Roland McGrath, this does not more work, so this patch should fix it. With help of Gerd Knorr report and analysis, and its early fix of this problem. He fixed the problem by sending SIGCONT to the child processes after SIGKILL. Which IMHO should not be needed (I think this is a regression, which he already reported). I improved his one, by replacing the SIGCONT hack with using PTRACE_KILL instead. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.57, 2004-11-07 19:44:29-08:00, takata@linux-m32r.org [PATCH] m32r: fix for use of Mappi PCC Here is a patch to fix compile errors for an Mappi evaluation board. - Just change from CONFIG_M32RPCC to CONFIG_M32R_PCC. Thanks to Naoto Sugai for reporting. Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.56, 2004-11-07 19:44:17-08:00, takata@linux-m32r.org [PATCH] m32r: fix arch/m32r/lib/memset.S This patch fixes arch/m32r/lib/memset.S. Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.55, 2004-11-07 19:44:04-08:00, clameter@sgi.com [PATCH] mmtimer driver update: add SHub interrupt support - mmtimer: add support for the use of hardware timers on SGI SHubs (sn subarch) via the posix timer interface. - Allows the scheduling of up to 3 hardware interrupts per node to deliver signals to processes running on those nodes. - Periodic timers in user space capable of supporting intervals down to 10us (<10us supported but will usually result in excessive overruns). - Scheduling accuracy of 40ns. (However, typically it takes at least a few usecs for an interrupt to be forwarded to a signal in user space.) - Add missing SHub information to include/asm-ia64/sn/shub_mmr.h - Reserve timer interrupt used in include/asm-ia64/sn/intr.h Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.54, 2004-11-07 19:43:51-08:00, ak@suse.de [PATCH] x86-64: Fix broken NMI change Fix an obviously broken change someone did to the x86-64 NMI handler. reason would get used uninitialized, causing random misbehaviour in the NMI handler and gcc rightly complained about it. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.53, 2004-11-07 19:43:39-08:00, ak@suse.de [PATCH] x86_64: Add p4 clockmod Add links for p4-clockmod driver in x86-64 cpufreq. AK: Made it dependent on EMBEDDED because the driver is only useful in some special situations and should be normally not used. Signed-off-by: "Venkatesh Pallipadi" Signed-off-by: Andi Kleen Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.52, 2004-11-07 19:43:26-08:00, blaisorblade_spam@yahoo.it [PATCH] ptrace POKEUSR: add comment about the DR7 check. The DR7 register on i386/x86_64 has a special meaning, so there is a special check to do. Since the code is rather difficult, I added an explaination about it. Also, while studying the i386 Intel Manual, I saw that x86_64, even on 32bit emulation, allows using values which are disallowed on i386. It's almost obvious that what it allows is setting a 8-byte wide data watchpoint (in fact I double checked the AMD manuals, just in case, and this is true; I couldn't find a mention of this in my Intel manuals). But since the original ia32 emulation code has this comment: /* You are not expected to understand this ... I don't neither. */ I am dubious that the code in ptrace32.c is wrong: does x86_64 supports 8byte-wide watchpoints in 32-bit emulation? I've checked the AMD manual Vol. 2 (no. 24593), which says that to set the length to 8 bits "long mode must be enabled". This means, actually, that the current code is safe, notwithstanding the comment (which I removed). Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Roland McGrath , Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.51, 2004-11-07 19:43:13-08:00, macro@linux-mips.org [PATCH] x86, x86_64: Only handle system NMIs on the BSP While discussing races in the NMI handler's trailer fiddling with RTC registers, I've discovered we incorrectly attempt to handle NMIs coming from the system (memory errors, IOCHK# assertions, etc.) with all processors even though the interrupts are only routed to the bootstrap processor. If one of these events coincides with a NMI watchdog tick it may even be handled multiple times in parallel. Here is a fix that makes application processors ignore these events. They no longer access the NMI status bits at I/O port 0x61 which has also the advantage of removing the contention on the port when the I/O APIC NMI watchdog makes all processors arrive at the handler at the same time. Signed-off-by: Maciej W. Rozycki Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.50, 2004-11-07 19:43:00-08:00, macro@linux-mips.org [PATCH] UP local APIC bootstrap cleanup Here is a patch to do some cleanup to code affected by the recent change to the bootstrap code responsible for enabling the local APIC. It adds a message about how to get the APIC enabled if previously disabled by the BIOS to aid people expecting the former behavior. It removes some P4-specific code that's become dead as a result of the change. Finally it improves a couple of inaccurate comments. This has been agreed to be reasonable. Signed-off-by: "Maciej W. Rozycki" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.49, 2004-11-07 19:42:47-08:00, paulus@samba.org [PATCH] ppc64: u3_iommu.c use for_each_pci_dev() This patch is from Hanna Linder. As pci_find_device is going away I've replaced it with pci_get_device and pci_dev_put. Signed-off-by: Hanna Linder Signed-off-by: Maximilian Attems Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.48, 2004-11-07 19:42:35-08:00, paulus@samba.org [PATCH] ppc64: pSeries_iommu.c use for_each_pci_dev This patch is from Hanna Linder. As pci_find_device is going away using the new for_each_pci_dev macro. Signed-off-by: Hanna Linder Signed-off-by: Maximilian Attems Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.47, 2004-11-07 19:42:22-08:00, paulus@samba.org [PATCH] ppc64: pSeries_pci.c use for_each_pci_dev() This patch is from Hanna Linder. As pci_find_device is going away using the new for_each_pci_dev macro. Signed-off-by: Hanna Linder Signed-off-by: Maximilian Attems Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.46, 2004-11-07 19:42:09-08:00, paulus@samba.org [PATCH] ppc64: pmac_pci.c replace pci_find_device with pci_get_device This patch is from Hanna Linder. As pci_find_device is going away using the new for_each_pci_dev macro. Signed-off-by: Hanna Linder Signed-off-by: Maximilian Attems Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.45, 2004-11-07 19:41:57-08:00, paulus@samba.org [PATCH] ppc64: iSeries_pci.c use for_each_pci_dev() This patch is from Hanna Linder. As pci_find_device is going away using the new for_each_pci_dev macro. If someone with a PPC64 system could test it I would appreciate it. Signed-off-by: Hanna Linder Signed-off-by: Maximilian Attems Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.44, 2004-11-07 19:41:44-08:00, paulus@samba.org [PATCH] ppc64: iommu fixes, round 3 This patch is from John Rose . This patch changes the following iommu-related things: - Renames the [i,p]series versions of iommu_devnode_init(), to keep things logically separate where possible. - Moves iommu_free_table() to generic iommu.c - Creates of_cleanup_node(), which will directly precede the dynamic removal of any device node Signed-off-by: John Rose Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.43, 2004-11-07 19:41:31-08:00, anton@samba.org [PATCH] ppc64: Add option for oprofile to backtrace through spinlocks Now that spinlocks are always out of line, oprofile needs to backtrace through them. The following patch adds this but also adds the ability to turn it off (via the backtrace_spinlocks option in oprofilefs). The backout option is included because the backtracing here is best effort. On ppc64 the performance monitor exception is not an NMI, we get them only when interrupts are enabled. This means we can receive a profile hit that is inside a spinlock when our PC is somewhere completely In this patch we check to make sure the PC of the performance monitor exception as well as the current PC is inside the spinlock region. If so then we find the callers PC. If this is not true we play it safe and leave the tick inside the lock region. Also, now that we execute the SLB handler in real mode we have to adjust the address range that we consider as valid real mode addresses. Otherwise the SLB miss handler will end up as unknown kernel profile hits. Signed-off-by: Anton Blanchard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.42, 2004-11-07 19:41:18-08:00, olof@austin.ibm.com [PATCH] ppc64: VIO iommu table property parsing wrong With current firmware, the ibm,my-dma-window property now contains two panes for VSCSI server nodes. This breaks the current tests in the setup code. There's a bunch of references to pre-GA firmware bugs. That's a while ago, so we can remove the workarounds without breaking anyone. Signed-off-by: Olof Johansson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.41, 2004-11-07 19:41:05-08:00, sfr@canb.auug.org.au [PATCH] ppc64: iSeries iommu cleanups This patch just does some cleanups of iSeries_iommu.c remove lots of unneeded includes use list_for_each_entry white space formatting No semantic changes. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.40, 2004-11-07 19:40:52-08:00, mporter@kernel.crashing.org [PATCH] ppc32: add PPC440GX L2C error handler This patch adds an L2-Cache error handler. In addition, it reenables setup of the L2 cache based on erratum L2C0_1 now that we have been reassured that there are no more faulty parts being shipped. If there is a problem, the error handler will report it. Signed-off-by: Eugene Surovegin Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.39, 2004-11-07 19:40:40-08:00, trini@kernel.crashing.org [PATCH] ppc32: Fixup includes include/asm-ppc/time.h has a slightly odd include list which means that some files include and also hope to get others that they really shouldn't be. This makes use (time_t) and (struct rtc_time) instead of , and fixes up the fallout from the change. Compile-tested on lite5200, walnut and defconfig, along with by-hand'ing everything else that included . Signed-off-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.38, 2004-11-07 19:40:27-08:00, benh@kernel.crashing.org [PATCH] Fix pmac_zilog as console pmac_zilog wasn't properly updating port->timeout, thus broke with serial console. I'm not sure if that timeout thing was added recently or not, since the driver used to work fine. This patch fixes that, and adds some proper SYSRQ support. By default, BREAK is used for sysrq, though some Apple zilog's seem to have non-working BREAK detection logic, thus the driver has a #define option you can manually enable when debugging to do SYSRQ with ctrl-O instead (like pSeries virtual consoles). Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.37, 2004-11-07 19:40:14-08:00, trini@kernel.crashing.org [PATCH] ppc32: Add support for Sandpoint X2 Adrian Cox has modified the Sandpoint code to once again work on the older X2 version of the board. The older version has a number of are on the older version. Signed-off-by: Adrian Cox Signed-off-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.36, 2004-11-07 19:40:01-08:00, trini@kernel.crashing.org [PATCH] ppc32: CPM2 bug Rune has determined that: res6 should be 94 bytes long. However... It does work @ 92 bytes because the compiler alligns the next struct (pci_cpm2_t) on a int boundary anyways (no packing specified fo the structs) I tested it with a module that pronted out the address of the PCI struct that follows the sit_cpm2_t struct. Imap = 0xF0000000 With res6[92] im-pci is @ 0xf0010430 With res6[94] im-pci is @ 0xf0010430 So we're saved by the compiler. Here's the patch Signed-off-by: Rune Torgersen Signed-off-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.35, 2004-11-07 19:39:48-08:00, hch@lst.de [PATCH] more hardirq.h consolidation PREEMPT_BITS, SOFTIRQ_BITS, PREEMPT_SHIFT, SOFTIRQ_SHIFT and HARDIRQ_SHIFT are the same for all architectures (and chaning them in future ports doesn't make a lot of sense), so move them to . Make the HARDIRQ_BITS definition guarded by #ifndef HARDIRQ_BITS instead of CONFIG_GENERIC_HARDIRQS so we have a saner way to override it once ports with lots of irq sources are changed to use the generic hardirq framework. Ingo, maybe we should change the default for it back to 8 as that's what most ports use? Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.34, 2004-11-07 19:39:35-08:00, hugh@veritas.com [PATCH] tmpfs: CONFIG_TMPFS=n mount fix My tmpfs superblock changes in 2.6.9 messed up mount -t tmpfs when CONFIG_TMPFS is not enabled: it wrongly claimed to succeed, and left the directory unusable, giving "Not a directory" errors thereafter. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.33, 2004-11-07 19:39:22-08:00, jbarnes@engr.sgi.com [PATCH] fix find_next_best_node() If NUMA is enabled, find_next_best_node is responsible for helping build the zonelist for each pgdat in the system. However, if one sets PENALTY_FOR_NODE_WITH_CPUS to a large value in an attempt to prefer nodes w/o CPUs, the local node is erroneously placed after all nodes w/o CPUs in the pgdat's zonelist. This small patch fixes that by just checking if the local node is part of the zonelist yet, and if not, returns it first. Signed-off-by: Jesse Barnes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.32, 2004-11-07 19:39:09-08:00, vrajesh@umich.edu [PATCH] prio_tree: add Documentation/prio_tree.txt Add prio_tree.c documentation. Signed-off-by: Rajesh Venkatasubramanian Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.31, 2004-11-07 19:38:56-08:00, vrajesh@umich.edu [PATCH] prio_tree: fix prio_tree_expand corner case Currently we use prio_tree_root->index_bits to optimize the height of both the initial heap-and-radix indexed levels of a prio_tree as well as the heap-and-size indexed overflow-sub-trees. Please see the accompanying prio_tree documentation patch for further details. When index_bits is increased in prio_tree_expand we shuffle the initial heap-and-radix indexed levels to make sure that vmas are placed in the tree at appropriate places. Similarly, since the overflow-sub-trees' heights also depend on prio_tree_root->index_bits we should shuffle all the overflow-sub-trees when index_bits changes. However, I missed to take care of this in my implementation. Recently Stefan Hornburg (Racke) reported the problem and patiently tested the trace patches. Hugh Dickins produced the trace patches that helped to detect the bug. Moreover, Hugh reduced the crash test case to few lines of code. Thanks to both of them. The easy fix is to disable prio_tree_expand code completely. That may lead to skewed trees in some common cases. Hence, this patch takes a different approach. This patch fixes the problem by not optimizing the height of the overflow-sub-trees using prio_tree_root->index_bits. Now all overflow-sub-trees use full BITS_PER_LONG bits of size_index to place the vmas (that have the same start_vm_pgoff) in an overflow-sub-tree. This may result in skewed overflow-sub-trees because all bits in vm_pgoff above prio_tree_root->index_bits will be 0 (zero). However, processes rarely map many vmas with the same start_vm_pgoff and different end_vm_pgoff. Therefore, such skewed sub-trees should be very rare. Signed-off-by: Rajesh Venkatasubramanian Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.30, 2004-11-07 19:38:43-08:00, apw@shadowen.org [PATCH] bootmem use NODE_DATA Whilst looking at simplifying the implmentation of i386 initialisation code I noticed the following. This change allows these routines to be used in both node based and flat memory models which allows more of the init code to be common in these models. Convert the default non-node based bootmem routines to use NODE_DATA(0). This is semantically and functionally identical in any non-node configuration as NODE_DATA(x) is defined as below. #define NODE_DATA(nid) (&contig_page_data) For the node cases (CONFIG_NUMA and CONFIG_DISCONTIG_MEM) we can use these non-node forms where all boot memory is defined on node 0. Signed-off-by: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.29, 2004-11-07 19:38:30-08:00, drizzd@aon.at [PATCH] sparc32: revert sys_setaltroot Description: revert sys_setaltroot Signed-off-by: Clemens Buchacher Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.28, 2004-11-07 19:38:17-08:00, akpm@osdl.org [PATCH] unexport lock_page() It's static inline. Weird. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.27, 2004-11-07 19:38:05-08:00, wenxiong@us.ibm.com [PATCH] "PORT_ICOM" defination for icom adapter "PORT_ICOM" is not defined. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.26, 2004-11-07 19:37:52-08:00, wenxiong@us.ibm.com [PATCH] icom makefile fix The new icom.o isn't in drivers/serial/Makefile. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.64.25, 2004-11-07 19:37:39-08:00, bjorn.helgaas@hp.com [PATCH] fix HPET time_interpolator registration Fixup after mid-air collision between Christoph adding time_interpolator.mask, and me removing a static time_interpolator struct from hpet. Signed-off-by: Bjorn Helgaas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.72.5, 2004-11-07 23:52:10+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2214/1: S3C2410 - add missing RTCCON defs Patch from Ben Dooks Add missing RTCCON definitions Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.2026.72.4, 2004-11-07 23:41:22+00:00, elf@com.rmk.(none) [ARM PATCH] 2213/1: lh7a40x serial.h cleanup Patch from Marc Singer As requested, this patch removes the include/asm-arm/arch-lh7a40x/serial.h header. ChangeSet@1.2026.64.21, 2004-11-07 14:43:49-08:00, torvalds@ppc970.osdl.org pc110 touchpad driver: be more polite The PC110 touchpad driver used to just assume that the hardware exists, even though in fact the hw is extremely rare indeed, and just requesting all the resources might stomp on some _other_ hardware. Try to minimize the damage by realizing that the touchpad hw only exists on old ISA-only hardware, and if we have found a PCI device, we should not try to load the touchpad driver. Verified to fix things for Andries Brouwer. ChangeSet@1.2026.64.20, 2004-11-07 10:22:27-08:00, torvalds@ppc970.osdl.org aio: remove incorrect initialization of "nr_pages" We should not claim to have filled in the ring_pages[] array until we actually _do_ fill it in. It will confuse the code that frees the structure if we claim there are pages there that don't exist. Noted by Darrick Wong. ChangeSet@1.2026.64.19, 2004-11-07 10:15:54-08:00, torvalds@ppc970.osdl.org Do EFI partitions only on ia64. Yes, they might be useful somewhere else too, but the EFI discovery code is so fragile that it's not worth the bother. EFI people informed. ChangeSet@1.2026.64.18, 2004-11-07 09:45:43-08:00, linux@rainbow-software.org [PATCH] make cdu31a work on at least one system I've got a Sony CDU33A drive with COR334 controller. The Linux cdu31a driver was not updated for 2.6 kernel so it does not work. Here are patches that try to make the driver working with 2.6 kernel: - fix the timeout values in header file - Make the driver work in 2.6.X - Added workaround to fix hard lockups on eject - Fixed door locking problem after mounting empty drive - Set double-speed drives to double speed by default - Removed all readahead things - not needed anymore It does work on my system. I also know that it's still broken - it uses cli(), MODULE_PARM and it's also not very fast (I _never_ reached full 300KB/s with it, but I know that it's possible in Windows) and probably many other things (I'm new to Linux kernel) - so I'm waiting for comments. ChangeSet@1.2026.72.3, 2004-11-07 13:30:57+00:00, rmk@flint.arm.linux.org.uk [ARM] Update mach-types. ChangeSet@1.2026.73.1, 2004-11-07 12:58:14+00:00, sascha@de.rmk.(none) [ARM PATCH] 1956/2: Re: Motorola i.MX serial driver Patch from Sascha Hauer Here is an updated version of the patch: - updated the patch according to Russell's comments - added proper sysrq handling - update rx counter Sascha Hauer ChangeSet@1.2026.72.2, 2004-11-07 10:51:27+00:00, sascha@de.rmk.(none) [ARM] Update h720x for timer changes. Patch from Sascha Hauser Update H720x for system timer changes. ChangeSet@1.2026.72.1, 2004-11-07 10:23:14+00:00, rmk@flint.arm.linux.org.uk [ARM] Eliminate include/asm-arm/arch-*/serial.h Convert all platform serial tables to use a serial8250 platform device rather than declaring a static table in include/asm-arm/arch-*/serial.h. This change integrates patches from Sascha Hauser to update H720x serial support, and Tony Lindgren to update OMAP serial support. ChangeSet@1.2026.64.17, 2004-11-06 21:50:06-08:00, torvalds@ppc970.osdl.org Remove stale 0-byte files They happen with "bk cset -x" - it only undoes the data changes, not the metadata updates. ChangeSet@1.2026.64.16, 2004-11-06 19:46:11-08:00, torvalds@ppc970.osdl.org Revert x86-64 flexmap code for now For some as-yet unclear reason, it seems to break legacy 32-bit apps on x86-64. Cset exclude: ak@suse.de[torvalds]|ChangeSet|20041102230307|11901 ChangeSet@1.2016.1.14, 2004-11-06 21:42:26+01:00, marcel@holtmann.org [Bluetooth] Make some functions static This patch makes some needlessly global functions static. Signed-off-by: Adrian Bunk Signed-off-by: Marcel Holtmann ChangeSet@1.2016.1.13, 2004-11-06 21:35:44+01:00, marcel@holtmann.org [Bluetooth] Support responses with zero SCID According to the Bluetooth specification there is no need to fill in the SCID on a failing response. Without a SCID the L2CAP core can't find the corresponding request for it. In the case of the zero SCID the signal identifier should be used to match the response to its request. Signed-off-by: Marcel Holtmann ChangeSet@1.2026.60.5, 2004-11-06 21:18:02+01:00, sam@mars.ravnborg.org kconfig: fix xconfig and gconfig Patch that disabled use of loadable modules broke qconf and gconf. Fixed by disabling this also for these targets. Signed-off-by: Sam Ravnborg ChangeSet@1.2016.1.12, 2004-11-06 20:51:02+01:00, marcel@holtmann.org [Bluetooth] Add function for triggering a link key change This patch adds the hci_conn_change_link_key() function that allows to trigger a link key change for an existing connection. Signed-off-by: Marcel Holtmann ChangeSet@1.2016.1.11, 2004-11-06 20:36:37+01:00, marcel@holtmann.org [Bluetooth] Use usb_kill_urb() for synchronous unlink The usb_unlink_urb() for synchronous unlink is deprecated and should be replaced by usb_kill_urb(). Signed-off-by: Marcel Holtmann ChangeSet@1.2026.71.2, 2004-11-06 13:44:22-05:00, jgarzik@pobox.com Remove silly comment from linux/ata.h. XFER_xxx is not necessarily "legacy IDE 'stuff'" ChangeSet@1.2026.71.1, 2004-11-06 13:39:18-05:00, mroos@linux.ee [PATCH] ata.h undefined types in USB This is todays BK on a x86: CC [M] drivers/usb/storage/freecom.o In file included from include/linux/hdreg.h:4, from drivers/usb/storage/freecom.c:32: include/linux/ata.h:197: error: parse error before "u32" ... and so on for tens of lines. Signed-off-by: Jeff Garzik ChangeSet@1.2026.70.2, 2004-11-06 12:50:11-05:00, miltonm@realtime.net [PATCH] hamradio/hdlcdrv: undo duplicat patch application Signed-off-by: Jeff Garzik ChangeSet@1.2026.70.1, 2004-11-06 12:49:59-05:00, miltonm@realtime.net [PATCH] net/Kconfig: undo duplicate patch application Signed-off-by: Jeff Garzik ChangeSet@1.2026.69.16, 2004-11-05 23:50:14-08:00, herbert@gondor.apana.org.au [NETLINK]: Fix pid rover code. I'm not setting the rover pointer at all. Here's a patch to fix that. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2026.69.15, 2004-11-05 23:45:52-08:00, kaber@trash.net [PKT_SCHED]: Fix device leaks in mirred action When a mirred action is created it takes two references to the device (dev_get_by_index + dev_hold), but only drops one when it gets destroyed. It also leaks a reference when a mirred action is replaced. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller ChangeSet@1.2026.69.14, 2004-11-05 23:44:40-08:00, herbert@gondor.apana.org.au [NET]: Get rid of unused global counter in neighbour This patch gets rid of an unused global counter in neighbour.c. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2026.69.13, 2004-11-05 23:43:50-08:00, patrick@tykepenguin.com [DECNET]: Fix return codes This patch fixes the return codes from sendmsg/recvmsg when a signal happens. Instead of always returning ERESTARTSYS (which confuses X11 rather badly) it should return EINTR for non-blocking operations. Signed-off-by: Patrick Caulfield Signed-off-by: David S. Miller ChangeSet@1.2026.69.12, 2004-11-05 23:42:48-08:00, patrick@tykepenguin.com [DECNET]: Route RCU fix This patch fixes a missing _bh in the 23 August locking update. Without this any attempt to read from /proc/net/decnet_cache causes a 'scheduling while atomic' crash. Signed-off-by: Patrick Caulfield Signed-off-by: David S. Miller ChangeSet@1.2026.69.11, 2004-11-05 23:41:43-08:00, kaber@trash.net [NETFILTER]: Don't use skb_header_pointer in amanda conntrack helper Fixes broken packets, noticed by Matthias Andree Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller ChangeSet@1.2026.69.10, 2004-11-05 23:40:43-08:00, kaber@trash.net [PKT_SCHED]: ipt: Convert jiffies values to USER_HZ when dumping Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller ChangeSet@1.2026.69.9, 2004-11-05 23:40:08-08:00, kaber@trash.net [PKT_SCHED]: gact: Convert jiffies values to USER_HZ when dumping Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller ChangeSet@1.2026.69.8, 2004-11-05 23:39:09-08:00, kaber@trash.net [PKT_SCHED]: mirred: Convert jiffies values to USER_HZ when dumping Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller ChangeSet@1.2026.69.7, 2004-11-05 23:38:15-08:00, kaber@trash.net [PKT_SCHED]: pedit: Convert jiffies values to USER_HZ when dumping Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller ChangeSet@1.2051, 2004-11-06 00:57:08-05:00, len.brown@intel.com Merge intel.com:/home/lenb/src/26-stable-dev into intel.com:/home/lenb/src/26-latest-dev ChangeSet@1.1803.162.10, 2004-11-06 00:44:15-05:00, len.brown@intel.com [ACPI] ACPICA 20041105 from Bob Moore Implemented support for FADT revision 2. This was an interim table (between ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register. Implemented optional support to allow uninitialized LocalX and ArgX variables in a control method. The variables are initialized to an Integer object with a value of zero. This support is enabled by setting the acpi_gbl_enable_interpreter_slack flag to TRUE, which is default unless booted with "acpi=strict". Implemented support for Integer objects for the SizeOf operator. Either 4 or 8 is returned, depending on the current integer size (32-bit or 64-bit, depending on the parent table revision). Fixed a problem in the implementation of the SizeOf and ObjectType operators where the operand was resolved to a value too early, causing incorrect return values for some objects. Fixed some possible memory leaks during exceptional conditions. ChangeSet@1.2026.64.13, 2004-11-05 19:07:05-08:00, alan@lxorguk.ukuu.org.uk [PATCH] moxa - dead code removal Moxa is short the final cleanup from the tty changes so has extra wakeup calls that can go ChangeSet@1.2050, 2004-11-05 22:03:54-05:00, len.brown@intel.com Merge intel.com:/home/lenb/src/26-stable-dev into intel.com:/home/lenb/src/26-latest-dev ChangeSet@1.1803.119.51, 2004-11-05 21:44:18-05:00, len.brown@intel.com merge ChangeSet@1.2026.69.6, 2004-11-05 16:40:50-08:00, acme@conectiva.com.br [IPV6]: Fix mca_sfcount[] refcounting in error path. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller ChangeSet@1.2026.69.5, 2004-11-05 16:35:05-08:00, kaber@trash.net [PKT_SCHED]: Fix rcu_assign_pointer fallout, use it in the right place The patch 'RCU: use rcu_assign_pointer()' http://linux.bkbits.net:8080/linux-2.6/diffs/net/sched/sch_api.c@1.39?nav=index.html|src/net/|src/net|src/net/sched|related/net/sched/sch_api.c|cset@1.2287 changed a list_add_tail to list_add_tail_rcu in qdisc_create. It's dev->qdisc not dev->qdisc_list that is protected by RCU, this patch reverts that change. It also removes a misleading comment and replaces the smp_wmb in qdisc_create_dflt by rcu_assign_pointer in dev_activate to document more clearly what is protected. Signed-off-by: David S. Miller ChangeSet@1.2026.69.4, 2004-11-05 16:33:32-08:00, tgraf@suug.ch [PKT_SCHED]: Remove old estimator code, no longer used. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.69.3, 2004-11-05 16:30:34-08:00, tgraf@suug.ch [PKT_SCHED]: Builtin qdiscs should avoid all qdisc_destroy() processing. None of the code in __qdisc_destroy should be applied to a builtin qdisc or am I missing something? The patch below prevents builtin qdiscs from being destroyed and fixes a refcnt underflow whould lead to a bogus list unlinking and dev_put. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.69.2, 2004-11-05 16:27:22-08:00, tgraf@suug.ch [PKT_SCHED]: Initialize lists of builtin qdiscs. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.69.1, 2004-11-05 15:57:06-08:00, davem@nuts.davemloft.net [SUNGEM]: Use CONFIG_PPC_PMAC throughout. Fixes some build failures ala bugme bugzilla #3706 Signed-off-by: David S. Miller ChangeSet@1.2026.68.8, 2004-11-06 00:32:42+01:00, bzolnier@trik.(none) [ide] siimage: fix the various SI3112 hangs From: Alan Cox (some changes by me - bart) The current driver looks at fields before it is safe to, we move the mod15rm bug handler to be a fixup and this ensures the probe has been completed before we use the ident data. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.68.7, 2004-11-06 00:31:02+01:00, bzolnier@trik.(none) [ide] apply undecoded slave fixup only for ide-cs From: Alan Cox (some changes by me - bart) We add probe_hwif_init_with_fixup (seperate naming as requested by Bartlomiej). This runs a fixup on present interfaces before attaching the drives. In order to be useful we need also an _with_fixup version of ide_register_hw function. The sometimes troublesome undecoded slave detector is moved to its own function and exported so that ide-cs and the upcoming delkin_cb can both use it (along with any arch specific cf/pcmcia drivers I don't know about). The non-relevant checks for this scenario are removed. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.60.4, 2004-11-06 00:14:15+01:00, adobriyan@mail.ru kernel-doc: Print preprocessor directives correctly. Print preprocessor directives (usually "#ifdef CONFIG_SOMETHING" and "#endif") in structs definitions correctly (-text, -html, sgmldocs, htmldocs, pdfdocs, mandocs). Correctly means: - on the separate line - starting from column 0 - not glued to the type of the next member - not breeding if members are separated by comma - not imitating pointers to functions ("#if defined(CONFIG_X)...") - not giving bogus warnings because of this imitation Signed-off-by: Alexey Dobriyan Signed-off-by: Sam Ravnborg ChangeSet@1.2026.60.3, 2004-11-06 00:07:44+01:00, blaisorblade_spam@yahoo.it Kbuild: avoid backup localversion files Avoid including as localversion-files the *~ files, i.e. backup files. If I have localversion-a and localversion-a~, I don't want both to be used. Nor I want to use localversion*~ anyway. Don't code that as $(wildcard localversion*[^~]) as that would exclude "localversion" from the wildcard expansion result, because it requires at least one character after localversion to exist in the name file. I.e., Signed-off-by: Paolo 'Blaisorblade' Giarrusso ChangeSet@1.2026.60.2, 2004-11-06 00:05:44+01:00, akpm@osdl.org bk-kbuild utsname fix sound/core/info.c:31: sound/utsname.h: No such file or directory sound/core/info.c: In function `snd_info_version_read': sound/core/info.c:965: parse error before `CONFIG_SND_VERSION' sound/core/info.c:962: warning: unused variable `kernel_version' Signed-off-by: Andrew Morton Signed-off-by Sam Ravnborg ChangeSet@1.1803.163.1, 2004-11-05 17:39:51-05:00, len.brown@intel.com [ACPI] Allow limiting idle C-States. Useful to workaround C3 ipw2100 packet loss, reducing noise or boot issues on some models. http://bugme.osdl.org/show_bug.cgi?id=3549 For static processor driver, boot cmdline: processor.acpi_cstate_limit=2 For processor module, /etc/modprobe.conf: options processor acpi_cstate_limit=2 For manual processor module load: # modprobe processor acpi_cstate_limit=2 From kernel or kernel module: #include acpi_set_cstate_limit(2); Inspired by patches from Jos Delbar and Andi Kleen Signed-off-by: Len Brown ChangeSet@1.2014.2.13, 2004-11-05 13:49:29-08:00, greg@kroah.com W1: fix build warnings due to msleep changes. Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2014.2.12, 2004-11-05 13:47:25-08:00, greg@kroah.com I2C: fix MODULE_PARAM warning in pc87360.c driver Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2014.2.11, 2004-11-05 13:45:00-08:00, khali@linux-fr.org [PATCH] I2C: New PC8736x chip driver This is my port of the pc87360 driver. It supports the hardware monitoring functions of the National Semiconductor PC8736x Super-I/O family. The PC87360, PC87363 and PC87364 only do fan monitoring and control. The PC87365 and PC87366 additionally have voltage and temperature monitoring. The driver was ported upon request from Wincor-Nixdorf, and tested by Rolf Müller there. I wish to thank Rolf for his very efficient cooperation. Please apply, thanks. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2014.2.10, 2004-11-05 13:43:41-08:00, bunk@stusta.de [PATCH] i2c it87.c: remove an unused function The patch below removes an unused function from drivers/i2c/chips/it87.c Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2014.2.9, 2004-11-05 13:42:51-08:00, khali@linux-fr.org [PATCH] I2C: New LM63 chip driver This is a new I2C chip driver named lm63, which supports National Semiconductor's LM63 hardware monitoring chip. The LM63 is similar to the LM86 (which we do support through our lm90 driver) with additional monitoring and control of a single fan. It is obviously aimed at the CPU and high-end graphics adapters markets. This new driver is very similar in nature to the lm83 and lm90 driver so I don't have much to add. I developed the driver on a request from Hard Data Ltd. which are using Tyan S4882 boards where four LM63 chips are used (one for each CPU). Tyan provided remote access to a test system so that I could test my driver on real LM63 chips. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2014.2.8, 2004-11-05 13:42:18-08:00, arjan@infradead.org [PATCH] I2C: remove dead code from i2c i2c-core.c has a few never used functions, patch below removes these dead functions. Signed-off-by: Arjan van de Ven Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2014.2.7, 2004-11-05 13:41:46-08:00, jthiessen@penguincomputing.com [PATCH] I2C: lm85.c driver update Signed off by: Justin Thiessen ChangeSet@1.2026.64.10, 2004-11-05 13:41:39-08:00, torvalds@ppc970.osdl.org usb: remove totally bogus OHCI iomem casts The __iomem attribute was correctly set, and trying to remove it just causes more problems. ChangeSet@1.2014.2.6, 2004-11-05 13:41:16-08:00, johnpol@2ka.mipt.ru [PATCH] w1/w1_int: replace schedule_timeout() with msleep_interruptible() Description: Use msleep_interruptible() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2014.2.5, 2004-11-05 13:40:43-08:00, johnpol@2ka.mipt.ru [PATCH] w1/dscore: replace schedule_timeout() with msleep_interruptible() Description: Uses msleep_interruptible() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2014.2.4, 2004-11-05 13:40:14-08:00, johnpol@2ka.mipt.ru [PATCH] w1/w1: replace schedule_timeout() with msleep_interruptible() Description: Use msleep_interruptible() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2014.2.3, 2004-11-05 13:39:29-08:00, johnpol@2ka.mipt.ru [PATCH] w1/w1_family: replace schedule_timeout() with msleep_interruptible() Description: Use msleep_interruptible() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.68.6, 2004-11-05 22:29:21+01:00, bzolnier@trik.(none) [ide] remove debugging delay from CS5520 driver From: Alan Cox Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.68.5, 2004-11-05 22:14:55+01:00, bzolnier@trik.(none) [ide] (partially) unify hdreg.h & ata.h Signed-off-by: Chris Wedgwood Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.68.4, 2004-11-05 22:07:36+01:00, bzolnier@trik.(none) [ide] remove some cruft from ide.h From: Chris Wedgwood (minor changes by me - bart) Remove some accumulated (unused) cruft from ide.h Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.67.21, 2004-11-05 20:44:27+00:00, tony@com.rmk.(none) [ARM PATCH] 2195/1: Updates to OMAP clock framework Patch from Tony Lindgren This patch by Tuukka Tikkanen updates the OMAP clock framework. It also contains a patch by Juha Yrjölä to enable 216MHz rate on 16xx. Signed-off-by: Tony Lindgren Signed-off-by: Russell King ChangeSet@1.2026.67.20, 2004-11-05 20:33:28+00:00, tony@com.rmk.(none) [ARM PATCH] 2194/1: Change OMAP serial port init to use autodetection Patch from Tony Lindgren This patch changes OMAP serial ports to use the standard 8250 autodetection. Signed-off-by: Tony Lindgren Signed-off-by: Russell King ChangeSet@1.2026.68.3, 2004-11-05 21:23:16+01:00, bzolnier@trik.(none) [ide] ns87415: small cleanup ide_hwif_setup_dma() calls pci_set_master() if necessary. pci_set_master() (indirectly via pcibios_set_master()) sets PCI_LATENCY_TIMER to a "reasonable" value. Signed-off-by: Grant Grundler Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.68.2, 2004-11-05 21:17:42+01:00, bzolnier@trik.(none) [ide] ns87415: PA-RISC update From: Grant Grundler (minor changes by me - bart) Move Superio (NatSem 87560) IDE hacks into the ns87415 driver instead of exporting IDE data structures. To date, only PA-RISC port is known to use the 87560 chip. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.67.19, 2004-11-05 20:13:07+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2209/1: OMAP - only offer OMAP systems if CONFIG_ARCH_OMAP Patch from Ben Dooks Ensure that TI OMAP systems are only offered if the system is configured for TI OMAP. Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.2026.68.1, 2004-11-05 21:00:43+01:00, bzolnier@trik.(none) [ide] shrink hw_regs_t sata_[misc,scr] and priv are write-only Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.67.18, 2004-11-05 19:57:50+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2211/1: S3C2410 - fix idcode of S3C2410A Patch from Ben Dooks Fix IDCODE for S3C2410A to add missing zero in hex number Thanks to Russell King for pointing this out Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.2026.67.17, 2004-11-05 19:46:32+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2210/1: S3C2410 - export symbols from arch/arm/mach-s3c2410/gpio.c Patch from Ben Dooks Added missing exports of the functions in gpio.c Thanks to Dimitry Andric for pointing this out Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.2026.67.16, 2004-11-05 19:36:18+00:00, rmk@flint.arm.linux.org.uk [ARM] Versatile: Remove CONFIG_MMC ifdef blocks These are no longer necessary since MMC support is now merged. ChangeSet@1.2026.67.15, 2004-11-05 19:26:29+00:00, catalin.marinas@com.rmk.(none) [ARM] Versatile: patch-2.6.9-ab / patch-2.6.9-pb Patch from Catalin Marinas Versatile/AB code after splitting core.c Versatile/PB code after splitting core.c ChangeSet@1.2026.64.9, 2004-11-05 11:22:57-08:00, torvalds@ppc970.osdl.org Fix USB debugging build. Too much cut-and-paste, hidden by the fact that without debugging, "dev_dbg()" doesn't even look at its arguments. ChangeSet@1.2026.64.8, 2004-11-05 10:54:13-08:00, torvalds@ppc970.osdl.org usb: don't "unsuspend" ports that aren't suspended It apparently really confuses some things (Apple keyboard internal hub for one, but possibly others). ChangeSet@1.2026.67.14, 2004-11-05 18:19:54+00:00, catalin.marinas@com.rmk.(none) [ARM] Versatile: patch-2.6.9-common Patch from Catalin Marinas Common changes for Versatile PB and AB ChangeSet@1.2026.67.13, 2004-11-05 18:07:10+00:00, catalin.marinas@com.rmk.(none) [ARM] Versatile: patch-2.6.9-icst307 Patch from Catalin Marinas Add ICS307 clock support ChangeSet@1.2026.67.12, 2004-11-05 16:37:39+00:00, rmk@flint.arm.linux.org.uk [ARM] Fix double compare with zero instructions. Accessing register index -1 causes vfp_get_double() to enter an infinite loop. Use VFP_REG_ZERO (value 16) and provide code to emulate a sixteenth register which always returns 0.0 ChangeSet@1.2026.67.11, 2004-11-05 15:16:41+00:00, nico@org.rmk.(none) [ARM PATCH] 2192/1: small optimization to {read|write}sl routines Patch from Nicolas Pitre Fold two tests in one. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King ChangeSet@1.2026.67.10, 2004-11-05 15:06:59+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2208/1: S3C2410 - pm updates and fixes Patch from Ben Dooks This fixes the following with s3c24xx power management: - debugging needs UARTs enabled, to re-enabled UART clocks, save their state over suspend, and add this to the current documentation - update the documentation on pm initialisation - fix bug reported by Dimitry Andric where __raw_writel() has arguments the wrong way around - fix typo (lower-case letter in S3C2410_GATSTUs2_OFFRESET) from Dimitry Andric - apply Arnaud Patard's patch for pm call types - move bits of resume code to use printk(KERN_DEBUG) as they are potentially before the UART resume, and are not critical if the system fails to re-start. Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.2026.67.9, 2004-11-05 14:54:12+00:00, jelenz@edu.rmk.(none) [ARM PATCH] 2206/1: convert locomo to use platform_get_resource\platform_get_irq Patch from John Lenz Similar to sa1111.c, convert the locomo_probe function to use the platform_get_resource\platform_get_irq instead of accessing the pdev->resources array directly. ChangeSet@1.2026.67.8, 2004-11-05 14:42:03+00:00, peterc@au.rmk.(none) [ARM PATCH] 2205/1: Fix compilation for IXDP425: typo in mach-ixp4xx/common.c Patch from Peter Chubb Fix a simple typo. ChangeSet@1.2026.67.7, 2004-11-05 14:29:47+00:00, nico@org.rmk.(none) [ARM PATCH] 2203/1: trivial asm optimization for csum code Patch from Nicolas Pitre Signed-off-by: Nicolas Pitre Signed-off-by: Russell King ChangeSet@1.2026.67.6, 2004-11-05 14:18:12+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2199/1: S3C2410 - fix warning in include/asm-arm/arch-s3c2410/dma.h Patch from Ben Dooks Make addr_reg an `void __iomem *` instead of an unsigned long. Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.2026.1.57, 2004-11-05 14:16:15+00:00, aia21@cantab.net NTFS: Minor cleanup of fs/ntfs/debug.c. Signed-off-by: Anton Altaparmakov ChangeSet@1.2026.67.5, 2004-11-05 14:13:07+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2193/1: S3C2410 - fix wake mask for IRQEINT[0..3], and IRQ_RTC Patch from Ben Dooks Fix incorrect bit masking of the wake maskes for IRQs EINT0 through EINT3 and IRQ_RTC Signed-off-by: Ben Dooks Signed-off-by: Russell King ChangeSet@1.2026.67.4, 2004-11-05 14:08:04+00:00, matthias@net.rmk.(none) [ARM PATCH] 2191/1: bugfix for PXA SSP Patch from Matthias Burghardt In ssp_init dev->port is not yet initialized. Thus it cannot be used as an argument for request_mem_region. This patch fixes that. ChangeSet@1.2026.67.3, 2004-11-05 14:03:11+00:00, matthias@net.rmk.(none) [ARM PATCH] 2185/1: Bit definitions for PXA PWER Patch from Matthias Burghardt Adds bit definitions for PXA Power Manager Wake-Up Enable Register (PWER) to pxa-regs.h Signed-off-by: Matthias Burghardt Signed-off-by: Nicolas Pitre Signed-off-by: Russell King ChangeSet@1.2026.1.56, 2004-11-05 13:00:05+00:00, aia21@cantab.net NTFS: Fix bug in handling of bad inodes in fs/ntfs/namei.c::ntfs_lookup(). Signed-off-by: Anton Altaparmakov ChangeSet@1.2026.1.55, 2004-11-05 12:56:31+00:00, aia21@cantab.net NTFS: Fix error handling in fs/ntfs/quota.c::ntfs_mark_quotas_out_of_date() where we failed to release i_sem on the $Quota/$Q attribute inode. Signed-off-by: Anton Altaparmakov ChangeSet@1.2026.1.54, 2004-11-05 12:48:44+00:00, aia21@cantab.net NTFS: Rewrite handling of multi sector transfer errors. We now do not set PageError() when such errors are detected in the async i/o handler fs/ntfs/aops.c::ntfs_end_buffer_async_read(). All users of mst protected attributes now check the magic of each ntfs record as they use it and act appropriately. This has the effect of making errors granular per ntfs record rather than per page which solves the case where we cannot access any of the ntfs records in a page when a single one of them had an mst error. (Thanks to Ken MacFerrin for the bug report.) Signed-off-by: Anton Altaparmakov ChangeSet@1.2026.67.2, 2004-11-05 10:58:58+00:00, rmk@flint.arm.linux.org.uk [ARM] Optimise cache_is_xxx() macros. Add CONFIG_CPU_CACHE_VIVT and CONFIG_CPU_CACHE_VIPT and use these to conditionalise cache_is_xxx(). This allows unnecessary cache handling code to be removed by the compiler. ChangeSet@1.2026.67.1, 2004-11-05 10:16:35+00:00, rmk@flint.arm.linux.org.uk [ARM] sa11x0: use ID of -1 for single devices. ChangeSet@1.2026.64.7, 2004-11-05 02:39:37-05:00, jt@bougret.hpl.hp.com [PATCH] Wireless Extension dropped patchlet This tiny bit of the last WE-17 patch was lost between me and you. I initially decided to wait to resubmit, but Chris Wedgwood reported that the MadWifi driver needs it. Sorry for not having pushed harder. I recreated this patch, and tested with 2.6.10-rc1, and Chris tested it with MadWifi. Would you mind pushing that up to Linus ? Changelog : o remove unneeded const o spelling + comments Signed-off-by: Jean Tourrilhes Signed-off-by: Jeff Garzik ChangeSet@1.2048, 2004-11-04 21:30:00-05:00, len.brown@intel.com Merge intel.com:/home/lenb/bk/26-latest-ref into intel.com:/home/lenb/src/26-latest-dev ChangeSet@1.2047, 2004-11-04 21:23:03-05:00, len.brown@intel.com [ACPI] delete duplicated code resulting from auto-merge ChangeSet@1.2046, 2004-11-04 21:19:35-05:00, len.brown@intel.com Merge intel.com:/home/lenb/src/26-stable-dev into intel.com:/home/lenb/src/26-latest-dev ChangeSet@1.1803.119.50, 2004-11-04 21:15:54-05:00, len.brown@intel.com [ACPI] disable PNPBIOS if ACPI, even without PNPACPI Signed-off-by: Len Brown ChangeSet@1.2026.64.6, 2004-11-04 17:10:07-08:00, Andries.Brouwer@cwi.nl [PATCH] don't divide by zero on bad ext2 fs Experimented a bit more with mounting a bad ext2 filesystem. An immediate crash was caused by zero EXT2_BLOCKS_PER_GROUP(sb). The patch below (relative to 2.6.9) adds a few checks to make sure that things we divide by are not zero. ChangeSet@1.2026.64.5, 2004-11-04 17:07:16-08:00, torvalds@ppc970.osdl.org Merge bk://kernel.bkbits.net/gregkh/linux/driver-2.6 into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.2026.65.2, 2004-11-04 14:44:35-08:00, maneesh@in.ibm.com [PATCH] fix kernel BUG at fs/sysfs/dir.c:20! On Thu, Nov 04, 2004 at 12:52:38PM -0800, Greg KH wrote: > Hi, > > I get the following BUG in the sysfs code when I do: > - plug in a usb-serial device. > - open the port with 'cat /dev/ttyUSB0' > - unplug the device. > - stop the 'cat' process with control-C > > This used to work just fine before your big sysfs changes. There is a similar problem reported by s390 people where we see parent kobject (directory) going away before child kobject (sub-directory). It seems kobject code is able to handle this, but not the sysfs. What could be happening that in sysfs_remove_dir() of parent directory, we try to remove its contents. It works well with the regular files as it is the final removal for sysfs_dirent corresponding to the files. But in case of sub-directory we are doing an extra sysfs_put(). Once while removing parent and the other one being the one from when sysfs_remove_dir() is called for the child. The following patch worked for the s390 people, I hope same will work in this case also. o Do not remove sysfs_dirents corresponding to the sub-directory in sysfs_remove_dir(). They will be removed in the sysfs_remove_dir() call for the specific sub-directory. Signed-off-by: Maneesh Soni Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.66.2, 2004-11-04 14:25:08-08:00, akpm@osdl.org [PATCH] PG_writeback: fix waitqueue_active memory barrier The spin_unlock() in rotate_reclaimable_page() is not a sufficient memory barrier. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.66.1, 2004-11-04 13:38:29-08:00, torvalds@ppc970.osdl.org Make "unlock_buffer()" use the optimized "smp_mb__after_clear_bit()". "clear_buffer_locked()" is just a nicer name for a clear-bit, and on x86 (and others) we don't need any expensive memory barriers after that. ChangeSet@1.1803.119.49, 2004-11-04 16:38:01-05:00, len.brown@intel.com [ACPI] keep processor driver loaded even if acpi_disabled for benefit of powernow-k8 driver which depends on it but runs even if acpi is disabled. Signed-off-by: Andi Kleen Signed-off-by: Len Brown ChangeSet@1.2045, 2004-11-04 16:28:24-05:00, len.brown@intel.com Merge intel.com:/home/lenb/src/26-stable-dev into intel.com:/home/lenb/src/26-latest-dev ChangeSet@1.2026.64.3, 2004-11-04 13:03:26-08:00, greg@kroah.com Merge kroah.com:/home/greg/linux/BK/bleed-2.6 into kroah.com:/home/greg/linux/BK/usb-2.6 ChangeSet@1.2043, 2004-11-04 15:32:09-05:00, len.brown@intel.com [ACPI] enable VIA quirk to fix audio interrupt on VIA_8233_5 http://bugzilla.kernel.org/show_bug.cgi?id=3175 Signed-off-by: David Shaohua Li Signed-off-by: Len Brown ChangeSet@1.2042, 2004-11-04 15:27:13-05:00, len.brown@intel.com manual merge ChangeSet@1.2026.64.2, 2004-11-04 12:08:40-08:00, tali@admingilde.org [PATCH] fix wrong kfifo_init buffer size argument kfifo_alloc tries to round up the buffer size to the next power of two. But it accidently uses the original size when calling kfifo_init, which will BUG. Acked-by: Stelian Pop Signed-off-by: Martin Waitz Signed-off-by: Linus Torvalds ChangeSet@1.2026.49.67, 2004-11-04 12:02:00-08:00, zaitcev@redhat.com [PATCH] USB: Patch for ub This is a relatively small changeset, to address small nagging problems. Andrew pointed me at the double registration specifically, so I had to do something about it. At least now Fabio's box won't collapse if he configures UB by mistake. Also, a few people complained that the help text was misleading. I have not done anything about the oops on disconnect which happens to Martin Schlemmer. It's next. After that I can get to Peter Jones' CD burning patch and doing resets. - Fix double kobject registration and eventual oops on unplug if a device is not cooperating. - Add a reference to usb-storage into the configuration help. - Just upping timeouts fixes my ZIP drive. - Max out the diag (trace) file size. - Set capacity to zero in case the media is absent. It works in 2.4.10-rc1. Either Al fixed the block layer, or the whole thing was a bug in ub.c (and sd.c) and a big misunderstanding. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.59.11, 2004-11-04 12:00:36-08:00, rml@novell.com [PATCH] kobject_uevent: add MAINTAINER entry Attached patch adds a MAINTAINER entry for the kernel event layer. Signed-Off-By: Robert Love Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.59.10, 2004-11-04 12:00:12-08:00, rml@novell.com [PATCH] kobject_uevent: fix init ordering Looks like kobject_uevent_init is executed before netlink_proto_init and consequently always fails. Not cool. Attached patch switches the initialization over from core_initcall (init level 1) to postcore_initcall (init level 2). Netlink's initialization is done in core_initcall, so this should fix the problem. We should be fine waiting until postcore_initcall. Also a couple white space changes mixed in, because I am anal. Signed-Off-By: Robert Love Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.59.9, 2004-11-04 11:59:39-08:00, greg@kroah.com kevent: fix build error if CONFIG_KOBJECT_UEVENT is not selected. Thanks to Serge Hallyn for pointing this out. Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.64.1, 2004-11-04 11:13:32-08:00, torvalds@evo.osdl.org x86: regparm calling convention for exceptions and interrupts. This clarifies more of the x86 caller/callee stack ownership issues by making the exception and interrupt handler assembler interfaces use register calling conventions. System calls still use the stack. Tested with "crashme" on UP/SMP. ChangeSet@1.2026.59.8, 2004-11-04 10:57:45-08:00, tj@home-tj.org [PATCH] driver-model: device_add() error path reference counting fix df_05_device_add_ref_fix.patch In device_add(), @dev wan't put'd properly when it has zero length bus_id (error path). Fixed. Signed-off-by: Tejun Heo Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.59.7, 2004-11-04 10:55:28-08:00, tj@home-tj.org [PATCH] driver-model: kobject_add() error path reference counting fix df_04_kobject_add_ref_fix.patch In kobject_add(), @kobj wasn't put'd properly on error path. This patch fixes it. Signed-off-by: Tejun Heo Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.59.6, 2004-11-04 10:54:31-08:00, tj@home-tj.org [PATCH] driver-model: sysfs_release() dangling pointer reference fix df_03_sysfs_release_fix.patch Some attributes are allocated dynamically (e.g. module and device parameters) and are usually deallocated when the assoicated kobject is released. So, it's not safe to access attr after putting the kobject. Signed-off-by: Tejun Heo Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.59.5, 2004-11-04 10:48:20-08:00, tj@home-tj.org [PATCH] driver-model: bus_recan_devices() locking fix df_02_bus_rescan_devcies_fix.patch bus_rescan_devices() eventually calls device_attach() and thus requires write locking the corresponding bus. The original code just called bus_for_each_dev() which only read locks the bus. This patch separates __bus_for_each_dev() and __bus_for_each_drv(), which don't do locking themselves, out from the original functions and call them with read lock in the original functions and with write lock in bus_rescan_devices(). Signed-off-by: Tejun Heo Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.59.4, 2004-11-04 10:28:20-08:00, tj@home-tj.org [PATCH] driver-model: comment fix in bus.c df_01_driver_attach_comment_fix.patch bus_match() was renamed to driver_probe_device() but the comment for device_attach() wasn't updated. This patch updates it. Signed-off-by: Tejun Heo Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.59.3, 2004-11-04 10:12:44-08:00, kay.sievers@vrfy.org [PATCH] add the physical device and the bus to the hotplug environment Add the sysfs path of the physical device to the hotplug event of class and block devices. This should solve the userspace issue not to know if the device is a virtual one and the "device" symlink will never be created, but we sit there and wait for it to show up not knowing when we should give up. Also the bus name is added to the hotplug event, so we don't need to reverse lookup in the /sys/bus/* directory which bus our physical device belongs to. This is e.g. the value matched against the BUS= key, that may be used in an udev rule. This is a PCI network card: ACTION=add SUBSYSTEM=net DEVPATH=/class/net/eth0 PHYSDEVPATH=/devices/pci0000:00/0000:00:1e.0/0000:02:01.0 PHYSDEVBUS=pci INTERFACE=eth0 SEQNUM=827 PATH=/sbin:/bin:/usr/sbin:/usr/bin HOME=/ This is a IDE CDROM: ACTION=add SUBSYSTEM=block DEVPATH=/block/hdc PHYSDEVPATH=/devices/pci0000:00/0000:00:1f.1/ide1/1.0 PHYSDEVBUS=ide SEQNUM=1017 PATH=/sbin:/bin:/usr/sbin:/usr/bin HOME=/ This is an USB-stick partition: ACTION=add SUBSYSTEM=block DEVPATH=/block/sda/sda1 PHYSDEVPATH=/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/host1/target1:0:0/1:0:0:0 PHYSDEVBUS=scsi SEQNUM=1032 PATH=/sbin:/bin:/usr/sbin:/usr/bin HOME=/ Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.10.418, 2004-11-04 11:07:44-07:00, trini@kernel.crashing.org ppc32: Update MPC8xx code to quasi functional From: Dan Malek Signed-off-by: Robert P. J. Day Signed-off-by: Tom Rini ChangeSet@1.2026.10.417, 2004-11-04 07:47:37-08:00, axboe@suse.de [PATCH] queue congestion threshold hysteresis We need to open the gap between congestion on/off a little bit, or we risk burning many cycles continually putting processes on a wait queue only to wake them up again immediately. This was observed with CFQ at least, which showed way excessive sys time. Patch is from Arjan. Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.416, 2004-11-04 07:47:25-08:00, axboe@suse.de [PATCH] add READ_BUFFER_CAPACITY as read-ok command Patch is from Daniel Drake Signed-off-by: Jens Axboe Signed-off-by: Daniel Drake Signed-off-by: Linus Torvalds ChangeSet@1.2026.1.53, 2004-11-04 13:37:37+00:00, aia21@cantab.net NTFS: Drop the runlist lock after the vcn has been read in fs/ntfs/lcnalloc.c::__ntfs_cluster_free(). Signed-off-by: Anton Altaparmakov ChangeSet@1.2026.1.52, 2004-11-04 09:05:44+00:00, aia21@cantab.net NTFS: Fix stupid bug in fs/ntfs/attrib.c::ntfs_external_attr_find() in the error handling code path that resulted in a BUG() due to trying to unmap an extent mft record when the mapping of it had failed and it thus was not mapped. (Thanks to Ken MacFerrin for the bug report.) Signed-off-by: Anton Altaparmakov ChangeSet@1.1803.119.48, 2004-11-04 03:35:51-05:00, len.brown@intel.com [ACPI] remove obsolete blacklist entries (Andi Kleen) http://bugzilla.kernel.org/show_bug.cgi?id=3164 Signed-off-by: Len Brown ChangeSet@1.2026.62.1, 2004-11-03 22:40:11-08:00, davem@nuts.davemloft.net [TCP]: Fix tcp_diag build with ipv6 completely disabled. Signed-off-by: David S. Miller ChangeSet@1.2026.10.414, 2004-11-03 20:13:58-08:00, paulus@samba.org [PATCH] PPC64 mmu_context_init needs to run earlier Using idr_get_new_above in init_new_context lets us get rid of an awkward init function which wasn't running early enough in boot anyway. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds ChangeSet@1.2026.61.1, 2004-11-03 16:04:55-08:00, Andries.Brouwer@cwi.nl [PATCH] avoid semi-infinite loop when mounting bad ext2 The routine ext2_readdir() will, when reading a directory page returns an error, try the next page, without reporting the error to user space. That is bad, and the patch below changes that. In my case the filesystem was damaged, and ext2_readdir wanted to read 60000+ pages and wrote as many error messages to syslog ("attempt to access beyond end"), not what one wants. [no doubt a similar patch is appropriate for ext3] ChangeSet@1.2026.58.16, 2004-11-03 15:55:22-08:00, Matt_Domsch@dell.com [NET]: Zero out SIOCGIFHWADDR buffer if dev->addr_len is zero. This preserves 2.4.x behavior. Signed-off-by: David S. Miller ChangeSet@1.2026.49.66, 2004-11-03 15:46:58-08:00, greg@kroah.com USB: fix sparse warnings in cypress_m8 driver Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.65, 2004-11-03 15:46:31-08:00, lmendez19@austin.rr.com [PATCH] cypress_m8: add usb-serial driver 'cypress_m8' to kernel tree This patch adds the cypress_m8 usb-serial driver for the Delorme Earthmate usb gps and the Cypress hid->com rs232 adapter to the kernel tree. Signed-off-by: Lonnie Mendez Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.64, 2004-11-03 15:46:17-08:00, noodles@earth.li [PATCH] USB: add KC2190 support for usbnet. The patch below adds support for the KC2190 usb-to-usb networking device; the version I have reports itself as: Bus 001 Device 003: ID 050f:0190 KC Technology, Inc. I was under the impression that support for this had been added a long time ago, but searching through old kernel versions all I could find was a comment about the chip, with no support. Patch is against 2.6.9 but is pretty minimal. I don't have a Windows box around to test interoperability with that driver, but the patch appears to make it work perfectly between 2 Linux boxes. Signed-off-by: Jonathan McDowell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.58.15, 2004-11-03 15:42:09-08:00, herbert@gondor.apana.org.au [NET]: Neighbour table entries counter needs to be atomic_t It is updated outside of locks, so... Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2026.49.63, 2004-11-03 15:36:59-08:00, david-b@pacbell.net [PATCH] USB: ohci-omap, updates for omap1510/5910 and innovator On OMAP-1510 the 48MHz DPLL used by USB is now set up earlier in the boot process. On Innovator, both host ports work by default. (Although USB2 conflicts with ttyS2, which you might prefer.) Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.62, 2004-11-03 15:36:45-08:00, david-b@pacbell.net [PATCH] USB: usb gadget serial driver v2.0 This patch updates the serial gadget driver: - The bulk is Al Borcher's version 2.0 updates: * Use the new utilities to build config descriptors from tables. * Add CDC ACM support, which brings lots of goodness including interop with Windows. * Work better given PXA 25x hardware automagic. - I have a few minor tweaks. * Match the recent tty API change: from_user is gone!! * Define new product ID for the CDC ACM version, so Windows registry won't get confused by the non-ACM version. * Add OTG descriptor * Allocates packet buffers more efficiently on platforms like OMAP: use kmalloc not the dma-coherent allocator. Al has some docs on how to talk to Windows this, including an INF file. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.61, 2004-11-03 15:36:32-08:00, david-b@pacbell.net [PATCH] USB: usb gadget drivers, minor tweaks This has minor patches to the ethernet, file_storage, and zero gadget drivers. - Use longer "manufacturer" strings; CONFIG_LOCALVERSION would overflow. - Remove compile warning on file_storage with non-net2280 - Oops fix in ethernet gadget, on boards that don't report VBUS Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.60, 2004-11-03 15:36:19-08:00, david-b@pacbell.net [PATCH] USB: ohci, hooks for big-endian registers This is the second of the patches from Dale Farnsworth to support OHCI implementations that use big-endian byte sex for registers ... all register accesses changed, that's why it's so large. (It also includes part of an update from his third patch, so that it compiles/runs by itself.) This patch adds support to the OHCI code for big-endian controllers, maintaining the existing little-endian support. This is done using the following transforms: ohci_readl(p) --> ohci_readl(ohci, p) writel(v, p) --> ohci_writel(ohci, v, p) cpu_to_le16(v) --> cpu_to_hc16(ohci, v) cpu_to_le16p(v) --> cpu_to_hc16p(ohci, v) cpu_to_le32(v) --> cpu_to_hc32(ohci, v) cpu_to_le32p(v) --> cpu_to_hc32p(ohci, v) le16_to_cpu(v) --> hc16_to_cpu(ohci, v) le16_to_cpup(v) --> hc16_to_cpup(ohci, v) le32_to_cpu(v) --> hc32_to_cpu(ohci, v) le32_to_cpup(v) --> hc32_to_cpup(ohci, v) OHCI_FRAME_NO(ohci->hcca) --> ohci_frame_no(ohci) There's no runtime penalty except for systems configured to handle both byteorders at the same time. Signed-off-by: Dale Farnsworth Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.59, 2004-11-03 15:36:05-08:00, david-b@pacbell.net [PATCH] USB: ohci, remove pre-byteswapped constants This is the first of several patches from Dale Farnsworth, laying groundwork for a patch that supports OHCI on more chips (IBM STB04xxx and FreeScale MPC52xx). Replace pre-byteswapped constants for in-memory data structures in ohci.h with cpu-native constants, to help support "big-endian OHCI" hardware. Signed-off-by: Dale Farnsworth Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.58.14, 2004-11-03 15:34:53-08:00, herbert@gondor.apana.org.au [NETLINK]: Hash sockets by pid if not multicast. Collaborative work between David S. Miller and Herbert Xu. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2026.49.58, 2004-11-03 15:32:42-08:00, stern@rowland.harvard.edu [PATCH] usbcore: add comment to updated hcd.h On Fri, 29 Oct 2004, David Brownell wrote: > Could you add a comment there that the HCD is > now _required_ to return a pointer that usbcore > can pass to kfree? Since that's a layering > violation (in anticipation of later changes to > make it not be one!), it's surprising ... and > in any case, the memory lifecycle is no longer > described just by the calls in this header! That's a reasonable request, and here's an extra patch to add the comment. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.57, 2004-11-03 15:32:29-08:00, stern@rowland.harvard.edu [PATCH] dummy-hcd: removal hcd release This patch removes the hcd release code from the final host controller driver, dummy-hcd. Please apply. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.56, 2004-11-03 15:32:15-08:00, stern@rowland.harvard.edu [PATCH] Non-PCI OHCI drivers: remove hcd release This patch changes the non-PCI-based OHCI-related host controller drivers, removing the code that frees the driver-specific hcd structures. Unfortunately I am not able to test it, because I don't have the necessary hardware. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.55, 2004-11-03 15:32:02-08:00, stern@rowland.harvard.edu [PATCH] USB PCI drivers: hcd release changes This patch removes the code for deallocating the usb_hcd structure from the three PCI-based host controller drivers. It also moves the embedded struct usb_hcd member to the front of the larger driver-specific structures, as required for the core to do its work. Please apply. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.54, 2004-11-03 15:31:47-08:00, stern@rowland.harvard.edu [PATCH] usbcore: Make the core release hcd structures This patch contains changes to usbcore making the core responsible for deallocating memory for usb_hcd structures, rather than calling back into the host controller drivers. This solves a long-standing oops, since the drivers may have been unloaded from memory by the time the release routine is called. (There probably are some Bugzilla entries caused by this, but I don't know which ones.) To really fix this up properly will require merging the HCD "glue" layer into the higher core structures. As things stand now, a usb_hcd contains a usb_bus member, and the usb_bus is associated with a class_device: when the class_device is released the usb_hcd gets deallocated. It's awkward in that neither the usb_hcd nor the usb_bus has its own reference count, and the class_device is created when the bus is registered (not when it is initialized). Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.53, 2004-11-03 15:24:57-08:00, david-b@pacbell.net [PATCH] USB: clean up error messages Neither requests to suspended devices nor control request stalls should ever log fault messages, they happen routinely; this stops such logging. There's also a better message for control/bulk timeout -- but after the HCD finishes unlinking the URB, not from 'swapper' in the timer callback! Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.52, 2004-11-03 15:24:43-08:00, david-b@pacbell.net [PATCH] USB: fix bug Delete the second pci_set_master(), not the first one. Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.51, 2004-11-03 15:24:30-08:00, lmendez19@austin.rr.com [PATCH] usb-serial: add interrupt out support and improved debug messages This patch adds equal support for interrupt out transfers to the usb serial core to match the current interrupt in support. It also improves a few debug messages, nothing major. Signed-off-by: Lonnie Mendez Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.50, 2004-11-03 15:24:18-08:00, stern@rowland.harvard.edu [PATCH] dummy-hcd: Refactor startup and shutdown This patch reorganizes the startup and shutdown code in the dummy-hcd driver to make it consistent with all the other host controller drivers. For example, the platform device representing the HC hardware is allocated separately and given as an argument to the probe() and remove() routines, as it would be for a real device. This paves the way to making widespread and uniform changes in all the HCDs at once. Please apply. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.49, 2004-11-03 15:24:05-08:00, stern@rowland.harvard.edu [PATCH] dummy_hcd: minor fixups Although this is the first patch in a series of six, it's not closely related to the others. This includes a whole bunch of simple cleanups for the dummy-hcd driver, all of which fall into the following categories: Convert explicit container_of() to type-safe inline functions, Minimize reliance on global variables. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.10.412, 2004-11-03 14:46:01-08:00, nigel.croxon@hp.com [IA64-HP] Fix for bits_wanted in sba_iommu.c bits_wanted is expanded to bytes using the wrong shift value (when iovp_shift != PAGE_SHIFT), resulting in an explosion of used iommu resources. This potentially results in mistakenly running out of DMA mapping resources when the system is under *heavy* i/o load. Signed-off-by: Nigel Croxon Signed-off by: Alex Williamson Signed-off-by: Tony Luck ChangeSet@1.2026.58.13, 2004-11-03 14:42:14-08:00, davem@nuts.davemloft.net [GNET_STATS]: Export gnet_stats_start_copy_compat to modules. Signed-off-by: David S. Miller ChangeSet@1.2026.60.1, 2004-11-03 23:40:52+01:00, sam@mars.ravnborg.org Merge mars.ravnborg.org:/home/sam/bk/linux-2.6 into mars.ravnborg.org:/home/sam/bk/to-akpm ChangeSet@1.2026.49.48, 2004-11-03 14:39:41-08:00, greg@kroah.com USB: fix up pl2303 device ids that ended up getting duplicated. Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.58.11, 2004-11-03 14:05:33-08:00, tgraf@suug.ch [PKT_SCHED]: cls_*: use tcf_police_dump_stats to dump via new gnet_stats API Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.58.10, 2004-11-03 14:04:42-08:00, tgraf@suug.ch [PKT_SCHED]: police: use gnet_stats for old policer stats Transforms old policer to use generic statistic via TCA_STATS2 and maintain backward compatibility via TCA_STATS. Adds a new API for classifiers to invoke the dumping process. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.58.9, 2004-11-03 14:03:58-08:00, tgraf@suug.ch [PKT_SCHED]: police: use gnet_stats for action policer stats Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.58.8, 2004-11-03 14:03:22-08:00, tgraf@suug.ch [PKT_SCHED]: pedit: use gnet_stats for action stats Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.58.7, 2004-11-03 14:02:45-08:00, tgraf@suug.ch [PKT_SCHED]: mirred: use gnet_stats for action stats Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.58.6, 2004-11-03 14:02:10-08:00, tgraf@suug.ch [PKT_SCHED]: ipt: use gnet_stats for action stats Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.58.5, 2004-11-03 14:01:32-08:00, tgraf@suug.ch [PKT_SCHED]: gact: use gnet_stats for action stats Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.58.4, 2004-11-03 14:00:45-08:00, tgraf@suug.ch [PKT_SCHED]: tcf_action: copy generic stats via TCA_ACT_STATS Dumps the statistic common to all action modules via the newly introduced TLV type TCA_ACT_STATS in tcf_action_copy_stats but allows the corresponding module to dump its own statistic by implementing the get_stats callback. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.59.2, 2004-11-03 13:50:47-08:00, bunk@stusta.de [PATCH] small sysfs cleanups The patch below does the following cleanups for the sysfs code: - remove the unused global function sysfs_mknod - make some structs and functions static Please check whether this patch is correct, or whether some of the things I made static should be used globally in the forseeable future. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.59.1, 2004-11-03 13:50:35-08:00, maneesh@in.ibm.com [PATCH] sysfs: fix sysfs backing store error path confusion o sysfs_new_dirent to retrun 0 if kmalloc fails. Thanks to Milton Miller for spotting this. Signed-off-by: Maneesh Soni Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.10.411, 2004-11-03 13:42:30-08:00, tony.luck@intel.com [IA64-SGI] Do not disable interrupts in ia64_sn_plat_specific_err_print ia64_sn_plat_specific_err_print() ends up calling vfree() which requires IPI which can deadlock if interrupts are disabled. Do not disable interrupts in ia64_sn_plat_specific_err_print(). Signed-off-by: Keith Owens Signed-off-by: Tony Luck ChangeSet@1.2026.10.410, 2004-11-03 13:38:37-08:00, tony.luck@intel.com [IA64] implement pcibios_resource_to_bus and pcibios_bus_to_resource Patch from Matthew Wilcox: Since some ia64 platforms have non-identity-mapped PCI busses, we need to implement pcibios_resource_to_bus and pcibios_bus_to_resource. Also clean up some >80 column comments and delete an unnecessary parameter to pcibios_fixup_device_resources(). Signed-off-by: Tony Luck ChangeSet@1.2026.45.20, 2004-11-03 21:52:01+01:00, azarah@nosferatu.za.org kbuild: check timestamps on files for initramfs Add a comment to gen_initramfs_list.sh output that contains the numeric mtime of the last modified file in the source directory, or the mtime of the source list. This should cause the initramfs image to be rebuild if a file in the source directory changed, or the source list (if that was used rather than a directory as source). Signed-off-by: Martin Schlemmer Signed-off-by: Sam Ravnborg ChangeSet@1.2026.45.19, 2004-11-03 21:51:06+01:00, adobriyan@mail.ru kernel-doc: don't print ... twice in variadic functions Signed-off-by: Alexey Dobriyan Signed-off-by: Sam Ravnborg ChangeSet@1.2026.45.18, 2004-11-03 21:50:05+01:00, adobriyan@mail.ru kernel-doc: print arrays in declarations correctly Do not convert arrays into pointers while generating documentation for them. I.e, print struct sk_buff { char cb[40]; }; as "char cb[40]", not "char * cb". Signed-off-by: Alexey Dobriyan Signed-off-by: Sam Ravnborg ChangeSet@1.2026.45.17, 2004-11-03 21:49:24+01:00, adobriyan@mail.ru kernel-doc: support for comma-separated members in structs and unions Fix the following warnings $ make sgmldocs ... Warning(include/linux/skbuff.h:283): No description found for parameter 'len,data_len,mac_len,csum' Warning(include/linux/skbuff.h:283): No description found for parameter 'local_df,cloned,pkt_type,ip_summed' Warning(include/linux/skbuff.h:283): No description found for parameter 'protocol,security' ... Warning(include/linux/skbuff.h:283): No description found for parameter 'head,*data,*tail,*end' ... by adding support for comma-separated members in structs and unions. Signed-off-by: Alexey Dobriyan Signed-off-by: Sam Ravnborg ChangeSet@1.2026.45.16, 2004-11-03 21:48:44+01:00, sam@mars.ravnborg.org ppc: fix building arch/ppc/boot/lib/ with make O= arch/ppc/boot/lib/ reuses zlib_inflate from lib/zlib_inflate but kbuild does not support two different places utilising the same .o file. It results in recompile for each build because options to compiler changes etc. So the trick used here is to make a copy of the required .c files. Acked-by: Tom Rini Signed-off-by: Sam Ravnborg ChangeSet@1.2026.45.15, 2004-11-03 21:47:44+01:00, sam@mars.ravnborg.org kconfig: drop usage of shared libraries Drop usage of shared libraries. It breaks on several non-i386 build environemnts - especially the ones popular for embedded development. This is a minimal version. Based on idea from Bertrand Marquis and patch from Dan Kegel. Signed-off-by: Sam Ravnborg ChangeSet@1.2026.45.14, 2004-11-03 21:40:43+01:00, sam@mars.ravnborg.org kbuild: Prefer Kbuild as name of the kbuild files The kbuild syntax is unique and does only have very few things in common with usual Makefile syntax. So to avoid confusion make the filename 'Kbuild' be the preferred name as replacement for 'Makefile'. No global renaming planned to take place for now, but new stuff expected to use the new 'Kbuild' filename. Signed-off-by: Sam Ravnborg ChangeSet@1.2026.58.3, 2004-11-03 12:38:16-08:00, tommy.christensen@tpack.net [NET]: Move local_bh_enable back in dev_queue_xmit Based upon a patch from Herbert Xu: > Hi Ingo: > > Your recent fix to dev_queue_xmit moved the local_bh_disable to > include stuff like skb_linearize and skb_checksum_help. These > are potentially expensive operations. Since they don't need to > run with preempt off, we could simply move the local_bh_enable > up instead. No, this breaks the normal return path. How about this instead? Signed-off-by: Tommy S. Christensen Signed-off-by: David S. Miller ChangeSet@1.2026.58.2, 2004-11-03 12:20:22-08:00, herbert@gondor.apana.org.au [TCP]: Modular ipv6 support in tcpdiag This patch allows tcpdiag to support ipv6 work as a module when itself is also a module. I was planning for a more extensible method but now I think the effort would be better directed at a new generic socket netlink interface than the TCP-specific tcpdiag. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2026.58.1, 2004-11-03 11:56:25-08:00, yoshfuji@linux-ipv6.org [IPV6]: Do not purge default routes by RA. Signed-off-by: Hideaki YOSHIFUJI Signed-off-by: David S. Miller ChangeSet@1.2026.1.50, 2004-11-03 09:11:59+00:00, aia21@cantab.net NTFS: Modify fs/ntfs/aops.c::mark_ntfs_record_dirty() so it allocates buffers for the page if they are not present and then marks the buffers belonging to the ntfs record dirty. This causes the buffers to become busy and hence they are safe from removal until the page has been written out. Signed-off-by: Anton Altaparmakov ChangeSet@1.2026.10.408, 2004-11-02 21:19:32-08:00, benh@kernel.crashing.org [PATCH] atyfb: Fix power management The new atyfb has the return value for the Power Management routine wrong. This prevents sleep from working on PowerBooks with mach64 video chips. This fixes it. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.407, 2004-11-02 19:28:23-08:00, benh@kernel.crashing.org [PATCH] fbdev: workaround for broken X servers XFree (and X.org) has both always been broken in their conversion of the DPMS blanking mode when passing to the kernel ioctl FBIOBLANK (in fbdev mode). This patch makes sure that at least the value passed by userland stays in the legal range, which has the side effect that an X DPMS POWERDOWN request will result as an fbdev VESA_POWERDOWN request at the fbdev level now, instead of an out-of-range value. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.406, 2004-11-02 17:36:57-08:00, matthew@wil.cx [PATCH] parisc: checksum improvements Small tweaks to the checksumming routines Fix a corner case in csum_partial Committed-by: Randolph Chung ChangeSet@1.2026.10.405, 2004-11-02 17:36:41-08:00, matthew@wil.cx [PATCH] parisc: superio cleanup Superio cleanup Committed-by: Grant Grundler ChangeSet@1.2026.10.404, 2004-11-02 17:36:24-08:00, matthew@wil.cx [PATCH] parisc: fix security hole The default interruption handler "handle_interruption" does not properly check to see if the faulting space is the same as the users space. The problem lies in the fact that if a fault happens on the gateway we will not deliver signals to the process, the process will not die, and we may continue handling the same fault in a loop forever. Any malicious user code can crash the kernel by jumping into the gateway page at an inopportune address. The solution is to check if the user has the right privilege and if the spaces match, both faulting and currently active. The best action is to force the process back to it's own space of execution at address zero, and let it take a SIGSEGV. The process can never recover from this because it happens immediately after the return from the interrupt via rfi or rfir. Committed-by: Carlos O'Donell ChangeSet@1.2026.10.403, 2004-11-02 17:36:08-08:00, matthew@wil.cx [PATCH] parisc: new syscalls Add new syscalls: tkill, waitid, fadvise64_64, set_tid_address, tgkill, mbind, [sg]et_mempolicy, {,l,f}{set,get,list,remove}xattr, timer_{create,settime,gettime,getoverrun,delete}, clock_{settime,gettime,getres,nanosleep} Committed-by: Matthew Wilcox ChangeSet@1.2026.10.402, 2004-11-02 17:35:56-08:00, matthew@wil.cx [PATCH] parisc: fix PTRACE_GETEVENTMSG PTRACE_GETEVENTMSG was not 64-bit clean, fix it Committed-by: Randolph Chung ChangeSet@1.2026.10.401, 2004-11-02 17:35:42-08:00, matthew@wil.cx [PATCH] parisc: remove lcopy_*_user remove the now unused lcopy_*_user routines Committed-by: Randolph Chung ChangeSet@1.2026.10.400, 2004-11-02 17:35:23-08:00, matthew@wil.cx [PATCH] parisc: Stop exporting the old memcpy symbols Stop exporting the old memcpy symbols Committed-by: Randolph Chung ChangeSet@1.2026.10.399, 2004-11-02 17:35:08-08:00, matthew@wil.cx [PATCH] parisc: dump the stack on a BUG() dump the stack on a BUG() Committed-by: Randolph Chung ChangeSet@1.2026.10.398, 2004-11-02 17:34:57-08:00, matthew@wil.cx [PATCH] parisc: register cpus with sysfs register cpus with sysfs Committed-by: Randolph Chung ChangeSet@1.2026.10.397, 2004-11-02 17:34:40-08:00, matthew@wil.cx [PATCH] parisc: new memcpy routines - new memcpy routine, replaces memcpy, bcopy, copy_{from,to,in}_user implementations - workaround gcc-3.0 limitations for asm() - Pip and Rufus pointed out the flaw in the current misaligned memcopy routines. Randolph now owes lots of Milk bones. - updates to work with testsuite - sparse annotations - Improve copy performance for small and unaligned copies - Enable merge optimization for non-PA20 builds too Committed-by: Randolph Chung Committed-by: James Bottomley ChangeSet@1.2026.10.396, 2004-11-02 17:34:21-08:00, matthew@wil.cx [PATCH] parisc: fix CONFIG_DISCONTIGMEM support fix CONFIG_DISCONTIGMEM support Committed-by: Randolph Chung ChangeSet@1.2026.10.395, 2004-11-02 17:34:05-08:00, matthew@wil.cx [PATCH] parisc: Fix LBA/SBA bugs - Fix Astro/Elroy LMMIO space reporting in /proc/iomem. - Output in /proc/iomem include PCI bus number and "Extra LMMIO" range. - LBA now reports proper addresses routed down from SBA. - add mercury_cfg_ops. This fixes the tg3 init delay problem. PDC took ~20ms per PCI cfg write. tg3 performs ~1600 writes (~30 seconds per NIC) during init. Alternative is the relocate PDC to host ram. But that would burn ~4MB of RAM. This is cheaper. - add PCI_F_EXTEND to asm/pci.h - replaces private definitions Committed-by: Grant Grundler ChangeSet@1.2026.10.394, 2004-11-02 17:33:53-08:00, matthew@wil.cx [PATCH] parisc: Add memory clobber to userspace syscall wrapper Add memory clobber to userspace syscall wrapper provided by kernel, this matches glibc definition. Committed-by: Carlos O'Donell ChangeSet@1.2026.10.393, 2004-11-02 17:33:36-08:00, matthew@wil.cx [PATCH] parisc: export global fixup routines export global fixup routines Committed-by: Randolph Chung ChangeSet@1.2026.10.392, 2004-11-02 17:33:20-08:00, matthew@wil.cx [PATCH] parisc: use fixups for exception support Revamp exceptions support to use fixup sections Committed-by: Randolph Chung ChangeSet@1.2026.57.55, 2004-11-02 15:14:15-08:00, colin@colino.net [PATCH] therm_adt746x: gradually change fan speed and start both fans on Albooks Here's the patch that supercedes the one I asked you to drop. It changes the fan speed logic so that the fans will go incrementally fast instead of using just two steps. Also, it starts and stops both fans instead of just one on Powerbooks 15" and 17" (functionality asked by most of the Albooks users on Debian's ML, and justified by the fact that fan 1 and fan 2 do not correspond to CPU and GPU, as we previously thought). Signed-off-by: Colin Leroy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.54, 2004-11-02 15:13:59-08:00, rmk+lkml@arm.linux.org.uk [PATCH] saa7111.c: fix VIDEO_MODE_SECAM VIDEO_MODE_SECAM was incorrectly writing the contents of cached register 14 back to hardware register 8, rather than using cached register 8. Signed-off-by: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.53, 2004-11-02 15:13:42-08:00, jbarnes@engr.sgi.com [PATCH] document mmiowb and readX_relaxed a bit more in deviceiobook.tmpl This is a small patch to deviceiobook.tmpl to describe the new mmiowb routine a bit more completely. I've also updated it to provide pointers to drivers that do write flushing, use mmiowb, and use the readX_relaxed routines. Acked-by: Grant Grundler Signed-off-by: Jesse Barnes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.52, 2004-11-02 15:13:26-08:00, james4765@gmail.com [PATCH] floppy: Updates to Documentation/floppy.txt Cleanup and update to Documentation/floppy.txt. Fix one incorrect option in listing. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.51, 2004-11-02 15:13:14-08:00, james4765@gmail.com [PATCH] computone: MAINTAINERS update Update status of Computone Intelliport driver in MAINTAINERS. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.50, 2004-11-02 15:12:58-08:00, james4765@gmail.com [PATCH] computone: Documentation/computone.txt update Minor cleanup and status update to Documentation/computone.txt. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.49, 2004-11-02 15:12:40-08:00, james4765@gmail.com [PATCH] digiecpa MAINTAINERS update Update status of digiecpa driver in MAINTAINERS. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.48, 2004-11-02 15:12:24-08:00, james4765@gmail.com [PATCH] Documentation/digiecpa.txt update Update status of digiecpa driver & fix broken links in Documentation/digiecpa.txt. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.47, 2004-11-02 15:12:12-08:00, james4765@gmail.com [PATCH] MAINTAINERS update Fix reference to digiboard maintenance status - the digiecpa driver obsoleted the original driver. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.46, 2004-11-02 15:11:56-08:00, james4765@gmail.com [PATCH] Documentation/00-INDEX.txt update Remove reference to to-be-deleted file in Documentation/00-INDEX. Signed-off-by: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.45, 2004-11-02 15:11:39-08:00, james4765@gmail.com [PATCH] Documentation/digiboard.txt update Remove obsolete Documentation/digiboard.txt file - driver was obsoleted by the digiecpa driver. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.44, 2004-11-02 15:11:23-08:00, bjorn.helgaas@hp.com [PATCH] HPET init/add fixes Cleanup/bugfix HPET driver: - hpet_init() could return failure with driver still registered with ACPI - driver add() functions were marked __init, but can be called any time until driver is unregistered (not a real problem until HPETs can be hotplugged) - time interpolator registration now done in driver add() path, so we can support removal of HPETs someday - physical MMIO address should be printed, not ioremapped address Signed-off-by: Bjorn Helgaas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.43, 2004-11-02 15:11:12-08:00, miles@gnu.org [PATCH] v850: signal handling race fix Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.42, 2004-11-02 15:10:56-08:00, miles@gnu.org [PATCH] v850: Fix misnamed variable in ptrace.c Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.41, 2004-11-02 15:10:44-08:00, miles@gnu.org [PATCH] v850: Add __param linker section Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.40, 2004-11-02 15:10:28-08:00, miles@gnu.org [PATCH] v850: Add definitions for memcpy_fromio and memcpy_toio Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.39, 2004-11-02 15:10:10-08:00, miles@gnu.org [PATCH] v850: Work around include-definition-loop problem in Signed-off-by: Miles Bader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.38, 2004-11-02 15:09:54-08:00, penberg@cs.helsinki.fi [PATCH] radeonfb: more initializer fixes Use 8-bit palette entries for radeonfb and avoid zero-initialization as suggested by Geert Uytterhoeven. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.37, 2004-11-02 15:09:42-08:00, dhowells@redhat.com [PATCH] key management: fix locking problem and move __key_check() out of line The attached patch fixes a locking problem in key_lookup() and moves __key_check() out of line. Signed-Off-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.36, 2004-11-02 15:09:24-08:00, akpm@osdl.org [PATCH] ext3_bread() cleanup - remove unused local - whitespace - put_bh() is faster than brelse() Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.35, 2004-11-02 15:09:08-08:00, aia21@cam.ac.uk [PATCH] fs/buffer.c exports for NTFS I renamed the functions to more descriptive names: create_buffers -> alloc_page_buffers __set_page_buffers -> attach_page_buffers And I added a EXPORT_SYMBOL_GPL for alloc_page_buffers and made attach_page_buffers static inline and moved it to . Signed-off-by: Anton Altaparmakov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.34, 2004-11-02 15:08:56-08:00, shemminger@osdl.org [PATCH] rd: convert to module_param and add module alias Convert Ramdisk block device to module_param to get rid of warning. Add module alias to cause correct autoloading. Signed-off-by: Stephen Hemminger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.33, 2004-11-02 15:08:40-08:00, shemminger@osdl.org [PATCH] loop: convert to module_param Convert loopback device to new module_param to get rid of warning. Signed-off-by: Stephen Hemminger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.32, 2004-11-02 15:08:24-08:00, aherrman@de.ibm.com [PATCH] s390: make zfcp compile again. Make zfcp compile again after the SPI-5 constants and the interface to suspend I/O to scsi devices got added. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.31, 2004-11-02 15:08:07-08:00, takata@linux-m32r.org [PATCH] m32r: remove old ELF relocation types Remove old relocation type definitions from include/asm-m32r/elf.h. These ELF relocations are obsolete and no longer used. * include/asm-m32r/elf.h: - Remove old relocation types. Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.30, 2004-11-02 15:07:50-08:00, takata@linux-m32r.org [PATCH] m32r: remove rep_nop() Remove rep_nop() from include/asm-m32r/processor.h, because REP NOP (PAUSE) is a x86 specific instuction. Instead of rep_nop(), barrier() should be used for cpu_relax() as well as other architecuture. * include/asm-m32r/processor.h: - Change not to include "cachectl.h". - Remove rep_nop() and redefine cpu_relax() as barrier(). * arch/m32r/kernel/smpboot.h: - Use cpu_relax() instead of rep_nop(). Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.29, 2004-11-02 15:07:35-08:00, takata@linux-m32r.org [PATCH] m32r: Fix ELF_CORE_COPY_REGS macro to generate a correct "core" file This patch fixes ELF_CORE_COPY_REGS() macro in order to dump register information into "core" files correctly, because both parameters pr_reg and regs are passed as pointers to "elf_gregset_t" and "struct pt_regs", respectively. I've tested it by using a native m32r GNU debugger. Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.28, 2004-11-02 15:07:18-08:00, ak@suse.de [PATCH] Add panic blinking to 2.6 This patch readds the panic blinking that was in 2.4 to 2.6. This is useful to see when you're in X that the machine has paniced It addresses previously criticism. It should work now when the keyboard interrupt is off. It doesn't fully emulate the handler, but has a timeout for this case. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.27, 2004-11-02 15:07:02-08:00, ak@suse.de [PATCH] Print real error when initramfs gunzip failed Print the real error when initramfs gunzip failed. gunzip already sets up message correctly. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.26, 2004-11-02 15:06:44-08:00, ak@suse.de [PATCH] x86_64: set -fno-strict-aliasing for early boot code The boot decompressor is miscompiled by recent gcc 4.0s without this patch. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.25, 2004-11-02 15:06:28-08:00, suresh.b.siddha@intel.com [PATCH] x86-64: fix sibling map again Recent x86-64 sibling map fix for clustered mode by James (http://linux.bkbits.net:8080/linux-2.6/cset@414b34a6jkiHQ5AnhA269av76y3ZAw?nav=index.html) is not the recommended way of fixing it. That patch assumes BIOS for non-clustered systems accept the HW assigned value. Why make this assumption when we can fix it in a better fashion(which is also used by x86 kernel's today) Basically use HW assigned apic_id's(returned by cpuid) for non clustered systems and for clustered use BIOS provided apic_id's. Appended patch does this. Note: Similar issue was earlier disussed in context of x86 approx an year back and James then backed out his changes. http://www.ussg.iu.edu/hypermail/linux/kernel/0312.2/0167.html Signed-off-by: Suresh Siddha Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.24, 2004-11-02 15:06:11-08:00, ak@suse.de [PATCH] x86_64: Remove bogus __initdata in wakeup path Found by Randy Dunlap Don't mark use_sysenter __initdata, it is used on suspend Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.23, 2004-11-02 15:05:55-08:00, long.pu@intel.com [PATCH] x86_64: Use compat readdir and aio functions This patch replaced some sys32 syscall functions of X86_64 with the corresponding compat version. Signed-off-by: Pu Long Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.22, 2004-11-02 15:05:36-08:00, ak@suse.de [PATCH] x86_64: Fallback to swiotlb for dma_alloc_coherent From: Suresh B Siddha Coresponding change to IA64 code is in, so this can be merged too. - fallback to swiotlb for consistent DMA mappings - fix a memory leak in dma_alloc_coherent Signed-off-by: Suresh Siddha Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.21, 2004-11-02 15:05:20-08:00, ak@suse.de [PATCH] x86_64: Auto enable HPET on Summit From: James Cleverdon Switch to HPET timer automatically mode on Summit 2 Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.20, 2004-11-02 15:05:08-08:00, ak@suse.de [PATCH] x86_64: Fix setup asm constraints Fix some asm constraints in setup. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.19, 2004-11-02 15:04:51-08:00, ak@suse.de [PATCH] x86_64: Add 32bit quota support [untested, but other 64bit ports seem to get away with it] sys_quotactl seems to be 32/64bit clean, enable it for 32bit. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.18, 2004-11-02 15:04:35-08:00, ak@suse.de [PATCH] x86_64: Poison initdata Due to popular request Unconditionally poison __init code after bootup. Poison initdata too. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.17, 2004-11-02 15:04:23-08:00, ak@suse.de [PATCH] x86_64: Don't wait on panic Don't wait for a response from other CPUs on panic Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.16, 2004-11-02 15:04:07-08:00, ak@suse.de [PATCH] x86_64: add nmi button support Ported from i386 Support a sysctl to raise an oops with an NMI Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.15, 2004-11-02 15:03:56-08:00, ak@suse.de [PATCH] x86_64: Fix CONFIG_X86_MCE Fix CONFIG_X86_MCE to really enable/disable the MCE code Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.14, 2004-11-02 15:03:40-08:00, ak@suse.de [PATCH] x86_64: Fix make all From: Olaf Hering make all fails while building a helper app: arch/x86_64/boot/tools/build.c:36:22: asm/boot.h: No such file or directory This patch fixes it for me. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.13, 2004-11-02 15:03:23-08:00, ak@suse.de [PATCH] x86_64: Fix some readl/writel warnings Fix lots of readl/writel warnings in arch/x86_64 Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.12, 2004-11-02 15:03:07-08:00, ak@suse.de [PATCH] x86_64: flex mmap patch for x86-64 From: Arjan van de Ven Do flex mmap for x86-64. mmaps will grow down in the address space now instead of up. Patch has 2 parts; the generic strategy selection, and code to make a correct TASK_SIZE . the later may be fixed in your tree already in which case it's redundant. Modified by AK to apply to 64bit processes too. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.11, 2004-11-02 15:02:49-08:00, ak@suse.de [PATCH] x86_64: Add early exception handler Add an early exception handler on x86-64 to get better debugging output for crashes before traps_init. Requires earlyconsole. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.10, 2004-11-02 15:02:29-08:00, ak@suse.de [PATCH] x86_64: Fix e820 overflow. Originally from Venkatesh Pallipadi for i386 An e820 map with more than 18 entries would overflow into the EDID area in the zero page. Fix this. This is a x86-64 port of Venka's i386 version. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.9, 2004-11-02 15:02:12-08:00, ak@suse.de [PATCH] x86_64: Defconfig update Update defconfig At the request of willy: add UHCI Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.8, 2004-11-02 15:01:56-08:00, ak@suse.de [PATCH] x86_64: Fix compat_timer_t Fix type of compat_timer_t Pointed out by Matthew Wilcox Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.7, 2004-11-02 15:01:43-08:00, ak@suse.de [PATCH] x86_64: Report SSE3 on AMD CPUs From: Mark Langsdorf Report SSE3 on AMD CPUs in /proc/cpuinfo Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.6, 2004-11-02 15:01:27-08:00, ak@suse.de [PATCH] x86_64: Update cpuid feature tables. Add missing AMD CPUID feature bits. Fix wrong definition for AMD HTVALID flag. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.5, 2004-11-02 15:01:08-08:00, yanmin.zhang@intel.com [PATCH] x86_64: Fix 32bit aio setup Kernel 2.6.9-rc3-mm3 has a bug in function sys32_io_setup in file arch/x86_64/ia32/sys_ia32.c. Local variable ctx64 is not initiated before sys32_io_setup calls sys_io_setup. If ctx64 is not zero, and sys_io_setup will return -EINVAL. Generic function compat_sys_io_setup has not the bug. Here is the patch against 2.6.9-rc3-mm3. Just use compat_sys_io_setup to replace sys32_io_setup. Signed-off-by: Zhang Yanmin Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.4, 2004-11-02 15:00:52-08:00, trini@kernel.crashing.org [PATCH] ppc32: fix early request_irq Here's a patch which backs out the fix Randy Vinson came up with, and makes i8259_init() and openpic_hookup_cascade() use setup_irq (tested on LoPEC). This also converts the rest of the request_irq callers that were expecting the old behavior (psurge SMP, chrp xmon, 85xx, some 82xx). This is more untested, but looks correct. I've left 8xx alone in this as it needs other changes before it would make sense. Signed-off-by: Tom Rini Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.3, 2004-11-02 15:00:40-08:00, mporter@kernel.crashing.org [PATCH] ppc32: 40x and Book E debug: 4xx platform support This patch adds support to the 40x and 44x platform code for initializing debug events and using the in-kernel kgdb stub. Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.2, 2004-11-02 15:00:23-08:00, mporter@kernel.crashing.org [PATCH] ppc32: 40x and Book E debug: core support This patch updates the 40x and Book E Debug exception handling paths to handle kernel space debug events. It also fixes up the in-kernel ppc32 kgdb stub to work properly. Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.57.1, 2004-11-02 15:00:11-08:00, peterc@gelato.unsw.edu.au [PATCH] standalone sys_ni.c for not-implemented syscalls Sticking the not-implemented syscall stuff in sys.c is a pain because the cond_syscall()s explode when certain prototypes are in scope. And we need those prototypes' header files for the C code in sys.c. Fix all that up by moving all the sys_ni_syscall code into its own .c file. Signed-off-by: Peter Chubb Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.44.17, 2004-11-02 22:44:07+00:00, rmk@flint.arm.linux.org.uk [SERIAL] Fix PPC64 for recent serial changes - linux/8250.h is replaced by linux/serial_8250.h - we now pass serial port information via a platform device. ChangeSet@1.2026.10.389, 2004-11-02 22:23:03+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2190/1: S3C2410 - fix compile for S3C2440 CPUs Patch from Ben Dooks Fixes mis-labelled timer variables, and incldes the clock header to allow the code to compile. This was not caught on previous rounds as all the s3c2440 machine support is pending the finalisation of the new s3c2440 uart driver (arriving soon) Signed-off-by: Ben Dooks ChangeSet@1.2026.10.388, 2004-11-02 22:13:54+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2189/1: S3C2410 - select pclk as source for timer if none specified for machine Patch from Ben Dooks Select the PCLK based TIMER4 to provide the system timer tick if there is no machine specific timer setup specified. This should make it easier to add new machines, as well as cut down on the code required in time.c when they are added. Signed-off-by: Ben Dooks ChangeSet@1.2026.10.387, 2004-11-02 22:02:27+00:00, davis_g@com.rmk.(none) [ARM PATCH] 2188/1: Add missing MODULE_LICENSE declaration in PXA Lubbock PCMCIA driver Patch from George G. Davis The Lubbock PCMCIA socket driver, drivers/pcmcia/pxa2xx_lubbock.c, lacks a MODULE_LICENSE declaration. This patch merely adds the missing MODULE_LICENSE declaration to eliminate tainted kernel warnings when this driver is built as a module. I have intentionally not used the Dual MPL/GPL license in this case because 1) current linux-2.6.10-rc1 PXA PCMCIA drivers use only the GPL license, 2) the original source files on which the PXA PCMCIA drivers are based, i.e. the SA11xx PCMCIA drivers, state: "If you wish to allow the use of your version of this file only under the terms of the GPL and not to allow others to use your version of this file under the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the GPL." Signed-off-by:: George G. Davis ChangeSet@1.2026.10.386, 2004-11-02 21:51:28+00:00, nico@org.rmk.(none) [ARM PATCH] 2187/1: fix lacking capability in pxa_gpio_mode() Patch from Nicolas Pitre This allows to set the default state of GPIOs before they're enabled as output, eliminating spurious level transitions. Signed-off-by: Nicolas Pitre ChangeSet@1.2026.54.18, 2004-11-02 13:23:01-08:00, tony.luck@intel.com [IA64] promote configs/generic_defconfig to defconfig arch/ia64/defconfig should be one that is usable by the largest cross-section of the ia64 community. Replace old version with an updated version of generic_defconfig. Change suggested by Jesse Barnes. Signed-off-by: Tony Luck ChangeSet@1.2026.54.17, 2004-11-02 12:53:10-08:00, tony.luck@intel.com [IA64] tiger_defconfig update for 2.6.10-rc1 Enable MCA_RECOVERY, TMPFS_XATTR, and other miscellaneous config options. Signed-off-by: Tony Luck ChangeSet@1.2026.54.16, 2004-11-02 12:43:50-08:00, jbarnes@sgi.com [IA64-SGI] update sn2_defconfig Update sn2_defconfig to reflect some new options: o enable MCA debugging of more than just TLB errors o enable tmpfs xattr support o enable kernel userspace events o defaults for other new options Signed-off-by: Jesse Barnes Signed-off-by: Tony Luck ChangeSet@1.2026.54.15, 2004-11-02 12:39:58-08:00, t-kochi@bq.jp.nec.com [IA64] cleanup CPU drift print This patch skips printing drift information of a cpu where ITC drift information is not supported by SAL. Without this, bogus value (-1ppm) is printed on boot. CPU 1: base freq=200.007MHz, ITC ratio=10/2, ITC freq=1000.035MHz+/--1ppm is now CPU 1: base freq=200.007MHz, ITC ratio=10/2, ITC freq=1000.035MHz Signed-off-by: Takayoshi Kochi Signed-off-by: Tony Luck ChangeSet@1.2026.54.14, 2004-11-02 12:33:20-08:00, steiner@sgi.com [IA64-SGI] Delete unused variable (master_node_bedrock_address) Delete master_node_bedrock_address. It is no longer needed. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck ChangeSet@1.2026.54.13, 2004-11-02 12:29:59-08:00, jbarnes@sgi.com [IA64-SGI] move nic_t to asm/sn/types.h Somehow nic_t crept into arch.h. Move it to types.h where it belongs (it depends on u64, so pull in linux/types.h too). Signed-off-by: Jesse Barnes Signed-off-by: Tony Luck ChangeSet@1.2026.54.12, 2004-11-02 12:27:31-08:00, jbarnes@sgi.com [IA64-SGI] remove redundant macros This patch removes some redundant nasid conversion macros from arch.h and updates callers to use the version they were defined to instead. Signed-off-by: Jesse Barnes Signed-off-by: Tony Luck ChangeSet@1.2026.54.11, 2004-11-02 12:23:19-08:00, jbarnes@sgi.com [IA64-SGI] remove duplicate INVALID_* defines from arch.h When I did the sparse stuff, I noticed some duplicate INVALID_* defines. This patch removes one set of them and adds the proper include file to sn_sal.h. Signed-off-by: Jesse Barnes Signed-off-by: Tony Luck ChangeSet@1.2041, 2004-11-02 13:31:30-05:00, len.brown@intel.com Merge intel.com:/home/lenb/bk/26-latest-ref into intel.com:/home/lenb/src/26-latest-dev ChangeSet@1.2026.54.9, 2004-11-02 07:50:59-05:00, bzolnier@elka.pw.edu.pl [PATCH] libata PIO bugfix Untested but based on working IDE fix. We need to kmap()/kunmap() the current page not the first page of the scatterlist segment. Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Jeff Garzik ChangeSet@1.2026.44.16, 2004-11-02 09:41:48+00:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250: Remove two warnings. ChangeSet@1.2026.44.15, 2004-11-02 09:28:41+00:00, rmk@flint.arm.linux.org.uk [SERIAL] Add ALPHA_KLUDGE_MCR from include/linux/serialP.h ChangeSet@1.2026.44.14, 2004-11-02 09:14:25+00:00, rmk@flint.arm.linux.org.uk [SERIAL] Add support for Dell PCI Remote Access Card III. ChangeSet@1.1803.119.47, 2004-11-02 02:53:13-05:00, len.brown@intel.com [ACPI] Remove default PNPACPI driver binding to legacy ACPI devices. This conflicted with PNP-aware and ACPI-aware drivers, and required that its exclude-list carry vendor-specific driver names, which we can't possibly maintain. Signed-off-by: David Shaohua Li Signed-off-by: Len Brown ChangeSet@1.2039, 2004-11-02 02:44:23-05:00, len.brown@intel.com Merge intel.com:/home/lenb/src/26-stable-dev into intel.com:/home/lenb/src/26-latest-dev ChangeSet@1.1803.119.46, 2004-11-02 02:40:16-05:00, len.brown@intel.com [ACPI] fix return values for ACPI_FUNCTION_TRACE http://bugzilla.kernel.org/show_bug.cgi?id=3336 Signed-off-by: Len Brown ChangeSet@1.1803.119.45, 2004-11-01 23:56:25-05:00, len.brown@intel.com [ACPI] correct compiled-in acpi_dbg_level default Signed-off-by: Len Brown ChangeSet@1.2026.50.6, 2004-11-02 01:17:58-02:00, acme@conectiva.com.br [NET] add missing include to iw_handler.h Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller ChangeSet@1.2026.50.5, 2004-11-02 01:12:53-02:00, acme@conectiva.com.br [NET] add missing include to icmp.h Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller ChangeSet@1.2026.50.4, 2004-11-02 01:08:59-02:00, acme@conectiva.com.br [NET] add missing include to inetdevice.h Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller ChangeSet@1.2026.50.3, 2004-11-02 01:08:21-02:00, acme@conectiva.com.br [NET] add missing include to inet.h Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller ChangeSet@1.1803.119.44, 2004-11-01 22:00:20-05:00, len.brown@intel.com [ACPI] fix x86_64 build warnings in video.c (Luming Yu) Signed-off-by: Len Brown ChangeSet@1.1803.119.43, 2004-11-01 21:08:22-05:00, len.brown@intel.com [ACPI] ACPIPNP handle IRQ resource value of 0 (David Shaohua Li) Signed-off-by: Len Brown ChangeSet@1.2026.52.33, 2004-11-01 17:53:52-08:00, chas@relax.cmf.nrl.navy.mil [ATM]: [drivers] add missing pci_tbl exports (pointed out by Adam ChangeSet@1.2026.52.32, 2004-11-01 17:53:01-08:00, chas@relax.cmf.nrl.navy.mil [ATM]: [ambassador] fix type and printk warning (from Randy Dunlap ) Signed-off-by: Chas Williams Signed-off-by: David S. Miller ChangeSet@1.2026.52.30, 2004-11-01 17:41:19-08:00, mingo@elte.hu [NET]: Fix unbalanced local_bh_enable() in dev_queue_xmit() Signed-off-by: Ingo Molnar Signed-off-by: David S. Miller ChangeSet@1.2026.52.29, 2004-11-01 17:31:20-08:00, shemminger@osdl.org [NETFILTER]: Fix build without INET. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller ChangeSet@1.2026.52.28, 2004-11-01 17:20:45-08:00, davem@nuts.davemloft.net [TG3]: Bump driver version and reldate. Signed-off-by: David S. Miller ChangeSet@1.2026.52.27, 2004-11-01 17:19:53-08:00, davem@nuts.davemloft.net [TG3]: Use ioremap_nocache(). Noticed by Andi Kleen. Signed-off-by: David S. Miller ChangeSet@1.2026.52.26, 2004-11-01 17:17:25-08:00, Michael.Waychison@Sun.COM [TG3]: Fix fiber hw autoneg bounces We've recently noticed that the autonegotiation cleanup made a while back (between tg3 3.8 and 3.9) has issues which make the link bounce up and down. I've traced it to be caused by the tg3_timer 1 second work noticing that MAC_STATUS_LNKSTATE_CHANGED was set, which driver would see as the link going down. Upon further inspection, it appears that we don't wait long enough between setting SG_DIG_CTRL and reading the SG_DIG_STATUS for the result. The following patch (from a quasi recent bk tree) makes this code path wait up to 200ms for the link to establish. In my testing, I'm seeing it take around 20ms for the negotiation to complete. I haven't had the chance to test how this patch affects the case where the switch doesn't have autoneg enabled, although I suspect fallback should work correctly. Please consider applying, thanks, Signed-off-by: Mike Waychison Signed-off-by: David S. Miller ChangeSet@1.2026.52.25, 2004-11-01 17:16:17-08:00, herbert@gondor.apana.org.au [XFRM]: Fix build failures without CONFIG_INET Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2026.52.24, 2004-11-01 17:13:12-08:00, arjan@infradead.org [TCP]: Unexport sysctl_tcp_tw_recycle Unexport sysctl_tcp_tw_recycle; nothing is using it in modules (it's quite internal to the ipv4 code after all); as a bonus item it gets rid of an ifdef... Signed-off-by: Arjan van de Ven Signed-off-by: David S. Miller ChangeSet@1.2026.54.8, 2004-11-01 17:03:49-08:00, matthew@wil.cx [PATCH] parisc: Remove isr verification Remove isr verification printf. This is not needed, and was never needed, we always have access to the page if we made it past the security check in traps.c Committed-by: Carlos O'Donell ChangeSet@1.2026.54.7, 2004-11-01 17:03:38-08:00, matthew@wil.cx [PATCH] parisc: remove K_STW_PIC and K_LDW_PIC There is no pure assembly inline syscall for userspace to include. Thus remove the definitions of K_STW_PIC and K_LDW_PIC. Committed-by: Carlos O'Donell ChangeSet@1.2026.54.6, 2004-11-01 17:03:25-08:00, matthew@wil.cx [PATCH] parisc: _raw_write_trylock Need a _raw_write_trylock() for the out of line spinlock code to compile ... nothing in the kernel actually uses this, of course ... Committed-by: James Bottomley ChangeSet@1.2026.54.5, 2004-11-01 17:03:12-08:00, matthew@wil.cx [PATCH] parisc: support get/put_unaligned We need to include asm-generic/uaccess.h for the new get/put_unaligned macros Committed-by: James Bottomley ChangeSet@1.2026.54.4, 2004-11-01 17:03:00-08:00, matthew@wil.cx [PATCH] parisc: signal race fixes Signal race fixes Committed-by: Carlos O'Donell Committed-by: James Bottomley ChangeSet@1.2026.54.3, 2004-11-01 17:02:47-08:00, matthew@wil.cx [PATCH] parisc: fix ptrace Make ptrace work again someone (not naming names) forgot that %cr30 is the *thread* register not the task register. Committed-by: James Bottomley ChangeSet@1.2026.54.2, 2004-11-01 17:02:35-08:00, matthew@wil.cx [PATCH] parisc: better stack traces In parisc_terminate(), do the stack trace from the faulting location instead of from the current (i.e. parisc_terminate()) location. Committed-by: Randolph Chung ChangeSet@1.2026.54.1, 2004-11-01 17:02:22-08:00, matthew@wil.cx [PATCH] parisc: add copyright to sba_iommu add copyright for knaresh - he did initial work for pa8800 support on 2.4 Committed-by: Grant Grundler ChangeSet@1.2026.52.23, 2004-11-01 16:54:05-08:00, tgraf@suug.ch [PKT_SCHED]: cls_u32: Use generic routines for class binding and police config/dump Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.52.22, 2004-11-01 16:53:32-08:00, tgraf@suug.ch [PKT_SCHED]: cls_tcindex: Use generic routines for class binding and police config/dump Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.52.21, 2004-11-01 16:52:55-08:00, tgraf@suug.ch [PKT_SCHED]: cls_rsvp*: Use generic routines for class binding and police config/dump Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.52.20, 2004-11-01 16:51:55-08:00, tgraf@suug.ch [PKT_SCHED]: cls_route: Use generic routines for class binding and police config/dump Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.52.19, 2004-11-01 16:50:40-08:00, arjan@infradead.org [NET]: Unexport call_netdevice_notifiers() Signed-off-by: Arjan van de Van Signed-off-by: David S. Miller ChangeSet@1.2026.52.18, 2004-11-01 16:48:47-08:00, herbert@gondor.apana.org.au [TCP]: Modularize tcpdiag This is the first step in fixing the tcpdiag/modular ipv6 issue. We modularise tcpdiag in the obvious way. Next we can move out the IPv6-specific stuff. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2026.52.17, 2004-11-01 16:47:25-08:00, herbert@gondor.apana.org.au [IPSEC]: Make ah4/esp4/ipcomp depend on INET As it is someone could disable INET and still enable ah4/esp4/ipcomp. This patch adds the dependency on INET to prevent this. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2026.52.16, 2004-11-01 16:46:35-08:00, herbert@gondor.apana.org.au [XFRM]: Move xfrm4_rcv export to its site Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2026.52.15, 2004-11-01 16:44:45-08:00, bunk@stusta.de [SCTP]: Remove an unused function in outqueue.c Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller ChangeSet@1.2026.52.14, 2004-11-01 16:43:22-08:00, hadi@cyberus.ca [PKT_SCHED]: Add iptables action. Signed-off-by: jamal Signed-off-by: David S. Miller ChangeSet@1.2026.52.13, 2004-11-01 16:40:25-08:00, hadi@znyx.com [NETFILTER]: ipt mutex locks access Signed-off-by: Harald Welte Signed-off-by: David S. Miller ChangeSet@1.2026.49.46, 2004-11-01 16:39:14-08:00, stern@rowland.harvard.edu [PATCH] UHCI: Use a sane timeout for device initialization This patch changes the device initialization code for the UHCI driver to use a more meaningful timeout than simply waiting for 1000 loop iterations. It also causes the code to fail when a timeout occurs rather than proceed blindly. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.45, 2004-11-01 16:26:55-08:00, bunk@stusta.de [PATCH] USB ohci-dbg.c: remove an unused function The patch below removes an unused function from drivers/usb/host/ohci-dbg.c Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.44, 2004-11-01 16:26:32-08:00, bunk@stusta.de [PATCH] USB stv680.c: remove an unused function The patch below removes an unused function from drivers/usb/media/stv680.c Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.52.12, 2004-11-01 16:26:07-08:00, tgraf@suug.ch [PKT_SCHED]: cls_fw: CONFIG_NET_CLS_IND is not dependant on CONFIG_NET_CLS_ACT Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.49.43, 2004-11-01 16:26:06-08:00, acme@conectiva.com.br [PATCH] USB: add id for Siemens x65 series of mobiles to pl2303 driver [PL2303] add id for Siemens x65 series of mobiles Tested with CX65 and S65 models Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.52.11, 2004-11-01 16:24:32-08:00, tgraf@suug.ch [PKT_SCHED]: cls_fw: Break is not enough to stop walking break is not enough to escape from the walking loops, since multiple encapsulated loops are used to traverse the hash tables. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.52.10, 2004-11-01 16:23:43-08:00, tgraf@suug.ch [PKT_SCHED]: cls_fw: Whitespace/ifdef fixes Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.52.9, 2004-11-01 16:22:59-08:00, tgraf@suug.ch [PKT_SCHED]: cls_fw: Use generic routines to dump action/policer Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.52.8, 2004-11-01 16:21:47-08:00, tgraf@suug.ch [PKT_SCHED]: cls_fw: Use generic routines to configure action/policer Adds a new function fw_change_attr using the new generic routines which can be used to change attribute but also to initially set them to avoid duplicated code. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.52.7, 2004-11-01 16:20:55-08:00, tgraf@suug.ch [PKT_SCHED]: cls_fw: Cleanup fw_classify Cleans up fw_classify by using the generic routines and adds a additional but unneeded continue to document that an action may overrule the filter's match result. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.52.6, 2004-11-01 16:20:09-08:00, tgraf@suug.ch [PKT_SCHED]: Add generic classifier routines. Adds generic routines used by classifier to: - bind/unbind to classes - configure action/police/indev - dump action/police Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.49.42, 2004-11-01 16:19:49-08:00, tglx@linutronix.de [PATCH] Lock initializer unifying Batch 2 (USB) To make spinlock/rwlock initialization consistent all over the kernel, this patch converts explicit lock-initializers into spin_lock_init() and rwlock_init() calls. Currently, spinlocks and rwlocks are initialized in two different ways: lock = SPIN_LOCK_UNLOCKED spin_lock_init(&lock) rwlock = RW_LOCK_UNLOCKED rwlock_init(&rwlock) this patch converts all explicit lock initializations to spin_lock_init() or rwlock_init(). (Besides consistency this also helps automatic lock validators and debugging code.) The conversion was done with a script, it was verified manually and it was reviewed, compiled and tested as far as possible on x86, ARM, PPC. There is no runtime overhead or actual code change resulting out of this patch, because spin_lock_init() and rwlock_init() are macros and are thus equivalent to the explicit initialization method. That's the second batch of the unifying patches. Signed-off-by: Thomas Gleixner Acked-by: Ingo Molnar Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.41, 2004-11-01 16:18:22-08:00, david-b@pacbell.net [PATCH] USB: fix ohci_restart warning With 2.6.10 getting warning about ohci_restart() defined and not used if !CONFIG_PM. Signed-off-by: Stephen Hemminger Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.52.5, 2004-11-01 16:18:10-08:00, bunk@stusta.de [NETFILTER]: Remove an unused function in ipt_tcpmss.c Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller ChangeSet@1.2026.52.4, 2004-11-01 16:17:13-08:00, bunk@stusta.de [AX25]: Remove an unused function in ax25_route.c Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller ChangeSet@1.2026.52.3, 2004-11-01 16:16:33-08:00, bunk@stusta.de [IRDA]: Remove an unused function in net/irda/qos.c Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller ChangeSet@1.2026.52.2, 2004-11-01 16:15:55-08:00, bunk@stusta.de [APPLETALK]: Remove an unused function Signed-off-by: Adrian Bunk Signed-off-by: David S. Miller ChangeSet@1.2026.49.40, 2004-11-01 16:06:33-08:00, stern@rowland.harvard.edu [PATCH] USB: Dequeuing of root-hub URBs This patch fixes a tiny SMP-type hole in root-hub synchronization. Although the HCD glue layer properly unlinks root-hub status URBs synchronously, it doesn't do so for URBs sent to endpoint 0. This patch copies some code from usb_kill_urb, to make such unlinks wait until the host controller driver has finished handling the URB. This behavior is required for hcd_endpoint_disable to work correctly. The patch also renames usb_rh_status_dequeue to usb_rh_urb_dequeue (to better describe its updated function) and declares the routine static. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.39, 2004-11-01 16:06:06-08:00, stern@rowland.harvard.edu [PATCH] UHCI: Convert remainder to bitwise-and This patch, suggested by Karsten Wiese, converts a few remainder ('%') operations in the UHCI driver to bitwise-and ('&'). It's not a huge change, but this is a common idiom in C and it will save a few bytes with some compilers. Also one of the changes is in an inner loop, so it might help a little bit. From: Karsten Wiese Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.38, 2004-11-01 16:05:41-08:00, david-b@pacbell.net [PATCH] usbcore, diagnostic tweaks Minor updates for better diagnostics from usbcore: - Only print ep0 maxpacket when it's not what we first tried - have khubd say when it's looking at a hub - When warning about synchronous control or bulk timeouts, report the program that triggered the message. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.37, 2004-11-01 16:05:15-08:00, david-b@pacbell.net [PATCH] OHCI suspend/resume updates (minor) This marks the controller as running at the end of a "resume" path used when the controller lost power, or was otherwise reset (not a real resume). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.36, 2004-11-01 16:04:49-08:00, david-b@pacbell.net [PATCH] EHCI suspend/resume updates This patch much improves suspend/resume behavior of EHCI, as tested with "echo suspend > /sys/power/state" and "echo disk > /sys/power/state". - Quiescing the controller has to handle a case where the software has finished shutting down periodic and async schedules, but the hardware hasn't yet finished its part. - When suspending the root hub, be more by-the-book so that resumes behave better. - When resuming after suspend-to-disk, or in general when no port is suspended, the driver re-uses the initialization logic. That logic needed to understand that resources don't need re-allocation, and that a few things need to be reset to the default state. - More code paths needed to notice a suspended controller, and stop right away. - To shut down the controller, start with the root hub ports and work up from there. Tested by writing "suspend" or "disk" to /sys/power/state; several systems resumed OK, at least given the associated usbcore patches. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.35, 2004-11-01 15:45:23-08:00, david-b@pacbell.net [PATCH] PCI: make pci_save_state() only happen when no suspend() Recent PCI changes are killing USB Power Management, and maybe more. The root cause is a change to the PCI suspend code from back in May, saving a copy of pci config space after the PCI driver did. That was OK until a recent change made it overwrite the copy that the PCI device driver would later restore ... net result for USB is that DMA would always be disabled after resume. This patch restores the long-documented behavior of PCI driver suspend/resume calls (drivers are responsible for saving and restoring config space state), and also removes a superfluous line from the USB suspend logic. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.34, 2004-11-01 15:44:59-08:00, david-b@pacbell.net [PATCH] usbcore and system sleep states This patch makes usbcore behave better with system sleep states, fixing some PM/PCI integration problems as well as some PM/USB ones. - PCI HCDs should behave better, even if they don't support PCI PM; tested with both ACPI and APM suspend cycles, and swsusp. - Systems that advertise ACPI S1 support don't necessarily support the PCI D1 or D2 states for their USB controllers. (Examples include Centrino laptops.) This patch makes them suspend into D3hot, which always works (and won't take much longer to resume, either). - Handle the "go into deeper suspend" transition the way PCI drivers are supposed to. - Understand that USB only has one suspend state: if the device is suspended, it can't do any better. - Export some symbols to HCDs, so they can reuse more of the existing usbcore framework. Plus minor related cleanups. The PCI D1/D2 state issue is a variant of an earlier problem, with the same root cause: the PM core thinking there's a one-to-one mapping between system states (roughly: ACPI S0/S1/S3/S4) and PCI states that a given device can support (only D0 is required, D3hot is common). That same issue comes up again with USB. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.33, 2004-11-01 15:44:31-08:00, arjan@fenrus.demon.nl [PATCH] USB: remove dead code in usb video Hi, Patch below removes somem dead, never used code from the usbvideo driver, including a function that uses interruptible_sleep_on_timeout() oddly. Signed-off-by: Arjan van de Ven Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.32, 2004-11-01 15:44:09-08:00, stern@rowland.harvard.edu [PATCH] UHCI: Workaround for broken remote wakeup This patch adds a workaround for host controllers that don't properly support remote wakeup. That includes Intel controllers (on certain badly designed motherboards) and a recent Genesys Logic controller. Although the UHCI driver avoids suspending the Intel-based controllers, this workaround will handle things about as well. In the not-too-distant future I will have to revamp most of the root-hub suspend/resume code in the UHCI driver. For now, please apply the patch. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.31, 2004-11-01 15:24:33-08:00, lmendez19@austin.rr.com [PATCH] hid-core: add two devices to device blacklist This patch adds the Delorme Earthmate usb gps and the Cypress hid->com rs232 adapter to hid-core's device blacklist. Signed-off-by: Lonnie Mendez Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.30, 2004-11-01 15:24:11-08:00, nacc@us.ibm.com [PATCH] pci/quirks: replace schedule_timeout() with msleep() Description: Use msleep() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.29, 2004-11-01 14:30:03-08:00, clameter@sgi.com [PATCH] fix IBM cyclone clock and some cleanup - fix broken IBM cyclone time interpolator support - add support for cyclic timers through an addition of a mask in the timer interpolator structure - Allow time_interpolator_update() and time_interpolator_get_offset() to be invoked without an active time interpolator (necessary since the cyclone clock is initialized late in ACPI processing) - remove obsolete function time_interpolator_resolution() - add a mask to all struct time_interpolator setups in the kernel - Make time interpolators work on 32bit platforms Signed-off-by: Christoph Lameter Signed-off-by: Linus Torvalds ChangeSet@1.2026.53.1, 2004-11-01 22:16:08+00:00, aia21@cantab.net NTFS: Make several functions and variables static. (Adrian Bunk) Signed-off-by: Adrian Bunk Signed-off-by: Anton Altaparmakov ChangeSet@1.2026.49.28, 2004-11-01 13:06:49-08:00, kay.sievers@vrfy.org [PATCH] take me home, hotplug_path[] Move hotplug_path[] out of kmod.[ch] to kobject_uevent.[ch] where it belongs now. At some time in the future we should fix the remaining bad hotplug calls (no SEQNUM, no netlink uevent): ./drivers/input/input.c (no DEVPATH on some hotplug events!) ./drivers/pnp/pnpbios/core.c ./drivers/s390/crypto/z90main.c Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.27, 2004-11-01 13:06:31-08:00, dtor_core@ameritech.net [PATCH] Driver core: add driver symlink to device Driver core: when binding device to a driver create "driver" symlink in device's directory. Rename serio's "driver" attribute to "drvctl" (write-only) Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.26, 2004-11-01 13:06:02-08:00, kay.sievers@vrfy.org [PATCH] kobject: fix hotplug bug with seqnum On Sat, Oct 30, 2004 at 04:54:29AM +0200, Kay Sievers wrote: > On Sat, Oct 30, 2004 at 02:25:23AM +0200, Kay Sievers wrote: > > On Sat, Oct 30, 2004 at 02:00:45AM +0200, Kay Sievers wrote: > > > On Fri, Oct 29, 2004 at 06:13:19PM -0500, Greg KH wrote: > > > > On Fri, Oct 29, 2004 at 11:28:56PM +0200, Kay Sievers wrote: > > > > > > But there might still be a problem. With this change, the sequence > > > > > > number is not sent out the kevent message. Kay, do you think this is an > > > > > > issue? I don't think we can get netlink messages out of order, right? > > > > > > > > > > Right, especially not the events with the same DEVPATH, like "remove" > > > > > beating an "add". But I'm not sure if the number isn't useful. Whatever > > > > > we may do with the hotplug over netlink in the future, we will only have > > > > > /sbin/hotplug for the early boot and it may be nice to know, what events > > > > > we have already handled... > > > > > > > > > > > I'll hold off on applying this patch until we figure this out... > > > > > > > > > > How about just reserving 20 bytes for the number (u64 will never be > > > > > more than that), save the pointer to that field, and fill the number in > > > > > later? > > > > > > > > Ah, something like this instead? I like it, it's even smaller than the > > > > previous patch. Compile tested only... > > > > > > I like that. How about the following. It will keep the buffer clean from > > > random chars, cause the kevent does not have the vector and relies on > > > the '\0' to separate the strings from each other. > > > I've tested it. The netlink-hotplug message looks like this: > > > > > > recv(3, "remove@/class/input/mouse2\0ACTION=remove\0DEVPATH=/class/input/mouse2\0SUBSYSTEM=input\0SEQNUM=961 \0", 1024, 0) = 113 > > > > Hmm, these trailing spaces are just bad, sorry. I'll better pass the > > envp array over to send_uevent() and clean up the keys while copying > > the env values into the skb buffer. This will make the event payload > > more safe too. So your first version looks better. > > How about this? We copy over key by key into the skb buffer and the > netlink message can get the envp array without depending on a single > continuous buffer. > > The netlink message looks nice like this now: > > recv(3, " > add@/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0\0 > HOME=/\0 > PATH=/sbin:/bin:/usr/sbin:/usr/bin\0 > ACTION=add\0 > DEVPATH=/devices/pci0000:00/0000:00:1d.1/usb3/3-2/3-2:1.0\0 > SUBSYSTEM=usb\0 > SEQNUM=991\0 > DEVICE=/proc/bus/usb/003/008\0 > PRODUCT=46d/c03e/2000\0 > TYPE=0/0/0\0 > INTERFACE=3/1/2\0 > ", 1024, 0) = 268 Here is an improved version that uses skb_put() to fill the skb buffer, instead of trimming the buffer to the final size after we've copied over all keys. Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.25, 2004-11-01 13:05:43-08:00, dtor_core@ameritech.net [PATCH] Driver core: add driver_probe_device Driver core: rename bus_match into driver_probe_device and export it so subsystems can bind an individual device to a specific driver without getting involved with driver core internals. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.24, 2004-11-01 13:05:24-08:00, dtor_core@ameritech.net [PATCH] Driver core: export device_attach Driver core: make device_attach() global and export it and driver_attach() so subsystems can have finer control over binding process. Signed-off-by: Dmitry Torokhov Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.23, 2004-11-01 13:05:06-08:00, akpm@osdl.org [PATCH] Fix deadlocks on dpm_sem From: Paul Mackerras Currently the device_pm_foo() functions are rather prone to deadlocks during suspend/resume. This is because the dpm_sem is held for the duration of device_suspend() and device_resume() as well as device_pm_add() and device_pm_remove(). If for any reason you get a device addition or removal triggered by a device's suspend or resume code, you get a deadlock. (The classic example is a USB host adaptor resuming and discovering that the mouse you used to have plugged in has gone away.) This patch fixes the problem by using a separate semaphore, called dpm_list_sem, to cover the places where we need the device pm lists to be stable, and by being careful about how we traverse the lists on suspend and resume. I have analysed the various cases that can occur and I am confident that I have handled them all correctly. I posted this patch together with a detailed analysis 10 days ago. Signed-off-by Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.22, 2004-11-01 13:04:46-08:00, akpm@osdl.org [PATCH] Possible race in sysfs_read_file() and sysfs_write_file() From: Simon Derr Add a `needs_read_fill' field in sysfs_buffer so that reading after a write in a sysfs file returns valid data. (instead of the data that have been written, that may be invalid or at the wrong offset) Signed-off-by: Simon Derr Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.21, 2004-11-01 13:04:30-08:00, akpm@osdl.org [PATCH] Fix race in sysfs_read_file() and sysfs_write_file() From: Simon Derr - fixes the race between threads by adding a semaphore in sysfs_buffer - allocates the buffer upon call to pread(). We still call again fill_read_buffer() if the file is "rewinded" to offset zero. - fixes the comparison in flush_read_buffer(). Signed-off-by: Simon Derr Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.20, 2004-11-01 13:04:09-08:00, akpm@osdl.org [PATCH] sysfs backing store: stop pinning dentries/inodes for leaf entries From: Maneesh Soni o This patch stops the pinning of non-directory or leaf dentries and inodes. The leaf dentries and inodes are created during lookup based on the entries on sysfs_dirent tree. These leaves are removed from the dcache through the VFS dentry ageing process during shrink dcache operations. Thus reducing about 80% of sysfs lowmem needs. o This implments the ->lookup() for sysfs directory inodes and allocates dentry and inode if the lookup is successful and avoids the need of allocating and pinning of dentry and inodes during the creation of corresponding sysfs leaf entry. As of now the implementation has not required negative dentry creation on failed lookup. As sysfs is still a RAM based filesystem, negative dentries are not of any use IMO. o The leaf dentry allocated after successful lookup is connected to the existing corresponding sysfs_dirent through the d_fsdata field. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.19, 2004-11-01 13:03:53-08:00, akpm@osdl.org [PATCH] sysfs backing store: use sysfs_dirent based tree in dir file operations From: Maneesh Soni o This patch implements the sysfs_dir_operations file_operations strucutre for sysfs directories. It uses the sysfs_dirent based tree for ->readdir() and ->lseek() methods instead of simple_dir_operations which use dentry based tree. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.18, 2004-11-01 13:03:33-08:00, akpm@osdl.org [PATCH] sysfs backing store: use sysfs_dirent based tree in file removal From: Maneesh Soni o This patch uses the sysfs_dirent based tree while removing sysfs files and directories. This avoids holding dcache_lock by not using dentry based vfs tree. Thus simplyfying the removal logic in sysfs. o It uses two helper routines sysfs_get_name(), to get the name for sysfs element and sysfs_drop_dentry() to delete the dentry given a sysfs_dirent. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.17, 2004-11-01 13:03:13-08:00, akpm@osdl.org [PATCH] sysfs backing store - add sysfs_direct structure From: Maneesh Soni o This patch introduces the new sysfs_dirent data structure. The sysfs_dirent is added to the dentry corresponding to each of the element which can be represented in sysfs like, kobject (directory), text or binary attributes (files), attribute groups (directory) and symlinks. o It uses dentry's d_fsdata field to attach the corresponding sysfs_dirent. o The sysfs_dirents are maintained in a tree of all the sysfs entries using the s_children and s_sibling list pointers. o This patch also changes how we access attributes and kobjects in file_operations from a given dentry, basically introducing one more level of indirection. o The sysfs_dirents are freed and the sysfs_dirent tree is updated accordingly upon the deletion of corresponding dentry. The sysfs dirents are kept alive as long as there is corresponding dentry around. The are freed when the dentry is finally out of dcache using the ->d_iput() method. o This also fixes the dentry leaks in case of error paths after sysfs has got a newly alocated (and hashed) dentry from sysfs_get_dentry() by d_drop()'ing the dentry. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.16, 2004-11-01 13:02:55-08:00, akpm@osdl.org [PATCH] fix oops with firmware loading From: Maneesh Soni My fault, a bad typo in fs/sysfs/bin.c. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.15, 2004-11-01 13:02:34-08:00, akpm@osdl.org [PATCH] sysfs backing store - prepare sysfs_file_operations helpers From: Maneesh Soni o The following patch provides dumb helpers to access the corresponding kobject, attribute or binary attribute given a dentry and prepare the sysfs_file_operation methods for using sysfs_dirents. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.49.14, 2004-11-01 10:45:41-08:00, matthew@wil.cx [PATCH] parisc: Light-weight syscall support Add light-weight-syscall support to parisc. The first LWS is atomic CAS. Committed-by: Carlos O'Donell ChangeSet@1.2026.49.13, 2004-11-01 10:45:29-08:00, matthew@wil.cx [PATCH] parisc: Add user_space macro Add user_space macro, to determine if we are in a user versus kernel space. Committed-by: Carlos O'Donell ChangeSet@1.2026.49.12, 2004-11-01 10:45:16-08:00, matthew@wil.cx [PATCH] parisc: Initialise restart_block Calling sys_restart_syscall without having taking a signal across a syscall leaves the restart_block uninitialized, allowing malicious user code to crash the kernel. FIX: Define INIT_THREAD_INFO such that restart_block.fn is set to the default do_not_restart_syscall. Committed-by: Carlos O'Donell ChangeSet@1.2026.49.11, 2004-11-01 10:45:04-08:00, matthew@wil.cx [PATCH] parisc: update a500_defconfig Enable SMP on A500 by default Committed-by: Paul Bame ChangeSet@1.2026.49.10, 2004-11-01 10:44:51-08:00, matthew@wil.cx [PATCH] parisc: Fix N-class SMP Fix N class SMP The main fixes are: - memory barriers to our space and control register moves - fix for the N class merced bus problem which can't have more than one PxTLB broadcast outstanding at once - make smp_call_function() wait until the function completes This now boots and runs on a 32MB N4000 in Fort Collins with 2 cpus and discontig mem support. Committed-by: James Bottomley Committed-by: Randolph Chung ChangeSet@1.2026.49.9, 2004-11-01 10:44:39-08:00, matthew@wil.cx [PATCH] parisc: make install Add a make install target Committed-by: Matthew Wilcox ChangeSet@1.2026.49.8, 2004-11-01 10:44:26-08:00, matthew@wil.cx [PATCH] parisc: Kconfig debugging options PA-RISC does have spinlock debugging and doesn't have the frame pointer option. USERMODE had been added twice to spinlock debugging, so remove that. Committed-by: Randolph Chung Committed-by: Matthew Wilcox ChangeSet@1.2026.49.7, 2004-11-01 10:44:13-08:00, matthew@wil.cx [PATCH] parisc: Fix 64-bit linking add some more BL macros and b,l in appropriate places in entry.S to expand the range of our jumps and work around the 64 bit binutils problem where it will allow the jump ranges to go beyond their permitted limits without complaining. Committed-by: James Bottomley ChangeSet@1.2026.49.6, 2004-11-01 10:44:01-08:00, matthew@wil.cx [PATCH] parisc: add HP copyright to perf counters add HP copyright Committed-by: Grant Grundler ChangeSet@1.2026.49.5, 2004-11-01 10:43:48-08:00, matthew@wil.cx [PATCH] parisc: small debug cleanup in power.c small debug cleanup Committed-by: Randolph Chung ChangeSet@1.2026.49.4, 2004-11-01 10:43:36-08:00, matthew@wil.cx [PATCH] parisc: Merge head64.S and head.S Merge head64.S and head.S Cleanup 64-bit sp manipulations Committed-by: Kyle McMartin Committed-by: Randolph Chung ChangeSet@1.2026.51.4, 2004-11-01 18:30:59+01:00, bzolnier@trik.(none) [ide] obsolete "enable DMA by default" config options CONFIG_IDEDMA_PCI_AUTO and CONFIG_IDEDMA_ICS_AUTO Host drivers should deal with broken hardware themselves. Warn if DMA support is enabled but "enable DMA by default" is not. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.51.3, 2004-11-01 18:19:16+01:00, bzolnier@trik.(none) [ide] obsolete some command line parameters "hdx=autotune", "hdx=noautotune": * should be handled by host drivers needing them "idex=autotune", "idex=noautotune": * should die "idex=ata66": * should be handled by host drivers needing it "idex=dma": * works only for: cs5220.c, generic.c, hpt366.c, triflex.c * DMA should be used by default "idex=reset", "idex=serialize": * host drivers should set these settings when needed "idex=base[,ctl[,irq]]": * host drivers should auto-detect correct settings * ordering should be controlled by user-space "ide0=four": * should be handled by ide-generic driver Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.51.2, 2004-11-01 18:18:35+01:00, bzolnier@trik.(none) [ide] obsolete /proc/ide/hd?/settings Majority of these settings is also available through ioctls. We will deal with the rest during deprecation period. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.51.1, 2004-11-01 18:07:10+01:00, bzolnier@trik.(none) [ide] remove more dead ide exports From: Christoph Hellwig Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.50.2, 2004-11-01 13:37:28-03:00, acme@conectiva.com.br [NET] add missing include to divert.h Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller ChangeSet@1.2016.1.10, 2004-11-01 17:33:48+01:00, marcel@holtmann.org [Bluetooth] Fix connection hash bug When calling hci_conn_hash_del() the acl_num value is incremented, but it must be decremented. Signed-off-by: Marcel Holtmann ChangeSet@1.2026.1.44, 2004-11-01 16:28:43+00:00, aia21@cantab.net NTFS: Add MODULE_VERSION() to fs/ntfs/super.c. Signed-off-by: Anton Altaparmakov ChangeSet@1.2026.50.1, 2004-11-01 12:59:25-03:00, acme@conectiva.com.br [NET] add missing includes and forward decls to filter.h Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller ChangeSet@1.2026.49.2, 2004-11-01 07:41:27-08:00, teanropo@cc.jyu.fi [PATCH] Don't initialize /dev/pg0 to be always busy Without this patch my HP CD-Writer doesn't work. With this applied everything is fine. Signed-off-by: Tero Roponen Signed-off-by: Linus Torvalds ChangeSet@1.2026.27.3, 2004-11-01 08:00:01-06:00, shaggy@austin.ibm.com JFS: make some symbols static The patch below makes some JFS symbols that are only used inside the file they are defined in static. Signed-off-by: Adrian Bunk Signed-off-by: Dave Kleikamp ChangeSet@1.2026.10.385, 2004-11-01 13:59:40+00:00, matthias@net.rmk.(none) [ARM PATCH] 2183/1: GPIO84:81 for PXA26x defines Patch from Matthias Burghardt Adds bit definitions for PXA26x\'s GPIO lines 81 to 84 and their alternate functions ChangeSet@1.2026.27.2, 2004-11-01 07:55:47-06:00, shaggy@austin.ibm.com JFS: use alloc_metapage for consistency We defind alloc_metapage, but instead of using it, the potential callers are calling mempool_alloc directly. Since we have and use the function, free_metapage, we should be consistent and use alloc_metapage. This patch also changes the argument to alloc_metapage so that the caller passes gfp_mask directly, rather than a less descriptive flag. Signed-off-by: Dave Kleikamp ChangeSet@1.2026.10.384, 2004-11-01 13:52:50+00:00, rmk@flint.arm.linux.org.uk [ARM] mtd: update mapping drivers. This updates dc21285.c, integrator-flash.c and sa1100-flash.c map drivers. ChangeSet@1.2026.44.13, 2004-11-01 12:43:22+00:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250_gsc: Convert to use serial8250_{un,}register_port. ChangeSet@1.2026.44.12, 2004-11-01 12:32:48+00:00, janitor@at.rmk.(none) [SERIAL] replace schedule_timeout() with msleep/msleep_interruptible() Use msleep()/msleep_interruptible() [as appropriate] instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Maximilian Attems Signed-off-by: Russell King ChangeSet@1.2026.48.1, 2004-11-01 11:22:33+00:00, aia21@cantab.net NTFS: Fix stupid bug in fs/ntfs/attrib.c::ntfs_attr_find() that resulted in a NULL pointer dereference in the error code path when a corrupt attribute was found. Thanks to Domen Puncer for the bug report. Signed-off-by: Anton Altaparmakov ChangeSet@1.2026.44.11, 2004-11-01 11:04:38+00:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250: Return interrupt handler status. Thomas Koeller points out that we're always returning IRQ_HANDLED from our interrupt handler, even if we find no interrupt work to be done. ChangeSet@1.2026.10.383, 2004-10-31 22:13:24-08:00, gerg@snapgear.com [PATCH] m68knommu: checksum.h needs linux/in6.h Need to include linux/in6.h in m68knommu checksum.h to get a clean compile. All other architectures to this too. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.382, 2004-10-31 22:13:12-08:00, gerg@snapgear.com [PATCH] m68knommu: makefile support for new CPU and board types Add build support for new CPU families and boards. Specifically for the 527x ColdFire family, and the generic 528x CPU family. Also made the switch to -O1, gives smaller code on m68k and ColdFire platforms. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.381, 2004-10-31 22:12:59-08:00, gerg@snapgear.com [PATCH] m68knommu: fix do_signal() to properly use get_signal_to_deliver() Completely rework m68knommu do_signal() signal handling code. Changed to use get_signal_to_deliver() properly, and remove un-neccessary local signal type checks. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.380, 2004-10-31 22:12:47-08:00, gerg@snapgear.com [PATCH] m68knommu: clock definitions for 527x ColdFire CPU's Add clock rate definitions for newly support ColdFire 527x family of CPU's. And switch to the generic 528x define for the 5280 and 5282 CPU's. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.379, 2004-10-31 22:12:35-08:00, gerg@snapgear.com [PATCH] m68knommu: fix calculation overflow in udelay() on fast CPU's Re-work the udelay() function. On fast ColdFire CPU's we are overflowing in the calculation and getting totally bogus results. On old 68k and ColdFire CPU's we have no 32*32->64 multiply instruction. So we resort to a mul/shift calculation similar to what ARM uses. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.378, 2004-10-31 22:12:22-08:00, gerg@snapgear.com [PATCH] m68knommu: update syscall definitions to match new syscall table Update the m68knommu system call definitions to match the modified syscall table. This will bring it into line with other architectures. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.377, 2004-10-31 22:12:10-08:00, gerg@snapgear.com [PATCH] m68knommu: new CPU and board options for configuration A few updates to the m68knommu configuration: . Made the Morotola 5280 and 5282 support be a common 528x family . Add support for selecting the 527x ColdFire family (5270/5271/5274/5275) . Add support for selecting Freescale M5271EVB board . Add support for selecting Freescale M5275EVB board . Add support for selecting Sneha CPU16B board . Add support for selecting Feith SCALES and CANCAM boards . Fix some gramatical errors in help lines Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.376, 2004-10-31 22:11:57-08:00, gerg@snapgear.com [PATCH] m68knommu: create real lib udelay() function Create a real non-inlined function for m68knommu udelay(). We can save a little code space this way (and on most uClinux patforms this is a problem). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.375, 2004-10-31 22:11:45-08:00, gerg@snapgear.com [PATCH] m68knommu: new board support nad missing sections for linker script Couple of updates for ther m68knommu linker script. . Add support for the Freescale M5271EVB and M5275EVB boards . Add support for the Sneha CPU16B board . Changes to use the generic 528x define to 5280 and 5282 base boards . Add the missing param section . Align the ramfs section on a 4k (pseudo page size) boundary Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.374, 2004-10-31 22:11:32-08:00, gerg@snapgear.com [PATCH] m68knommu: build real lib udelay() function Build the new m68knommu lib function udelay(). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.373, 2004-10-31 22:11:20-08:00, gerg@snapgear.com [PATCH] m68knommu: update syscall table to be inline with other architectures Update the m68knommu system call table to be in line with all other architectures. There is really no reason this needs to be different from any other architecture. Signed-off-by: Geert Uytterhoeven Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.372, 2004-10-31 22:11:07-08:00, gerg@snapgear.com [PATCH] m68knommu: new CPU support strings in setup Change 5280 and 5282 CPU support to be generic 528x family. Also add support for the new 527x ColdFire family. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.371, 2004-10-31 22:10:54-08:00, gerg@snapgear.com [PATCH] m68knommu: add hardware defines for the ColdFire 527x CPU family Add SIM hardware module definitions for the ColdFire 527x CPU family. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.370, 2004-10-31 21:50:14-08:00, matthew@wil.cx [PATCH] Use optimised byteswap again Looks like Al's patch to sparsify the byteorder code prevented use of the assembler-optimised code. Not that I can blame him -- three underscores are C-coded and two underscores are assembly-optimised. ChangeSet@1.2026.47.9, 2004-10-31 18:27:44-08:00, davem@nuts.davemloft.net [SPARC64]: Add dummy pci_get_legacy_ide_irq() routine. Signed-off-by: David S. Miller ChangeSet@1.2026.10.369, 2004-10-31 16:18:37-08:00, hirofumi@mail.parknet.co.jp [PATCH] FAT: fix VFAT_IOCTL_READDIR_BOTH ioctl If "utf8" option was specified and app uses VFAT_IOCTL_READDIR_BOTH ioctl, utf8_wcstombs() is used. utf8_wcstombs() doesn't add the nul terminate. Then fat_ioctl_filldir() uses a wrong length of name by strlen(). This patch passes the correct length to fat_ioctl_filldir(), and doesn't use nul terminate anymore. Many helps by Alex Villacís Lasso. Thanks. Signed-off-by: OGAWA Hirofumi Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.368, 2004-10-31 16:18:23-08:00, hirofumi@mail.parknet.co.jp [PATCH] FAT: remove incorrect BUG_ON() This is valid state if file was accessed by multiple processes at the same time. Signed-off-by: OGAWA Hirofumi Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.367, 2004-10-31 16:13:39-08:00, torvalds@ppc970.osdl.org Undo totally broken m68k patch. Note to self: any m68k patch that touches a SMP file is likely not worth it. Cset exclude: geert@linux-m68k.org[torvalds]|ChangeSet|20041101000206|42067 ChangeSet@1.2026.10.366, 2004-10-31 16:06:11-08:00, geert@linux-m68k.org [PATCH] m68k: Remove duplicate includes M68k: Remove duplicate includes (from Adrian Bunk) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.365, 2004-10-31 16:05:55-08:00, geert@linux-m68k.org [PATCH] m68k: Sun 3: Fix modular XFS by exporting vmalloc_end Sun 3: Fix modular XFS by exporting vmalloc_end Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.364, 2004-10-31 16:05:41-08:00, geert@linux-m68k.org [PATCH] m68k: Reiserfs: Add missing #include Reiserfs: Add missing #include Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.363, 2004-10-31 16:05:26-08:00, geert@linux-m68k.org [PATCH] m68k: Disable SERIO_I8042 M68k: Disable SERIO_I8042 Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.362, 2004-10-31 16:05:11-08:00, geert@linux-m68k.org [PATCH] m68k: Add defconfig for Sun 3x M68k: Add defconfig for Sun 3x (derived from the Debian config for Sun 3) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.361, 2004-10-31 16:04:56-08:00, geert@linux-m68k.org [PATCH] m68k: Add defconfig for Sun 3 M68k: Add defconfig for Sun 3 (based on the Debian config) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.360, 2004-10-31 16:04:41-08:00, geert@linux-m68k.org [PATCH] m68k: Add defconfig for Q40 and Q60 M68k: Add defconfig for Q40 and Q60 (based on the Debian config) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.359, 2004-10-31 16:04:24-08:00, geert@linux-m68k.org [PATCH] m68k: Add defconfig for MVME162, MVME166, and MVME167 M68k: Add defconfig for MVME162, MVME166, and MVME167 (based on the Debian config) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.358, 2004-10-31 16:04:12-08:00, geert@linux-m68k.org [PATCH] m68k: Add defconfig for MVME147 M68k: Add defconfig for MVME147 (based on the Debian config) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.357, 2004-10-31 16:03:56-08:00, geert@linux-m68k.org [PATCH] m68k: Add defconfig for Macintosh M68k: Add defconfig for Macintosh (based on the Debian config) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.356, 2004-10-31 16:03:40-08:00, geert@linux-m68k.org [PATCH] m68k: Add defconfig for HP9000/300 and HP9000/400 M68k: Add defconfig for HP9000/300 and HP9000/400 (based on the Debian config) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.355, 2004-10-31 16:03:26-08:00, geert@linux-m68k.org [PATCH] m68k: Add defconfig for BVME4000 and BVME6000 M68k: Add defconfig for BVME4000 and BVME6000 (based on the Debian config) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.354, 2004-10-31 16:03:09-08:00, geert@linux-m68k.org [PATCH] m68k: Add defconfig for Atari M68k: Add defconfig for Atari (based on the Debian config) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.353, 2004-10-31 16:02:54-08:00, geert@linux-m68k.org [PATCH] m68k: Add defconfig for Apollo M68k: Add defconfig for Apollo (derived from the Debian config for HP9000/300) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.352, 2004-10-31 16:02:36-08:00, geert@linux-m68k.org [PATCH] m68k: Add defconfig for Amiga M68k: Add defconfig for Amiga (based on the Debian config) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.351, 2004-10-31 16:02:22-08:00, geert@linux-m68k.org [PATCH] m68k: Update defconfig for 2.6.9 M68k: Update defconfig for 2.6.9 Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.350, 2004-10-31 16:02:06-08:00, geert@linux-m68k.org [PATCH] m68k: smp_lock.h: Avoid recursive include smp_lock.h: Avoid recursive include Signed-off-by: Roman Zippel Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.349, 2004-10-31 16:01:52-08:00, geert@linux-m68k.org [PATCH] m68k: Add 43 missing syscalls M68k: Add 43 missing syscalls (up to 2.6.9) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.348, 2004-10-31 16:01:36-08:00, geert@linux-m68k.org [PATCH] m68k: MVME167 serial: Replace bottom half handler with task queue handler MVME167 serial: Fix compilation by replacing the bottom half handler with a task queue handler, based on the Cyclades driver (from Kars de Jong) Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.347, 2004-10-31 16:01:24-08:00, geert@linux-m68k.org [PATCH] m68k: Sun-3 Makefile: join short multi-line Sun-3 Makefile: join short multi-line Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.346, 2004-10-31 16:01:09-08:00, geert@linux-m68k.org [PATCH] m68k: missing/superfluous config.h M68k: Add missing and remove superfluous #include Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.345, 2004-10-31 16:00:54-08:00, geert@linux-m68k.org [PATCH] m68k: fix incorrect config comment in check_bugs() M68k: Fix incorrect config comment in check_bugs() Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.344, 2004-10-31 16:00:42-08:00, geert@linux-m68k.org [PATCH] m68k: HP300: Convert DIO bus and its drivers to the new driver model HP300: Convert DIO bus and its drivers to the new driver model (from Jochen Friedrich). Signed-off-by: Jochen Friedrich Signed-off-by: Kars de Jong Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.343, 2004-10-31 16:00:29-08:00, geert@linux-m68k.org [PATCH] m68k: hades-pci.c: replace pci_find_device() with pci_get_device() As pci_find_device() is going away I have replaced this call with pci_get_device(). Signed-off-by: Hanna Linder Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.342, 2004-10-31 16:00:13-08:00, geert@linux-m68k.org [PATCH] m68k: HP300 SCSI chip is 98265A HP300: Fix typos in the DIO output. The SCSI chip is a 98265A, not a 98625A. NetBSD has this already fixed. Signed-off-by: Jochen Friedrich Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.341, 2004-10-31 16:00:01-08:00, geert@linux-m68k.org [PATCH] m68k: HP300 config HP300 configuration updates from Kars de Jong: - Updated help for CONFIG_HP300 - DIO support defaults to y - HP DCA support depends on SERIAL_8250 - Added HP APCI option - Removed HP DCA from SERIAL_CONSOLE dependencies Signed-off-by: Kars de Jong Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.340, 2004-10-31 15:59:49-08:00, geert@linux-m68k.org [PATCH] m68k: HP300 8250 serial for DCA and APCI ports Created HP300 8250 driver which supports DCA and APCI ports. Support for APCI is still experimental and unfinished (no support for interrupts). Console support should be okay though (from Kars de Jong) Signed-off-by: Kars de Jong Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.339, 2004-10-31 15:59:36-08:00, geert@linux-m68k.org [PATCH] m68k: M68k I/O for generic 8250 on HP300 M68k I/O updates from Kars de Jong and Jochen Friedrich: - To be able to use the generic 8250 driver on the HP300, added dummy implementations of inb(), inb_p(), outb() and outb_p() - Added implementations of readb(), writeb(), readl(), and writel() for the 8250 driver Signed-off-by: Kars de Jong Signed-Off-By: Jochen Friedrich Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.338, 2004-10-31 15:59:22-08:00, geert@linux-m68k.org [PATCH] m68k: HP300 fb HP300 frame buffer device updates from Kars de Jong: - Updated to use the new DIO semantics - Added support for DIO-II boards - Added support for 8 bit Catseye boards - Fixed colour map support - Added fb_blank() implementation - Added fb_fillrect() implementation - Added fb_sync() implementation Signed-off-by: Kars de Jong Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.337, 2004-10-31 15:59:06-08:00, geert@linux-m68k.org [PATCH] m68k: HP300 LANCE HP300 LANCE updates from Kars de Jong: - Updated HP LANCE driver to use the new DIO semantics - If only HP LANCE or MVME147 LANCE is selected, enable compile-time choice of LANCE register access. If both are defined, go through the function pointer - Added support for CONFIG_NET_POLL_CONTROLLER - Fixed problem with disabling board interrupts in hplance_close() which caused the driver to lock up Signed-off-by: Kars de Jong Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.336, 2004-10-31 15:58:52-08:00, geert@linux-m68k.org [PATCH] m68k: HP300 DIO HP300 DIO bus updates from Kars de Jong: - Removed kludges for internal HPIB, no need to handle it as a DIO device - Removed dio_scodetoviraddr() and introduced dio_scodetophysaddr() instead, to be able to support DIO-II - Removed trailing white space - Changed error return code of dio_find() from 0 to -1, since select code 0 is a valid select code - Added support for DIO-II - Fixed problem with DIO_ENCODE_ID() Signed-off-by: Kars de Jong Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.335, 2004-10-31 15:58:36-08:00, geert@linux-m68k.org [PATCH] m68k: HP300 core updates Update of HP300 core support to use bootinfo etc. (from Kars de Jong) Signed-off-by: Kars de Jong Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.334, 2004-10-31 15:43:56-08:00, matthew@wil.cx [PATCH] parisc: assembly fixes and comments Add comments and references for relied-upon translations Add some extra comment to space_check Add support for prober and probew in our non-access TLB fault emulation path Force sr2 to 0 in syscall_restore Committed-by: Carlos O'Donell ChangeSet@1.2026.10.333, 2004-10-31 15:43:42-08:00, matthew@wil.cx [PATCH] parisc: fix HPUX compile problem Fix compile error when HPUX support is enabled Committed-by: Randolph Chung ChangeSet@1.2026.10.332, 2004-10-31 15:43:27-08:00, matthew@wil.cx [PATCH] parisc: make __kernel_clock_t long fix __kernel_clock_t definition so that e.g. proper process times are returned to userspace Committed-by: Randolph Chung ChangeSet@1.2026.10.331, 2004-10-31 15:43:14-08:00, matthew@wil.cx [PATCH] parisc: make atomic_t 32-bit Make atomic_t an int instead of a long to match the other architectures Committed-by: Matthew Wilcox ChangeSet@1.2026.10.330, 2004-10-31 15:43:00-08:00, matthew@wil.cx [PATCH] parisc: remove unused header file Remove unused asm/som.h (Olaf Hering) Committed-by: Matthew Wilcox ChangeSet@1.2026.10.329, 2004-10-31 15:42:45-08:00, matthew@wil.cx [PATCH] parisc: register usage documentation update Register usage documentation update Committed-by: Randolph Chung ChangeSet@1.2026.10.328, 2004-10-31 15:42:34-08:00, matthew@wil.cx [PATCH] parisc: fix 64-bit gcc 3.3 compiles Remove gcc alias directive to fix gcc-3.3.4 64-bit kernels Committed-by: Carlos O'Donell ChangeSet@1.2026.10.327, 2004-10-31 15:42:21-08:00, matthew@wil.cx [PATCH] parisc: debuglock fixes - pdc_printf from Randolph Chung - implement memory barriers in debuglocks Committed-by: Thibaut Varene ChangeSet@1.2026.10.326, 2004-10-31 15:42:07-08:00, matthew@wil.cx [PATCH] parisc: spinlock fixes - Fix SMP f_list corruption problem. This was rather subtle. It turns out that gcc was doing a small amount of reordering around the file_lock because it doesn't see our spinlock implementation as being a barrier. To fix this I - Added the appropriate barriers to all the spinlocks. - Removed the atomic opencoded spinlock and redid it as a proper one. SMP now seems stable on a 2xA500 and has survived a 10 hour 35 loop make -j 4 kernel compile without showing any problems (previously, it usually fell over in the first loop). - Since we have one or two users who don't want SMP, make the code base compile for UP again ... - missing parenthesis for pointer dereferencing Committed-by: James Bottomley Committed-by: Thibaut Varene ChangeSet@1.2026.10.325, 2004-10-31 15:41:52-08:00, matthew@wil.cx [PATCH] parisc: unwind fixes - fix unwind table search so it works reliably - add special case handling for ret_from_kernel_thread and _switch_to_ret - tidy up the code a bit - Fix sp falling in an unmapped kernel page - Sparse annotations Committed-by: Randolph Chung ChangeSet@1.2026.10.324, 2004-10-31 15:41:37-08:00, matthew@wil.cx [PATCH] parisc: arch/parisc/kernel/perf_asm.S Indentation and comment cleanup Committed-by: Grant Grundler ChangeSet@1.2026.10.322, 2004-10-31 22:23:36+00:00, rmk@flint.arm.linux.org.uk [ARM] Remove duplicate includes from ARM files. This set of changes came from a larger patch by Adrian Bunk. ChangeSet@1.2026.10.321, 2004-10-31 21:44:45+00:00, Liam.Girdwood@com.rmk.(none) [ARM PATCH] 2084/1: PXA SSP, I2S and other misc register defs Patch from Liam Girdwood Adds some PXA register and bit definitions:- o SSP ports o I2S o AC97_SYSCLK (Mainstone) o I2C Alternate function and direction o ASSP and NSSP Clock enables Signed-off-by: Liam Girdwood ChangeSet@1.2026.10.320, 2004-10-31 21:36:48+00:00, Liam.Girdwood@com.rmk.(none) [ARM PATCH] 2085/1: PXA SSP driver Patch from Liam Girdwood This patch adds support the PXA250, 255, 26x and 27x SSP ports. It provides a generic core for simple IO-based SSP applications and allows easy port setup for DMA access. Depends on register definitions in patch 2084/1 Signed-off-by: Liam Girdwood ChangeSet@1.2026.47.8, 2004-10-31 13:34:11-08:00, davem@nuts.davemloft.net [SPARC64]: Fix IRQ setting in sunsu serial driver. up->irq was just duplicating up->port.irq so delete the former and only use the latter. We were not initializing up->port.irq so this would cause port shutdown crashes when synchronize_irq() was called. Based upon a bug report and patch from RChan Signed-off-by: David S. Miller ChangeSet@1.2026.47.7, 2004-10-31 13:24:57-08:00, davem@nuts.davemloft.net [SPARC64]: Add __must_check to user copy routines. Signed-off-by: David S. Miller ChangeSet@1.2026.47.6, 2004-10-31 13:20:58-08:00, davem@nuts.davemloft.net [SPARC64]: Update defconfig. ChangeSet@1.2026.47.5, 2004-10-31 13:20:32-08:00, davem@nuts.davemloft.net [SPARC64]: Do free_initmem() poisioning. Just like on x86 Signed-off-by: David S. Miller ChangeSet@1.2026.10.319, 2004-10-31 21:01:40+00:00, davis_g@com.rmk.(none) [ARM PATCH] 2181/1: Fix gcc-4.0 static declaration of '__clz_tab' follows non-static declaration build error Patch from George G. Davis Building kernels with recent gcc-4.0-20041024 snapshot results in "static declaration of '__clz_tab' follows non-static declaration" build error. Since the "extern const UQItype __clz_tab[]" definition is not required, this patch removes it to fix the build. Signed-off-by: George G. Davis ChangeSet@1.2026.47.4, 2004-10-31 12:58:51-08:00, torvalds@ppc970.osdl.org Make sparse pick up the gcc internal include directory automatically. m68k used to do this by hand, but it really ends up being needed for any environment that does cross-builds, so just do it unconditionally. This should mean that you never need to cross-build sparse or have any other hacks for checking a cross-built environment. ChangeSet@1.2026.10.318, 2004-10-31 20:51:49+00:00, davis_g@com.rmk.(none) [ARM PATCH] 2179/1: gcc-4.0 static declaration of 'meminfo' follows non- static declaration build error Patch from George G. Davis Building kernels with recent gcc-4.0-20041024 snapshot results in "static declaration of 'meminfo' follows non-static declaration" build error. Since the "extern struct meminfo meminfo" definition is not required, this patch removes it to fix the build. Signed-off-by: George G. Davis ChangeSet@1.2026.10.317, 2004-10-31 20:42:21+00:00, buytenh@org.rmk.(none) [ARM PATCH] 2178/1: mnfd (move negated) emulation is busted on big- endian Patch from Lennert Buytenhek When you issue the mnfd opcode to negate a double, nwfpe is supposed to flip the most significant bit of your double, which is the sign bit. However, on big endian systems, it ended up flipping the most significant bit of the least significant sub-u32, which is one of the mantissa bits. On my system this was manifesting itself as sed regression tests failing, and ntpd/ntpdate consistently adjusting the system clock into the wrong direction. In pretty much all of NWFPE, doubles are stored in u64s and manipulations on those doubles are done by using u64 bitops. But for negation and fabs() it was poking into one of the sub-u32s directly instead of XORing the u64 with 0x8000000000000000 resp. ANDing with 0x7fffffffffffffff. Since on big-endian, 'native u64 order' means that the most significant byte (containing bits 63-56) is kept at the lowest byte address, the sign bit is the MSB of the first sub-u32, instead of the MSB of the second one as is the case on little endian. Signed-off-by: Lennert Buytenhek ChangeSet@1.2026.10.316, 2004-10-31 20:33:52+00:00, guido.barzini@com.rmk.(none) [ARM PATCH] 2177/1: Trivial: contents of mach-h720x/Kconfig should be conditional on ARCH_H720X Patch from G N Barzini Currently under "System Type" you are always offered "h720x Implementations" regardless of the system type selected. The fix for this in the other Kconfig files seems to be enclose their contents conditional in 'if ARCH_FOO'/'endif'. This patch does that. ChangeSet@1.2026.10.315, 2004-10-31 20:24:01+00:00, ben-linux@org.rmk.(none) [ARM PATCH] 2176/1: S3C2410 - fixes for reset and idle Patch from Ben Dooks This patch fixes the following problems: - panic() in reset should be warning print, so that the system can then be soft-reset if this ever happens - arch_idle() can now be over-ridden for purposes of implementing dyanmic voltage scaling (DVS) or any other form of idling Signed-off-by: Ben Dooks ChangeSet@1.2026.10.314, 2004-10-31 20:11:22+00:00, nico@org.rmk.(none) [ARM PATCH] 2175/1: add reference for problem worked around by patch #1824/1 Patch from Nicolas Pitre Signed-off-by: Nicolas Pitre ChangeSet@1.2026.44.10, 2004-10-31 17:28:05+00:00, rmk@flint.arm.linux.org.uk [SERIAL] Fix deadlock on removal of 8250 module. We must unregister all serial ports before driver_unregister() can complete. This means that we must unregister all ports in serial8250_remove, including our legacy ISA ports. We flag this special cleanup operation by setting serial8250_isa_devs to NULL and not handling our own platform device any differently from any others. ChangeSet@1.2026.44.9, 2004-10-31 17:17:41+00:00, rmk@flint.arm.linux.org.uk [SERIAL] Don't detect console availability using port->ops. Use !iobase && !membase rather than !ops for console port availability. ChangeSet@1.2026.47.3, 2004-10-31 09:03:41-08:00, torvalds@evo.osdl.org Annotate UP spinlock stubs with lock annotations. This way you can do a checking run on UP too - even if the locks don't actually _matter_, they should still be right, I'd hope. ChangeSet@1.2026.47.2, 2004-10-31 08:51:14-08:00, torvalds@ppc970.osdl.org Lock-annotate some kernel functions as an example of how it works. In particular, a function that is called with a lock held, and releases it only to re-acquire it needs to be annotated as such, since otherwise sparse will complain about an unexpected unlock, even though "globally" the lock is constant over the call. ChangeSet@1.2026.47.1, 2004-10-31 08:38:50-08:00, torvalds@ppc970.osdl.org Annotate scheduler locking behaviour. This annotates the scheduler routines for locking, telling what locks a function releases or acquires, allowing sparse to check the lock usage (and documenting it at the same time). ChangeSet@1.2026.44.8, 2004-10-31 15:57:40+00:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250_acpi: Convert to use serial8250_{un,}register_port. ChangeSet@1.2026.44.7, 2004-10-31 15:44:45+00:00, rmk@flint.arm.linux.org.uk [SERIAL] Don't use UPF_AUTOPROBE, fix two build problems. The curse of the missing __devexit_p() returns, and asm-*/ obviously marks the end of the comment. ChangeSet@1.2026.44.6, 2004-10-31 15:33:58+00:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250_pnp: Convert to use serial8250_{un,}register_port. ChangeSet@1.2026.44.5, 2004-10-31 14:48:44+00:00, rmk@flint.arm.linux.org.uk [SERIAL] serial_cs: Convert to use serial8250_{un,}register_port. ChangeSet@1.2026.44.4, 2004-10-31 11:50:55+00:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250: Warn when ports with zero base_baud are registered. ChangeSet@1.2026.10.313, 2004-10-31 10:50:57+00:00, rmk@flint.arm.linux.org.uk [ARM] riscpc: add iomd, keyboard and acornfb platform devices. - Add iomd, keyboard and acornfb platform devices. - Convert rpckbd to use centrally registered platform device. - Convert acornfb to use a platform device. ChangeSet@1.2026.10.312, 2004-10-31 10:35:03+00:00, rmk@flint.arm.linux.org.uk [ARM] No need for rpc_map_io to be public. ChangeSet@1.2026.44.3, 2004-10-31 10:05:54+00:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250_acorn: Convert to use serial8250_{un,}register_port. ChangeSet@1.2026.10.311, 2004-10-30 20:02:00-07:00, torvalds@ppc970.osdl.org Add sparse checker rules for conditional lock functions: trylock and atomic_dec_and_lock. This means that we now have all of the spinlock context counting infrastructure in place, and you can check-compile the kernel with sparse -Wcontext. ChangeSet@1.2026.10.310, 2004-10-30 19:33:45-07:00, torvalds@ppc970.osdl.org Make "atomic_dec_and_lock()" a macro. We rename the actual architecture-specific low-level implementation to have a prepended underscore: "_atomic_dec_and_lock()". This extra macro indirection is so that we can make the macro do the lock context counting. That will be the next patch. ChangeSet@1.2026.45.13, 2004-10-31 02:49:03+02:00, james4765@verizon.net Re: More patches to arch/sparc/Kconfig [2 of 5] Fixes typo in help in openpromfs. From: Jim Nelson Acked-by: William Lee Irwin III Signed-off-by: Sam Ravnborg ChangeSet@1.2026.45.12, 2004-10-31 02:46:14+02:00, james4765@verizon.net More patches to arch/sparc/Kconfig [4 of 5] Makes sun4 default to "N" - most SPARC32 systems did not use these. From: Jim Nelson Acked-by: William Lee Irwin III Signed-off-by: Sam Ravnborg ChangeSet@1.2026.45.11, 2004-10-31 02:45:50+02:00, james4765@verizon.net More patches to arch/sparc/Kconfig [5 of 5] Fixes x86-specific bootloader help in printer config. From: Jim Nelson Acked-by: William Lee Irwin III Signed-off-by: Sam Ravnborg ChangeSet@1.2026.45.10, 2004-10-31 02:45:26+02:00, james4765@verizon.net More patches to arch/sparc/Kconfig [3 of 5] Fixes x86-specific bootloader help in serial console. From: Jim Nelson Acked-by: William Lee Irwin III Signed-off-by: Sam Ravnborg ChangeSet@1.2026.45.9, 2004-10-31 02:45:02+02:00, james4765@verizon.net Patch to arch/sparc/Kconfig [1 of 5] Fixes x86-specific help in SPARC32 SMP support help. From: Jim Nelson Acked-by: William Lee Irwin III Signed-off-by: Sam Ravnborg ChangeSet@1.2026.45.8, 2004-10-31 02:23:45+02:00, sam@mars.ravnborg.org Do not recompile if localversion changes Changing localversion causes a few files to be recompiled, namely those who include . Replace with in a few places. Long term solution is to split up in two files. Signed-off-by: Sam Ravnborg ChangeSet@1.2026.10.308, 2004-10-30 20:14:40-04:00, jgarzik@pobox.com [libata ahci] bump version to 1.00 ChangeSet@1.2026.10.307, 2004-10-30 20:13:57-04:00, mmelchior@xs4all.nl [libata ahci] fix rather serious (and/or embarassing) bugs - Add definition for SActive register - Add most interrupt sources to default interrupt mask - Write low 32 bits of FIS address to PxFB, where they belong - Set command active bit in PxSACT before setting command issue bit in PxCI - Announce Sub Class Code in driver info message [IDE, SATA or RAID] and additionally, from me [jgarzik]: - ignore ports-implemented bitmap for now; it's a write-only register that silly BIOSen initialize incorreclty Signed-off-by: Matthijs Melchior Signed-off-by: Jeff Garzik ChangeSet@1.2026.45.7, 2004-10-31 02:05:58+02:00, sam@mars.ravnborg.org kbuild: allow architectures to specify defconfig file with KBUILD_DEFCONFIG For some architectures is does not make sense to maintain a single default configuration - arm is a good example here. KBUILD_DEFCONFIG is introduced allowing relevant architectures to point out a configuration kept in arch/$(ARCH)/configs as the configuration to be used when executing 'make defconfig'. This patch selects versatile_defconfig as the default configuration for arm. The reason to keep defconfig is that is has proved valuable in many testing scenarios when one are doing a cross architecture build of the kernel to do a simple compile-time check of some changes. Signed-off-by: Sam Ravnborg ChangeSet@1.2026.45.6, 2004-10-31 01:38:28+02:00, trini@kernel.crashing.org kbuild: additional warning fixes on Solaris 9 A coworker of mine give them a look-over and spotted a few places where I missed changing some casts. Signed-off-by: Tom Rini Signed-off-by: Sam Ravnborg ChangeSet@1.2026.45.5, 2004-10-31 01:28:31+02:00, sam@mars.ravnborg.org m32r: misc kbuild cleanups o Remove unused LDFLAGS_BLOB assignement (from Brian Gerst) o Use implicit rule for vmlinux.lds (from Al viro) Signed-off-by: Sam Ravnborg ChangeSet@1.2026.45.4, 2004-10-31 01:14:43+02:00, kaos@sgi.com kbuild: Include useful absolute symbols in kallsyms Some absolute symbols are useful, they can even appear in back traces. Tweak kallsyms to retain the useful absolute symbols. This list is from ia64, add absolute symbols from other architectures as required. Signed-off-by: Keith Owens Signed-off-by: Sam Ravnborg ChangeSet@1.2026.43.4, 2004-10-30 15:29:58-07:00, torvalds@ppc970.osdl.org amd8111e network driver: fix silly typo That's "cpu", not "cpy". ChangeSet@1.2026.45.3, 2004-10-31 00:18:21+02:00, bunk@stusta.de kbuild: Documentation/kbuild/makefiles.txt: check_gcc -> cc-option It's not good to show the obsolete check_gcc in an example. Signed-off-by: Adrian Bunk Signed-off-by: Sam Ravnborg ChangeSet@1.2026.45.2, 2004-10-31 00:16:03+02:00, trini@kernel.crashing.org kconfig: Fix menuconfig on Solaris The following two bits are needed to get it working (not as colorful as on Linux, but it functions) for me. First, unless CURS_MACROS is defined, scroll(x) doesn't get expanded to wscrl(x, 1). I did some quick grepping on Cygwin and Linux (debian/unstable) and didn't see CURS_MACROS show up anywhere else, but to be safe I put it inside of __sun__. Next this uses libcurses instead of libncurses otherwise we get a bunch of undefined refs to w32attrset, w32addch, acs32map and few more. Signed-off-by: Tom Rini Signed-off-by: Sam Ravnborg ChangeSet@1.2026.44.2, 2004-10-30 23:13:48+01:00, rmk@flint.arm.linux.org.uk Merge flint.arm.linux.org.uk:/usr/src/bk/linux-2.6-undo into flint.arm.linux.org.uk:/usr/src/bk/linux-2.6-serial ChangeSet@1.2026.45.1, 2004-10-31 00:12:39+02:00, dwm@austin.ibm.com ppc64: install outside of source tree Rationale: When building outside source tree, install.sh is looked for in the obj side. Status: tested on ppc64 builds Signed-off-by: Doug Maxey Signed-off-by: Sam Ravnborg ChangeSet@1.2026.44.1, 2004-10-30 22:49:55+01:00, rmk@flint.arm.linux.org.uk [SERIAL] Undo "get_legacy_serial_ports" patch for PPC. This patch conflicts with work to properly integrate the device model into the serial layer, and provide architectures with a *clean* way to tell 8250.c about their serial ports at run time. ChangeSet@1.2026.43.3, 2004-10-30 14:39:31-07:00, matthew@wil.cx [PATCH] kernel-parameters update for PA-RISC - Add the PARISC tag (Thibaut Varene) - Mark some existing PA-RISC specific entries with it (Thibaut Varene) - Document pdcchassis (Thibaut Varene) ChangeSet@1.2026.43.2, 2004-10-30 14:39:19-07:00, matthew@wil.cx [PATCH] stifb bugfixes - Fix "sti= parameter ignored by stifb" bug (Stuart Brady) - Fix the STI crash with HCRX-24 in 32bpp mode (Helge Deller) ChangeSet@1.2026.6.8, 2004-10-30 21:38:06+01:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250: prevent ports with zero clocks being registered. ChangeSet@1.2026.6.7, 2004-10-30 21:27:49+01:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250: add probe and remove device driver methods. This change allows platform devices named "serial8250" to provide lists of serial ports to the 8250 driver at runtime, in addition to the hard coded table in include/asm-*/serial.h. The next step is to deprecate the tables in serial.h. ChangeSet@1.2026.6.6, 2004-10-30 21:12:33+01:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250: Add platform device for ISA 8250-compatible devices. Add a platform device for ISA 8250-compatible serial devices listed in the table in include/asm-*/serial.h. Arrange for unregistered serial devices to be owned by this device. This enables power management for ISA 8250 devices, and starts to opens the way for architectures to dynamically provide their own lists of 8250 devices via platform device(s). ChangeSet@1.2026.6.5, 2004-10-30 20:53:14+01:00, rmk@flint.arm.linux.org.uk [SERIAL] Re-order 8250 serial driver initialisation/finalisation. Only register the 8250 serial driver with the device model after registering and setting up our internal uart ports. Do the reverse on module finalisation. ChangeSet@1.2026.6.4, 2004-10-30 20:42:48+01:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250: move basic initialisation of 8250 ports. This moves the basic initialisation of 8250 ports from serial8250_register_ports() into serial8250_isa_init_ports() ChangeSet@1.2026.6.3, 2004-10-30 20:30:13+01:00, rmk@flint.arm.linux.org.uk [SERIAL] 8250: Fix resource handling. serial8250_request_std_resource() is now responsible for claiming the standard resources, _and_ calling ioremap if necessary. serial8250_release_std_resource() performs the complementary function in its entirety. serial8250_*_rsa_resource() perform the similar operations for RSA ports, with the exception that RSA ports can only be mapped into IO space. ChangeSet@1.2026.6.2, 2004-10-30 20:19:31+01:00, rmk@flint.arm.linux.org.uk [SERIAL] Clean up serial_core.c write functions. Since the tty layer now takes care of user space writes, __uart_user_write() and associated temporary buffer and temporary buffer semaphore have all become unnecessary. There's also little point in having __uart_kern_write() separate from uart_write(), so combine the two together. Adrian Bunk kindly provided the patch to remove __uart_user_write(). The rest of the work is rmk's. Signed-off-by: Adrian Bunk Signed-off-by: Russell King ChangeSet@1.2026.10.306, 2004-10-30 11:34:30-04:00, tobias.lorenz@gmx.net [libata sata_promise] s/sata/ata/ 100% cosmetic: rename various symbols with 'sata' in them to 'ata', in preparation for addition of support for a PATA controller. Signed-off-by: Tobias Lorenz Signed-off-by: Jeff Garzik ChangeSet@1.2016.1.9, 2004-10-30 16:47:12+02:00, marcel@holtmann.org [Bluetooth] Add security callback to the core To give higher layers like RFCOMM the possibility to use the Bluetooth security mechanisms, they need a way to get feedback from the HCI core layer when they succeeded or failed. This patch introduces a callback structure that can be used for this kind of notification. Signed-off-by: Marcel Holtmann ChangeSet@1.2016.1.8, 2004-10-30 16:34:29+02:00, marcel@holtmann.org [Bluetooth] Send HCI_Reset for new Microsoft dongle The new Microsoft Wireless Transceiver for Bluetooth 2.0 is based on a Broadcom chip with the HID proxy support. To initialize these kind of devices correctly it is necessary to send HCI_Reset as the first command. Signed-off-by: Marcel Holtmann ChangeSet@1.2016.1.7, 2004-10-30 16:16:55+02:00, marcel@holtmann.org [Bluetooth] Fix deprecated MODULE_PARM for PCCARD drivers The MODULE_PARM is deprecated now and for the Bluetooth PCCARD drivers it should be replaced by module_param() and module_param_array(). Signed-off-by: Marcel Holtmann ChangeSet@1.2026.41.6, 2004-10-30 15:12:10+01:00, rmk@flint.arm.linux.org.uk [ARM] Add __iomem annotations to ARM amba drivers. ChangeSet@1.2026.41.5, 2004-10-30 15:06:53+01:00, rmk@flint.arm.linux.org.uk [ARM] s3c2410: DMA uses __iomem pointers. ChangeSet@1.2026.41.4, 2004-10-30 14:53:00+01:00, rmk@flint.arm.linux.org.uk [ARM] Add initial __iomem annotations to ARM io.h headers. ChangeSet@1.2026.42.6, 2004-10-30 09:00:43-04:00, rddunlap@osdl.org [PATCH] via-rhine: references __init code during resume Fix __init section usage: rhine_resume calls enable_mmio, so latter cannot be __devinit; Error: ./drivers/net/via-rhine.o .text refers to 0000000000000925 R_X86_64_PC32 .init.text+0xfffffffffffffffc Signed-off-by: Randy Dunlap Signed-off-by: Jeff Garzik ChangeSet@1.2026.10.305, 2004-10-30 08:46:14-04:00, nacc@us.ibm.com [PATCH] scsi/ahci: replace schedule_timeout() with msleep()/ssleep() Description: Uses msleep() / ssleep() [as appropriate] instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Jeff Garzik ChangeSet@1.2026.41.3, 2004-10-30 13:41:58+01:00, rmk@flint.arm.linux.org.uk [ARM] etherh: add __iomem annotations. ChangeSet@1.2026.42.5, 2004-10-30 08:40:28-04:00, benh@kernel.crashing.org [PATCH] amd8111e: Add support for ppc64 eval board This patch adds a few memory barriers, cleans up a little bit the use of the "status" field in the rx & tx routines, and adds probing for the external PHY to the driver. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Jeff Garzik ChangeSet@1.2026.42.4, 2004-10-30 08:40:18-04:00, benh@kernel.crashing.org [PATCH] amd8111e: Fix identation of amd8111e_rx_poll() This patch does an indentation fix to amd8111e_rx_poll() which was incorrectly shifting left in the middle of a while() loop, thus rendering the function difficult to read. There is no actual code change. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Jeff Garzik ChangeSet@1.2026.42.3, 2004-10-30 08:30:59-04:00, sfeldma@pobox.com [PATCH] e100: update maintainer My intel.com address will bounce. Signed-off-by: Scott Feldman Signed-off-by: Jeff Garzik ChangeSet@1.2026.42.2, 2004-10-30 08:18:20-04:00, nico@cam.org [PATCH] fix smc91x compilation error It looks like this bit got mismerged (pci.h removed but DMA arguments convertion missing). Signed-off-by: Nicolas Pitre Signed-off-by: Jeff Garzik ChangeSet@1.2026.42.1, 2004-10-30 07:59:58-04:00, rmk+lkml@arm.linux.org.uk [PATCH] 8390.c: Use mdelay(10) rather than udelay(10*1000) ARM udelay can't cope with >2ms delays. Signed-off-by: Russell King Signed-off-by: Jeff Garzik ChangeSet@1.2026.41.2, 2004-10-30 12:53:44+01:00, rmk@flint.arm.linux.org.uk [ARM] etherh: report errors when trying to parse MAC address. ChangeSet@1.2026.41.1, 2004-10-30 12:45:34+01:00, rmk@flint.arm.linux.org.uk [ARM] etherh: add ethtool support. ChangeSet@1.2026.40.1, 2004-10-29 22:20:12-07:00, greg@kroah.com USB: fix up serial object reference count bug on error path. Thanks to Chris Rankin for pointing this out. Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2026.39.42, 2004-10-29 14:53:12-07:00, chrisw@osdl.org [PATCH] uninline __sigqueue_alloc Christoph suggests letting the compiler choose. No real compelling reason to inline anyhow. I had some vmlinux size numbers suggesting inline was better, but re-running them on newer kernel is giving different results, favoring uninline. Best let compiler choose. Un-inline __sigqueue_alloc. Signed-off-by: Chris Wright Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.40, 2004-10-29 13:50:26-07:00, torvalds@ppc970.osdl.org Make x86 semaphore routines use register calling convention. This avoids a bug where the compiler would overwrite the stackframe that the caller also considered to be a register save area. It also shrinks the code segment by a tiny amount by moving the failure case argument setup into the slow path. This not only makes the fast path smaller, but it makes it easier on gcc (gcc is not very good at generating code that uses fixed register names). ChangeSet@1.2026.39.39, 2004-10-29 13:28:35-07:00, james4765@gmail.com [PATCH] Documentation/mkdev.ida removal This file is no longer reqired - the MAKEDEV program makes the ida/ nodes automatically. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.38, 2004-10-29 13:28:22-07:00, james4765@gmail.com [PATCH] Documentation/cpqarray.txt update General cleanup of Documentation/cpqarray.txt. Removal of old and obsolete references, removed references to an external patch. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.37, 2004-10-29 13:28:10-07:00, marcel@holtmann.org [PATCH] Fix deprecated MODULE_PARM for CAPI subsystem The MODULE_PARM is deprecated now and should be replaced by module_param() or module_param_named(). Signed-off-by: Marcel Holtmann Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.36, 2004-10-29 13:27:57-07:00, akpm@osdl.org [PATCH] convert pipefs to fs_initcall() Normal initcalls which call out to userspace may need to create pipes. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.35, 2004-10-29 13:27:45-07:00, rml@novell.com [PATCH] make dnotify a configure-time option make dnotify configurable, via CONFIG_DNOTIFY. CONFIG_EMBEDDED is required for disabling dnotify. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.34, 2004-10-29 13:27:32-07:00, dan@debian.org [PATCH] Unwind information fix for the vsyscall DSO When working on GDB support I found a typo. I assume the comment is correct. If you step to this particular instruction and backtrace, GDB gets lost. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.33, 2004-10-29 13:27:20-07:00, dtor_core@ameritech.net [PATCH] ik8.c: export power_status parameter through sysfs I8K: Switch to using module_param, allow switching 'power_status' through sysfs. Signed-off-by: Dmitry Torokhov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.32, 2004-10-29 13:27:07-07:00, adaplas@hotpop.com [PATCH] fbdev: Maintainership Accepted Geert's offer to maintain the framebuffer layer. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.31, 2004-10-29 13:26:54-07:00, adaplas@hotpop.com [PATCH] fbdev: Check if cursor image has changed in intelfb Check if cursor image has changed in intelfb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.30, 2004-10-29 13:26:42-07:00, adaplas@hotpop.com [PATCH] fbdev: Add __iomem annotations to vfb Add __iomem annotations to vfb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.29, 2004-10-29 13:26:29-07:00, adaplas@hotpop.com [PATCH] fbdev: Add __iomem annotations to cirrusfb Add __iomem annotations to cirrusfb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.28, 2004-10-29 13:26:17-07:00, adaplas@hotpop.com [PATCH] fbdev: Add __iomem annotations to hgafb Add __iomem annotations to hgafb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.27, 2004-10-29 13:26:05-07:00, adaplas@hotpop.com [PATCH] fbdev: Add __iomem annotations to pm2fb Add __iomem annotations to pm2fb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.26, 2004-10-29 13:25:52-07:00, adaplas@hotpop.com [PATCH] fbdev: Add __iomem annotations to cyber2000fb Add __iomem annotations to cyber2000fb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.25, 2004-10-29 13:25:40-07:00, adaplas@hotpop.com [PATCH] fbdev: Do not memset the framebuffer memory in asiliantfb Do not memset the framebuffer memory in asiliantfb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.24, 2004-10-29 13:25:28-07:00, adaplas@hotpop.com [PATCH] fbdev: Add __iomem annotations to tdfxfb Add __iomem annotations to tdfxfb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.23, 2004-10-29 13:25:15-07:00, adaplas@hotpop.com [PATCH] fbdev: Add __iomem annotations to sstfb Add __iomem annotations to sstfb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.22, 2004-10-29 13:25:03-07:00, adaplas@hotpop.com [PATCH] fbdev: Fix io access in neofb - Fix IO access in neofb - Use readl/writel - add __iomem annotations Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.21, 2004-10-29 13:24:51-07:00, adaplas@hotpop.com [PATCH] fbdev: Convert MODULE_PARM to module_param in neofb Convert MODULE_PARM to module_param in neofb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.20, 2004-10-29 13:24:38-07:00, adaplas@hotpop.com [PATCH] fbdev: Convert MODULE_PARM to module_param in intelfb fbdev: Convert MODULE_PARM to module_param in intelfb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.19, 2004-10-29 13:24:26-07:00, adaplas@hotpop.com [PATCH] fbdev: Remove module parameter 'disabled' from savagefb Remove module parameter 'disabled' from savagefb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.18, 2004-10-29 13:24:13-07:00, adaplas@hotpop.com [PATCH] fbdev: Convert MODULE_PARM to module_param in i810fb Convert MODULE_PARM to module_param in i810fb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.17, 2004-10-29 13:24:01-07:00, sct@redhat.com [PATCH] ext3: online resizing The patch below adds online resize capability to ext3 based on Andreas patch for 2.4 and fixed up by Stephen. The patch also removes s_debts: s_debts is currently not used by ext3 (it is created, destroyed and checked but never set). Remove it for now. Resurrecting this will require adding it back in changed form. In existing form it's already unsafe wrt. byte-tearing as it performs unlocked byte increment/decrement on words which may be being accessed simultaneously on other CPUs. It is also the only in-memory dynamic table which needs to be extended by online-resize, so locking it will require care. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.16, 2004-10-29 13:23:48-07:00, akpm@osdl.org [PATCH] ext3 reservation: default to on Enable the reservation code by default. So reservations default to "on". They can be disabled by mounting with the "noreservation" mount option. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.15, 2004-10-29 13:23:35-07:00, cmm@us.ibm.com [PATCH] ext3 block reservations rbtree implementation and other changes From: Stephen Tweedie contributions From: Badari Pulavarty and probably me. This is the ext3 block reservation patch. It improves the layout of ext3 files by establishing, for each inode, reserved areas of the disk in which only that file can allocate blocks. Those reserved areas are managed in an rbtree, via the in-core inode. It's a bit like ext2 preallocation only stronger in that it can span already-allocated blocks, including the per-blockgroup inode tables and bitmaps. The patch fixes ext3's worst performance problem: disastrous layout when multiple files are being concurrently grown. It increases the size of the inode by rather a lot. A todo item is to dynamically allocate the `struct reserve_window_node', so we don't need to carry this storage for inodes which aren't opened for writing. The feature is enabled by mounting with the "reservation" mount option. Reservations default to "off". Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.14, 2004-10-29 13:23:23-07:00, cmm@us.ibm.com [PATCH] ext3 block reservation patch set -- ext3 preallocation cleanup Cleans up the old ext3 preallocation code carried from ext2 but turned off. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.13, 2004-10-29 13:23:10-07:00, blaisorblade_spam@yahoo.it [PATCH] uml: fix mainline lazyness about TTY layer patch While changing the TTY layer, an API parameter was removed, so it was removed by almost all calls, changing their prototype. But one use of one such function was not updated, breaking UML compilation. This is the fix. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.12, 2004-10-29 13:22:58-07:00, takata@linux-m32r.org [PATCH] m32r: fix a typo of delay.c This patch fixes a typo of arch/m32r/lib/delay.c. It is required to fix a compile error for non-CONFIG_ISA_DUAL_ISSUE configuration. NOTE: The m32r has a kind of ISA (instruction set architecture) like a 2-way VLIW. Originally the m32r has two types of 16-bit/32-bit instructions. Only 16-bit instruction pair can be executed in parallel on a m32r chip with dual issuing support (e.g. M32700). According to the insturction dual issuing of the m32r, a programmer/compiler can explicitly put two 16-bit instructions into an instruction word, which are to be executed in parallel. ex. Assembly coding style of two 16-bit instruncions; insn A and B: 1) insn A insn B ; sequential execution (implicit) 2) insn A -> insn B ; sequential execution (explicit) 3) insn A || insn B ; parallel execution Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.11, 2004-10-29 13:22:45-07:00, ak@muc.de [PATCH] x86_64: Fix warning in genapic Straightforward patch to remove a warning in genapic about a unused function. Independently done by Chris Wright too. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.10, 2004-10-29 13:22:31-07:00, ak@muc.de [PATCH] x86_64: Fix safe_smp_processor_id after genapic genapic broke early safe_smp_processor_id(), especially when you got a WARN_ON or oops early it would loops forever in show_trace. The reason was that the x86_cpu_to_apicid array wasn't correctly initialized. This patch fixes this by just testing for this case. Orginally from James Cleverdon Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.9, 2004-10-29 13:22:19-07:00, benh@kernel.crashing.org [PATCH] ppc64: Enable maple IDE fixup Now that pci_get_legacy_ide_irq() support has been merged, it's time to enable use of it by the Maple platform code. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.8, 2004-10-29 13:22:06-07:00, olof@austin.ibm.com [PATCH] ppc64: setup cpu_sibling_map on iSeries Nathan Lynch pointed this out: The CPU sibling map is never initialized on iSeries. This makes the scheduler very unhappy if CONFIG_SCHED_SMT is enabled, causing an oops in find_busiest_group during boot. Below patch adds the expected init. Signed-off-by: Olof Johansson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.7, 2004-10-29 13:21:54-07:00, sfr@canb.auug.org.au [PATCH] ppc64 iSeries: fix for generic irq changes The generic irq patches broke pci irqs on ppc64 iSeries. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.6, 2004-10-29 13:21:40-07:00, benh@kernel.crashing.org [PATCH] ppc32: Fix boot on PowerMac Tom's recent irq patch broke PowerMac (and possibly others). I think he forgot that PReP, CHRP and PowerMac are all built together in a single kernel image, thus all of those arch_initcall's will end up beeing called, even on the wrong machine... Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.5, 2004-10-29 13:21:27-07:00, mporter@kernel.crashing.org [PATCH] ppc32: fix ppc4xx_progress warnings The patch fixes these warnings by doing two things: 1) Add the argument to the printk. 2) Rearrange the ifdef to eliminate the unused variable and function warnings. Signed-off-by: Scott Anderson Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.4, 2004-10-29 13:21:14-07:00, akpm@osdl.org [PATCH] swapper_space warning suppression Suppress page allocation warnings arising from radix_tree_node_alloc() allocations on behalf of swapper_space: these are expected under heavy load. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.3, 2004-10-29 13:21:00-07:00, akpm@osdl.org [PATCH] key_init ordering fix The data structures which are set up by key_init() are used by exec(). And we're using exec() super-early via the hotplug events from do_basic_setup():driver_init(). So call key_init() directly, prior to driver_init(). Cc: David S. Miller Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.2, 2004-10-29 13:20:47-07:00, pavel@ucw.cz [PATCH] Add typechecking to suspend types and powerdown types This adds typechecking to suspend types and powerdown types. This should solve at least part of suspend type confusion. There should be no code changes generated by this one. Acked-by: Patrick Mochel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.39.1, 2004-10-29 13:20:35-07:00, iwamoto@valinux.co.jp [PATCH] direct IO write memory leak fix It seems that O_DIRECT write sometimes leaks memory. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.302, 2004-10-29 20:59:55+01:00, rmk@flint.arm.linux.org.uk [ARM] Fix wrong variable name in icside.c ChangeSet@1.2026.10.301, 2004-10-29 20:47:54+01:00, rmk@flint.arm.linux.org.uk [ARM] include/asm-arm/arch-integrator/time.h is unused, remove it. ChangeSet@1.2026.10.300, 2004-10-29 20:13:08+01:00, rmk@flint.arm.linux.org.uk [ARM] Remove extraneous spaces. ChangeSet@1.2026.10.299, 2004-10-29 19:49:16+01:00, rmk@flint.arm.linux.org.uk [ARM] Add disable_irq_nosync() and CPU number headings ChangeSet@1.2026.38.9, 2004-10-29 18:35:40+02:00, bzolnier@trik.(none) [ide] ide-disk: enable stroke by default From: Jens Axboe Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.38.8, 2004-10-29 18:21:50+02:00, bzolnier@trik.(none) [ide] make destroy_proc_ide_interfaces static destroy_proc_ide_interfaces is only used inside ide-proc.c; so lets make it static. Signed-off-by: Arjan van de Ven Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.10.298, 2004-10-29 16:34:00+01:00, rmk@flint.arm.linux.org.uk [ARM] Use cpu_vm_mask to determine whether to flush TLB/caches. Since bit 0 is only set when the MM is mapped onto the CPU, we can use this rather than comparing the MM pointer with current->active_mm. This simplifies the inline cache flushing and tlb code. ChangeSet@1.2026.38.7, 2004-10-29 17:07:55+02:00, bzolnier@trik.(none) [ide] kill IDEPCI_FLAG_FORCE_MASTER cs5530 overrides hwif->autodma anyway. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.10.297, 2004-10-29 16:05:26+01:00, rmk@flint.arm.linux.org.uk [ARM] Use cpu_vm_mask to indicate whether the MM is mapped. ChangeSet@1.2026.38.6, 2004-10-29 17:03:09+02:00, bzolnier@trik.(none) [ide] setup-pci: simplify autodma logic Do not set hwif->autodma in ide_pci_setup_ports(). All DMA capable PCI host drivers override it. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.38.5, 2004-10-29 17:00:16+02:00, bzolnier@trik.(none) [ide] setup-pci: small ide_get_or_set_dma_base() cleanup * hwif->dma_base is set in ->init_iops() for MMIO * if !dma_base then dma_base is really equal to zero * remove dead code from simplex check Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.38.4, 2004-10-29 16:52:32+02:00, bzolnier@trik.(none) [ide] pmac: kill CONFIG_BLK_DEV_IDEDMA_PMAC_AUTO DMA is always used by default (->autodma is never checked). Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.38.3, 2004-10-29 16:49:20+02:00, bzolnier@trik.(none) [ide] hpt34x: kill hpt34x.h Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.38.2, 2004-10-29 16:45:17+02:00, bzolnier@trik.(none) [ide] remove hwif from /proc/ide/ as part of ide_unregister_hwif() Original patch from Mark Lord . Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.38.1, 2004-10-29 16:24:59+02:00, bzolnier@trik.(none) [ide] PIO bugfix We need to k[un]map_atomic() the current page not the first page of the scatterlist segment. Fixes OOPS when using HIGHMEM. Big thanks to Randy Dunlap for a lot of debugging/testing. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.37.1, 2004-10-29 10:05:12+01:00, aia21@cantab.net NTFS: Remove unused function fs/ntfs/runlist.c::ntfs_rl_merge(). (Adrian Bunk) Signed-off-by: Adrian Bunk Signed-off-by: Anton Altaparmakov ChangeSet@1.2038, 2004-10-29 01:37:24-04:00, len.brown@intel.com Merge intel.com:/home/lenb/bk/26-latest-ref into intel.com:/home/lenb/src/26-latest-dev ChangeSet@1.2037, 2004-10-29 01:06:32-04:00, len.brown@intel.com Merge intel.com:/home/lenb/src/26-stable-dev into intel.com:/home/lenb/src/26-latest-dev ChangeSet@1.1803.119.42, 2004-10-29 01:02:04-04:00, len.brown@intel.com [PNP] handler more than 16 IRQs Signed-off-by: David Shaohua Li Signed-off-by: Len Brown ChangeSet@1.2026.36.11, 2004-10-28 16:36:02-07:00, akpm@osdl.org [NETFILTER]: Avoid warning on CONNTRACK_STAT_INC in destroy_conntrack() From: Rusty Russell ip_conntrack_put can be called in any context in theory: in particular, MASQUERADE will can call it (via ip_ct_selective_cleanup) when an interface comes up with a different address. Move the CONNTRACK_STAT_INC inside the lock: it needs preemption disabled. Signed-off-by: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2026.36.10, 2004-10-28 16:34:53-07:00, akpm@osdl.org [X25]: Dont log unknown frame type when receiving clear confirm From: Andrew Hendry There is no need to log unknown ChangeSet@1.2026.36.9, 2004-10-28 16:33:54-07:00, akpm@osdl.org [X25]: Stop /proc/net/x25/route infinitely reading From: Andrew Hendry route add --x25 0/0 eth0 cat /proc/net/x25/route reads the single routing entry forever. This patch makes x25_get_route_idx behave the same as x25_get_socket_idx which works correctly. Signed-off-by: Andrew Hendry Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2026.36.8, 2004-10-28 16:33:01-07:00, akpm@osdl.org [ETHERTAP]: Add missing newline to debug printk From: Andrew Hendry Very trivial, ethertap debug missing a newline. Signed-off-by: Andrew Hendry Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2026.36.7, 2004-10-28 16:31:53-07:00, akpm@osdl.org [X25]: Stop x25_destroy_socket timer looping From: Andrew Hendry The sk_timer.data for the x.25 destroy_socket timer went missing at some stage, causing a timer loop where x25_destroy_socket would keep setting up timers to call itself. This patch puts the sk_timer.data back. Signed-off-by: Andrew Hendry Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2026.36.6, 2004-10-28 16:31:02-07:00, davem@nuts.davemloft.net [TG3]: Bump driver version and reldate Signed-off-by: David S. Miller ChangeSet@1.2026.36.5, 2004-10-28 16:29:43-07:00, akpm@osdl.org [TG3]: Use mmiowb in tg3_poll From: Returning from tg3_poll() without flushing the PIO write which reenables interrupts can result in lower cpu utilization and higher throughput. So use a memory barrier, mmiowb(), instead of flushing the write with a PIO read. Signed-off-by: Arthur Kepner Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2026.36.4, 2004-10-28 16:28:59-07:00, akpm@osdl.org [TG3]: Use mmiowb in tg3.c From: Jesse Barnes This patch originally from Greg Banks. Some parts of the tg3 driver depend on PIO writes arriving in order. This patch ensures that in two key places using the new mmiowb macro. This not only prevents bugs (the queues can be corrupted), but is much faster than ensuring ordering using PIO reads (which involve a few round trips to the target bus on some platforms). Arthur has another patch that uses mmiowb in tg3 that he posted earlier as well. Signed-off-by: Greg Banks Signed-off-by: Jesse Barnes Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2026.36.3, 2004-10-28 16:24:01-07:00, davem@nuts.davemloft.net [VLAN]: Revert vlan_dev_hard_start_xmit part of Ben Greear's changes They are questionable at best. Based upon commentary by Tommy Christensen. Signed-off-by: David S. Miller ChangeSet@1.2026.10.296, 2004-10-28 16:20:35-07:00, ak@muc.de [PATCH] Fix x86-64 genapic build The x86-64 genapic patch that was recently merged missed some definitions and doesn't compile at all. This fixes it by adding the missing defines for genapic Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.295, 2004-10-28 16:20:25-07:00, trini@kernel.crashing.org [PATCH] Fix ppc32 compile D'oh. Something got cut-off there on Randy's end. Obviously correct fix follows. Signed-off-by: Tom Rini Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.294, 2004-10-28 12:58:55-07:00, olh@suse.de [PATCH] rmmod ohci1394 hangs this sequence of commands will hang the final rmmod. init=/bin/bash --login mount proc modprove -v ohci1394 rmmod ohci1394 modprobe -v ohci1394 rmmod ohci1394 -> hangs knodemgrd_0 exits on the first rmmod, but leaves nodemgr_serialize in down state. This fixes it for me. Signed-off-by: Olaf Hering Acked-by: Ben Collins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.36.1, 2004-10-28 12:12:11-07:00, wensong@linux-vs.org [IPVS]: Update version to 1.2.1 Signed-off-by: David S. Miller ChangeSet@1.2026.10.293, 2004-10-28 12:11:00-07:00, torvalds@ppc970.osdl.org Merge http://lia64.bkbits.net/linux-ia64-release-2.6.10 into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.2026.35.2, 2004-10-28 14:53:23-03:00, acme@conectiva.com.br [SKBUFF] introduce x25_type_trans Signed-off-by: Arnaldo Carvalho de Melo Signet-off-by: David S. Miller ChangeSet@1.2026.35.1, 2004-10-28 14:50:55-03:00, acme@conectiva.com.br [SKBUFF] remove skb->mac.raw setting after hdlc_type_trans Arnaldo Carvalho de Melo : [dscc4.c sets skb->mac.raw after hdlc_type_trans] >> Francois, is this really what is intended? I left it as In the pre-eth_type_trans area, yes :o/ I did not test dscc4 in a bridged setup. Please fix the driver in your patch. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Francois Romieu Signed-off-by: David S. Miller ChangeSet@1.2026.10.292, 2004-10-28 10:07:59-07:00, sfr@canb.auug.org.au [PATCH] ppc64 iSeries pci cleanups This merges two files (iSeries_IoMmTable.[ch]) into iSeries_pci.c. This allowed quite a few more things to become declared static. It then does some fairly mechanical cleanups in iSeries_pci.c (replacing studly caps, removing the last of the PCIFR() macros and removing a couple of empty or unused routines). There are no semantic changes. Signed-off-by: Stephen Rothwell Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.291, 2004-10-28 09:31:02-07:00, martin.wilck@fujitsu-siemens.com [PATCH] skip sync_arb_IDs on P4/Xeon The "Synchronize Arbitration IDs with APIC IDs" IPI does not make sense on Pentium 4 and Xeon because they don't have an APIC bus where arbitration IDs would be needed. The Intel Developers manual (Vol. 3, Ch. 8.6.1) says this IPI is unsupported on P4/Xeon. Using it may, according to Intel, lead to unpredictable results. Signed-off-by: Martin Wilck Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.290, 2004-10-28 09:14:32-07:00, stelian@popies.net [PATCH] sonypi: bump up the version number Signed-off-by: Stelian Pop Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.289, 2004-10-28 09:14:19-07:00, stelian@popies.net [PATCH] sonypi: whitespace and coding style fixes Signed-off-by: Stelian Pop Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.288, 2004-10-28 09:14:07-07:00, stelian@popies.net [PATCH] sonypi: don't suppose the bluetooth subsystem is initialy off Leave the choice to the user. Signed-off-by: Stelian Pop Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.287, 2004-10-28 09:13:54-07:00, stelian@popies.net [PATCH] sonypi: make CONFIG_SONYPI depend on CONFIG_INPUT Signed-off-by: Stelian Pop Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.286, 2004-10-28 09:13:42-07:00, stelian@popies.net [PATCH] sonypi: rework input support * feed most of special keys through the input subsystem * initialize two separate input devices: a mouse like one for the jogdial and a keyboard like one for the special keys * add support for SONYPI_EVENT_FNKEY_RELEASED Many people participated in a way or another to this patch, including Daniel K. , Bastien Nocera , Dmitry Torokhov and Vojtech Pavlik . Signed-off-by: Stelian Pop Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.285, 2004-10-28 09:13:29-07:00, stelian@popies.net [PATCH] sonypi: power management related fixes * switch from a sysdev to a platform device * drop old style PM code * use pci_get_device()/pci_dev_put() instead of pci_find_device() Patch originaly from Dmitry Torokhov . Signed-off-by: Stelian Pop Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.284, 2004-10-28 09:13:17-07:00, stelian@popies.net [PATCH] sonypi: replace homebrew queue with kfifo Signed-off-by: Stelian Pop Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.283, 2004-10-28 09:13:05-07:00, stelian@popies.net [PATCH] sonypi: module related fixes * use module_param() instead of MODULE_PARM() and __setup() * use MODULE_VERSION() Signed-off-by: Stelian Pop Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.282, 2004-10-28 08:35:45-07:00, chrisw@osdl.org [PATCH] error out on execve with no binfmts Early calls to userspace can invoke an execve() before any binfmt handlers are registered. Properly return an error in this case rather than 0. On at least one arch (x86_64) without this patch, the system will double fault on early attempts to call_usermodehelper. Signed-off-by: Chris Wright Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.281, 2004-10-28 08:35:33-07:00, cw@f00f.org [PATCH] Remove build warning from drivers/char/random.c on 32-bit platforms Remove build warning from drivers/char/random.c on 32-bit platforms. Signed-off-by: Chris Wedgwood Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.280, 2004-10-28 08:35:20-07:00, olh@suse.de [PATCH] remove double newline from sysrq action_msg __handle_sysrq already prints a newline, so the action_msg string doesnt need yet another newline. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.279, 2004-10-28 08:35:08-07:00, kraxel@bytesex.org [PATCH] bttv subdev fix - Make bttv check the device_register return value. - Yet another unchecked return value fixed. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.278, 2004-10-28 08:34:55-07:00, axboe@suse.de [PATCH] issues with online scheduler switching There are two issues with online io scheduler switching that this patch addresses. The first is pretty simple - it concerns racing with scheduler removal on switch. elevator_find() does not grab a reference to the io scheduler, so before elevator_attach() is run it could go away. Add elevator_get() to solve that. Second issue is the flushing out of requests that is needed before switching can be problematic with requests that aren't allocated in the block layer (such as requests on the stack of a process). The problem is that we don't know when they will have finished, and most io schedulers need to access the elevator structures on io completion. This can be fixed by adding an intermedia step that switches to noop, since it doesn't need to touch anything but the request_queue. The queue drain can then safely be split into two operations - one that waits for file system requests, and one that waits for the queue to completely empty. Requests arriving after the first drain will get stuck in a seperate queue list. Signed-off-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.277, 2004-10-28 08:34:43-07:00, manfred@colorfullife.com [PATCH] handle posix message queues with /proc/sys disabled register_sysctl_table() fails if sysctl support is not compiled into the kernel. The POSIX message queue subsystem aborted it's initialization if register_sysctl_table() fails, and that causes an oops in sys_mq_open(). The patch fixes that by ignoring failures from register_sysctl_table(). Signed-off-by; Manfred Spraul Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.276, 2004-10-28 08:34:31-07:00, axboe@suse.de [PATCH] cfq v2 switch bug Fix online switching issue with cfq v2. It does deferred clearing of e->elevator_data, which screws up the current io scheduler. It does not have to, so just remove it. Signed-off-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.275, 2004-10-28 08:34:18-07:00, wli@holomorphy.com [PATCH] remove itimer_ticks and itimer_next These two variables are long, long dead. This patch removes them. Signed-off-by: William Irwin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.274, 2004-10-28 08:34:06-07:00, colin@colino.net [PATCH] fix via-pmu.c compilation without CONFIG_PMAC_PBOOK This patch fixes via-pmu.c compilation when CONFIG_PMAC_PBOOK is not set. Looks like the #endif was one line too late. Signed-off-by: Colin Leroy Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.273, 2004-10-28 08:33:53-07:00, hch@lst.de [PATCH] remove mousedrivers.sgml It's been totally obsoleted by the input layer Acked-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.272, 2004-10-28 08:33:43-07:00, hch@lst.de [PATCH] remove invoke_softirq This was used by the early irqstacks implementation on s390 and has been replaced by __ARCH_HAS_DO_SOFTIRQ now. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.271, 2004-10-28 08:33:30-07:00, hch@lst.de [PATCH] fix show_refcnt return value type module_attribute.show is defined to return ssize_t Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.270, 2004-10-28 08:33:18-07:00, tglx@linutronix.de [PATCH] Lock initializer unifying (Network drivers) To make spinlock/rwlock initialization consistent all over the kernel, this patch converts explicit lock-initializers into spin_lock_init() and rwlock_init() calls. Currently, spinlocks and rwlocks are initialized in two different ways: lock = SPIN_LOCK_UNLOCKED spin_lock_init(&lock) rwlock = RW_LOCK_UNLOCKED rwlock_init(&rwlock) this patch converts all explicit lock initializations to spin_lock_init() or rwlock_init(). (Besides consistency this also helps automatic lock validators and debugging code.) The conversion was done with a script, it was verified manually and it was reviewed, compiled and tested as far as possible on x86, ARM, PPC. There is no runtime overhead or actual code change resulting out of this patch, because spin_lock_init() and rwlock_init() are macros and are thus equivalent to the explicit initialization method. Signed-off-by: Thomas Gleixner Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.269, 2004-10-28 08:33:04-07:00, tglx@linutronix.de [PATCH] Lock initializer unifying (Core) To make spinlock/rwlock initialization consistent all over the kernel, this patch converts explicit lock-initializers into spin_lock_init() and rwlock_init() calls. Currently, spinlocks and rwlocks are initialized in two different ways: lock = SPIN_LOCK_UNLOCKED spin_lock_init(&lock) rwlock = RW_LOCK_UNLOCKED rwlock_init(&rwlock) this patch converts all explicit lock initializations to spin_lock_init() or rwlock_init(). (Besides consistency this also helps automatic lock validators and debugging code.) The conversion was done with a script, it was verified manually and it was reviewed, compiled and tested as far as possible on x86, ARM, PPC. There is no runtime overhead or actual code change resulting out of this patch, because spin_lock_init() and rwlock_init() are macros and are thus equivalent to the explicit initialization method. Signed-off-by: Thomas Gleixner Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.268, 2004-10-28 08:32:52-07:00, pluto@ds14.agh.edu.pl [PATCH] signal.c: gcc-3.4 fix Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.267, 2004-10-28 08:32:40-07:00, james4765@gmail.com [PATCH] ftape documentation fixes Description: Cleanup and update to Documentation/ftape.txt Signed-off by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.266, 2004-10-28 08:32:27-07:00, james4765@gmail.com [PATCH] ftape has no maintainer After tracking down the original author of the ftape sources, I found out that he no longer had interest in maintaining it. Signed-off-by: James Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.265, 2004-10-28 08:32:15-07:00, werner@almesberger.net [PATCH] make buffer head argument of buffer_##name "const" Allow the buffer_foo() predicates to take a (const struct buffer_head *). I've checked that the argument of test_bit is indeed "const" on all architectures. Signed-off-by: Werner Almesberger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.264, 2004-10-28 08:32:02-07:00, juhl-lkml@dif.dk [PATCH] add a bunch of missing files to Documentation/00-INDEX Add a bunch of entries to Documentation/00-INDEX that are currently missing (and removes the entry for one file that no longer exist). Patch has already been OK'ed by Paul G. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.263, 2004-10-28 08:31:50-07:00, petero2@telia.com [PATCH] Fix incorrect Mt Rainier detection cdrom_is_mrw() can incorrectly think that a drive is Mt Rainier capable, because if forgets to check if the "GET CONFIGURATION" command returns the MRW feature number. According to the MMC spec, the drive shall return all feature numbers >= the starting feature number, so even if the drive doesn't support Mt Rainier, it can return some data that makes cdrom_is_mrw() incorrectly think the drive is MRW capable. This problem stops me from mounting DVD+RW discs in R/W mode on my laptop, because it makes cdrom_open_write() call cdrom_mrw_open_write() which fails because the drive isn't really MRW capable. The fix is to make sure the returned feature number is the correct one for Mt Rainier. Signed-off-by: Peter Osterlund Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.262, 2004-10-28 08:31:38-07:00, arjan@infradead.org [PATCH] unexport add_timer_on() add_timer_on() isn't used by modules (in fact it's only used ONCE, in workqueue.c) and it's not even a good api for drivers, in fact, the comment for it says * This is not very scalable on SMP. Double adds are not possible. Signed-off-by: Arjan van de Ven Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.261, 2004-10-28 08:31:26-07:00, axboe@suse.de [PATCH] kill excessive cdrom prints Don't know where this came from, but dumping this on every open gets boring really quickly. Signed-off-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.260, 2004-10-28 08:31:13-07:00, dhowells@redhat.com [PATCH] Unexport some RxRPC symbols Remove some of the exports on RxRPC symbols that aren't currently used (and most probably won't be) by external modules. Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.259, 2004-10-28 08:31:00-07:00, james4765@gmail.com [PATCH] ramdisk.txt update General cleanup and updating of ramdisk.txt. Signed-off by: Jim Nelson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.258, 2004-10-28 08:30:48-07:00, hch@lst.de [PATCH] unexport firmware_class it's marked static already, and there's no point in exporting it Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.257, 2004-10-28 08:30:36-07:00, hch@lst.de [PATCH] unexport set_selection and paste_selection Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.256, 2004-10-28 08:30:25-07:00, hch@lst.de [PATCH] mark pi_unclaim static Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.255, 2004-10-28 08:30:15-07:00, hch@lst.de [PATCH] unexport vc_cons_allocated Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.254, 2004-10-28 08:30:02-07:00, hch@lst.de [PATCH] parport: kill dead code and exports There's lots of exports in parport that aren't used by any drivers. Behind many of them there's actually dead code. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.253, 2004-10-28 08:29:50-07:00, hch@lst.de [PATCH] remove ext2 xatts exports I think Andreas exported them to allow modular xattr handlers, but with James rework these aren't possible anymore, and we never had them anyway. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.252, 2004-10-28 08:29:39-07:00, hch@lst.de [PATCH] unexport sys_lseek Fortunately dvb stopped using it in their firmware loader Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.251, 2004-10-28 08:29:27-07:00, hch@lst.de [PATCH] remove page_follow_link All filesystems have been switched to page_follow_link_light Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.250, 2004-10-28 08:29:14-07:00, hch@lst.de [PATCH] unexport kick_process This isn't exactly the kind of interface modules should use. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.249, 2004-10-28 08:29:01-07:00, hch@lst.de [PATCH] unexport getnstimeofday This recently added function is only used by the posix timers code, no need to be exported. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.248, 2004-10-28 08:28:49-07:00, hch@lst.de [PATCH] remove dead exports in sounds/oss Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.247, 2004-10-28 08:28:37-07:00, paulmck@us.ibm.com [PATCH] RCU: eliminating explicit memory barriers from SysV IPC This patch uses the rcu_assign_pointer() API to eliminate a number of explicit memory barriers from the SysV IPC code that uses RCU. It also restructures the ipc_ids structure so that the array size is stored in the same memory block as the array itself (see the new struct ipc_id_ary). This prevents the race that the earlier code was subject to, where a reader could see a mismatch between the size and the actual array. With the size stored with the array, the possibility of mismatch is eliminated -- with out the need for careful ordering and explicit memory barriers. This has been tested successfully on i386 and ppc64. Signed-off-by: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.246, 2004-10-28 08:28:24-07:00, paulmck@us.ibm.com [PATCH] RCU: use rcu_assign_pointer() This patch uses the rcu_assign_pointer() API to eliminate a number of explicit memory barriers from code using RCU. This has been tested successfully on i386 and ppc64. Signed-off-by: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.245, 2004-10-28 08:28:13-07:00, paulmck@us.ibm.com [PATCH] RCU: rcu_assign_pointer() removal of memory barriers This patch adds the rcu_assign_pointer() API that helps reduce the need for explicit memory barriers in code that uses RCU. This API buries the required memory barriers in a macro that also does the assignment. This has been tested successfully on i386 and ppc64. Signed-off-by: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.244, 2004-10-28 08:28:00-07:00, kraxel@bytesex.org [PATCH] v4l: config cleanups Cleanup the video4linux driver configuration by using "select" instead of "default if ...". Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.243, 2004-10-28 08:27:48-07:00, kraxel@bytesex.org [PATCH] v4l: videodev whitespace cleanup The patch just removes all trailing whitespaces, there are no actual code changes. I've a script to remove them from my sources now, that should kill those no-op whitespace changes in my patches after merging this initial cleanup. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.242, 2004-10-28 08:27:36-07:00, kraxel@bytesex.org [PATCH] v4l: videobuf whitespace cleanup The patch just removes all trailing whitespaces, there are no actual code changes. I've a script to remove them from my sources now, that should kill those no-op whitespace changes in my patches after merging this initial cleanup. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.241, 2004-10-28 08:27:23-07:00, kraxel@bytesex.org [PATCH] v4l: tuner update This is an update for the v4l tuner modules (tuner.o + tda9887.o). Changes: * fix two tuner config entries. * switch insmod options to new 2.6-ish style. * add suspend/resume functions. The patch also removes all trailing whitespaces. I've a script to remove them from my sources now, that should kill those no-op whitespace changes in my patches after merging this initial cleanup. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.240, 2004-10-28 08:27:11-07:00, kraxel@bytesex.org [PATCH] v4l: msp3400 update This is a update for the msp3400 module. Changes: * switch over to 2.6-ish insmod options. * use kthread for thread management. * add support for v4l2 audio ioctls. * merge a number of changes from the ivtv project. * add suspend/resume functions. The patch also removes all trailing whitespaces. I've a script to remove them from my sources now, that should kill those no-op whitespace changes in my patches after merging this initial cleanup. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.239, 2004-10-28 08:26:59-07:00, kraxel@bytesex.org [PATCH] v4l: IR whitespace cleanup The patch just removes all trailing whitespaces, there are no actual code changes. I've a script to remove them from my sources now, that should kill those no-op whitespace changes in my patches after merging this initial cleanup. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.238, 2004-10-28 08:26:46-07:00, kraxel@bytesex.org [PATCH] v4l: i2c whitespace cleanup The patch just removes all trailing whitespaces, there are no actual code changes. I've a script to remove them from my sources now, that should kill those no-op whitespace changes in my patches after merging this initial cleanup. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.237, 2004-10-28 08:26:34-07:00, kraxel@bytesex.org [PATCH] v4l: bttv whitespace cleanup The patch just removes all trailing whitespaces, there are no actual code changes. I've a script to remove them from my sources now, that should kill those no-op whitespace changes in my patches after merging this initial cleanup. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.236, 2004-10-28 08:26:21-07:00, kraxel@bytesex.org [PATCH] v4l: bttv IR input update This is a update for the IR input modules for the bttv driver. It adds IR support to more TV cards and has some some minor cleanups. It also removes all trailing whitespaces. I've a script to remove them from my sources now, that should kill those no-op whitespace changes in my patches after merging this initial cleanup. Signed-off-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.235, 2004-10-28 08:26:09-07:00, arjanv@infradead.org [PATCH] make filemap_fdatawrite_range() static The patch below marks filemap_fdatawrite_range static, it's not used outside mm/filemap.c. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.234, 2004-10-28 08:25:56-07:00, arjanv@infradead.org [PATCH] remove unused code: dump_extended_fpu dump_extended_fpu() is used nowhere in the kernel; save a few bytes... Signed-off-by: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.233, 2004-10-28 08:25:43-07:00, arjanv@infradead.org [PATCH] vmalloc_to_page helper After William did the remap_pfn_range change, a very common pattern became: page = page_to_pfn(vmalloc_to_page((void *)pos)); if (remap_pfn_range(vma, start, page, PAGE_SIZE, PAGE_SHARED)) { the patch below adds a very simple helper, vmalloc_to_pfn() to simplify this a bit. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.232, 2004-10-28 08:25:30-07:00, arjanv@infradead.org [PATCH] unexport raise_softirq The patch below unexports raise_softirq(). raise_softirq() is not the right api for drivers to use, instead raise_softirq_irqoff() is, and thankfully all in-kernel code is using that variant already. To avoid future "accidents", unexport. Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.231, 2004-10-28 08:25:18-07:00, penberg@cs.helsinki.fi [PATCH] fbcon: Replace logo_shown magic numbers with constants This patch replaces logo_shown magic numbers with constants in drivers/video/console/fbcon.c. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.230, 2004-10-28 08:25:05-07:00, penberg@cs.helsinki.fi [PATCH] fbcon: Remove spurious casts This patch removes unnecessary casts from drivers/video/console/fbcon.c. Assignment from a void pointer does not require a cast and char type is promoted to int automatically. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.229, 2004-10-28 08:24:53-07:00, adaplas@hotpop.com [PATCH] fbcon: Fix endian bug in fbcon_putc (console mouse problem) The typecast (const unsigned short *) &c in fbcon_putc is not correct for big-endian machines. This problem manifests as a black cursor that can be used to erase the console screen contents. The correct fix is to use scr_writew instead. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.228, 2004-10-28 08:24:40-07:00, adaplas@hotpop.com [PATCH] fbdev: Add __iomem annotations to intelfb - Add __iomem annotations to intelfb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.227, 2004-10-28 08:24:28-07:00, adaplas@hotpop.com [PATCH] fbdev: Add __iomem annotations for savagefb Add __iomem annotations for savagefb Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.226, 2004-10-28 08:24:15-07:00, agx@sigxcpu.org [PATCH] fbdev: Fix rivafb crashes on PPC - fixes crashes when changing video modes/switching away from X on ppc - fixes random crashes when scrolling in e.g. vi - improves on the NV30 support - reintroduces noaccel (not perfect but helps a lot for debugging) - converts MODULE_PARM to module_param - cleans up some printks, FB_ACCELF_TEXT cruft Most of this is taken from either XFree86 4.3 or BenH's 2.4 ppc tree. From: Antonino Daplas - adjust pixmap->scan_align to 1 and use cfb_* drawing functions if FBINFO_HWACCEL_DISABLED is set Signed-off-by: Guido Guenter Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.225, 2004-10-28 08:24:03-07:00, bjorn.helgaas@hp.com [PATCH] radeonfb: If no video memory, exit with error Nothing good will happen if we try to ioremap and use a zero-sized frame buffer. I observed this problem on an ia64 sx1000 box, where the BIOS doesn't run the option ROM. If we try to continue, radeonfb just gets hopelessly confused because the card isn't initialized correctly. Signed-off-by: Bjorn Helgaas Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.224, 2004-10-28 08:23:51-07:00, penberg@cs.helsinki.fi [PATCH] radeonfb: screeninfo initialization cleanup This patch changes the initialization of radeonfb_default_var to use named initializers and avoids explicitly setting fields that are automatically zeroed. Signed-off-by: Pekka Enberg Acked-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.223, 2004-10-28 08:23:38-07:00, adaplas@hotpop.com [PATCH] savagefb export fixes Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.222, 2004-10-28 08:23:26-07:00, nickpiggin@yahoo.com.au [PATCH] vmscan: pages_scanned fix kswapd is still sometimes going into loops. The problem seemed to be happening on systems with zero inactive pages in ZONE_DMA, so pages_scanned could never be increased, all_unreclaimable would never be set, and kswapd would never break. So change pages_scanned to be a count of the number of _active_ list pages scanned rather than inactive. This has been reported to solve the problems. This is not subject to the reverse problem where one might have zero active list pages, because inactive pages are either be reclaimed, or put onto the active list. I think it is reasonable to have all_unreclaimed trigger based on the amount of active list scanning rather than inactive. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.221, 2004-10-28 08:23:13-07:00, paulmck@us.ibm.com [PATCH] scheduler: remove redundant #ifdef Removes a redundant #ifdef CONFIG_SMP that is nested within an enclosing #ifdef CONFIG_SMP. Signed-off-by: Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.220, 2004-10-28 08:23:01-07:00, schwidefsky@de.ibm.com [PATCH] s390: tty_write fix Make the s/390 console drivers compile without warnings again after the recent tty layer change that moved the copy_from_user out of the drivers. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.219, 2004-10-28 08:22:48-07:00, cw@f00f.org [PATCH] uml: resolve symbols in back-traces Resolve symbols in back-traces. Signed-off-by: Chris Wedgwood Acked-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.218, 2004-10-28 08:22:36-07:00, cw@f00f.org [PATCH] uml: mconsole_proc rewrite This is an update/resync of kraxel's mconsole_proc rewrite from about two months ago and IMO it should be merged as-is (yes, it means /proc has to be mounted but the current code crashes so this is better IMO). Signed-off-by: Chris Wedgwood Acked-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.217, 2004-10-28 08:22:24-07:00, cw@f00f.org [PATCH] uml: minor warning removal Include some files to remove missing prototype warnings. Signed-off-by: Chris Wedgwood Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.216, 2004-10-28 08:22:11-07:00, cw@f00f.org [PATCH] uml: Kconfig.debug update Update Kconfig.debug so we get SYSRQ back and also the spinlock debugging options. Signed-off-by: Chris Wedgwood Acked-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.215, 2004-10-28 08:21:59-07:00, cw@f00f.org [PATCH] uml: Build fix for TT w/o SKAS This is required to get UML to build with only TT mode. Signed-of-by: Chris Wedgwood Acked-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.214, 2004-10-28 08:21:46-07:00, cw@f00f.org [PATCH] uml: use generic IRQ code Convert UML to use the generic IRQ code. Signed-off-by: Chris Wedgwood Acked-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.213, 2004-10-28 08:21:34-07:00, yi.zhu@intel.com [PATCH] swsusp: print error message when swapping is disabled This patch gives some clues to the user when swapping is not enabled during swsusp. Please apply. Signed-off-by: Zhu Yi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.212, 2004-10-28 08:21:21-07:00, pavel@ucw.cz [PATCH] Kill useless pm_access from vt.c pm_access does nothing these days, and looks ugly. This removes it from vt.c. That actually looks like last user in the tree; it should be possible to kill pm_access completely after 2.6.10. Ouch and add warning to obsolete pm.txt file. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.211, 2004-10-28 08:21:08-07:00, bjorn.helgaas@hp.com [PATCH] ia64 iomap implementation This preserves the ioreadX() == inX() semantics (same as i386), since it's not clear that the speedup of omitting the mf.a for port operations is worth the risk of breaking drivers. Signed-off-by: Bjorn Helgaas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.210, 2004-10-28 08:20:56-07:00, jamesclv@us.ibm.com [PATCH] x86-64 clustered APIC support Forthcoming IBM boxes will be using Nocona and/or Opteron chips in clustered mode to get beyond 8 CPUs. In fact, there are plans to try for 128 CPUs when the Tulsa chip comes out. Thus, there are a fair number of signed vs. unsigned changes in the patch. Thanks to the HPET timer and some HW changes, I've been able to remove the MPS/ACPI string comparisons from the detection code. Instead, it scans bios_cpu_apicid and uses simple heuristics to select the correct IRQ delivery mode. No need for a config option. Hurrah! Likewise, I've been able to avoid the preprocessor tricks that the i386 sub-arch needed to build with one or more sub-arches. Reluctantly-Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.209, 2004-10-28 08:20:42-07:00, venkatesh.pallipadi@intel.com [PATCH] HPET reenabling after suspend-resume hpet hardware seems to need a little prodding during resume for it to start sending the timer interupts again. Attached patch does it for both i386 and x86_64. Makefile change below: Right now suspend-resume ordering of system devices depends on their order of linking. It is ugly. But, thats the way it works currently. And we want timer device to resume before PIC. Signed-off-by: "Venkatesh Pallipadi" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.208, 2004-10-28 08:20:30-07:00, paul.mundt@nokia.com [PATCH] sh: syscall updates This adds the new syscalls (waitid/add_key/request_key/keyctl). Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.207, 2004-10-28 08:20:17-07:00, paul.mundt@nokia.com [PATCH] sh: compile fixes A few random build failures/warnings popped up in 2.6.9, this fixes them. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.206, 2004-10-28 08:20:04-07:00, paul.mundt@nokia.com [PATCH] sh: do_signal() update for generic changes A while back get_signal_to_deliver() changed to take a struct k_sigaction *. This updates do_signal() and handle_signal() to follow the generic API change. Signed-off-by: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.205, 2004-10-28 08:19:52-07:00, david@gibson.dropbear.id.au [PATCH] ppc64: rework hugepage code Rework the ppc64 hugepage code. Instead of using specially marked pmd entries in the normal pagetables to represent hugepages, use normal pte_t entries, in a special set of pagetables used for hugepages only. Using pte_t instead of a special hugepte_t makes the code more similar to that for other architecturess, allowing more possibilities for consolidating the hugepage code. Using independent pagetables for the hugepages is also a prerequisite for moving the hugepages into their own region well outside the normal user address space. The restrictions imposed by the powerpc mmu's segment design mean we probably want to do that in the fairly near future. Signed-off-by: David Gibson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.204, 2004-10-28 08:19:39-07:00, paulus@samba.org [PATCH] PPC/PPC64: Fix FP state corruption on UP Unfortunately the patch Ben sent last week to fix a bug in the saving and restoring of floating-point and altivec context across signal handlers introduced another bug, which tends to corrupt the FP and altivec contexts of other tasks. This patch fixes the problem for both ppc32 and ppc64. Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.203, 2004-10-28 08:19:27-07:00, mporter@kernel.crashing.org [PATCH] ppc32: disable broken L2 cache on all 440GX revs Always disable L2 cache on PPC440GX. All revs/speeds of silicon have parity error problems despite errata claims to the contrary. Signed-off-by: Matt Porter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.202, 2004-10-28 08:19:14-07:00, paulus@samba.org [PATCH] ppc64: cpu hotplug notifier for numa This patch is from Nathan Lynch . The NUMA properties of all "possible" cpus are not necessarily available at boot time on ppc64 LPAR. Only the properties for present cpus are known. This patch modifies the ppc64 numa code to map a cpu to its node right before it is brought up -- this means that secondary cpus are now mapped to their nodes during smp_init(). Cpus are removed from their nodes after they have gone offline. Also some minor cleanups: - Stash the "minimum common depth" in a global at boot time, so we don't have to rediscover it every time something changes. - Remove unnecessary variable from of_get_associativity() which is accessed while possibly uninitialized. - Remove the cpu portion from dump_numa_topology() since it will show only the boot cpu now. We could display this information from smp_cpus_done() if necessary. Signed-off-by: Nathan Lynch Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.201, 2004-10-28 08:19:02-07:00, sfr@canb.auug.org.au [PATCH] ppc64: iSeries console: cleanup after tty_write user copies removal This patch just removes more of the infrastructure in the PPC64 iSeries console driver that is no longer needed since we no longer need to do copies from user mode in the tty drivers. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.200, 2004-10-28 08:18:50-07:00, jmorris@redhat.com [PATCH] SELinux: fix sidtab locking bug This patch by Kaigai Kohei fixes a bug in the SELinux sidtab code, where we do a spin_unlock_irq() while nested under another irq lock, which enables interrupts and allows a deadlock to happen: sidtab_set() is called between POLICY_WRLOCK and POLICY_WRUNLOCK in services.c:1092. sidtab_set() uses SIDTAB_LOCK()/SIDTAB_UNLOCK(), but SIDTAB_UNLOCK() enables any interruptions because it's defined as spin_unlock_irq(). If an interruption occurs between SIDTAB_UNLOCK() and POLICY_WRUNLOCK, and interruption context try to hold the POLICY_RDLOCK, then a deadlock happen in the result. The solution is to save & restore flags on the inner lock, per the patch below. Signed-off-by: James Morris Signed-off-by: Stephen Smalley Signed-off-by: Kaigai Kohei Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.199, 2004-10-28 08:18:38-07:00, jmorris@redhat.com [PATCH] SELinux: fix netif bugs and simplify. This patch fixes and simplifies locking in the SELiunux netif cache. An old problem (which I forgot about) is fixed where a netif lookup can be followed by a preemption, causing a race against sel_netif_put(). Kaigai Kohei discovered a problem where netif lookups were also not protected against races with sel_netif_flush(). The code has now been reworked to fix these problems, eliminate the refcounting and remove atomic operations entirely from the read path (generally making better use of RCU). The avc entry ref has been removed as part of this simplification in anticipation of an RCU scalability patch which removes them in general. Signed-off-by: James Morris Signed-off-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.198, 2004-10-28 08:18:25-07:00, jgarzik@pobox.com [PATCH] add nth_page() Provide a function to get the pageframe number of the nth page at scatterlist.page. We cannot just index off scatterlist.page because the physically-contiguous pages may not be contiguous in mem_map[]. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.197, 2004-10-28 08:18:13-07:00, hugh@veritas.com [PATCH] anon cris align address_space CRIS does not demand alignment, so PageAnon's PAGE_MAPPING_ANON bit got mixed up with the low bit of the struct address_space *mapping pointer. Patch based on that from Mikael Starvik, but moved the alignment to the declaration of struct address_space itself, and align to sizeof(long) so it's well-aligned on all architectures. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.196, 2004-10-28 08:18:00-07:00, hugh@veritas.com [PATCH] tmpfs truncate latency High latency observed when deleting a large video file from tmpfs. shmem_truncate held info->lock (easily dropped) and nested atomic kmaps (more awkward to handle, since it's structured to keep them) while scanning the many pages of its swap vector. Now be prepared to cond_resched every 64 ops (but scan an empty page in one go). shmem_free_pages to free a linked list of empty swap vector pages at the end (cond_resched every 64): could still free them one by one in the main loop, but this foreshadows scalability changes - which will want to use RCU on them, only freeing the pages after a grace period. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.195, 2004-10-28 08:17:47-07:00, hugh@veritas.com [PATCH] omit CommitAvail CommitLimit was a good addition to /proc/meminfo, but we don't usually show both what's used and what's free: don't waste lines of screenspace, omit CommitAvail, let the user do the arithmetic as with all the others. And in updating that Documentation, removed the long-gone ReverseMaps. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.194, 2004-10-28 08:17:35-07:00, hugh@veritas.com [PATCH] statm: fix negative data The sixth "data" field of /proc/$pid/statm was sometimes negative: text is a subset of shared_vm, and so was subtracted twice from total_vm. Signed-off-by: Hugh Dickins Acked-by: William Irwin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.193, 2004-10-28 08:17:23-07:00, hugh@veritas.com [PATCH] statm: shared = rss - anon_rss The third "shared" field of /proc/$pid/statm in 2.4 was a count of pages in the mm whose page_count is more than 1 (oddly, including pages shared just with swapcache). That's too costly to calculate each time, so 2.6 changed it to the total file-backed extent. But Andrea knows apps and users surprised when (rss - shared) goes negative: we need to provide an rss-like statistic, close to the 2.4 interpretation. Something that's quick and easy to maintain accurately is mm->anon_rss, the count of anonymous pages in the mm. Then shared = rss - anon_rss gives a pretty good and meaningful approximation to 2.4's intention: wli confirms that this will be useful to Oracle too. Where to show it? I think it's best to treat this as a bugfix and show it in the third field of /proc/$pid/statm, after resident, as before - there's no evidence that the total file-backed extent was found useful. Albert would like other fields to revert to page counts, but that's a lot harder: if mprotect can change the category of a page, then it can't be accounted as simply as this. Only go that route if real need shown. Signed-off-by: Hugh Dickins Acked-by: William Irwin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.192, 2004-10-28 08:17:10-07:00, hugh@veritas.com [PATCH] statm: __vm_stat_accounting The procfs shared_vm accounting in do_mmap_pgoff didn't balance with munmap in the case of shared anonymous: because file comes in NULL, whereas vm_file gets set at the end by shmem_zero_setup. Update file; and update vm_flags (a driver is likely to add VM_IO or VM_RESERVED, modifying reserved_vm); and update pgoff (doesn't affect procfs accounting, but could affect vma_merge - though at present all drivers which modify vm_pgoff set a VM_SPECIAL which prevents merging). And do that __vm_stat_account before advancing to make_pages_present. Signed-off-by: Hugh Dickins Acked-by: William Irwin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.191, 2004-10-28 08:16:58-07:00, hugh@veritas.com [PATCH] shmem NUMA policy spinlock The NUMA policy for shared memory or tmpfs page allocation was protected by a semaphore. It helps to improve scalability if we change that to a spinlock (and there's only one place that needs to drop and reacquire). Oh, and don't even bother to get the spinlock while the tree is empty. Acked-by: Andi Kleen Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.190, 2004-10-28 08:16:45-07:00, dhowells@redhat.com [PATCH] move key_init to security_initcall During system boot many probes, etc. will generate upcalls to userspace via call_usermodehelper(). This has the effect of calling execve() before the key subsystem has been initialized, and thus Oopsing on a NULL key_jar during key_alloc(). Move key_init to security_initcall so that it's called along with other security initialization routines which have similar requirements. Signed-off-by: Chris Wright Signed-off-by: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.1.36, 2004-10-28 16:16:03+01:00, aia21@cantab.net NTFS: Implement extension of resident files in the regular file write code paths (fs/ntfs/aops.c::ntfs_{prepare,commit}_write()). At present this only works until the data attribute becomes too big for the mft record after which we abort the write returning -EOPNOTSUPP from ntfs_prepare_write(). Signed-off-by: Anton Altaparmakov ChangeSet@1.2026.1.35, 2004-10-28 16:07:13+01:00, aia21@cantab.net NTFS: In fs/ntfs/aops.c::ntfs_writepage(), if t he page is fully outside i_size, i.e. race with truncate, invalidate the buffers on the page so that they become freeable and hence the page does not leak. Signed-off-by: Anton Altaparmakov ChangeSet@1.2036, 2004-10-28 04:40:45-04:00, len.brown@intel.com Merge ChangeSet@1.1803.119.41, 2004-10-28 04:33:10-04:00, len.brown@intel.com [ACPI] fix video module unload oops Signed-off-by: Luming Yu Signed-off-by: Len Brown ChangeSet@1.1803.119.40, 2004-10-28 02:42:56-04:00, len.brown@intel.com [ACPI] create ACPI-based PNP driver. With this driver, legacy device drivers (floppy ACPI driver, COM ACPI driver, and ACPI motherboard driver) which directly use ACPI can be removed, since now we have unified PNP interface for legacy ACPI enumerated devices. Originally by Matthieu Castet Signed-off-by: Li Shaohua Signed-off-by: Len Brown ChangeSet@1.1803.119.39, 2004-10-28 02:25:50-04:00, len.brown@intel.com [ACPI] export acpi_match_ids() Signed-off-by: David Shaohua Li Signed-off-by: Len Brown ChangeSet@1.1803.119.38, 2004-10-28 02:17:14-04:00, len.brown@intel.com [ACPI] introduces acpi_penalize_isa_irq() to to avoid PCI devices use IRQ of legacy PNP devices. Signed-off-by: David Shaohua Li Signed-off-by: Len Brown ChangeSet@1.1803.119.37, 2004-10-28 02:11:14-04:00, len.brown@intel.com 8250_pnp serial_req.port_high fix for Tiger Signed-off-by: David Shaohua Li Signed-off-by: Len Brown ChangeSet@1.1803.119.36, 2004-10-28 01:51:54-04:00, len.brown@intel.com [PATCH] apply recent ES7000 ACPI interrupt fix to MPS mode Before: IRQ26 -> 0:10-> 1:2 IRQ27 -> 0:11-> 1:3 After: IRQ26 -> 1:2 IRQ27 -> 1:3 IRQ58 -> 0:10 IRQ59 -> 0:11 Signed-off-by: Natalie Protasevich Signed-off-by: Len Brown ChangeSet@1.1803.119.35, 2004-10-28 01:07:53-04:00, len.brown@intel.com [ACPI] C1 fixes when processor driver is loaded honor "halt=" cmdline parameter use monitor/mwait when available http://bugzilla.kernel.org/show_bug.cgi?id=2280 Signed-off-by: Venkatesh Pallipadi Signed-off-by: Len Brown ChangeSet@1.2026.32.6, 2004-10-27 21:34:02-07:00, herbert@gondor.apana.org.au [ETHTOOL]: Enforce SG requires TX csum rule. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2026.32.5, 2004-10-27 21:32:34-07:00, herbert@gondor.apana.org.au [XFRM]: Don't panic in xfrm_user_init Since xfrm_user can be built as a module it's best not to panic when something goes wrong in xfrm_user_init. Call me a wimp for not fixing netlink_kernel_init's return value :) Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2026.32.4, 2004-10-27 21:31:44-07:00, herbert@gondor.apana.org.au [NETLINK]: Check netlink_insert in kernel_create This patch checks the return value of netlink_insert() in netlink_kernel_create(). It could fail if someone loads the same module twice for instance. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2026.10.188, 2004-10-27 21:14:44-07:00, gerg@snapgear.com [PATCH] update total_vm on non-MMU configurations This patch fixes 3 problems with the nommu.c support code: 1. export mem_map and vmtruncate (to make them the same as MMU version) 2. update the total_vm usage in mmap routines Without this the OOM killer has no "badness" points to rate processes on... This patch was originally submitted by Giovanni Casoli for a 2.4.26 kernel. I applied it to the 2.6.9 code. 3. provide stub for arch_get_unmapped_area Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.187, 2004-10-27 21:14:32-07:00, gerg@snapgear.com [PATCH] support all relocation types for m68knommu modules Add code to support the apply_relocate_add() function, needed to support all relocation types of the m68k and Coldfire families. This code is straight out of the m68k support for this. Patch was originally from Christian Magnusson Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.186, 2004-10-27 21:14:20-07:00, gerg@snapgear.com [PATCH] remove other unused shglcores.h include Remove remaining unused shglcores.h include. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.185, 2004-10-27 21:14:07-07:00, gerg@snapgear.com [PATCH] remove unused shglcore.h include Remove unused shglcore.h include. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.184, 2004-10-27 21:13:57-07:00, gerg@snapgear.com [PATCH] clean up HZ definition Clean up the definition of HZ on m68knommu systems. There is really only a couple of cases to handle, most boards use the traditional 100Hz still. Only special case out those that don't. The current code is just spaghetti. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.183, 2004-10-27 21:13:44-07:00, gerg@snapgear.com [PATCH] remove unused shglcore support Remove unused SHGLCORE support. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.182, 2004-10-27 21:13:32-07:00, gerg@snapgear.com [PATCH] remove uneeded includes (5307/config.c) Remove uneeded includes. asm/delay.h is not needed here. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.181, 2004-10-27 21:13:20-07:00, gerg@snapgear.com [PATCH] remove uneeded includes (5249/config.c) Remove uneeded includes. asm/delay.h is not needed here. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.180, 2004-10-27 21:13:07-07:00, gerg@snapgear.com [PATCH] remove uneeded includes (5206e/config.c) Remove uneeded includes. asm/delay.h is not needed here. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.179, 2004-10-27 21:12:55-07:00, gerg@snapgear.com [PATCH] remove unused include in m68knommu mm/memory.c Remove unused shglcore.h include from m68knommu/mm/memory.c That file will be removed in an upcoming patch. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.178, 2004-10-27 21:12:43-07:00, gerg@snapgear.com [PATCH] remove unused include in m68knommu mm/init.c Remove unused shglcore.h include from m68knommu/mm/init.c That file will be removed in an upcoming patch. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds ChangeSet@1.2026.34.1, 2004-10-27 22:59:13-04:00, jgarzik@pobox.com [libata] cosmetic libata.h changes to make merging with 2.4 easier ChangeSet@1.2026.10.177, 2004-10-27 18:50:42-07:00, torvalds@ppc970.osdl.org Fix kbuild problem with O= Kbuild can't fix up "-I $(src)/.." to the right directory due to the particular magic transformations it does on -I arguments. Remove the space, use "-I$(src)/.." and it works. Hopefully Sam will fix this build issue. I think somebody should dress up as scripts/Makefile.lib for Halloween. Now _that_ would be scary. ChangeSet@1.2026.10.176, 2004-10-27 18:25:29-07:00, torvalds@ppc970.osdl.org Fix atyfb modular build on ppc. Noted by Al Viro, superhacker and endlessly patient person. Sign up today! You too can become a superhacker by setting up a cross-compile environment for all architectures and building "allmodconfig" trees all day long to find places where others have screwed up. ChangeSet@1.2026.10.175, 2004-10-27 18:16:37-07:00, randolph@tausq.org [PATCH] Fix cc-option call for xcompiles If an arch Makefile overrides CROSS_COMPILE (e.g. parisc, mips, ...) then the cc-option call in the main Makefile uses the wrong compiler to check for options. Signed-off-by: Randolph Chung Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.174, 2004-10-27 18:16:25-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] FB_INTEL Kconfig breakage FB_INTEL selects AGP_INTEL (i.e. intel-agp.c), which is i386-only. AGP_INTEL itself depends on X86 && !X86_64 and for a good reason - it doesn't build elsewhere. Added dependency to FB_INTEL itself; as it is allmodconfig had been broken on everything outside i386. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds ChangeSet@1.2026.32.3, 2004-10-27 16:33:17-07:00, greearb@candelatech.com [VLAN]: Sync code and feature set with 2.4.x Signed-off-by: David S. Miller ChangeSet@1.2026.31.4, 2004-10-27 15:56:14-07:00, trini@kernel.crashing.org ppc32: Remove sandpoint_early_serial_map() This was causing problems and isn't needed. Signed-off-by: Randy Vinson Signed-off-by: Tom Rini ChangeSet@1.2026.5.29, 2004-10-27 23:23:24+01:00, nico@org.rmk.(none) [ARM PATCH] 2080/1: clean up io-{read|write}sl Patch from Nicolas Pitre - eliminate difference between ARMv3 and ARMv4 versions of io-readsl - unified little/big endian support - misc optimisations Signed-off-by: Nicolas Pitre ChangeSet@1.2026.31.3, 2004-10-27 15:07:39-07:00, trini@kernel.crashing.org ppc32: Fix warning in gen550 code. In gen550_dbg.c, cast addr in our direct_inb/oub routines to __iomem. Signed-off-by: Randy Vinson Signed-off-by: Tom Rini ChangeSet@1.2026.31.2, 2004-10-27 15:05:27-07:00, trini@kernel.crashing.org ppc32: Move request_irq() calls to arch_initcall() functions request_irq() needs to be called a bit later than we were doing before, causing crashes. Signed-off-by: Randy Vinson Signed-off-by: Tom Rini ChangeSet@1.2016.1.6, 2004-10-27 23:58:00+02:00, marcel@holtmann.org [Bluetooth] Allow vendor specific packet types The vendor packet type 0xff is not handled at the moment. This patch corrects this behaviour and also adapts the security filter for this packet type. Signed-off-by: Marcel Holtmann ChangeSet@1.2026.30.5, 2004-10-27 22:56:28+01:00, rmk@flint.arm.linux.org.uk [MMC] Deprecate "req" member of mmc_data structure. Host drivers should now use the scatterlist rather than accessing the request directly. This marks the request pointer as being deprecated so that host driver authors get a chance to fix their drivers up before we remove this member. ChangeSet@1.2016.1.5, 2004-10-27 23:48:28+02:00, marcel@holtmann.org [Bluetooth] Fix another disconnect race When the selecting of the alternate setting for the SCO audio support fails, the hci_usb_disconnect() will dereference a NULL pointer. To avoid this, the isoc_iface variable must be set before releasing the interface and unset afterwards. Signed-off-by: Marcel Holtmann ChangeSet@1.2026.5.28, 2004-10-27 22:44:54+01:00, tony@com.rmk.(none) [ARM PATCH] 2173/1: OMAP update 7/8, take 3: Add PM support Patch from Tony Lindgren This patch by Dirk Behme, Todd Poynor et al adds power management support for OMAP. Suspend works on at least 1510 and 16xx. Signed-off-by: Tony Lindgren ChangeSet@1.2026.30.4, 2004-10-27 22:39:45+01:00, rmk@flint.arm.linux.org.uk [MMC] Switch PXAMCI to use supplied scatterlist. This converts the PXA MCI driver to use the supplied scatter list rather than accessing the struct request directly, thereby making this host driver independent of the block layer. We also clean up the driver to use a consistent driver name for resources. ChangeSet@1.2016.1.4, 2004-10-27 23:35:49+02:00, marcel@holtmann.org [Bluetooth] Ignore the BPA 100/105 devices The BPA 100/105 devices from Digianswer identify themself with the USB class code for H:2 devices, but they are using quite a different host transport protocol and so ignore them. Signed-off-by: Marcel Holtmann ChangeSet@1.2026.25.21, 2004-10-27 14:35:28-07:00, chas@relax.cmf.nrl.navy.mil [ATM]: don't leak skb on as_indicate failure; don't wakeup twice on as_close Signed-off-by: Chas Williams Signed-off-by: David S. Miller ChangeSet@1.2026.10.168, 2004-10-27 14:35:24-07:00, torvalds@ppc970.osdl.org Fix up "compat_sys_keyctl()" system call. Fix name, and make sure that it's listed as a conditional system call so that we stub it out to ENOSYS if the kernel isn't compiled with key management support. ChangeSet@1.2026.25.20, 2004-10-27 14:30:35-07:00, davem@nuts.davemloft.net Merge bk://kernel.bkbits.net/acme/sk_buff-2.6 into nuts.davemloft.net:/disk1/BK/net-2.6 ChangeSet@1.2026.25.19, 2004-10-27 14:27:50-07:00, laforge@netfilter.org [NET]: Fix NLM_F_MULTI in tcp_diag and xfrm_user Signed-off-by: Harald Welte Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2026.25.18, 2004-10-27 14:24:02-07:00, tgraf@suug.ch [PKT_SCHED]: Remove bogus lock and make cls_set_class return unsigned long. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.30.3, 2004-10-27 21:47:06+01:00, rmk@flint.arm.linux.org.uk [MMC] Remove block knowledge from MMCI driver. Convert MMCI driver to use the scatter list provided by the upper MMC layers. This removes all knowledge of struct request from the MMCI driver. ChangeSet@1.2026.30.2, 2004-10-27 21:38:11+01:00, rmk@flint.arm.linux.org.uk [MMC] Add support for passing scatterlists to MMC host drivers. This is intended to remove block layer knowledge from MMC host drivers. Host drivers are expected to use the scatter list for data transfers rather than accessing the struct request. ChangeSet@1.2026.10.167, 2004-10-27 13:36:23-07:00, hollisb@us.ibm.com [PATCH] HVSI reset support This patch adds support for when the service processor (the other end of the console) resets due to a critical error; we can resume the connection when it comes back. Signed-off-by: Hollis Blanchard Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.166, 2004-10-27 13:36:10-07:00, hollisb@us.ibm.com [PATCH] HVSI early boot console This patch adds support for the udbg early console interfaces when using an HVSI console. Signed-off-by: Hollis Blanchard Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.165, 2004-10-27 13:35:58-07:00, hollisb@us.ibm.com [PATCH] HVSI hangup oops Testing revealed that the HVSI driver could oops if carrier detect dropped mid-data transfer. This fixes it by properly locking the hangup. Signed-off-by: Hollis Blanchard Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.164, 2004-10-27 13:34:52-07:00, dhowells@redhat.com [PATCH] ppc/ppc64: hook up key management syscalls The attached patch permits my key management stuff to be used on PPC, PPC64 and PPC on PPC64. Syscall numbers were allocated by Paul Mackerras. I've updated my keyctl utility to work on PPC/PPC64 too: http://people.redhat.com/~dhowells/keys/keyctl.c Signed-Off-By: David Howells Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.163, 2004-10-27 13:16:54-07:00, torvalds@ppc970.osdl.org Don't ask the user for esoteric compiler tweaks by default. You can get all the kernel tweaking if you say yes to EMBEDDED, which exposes questions that make sense only for experts. ChangeSet@1.2026.30.1, 2004-10-27 21:09:49+01:00, rmk@flint.arm.linux.org.uk [MMC] Fix incorrectly balanced spin_lock_irq() ChangeSet@1.2026.5.27, 2004-10-27 21:02:08+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2172/1: S3C2410 - clock updates Patch from Ben Dooks This patch does the following: - move the clock initialisation to just after the cpu init - add the two clocks for the s3c2440 - add dclk0/1 and clkout0/1 definitions - add list of clocks to the board specific struct - fix initialisation of the clock control - update handling of parent clocks for >1 parent this fixes the following problems: - serial console with no clock sources - clocks specific to various boards - hang if LCD controller enabled at start time Signed-off-by: Ben Dooks ChangeSet@1.2026.5.26, 2004-10-27 20:57:05+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2139/1: BAST - Power management initialisation Patch from Ben Dooks Allow power managemnet support for the Simtec EB2410ITX (BAST) Signed-off-by: Ben Dooks ChangeSet@1.2026.5.25, 2004-10-27 20:46:58+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2161/1: S3C2410 - uncompressor low level uart configuration Patch from Ben Dooks Allow the uncompressing messages to be sent to the UART specified in the kernel configuration, instead of just UART 0. This includes the Kconfig update to make this option available all the time, and to rename it's description text. This patch also fixes s3c2440 support for the uncompressor Signed-off-by: Ben Dooks ChangeSet@1.2026.5.24, 2004-10-27 20:42:02+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2159/1: BAST - include/asm-arm/arch-s3c2410/bast-pmu.h Patch from Ben Dooks Header file for BAST Power Management unit register definitions Signed-off-by: Ben Dooks ChangeSet@1.2026.5.23, 2004-10-27 20:37:05+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2158/1: S3C2410 - clean warnings from arch/arm/mach-s3c2410/pm.c Patch from Ben Dooks Clean warnings about unsigned long / unsigned int printk args and update comment on debugging Depends on patch 2134/3 Signed-off-by: Ben Dooks ChangeSet@1.2026.5.22, 2004-10-27 20:32:05+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2157/2: S3C2410 - default configuration update Patch from Ben Dooks Updated default configurations for s3c2410 and bast Signed-off-by: Ben Dooks ChangeSet@1.2026.5.21, 2004-10-27 20:27:05+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2156/1: S3C2410 - Documentation updates Patch from Ben Dooks Update the following in Documentation/arm/Samsing-S3C24XX/ - mtd merge update - list of contributors - change history Signed-off-by: Ben Dooks ChangeSet@1.2026.5.20, 2004-10-27 20:22:06+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2155/1: S3C2410 - fix definition of S3C2410_UDC_MAXP_REG Patch from Ben Dooks Attached is the fix for the S3C2410_UDC_MAXP_REG definition. Signed-off-by: Ben Dooks Signed-off-by: Arnaud Patard ChangeSet@1.2026.5.19, 2004-10-27 20:16:54+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2152/1: S3C2410 - lcd controller register fixes Patch from Ben Dooks Fix the mis-definition of the following registers / bits in the s3c2410 LCD controller register header: - S3C2410_LCDCON1_MMODE - S3C2410_LCDCON1_ENVID - S3C2410_LCDCON3_HBPD - S3C2410_LCDCON3_WDLY and adds the following missing register definitoons - S3C2410_LCDBANK - S3C2410_LCDBASEU - S3C2410_OFFSIZE - S3C2410_PAGEWIDTH thanks to Arnaud Patard for finding these problems Signed-off-by: Ben Dooks Signed-off-by: Arnaud Patard ChangeSet@1.2026.5.18, 2004-10-27 20:11:45+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2151/1: S3C2410 - fix guard on include/asm-arm/arch-s3c2410/regs-iic.h Patch from Ben Dooks fix guard define so it does not clash with another header file. Signed-off-by: Ben Dooks ChangeSet@1.2026.5.17, 2004-10-27 20:06:52+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2149/1: S3C2410 - usb-simtec.c fixes and cleanup Patch from Ben Dooks This patch does the following - removes the setup code to change device/host behaviour, which does not belong here - tidies up the debug output - fixes the call to free_irq() to pass the right info - ensures the usb code is notified when the over-current condition is removed Signed-off-by: Ben Dooks ChangeSet@1.2026.5.16, 2004-10-27 20:01:54+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2148/1: S3C2410 - I2C platfrom data Patch from Ben Dooks Attached is the include file for the i2c platform data for the s3c2410/s3c2440 I2C controller Signed-off-by: Ben Dooks ChangeSet@1.2026.5.15, 2004-10-27 19:56:42+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2147/1: S3C2410 - reorganise board support Patch from Ben Dooks this patch makes the following changes: - renames struct s3c2410_board to s3c24xx_board - moves board registration into cpu.c Signed-off-by: Ben Dooks ChangeSet@1.2026.5.14, 2004-10-27 19:51:45+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2146/1: S3C2410 - serial fixes and s3c2440 updates Patch from Ben Dooks fixes the following: - no debug output in the head code for either s3c2410 or s3c2440 - fifo size calculation in the low-level debugging code - serial constants for s3c2440 serial fifo sizes - added s3c2440 support for uncompress.h Signed-off-by: Ben Dooks ChangeSet@1.2026.5.13, 2004-10-27 19:46:36+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2138/1: S3C2410 - Power Management documentation (4/4) Patch from Ben Dooks Documentation for the suspend and resume code in Documentation/arm/Samsung-S3C24XX/Suspend.txt Signed-off-by: Ben Dooks ChangeSet@1.2026.5.12, 2004-10-27 19:41:32+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2136/1: S3C2410 - Power Management IRQ wakeup (3/4) Patch from Ben Dooks Allow all wake-up capable IRQs to be configured as such Signed-off-by: Ben Dooks ChangeSet@1.2026.29.4, 2004-10-27 11:36:56-07:00, tony.luck@intel.com [IA64] fix(?) unwind data for ia64_monarch_init_handler Roland> I can see the ERROR: comes from unwcheck.pl but I have no Roland> idea what it is checking (something to do with unwind info?) Roland> let alone how to fix the problem. Roland> Is this benign or is there something to be fixed? David> Both: it needs to be fixed, but it's (mostly) benign since the only David> time we're executing that code is when the unwinder can't run anyhow, David> since we're in the middle of delivering an MCA. That may (and David> probably will) change in the future, so it's something that should be David> fixed. David> I was hoping someone who knows and could test the MCA code better David> would fix it but that hasn't happened yet, so it's time for plan B. David> Tony, below is a patch that fixes the unwind info enough that the David> warning/error goes away. The unwind-info may not be 100% correct David> though. Someone who can test/exercise this code may want to check on David> that. Signed-off-by: Tony Luck ChangeSet@1.2026.5.11, 2004-10-27 19:36:30+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2135/3: S3C2410 - Power Management timer resume (2/4) Patch from Ben Dooks Support for restarting the system timer after a suspend-resume cycle. Also fixes the following - missed partial setup for BAST and VR1000 - added IPAQ RX3715 timer setup Signed-off-by: Ben Dooks ChangeSet@1.2026.5.10, 2004-10-27 19:31:31+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2134/3: S3C2410 - Power Management core (1/4) Patch from Ben Dooks Core support for S3C2410 suspend to SDRAM Signed-off-by: Ben Dooks ChangeSet@1.2026.5.9, 2004-10-27 19:15:23+01:00, tony@com.rmk.(none) [ARM PATCH] 2170/1: OMAP update 2/8, take 2: Arch files Patch from Tony Lindgren This patch syncs the mainline kernel with the linux-omap tree. The highlights of the patch are: - Collapse OMAP 1610, 6912 and 1710 into one processor group 16xx - USB updates by David Brownell - Pin multiplexing updates by David Brownell - Board specific low level serial port init Signed-off-by: Tony Lindgren ChangeSet@1.2026.10.162, 2004-10-27 10:38:53-07:00, hunold@linuxtv.org [PATCH] DVB: misc. updates to frontend drivers - [DVB] add legacy DishNetwork support to dvb core and stv0299, thanks to Jeremy Hall - [DVB] mt352: major cleanup, support DVICO FusionHDTV DVB-T, thanks to Christopher Pascoe Signed-off-by: Michael Hunold Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.161, 2004-10-27 10:38:38-07:00, hunold@linuxtv.org [PATCH] DVB: revamp dibusb driver - [DVB] dibusb: update documentation for the dibusb DVB driver - [DVB] dibusb: major overhaul of the driver, including adding new vendor and product ids from clones Signed-off-by: Michael Hunold Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.160, 2004-10-27 10:38:21-07:00, hunold@linuxtv.org [PATCH] DVB: add new driver - [DVB] add new driver for the Terratec CinergyT2/qanu USB2 DVB-T receiver, thanks to Daniel Mack and Holger Waechtler Signed-off-by: Michael Hunold Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.159, 2004-10-27 10:38:00-07:00, hunold@linuxtv.org [PATCH] DVB: misc. updates to the dvb-core - [DVB] ttusb_dec: add new 2000T type model number - [DVB] dvb_ca_en50221: properly zero out private pointer - [DVB] dvb-bt8xx: properly use a mutex when starting/stopping the dma engine, remove card list, it's not need anymore - [DVB] bt878: fix hex <=> dec typo (missing 0x prefix), mark remove bt878_remove() function __devexit_p - [DVB] dvb-core: add dvb_net_debug module parameter, remove some dead code Signed-off-by: Michael Hunold Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.158, 2004-10-27 10:37:48-07:00, hunold@linuxtv.org [PATCH] DVB: rework debugging in av7110 - [DVB] av7110: switch from stupid DEB_xx() debug macros to saner dprintk() style debugging - [DVB] av7110: fix dvb-ttpci ca write() polling - [DVB] budget: switch from stupid DEB_xx() debug macros to saner dprintk() style debugging Signed-off-by: Michael Hunold Signed-off-by: Linus Torvalds ChangeSet@1.2026.29.3, 2004-10-27 17:07:16+00:00, steiner@sgi.com [IA64-SGI] Update asm-ia64/sn/sn_cpuid.h macros (I missed a file in the cleanup code that I sent yesterday.) SGI SN code currently makes assumptions about the bits in the LID register. These assumptions do not conform to the bit specifications from Intel. For example, SN currently assumes that bits [28:16] of the LID contain the physical node ID of a node. This patch eliminates these assumptions. A SAL call is now used to translate LID values to the NASID/subnode/slice values that are needed for SN platforms. The results of the SAL call are saved in the SN nodepda. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck ChangeSet@1.2026.29.2, 2004-10-27 16:21:44+00:00, jbarnes@sgi.com [IA64] fix machine vectors for mmiowb I left out some of the necessary machine vector magic in the mmiowb patch which caused the generic build to break. This patch fixes it up by properly #defining it and #undefing it and adding a routine to lib/io.c. Signed-off-by: Jesse Barnes Signed-off-by: Tony Luck ChangeSet@1.2026.5.8, 2004-10-27 14:29:04+01:00, rmk@flint.arm.linux.org.uk [ARM] Group linux/* includes together in mcbsp.c ChangeSet@1.2026.5.7, 2004-10-27 14:19:43+01:00, tony@com.rmk.(none) [ARM PATCH] 2169/1: OMAP update 8/8: McBSP update Patch from Tony Lindgren Patch by Samuel Ortiz to update OMAP McBSP support Signed-off-by: Tony Lindgren ChangeSet@1.2026.5.6, 2004-10-27 14:11:54+01:00, tony@com.rmk.(none) [ARM PATCH] 2167/1: OMAP update 6/8: Add graphics acceleration support to DMA Patch from Tony Lindgren This patch by Imre Deak adds support for graphics acceleration features on the OMAP DMA controller. Signed-off-by: Tony Lindgren ChangeSet@1.2026.5.5, 2004-10-27 13:59:24+01:00, tony@com.rmk.(none) [ARM PATCH] 2166/1: OMAP update 5/8: Change OMAP to use generic clock framework Patch from Tony Lindgren This patch by Tuukka Tikkanen changes OMAP to use ARM generic clock framework instead of older OMAP specific clock framework. Patch replaces old clocks.c with new clock.[ch]. Signed-off-by: Tony Lindgren ChangeSet@1.2026.1.32, 2004-10-27 13:53:09+01:00, aia21@cantab.net NTFS: Check for location of attribute name and improve error handling in general in fs/ntfs/inode.c::ntfs_read_locked_inode() and friends. Signed-off-by: Anton Altaparmakov ChangeSet@1.2026.5.4, 2004-10-27 13:50:45+01:00, tony@com.rmk.(none) [ARM PATCH] 2165/1: OMAP update 4/X: Replace 1610 and 5912 header files with 16xx Patch from Tony Lindgren This patch replaces old OMAP headers for 1610 and 5912. These headers are replaced with a common omap16xx.h header file. Signed-off-by: Tony Lindgren ChangeSet@1.2026.5.3, 2004-10-27 13:41:41+01:00, tony@com.rmk.(none) [ARM PATCH] 2164/1: OMAP update 3/8: Include files Patch from Tony Lindgren This patch syncs the mainline kernel with the linux-omap tree. The highlights of the patch are: - Collapse OMAP 1610, 6912 and 1710 into one processor group 16xx - USB updates by David Brownell - Pin multiplexing updates by David Brownell - Board specific low level serial port init Signed-off-by: Tony Lindgren ChangeSet@1.2026.5.2, 2004-10-27 13:07:27+01:00, tony@com.rmk.(none) [ARM PATCH] 2162/1: OMAP update 1/8: Improved cpu detection and serial init Patch from Tony Lindgren This patch improves the OMAP cpu detection during the boot, and adds board-specific init for the serial ports. Signed-off-by: Tony Lindgren ChangeSet@1.2026.1.31, 2004-10-27 11:41:35+01:00, aia21@cantab.net NTFS: Ensure the mft record size does not exceed the PAGE_CACHE_SIZE at mount time as this cannot work with the current implementation. Signed-off-by: Anton Altaparmakov ChangeSet@1.2026.25.17, 2004-10-26 21:50:42-07:00, herbert@gondor.apana.org.au [NETLINK]: Remove netlink_sock_nr This patch removes netlink_sock_nr which is only used by a printk statement in af_netlink.c. Even that's only there if NETLINK_REFCNT_DEBUG is defined. If we were really looking for netlink refcnt bugs there are probably better places to do that anyway. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2026.24.12, 2004-10-26 23:50:29+00:00, tony.luck@intel.com [IA64] Need for GRANULEROUNDDOWN Alex's change for mem=/max_addr= now needs to include meminit.h Signed-off-by: Tony Luck ChangeSet@1.2026.24.11, 2004-10-26 23:50:13+00:00, pfg@sgi.com [IA64-SGI] only allocate irq if the device can interrupt Signed-off-by: Patrick Gefre Acked-by: Mike Habeck Signed-off-by: Tony Luck ChangeSet@1.2026.24.10, 2004-10-26 23:49:56+00:00, steiner@sgi.com [IA64-SGI] Delete simulator support from SN idle loop Delete hack for supporting simulator for SN platforms. This capability has been moved into the simulator environment & is no longer required in the kernel. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck ChangeSet@1.2026.24.9, 2004-10-26 23:49:38+00:00, steiner@sgi.com [IA64-SGI] Update asm-ia64/sn/sn_cpuid.h macros SGI SN code currently makes assumptions about the bits in the LID register. These assumptions do not conform to the bit specifications from Intel. For example, SN currently assumes that bits [28:16] of the LID contain the physical node ID of a node. This patch eliminates these assumptions. A SAL call is now used to translate LID values to the NASID/subnode/slice values that are needed for SN platforms. The results of the SAL call are saved in the SN nodepda. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck ChangeSet@1.2026.25.16, 2004-10-26 16:41:27-07:00, davem@nuts.davemloft.net [PKT_SCHED]: Make net/tc_act/tc_pedit.h include net/act_api.h Signed-off-by: David S. Miller ChangeSet@1.2026.21.2, 2004-10-26 19:39:53-04:00, jgarzik@pobox.com [libata] use kunmap_atomic() correctly ChangeSet@1.2026.25.15, 2004-10-26 16:31:24-07:00, hadi@cyberus.ca [PKT_SCHED]: Add generic packet editor. Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller ChangeSet@1.2026.28.1, 2004-10-26 16:18:39-07:00, zach@vmware.com [PATCH] faster signal handling on x86 Optimize away the unconditional write to debug registers on signal delivery path. This is already done on x86_64. We only need to write to dr7 if there is a breakpoint to re-enable, and MOVDR is a serializing instruction, which is expensive. Getting rid of it gets a 33% faster signal delivery path (at least on Xeon - I didn't test other CPUs, so your gain may vary). [ Editors note: it's likely only that slow on Netburst. Serializing is not that expensive, but it is likely that writing to %db7 invalidates the trace cache, which explains why it's so slow on Xeon - it's not just the op itself, it has to re-populate the cache all the time. --- Linus ] Measured delta TSC for three paths on a 2.4GHz Xeon. 1) With unconditional write to dr7 : 800-1000 cycles 2) With conditional write to dr7 : 84-112 cycles 3) With unlikely write to dr7 : 84 cycles Performance test using divzero microbenchmark (3 million divide by zeros): With unconditional write: 7.445 real / 6.136 system 7.529 real / 6.482 system 7.541 real / 5.974 system 7.546 real / 6.217 system 7.445 real / 6.167 system With unlikely write: 5.779 real / 4.518 system 5.783 real / 4.591 system 5.552 real / 4.569 system 5.790 real / 4.528 system 5.554 real / 4.382 system That's about a 33% speedup - more than I expected; apparently getting rid of the serializing instruction makes the do_signal path much faster. Zachary Amsden (zach@vmware.com) ChangeSet@1.2026.25.14, 2004-10-26 16:07:39-07:00, tgraf@suug.ch [PKT_SCHED]: Use new header architecture Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.25.13, 2004-10-26 16:06:57-07:00, tgraf@suug.ch [PKT_SCHED]: Inline psched_tod_diff Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.25.12, 2004-10-26 16:06:11-07:00, tgraf@suug.ch [PKT_SCHED]: Cleanup cls_set_class Clean up a really messy cross reference where a macro cls_set_class in pkt_sched.h would point to a function tcf_set_class in cls_api.c that uses a inlined function __cls_set_class in pkt_sched.h again. Make tcf_set_class be cls_set_class since it was never used and inline it as well. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.25.11, 2004-10-26 16:05:14-07:00, tgraf@suug.ch [PKT_SCHED]: psched_*_per_* can be static Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.25.10, 2004-10-26 16:04:32-07:00, tgraf@suug.ch [PKT_SCHED]: Move tc_classify from pkt_cls.h to sch_api.c tc_classiy has grown too big to be inlined, move it to sch_api.c and export it. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.25.9, 2004-10-26 16:03:13-07:00, tgraf@suug.ch [PKT_SCHED]: Transform pkt_sched.h prototypes to be extern Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.25.8, 2004-10-26 16:02:21-07:00, tgraf@suug.ch [PKT_SCHED]: Remove obsolete definitions in pkt_sched.h Removes all obsolete definitions in pkt_sched.h now in sch_generic.h or act_api.h. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.25.7, 2004-10-26 16:00:53-07:00, tgraf@suug.ch [PKT_SCHED]: Add net/act_api.h with public action/policer bits Adds net/act_api.h containing all public action/policer bits used by schedulers and classifiers Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.25.6, 2004-10-26 15:58:53-07:00, tgraf@suug.ch [PKT_SCHED]: Remove obsolete definitions in pkt_cls.h Removes all obsolete definitions in pkt_cls.h now in sch_generic.h and includes them via sch_generic.h. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.25.5, 2004-10-26 15:57:39-07:00, tgraf@suug.ch [PKT_SCHED]: Add net/sch_generic.h with generic sched definitions. Adds net/sch_generic.h containing all bits directly referenced by schedulers and classifiers. Map of users: Group 1) struct qdisc_rate_table sch_*, tcf_police -> cls_* Could theoretically be moved to pkt_sched.h with Patch 4 but the long term goal it so make net/act_api.h to being dependent on net/pkt_sched.h Group 2) struct Qdisc sch_*, tcf_proto -> cls_* struct Qdisc_ops sch_*, tcf_proto -> cls_* struct Qdisc_class_ops sch_*, tcf_proto -> cls_* struct tcf_proto_ops sch_*, cls_* struct tcf_proto sch_*, cls_* Obviously used by schedulers but also by classifiers to bind classes (tcf_proto -> Qdisc -> Qdisc_ops -> Qdisc_class_ops). tcf_proto OTOH is used by schedulers, (neat cross usage). Group 3) struct tcf_result sch_*, cls_* Used to communicate between scheduler and classifer to report classify result. Group 4) sch_tree_(un)lock sch_*, cls_* tcf_tree_(un)lock sch_*, cls_* qdisc(un)lock_tree sch_*, cls_* Randomly used in schedulers and classifiers. Group 5) tcf_destroy sch_*, cls_api.c Coud theoretically be moved to pkt_sched.h if we include pkt_sched.h in cls_api.c but this is really generic and it seemd cleaner to have it here. This would be the only classifier related action in pkt_sched.h The following types are referenced in sch_generic.h but defined in either pkt_cls.h or pkt_sched.h because they will never be used by the other side: - qdisc_walker (pkt_sched.h) - tcf_walker (pkt_cls.h) Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.25.4, 2004-10-26 15:55:51-07:00, tgraf@suug.ch [PKT_SCHED]: pkt_cls.h needs pkt_sched.h Signed-off-by: David S. Miller ChangeSet@1.2026.26.5, 2004-10-27 00:36:12+02:00, rmk+lkml@arm.linux.org.uk arm: Fix ARM kernel build with permitted binutils versions All ARM binutils versions post 2.11.90 contains an extra "feature" which interferes with the kernel in various ways - extra "mapping symbols" in the ELF symbol table '$a', '$t' and '$d'. This causes two problems: 1. Since '$a' symbols have the same value as function names, this causes anything which uses the kallsyms infrastructure to report wrong values. 2. programs which parse System.map do not expect symbols to start with '$'. Signed-off-by: Russell King Signed-off-by: Sam Ravnborg ===== kernel/module.c 1.120 vs edited ===== ChangeSet@1.2026.26.4, 2004-10-27 00:29:10+02:00, juhl-lkml@dif.dk kconfig: Small spelling fix for MODULE_SRCVERSION_ALL Kconfig Here's a trivial patch fixing a small spelling error in init/Kconfig in the description of MODULE_SRCVERSION_ALL Signed-off-by: Jesper Juhl Signed-off-by: Sam Ravnborg ChangeSet@1.2026.26.3, 2004-10-27 00:27:31+02:00, trini@kernel.crashing.org kbuild: warning fixes on Solaris 9 The following set of patches is based loosely on the patches that Jean-Christophe Dubois came up with for 2.6.7. Where as the original patches added a number of casts to unsigned char, I went the route of making the chars be explicitly signed. I honestly don't know which route is better to go down. Doing this is the bulk of the patch. Out of the rest of the odds 'n ends is that on Solaris, Elf32_Word is a ulong, which means all of the printf's are unhappy (uint format, ulong arg) for most of the typedefs. Signed-off-by: Tom Rini Signed-off-by: Sam Ravnborg ChangeSet@1.2026.26.2, 2004-10-27 00:07:03+02:00, sam@mars.ravnborg.org kbuild/usr: initramfs list fixed and simplified Moving logic to scripts/gen_initramfs_list.sh make a nice cleanup in usr/Makefile. A new initramfs image will be generated if the initramfs_list file changes. This patch also fixes the bug with make O=.. Signed-off-by: Sam Ravnborg ChangeSet@1.2026.10.155, 2004-10-26 22:53:13+02:00, bzolnier@trik.(none) [ide] remove needless exports from ide-taskfile.c Also remove unused MAX_DMA define. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.24.8, 2004-10-26 20:37:32+00:00, steiner@sgi.com [IA64] Delete obsolete code from SGI console driver Delete obsolete code that supports the SGI simulator. This support code has been moved into the fakeprom and is no longer required in the kernel. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck ChangeSet@1.2026.24.7, 2004-10-26 20:33:21+00:00, jasonuhl@sgi.com [IA64] fix pgtable.h comments Remove some statements from comments in whose correctness is page size dependent ... and based on using an 8k page size, which almost nobody actually uses. Signed-off-by: Jason Uhlenkott Signed-off-by: Tony Luck ChangeSet@1.2026.10.154, 2004-10-26 22:19:18+02:00, bzolnier@trik.(none) [ide] add ide_use_dma() Should prevent bugs like the recent piix one in the future. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.10.153, 2004-10-26 21:55:02+02:00, bzolnier@trik.(none) [ide] add pci_get_legacy_ide_irq() This patch adds pci_get_legacy_ide_irq() to the PCI layer for dealing with PCI IDE chipsets that use the "legacy mode" IRQ routing, thus violating the normal PCI routing. The generic implementation provides IRQ numbers 14 and 15, and it adds a ppc64 specific one with platform callbacks so that a plaform can provide different IRQ numbers for "legacy" IDE. I only fixed the amd7xxx.c driver for now, I expect people using this interface will slowly fix their drivers (I will fix via soon as I'll need it too, and maybe a few others). Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.10.152, 2004-10-26 21:53:59+02:00, bzolnier@trik.(none) [ide] remove unused internal exports from ide core From: Arjan van de Ven ide-iops.c exports a few functions that either have no users or have no users AND shouldn't be used by drivers; the patch below unexports them. -EXPORT_SYMBOL(SELECT_INTERRUPT); -EXPORT_SYMBOL(SELECT_MASK); -EXPORT_SYMBOL(QUIRK_LIST); -EXPORT_SYMBOL(ata_vlb_sync); only used in the core ide code -EXPORT_SYMBOL(ata_input_data); -EXPORT_SYMBOL(ata_output_data); drivers should (and do) use the hwif-> function pointer variant of these, these functions are internal and used for setting the default hwif-> function pointers only. No need to export, in fact exporting is only asking for accidents Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.26.1, 2004-10-26 21:50:54+02:00, sam@mars.ravnborg.org Merge bk://linux-sam.bkbits.net/kbuild into mars.ravnborg.org:/home/sam/bk/to-linus ChangeSet@1.2026.25.3, 2004-10-26 12:32:47-07:00, juhl-lkml@dif.dk [NET]: Fix spelling error for IPComp help in Kconfig. Signed-off-by: Jasper Juhl Signed-off-by: David S. Miller ChangeSet@1.2026.25.2, 2004-10-26 12:28:02-07:00, herbert@gondor.apana.org.au [TCP]: Move tcp_get_info() into tcp.c In my recent foray into tcp_diag I discovered some ugly looking ifdef's on CONFIG_IPV6 that'll break when IPv6 is built as a module. In order to fix it, we need to allow tcp_diag to be built as a module. So here is a start. This patch move tcp_get_info from tcp_diag.c into the site of the other caller, tcp.c. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2026.10.151, 2004-10-26 21:27:14+02:00, bzolnier@trik.(none) [ide] pdc202xx_old: PDC20267 needs the same LBA48 fixup as PDC20265 From: Krzysztof Chmielewski Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.24.6, 2004-10-26 19:24:59+00:00, kaos@sgi.com [IA64] Correct references from text/data to init.text/data. These errors were found by 'make buildcheck'. Signed-off-by: Keith Owens Signed-off-by: Tony Luck ChangeSet@1.2026.10.150, 2004-10-26 21:19:43+02:00, bzolnier@trik.(none) [ide] ide-probe: undecoded slave fixup Undecoded slave fixup is a oneliner patch to ide-probe to recognize both of my Maxtor drives that appear to have the same serial number, D3000000. Signed-off-by: tabris@tabris.net Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.24.5, 2004-10-26 19:14:39+00:00, markgw@sgi.com [IA64] sn_hwperf correctly handle bricks with multiple slabs The procfs handler for /proc/sgi_sn/sn_topology did not correctly handle multiple slabs in the same brick, e.g. a brick containing a compute node and an ionode. Signed-off-by: Mark Goodwin Signed-off-by: Tony Luck ChangeSet@1.2026.10.149, 2004-10-26 21:07:19+02:00, bzolnier@trik.(none) [ide] ide-disk: fix /proc/ide/hd?/smart_thresholds Add missing ->data_phase assignment. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.24.4, 2004-10-26 19:03:51+00:00, kaos@sgi.com [IA64] Correct bit test for salinfo oem decode The valid.oem_data bit is in different positions in each section. Make the test for valid oem data a section specific test. Signed-off-by: Keith Owens Signed-off-by: Tony Luck ChangeSet@1.2026.24.3, 2004-10-26 18:41:39+00:00, eranian@hpl.hp.com [IA64] misc small patches for perfmon change-log: - update comment for pfm_do_fasync() - fix return value for pfm_smpl_buffer_alloc(). Now return ENOMEM instead of EAGAIN when buffer too big for RLIMIT_MEMLOCK. - added missing vm_pgoff initialization in pfm_smpl_buffer_alloc() - added flags tro debug print in pfm_write_pmcs - added seed and mask to debug print in pfm_write_pmds - shorten some of the debug prints - remove bogus sanity check from pfm_save_regs() in SMP. this could cause invalid PMU state restore signed-off-by: eranian@hpl.hp.com Signed-off-by: Tony Luck ChangeSet@1.2026.24.2, 2004-10-26 18:36:52+00:00, alex.williamson@hp.com [IA64] efi.c: fix mem= & max_addr= With this change, there's some extra fuzz introduced that a max_addr specification will get rounded down to a granule boundary and memory quantity, when using mem=, will be within a granule size of the requested amount. Let me know if anyone finds more problems with it. Signed-off-by: Alex Williamson Signed-off-by: Tony Luck ChangeSet@1.2000.11.2, 2004-10-26 18:23:18+00:00, akpm@osdl.org [IA64] Need for KERNEL_DS & set_fs() definitions. Signed-off-by: Andrew Morton Signed-off-by: Tony Luck ChangeSet@1.2026.14.3, 2004-10-26 12:12:49-05:00, shaggy@austin.ibm.com JFS: endian annotations Signed-off-by: Dave Kleikamp ChangeSet@1.2026.10.147, 2004-10-26 09:09:37-07:00, torvalds@ppc970.osdl.org Merge bk://gkernel.bkbits.net/net-drivers-2.6 into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.2026.10.146, 2004-10-26 08:22:01-07:00, akpm@osdl.org [PATCH] revert- sys_setaltroot We decided to do this a different way. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.144, 2004-10-26 08:02:35-07:00, roland@redhat.com [PATCH] Wake up signalled tasks when exiting ptrace In general it is not safe to do any non-ptrace wakeup of a thread in TASK_TRACED, because the waking thread could race with a ptrace call that could be doing things like mucking directly with its kernel stack. AFAIK noone has established that whatever clobberation ptrace can do to a running thread is safe even if it will never return to user mode, so we can't allow this even for SIGKILL. What we _can_ safely do is make a thread switching out of TASK_TRACED resume rather than sitting in TASK_STOPPED if it has a pending SIGKILL or SIGCONT. The following patch does this. This should be sufficient for the shutdown case. When killing all processes, if the tracer gets killed first, the tracee goes into TASK_STOPPED and will be woken and killed by the SIGKILL (same as before). If the tracee gets killed first, it gets a pending SIGKILL and doesn't wake up immediately--but, now, when the tracer gets killed, the tracee will then wake up to die. This will also fix the (same) situations that can arise now where you have used gdb (or whatever ptrace caller), killed -9 the gdb and the process being debugged, but still have to kill -CONT the process before it goes away (now it should just go away either the first time or when you kill gdb). Signed-off-by: Roland McGrath Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.143, 2004-10-26 08:02:20-07:00, benh@kernel.crashing.org [PATCH] ppc64: Some sparse fixes This is a batch of sparse fixes for things in arch/ppc64/* and include/asm-ppc64/* More to come of course... Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.142, 2004-10-26 08:02:03-07:00, benh@kernel.crashing.org [PATCH] 8250: Fix empty port registration My latest 8250 patch prevented registration of "empty" ports (ports that have a 0 iobase in the static table). Unfortunately, some archs seem to rely on this, and so broke. This patch reverts that part of the patch. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.141, 2004-10-26 07:53:34-07:00, benh@kernel.crashing.org [PATCH] ppc64: Add new "Maple" platform support This adds support for the Maple 970FX Eval Board. It adds the basic arch support. For the Maple to be fully functional, it needs a couple more patches to be applied for IDE and Ethernet that are currently pending with the respective maintainers of those subsystems. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.140, 2004-10-26 07:31:50-07:00, benh@kernel.crashing.org [PATCH] ppc64: Fix g5-only build The iommu_free_table() patch broke g5 only build by adding back some incestuous relationship between generic code and pSeries code. This wraps this in #ifdef as a quick fix until the original author of the patch comes up with a better solution. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.139, 2004-10-26 07:31:36-07:00, benh@kernel.crashing.org [PATCH] ppc64: Fix new mpic driver on some POWER3 On machines using the "ISU" mecanism for the MPIC, the new driver didn't properly calculate the new interrupt count when an ISU was added. That would cause later on failure to request interrupts in the offending range. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.138, 2004-10-26 07:31:24-07:00, benh@kernel.crashing.org [PATCH] ppc64: PCI ignores empty phb regions The ppc64 PCI code, when parsing the OF tree, may end up getting empty regions in addition to the "normal" ones for the PHB (some pSeries OF device-tree contains weird "ranges" properties). These are harmless but do trigger some annoying warnings during boot, so let's ignore them. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.14.2, 2004-10-26 08:43:22-05:00, shaggy@austin.ibm.com JFS: avoid assert in lbmfree In the error path, lmLogInit must clear log->lbuf_free before calling lbmFree. Signed-off-by: Dave Kleikamp ChangeSet@1.2026.21.1, 2004-10-26 03:42:24-04:00, jgarzik@pobox.com [libata] return ENOTTY rather than EOPNOTSUPP for unknown-ioctl ChangeSet@1.2034, 2004-10-26 02:25:28-04:00, len.brown@intel.com Merge intel.com:/home/lenb/src/26-stable-dev into intel.com:/home/lenb/src/26-latest-dev ChangeSet@1.2026.17.5, 2004-10-26 01:20:52-04:00, arjan@infradead.org [PATCH] remove NET_HW_FLOWCONTROL CONFIG_NET_HW_FLOWCONTROL is entirely unused now, and superceded by NAPI in practice, so remove the dead code Signed-off-by: Arjan van de Ven Signed-off-by: Jeff Garzik ChangeSet@1.2026.19.6, 2004-10-25 21:28:00-07:00, davem@nuts.davemloft.net Merge bk://bk.skbuff.net:20610/linux-2.6-inet6-20041026/ into nuts.davemloft.net:/disk1/BK/net-2.6 ChangeSet@1.2033, 2004-10-26 00:20:08-04:00, len.brown@intel.com Merge intel.com:/home/lenb/bk/26-latest-ref into intel.com:/home/lenb/src/26-latest-dev ChangeSet@1.2026.19.5, 2004-10-26 13:11:47+09:00, yoshfuji@linux-ipv6.org [IPV6] kill a warning when building without CONFIG_SYSCTL. Signed-off-by: Hideaki YOSHIFUJI ChangeSet@1.2026.10.137, 2004-10-25 21:11:03-07:00, benh@kernel.crashing.org [PATCH] ppc64: don't include This patch fixes a couple of places where the ppc64 iSeries code would #include . The only "system" include I consider acceptable is provided by gcc. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.136, 2004-10-25 21:10:51-07:00, benh@kernel.crashing.org [PATCH] Remove bogus definition of local chrp_int_ack_special in pSeries_setup.c. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.16.27, 2004-10-25 20:57:45-07:00, herbert@gondor.apana.org.au [TCP]: Handle real partial-ACKs of TSO frames correctly. Actually, I think we've caught your crash now. If that code path is triggering at all, then it'll trigger with TSO packets too. If we get a truly partial ack on a TSO packet, then tcp_tso_acked will not trim it off. So we will fall through to this last-ditch trim call, which doesn't update packets_out. There are two solutions to this problem. I've taken the simpler approach for now. We simply trim off the partial bits in tcp_tso_acked and live with the fact that the packet counters may differ from what's on the netwrok by one. Later on we can 'fix' this by remembering where the original TSO packet started from, perhaps in skb->h or somewhere. Dave, is this worth it? Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2026.19.4, 2004-10-26 12:55:56+09:00, yoshfuji@linux-ipv6.org [IPV6] NDISC: update neighbor cache entry by RS. Signed-off-by: Hideaki YOSHIFUJI ChangeSet@1.2026.19.3, 2004-10-26 12:54:58+09:00, yoshfuji@linux-ipv6.org [IPV6] simplify functions related to RTF_ALLONLINK. Simplify ipv6_get_saddr(), ipv6_dev_get_saddr() and rt6_purge_dflt_routers(). Signed-off-by: Hideaki YOSHIFUJI ChangeSet@1.2026.19.2, 2004-10-26 12:54:41+09:00, yoshfuji@linux-ipv6.org [IPV6] Remove codes related to RTF_ALLONLINK. Signed-off-by: Hideaki YOSHIFUJI ChangeSet@1.2026.19.1, 2004-10-26 12:51:07+09:00, Brian.Haley@hp.com [IPV6] Lookup appropriate destination when sending TCPv6 with routing header. Signed-off-by: Brian Haley Signed-off-by: Hideaki YOSHIFUJI ChangeSet@1.2026.16.26, 2004-10-25 20:49:06-07:00, akpm@osdl.org [CRYPTO]: aes-586-asm: small optimizations From: Denis Vlasenko - recode back-to-back fwd_rnd() pairs to avoid two register moves. - ditto for inv_rnd(). - optimize out lea 0(%ebp),%ebp - remove two stray insns # size aes-i586-asm.o.org aes-i586-asm.o text data bss dec hex filename 5971 0 0 5971 1753 aes-i586-asm.o.org 5905 0 0 5905 1711 aes-i586-asm.o Overall, patch does not add and does not modify any insns, only removes a handful of them. However, speed difference is way below noise level. Run-tested with tcrypt module. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2026.16.25, 2004-10-25 20:48:25-07:00, akpm@osdl.org [CRYPTO]: aes-586-asm: formatting changes From: Denis Vlasenko - Macro parameters renamed for clarity. - Inaccurate comments fixed. - ebp register usage de-obfuscated (this is needed for next patch). No real code changes. Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2026.16.24, 2004-10-25 20:47:38-07:00, akpm@osdl.org [CRYPTO]: reduce sha512_transform() stack usage, speedup Patch moves large temporary u64 W[80] from stack to ctx struct: * reduces stack usage by 640 bytes * saves one 640-byte memset() per sha512_transform() (we still do it after *all* iterations are done) * quite unexpectedly saves 1.6k of code on i386 because stack offsets now fit into 8bits and many stack addressing insns got 3 bytes smaller: # size sha512.o.org sha512.o text data bss dec hex filename 8281 372 0 8653 21cd sha512.o.org 6649 372 0 7021 1b6d sha512.o # objdump -d sha512.o.org | cut -b9- >sha512.d.org # objdump -d sha512.o | cut -b9- >sha512.d # diff -u sha512.d.org sha512.d [snip] Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2026.16.23, 2004-10-25 20:46:17-07:00, akpm@osdl.org [CRYPTO]: small sha512 cleanup Looks like open-coded be_to_cpu. GCC produces rather poor code for this. be_to_cpu produces asm()s which are ~4 times shorter. Compile-tested only. I am not sure whether input can be 64bit-unaligned. If it indeed can be, replace: ((u64*)(input))[I] -> get_unaligned( ((u64*)(input))+I ) Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2026.16.22, 2004-10-25 20:45:35-07:00, akpm@osdl.org [CRYPTO]: small sha256 cleanup Looks like open-coded be_to_cpu. GCC produces rather poor code for this. be_to_cpu produces asm()s which are ~4 times shorter. Compile-tested only. I am not sure whether input can be 32bit-unaligned. If it indeed can be, replace: ((u32*)(input))[I] -> get_unaligned( ((u32*)(input))+I ) Signed-off-by: Andrew Morton Signed-off-by: David S. Miller ChangeSet@1.2026.17.4, 2004-10-25 23:42:58-04:00, jgarzik@pobox.com Merge pobox.com:/garz/repo/netdev-2.6/janitor into pobox.com:/garz/repo/net-drivers-2.6 ChangeSet@1.2026.17.3, 2004-10-25 23:41:18-04:00, jgarzik@pobox.com Merge pobox.com:/garz/repo/netdev-2.6/misc into pobox.com:/garz/repo/net-drivers-2.6 ChangeSet@1.2026.16.21, 2004-10-25 20:31:50-07:00, davem@nuts.davemloft.net Merge bk://212.42.230.204/nf-2.6 into nuts.davemloft.net:/disk1/BK/net-2.6 ChangeSet@1.1803.119.34, 2004-10-25 23:30:02-04:00, len.brown@intel.com [ACPI] Move the "only do this once" stuff from acpi_register_gsi() into eisa_set_level(). Signed-off-by: Bjorn Helgaas Signed-off-by: Andrew Morton Signed-off-by: Len Brown ChangeSet@1.2026.16.20, 2004-10-25 20:29:14-07:00, hch@lst.de [NET]: Remove dead socket layer exports. Signed-off-by: David S. Miller ChangeSet@1.2026.16.19, 2004-10-25 20:26:28-07:00, hch@lst.de [TCP]: Remove dead exports. Signed-off-by: David S. Miller ChangeSet@1.2026.16.18, 2004-10-25 20:25:51-07:00, hch@lst.de [IPV6]: Remove dead exports. Signed-off-by: David S. Miller ChangeSet@1.2026.10.135, 2004-10-25 20:24:58-07:00, torvalds@ppc970.osdl.org Fix UP non-preempt build for kernel lock changes. Duh. I had tested every "interesting" combination of SMP and PREEMPT, but the _trivial_ one was broken ;) ChangeSet@1.2026.16.17, 2004-10-25 20:24:06-07:00, hch@lst.de [XFRM]: Remove dead exports. Signed-off-by: David S. Miller ChangeSet@1.2026.16.16, 2004-10-25 20:22:11-07:00, hch@lst.de [ATM]: Mark vcc_remove_socket static Signed-off-by: David S. Miller ChangeSet@1.2026.16.15, 2004-10-25 20:20:56-07:00, pcaulfie@redhat.com [DECNET]: Connect hang bugfix This patch fixes a bug in the DECnet connect that seems to have been in 2.6 for a while now. If a connection is rejected by a remote host (eg invalid access control, no such object etc) the Linux end hangs in connect() because it is only waiting for the socket to go into RUN state. This patch sets the ECONNREFUSED error state on the socket when the connection is rejected to that the connect() exits it's wait loop and returns the error to the user. Signed-off-by: David S. Miller ChangeSet@1.2026.16.14, 2004-10-25 20:10:46-07:00, tgraf@suug.ch [PKT_SCHED]: Rename TCQ_F_INGRES to TCQ_F_INGRESS. This typo annoyned me several times by not showing up in greps. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2026.16.13, 2004-10-25 20:09:20-07:00, ehrhardt@mathematik.uni-ulm.de [IPV4]: Do not try to unhash null-netdev nexthops. Signed-off-by: Christian Ehrhardt Signed-off-by: David S. Miller ChangeSet@1.2026.16.12, 2004-10-25 20:07:30-07:00, chas@cmf.nrl.navy.mil [ATM]: [horizon] eliminate pci_find_device() Signed-off-by: David S. Miller ChangeSet@1.2026.16.11, 2004-10-25 20:06:33-07:00, linville@tuxdriver.com [VLAN]: Add MODULE_VERSION Signed-off-by: John W. Linville Signed-off-by: David S. Miller ChangeSet@1.2026.16.10, 2004-10-25 20:05:55-07:00, linville@tuxdriver.com [BONDING]: Add MODULE_VERSION Signed-off-by: John W. Linville Signed-off-by: David S. Miller ChangeSet@1.2026.16.9, 2004-10-25 20:04:33-07:00, arnouten@bzzt.net [TCP]: Add /proc/net/tcp{,6} layout documentation. Signed-off-by: David S. Miller ChangeSet@1.2026.16.8, 2004-10-25 19:47:47-07:00, suresh.krishnan@ericsson.ca [NET]: Address family not supported for sendmsg() Signed-off-by: David S. Miller ChangeSet@1.1803.119.33, 2004-10-25 22:44:31-04:00, len.brown@intel.com [ACPI] ACPI_VIDEO is EXPERIMENTAL ChangeSet@1.2026.10.134, 2004-10-25 18:42:30-07:00, benh@kernel.crashing.org [PATCH] ppc64: Cleanup console detection This removes some leftover code that was in #if 0 in the console autodetect code. It also adds passing of the default serial speed as console options when it is available from Open Firmware. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.133, 2004-10-25 18:42:17-07:00, benh@kernel.crashing.org [PATCH] ppc64: Improve PCI config accessors This improves the config space access routines on G5, by adding a generic helper function to locate the pci_controller structure (to be used by an upcoming new platform too) and cleaning up the pmac routines. It includes the fix to skip devices that aren't present in the OF tree that is necessary for newer G5 desktop models. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.132, 2004-10-25 18:40:55-07:00, benh@kernel.crashing.org [PATCH] ppc64: annotate remaining IO accessors This patch adds proper __iomem annotations to the remaning IO macros on ppc64, and removes now useless casts from eeh.h. This fixes the sparse warnings in mpic.c among others. I need to do an equivalent things for ppc32 (though I think viro did some of it already) and fix users. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.131, 2004-10-25 18:28:03-07:00, akpm@osdl.org [PATCH] ide_pio_sector() kmap fix kunmap_atomic() takes a kernel-virtual address, not a pageframe address. For the hundredth time. We really should get typechecking happening there.. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.130, 2004-10-25 18:25:55-07:00, bfg-kernel@blenning.no [PATCH] firmware spelling errors Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.129, 2004-10-25 18:25:43-07:00, petero2@telia.com [PATCH] Fix incorrect kunmap_atomic in pktcdvd The pktcdvd driver uses kunmap_atomic() incorrectly. The function is supposed to take an address as the first parameter, but the pktcdvd driver passed a page pointer. Thanks to Douglas Gilbert and Jens Axboe for discovering this. Signed-off-by: Peter Osterlund Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.128, 2004-10-25 18:25:31-07:00, jack@suse.cz [PATCH] Quota warnings somewhat broken Fix end of lines in quota messages. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.127, 2004-10-25 18:25:18-07:00, edwardsg@sgi.com [PATCH] increase max LOG_BUF_SHIFT value We've run into problems at 512p with the kernel log buffer wrapping and overwriting some of the early boot output. This is with a CONFIG_LOG_BUF_SHIFT value of 20 (1MB). The patch below just bumps the max possible setting to 21 (2MB). Signed-off-by: Greg Edwards Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.126, 2004-10-25 18:25:06-07:00, colin@colino.net [PATCH] clean up therm_adt746x This patch cleans therm_adt746x a bit: lines at maximum 80 chars width, dispatches the big function in three little ones. Functionality not changed. Signed-off-by: Colin Leroy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.125, 2004-10-25 18:24:54-07:00, bjorn.helgaas@hp.com [PATCH] PCDP: call acpi_register_gsi() with arguments in correct order PCDP: call acpi_register_gsi() with arguments in correct order Signed-off-by: Bjorn Helgaas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.124, 2004-10-25 18:24:41-07:00, bunk@stusta.de [PATCH] ISDN hisax_fcpcipnp.c: kill unused variable drivers/isdn/hisax/hisax_fcpcipnp.c: In function `hisax_fcpcipnp_init': drivers/isdn/hisax/hisax_fcpcipnp.c:999: warning: unused variable `pci_nr_found' Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.123, 2004-10-25 18:24:29-07:00, bunk@stusta.de [PATCH] CREDITS update Adrian sent me a check for $100. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.122, 2004-10-25 18:24:17-07:00, margitsw@t-online.de [PATCH] Add prism54 to MAINTAINERS Add prism54 to MAINTAINERS Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.121, 2004-10-25 18:24:02-07:00, yanmin.zhang@intel.com [PATCH] hugetlb_get_unmapped_area fix hugetlb_get_unmapped_area() fails to find an unmapped area while unmapped area is huge. That's because hugetlb_get_unmapped_area just searches forward from mm->free_area_cache. If reaching TASK_SIZE, it does not go back to TASK_UNMAPPED_BASE, just returns -ENOMEM. 1) Add a specific hugetlb_get_unmapped_area on i386. 2) Generic hugetlb_get_unmapped_area is also fixed. Signed-off-by: Zhang Yanmin Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.120, 2004-10-25 18:23:50-07:00, jbarnes@engr.sgi.com [PATCH] I/O space write barrier On some platforms (e.g. SGI Challenge, Origin, and Altix machines), writes to I/O space aren't ordered coming from different CPUs. For the most part, this isn't a problem since drivers generally spinlock around code that does writeX calls, but if the last operation a driver does before it releases a lock is a write and some other CPU takes the lock and immediately does a write, it's possible the second CPU's write could arrive before the first's. This patch adds a mmiowb() call to deal with this sort of situation, and adds some documentation describing I/O ordering issues to deviceiobook.tmpl. The idea is to mirror the regular, cacheable memory barrier operation, wmb. Example of the problem this new macro solves: CPU A: spin_lock_irqsave(&dev_lock, flags) CPU A: ... CPU A: writel(newval, ring_ptr); CPU A: spin_unlock_irqrestore(&dev_lock, flags) ... CPU B: spin_lock_irqsave(&dev_lock, flags) CPU B: writel(newval2, ring_ptr); CPU B: ... CPU B: spin_unlock_irqrestore(&dev_lock, flags) In this case, newval2 could be written to ring_ptr before newval. Fixing it is easy though: CPU A: spin_lock_irqsave(&dev_lock, flags) CPU A: ... CPU A: writel(newval, ring_ptr); CPU A: mmiowb(); /* ensure no other writes beat us to the device */ CPU A: spin_unlock_irqrestore(&dev_lock, flags) ... CPU B: spin_lock_irqsave(&dev_lock, flags) CPU B: writel(newval2, ring_ptr); CPU B: ... CPU B: mmiowb(); CPU B: spin_unlock_irqrestore(&dev_lock, flags) Note that this doesn't address a related case where the driver may want to actually make a given write get to the device before proceeding. This should be dealt with by immediately reading a register from the card that has no side effects. According to the PCI spec, that will guarantee that all writes have arrived before being sent to the target bus. If no such register is available (in the case of card resets perhaps), reading from config space is sufficient (though it may return all ones if the card isn't responding to read cycles). I've tried to describe how mmiowb() differs from PCI posted write flushing in the patch to deviceiobook.tmpl. Signed-off-by: Jesse Barnes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.119, 2004-10-25 18:23:36-07:00, paulkf@microgate.com [PATCH] serial send_break duration fix Fix tty_io.c send_break() to assert break for proper duration. If driver break_ctl() changes task state, then break may end prematurely. USB serial driver break_ctl() sends a URB, changing task state to TASK_RUNNING. Signed-off-by: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.118, 2004-10-25 18:23:23-07:00, jim.houston@ccur.com [PATCH] idr_remove safety checking idr_remove() should fail gracefully and warn if the id being removed is not valid. The attached patch should do the job without additional overhead. With the existing code, removing an id which was not allocated could remove a valid id which shares the same lowest layer of the radix tree. I ran a kernel with this patch but have not done any tests to force a failure. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.117, 2004-10-25 18:23:11-07:00, hch@lst.de [PATCH] use generic_file_open in udf Let's try to reduce the number of hand-crafted LFS checks Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.116, 2004-10-25 18:22:59-07:00, nickpiggin@yahoo.com.au [PATCH] vm: unreclaimable pages debugginf Add zone->all_unreclaiable to the sysrq-M and omm-killing diagnostic output. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.115, 2004-10-25 18:22:46-07:00, clameter@sgi.com [PATCH] Posix layer <-> clock driver API fix This is needed for an mmtimer driver update that we are currently working on. The mmtimer driver provides CLOCK_SGI_CYCLE via clock_gettime and clock_settime. With this api fix one will be able to use timer_create, timer_settime and friends from userspace to schedule and receive signals via timer interrupts of mmtimer. Changelog * Clean up timer api for drivers that use register_posix_clock. Drivers will then be able to use posix timers to schedule interrupts. * Change API for posix_clocks[].timer_create to only pass one pointer to a k_itimer structure that is now allocated and managed by the posix layer in the same way as for the other posix timer functions. * Isolate a posix_timer_event(timr) function in posix-timers.c that may be called by the interrupt routine of a timer to signal that the scheduled event has taken place. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.114, 2004-10-25 18:22:34-07:00, zippel@linux-m68k.org [PATCH] hfs: export type/creator via xattr This exports the hfs type/creator info via xattr. Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.113, 2004-10-25 18:22:21-07:00, zippel@linux-m68k.org [PATCH] hfs: write back resource info directly Write back the information for a dirty resource inode directly and not via the main inode, as at the time the latter is written the former might already be gone. Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.112, 2004-10-25 18:22:09-07:00, zippel@linux-m68k.org [PATCH] hfs: read correct dir time Fix a small typo and read the correct time for a dir. Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.111, 2004-10-25 18:21:55-07:00, zippel@linux-m68k.org [PATCH] hfs: manage correct block count Manage the fs block count with a separate variable and keep a correct i_blocks for e.g. correct du output. Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.110, 2004-10-25 18:21:43-07:00, zippel@linux-m68k.org [PATCH] hfs: relax dirty check hfs has two dirty bits, but currently OS X uses only one of them, so match its behaviour, so that a uncleanly unmounted disk can be mounted r/w again, after it has been checked. Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.109, 2004-10-25 18:21:31-07:00, zippel@linux-m68k.org [PATCH] hfs: update key after rename After a file has been renamed, the cached search key must be updated. Signed-off-by: Roman Zippel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.108, 2004-10-25 18:21:18-07:00, jbarnes@engr.sgi.com [PATCH] mmtimer sparse fixes Small patch to add __iomem annotations to mmtimer.c. Signed-off-by: Jesse Barnes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.107, 2004-10-25 18:21:06-07:00, suresh.b.siddha@intel.com [PATCH] intel irqbalance quirk cleanup - Remove the call to quirk_intel_irqbalance() from quirk_pciehp_msi(). - Move the x86(/x86_64)-specific quirk_intel_irqbalance() into x86 quirks.c due to its dependency on - Mark it __init rather than __devinit, since it calls __init functions. Signed-off-by: Suresh Siddha Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.106, 2004-10-25 18:20:53-07:00, sds@epoch.ncsc.mil [PATCH] Add DAC check for setxattr(security.selinux) This patch against 2.6.9 adds a DAC ownership check to the existing MAC permission checks when setting the security.selinux attribute via setxattr. In the past, the MAC permission checks were viewed as sufficient for controlling relabeling operations, but experience in the Fedora SELinux integration has shown that a DAC check is also appropriate here, particularly under targeted policy. Signed-off-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.18.2, 2004-10-25 21:20:44-04:00, akpm@osdl.org [PATCH] e1000 module_param build fix Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik ChangeSet@1.2026.10.105, 2004-10-25 18:20:41-07:00, rddunlap@osdl.org [PATCH] __init dependencies: ignore __param Ignore __param section references; they aren't discarded. Error: ./drivers/mtd/devices/phram.o __param refers to 0000000000000010 R_X86_64_64 .init.text+0x0000000000000013 Error: ./drivers/scsi/dc395x.o __param refers to 0000000000000020 R_X86_64_64 .init.data+0x0000000000000064 Error: ./drivers/usb/gadget/ether.o __param refers to 0000000000000048 R_X86_64_64 .init.data+0x0000000000000020 Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.104, 2004-10-25 18:20:28-07:00, axboe@suse.de [PATCH] fix bad segment coalescing in blk_recalc_rq_segments() blk_recalc_rq_segments forgots to take ->max_segment_size into account and gladly merges segments bigger than we can support, thus underestimating the number of segments needed to fill it. Signed-off-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.103, 2004-10-25 18:20:16-07:00, rusty@rustcorp.com.au [PATCH] Eliminate init_module and cleanup_module from Documentation In 2.2, you used to just be able to call functions "init_module" and "cleanup_module" and they'd be magically called. These days you should use module_init(myinit)/module_exit(myexit) and avoid #ifdef MODULE. Signed-off-by: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.102, 2004-10-25 18:20:03-07:00, rusty@rustcorp.com.au [PATCH] boot parameters: quoting of environment variables revisited As noticed by Joey Hess (and thanks for Christoph for forwarding it). Also requirements from Werner Almesberger. If someone passes 'foo="some value"' the param engine removes the quotes and hands 'foo' and 'some value'. The __setup() parameters expect a single string, and so we try to regenerate it from the two parts. Finally, we try to place it as an environment variable. Werner wants quotes stripped out of the environment variable. It makes sense to do that for __setup, too (so it sees 'foo=some value'), since __setup functions don't usually handle quotes. Signed-off-by: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.101, 2004-10-25 18:19:51-07:00, rusty@rustcorp.com.au [PATCH] Builtin Module Parameters in sysfs too Currently, only module parameters in loaded modules are exported in /sys/modules/, while those of "modules" built into the kernel can be set by the kernel command line, but not read or set via sysfs. - move module parameters from /sys/modules/$(module_name)/$(parameter_name) to /sys/modules/$(module_name)/parameters/$(parameter_name) - remove dummy kernel_param for exporting refcnt, add "struct module *"-based attribute instead - also export module paramters for "modules" which are built into the kernel, so parameters are always accessible at /sys/modules/$(KBUILD_MODNAME)/$(parameter_name) Signed-off-by: Rusty Russell (modified) Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.100, 2004-10-25 18:19:39-07:00, rusty@rustcorp.com.au [PATCH] Fix for MODULE_PARM obsolete There is no __attribute_unused__: use __attribute__((__unused__)). Signed-off-by: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.99, 2004-10-25 18:19:27-07:00, rusty@rustcorp.com.au [PATCH] Remove MODULE_PARM from arch/i386 This patch removes MODULE_PARM for everything under arch/i386. Currently only APM. Signed-off-by: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.98, 2004-10-25 18:19:14-07:00, rusty@rustcorp.com.au [PATCH] Remove MODULE_PARM from i386 defconfig. This cleans up defconfig for i386. Not much work. This patch removes MODULE_PARM for everything made by "defconfig" on x86. There are only a few left. Signed-off-by: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.97, 2004-10-25 18:19:02-07:00, rusty@rustcorp.com.au [PATCH] MODULE_PARM must die: make it warn first. This patch adds a warning whenever MODULE_PARM is used. Successive patches change them over to module_param. Help appreciated! Signed-off-by: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.96, 2004-10-25 18:18:49-07:00, roland@redhat.com [PATCH] session leader tty disassociation fix The session leader should disassociate from its controlling terminal and send SIGHUP signals only when the whole session leader process dies. Currently, this gets done when any thread in that process dies, which is wrong. This patch fixes it. Signed-off-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.95, 2004-10-25 18:18:37-07:00, roland@redhat.com [PATCH] acct: report single record for multithreaded process This patch changes process accounting to write just one record for a process with many NPTL threads, rather than one record for each thread. No record is written until the last thread exits. The process's record shows the cumulative time of all the threads that ever lived in that process (thread group). This seems like the clearly right thing and I assume it is what anyone using process accounting really would like to see. There is a race condition between multiple threads exiting at the same time to decide which one should write the accounting record. I couldn't think of anything clever using existing bookkeeping that would get this right, so I added another counter for this. (There may be some potential to clean up existing places that figure out how many non-zombie threads are in the group, now that this count is available.) Signed-off-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.94, 2004-10-25 18:18:25-07:00, jim.hague@acm.org [PATCH] pm2fb: Colour palette fixes - Hardware CLUT only needs setting on pseudocolor. - Pseudo palette values need to be 32bit wide for cfb_*(). Signed-off-by: Jim Hague Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.93, 2004-10-25 18:18:13-07:00, jim.hague@acm.org [PATCH] pm2fb: Blanking fixes - Current blanking code forces +ve (h|v)sync. Correct, match 2.4 behaviour, and introduce VESA constants for clarity. Signed-off-by: Jim Hague Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.92, 2004-10-25 18:18:00-07:00, adaplas@hotpop.com [PATCH] fbdev: S3 Savage Framebuffer Driver S3 Savage Frambuffer Driver for the following chipsets: Savage 3D Savage MX Savage 4 Savage 2000 ProSavage SuperSavage This is based from the driver written by: Denis Oliver Kropp Sven Neumann Initial Porting to 2.6 done by: Mika Pruikkonen Added the following: - Console acceleration support (imageblit, fillrect, copyarea) - Configurable - DDC2/I2C support for (ProSavage DDR-K, Savage 4 and Prosavage PM only - Configurable - 8, 16, 32 bits per pixel Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.91, 2004-10-25 18:17:47-07:00, adaplas@hotpop.com [PATCH] fbdev: Intel 830M/845G/852GM/855GM/865G framebuffer driver port Linux framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G integrated graphics chips. Port from kernel 2.4 + some modifications and cleanup : - Fix HW accel on 845G - Use of agpgart for fb memory reservation - Add mtrr support Signed-off-by: Sylvain Meyer Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.90, 2004-10-25 18:17:34-07:00, adaplas@hotpop.com [PATCH] fbdev: Cleanup rivafb cursor implementation remove/modify all references to info->cursor Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.89, 2004-10-25 18:17:22-07:00, adaplas@hotpop.com [PATCH] fbdev: Clean up i810fb cursor implementation remove/modify all references to info->cursor Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.88, 2004-10-25 18:17:10-07:00, adaplas@hotpop.com [PATCH] fbdev: Clean up softcursor implementation - use struct fb_pixmap pixmap instead of struct fb_pixmap sprite. The softcursor uses fb_imageblit which also uses pixmap. - remove/change all references to info->cursor Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.87, 2004-10-25 18:16:57-07:00, adaplas@hotpop.com [PATCH] fbdev: Clean up of fbcon/fbdev cursor interface The current cursor interface is confusing. Some fields are taken from the cursor structure in struct fb_info (enable, mask, rop fields) and the rest are taken from the passed cursor structure. These lead to a lot of confusion, making it hard for developers to write their own implementation. Also, the cursor code has several 'short-circuits', occassionally leading to undefined cursor behavior. These are the changes brought about by the patch: - Removed struct fb_cursor and related fields from struct fb_info, and instead, placed them in a struct not visible to fbdev. - The struct fb_cursor passed to fb_cursor() will _always_ contain valid data with various bitflags indicating which fields have changed - The struct fb_pixmap sprite in struct fb_info is used only by drivers with hardware cursor implementation. Initializing and allocating memory for this structure is not needed. Remove initialization and memory allocation. - The FBIO_CURSOR ioctl is broken (because fb_cursor() is broken). For now, remove fb_cursor code and make the FBIO_CURSOR ioctl always return -ENODEV. - The flag FB_CUR_SETCUR is changed to FB_CUR_SETIMAGE, indicating that the cursor sprite has changed. The image change is now checked by fbcon so drivers will not unnecessarily load the sprite image everytime. This causes hardware cursors to flicker, especially in rivafb. - Remove fb_load_cursor_image(). This is unused, and should not be implemented generically. - Documented the usage of the cursor interface in skeletonfb.c Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.86, 2004-10-25 18:16:44-07:00, adaplas@hotpop.com [PATCH] fbdev: Various mach64 changes Alexander Kern [PATCH] port Daniel Mantione 2.4 driver to 2.6 [PATCH] add more pci_id number [PATCH] add accelerated imgblit [PATCH] revert SDRAM_MAGIC_PLL to old behaviour [PATCH] do a "from BIOS" initialisation only by __i386__ Arnaud FONTAINE [PATCH atyfb] correction for 3D Rage Mobility L Geert Uytterhoeven [PATCH atyfb] Atari Atyfb fixes [PATCH atyfb] Atyfb on Mach64 GX or Atari [PATCH 468] m68k sparse floating point James Simmons [PATCH add] port to framebuffer_alloc api Nicolas Souchu [PATCH] I do not found a copy, but it was incorporated too Ville Syrjälä [PATCH] fix pan with doublescan [PATCH] another double scan fix [PATCH] disable linear aperture register access [PATCH] Memory type correction [PATCH] atyfb (2.6): Fix mmio_start [PATCH] atyfb (2.6): Fix mem_refresh_rate for Mobility [PATCH] atyfb (2.6): Add RGB565 support [PATCH] atyfb: Blank LCD by turning off backlight voltage [PATCH] atyfb: Rage LT LCD register access [PATCH] atyfb: vblank irq support [PATCH] atyfb: MTRR support Antonino Daplas remove/modify all references to info->cursor Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.85, 2004-10-25 18:16:32-07:00, adaplas@hotpop.com [PATCH] fbdev: Remove inter_module_get/put from i810fb The function inter_module_get/put is to be deprecated. Remove. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.84, 2004-10-25 18:16:19-07:00, adaplas@hotpop.com [PATCH] fbdev: Reduce pixmap memory allocation size - Reduce pixmap size allocated by fbmem, i810fb and rivafb from 16-64K to 8K. This size is sufficient that a single putcs call can be accomodated by a single imageblit - Replace NR_FB_DRIVERS with FB_MAX - Trivial code, Kconfig and Documentation cleanup Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.83, 2004-10-25 18:16:06-07:00, werner@almesberger.net [PATCH] update CREDITS entry of Werner Almesberger This patch updates my entry. (Long overdue ...) Signed-off-by: Werner Almesberger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.82, 2004-10-25 18:15:53-07:00, agk@redhat.com [PATCH] device-mapper trivial: duplicate kfree in error path Remove duplicate kfree in dm_register_target error path. Signed-Off-By: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.81, 2004-10-25 18:15:41-07:00, agk@redhat.com [PATCH] device-mapper trivial: stray semi-colon Remove stray semicolon. Signed-Off-By: Alasdair G Kergon From: Lars Marowsky-Bree Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.80, 2004-10-25 18:15:29-07:00, agk@redhat.com [PATCH] device-mapper: dm-crypt: new IV mode ESSIV This patch adds a new IV mode ''encrypted sector|salt IV'' described in http://article.gmane.org/gmane.linux.kernel.device-mapper.dm-crypt/472 To use ESSIV, set the ivmode (using the new syntax) to "essiv:". "hash" should be a valid cryptoapi hash. This, for example, is a valid dm-target line: 0 200 crypt aes-cbc-essiv:sha256 00000000000000000000000000000000 0 /dev/loop/5 0 Signed-Off-By: Alasdair G Kergon Signed-Off-By: Christophe Saout Signed-Off-By: Fruhwirth Clemens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.79, 2004-10-25 18:15:17-07:00, agk@redhat.com [PATCH] device-mapper: dm-crypt generator extension Create crypt_iv_operations structure with generator method and move the plain iv generator into this structure. Optionally accept an extended syntax: -- This also makes it ready to support chaining modes other than CBC mode, such as CMC (not implemented in cryptoapi yet), The problems outlined by Adam J. Richter in http://article.gmane.org/gmane.linux.kernel.device-mapper.dm-crypt/454 would be fixed by switching to CMC chaining mode. Example of a valid target line: 0 200 crypt aes-cbc-plain 00000000000000000000000000000000 0 /dev/loop/5 0 Signed-Off-By: Alasdair G Kergon Signed-Off-By: Christophe Saout Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.78, 2004-10-25 18:15:05-07:00, agk@redhat.com [PATCH] device-mapper: dm-crypt tidy-ups Small dm-crypt tidy-ups: - Use unsigned consistently - Simplify crypt_iv_plain memset - Use DMEMIT macro Signed-Off-By: Alasdair G Kergon Signed-Off-By: Christophe Saout Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.77, 2004-10-25 18:14:52-07:00, alex.kiernan@gmail.com [PATCH] UFS: solaris compatibility fix Fix handling of device inodes on Solaris x86 filesystems, add support for large dev_t against Solaris UFS filesystems. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.76, 2004-10-25 18:14:40-07:00, marcelo.tosatti@cyclades.com [PATCH] Change pagevec counters back to unsigned long and cacheline align Change pagevec "nr" and "cold" back to "unsigned long", because <4 byte accesses can be slow on architectures < Pentium III (additional "data16" operand on instruction). This still honours the cacheline alignment, making the size of "pagevec" structure a power of two (either 64 or 128 bytes). Haven't been able to see any significant change on performance on my limited testing. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.75, 2004-10-25 18:14:27-07:00, Peter_Pregler@email.com [PATCH] cpia.c rmmod deadlock fix Newer versions of module-init-tools do some locking now which leads to a dead-lock if cpia.c does a request_module("cpia_usb/pp"). The attached patch against 2.6.8 removes the request_module. The problem is actually the same as is documented in debian bug #259056 which was caused by alsa autoloading some oss-modules. So I guess there might be more places in the kernel where this new locking in the module-init-tools might lead to dead-locks. Signed-off-by: Peter Pregler Acked-by: Gerd Knorr Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.74, 2004-10-25 18:14:15-07:00, vandrove@vc.cvut.cz [PATCH] Weak symbols in modules and versioned symbols Weak symbol may be unavailable in kernel, but if it is available, its signature should be same as was at the build time. If we do not attach signatures to weak symbols, kernel is tainted when such module is loaded. vmmon: no version for "sys_ioctl" found: kernel tainted. I also believe that it is safer to add & check signatures here - module wants either sys_ioctl with right signature, or no sys_ioctl at all, not sys_ioctl with different signature (which signals that there is some misbuild occuring). Signed-off-by: Petr Vandrovec Signed-off-by: Rusty Russell (forwarded) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.73, 2004-10-25 18:14:02-07:00, jmorris@redhat.com [PATCH] Add d_alloc_name() to libfs This patch consolidates several occurrences of duplicated code into a new libfs function d_alloc_name(). Signed-off-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.18.1, 2004-10-25 21:14:01-04:00, jgarzik@pobox.com Merge pobox.com:/garz/repo/linux-2.6 into pobox.com:/garz/repo/netdev-2.6/e1000-2 ChangeSet@1.2026.10.72, 2004-10-25 18:13:49-07:00, cmm@us.ibm.com [PATCH] ext2: discard preallocation in last iput Currently the ext2 preallocation is discarded on every iput() (via ext2_put_inode()). We should only discard the preallocation on the last iput() (via ext2_clear_inode()). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.71, 2004-10-25 18:13:38-07:00, neilb@cse.unsw.edu.au [PATCH] md: fixes to make version-1 superblocks work in md driver Add some missing data_offset additions and some le_to_cpu convertions and fix a few other little mistakes. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.70, 2004-10-25 18:13:26-07:00, neilb@cse.unsw.edu.au [PATCH] md: fix typos in md and raid10 Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.69, 2004-10-25 18:13:13-07:00, neilb@cse.unsw.edu.au [PATCH] md: don't hold lock on md devices while waiting for them to finish resync. If one md array is waiting for another to finish resyncing, then it holds a reference to the array, so the array cannot be stopped. With this patch, we drop the reference before waiting. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.68, 2004-10-25 18:13:01-07:00, neilb@cse.unsw.edu.au [PATCH] md: discard calc_sb_csum_common in favour of csum_fold csum_fold should always have been used on the result of csum_partial. calc_sb_csum_common therefore isn't needed. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.67, 2004-10-25 18:12:49-07:00, neilb@cse.unsw.edu.au [PATCH] md: make read retry use a new bio in raid1 and raid10 When retrying a read request, we need to "Reset" the bio. It is easiest to get this right if we discard the bio we have and re-clone it. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.66, 2004-10-25 18:12:36-07:00, neilb@cse.unsw.edu.au [PATCH] md: modify locking when accessing subdevices in md Each md personality keeps a list of devices that are currently active in the array (mdk_rdev_t). As these can potentially be removed at any time, some locking is needed when accessing entries in the list. Currently this involves a spinlock, but all the spinlocking this imposed in unplug_slaves bothered me. So, I have changed it to use rcu locking. This is more appropriate as objects are removed only very rarely, and there is no cost in waiting a little while for a remove to succeed. Also, all changes to the list of devices are performed by the per-array thread (calling md_check_recovery) and so are completely single threaded, so no locking between writers is needed at all. Finally, devices are never added or removed while resync is happening, so resync doesn't need to worry about locking at all. So with this patch, the spinlocking is replaced with rcu read locking and synchronize_kernel. The rcu_read_lock is held while dereferencing a possible device, and the nr_pending count is atomically incremented if the device is to be held outside of the rcu_read_lock. When removing a device, if the nr_pending count appears to be zero, we set the list entry to NULL and call synchronize_kernel(). If the count is still zero after this, we have a safe removal. If it is non-zero, then someone has just started using it so we put the pointer back and fail the removal. When the new user finally drops it's reference, that will cause the per-array thread to wake up again and retry the removal. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.65, 2004-10-25 18:12:24-07:00, neilb@cse.unsw.edu.au [PATCH] md: fix two little bugs in raid10 These can cause resync to spin when there is a faulty drive. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.64, 2004-10-25 18:12:11-07:00, neilb@cse.unsw.edu.au [PATCH] md: make sure md always uses rdev_dec_pending properly The ->nr_pending counted should always be decremented with rdev_dec_pending, as this need to do things when the count hits zero. There were a few places where it was being decremented directly. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.63, 2004-10-25 18:11:59-07:00, neilb@cse.unsw.edu.au [PATCH] md: rationalise unplug functions in md There are currently subtle differences in the different personalities concerning when subdevices are unplugged (faulty? nr_pending?). This patch makes them sll uniform. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.62, 2004-10-25 18:11:47-07:00, neilb@cse.unsw.edu.au [PATCH] md: rationalise issue_flush function in md personalities The functions are all subtly different. This patch makes them all much the same. In particular, EOPNOTSUPP gets returned by all is appropriate. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.61, 2004-10-25 18:11:34-07:00, neilb@cse.unsw.edu.au [PATCH] md: make retry_list non-global in raid1 and multipath Both raid1 and multipath have a "retry_list" which is global, so all raid1 arrays (for example) us the same list. This is rather ugly, and it is simple enough to make it per-array, so this patch does that. It also changes to multipath code to use list.h lists instead of roll-your-own. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.60, 2004-10-25 18:11:22-07:00, neilb@cse.unsw.edu.au [PATCH] md: remove md_flush_all Following are 7 patches for md They all grew out of a desire to redo the locking in unplug_slave. Getting and dropping a spinlock so often for very little gain (it would be nearly impossible to lose the relevant race) really bothered me. I finally figured that I could reply it with rcu locking which is very light wait, and quite up to the task. One the way I found an number of inconsistencies that needed cleaning up and even a few bugs to fix. The first 6 patches deal with these inconsistencies and bugs. The last redoes the locking for adding/removing/accessing devices within md personalities. This patch: md_flush_all() isn't needed as each personality defines its own issue_flush_fn. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.59, 2004-10-25 18:11:09-07:00, dvhltc@us.ibm.com [PATCH] sched: active_load_balance fixes The following patch against the latest mm fixes several problems with active_load_balance(). Rather than starting with the highest allowable domain (SD_LOAD_BALANCE is still set) and depending on the order of the cpu groups, we start at the lowest domain and work up until we find a suitable CPU or run out of options (SD_LOAD_BALANCE is no longer set). This is a more robust approach as it is more explicit and not subject to the construction order of the cpu groups. We move the test for busiest_rq->nr_running <=1 into the domain loop so we don't continue to try and move tasks when there are none left to move. This new logic (testing for nr_running in the domain loop) should make the busiest_rq==target_rq condition really impossible, so we have replaced the graceful continue on fail with a BUG_ON. (Bjorn Helgaas, please confirm) We eliminate the exclusion of the busiest_cpu's group from the pool of available groups to push to as it is the ideal group to push to, even if not very likely to be available. Note that by removing the test for group==busy_group and allowing it to also be tested for suitability, the running time is nearly the same. We no longer force the destination CPU to be in a group of completely idle CPUs, nor to be the last in that group. Signed-off-by: Darren Hart Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.58, 2004-10-25 18:10:57-07:00, amgta@yacht.ocn.ne.jp [PATCH] schedstat: fix schedule() statistics The number of times schedule() left the processor idle in the /proc/schedstat (runqueue.sched_goidle) seems to be wrong. The schedule() statistics should satisfy the equation: sched_cnt == sched_noswitch + sched_switch + sched_goidle (http://eaglet.rain.com/rick/linux/schedstat/v10/format-10.html) The below patch fix this, and I have confirmed to be fixed with: # grep ^cpu /proc/schedstat | awk '{print $6+$7+$9, $8}' Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.57, 2004-10-25 18:10:44-07:00, hawkes@oss.sgi.com [PATCH] sched: improved load_balance() tolerance for pinned tasks A large number of processes that are pinned to a single CPU results in every other CPU's load_balance() seeing this overloaded CPU as "busiest", yet move_tasks() never finds a task to pull-migrate. This condition occurs during module unload, but can also occur as a denial-of-service using sys_sched_setaffinity(). Several hundred CPUs performing this fruitless load_balance() will livelock on the busiest CPU's runqueue lock. A smaller number of CPUs will livelock if the pinned task count gets high. This simple patch remedies the more common first problem: after a move_tasks() failure to migrate anything, the balance_interval increments. Using a simple increment, vs. the more dramatic doubling of the balance_interval, is conservative and yet also effective. Signed-off-by: John Hawkes Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.56, 2004-10-25 18:10:32-07:00, jbarnes@engr.sgi.com [PATCH] sched: small load balance fix Small bug fix for domains that don't load balance (like those that only balance on exec for example). Signed-off-by: John Hawkes Signed-off-by: Jesse Barnes Acked-by: Nick Piggin Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.55, 2004-10-25 18:10:20-07:00, schwidefsky@de.ibm.com [PATCH] s390: network driver From: Frank Pavlic From: Thomas Spatzier s390 network driver changes: - ctc/iucv: Use DECLARE_PER_CPU instead of extern DEFINE_PER_CPU. - lcs: Always set channel state to CH_STATE_INIT when stopping channels. - qeth: vlan fixes. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.54, 2004-10-25 18:10:07-07:00, schwidefsky@de.ibm.com [PATCH] s390: qdio changes From: Utz Bacher qdio changes: - Rename iqdio_is_inbound_q_done to tiqdio_is_inbound_q_done to keep function naming consistent. - Allocate qdio structures below 2GB. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.53, 2004-10-25 18:09:55-07:00, schwidefsky@de.ibm.com [PATCH] s390: debug feature system control From: Christian Borntraeger Debug feature changes: - Add system control to stop the debug feature. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.52, 2004-10-25 18:09:42-07:00, schwidefsky@de.ibm.com [PATCH] s390: dcss segments cleanup From: Carsten Otte From: Gerald Schaefer Cleanup segment load/unload infrastructure. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.17.2, 2004-10-25 21:09:39-04:00, akpm@osdl.org [PATCH] ne2k-pci pci build fix Fix for updated pci_{save,restore}_state() Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik ChangeSet@1.2026.10.51, 2004-10-25 18:09:30-07:00, schwidefsky@de.ibm.com [PATCH] s390: core changes s390 core changes: - Load pid to cr4 on context switch. - Correct and check buffer length of cpcmd. Fix cpcmd inline assembly. - Add missing cc clobber to do_softirq insline assembly. - Regenerate default configuration. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.50, 2004-10-25 18:09:17-07:00, schwidefsky@de.ibm.com [PATCH] s390: sacf local root exploit (CAN-2004-0887) s390 core changes: - Force user process back to home space mode in space switch event exception handler. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.49, 2004-10-25 18:09:05-07:00, blaisorblade_spam@yahoo.it [PATCH] uml: add conf INITRAMFS_SOURCE Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.48, 2004-10-25 18:08:53-07:00, blaisorblade_spam@yahoo.it [PATCH] uml: unused label Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.47, 2004-10-25 18:08:41-07:00, blaisorblade_spam@yahoo.it [PATCH] uml: resync LDS script for SMP changes Add a couple entries to the linker script which are needed for SMP to link. (From Yan Burman) Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.46, 2004-10-25 18:08:28-07:00, blaisorblade_spam@yahoo.it [PATCH] uml: Kconfig and defconfig updates. - Make CONFIG_SMP depend on TT mode. Since SMP does not work in SKAS mode (it's still a TODO), add the dependency in the Kconfig. Also mark CONFIG_SMP as experimental. - Workaround kconfig warning: just for now (we wait for a "CONFIG_VIRTUAL_OS" to exclude physical hardware) create the CONFIG_INPUT option (fixed to N), to avoid complaints from make *config ARCH=um about it being undefined. - Mark HPPFS as broken and needing updates. - Update defconfig, both for new kernel options and for changes in the actual config. For instance, enable module support by default. - Update help text for some items and add a help to some other ones. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.45, 2004-10-25 18:08:16-07:00, bunk@stusta.de [PATCH] small SOFTWARE_SUSPEND help text fixes Some small fixes for the SOFTWARE_SUSPEND help text. Signed-off-by: Adrian Bunk Signed-off-by: Pavel Machek Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.44, 2004-10-25 18:08:03-07:00, pavel@ucw.cz [PATCH] power/disk.c: small fixups power_down may never ever fail, so it does not really need to return anything. Kill obsolete code and fixup old comments. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.43, 2004-10-25 18:07:51-07:00, paulus@samba.org [PATCH] ppc64: __ioremap_explicit() criterion change This patch is from John Rose . The function __ioremap_explicit() misses a possible (obscure) case when reserving the imalloc area for the new region. This can result in the unexpected DLPAR-add failure for an I/O slot. The failure will be characterized by a kernel message resembling "could not obtain imalloc area for ea 0x..." Here's an explanation: At boot time, imalloc regions are created for the ranges of all PHBs. Upon removal of a child slot for one of these PHBs, the imalloc region is split so that the region for the child slot can be removed. A GFW testcase revealed the following scenario. A PHB is remapped at boot for virtual address range A through C. At boot, the partition owns a slot that spans from A to B. This slot is DLPAR-removed, leaving an imalloc region from B to C. At this point, the user DLPAR adds an EADS slot that was not present at boot, but is a child of the PHB. The new slot happens to have a range that directly matches the leftover PHB range, from B to C. The existing code does not expect this, so the operation fails. Signed-off-by: John Rose Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.42, 2004-10-25 18:07:39-07:00, paulus@samba.org [PATCH] ppc64: create iommu_free_table() This patch is from John Rose . The patch below creates iommu_free_table(). Iommu tables are not currently freed in PPC64. This could cause a memory leak for DLPAR of an EADS slot. The function verifies that there are no outstanding TCE entries for the range of the table before freeing it. I added a call to iommu_free_table() to the code that dynamically removes a device node. This should be fairly symmetrical with the table allocation, which happens during dynamic addition of a device node. Signed-off-by: John Rose Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.41, 2004-10-25 18:07:26-07:00, paulus@samba.org [PATCH] ppc64: crash during firmware flash update This patch is from Linas Vepstas . Race conditions during system shutdown after a firmware flash can sometimes lead to an invalid pointer deref (deref to freed memory). This patch fixes this. In addition, it makes sure that the proc entries created by the firmware flash module are removed when the module is unloaded. Signed-off-by: Linas Vepstas Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.40, 2004-10-25 18:07:14-07:00, paulus@samba.org [PATCH] ppc64: provide notifier list for EEH slot isolations When the EEH (enhanced i/o error handling) hardware on pSeries detects various kinds of PCI errors, it immediately freezes and isolates the slot of the offending PCI card. We get to know about that by noticing that reads from the device return all-1s, and then we have to do a firmware call to find out whether the all-1s value was due to a slot isolation. This patch adds a notifier so that other parts of the system (e.g. the RPA PCI hotplug driver) can know that a slot isolation event has occurred and take whatever recovery action is appropriate. The notifier is called in a workqueue function, although the read from the device that noticed the all-1s value may have been at interrupt level. As a precaution, if we keep trying to read from the device at interrupt level, and do 1000 reads without the workqueue getting a chance to run, we panic, on the grounds that we presumably have a badly-written driver which will spin forever in its interrupt routine, e.g. waiting for a bit in a device register to go to 0. This patch is based on an earlier patch by Linas Vepstas . Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.39, 2004-10-25 18:07:02-07:00, david@gibson.dropbear.id.au [PATCH] ppc64: xmon sparse cleanups This patch removes many sparse warnings from the xmon code. Mostly K&R function declarations and 0-instead-of-NULLs. There are still a whole bunch of warnings in xmon/ppc-opc.c, which is a copy of a file from binutils. Signed-off-by: David Gibson Acked-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.38, 2004-10-25 18:06:50-07:00, david@gibson.dropbear.id.au [PATCH] ppc64: trivial sparse cleanups This patch squashes a handful of assorted sparse warnings in the ppc64 code. Should be pretty much trivial and self explanatory. Signed-off-by: David Gibson Acked-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.37, 2004-10-25 18:06:37-07:00, david@gibson.dropbear.id.au [PATCH] ppc64: don't build virtual IO drivers for PowerMac Only compile vio.c on iSeries and pSeries, since other PPC64 platforms (PowerMac) don't use virtual IO. The resulting #ifdefs in dma.c are kind of ugly, but at least contained, and I can't see a nicer way of doing it for the time being. Signed-off-by: David Gibson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.36, 2004-10-25 18:06:25-07:00, trini@kernel.crashing.org [PATCH] ppc32: Fix building for Motorola Sandpoint with O= Since we directly -include $(clear_L2_L3) when needed, we need to point to the full path of it. Signed-off-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.35, 2004-10-25 18:06:13-07:00, chrisw@osdl.org [PATCH] lsm: remove net related includes from security.h With this we're back to the times when changing skbuff.h only triggers rebuild of _net_ related stuff 8) This uncovered a bug in rmap.h, that was not including mm.h to get the definition of struct vm_area_struct, working by luck. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Chris Wright Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.34, 2004-10-25 18:06:00-07:00, chrisw@osdl.org [PATCH] lsm: fix send_sigurg mediation Stephen Smalley notes that send_sigurg isn't mediated by LSM in the same manner as send_sigio. Patch below is a slight modification of Stephen's original patch. It moves the security_file_send_sigiotask() hook into the sigio_perm(). The hook's fd and reason arguments are replaced with the signum. sigio_perm() and it's callers are updated to pass the signum through to the hook. In send_sigio case, the signum is simply fown->signum or SIGIO when signum is 0, however in send_sigurg the kernel doesn't use fown->signum, it always sends SIGURG. From: Stephen Smalley Signed-off-by: Chris Wright Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.33, 2004-10-25 18:05:47-07:00, rddunlap@osdl.org [PATCH] checkstack: add x86_64 arch. support Add support for x86_64 arch. to 'make checkstack' (checkstack.pl). Signed-off-by: Randy Dunlap Acked-by: Jrn Engel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.32, 2004-10-25 18:05:35-07:00, nickpiggin@yahoo.com.au [PATCH] mm: help zone padding Uses the zero length array which seems to be quite abundant throughout the tree to reduce the size of the zone padding to zero. 1536 before, 1152 afterwards for me. Also try to be a bit smarter about getting commonly accessed fields together, which surely can't be worse than before. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.31, 2004-10-25 18:05:23-07:00, akpm@osdl.org [PATCH] msnd.c build fix sound/oss/msnd.c: In function `msnd_enable_irq': sound/oss/msnd.c:278: warning: implicit declaration of function `enable_irq' sound/oss/msnd.c: In function `msnd_disable_irq': sound/oss/msnd.c:307: warning: implicit declaration of function `disable_irq' sound/oss/msnd.c:323: `msnd_get_num_devs' undeclared here (not in a function) sound/oss/msnd.c:323: initializer element is not constant Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.30, 2004-10-25 18:05:11-07:00, dhowells@redhat.com [PATCH] Shift key-related error codes up and insert ECANCELED This patch shifts the key-related error codes up by one and inserts an ECANCELED error code where not already defined. It seems that has been defined in glibc without passing it back to the kernel:-/ Signed-Off-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.29, 2004-10-25 18:04:58-07:00, juhl-lkml@dif.dk [PATCH] ds_ioctl.c usercopy check Patch adds a check of the return value and returns -EFAULT if __copy_to_user fails. Signed-off-by: Jesper Juhl Acked-by: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.28, 2004-10-25 18:04:46-07:00, akpm@osdl.org [PATCH] revert "ppc: fix build with o=output_dir" This was the wrong fix - back it out and try again later. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2026.17.1, 2004-10-25 21:04:34-04:00, jgarzik@pobox.com Merge pobox.com:/garz/repo/linux-2.6 into pobox.com:/garz/repo/netdev-2.6/misc ChangeSet@1.2026.16.6, 2004-10-25 16:21:14-07:00, andrea@novell.com [NET]: Accept should return ENFILE not EMFILE. Signed-off-by: David S. Miller ChangeSet@1.2026.16.5, 2004-10-25 16:10:45-07:00, herbert@gondor.apana.org.au [NET]: Give skb_checksum_help() an skb_buff * again Since skb_checksum_help has been using pskb_expand_head for a while now without any ill effects, I thought it would be a good idea to remove the double pointers from it and its callers. This is what the following patch does. The only 'rider' bit is the removal of an unnecessary BUG_ON in ip6_pkt_discard_out. The preceding assignment was only added because the following function oopsed so there is no point in doing BUG_ON. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2026.16.4, 2004-10-25 16:05:16-07:00, laforge@netfilter.org [NETFILTER]: fix ipt_ULOG bogus error messages Please apply the fix below, it addresses some bogus error messages ('error during NLMSG_PUT') that were printed because of a wrong calculation of the 'len' parameter to NLMSG_PUT(). Signed-off-by: Harald Welte Signed-off-by: David S. Miller ChangeSet@1.2026.16.3, 2004-10-25 15:48:28-07:00, davem@nuts.davemloft.net [NETFILTER]: ip_ct_attach decl got removed by accident. Signed-off-by: David S. Miller ChangeSet@1.2026.16.2, 2004-10-25 15:43:30-07:00, hch@lst.de [NETFILTER]: Make *_find_target_lock routines static. Signed-off-by: David S. Miller ChangeSet@1.2026.16.1, 2004-10-25 15:38:06-07:00, bdschuym@pandora.be [EBTABLES]: Add wildcard support for interface matching. Due to an old braindead decision, ebtables doesn't yet support the wildcard '+' for matching interface names. The following patch removes this nuissance and is backwards compatible. Signed-off-by: David S. Miller ChangeSet@1.2032, 2004-10-25 18:25:59-04:00, len.brown@intel.com Merge intel.com:/home/lenb/src/26-stable-dev into intel.com:/home/lenb/src/26-latest-dev ChangeSet@1.1803.119.32, 2004-10-25 18:21:05-04:00, len.brown@intel.com [ACPI] Extensions for Display Adapters (Bruno Ducrot) http://bugme.osdl.org/show_bug.cgi?id=1944 Signed-off-by: Luming Yu Signed-off-by: Len Brown ChangeSet@1.2026.10.27, 2004-10-25 15:21:01-07:00, torvalds@ppc970.osdl.org Allow BKL re-acquire to fail, causing us to re-schedule. This allows for low-latency BKL contention even with preemption. Previously, since preemption is disabled over context switches, re-acquiring the kernel lock when resuming a process would be non-preemtible. ChangeSet@1.1803.119.31, 2004-10-25 17:54:56-04:00, len.brown@intel.com [ACPI] ACPI_CUSTOM_DSDT for IA64 too Signed-off-by: Anil S Keshavamurthy Signed-off-by: Len Brown Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.25, 2004-10-25 09:20:09-07:00, torvalds@ppc970.osdl.org ppc64: make G5 setup compile again The stop_self thing is accessed unconditionally from pSeries_setup.c ChangeSet@1.2026.10.24, 2004-10-25 08:24:40-07:00, mingo@redhat.com [PATCH] Avoid small irq preemption recursion window This will get rid of the stack recursion possibility that can occur if an IRQ happens to hit the IRQ return path right after we've reset preempt_count() to 0 and are about to disable interrupts again. Trivially fixed by just moving the preempt count update to inside the interrupt disable. This makes the current PREEMPT_ACTIVE method fully work for IRQ recursions. ChangeSet@1.2026.10.23, 2004-10-25 08:10:39-07:00, linux@dominikbrodowski.de [PATCH] Fix PCMCIA duplicate pc_debug names Avoid naming confusion concerning "pc_debug" which is widely used by drivers be renaming the PCMCIA "driver services" variant to ds_pc_debug. The module parameter stays the same, thanks to module_param_named(). Signed-off-by: Dominik Brodowski Signed-off-by: Linus Torvalds ChangeSet@1.2026.15.1, 2004-10-25 08:03:24-07:00, torvalds@ppc970.osdl.org Merge bk://kernel.bkbits.net/davem/net-2.6 into ppc970.osdl.org:/home/torvalds/v2.6/linux ChangeSet@1.2026.1.23, 2004-10-25 11:01:14+01:00, aia21@cantab.net NTFS: In fs/ntfs/aops.c::mark_ntfs_record_dirty(), take the mapping->private_lock around the dirtying of the buffer heads analagous to the way it is done in __set_page_dirty_buffers(). Signed-off-by: Anton Altaparmakov ChangeSet@1.2026.1.22, 2004-10-25 10:54:46+01:00, aia21@cantab.net NTFS: Add attribute definition handling helpers to fs/ntfs/attrib.[hc]: ntfs_attr_size_bounds_check(), ntfs_attr_can_be_non_resident(), and ntfs_attr_can_be_resident(), which in turn use the new private helper ntfs_attr_find_in_attrdef(). Signed-off-by: Anton Altaparmakov ChangeSet@1.2026.1.21, 2004-10-25 10:49:00+01:00, aia21@cantab.net NTFS: Fix min_size and max_size definitions in ATTR_DEF structure in fs/ntfs/layout.h to be signed. Signed-off-by: Anton Altaparmakov ChangeSet@1.2026.1.20, 2004-10-25 10:46:39+01:00, aia21@cantab.net NTFS: - Change fs/ntfs/inode.c::ntfs_truncate() to return an error code instead of void and provide a helper ntfs_truncate_vfs() for the vfs ->truncate method. - Add a new ntfs inode flag NInoTruncateFailed() and modify fs/ntfs/inode.c::ntfs_truncate() to set and clear it appropriately. Signed-off-by: Anton Altaparmakov ChangeSet@1.2026.1.19, 2004-10-25 10:41:30+01:00, aia21@cantab.net NTFS: Add fs/ntfs/aops.c to list of providers for ->b_end_io method in Documentation/filesystems/Locking. Signed-off-by: Anton Altaparmakov ChangeSet@1.2026.13.1, 2004-10-25 03:49:28-04:00, jgarzik@pobox.com Merge ChangeSet@1.1988.95.41, 2004-10-25 03:37:14-04:00, jgarzik@pobox.com Cset exclude: elf@buici.com|ChangeSet|20040920183610|08290 Revert smc91x driver changeset, since this is already covered by other smc91x updates already upstream. Signed-off-by: Jeff Garzik ChangeSet@1.2026.10.20, 2004-10-25 03:34:39-04:00, jgarzik@pobox.com Merge pobox.com:/garz/repo/netdev-2.6/set-config into pobox.com:/garz/repo/net-drivers-2.6 ChangeSet@1.2026.10.19, 2004-10-25 03:33:45-04:00, jgarzik@pobox.com Merge pobox.com:/garz/repo/netdev-2.6/defxx into pobox.com:/garz/repo/net-drivers-2.6 ChangeSet@1.2026.10.18, 2004-10-25 03:30:48-04:00, jgarzik@pobox.com Merge pobox.com:/garz/repo/netdev-2.6/acenic into pobox.com:/garz/repo/net-drivers-2.6 ChangeSet@1.2026.10.17, 2004-10-25 03:27:44-04:00, jgarzik@pobox.com Merge pobox.com:/garz/repo/netdev-2.6/e100 into pobox.com:/garz/repo/net-drivers-2.6 ChangeSet@1.2026.10.16, 2004-10-24 21:44:39-07:00, geert@linux-m68k.org [PATCH] Atyfb: kill assignment warnings on Atari due to __iomem Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.15, 2004-10-24 21:44:26-07:00, geert@linux-m68k.org [PATCH] SCx200_ACB depends on PCI SCx200_ACB is a PCI driver and thus should depend on PCI Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.14, 2004-10-24 21:44:14-07:00, geert@linux-m68k.org [PATCH] Cyclades assignment warning Remove unneeded cast that causes a warning (cy_isa_addresses is an array of unsigned ints). Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.13, 2004-10-24 21:44:02-07:00, geert@linux-m68k.org [PATCH] NTFS: missing #include fs/ntfs/compress.c calls v{malloc,free}() without including Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.12, 2004-10-24 21:43:49-07:00, bgerst@quark.didntduck.org [PATCH] mem leak in tty_io.c The recent patch to clean up user accesses introduced a memory leak. If write_buf is reallocated, the old buffer isn't freed. Also, since kfree can take nulls, I removed the if from the other kfree. Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.11, 2004-10-24 21:09:41-07:00, benh@kernel.crashing.org [PATCH] ppc64: remove unused cruft from prom.h This patch removes some bogus struct definitions from prom.h that aren't used anymore after the other pending ppc64 patches have been applied. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.10, 2004-10-24 21:09:28-07:00, benh@kernel.crashing.org [PATCH] ppc64: Some cleanups of prom_init.c This patch does a few cleanups of arch/ppc64/kernel/prom_init.c, making the RTAS instanciation code more readable & more robust, fixing a bug in the code bringing in additional CPUs (would work with IBM firmware, but not with another firmware of an upcoming platform), plus remove some old commented out cruft left-over from the big cleanup. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.9, 2004-10-24 21:09:16-07:00, benh@kernel.crashing.org [PATCH] ppc64: cleanup/split SMP code Splits arch/ppc64/kernel/smp.c into 3 different files, smp.c, pSeries_smp.c and iSeries_smp.c, thus removing most of the #define mess in those files and making it easier to add a new platform. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.8, 2004-10-24 21:09:03-07:00, benh@kernel.crashing.org [PATCH] ppc64: Rework PCI <-> OF node matching This patch reworks the code that deals with matching PCI devices with Open Firmware device nodes. This code made several incorrect assumptions and can be simplified significantly. The main functional difference now is that PHBs are no longer special cased, but that shouldn't cause any specific problem. It also fixes a problem where u3_iommu.c wouldn't work for PCI devices that lacked a matching OF device node. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.7, 2004-10-24 21:08:51-07:00, benh@kernel.crashing.org [PATCH] ppc64: Some small pci fixes This patch fixes a few issues in the ppc64 pci code, notably some incorrect parsing of Open Firmware "ranges" when setting up host bridge resources that would cause a problem with some future platforms, a default mapping of the ISA IOs if the OF "isa" node lacks a "ranges" property, and a safeguard in pci_scan_all_fns() in case a pci<->OF node mapping cannot be established. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.6, 2004-10-24 21:08:39-07:00, benh@kernel.crashing.org [PATCH] ppc64: cleanups of ppc64 pci.c This patch applies on top of previously posted "ppc64: Move PCI IO mapping from pSeries_pci.c to pci.c". It does cosmetic cleanups & add some debug macros to pci.c without actually changing any functionality. Further patches against ppc64 pci.c that I'll post will be against a file already patched with this one. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.5, 2004-10-24 21:08:24-07:00, benh@kernel.crashing.org [PATCH] ppc64: clean up existence-check of legacy ISAdevices My previous patch exposed the internals of the ppc_md. data structure to drivers, which wasn't nice, this new patch cleans that up. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.4, 2004-10-24 21:08:12-07:00, benh@kernel.crashing.org [PATCH] ppc64: properly build list of legacy serial ports from OF This patch adds a ppc64 implementation of the routine providing the list of default 8250 serial ports. It provides a empty list by default unless the platform code fills it, and it provides a generic function for user by Open Firmware based machines which fills the list based on serial ports found in the OF device-tree. It depends on the previous patch adding the generic support for this to the 8250 driver. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.3, 2004-10-24 21:08:00-07:00, benh@kernel.crashing.org [PATCH] 8250: Let arch provide the list of leagacy ports This patch adds an optional callback for the 8250 driver to request the list of legacy port via a function call instead of relying on a #define of an array. This finally allows to fix the problem of platforms like ppc and ppc64 for which the same kernel can boot machines with and without a 8250, and is necessary to properly deal with a new platform coming to ppc64 which has a 8250 but with different irq numbers. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.2, 2004-10-24 21:03:45-07:00, benh@kernel.crashing.org [PATCH] ppc64: Rewrite the openpic driver This patch replaces the open_pic IRQ controller driver with a new version rewritten from scratch, called "mpic" (this is the name of IBM's open_pic implementation and also the only one actually used on any platform). It is smaller, hopefully more readable, supports the various variants of the cell in a single driver (open_pic_u3.c is gone), and adds optional support for the workaround of U3 mpic beeing used along with IO-APICs on HyperTransport (the eval board will uses that, among others). Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.10.1, 2004-10-24 21:03:26-07:00, benh@kernel.crashing.org [PATCH] ppc64: Fix pSeries secondary CPU setup This patch fixes the setup of the secondary CPU(s) on pSeries, on non-LPAR platforms, especially with 970 CPUs, we need to copy some of the HID registers from CPU0 to the other ones as soon as they reach the early asm code. The PowerMac SMP entry did it already, but not the pSeries one. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.9.3, 2004-10-24 23:42:57-04:00, ambx1@neo.rr.com [PNPBIOS] acpi compile fix Allow PNPBIOS to compile if ACPI support is not enabled. Signed-off-by: Adam Belay ChangeSet@1.2026.9.2, 2004-10-24 23:27:24-04:00, nacc@us.ibm.com [PNPBIOS] use msleep_interruptible() Description: Use msleep_interruptible() instead of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Adam Belay ChangeSet@1.2026.9.1, 2004-10-24 23:07:32-04:00, ambx1@neo.rr.com [PNPBIOS] disable if ACPI is active As further ACPI pnp functionaility is implemented it is no longer safe to run ACPI and PNPBIOS concurrently. We therefore take the following approach: - attempt to enable ACPI support - if ACPI fails (blacklist etc.) enable pnpbios support - if ACPI support is not compiled in the kernel enable pnpbios support Signed-off-by: Adam Belay ChangeSet@1.2026.1.15, 2004-10-24 17:40:16-07:00, benh@kernel.crashing.org [PATCH] ppc64: Move PCI IO mapping from pSeries_pci.c to pci.c This patch moves some of the routines responsible for dealing with the mapping of PCI host bridges IO space from pSeries to the generic ppc64 pci code. PowerMac doesn't use it currently, but a new platform will soon. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.1.14, 2004-10-24 17:36:12-07:00, benh@kernel.crashing.org [PATCH] Fix msleep to sleep _at_least_ the requested amount Makes sure msleep() sleeps at least the amount provided, since schedule_timeout() doesn't guarantee a full jiffy. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2026.1.13, 2004-10-24 16:44:07-07:00, torvalds@evo.osdl.org Fix broken intel8x0.c ALSA "merge" The file didn't compile, and the ALSA CVS tree had dropped the bitfield signedness fixes. ChangeSet@1.2026.1.12, 2004-10-24 16:24:27-07:00, torvalds@ppc970.osdl.org Un-inline the big kernel lock. Now that spinlocks are uninlined, it is silly to keep the BKL inlined. And this should make it a lot easier for people to play around with variations on the locking (ie Ingo's semaphores etc). ChangeSet@1.2015.1.12, 2004-10-25 01:11:17+02:00, pablo@eurodev.net [NETFILTER]: fix stats in __ip_conntrack_confirm net_rx_softirq can preempt the calling process while incrementing the stats. I think that we can fix this moving both CONNTRACK_STAT_INC to the locked section. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Patrick McHardy ChangeSet@1.2015.1.11, 2004-10-25 00:46:55+02:00, yasuyuki.kozakai@toshiba.co.jp [NETFILTER]: Introduce skb_header_pointer() to hbh match Signed-off-by: Yasuyuki KOZAKAI Signed-off-by: Patrick McHardy ChangeSet@1.2015.1.10, 2004-10-25 00:45:22+02:00, yasuyuki.kozakai@toshiba.co.jp [NETFILTER]: Introduce skb_header_pointer() to dst match Signed-off-by: Yasuyuki KOZAKAI Signed-off-by: Patrick McHardy ChangeSet@1.2015.1.9, 2004-10-25 00:43:08+02:00, yasuyuki.kozakai@toshiba.co.jp [NETFILTER]: Fix multiple bugs in hbh match This patch fixes the following bugs in ip6t_hbh.c. - The cast of the pointer to the next IPv6 extension header is wrong. - hdrlen may underflow. - (u16)*optdesc causes to alignment problem. - The calculation of the offset to next option is wrong. In the case that the type isn't 0, it should be "Opt Data Len" field + 2 (see RFC2460). Signed-off-by: Yasuyuki KOZAKAI Signed-off-by: Patrick McHardy ChangeSet@1.2015.1.8, 2004-10-25 00:39:13+02:00, yasuyuki.kozakai@toshiba.co.jp [NETFILTER]: Fix multiple bugs in dst match This patch fixes the following bugs in ip6t_dst.c. - ".me = THIS_MODULE" is missing - The cast of the pointer to the next IPv6 extension header is wrong. - hdrlen may underflow. - (u16)*optdesc causes to alignment problem. - The calculation of the offset to next option is wrong. In the case that the type isn't 0, it should be "Opt Data Len" field + 2 (see RFC2460). Signed-off-by: Yasuyuki KOZAKAI Signed-off-by: Patrick McHardy ChangeSet@1.2026.1.11, 2004-10-24 15:20:06-07:00, adaplas@hotpop.com [PATCH] fbdev: Fix software blanking code The code in fbmem.c:fb_blank() is broken. For drivers without an fb_blank hook, an FBIO_BLANK ioctl will produce wrong colors or will segfault. Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds ChangeSet@1.2026.1.10, 2004-10-24 13:34:51-07:00, torvalds@ppc970.osdl.org Annotate the trivial unconditional lock/unlock functions on SMP. This does _not_ handle the conditional ones (lock_kernel and the trylock variants), so there will be a fair number of context error warnings with this. However, the warnings are disabled by default in sparse - you have to use "-Wcontext" to see them. ChangeSet@1.2026.1.9, 2004-10-24 13:33:07-07:00, torvalds@ppc970.osdl.org Start supporting lock context annotations. This just sets up the portability defines. ChangeSet@1.2026.1.8, 2004-10-24 12:21:08-07:00, rth@twiddle.net [PATCH] Add __ioremap I hadn't realized this was supposed to be an official interface. Or maybe it's not, but the fb drivers all use it. Anyway... ChangeSet@1.2026.1.7, 2004-10-24 12:20:55-07:00, ink@jurassic.park.msu.ru [PATCH] alpha: bootp fixes - redefine "printk" as "srm_printk" for bootstrappers; - fix stack corruption problem with bootp/bootpz loaders and older SRM consoles. ChangeSet@1.2026.1.6, 2004-10-24 12:20:41-07:00, ink@jurassic.park.msu.ru [PATCH] alpha: fix CIA IO The high order bits of the input address should be cleared only after IO type and base are determined. ChangeSet@1.2026.1.5, 2004-10-24 12:20:28-07:00, ink@jurassic.park.msu.ru [PATCH] alpha: fix sparse warnings - add missing "__user" annotations in csum_partial_copy.c; - make io_remap_page_range more readable and fix a warning. ChangeSet@1.2026.6.1, 2004-10-24 15:34:10+01:00, arjan@nl.rmk.(none) [SERIAL] Remove dead code. serial8250_get_irq_map is no longer used anywhere in the kernel (it used to be used by the isapnp code but isn't anymore) so it's dead code, below is a patch to remove this. ChangeSet@1.2015.1.7, 2004-10-24 16:16:40+02:00, tgraf@suug.ch [NETFILTER]: Fix warning in CONNMARK Signed-off-by: Thomas Graf Signed-off-by: Patrick McHardy ChangeSet@1.2015.1.6, 2004-10-24 16:11:28+02:00, kaber@coreworks.de Merge coreworks.de:/home/kaber/src/bk-repos/net-2.6 into coreworks.de:/home/kaber/src/nf/nf-2.6 ChangeSet@1.2026.5.1, 2004-10-24 00:43:42+01:00, rmk@flint.arm.linux.org.uk [ARM] Fix missing parens for __FD_* operations. fork.c highlighted that we were missing some parens. Add them. ChangeSet@1.2026.4.11, 2004-10-23 23:19:19+02:00, bzolnier@trik.(none) [ide] slc90e66: kill /proc/ide/slc90e66 Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.4.10, 2004-10-23 23:16:57+02:00, bzolnier@trik.(none) [ide] serverworks: kill /proc/ide/svwks Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.4.9, 2004-10-23 23:13:46+02:00, bzolnier@trik.(none) [ide] sc1200: kill /proc/ide/sc1200 Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.4.8, 2004-10-23 23:08:13+02:00, bzolnier@trik.(none) [ide] piix: kill /proc/ide/piix Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.4.7, 2004-10-23 23:05:06+02:00, bzolnier@trik.(none) [ide] pdc202xx_old: kill /proc/ide/pdc202xx Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.4.6, 2004-10-23 22:56:34+02:00, bzolnier@trik.(none) [ide] pdc202xx_new: kill /proc/ide/pdcnew Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.4.5, 2004-10-23 22:54:07+02:00, bzolnier@trik.(none) [ide] hpt366: kill /proc/ide/hpt366 Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.4.4, 2004-10-23 22:51:31+02:00, bzolnier@trik.(none) [ide] cs5530: kill /proc/ide/cs5530 Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.4.3, 2004-10-23 22:49:23+02:00, bzolnier@trik.(none) [ide] cs5520: kill /proc/ide/cs5520 Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.4.2, 2004-10-23 22:46:33+02:00, bzolnier@trik.(none) [ide] atiixp: kill /proc/ide/atiixp Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2026.4.1, 2004-10-23 22:43:33+02:00, bzolnier@trik.(none) [ide] aec62xx: kill /proc/ide/aec62xx Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.1803.119.30, 2004-10-23 13:37:09-04:00, len.brown@intel.com [ACPI] ibm-acpi 0.7 from Borislav Deianov The CMOS handle was incorrectly marked as required, breaking insmod on models without one; The BLED method was incorrectly required if LED is not defined, breaking LED control on the A21e. Signed-off-by: Len Brown ChangeSet@1.2026.3.5, 2004-10-23 10:07:23-07:00, roland@redhat.com [PATCH] fix core-dump return code While looking at the signal.c coredumping BUG_ON race, I noticed a bug (not directly related) in do_coredump. It was setting the "core dumped" flag even when the format dumping hook failed (e.g. for memory allocation failures). Signed-off-by: Linus Torvalds ChangeSet@1.2026.3.4, 2004-10-23 10:07:11-07:00, roland@redhat.com [PATCH] Fix ptrace problem This is indeed a new bug, and it is not architecture-specific. In my recent changes to close some race conditions, I overlooked the case of a process using PTRACE_ATTACH on its own children. The new PT_ATTACHED flag does not really mean "PTRACE_ATTACH was used", it means "PTRACE_ATTACH is changing the ->parent link". This fixes the problem that Stephane Eranian program demonstrates. Signed-off-by: Roland McGrath Signed-off-by: Linus Torvalds ChangeSet@1.2026.3.3, 2004-10-23 10:06:59-07:00, roland@redhat.com [PATCH] Invalid BUG_ONs in signal.c Oh, duh. The race is obvious. Sorry for the confusion there. The BUG_ON's were useful for debugging, since they trigger on a lot of errors, but they _also_ trigger on some unlikely (but valid) races. So just remove them - just fall through to the regular exit code after core-dumping (which does everything right). Signed-off-by: Linus Torvalds ChangeSet@1.2026.1.2, 2004-10-23 19:01:21+02:00, perex@suse.cz [ALSA] boot_devs removal - module_param_array() accepts NULL now Intel8x0 driver,RME96 driver,ICE1724 driver,NM256 driver Signed-off-by: Jaroslav Kysela ChangeSet@1.2026.3.1, 2004-10-23 09:49:57-07:00, chrisw@osdl.org [PATCH] delay rq_lock acquisition in setscheduler Doing access control checks with rq_lock held can cause deadlock when audit messages are created (via printk or audit infrastructure) which trigger a wakeup and deadlock, as noted by both SELinux and SubDomain folks. This patch will let the security checks happen w/out lock held, then re-sample the p->policy in case it was raced. Originally from John Johansen , reworked by me. AFAIK, this version drew no objections from Ingo or Andrea. From: John Johansen Acked-by: Ingo Molnar Signed-off-by: Chris Wright Signed-off-by: Linus Torvalds ChangeSet@1.2026.1.1, 2004-10-23 10:31:03+02:00, perex@suse.cz Merge ChangeSet@1.2030, 2004-10-23 02:16:04-04:00, len.brown@intel.com Merge intel.com:/home/lenb/src/26-latest-dominik into intel.com:/home/lenb/src/26-latest-dev ChangeSet@1.2029, 2004-10-23 02:13:06-04:00, len.brown@intel.com Merge intel.com:/home/lenb/src/26-stable-dev into intel.com:/home/lenb/src/26-latest-dev ChangeSet@1.2028, 2004-10-23 01:21:11-04:00, len.brown@intel.com Cset exclude: jason.davis@unisys.com[torvalds]|ChangeSet|20040914144015|50315 ChangeSet@1.1803.119.29, 2004-10-22 23:44:20-04:00, len.brown@intel.com Merge intel.com:/home/lenb/src/26-stable-acpica into intel.com:/home/lenb/src/26-stable-dev ChangeSet@1.1803.162.9, 2004-10-22 23:12:41-04:00, len.brown@intel.com [ACPI] fix build warning ChangeSet@1.1803.162.8, 2004-10-22 22:56:02-04:00, len.brown@intel.com [ACPI] ACPICA 20041015 from Bob Moore Signed-off-by: Len Brown Note: ACPI CA is currently undergoing an in-depth and complete formal evaluation to test/verify the following areas. Other suggestions are welcome. This will result in an increase in the frequency of releases and the number of bug fixes in the next few months. - Functional tests for all ASL/AML operators - All implicit/explicit type conversions - Bit fields and operation regions - 64-bit math support and 32-bit-only "truncated" math support - Exceptional conditions, both compiler and interpreter - Dynamic object deletion and memory leaks - ACPI 3.0 support when implemented - External interfaces to the ACPI subsystem Fixed two alignment issues on 64-bit platforms - within debug statements in acpi_ev_gpe_detect and acpi_ev_create_gpe_block. Removed references to the Address field within the non-aligned ACPI generic address structure. Fixed a problem in the Increment and Decrement operators where incorrect operand resolution could result in the inadvertent modification of the original integer when the integer is passed into another method as an argument and the arg is then incremented/decremented. Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-bit BCD number were truncated during conversion. Fixed a problem in the ToDecimal operator where the length of the resulting string could be set incorrectly too long if the input operand was a Buffer object. Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte (0) within a buffer would prematurely terminate a compare between buffer objects. Added a check for string overflow (>200 characters as per the ACPI specification) during the Concatenate operator with two string operands. ChangeSet@1.1803.162.7, 2004-10-22 22:55:32-04:00, len.brown@intel.com [ACPI] fix build warning in tables/tbget.c ChangeSet@1.1803.162.6, 2004-10-22 22:10:26-04:00, len.brown@intel.com [ACPI] ACPICA 20041006 from Bob Moore Signed-off-by: Len Brown Implemented support for the ACPI 3.0 Timer operator. This ASL function implements a 64-bit timer with 100 nanosecond granularity. Defined a new OSL interface, acpi_os_get_timer. This interface is used to implement the ACPI 3.0 Timer operator. This allows the host OS to implement the timer with the best clock available. Also, it keeps the core subsystem out of the clock handling business, since the host OS (usually) performs this function. Fixed an alignment issue on 64-bit platforms. The hw_low_level_read/write() functions use a 64-bit address which is part of the packed ACPI Generic Address Structure. Since the structure is non-aligned, the alignment macros are now used to extract the address to a local variable before use. Fixed a problem where the ToInteger operator assumed all input strings were hexadecimal. The operator now handles both decimal strings and hex strings (prefixed with "0x"). Fixed a problem where the string length in the string object created as a result of the internal ConvertToString procedure could be incorrect. This potentially affected all implicit conversions and also the ToDecimalString and ToHexString operators. Fixed two problems in the ToString operator. If the length parameter was zero, an incorrect string object was created and the value of the input length parameter was inadvertently changed from zero to Ones. Fixed a problem where the optional ResourceSource string in the ExtendedIRQ resource macro was ignored. Simplified the interfaces to the internal division functions, reducing code size and complexity. ChangeSet@1.1803.162.5, 2004-10-22 22:00:01-04:00, len.brown@intel.com [ACPI] place-holder for ACPI 3.0 acpi_os_get_timer() ChangeSet@1.2026, 2004-10-22 18:04:49-07:00, david-b@pacbell.net [PATCH] Missed usb devices on boot This marks sets change_bits to all ones when bringing up a hub, since not all hubs seem to send change events for devices that were plugged in when the hub was reset. David Miller confirms this fixes his boot-time lost keyboard/mouse problem ChangeSet@1.2015.1.5, 2004-10-22 16:07:33-07:00, davem@nuts.davemloft.net [ATY]: Fix build on sparc after viro sparse changes. Signed-off-by: David S. Miller ChangeSet@1.2016.3.1, 2004-10-22 16:07:19-07:00, greg@kroah.com Merge kroah.com:/home/greg/linux/BK/bleed-2.6 into kroah.com:/home/greg/linux/BK/usb-2.6 ChangeSet@1.2000.18.18, 2004-10-22 15:54:52-07:00, david-b@pacbell.net [PATCH] USB ehci: minor debug cleanups This updates debug messages, declaring that labels can be constant strings and changing some old-school dbg() calls to driver model dev_dbg(). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2000.18.17, 2004-10-22 15:54:23-07:00, david-b@pacbell.net [PATCH] USB ehci: handle earlier endpoint_disable() The recent patch to scrub out ep0 state earlier (to get rid of some of the enumeration problems that started with about 2.6.6) requires EHCI to handle endpoint_disable() calls in a slightly different context. This makes those calls work when an endpoint's QH may still be on the async schedule, rather than already unlinked. (The QH stays on the async schedule for a few milliseconds after it's empty, since it's routine to issue another request almost immediately.) Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2000.18.16, 2004-10-22 15:53:58-07:00, david-b@pacbell.net [PATCH] USB ehci: minor pci tweaks This has minor PCI tweaks for the EHCI driver: - If the (nonfunctional) AMD 8111 controller shows up, ignore it. (Patch from Matt Dharm, with minor coding style tweaks). - Delete some code that interprets an EHCI capability code; it should be a PCI capability instead. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2023, 2004-10-22 15:43:17-07:00, greg@kroah.com hotplug: prevent skips in sequence number from happening Signed-off-by: Greg Kroah-Hartman ChangeSet@1.2015.1.4, 2004-10-22 15:25:42-07:00, davem@nuts.davemloft.net [NETFILTER]: Fix ipt_hashlimit build with NETFILTER_DEBUG enabled. Signed-off-by: David S. Miller ChangeSet@1.2015.1.3, 2004-10-22 15:01:24-07:00, tgraf@suug.ch [PKT_SCHED]: u32: Remove unused hgenerator field in tc_u_hnode. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2015.1.2, 2004-10-22 14:59:07-07:00, shemminger@osdl.org [PKT_SCHED]: netem: use timer to handle packets not rescheduling Change the behaviour of netem's delayed packets queue to make it work better with TBF and other rate control disciplines. Now, packets are put in the delayed queue and held there until the next timer interval, then moved to the underlying qdisc. qlen is set to match the available packets in the underlying discipline (and not count those waiting). Previously, netem would perturb the rate control disciplines because of rescheduling and moving packets in the dequeue handler. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller ChangeSet@1.2015.1.1, 2004-10-22 14:56:35-07:00, herbert@gondor.apana.org.au [TCP]: Only re-set TSO size for packet which was TSO to begin with. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2016.1.2, 2004-10-22 14:30:50-07:00, torvalds@ppc970.osdl.org Linux 2.6.10-rc1 New and Improved! "Woozy Numbat!" Pick up the phone in the next two minutes and phone in your order, and we'll throw in a second copy of Woozy Numbat, ABSOLUTELY FREE! You too could start a Numbat farm! TAG: v2.6.10-rc1