Selected commits to mm-sources between 26/03/2006 and 24/04/2006, covering 923 new and 1264 removed patches.

Editors notes:


Patch list

alim15x3: ULI M-1573 south Bridge support
bcm43xx: make PIO mode usable
Block I/O Schedulers: document runtime selection
block: delay all uevents until partition table is scanned
fbdev: Remove old radeon driver
forcedeth: add support for configuration
forcedeth: add support for flow control
hdaps: support new Lenovo machines
ide: ATI SB600 IDE support
scsi: ATI SB600 SATA support
net driver: Add support for SMSC LAN911x line of ethernet chips
OpenCores I2C bus driver
orinoco: bump version to 0.15
orinoco: reduce differences between PCI drivers, create orinoco_pci.h
orinoco: remove PCMCIA audio support, it's useless for wireless cards
orinoco: support PCI suspend/resume for Nortel, PLX and TMD adaptors
PCI Error Recovery: e1000 network device driver
pl2303: added support for OTi's DKU-5 clone cable
radeonfb: powerdrain issue on IBM thinkpads and suspend-to-D2
re-add the OSS SOUND_CS4232 option
sbp2: add read_capacity workaround for iPod
sched: prevent high load weight tasks suppressing balancing
spi: add spi master driver for Freescale MPC83xx SPI controller
swsusp: use less memory during resume
tpm: Driver for next generation TPM chips
USB: wacom tablet driver update
via-rhine: link state fix
w100fb: Add acceleration support to ATI Imageon
x86-64: Calgary IOMMU: Calgary specific bits
zlib_inflate: Upgrade library code to a recent version




alim15x3: ULI M-1573 south Bridge support KAI.HSU Sun, 09 Apr 2006 21:35:01 -0700 1 files changed, 2 insertions(+) 670 Bytes
From http://bugzilla.kernel.org/show_bug.cgi?id=6358

The alim15x3.c hasn't been update for 3 years. Recently when we used this "ULI M1573" south bridge chip we couldn't mount a CDROM(VCD) smoothly and had to wait for a long time. After I checked the "ULI M1573" south bridge datasheet, I found the reason. The "ULI M1573" version is "0xC7", not "0xC4" anymore. So I modified the source and it was successed.

Signed-off-by: Andrew Morton <akpm@osdl.org>


bcm43xx: make PIO mode usable Michael Buesch Sun, 23 Apr 2006 16:00:36 -0700 3 files changed, 84 insertions(+), 32 deletions(-) 5016 Bytes
Fix PIO mode on the softmac bcm43xx driver. (A dscape patch will follow). It mainly fixes endianess issues. This patch is tested on PowerPC32 and i386.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>


Block I/O Schedulers: document runtime selection Valdis Kletnieks Mon, 27 Mar 2006 15:51:17 -0800 1 files changed, 22 insertions(+) 1322 Bytes
We added the ability to change a block device's IO elevator scheduler both at kernel boot and on-the-fly, but we only documented the elevator= boot parameter. Add a quick how-to on doing it on the fly.

Editor's note: You can set the I/O scheduler for a given device at runtime with "echo $SCHEDNAME > /sys/block/$DEV/queue/scheduler"

Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>


block: delay all uevents until partition table is scanned Kay Sievers Sun, 26 Mar 2006 15:00:24 -0800 2 files changed, 32 insertions(+), 9 deletions(-) 3474 Bytes
Here we delay the annoucement of all block device events until the disk's partition table is scanned and all partition devices are already created and sysfs is populated.

We have a bunch of old bugs for removable storage handling where we probe successfully for a filesystem on the raw disk, but at the same time the kernel recognizes a partition table and creates partition devices.

Currently there is no sane way to tell if partitions will show up or not at the time the disk device is announced to userspace. With the delayed events we can simply skip any probe for a filesystem on the raw disk when we find already present partitions.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>


fbdev: Remove old radeon driver Michael Hanselmann Thu, 30 Mar 2006 13:13:51 -0800 3 files changed, 3180 deletions(-) 856 Bytes
This patch removes the old radeon driver which has been replaced by a newer one.

Signed-off-by: Michael Hanselmann <linux-kernel@hansmi.ch>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>


forcedeth: add support for configuration Manfred Spraul Tue, 18 Apr 2006 22:44:48 -0700 1 files changed, 1763 insertions(+), 440 deletions(-) 16306 Bytes
forcedeth: add support for flow control Manfred Spraul Tue, 18 Apr 2006 22:44:34 -0700 1 files changed, 104 insertions(+), 35 deletions(-) 4593 Bytes
Add support for configuration of various parameters. This includes module parameters and ethtool commands.

Editors note: This patch adds a bunch of module parameters, like TCP Segmentation offload, Wake on LAN and VLAN Tagging. And it seems to bring Interface statistics.

Signed-off-by: Ayaz Abdulla <aabdulla@nvidia.com>
Signed-off-by: Manfred Spraul <manfred@colorfullife.com
Signed-off-by: Andrew Morton <akpm@osdl.org>

Add flow control support for tx and rx pause frames in forcedeth.

Signed-off-by: Ayaz Abdulla <aabdulla@nvidia.com>
Signed-off-by: Manfred Spraul <manfred@colorfullife.com
Signed-off-by: Andrew Morton <akpm@osdl.org>


hdaps: support new Lenovo machines Robert Love Mon, 3 Apr 2006 16:56:19 -0700 1 files changed, 11 insertions(+) 1404 Bytes
Add support for forthcoming Lenovo-branded machines to the HDAPS driver.

Signed-off-by: Robert Love <rml@novell.com>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Dmitry Torokhov <dtor_core@ameritech.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>


ide: ATI SB600 IDE support "Anatoli Antonovitch" Thu, 30 Mar 2006 14:06:14 -0800 2 files changed, 5 insertions(+) 1489 Bytes
scsi: ATI SB600 SATA support "Anatoli Antonovitch" Thu, 30 Mar 2006 14:07:41 -0800 1 files changed, 4 insertions(+) 814 Bytes
Add support for the IDE and SATA devices on ATI SB600.

Signed-off-by: Andrew Morton <akpm@osdl.org>


net driver: Add support for SMSC LAN911x line of ethernet chips "Dustin McIntire" Thu, 20 Apr 2006 01:12:02 -0700 4 files changed, 3159 insertions(+) 97988 Bytes
New net driver. Only tested on ARM.

Signed-off-by: Dustin McIntire <dustin@sensoria.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>


OpenCores I2C bus driver Peter Korsgaard Fri, 21 Apr 2006 14:11:40 -0700 4 files changed, 390 insertions(+) 10498 Bytes
The following patch adds support for the OpenCores I2C controller IP core (See http://www.opencores.org/projects.cgi/web/i2c/overview).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Andrew Morton <akpm@osdl.org>


orinoco: bump version to 0.15 Pavel Roskin Fri, 7 Apr 2006 15:37:52 -0700 1 files changed, 1 insertion(+), 1 deletion(-) 1826 Bytes
orinoco: reduce differences between PCI drivers, create orinoco_pci.h Pavel Roskin Fri, 7 Apr 2006 15:37:48 -0700 5 files changed, 368 insertions(+), 565 deletions(-) 1066 Bytes
orinoco: remove PCMCIA audio support, it's useless for wireless cards Pavel Roskin Fri, 7 Apr 2006 15:37:14 -0700 2 files changed, 12 deletions(-) 688 Bytes
orinoco: support PCI suspend/resume for Nortel, PLX and TMD adaptors Pavel Roskin Fri, 7 Apr 2006 15:37:46 -0700 3 files changed, 241 insertions(+), 4 deletions(-) 9708 Bytes
Make all Orinoco PCI drivers (orinoco_pci, orinoco_plx, orinoco_tmd and orinoco_nortel) as similar as possible. Use the best implementation of error handling, the best error messages, the best comments. Put common code to orinoco_pci.h. For now, it's suspend and resume functions and function for registering the network device.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>


PCI Error Recovery: e1000 network device driver linas@austin.ibm.com (Linas Vepstas) Sun, 26 Mar 2006 15:01:52 -0800 1 files changed, 113 insertions(+), 1 deletion(-) 4585 Bytes
Various PCI bus errors can be signaled by newer PCI controllers. This patch adds the PCI error recovery callbacks to the Intel Gigabit Ethernet e1000 device driver. The patch has been tested, and appears to work well.

Signed-off-by: Linas Vepstas <linas@linas.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>


pl2303: added support for OTi's DKU-5 clone cable Tomasz Kazmierczak Thu, 6 Apr 2006 15:55:21 -0700 2 files changed, 5 insertions(+) 1349 Bytes
Add support for a clone of Nokia DKU-5 cable made by Ours Technology Inc. for Nokia phones with PopPort (Nokia 3100 and others). The cable uses PL2303 USB-to-serial converter from Prolific Technology Inc.

Signed-off-by: Tomasz Kazmierczak <tomek.fizyk@op.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>


radeonfb: powerdrain issue on IBM thinkpads and suspend-to-D2 Giorgio Lando Sun, 16 Apr 2006 17:28:27 -0700 2 files changed, 133 insertions(+), 2 deletions(-) 517 Bytes
Many IBM Thinkpad T4* models and some R* and X* with radeon video cards, when suspended to RAM, draw too much power, reducing drastically the battery lifetime. The solution is to enable suspend-to-D2 on non-PPC-machines. Since this is in general not well documented, suspend-to-D2 is enabled only on machines where it is known to work. These machines are identified through their DMI strings and listed in a white-list into the patch itself.

This behaviour can be overriden with module options: through these options suspend-to-D2 can be:

- enabled also on non-whitelisted machines (since the white-list is partial and can be enlarged in the time);
- disabled on whitelisted machines, in case of negative side-effects.

The module options can be passed at boot time including the following corresponding parameter in the kernel command line:

- video=radeonfb:force_sleep=1
- video=radeonfb:nosleep=1

Signed-off-by: Antti Andreimann <Antti.Andreimann@mail.ee>
Signed-off-by: Thomas De Grenier De Latour <degrenier@easyconnect.fr>
Signed-off-by: Giorgio Lando <patroclo7@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>


re-add the OSS SOUND_CS4232 option Adrian Bunk Sun, 23 Apr 2006 16:08:42 -0700 1 files changed, 14 insertions(+) 2954 Bytes
A regression in the ALSA driver compared to the OSS driver was reported as ALSA bug #1520, so let's keep the OSS driver for now.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>


sbp2: add read_capacity workaround for iPod Stefan Richter Fri, 14 Apr 2006 21:53:08 -0700 2 files changed, 46 insertions(+), 4 deletions(-) 5013 Bytes
Apple decided to copy some USB stupidity over to FireWire. The sector number returned by iPods from read_capacity is one too many. This may cause I/O errors, especially if the kernel is configured for EFI partition support. We use the same workaround as usb-storage but have to check for different model IDs.

http://marc.theaimsgroup.com/?t=114233262300001
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=187409

Acknowledgements: Diagnosis and therapy by Mathieu Chouquet-Stringer <ml2news@free.fr>, additional data about affected and unaffected Apple hardware from Vladimir Kotal, Sander De Graaf, Bryan Olmstead, Hugh Dixon.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>Signed-off-by: Andrew Morton <akpm@osdl.org>


sched: prevent high load weight tasks suppressing balancing Peter Williams Tue, 28 Mar 2006 23:12:09 -0800 1 files changed, 27 insertions(+), 8 deletions(-) 3289 Bytes
Problem:

On systems with more than 2 CPUs it is possible for a single task with a high smpnice load weight to suppress load balancing on other CPUs (to the one that it's running on) if it is the only runnable task on its CPU. E.g. consider a 4-way system (simple SMP system with no HT and cores) scenario where a high priority task (nice-20) is running on P0 and two normal priority tasks running on P1. load balance with smp nice code will never be able to detect an imbalance and hence will never move one of the normal priority tasks on P1 to idle cpus P2 or P3 as P0 will always be identified as the busiest CPU but it has no tasks that can be moved.

Solution:

Make sure that only CPUs with tasks that can be moved get selected as the busiest queue. This involves ensuring that find_busiest_group() only considers groups that have at least one CPU with more than one task running as candidates for the busiest group and that find_busiest_queue() only considers CPUs that have more than one task running as candidates for the busiest run queue.

One effect of this is that load balancing will be abandoned earlier in the sequence (i.e. before the double run queue locks are taken prior to calling move_tasks() rather than in move_tasks() itself) when there are no tasks that can be moved than would be the case without this patch.

However, it is undesirable for HT/MC packages to have more than one of their CPUs busy if there are other packages that have all of their CPUs
idle. This involves moving the only running task (i.e. the one actually
on the CPU) off on to another CPU and is achieved by using
active_load_balance() and relying on the fact that (when it starts) the queue's migration thread will preempt the sole running task and (therefore) make it movable. The migration thread then moves it to an idle package.

Unfortunately, the mechanism for setting the run queues active_balance flag is buried deep inside load_balance() and relies heavily on find_busiest_group() and find_busiest_queue() reporting success even if the busiest queue has only one task running. To support this requirement the solution has been modified so that queues with only one task will be found (if there are none available with more than 1 task) if the value of idle passed to find_busiest_group() and find_busiest_queue() is not NEWLY_IDLE which will never be true when they are called from load_balance(). This sub optimal modification should be removed when a proper implementation of the HT/MC special balancing requirements is available.

PS: This doesn't take into account tasks that can't be moved because they are pinned to a particular CPU. At this stage, I don't think that it's worth the effort to make the changes that would enable this.

Signed-off-by: Peter Williams <pwil3058@bigpond.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>


spi: add spi master driver for Freescale MPC83xx SPI controller Kumar Gala Tue, 11 Apr 2006 14:54:10 -0700 4 files changed, 507 insertions(+) 15053 Bytes
This driver supports the SPI controller on the MPC83xx SoC devices from Freescale. Note, this driver supports only the simple shift register SPI controller and not the descriptor based CPM or QUICCEngine SPI controller.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>


swsusp: use less memory during resume "Rafael J. Wysocki" Wed, 19 Apr 2006 23:57:46 -0700 2 files changed, 85 insertions(+), 58 deletions(-) 1142 Bytes
Make swsusp allocate only as much memory as needed to store the image data and metadata during resume.

Without this patch swsusp additionally allocates many page frames that will conflict with the "original" locations of the image data and are considered as "unsafe", treating them as "eaten" pages (ie. allocated but unusable).

The patch makes swsusp allocate as many pages as it'll need to store the data read from the image in one shot, creating a list of allocated "safe" pages, and use the observation that all pages allocated by it are marked with the PG_nosave and PG_nosave_free flags set. Namely, when it's about to load an image page, swsusp can check whether the page frame corresponding to the "original" location of this page has been allocated (ie. if the page frame has the PG_nosave and PG_nosave_free flags set) and if so, it can load the page directly into this page frame. Otherwise it uses an allocated "safe" page from the list to store the data that will be copied to their "original" location later on.

This allows us to save many page copyings and page allocations during resume and in the future it may allow us to load images greater than 50% of the normal zone.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>


tpm: Driver for next generation TPM chips Leendert van Doorn Mon, 10 Apr 2006 15:03:56 -0700 5 files changed, 661 insertions(+), 1 deletion(-) 20808 Bytes
The driver for the next generation of TPM chips version 1.2 including support for interrupts. The Trusted Computing Group has written the TPM Interface Specification (TIS) which defines a common interface for all manufacturer's< 1.2 TPM's thus the name tpm_tis.

Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com>
Signed-off-by: Kylene Hall <kjhall@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>


USB: wacom tablet driver update "Ping Cheng" Wed, 29 Mar 2006 16:56:48 -0800 1 files changed, 87 insertions(+), 49 deletions(-) 6044 Bytes
Add support for DTF 521, Intuos3 12x12, and 12x19; fixes minor data report bugs.

Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>


via-rhine: link state fix Roger Luethi Tue, 28 Mar 2006 12:35:43 -0800 1 files changed, 21 insertions(+) 1709 Bytes
Problems with link state detection have been reported several times in the past months. Denis Vlasenko did all the work tracking it down. Jeff Garzik suggested the proper place for the fix. When using the mii library, the driver needs to check mii->force_media and set dev->state accordingly.

Signed-off-by: Roger Luethi <rl@hellgate.ch>
Signed-off-by: Andrew Morton <akpm@osdl.org>


w100fb: Add acceleration support to ATI Imageon Alberto Mardegan Mon, 27 Mar 2006 15:53:37 -0800 2 files changed, 611 insertions(+), 299 deletions(-) 36382 Bytes
Add acceleration support in w100fb.c (i.e. ATI Imageons) for the copyarea and fillrect operations.

Signed-off-by: Alberto Mardegan <mardy@users.sourceforge.net>
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>


x86-64: Calgary IOMMU: Calgary specific bits Muli Ben-Yehuda Sat, 25 Mar 2006 22:40:06 -0800 4 files changed, 1269 insertions(+) 34948 Bytes
Introduce the Calgary specific bits. The implementation draws inspiration from both PPC (which has support for the same chip but requires firmware support which we don't have on x86-64) and gart. Calgary is different from gart in that it support a translation table per PHB, as opposed to the single gart aperture.

Patch is -C1, against 2.6.16-git. This patch (and the following one) fix the majority of Andi's comments.

Signed-off-by: Muli Ben-Yehuda <mulix@mulix.org>
Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>


zlib_inflate: Upgrade library code to a recent version Richard Purdie Fri, 7 Apr 2006 15:08:08 -0700 16 files changed, 1884 insertions(+), 2013 deletions(-) 4474 Bytes
Upgrade the zlib_inflate implementation in the kernel from a patched version 1.1.3/4 to a patched 1.2.3. The code in the kernel is about seven years old and I noticed that the external zlib library's inflate performance was significantly faster (~50%) than the code in the kernel on ARM (and faster again on x86_32). For comparison the newer deflate code is 20% slower on ARM and 50% slower on x86_32 but gives an approx 1% compression ratio improvement. I don't consider this to be an improvement for kernel use so have no plans to change the zlib_deflate code.

Various changes have been made to the zlib code in the kernel, the most significant being the extra functions/flush option used by ppp_deflate. This update reimplements the features PPP needs to ensure it continues to work. This code has been tested on ARM under both JFFS2 (with zlib compression enabled) and ppp_deflate and on x86_32. JFFS2 sees an approx. 10% real world file read speed improvement.

This patch also removes ZLIB_VERSION as it no longer has a correct value. We don't need version checks anyway as the kernel's module handling will take care of that for us. This removal is also more in keeping with the zlib author's wishes (http://www.zlib.net/zlib_faq.html#faq24) and I've added something to the zlib.h header to note its a modified version.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>


Created using parse-mm-commits.rb