commit 2f4ba45a75d6383b4a1201169a808ffea416ffa0 Author: Linus Torvalds Date: Mon Sep 12 20:12:09 2005 -0700 Linux 2.6.14-rc1 Two weeks after 2.6.13: starting to calm things down. commit 9c2aba4852c7e4a33741023109c3713e309d5f8f Author: Greg Ungerer Date: Tue Sep 13 11:14:08 2005 +1000 [PATCH] m68knommu: optimized local_irq_disable, and platform reboot code Switch to a space optimized version of local_irq_disable() for ColdFire platforms. Also add reboot support for the Freescale M5272 platform. Patch originally submitted by Philippe De Muyter . Add reboot support for the Freescale M523x ColdFire platform. Patch originally submitted by Jate Sujjavanich. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 9f5757476dc1c8eabc51e7d14722a2646bc2cb9d Author: Greg Ungerer Date: Tue Sep 13 11:14:08 2005 +1000 [PATCH] m68knommu: startup code for the Drangen Engine 68328 based board Specialized startup code for the 68328 based DragenEngine board. It doesn't easily fit into the common 68x328 startup code framework. It doesn't want any of the common hardware setup to be done here. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 7cf27cb4162bd586c015e32383f30bc7fbb3ff8a Author: Greg Ungerer Date: Tue Sep 13 11:14:08 2005 +1000 [PATCH] m68knommu: implement scatter/gather support macros Implement the scattergather support macros for m68knommu targets. Patch originally submitted by Leon Woestenberg . Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 962d69ed6f5c911fbdb23ef2304e3a5903e5ccbb Author: Greg Ungerer Date: Tue Sep 13 11:14:08 2005 +1000 [PATCH] m68knommu: fix cache actions for ColdFire 5249, 527x and 528x processors Add better support for flushing the cache's on some ColdFire processors. The 5249 cache code is now enabled (it was stubbed out), it really is needed. Add support for the 527x and 528x families - we only use the simple instruction cache on them. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit b9d36b851a5085d35b9598235a456604532f306e Author: Russell King Date: Mon Sep 12 22:56:56 2005 +0100 [ARM SMP] Add MPCore watchdog driver Add platform independent parts of the ARM MPCore watchdog driver. Signed-off-by: Russell King commit 24b8e05dc1b03c1f80828e642838511c16e17250 Author: John W. Linville Date: Mon Sep 12 14:45:08 2005 -0700 [BNX2]: Add support for ETHTOOL_GPERMADDR. Signed-off-by: John W. Linville Signed-off-by: David S. Miller commit 2ff436977ed3eeca2d39ae40bbfdb1ce58da8453 Author: John W. Linville Date: Mon Sep 12 14:44:20 2005 -0700 [TG3]: Add support for ETHTOOL_GPERMADDR. Signed-off-by: John W. Linville Signed-off-by: David S. Miller commit 4f63b877726135b19ae73108acf9e0ebb4323dda Author: John W. Linville Date: Mon Sep 12 14:43:18 2005 -0700 [TG3]: Do not count non-error frames dropped by the hardware as rx_errors. Instead, count them as part of rx_missed_errors. Signed-off-by: John W. Linville Signed-off-by: David S. Miller commit b88a762b6062f06d431af0045de4854a758646c0 Author: Ralf Baechle Date: Mon Sep 12 14:28:03 2005 -0700 [NETROM]: Introduct stuct nr_private NET/ROM's virtual interfaces don't have a proper private data structure yet. Create struct nr_private and put the statistics there. Signed-off-by: Ralf Baechle DL5RB Signed-off-by: David S. Miller commit e21ce8c7c013fb223a002c70bb0a547de6c26c12 Author: Ralf Baechle Date: Mon Sep 12 14:27:37 2005 -0700 [NETROM]: Implement G8PZT Circuit reset for NET/ROM NET/ROM is lacking a connection reset like TCP's RST flag which at times may result in a connecting having to slowly timing out instead of just being reset. An earlier attempt to reset the connection by sending a NR_CONNACK | NR_CHOKE_FLAG transport was inacceptable as it did result in crashes of BPQ systems. An alternative approach of introducing a new transport type 7 (NR_RESET) has be implemented several years ago in Paula Jayne Dowie G8PZT's Xrouter. Implement NR_RESET for Linux's NET/ROM but like any messing with the state engine consider this experimental for now and thus control it by a sysctl (net.netrom.reset) which for the time being defaults to off. Signed-off-by: Ralf Baechle DL5RB Signed-off-by: David S. Miller commit d2ce4bc340946d5b78484d638ac10df958c4c3bf Author: Ralf Baechle Date: Mon Sep 12 14:26:52 2005 -0700 [ROSE]: ROSE has no ARP ARP over ROSE does not exist so it's obviously not implemented on any ROSE stack, so the ROSE interfaces really should default to IFF_NOARP. Signed-off-by: Ralf Baechle DL5RB Signed-off-by: David S. Miller commit 723772913e6caf82919754f9d73fa55fc762bb1b Author: Ralf Baechle Date: Mon Sep 12 14:26:26 2005 -0700 [NETROM]: NET/ROM has no ARP ARP over NET/ROM does not exist so it's obviously not implemented on any NET/ROM stack, so the NET/ROM interfaces really should default to IFF_NOARP. Signed-off-by: Ralf Baechle DL5RB Signed-off-by: David S. Miller commit dd8aa40431d2776ef72fd36aab6a6a6bf0f45967 Author: Ralf Baechle Date: Mon Sep 12 14:25:57 2005 -0700 [NETROM] NET/ROM has no txqueue NET/ROM uses virtual interfaces so setting a queue length is wrong. Signed-off-by: Ralf Baechle DL5RB Signed-off-by: David S. Miller commit 4676356b57ee767d5a95df8270f5c372b838dd33 Author: Ralf Baechle Date: Mon Sep 12 14:25:25 2005 -0700 [AX.25]: Reformat ax25_proto_ops initialization Reformat iniitalization of ax25_proto_ops. Signed-off-by: Ralf Baechle DL5RB Signed-off-by: David S. Miller commit 20b7d10a3339cbfa2f7a52da0ad77b5a0723f0ca Author: Ralf Baechle Date: Mon Sep 12 14:24:55 2005 -0700 [AX.25/ROSE]: Whitespace formatting changes Small formatting changes. Signed-off-by: Ralf Baechle DL5RB Signed-off-by: David S. Miller commit b01ef8ffafc5239a871bc24af74f604654e7de2b Author: Ralf Baechle Date: Mon Sep 12 14:24:24 2005 -0700 [AX.25]: Add descriptions to constants Comment the names used for the AX.25 state machine. Signed-off-by: Ralf Baechle DL5RB Signed-off-by: David S. Miller commit 9b37ee75858ce35cf3c0e4724acaf4efabb45687 Author: Ralf Baechle Date: Mon Sep 12 14:23:52 2005 -0700 [NETROM/AX.25/ROSE]: Remove useless tests Remove error tests that have already been performed by the caller. Signed-off-by: Ralf Baechle DL5RB Signed-off-by: David S. Miller commit 6ddcf626fd0a3cbf410ceb483cb76074ed1c5873 Author: Ralf Baechle Date: Mon Sep 12 14:23:06 2005 -0700 [NETROM]: statistics fix Calling an incoming NET/ROM-encapsulated IP packet an error if the interface isn't up is probably a bit over the top, so count it as dropped instead of an error. Signed-off-by: Ralf Baechle DL5RB Signed-off-by: David S. Miller commit 3bf0ae7b57cade2003ffd0125ee30e80adb93d23 Author: Ralf Baechle Date: Mon Sep 12 14:22:30 2005 -0700 [AX.25]: Add more PIDs Add a few more PID definitions. AX.25 PIDs are the equivalent to IP protocol numbers. Signed-off-by: Ralf Baechle DL5RB Signed-off-by: David S. Miller commit 3f2aadd041a7a3e732d182c3770b3fa95a2300b2 Author: Ralf Baechle Date: Mon Sep 12 14:21:48 2005 -0700 [NETROM]: Fix rebuild header mess For reason that probably nobody recalls NET/ROM does it's actual packet transmission in nr_rebuild_header and even treats invocation of it's hard_start_xmit method nr_xmit as a bug. Fix that by splitting the job done by nr_rebuild_header into two halves. Along with that we now also can get rid of the silly clone of the skb on transmit. Signed-off-by: Ralf Baechle DL5RB Signed-off-by: David S. Miller commit 6f74998e5c3b4610e6eba06babf16547369c512a Author: Ralf Baechle Date: Mon Sep 12 14:21:01 2005 -0700 [AX.25]: Rename ax25_encapsulate to ax25_hard_header Rename ax25_encapsulate to ax25_hard_header which these days more accurately describes what the function is supposed to do. Signed-off-by: Ralf Baechle DL5RB Signed-off-by: David S. Miller commit c4bc7ee2e474819d3932e8d726fdf7cb0bdc00c1 Author: Ralf Baechle Date: Mon Sep 12 14:19:26 2005 -0700 [HAMRADIO]: driver cleanups Misc related cleanups in hamradio drivers: o Use symbolic constants instead of magic numbers o Don't try to handle the case where AX.25 isn't configured - the kernel configuration doesn't permit that. o Remove useless headers Signed-off-by: Ralf Baechle DL5RB Signed-off-by: David S. Miller commit 59c2353dd045509626d7cc1953cb2d6b7358ab7a Author: Arnaldo Carvalho de Melo Date: Mon Sep 12 14:16:58 2005 -0700 [CCID3]: Listen socks doesn't have a private CCID block Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: David S. Miller commit 074c5279ef671e4fcd2ce2960ecc9d7d9735fabd Author: Nishanth Aravamudan Date: Mon Sep 12 14:16:17 2005 -0700 [SPARC] drivers/sbus: fix-up schedule_timeout() usage Use schedule_timeout_uninterruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 121caf577dc61588c1128821873a08cec48baf58 Author: Nishanth Aravamudan Date: Mon Sep 12 14:15:34 2005 -0700 [NET]: fix-up schedule_timeout() usage Use schedule_timeout_{,un}interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Also use human-time conversion functions instead of hard-coded division to avoid rounding issues. Signed-off-by: Nishanth Aravamudan Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 210ce2a7504e429b7ccc191b1efba4c772c4d8b6 Author: Pierre Ossman Date: Mon Sep 12 20:36:19 2005 +0100 [MMC] Clean up wbsd detection handling The wbsd driver's card detection routing is a bit of a mess. This patch cleans up the routine and makes it a bit more comprihensible. Signed-off-by: Pierre Ossman Signed-off-by: Russell King commit e062c8ae85df633f2ecaa5a5af0d9922ced5e074 Author: Pierre Ossman Date: Mon Sep 12 20:35:54 2005 +0100 [MMC] Remove unused timer. Remove timer that was left from earlier cleanup. Signed-off-by: Pierre Ossman Signed-off-by: Russell King commit 877599fdef5ea4a7dd1956e22fa9d6923add97f8 Author: Evgeniy Polyakov Date: Mon Sep 12 17:12:43 2005 +0400 [PATCH] crc16: remove w1 specific comments. Remove w1 comments from crc16.h and move specific constants into w1_ds2433.c where they are used. Replace %d with %zd. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit a217e8c18113c4f3238b01307782b99aa1547ea2 Author: Linus Torvalds Date: Mon Sep 12 12:32:31 2005 -0700 Fix fallout from ATI Xpress timer workaround ACPI earlyquirks needs to honor the proper config variables, and include the right header file. (Fixes commit 66759a01adbfe8828dd063e32cf5ed3f46696181) Signed-off-by: Linus Torvalds commit f5e09b7cac4a2705f55830db64d448c062e84e8e Author: Ian Abbott Date: Mon Sep 12 12:23:25 2005 +0100 [PATCH] USB: ftdi_sio: custom baud rate fix ftdi_sio: I messed up the baud_base for custom baud rate support in 2.6.13. The attached one-liner patch fixes it. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman commit bc506517ec5dcc638eaa55672d5a924c1e2a2d0b Author: Pete Zaitcev Date: Thu Sep 1 14:35:05 2005 -0700 [PATCH] USB: Usbmon setup DMA patch Alan Stern sent me this patch. It goes on top of the patch the adds mon_dmapeek: http://ftp.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/gregkh-04-usb/usb-usbmon-dma-areas.patch Please be warned about ordering requirements or the build may fail. Actually, mon_dmapeek is generic enough to support SETUP packets too. Signed-off-by: Pete Zaitcev Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 0f36163d3abefbda1b21a330b3fdf3c2dc076d94 Author: Thomas Sailer Date: Fri Sep 9 10:43:50 2005 +0200 [PATCH] usb: fix uss720 schedule with interrupts off This patch fixes the long standing schedule with interrupts off problem of the uss720 driver. The problem is caused by the parport layer calling the save and restore methods within a write_lock_irqsave guarded region. The fix is to issue the control transaction requests required by save and restore asynchronously. Signed-off-by: Thomas Sailer, Signed-off-by: Greg Kroah-Hartman commit ce441594e965e32965432404cfaba73e8fbc6ff7 Author: Harald Welte Date: Sat Sep 3 11:27:08 2005 +0200 [PATCH] USB: fix usbdevice_fs header breakage [USBDEVFS] fix inclusion of to avoud header mess Without moving the include of compat.h down, userspace programs that use usbdevice_fs.h end up including half the kernel includes (and eventually fail to compile). Signed-off-by: Harald Welte Signed-off-by: Greg Kroah-Hartman commit e1c37b8d83fb588cc1142938fb1a1476046c8d67 Author: Daniel Drake Date: Wed Aug 31 16:38:41 2005 +0100 [PATCH] USB: usb-storage: Add unusual_devs entry for Neuros Audio MP3 player Alan Stern wrote: > If the device sometimes reports the correct values, then you should > include NEED_OVERRIDE flag to prevent messages about unnecessary > overrides showing up in the system log. Also, if bInterfaceSubclass > is correct and only bInterfaceProtocol is wrong, then the entry should > say US_SC_DEVICE instead of US_SC_SCSI. Fair points, thanks. When connected over USB2, this device reports a nonsense bInterfaceProtocol value 6 and doesn't work with usb-storage. When connected over USB1, the device reports the correct bInterfaceProtocol value 0x50 (bulk) and works with no problems. Signed-off-by: Daniel Drake Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman Signed-off-by: Greg Kroah-Hartman commit 1ea640ce1118b0742a6e8675bddc07fc3df326b7 Author: Phil Dibowitz Date: Mon Aug 29 22:38:28 2005 -0700 [PATCH] USB: storage: Add unusual_dev SINGLE_LUN entries This patch adds entries for several USB floppies that need the US_FL_SINGLE_LUN flag. These were reported by Sebastian Kapfer and Olaf Hering , with rediffing and cleaning from me. Reported-by: Sebastian Kapfer Reported-by: Olaf Hering Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit 490dce15ce7b36026e5430d10ee28197a593c711 Author: Pete Zaitcev Date: Tue Aug 23 07:46:13 2005 -0700 [PATCH] USB Storage: unusual_devs.h request for Transcend The stick replies to the door lock commands with a check condition (e.g. FAIL status in a normal bulk CSW), but the subsequent REQUEST SENSE returns all-zero sense. The situation is documented in our Bugzilla, including usbmon traces. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=162559 The error is purely cosmetic, data integrity is not in danger. But I thought we might as well do it. It looks nicer that way. I discussed this with Phil and he told me to submit directly. Signed-off-by: Pete Zaitcev Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit 226173edae1c49c68ebb723771a02302c85e3475 Author: Matthew Dharm Date: Thu Aug 25 20:03:50 2005 -0700 [PATCH] USB: storage: Fix messed-up locking This is patch as550 from Alan Stern. Apparently someone changed the SCSI core so that it no longer holds the host lock when doing a device or bus reset. usb-storage was updated at the time, but the change was done carelessly. Some of the code depends on that lock being held. This patch reintroduces the host lock where needed and tries to clarify the comments explaining why the lock is necessary. It also moves the code that clears the TIMED_OUT and ABORTING bitflags so that it executes as soon as the timed-out command has completed (and while the host lock is held). Signed-off-by: Alan Stern Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit b789696af8b4102b7cc26dec30c2c51ce51ee18b Author: David Brownell Date: Wed Aug 31 10:41:44 2005 -0700 [PATCH] USB: relax usbcore reset timings This appears to help some folk, please merge. This patch relaxes reset timings. There are some reports that it helps make enumeration work better on some high speed devices. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 5f9809487bf035b49ff470709a65fbce3b345f51 Author: Randy Dunlap Date: Thu Sep 8 21:56:56 2005 -0700 [PATCH] USB: proc_usb_info.txt: add blank lines Update Documentation/usb/proc_usb_info.txt: - remove some trailing whitespace - add a blank line before each T: line to match current kernel and to make the text more readable. Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman commit 68e110a078a7e8a416ba06bfa6372ae28222809e Author: Robert Spanton Date: Tue Aug 30 23:38:23 2005 +0100 [PATCH] USB: PL2303: CA-42 Phone cable This patch adds the product ID and vendor ID for a Nokia CA-42 USB cable to the list of devices handled by the pl2303 driver. The patch is against 2.6.13. Signed-off-by: Robert Spanton Signed-off-by: Greg Kroah-Hartman commit 155faf5e1e36ca3a6127bdfb5c624d58e520c411 Author: David Brownell Date: Wed Aug 31 11:54:09 2005 -0700 [PATCH] USB: OHCI, pxa27x OHCI port power tweaks Now that it's in use on other boards, a bug in the original code needs fixing. There is no need for the PXA27x OHCI to set usb power during init, since the hub driver in usbcore handles that. Those platform-specific power control functions are also incorrect, and should therefore be removed. Add a check to clear the OTG pin hold bit until such times OTG is properly implemented. Signed-Off-By: Richard Purdie Signed-off-by: Greg Kroah-Hartman commit fdd13b36c4a501d8787a27e54635fbd943f2685d Author: David Brownell Date: Wed Aug 31 11:52:57 2005 -0700 [PATCH] USB: OHCI relies less on NDP register Some OHCI implementations have differences in the way the NDP register (in roothub_a) reports the number of ports present. This patch allows the platform specific code to optionally supply the number of ports. The driver just reads the value at init (if not supplied) instead of reading it every time its needed (except for an AMD756 bug workaround). It also sets the value correctly for the ARM pxa27x architecture. Signed-Off-By: Richard Purdie Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit e0fd3cbc50a8c925e8e7d8448df689015362c458 Author: David Brownell Date: Wed Aug 31 10:47:20 2005 -0700 [PATCH] USB: OHCI irq tweak Evidently there are some boards which care a lot about this, but as a rule it's been hard to notice. OHCI_INTR_RD wasn't always cleared in the ohci irq handler. On some systems this means certain remote wakeup scenarios could seem to hang (in an interrupt storm, RD never clearing). From: "William Morrow" Signed-off-by: Jordan Crouse Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 4809ecc29935893d954ab9244899777ffaca40ac Author: Pavol Kurina Date: Wed Sep 7 09:49:34 2005 -0700 [PATCH] USB gadgetfs: fixes an error on writing to endpoint file this patch fixes an "Invalid argument" error returned by a write to an endpoint-file after reopening it in the gadgetfs module in the kernel 2.6.12. This was testet only with dummy_hcd module! Signed-off-by: Pavol Kurina Signed-off-by: David Brownell commit 22c438632850c0d6257b45c90afed0cea6953afc Author: Nishanth Aravamudan Date: Mon Aug 15 11:30:11 2005 -0700 [PATCH] drivers/usb: fix-up schedule_timeout() usage Description: Use schedule_timeout_{,un}interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Signed-off-by: Greg Kroah-Hartman commit dd16525b698528172899f10c14a3eb6ddb888a53 Author: David Brownell Date: Wed Aug 31 10:45:25 2005 -0700 [PATCH] USB: get rid of minor log spamming Routine cases like handoff-to-companion shouldn't trigger diagnostics. This gets rid of some recently added log spamming. It's routine for hub_port_wait_reset() to return -ENOTCONN to indicate handoff from highspeed hubs to companions, so an error message is incorrect. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit f7201c3dcd7799f2aa3d6ec427b194225360ecee Author: David Brownell Date: Fri Sep 2 18:58:09 2005 -0700 [PATCH] USB: EHCI workaround for NForce and mem > 2GB NVidia reports (via Mark Overby) that some of their EHCI controllers don't like certain data structure addresses beyond the 2GB mark. He provided an earlier version of this patch. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 10f6524a8ef1413a8cbd952673997013183fe2a9 Author: David Brownell Date: Wed Aug 31 10:55:38 2005 -0700 [PATCH] USB: EHCI port tweaks One change may improve some S1 or S3 resume cases, and the other seems mostly to explain some strange state "lsusb" would show. Two fixes: - On resume, don't think about resuming any unpowered port, or resetting any port with OWNER set to the OHCI/UHCI companion. This will make some S1 and S3 resume scenarios work better. - PORT_CSC was not being cleared correctly in ehci_hub_status_data. This was visible at least through current versions of "lsusb", and might have caused some other hub related strangeness. The fix addresses all three write-to-clear bits, using the same approach that UHCI happens to use: a mask of bits that are cleared in most writes to that port status register. Original patch seems to have been from from William.Morrow@amd.com and this version (from David) finishes the write-to-clear changes. Signed-off-by: Jordan Crouse Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 198b95170f2c7ad56b4ba92fe3d4d896f5be5c7e Author: Craig Shelley Date: Sun Aug 28 09:51:15 2005 +0100 [PATCH] USB: CP2101 New Device IDs Three new device IDs for CP2101 USB to UART Bridge Signed-off-by: Craig Shelley Signed-off-by: Greg Kroah-Hartman commit 1f09df8bfe358994fcb5f3dc4f890694c4069621 Author: Alan Stern Date: Mon Sep 5 13:59:51 2005 -0400 [PATCH] USB UHCI: remove the FSBR kernel timer This patch (as558) removes from the UHCI driver a kernel timer used for checking Full Speed Bandwidth Reclamation (FSBR). The checking can be done during normal root-hub polling; it doesn't need a separate timer. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit f1a15606d5be8490a122f1c94c554bd0f07d8d26 Author: Alan Stern Date: Mon Sep 5 13:55:23 2005 -0400 [PATCH] usbcore: small changes to HCD glue layer This patch (as549) introduces two small changes in the HCD glue layer. The first simply removes a redundant test. The second allows root-hub polling to continue for a single iteration after a host controller dies; this is needed for the patch that follows. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit f7214ff4e8248513ec626212b2c1a3ca0b2a0888 Author: Stelian Pop Date: Thu Sep 8 10:19:48 2005 +0200 [PATCH] USB: add apple usb touchpad driver This is a driver for the USB touchpad which can be found on post-February 2005 Apple PowerBooks. This driver is derived from Johannes Berg's appletrackpad driver [1], but it has been improved in some areas: * appletouch is a full kernel driver, no userspace program is necessary * appletouch can be interfaced with the synaptics X11 driver[2], in order to have touchpad acceleration, scrolling, two/three finger tap, etc. This driver has been tested by the readers of the 'debian-powerpc' mailing list for a few weeks now and I believe it is now ready for inclusion into the mainline kernel. Credits go to Johannes Berg for reverse-engineering the touchpad protocol, Frank Arnold for further improvements, and Alex Harper for some additional information about the inner workings of the touchpad sensors. Signed-off-by: Stelian Pop Signed-off-by: Greg Kroah-Hartman commit 1bbb4f2035d94d86e52e9b5341c142dcb39bb879 Author: Thomas Winischhofer Date: Mon Aug 29 17:01:16 2005 +0200 [PATCH] USB: sisusb[vga] update here is a new and extended version of the sisusbvga (previously: sisusb) driver. The patch is against 2.6.13 and updates the driver to version 0.0.8. Additions include complete VGA/EGA text console support and a build-in display mode infrastructure for userland applications that don't know about the graphics internals. Fixes include some BE/LE issues and a get/put_dev bug in the previous version. Other changes include a change of the module name from "sisusb" to "sisusbvga". The previous one was too generic IMHO. Please note that the patch also affects the Makefile in drivers/video/console as the driver requires the VGA 8x16 font in case the text console part is selected. Heavily tested, as usual. Please apply. One thing though: I already prepared for removal of the "mode" field and the changed "name" field in the usb_class_driver structure. This will perhaps need some refinement depending on whether you/Linus merge the respective core changes before or after 2.6.14. Signed-off-by: Thomas Winischhofer Signed-off-by: Greg Kroah-Hartman commit 80908309ce44677a07763e24e6ec9371cfa3ab5f Author: Greg KH Date: Mon Sep 12 11:58:07 2005 -0700 Revert "[PATCH] USB: Prevent hid-core claiming Apple Bluetooth device on new G4 powerbooks" This reverts 22af8878d2d641c6b15fe39fe4de3c05b2c477f0 commit. Signed-off-by: Greg Kroah-Hartman commit 2ade81473636b33aaac64495f89a7dc572c529f0 Author: Andi Kleen Date: Mon Sep 12 18:49:25 2005 +0200 [PATCH] x86-64: clean up local_add/sub arguments Signed-off-by: Linus Torvalds commit 4b6a455c7472dabcc624faa740a297d50815b4c7 Author: Andi Kleen Date: Mon Sep 12 18:49:25 2005 +0200 [PATCH] x86-64: Use correct mask to compute conflicting nodes in SRAT The nodes are not set online yet at this point. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2bce2b54ae91aac76b62e8110b627ba5e5cbbffd Author: Andi Kleen Date: Mon Sep 12 18:49:25 2005 +0200 [PATCH] x86-64: reset apicid<->node tables when SRAT cannot be parsed Signed-off-by: Linus Torvalds commit e58e0d03120d6c2aa134fd3be4f0f762f0bb25e7 Author: Andi Kleen Date: Mon Sep 12 18:49:25 2005 +0200 [PATCH] x86-64: Clean up the SRAT node list before computing the hash function Also use for_each_node_mask instead of hand crafted loops. Signed-off-by: Linus Torvalds commit 66759a01adbfe8828dd063e32cf5ed3f46696181 Author: Chuck Ebbert <76306.1226@compuserve.com> Date: Mon Sep 12 18:49:25 2005 +0200 [PATCH] x86-64: i386/x86-64: Fix time going twice as fast problem on ATI Xpress chipsets Original patch from Bertro Simul This is probably still not quite correct, but seems to be the best solution so far. Signed-off-by: Linus Torvalds commit 049cdefe19f95b67b06b70915cd8e4ae7173337a Author: Jan Beulich Date: Mon Sep 12 18:49:25 2005 +0200 [PATCH] x86-64: reduce x86-64 bug frame by 4 bytes As mentioned before, the size of the bug frame can be further reduced while continuing to use instructions to encode the information. Signed-off-by: Jan Beulich Signed-off-by: Linus Torvalds commit c47a3167d0454c0af5fb0a0322b01a0e3487798e Author: Andi Kleen Date: Mon Sep 12 18:49:25 2005 +0200 [PATCH] x86-64: Make dmi_find_device for !DMI case inline Otherwise it will generate warnings and be generated many times. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit aeb39986ec8bf31c8d55eba22f0a9996363482fb Author: Andi Kleen Date: Mon Sep 12 18:49:25 2005 +0200 [PATCH] x86-64: Allow frame pointer and fix help text. Allow frame pointer and fix help text. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 9cdd304b20b921507fa1670aaf751496627c8d9c Author: Al Viro Date: Mon Sep 12 18:49:25 2005 +0200 [PATCH] x86-64: more gratitious linux/irq.h includes ... and with that all instances in arch/x86_64 are gone. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit ff347b221512a83e7b08356729e3e2c14346e29e Author: Chuck Ebbert <76306.1226@compuserve.com> Date: Mon Sep 12 18:49:25 2005 +0200 [PATCH] x86-64: Fix incorrect FP signals This is the same patch that went into i386 just before 2.6.13 came out. I still can't build 64-bit user apps, so I tested with program (see below) in 32-bit mode on 64-bit kernel: Before: $ fpsig handler: nr = 8, si = 0x0804bc90, vuc = 0x0804bd10 handler: altstack is at 0x0804b000, ebp = 0x0804bc7c handler: si_signo = 8, si_errno = 0, si_code = 0 [unknown] handler: fpu cwd = 0xb40, fpu swd = 0xbaa0 handler: i387 unmasked precision exception, rounded up After: $ fpsig handler: nr = 8, si = 0x0804bc90, vuc = 0x0804bd10 handler: altstack is at 0x0804b000, ebp = 0x0804bc7c handler: si_signo = 8, si_errno = 0, si_code = 6 [inexact result] handler: fpu cwd = 0xb40, fpu swd = 0xbaa0 handler: i387 unmasked precision exception, rounded up Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 847815760cc0f41985b3185d780aa4369fcb475d Author: Chuck Ebbert <76306.1226@compuserve.com> Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Clean up nmi error message The x86_64 nmi code is missing a newline in one of its messages. I added a space before the CPU id for readability and killed the trailing space on the previous line as well. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Linus Torvalds commit a2d236b3ac8fcbbf1bae7d815294d258ba24e3f5 Author: Jan Beulich Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Lose constraints on cmpxchg While only cosmetic for x86-64, this adjusts the cmpxchg code appearantly inherited from i386 to use more generic constraints. Signed-off-by: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 1a426cb76443f5b0a021a9df57d3446d14763c21 Author: Jan Beulich Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Declare NMI_VECTOR and handle it in the IPI sending code. Signed-off-by: Jan Beulich Signed-off-by: Linus Torvalds commit a2a0c992e9da823dc23abcb92a42ec5faf856b8b Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Remove unused vxtime.hz field Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit a0d58c9741e4ef42f5fbdfb2a6b86f03c6e9092f Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Set the stack pointer correctly in init_thread and init_tss Signed-off-by: Jan Beulich Signed-off-by: Linus Torvalds commit 1209140c3c70aaa32d1a0462d79557f2a44a4ef8 Author: Jan Beulich Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Safe interrupts in oops_begin/end Rather than blindly re-enabling interrupts in oops_end(), save their state in oope_begin() and then restore that state. Signed-off-by: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 059bf0f6c33058680e4381f17d554baaa4f45d68 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Merge msr.c with i386 version The only difference was the inline assembly, so move that into asm/msr.h and merge with the i386 version. This adds some missing sysfs support code to x86-64. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 55679edb19f5ee1dcb0147afe2f198a10ef963f0 Author: Al Viro Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Clean up includes in arch/x86_64/kernel/suspend.c Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 7effaa882af523085f7acadc5871b75a7e506baf Author: Jan Beulich Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Fix CFI information Being the foundation for reliable stack unwinding, this fixes CFI unwind annotations in many low-level x86_64 routines, plus a config option (available to all architectures, and also present in the previously sent patch adding such annotations to i386 code) to enable them separatly rather than only along with adding full debug information. Signed-off-by: Jan Beulich Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit b3ab8382245541ea030faaa1645f66258fde452d Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Fix gcc 4 warnings about pointer signedness Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5bf97e01192f0fcdff2f0e9eae063e7785f6f915 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Use physflat on Intel for < 8 CPUs with CPU hotplug This avoids races with the APIC broadcast/mask modes. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 27183ebd330a676fe29f7eb9b7ff582492246ec8 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Add dma_sync_single_range_for_{cpu,device} Currently just defined to their non range parts. Pointed out by John Linville Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 05d1fa4bf6a1528e4d4e39fa537f11e6cfca4720 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Improve error handling for overlapping PXMs in SRAT. - Report PXMs instead of nodes - Report the correct PXM, not always the one of node 1. - Only warn for the case of a PXM overlapping by itself Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2e8ad43ec07545780ce7992cb18e2d82c7abd24c Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Prevent gcc 4 from optimizing away vsyscalls They were previously static. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit c1a71a1ede8f743209237b2736893f3aebe13bb0 Author: Ashok Raj Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Delivery mode should be APIC_DM_FIXED when using physical mode. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 9c0aa0f9a16557a3dd9b7b0d39bc67ddf1fa0b32 Author: Adrian Bunk Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] Replace extern inline with static inline in asm-x86_64/* They should be identical in the kernel now, but this makes it consistent with other code. Signed-off-by: Adrian Bunk Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 47e5701e37cf10948c3f2952870d9f18b6e84965 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Remove freeing of SMP trampoline pages Nick points out it never worked because PageReserved was set and it might cause problems later on. Also HOTPLUG_CPU is much more common now so let's care not too much about the !hotplug case. Cc: nickpiggin@yahoo.com.au Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 016102dea838e8526a4bc57821309f0cd9db81b7 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Fix typo CONFIG_CPU_HOTPLUG -> CONFIG_HOTPLUG_CPU in genapic.c Noted by Ashok Raj Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 24dead8ac9c8fa78b9bfb45b06080a7018fd2ed3 Author: Alexander Nyberg Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] Remove unnecessary BUG_ON in irq.c Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit f297e4e5e4245a5c3fb36e7f754cde96cdb4bc43 Author: Nakul Saraiya Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] Increase nodemap hash. Needed for some newer Opteron systems with E stepping and memory relocation enabled. The node addresses are different in lower bits now so the nodemap hash function needs to be enlarged. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit fb048927ad93420b6dd2eddcdde71ea7b6ff95e4 Author: Jim Paradis Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Fix off by one in pfn_valid When I gave proposed the fix to pfn_valid() for RHEL4, Stephen Tweedie's sharp eyes caught this: Signed-off-by: Linus Torvalds commit 6e44f12ba64a58f25f8e6f35aa4c175f613001be Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] i386: add memory clobbers to syscall macros As noted by matz@suse.de The problem is, that on i386 the syscallN macro is defined like so: long __res; \ __asm__ volatile ("int $0x80" \ : "=a" (__res) \ : "0" (__NR_##name),"b" ((long)(arg1)),"c" ((long)(arg2)), \ "d" ((long)(arg3)),"S" ((long)(arg4)),"D" ((long)(arg5))); \ If one of the arguments (in the _llseek syscall it's the arg4) is a pointer which the syscall is expected to write to (to the memory pointed to by this ptr), then this side-effect is not captured in the asm. If anyone uses this macro to define it's own version of the syscall (sometimes necessary when not using glibc) and it's inlined, then GCC doesn't know that this asm write to "*dest", when called like so for instance: out = 1; llseek (fd, bla, blubb, &out, trara) use (out); Here nobody tells GCC that "out" actually is written to (just a pointer to it is passed to the asm). Hence GCC might (and in the above bug did) copy-propagate "1" into the second use of "out". The easiest solution would be to add a "memory" clobber to the definition of this syscall macro. As this is a syscall, it shouldn't inhibit too many optimizations. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit e92343cc8e9ca4bc0db4b007dd37d33a207ef637 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Fix show_mem a little bit - Add KERN_INFO to printks (from i386) - Use longs instead of ints to accumulate pages. - Fix broken indenting. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 083044e63b4d10ebf9afb231bc0d34aec72169b4 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Remove disable_tsc code in context switch It only offers extremly dubious security advantages and is not worth the overhead in this critical path. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit fe5d5f073eb133b65a8814b48af1722a1ca5aa25 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Print version at end of kernel build (from i386) Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 48496e349554f3704fd1cdf16f389e0615956909 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Fix (harmless) typo in head.S early level2 page table The global bit was not set in the first 2MB page, instead it had a bit in the free AVL section which is useless. Fixed thus. Noticed by Eric Biederman Cc: Eric W. Biederman Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit b8f68e9ffaf5e7c9c463ecd2598cc33f8e6df75e Author: Hugh Dickins Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Fix idle=poll x86_64 idle=poll might be a little less responsive than it should: unlike mwait_idle, and unlike i386, its poll_idle left TIF_POLLING_NRFLAG set. Signed-off-by: Hugh Dickins Signed-off-by: Linus Torvalds commit e99b861a3e9ec93a48b985519e09b2515c201e8d Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Only allocate per cpu data for possible CPUs, not compiled in CPUs. Saves some memory except for hotplug situations. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 2b4a08150e0ce2f6eb5d0987fdfe3524ec799313 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Increase TLB flush array size The generic TLB flush functions kept upto 506 pages per CPU to avoid too frequent IPIs. This value was done for the L1 cache of older x86 CPUs, but with modern CPUs it does not make much sense anymore. TLB flushing is slow enough that using the L2 cache is fine. This patch increases the flush array on x86-64 to cache 5350 pages. That is roughly 20MB with 4K pages. It speeds up large munmaps in multithreaded processes on SMP considerably. The cost is roughly 42k of memory per CPU, which is reasonable. I only increased it on x86-64 for now, but it would probably make sense to increase it everywhere. Embedded architectures with SMP may keep it smaller to save some memory per CPU. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 165aeb82848c81ee1774f8defc74df4341e9184b Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Don't include config.h in asm/timex.h asm-x86-64/timex.h does not reference CONFIG constants. Do not need to include config.h. Signed-off-by: Grant Grundler Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 3f74478b5fd7263e9311cdb320923d599c73a792 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Some cleanup and optimization to the processor data area. - Remove unused irqrsp field - Remove pda->me - Optimize set_softirq_pending slightly Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 459192c92cde49d1a2f721c90adf45d774c2dcf5 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Add simnow console This adds console and earlyprintk support for a host file on AMD's SimNow simulator. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit e5bc8b6baf86538f3d0407cf0880f86aec828a13 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Make remote TLB flush more scalable Instead of using a global spinlock to protect the state of the remote TLB flush use a lock and state for each sending CPU. To tell the receiver where to look for the state use 8 different call vectors. Each CPU uses a specific vector to trigger flushes on other CPUs. Depending on the received vector the target CPUs look into the right per cpu variable for the flush data. When the system has more than 8 CPUs they are hashed to the 8 available vectors. The limited global vector space forces us to this right now. In future when interrupts are split into per CPU domains this could be fixed, at the cost of needing more IPIs in flat mode. Also some minor cleanup in the smp flush code and remove some outdated debug code. Requires patch to move cpu_possible_map setup earlier. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 83b942bd3437d84d6ddf582477120b6b86369052 Author: Tsuneo.Yoshioka@f-secure.com Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Fix 32bit sendfile If we use 64bit kernel on ia64/x86_64/s390 architecture, and we run 32bit binary on 32bit compatibility mode, sendfile system call seems be not set offset argument. This is because sendfile's return value is not zero but the code regards the result by return value is zero or not. This problem will be affect to ia64/x86_64/s390 and not affect to other architecture does not affect other architecture (mips/parisc/ppc64/sparc64). Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 9acf23c42b13d682abbd5db1d293c7a77ae54b61 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Include build number in oops output Include build number in oops output Helps me to match oopses to correct kernel. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 69e1a33f62eff9b228a8cc2c3e4429dbee8966c9 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Use ACPI PXM to parse PCI<->node assignments Since this is shared code I had to implement it for i386 too Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 413588c7cb8113c03d0044f1d41b832ad7201c29 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Remove code to resume machine check state of other CPUs. The resume code uses CPU hotplug now so at resume time we only ever see one CPU. Pointed out by Yu Luming. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit b9aac10dddd927f0b9cfcca19a272ded87015574 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Remove redundant max_mapnr and replace with end_pfn The FLATMEM people added it, but there doesn't seem a good reason because end_pfn is identical. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 0a43e4bf7489074c667f24b9670ecd88f6eb0a07 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Use e820_find_hole to compute reserved pages Avoids a very dumb loop Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 7c7a3897f678cfafebc8ec0a5e61a814f2f24e42 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Fix harmless off by one in e820 code Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 117090b5e815d0075bff85c2be954d68a11ac4ed Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Micro optimization to dma_alloc_coherent node lookup Use pcibus_to_node directly Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 1d3fbbf9fe8d5cd5f94256781cc69a4ac289a767 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Don't trust boot_cpu_id in the mptable. It could be wrong for kexec or other cases. Read it from the CPU instead. Signed-off-by: Murali Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 8c566ef5f3eb5d9daf61d0fa31d82c211f601ba0 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Add command line option to set machine check tolerance level Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 673242c10d535bfe238d9d8e82ac93432d35b88e Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Make lockless machine check record passing a bit more robust. One machine is constantly throwing NMI watchdog timeouts in mce_log This was one attempt to fix it. (AK: this doesn't actually fix the bug I'm seeing unfortunately, probably drop. I don't like it that the reader can spin forever now waiting for a writer) Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit a54e678b8f476d6f28e6aa4409f6b88ce476af1b Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Remove redundant swiotlb=force handling It's already handled in the main swiotlb code. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 63f02fd7ceb2fa4065d8a0c9943e4af2876b6c91 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Don't allocate aperture when swiotlb is enabled and no AGP found No-one needs it then Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5d3d0f7704ed0bc7eaca0501eeae3e5da1ea6c87 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Reverse order of bootmem lists This leads to bootmem allocating first from node 0 instead of from the last node. This avoids swiotlb allocating on the last node, which doesn't really work on a machine with >4GB. Note: there is a better patch around from someone else that gets rid of the pgdat list completely. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 6142891a0c0209c91aa4a98f725de0d6e2ed4918 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Avoid unnecessary double bouncing for swiotlb PCI_DMA_BUS_IS_PHYS has to be zero even when the GART IOMMU is disabled and the swiotlb is used. Otherwise the block layer does unnecessary double bouncing. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 357e11d4cbbbb959a88a9bdbbf33a10f160b0823 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Don't assume APIC for boot processor has an APIC ID of zero Originally from Stuart Hayes. When setting up the APIC for the Uniprocessor kernel don't assume the CPU has an APIC ID of zero. This fixes boot with the UP kernel on Dell PowerEdge 6800/6850 4way systems. Cc: Stuart.Hayes@dell.com Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit df0cc26b1b7f88f46307eea50a7469f0b58132d9 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Use SRAT data on Intel systems too. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 3f098c2605bdf50176b26f4fa724e9b9c99e5242 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Support dualcore and 8 socket systems in k8 fallback node parsing In particular on systems where the local APIC space and node space is very different from the Linux CPU number space. Previously the older NUMA setup code directly parsing the K8 northbridge registers had some issues on 8 socket or dual core systems. This patch fixes them. This is mainly done by fixing some confusion between Linux CPU numbers and local APIC ids. We now pass the local APIC IDs to later code, which avoids mismatches. Also add some heuristics to detect cases where the Hypertransport nodeids and the local APIC IDs don't match, but are shifted by a constant offset. This is still all quite hackish, hopefully BIOS writers fill in correct SRATs instead. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit b91691164be174b780f5c1bb145a7ab5d33fce2f Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Don't cache align PDA on UP builds Suggested by someone I forgot who sorry. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 8675b1a454016c7c50215552ea5c5c4a2413fda0 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Fix the apic version that gets printed during boot Signed-off-by: Suresh Sidda Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 0b07e984fc7a51b1a7c75e1bfdcf59d1ad065353 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Don't assign CPU numbers in SRAT parsing Do that later when the CPU boots. SRAT just stores the APIC<->Node mapping node. This fixes problems on systems where the order of SRAT entries does not match the MADT. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit f1f4e83fd9b5ce77d05825586d0426a54b8f3a68 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: White space and comment fixes for smp_call_function_single No functional changes Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit b4452218c4b7a579056d439b73a668b71654c137 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Enable interrupts during delay calibration on APs We used to disable them to work around a bug, but that is not needed anymore. Keeping them enabled avoids the NMI watchdog triggering in some cases. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 70556463487f33bc6728a7596b97f86b811aad22 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Use largest APIC number, not number of CPUs to decide on physflat mode Handles case where BIOS gives CPUs very large APIC numbers correctly. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 5a40b7c2abdedcf53c9a6ee790991acfcef5b6c7 Author: Andi Kleen Date: Mon Sep 12 18:49:24 2005 +0200 [PATCH] x86-64: Remove code for outdated APICs No x86-64 chipset has these APICs. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit 61c11341ed798db9b99b30c1711c1cf458457806 Author: Andi Kleen Date: Mon Sep 12 18:49:23 2005 +0200 [PATCH] x86-64: Remove esr disable hack in APIC code This was just needed for the Numasaurus, which fortunately doesn't support x86-64 CPUs. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit eddfb4ed290383abf912630fa8dac5acf65c9e55 Author: Andi Kleen Date: Mon Sep 12 18:49:23 2005 +0200 [PATCH] x86-64: Remove obsolete APIC "write around" bug workaround No x86-64 chipset has this bug Generated code doesn't change because it was always disabled. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit c1507eb2ee845b123ace751bec9c992a1937872c Author: Andi Kleen Date: Mon Sep 12 18:49:23 2005 +0200 [PATCH] x86-64: Remove apic_write_around from smpboot.c We don't do workarounds for ancient hardware bugs. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit affc9b844905f749064752faebb1af699f2d13bf Author: Andi Kleen Date: Mon Sep 12 18:49:23 2005 +0200 [PATCH] x86-64: Update defconfig Allow diskless booting. Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit f343bb4cd7cc76d49d72415c8b867b1073d3c6db Author: Andi Kleen Date: Mon Sep 12 18:49:23 2005 +0200 [PATCH] x86{-64}: Remove old hack that disabled mmconfig support on AMD systems. Now that Greg implemented MCFG/_SEG support this shouldn't be needed anymore Cc: gregkh@suse.de Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds commit b3426599af9524104be6938bcb1fcaab314781c7 Author: Paul Jackson Date: Mon Sep 12 04:30:30 2005 -0700 [PATCH] cpuset semaphore depth check optimize Optimize the deadlock avoidance check on the global cpuset semaphore cpuset_sem. Instead of adding a depth counter to the task struct of each task, rather just two words are enough, one to store the depth and the other the current cpuset_sem holder. Thanks to Nikita Danilov for the idea. Signed-off-by: Paul Jackson [ We may want to change this further, but at least it's now a totally internal decision to the cpusets code ] Signed-off-by: Linus Torvalds commit f24ec7f6c6278c0ea4c00efe96d50b1e66796c44 Author: Evgeniy Polyakov Date: Mon Sep 12 17:12:43 2005 +0400 [PATCH] crc16: remove w1 specific comments. Remove w1 comments from crc16.h and move specific constants into w1_ds2433.c where they are used. Replace %d with %zd. Signed-off-by: Evgeniy Polyakov Signed-off-by: Linus Torvalds commit 1df5c10a5b40d1ad747e3de3caf28764153c5c8e Author: Linus Torvalds Date: Mon Sep 12 07:59:21 2005 -0700 Mark ia64-specific MCA/INIT scheduler hooks as dangerous ..and only enable them for ia64. The functions are only valid when the whole system has been totally stopped and no scheduler activity is ongoing on any CPU, and interrupts are globally disabled. In other words, they aren't useful for anything else. So make sure that nobody can use them by mistake. Signed-off-by: Linus Torvalds commit c3ff8ec31c1249d268cd11390649768a12bec1b9 Author: Roland McGrath Date: Sun Sep 11 01:44:45 2005 -0700 [PATCH] i386: Don't miss pending signals returning to user mode after signal processing Signed-off-by: Roland McGrath Acked-by: Atsushi Nemoto Acked-by: Ingo Molnar Signed-off-by: Linus Torvalds commit 89ecf38c7aee6eb3f6aaf40a6d196ddff4b6d4a8 Author: Anton Altaparmakov Date: Mon Sep 12 15:43:03 2005 +0100 NTFS: Mask out __GFP_HIGHMEM when doing kmalloc() in __ntfs_malloc() as it otherwise causes a BUG(). Signed-off-by: Anton Altaparmakov commit 5d46770f5f8bb0eff0a82596860958be13e7baf1 Author: Anton Altaparmakov Date: Mon Sep 12 14:33:47 2005 +0100 NTFS: Change the mount options {u,f,d}mask to always parse the number as an octal number to conform to how chmod(1) works, too. Thanks to Giuseppe Bilotta and Horst von Brand for pointing out the errors of my ways. Signed-off-by: Anton Altaparmakov commit fecf92ba050a426b3bd302b6ba1c1525d576ccb9 Author: Pierre Ossman Date: Mon Sep 12 12:09:25 2005 +0100 [MMC] Remove trailing whitespace in wbsd Clean out trailing whitespace caused by not-so-great editor since it generates a lot of problems with editors configured to automatically strip whitespace. Signed-off-by: Pierre Ossman Signed-off-by: Russell King commit 2d909d08db7655a53f3afb31c7627c5c8c87142a Author: Anton Blanchard Date: Mon Sep 12 13:19:51 2005 +1000 [PATCH] ppc64: Remove unused code ppc64_attention_msg and ppc64_dump_msg are not used so remove them. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 1ed2fd2d3a8d18f184ba2d06e0f03bff773f28ab Author: Anton Blanchard Date: Mon Sep 12 13:17:27 2005 +1000 [PATCH] ppc64: Fix for missing start-cpu rtas token If the rtas start-cpu token doesnt exist then presume the cpu is already spinning. If it isnt we will catch it later on when the cpu doesnt respond. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 3238e9c9735cd5ebe30a59df1f8f5af2687344de Author: Anton Blanchard Date: Mon Sep 12 13:14:26 2005 +1000 [PATCH] ppc64: indent pci code Fix up some badly indented code. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 26370322d8e3504db61cb8d438a9fca3b87ac0db Author: Anton Blanchard Date: Mon Sep 12 13:12:11 2005 +1000 [PATCH] ppc64: xics cleanup A few xics cleanups: - Make some things static. - Be more consistent with error printing - interrupts are unsigned, error values are signed. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit fd9648dff6f9797ecc509bcd181706a274dc074d Author: Anton Blanchard Date: Sat Sep 10 16:01:11 2005 +1000 [PATCH] ppc64: Add ptrace data breakpoint support Add hardware data breakpoint support. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit a94d308513bdb2b926b45c11d7ce7fac6d6ca865 Author: Anton Blanchard Date: Sat Sep 10 16:01:10 2005 +1000 [PATCH] ppc64: Add definitions for new PTRACE calls - Add PTRACE_GET_DEBUGREG/PTRACE_SET_DEBUGREG. The definition is as follows: /* * Get or set a debug register. The first 16 are DABR registers and the * second 16 are IABR registers. */ #define PTRACE_GET_DEBUGREG 25 #define PTRACE_SET_DEBUGREG 26 DABR == data breakpoint and IABR = instruction breakpoint in IBM speak. We could split out the IABR into 2 more ptrace calls but I figured there was no need and 16 DABR registers should be more than enough (POWER4/POWER5 have one). - Add 2 new SIGTRAP si_codes: TRAP_HWBKPT and TRAP_BRANCH. I couldnt find any standards on either of these so I copied what ia64 is doing. Again this might be better placed in include/asm-generic/siginfo.h Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit df09ce4a15bac7b05356b2f00fbb600c5890b1f3 Author: Anton Blanchard Date: Sat Sep 10 16:01:09 2005 +1000 [PATCH] ppc64: Fix up some whitespace issues in ptrace32.c Fix up some whitespace issues in ptrace32.c Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit a0987224dc80b3eb98cc7a135422acbda8538146 Author: Anton Blanchard Date: Sat Sep 10 16:01:08 2005 +1000 [PATCH] ppc64: ptrace cleanups - Remove the PPC_REG* defines - Wrap some more stuff with ifdef __KERNEL__ - Add missing PT_TRAP, PT_DAR, PT_DSISR defines - Add PTRACE_GETEVRREGS/PTRACE_SETEVRREGS, even though we dont use it on ppc64 we dont want to allocate them for something else. Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 962bca7f389229a30ced441d7b37f55f203006a2 Author: Robert Jennings Date: Sat Sep 10 16:01:07 2005 +1000 [PATCH] ppc64: Add PTRACE_{GET|SET}VRREGS The ptrace get and set methods for VMX/Altivec registers present in the ppc tree were missing for ppc64. This patch adds the 32-bit and 64-bit methods. Updated with the suggestions from Anton following the lines of his code snippet. Added: - flush_altivec_to_thread calls as suggested by Anton - piecewise copy of structure to preserve 32-bit vrsave data as per Anton (I consolidated the 32 and 64bit versions with 2 helper macros - Anton) Signed-off-by: Robert C Jennings Signed-off-by: Anton Blanchard Signed-off-by: Paul Mackerras commit 4267292b0f368c1633ff3316a53b5f7fbada95f8 Author: Paul Mackerras Date: Mon Sep 12 17:17:36 2005 +1000 ppc64: Set up PCI tree from Open Firmware device tree This adds code which gives us the option on ppc64 of instantiating the PCI tree (the tree of pci_bus and pci_dev structs) from the Open Firmware device tree rather than by probing PCI configuration space. The OF device tree has a node for each PCI device and bridge in the system, with properties that tell us what addresses the firmware has configured for them and other details. There are a couple of reasons why this is needed. First, on systems with a hypervisor, there is a PCI-PCI bridge per slot under the PCI host bridges. These PCI-PCI bridges have special isolation features for virtualization. We can't write to their config space, and we are not supposed to be reading their config space either. The firmware tells us about the address ranges that they pass in the OF device tree. Secondly, on powermacs, the interrupt controller is in a PCI device that may be behind a PCI-PCI bridge. If we happened to take an interrupt just at the point when the device or a bridge on the path to it was disabled for probing, we would crash when we try to access the interrupt controller. I have implemented a platform-specific function which is called for each PCI bridge (host or PCI-PCI) to say whether the code should look in the device tree or use normal PCI probing for the devices under that bridge. On pSeries machines we use the device tree if we're running under a hypervisor, otherwise we use normal probing. On powermacs we use normal probing for the AGP bridge, since the device for the AGP bridge itself isn't shown in the device tree (at least on my G5), and the device tree for everything else. This has been tested on a dual G5 powermac, a partition on a POWER5 machine (running under the hypervisor), and a legacy iSeries partition. Signed-off-by: Paul Mackerras commit c93a777103263c2a610a49771c6336f7a53d8ab7 Author: Antonino A. Daplas Date: Mon Sep 12 09:18:12 2005 +0800 [PATCH] i810fb: Update i810fb documentation Update i810fb documentation to describe new features and configuration changes. Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds commit 747a5054c0663a21c440524bdac1bca31be0d20e Author: Antonino A. Daplas Date: Mon Sep 12 09:16:47 2005 +0800 [PATCH] i810fb: Change option ext_vga to extvga to match documentation Reported by: Manuel Lauss He was getting random initial video modes depending on the kernel configuration. His option line includes 'extvga'. The i810fb documentation describes the option 'extvga', however the driver accepts 'ext_vga'. Besides 'extvga' being ignored by i810fb, it also confuses the option parser of i810fb and assigns 'extvga' to 'mode_option'. This leads to an incorrect video mode at boot time. Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds commit 595e8a97f48619fe7952f31259d3e61af9118f49 Author: Antonino A. Daplas Date: Mon Sep 12 09:15:16 2005 +0800 [PATCH] i810fb: Restore xres and yres option parameters If i810fb successfully probed for the EDID, it will disregard the boot option parameters 'xres' and 'yres'. Fix this regression. Excellent testing done by Manuel Lauss . Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds commit 883f64510718e7df9abbfeec4748d92745d8cc3e Author: Antonino A. Daplas Date: Mon Sep 12 09:13:32 2005 +0800 [PATCH] i810fb: Fix oops if CONFIG_FB_I810_I2C is set to no Reported by: Manuel Lauss compiled with CONFIG_FB_I810_I2C = n and CONFIG_FB_I810 = y it oopses at boot in file drivers/video/i810/i810_main.c:1884 ... Unable to handle kernel NULL pointer dereference at virtual address 00000054 printing eip: c02543c0 *pde = 00000000 Oops: 0000 [#1] last sysfs file: Modules linked in: CPU: 0 EIP: 0060:[] Not tainted VLI EFLAGS: 00010286 (2.6.13-mm2) EIP is at i810fb_find_init_mode+0x53/0x93 eax: c113ddd4 ebx: c1194000 ecx: c04be2dd edx: c1194000 esi: c1194008 edi: c113ddd4 ebp: c1194240 esp: c113ddcc ds: 007b es: 007b ss: 0068 struct fb_monspecs *specs is initialized to NULL causing the oops. Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds commit 81d4903d2d17a9f33ece2666185a8b51e6935ae0 Author: Greg Ungerer Date: Mon Sep 12 11:18:10 2005 +1000 [PATCH] m68knommu: common RAM based 68360 startup code Create common start code for all 68360 based platforms that are loaded and run directly from RAM (as opposed to running from flash/ROM). This replaces the old specific startup code for each board. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit d871629b83774fc24db6dd2775ceaf46b433b056 Author: Greg Ungerer Date: Mon Sep 12 11:18:10 2005 +1000 [PATCH] m68knommu: allow for SDRAM and GPIO differences on 5270/1 and 5274/5 processors Allow for differences in the SDRAM controller setup and GPIO pin setup of the 5270/1 and 5274/5 parts. With separate config options for each now this no longer needs to be board specific. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 2d9d166e1cb2909bd8d3ac0d1ee8db83abb9fd86 Author: Greg Ungerer Date: Mon Sep 12 11:18:10 2005 +1000 [PATCH] m68knommu: FEC eth definitions support for the 523x Coldfire processor family Add support for the FEC ethernet driver of the Freescale 523x processor family to the FEC header definitions. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 7ce4d42503949b62f481be989d8f5a25f5af10ff Author: Greg Ungerer Date: Mon Sep 12 11:18:10 2005 +1000 [PATCH] m68knommu: add SPI register definitions for 528x processors Add QSPI register definitions of ColdFIre 528x processor SPI controller. Patch originally submitted by Derek Cheung Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 66aa2b4b1cf9a61f1550251c56fc6f0d48287591 Author: Greg Ungerer Date: Mon Sep 12 11:18:10 2005 +1000 [PATCH] uclinux: add NULL check, 0 end valid check and some more exports to nommu.c Move call to get_mm_counter() in update_mem_hiwater() to be inside the check for tsk->mm being null. Otherwise you can be following a null pointer here. This patch submitted by Javier Herrero . Modify the end check for munmap regions to allow for the legacy behavior of 0 being valid. Pretty much all current uClinux system libc malloc's pass in 0 as the end point. A hard check will fail on these, so change the check so that if it is non-zero it must be valid otherwise it fails. A passed in value will always succeed (as it used too). Also export a few more mm system functions - to be consistent with the VM code exports. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 966cdb2fdf1776392c98f7d38e0eb9c6dd1c4715 Author: Greg Ungerer Date: Mon Sep 12 11:18:10 2005 +1000 [PATCH] m68knommu: dma support for 523x processors Support the DMA unit of the ColdFire 523x processor family. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit f6515db47e6d8cb502e4b0fd7255652da4ba1393 Author: Greg Ungerer Date: Mon Sep 12 11:18:10 2005 +1000 [PATCH] uclinux: remove use of mtd_put_device() in uclinux MTD map driver We should not call mtd_put_device() in the uclinux MTD map driver. Also consistently use phys/virt fields of maps map_info struct, instead of mixing it with map_priv_1. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit b0433b99339a9fdc2effe213491812556e4896fb Author: Greg Ungerer Date: Mon Sep 12 11:18:10 2005 +1000 [PATCH] m68knommu: add ColdFire serial driver support for 523x processor family Add support for the new Freescale 523x processor family to ColdFire serial driver. Also set different default baud rate for MOD5272 board. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 9c1ee9387c0ce06d573e2d27de10cbc24179941e Author: Greg Ungerer Date: Mon Sep 12 11:18:10 2005 +1000 [PATCH] m68knommu: change addr arg to const in bitops.h/find_next_zero_bit() Change addr arg to find_next_zero_bit to be a const. Cleans up compiler warning. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit df28f34bf998795c4d4e08c1604eac0a6d84f502 Author: Greg Ungerer Date: Mon Sep 12 11:18:10 2005 +1000 [PATCH] m68knommu: correct prototype args in checksum.h Bring arg types for csum_partial_copy and csum_paritial_copy_from_user prototypes into line with their actual implementation. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 42ae766fffdad89267151acddaf936df58ab2267 Author: Greg Ungerer Date: Mon Sep 12 11:18:10 2005 +1000 [PATCH] m68knommu: common ROM/flash based 68360 startup code Create common start code for all 68360 based platforms that are loaded and run directly from ROM/flash (as opposed to running from RAM). This replaces the old specific startup code for each board. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 8a6e43e9ee84eb8fb39bfdf8f0b6e466905491d0 Author: Greg Ungerer Date: Mon Sep 12 11:18:10 2005 +1000 [PATCH] m68knommu: cache support for 523x/528x processors Add support for the cache of the ColdFIre 523x family of processors. Enable the 528x cache by default now, all final shipping silicon has the cache bug fixed. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 7dd6a2aa27a7a8036fbaf60cbce38a64128d1d4d Author: Greg Ungerer Date: Mon Sep 12 11:18:10 2005 +1000 [PATCH] m68knommu: ColdFire FEC eth driver improvements A few improvements to the Freescale/ColdFire FEC driver: . some formatting cleanups . add support for the FEC device in the ColdFire 523x processor family . add support for MAC address setting on MOD5272 and M5272C3 boards . don't re-read the PHY status register many times . ack status interrupt before reading status register . move printing init message to after full init (so that the ethX name is filled out for printing) Some parts of this patch submitted by Philippe De Muyter Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 2af6921f6382456ed69163be9d2ee2c339134496 Author: Greg Ungerer Date: Mon Sep 12 11:18:10 2005 +1000 [PATCH] m68knommu: config support for FEC eth of 523x Coldfire processor family Add configuration support for the FEC ethernet controller in the Freescale 523x processor family. Also add and option to configure the second FEC controller on some Freescale processors. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 7caaeabb17758295edff9703c18a840073c5b8f4 Author: Al Viro Date: Sun Sep 11 20:14:07 2005 -0700 [SPARC]: Fix dot-symbol exporting for good. From: Al Viro Instead of playing all of these hand-coded assembler aliasing games, just translate symbol names in the name space ".sym" to "_Sym" at module load time. Signed-off-by: David S. Miller commit 7672d0b54411371e0b6a831c1cb2f0ce615de6dc Author: Evgeniy Polyakov Date: Sun Sep 11 19:15:07 2005 -0700 [NET]: Add netlink connector. Kernel connector - new userspace <-> kernel space easy to use communication module which implements easy to use bidirectional message bus using netlink as it's backend. Connector was created to eliminate complex skb handling both in send and receive message bus direction. Connector driver adds possibility to connect various agents using as one of it's backends netlink based network. One must register callback and identifier. When driver receives special netlink message with appropriate identifier, appropriate callback will be called. From the userspace point of view it's quite straightforward: socket(); bind(); send(); recv(); But if kernelspace want to use full power of such connections, driver writer must create special sockets, must know about struct sk_buff handling... Connector allows any kernelspace agents to use netlink based networking for inter-process communication in a significantly easier way: int cn_add_callback(struct cb_id *id, char *name, void (*callback) (void *)); void cn_netlink_send(struct cn_msg *msg, u32 __groups, int gfp_mask); struct cb_id { __u32 idx; __u32 val; }; idx and val are unique identifiers which must be registered in connector.h for in-kernel usage. void (*callback) (void *) - is a callback function which will be called when message with above idx.val will be received by connector core. Using connector completely hides low-level transport layer from it's users. Connector uses new netlink ability to have many groups in one socket. [ Incorporating many cleanups and fixes by myself and Andrew Morton -DaveM ] Signed-off-by: Evgeniy Polyakov Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit 49a28cc8fd26f5317c47a9aeb2bdd1c33e21738e Author: Keith Owens Date: Sun Sep 11 17:24:42 2005 +1000 [IA64] MCA/INIT: remove obsolete unwind code Delete the special case unwind code that was only used by the old MCA/INIT handler. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit 05f335ea04881ecb912b572c83e281a016149169 Author: Keith Owens Date: Sun Sep 11 17:23:42 2005 +1000 [IA64] MCA/INIT: remove the physical mode path from minstate.h Remove the physical mode path from minstate.h. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit 7f613c7d2203ae137d98fc1c38abc30fd7048637 Author: Keith Owens Date: Sun Sep 11 17:22:53 2005 +1000 [PATCH] MCA/INIT: use per cpu stacks The bulk of the change. Use per cpu MCA/INIT stacks. Change the SAL to OS state (sos) to be per process. Do all the assembler work on the MCA/INIT stacks, leaving the original stack alone. Pass per cpu state data to the C handlers for MCA and INIT, which also means changing the mca_drv interfaces slightly. Lots of verification on whether the original stack is usable before converting it to a sleeping process. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit 289d773ee89ea80dcc364ef97d1be7ad1817387e Author: Keith Owens Date: Sun Sep 11 17:21:46 2005 +1000 [IA64] MCA/INIT: avoid reading INIT record during INIT event Reading the INIT record from SAL during the INIT event has proved to be unreliable, and a source of hangs during INIT processing. The new MCA/INIT handlers remove the need to get the INIT record from SAL. Change salinfo.c so mca.c can just flag that a new record is available, without having to read the record during INIT processing. This patch can be applied without the new MCA/INIT handlers. Also clean up some usage of NR_CPUS which should have been using cpu_online(). Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit e619ae0b96b6ace6629a6a0c6a5db23861ddaa78 Author: Keith Owens Date: Sun Sep 11 17:20:14 2005 +1000 [IA64] MCA/INIT: add an extra thread_info flag Add an extra thread_info flag to indicate the special MCA/INIT stacks. Mainly for debuggers. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit a2a979821b6ab75a4f143cfaa1c4672cc259ec10 Author: Keith Owens Date: Sun Sep 11 17:19:06 2005 +1000 [PATCH] MCA/INIT: scheduler hooks Scheduler hooks to see/change which process is deemed to be on a cpu. Signed-off-by: Keith Owens Signed-off-by: Tony Luck commit e6c69bd39199656a8bbd0569edaff60574ff9cac Author: Sam Ravnborg Date: Sun Sep 11 22:35:18 2005 +0200 mips: rename offsets.c to asm-offsets.c Cannot build MIPS now. We need to change offset.c to asm-offsets.c Signed-off-by: Yoichi Yuasa Signed-off-by: Sam Ravnborg commit 5011cdd01bedd66b314e330a638c97984c71b53d Author: Sam Ravnborg Date: Sun Sep 11 22:32:57 2005 +0200 kbuild: fix silentoldconfig with make O= Al Viro reported that sometimes silentoldconfig failed because output directory was missing. So create it unconditionally before executing conf Signed-off-by: Sam Ravnborg commit 5bb78269000cf326bfdfa19f79449c02a9158020 Author: Sam Ravnborg Date: Sun Sep 11 22:30:22 2005 +0200 kbuild: rename prepare to archprepare to fix dependency chain When introducing the generic asm-offsets.h support the dependency chain for the prepare targets was changed. All build scripts expecting include/asm/asm-offsets.h to be made when using the prepare target would broke. With the limited number of prepare targets left in arch Makefiles the trivial solution was to introduce a new arch specific target: archprepare The dependency chain looks like this now: prepare | +--> prepare0 | +--> archprepare | +--> scripts_basic +--> prepare1 | +---> prepare2 | +--> prepare3 So prepare 3 is processed before prepare2 etc. This guaantees that the asm symlink, version.h, scripts_basic are all updated before archprepare is processed. prepare0 which build the asm-offsets.h file will need the actions performed by archprepare. The head target is now named prepare, because users scripts will most likely use that target, but prepare-all has been kept for compatibility. Updated Documentation/kbuild/makefiles.txt. Signed-off-by: Sam Ravnborg commit ce1289adeb67b5480f35cb257cbf6e9881153783 Author: Willy Tarreau Date: Sun Sep 11 09:04:07 2005 +0200 [PATCH] Sun HME: enable and map PCI ROM properly This ports the Sun GEM ROM mapping/enable fixes it sunhme (which used the same PCI ROM mapping code). Without this, I get NULL MAC addresses for all 4 ports (it's a SUN QFE). With it, I get the correct addresses (the ones printed on the label on the card). Signed-off-by: Linus Torvalds commit 4120b028dd231743935d954732045a87edda2a0a Author: Linus Torvalds Date: Sun Sep 11 09:26:20 2005 -0700 Sun GEM ethernet: enable and map PCI ROM properly This same patch was reported to fix the MAC address detection on sunhme (next patch). Most people seem to be running this on Sparcs or PPC machines, where we get the MAC address from their respective firmware rather than from the (previously broken) ROM mapping routines. Signed-off-by: Linus Torvalds commit 9ec4ff421f032f24416217f23b0c82dc9a5f38f6 Author: Linus Torvalds Date: Sun Sep 11 09:22:50 2005 -0700 hpt366: write the full 4 bytes of ROM address, not just low 1 byte This is one heck of a confused driver. It uses a byte write to a dword register to enable a ROM resource that it doesn't even seem to be using. "Lost and wandering in the desert of confusion" Signed-off-by: Linus Torvalds commit 5437775e0bc38d633c0a4b7660812f15b6693b69 Author: Pavel Machek Date: Sun Sep 11 10:28:00 2005 +0100 [MFD] Cleanups suggested by Dmitri, Vojtech and lists. These are small ucb1x00-ts cleanups, as suggested by Vojtech, Dmitri and the lists. Signed-off-by: Pavel Machek Signed-off-by: Russell King commit 48c92022ad264cb8084cee78a499f183b264e45f Author: Russell King Date: Sun Sep 11 10:27:23 2005 +0100 [MFD] Add code UCB1200/UCB1300 assabet platform support Add support for Intel assabet specific board support for UCB1200/UCB1300 devices. Signed-off-by: Russell King commit acb45439a89c6830349c02405f00a7208db0a66b Author: Russell King Date: Sun Sep 11 10:26:57 2005 +0100 [MFD] Add code UCB1200/UCB1300 touchscreen support Add support for Philips UCB1200 and UCB1300 touchscreen interfaces found on ARM devices. Signed-off-by: Russell King commit 05c45ca9aa4ec57e8e22341633c7a98cc879423d Author: Russell King Date: Sun Sep 11 10:26:31 2005 +0100 [MFD] Add code UCB1200/UCB1300 device support Add the core device support code for the Philips UCB1200 and UCB1300 devices. Also includes the following from Pavel: This fixes u32 vs. pm_message_t confusion and uses cleaner try_to_freeze() [fixing compilation as a side-effect on newer kernels.] Signed-off-by: Pavel Machek Signed-off-by: Russell King commit 70c83e110541e894fa16aee0f57bcf4207b33e7b Author: Tejun Heo Date: Sun Sep 11 09:37:19 2005 +0900 [SCSI] scsi: Error handler description document This patch adds Documentation/scsi/scs_eh.txt. I've chosen plain text over DocBook as most other scsi docs are in plain text and it's more accessible. Signed-off-by: Tejun Heo Signed-off-by: James Bottomley commit 6f16b5359ceb96780eac4178393b0e8a3c8aa1ea Author: Mike Christie Date: Sat Sep 10 16:45:35 2005 -0500 [SCSI] set error value when failing commands in prep_fn set DID_NO_CONNECT for the BLKPREP_KILL case and correct a few BLKPREP_DEFER cases that weren't checking for the need to plug the queue. Signed-Off-By: Mike Christie Signed-off-by: James Bottomley commit 2d21247998c5d183179a7e822c4032974a53ff49 Author: Alexey Dobriyan Date: Sun Sep 11 04:01:09 2005 +0400 [PATCH] Fix breakage on ppc{,64} by "nvidiafb: Fallback to firmware EDID" Fix drivers/video/nvidia/nv_of.c:34: error: conflicting types for 'nvidia_probe_i2c_connector' drivers/video/nvidia/nv_proto.h:38: error: previous declaration of 'nvidia_probe_i2c_connector' was here Signed-off-by: Alexey Dobriyan Acked-by: Al Viro Acked-by: Antonino Daplas Signed-off-by: Linus Torvalds commit e130af5dab2abbf01c5d92ec5ac05912cf3d9aa7 Author: Herbert Xu Date: Sat Sep 10 17:19:09 2005 -0700 [TCP]: Fix double adjustment of tp->{lost,left}_out in tcp_fragment(). There is an extra left_out/lost_out adjustment in tcp_fragment which means that the lost_out accounting is always wrong. This patch removes that chunk of code. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit d3fd4c2d48ac4590a922f2a950a2d46386c97a8a Author: Al Viro Date: Sun Sep 11 00:24:27 2005 +0100 [PATCH] uml spinlock breakage mingo missed that one... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 146f7262ee0ec7fc6882f06e5fcb13883308073c Author: James Bottomley Date: Sat Sep 10 12:44:09 2005 -0500 [SCSI] Alter the scsi_add_device() API to conform to what users expect The original API returned either an ERR_PTR() or a refcounted sdev. Unfortunately, if it's successful, you need to do a scsi_device_put() on the sdev otherwise the refcounting is wrong. Everyone seems to expect that scsi_add_device() should be callable without doing the ref put, so alter the API so it is (we still have __scsi_add_device with the original behaviour). The only actual caller that needs altering is the one in firewire ... not because it gets this right, but because it acts on the error if one is returned. Acked-by: Stefan Richter Signed-off-by: James Bottomley commit 8d36a62364b6b04dc7b0e9fe09f6968f4e5a1f0a Author: Sam Ravnborg Date: Sat Sep 10 21:05:36 2005 +0200 kbuild: fix generic asm-offsets.h support iThis fixes a bug where the generated asm-offsets.h file was saved in the source tree even with make O=. Thanks to Stephen Rothwell for the report. Signed-off-by: Sam Ravnborg commit 0a504f259c90fb41d3495d490fc9dbe2530c8749 Author: Sam Ravnborg Date: Sat Sep 10 21:02:11 2005 +0200 kbuild: add objectify Use foo := $(call objectify, $(foo)) to prefix $(foo) with $(obj)/ unless $(foo) is an absolute path. For now no in-tree users - soon to come. Signed-off-by: Sam Ravnborg commit 16b036786a6bd08cf7a91e0cd58219a6717da2a6 Author: Paolo 'Blaisorblade' Giarrusso Date: Sat Sep 10 19:44:58 2005 +0200 [PATCH] uml: avoid already done dirtying The PTE returned from handle_mm_fault is already marked as dirty and accessed if needed. Also, since this is not set with set_pte() (which sets NEWPAGE and NEWPROT as needed), this wouldn't work anyway. This version has been updated and fixed, thanks to some feedback from Jeff Dike. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit d129f31236c241c07e583e8bc695c382365d02ce Author: Paolo 'Blaisorblade' Giarrusso Date: Sat Sep 10 19:44:57 2005 +0200 [PATCH] uml: fix fault handler on write The UML fault handler was recently changed to enforce PROT_NONE protections, by requiring VM_READ or VM_EXEC on VMA's. However, by mistake, things were changed such that VM_READ is always checked, also on write faults; so a VMA mapped with only PROT_WRITE is not readable (unless it's prefaulted with MAP_POPULATE or with a write), which is different from i386. Discovered while testing remap_file_pages protection support. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit d99c4022f60a9aa3a8dc6b7d71f3d0998c696912 Author: Paolo 'Blaisorblade' Giarrusso Date: Sat Sep 10 19:44:56 2005 +0200 [PATCH] uml: inline mk_pte and various friends Turns out that, for UML, a *lot* of VM-related trivial functions are not inlined but rather normal functions. In other sections of UML code, this is justified by having files which interact with the host and cannot therefore include kernel headers, but in this case there's no such justification. I've had to turn many of them to macros because of missing declarations. While doing this, I've decided to reuse some already existing macros. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit 4413a511f22ec771edc0b7c93e5b34e05511acb5 Author: Paolo 'Blaisorblade' Giarrusso Date: Sat Sep 10 19:44:55 2005 +0200 [PATCH] x86_64 linker script cleanups for debug sections Use the new macros for x86_64 too. Note that the current scripts includes different definitions; more exactly, it only contains part of the DWARF2 sections and the .comment one from Stabs. Shouldn't be a problem, anyway. Cc: Sam Ravnborg Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit a7d0c210337246fa9c25b73cf76dfdbb159f642b Author: Paolo 'Blaisorblade' Giarrusso Date: Sat Sep 10 19:44:54 2005 +0200 [PATCH] i386 / uml: add dwarf sections to static link script Inside the linker script, insert the code for DWARF debug info sections. This may help GDB'ing a Uml binary. Actually, it seems that ld is able to guess what I added correctly, but normal linker scripts include this section so it should be correct anyway adding it. On request by Sam Ravnborg , I've added it to asm-generic/vmlinux.lds.s. I've also moved there the stabs debug section, used the new macro in i386 linker script and added DWARF debug section to that. In the truth, I've not been able to verify the difference in GDB behaviour after this change (I've seen large improvements with another patch). This may depend on my binutils version, older one may have worse defaults. However, this section is present in normal linker script, so add it at least for the sake of cleanness. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Acked-by: Sam Ravnborg Signed-off-by: Linus Torvalds commit 2d5cbf324c0fd4d0e1427bcb50b8bc00069e81b8 Author: Paolo 'Blaisorblade' Giarrusso Date: Sat Sep 10 19:44:53 2005 +0200 [PATCH] Uml: more cleaning We must remove even arch/um/os-Linux/util/mk_user_constants, which we don't do. Also, Kconfig_arch must be listed only once, between CLEAN_FILES. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Linus Torvalds commit 0aaaa028297a0e2aed9671419a11d8e17510cb51 Author: viro@ZenIV.linux.org.uk Date: Fri Sep 9 22:09:08 2005 +0100 [PATCH] envctrl fixes envctrl doesn't need unistd.h; moreover, since it declares errno static gcc4 gets very unhappy about including unistd.h. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit fe08ac3178243fbed61f24878ffcf5cfb53fceb1 Author: viro@ZenIV.linux.org.uk Date: Fri Sep 9 22:03:44 2005 +0100 [PATCH] __user annotations (scsi/ch) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit b35b7072178b76814a088ac71ac4702de8bf7c7b Author: Stephen Rothwell Date: Sun Sep 11 00:00:14 2005 +1000 [PATCH] powerpc: Move include3 to arch/$(ARCH)/include This is less troublesome and makes more sense. Signed-off-by: Stephen Rothwell Signed-off-by: Linus Torvalds commit 35797132b311b3b7d4add48393b0a03f3566cbc1 Author: Jens Axboe Date: Sat Sep 10 14:17:10 2005 +0200 [PATCH] cfq-iosched: reverse bad reference count fix The reference count fix merged isn't fully bug free. It doesn't leak now, but instead it crashes due to looking at freed memory. So for now, lets reverse the change and I'll fix it for real next week. Signed-off-by: Jens Axboe Signed-off-by: Linus Torvalds commit 31139971b3dc9fbb2e8a8572fb81e6e8470f363a Author: Paul Mackerras Date: Sat Sep 10 21:13:13 2005 +1000 [PATCH] ppc32: support hotplug cpu on powermacs This allows cpus to be off-lined on 32-bit SMP powermacs. When a cpu is off-lined, it is put into sleep mode with interrupts disabled. It can be on-lined again by asserting its soft-reset pin, which is connected to a GPIO pin. With this I can off-line the second cpu in my dual G4 powermac, which means that I can then suspend the machine (the suspend/resume code refuses to suspend if more than one cpu is online, and making it cope with multiple cpus is surprisingly messy). Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds commit bb0bb3b6596cdb08adb0b72453cc67d48e139c2c Author: Paul Mackerras Date: Sat Sep 10 21:13:11 2005 +1000 [PATCH] ppc32: Kill init on unhandled synchronous signals This is a patch that I have had in my tree for ages. If init causes an exception that raises a signal, such as a SIGSEGV, SIGILL or SIGFPE, and it hasn't registered a handler for it, we don't deliver the signal, since init doesn't get any signals that it doesn't have a handler for. But that means that we just return to userland and generate the same exception again immediately. With this patch we print a message and kill init in this situation. This is very useful when you have a bug in the kernel that means that init doesn't get as far as executing its first instruction. :) Without this patch the system hangs when it gets to starting the userland init; with it you at least get a message giving you a clue about what has gone wrong. Signed-off-by: Paul Mackerras Signed-off-by: Linus Torvalds commit 1e63bc7342c40f0f1dd83d80d368665bd06f4963 Author: Nishanth Aravamudan Date: Sat Sep 10 00:27:31 2005 -0700 [PATCH] telephony: fix-up schedule_timeout() usage Use schedule_timeout_uninterruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7b4ccf8db4c1dc343ad5d6ed19240bbc3b5f945f Author: Nishanth Aravamudan Date: Sat Sep 10 00:27:31 2005 -0700 [PATCH] parport: fix-up schedule_timeout() usage Use schedule_timeout_interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Also use human-time to jiffies units conversion functions rather than direct HZ division to avoid rounding issues. Signed-off-by: Nishanth Aravamudan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit da4cd8dfe18ee901b880f94ca0fa79d5cc1cd0eb Author: Nishanth Aravamudan Date: Sat Sep 10 00:27:30 2005 -0700 [PATCH] drivers/char: fix-up schedule_timeout() usage Use schedule_timeout_interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ddee1b7a732dc96d479afaa7d0a26aa53990089 Author: Nishanth Aravamudan Date: Sat Sep 10 00:27:29 2005 -0700 [PATCH] drivers/cdrom: fix-up schedule_timeout() usage Use schedule_timeout_{un,}interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Cc: Jens Axboe Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 86e8486245a01f05a3267b2e8b5c02c2303b670d Author: Nishanth Aravamudan Date: Sat Sep 10 00:27:28 2005 -0700 [PATCH] drivers/block: fix-up schedule_timeout() usage Use schedule_timeout_{un,}interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 310b587e011ce02328c8e4c29eccd9f14d9007c5 Author: Nishanth Aravamudan Date: Sat Sep 10 00:27:27 2005 -0700 [PATCH] mips: fix-up schedule_timeout() usage Use schedule_timeout_interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Also, replace custom timespectojiffies() function with globally availabe timespec_to_jiffies(). Signed-off-by: Nishanth Aravamudan Cc: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 52e6e6308801697ae8e59e7a577f9ca71231a35c Author: Nishanth Aravamudan Date: Sat Sep 10 00:27:26 2005 -0700 [PATCH] i386: fix-up schedule_timeout() usage Use schedule_timeout_interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 20c6abd1fd3a6296282f63fae82e589aa81862ff Author: Nishanth Aravamudan Date: Sat Sep 10 00:27:25 2005 -0700 [PATCH] alpha: fix-up schedule_timeout() usage Use schedule_timeout_interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Cc: Richard Henderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 13e4b57f6a4e23ceb99794a650d777e74831f4a6 Author: Nishanth Aravamudan Date: Sat Sep 10 00:27:25 2005 -0700 [PATCH] mm: fix-up schedule_timeout() usage Use schedule_timeout_{,un}interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 75bcc8c5e1de78616b04ef9f317a293a7c1c163c Author: Nishanth Aravamudan Date: Sat Sep 10 00:27:24 2005 -0700 [PATCH] kernel: fix-up schedule_timeout() usage Use schedule_timeout_{,un}interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Signed-off-by: Nishanth Aravamudan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 041e0e3b1970c508dc9a95b7dd9dc86271a7d7ac Author: Nishanth Aravamudan Date: Sat Sep 10 00:27:23 2005 -0700 [PATCH] fs: fix-up schedule_timeout() usage Use schedule_timeout_{,un}interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Also use helper functions to convert between human time units and jiffies rather than constant HZ division to avoid rounding errors. Signed-off-by: Nishanth Aravamudan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 373016e9e1353f2af871993d27d00768f08cc883 Author: Andrew Morton Date: Sat Sep 10 00:27:23 2005 -0700 [PATCH] time.h: remove ifdefs Remove these ifdefs - there's no need to have more than one definition of these multipliers anywhere. Cc: Nishanth Aravamudan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 84f902c0903a98a315b45a4fba3d2ac0de388256 Author: Nishanth Aravamudan Date: Sat Sep 10 00:27:22 2005 -0700 [PATCH] include: update jiffies/{m,u}secs conversion functions Clarify the human-time units to jiffies conversion functions by using the constants in time.h. This makes many of the subsequent patches direct copies of the current code. Signed-off-by: Nishanth Aravamudan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 64ed93a268bc18fa6f72f61420d0e0022c5e38d1 Author: Nishanth Aravamudan Date: Sat Sep 10 00:27:21 2005 -0700 [PATCH] add schedule_timeout_{,un}interruptible() interfaces Add schedule_timeout_{,un}interruptible() interfaces so that schedule_timeout() callers don't have to worry about forgetting to add the set_current_state() call beforehand. Signed-off-by: Nishanth Aravamudan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 672289e9faa56acd4e39ad866ea258b7be7c99a6 Author: Adrian Bunk Date: Sat Sep 10 00:27:21 2005 -0700 [PATCH] i386/x86_64: make get_cpu_vendor() static get_cpu_vendor() no longer has any users in other files. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e711700a0e6a6824fcfd5519d6b6982850a648ee Author: Adrian Bunk Date: Sat Sep 10 00:27:20 2005 -0700 [PATCH] fs/cramfs/uncompress.c should #include Every file should #include the header with the prototypes of the global functions it is offering. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b01d8684e9e5b04270970c97df856d47668267e3 Author: Pavel Machek Date: Sat Sep 10 00:27:19 2005 -0700 [PATCH] remove ACPI S4bios support Remove S4BIOS support. It is pretty useless, and only ever worked for _me_ once. (I do not think anyone else ever tried it). It was in feature-removal for a long time, and it should have been removed before. Signed-off-by: Pavel Machek Signed-off-by: Adrian Bunk Cc: "Brown, Len" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c2d08dade7743bd3a28cc5f68163e71c00a2a908 Author: Adrian Bunk Date: Sat Sep 10 00:27:18 2005 -0700 [PATCH] include/linux/bio.h: "extern inline" -> "static inline" "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9adeb1b409e832c31d93106ce52482a5f0078439 Author: Adrian Bunk Date: Sat Sep 10 00:27:18 2005 -0700 [PATCH] "extern inline" -> "static inline" "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2befb9e36dc52d715c3a67a9dbad36ac1edc376f Author: Adrian Bunk Date: Sat Sep 10 00:27:17 2005 -0700 [PATCH] include/linux/blkdev.h: "extern inline" -> "static inline" "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e2afe67453e5b1499459ee3596b1e7924a5208f5 Author: Adrian Bunk Date: Sat Sep 10 00:27:16 2005 -0700 [PATCH] include/asm-i386/: "extern inline" -> "static inline" "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ea0e0a4f53a75ed9d0812352c0410f6fc2a0b62a Author: James Lamanna Date: Sat Sep 10 00:27:16 2005 -0700 [PATCH] janitor: reiserfs: super.c - vfree() checking cleanups super.c vfree() checking cleanups. Signed-off by: James Lamanna Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2aad5f03d97bbaf1b19f31347656de953247c7da Author: Nishanth Aravamudan Date: Sat Sep 10 00:27:15 2005 -0700 [PATCH] janitor: ide/ide-cs: replace schedule_timeout() with msleep() Uses msleep() in place of schedule_timeout() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f6a2f3404a3b09281a264058fa8dd318bac51178 Author: Nishanth Aravamudan Date: Sat Sep 10 00:27:14 2005 -0700 [PATCH] janitor: block/xd: replace schedule_timeout() with msleep()/msleep_interruptible() Use msleep() or msleep_interruptible() [as appropriate] instead of schedule_timeout() to gurantee the task delays as expected. As a result changed the units of the timeout variable from jiffies to msecs. Signed-off-by: Nishanth Aravamudan Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 31a34571e5eed7cb1d70d5e7edd013261fe602e9 Author: Michael Veeck Date: Sat Sep 10 00:27:13 2005 -0700 [PATCH] janitor: sh: hd64465: minmax-removal Patch removes unnecessary min/max macros and changes calls to use kernel.h macros instead. Signed-off-by: Michael Veeck Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0e8bbf59bd1ff78ad7e6c7afe6acef91372914e1 Author: Michael Veeck Date: Sat Sep 10 00:27:11 2005 -0700 [PATCH] janitor: sh: bigsur/io: minmax-removal Patch removes unnecessary min/max macros and changes calls to use kernel.h macros instead. Signed-off-by: Michael Veeck Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer Cc: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c5719c43d34073f6b4b0a2dd99f5317a5f63abd Author: Domen Puncer Date: Sat Sep 10 00:27:10 2005 -0700 [PATCH] janitor: tulip/de4x5: list_for_each s/for/list_for_each/ Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 46308c0bbbb066305e0798a2fa03328467a3c7d6 Author: Domen Puncer Date: Sat Sep 10 00:27:09 2005 -0700 [PATCH] janitor: block/umem: replace PRINTK with pr_debug Removed unused dprintk, replaced PRINTK with pr_debug. Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80ce45fd961ba8c951adc9857bfda87102b1f5b1 Author: Nishanth Aravamudan Date: Sat Sep 10 00:27:08 2005 -0700 [PATCH] janitor: ide-tape: replace schedule_timeout() with msleep() Uses msleep() instead of schedule_timeout() to guarantee the task delays at least the desired time amount. Signed-off-by: Nishanth Aravamudan Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0cdca3f9806a3dbaa07b5e8175000cd513ba92d4 Author: Domen Puncer Date: Sat Sep 10 00:27:07 2005 -0700 [PATCH] janitor: fs/dcache.c: list_for_each* First one is list_for_each_entry (thanks maks), second 2 list_for_each_safe. Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fdadd65fbce0ff966cb8e74247d9636f52a7fc7a Author: Domen Puncer Date: Sat Sep 10 00:27:07 2005 -0700 [PATCH] janitor: fs/namespace.c: list_for_each_entry Make code more readable with list_for_each_entry. Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 216d81bb35fc50923993462cc4fbc7029f9be1a9 Author: Domen Puncer Date: Sat Sep 10 00:27:05 2005 -0700 [PATCH] janitor: jffs/intrep: list_for_each_entry Use list_for_each_entry to make code more readable. Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 81616c5a0811564667ef39928da4573d99c70bed Author: Domen Puncer Date: Sat Sep 10 00:27:04 2005 -0700 [PATCH] janitor: net/ppp-generic: list_for_each_entry Make code more readable with list_for_each_entry. Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer Cc: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2665b891c42ef67eb4cb51d665b523892f992749 Author: Clemens Buchacher Date: Sat Sep 10 00:27:00 2005 -0700 [PATCH] janitor: ide: min/max macros in ide-timing.h I replaced the custom MIN/MAX macros with the type safe min/max macros from linux/kernel.h. Signed-off-by: Maximilian Attems Signed-off-by: Domen Puncer Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ecec4cb7a9df5f61fe00710d2f2c69ce9a3b1d40 Author: Adrian Bunk Date: Sat Sep 10 00:26:59 2005 -0700 [PATCH] lib/sort.c: small cleanups This patch contains the following small cleanups: - make two needlessly global functions static - every file should #include the header files containing the prototypes of it's global functions Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 207f36eec9e7b1077d7a0aaadb4800e2c9b4cfa4 Author: Renaud Lienhart Date: Sat Sep 10 00:26:59 2005 -0700 [PATCH] remove invalid comment in mm/page_alloc.c free_pages_bulk() doesn't free the entire list if count == 0. Signed-off-by: Renaud Lienhart Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9dcbb32f1654e79c212c20d9cd9d48509ee1eaf7 Author: Tobias Klauser Date: Sat Sep 10 00:26:58 2005 -0700 [PATCH] Spelling and whitespace fixes for REPORTING-BUGS The attached patch fixes some spelling errors in REPORTING-BUGS and also removes all trailing whitespaces. Signed-off-by: Tobias Klauser Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96757701336365e30bea9fccdfac087338954e09 Author: Marcelo Feitoza Parisi Date: Sat Sep 10 00:26:57 2005 -0700 [PATCH] drivers/char/lp.c : Use of the time_after() macro Use of the time_after() macro, defined at linux/jiffies.h, which deals with wrapping correctly and are nicer to read. Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 82b44429e0c8a8fec8f36e98a725f516227dabc0 Author: Adrian Bunk Date: Sat Sep 10 00:26:56 2005 -0700 [PATCH] patch] remove sound/oss/skeleton.c We do no longer need a template for OSS drivers. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f8e38dde33b839bb9e9f98e88688bfac1811d57a Author: Adrian Bunk Date: Sat Sep 10 00:26:55 2005 -0700 [PATCH] include/asm-arm26/hardirq.h: remove #define irq_enter() This patch removes a #define for irq_enter that is superfluous due to a similar one in include/linux/hardirq.h. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 338cec3253a6d43d02e5e96abc327197565efcc8 Author: Adrian Bunk Date: Sat Sep 10 00:26:54 2005 -0700 [PATCH] merge some from Rusty's trivial patches This patch contains the most trivial from Rusty's trivial patches: - spelling fixes - remove duplicate includes Signed-off-by: Adrian Bunk Cc: Rusty Russell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f9101210e7aa72daf92722d451a2f7e3af5f781f Author: Jesper Juhl Date: Sat Sep 10 00:26:54 2005 -0700 [PATCH] vfree and kfree cleanup in drivers/ This patch does a full cleanup of 'NULL checks before vfree', and a partial cleanup of calls to kfree for all of drivers/ - the kfree bit is partial in that I only did the files that also had vfree calls in them. The patch also gets rid of some redundant (void *) casts of pointers being passed to [vk]free, and a some tiny whitespace corrections also crept in. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 887c27f369abc458556a5ce8ab22ddd498474307 Author: Adrian Bunk Date: Sat Sep 10 00:26:52 2005 -0700 [PATCH] fix unusual placement of inline keyword in hpet With gcc -W: drivers/char/hpet.c:102: warning: `inline' is not at beginning of declaration drivers/char/hpet.c:109: warning: `inline' is not at beginning of declaration Signed-off-by: Jesper Juhl Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b3358a116c25267446a45e4164cb2b8e98276da0 Author: Pekka J Enberg Date: Sat Sep 10 00:26:51 2005 -0700 [PATCH] update FSF address in COPYING FSF has moved so update the address as per http://www.gnu.org/licenses/gpl.txt. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aeb8397b6a289a358f04fa12b69194af6c259ad6 Author: Nishanth Aravamudan Date: Sat Sep 10 00:26:50 2005 -0700 [PATCH] i386/smpboot: use msleep() instead of schedule_timeout() Replace schedule_timeout() with msleep() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f4c9925ccc185da68c2d42230711d017f222e420 Author: Nishanth Aravamudan Date: Sat Sep 10 00:26:50 2005 -0700 [PATCH] telephony/ixj: use msleep() instead of schedule_timeout() Replace schedule_timeout() with msleep() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3a11ec5e502cb61ee31095008318f9c107d9db60 Author: Victor Fusco Date: Sat Sep 10 00:26:49 2005 -0700 [PATCH] dmapool: Fix "nocast type" warnings Fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 00b61f51922e432fd92a482ba1e0b5f8f326ef46 Author: Victor Fusco Date: Sat Sep 10 00:26:48 2005 -0700 [PATCH] lib/radix-tree: Fix "nocast type" warnings Fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d533f671852cc4e481ea7070aa1a3b6fc75b8e44 Author: Tobias Klauser Date: Sat Sep 10 00:26:46 2005 -0700 [PATCH] Spelling fixes for Documentation/ The attached patch fixes the following spelling errors in Documentation/ - double "the" - Several misspellings of function/functionality - infomation - memeory - Recieved - wether and possibly others which I forgot ;-) Trailing whitespaces on the same line as the typo are also deleted. Signed-off-by: Tobias Klauser Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9de75d110c9681d4aaa7fe87b8db99d5562012a2 Author: Victor Fusco Date: Sat Sep 10 00:26:46 2005 -0700 [PATCH] mm/swap_state: Fix "nocast type" warnings Fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e776eba0feaea9a3eba7aff73f50701b9804b57f Author: Pekka J Enberg Date: Sat Sep 10 00:26:44 2005 -0700 [PATCH] Add kerneldoc reference to CodingStyle Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c05e0664e1d080344d6ce346de43e51895541e21 Author: Thomas Gleixner Date: Sat Sep 10 00:26:44 2005 -0700 [PATCH] SH64: C99 initializers for hw_interrupt_type structures Convert the initializers of hw_interrupt_type structures to C99 initializers. Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aecd4568ac8abcedc1e46fc3804439ac8e1b8ff4 Author: Thomas Gleixner Date: Sat Sep 10 00:26:43 2005 -0700 [PATCH] V850: C99 initializers for hw_interrupt_type structures Convert the initializers of hw_interrupt_type structures to C99 initializers. Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 08d0fd07c3f0b6e561260f0b078d03d6fa1ac59f Author: Thomas Gleixner Date: Sat Sep 10 00:26:42 2005 -0700 [PATCH] SH: C99 initializers for hw_interrupt_type structures Convert the initializers of hw_interrupt_type structures to C99 initializers. Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2830e21eb3c600865245478cd7a28ae73191b6b7 Author: Thomas Gleixner Date: Sat Sep 10 00:26:40 2005 -0700 [PATCH] PPC: C99 initializers for hw_interrupt_type structures Convert the initializers of hw_interrupt_type structures to C99 initializers. Signed-off-by: Thomas Gleixner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 417ef531415c070926b071b75fd1c1ac4b6e2f7e Author: Randy Dunlap Date: Sat Sep 10 00:26:39 2005 -0700 [PATCH] kernel/acct: add kerneldoc for kernel/acct.c: - fix typos - add kerneldoc for non-static functions Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 621a4d1a823e1ec631fbfbe6e53ad036e2d2abc6 Author: Victor Fusco Date: Sat Sep 10 00:26:38 2005 -0700 [PATCH] char/n_tty: fix sparse warnings (__nocast type) Fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b2d550736f8b2186b8ef7e206d0bfbfec2238ae8 Author: Victor Fusco Date: Sat Sep 10 00:26:36 2005 -0700 [PATCH] mm/slab: fix sparse warnings Fix the sparse warning "implicit cast to nocast type" Signed-off-by: Victor Fusco Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dfc866e5059561cc79a0cc1c68ff1492f4c78508 Author: Alexey Dobriyan Date: Sat Sep 10 00:26:35 2005 -0700 [PATCH] sb16_csp: untypedef Signed-off-by: Alexey Dobriyan Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 31bbf8f5d55c706f2e429f7cfa7b339a332e785e Author: Alexey Dobriyan Date: Sat Sep 10 00:26:34 2005 -0700 [PATCH] sb16_csp: remove home-grown le??_to_cpu macros Signed-off-by: Alexey Dobriyan Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1ac19f4ccd8636dbe76a97cec36c95d7548cc871 Author: Christophe Lucas Date: Sat Sep 10 00:26:33 2005 -0700 [PATCH] hdpu_cpustate.c: misc_register() can fail Signed-off-by: Christophe Lucas Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf85d5ca880c9611906e0ca0c729fdf01c724501 Author: Christophe Lucas Date: Sat Sep 10 00:26:32 2005 -0700 [PATCH] drivers/char/lcd.c: misc_register() can fail Signed-off-by: Christophe Lucas Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 819a3eba4233ffc6c125e1bf0a15ae093b97c3a6 Author: Christophe Lucas Date: Sat Sep 10 00:26:29 2005 -0700 [PATCH] applicom: fix error handling misc_register() can fail. Signed-off-by: Christophe Lucas Signed-off-by: Domen Puncer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5ce7852cdf07ab903fb1c72d0915ac492c6e07c7 Author: Adrian Bunk Date: Sat Sep 10 00:26:28 2005 -0700 [PATCH] mm/filemap.c: make two functions static With Nick Piggin Give some things static scope. Signed-off-by: Adrian Bunk Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dd81eca83c8300c95d8a1eaf0d38f56513711535 Author: Paul E. McKenney Date: Sat Sep 10 00:26:24 2005 -0700 [PATCH] Yet another RCU documentation update Update RCU documentation based on discussions and review of RCU-based tree patches. Add an introductory whatisRCU.txt file. Signed-off-by: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 12c62c2e9abf8da804fe1def1f5bb44d023f569f Author: Arthur Othieno Date: Sat Sep 10 00:26:22 2005 -0700 [PATCH] Remove even more stale references to Documentation/smp.tex Randy cleaned out the bulk of these stale references to the now long gone Documentation/smp.tex back in 2004. I followed this up with a few more sweeps. Somehow, these have managed to sneak back in since. I can't seem to figure out a contact point for M32R (no one listed in MAINTAINERS!), but, these patches are only but trivial. Signed-off-by: Arthur Othieno Acked-by: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0c117f1b4d14380baeed9c883f765ee023da8761 Author: Siddha, Suresh B Date: Sat Sep 10 00:26:21 2005 -0700 [PATCH] sched: allow the load to grow upto its cpu_power Don't pull tasks from a group if that would cause the group's total load to drop below its total cpu_power (ie. cause the group to start going idle). Signed-off-by: Suresh Siddha Signed-off-by: Nick Piggin Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fa3b6ddc3f4a8eadba52234134cdb59c28b5332d Author: Siddha, Suresh B Date: Sat Sep 10 00:26:21 2005 -0700 [PATCH] sched: don't kick ALB in the presence of pinned task Jack Steiner brought this issue at my OLS talk. Take a scenario where two tasks are pinned to two HT threads in a physical package. Idle packages in the system will keep kicking migration_thread on the busy package with out any success. We will run into similar scenarios in the presence of CMP/NUMA. Signed-off-by: Suresh Siddha Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5927ad78ec75870b1bdfa65a10ad1300cd664d36 Author: Renaud Lienhart Date: Sat Sep 10 00:26:20 2005 -0700 [PATCH] sched: use cached variable in sys_sched_yield() In sys_sched_yield(), we cache current->array in the "array" variable, thus there's no need to dereference "current" again later. Signed-Off-By: Renaud Lienhart Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5969fe0618051e8577316555a81a6e44b7b7d640 Author: Nick Piggin Date: Sat Sep 10 00:26:19 2005 -0700 [PATCH] sched: HT optimisation If an idle sibling of an HT queue encounters a busy sibling, then make higher level load balancing of the non-idle variety. Performance of multiprocessor HT systems with low numbers of tasks (generally < number of virtual CPUs) can be significantly worse than the exact same workloads when running in non-HT mode. The reason is largely due to poor scheduling behaviour. This patch improves the situation, making the performance gap far less significant on one problematic test case (tbench). Signed-off-by: Nick Piggin Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e17224bf1d01b461ec02a60f5a9b7657a89bdd23 Author: Nick Piggin Date: Sat Sep 10 00:26:18 2005 -0700 [PATCH] sched: less locking During periodic load balancing, don't hold this runqueue's lock while scanning remote runqueues, which can take a non trivial amount of time especially on very large systems. Holding the runqueue lock will only help to stabilise ->nr_running, however this doesn't do much to help because tasks being woken will simply get held up on the runqueue lock, so ->nr_running would not provide a really accurate picture of runqueue load in that case anyway. What's more, ->nr_running (and possibly the cpu_load averages) of remote runqueues won't be stable anyway, so load balancing is always an inexact operation. Signed-off-by: Nick Piggin Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d6d5cfaf4551aa7713ca6ab73bb77e832602204b Author: Nick Piggin Date: Sat Sep 10 00:26:16 2005 -0700 [PATCH] sched: less newidle locking Similarly to the earlier change in load_balance, only lock the runqueue in load_balance_newidle if the busiest queue found has a nr_running > 1. This will reduce frequency of expensive remote runqueue lock aquisitions in the schedule() path on some workloads. Signed-off-by: Nick Piggin Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 67f9a619e7460b7d07284a9d0745727a77d3ade6 Author: Ingo Molnar Date: Sat Sep 10 00:26:16 2005 -0700 [PATCH] sched: fix SMT scheduler latency bug William Weston reported unusually high scheduling latencies on his x86 HT box, on the -RT kernel. I managed to reproduce it on my HT box and the latency tracer shows the incident in action: _------=> CPU# / _-----=> irqs-off | / _----=> need-resched || / _---=> hardirq/softirq ||| / _--=> preempt-depth |||| / ||||| delay cmd pid ||||| time | caller \ / ||||| \ | / du-2803 3Dnh2 0us : __trace_start_sched_wakeup (try_to_wake_up) .............................................................. ... we are running on CPU#3, PID 2778 gets woken to CPU#1: ... .............................................................. du-2803 3Dnh2 0us : __trace_start_sched_wakeup <<...>-2778> (73 1) du-2803 3Dnh2 0us : _raw_spin_unlock (try_to_wake_up) ................................................ ... still on CPU#3, we send an IPI to CPU#1: ... ................................................ du-2803 3Dnh1 0us : resched_task (try_to_wake_up) du-2803 3Dnh1 1us : smp_send_reschedule (try_to_wake_up) du-2803 3Dnh1 1us : send_IPI_mask_bitmask (smp_send_reschedule) du-2803 3Dnh1 2us : _raw_spin_unlock_irqrestore (try_to_wake_up) ............................................... ... 1 usec later, the IPI arrives on CPU#1: ... ............................................... -0 1Dnh. 2us : smp_reschedule_interrupt (c0100c5a 0 0) So far so good, this is the normal wakeup/preemption mechanism. But here comes the scheduler anomaly on CPU#1: -0 1Dnh. 2us : preempt_schedule_irq (need_resched) -0 1Dnh. 2us : preempt_schedule_irq (need_resched) -0 1Dnh. 3us : __schedule (preempt_schedule_irq) -0 1Dnh. 3us : profile_hit (__schedule) -0 1Dnh1 3us : sched_clock (__schedule) -0 1Dnh1 4us : _raw_spin_lock_irq (__schedule) -0 1Dnh1 4us : _raw_spin_lock_irqsave (__schedule) -0 1Dnh2 5us : _raw_spin_unlock (__schedule) -0 1Dnh1 5us : preempt_schedule (__schedule) -0 1Dnh1 6us : _raw_spin_lock (__schedule) -0 1Dnh2 6us : find_next_bit (__schedule) -0 1Dnh2 6us : _raw_spin_lock (__schedule) -0 1Dnh3 7us : find_next_bit (__schedule) -0 1Dnh3 7us : find_next_bit (__schedule) -0 1Dnh3 8us : _raw_spin_unlock (__schedule) -0 1Dnh2 8us : preempt_schedule (__schedule) -0 1Dnh2 8us : find_next_bit (__schedule) -0 1Dnh2 9us : trace_stop_sched_switched (__schedule) -0 1Dnh2 9us : _raw_spin_lock (trace_stop_sched_switched) -0 1Dnh3 10us : trace_stop_sched_switched <<...>-2778> (73 8c) -0 1Dnh3 10us : _raw_spin_unlock (trace_stop_sched_switched) -0 1Dnh1 10us : _raw_spin_unlock (__schedule) -0 1Dnh. 11us : local_irq_enable_noresched (preempt_schedule_irq) -0 1Dnh. 11us < (0) we didnt pick up pid 2778! It only gets scheduled much later: <...>-2778 1Dnh2 412us : __switch_to (__schedule) <...>-2778 1Dnh2 413us : __schedule <-0> (8c 73) <...>-2778 1Dnh2 413us : _raw_spin_unlock (__schedule) <...>-2778 1Dnh1 413us : trace_stop_sched_switched (__schedule) <...>-2778 1Dnh1 414us : _raw_spin_lock (trace_stop_sched_switched) <...>-2778 1Dnh2 414us : trace_stop_sched_switched <<...>-2778> (73 1) <...>-2778 1Dnh2 414us : _raw_spin_unlock (trace_stop_sched_switched) <...>-2778 1Dnh1 415us : trace_stop_sched_switched (__schedule) the reason for this anomaly is the following code in dependent_sleeper(): /* * If a user task with lower static priority than the * running task on the SMT sibling is trying to schedule, * delay it till there is proportionately less timeslice * left of the sibling task to prevent a lower priority * task from using an unfair proportion of the * physical cpu's resources. -ck */ [...] if (((smt_curr->time_slice * (100 - sd->per_cpu_gain) / 100) > task_timeslice(p))) ret = 1; Note that in contrast to the comment above, we dont actually do the check based on static priority, we do the check based on timeslices. But timeslices go up and down, and even highprio tasks can randomly have very low timeslices (just before their next refill) and can thus be judged as 'lowprio' by the above piece of code. This condition is clearly buggy. The correct test is to check for static_prio _and_ to check for the preemption priority. Even on different static priority levels, a higher-prio interactive task should not be delayed due to a higher-static-prio CPU hog. There is a symmetric bug in the 'kick SMT sibling' code of this function as well, which can be solved in a similar way. The patch below (against the current scheduler queue in -mm) fixes both bugs. I have build and boot-tested this on x86 SMT, and nice +20 tasks still get properly throttled - so the dependent-sleeper logic is still in action. btw., these bugs pessimised the SMT scheduler because the 'delay wakeup' property was applied too liberally, so this fix is likely a throughput improvement as well. I separated out a smt_slice() function to make the code easier to read. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d79fc0fc6645b0cf5cd980da76942ca6d6300fa4 Author: Ingo Molnar Date: Sat Sep 10 00:26:12 2005 -0700 [PATCH] sched: TASK_NONINTERACTIVE This patch implements a task state bit (TASK_NONINTERACTIVE), which can be used by blocking points to mark the task's wait as "non-interactive". This does not mean the task will be considered a CPU-hog - the wait will simply not have an effect on the waiting task's priority - positive or negative alike. Right now only pipe_wait() will make use of it, because it's a common source of not-so-interactive waits (kernel compilation jobs, etc.). Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 95cdf3b799a481969a48d69a1a52916ad5da6694 Author: Ingo Molnar Date: Sat Sep 10 00:26:11 2005 -0700 [PATCH] sched cleanups whitespace cleanups. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit da5a5522709a030da91932d4d4c2b179a481a8c0 Author: M.Baris Demiray Date: Sat Sep 10 00:26:09 2005 -0700 [PATCH] sched: make idlest_group/cpu cpus_allowed-aware Add relevant checks into find_idlest_group() and find_idlest_cpu() to make them return only the groups that have allowed CPUs and allowed CPUs respectively. Signed-off-by: M.Baris Demiray Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fc38ed7531eefa332c8c69ee288487860cd6b426 Author: Con Kolivas Date: Sat Sep 10 00:26:08 2005 -0700 [PATCH] sched: run SCHED_NORMAL tasks with real time tasks on SMT siblings The hyperthread aware nice handling currently puts to sleep any non real time task when a real time task is running on its sibling cpu. This can lead to prolonged starvation by having the non real time task pegged to the cpu with load balancing not pulling that task away. Currently we force lower priority hyperthread tasks to run a percentage of time difference based on timeslice differences which is meaningless when comparing real time tasks to SCHED_NORMAL tasks. We can allow non real time tasks to run with real time tasks on the sibling up to per_cpu_gain% if we use jiffies as a counter. Cleanups and micro-optimisations to the relevant code section should make it more understandable as well. Signed-off-by: Con Kolivas Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a7482a2e7775d163aecd8c95af7bb1b8c83890cc Author: Paul Fulghum Date: Sat Sep 10 00:26:07 2005 -0700 [PATCH] synclink_cs add statistics clear Add ability to clear statistics. Signed-off-by: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4247bdc60048018b98f71228b45cfbc5f5270c86 Author: Paul Jackson Date: Sat Sep 10 00:26:06 2005 -0700 [PATCH] cpuset semaphore depth check deadlock fix The cpusets-formalize-intermediate-gfp_kernel-containment patch has a deadlock problem. This patch was part of a set of four patches to make more extensive use of the cpuset 'mem_exclusive' attribute to manage kernel GFP_KERNEL memory allocations and to constrain the out-of-memory (oom) killer. A task that is changing cpusets in particular ways on a system when it is very short of free memory could double trip over the global cpuset_sem semaphore (get the lock and then deadlock trying to get it again). The second attempt to get cpuset_sem would be in the routine cpuset_zone_allowed(). This was discovered by code inspection. I can not reproduce the problem except with an artifically hacked kernel and a specialized stress test. In real life you cannot hit this unless you are manipulating cpusets, and are very unlikely to hit it unless you are rapidly modifying cpusets on a memory tight system. Even then it would be a rare occurence. If you did hit it, the task double tripping over cpuset_sem would deadlock in the kernel, and any other task also trying to manipulate cpusets would deadlock there too, on cpuset_sem. Your batch manager would be wedged solid (if it was cpuset savvy), but classic Unix shells and utilities would work well enough to reboot the system. The unusual condition that led to this bug is that unlike most semaphores, cpuset_sem _can_ be acquired while in the page allocation code, when __alloc_pages() calls cpuset_zone_allowed. So it easy to mistakenly perform the following sequence: 1) task makes system call to alter a cpuset 2) take cpuset_sem 3) try to allocate memory 4) memory allocator, via cpuset_zone_allowed, trys to take cpuset_sem 5) deadlock The reason that this is not a serious bug for most users is that almost all calls to allocate memory don't require taking cpuset_sem. Only some code paths off the beaten track require taking cpuset_sem -- which is good. Taking a global semaphore on the main code path for allocating memory would not scale well. This patch fixes this deadlock by wrapping the up() and down() calls on cpuset_sem in kernel/cpuset.c with code that tracks the nesting depth of the current task on that semaphore, and only does the real down() if the task doesn't hold the lock already, and only does the real up() if the nesting depth (number of unmatched downs) is exactly one. The previous required use of refresh_mems(), anytime that the cpuset_sem semaphore was acquired and the code executed while holding that semaphore might try to allocate memory, is no longer required. Two refresh_mems() calls were removed thanks to this. This is a good change, as failing to get all the necessary refresh_mems() calls placed was a primary source of bugs in this cpuset code. The only remaining call to refresh_mems() is made while doing a memory allocation, if certain task memory placement data needs to be updated from its cpuset, due to the cpuset having been changed behind the tasks back. Signed-off-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fb1c8f93d869b34cacb8b8932e2b83d96a19d720 Author: Ingo Molnar Date: Sat Sep 10 00:25:56 2005 -0700 [PATCH] spinlock consolidation This patch (written by me and also containing many suggestions of Arjan van de Ven) does a major cleanup of the spinlock code. It does the following things: - consolidates and enhances the spinlock/rwlock debugging code - simplifies the asm/spinlock.h files - encapsulates the raw spinlock type and moves generic spinlock features (such as ->break_lock) into the generic code. - cleans up the spinlock code hierarchy to get rid of the spaghetti. Most notably there's now only a single variant of the debugging code, located in lib/spinlock_debug.c. (previously we had one SMP debugging variant per architecture, plus a separate generic one for UP builds) Also, i've enhanced the rwlock debugging facility, it will now track write-owners. There is new spinlock-owner/CPU-tracking on SMP builds too. All locks have lockup detection now, which will work for both soft and hard spin/rwlock lockups. The arch-level include files now only contain the minimally necessary subset of the spinlock code - all the rest that can be generalized now lives in the generic headers: include/asm-i386/spinlock_types.h | 16 include/asm-x86_64/spinlock_types.h | 16 I have also split up the various spinlock variants into separate files, making it easier to see which does what. The new layout is: SMP | UP ----------------------------|----------------------------------- asm/spinlock_types_smp.h | linux/spinlock_types_up.h linux/spinlock_types.h | linux/spinlock_types.h asm/spinlock_smp.h | linux/spinlock_up.h linux/spinlock_api_smp.h | linux/spinlock_api_up.h linux/spinlock.h | linux/spinlock.h /* * here's the role of the various spinlock/rwlock related include files: * * on SMP builds: * * asm/spinlock_types.h: contains the raw_spinlock_t/raw_rwlock_t and the * initializers * * linux/spinlock_types.h: * defines the generic type and initializers * * asm/spinlock.h: contains the __raw_spin_*()/etc. lowlevel * implementations, mostly inline assembly code * * (also included on UP-debug builds:) * * linux/spinlock_api_smp.h: * contains the prototypes for the _spin_*() APIs. * * linux/spinlock.h: builds the final spin_*() APIs. * * on UP builds: * * linux/spinlock_type_up.h: * contains the generic, simplified UP spinlock type. * (which is an empty structure on non-debug builds) * * linux/spinlock_types.h: * defines the generic type and initializers * * linux/spinlock_up.h: * contains the __raw_spin_*()/etc. version of UP * builds. (which are NOPs on non-debug, non-preempt * builds) * * (included on UP-non-debug builds:) * * linux/spinlock_api_up.h: * builds the _spin_*() APIs. * * linux/spinlock.h: builds the final spin_*() APIs. */ All SMP and UP architectures are converted by this patch. arm, i386, ia64, ppc, ppc64, s390/s390x, x64 was build-tested via crosscompilers. m32r, mips, sh, sparc, have not been tested yet, but should be mostly fine. From: Grant Grundler Booted and lightly tested on a500-44 (64-bit, SMP kernel, dual CPU). Builds 32-bit SMP kernel (not booted or tested). I did not try to build non-SMP kernels. That should be trivial to fix up later if necessary. I converted bit ops atomic_hash lock to raw_spinlock_t. Doing so avoids some ugly nesting of linux/*.h and asm/*.h files. Those particular locks are well tested and contained entirely inside arch specific code. I do NOT expect any new issues to arise with them. If someone does ever need to use debug/metrics with them, then they will need to unravel this hairball between spinlocks, atomic ops, and bit ops that exist only because parisc has exactly one atomic instruction: LDCW (load and clear word). From: "Luck, Tony" ia64 fix Signed-off-by: Ingo Molnar Signed-off-by: Arjan van de Ven Signed-off-by: Grant Grundler Cc: Matthew Wilcox Signed-off-by: Hirokazu Takata Signed-off-by: Mikael Pettersson Signed-off-by: Benoit Boissinot Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4327edf6b8a7ac7dce144313947995538842d8fd Author: Alan Cox Date: Sat Sep 10 00:25:49 2005 -0700 [PATCH] Subject: PATCH: fix numa caused compile warnings pcibus_to_cpumask expands into more than just an initialiser so gcc moans about code before variable declarations. Signed-off-by: Alan Cox Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b4012a9895b3e28e3bff3aa534d58c7827af6d4f Author: Andrew Morton Date: Sat Sep 10 00:25:47 2005 -0700 [PATCH] ntfs build fix *** Warning: "bit_spin_lock" [fs/ntfs/ntfs.ko] undefined! *** Warning: "bit_spin_unlock" [fs/ntfs/ntfs.ko] undefined! Cc: Anton Altaparmakov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d39969deee4b541be4ee5789a2e4c14511c886e2 Author: Dmitry Torokhov Date: Sat Sep 10 12:04:42 2005 -0500 Input: i8042 - use kzalloc instead of kcalloc Signed-off-by: Dmitry Torokhov commit fe1e86049813641a518d15adf7191bd711b4f611 Author: Dmitry Torokhov Date: Sat Sep 10 12:03:38 2005 -0500 Input: clean up whitespace and formatting in drivers/char/keyboard.c Signed-off-by: Dmitry Torokhov commit b70d37bf61f278f9d9adf17c52af6b2d0ae7800c Author: Alan Stern Date: Tue Jul 26 10:30:40 2005 -0400 [SCSI] Fix module removal/device add race This patch (as546) fixes an oops-causing failure to check the return code from scsi_device_get. The call can return an error if the LLD is being unloaded from memory. Signed-off-by: Alan Stern Signed-off-by: James Bottomley commit f631b4be76355dc3bf49563c706a9fb938993bde Author: Andrew Vasquez Date: Wed Aug 31 15:23:12 2005 -0700 [SCSI] lpfc: use wwn_to_u64() transport helper Signed-off-by: Andrew Vasquez Acked-by: Smart, James Signed-off-by: James Bottomley commit f8b02a85ebbf5eed63163ca9ed915bf8c47309c5 Author: Andrew Vasquez Date: Wed Aug 31 15:21:20 2005 -0700 [SCSI] qla2xxx: use wwn_to_u64() transport helper Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit 218fba0004390b0101e681f6db1b8920c1109e54 Author: Andrew Vasquez Date: Wed Aug 31 15:18:35 2005 -0700 [SCSI] fc_transport: Generalize WWN to u64 interger conversions. On some platforms the hard-casting of 8 byte node_name and port_name arrays to an u64 would cause unaligned-access warnings. Generalize the conversions with a transport helper function which performs consistent shifting of WWN bytes. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley commit caba0233bc85ec311159a35f138d957d05cf2fe8 Author: Roland McGrath Date: Sat Sep 3 13:57:15 2005 -0700 [PATCH] kbuild: ignore all debugging info sections in scripts/reference_discarded.pl GCC 4 emits more DWARF debugging information than before and there is now a .debug_loc section as well. This causes "make buildcheck" to fail. Rather than just add that one to the special case list, I used a regexp to ignore any .debug_ANYTHING sections in case more show up in the future. Signed-off-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Sam Ravnborg commit cd05e6bdc6001ac6e8ab13720693b7e1302d9848 Author: Jan Beulich Date: Tue Sep 6 11:47:04 2005 +0200 [PATCH] kbuild: fix split-include dependency Splitting of autoconf.h requires that split-include was built before, and needs to be-re-done when split-include changes. This dependency was previously missing. Additionally, since autoconf.h is (suppoosed to be) generated as a side effect of executing config targets, include/linux should be created prior to running the respective sub-make. Signed-off-by: Jan Beulich Signed-off-by: Sam Ravnborg commit 4e25d8bb9550fb5912165196fe8502cdb831a336 Author: Jan Beulich Date: Thu Sep 8 17:07:35 2005 +0200 [PATCH] kbuild: adjust .version updating In order to maintain a more correct build number, updates to the version number should only be commited after a successful link of vmlinux, not before (so that errors in the link process don't lead to pointless increments). Signed-off-by: Jan Beulich Signed-off-by: Sam Ravnborg commit 7b49bb9aff8b14d15da58111d8908c877c0a525e Author: viro@ZenIV.linux.org.uk Date: Fri Sep 9 21:14:35 2005 +0100 [PATCH] kbuild: CF= passes arguments to sparse Allows to add to sparse arguments without mutilating makefiles - just pass CF= and they will be added to CHECKFLAGS. Signed-off-by: Al Viro Signed-off-by: Sam Ravnborg commit 6d12884259ac65f74538b7819f5fadf4ebb0d569 Author: Zach Brown Date: Wed Sep 7 12:08:23 2005 -0700 [PATCH] kbuild: add kernelrelease to 'make help' Dunno if there was a conscious decision to leave it out, but if you're happy with adding some help text for it here's a patch against 2.6.13-mm1.. Signed-off-by: Sam Ravnborg commit c4a72cbdb39fd559988b16d118f7e5782935ff11 Author: Russell King Date: Sat Sep 10 11:58:21 2005 +0100 [MMC] Add mmc_detect_change() delay support for wbsd driver Convert wbsd to use the new delay functionality in mmc_detect_change() rather than implementing its own timer. Signed-off-by: Russell King commit e6df439b89dbf9eb977c2dc6f7b0644be3704df4 Author: Brian Haley Date: Sat Sep 10 00:15:06 2005 -0700 [IPV6]: Bring Type 0 routing header in-line with rfc3542. Signed-off-by: Brian Haley Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller commit 1b205c2d2464bfecbba80227e74b412596dc5521 Author: Roland Dreier Date: Fri Sep 9 20:52:00 2005 -0700 [PATCH] IB: fix CM use-after-free If the CM REQ handling function gets to error2, then it frees cm_id_priv->timewait_info. But the next line goes through ib_destroy_cm_id() -> ib_send_cm_rej() -> cm_reset_to_idle(), which ends up calling cm_cleanup_timewait(), which dereferences the pointer we just freed. Make sure we clear cm_id_priv->timewait_info after freeing it, so that doesn't happen. Signed-off-by: Roland Dreier commit dd27466df9924706ae34639ce3f4f837875d45c1 Author: YOSHIFUJI Hideaki Date: Sat Sep 10 11:32:45 2005 +0900 [IPV6]: Note values allocated for ip6_tables. To avoid future conflicts, add a note values allocated for ip6_tables. Signed-off-by: YOSHIFUJI Hideaki commit 9928890c1f94da58bf753ede937b7324f6832866 Author: YOSHIFUJI Hideaki Date: Sat Sep 10 11:26:34 2005 +0900 [IPV6]: rearrange constants for new advanced API to solve conflicts. 64, 65 are already used in ip6_tables. Pointed out by Patrick McHardy . Signed-off-by: YOSHIFUJI Hideaki commit 354ba39cf96e439149541acf3c6c7c0df0a3ef25 Author: John Kingman Date: Fri Sep 9 18:23:32 2005 -0700 [PATCH] IB CM: support CM redir Changes to CM to support CM and port redirection (REJ reason 24). Signed-off-by: John Kingman storagegear.com> Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier commit 37be6eeb4990c05fc7dd683ceaf1501d46ebe9a4 Author: James Bottomley Date: Fri Sep 9 18:38:27 2005 -0500 [SCSI] SAS transport class: fixup prototype of sas_host_setup Signed-off-by: James Bottomley commit 87fc767b832ef5a681a0ff9d203c3289bc3be2bf Author: NeilBrown Date: Fri Sep 9 16:24:04 2005 -0700 [PATCH] md: fix BUG when raid10 rebuilds without enough drives This shouldn't be a BUG. We should cope. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d508242b231cb6e6803faaef54456abe846edb8 Author: NeilBrown Date: Fri Sep 9 16:24:03 2005 -0700 [PATCH] md: fix raid10 assembly when too many devices are missing If you try to assemble an array with too many missing devices, raid10 will now reject the attempt, instead of allowing it. Also check when hot-adding a drive and refuse the hot-add if the array is beyond hope. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 611815651b2640449bda928079160b9263efac1c Author: NeilBrown Date: Fri Sep 9 16:24:02 2005 -0700 [PATCH] md: really get sb_size setting right in all cases There was another case where sb_size wasn't being set, so instead do the sensible thing and set if when filling in the content of a superblock. That ensures that whenever we write a superblock, the sb_size MUST be set. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 188c18fd7982d220f4dea234cbb5cc6c75d0f512 Author: NeilBrown Date: Fri Sep 9 16:24:01 2005 -0700 [PATCH] md: make sure the new 'sb_size' is set properly device added without pre-existing superblock. There are two ways to add devices to an md/raid array. It can have superblock written to it, and then given to the md driver, which will read the superblock (the new way) or md can be told (through SET_ARRAY_INFO) the shape of the array, and the told about individual drives, and md will create the required superblock (the old way). The newly introduced sb_size was only set for drives being added the new way, not the old ways. Oops :-( Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b325a32e5732d7aef70ca3c58acb3953ed20f66c Author: NeilBrown Date: Fri Sep 9 16:24:00 2005 -0700 [PATCH] md: report spare drives in /proc/mdstat Just like failed drives have (F), so spare drives now have (S). Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1cd6bf19bbe8098153d7a478d8fc551edbea9305 Author: NeilBrown Date: Fri Sep 9 16:24:00 2005 -0700 [PATCH] md: add information about superblock version to /proc/mdstat Leave it unchanged if the original (0.90) is used, incase it might be a compatability problem. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 720a3dc39b030e273bc955641f2517874fd38fc5 Author: NeilBrown Date: Fri Sep 9 16:23:59 2005 -0700 [PATCH] md: use queue_hardsect_size instead of block_size for md superblock size calc. Doh. I want the physical hard-sector-size, not the current block size... Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53e87fbb5dc887766229eef3ba8bd8ab8853b066 Author: NeilBrown Date: Fri Sep 9 16:23:58 2005 -0700 [PATCH] md: choose better default offset for bitmap. On reflection, a better default location for hot-adding bitmaps with version-1 superblocks is immediately after the superblock. There might not be much room there, but there is usually atleast 3k, and that is a good start. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 500af87abb81098da47474c81f29ea315a056dc5 Author: NeilBrown Date: Fri Sep 9 16:23:58 2005 -0700 [PATCH] md: tidy up daemon stop/start code in md/bitmap.c The bitmap code used to have two daemons, so there is some 'common' start/stop code. But now there is only one, so the common code is just noise. This patch tidies this up somewhat. Signed-off-by: Neil Brown Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9ba00538ada7ecb4fb8bd71ba734a8eada987817 Author: NeilBrown Date: Fri Sep 9 16:23:57 2005 -0700 [PATCH] md: ensure bitmap_writeback_daemon handles shutdown properly. mddev->bitmap gets clearred before the writeback daemon is stopped. So the write_back daemon needs to be careful not to dereference the 'bitmap' if it is NULL. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a6fb0934f923f889055152cb0b033674f627460b Author: NeilBrown Date: Fri Sep 9 16:23:56 2005 -0700 [PATCH] md: use kthread infrastructure in md Switch MD to use the kthread infrastructure, to simplify the code and get rid of tasklist_lock abuse in md_unregister_thread. Also don't flush signals in md_thread, as the called thread will always do that. Signed-off-by: Christoph Hellwig Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 934ce7c840992a771ffc478b132092db9c935c42 Author: NeilBrown Date: Fri Sep 9 16:23:55 2005 -0700 [PATCH] md: write-intent bitmap support for raid6 This is a direct port of the raid5 patch. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 72626685dc66d455742a7f215a0535c551628b9e Author: NeilBrown Date: Fri Sep 9 16:23:54 2005 -0700 [PATCH] md: add write-intent-bitmap support to raid5 Most awkward part of this is delaying write requests until bitmap updates have been flushed. To achieve this, we have a sequence number (seq_flush) which is incremented each time the raid5 is unplugged. If the raid thread notices that this has changed, it flushes bitmap changes, and assigned the value of seq_flush to seq_write. When a write request arrives, it is given the number from seq_write, and that write request may not complete until seq_flush is larger than the saved seq number. We have a new queue for storing stripes which are waiting for a bitmap flush and an extra flag for stripes to record if the write was 'degraded' and so should not clear the a bit in the bitmap. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0002b2718dd04da67c21f8a7830de8d95a9b0345 Author: NeilBrown Date: Fri Sep 9 16:23:53 2005 -0700 [PATCH] md: limit size of sb read/written to appropriate amount version-1 superblocks are not (normally) 4K long, and can be of variable size. Writing the full 4K can cause corruption (but only in non-default configurations). With this patch the super-block-flavour can choose a size to read, and set a size to write based on what it finds. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 773f7834425e83144c95fbbc553ced3c2b74b828 Author: NeilBrown Date: Fri Sep 9 16:23:53 2005 -0700 [PATCH] md: remove old cruft from md_k.h header file These inlines haven't been used for ages, they should go. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ab904d634625ef8dc590240b7ee06c7b724e636b Author: NeilBrown Date: Fri Sep 9 16:23:52 2005 -0700 [PATCH] md: fix bitmap/read_sb_page so that it handles errors properly. read_sb_page() assumed that if sync_page_io fails, the device would be marked faultly. However it isn't. So in the face of error, read_sb_page would loop forever. Redo the logic so that this cannot happen. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 71c0805cb48462c99fbe0e5fcc6c12d7b9929c09 Author: NeilBrown Date: Fri Sep 9 16:23:51 2005 -0700 [PATCH] md: allow md to load a superblock with feature-bit '1' set As this is used to flag an internal bitmap. Also, introduce symbolic names for feature bits. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7b1e35f6d666693e8f376ce02242efca3ec09aaf Author: NeilBrown Date: Fri Sep 9 16:23:50 2005 -0700 [PATCH] md: allow hot-adding devices to arrays with non-persistant superblocks. It is possibly (and occasionally useful) to have a raid1 without persistent superblocks. The code in add_new_disk for adding a device to such an array always tries to read a superblock. This will obviously fail. So do the appropriate test and call md_import_device with appropriate args. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3178b0dbdf67322f6506582e494bdf553cc85c32 Author: NeilBrown Date: Fri Sep 9 16:23:50 2005 -0700 [PATCH] md: do not set mddev->bitmap until bitmap is fully initialised When hot-adding a bitmap, bitmap_daemon_work could get called while the bitmap is being created, so don't set mddev->bitmap until the bitmap is ready. This requires freeing the bitmap inside bitmap_create if creation failed part-way through. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 585f0dd5a955c420ff3af5193aa07d6f789bf81a Author: NeilBrown Date: Fri Sep 9 16:23:49 2005 -0700 [PATCH] md: make sure bitmap_daemon_work actually does work. The 'lastrun' time wasn't being initialised, so it could be half a jiffie-cycle before it seemed to be time to do work again. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9e6603da9b9cfb14a6aca3845227f8c59f7eeb9b Author: NeilBrown Date: Fri Sep 9 16:23:48 2005 -0700 [PATCH] md: raid1_quiesce is back to front, fix it. A state of 0 mean 'not quiesced' A state of 1 means 'is quiesced' The original code got this wrong. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 15945fee6f09bff1f86b1a735b5888dc59cf38e3 Author: NeilBrown Date: Fri Sep 9 16:23:47 2005 -0700 [PATCH] md: support md/linear array with components greater than 2 terabytes. linear currently uses division by the size of the smallest componenet device to find which device a request goes to. If that smallest device is larger than 2 terabytes, then the division will not work on some systems. So we introduce a pre-shift, and take care not to make the hash table too large, much like the code in raid0. Also get rid of conf->nr_zones, which is not needed. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b6d287f627b5fb6a49f78f9e81649ff98c62bb7 Author: NeilBrown Date: Fri Sep 9 16:23:47 2005 -0700 [PATCH] md: add write-behind support for md/raid1 If a device is flagged 'WriteMostly' and the array has a bitmap, and the bitmap superblock indicates that write_behind is allowed, then write_behind is enabled for WriteMostly devices. Write requests will be acknowledges as complete to the caller (via b_end_io) when all non-WriteMostly devices have completed the write, but will not be cleared from the bitmap until all devices complete. This requires memory allocation to make a local copy of the data being written. If there is insufficient memory, then we fall-back on normal write semantics. Signed-Off-By: Paul Clements Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8ddf9efe6708f3674f0ddfeb6425fd27bea109a2 Author: NeilBrown Date: Fri Sep 9 16:23:45 2005 -0700 [PATCH] md: support write-mostly device in raid1 This allows a device in a raid1 to be marked as "write mostly". Read requests will only be sent if there is no other option. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 36fa30636fb84b209210299684e1be66d9e58217 Author: NeilBrown Date: Fri Sep 9 16:23:45 2005 -0700 [PATCH] md: all hot-add and hot-remove of md intent logging bitmaps Both file-bitmaps and superblock bitmaps are supported. If you add a bitmap file on the array device, you lose. This introduces a 'default_bitmap_offset' field in mddev, as the ioctl used for adding a superblock bitmap doesn't have room for giving an offset. Later, this value will be setable via sysfs. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a07997fc34ac15a1c5dc650285d79b7604a2276 Author: NeilBrown Date: Fri Sep 9 16:23:44 2005 -0700 [PATCH] md: improve handling of bitmap initialisation. When we find a 'stale' bitmap, possibly because it is new, we should just assume every bit needs to be set, but rather base the setting of bits on the current state of the array (degraded and recovery_cp). Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1923b99a0f4748aa6be0b9b9523ce224a3449b17 Author: NeilBrown Date: Fri Sep 9 16:23:43 2005 -0700 [PATCH] md: don't allow new md/bitmap file to be set if one already exists ... otherwise we loose a reference and can never free the file. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 844e8d904a7c1446e3f040683b4a0645c3eb168f Author: Jun'ichi Nomura Date: Fri Sep 9 16:23:42 2005 -0700 [PATCH] dm: fix rh_dec()/rh_inc() race in dm-raid1.c Fix another bug in dm-raid1.c that the dirty region may stay in or be moved to clean list and freed while in use. It happens as follows: CPU0 CPU1 ------------------------------------------------------------------------------ rh_dec() if (atomic_dec_and_test(pending)) rh_inc() if the region is clean mark the region dirty and remove from clean list mark the region clean and move to clean list atomic_inc(pending) At this stage, the region is in clean list and will be mistakenly reclaimed by rh_update_states() later. Signed-off-by: Jun'ichi Nomura Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e5dcdd80a60627371f40797426273048630dc8ca Author: NeilBrown Date: Fri Sep 9 16:23:41 2005 -0700 [PATCH] md: fail IO request to md that require a barrier. md does not yet support BIO_RW_BARRIER, so be honest about it and fail (-EOPNOTSUPP) any such requests. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ec67ac1a399d576d48b0736096bcce7721fe3cf Author: NeilBrown Date: Fri Sep 9 16:23:40 2005 -0700 [PATCH] md: fix minor error in raid10 read-balancing calculation. 'this_sector' is a virtual (array) address while 'head_position' is a physical (device) address, so substraction doesn't make any sense. devs[slot].addr should be used instead of this_sector. However, this patch doesn't make much practical different to the read balancing due to the effects of later code. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d327d082325a0d4afb3748ef8b59e734e57cfe4c Author: adam radford Date: Fri Sep 9 15:55:13 2005 -0700 [SCSI] 3ware 9000: handle use_sg != 0 for emulated commands The attached patch updates the driver for the 3ware 9000 series to do the following: - Correctly handle single sgl's with use_sg = 1. This is needed with the latest scsi-block-2.6 merge otherwise the 3w-9xxx driver will not work. I tested the patch James sent a few weeks back to fix this, and it had a bug where the request_buffer was accessed in twa_scsiop_execute_scsi_complete() when it was invalid. This is a corrected variation of that patch. Signed-off-by: Adam Radford Signed-off-by: James Bottomley commit 59d203f9e989c81defc2cb1c559d678e16dbe684 Author: Arnaldo Carvalho de Melo Date: Fri Sep 9 20:01:25 2005 -0300 [CCID3] Cleanup ccid3 debug calls Also use some BUG_ON where appropriate and use LIMIT_NETDEBUG for the unlikely cases where we, at this stage, want to know about, that in my tests hasn't appeared in the radar. Signed-off-by: Arnaldo Carvalho de Melo commit dc19336c76d213fd9ae7b6a352e837f509418012 Author: Arnaldo Carvalho de Melo Date: Fri Sep 9 19:59:26 2005 -0300 [DCCP] Only call the HC _exit() routines in dccp_v4_destroy_sock Signed-off-by: Arnaldo Carvalho de Melo commit d7e0fb985cb033e605c3167ff183b5e98b7f7644 Author: Arnaldo Carvalho de Melo Date: Fri Sep 9 19:58:18 2005 -0300 [CCID3] Initialize ccid3hctx_t_ipi to 250ms To match more closely what is described in RFC 3448. Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Ian McDonald commit 63aaf647529e8a56bdf31fd8f2979d4371c6a332 Author: Roland Dreier Date: Fri Sep 9 15:55:08 2005 -0700 Make sure that userspace does not retrieve stale asynchronous or completion events after destroying a CQ, QP or SRQ. We do this by sweeping the event lists before returning from a destroy calls, and then return the number of events already reported before the destroy call. This allows userspace wait until it has processed all events for an object returned from the kernel before it frees its context for the object. The ABI of the destroy CQ, destroy QP and destroy SRQ commands has to change to return the event count, so bump the ABI version from 1 to 2. The userspace libibverbs library has already been updated to handle both the old and new ABI versions. Signed-off-by: Roland Dreier commit 2e9f7cb7869059e55cd91f5e23c6380f3763db56 Author: Roland Dreier Date: Fri Sep 9 15:45:57 2005 -0700 [PATCH] IB: Add struct for ClassPortInfo Add structure definition for ClassPortInfo format. This is needed for (at least) handling CM redirects. Signed-off-by: Roland Dreier commit 9c8550ee25e26d14a8f0fe1b761a676e23fe3cf0 Author: Linus Torvalds Date: Fri Sep 9 15:43:46 2005 -0700 Remove "must_check" attributes in PCI-land Don't just irritate all other kernel developers. Fix the users first, then you can re-introduce the must-check infrastructure to avoid new cases creeping in. Signed-off-by: Linus Torvalds commit ac5b8b6f22118620cd1133d9943b1f31dc40a913 Author: Linus Torvalds Date: Fri Sep 9 15:42:34 2005 -0700 Preempt-safe RCU file usage Fix up fs/compat.c fixes. commit f0eca9626c6becb6fc56106b2e4287c6c784af3d Author: Daniel Ritz Date: Fri Sep 9 00:57:14 2005 +0200 [PATCH] Update PCI IOMEM allocation start This fixes the problem with "Averatec 6240 pcmcia_socket0: unable to apply power", which was due to the CardBus IOMEM register region being allocated at an address that was actually inside the RAM window that had been reserved for video frame-buffers in an UMA setup. The BIOS _should_ have marked that region reserved in the e820 memory descriptor tables, but did not. It is fixed by rounding up the default starting address of PCI memory allocations, so that we leave a bigger gap after the final known memory location. The amount of rounding depends on how big the unused memory gap is that we can allocate IOMEM from. Based on example code by Linus. Acked-by: Greg KH Acked-by: Ivan Kokshaysky Signed-off-by: Linus Torvalds commit fbed8eee70cf7e11fbf231afafc0ccb313acc62e Author: Hal Rosenstock Date: Fri Sep 9 15:24:04 2005 -0700 [PATCH] IB: Move SA attributes to ib_sa.h SA: Move SA attributes to ib_sa.h so are accessible to more than sa_query.c. Also, remove deprecated attributes and add one missing one. Signed-off-by: Hal Rosenstock Signed-off-by: Roland Dreier commit a4531edd75522804dd2b268d8ccc5eaa70748011 Author: Linus Torvalds Date: Fri Sep 9 15:10:52 2005 -0700 Fix up lost patch in compat_sys_select() for new RCU files world order Andrew lost this in patch reject resolution, and never noticed, since the compat code isn't in use on x86. Signed-off-by: Linus Torvalds commit c7ebbbce366c02e5657ac6b6059933fe0353b175 Author: Christoph Hellwig Date: Fri Sep 9 16:22:50 2005 +0200 [SCSI] SAS transport class The SAS transport class contains common code to deal with SAS HBAs, an aproximated representation of SAS topologies in the driver model, and various sysfs attributes to expose these topologies and managment interfaces to userspace. In addition to the basic SCSI core objects this transport class introduces two additional intermediate objects: The SAS PHY as represented by struct sas_phy defines an "outgoing" PHY on a SAS HBA or Expander, and the SAS remote PHY represented by struct sas_rphy defines an "incoming" PHY on a SAS Expander or end device. Note that this is purely a software concept, the underlying hardware for a PHY and a remote PHY is the exactly the same. There is no concept of a SAS port in this code, users can see what PHYs form a wide port based on the port_identifier attribute, which is the same for all PHYs in a port. This submission doesn't handle hot-plug addition or removal of SAS devices and thus doesn't do scanning in a workqueue yet, that will be added in phase2 after this submission. In a third phase I will add additional managment infrastructure. I think this submission is ready for 2.6.14, but additional comments are of course very welcome. I'd like to thanks James Smart a lot for his very useful input on the design. Signed-off-by: Christoph Hellwig Signed-off-by: James Bottomley commit 942fc2fb73f2cac53484ebaf1c4f9af7aefaca83 Author: Douglas Gilbert Date: Fri Sep 9 20:07:32 2005 +1000 [SCSI] permit READ DEFECT DATA in block/scsi_ioctl The soon to be released smartmontools 5.34 uses the READ DEFECT DATA command on SCSI disks. A disk that has defect list entries (or worse, an increasing number of them) is at risk. Currently the first invocation of smartctl causes this: scsi: unknown opcode 0x37 message to appear the console and in the log. The READ DEFECT DATA SCSI command does not change the state of a disk. Its opcode (0x37) is valid for SBC devices (e.g. disks) and SMC-2 devices (media changers) where it is called INITIALIZE STATUS ELEMENT WITH RANGE and again doesn't change the external state of the device. Changelog: - mark SCSI opcode 0x37 (READ DEFECT DATA) as safe_for_read Signed-off-by: Douglas Gilbert Acked-by: Jens Axboe Signed-off-by: James Bottomley commit 1c8e71d72026ed4c6ba0fdfd7eebd865f4fd1415 Author: Douglas Gilbert Date: Fri Sep 9 17:18:57 2005 +1000 [SCSI] sg: do not set VM_IO flag on mmap-ed pages Further to the problem discussed in this post: http://marc.theaimsgroup.com/?l=linux-scsi&m=112540053711489&w=2 It seems that the sg driver does not need to set the VM_IO flag on pages that it memory maps to the user space since they are not from the IO space. Ahmed Teirelbar wants the facility and has tested this patch as I have without adverse effects. The oops protection is still important. Some users really did try and use dio transfers from the sg driver to memory mapped IO space (on a video capture card if my memory serves) during the lk 2.4 series. I'm not sure how successful it was but that will now be politely refused in lk 2.6.13+ . Changelog: - set the page flags for sg's reserved buffer mmap-ed to the user space to VM_RESERVED (rather than VM_RESERVED | VM_IO ) Signed-off-by: Douglas Gilbert Signed-off-by: James Bottomley commit 6b7839007098a6b5612d31690e11277d4242e6ae Author: Jean Delvare Date: Tue Sep 6 21:23:25 2005 +0200 [PATCH] I2C: i2c-nforce2: drop unused define One more cleanup in i2c-nforce2. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 2251cf1a4b37bd483501614c2d78f5b8286f20d7 Author: Jean Delvare Date: Sun Sep 4 22:52:17 2005 +0200 [PATCH] hwmon: w83627hf: no reset by default Make the reset of the chips in w83627hf optional rather than the default. This reset has been causing trouble several times already. It may even go completely away unless it proves to be useful to at least one user. Closes bug #5168: http://bugzilla.kernel.org/show_bug.cgi?id=5168 Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 0db9714a0ca2a1a36721a2e90fbfcbdf3d5ff117 Author: Jean Delvare Date: Tue Sep 6 21:21:54 2005 +0200 [PATCH] hwmon: Update smsc47m1 head comment Update the head comment of the smsc47m1 driver to mention all the supported devices. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit b51f64c0de0355338480093abb35d5232f6d349a Author: Jean Delvare Date: Thu Sep 8 22:42:36 2005 +0200 [PATCH] hwmon: fix sis5595, via686a force_addr module parameter Recent changes to the i2c-isa design broke the force_addr parameter of two hardware monitoring drivers as a side effect: sis5595 and via686a. The last address test was in fact useless beforehand, and the redesign turned it into a bug. I'm sorry about that. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman commit 788ce43aa1ad7158f894b6bb3df8ba2f63794c20 Author: James Bottomley Date: Fri Sep 9 13:40:23 2005 -0500 [SCSI] SCSI core: fix leakage of scsi_cmnd's Actually, just one problem and one cosmetic fix: 1) We need to dequeue for the loop and kill case (it seems easiest simply to dequeue in the scsi_kill_request() routine) 2) There's no real need to drop the queue lock. __scsi_done() is lock agnostic, so since there's no requirement, let's just leave it in to avoid any locking issues. Signed-off-by: James Bottomley commit d99901d6fdfb4098b9996de89ffbbae890e08288 Author: Kirill Korotaev Date: Fri Sep 9 13:59:48 2005 +0400 [PATCH] Lost sockfd_put() in routing_ioctl() This patch adds lost sockfd_put() in 32bit compat rounting_ioctl() on 64bit platforms Signed-Off-By: Kirill Korotaev Signed-Off-By: Maxim Giryaev Signed-off-By: Linus Torvalds commit 20dd026d7f5a6972dc78b4928a99620001fa547d Author: Christophe Lucas Date: Thu Sep 8 08:55:53 2005 +0200 [PATCH] printk : Documentation/firmware_class/firmware_sample_driver.c printk() calls should include appropriate KERN_* constant. Signed-off-by: Christophe Lucas Signed-off-by: Greg Kroah-Hartman commit 49a1fd60d2a8e671222515cf6055e91781278517 Author: Ed L Cashin Date: Fri Aug 19 17:05:21 2005 -0400 [PATCH] aoe [2/2]: update driver version number to twelve Update driver version number to twelve. Signed-off-by: Ed L. Cashin Signed-off-by: Greg Kroah-Hartman commit e39526e6e7a96904c9f1c85375d49ff437c18c44 Author: Ed L Cashin Date: Fri Aug 19 16:54:43 2005 -0400 [PATCH] aoe [1/2]: support 16 AoE slot addresses per AoE shelf Change the number of supported AoE slot addresses per AoE shelf address to 16. Signed-off-by: Ed L. Cashin Signed-off-by: Greg Kroah-Hartman commit 860e1d6b46bd4cbc67d8d065f0f682143513382f Author: Robert Love Date: Wed Aug 31 23:57:59 2005 -0400 [PATCH] updated hdaps driver. Driver for the IBM Hard Drive Active Protection System (HDAPS), an accelerometer found in most modern ThinkPads. Signed-off-by: Robert Love Signed-off-by: Greg Kroah-Hartman commit 35311d6478077f7bfe35c1c653193e658bf32686 Author: Kirill Korotaev Date: Fri Sep 9 13:05:53 2005 -0700 [PATCH] lost fput in 32bit ioctl on x86-64 This adds a lost fput in 32bit tiocgdev ioctl on x86-64 [ chrisw: Updated to use fget_light/fput_light ] Signed-Off-By: Kirill Korotaev Signed-Off-By: Maxim Giryaev Signed-off-by: Chris Wright Signed-off-by: Linus Torvalds commit f64a227b6b5cc1f8cc7f6ef9cc3351343636bac9 Author: Sam Ravnborg Date: Fri Sep 9 23:10:54 2005 +0200 kbuild: um fix so it compile with generic asm-offsets.h support um has it own set of files for asm-offsets. So for now the gen-asm-offset macro is just duplicated in the um Makefile. This may well be the final solution since um is a bit special compared to other architectures - time will tell. Also added a dummy arch/um/kernel/asm-offsets.h file to keep kbuild happy. Signed-off-by: Sam Ravnborg commit b95adac775aad29f79ffbbaf5db0e4d8d57f2714 Author: viro@ZenIV.linux.org.uk Date: Fri Sep 9 21:42:25 2005 +0100 [PATCH] trivial iomem annotations in qla2xxx/qla_dbg.c Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 87162a28acceda05dadf10a8333183f6d2b55265 Author: viro@ZenIV.linux.org.uk Date: Fri Sep 9 20:36:43 2005 +0100 [PATCH] trivial __user annotations (md) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 01703597ead8194b46932ba2bcda897e872e91e0 Author: viro@ZenIV.linux.org.uk Date: Fri Sep 9 20:29:12 2005 +0100 [PATCH] trivial __user annotations (evdev) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 21b29229086bcaf14c02b160c253095f3bb95f99 Author: viro@ZenIV.linux.org.uk Date: Fri Sep 9 20:26:01 2005 +0100 [PATCH] trivial __user cleanup (video1394) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 18fb9442576c79fc2f4bca1fd90c3aa4d1115e97 Author: viro@ZenIV.linux.org.uk Date: Fri Sep 9 20:14:05 2005 +0100 [PATCH] trivial __user annotations (ipmi) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit a9f6a0dd54efea2a5d57a27e6c232f9197c25154 Author: Ingo Molnar Date: Fri Sep 9 13:10:41 2005 -0700 [PATCH] more SPIN_LOCK_UNLOCKED -> DEFINE_SPINLOCK conversions This converts the final 20 DEFINE_SPINLOCK holdouts. (another 580 places are already using DEFINE_SPINLOCK). Build tested on x86. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d06afab73a75f40ae2864e6c296356bab1ab473 Author: Ingo Molnar Date: Fri Sep 9 13:10:40 2005 -0700 [PATCH] timer initialization cleanup: DEFINE_TIMER Clean up timer initialization by introducing DEFINE_TIMER a'la DEFINE_SPINLOCK. Build and boot-tested on x86. A similar patch has been been in the -RT tree for some time. Signed-off-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c352bdf048811b8128019ffc1e886161e09c11c Author: Miklos Szeredi Date: Fri Sep 9 13:10:39 2005 -0700 [PATCH] FUSE: don't allow restarting of system calls This patch removes ability to interrupt and restart operations while there hasn't been any side-effect. The reason: applications. There are some apps it seems that generate signals at a fast rate. This means, that if the operation cannot make enough progress between two signals, it will be restarted for ever. This bug actually manifested itself with 'krusader' trying to open a file for writing under sshfs. Thanks to Eduard Czimbalmos for the report. The problem can be solved just by making open() uninterruptible, because in this case it was the truncate operation that slowed down the progress. But it's better to solve this by simply not allowing interrupts at all (except SIGKILL), because applications don't expect file operations to be interruptible anyway. As an added bonus the code is simplified somewhat. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8254798199332966e2ab647380c990193af7e854 Author: Miklos Szeredi Date: Fri Sep 9 13:10:38 2005 -0700 [PATCH] FUSE: add fsync operation for directories This patch adds a new FSYNCDIR request, which is sent when fsync is called on directories. This operation is available in libfuse 2.3-pre1 or greater. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b36c31ba95f0fe0a03c727300d9c4c54438a5636 Author: Miklos Szeredi Date: Fri Sep 9 13:10:38 2005 -0700 [PATCH] fuse: don't update file times Don't change mtime/ctime/atime to local time on read/write. Rather invalidate file attributes, so next stat() will force a GETATTR call. Bug reported by Ben Grimm. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 45323fb76465a9576220c7427dbac7b1e7ad3caf Author: Miklos Szeredi Date: Fri Sep 9 13:10:37 2005 -0700 [PATCH] fuse: more flexible caching Make data caching behavior selectable on a per-open basis instead of per-mount. Compatibility for the old mount options 'kernel_cache' and 'direct_io' is retained in the userspace library (version 2.4.0-pre1 or later). Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 04730fef1f9c7277e5c730b193e681ac095b0507 Author: Miklos Szeredi Date: Fri Sep 9 13:10:36 2005 -0700 [PATCH] fuse: transfer readdir data through device This patch removes a long lasting "hack" in FUSE, which used a separate channel (a file descriptor refering to a disk-file) to transfer directory contents from userspace to the kernel. The patch adds three new operations (OPENDIR, READDIR, RELEASEDIR), which have semantics and implementation exactly maching the respective file operations (OPEN, READ, RELEASE). This simplifies the directory reading code. Also disk space is not necessary, which can be important in embedded systems. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 413ef8cb302511d8e995e2b0e5517ee1a65b9c77 Author: Miklos Szeredi Date: Fri Sep 9 13:10:35 2005 -0700 [PATCH] FUSE - direct I/O This patch adds support for the "direct_io" mount option of FUSE. When this mount option is specified, the page cache is bypassed for read and write operations. This is useful for example, if the filesystem doesn't know the size of files before reading them, or when any kind of caching is harmful. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5a53368277efa2d80dd2206dddc1f4b19ef0c32a Author: Miklos Szeredi Date: Fri Sep 9 13:10:34 2005 -0700 [PATCH] fuse: stricter mount option checking Check for the presence of all mandatory mount options. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 87729a5514e855ce2c71e3e33833a106b8caf2ae Author: Miklos Szeredi Date: Fri Sep 9 13:10:34 2005 -0700 [PATCH] FUSE: tighten check for processes allowed access This patch tightens the check for allowing processes to access non-privileged mounts. The rational is that the filesystem implementation can control the behavior or get otherwise unavailable information of the filesystem user. If the filesystem user process has the same uid, gid, and is not suid or sgid application, then access is safe. Otherwise access is not allowed unless the "allow_other" mount option is given (for which policy is controlled by the userspace mount utility). Thanks to everyone linux-fsdevel, especially Martin Mares who helped uncover problems with the previous approach. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit db50b96c0f28a21c5a4a19ecaba12d0972aab06a Author: Miklos Szeredi Date: Fri Sep 9 13:10:33 2005 -0700 [PATCH] FUSE - readpages operation This patch adds readpages support to FUSE. With the help of the readpages() operation multiple reads are bundled together and sent as a single request to userspace. This can improve reading performace. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 06663267b4b1e85ece73236ea720355668d4f736 Author: Miklos Szeredi Date: Fri Sep 9 13:10:32 2005 -0700 [PATCH] FUSE: add padding Add padding to structures to make sizes the same on 32bit and 64bit archs. Initial testing and test machine generously provided by Franco Broi. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 92a8780e1136c5ca0c7ed940000d399943d1576e Author: Miklos Szeredi Date: Fri Sep 9 13:10:31 2005 -0700 [PATCH] FUSE - extended attribute operations This patch adds the extended attribute operations to FUSE. The following operations are added: o getxattr o setxattr o listxattr o removexattr Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1e9a4ed9396e9c31139721b639550ffb1df17065 Author: Miklos Szeredi Date: Fri Sep 9 13:10:31 2005 -0700 [PATCH] FUSE - mount options This patch adds miscellaneous mount options to the FUSE filesystem. The following mount options are added: o default_permissions: check permissions with generic_permission() o allow_other: allow other users to access files o allow_root: allow root to access files o kernel_cache: don't invalidate page cache on open Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6aeadeda22a9aa322fdfcd3f4c69ccf0da5cbdd Author: Miklos Szeredi Date: Fri Sep 9 13:10:30 2005 -0700 [PATCH] FUSE - file operations This patch adds the file operations of FUSE. The following operations are added: o open o flush o release o fsync o readpage o commit_write Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9e6268db496a2592e89457537ea54a496feabb77 Author: Miklos Szeredi Date: Fri Sep 9 13:10:29 2005 -0700 [PATCH] FUSE - read-write operations This patch adds the write filesystem operations of FUSE. The following operations are added: o setattr o symlink o mknod o mkdir o create o unlink o rmdir o rename o link Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e5e5558e923f35839108a12718494ecb73fb782f Author: Miklos Szeredi Date: Fri Sep 9 13:10:28 2005 -0700 [PATCH] FUSE - read-only operations This patch adds the read-only filesystem operations of FUSE. This contains the following files: o dir.c - directory, symlink and file-inode operations The following operations are added: o lookup o getattr o readlink o follow_link o directory open o readdir o directory release o permission o dentry revalidate o statfs Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 334f485df85ac7736ebe14940bf0a059c5f26d7d Author: Miklos Szeredi Date: Fri Sep 9 13:10:27 2005 -0700 [PATCH] FUSE - device functions This adds the FUSE device handling functions. This contains the following files: o dev.c - fuse device operations (read, write, release, poll) - registers misc device - support for sending requests to userspace Signed-off-by: Miklos Szeredi Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d8a5ba45457e4a22aa39c939121efd7bb6c76672 Author: Miklos Szeredi Date: Fri Sep 9 13:10:26 2005 -0700 [PATCH] FUSE - core This patch adds FUSE core. This contains the following files: o inode.c - superblock operations (alloc_inode, destroy_inode, read_inode, clear_inode, put_super, show_options) - registers FUSE filesystem o fuse_i.h - private header file Requirements ============ The most important difference between orinary filesystems and FUSE is the fact, that the filesystem data/metadata is provided by a userspace process run with the privileges of the mount "owner" instead of the kernel, or some remote entity usually running with elevated privileges. The security implication of this is that a non-privileged user must not be able to use this capability to compromise the system. Obvious requirements arising from this are: - mount owner should not be able to get elevated privileges with the help of the mounted filesystem - mount owner should not be able to induce undesired behavior in other users' or the super user's processes - mount owner should not get illegitimate access to information from other users' and the super user's processes These are currently ensured with the following constraints: 1) mount is only allowed to directory or file which the mount owner can modify without limitation (write access + no sticky bit for directories) 2) nosuid,nodev mount options are forced 3) any process running with fsuid different from the owner is denied all access to the filesystem 1) and 2) are ensured by the "fusermount" mount utility which is a setuid root application doing the actual mount operation. 3) is ensured by a check in the permission() method in kernel I started thinking about doing 3) in a different way because Christoph H. made a big deal out of it, saying that FUSE is unacceptable into mainline in this form. The suggested use of private namespaces would be OK, but in their current form have many limitations that make their use impractical (as discussed in this thread). Suggested improvements that would address these limitations: - implement shared subtrees - allow a process to join an existing namespace (make namespaces first-class objects) - implement the namespace creation/joining in a PAM module With all that in place the check of owner against current->fsuid may be removed from the FUSE kernel module, without compromising the security requirements. Suid programs still interesting questions, since they get access even to the private namespace causing some information leak (exact order/timing of filesystem operations performed), giving some ptrace-like capabilities to unprivileged users. BTW this problem is not strictly limited to the namespace approach, since suid programs setting fsuid and accessing users' files will succeed with the current approach too. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 04578f174f43d29b569500f01ba772afa4016330 Author: Miklos Szeredi Date: Fri Sep 9 13:10:22 2005 -0700 [PATCH] FUSE - MAINTAINERS, Kconfig and Makefile changes This patch adds FUSE filesystem to MAINTAINERS, fs/Kconfig and fs/Makefile. Signed-off-by: Miklos Szeredi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e272d50688a1cae66a12426da128483197843d9f Author: Ben Dooks Date: Fri Sep 9 13:10:20 2005 -0700 [PATCH] Documentation/sparse snapshot URL The URL for Documentation/sparse is wrong now that it is in git. Signed-off-by: Ben Dooks Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5ea626aac1ab9a34aed62dc651070cf1e5134247 Author: Pekka J Enberg Date: Fri Sep 9 13:10:19 2005 -0700 [PATCH] VFS: update documentation This patch brings the now out-of-date Documentation/filesystems/vfs.txt back to life. Thanks to Carsten Otte, Trond Myklebust, and Anton Altaparmakov for their help on updating this documentation. Signed-off-by: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 952b649272f96d58817be889ed4b932f638a4dbe Author: Vivek Goyal Date: Fri Sep 9 13:10:19 2005 -0700 [PATCH] Kdump: Documentation Update There are minor changes in command line options in kexec-tools for kdump. This patch updates the documentation to reflect those changes. Signed-off-by: Vivek Goyal Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9d01a82e46a8dd18233121a6bc140e5576649583 Author: Martin Waitz Date: Fri Sep 9 13:10:17 2005 -0700 [PATCH] DocBook: fix kernel-api documentation generation This patch changes a macro definition so that kernel-doc can understand it. Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80e93effce55044c5a7fa96e8b313640a80bd4e9 Author: Pekka Enberg Date: Fri Sep 9 13:10:16 2005 -0700 [PATCH] update kfree, vfree, and vunmap kerneldoc This patch clarifies NULL handling of kfree() and vfree(). I addition, wording of calling context restriction for vfree() and vunmap() are changed from "may not" to "must not." Signed-off-by: Pekka Enberg Acked-by: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit af97c7220a0376beed827e72e3bb27731af7109d Author: Chuck Ebbert <76306.1226@compuserve.com> Date: Fri Sep 9 13:10:15 2005 -0700 [PATCH] docs: fix misinformation about overcommit_memory Someone complained about the docs for vm_overcommit_memory being wrong. This patch copies the text from the vm documentation into procfs. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ddb99f3d35b178f0715aab2f9d9ab25f61814347 Author: Pierre Ossman Date: Fri Sep 9 13:10:13 2005 -0700 [PATCH] ISA DMA API documentation Documentation for how the ISA DMA controller is handled in the kernel. Signed-off-by: Pierre Ossman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 754c79768eed257dabd922b85cb9271822e50794 Author: Jesper Juhl Date: Fri Sep 9 13:10:12 2005 -0700 [PATCH] Documentation: how to apply patches for various trees Add a new document describing the major kernel trees and how to apply their patches. Signed-off-by: Jesper Juhl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6c17ea4eff360359d1741272028610035bb2da9 Author: Rusty Russell Date: Fri Sep 9 13:10:11 2005 -0700 [PATCH] Update Documentation/DocBook/kernel-hacking.tmpl Update the hacking guide, before CONFIG_PREEMPT_RT goes in and it needs rewriting again. Changes include modernization of quotes, removal of most references to bottom halves (some mention required because we still use bh in places to mean softirq). It would be nice to have a discussion of sparse and various annotations. Please send patches straight to akpm. Signed-off-by: Rusty Russell (authored) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f92273c1653feadc8231c0bc4fa37fd4dc1c180f Author: Arnaud Patard Date: Fri Sep 9 13:10:10 2005 -0700 [PATCH] s3c2410fb: Platform support for ARM S3C2410 framebuffer driver This patch add the plateform specific stuff needed to configure and use the driver. Signed-Off-By: Arnaud Patard Signed-off-by: Antonino Daplas Cc: Russell King Cc: Ben Dooks Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 20fd5767689124a920c1deb9c380304e082f026c Author: Arnaud Patard Date: Fri Sep 9 13:10:07 2005 -0700 [PATCH] s3c2410fb: ARM S3C2410 framebuffer driver This set of two patches add support for the framebuffer of the Samsung S3C2410 ARM SoC. This driver was started about one year ago and is now used on iPAQ h1930/h1940, Acer n30 and probably other s3c2410-based machines I'm not aware of. I've also heard yesterday that it's working also on iPAQ rx3715/rx3115 (s3c2440-based machines). Signed-Off-By: Arnaud Patard Signed-off-by: Antonino Daplas Signed-off-by: Ben Dooks Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b4abffbadf728996fb9243b4af1df48dd771e86 Author: Olaf Hering Date: Fri Sep 9 13:10:06 2005 -0700 [PATCH] quiet non-x86 option ROM warnings Quiet an incorrect warning in aty128fb and radeonfb about the PCI ROM content. Macs work just find without that signature. Signed-off-by: Olaf Hering Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 63edceac69889e48b1b39f40ca0a4c00fdc3bbb0 Author: Antonino A. Daplas Date: Fri Sep 9 13:10:05 2005 -0700 [PATCH] i810fb: Stop LCD displays from flickering Stop LCD displays from flickering during high loads. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74f6ae84b2315c2fa8a4110b09a1c0f3dca92674 Author: Antonino A. Daplas Date: Fri Sep 9 13:10:04 2005 -0700 [PATCH] i810fb: Add i2c/DDC support Add ddc/i2c support for i810fb. This will allow the driver to get display information, especially for monitors with fickle timings. The i2c support depends on CONFIG_FB_I810_GTF. Changed __init* to __devinit* Signed-off-by: Antonino Daplas Signed-off-by: Alexander Nyberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 829e79b680210c4f4de435af6e1f90451922fc7d Author: Antonino A. Daplas Date: Fri Sep 9 13:10:04 2005 -0700 [PATCH] fbcon: Break up bit_putcs into its component functions The function bit_putcs() in drivers/video/console/bitblit.c is becoming large. Break it up into its component functions (bit_putcs_unaligned and bit_putcs_aligned). Incorporated fb_pad_aligned_buffer() optimization by Roman Zippel. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ba44cd2d8abc3271a608b42cdbf55e1e575e2ba5 Author: Richard Purdie Date: Fri Sep 9 13:10:03 2005 -0700 [PATCH] pxafb: Add hsync time reporting hook To solve touchscreen interference problems devices like the Sharp Zaurus SL-C3000 need to know the length of the horitzontal sync pulses. This patch adds a hook to pxafb so the touchscreen driver can function correctly. Signed-Off-By: Richard Purdie Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 61ab7903b8cd772d3bfb28bc26d02c599cfb0e5b Author: Antonino A. Daplas Date: Fri Sep 9 13:10:02 2005 -0700 [PATCH] fbdev: Initialize var structure in calc_mode_timings The var structure in calc_mode_timings is not properly initialized (zero set) which leads to undefined behavior when it is passed to fb_get_mode(). Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c1cd6fd5efeb95603e37f35b5da293b452d8b64 Author: Antonino A. Daplas Date: Fri Sep 9 13:10:01 2005 -0700 [PATCH] nvidiafb: Fixed mirrored characters in big endian machines nvidiafb_imageblit converts the bitdata stream from big_endian to little endian. This produces mirrored characters when machine is big_endian. Do not endian convert on big endian machines. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 88fb2c6efba8d9e941e9fb61f37dbeafc869fd75 Author: Antonino A. Daplas Date: Fri Sep 9 13:10:00 2005 -0700 [PATCH] fbcon: Stop cursor timer if console is inactive If console is blanked or in KD_GRAPHICS mode, delete cursor timer. No sense flashing the cursor when there's nothing to be seen. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c52890cc366429798b3c97266d0a377810e08400 Author: Antonino A. Daplas Date: Fri Sep 9 13:09:59 2005 -0700 [PATCH] savagefb: Make mode_option available when compiled as a module Make "mode_option" available when compiled as a module. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 948a95ff5efb018d08d104c283081dba6472f801 Author: Antonino A. Daplas Date: Fri Sep 9 13:09:59 2005 -0700 [PATCH] nvidiafb: Use CVT to get mode for digital displays If no EDID block is probed, if the display is digital and if no mode option is specified by the user, get the timings by CVT instead of using the global mode database. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 96fe6a2109db29cd15b90a093c16e6cb4b19371a Author: Antonino A. Daplas Date: Fri Sep 9 13:09:58 2005 -0700 [PATCH] fbdev: Add VESA Coordinated Video Timings (CVT) support The Coordinated Video Timings (CVT) is the latest standard approved by VESA concerning video timings generation. It addresses the limitation of GTF which is designed mainly for CRT displays. CRT's have a high blanking requirement (as much as 25% of the horizontal frame length) which artificially increases the pixelclock. Digital displays, on the other hand, needs to conserve the pixelclock as much as possible. The GTF also does not take into account the different aspect ratios in its calculation. The new function added is fb_find_mode_cvt(). It is called by fb_find_mode() if it recognizes a mode option string formatted for CVT. The format is: x[M][R][-][][i][m] The 'M' tells the function to calculate using CVT. On it's own, it will compute a timing for CRT displays at 60Hz. If the 'R' is specified, 'reduced blanking' computation will be used, best for flatpanels. The 'i' and the 'm' is for 'interlaced mode' and 'with margins' respectively. To determine if CVT was used, check for dmesg for something like this: CVT Mode - M[-R], ie: .480M3-R (800x600 reduced blanking) where: pix - product of xres and yres, in MB M - is a CVT mode n - the aspect ratio (3 - 4:3; 4 - 5:4; 9 - 16:9, 15:9; A - 16:10) -R - reduced blanking Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cdb9b9f730eac4f947a2c552806a3a550bf019ef Author: Paul Mackerras Date: Tue Sep 6 09:31:03 2005 +1000 [PATCH] PCI: Small rearrangement of PCI probing code This patch makes some small rearrangements of the PCI probing code in order to make it possible for arch code to set up the PCI tree without needing to duplicate code from the PCI layer unnecessarily. PPC64 will use this to set up the PCI tree from the Open Firmware device tree, which we need to do on logically-partitioned pSeries systems. Signed-off-by: Paul Mackerras Signed-off-by: Greg Kroah-Hartman commit c87f883edbe969ca68c21dfa8a29674c828c22a3 Author: Rumen Ivanov Zarev Date: Tue Sep 6 13:39:32 2005 -0700 [PATCH] PCI: Unhide SMBus on Compaq Evo N620c Trivial patch against 2.6.13 to unhide SMBus on Compaq Evo N620c laptop using Intel 82855PM chipset. Signed-off-by: Rumen Zarev Signed-off-by: Greg Kroah-Hartman commit 7c56075e60caaff1314decdb61b72ef576915270 Author: Rajesh Shah Date: Tue Aug 16 17:32:04 2005 -0700 [PATCH] PCI: Fix PCI bus mastering enable problem in pciehp Martin Franc reported that the pciehp driver was not enabling bus master capability on his hot-plugged card. pciehprm_enable_card() was updating the PCI command register only if _HPP indicated a value for SERR or PERR that was different from the current setting. I don't have hardware that reproduces this problem, but Martin reports that this patch fixes the problem for him. Signed-off-by: Rajesh Shah Signed-off-by: Greg Kroah-Hartman From rzarev@its.caltech.edu Tue Sep 6 18:29:50 2005 Date: Tue, 6 Sep 2005 13:39:32 -0700 (PDT) From: Rumen Ivanov Zarev Message-Id: <200509062039.j86KdWMr014934@inky.its.caltech.edu> To: gregkh@suse.de Subject: PCI: Unhide SMBus on Compaq Evo N620c Cc: linux-kernel@vger.kernel.org Trivial patch against 2.6.13 to unhide SMBus on Compaq Evo N620c laptop using Intel 82855PM chipset. Signed-off-by: Rumen Zarev Signed-off-by: Greg Kroah-Hartman --- drivers/pci/quirks.c | 6 ++++++ 1 file changed, 6 insertions(+) --- gregkh-2.6.orig/drivers/pci/quirks.c 2005-09-09 10:28:55.000000000 -0700 +++ gregkh-2.6/drivers/pci/quirks.c 2005-09-09 13:51:44.000000000 -0700 @@ -876,6 +876,12 @@ static void __init asus_hides_smbus_host case 0xC00C: /* Samsung P35 notebook */ asus_hides_smbus = 1; } + } else if (unlikely(dev->subsystem_vendor == PCI_VENDOR_ID_COMPAQ)) { + if (dev->device == PCI_DEVICE_ID_INTEL_82855PM_HB) + switch(dev->subsystem_device) { + case 0x0058: /* Compaq Evo N620c */ + asus_hides_smbus = 1; + } } } DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82845_HB, asus_hides_smbus_hostbridge ); commit 5251bffc9b4ca699993c79166adf02faf1bbc043 Author: Daniel Burcaw Date: Fri Sep 9 13:04:59 2005 -0700 [PATCH] radeonfb: Only request resources we need This patch changes radeon to request only resources 0 and 2 instead of all 3. This works around problems with some setups where BAR 1 (IO BAR) has not been assigned by the firmware since it's not used on the machine and the kernel fails to assign something to it due to the card being between a P2P bridge that was configured without an IO range at all. This typically fixes radeonfb on some Apple Xserve G5 machines Signed-off-by: Daniel Burcaw Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c5eb5c1ea919f3f717236c5d0892f9c37f19de37 Author: Knut Petersen Date: Fri Sep 9 13:04:59 2005 -0700 [PATCH] framebuffer: bit_putcs() optimization for 8x* fonts This trivial patch gives a performance boost to the framebuffer console Constructing the bitmaps that are given to the bitblit functions of the framebuffer drivers is time consuming. Here we avoide a call to the slow fb_pad_aligned_buffer(). The patch replaces that call with a simple but much more efficient bytewise copy. The kernel spends a significant time at this place if you use 8x* fonts. Every pixel displayed on your screen is prepared here. Some benchmark results: Displaying a file of 2000 lines with 160 characters each takes 889 ms system time using cyblafb on my system (I´m using a 1280x1024 video mode, resulting in a 160x64 character console) Displaying the same file with the enclosed patch applied to 2.6.13 only takes 760 ms system time, saving 129 ms or 14.5%. Font widths other than 8 are not affected. The advantage and correctness of this patch should be obvious. Signed-off-by: Knut Petersen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9fa68eae9f8291a98bfe00b94b78f72eb253165a Author: Knut Petersen Date: Fri Sep 9 13:04:56 2005 -0700 [PATCH] framebuffer: new driver for cyberblade/i1 graphics core This is a framebuffer driver for the Cyberblade/i1 graphics core. Currently tridenfb claims to support the cyberblade/i1 graphics core. This is of very limited truth. Even vesafb is faster and provides more working modes and a much better quality of the video signal. There is a great number of bugs in tridentfb ... but most often it is impossible to decide if these bugs are real bugs or if fixing them for the cyberblade/i1 core would break support for one of the other supported chips. Tridentfb seems to be unmaintained,and documentation for most of the supported chips is not available. So "fixing" cyberblade/i1 support inside of tridentfb was not an option, it would have caused numerous if(CYBERBLADEi1) else ... cases and would have rendered the code to be almost unmaintainable. A first version of this driver was published on 2005-07-31. A fix for a bug reported by Jochen Hein was integrated as well as some changes requested by Antonino A. Daplas. A message has been added to tridentfb to inform current users of tridentfb to switch to cyblafb if the cyberblade/i1 graphics core is detected. This patch is one logical change, but because of the included documentation it is bigger than 70kb. Therefore it is not sent to lkml and linux-fbdev-devel, Signed-off-by: Knut Petersen Cc: Muli Ben-Yehuda Acked-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6062bfa1644f401c08e78d5c8a161f7d11c5c830 Author: Olaf Hering Date: Fri Sep 9 13:04:55 2005 -0700 [PATCH] better error handing in savagefb_probe err remains uninitialized of pci_request_regions fails. Found by Thorsten Kukuk, I added a few more checks. Signed-off-by: Olaf Hering Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 544393fe584d333480659a4bed30f5295355df11 Author: Thomas Winischhofer Date: Fri Sep 9 13:04:45 2005 -0700 [PATCH] sisfb update This lifts sisfb from version 1.7.17 to version 1.8.9. Changes include: - Added support for XGI V3XT, V5, V8, Z7 chipsets, including POSTing of all of these chipsets. - Added support for latest SiS chipsets (761). - Added support for SiS76x memory "hybrid" mode. - Added support for new LCD resolutions (eg 1280x854, 856x480). - Fixed support for 320x240 STN panels (for embedded devices). - Fixed many HDTV modes (525p, 750p, 1080i). - Fixed PCI config register reading/writing to use proper kernel functions for this purpose. - Fixed PCI ROM handling to use the kernel's proper functions. - Removed lots of "typedef"s. - Removed lots of code which was for X.org/XFree86 only. - Fixed coding style in many places. - Removed lots of 2.4 cruft. - Reduced stack size by unifying two previously separate structs into one. - Added new hooks for memory allocation (for DRM). Now the driver can truly handle multiple cards, including memory management. - Fixed numerous minor bugs. Signed-off-by: Thomas Winischhofer Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5c06e2aa6339112befdc87b350b8bf712890d7a7 Author: Ian Romanick Date: Fri Sep 9 13:04:42 2005 -0700 [PATCH] matroxfb: read MGA PInS data on PowerPC This updates the matroxfb code so that it can find the PInS data embedded in the BIOS on PowerPC cards. The process for finding the data is different on OpenFirmware cards than on x86 cards, and the code for doing so was missing. After patching, building, installing, and booting a kernel, you should grep for "PInS" in /var/log/messages. You should see two messages in the log: PInS data found at offset XXXXX PInS memtype = X On the GXT135p card I get "31168" and "5". The first value is irrelevant, but it's presence lets me know that the PInS data was actually found. On a GXT130p, the second value should be 3. Since I don't have access to that hardware, if someone can verify that, I will submit a follow-on patch that rips out all the memtype parameter stuff. Signed-off-by: Ian Romanick Signed-off-by: Petr Vandrovec Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f510a3c3d48fd5aaa7757aebbc37e9ee417913a3 Author: Antonino A. Daplas Date: Fri Sep 9 13:04:41 2005 -0700 [PATCH] radeonfb_old: Fix broken link The link for ATI's product page in drivers/video/Kconfig for FB_RADEON is broken. Replace with a product comparison page. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a43b58589eac1fdcf62624e86c67c0f92f45bf7 Author: Alexander Kern Date: Fri Sep 9 13:04:40 2005 -0700 [PATCH] atyfb: Remove code that sets sync polarity unconditionally Currently, atyfb has code that sets the hsync and vsync polarity based on the current video mode, without letting the user override the settings. Remove this particular code. The sync polarities are set by the PROM, the user or by the videomode. Signed-off-by: Alexander Kern Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3b41dc1a3c7839a765ffa560a5ae07aa5d253cc8 Author: Antonino A. Daplas Date: Fri Sep 9 13:04:39 2005 -0700 [PATCH] console: Fix buffer copy on vc resize On a vc resize, the contents of the old screen buffer are transferred to the new screenbuffer. If the new screenbuffer is smaller than the old one, only the contents from the bottom are copied to new. If the contents of the old buffer are located at the top, then the contents will not be copied to the new buffer resulting in a blank screen. This bug will happen only if the vc in question is not in the foreground. Doing an fbset -a or con2fbmap will trigger this bug. To fix this problem, base the start of the copy from the location of the current cursor. If the cursor is near the top of the buffer, copy the contents at the top, and if the cursor is near the bottom of the buffer, then copy the contents at the bottom. In the unlikely case where the new row size is greater than 2x smaller than the old one, and the cursor is in the middle, copy 1/2 screenful from the top and bottom of the cursor position. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2cc38ed13f1b0f9d80a2d0acc2916af94922f27e Author: Antonino A. Daplas Date: Fri Sep 9 13:04:38 2005 -0700 [PATCH] fbcon: Saner 16-color to 4-color conversion Currently, the default linux 16-colors are converted to 4-colors by simply dividing the values by 4. However, this is not necessarily correct since the first 4 colors are converted to black, rendering them invisible. So, for black, no conversion; for light colors, convert to gray, for normal text color, no conversion, and for bright colors, convert to intense white. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b8c909454f046b59065c6997b651fe20cd90c0f4 Author: Antonino A. Daplas Date: Fri Sep 9 13:04:37 2005 -0700 [PATCH] fbdev: Fix greater than 1 bit monochrome color handling Currently, fbcon assumes that the visual FB_VISUAL_MONO* is always 1 bit. According to Geert, there are old hardware where it's possible to have monochrome at 8-bit, but has only 2 colors, black - 0x00 and white - 0xff. Fix color handlers (fb_get_color_depth, and get_color) for this special case. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 094bb659f53b6d90aab6067268d6d14f1f352d30 Author: Antonino A. Daplas Date: Fri Sep 9 13:04:36 2005 -0700 [PATCH] nvidiafb: Fallback to firmware EDID If nvidiafb fails to probe the EDID block, get the EDID from the BIOS. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 13776711ce4b234b5ad153e55e8b5d6703c6b1ef Author: Antonino A. Daplas Date: Fri Sep 9 13:04:35 2005 -0700 [PATCH] savagefb: Driver updates - Fallback to firmware EDID if chipset has no DDC/I2C support or if I2C probing failed - Add fb_blank hook - Fix savagefb_suspend/resume to enable driver to successfully suspend and resume from S3, memory or disk Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e518d7672dea4cd7c60871e40d0490c52f01d13 Author: Antonino A. Daplas Date: Fri Sep 9 13:04:34 2005 -0700 [PATCH] fbdev: Resurrect hooks to get EDID from firmware For the i386, code is already present in video.S that gets the EDID from the video BIOS. Make this visible so drivers can also use this data as fallback when i2c does not work. To ensure that the EDID block is returned for the primary graphics adapter only, by check if the IORESOURCE_ROM_SHADOW flag is set. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53eed4ec8bcd8701b9135859ec46b10a0d88ba25 Author: David Vrabel Date: Fri Sep 9 13:04:32 2005 -0700 [PATCH] fbdev: geode updates Geode framebuffer driver updates: - Local mode list (taken from modedb.c) containing only relevant modes. This also makes the driver work as a module. - Make it a PCI driver (from James Simmons ). - A few other minor cosmetic bits and pieces. Signed-off-by: David Vrabel Signed-off-by: James Simmons Cc: "Antonino A. Daplas" Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c7ffe0b9f7f40bd818fe3af51342f64c483908e Author: James Simmons Date: Fri Sep 9 13:04:31 2005 -0700 [PATCH] fbdev: prevent drivers that have hardware cursors from calling software cursor code This patch removes drivers that have hardware cursors from calling the software cursor code. Also if the driver sets a no hardware cursor flag then the driver reports a error it someone attempts to use the cursor. Signed-off-by: James Simmons Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d2d58384fc5d4c0fe2d8e34bc2d15a90a9bb372a Author: Antonino A. Daplas Date: Fri Sep 9 13:04:31 2005 -0700 [PATCH] vesafb: Add blanking support Add rudimentary support by manipulating the VGA registers. However, not all vesa modes are VGA compatible, so VGA compatiblity is checked first. Only 2 levels are supported, powerup and powerdown. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7726e9e10fc6e026ed2dc00e48f4a3ffc1254ad2 Author: Antonino A. Daplas Date: Fri Sep 9 13:04:29 2005 -0700 [PATCH] fbdev: Add fbset -a support Add capability to fbdev to listen to the FB_ACTIVATE_ALL flag. If set, it notifies fbcon that all consoles must be set to the current var. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cb2e87a65d6cd735eb06fa595bf90497af28c37b Author: Eric Van Hensbergen Date: Fri Sep 9 13:04:28 2005 -0700 [PATCH] v9fs: fix handling of malformed 9P messages This patch attempts to do a better job of cleaning up after detecting errors on the transport. This should also improve error reporting on broken connections to servers. Signed-off-by: Latchesar Ionkov Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b501611a6f78558eafcf09b228abd866d4ea5d9f Author: Eric Van Hensbergen Date: Fri Sep 9 13:04:27 2005 -0700 [PATCH] v9fs: readlink extended mode check LANL reported some issues with random crashes during mount of legacy protocol servers (9P2000 versus 9P2000.u) -- crash was always happening in readlink (which should never happen in legacy mode). Added some sanity conditionals to the get_inode code which should prevent the errors LANL was seeing. Code tested benign through regression. Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5d58bec5b7a8b8303df0a4dcb9a18feeefac6091 Author: Eric Van Hensbergen Date: Fri Sep 9 13:04:27 2005 -0700 [PATCH] v9fs: Fix support for special files (devices, named pipes, etc.) Fix v9fs special files (block, char devices) support. Signed-off-by: Latchesar Ionkov Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 73c592b9b844cc353bbaea690fb4aa652ac168a6 Author: Eric Van Hensbergen Date: Fri Sep 9 13:04:26 2005 -0700 [PATCH] v9fs: Clean-up vfs_inode and setattr functions Cleanup code in v9fs vfs_inode as suggested by Alexey Dobriyan. Did some major revamping of the v9fs setattr code to remove unnecessary allocations and clean up some dead-code. Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1346f51ede71fc1e5021062898d150e192dc4dc8 Author: Eric Van Hensbergen Date: Fri Sep 9 13:04:25 2005 -0700 [PATCH] v9fs: Change error magic numbers to defined constants Change magic error numbers to system defined constants in v9fs error.h As suggested by Jan-Benedict Glaw. Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ed8491c8a75cefe95b57f7f428a3e2ddd421e97 Author: Eric Van Hensbergen Date: Fri Sep 9 13:04:24 2005 -0700 [PATCH] v9fs: debug and support routines This part of the patch contains debug and other misc routines. Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 322b329ab787de5f45abca9c9eabfd33bc5927e8 Author: Eric Van Hensbergen Date: Fri Sep 9 13:04:23 2005 -0700 [PATCH] v9fs: Support to force umount Support for force umount Signed-off-by: Latchesar Ionkov Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 426cc91aa651b50713d06d45e5c3c3e90cfd40d9 Author: Eric Van Hensbergen Date: Fri Sep 9 13:04:22 2005 -0700 [PATCH] v9fs: transport modules This part of the patch contains transport routines. Signed-off-by: Eric Van Hensbergen Signed-off-by: Latchesar Ionkov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b8cf945b3166c4394386f162a527c9950f396ce2 Author: Eric Van Hensbergen Date: Fri Sep 9 13:04:21 2005 -0700 [PATCH] v9fs: 9P protocol implementation This part of the patch contains the 9P protocol functions. Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9e82cf6a802a72f0f447eb4c76d6a3fc8736a31d Author: Eric Van Hensbergen Date: Fri Sep 9 13:04:20 2005 -0700 [PATCH] v9fs: VFS superblock operations and glue This part of the patch contains VFS superblock and mapping code. Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2bad8471511ce5cc3ea90d0940622bd4b56b9cce Author: Eric Van Hensbergen Date: Fri Sep 9 13:04:19 2005 -0700 [PATCH] v9fs: VFS inode operations This part of the patch contains the VFS inode interfaces. Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e69e7fe5b0c86b7271045444a3a681136234c659 Author: Eric Van Hensbergen Date: Fri Sep 9 13:04:18 2005 -0700 [PATCH] v9fs: VFS file, dentry, and directory operations This part of the patch contains the VFS file, dentry & directory interfaces. Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 93fa58cb831337fdf5d36b3b913441100a484dae Author: Eric Van Hensbergen Date: Fri Sep 9 13:04:18 2005 -0700 [PATCH] v9fs: Documentation, Makefiles, Configuration OVERVIEW V9FS is a distributed file system for Linux which provides an implementation of the Plan 9 resource sharing protocol 9P. It can be used to share all sorts of resources: static files, synthetic file servers (such as /proc or /sys), devices, and application file servers (such as FUSE). BACKGROUND Plan 9 (http://plan9.bell-labs.com/plan9) is a research operating system and associated applications suite developed by the Computing Science Research Center of AT&T Bell Laboratories (now a part of Lucent Technologies), the same group that developed UNIX , C, and C++. Plan 9 was initially released in 1993 to universities, and then made generally available in 1995. Its core operating systems code laid the foundation for the Inferno Operating System released as a product by Lucent Bell-Labs in 1997. The Inferno venture was the only commercial embodiment of Plan 9 and is currently maintained as a product by Vita Nuova (http://www.vitanuova.com). After updated releases in 2000 and 2002, Plan 9 was open-sourced under the OSI approved Lucent Public License in 2003. The Plan 9 project was started by Ken Thompson and Rob Pike in 1985. Their intent was to explore potential solutions to some of the shortcomings of UNIX in the face of the widespread use of high-speed networks to connect machines. In UNIX, networking was an afterthought and UNIX clusters became little more than a network of stand-alone systems. Plan 9 was designed from first principles as a seamless distributed system with integrated secure network resource sharing. Applications and services were architected in such a way as to allow for implicit distribution across a cluster of systems. Configuring an environment to use remote application components or services in place of their local equivalent could be achieved with a few simple command line instructions. For the most part, application implementations operated independent of the location of their actual resources. Commercial operating systems haven't changed much in the 20 years since Plan 9 was conceived. Network and distributed systems support is provided by a patchwork of middle-ware, with an endless number of packages supplying pieces of the puzzle. Matters are complicated by the use of different complicated protocols for individual services, and separate implementations for kernel and application resources. The V9FS project (http://v9fs.sourceforge.net) is an attempt to bring Plan 9's unified approach to resource sharing to Linux and other operating systems via support for the 9P2000 resource sharing protocol. V9FS HISTORY V9FS was originally developed by Ron Minnich and Maya Gokhale at Los Alamos National Labs (LANL) in 1997. In November of 2001, Greg Watson setup a SourceForge project as a public repository for the code which supported the Linux 2.4 kernel. About a year ago, I picked up the initial attempt Ron Minnich had made to provide 2.6 support and got the code integrated into a 2.6.5 kernel. I then went through a line-for-line re-write attempting to clean-up the code while more closely following the Linux Kernel style guidelines. I co-authored a paper with Ron Minnich on the V9FS Linux support including performance comparisons to NFSv3 using Bonnie and PostMark - this paper appeared at the USENIX/FREENIX 2005 conference in April 2005: ( http://www.usenix.org/events/usenix05/tech/freenix/hensbergen.html ). CALL FOR PARTICIPATION/REQUEST FOR COMMENTS Our 2.6 kernel support is stabilizing and we'd like to begin pursuing its integration into the official kernel tree. We would appreciate any review, comments, critiques, and additions from this community and are actively seeking people to join our project and help us produce something that would be acceptable and useful to the Linux community. STATUS The code is reasonably stable, although there are no doubt corner cases our regression tests haven't discovered yet. It is in regular use by several of the developers and has been tested on x86 and PowerPC (32-bit and 64-bit) in both small and large (LANL cluster) deployments. Our current regression tests include fsx, bonnie, and postmark. It was our intention to keep things as simple as possible for this release -- trying to focus on correctness within the core of the protocol support versus a rich set of features. For example: a more complete security model and cache layer are in the road map, but excluded from this release. Additionally, we have removed support for mmap operations at Al Viro's request. PERFORMANCE Detailed performance numbers and analysis are included in the FREENIX paper, but we show comparable performance to NFSv3 for large file operations based on the Bonnie benchmark, and superior performance for many small file operations based on the PostMark benchmark. Somewhat preliminary graphs (from the FREENIX paper) are available (http://v9fs.sourceforge.net/perf/index.html). RESOURCES The source code is available in a few different forms: tarballs: http://v9fs.sf.net CVSweb: http://cvs.sourceforge.net/viewcvs.py/v9fs/linux-9p/ CVS: :pserver:anonymous@cvs.sourceforge.net:/cvsroot/v9fs/linux-9p Git: rsync://v9fs.graverobber.org/v9fs (webgit: http://v9fs.graverobber.org) 9P: tcp!v9fs.graverobber.org!6564 The user-level server is available from either the Plan 9 distribution or from http://v9fs.sf.net Other support applications are still being developed, but preliminary version can be downloaded from sourceforge. Documentation on the protocol has historically been the Plan 9 Man pages (http://plan9.bell-labs.com/sys/man/5/INDEX.html), but there is an effort under way to write a more complete Internet-Draft style specification (http://v9fs.sf.net/rfc). There are a couple of mailing lists supporting v9fs, but the most used is v9fs-developer@lists.sourceforge.net -- please direct/cc your comments there so the other v9fs contibutors can participate in the conversation. There is also an IRC channel: irc://freenode.net/#v9fs This part of the patch contains Documentation, Makefiles, and configuration file changes. Signed-off-by: Eric Van Hensbergen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2822541893d88f84dd4f1525108d73effecd9d39 Author: Dipankar Sarma Date: Fri Sep 9 13:04:15 2005 -0700 [PATCH] files: files locking doc Add documentation describing the new locking scheme for file descriptor table. Signed-off-by: Dipankar Sarma Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b835996f628eadb55c5fb222ba46fe9395bf73c7 Author: Dipankar Sarma Date: Fri Sep 9 13:04:14 2005 -0700 [PATCH] files: lock-free fd look-up With the use of RCU in files structure, the look-up of files using fds can now be lock-free. The lookup is protected by rcu_read_lock()/rcu_read_unlock(). This patch changes the readers to use lock-free lookup. Signed-off-by: Maneesh Soni Signed-off-by: Ravikiran Thirumalai Signed-off-by: Dipankar Sarma Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ab2af1f5005069321c5d130f09cce577b03f43ef Author: Dipankar Sarma Date: Fri Sep 9 13:04:13 2005 -0700 [PATCH] files: files struct with RCU Patch to eliminate struct files_struct.file_lock spinlock on the reader side and use rcu refcounting rcuref_xxx api for the f_count refcounter. The updates to the fdtable are done by allocating a new fdtable structure and setting files->fdt to point to the new structure. The fdtable structure is protected by RCU thereby allowing lock-free lookup. For fd arrays/sets that are vmalloced, we use keventd to free them since RCU callbacks can't sleep. A global list of fdtable to be freed is not scalable, so we use a per-cpu list. If keventd is already handling the current cpu's work, we use a timer to defer queueing of that work. Since the last publication, this patch has been re-written to avoid using explicit memory barriers and use rcu_assign_pointer(), rcu_dereference() premitives instead. This required that the fd information is kept in a separate structure (fdtable) and updated atomically. Signed-off-by: Dipankar Sarma Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e72ad2c581de121cc7e772469e2a8f6b1fd4379 Author: Dipankar Sarma Date: Fri Sep 9 13:04:12 2005 -0700 [PATCH] files-sparc64-fix 2 Fix sparc64 timod to use the new files_fdtable() api to get the fd table. This is necessary for RCUification. Signed-off-by: Dipankar Sarma Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit badf16621c1f9d1ac753be056fce11b43d6e0be5 Author: Dipankar Sarma Date: Fri Sep 9 13:04:10 2005 -0700 [PATCH] files: break up files struct In order for the RCU to work, the file table array, sets and their sizes must be updated atomically. Instead of ensuring this through too many memory barriers, we put the arrays and their sizes in a separate structure. This patch takes the first step of putting the file table elements in a separate structure fdtable that is embedded withing files_struct. It also changes all the users to refer to the file table using files_fdtable() macro. Subsequent applciation of RCU becomes easier after this. Signed-off-by: Dipankar Sarma Signed-Off-By: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c0dfb2905126e9e94edebbce8d3e05001301f52d Author: Dipankar Sarma Date: Fri Sep 9 13:04:09 2005 -0700 [PATCH] files: rcuref APIs Adds a set of primitives to do reference counting for objects that are looked up without locks using RCU. Signed-off-by: Ravikiran Thirumalai Signed-off-by: Dipankar Sarma Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8b6490e5faafb3a16ea45654fb55f9ff086f1495 Author: Dipankar Sarma Date: Fri Sep 9 13:04:07 2005 -0700 [PATCH] files: fix rcu initializers First of a number of files_lock scaability patches. Here are the x86 numbers - tiobench on a 4(8)-way (HT) P4 system on ramdisk : (lockfree) Test 2.6.10-vanilla Stdev 2.6.10-fd Stdev ------------------------------------------------------------- Seqread 1400.8 11.52 1465.4 34.27 Randread 1594 8.86 2397.2 29.21 Seqwrite 242.72 3.47 238.46 6.53 Randwrite 445.74 9.15 446.4 9.75 The performance improvement is very significant. We are getting killed by the cacheline bouncing of the files_struct lock here. Writes on ramdisk (ext2) seems to vary just too much to get any meaningful number. Also, With Tridge's thread_perf test on a 4(8)-way (HT) P4 xeon system : 2.6.12-rc5-vanilla : Running test 'readwrite' with 8 tasks Threads 0.34 +/- 0.01 seconds Processes 0.16 +/- 0.00 seconds 2.6.12-rc5-fd : Running test 'readwrite' with 8 tasks Threads 0.17 +/- 0.02 seconds Processes 0.17 +/- 0.02 seconds I repeated the measurements on ramfs (as opposed to ext2 on ramdisk in the earlier measurement) and I got more consistent results from tiobench : 4(8) way xeon P4 ----------------- (lock-free) Test 2.6.12-rc5 Stdev 2.6.12-rc5-fd Stdev ------------------------------------------------------------- Seqread 1282 18.59 1343.6 26.37 Randread 1517 7 2415 34.27 Seqwrite 702.2 5.27 709.46 5.9 Randwrite 846.86 15.15 919.68 21.4 4-way ppc64 ------------ (lock-free) Test 2.6.12-rc5 Stdev 2.6.12-rc5-fd Stdev ------------------------------------------------------------- Seqread 1549 91.16 1569.6 47.2 Randread 1473.6 25.11 1585.4 69.99 Seqwrite 1096.8 20.03 1136 29.61 Randwrite 1189.6 4.04 1275.2 32.96 Also running Tridge's thread_perf test on ppc64 : 2.6.12-rc5-vanilla -------------------- Running test 'readwrite' with 4 tasks Threads 0.20 +/- 0.02 seconds Processes 0.16 +/- 0.01 seconds 2.6.12-rc5-fd -------------------- Running test 'readwrite' with 4 tasks Threads 0.18 +/- 0.04 seconds Processes 0.16 +/- 0.01 seconds The benefits are huge (upto ~60%) in some cases on x86 primarily due to the atomic operations during acquisition of ->file_lock and cache line bouncing in fast path. ppc64 benefits are modest due to LL/SC based locking, but still statistically significant. This patch: RCU head initilizer no longer needs the head varible name since we don't use list.h lists anymore. Signed-off-by: Dipankar Sarma Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0f97a931b337e4662e736ca67f1fab0a187f5852 Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:04:05 2005 -0700 [PATCH] v4l: tveeprom improved to support newer Hauppage cards - tveeprom improved and updated to reflect newer Hauppage cards. - CodingStyle fixes. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 18fc59e230bbda9725736f8f526ef88aab212348 Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:04:05 2005 -0700 [PATCH] v4l: TVaudio cleanup and better debug messages - adds the adapter number + i2c address to printk msgs. - Some CodingStyle cleanups. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dc75fc1b924ccf44ca9f0446701acc0081605b49 Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:04:04 2005 -0700 [PATCH] v4l: Remove kernel version dependency from tea575x-tuner.h - Removed kernel version dependency from tea575x-tuner.h Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 10b89ee387fd6cc38532a881f64b3d35f338ea0b Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:04:03 2005 -0700 [PATCH] v4l: include saa6588 compiler option and files / fixes comments on tuner.h - Include saa6588 compiler option and files. - Fix comment on tuner.h - linux/utsname.h replaced by linux/version.h to compile on vanilla 2.6.13 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 67e49a1abe3e9458c7ffba66775b350b5ceffae0 Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:04:00 2005 -0700 [PATCH] v4l: make the input event device for IR matchable by udev rules. - Makes the input event device created by the V4L drivers for the infrared remote matchable by udev rules. Signed-off-by: Rudo Thomas Signed-off-by: Michael Fair Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5129b1589883d6eaa54886f3e0c5d918dafe329e Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:04:00 2005 -0700 [PATCH] v4l: add some missing parameter descriptions in msp3400.c - added some missing parameter descriptions at msp3400.c Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 21d4df375be2c9e5f1002800036fbfb793cf031f Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:03:59 2005 -0700 [PATCH] v4l: print warning if pal= or secam= argument is unrecognized - print warning if pal= or secam= argument is unrecognized Signed-off-by: Philip Rowlands Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6a989d7328aa4a0b4793ea05b13871bf1b500b1e Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:03:57 2005 -0700 [PATCH] v4l: correct the amux for composite and s-video inputs on the Sabrent SBT-TVFM card. - correct the amux for composite and s-video inputs on the Sabrent SBT-TVFM card. Signed-off-by: Michael Rodriquez-Torrent Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fccdf1bd362452d5e2bc0a1874b2b504b481e367 Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:03:57 2005 -0700 [PATCH] v4l: #include no longer needed. - #include no longer needed. Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 33ac6b52679743c3dbb7c7245f1df90588ee1097 Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:03:56 2005 -0700 [PATCH] v4l: the Microtune 4049FM5 uses an IF frequency of 33.3 MHz for FM radio. - The Microtune 4049FM5 uses an IF frequency of 33.3 MHz for FM radio. Signed-off-by: Hans Verkuil Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 08adb9e20be83bb4c5322bf15b966c537038f6d9 Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:03:55 2005 -0700 [PATCH] v4l: some error treatment implemented at resume functions. - Some error treatment implemented at resume functions. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c93b07a48039cee1d845f38294abec0f803e05e Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:03:54 2005 -0700 [PATCH] v4l: change LG TDVS H062F from NTSC to ATSC - Change LG TDVS H062F from NTSC to ATSC. Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1c94aeecd3fd2aed66d9a1135f5329df622e6137 Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:03:52 2005 -0700 [PATCH] v4l: normalize whitespace and comments in tuner lists - normalize whitespace and comments in tuner lists Signed-off-by: Philip Rowlands Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 10c35cf8fd89e166d13bc93175f2b05d9cb85e07 Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:03:52 2005 -0700 [PATCH] v4l: cx88-dvb incorrect reporting fixed and remove bad PCI ID for Sabrent - cx88-dvb has been incorrectly reporting the card name instead of frontend name - Removes a bad PCI subsystem ID for saa713x Sabrent card - Renames DVICO --> DViCO for bttv. - #include no longer needed. Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4279f02478c2c4f106ec9efb80ca152e8d406844 Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:03:51 2005 -0700 [PATCH] v4l: add saa713x card #66: Yuan TUN-900 (saa7135) - Add saa713x card #66: Yuan TUN-900 (saa7135) Signed-off-by: De Greef Sebastien Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 260784dcca44b5a526cece1f275cb81ccd186a3e Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:03:49 2005 -0700 [PATCH] v4l: add saa713x card #65 Kworld V-Stream Studio TV Terminator - Add saa713x card #65 Kworld V-Stream Studio TV Terminator Signed-off-by: James R Webb Signed-off-by: Peter Missel Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5adc1c306b1ce5b297bd8ee010a62f39cd32b9e4 Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:03:48 2005 -0700 [PATCH] v4l: correct LG NTSC TALN mini tuner takeover - correct LG NTSC TALN mini tuner takeover as far we can empirically determine for now. Signed-off-by: Hermann Pitton Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 272435dc44f7254c7174d69b41eb430a50583d1a Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:03:47 2005 -0700 [PATCH] v4l: syncs tveeprom tuners list with the list from ivtv - Syncs tveeprom tuners list with the list from ivtv. - Fixes the incorrect reporting of the radio presence. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c0e9eae60e8f1a18e2e6502b3e738dd2886d18ff Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:03:47 2005 -0700 [PATCH] v4l: change the prefix of msp34xx and error while reading chip version - Changes the prefix to 'msp34xx' instead of 'msp3400'. - Changes the message 'error while reading chip version' to a debug printk at msp3400.c Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2f1807102a3a5c9b9782b6e8d271fc8ccef91f0a Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:03:46 2005 -0700 [PATCH] v4l: SAA7134 updates and board additions - Remove $Id CVS logs for V4L files - linux/version.h replaced by linux/utsname.h - Add new Digimatrix card and LG TAPC Mini tuner for it Signed-off-by: Hermann Pitton Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e52e98a7eccfb0e7e91630d01690fb11d77db77d Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:03:41 2005 -0700 [PATCH] v4l: CX88 updates and card additions - Remove $Id CVS logs for V4L files - add ioctl indirection via cx88_ioctl_hook and cx88_ioctl_translator to cx88-blackbird.c. - declare the indirection hooks from cx88-blackbird.c. - dcprintk macro which uses core instead of dev->core on cx88-video.c. - replace dev->core occurances with core on cx88-video.c. - CodingStyle fixes. - MaxInput replaced by a define. - cx8801 structures moved from cx88.h. - The output_mode needs to be set for the Hauppauge Nova-T DVB-T for versions after 2.6.12. - Corrected GPIO values for cx88 cards #28 & #31 for s-video and composite. - Updated DViCO FusionHDTV5 Gold & added DVB support. - Fixed DViCO FusionHDTV 3 Gold-Q GPIO. - Some clean up in cx88-tvaudio.c - replaced hex values when writing to AUD_CTL to EN_xx for better reading. - Allow select by hand between Mono, Lang1, Lang2 and Stereo for BTSC. - Support for stereo NICAM and BTSC improved. - Broken stereo check removed. - Added support for remote control to Cinergy DVBT-1400. - local var renamed from rc5 to a better name (ircode). - LGDT330X QAM lock bug fixes. - Some reorg: move some bits to struct cx88_core, factor out common ioctl's to cx88_do_ioctl. - Get rid of '//' comments, replace them with #if 0 and /**/. - Minor clean-ups: remove dcprintk and replace all instances of "dev->core" with "core". - Added some registers to control PCI controller at CX2388x chips. - New tuner standby API. - Small mpeg fixes and cleanups for blackbird. - fix mpeg packet size & count - add VIDIOC_QUERYCAP ioctl for the mpeg stream - return more information in struct v4l2_format - fix default window height - small cleanups Signed-off-by: Uli Luckas Signed-off-by: Torsten Seeboth Signed-off-by: Nickolay V. Shmyrev Signed-off-by: Michael Krufky Signed-off-by: Patrick Boettcher Signed-off-by: Catalin Climov Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 24a70fdce872d70171b1f49dcd1a7c3a4e8396b2 Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:03:39 2005 -0700 [PATCH] v4l: BTTV updates and card additions - Remove $Id CVS logs for V4L files - Added DVICO FusionHDTV 5 Lite card. - Added Acorp Y878F. - CodingStyle fixes. - Added tuner_addr to bttv cards structure. - linux/version.h replaced by linux/utsname.h on bttvp.h - kernel module for acquiring RDS data from a SAA6588. - Allow multiple open() and reading calls to /dev/radio on bttv-driver.c - added i2c address for lgdt330x. Signed-off-by: Hans J. Koch Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 793cf9e6a54c698e109a599c8b8e303658fcaae6 Author: Mauro Carvalho Chehab Date: Fri Sep 9 13:03:37 2005 -0700 [PATCH] v4l: common part Updates and tuner additions - Remove $Id CVS logs for V4L files - Included newer cards. - Added a new NEC protocol for ir based on pulse distance. - Enable ATSC support for DViCO FusionHDTV5 Gold. - Added tuner LG NTSC (TALN mini series). - Fixed tea5767 autodetection. - Resolve more tuner types. - Commented debug function removed from mainstream. - Remove comments from mainstream. Still on development tree. - linux/version dependencies removed. - BTSC Lang1 now is set to auto_stereo mode. - New tuner standby API. - i2c-core.c uses hexadecimal for the i2c address, so it should stay consistent. Signed-off-by: Uli Luckas Signed-off-by: Mac Michaels Signed-off-by: Michael Krufky Signed-off-by: Hermann Pitton Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a1938038dd7e4188a8663e49242fa77dd2adb7ed Author: Adrian Bunk Date: Fri Sep 9 13:03:34 2005 -0700 [PATCH] VIDEO_BT848: remove not required part of the help text Things that are already expressed through the dependencies don't have to be mentioned in the help text. Signed-off-by: Adrian Bunk Cc: Mauro Carvalho Chehab Cc: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e498be7dafd72fd68848c1eef1575aa7c5d658df Author: Christoph Lameter Date: Fri Sep 9 13:03:32 2005 -0700 [PATCH] Numa-aware slab allocator V5 The NUMA API change that introduced kmalloc_node was accepted for 2.6.12-rc3. Now it is possible to do slab allocations on a node to localize memory structures. This API was used by the pageset localization patch and the block layer localization patch now in mm. The existing kmalloc_node is slow since it simply searches through all pages of the slab to find a page that is on the node requested. The two patches do a one time allocation of slab structures at initialization and therefore the speed of kmalloc node does not matter. This patch allows kmalloc_node to be as fast as kmalloc by introducing node specific page lists for partial, free and full slabs. Slab allocation improves in a NUMA system so that we are seeing a performance gain in AIM7 of about 5% with this patch alone. More NUMA localizations are possible if kmalloc_node operates in an fast way like kmalloc. Test run on a 32p systems with 32G Ram. w/o patch Tasks jobs/min jti jobs/min/task real cpu 1 485.36 100 485.3640 11.99 1.91 Sat Apr 30 14:01:51 2005 100 26582.63 88 265.8263 21.89 144.96 Sat Apr 30 14:02:14 2005 200 29866.83 81 149.3342 38.97 286.08 Sat Apr 30 14:02:53 2005 300 33127.16 78 110.4239 52.71 426.54 Sat Apr 30 14:03:46 2005 400 34889.47 80 87.2237 66.72 568.90 Sat Apr 30 14:04:53 2005 500 35654.34 76 71.3087 81.62 714.55 Sat Apr 30 14:06:15 2005 600 36460.83 75 60.7681 95.77 853.42 Sat Apr 30 14:07:51 2005 700 35957.00 75 51.3671 113.30 990.67 Sat Apr 30 14:09:45 2005 800 33380.65 73 41.7258 139.48 1140.86 Sat Apr 30 14:12:05 2005 900 35095.01 76 38.9945 149.25 1281.30 Sat Apr 30 14:14:35 2005 1000 36094.37 74 36.0944 161.24 1419.66 Sat Apr 30 14:17:17 2005 w/patch Tasks jobs/min jti jobs/min/task real cpu 1 484.27 100 484.2736 12.02 1.93 Sat Apr 30 15:59:45 2005 100 28262.03 90 282.6203 20.59 143.57 Sat Apr 30 16:00:06 2005 200 32246.45 82 161.2322 36.10 282.89 Sat Apr 30 16:00:42 2005 300 37945.80 83 126.4860 46.01 418.75 Sat Apr 30 16:01:28 2005 400 40000.69 81 100.0017 58.20 561.48 Sat Apr 30 16:02:27 2005 500 40976.10 78 81.9522 71.02 696.95 Sat Apr 30 16:03:38 2005 600 41121.54 78 68.5359 84.92 834.86 Sat Apr 30 16:05:04 2005 700 44052.77 78 62.9325 92.48 971.53 Sat Apr 30 16:06:37 2005 800 41066.89 79 51.3336 113.38 1111.15 Sat Apr 30 16:08:31 2005 900 38918.77 79 43.2431 134.59 1252.57 Sat Apr 30 16:10:46 2005 1000 41842.21 76 41.8422 139.09 1392.33 Sat Apr 30 16:13:05 2005 These are measurement taken directly after boot and show a greater improvement than 5%. However, the performance improvements become less over time if the AIM7 runs are repeated and settle down at around 5%. Links to earlier discussions: http://marc.theaimsgroup.com/?t=111094594500003&r=1&w=2 http://marc.theaimsgroup.com/?t=111603406600002&r=1&w=2 Changelog V4-V5: - alloc_arraycache and alloc_aliencache take node parameter instead of cpu - fix initialization so that nodes without cpus are properly handled. - simplify code in kmem_cache_init - patch against Andrews temp mm3 release - Add Shai to credits - fallback to __cache_alloc from __cache_alloc_node if the node's cache is not available yet. Changelog V3-V4: - Patch against 2.6.12-rc5-mm1 - Cleanup patch integrated - More and better use of for_each_node and for_each_cpu - GCC 2.95 fix (do not use [] use [0]) - Correct determination of INDEX_AC - Remove hack to cause an error on platforms that have no CONFIG_NUMA but nodes. - Remove list3_data and list3_data_ptr macros for better readability Changelog V2-V3: - Made to patch against 2.6.12-rc4-mm1 - Revised bootstrap mechanism so that larger size kmem_list3 structs can be supported. Do a generic solution so that the right slab can be found for the internal structs. - use for_each_online_node Changelog V1-V2: - Batching for freeing of wrong-node objects (alien caches) - Locking changes and NUMA #ifdefs as requested by Manfred Signed-off-by: Alok N Kataria Signed-off-by: Shobhit Dayal Signed-off-by: Shai Fultheim Signed-off-by: Christoph Lameter Cc: Manfred Spraul Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bd65a68574b787304a0cd90f22cfd44540ce3695 Author: Brice Goglin Date: Fri Sep 9 13:03:29 2005 -0700 [PATCH] pcmcia: add pcmcia to IRQ information Add a devname parameter to the pcmcia_device structure, fills it with "pcmcia" in pcmcia_device_add, and passes it to request_irq in pcmcia_request_irq. Signed-off-by: Brice Goglin Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d3feb1844ad33911ab1fe9df1ead66082b3bce9b Author: Dominik Brodowski Date: Fri Sep 9 13:03:28 2005 -0700 [PATCH] pcmcia: more IDs for ide_cs (Partly From: David Brownell ) Make ID-CS recognize the CF card manufacturer records for Samsung, Lexar and STI. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f74e48a51c38f54fa26eb86a7a42f592156eccc2 Author: David Brownell Date: Fri Sep 9 13:03:28 2005 -0700 [PATCH] pcmcia: OMAP CF controller This adds a socket driver for the OMAP CF controller; it's currently in use on OSK boards. Signed-off-by: David Brownell Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 71ed90d89eff51a1137cbef727f11b8f7d5b20f1 Author: Dominik Brodowski Date: Fri Sep 9 13:03:27 2005 -0700 [PATCH] pcmcia: remove unused Vpp1, Vpp2 and Vcc config_t->Vpp1, Vpp2 and Vcc are never read, so remove them. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 76d82ec526b0549cedf332d80929c8c225b653fa Author: Dominik Brodowski Date: Fri Sep 9 13:03:26 2005 -0700 [PATCH] pcmcia: remove unused client_t client_t and CLIENT_MAGIC are unused, so remove them Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c8751e4c0bd32ecb76434240a56a087fa223280c Author: Daniel Ritz Date: Fri Sep 9 13:03:25 2005 -0700 [PATCH] pcmcia/yenta: avoid PCI write posting problem extend cb_writel(), exca_writeb(), exca_writel() to do a read[lb]() after the write[lb]() to avoid possible problem with PCI write posting. Seems to fix Bug #5061. Signed-off-by: Daniel Ritz Cc: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c181e0e00ff778623c7fda055fd404a06d2c7845 Author: Daniel Ritz Date: Fri Sep 9 13:03:25 2005 -0700 [PATCH] fix pcmcia_request_irq() for multifunction card multifunction cards need to have the same irq assigned to both functions. the code tries that but fails because ret is still set to CS_IN_USE which results in the function having the CB irq assigned. yenta_set_socket then just changes the irq routing to use the PCI interrupt but the first functions irq handler is registered on an ISA interrupt. boom. Signed-off-by: Daniel Ritz Cc: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bf4de6f2db79f3c396bd884f546cd2ea91a686f2 Author: Daniel Ritz Date: Fri Sep 9 13:03:23 2005 -0700 [PATCH] pcmcia/cs: fix possible missed wakeup - thread_done should only be completed when the wait_queue is installed. - all wake up conditions should be checked before schedule() this fixes a hang of rmmod in the sequence modprobe yenta_socket; rmmod yenta_socket as reported by Andreas Steinmetz. w/o this rmmod yenta_socket can hang on wait_for_completion() in pcmcia_unregister_socket() Signed-off-by: Daniel Ritz Cc: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b3743fa4442fc172e950ff0eaf6aa96e7d5ce9be Author: Dominik Brodowski Date: Fri Sep 9 13:03:23 2005 -0700 [PATCH] yenta: share code with PCI core Share code between setup-bus.c and yenta_socket.c: use the write-out code of resources to the bridge also in yenta_socket.c, as it provides useful debug output. In addition, it fixes the bug that the CPU-centric resource view might need to be transferred to the PCI-centric view: setup-bus.c does that, while yenta-socket.c did not. Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 76fa82fb7156aa7191dfd1fdede1fc0da51d45dd Author: Ingo Molnar Date: Fri Sep 9 13:03:21 2005 -0700 [PATCH] pcmcia: reduce ds.c stack footprint This patch reduces the stack footprint of pcmcia_device_query() from 416 bytes to 36 bytes. Signed-off-by: Ingo Molnar Signed-off-by: Dominik Brodowski Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4da006c63fb4758ee2d688aa65a461337b3ed065 Author: Marcelo Feitoza Parisi Date: Fri Sep 9 13:03:15 2005 -0700 [PATCH] dvb: ttusb-budget: use time_after_eq() Use of the time_after_eq() macro, defined at linux/jiffies.h, which deal with wrapping correctly and are nicer to read. Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Domen Puncer Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1ac2854cbc637de7e958cfa8d153ccf9e6668dda Author: Philipp Matthias Hahn Date: Fri Sep 9 13:03:13 2005 -0700 [PATCH] dvb: saa7146: i2c vs. sysfs fix Integrate saa7146_i2c adapter into device model: Moves entries from /sys/device/platform to /sys/device/pci*. Signed-off-by: Philipp Hahn Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6af4ee10f0b2bec2b8c40150298a9f7c1e9e46c6 Author: Karl Herz Date: Fri Sep 9 13:03:13 2005 -0700 [PATCH] dvb: ttpci: add PCI ids for old Siemens/TT DVB-C card Add PCI-ids of Siemens-DVB-C card with Technotrend manufacturer id. Signed-off-by: Karl Herz Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 03388ae30260475650bab24223151397afb72ec9 Author: Oliver Endriss Date: Fri Sep 9 13:03:12 2005 -0700 [PATCH] dvb: ttpci: av7110: RC5+ remote control support Improved remote control support for av7110-based cards: o extended rc5 protocol, firmware >= 0x2620 required o key-up timer slightly adjusted o completely moved remote control code to av7110_ir.c o support for multiple ir receivers o for now, all av7110 cards share the same ir configuration and event device Signed-off-by: Oliver Endriss Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9a7b102e7f5ccb2826a81315abc89f95adaf4421 Author: Oliver Endriss Date: Fri Sep 9 13:03:11 2005 -0700 [PATCH] dvb: av7110: conditionally disable workaround for broken firmware Disable COM_IF_LOCK workaround for firmware > 0x261f. Signed-off-by: Oliver Endriss Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ce7d3c11aee415c76bcbd5f43cace16132b48a21 Author: Johannes Stezenbach Date: Fri Sep 9 13:03:10 2005 -0700 [PATCH] dvb: av7110: disable superflous firmware handshake Disable superflous firmware handshake. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 87b2ecaebceb35c6f6199edd29ae24963d3f9c35 Author: Andrew de Quincey Date: Fri Sep 9 13:03:09 2005 -0700 [PATCH] dvb: budget-av: enable frontend on KNC1 Plus cards Enable frontend on KNC plus cards. Signed-off-by: Andrew de Quincey Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b548747d78f8840024ac3439b7149348a282e086 Author: Andrew de Quincey Date: Fri Sep 9 13:03:08 2005 -0700 [PATCH] dvb: budget-av: fixes for CI interface Fixes for CI interface. Signed-off-by: Andrew de Quincey Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dc27a1696089a9a9d317fc815915e6761e22eeb5 Author: Andrew de Quincey Date: Fri Sep 9 13:03:07 2005 -0700 [PATCH] dvb: budget-ci: add support for TT DVB-C CI card Add support for TT DVB-C CI card. Signed-off-by: Andrew de Quincey Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f63f5346c943008fe8f6ac66a9026f6c35e24947 Author: thomas schorpp Date: Fri Sep 9 13:03:06 2005 -0700 [PATCH] dvb: av7110: Siemens DVB-C analog video input support Add support for analog video inputs (CVBS and Y/C) of the analog module for the Siemens DVB-C card. Signed-off-by: thomas schorpp Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6d78933c291bd0b6292e2c631e2f5e346c14d3fa Author: Johannes Stezenbach Date: Fri Sep 9 13:03:05 2005 -0700 [PATCH] dvb: cinergyT2: remote control fixes IR RC fixes: - EVIOCSKEYCODE is not supported by this driver, fix potential crash when it is used by not setting rc_input_dev->keycodesize - fix key repeat handling (hopefully) - reduce default poll internal to 50msec (necessary for key repeat handling) Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2d6e7322b5f63d62ec8785c5fbf469c9a233baff Author: Manu Abraham Date: Fri Sep 9 13:03:04 2005 -0700 [PATCH] dvb: dst: Updated Documentation Updated Documentation Signed-off-by: Manu Abraham Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9dea88514c476d303f59e19b27ef26bb52dc193a Author: Manu Abraham Date: Fri Sep 9 13:03:03 2005 -0700 [PATCH] dvb: dst: ci doc update Updated documentation Signed-off-by: Manu Abraham Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 62867429d0d79e47e19ceedc3133efe74993932f Author: Manu Abraham Date: Fri Sep 9 13:03:02 2005 -0700 [PATCH] dvb: dst: fix DVB-C tuning Fix BUG in DVB-C frequency setting. Thanks to Peng Cao Signed-off-by: Manu Abraham Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 62121b1f9e25377ff50121f8c34a4aa92c47f465 Author: Manu Abraham Date: Fri Sep 9 13:03:01 2005 -0700 [PATCH] dvb: dst: identify boards Identify board properly: Add functions to retrieve MAC Address, FW details, Card type and Vendor Information. Signed-off-by: Manu Abraham Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a427de6f72bc0d83ebb1d87f9003c5e1009f21cd Author: Manu Abraham Date: Fri Sep 9 13:03:00 2005 -0700 [PATCH] dvb: dst: dprrintk cleanup Code Cleanup: o Remove debug noise o Remove debug module parameter debug level is achieved using the verbosity level o Updated to kernel coding style (case labels should not be indented) Signed-off-by: Manu Abraham Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 94b7410c8a2d23fad5937b326a0a9e8c5a876e2d Author: Manu Abraham Date: Fri Sep 9 13:02:59 2005 -0700 [PATCH] dvb: dst: remove unnecessary code Code Simplification: CA PMT object is not parsed in the driver anymore. Signed-off-by: Manu Abraham Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f612c5793449ac653b2f4531696d8e74e771e3d3 Author: Manu Abraham Date: Fri Sep 9 13:02:58 2005 -0700 [PATCH] dvb: dst: fix symbol rate setting Make the Symbolrate setting card specific. Signed-off-by: Manu Abraham Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f30db067a593aeb3fdd97ec0a3e6399ea566f2ad Author: Stuart Auchterlonie Date: Fri Sep 9 13:02:56 2005 -0700 [PATCH] dvb: nebula DigiTV nxt6000 fix Fix bug in Nebula DigiTV frontend detection for nxt6000. Signed-off-by: Stuart Auchterlonie Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05ade5a5cd32f8393c22fc454b0546df2ed497c5 Author: David Johnson Date: Fri Sep 9 13:02:55 2005 -0700 [PATCH] dvb: bt8xx: Nebula DigiTV mt352 support Add support for Nebula DigiTV PCI cards with the MT352 frontend. Signed-off-by: David Johnson Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1f15ddd0b79d1722049952b7359533a18a72f106 Author: David Johnson Date: Fri Sep 9 13:02:54 2005 -0700 [PATCH] dvb: bt8xx: cleanup Indentation fixes and remove unnecessary braces. Signed-off-by: David Johnson Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 466d725ac8d9c58a5de87f72b4fe066c4bad3d9d Author: Johannes Stezenbach Date: Fri Sep 9 13:02:53 2005 -0700 [PATCH] dvb: bt8xx: endianness fix Endianness fix for risc DMA start address setting. (reported by Stefan Haubenthal/Peter Hettkamp) Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b5b53452be0b1132cfb8e22fbe5fe43c25140a0 Author: Johannes Stezenbach Date: Fri Sep 9 13:02:52 2005 -0700 [PATCH] dvb: remove noisy debug print comment out noisy dprintk in dst_get_signal() (why are errors only visible with debug on? this needs to be cleaned up so we can disable debug by default) Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e2efeab26b77061ba5418f4c98c3b3ed100fb608 Author: Patrick Boettcher Date: Fri Sep 9 13:02:51 2005 -0700 [PATCH] dvb: usb: cxusb: fixes for new firmware This patch changes two things: 1) a firmware update made by the vendor, which has to be done in Windows for now, changes the DVB-data-pipe from isochronous to bulk: it fixes the data distortions (and thus the video-distortions) in DVB-T mode; there is no backwards compatibility with the old firmware as it didn't work anyway 2) with the help of Steve Toth some reverse-engineered functionality is now named correctly, thank you Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3beab78f8ad5a483fdbdcbb8599fb06da102b8b7 Author: Patrick Boettcher Date: Fri Sep 9 13:02:50 2005 -0700 [PATCH] dvb: usb: white space cleanup white space cleanup Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 115eea4e91049a42d81e5284cbb0f50acab6eb39 Author: Svante Olofsson Date: Fri Sep 9 13:02:48 2005 -0700 [PATCH] dvb: usb: digitv: support for nxt6000 demod Add support for the NXT6000-based digitv-box. Add .get_tune_settings callback for the NXT6000 to have a min_tune_delay of 500ms. Signed-off-by: Svante Olofsson Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 47dc3d688d04f06d8ef90a06c48930906fbc4a8c Author: Patrick Boettcher Date: Fri Sep 9 13:02:47 2005 -0700 [PATCH] dvb: usb: core: change dvb_usb_device_init() API Change the init call to optionally return the new dvb_usb_device directly. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 62703b9d72114a563488cd4be6d0827618395589 Author: Patrick Boettcher Date: Fri Sep 9 13:02:46 2005 -0700 [PATCH] dvb: usb: dtt200u: add proper device names Added names for clones of the DVB-T stick. Whitespace cleanups. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 43bc3f41e4b1bb88adaef593f50c1f032bf0e876 Author: Ye Jianjun (Joey Date: Fri Sep 9 13:02:44 2005 -0700 [PATCH] dvb: usb: dtt200u: copy frontend_ops before modifying Fix: copy frontend_ops before modifying Signed-off-by: Ye Jianjun (Joey) Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 54127d64d2094207e0e12a4a9eec33573f25f7ac Author: Andreas Oberritter Date: Fri Sep 9 13:02:43 2005 -0700 [PATCH] dvb: usb: removed empty module_init/exit calls Removed empty module_init/exit calls. Signed-off-by: Andreas Oberritter Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e69339d9a43d4691f6a05c5a54a00d54814aaa68 Author: Patrick Boettcher Date: Fri Sep 9 13:02:42 2005 -0700 [PATCH] dvb: usb: dibusb: Kworld Xpert DVB-T USB2.0 support Add USB IDs of the Kworld Xpert DVB-T USB2.0 (clone of the ADStech box). Thanks to Marcus Hagn for testing. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3706a4da2012679631da6d22e86c6a34cde7419a Author: Patrick Boettcher Date: Fri Sep 9 13:02:41 2005 -0700 [PATCH] dvb: usb: add TwinhanDTV StarBox support Add driver for the TwinhanDTV StarBox and clones. Thanks to Ralph Metzler for his initial work on this box and thanks to Twinhan for their support. Signed-off-by: Patrick Boettcher Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80e27e20619902b11aa255081fd83eab10fc0839 Author: Mac Michaels Date: Fri Sep 9 13:02:40 2005 -0700 [PATCH] dvb: frontend: or51132: remove bogus optimization attempt This fix has also been applied to lgdt330x. There is an optimization that keeps track of the frequency tuned by the digital decoder. The digital driver does not set the frequency if it has not changed since it was tuned. The analog tuner driver knows nothing about the frequency saved by the digital driver. When the frequency is set using the video4linux code with tvtime, the hardware get changed but the digital driver's state does not get updated. Switch back to the same digital channel and the driver finds no change in frequency so the tuner is not reset to the digital frequency. The work around is to remove the check and always set the tuner to the specified frequency. Signed-off-by: Mac Michaels Signed-off-by: Michael Krufky Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 593cbf3dcbffc852cf91a30951eb518b59bf7322 Author: Patrick Boettcher Date: Fri Sep 9 13:02:38 2005 -0700 [PATCH] dvb: frontend: stv0297: QAM128 tuning improvement while investigating the QAM_128-issue with the stv0297-driver for the Cablestar (which is not the same as the one in dvb-kernel CVS, yet), I fixed it, not by increasing the timeout, but by disabling the corner-detection for QAM_128 and higher. This patch has been tested on dvb-kernel cvs, and has been reported to work by multiple users. Some cards still need timeout increase on top of this patch. This will be addressed later. Signed-off-by: Patrick Boettcher Signed-off-by: Michael Krufky Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c589ebfce79834a9617c44d7ec0f608fa70eb42d Author: Johannes Stezenbach Date: Fri Sep 9 13:02:37 2005 -0700 [PATCH] dvb: frontend: cx24110: clean up timeout handling. Clean up timeout handling. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 296c786a0d2122b1e47c80ca717d8a8ac36402c1 Author: Adam Szalkowski Date: Fri Sep 9 13:02:35 2005 -0700 [PATCH] dvb: frontend: cx24110: another DiSEqC fix Fix DiSEqC problems. Signed-off-by: Adam Szalkowski Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d897275500d8fac919a11073eb587ce0e3fcc36c Author: Johannes Stezenbach Date: Fri Sep 9 13:02:34 2005 -0700 [PATCH] dvb: frontend: cx24110: DiSEqC fix Fix DiSEqC switching (one bug fix suggested by Peter Hettkamp, and one experimentally determined msleep(30) suggested by Adam Szalkowski). Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6816a4c183e62bca1fa4812214e483ab503dcb7d Author: Johannes Stezenbach Date: Fri Sep 9 13:02:34 2005 -0700 [PATCH] dvb: frontend: ves1820: improve tuning Reset acgconf register after tuning to improve locking, as suggested by Marco Schluessler. Minor cleanups in ves1820_init(). Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c2026b3af0c8ad33ef253a950c271f2d0da111b6 Author: Andrew de Quincey Date: Fri Sep 9 13:02:33 2005 -0700 [PATCH] dvb: frontend: tda1004x: fix SNR reading Fix SNR reading Signed-off-by: Andrew de Quincey Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 78639a3f81d14117d1841476771d7a4736e7b9d1 Author: Andrew de Quincey Date: Fri Sep 9 13:02:32 2005 -0700 [PATCH] dvb: frontend: stv0299: support reading both BER and UCBLOCKS Allow the stv0299 to read the BER and UCBLOCKS. Signed-off-by: Andrew de Quincey Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a9d6a80b41c04e8ff4c7442cc35f5df610863841 Author: Andrew de Quincey Date: Fri Sep 9 13:02:31 2005 -0700 [PATCH] dvb: frontend: s5h1420: fixes Misc. fixes. Signed-off-by: Andrew de Quincey Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cfbfce1566f11c0dbad8a16173f0448b0c78cecb Author: Andreas Oberritter Date: Fri Sep 9 13:02:30 2005 -0700 [PATCH] dvb: frontend: stv0299: pass i2c bus to pll callback Pass a pointer to the i2c bus to the pll callbacks (stv0299 only). It was not possible to tell which i2c bus should be used if an adapter has multiple frontends on multiple i2c buses. Signed-off-by: Andreas Oberritter Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ff4ac1beae58a2fea7ec2ad43d6c3b60d90ec61 Author: Barry Scott Date: Fri Sep 9 13:02:29 2005 -0700 [PATCH] dvb: frontend: mt352: fix signal strength reading Fix two problems with the signal strength value in the mt352.c frontend: 1. the 4 most significant bits are zeroed - shift and mask wrong way round 2. need to align the 12 bits from the registers at the top of the 16 bit returned value - otherwise the range is not 0 to 0xffff its 0xf000 to 0xffff Signed-off-by: Barry Scott Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 50b447d5b70dc4021ae3b4eaf8ce98932f61a413 Author: Dominique Dumont Date: Fri Sep 9 13:02:27 2005 -0700 [PATCH] dvb: core: CI timeout fix Patch from Dominique Dumont to get the SCM Red Viaccess CAM working with the budget-ci. Signed-off-by: Dominique Dumont Signed-off-by: Andrew de Quincey Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit dad4a73071532448f6cee29791476494a8eb3a58 Author: Andreas Oberritter Date: Fri Sep 9 13:02:26 2005 -0700 [PATCH] dvb: core: dvb_demux formatting fixes Formatting fixes (Lindent + some handwork). Signed-off-by: Andreas Oberritter Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit db574d7d6e38fe37bbb97e2b0a0363b5d2ffa203 Author: Andreas Oberritter Date: Fri Sep 9 13:02:26 2005 -0700 [PATCH] dvb: core: dvb_demux: use INIT_LIST_HEAD Use INIT_LIST_HEAD for frontend_list. Signed-off-by: Andreas Oberritter Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5d2cd1631e97f5eb9c8666ff9cd8011cd5c12e7d Author: Andreas Oberritter Date: Fri Sep 9 13:02:24 2005 -0700 [PATCH] dvb: core: dvb_demux: remove more unused cruft Removed more unused variables and constants. Signed-off-by: Andreas Oberritter Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 218721b8ef334a7c778fe3bc033922edef911a1f Author: Andreas Oberritter Date: Fri Sep 9 13:02:24 2005 -0700 [PATCH] dvb: core: dvb_demux: remove unsused descramble callbacks Removed unused descramble_mac_address and descramble_section_payload callbacks. Signed-off-by: Andreas Oberritter Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 936534676ef6c6af389eb9e61de7d725ee79a316 Author: Andreas Oberritter Date: Fri Sep 9 13:02:23 2005 -0700 [PATCH] dvb: core: dvb_demux: remove unused cruft Removed some useless functions and variables. Signed-off-by: Andreas Oberritter Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1e0ae280e91a4f69b08770c6ab72808711dd4f2b Author: Andreas Oberritter Date: Fri Sep 9 13:02:22 2005 -0700 [PATCH] dvb: core: dvb_demux: fix continuity counter error handling Don't return immediately from dvb_dmx_swfilter_section_packet() if CC is not ok. Otherwise a new feed drops all packets until the first packet with CC=0 arrives. Signed-off-by: Andreas Oberritter Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c05100528efe997a27d841230f9f5b2f4adf3d0f Author: Andreas Oberritter Date: Fri Sep 9 13:02:21 2005 -0700 [PATCH] dvb: core: glue code for DMX_GET_CAPS and DMX_SET_SOURCE Glue code for DMX_GET_CAPS and DMX_SET_SOURCE ioctls. Signed-off-by: Andreas Oberritter Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3cc2176cbbee6adfaceac2df6d77312cf30cee83 Author: Johannes Stezenbach Date: Fri Sep 9 13:02:20 2005 -0700 [PATCH] dvb: avoid building empty built-in.o Don't build empty built-in.o when DVB/V4L is not configured. Thanks to Sam Ravnborg and Keith Owens. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 34f7373aaec80564cc87b7829e4e2a0e3c20c4b7 Author: Olaf Hering Date: Fri Sep 9 13:02:20 2005 -0700 [PATCH] dvb: remove version.h dependencies Remove all #include and all references to LINUX_VERSION_CODE and KERNEL_VERSION. Based on patch by Olaf Hering. Signed-off-by: Olaf Hering Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a8d995c99ef56a3dbcdbe291bb71658bf00e9ad6 Author: Johannes Stezenbach Date: Fri Sep 9 13:02:19 2005 -0700 [PATCH] dvb: email address update Update email address of Peter Hettkamp. Signed-off-by: Johannes Stezenbach Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 59f4e7d572980a521b7bdba74ab71b21f5995538 Author: Truxton Fulton Date: Fri Sep 9 13:02:18 2005 -0700 [PATCH] fix reboot via keyboard controller reset I have a system (Biostar IDEQ210M mini-pc with a VIA chipset) which will not reboot unless a keyboard is plugged in to it. I have tried all combinations of the kernel "reboot=x,y" flags to no avail. Rebooting by any method will leave the system in a wedged state (at the "Restarting system" message). I finally tracked the problem down to the machine's refusal to fully reboot unless the keyboard controller status register had bit 2 set. This is the "System flag" which when set, indicates successful completion of the keyboard controller self-test (Basic Assurance Test, BAT). I suppose that something is trying to protect against sporadic reboots unless the keyboard controller is in a good state (a keyboard is present), but I need this machine to be headless. I found that setting the system flag (via the command byte) before giving the "pulse reset line" command will allow the reboot to proceed. The patch is simple, and I think it should be fine for everybody whether they have this type of machine or not. This affects the "hard" reboot (as done when the kernel boot flags "reboot=c,h" are used). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6e8dcee3e63f5a2cba4affff4bbb6e228f4b258a Author: Paul Fulghum Date: Fri Sep 9 13:02:17 2005 -0700 [PATCH] synclinkmp.c: fix async internal loopback Fix async internal loopback by not using enable_loopback function which reprograms clocking and should only be used for hdlc mode. Signed-off-by: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 166692e4a045348109f66b493e1b41afde6f3769 Author: Paul Fulghum Date: Fri Sep 9 13:02:16 2005 -0700 [PATCH] synclinkmp.c: add statistics clear Add ability to clear statistics. Signed-off-by: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 761a444d8d059e4e2de326383b1dec4a636e0a92 Author: Paul Fulghum Date: Fri Sep 9 13:02:15 2005 -0700 [PATCH] synclinkmp.c: disable burst transfers Disable burst transfers on adapter local bus. Hardware feature does not work on latest version of adapter. Signed-off-by: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7f3edb94564d319cd58cc11c2c986b7ec25643d8 Author: Paul Fulghum Date: Fri Sep 9 13:02:14 2005 -0700 [PATCH] synclinkmp.c: fix double mapping of signals Serial signals were incorrectly mapped twice to events. Signed-off-by: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7c1fff58cfaaf1c4b6a31a569e18cb7d2d8db0a6 Author: Paul Fulghum Date: Fri Sep 9 13:02:14 2005 -0700 [PATCH] synclink.c: add loopback to async mode Add internal loopback support for asynchronous mode operation. Signed-off-by: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9661239f7f698ba3a79db5e8ab5bb2f4090663d9 Author: Paul Fulghum Date: Fri Sep 9 13:02:13 2005 -0700 [PATCH] synclink.c: add clear stats Add the ability to clear statistics. Signed-off-by: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4a918bc233c8b9537fbc05a8bbb33928a4980cc5 Author: Paul Fulghum Date: Fri Sep 9 13:02:12 2005 -0700 [PATCH] synclink.c: compiler optimisation fix Make some fields of DMA descriptor volatile to prevent compiler optimizations. Signed-off-by: Paul Fulghum Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9d5c1e1bf2b906966609f8cf4a844e61adb86bcd Author: Andrew Morton Date: Fri Sep 9 13:02:12 2005 -0700 [PATCH] deadline: clean up question mark operator That ?: trick gives us the creeps. Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 24b20ac6e1c80082889b3d6ae08aadda777519e5 Author: Kenji Kaneshige Date: Fri Sep 9 13:02:11 2005 -0700 [PATCH] remove unnecessary handle_IRQ_event() prototypes The function prototype for handle_IRQ_event() in a few architctures is not needed because they use GENERIC_HARDIRQ. Signed-off-by: Kenji Kaneshige Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 73a358d1892a8233801e3fd54668075b52ec42da Author: KUROSAWA Takahiro Date: Fri Sep 9 13:02:10 2005 -0700 [PATCH] fix for cpusets minor problem This patch fixes minor problem that the CPUSETS have when files in the cpuset filesystem are read after lseek()-ed beyond the EOF. Signed-off-by: KUROSAWA Takahiro Acked-by: Paul Jackson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac0b1bc1edbe81c0cb36cad7e7f5b91f4d9e12ed Author: Benjamin LaHaise Date: Fri Sep 9 13:02:09 2005 -0700 [PATCH] aio: kiocb locking to serialise retry and cancel Implement a per-kiocb lock to serialise retry operations and cancel. This is done using wait_on_bit_lock() on the KIF_LOCKED bit of kiocb->ki_flags. Also, make the cancellation path lock the kiocb and subsequently release all references to it if the cancel was successful. This version includes a fix for the deadlock with __aio_run_iocbs. Signed-off-by: Benjamin LaHaise Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8f58202bf6b915656e116ece3bc4ace14bfe533a Author: Wendy Cheng Date: Fri Sep 9 13:02:08 2005 -0700 [PATCH] change io_cancel return code for no cancel case Note that other than few exceptions, most of the current filesystem and/or drivers do not have aio cancel specifically defined (kiob->ki_cancel field is mostly NULL). However, sys_io_cancel system call universally sets return code to -EAGAIN. This gives applications a wrong impression that this call is implemented but just never works. We have customer inquires about this issue. Changed by Benjamin LaHaise to EINVAL instead of ENOSYS Signed-off-by: S. Wendy Cheng Acked-by: Benjamin LaHaise Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f519165a97924ab3eeb99f388718d12ff97f1f4 Author: Deepak Saxena Date: Fri Sep 9 13:02:07 2005 -0700 [PATCH] cs89x0: add netpoll support Signed-off-by: Deepak Saxena Cc: Matt Mackall Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fac92becdaecff64dd91daab0292c5131de92f0d Author: Andrew Stribblehill Date: Fri Sep 9 13:02:04 2005 -0700 [PATCH] bfs: fix endianness, signedness; add trivial bugfix * Makes BFS code endianness-clean. * Fixes some signedness warnings. * Fixes a problem in fs/bfs/inode.c:164 where inodes not synced to disk don't get fully marked as clean. Here's how to reproduce it: # mount -o loop -t bfs /bfs.img /mnt # df -i /mnt Filesystem Inodes IUsed IFree IUse% Mounted on /bfs.img 48 1 47 3% /mnt # df -k /mnt Filesystem 1K-blocks Used Available Use% Mounted on /bfs.img 512 5 508 1% /mnt # cp 60k-archive.zip /mnt/mt.zip # df -k /mnt Filesystem 1K-blocks Used Available Use% Mounted on /bfs.img 512 65 447 13% /mnt # df -i /mnt Filesystem Inodes IUsed IFree IUse% Mounted on /bfs.img 48 2 46 5% /mnt # rm /mnt/mt.zip # echo $? 0 [If the unlink happens before the buffers flush, the following happens:] # df -i /mnt Filesystem Inodes IUsed IFree IUse% Mounted on /bfs.img 48 2 46 5% /mnt # df -k /mnt Filesystem 1K-blocks Used Available Use% Mounted on /bfs.img 512 65 447 13% /mnt fs/bfs/bfs.h | 1 Signed-off-by: Andrew Stribblehill Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 383f2835eb9afb723af71850037b2f074ac9db60 Author: Chen, Kenneth W Date: Fri Sep 9 13:02:02 2005 -0700 [PATCH] Prefetch kernel stacks to speed up context switch For architecture like ia64, the switch stack structure is fairly large (currently 528 bytes). For context switch intensive application, we found that significant amount of cache misses occurs in switch_to() function. The following patch adds a hook in the schedule() function to prefetch switch stack structure as soon as 'next' task is determined. This allows maximum overlap in prefetch cache lines for that structure. Signed-off-by: Ken Chen Cc: Ingo Molnar Cc: "Luck, Tony" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b0d62e6d5b3318b6b722121d945afa295f7201b5 Author: Jason Baron Date: Fri Sep 9 13:02:01 2005 -0700 [PATCH] fix disassociate_ctty vs. fork race Race is as follows. Process A forks process B, both being part of the same session. Then, A calls disassociate_ctty while B forks C: A B ==== ==== fork() copy_signal() dissasociate_ctty() .... attach_pid(p, PIDTYPE_SID, p->signal->session); Now, C can have current->signal->tty pointing to a freed tty structure, as it hasn't yet been added to the session group (to have its controlling tty cleared on the diassociate_ctty() call). This has shown up as an oops but could be even more serious. I haven't tried to create a test case, but a customer has verified that the patch below resolves the issue, which was occuring quite frequently. I'll try and post the test case if i can. The patch simply checks for a NULL tty *after* it has been attached to the proper session group and clears it as necessary. Alternatively, we could simply do the tty assignment after the the process is added to the proper session group. Signed-off-by: Jason Baron Cc: Roland McGrath Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f76baf9365bd66216bf0e0ebfc083e22eda6215b Author: Alexander Krizhanovsky Date: Fri Sep 9 13:01:59 2005 -0700 [PATCH] autofs: fix "busy inodes after umount..." This patch for old autofs (version 3) cleans dentries which are not putted after killing the automount daemon (it's analogue of recent patch for autofs4). Signed-off-by: Alexander Krizhanovsky Cc: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 28254d439b8c65f93cb331f5aa741efa6a8ec62f Author: Samuel Thibault Date: Fri Sep 9 13:01:58 2005 -0700 [PATCH] vga text console and stty cols/rows Some people use 66-cells braille devices for reading the console, and hence would like to reduce the width of the screen by using: stty cols 66 However, the vga text console doesn't behave correctly: the 14 first characters of the second line are put on the right of the first line and so forth. Here is a patch to correct that. It corrects the disp_end and offset registers of the vga board on console resize and console switch. On usual screens, you then correctly get a right and/or bottom blank margin. On some laptop panels, the output is resized so that text actually gets magnified, which can be great for some people (see http://dept-info.labri.fr/~thibault/ls.jpg ). Signed-off-by: Samuel Thibault Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ff55fe2075e3901db4dbdc00e0b44a71bef97afd Author: Jason Baron Date: Fri Sep 9 13:01:57 2005 -0700 [PATCH] pty_chars_in_buffer oops fix The idea of this patch is to lock both sides of a ptmx/pty pair during line discipline changing. This is needed to ensure that say a poll on one side of the pty doesn't occur while the line discipline is actively being changed. This resulted in an oops reported on lkml, see: http://marc.theaimsgroup.com/?l=linux-kernel&m=111342171410005&w=2 A 'hacky' approach was previously implmemented which served to eliminate the poll vs. line discipline changing race. However, this patch takes a more general approach to the issue. The patch only adds locking on a less often used path, the line-discipline changing path, as opposed to locking the ptmx/pty pair on read/write/poll paths. The patch below, takes both ldisc locks in either order b/c the locks are both taken under the same spinlock(). I thought about locking the ptmx/pty separately, such as master always first but that introduces a 3 way deadlock. For example, process 1 does a blocking read on the slave side. Then, process 2 does an ldisc change on the slave side, which acquires the master ldisc lock but not the slave's. Finally, process 3 does a write which blocks on the process 2's ldisc reference. This patch does introduce some changes in semantics. For example, a line discipline change on side 'a' of a ptmx/pty pair, will now wait for a read/write to complete on the other side, or side 'b'. The current behavior is to simply wait for any read/writes on only side 'a', not both sides 'a' and 'b'. I think this behavior makes sense, but I wanted to point it out. I've tested the patch with a bunch of read/write/poll while changing the line discipline out from underneath. This patch obviates the need for the above "hide the problem" patch. Signed-off-by: Jason Baron Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69ac59647e66c1b53fb98fe8b6d0f2099cffad60 Author: Chaskiel Grundman Date: Fri Sep 9 13:01:54 2005 -0700 [PATCH] alpha: process_reloc_for_got confuses r_offset and r_addend arch/alpha/kernel/module.c:process_reloc_for_got(), which figures out how big the .got section for a module should be, appears to be confusing r_offset (the file offset that the relocation needs to be applied to) with r_addend (the offset of the relocation's actual target address from the address of the relocation's symbol). Because of this, one .got entry is allocated for each relocation instead of one each unique symbol/addend. In the module I am working with, this causes the .got section to be almost 10 times larger than it needs to be (75544 bytes instead of 7608 bytes). As the .got is accessed with global-pointer-relative instructions, it needs to be within the 64k gp "zone", and a 75544 byte .got clearly does not fit. The result of this is that relocation overflows are detected during module load and the load is aborted. Change struct got_entry/process_reloc_for_got to fix this. Acked-by: Richard Henderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 092c948811359d8715790af0eedefc7dff1cd619 Author: Ashok Raj Date: Fri Sep 9 13:01:53 2005 -0700 [PATCH] x86_64: Don't call enforce_max_cpus when hotplug is enabled enforce_max_cpus nukes out cpu_present_map and cpu_possible_map making it impossible to add new cpus in the system. Since it doesnt provide any additional value apart this call and reference is removed. Signed-off-by: Ashok Raj Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fdf26d933a8171c2a5bd35b4a5ca3b099a216a35 Author: Ashok Raj Date: Fri Sep 9 13:01:52 2005 -0700 [PATCH] x86_64: Don't do broadcast IPIs when hotplug is enabled in flat mode. The use of non-shortcut version of routines breaking CPU hotplug. The option to select this via cmdline also is deleted with the physflat patch, hence directly placing this code under CONFIG_HOTPLUG_CPU. We dont want to use broadcast mode IPI's when hotplug is enabled. This causes bad effects in send IPI to a cpu that is offline which can trip when the cpu is in the process of being kicked alive. Signed-off-by: Ashok Raj Acked-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4c7fc7220f6a3cce9b3f4bd66362176df67df577 Author: Andrea Arcangeli Date: Fri Sep 9 13:01:51 2005 -0700 [PATCH] i386: seccomp fix for auditing/ptrace This is the same issue as ppc64 before, when returning to userland we shouldn't re-compute the seccomp check or the task could be killed during sigreturn when orig_eax is overwritten by the sigreturn syscall. This was found by Roland. This was harmless from a security standpoint, but some i686 users reported failures with auditing enabled system wide (some distro surprisingly makes it the default) and I reproduced it too by keeping the whole workload under strace -f. Patch is tested and works for me under strace -f. nobody@athlon:~/cpushare> strace -o /tmp/o -f python seccomp_test.py make: Nothing to be done for `seccomp_test'. Starting computing some malicious bytecode init load start stop receive_data failure kill exit_code 0 signal 9 The malicious bytecode has been killed successfully by seccomp Starting computing some safe bytecode init load start stop 174 counts kill exit_code 0 signal 0 The seccomp_test.py completed successfully, thank you for testing. (akpm: collaterally cleaned up a bit of do_syscall_trace() too) Signed-off-by: Andrea Arcangeli Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4d666d7ada2e14d71d463c85b8b5ef2e2e6723f2 Author: Yoichi Yuasa Date: Fri Sep 9 13:01:49 2005 -0700 [PATCH] mips: add TANBAC TB0287 support Add TANBAC TB0287 support. Signed-off-by: Yoichi Yuasa Cc: Ralf Baechle Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 95409aaca734700e8dcba9db685b8600b67ba05d Author: Tom Rini Date: Fri Sep 9 13:01:48 2005 -0700 [PATCH] ppc32: Kill PVR_440* defines The following patch changes the usages of PVR_440* into strcmp's with the cpu_name field, and removes the defines altogether. The Ebony portion was briefly tested long ago. One benefit of moving from PVR-tests to string tests in general is that not all CPUs can be on and be able to do this type of comparison. See http://patchwork.ozlabs.org/linuxppc/patch?id=1250 for the original thread. Signed-off-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 66b375bf7d9c995fd6169191c3862071e710f456 Author: Tom Rini Date: Fri Sep 9 13:01:47 2005 -0700 [PATCH] ppc32: In the boot code, don't rely on BASE_BAUD directly Modifies serial_init to get base baud rate from the rs_table entry instead of BAUD_BASE. This patch eliminates duplication between the SERIAL_PORT_DFNS macro and BAUD_BASE. Without the patch, if a port set the baud rate in SERIAL_PORT_DFNS, but did not update BASE_BAUD, the BASE_BAUD value would still be used. Signed-off-by: Grant Likely Signed-off-by: Tom Rini Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 99cc2192132ab28c495d015ed2e95dc29e2a27ad Author: Frank van Maarseveen Date: Fri Sep 9 13:01:46 2005 -0700 [PATCH] ppc32: Correct an instruction in the boot code In the flush and invalidate bootcode on PPC4xx we were accidentally using the wrong instruction. Use cmplw, which reads from a register like we want. Signed-off-by: Tom Rini Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 83f7da8acd81354e921ff12d6efbeae5b1a5d6a4 Author: Marcelo Tosatti Date: Fri Sep 9 13:01:45 2005 -0700 [PATCH] ppc32: make perfmon.o CONFIG_E500 specific Subject says it all, there is no need to link perfmon.o on sub-architectures other than CONFIG_E500. Signed-off-by: Marcelo Tosatti Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e31e14ec356f36b131576be5bc31d8fef7e95483 Author: Stephen Smalley Date: Fri Sep 9 13:01:45 2005 -0700 [PATCH] remove the inode_post_link and inode_post_rename LSM hooks This patch removes the inode_post_link and inode_post_rename LSM hooks as they are unused (and likely useless). Signed-off-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a74574aafea3a63add3251047601611111f44562 Author: Stephen Smalley Date: Fri Sep 9 13:01:44 2005 -0700 [PATCH] Remove security_inode_post_create/mkdir/symlink/mknod hooks This patch removes the inode_post_create/mkdir/mknod/symlink LSM hooks as they are obsoleted by the new inode_init_security hook that enables atomic inode security labeling. If anyone sees any reason to retain these hooks, please speak now. Also, is anyone using the post_rename/link hooks; if not, those could also be removed. Signed-off-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 570bc1c2e5ccdb408081e77507a385dc7ebed7fa Author: Stephen Smalley Date: Fri Sep 9 13:01:43 2005 -0700 [PATCH] tmpfs: Enable atomic inode security labeling This patch modifies tmpfs to call the inode_init_security LSM hook to set up the incore inode security state for new inodes before the inode becomes accessible via the dcache. As there is no underlying storage of security xattrs in this case, it is not necessary for the hook to return the (name, value, len) triple to the tmpfs code, so this patch also modifies the SELinux hook function to correctly handle the case where the (name, value, len) pointers are NULL. The hook call is needed in tmpfs in order to support proper security labeling of tmpfs inodes (e.g. for udev with tmpfs /dev in Fedora). With this change in place, we should then be able to remove the security_inode_post_create/mkdir/... hooks safely. Signed-off-by: Stephen Smalley Cc: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ac50960afa31877493add6d941d8402fa879c452 Author: Stephen Smalley Date: Fri Sep 9 13:01:41 2005 -0700 [PATCH] ext3: Enable atomic inode security labeling This patch modifies ext3 to call the inode_init_security LSM hook to obtain the security attribute for a newly created inode and to set the resulting attribute on the new inode as part of the same transaction. This parallels the existing processing for setting ACLs on newly created inodes. Signed-off-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 10f47e6a1b8b276323b652053945c87a63a5812d Author: Stephen Smalley Date: Fri Sep 9 13:01:39 2005 -0700 [PATCH] ext2: Enable atomic inode security labeling This patch modifies ext2 to call the inode_init_security LSM hook to obtain the security attribute for a newly created inode and to set the resulting attribute on the new inode. This parallels the existing processing for setting ACLs on newly created inodes. Signed-off-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5e41ff9e0650f327a6c819841fa412da95d57319 Author: Stephen Smalley Date: Fri Sep 9 13:01:35 2005 -0700 [PATCH] security: enable atomic inode security labeling The following patch set enables atomic security labeling of newly created inodes by altering the fs code to invoke a new LSM hook to obtain the security attribute to apply to a newly created inode and to set up the incore inode security state during the inode creation transaction. This parallels the existing processing for setting ACLs on newly created inodes. Otherwise, it is possible for new inodes to be accessed by another thread via the dcache prior to complete security setup (presently handled by the post_create/mkdir/... LSM hooks in the VFS) and a newly created inode may be left unlabeled on the disk in the event of a crash. SELinux presently works around the issue by ensuring that the incore inode security label is initialized to a special SID that is inaccessible to unprivileged processes (in accordance with policy), thereby preventing inappropriate access but potentially causing false denials on legitimate accesses. A simple test program demonstrates such false denials on SELinux, and the patch solves the problem. Similar such false denials have been encountered in real applications. This patch defines a new inode_init_security LSM hook to obtain the security attribute to apply to a newly created inode and to set up the incore inode security state for it, and adds a corresponding hook function implementation to SELinux. Signed-off-by: Stephen Smalley Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f5ee56cc184e0944ebc9ff1691985219959596f6 Author: Ralf Baechle Date: Fri Sep 9 13:01:32 2005 -0700 [PATCH] txx9 serial update Support for the new RBHMA4500 eval board for the TX4938. General update from the 8250 ancestor of this driver. Replace use of deprecated interfaces. Signed-off-by: Ralf Baechle Signed-off-by: Atsushi Nemoto Acked-by: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit fef266580e5cf897a1b63528fc6b1185e2d6bb87 Author: Mark Fasheh Date: Fri Sep 9 13:01:31 2005 -0700 [PATCH] update filesystems for new delete_inode behavior Update the file systems in fs/ implementing a delete_inode() callback to call truncate_inode_pages(). One implementation note: In developing this patch I put the calls to truncate_inode_pages() at the very top of those filesystems delete_inode() callbacks in order to retain the previous behavior. I'm guessing that some of those could probably be optimized. Signed-off-by: Mark Fasheh Acked-by: Christoph Hellwig Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e85b565233236a2a833adea73fb2f0e0f8fa2a61 Author: Mark Fasheh Date: Fri Sep 9 13:01:29 2005 -0700 [PATCH] move truncate_inode_pages() into ->delete_inode() Allow file systems supporting ->delete_inode() to call truncate_inode_pages() on their own. OCFS2 wants this so it can query the cluster before making a final decision on whether to wipe an inode from disk or not. In some corner cases an inode marked on the local node via voting may not actually get orphaned. A good example is node death before the transaction moving the inode to the orphan dir commits to the journal. Without this patch, the truncate_inode_pages() call in generic_delete_inode() would discard valid data for such inodes. During earlier discussion in the 2.6.13 merge plan thread, Christoph Hellwig indicated that other file systems might also find this useful. IMHO, the best solution would be to just allow ->drop_inode() to do the cluster query but it seems that would require a substantial reworking of that section of the code. Assuming it is safe to call write_inode_now() in ocfs2_delete_inode() for those inodes which won't actually get wiped, this solution should get us by for now. Trivial testing of this patch (and a related OCFS2 update) has shown this to avoid the corruption I'm seeing. Signed-off-by: Mark Fasheh Acked-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7f6fd5db2dbc28d475d67f9a6b041fefe1d6f7c8 Author: Kumar Gala Date: Fri Sep 9 13:01:26 2005 -0700 [PATCH] ppc32: Fix Kconfig mismerge Looks like the help comment for MPC834x got merged incorrectly. Signed-off-by: Kumar Gala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit abda24528ac3045511fb59291a2d6ccbddf30eda Author: Magnus Damm Date: Fri Sep 9 13:01:23 2005 -0700 [PATCH] i386: CONFIG_ACPI_SRAT typo fix Fix a typo involving CONFIG_ACPI_SRAT. Signed-off-by: Magnus Damm Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4b5d37ac02954572e80e09255bb5737277aaee8e Author: Giancarlo Formicuccia Date: Fri Sep 9 13:01:22 2005 -0700 [PATCH] Clear task_struct->fs_excl on fork() An oversight. We don't want to carry the IO scheduler's "we hold exclusive fs resources" hint over to the child across fork(). Acked-by: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1299232b5743da454c73853b90b3d2d83dce1737 Author: Andrew Morton Date: Fri Sep 9 13:01:21 2005 -0700 [PATCH] x86: MP_processor_info fix Remove the weird and apparently unnecessary logic in MP_processor_info() which assumes that the BSP is the first one to run MP_processor_info(). On one of my boxes that isn't true and cpu_possible_map gets the wrong value. Cc: Zwane Mwaikambo Cc: Alexander Nyberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0037c78a96bb391635bff103d401c24459c5092d Author: Sam Ravnborg Date: Fri Sep 9 22:47:53 2005 +0200 kbuild: frv,m32r,sparc64 introduce fake asm-offsets.h file Needed to get them to build. And a hint to avoid hardcoding to many constants in assembler. Signed-off-by: Sam Ravnborg commit 1325cc79163058739b70bed9860fccbecac6236b Author: Hal Rosenstock Date: Fri Sep 9 13:45:51 2005 -0700 [PATCH] IB: Define more SA methods ib_sa.h: Define more SA methods (initially for madeye decode) Signed-off-by: Hal Rosenstock Signed-off-by: Roland Dreier commit 5a0773698c51fdcec7eb361b6b819669ed1d249e Author: Sam Ravnborg Date: Fri Sep 9 22:44:31 2005 +0200 kbuild: cris use generic asm-offsets.h support Cris has a dedicated asm-offsets.c file per subarchitecture. So a symlink is created to put the desired asm-offsets.c file in $(ARCH)/kernel This is absolutely not good practice, but it was the trick used in the rest of the cris code. Signed-off-by: Sam Ravnborg commit cb7b593c2c808b32a1ea188599713c434b95f849 Author: Stephen Hemminger Date: Fri Sep 9 13:35:42 2005 -0700 [IPV4] fib_trie: fix proc interface Create one iterator for walking over FIB trie, and use it for all the /proc functions. Add a /proc/net/route output for backwards compatibility with old applications. Make initialization of fib_trie same as fib_hash so no #ifdef is needed in af_inet.c Fixes: http://bugzilla.kernel.org/show_bug.cgi?id=5209 Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 048eb582f3f89737d4a29668de9935e6feea7c36 Author: Sam Ravnborg Date: Fri Sep 9 22:32:31 2005 +0200 kbuild: mips use generic asm-offsets.h support Removed obsolete stuff from arch makefile. mips had a special rule for generating asm-offsets.h so preserved it using an architecture specific hook in top-level Kbuild file. Renamed .h file to asm-offsets.h Signed-off-by: Sam Ravnborg commit 39e01cb874cbf694bd0b0c44f54c4f270e2aa556 Author: Sam Ravnborg Date: Fri Sep 9 22:03:13 2005 +0200 kbuild: ia64 use generic asm-offsets.h support Delete obsolete stuff from arch Makefile Rename file to asm-offsets.h The trick used in the arch Makefile to circumvent the circular dependency is kept. Signed-off-by: Sam Ravnborg commit fb61a8615fce15f30b1bb1cf265ed05e251b9ed8 Author: Sam Ravnborg Date: Fri Sep 9 21:39:46 2005 +0200 kbuild: v850 use generic asm-offsets.h support Deleted obsolete stuff from arch makefile Renamed .c file to asm-offsets.h Fix include of asm-offsets.h to use new name Signed-off-by: Sam Ravnborg commit e2d5df935d8a82cb7a2c50726628fa928aa89b9b Author: Sam Ravnborg Date: Fri Sep 9 21:28:48 2005 +0200 kbuild: alpha,x86_64 use generic asm-offsets.h support Delete obsolete stuff from arch makefiles Rename .h file to asm-offsets.h Signed-off-by: Sam Ravnborg commit e6ae744dd2eae8e00af328b11b1fe77cb0931136 Author: Sam Ravnborg Date: Fri Sep 9 21:08:59 2005 +0200 kbuild: arm - use generic asm-offsets.h support Delete obsoleted stuff from arch Makefile and rename constants.h to asm-offsets.h Signed-off-by: Sam Ravnborg commit 0013a85454c281faaf064ccb576e373a2881aac8 Author: Sam Ravnborg Date: Fri Sep 9 20:57:26 2005 +0200 kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support Delete obsoleted parts form arch makefiles and rename to asm-offsets.h Signed-off-by: Sam Ravnborg commit 47003497dd819b10874a2291e54df7dc5cf8be57 Author: Sam Ravnborg Date: Fri Sep 9 20:35:55 2005 +0200 kbuild: arm26,sparc use generic asm-offset support Rename all includes to use asm-offsets.h to match generic name Signed-off-by: Sam Ravnborg commit cca6e6f5f473ec63e85c87dfc77279ce1ca114e6 Author: Sam Ravnborg Date: Fri Sep 9 20:28:49 2005 +0200 kbuild: h8300,m68knommu,sh,sh64 use generic asm-offsets.h support h8300, m68knommu, sh and sh64 all used the name asm-offsets.h so minimal changes required. Signed-off-by: Sam Ravnborg commit 144a50ea5e1487b8b8e722289b4177713354448a Author: Dave Jones Date: Tue Aug 9 00:20:10 2005 -0400 [PATCH] must_check attributes for PCI layer. Self explanatory really. Some newer gcc's print a warning if a function is used and we don't check its result. We do this for a bunch of things in the kernel already, this extends that to the PCI layer. Based on a patch originally from Arjan van de Ven. Signed-off-by: Dave Jones Signed-off-by: Arjan van de Ven Signed-off-by: Greg Kroah-Hartman commit 7bcf5c0e7fd9ab4ddb9e24d7e91bda2ac23e5678 Author: Greg Kroah-Hartman Date: Thu Aug 18 14:33:01 2005 +1000 [PATCH] PCI: move pci core to use add_hotplug_env_var() This fixes a bug in the environment variables for all PCI device hotplug calls. Thanks to Kay Sievers for pointing out the problem. Signed-off-by: Greg Kroah-Hartman commit daad56661d56cc382948fc95b74e17d3326b901b Author: Richard Purdie Date: Fri Sep 9 18:54:04 2005 +0100 [ARM] 2894/1: Sharp Scoop driver pm_message_t type fix Patch from Richard Purdie Fix a pm_message_t type warning in the Sharp scoop driver Signed-off-by: Richard Purdie Signed-off-by: Russell King commit aa6c2e794f7e1f54dc52c84471c750327fa21ccd Author: Richard Purdie Date: Fri Sep 9 18:54:03 2005 +0100 [ARM] 2893/1: [MMC] Update corgi to use the new mmc delayed detection function Patch from Richard Purdie We can remove this timer and its associated code from the corgi platform code now mmc_detect_change() and the pxamci code support an optional delay. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit 5dce225bd9ea60e28e17076de63df0dee51b2883 Author: viro@ZenIV.linux.org.uk Date: Fri Sep 9 18:31:38 2005 +0100 [PATCH] Fix CONFIG_ACPI_BLACKLIST_YEAR This makes ACPI_BLACKLIST_YEAR be consistently defined when ACPI is enabled, regardless of whether we're on x86 or not, and thus avoids bogus -Wundef warnings on ia64. Signed-off-by: Linus Torvalds commit 0b968d23610d65a46299347b141a687e207bd294 Author: Karsten Wiese Date: Fri Sep 9 12:59:04 2005 +0200 [PATCH] Fix misspelled i8259 typo in io_apic.c The legacy PIC's name is "i8259". Signed-off-by: Karsten Wiese Signed-off-by: Vojtech Pavlik Signed-off-by: Linus Torvalds commit 9b9eb8c06177f07657ad35440b56cbf68e1d253b Author: Russell King Date: Fri Sep 9 18:35:12 2005 +0100 [ARM] sys_mbind needs wrapping sys_mbind is a 6-arg syscall, hence needs wrapping to save the sixth argument. Signed-off-by: Russell King commit fc0b1af2571cd56f8f2b218ef72b911135c0e37a Author: viro@ZenIV.linux.org.uk Date: Fri Sep 9 17:18:14 2005 +0100 [PATCH] __user annotations for pointers in i386 sigframe Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 85c39206ac556c9dd7345465ea5265c1f33e50d1 Author: viro@ZenIV.linux.org.uk Date: Fri Sep 9 17:15:13 2005 +0100 [PATCH] uaccess.h annotations (uml) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 2624f124b3b5d550ab2fbef7ee3bc0e1fed09722 Author: viro@ZenIV.linux.org.uk Date: Fri Sep 9 17:14:12 2005 +0100 [PATCH] sparse on uml (infrastructure bits) Passes -m64 to sparse on uml/amd64, tells sparse to stay out of USER_OBJS. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit f91f4d923f4039bf3460eca299ed5a3f7ecd7b96 Author: viro@ZenIV.linux.org.uk Date: Fri Sep 9 17:02:51 2005 +0100 [PATCH] gratuitous includes of asm/serial.h Removed gratuitous includes of asm/serial.h in synklinkmp and ip2main. Allows to remove the rest of "broken on sparc32" in drivers/char - this stuff doesn't break the build anymore. Since it got zero testing, it almost certainly won't work there, though... Signed-off-by: Al Viro Acked-by: Russell King Signed-off-by: Linus Torvalds commit d310a35a487388859432648daa2ea4fc5e51c049 Author: viro@ZenIV.linux.org.uk Date: Fri Sep 9 16:56:05 2005 +0100 [PATCH] missing CHECKFLAGS on s390 Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 3f70353ea91ad77c83500e70507a239b2ab0c980 Author: viro@ZenIV.linux.org.uk Date: Fri Sep 9 16:53:56 2005 +0100 [PATCH] bogus cast in bio.c void * is not the same as void *... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 6c9afc655d4df902211d00a437e893881cdef588 Author: viro@ZenIV.linux.org.uk Date: Fri Sep 9 16:50:43 2005 +0100 [PATCH] basic iomem annotations (ppc64) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 86feeaa8120bb1b0ab21efed49e9754039395ef1 Author: Sam Ravnborg Date: Fri Sep 9 19:28:28 2005 +0200 kbuild: full dependency check on asm-offsets.h Building asm-offsets.h has been moved to a seperate Kbuild file located in the top-level directory. This allow us to share the functionality across the architectures. The old rules in architecture specific Makefiles will die in subsequent patches. Furhtermore the usual kbuild dependency tracking is now used when deciding to rebuild asm-offsets.s. So we no longer risk to fail a rebuild caused by asm-offsets.c dependencies being touched. With this common rule-set we now force the same name across all architectures. Following patches will fix the rest. Signed-off-by: Sam Ravnborg commit 2fd9d74b35efa9823f1f7d34cb421e2b9eee9650 Author: Brett M Russ Date: Fri Sep 9 10:02:22 2005 -0700 [PATCH] PCI: PCI/libata INTx bug fix Previous INTx cleanup patch had a bug that was not caught. I found this last night during testing and can confirm that it is now 100% working. Signed-off-by: Brett Russ Signed-off-by: Greg Kroah-Hartman Acked-by: Jeff Garzik Signed-off-by: Linus Torvalds commit e91442b635be776ea205fba233bdd5bc74b62bc3 Author: James Bottomley Date: Fri Sep 9 10:44:16 2005 -0500 [SCSI] SCSI core: fix leakage of scsi_cmnd's From: Alan Stern This patch (as559b) adds a new routine, scsi_unprep_request, which gets called every place a request is requeued. (That includes scsi_queue_insert as well as scsi_requeue_command.) It also changes scsi_kill_requests to make it call __scsi_done with result equal to DID_NO_CONNECT << 16. (I'm not sure if it's necessary to call scsi_init_cmd_errh here; maybe you can check on that.) Finally, the patch changes the return value from scsi_end_request, to avoid returning a stale pointer in the case where the request was requeued. Fortunately the return value is used in only place, and the change actually simplified it. Signed-off-by: Alan Stern Rejections fixed up and Signed-off-by: James Bottomley commit 286f3e13a1dc7f32407629fbd7aabc8ea78c62b5 Author: Neil Brown Date: Fri Sep 2 13:13:54 2005 +1000 [SCSI] fix possible deadlock in scsi_lib.c If a filesystem, while writing out data, decides that it is good to issue a cache flush on a SCSI drive (or other 'sd' device), it will call blkdev_issue_flush which calls ->issue_flush_fn which is scsi_issue_flush_fn. This calls sd_issue_flush which calls sd_sync_cache, which calls scsi_execute_request. This will (as sshdr != NULL) call kmalloc(SCSI_SENSE_BUFFERSIZE, GFP_KERNEL) If memory is tight, the presence of GFP_KERNEL may cause write requests to be sent to some filesystem to free up memory, however if that filesystem is waiting for the issue_flush_fn to complete, you could get a deadlock. I wonder if it might be more appropriate to use GFP_NOIO as in the following patch. I wonder if it might be even more appropriate to cope better with a kmalloc failure, especially as in this use, sd_sync_cache only will use the sense information to print out a more informative error message. Signed-off-by: Neil Brown Signed-off-by: James Bottomley commit 903f4fed858a7b56b260cbd55d174fe54d188fb7 Author: Alan Stern Date: Tue Jul 26 10:20:53 2005 -0400 [SCSI] fix callers of scsi_remove_device() who already hold the scan muted This patch (as544) adds a private entry point to scsi_remove_device, for use when callers already own the scan_mutex. The appropriate callers are modified to use the new entry point. Signed-off-by: Alan Stern Signed-off-by: James Bottomley commit e517d3133f62c27b211f305a6dbd6f6ccac0db1b Author: Alan Stern Date: Tue Jul 26 10:18:45 2005 -0400 [SCSI] add missing scan mutex to scsi_scan_target() This patch (as543) adds a private entry point to scsi_scan_target, for use when the caller already owns the scan_mutex, and updates the kerneldoc for that routine (which was badly out-of-date). It converts scsi_scan_channel to use the new entry point. Lastly, it modifies scsi_get_host_dev to make it acquire the scan_mutex, necessary since the routine adds a new scsi_device even if it doesn't do any actual scanning. Signed-off-by: Alan Stern Signed-off-by: James Bottomley commit 6f0d618f0e9b8025d1c3531e82d7cc8455e79394 Author: Russell King Date: Fri Sep 9 16:17:58 2005 +0100 [SERIAL] Spelling fix in 8250.c Signed-off-by: Russell King commit 35efb606e544403835df48cd240441a8e089c80b Author: Russell King Date: Fri Sep 9 15:57:17 2005 +0100 [ARM] Fix typo in arch/arm/Kconfig.debug It's called printch, not printchar Signed-off-by: Russell King commit b2ad7b5e8115582cdf5bbda065aa516c24d62c21 Author: Paul Mackerras Date: Fri Sep 9 23:02:36 2005 +1000 Allow PCI config space syscalls to be used by 64-bit processes. The pciconfig_iobase, pciconfig_read and pciconfig_write system calls were only implemented for 32-bit processes; for 64-bit processes they returned an ENOSYS error. This allows them to be used by 64-bit processes as well. The X server uses pciconfig_iobase at least, and this change is necessary to allow a 64-bit X server to work on my G5. Signed-off-by: Paul Mackerras commit 766375362a1dcac63dc0c0fb61ce4143c8de63d9 Author: Arthur Othieno Date: Sat Aug 20 21:48:47 2005 -0400 [PATCH] ppc64: Big-endian I/O memory accessors. I/O memory accessors. Big-endian version. For those busses/devices that do export big-endian I/O memory. Of notable relevance/reference: http://lwn.net/Articles/132804/ http://ozlabs.org/pipermail/linuxppc-embedded/2005-August/019798.html http://ozlabs.org/pipermail/linuxppc-embedded/2005-August/019752.html Signed-Off-By: Arthur Othieno Signed-off-by: Paul Mackerras commit 1635317facea3094ddf34082cd86797efb1d9f7e Author: Paul Mackerras Date: Tue Sep 6 13:17:54 2005 +1000 [PATCH] Separate pci bits out of struct device_node This patch pulls the PCI-related junk out of struct device_node and puts it in a separate structure, struct pci_dn. The device_node now just has a void * pointer in it, which points to a struct pci_dn for nodes that represent PCI devices. It could potentially be used in future for device-specific data for other sorts of devices, such as virtual I/O devices. Signed-off-by: Paul Mackerras commit b28d2582ce8aafe531d909bb9c4dcf29189e786e Author: Kumar Gala Date: Wed Aug 24 11:56:56 2005 -0500 [PATCH] ppc64: remove use of asm/segment.h Remove asm-ppc64/segment.h now that all users are gone. Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 3cc747e96480d4e26560e5bc59f2b9c9204ade0e Author: Mark Bellon Date: Tue Sep 6 15:50:02 2005 -0700 [PATCH] PPC64: large INITRD causes kernel not to boot In PPC64 there are number of problems in arch/ppc64/boot/main.c that prevent a kernel from making use of a large (greater than ~16MB) INITRD. This is 64 bit architecture and really large INITRD images should be possible. Simply put the existing code has a fixed reservation (claim) address and once the kernel plus initrd image are large enough to pass this address all sorts of bad things occur. The fix is the dynamically establish the first claim address above the loaded kernel plus initrd (plus some "padding" and rounding). If PROG_START is defined this will be used as the minimum safe address - currently known to be 0x01400000 for the firmwares tested so far. Signed-off-by: Mark Bellon Signed-off-by: Paul Mackerras commit f9526785d8a03fd0e21f9cfc951adc03bde1c395 Author: jdl@freescale.com Date: Thu Sep 8 14:05:49 2005 -0500 [PATCH] powerpc: Fix __power64__ typos that should be __powerpc64__ Fix __power64__ typo that should be __powerpc64__ instead. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit e4df7671716f1fffb3437a7c1a14e3d2465fefef Author: Geoff Levand Date: Wed Aug 10 17:57:42 2005 -0700 [PATCH] ppc64: makefile cleanup This patch cleans up the output generated by ppc64 builds. Signed-off-by: Geoff Levand Signed-off-by: Paul Mackerras commit a24c8481b6439cb151a4750cc278ea2df4fb0e53 Author: Geoff Levand Date: Mon Aug 15 13:59:13 2005 -0700 [PATCH] ppc64: zimage build fix Signed-off-by: Geoff Levand Signed-off-by: Paul Mackerras commit dd56fdf23dfa0127d512b73d4238dbd2b5a7c1eb Author: jdl@freescale.com Date: Wed Sep 7 15:59:48 2005 -0500 [PATCH] powerpc: Merge a few more include files Merge a few asm-ppc and asm-ppc64 header files. Note: the merge of setup.h intentionally does not carry forward the m68k cruft. That means this patch continues to break the already broken amiga on the ppc32. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 64807081e38703617cf9a5d71db14ea2b3e1cb04 Author: jdl@freescale.com Date: Wed Sep 7 15:56:20 2005 -0500 [PATCH] powerpc: Make check_bugs() static inline Make check_bugs() static inline and remove it from syscalls.c. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit a37c8875a764b4decf941859f4a2c63e1e86c8fa Author: jdl@freescale.com Date: Wed Sep 7 15:27:09 2005 -0500 [PATCH] powerpc: Standardize on _ASM_POWERPC header symbol prefix Standardize on _ASM_POWERPC_... prefix for all #include exclusion symbols. Fixup all the non-compilers. Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala Signed-off-by: Paul Mackerras commit 38c0ff06d5ba05b6fbf18652c49747ad320aaeb0 Author: Stephen Rothwell Date: Wed Sep 7 19:52:38 2005 +1000 [PATCH] ppc64: iSeries early printk breakage The earlier commit 8d9273918635f0301368c01b56c03a6f339e8d51 (Consolidate early console and PPCDBG code) broke iSeries because it caused unregister_console(&udbg_console) to be called unconditionally. iSeries never registers the udbg_console. This just reverts part of the change. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras commit 34b5233f379847097a1925a02b62f129c407c1e4 Author: Michael Ellerman Date: Tue Sep 6 21:00:02 2005 +1000 [PATCH] ppc64: Fix oops for !CONFIG_NUMA The SPARSEMEM EXTREME code (802f192e4a600f7ef84ca25c8b818c8830acef5a) that went in yesterday broke PPC64 for !CONFIG_NUMA. The problem is that (free|reserve)_bootmem don't take a page number as their first argument, they take an address. Ruh roh. Booted on P5 LPAR, iSeries and G5. Signed-off-by: Michael Ellerman Signed-off-by: Paul Mackerras commit a84195f36e373001e6eed2e95a5dc1994cf30480 Author: Arnd Bergmann Date: Thu Aug 18 19:35:21 2005 +0200 [PATCH] ppc64: fix IPI on bpa_iic This fixes a severe bug in the bpa_iic driver that caused all sorts of problems. We had been using incorrect priority values for inter processor interrupts, which resulted in always doing CALL_FUNCTION instead of RESCHEDULE or DEBUGGER_BREAK. The symptoms cured by this patch include bad performance on SMP systems spurious kernel panics in the IPI code. Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras commit 9c2c389307c03a35672c80725ccf7968656d87ef Author: Russell King Date: Fri Sep 9 11:12:51 2005 +0100 [ARM] Add memory type based allocation syscalls Add syscall numbers and syscall table entries for mbind, set_mempolicy and get_mempolicy. Signed-off-by: Russell King commit 59725dc2a2e86a03bbf97976ede3bdc6f95bba92 Author: Arnaldo Carvalho de Melo Date: Fri Sep 9 02:40:58 2005 -0300 [CCID3] Introduce ccid3_hc_[rt]x_sk() for overal consistency Signed-off-by: Arnaldo Carvalho de Melo commit b0e567806d16586629468c824dfb2e71155df7da Author: Arnaldo Carvalho de Melo Date: Fri Sep 9 02:38:35 2005 -0300 [DCCP] Introduce dccp_timestamp To start the timestamps with 0.0ms, easing the integer maths in the CCIDs, this probably will be reworked to use the to be introduced struct timeval_offset infrastructure out of skb_get_timestamp, etc. Signed-off-by: Arnaldo Carvalho de Melo commit 954ee31f366fabe53fb450482789258fe552f40b Author: Arnaldo Carvalho de Melo Date: Fri Sep 9 02:37:05 2005 -0300 [CCID3] Initialize more fields in ccid3_hc_rx_init The initialization of ccid3hcrx_rtt to 5ms is just a bandaid, I'll continue auditing the CCID3 HC rx codebase to fix this properly, probably I'll add a feedback timer as suggested in the CCID3 draft. Signed-off-by: Arnaldo Carvalho de Melo commit b3a3077d963fc54a25be26e2e84fe9f4327c1e12 Author: Arnaldo Carvalho de Melo Date: Fri Sep 9 02:34:10 2005 -0300 [CCID3] Make the ccid3hcrx_rtt calc look more like the ccid3hctx_rtt one Signed-off-by: Arnaldo Carvalho de Melo commit 1a28599a2c2781dd6af72f4f84175e2db74d3bb1 Author: Arnaldo Carvalho de Melo Date: Fri Sep 9 02:32:56 2005 -0300 [CCID3] Use ELAPSED_TIME in the HC TX RTT estimation Signed-off-by: Arnaldo Carvalho de Melo commit 1c14ac0ae8eb62cbb40af1e31b156994c7d7d3d5 Author: Arnaldo Carvalho de Melo Date: Fri Sep 9 02:32:01 2005 -0300 [DCCP] Give precedence to the biggest ELAPSED_TIME We can get this value in an TIMESTAMP_ECHO and/or in an ELAPSED_TIME option, if receiving both give precendence to the biggest one. In my tests they are very close if not equal at all times, so we may well think about removing the code in CCID3 that inserts this option and leaving this to the core, and perhaps even use just TIMESTAMP_ECHO including the elapsed time. Signed-off-by: Arnaldo Carvalho de Melo commit 27ae543e6f116df66e2b19ff0a3aa1053e4784d8 Author: Arnaldo Carvalho de Melo Date: Fri Sep 9 02:31:07 2005 -0300 [CCID3] Calculate ccid3hcrx_x_recv using usecs_div Signed-off-by: Arnaldo Carvalho de Melo commit 507d37cf269ebbd1b32bcc435fe577e411f73151 Author: Arnaldo Carvalho de Melo Date: Fri Sep 9 02:30:07 2005 -0300 [CCID] Only call the HC insert_options methods when requested Signed-off-by: Arnaldo Carvalho de Melo commit 0ba7a3ba6608de6e0c0bfe3009a63d7e0b7ab0ce Author: Arnaldo Carvalho de Melo Date: Fri Sep 9 02:28:47 2005 -0300 [CCID3] Avoid unsigned integer overflows in usecs_div Signed-off-by: Arnaldo Carvalho de Melo commit 8add788574694c5aed04fcb281a5c999e40cd8f6 Author: Jeff Garzik Date: Thu Sep 8 23:07:29 2005 -0400 [libata] minor fixes * sata_mv: remove pci_intx(), now that the same function is in PCI core * sata_sis: fix variable initialization bug, trim trailing whitespace commit c9fc0d6a6901e7f06c6bbd0061e503d96464266d Author: Nathan Scott Date: Fri Sep 9 11:38:09 2005 +1000 [XFS] Revert recent quota Makefile change, not in a fit state for merging. Signed-off-by: Nathan Scott commit 03981f2427c767cfcd917cb51197c43fe68ba5db Author: Greg Ungerer Date: Fri Sep 9 09:32:14 2005 +1000 [PATCH] m68knommu: extract common timer code for 68EZ328 processor Rework the 68x328 configuration and setup code. All 68x328 varients share the same timer hardware. So extract that into its own file, instead of keeping copies in each processors setup code. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit d9b9d5ddb827dc36cc1f7214f5818640e1bc22d5 Author: Greg Ungerer Date: Fri Sep 9 09:32:14 2005 +1000 [PATCH] m68knommu: include ColdFire 523x processor register definitions Include the ColdFire 523x register definitions when compiling for that target processor. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 75003c4812ae23a8a99e9921bbe66ffb0e784c8e Author: Greg Ungerer Date: Fri Sep 9 09:32:14 2005 +1000 [PATCH] m68knommu: create common timer code for 68x328 processor varients Create common timer code for all 68x328 processor varients. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit a79626604bc044cec30bfc6cc3332007588e1a94 Author: Greg Ungerer Date: Fri Sep 9 09:32:14 2005 +1000 [PATCH] m68knommu: register map setup for MOD5272 board The boot loader on the MOD5272 board doesn't set the register maping, so set it in the 5272 init code. There was code in there to support this, but we had never needed to use it before. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit a052b7affc193a7937e6791d262addcb82654d5f Author: Greg Ungerer Date: Fri Sep 9 09:32:14 2005 +1000 [PATCH] m68knommu: add timer support for the 523x ColdFire processor family Add timer support for the ColdFire 523x processor family. (It uses the ColdFire PIT timer hardware, so we just build that in). Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 7dbdd91fe67e3cd28af36d3853df38b92deec711 Author: Greg Ungerer Date: Fri Sep 9 09:32:14 2005 +1000 [PATCH] m68knommu: include support for the ColdFire 523x processor UARTs Add support definitions for the integrated UARTs on the 523x ColdFire processor family. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit ee721126cae77e66efb470d38cf971ed7b0c506b Author: Greg Ungerer Date: Fri Sep 9 09:32:14 2005 +1000 [PATCH] m68knommu: extract common timer code for 68328 processor Rework the 68x328 configuration and setup code. All 68x328 varient share the same timer hardware, so extract that into its own file, instead of keeping copies in each processors setup code. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 8c2b58ce716112cbba167b0abcb9558c118b8c9a Author: Greg Ungerer Date: Fri Sep 9 09:32:14 2005 +1000 [PATCH] m68knommu: create common config code for all 68VZ328 platforms Create common 68VZ328 config code. It is essentially the same for all boards that use this, so no point having a version of it for each. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 55f37debf75f34e4fdd42ea1a81c1cea60c7ad9f Author: Greg Ungerer Date: Fri Sep 9 09:32:14 2005 +1000 [PATCH] m68knommu: remove DrangonEngine2 specific config code Remove DragonEngine2 specific config code. Use common 68VZ328 config code now. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 58201a2d03272b99bdbb5090c0aca517db0702a7 Author: Greg Ungerer Date: Fri Sep 9 09:32:14 2005 +1000 [PATCH] m68knommu: remove uCdimm specific config code Remove uCdimm specific config code. Use common 68VZ328 config code now. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 97591b2c76e3a11d6060b72aa53dc30d3d5478c5 Author: Greg Ungerer Date: Fri Sep 9 09:32:14 2005 +1000 [PATCH] m68knommu: 523x ColdFire processor init/config Makefile Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 1bdd89db117a55c77a854829ff507d6d68ab6485 Author: Greg Ungerer Date: Fri Sep 9 09:32:14 2005 +1000 [PATCH] m68knommu: defines to support the ColdFire 523x processor Add processor level and clock support defines for the ColdFire 523x processor. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit 910ce396a88b84b99377f7c46888a1ff9a86ded3 Author: Greg Ungerer Date: Fri Sep 9 09:32:14 2005 +1000 [PATCH] m68knommu: ColdFire 523x processor register definitions ColdFire 523x processor hardware register definitions. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds commit b71e318cdb1dc301d734fdd4983dfc6dc167235a Author: Henk Date: Wed Aug 17 10:40:26 2005 +0200 [PATCH] USB: yealink: fix htons usage, documentation updates Signed-off-by: Henk Vergonet Signed-off-by: Greg Kroah-Hartman commit d5ae36dd439549305f00a755556f49c9fa7bb237 Author: Greg Kroah-Hartman Date: Tue Aug 16 12:33:30 2005 -0700 [PATCH] USB: fix endian issues in yealink driver. sparse still complains about the htons usage, but I'll leave that for others to fix. Signed-off-by: Greg Kroah-Hartman commit aca951a22a1d93ebe31b54052b3eb9a8196df2fc Author: Henk Date: Tue Aug 16 16:17:43 2005 +0200 [PATCH] input-driver-yealink-P1K-usb-phone This patch aggregates all modifications in the -mm tree and adds complete ringtone support. The following features are supported: - keyboard full support - LCD full support - LED full support - dialtone full support - ringtone full support - audio playback via generic usb audio diver - audio record via generic usb audio diver For driver documentation see: Documentation/input/yealink.txt For vendor documentation see: http://yealink.com Signed-off-by: Henk Signed-off-by: Greg Kroah-Hartman commit d6450e19329c85ac4888c185429094236a650928 Author: Nick Sillik Date: Wed Aug 17 13:37:34 2005 -0400 [PATCH] USB Storage: code cleanups for onetouch.c As sugested by Alan Stern here are a few code cleanups for onetouch.c: -Check number of endpoints before directly referencing intf->endpoint[2] -Use defined constants instead of magic numbers -Revmove the non-ascii characters from copyright notice -Make registration and deregistration messages more similar Signed-off-by: Nick Sillik Signed-off-by: Greg Kroah-Hartman commit 0256839619d9b1e933cafc83e7f0deaad4216465 Author: Pete Zaitcev Date: Mon Aug 15 16:53:57 2005 -0700 [PATCH] usbmon in 2.6.13: peeking into DMA areas This code looks at urb->transfer_dma, maps the page and takes the data. I am looking for volunteers to contribute architectures other than i386 or to develop an architecure-neutral API for it (or point me that it was done already). Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit d0384200f6b608e77fb5ddf7dfae1bf0e42c1c6e Author: david-b@pacbell.net Date: Sat Aug 13 18:44:58 2005 -0700 [PATCH] ehci: add tt_usecs This adds the field tt_usecs to ehci_qh and ehci_iso_stream, and sets it appropriately when setting them up as periodic endpoints. It records the transation translator's think_time (added in last patch) plus the downstream (i.e. low or full speed) bustime of the transfer associated with each interrupt or iso frame, as calculated by usb_calc_bus_time. Signed-off-by: Dan Streetman Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit e09711aef4180002241c7f2eab37390ddf40d6a0 Author: david-b@pacbell.net Date: Sat Aug 13 18:41:04 2005 -0700 [PATCH] ehci: add think_time This adds think_time to the usb_tt struct and sets it appropriately (measured in ns); this can help us implement better split transaction scheduling. Signed-off-by: Dan Streetman Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a Author: David Brownell Date: Wed Aug 31 09:54:50 2005 -0700 [PATCH] USB: usbnet (9/9) module for pl2301/2302 cables This wraps up the conversion of the "usbnet" driver structure, by moving the Prolific PL-2201/2302 minidriver to a module of its own. It also includes some minor cleanups to the remaining "usbnet" file, notably removing that long changelog at the top. Minor historical note: Linux 2.2 first called the driver for this hardware "plusb". Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 64e049102d3de3e61409cb6019403a9e689dfda6 Author: David Brownell Date: Wed Aug 31 09:54:36 2005 -0700 [PATCH] USB: usbnet (8/9) module for RNDIS devices This adds host-side RNDIS support to the "usbnet" driver, so Linux can talk to various devices (often based on WinCE) that otherwise only Windows could talk to. Tested with little-endian Linux talking to a Linux-USB Ethernet/RNDIS based peripheral. This also includes updates from Eddie C. Dost for big-endian SPARC Linux talking to a Nokia 9500 Communicator. It's still marked as EXPERIMENTAL because this code is so young. This ought to let Linux to work with various cable modems that previously would have been "Windows Only". Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 4324fd493430c0ab99dd7e89d50540b5e70f8098 Author: David Brownell Date: Wed Aug 31 09:54:20 2005 -0700 [PATCH] USB: usbnet (7/9) module for CDC Ethernet Makes the CDC Ethernet support live in a separate driver module. This module is a bit special since it exports utility functions that are reused by the the Zaurus and RNDIS drivers, but it's not "core" like usbnet itself. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 0aa599c5644fddd3052433c5335260108a8a39a2 Author: David Brownell Date: Wed Aug 31 09:53:58 2005 -0700 [PATCH] USB: usbnet (6/9) module for Zaurii and compatibles This moves usbnet support for Zaurus and compatibles into its own module. Other than exporting a couple of helper functions, this just involved shuffling some code and updating the comments. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 47ee3051c856cc2aa95d35d577a8cb37279d540f Author: David Brownell Date: Wed Aug 31 09:53:42 2005 -0700 [PATCH] USB: usbnet (5/9) module for genesys gl620a cables This moves the GeneSys GL620USB-A support into its own driver file. It also fixes a "return wrong skb" glitch in the rx unbatching, as recently reported, and adds some missing byteswaps in the special "genelink" headers (so it might now work on big-endian Linux). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 904813cd8a0b334189da285bb05af0b18b062502 Author: David Brownell Date: Wed Aug 31 09:53:26 2005 -0700 [PATCH] USB: usbnet (4/9) module for net1080 cables As with the "cdc_subset" and "asix" drivers, this just moves the net1080 support into its one driver module. In this case there's a small bit of extra cleanup involved, moving some funky framing logic into the tx_fixup() routine (resolving a long overdue FIXME). Minor historical note: "usbnet" started out as "net1080", then got generalized to make it easier for other network drivers to reuse the urb queueing and fault management code here. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 2e55cc7210fef90f88201e860d8767594974574e Author: David Brownell Date: Wed Aug 31 09:53:10 2005 -0700 [PATCH] USB: usbnet (3/9) module for ASIX Ethernet adapters This patch moves the ASIX AX8817x driver into its own file, just using the "usbnet" infrastructure as a utility library. - As with "cdc_subset" this involved minor Kconfig/kbuild tweaks, moving code from one file to another, and exporting a few functions. - This includes updates from Jamie Painter to add (and use) a new hook to handle the different maximum transfer sizes for rx and tx sides. - Also from Jamie, some bugfixes: * MDIO byteorder (to address some PPC media negotiation problems); * Force alignment at key spots when using ax88772 framing (on some embedded hardware, the network stack will break otherwise); * Address some link reset problems. It also makes this driver use the standard (5 seconds vs half second) control timeouts used elsewhere in USB; and wraps a few lines before the 80th column (which previously needed it). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 38bde1d4699af45e6a4167a72e2e512e45c35ca8 Author: David Brownell Date: Wed Aug 31 09:52:45 2005 -0700 [PATCH] USB: usbnet (2/9) module for simple network links This patch creates the first of several separate "minidriver" modules for "usbnet". This one handles only the very simplest hardware, which can be handled almost entirely by the "usbnet" core. - Move device-specific bits into new "cdc_subset.c" driver, shrinking "usbnet" by a bunch; - Export the functions needed to support this minidriver (with EXPORT_SYMBOL_GPL); - Update Kconfig and kbuild accordingly. This one handles about a dozen different device types, with the most notable ones being Gumstix and most Linux-based PDAs (except Zaurus running that ancient code from Sharp). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit f29fc259976e9f4dd1fe8ed59ccdd50e4ea61db0 Author: David Brownell Date: Wed Aug 31 09:52:31 2005 -0700 [PATCH] USB: usbnet (1/9) clean up framing This starts to prepare the core of "usbnet" to know less about various framing protocols that map Ethernet packets onto USB, so "minidrivers" can be modules that just plug into the core. - Remove some framing-specific code that cluttered the core: * net->hard_header_len records how much space to preallocate; now drivers that add their own framing (Net1080, GeneLink, Zaurus, and RNDIS) will have smoother TX paths. Even for the drivers (Zaurus, Net1080) that need trailers. * defines new dev->hard_mtu, using this "hardware" limit to check changes to the link's settable "software" mtu. * now net->hard_header_len and dev->hard_mtu are set up in the driver bind() routines, if needed. - Transaction ID is no longer specific to the Net1080 framing; RNDIS needs one too. - Creates a new "usbnet.h" header with declarations that are shared between the core and what will be separate modules. - Plus a couple other minor tweaks, like recognizing -ESHUTDOWN means the keventd work should just shut itself down asap. The core code is only about 1/3 of this large file. Splitting out the minidrivers into separate modules (e.g. ones for ASIX adapters, Zaurii and similar, CDC Ethernet, etc), in later patches, will improve maintainability and shrink typical runtime footprints. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit dd7d50081f5dafd9392bd79f1ec90d553a7303c9 Author: Alexey Dobriyan Date: Sun Aug 14 17:24:26 2005 +0400 [PATCH] USB ldusb: fmt warnings fixes for 64-bit platforms Fix drivers/usb/misc/ldusb.c: In function `ld_usb_read': drivers/usb/misc/ldusb.c:467: warning: int format, different type arg (arg 4) drivers/usb/misc/ldusb.c: In function `ld_usb_write': drivers/usb/misc/ldusb.c:531: warning: int format, different type arg (arg 4) drivers/usb/misc/ldusb.c:532: warning: int format, different type arg (arg 5) drivers/usb/misc/ldusb.c:532: warning: int format, different type arg (arg 6) Signed-off-by: Alexey Dobriyan Signed-off-by: Greg Kroah-Hartman commit 9bc45e0c01ae268ad5f9e6d35492bbd8197e32f2 Author: Adrian Bunk Date: Sun Aug 14 13:00:58 2005 +0200 [PATCH] USB: schedule OSS USB drivers for removal Deprecate the OSS USB drivers. This patch includes spelling fixes by Lee Revell. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 4fbd55f03e294d18bd7a5c4c98974e157f6f84e7 Author: Dale Farnsworth Date: Wed Aug 10 17:25:25 2005 -0700 [PATCH] USB: remove include of asm/usb.h in ohci-ppc-soc.c ohci-ppc-soc.c provides for a platform-specific callback mechanism for when the HC is successfully probed or removed. It turned out that none of the 3 platforms using it need this facility. Also the required include/asm-ppc/usb.h has never been accepted. This patch removes the callback feature and the include of . Signed-off-by: Dale Farnsworth Signed-off-by: Greg Kroah-Hartman commit 8f34c2883b894b9a97f07b23b5b86fd65ecd2f85 Author: david-b@pacbell.net Date: Thu Aug 11 19:36:36 2005 -0700 [PATCH] USB: remove annoying message Avoid an annoying message that can appear if devices are disconnected in the middle of a USB scatterlist operation. Message noted in http://bugzilla.kernel.org/show_bug.cgi?id=4373 (but the real issue there seems to be a SCSI level hang). Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit f956e7cd9ac4618b98022020e638bbdc01d9d65a Author: david-b@pacbell.net Date: Thu Aug 11 19:37:01 2005 -0700 [PATCH] USB: tweak highspeed timing calculations Use a more correct calculation for highspeed bit times. http://bugzilla.kernel.org/show_bug.cgi?id=3604 This sort if thing might start to make a difference now that the high speed periodic scheduler is more complete -- and even getting used. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 3b4d7f79164853e10342d707e32307e0c8054982 Author: Alan Stern Date: Thu Aug 11 15:50:32 2005 -0400 [PATCH] USB: Support unbinding of the usb_generic driver This patch (as556) adds support for unbinding the usb_generic "driver". That driver only binds to USB devices, as opposed to interfaces, and it does nothing much besides marking which struct device's go with an overall USB device plus providing suspend/resume methods. Now that users can unbind drivers at will using the sysfs "unbind" attribute, we need a rational way of dealing with USB devices that are no longer under full control of the USB stack. The patch handles this by unconfiguring the device, thereby removing all the interfaces and their associated drivers and children. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 3ea15966ed59f2bc20928c7b0496b4585f6de206 Author: Alan Stern Date: Thu Aug 11 10:15:39 2005 -0400 [PATCH] USB: Add timeout to usb_lock_device_for_reset This patch (as555) modifies the already-awkward usb_lock_device_for_reset routine in usbcore by adding a timeout. The whole point of the routine is that the caller wants to acquire some semaphores in the wrong order; protecting against the possibility of deadlock by timing out seems only prudent. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit e52b1d3afe698cb77c080ecbe9e745257ff8c81b Author: Dale Farnsworth Date: Tue Aug 9 12:13:35 2005 -0700 [PATCH] USB: Fix typo in ohci-ppc-soc.c: usb_hcd_put => usb_put_hcd Signed-off-by: Dale Farnsworth Signed-off-by: Greg Kroah-Hartman commit ba44e7c407e248ed85d4f510728d0284373cf678 Author: Ben Dooks Date: Tue Aug 9 15:04:00 2005 +0100 [PATCH] USB: S3C24XX port numbering fix Fix the port numbering confusion for the S3C24XX platform device information as reported by Rudy This patch ensurs that the the ports are numbered 0 and 1. Signed-off-by: Ben Dooks Signed-off-by: Greg Kroah-Hartman commit bf193d3cd2a3b73f2df74f57106114867946c09c Author: Alan Stern Date: Wed Aug 10 17:12:31 2005 -0400 [PATCH] USB: Disconnect children when unbinding the hub driver This patch (as554) makes the hub driver disconnect any child USB devices when it is unbound from a hub. Normally this will never happen, but there are a few oddball ways to unbind the hub driver while leaving the children intact. For example, the new "unbind" sysfs attribute can be used for this purpose. Given that unbinding hubs with children is now safe, the patch also removes the code that prevented people from doing so using usbfs. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 8b28c7526a302bbfa618f7eab4ef961edd68c9a0 Author: Alan Stern Date: Wed Aug 10 17:04:13 2005 -0400 [PATCH] USB: Code motion in the hub driver This patch (as553) merely moves some code and deletes an unneeded test in the hub driver. This is in preparation for the patch that follows. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 68a6457edb8a64fdcc231a4fc5406f6e3f6c9b33 Author: Daniel Drake Date: Wed Aug 10 18:30:04 2005 +0100 [PATCH] USB: Fix HP8200 detection in shuttle_usbat Adding flash-device support to the shuttle_usbat driver in 2.6.11 introduced the need to detect which type of device we are dealing with: CDRW drive, or flash media reader. The detection routine used turned out to not work for HP8200 CDRW users, who saw their devices being detected as a flash disk. This patch (which has been tested on both flash and cdrom) removes some unnecessary code, moves device detection to much later during initialization, and introduces a new detection routine which appears to work. Signed-off-by: Daniel Drake Signed-off-by: Greg Kroah-Hartman commit 242cf670c09c05504ce53dfc27f8331a072f169d Author: Greg Kroah-Hartman Date: Fri Jul 29 16:11:07 2005 -0400 [PATCH] USB: fix up URB_ASYNC_UNLINK usages from the usb-serial drivers Signed-off-by: Greg Kroah-Hartman commit b375a0495fd622037560c73c05f23ae6f127bb0c Author: Alan Stern Date: Fri Jul 29 16:11:07 2005 -0400 [PATCH] USB: URB_ASYNC_UNLINK flag removed from the kernel 29 July 2005, Cambridge, MA: This afternoon Alan Stern submitted a patch to remove the URB_ASYNC_UNLINK flag from the Linux kernel. Mr. Stern explained, "This flag is a relic from an earlier, less-well-designed system. For over a year it hasn't been used for anything other than printing warning messages." An anonymous spokesman for the Linux kernel development community commented, "This is exactly the sort of thing we see happening all the time. As the kernel evolves, support for old techniques and old code can be jettisoned and replaced by newer, better approaches. Proprietary operating systems do not have the freedom or flexibility to change so quickly." Mr. Stern, a staff member at Harvard University's Rowland Institute who works on Linux only as a hobby, noted that the patch (labelled as548) did not update two files, keyspan.c and option.c, in the USB drivers' "serial" subdirectory. "Those files need more extensive changes," he remarked. "They examine the status field of several URBs at times when they're not supposed to. That will need to be fixed before the URB_ASYNC_UNLINK flag is removed." Greg Kroah-Hartman, the kernel maintainer responsible for overseeing all of Linux's USB drivers, did not respond to our inquiries or return our calls. His only comment was "Applied, thanks." Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit a4e628328ec60873fec9d506d682155391f589ce Author: Matthew Dharm Date: Thu Jul 28 14:50:29 2005 -0700 [PATCH] USB Storage: wedge SCSI revision at 2 for usb-storage devices This patch started life as as479b, and has been rediffed. Please note the order of submission of this latest patch series -- even tho this has an older original number, it is the last patch I'll be sending today. This patch changes the reported SCSI revision level to 2 for all disk-type devices. This is needed in a few cases because the device reports a level of 3 or higher but then crashes when given a REPORT LUNS command (for which support is supposed to be mandatory at those levels). This shouldn't harm us, since it only matters for sparse LUNs and we have separate ways of coping with that. Signed-off-by: Alan Stern Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit 34008dbfe8c00eca67f97bad484eb5cb03bafe66 Author: Matthew Dharm Date: Thu Jul 28 14:49:01 2005 -0700 [PATCH] USB Storage: add support for Maxtor One-Touch button This patch is originally from Nick Sillik, and has been rediffed against the latest tree. This patch adds usability to the OneTouch Button on Maxtor External USB Hard Drives. Using an unusual device entry it declares an extra init function which claims the interrupt endpoint associated with this button. The button is connected to the input system. Signed-off-by: Nick Sillik Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit 26186ba77b493204ae0fadc3c88a67b14f22168f Author: Matthew Dharm Date: Thu Jul 28 14:45:50 2005 -0700 [PATCH] USB Storage: close a race condition in disconnect near queuecommand This patch started life as as534, and has been re-diffed against the latest tree. usb-storage has a small loophole, a window between the time queuecommand accepts a new command and the time the control thread starts to execute it. If disconnect is called during that window, the driver won't cancel the pending command -- we've been relying on the SCSI core to cancel it for us during host removal. But it's better for usb-storage to cancel it; this avoids races and reduces reliance on the SCSI core. Fortunately cancelling these commands is easy to do; the key is to do it _before_ calling scsi_remove_host. Signed-off-by: Alan Stern Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit 77f46328fb83b64befd889ebce6d7fb959932509 Author: Matthew Dharm Date: Thu Jul 28 14:44:29 2005 -0700 [PATCH] USB Storage: close a race condition in disconnect near probe This patch started life as as533, and has been re-diffed against the current tree. Disconnect processing in usb-storage naturally divides into two parts: one to quiesce the driver (make sure no commands are executing or queued) and remove the host, and the other to deallocate all the USB and non-USB resources. This patch creates two subroutines to handle those two parts. Mostly it's just code movement, but there is one significant change. If the scsi-scanning thread fails to initialize but the host has successfully been added, we need to quiesce the driver before removing the host. After all, it's possible that scanning could have been initiated from somewhere else, such as userspace -- very low probability, but it's easily handled by calling the new subroutine. Signed-off-by: Alan Stern Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit 0f64e078139109d1902e5b1274c23cec9a9ad12e Author: Matthew Dharm Date: Thu Jul 28 14:43:08 2005 -0700 [PATCH] USB Storage: remove dependency on SCSI-provided serial/tag number This patch started life as as531 from Alan Stern. It has been rediffed against the latest tree. The SCSI people have deprecated the use of scsi_cmnd.serial_number for anything other than printk. Worse than that, the SCSI core doesn't always increment the number (when the error handler is running, for example). So this patch creates a locally-stored value for use in bulk-only tags. The net result is a simplification, since we no longer have to save & restore the serial_number value while autosensing. Signed-off-by: Alan Stern Signed-off-by: Matthew Dharm Signed-off-by: Greg Kroah-Hartman commit 9a57116bc9e36c9accc869f666e1d25c5e2cdcbf Author: Olav Kongas Date: Fri Aug 5 14:23:35 2005 +0300 [PATCH] USB: Switch isp116x-hcd over to root hub interrupt Switch isp116x-hcd over from root hub polling to interrupt. This change closes also a race that was present with the old polling scheme: status polling could happen in a time window, where root hub status bits were not stable. Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman commit f8d23d309809ae69c763520dababb7e845938272 Author: Olav Kongas Date: Thu Aug 4 17:02:54 2005 +0300 [PATCH] USB: isp116x-hcd: remove clock() and reset() This patch removes support for user-provided platform-specific hardware reset and clock starting/stopping functions. Hardware reset was needed earlier as getting the software reset working was tricky due to the lack of documentation. Recently, a number of people using isp116x have said the software reset is working for them. I haven't heard of anybody using the clock starting/stopping. Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman commit 9d233d9faedfd8a4ee22288c1fdc698a6f75db21 Author: Olav Kongas Date: Thu Aug 4 16:54:08 2005 +0300 [PATCH] USB: isp116x-hcd: per-port overcurrent reporting This patch sets the isp116x to report overcurrent always per-port. Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman commit 165c0f39390212d7a517b80c3bb61cb8f1782fef Author: Olav Kongas Date: Thu Aug 4 16:52:31 2005 +0300 [PATCH] USB: isp116x-hcd: support only per-port power switching The isp116x chip will now always be in per-port power switching mode. Remove conf options to set any other mode. Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman commit d4d62861b5cdb0ecfcae448e4281623284de5d05 Author: Olav Kongas Date: Thu Aug 4 16:48:19 2005 +0300 [PATCH] USB: isp116x-hcd: remove unnecessary ClockNotStop configuration option Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman commit dc5bed091a7a5fe378055c30a2da874f77228b71 Author: Olav Kongas Date: Thu Aug 4 16:46:28 2005 +0300 [PATCH] USB: isp116x-hcd: use fixed power-on-to-power-good-time This patch removes the power-on-to-power-good-time configuration option for isp116x-hcd. Signed-off-by: Olav Kongas Signed-off-by: Greg Kroah-Hartman commit 0d9899f8139b1e4ee84b97fb61615714fd40be5b Author: david-b@pacbell.net Date: Thu Jul 28 20:46:32 2005 -0700 [PATCH] USB: usbnet and unsigned gfp_flags This just fixes some gfp flags warnings that joined us recently. Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 0bc8e009a2d5106183ea31a2b83035e790778cab Author: Randy Dunlap Date: Sun Jul 31 20:41:19 2005 -0700 [PATCH] USB usblp: rate-limit printer status error messages Rate-limit usblp printer error status messages. I unplugged my USB printer and almost instantly got several hundred of these in my kernel message log: drivers/usb/class/usblp.c: usblp0: error -19 reading printer status Signed-off-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman commit a1cf96efbabac2f8af6f75286ffcefd40b0a466c Author: Pete Zaitcev Date: Sun Aug 14 21:16:03 2005 -0700 [PATCH] USB: ub 4: Zaitcev's quasi-S/G Back out Axboe-style quasi-S/G and replace it with one command and repeated URBs. This is similar to what usb-storage does, only instead of a few URBs allocated together, one URB is reused. Jens's idea was very nice, but it collapsed when I had to support packet commads for CD burning. I cannot issue two or more packet commands where application expected only one. However, burning does not work completely yet. The cdrecord starts, recognizes the device, then aborts without writing a TOC. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 6c1eb8c1c3ec2df00b629ab4fe7fe04a95129f08 Author: Pete Zaitcev Date: Sat Jul 30 22:51:52 2005 -0700 [PATCH] USB: ub 3/3: death to ub_bd_rq_fn_1 When Al Viro saw the ub.c, he observed that it was a proof positive of Linus not reading patches anymore: names like fo_ob_ar_ba_2 used to cause serious fireworks. In my defence, any good scheme can be pushed to the realm of absurd if pushed far enough. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 07d4fd2566ddbf2a91ff3cde80ddf449ab82c381 Author: Pete Zaitcev Date: Sat Jul 30 22:51:45 2005 -0700 [PATCH] USB: ub 2/3: Fold one line Evidently, Yani Ioannou's display is wider than mine. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit ba6abf1352dc83e500a71e3ad9b39de0337f0c6b Author: Pete Zaitcev Date: Sat Jul 30 22:38:30 2005 -0700 [PATCH] USB: ub 1/3: Axboe's quasi-S/G This the quasi-S/G patch for ub as suggested by Jens Axboe at OLS and implemented that night before 4 a.m. Surprisingly, it worked right away... Alas, I had to skip some OLS partying, but it was for the good cause. Now the speed of ub is quite acceptable even on partitions with small block size. The ub does not really support S/G. Instead, it just tells the block layer that it does. Then, most of the time, the block layer merges requests and passes single-segmnent requests down to ub; everything works as before. Very rarely ub gets an unmerged S/G request. In such case, it issues several commands to the device. I added a small array of counters to monitor the merging (sg_stat). This may be dropped later. Signed-off-by: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman commit 64be07585893d207d23f8516948222faf746aa43 Author: Mihnea-Costin Grigore Date: Fri Jul 29 13:48:48 2005 +0300 [PATCH] usb-storage: Add IGNORE_RESIDUE flag for Mitsumi USB 2.0 card reader (VIA hardware) This patch adds an entry in the unusual_devs.h file for a Mitsumi card reader/floppy combo that uses a VIA chipset. The IGNORE_RESIDUE flag was needed for the second LUN to operate properly. Signed-off-by: Mihnea-Costin Grigore Signed-off-by: Phil Dibowitz Signed-off-by: Greg Kroah-Hartman commit fad21bdf56a25e1cb3e92bba33349de368e8f0b0 Author: Alan Stern Date: Wed Aug 10 15:15:57 2005 -0400 [PATCH] USB: Fix regression in core/devio.c This patch (as551) fixes another little problem recently added to the USB core. Someone didn't fix the type of the first argument to unregister_chrdev_region. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit fbf82fd2e1f4e679c60516d772d1862c941ca845 Author: Kay Sievers Date: Sun Jul 31 01:05:53 2005 +0200 [PATCH] USB: real nodes instead of usbfs This patch introduces a /sys/class/usb_device/ class where every connected usb-device will show up: tree /sys/class/usb_device/ /sys/class/usb_device/ |-- usb1.1 | |-- dev | `-- device -> ../../../devices/pci0000:00/0000:00:1d.0/usb1 |-- usb2.1 | |-- dev | `-- device -> ../../../devices/pci0000:00/0000:00:1d.1/usb2 ... The presence of the "dev" file lets udev create real device nodes. kay@pim:~/src/linux-2.6> tree /dev/bus/usb/ /dev/bus/usb/ |-- 1 | `-- 1 |-- 2 | `-- 1 ... udev rule: SUBSYSTEM="usb_device", PROGRAM="/sbin/usb_device %k", NAME="%c" (echo $1 | /bin/sed 's/usb\([0-9]*\)\.\([0-9]*\)/bus\/usb\/\1\/\2/') This makes libusb pick up the real nodes instead of the mounted usbfs: export USB_DEVFS_PATH=/dev/bus/usb Background: All this makes it possible to manage usb devices with udev instead of the devfs solution. We are currently working on a pam_console/resmgr replacement driven by udev and a pam-helper. It applies ACL's to device nodes, which is required for modern desktop functionalty like "Fast User Switching" or multiple local login support. New patch with its own major. I've succesfully disabled usbfs and use real nodes only on my box. With: "export USB_DEVFS_PATH=/dev/bus/usb" libusb picks up the udev managed nodes instead of reading usbfs files. This makes udev to provide symlinks for libusb to pick up: SUBSYSTEM="usb_device", PROGRAM="/sbin/usbdevice %k", SYMLINK="%c" /sbin/usbdevice: #!/bin/sh echo $1 | /bin/sed 's/usbdev\([0-9]*\)\.\([0-9]*\)/bus\/usb\/\1\/\2/' Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman commit 22af8878d2d641c6b15fe39fe4de3c05b2c477f0 Author: Andrew de Quincey Date: Thu Aug 4 23:16:12 2005 +0100 [PATCH] USB: Prevent hid-core claiming Apple Bluetooth device on new G4 powerbooks To recap: My new G4 powerbook has a bluetooth device that boots up in what apppears to be a compatability mode - it looks exactly like an HID keyboard/mouse device. A special command sequence is sent to switch it into full bluetooth mode. When this occurs the original HID device vanishes, and a new (bluetooth HID) USB device appears on the bus with a different product ID. The original thread is here: http://sourceforge.net/mailarchive/message.php?msg_id=12532263 The attached patch adds the device to the hid-core quirks so that hid-core ignores it. Signed-off-by: Andrew de Quincey Signed-off-by: Greg Kroah-Hartman commit e6ac4a40e5f5c58f6e1058f6b3fb98be921dc7f4 Author: Ian Abbott Date: Tue Aug 2 14:01:27 2005 +0100 [PATCH] USB ftdi_sio: New IDs for ELV, Xsens and Falcom products This patch for the ftdi_sio driver adds a bunch of new devices and fixes an incorrect PID: o Fix PID for ELV UO100 (the PID was in fact for ELV UR100). o Add PID ELV UR100 (see above) and ELV ALC 8500 Expert. o Add a whole bunch of other PIDs for ELV USB devices, commented out for now as they may be used by other drivers eventually. (Christian Abt of ELV.de submitted a full list of devices including an indication of which set of drivers are used by default in the MS Windows world. We decided to comment out the devices that use FTDI's D2XX Windows drivers by default.) o Add PIDs for eight devices from Xsens Technologies BV (submitted in a patch against 2.6.12.2 by Patrick Riphagen). o Add PID for Falcom Samba GPRS modem (submitted by Sebastian Schubert). Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman commit fdcb0a0f1b8b050cbb7ed0ea2e030741ce5bb517 Author: Ian Abbott Date: Thu Jul 28 18:40:32 2005 +0100 [PATCH] USB ftdi_sio: user specified VID/PID ftdi_sio: Support one user specified vendor and product ID via a couple of new module parameters. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman commit 1694899fd1af43636351aac97f415fd3c9cefb1d Author: Dariusz M Date: Thu Jul 28 18:06:13 2005 +0200 [PATCH] USB: pl2303 driver, makes pl2303HX chip work correctly This trivial patch makes pl2303 driver work correctly with pl2303HX chip. Apparently some bug in HX version of pl2303 makes the chip loose some transmitted bytes or stop working at all after reception of USB_REQ_CLEAR_FEATURE mesage. Logs generated by UsbSnoop application reveal that windows driver does not send this type of messages to the converter. From: "Dariusz M." Signed-off-by: Greg Kroah-Hartman commit ef0840286045fe7ce84cb77e7608f0844c81001c Author: Greg Kroah-Hartman Date: Wed Jul 27 01:06:19 2005 -0700 [PATCH] USB: fix keyspan_remote endian bug on probe Signed-off-by: Greg Kroah-Hartman commit 91e79c91fab10f5790159d8d0c1d16da2a9653f9 Author: David Brownell Date: Wed Jul 13 15:18:30 2005 -0700 [PATCH] USB: Gadget library: centralize gadget controller numbers This patch centralizes the assignment of bcdDevice numbers for different gadget controllers. This won't improve the object code at all, but it does save a lot of repetitive and error-prone source code ... and will simplify the work of supporting a new controller driver, since most new gadget drivers will no longer need patches (unless some hardware quirks limit USB protocol messaging). Added minor cleanups and identifer hooks for the UDC in the Freescale iMX series processors. Signed-off-by: Alan Stern Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman commit 81671ddb7e24e9d1f84812dba8ed810935f77d40 Author: Tobias Klauser Date: Mon Jul 4 19:32:51 2005 +0200 [PATCH] USB: drivers/serial/usb-serial: Remove unneeded void * casts The following patch removes unneeded casts for the following (void *) pointers: - tty_struct->driver_data - void *private argument of usb_serial_port_softint() Signed-off-by: Tobias Klauser Signed-off-by: Greg Kroah-Hartman commit 7bb75aeeeec7417a961920b3f63a83007475260f Author: Andrew Morton Date: Wed Jul 27 01:08:30 2005 -0700 [PATCH] USB: option card driver coding style tweaks Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit b9db07fba7f113764d7379b0f68324a9a5450306 Author: Lonnie Mendez Date: Tue Jul 12 17:21:31 2005 -0500 [PATCH] USB: whitespace fixes for cypress_m8 driver Reading this driver I noticed some trailing whitespaces and tabs so I removed them with some 80th column fitting and a few more similar things. From: Carlo Perassi Signed-off-by: Lonnie Mendez Signed-off-by: Carlo Perassi Signed-off-by: Domen Puncer Signed-off-by: Greg Kroah-Hartman commit e104411b82f5c4d19752c335492036abdbf5880d Author: Patrick McHardy Date: Thu Sep 8 15:11:55 2005 -0700 [XFRM]: Always release dst_entry on error in xfrm_lookup Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit cf0b450cd5176b68ac7d5bbe68aeae6bb6a5a4b8 Author: Herbert Xu Date: Thu Sep 8 15:10:52 2005 -0700 [TCP]: Fix off by one in tcp_fragment() "already sent" test. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller commit 61c8c158c828073cfebf11ca8e340727feafa038 Author: Nicolas Pitre Date: Thu Sep 8 23:07:40 2005 +0100 [ARM] 2892/1: remove gcc workaround for direct access to absolute memory addresses Patch from Nicolas Pitre It used to make a difference in the gcc-2.95 era. However these days modern gcc apparently got better at not being influenced by such constructs (which is good in general) and therefore such workaround is of no real advantage anymore. The good news is that gcc (from version 4.1.0) is now fixed with regards to the defficiency this workaround was trying to address. For those interested the patch can easily be backported to older gcc versions and can be found here: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arm/arm.c.diff?r1=1.476&r2=1.478 and also here: http://savannah.gnu.org/cgi-bin/viewcvs/gcc/gcc/gcc/config/arm/arm.c.diff?r1=text&tr1=1.476&r2=text&tr2=1.478&diff_format=u Signed-off-by: Nicolas Pitre Signed-off-by: Russell King commit 0dffefbf1a26ee0661d47516420d86b485a08e9c Author: Ben Dooks Date: Thu Sep 8 23:07:39 2005 +0100 [ARM] 2891/1: S3C2410 - update s3c2410_defconfig for 2.6.13 Patch from Ben Dooks Updated the s3c2410_defconfig for the 2.6.13-git8 kernel release, as well as adding the Anubis board to the list of boards built. Signed-off-by: Ben Dooks Signed-off-by: Russell King commit 7c38cf021b42a4297bc8f860ab627734bdd6c8d1 Author: Tony Lindgren Date: Thu Sep 8 23:07:38 2005 +0100 [ARM] 2890/1: OMAP 1/4: Update omap1 specific files, take 2 Patch from Tony Lindgren This patch syncs the mainline kernel with linux-omap tree. The highlights of the patch are: - Convert more drivers to register resources in board-*.c to take advantage of the driver model by David Brownell and Ladislav Michl - Use set_irq_type() for GPIO interrupts instead of omap_set_gpio_edge_ctrl() by David Brownell - Add minimal support for handling optional add-on boards, such as OSK Mistral board with LCD and keypad, by David Brownell - Minimal support for loading functions to SRAM by Tony Lindgren - Wake up from serial port by muxing RX lines temporarily into GPIO interrupts by Tony Lindgren - 32KHz sched_clock by Tony Lindgren and Juha Yrjola Signed-off-by: Tony Lindgren Signed-off-by: Russell King commit a04ce0ffcaf561994ecf382cd3caad75556dc499 Author: Brett M Russ Date: Mon Aug 15 15:23:41 2005 -0400 [PATCH] PCI/libata INTx cleanup Simple cleanup to eliminate X copies of the pci_enable_intx() function in libata. Moved ahci.c's pci_intx() to pci.c and use it throughout libata and msi.c. Signed-off-by: Brett Russ Signed-off-by: Greg Kroah-Hartman commit 3fe9d19f9e86a55679f5f2b38ec0a43a1a510cee Author: Daniel Ritz Date: Wed Aug 17 15:32:19 2005 -0700 [PATCH] PCI: Support PCM PM CAP version 3 - support PCI PM CAP version 3 (as defined in PCI PM Interface Spec v1.2) - pci/probe.c sets the PM state initially to 4 which is D3cold. add a PCI_UNKNOWN - minor cleanups Signed-off-by: Daniel Ritz Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit cecf4864cf52a4a243a62b2856a6a155edbb55e8 Author: Paul Mackerras Date: Thu Aug 18 14:33:01 2005 +1000 [PATCH] PCI: Add pci_walk_bus function to PCI core (nonrecursive) The PCI error recovery infrastructure needs to be able to contact all the drivers affected by a PCI error event, which may mean traversing all the devices under a given PCI-PCI bridge. This patch adds a function to the PCI core that traverses all the PCI devices on a PCI bus and under any PCI-PCI bridges on that bus (and so on), calling a given function for each device. This provides a way for the error recovery code to iterate through all devices that are affected by an error event. This version is not implemented as a recursive function. Instead, when we reach a PCI-PCI bridge, we set the pointers to start doing the devices on the bus under the bridge, and when we reach the end of a bus's devices, we use the bus->self pointer to go back up to the next higher bus and continue doing its devices. Signed-off-by: Paul Mackerras Signed-off-by: Greg Kroah-Hartman commit 7d333d6c739a5cd6d60102ea1a9940cbbb0546ec Author: Anton Altaparmakov Date: Thu Sep 8 23:01:16 2005 +0100 NTFS: 2.1.24 release and some minor final fixes. Signed-off-by: Anton Altaparmakov commit 1d2450a4a6eb656798c6282b5ffc8e5f9f52ac14 Author: Prarit Bhargava Date: Fri Aug 12 10:13:34 2005 -0400 [PATCH] PCI Hotplug: SGI hotplug driver fixes These fixes were suggested by pcihpd-discuss, but were dropped in the initial checkin of the code. These fixes include cleaning up the hotplug driver sysfs filename, and some minor code cleanups. The driver also requires at least PROM 4.30, not 4.20. Signed-off-by: Prarit Bhargava Signed-off-by: Greg Kroah-Hartman commit c9d8073fd2a0bcb5df973654e988282b523cf553 Author: Jiri Slaby Date: Wed Aug 10 02:09:39 2005 +0200 [PATCH] PCI: remove pci_find_device from parport_pc.c This patch changes pci_find_device to pci_get_device (encapsulated in for_each_pci_dev). Signed-off-by: Jiri Slaby Signed-off-by: Greg Kroah-Hartman commit 11f3859b1e85dd408756c72e228cfb5aa7230c87 Author: Alan Stern Date: Wed Aug 10 15:18:44 2005 -0400 [PATCH] PCI: Fix regression in pci_enable_device_bars This patch (as552) fixes yet another small problem recently added. If an attempt to put a PCI device back into D0 fails because the device doesn't support PCI PM, it shouldn't count as error. Without this patch the UHCI controllers on my Intel motherboard don't work. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman commit 95a629657dbe28e44a312c47815b3dc3f1ce0970 Author: Greg Kroah-Hartman Date: Thu Jul 28 11:37:33 2005 -0700 [PATCH] PCI: start paying attention to a lot of pci function return values Signed-off-by: Greg Kroah-Hartman commit 085ae41f66657a9655ce832b0a61832a06f0e1dc Author: David S. Miller Date: Mon Aug 8 13:19:08 2005 -0700 [PATCH] Make sparc64 use setup-res.c There were three changes necessary in order to allow sparc64 to use setup-res.c: 1) Sparc64 roots the PCI I/O and MEM address space using parent resources contained in the PCI controller structure. I'm actually surprised no other platforms do this, especially ones like Alpha and PPC{,64}. These resources get linked into the iomem/ioport tree when PCI controllers are probed. So the hierarchy looks like this: iomem --| PCI controller 1 MEM space --| device 1 device 2 etc. PCI controller 2 MEM space --| ... ioport --| PCI controller 1 IO space --| ... PCI controller 2 IO space --| ... You get the idea. The drivers/pci/setup-res.c code allocates using plain iomem_space and ioport_space as the root, so that wouldn't work with the above setup. So I added a pcibios_select_root() that is used to handle this. It uses the PCI controller struct's io_space and mem_space on sparc64, and io{port,mem}_resource on every other platform to keep current behavior. 2) quirk_io_region() is buggy. It takes in raw BUS view addresses and tries to use them as a PCI resource. pci_claim_resource() expects the resource to be fully formed when it gets called. The sparc64 implementation would do the translation but that's absolutely wrong, because if the same resource gets released then re-claimed we'll adjust things twice. So I fixed up quirk_io_region() to do the proper pcibios_bus_to_resource() conversion before passing it on to pci_claim_resource(). 3) I was mistakedly __init'ing the function methods the PCI controller drivers provide on sparc64 to implement some parts of these routines. This was, of course, easy to fix. So we end up with the following, and that nasty SPARC64 makefile ifdef in drivers/pci/Makefile is finally zapped. Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman commit 064b53dbcc977dbf2753a67c2b8fc1c061d74f21 Author: John W. Linville Date: Wed Jul 27 10:19:44 2005 -0400 [PATCH] PCI: restore BAR values after D3hot->D0 for devices that need it Some PCI devices (e.g. 3c905B, 3c556B) lose all configuration (including BARs) when transitioning from D3hot->D0. This leaves such a device in an inaccessible state. The patch below causes the BARs to be restored when enabling such a device, so that its driver will be able to access it. The patch also adds pci_restore_bars as a new global symbol, and adds a correpsonding EXPORT_SYMBOL_GPL for that. Some firmware (e.g. Thinkpad T21) leaves devices in D3hot after a (re)boot. Most drivers call pci_enable_device very early, so devices left in D3hot that lose configuration during the D3hot->D0 transition will be inaccessible to their drivers. Drivers could be modified to account for this, but it would be difficult to know which drivers need modification. This is especially true since often many devices are covered by the same driver. It likely would be necessary to replicate code across dozens of drivers. The patch below should trigger only when transitioning from D3hot->D0 (or at boot), and only for devices that have the "no soft reset" bit cleared in the PM control register. I believe it is safe to include this patch as part of the PCI infrastructure. The cleanest implementation of pci_restore_bars was to call pci_update_resource. Unfortunately, that does not currently exist for the sparc64 architecture. The patch below includes a null implemenation of pci_update_resource for sparc64. Some have expressed interest in making general use of the the pci_restore_bars function, so that has been exported to GPL licensed modules. Signed-off-by: John W. Linville Signed-off-by: Greg Kroah-Hartman commit 1248d636122e4ec9d7802b850904e3bb48a0da23 Author: Kristen Accardi Date: Fri Aug 5 12:16:06 2005 -0700 [PATCH] PCI Hotplug: use bus_slot number for name For systems with multiple hotplug controllers, you need to use more than just the slot number to uniquely name the slot. Without a unique slot name, the pci_hp_register() will fail. This patch adds the bus number to the name. Signed-off-by: Kristen Carlson Accardi Signed-off-by: Greg Kroah-Hartman commit 346d38823b59d65c3c1365971776b52e0661b7e5 Author: Michael S. Tsirkin Date: Sun Jul 31 11:51:45 2005 +0300 [PATCH] arch/386/pci: remap_pfn_range -> io_remap_pfn_range Convert i386/pci to use io_remap_pfn_range instead of remap_pfn_range. This is good for Xen which reuses i386/pci/i386.c for domain 0 code. Signed-off-by: Michael S. Tsirkin Signed-off-by: Greg Kroah-Hartman commit 4352dfd5cd9172f1ee425924a463b43e6157b840 Author: Greg Kroah-Hartman Date: Thu Jul 28 11:37:33 2005 -0700 [PATCH] PCI: clean up pci.h and split pci register info to separate header file. This cleans up some of the #ifdef CONFIG_PCI stuff up, and moves the pci register info out to a separate file, where it belongs. Eventually we can stop including this file from within pci.h, but lots of code needs to be audited first. Signed-off-by: Greg Kroah-Hartman commit 8fdc23ee1ab7c1f8f1dd40602f62b9cc84072531 Author: Andrew Morton Date: Wed Jul 27 00:07:11 2005 -0700 [PATCH] PCI: fix up pretty-names removal patch Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit 982245f01734e9d5a3ab98b2b2e9761ae7719094 Author: Adrian Bunk Date: Sun Jul 17 04:22:20 2005 +0200 [PATCH] PCI: remove CONFIG_PCI_NAMES This patch removes CONFIG_PCI_NAMES. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman commit 74d863ee8a9da2b0f31e0f977daf127807b2e9d2 Author: akpm@osdl.org Date: Mon Jul 25 23:28:14 2005 -0700 [PATCH] PCI: Move PCI fixup data into r/o section Make PCI fixup data const, so it'll end up in a r/o section. This also fixes the conversion into ECOFF which gets broken by too many changes between r/w and r/o sections. Call it a hack but it's a change that's correct by itself. Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman commit d42c69972b853fd33a26c8c7405624be41a22136 Author: Andi Kleen Date: Wed Jul 6 19:56:03 2005 +0200 [PATCH] PCI: Run PCI driver initialization on local node Run PCI driver initialization on local node Instead of adding messy kmalloc_node()s everywhere run the PCI driver probe on the node local to the device. This would not have helped for IDE, but should for other more clean drivers that do more initialization in probe(). It won't help for drivers that do most of the work on first open (like many network drivers) Signed-off-by: Andi Kleen Signed-off-by: Greg Kroah-Hartman commit 56d8456b06ad1316bff3c75caed5e06e786f20d8 Author: John Rose Date: Mon Jul 25 10:17:03 2005 -0500 [PATCH] PCI Hotplug: rpaphp: Purify hotplug Currently rpaphp registers the following bus types as hotplug slots: 1) Actual PCI Hotplug slots 2) Embedded/Internal PCI slots 3) PCI Host Bridges The second and third bus types are not actually direct parents of removable adapters. As such, the rpaphp has special case code to fake results for attributes like power, adapter status, etc. This patch removes types 2 and 3 from the rpaphp module. This patch also changes the DLPAR module so that slots can be DLPAR-added/removed without having been designated as hotplug-capable. Signed-off-by: John Rose Signed-off-by: Greg Kroah-Hartman commit 940903c5a5a906c622a79b3101586deb1a1b3480 Author: John Rose Date: Mon Jul 25 10:16:58 2005 -0500 [PATCH] PCI Hotplug: rpaphp: Export slot enable This patch exports rpaphp_config_pci_adapter() for use by the rpadlpar module. It also changes this function by removing any dependencies on struct slot. The patch also changes the RPA DLPAR-add path to enable newly-added slots in a separate step from that which registers them as hotplug slots. Signed-off-by: John Rose Signed-off-by: Greg Kroah-Hartman commit 0945cd5f908a09ad99bf42d7ded16f26f24f317d Author: John Rose Date: Mon Jul 25 10:16:53 2005 -0500 [PATCH] PCI Hotplug: rpaphp: Remove rpaphp_find_pci The rpaphp module currently uses a fragile method to find a pci device by its device node. This function is unnecessary, so this patch scraps it. Signed-off-by: John Rose Signed-off-by: Greg Kroah-Hartman commit 9c209c919df95f83aa042b3352c43841ad15a02b Author: John Rose Date: Mon Jul 25 11:13:38 2005 -0500 [PATCH] PCI Hotplug: rpaphp: Change slot pci reference The slot structure in the rpaphp module currently references the PCI contents of the slot using the PCI device of the parent bridge. This is unnecessary, since the module is actually interested in the subordinate bus of the bridge. The dependency on a PCI bridge device also prohibits the module from registering hotplug slots that have a root bridge as a parent, since root bridges on PPC64 don't have PCI devices. This patch changes struct slot to reference the PCI subsystem using a pci_bus rather than a pci_dev. Signed-off-by: John Rose Signed-off-by: Greg Kroah-Hartman commit 5eeb8c63a38ff20285f3bbe7bcfe5e7c33c8ba14 Author: John Rose Date: Mon Jul 25 10:16:42 2005 -0500 [PATCH] PCI Hotplug: rpaphp: Move VIO registration Currently, rpaphp registers Virtual I/O slots as hotplug slots. The only purpose of this registration is to ensure that the VIO subsystem is notified of new VIO buses during DLPAR adds. Similarly, rpaphp notifies the VIO subsystem when a VIO bus is DLPAR-removed. The rpaphp module has special case code to fake results for attributes like power, adapter status, etc. The VIO register/unregister functions could just as easily be made from the DLPAR module. This patch moves the VIO registration calls to the DLPAR module, and removes the VIO fluff from rpaphp altogether. Signed-off-by: John Rose Signed-off-by: Greg Kroah-Hartman commit bde168412440084e649e7e04938bd1ab6e7bf978 Author: John Rose Date: Mon Jul 25 10:16:37 2005 -0500 [PATCH] PCI Hotplug: rpaphp: Remove unused stuff Subject line says it all :) Signed-off-by: John Rose Signed-off-by: Greg Kroah-Hartman commit c26971cbb39727b0b692c6236f890ba13046a663 Author: Richard Purdie Date: Thu Sep 8 22:48:16 2005 +0100 [MMC] Add mmc_detect_change() delay support for PXAMCI driver Allow PXA platforms to pass an appropriate delay value to the PXA MCI driver for delaying detection changes. Signed-Off-By: Richard Purdie Signed-off-by: Russell King commit 4e1491847ef5ca1c5a661601d5f96dcb7d90d2f0 Author: Linus Torvalds Date: Thu Sep 8 14:47:12 2005 -0700 Fix up ARM serial driver compile failure Proud member of Uglyhacks'R'US. Acked-by: David S. Miller Acked-by: Russell King Signed-off-by: Linus Torvalds commit 01357dcac62ac028de65a1c315eb75c530c8a5d6 Author: Russell King Date: Thu Sep 8 22:46:00 2005 +0100 [MMC] Ensure correct mmc_priv() behaviour mmc_priv() has some nasty effects if the wrong pointer type is passed to it. Introduce type checking, which also means we get the right type. Also add an additional member to mmc_host which is used to align host-private data appropriately. Signed-off-by: Russell King commit 0a25e4d5647003a32ba5496f9d0f40ba9c1e3863 Author: Evgeniy Polyakov Date: Wed Aug 17 15:24:37 2005 +0400 [PATCH] w1_ds2433: Added crc16 protection and read caching. The changes to ds2433 to add CRC16 protection and read caching. Signed-off-by: Ben Gardner Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit a45f105ad4b456f99f622642056ae533f70710b7 Author: Evgeniy Polyakov Date: Wed Aug 17 15:19:08 2005 +0400 [PATCH] w1: added private family data into w1_slave strucutre. Add family_data to struct w1_slave. Signed-off-by: Ben Gardner Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit 7657ec1fcb69e266ab876af56332d0c484ca6d00 Author: Evgeniy Polyakov Date: Wed Aug 17 15:17:26 2005 +0400 [PATCH] lib/crc16: added crc16 algorithm. Add the crc16 routines, as used by w1 devices. Signed-off-by: Ben Gardner Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit a3d65f254274567daa89d8b99ab3d481d60fcaef Author: Evgeniy Polyakov Date: Thu Aug 11 17:27:50 2005 +0400 [PATCH] w1: Added DS2433 driver - family id update. Work by Ben Gardner . Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit 80895392c83e54653540e72e7d40573aac7ee690 Author: Evgeniy Polyakov Date: Thu Aug 11 17:27:50 2005 +0400 [PATCH] w1: Added DS2433 driver. Work by Ben Gardner . Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit 7c8f5703de91ade517d4fd6c3cc8e08dbba2b739 Author: Evgeniy Polyakov Date: Thu Aug 11 17:27:50 2005 +0400 [PATCH] w1: Decreased debug level. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit 3aca692d3ec7cf89da4575f598e41f74502b22d7 Author: Evgeniy Polyakov Date: Thu Aug 11 17:27:50 2005 +0400 [PATCH] w1: Detouching bug fixed. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit d2a4ef6a0ce4d841293b49bf2cdc17a0ebfaaf9d Author: Evgeniy Polyakov Date: Thu Aug 11 17:27:50 2005 +0400 [PATCH] w1: Added add/remove slave callbacks. Patch is based on work from Ben Gardner Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit ea7d8f65c865ebfa1d7cd67c360a87333ff013c1 Author: Evgeniy Polyakov Date: Thu Aug 11 17:27:49 2005 +0400 [PATCH] w1: Added w1_reset_select_slave() - Resets the bus and then selects the slave by sending either a skip rom or a rom match. Patch from Ben Gardner Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit db2d0008de519c5db6baec45f7831e08790301cf Author: Evgeniy Polyakov Date: Thu Aug 11 17:27:49 2005 +0400 [PATCH] w1: Added inline functions on top of container_of(). Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit 5e8eb8501212eb92826ccf191f9ca8c186f531c3 Author: Evgeniy Polyakov Date: Thu Aug 11 13:45:54 2005 +0400 [PATCH] w1: Fixed 64bit compilation warning. Fixed 64bit compilation warning. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit 7f772ed8df27c6941952452330c618512389c4c7 Author: Evgeniy Polyakov Date: Thu Aug 11 13:20:07 2005 +0400 [PATCH] w1: hotplug support. Here is W1 hotplug in addition to netlink notifications. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit 8949d2aa05ddf5e9a31d738568a79915970cb38e Author: Evgeniy Polyakov Date: Wed Aug 3 15:14:50 2005 +0400 [PATCH] W1: Sync with w1/ds9490 tree. Whitespace, static/nonstatic cleanups. Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit 2d8331792ea3f5ccfd147288afba148537337019 Author: Evgeniy Polyakov Date: Wed Jul 27 13:10:11 2005 +0400 [PATCH] W1: w1_netlink: New init/fini netlink callbacks. They are guarded with NETLINK_DISABLE compile time options, so if CONFIG_NET is disabled, no linking errors occur. Bug noticed by Adrian Bunk . Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman commit 4d803fcdcd97dd346d4b39c3b76e5879cead8a31 Author: David S. Miller Date: Thu Sep 8 14:37:53 2005 -0700 [SPARC64]: Inline membar()'s again. Since GCC has to emit a call and a delay slot to the out-of-line "membar" routines in arch/sparc64/lib/mb.S it is much better to just do the necessary predicted branch inline instead as: ba,pt %xcc, 1f membar #whatever 1: instead of the current: call membar_foo dslot because this way GCC is not required to allocate a stack frame if the function can be a leaf function. This also makes this bug fix easier to backport to 2.4.x Signed-off-by: David S. Miller commit a57ebc90f1350296edded12d33d7c278831bc3bf Author: Patrick McHardy Date: Thu Sep 8 14:27:47 2005 -0700 [IPV6]: Don't redo xfrm_lookup for cached dst entries The xfrm lookup is already done when the dst entry is looked up first and stored in the cache. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller commit e604635c8bea16f6177e6133eb3efbfb4a029ef6 Author: Anton Altaparmakov Date: Thu Sep 8 22:13:02 2005 +0100 NTFS: Improve scalability by changing the driver global spin lock in fs/ntfs/aops.c::ntfs_end_buffer_async_read() to a bit spin lock in the first buffer head of a page. Signed-off-by: Anton Altaparmakov commit a01ac532b519dc0e0b4d8bc4e12373e4e4cd1b1a Author: Anton Altaparmakov Date: Thu Sep 8 22:08:11 2005 +0100 NTFS: Fix page_has_buffers()/page_buffers() handling in fs/ntfs/aops.c. Signed-off-by: Anton Altaparmakov commit 311120eca0013083f5eb0aff13ffb8aa9fdd050c Author: Anton Altaparmakov Date: Thu Sep 8 22:04:20 2005 +0100 NTFS: Fixup handling of sparse, compressed, and encrypted attributes in fs/ntfs/aops.c::ntfs_readpage(). Signed-off-by: Anton Altaparmakov commit 8273d5d4c28a9fde68f830cc6ff61e37e8ae1dca Author: Anton Altaparmakov Date: Thu Sep 8 22:00:33 2005 +0100 NTFS: Fix fs/ntfs/aops.c::ntfs_{read,write}_block() to handle the case where a concurrent truncate has truncated the runlist under our feet. Signed-off-by: Anton Altaparmakov commit 9b17e7e74e767d8a494a74c3c459aeecd1e08c5f Author: Jack Steiner Date: Thu Sep 8 15:28:28 2005 -0500 [IA64] Increase max physical address for SN platforms Increase the value for the maximum physical address on SN systems. Signed-off-by: Jack Steiner Signed-off-by: Tony Luck commit 408865ce4829376120489ac8011b72125453dcff Author: Dean Nelson Date: Thu Sep 8 10:46:58 2005 -0500 [IA64] ensure XPC and XPNET are loaded on sn2 platforms only These are SN2 only drivers. They should have platform checks to prevent them from doing evil stuff in GENERIC kernels. Signed-off-by: Martin Hicks Acked-by: Dean Nelson Signed-off-by: Tony Luck commit 087f902686beb6c02157c271e3fc95606dbdfdbf Author: Martin Hicks Date: Thu Sep 8 11:28:11 2005 -0400 [IA64] defconfig: turn off QLOGIC_FC Turn off the QLOGIC_FC driver. Supposedly qla2xxx should support these devices. Do any ia64 machines have one of these devices as the boot device? Signed-off-by: Martin Hicks Signed-off-by: Tony Luck commit 45ac56ca6403b83ad880083be164c425f4b50882 Author: Jeff Garzik Date: Thu Sep 8 16:44:33 2005 -0400 Kconfig: IEEE80211 should not depend on NET_RADIO We should not restrict use of ieee80211 to only when wireless drivers are enabled. In-development and out-of-tree drivers may wish to use it, and by removing this restriction we eliminate a circular dependency. commit 54b02eb01c0172294e43e2b54d6815f65637c111 Author: Anton Altaparmakov Date: Thu Sep 8 21:43:47 2005 +0100 NTFS: Optimize fs/ntfs/aops.c::ntfs_write_block() by extending the page lock protection over the buffer submission for i/o which allows the removal of the get_bh()/put_bh() pairs for each buffer. Signed-off-by: Anton Altaparmakov commit baed16a7ff5194487764db300c2753ac7409c4c5 Author: Ralf Baechle Date: Thu Sep 8 13:40:41 2005 -0700 [AX.25]: Make asc2ax() thread-proof Asc2ax was still using a static buffer for all invocations which isn't exactly SMP-safe. Change asc2ax to take an additional result buffer as the argument. Change all callers to provide such a buffer. This one only really is a fix for ROSE and as per recent discussions there's still much more to fix in ROSE ... Signed-off-by: Ralf Baechle DL5RB Signed-off-by: David S. Miller commit bd45fdd209ca49c5010ac9af469c41ae6dd3f145 Author: Anton Altaparmakov Date: Thu Sep 8 21:38:05 2005 +0100 NTFS: Fixup handling of sparse, compressed, and encrypted attributes in fs/ntfs/aops.c::ntfs_writepage(). Signed-off-by: Anton Altaparmakov commit 3a93481589dc80d9ff9082731f35031b0345442e Author: Andrew Morton Date: Thu Sep 8 13:36:34 2005 -0700 [NETFILTER]: ip_conntrack_netbios_ns.c gcc-2.95.x build fix gcc-2.95.x can't do this sort of initialisation Signed-off-by: Andrew Morton Signed-off-by: David S. Miller commit ce723d8e048ef98ea64d12379e3921c933f5b3e0 Author: Julian Anastasov Date: Thu Sep 8 13:34:47 2005 -0700 [IPV4]: Fix refcount damaging in net/ipv4/route.c One such place that can damage the dst refcnts is route.c with CONFIG_IP_ROUTE_MULTIPATH_CACHED enabled, i don't see the user's .config. In this new code i see that rt_intern_hash is called before dst->refcnt is set to 1, dst is the 2nd arg to rt_intern_hash. Arg 2 of rt_intern_hash must come with refcnt 1 as it is added to table or dropped depending on error/add/update. One such example is ip_mkroute_input where __mkroute_input return rth with refcnt 0 which is provided to rt_intern_hash. ip_mkroute_output looks like a 2nd such place. Appending untested patch for comments and review. The idea is to put previous reference as we are going to return next result/error. Signed-off-by: Julian Anastasov Signed-off-by: David S. Miller commit 8dcdebafb848415eae25924b00c4f0b9ec907da0 Author: Anton Altaparmakov Date: Thu Sep 8 21:25:48 2005 +0100 NTFS: Make ntfs_write_block() not instantiate sparse blocks if they are zero. Signed-off-by: Anton Altaparmakov commit 67bb103725e4cde322cb4ddb160a12933c5c7072 Author: Anton Altaparmakov Date: Thu Sep 8 21:19:45 2005 +0100 NTFS: Fixup handling of sparse, compressed, and encrypted attributes in fs/ntfs/inode.c::ntfs_read_locked_{,attr_,index_}inode(). Signed-off-by: Anton Altaparmakov commit c921e4c4dbb043f9435414c4e661e7f0a783053d Author: Michael Chan Date: Thu Sep 8 13:15:32 2005 -0700 [BNX2]: Fix bug in irq handler and add prefetch Fix bug in bnx2_interrupt() that caused an unnecessary register read. The BNX2_PCICFG_MISC_STATUS should only be read when the status tag has not changed. Add prefetch of the status block in bnx2_msi() similar to tg3_msi(). The status block is not touched in bnx2_msi() and prefetching it will speed up bnx2_poll() that will run on the same CPU that received the MSI. Update version. Signed-off-by: Michael Chan Signed-off-by: David S. Miller commit 1c7d469d47668f4664b892a6cd1c452a0c02d710 Author: Anton Altaparmakov Date: Thu Sep 8 21:15:09 2005 +0100 NTFS: Truncate {a,c,m}time to the ntfs supported time granularity when updating the times in the inode in ntfs_setattr(). Signed-off-by: Anton Altaparmakov commit bbf1813fb8ff9d21171bf22e6d1f0e0393601e86 Author: Anton Altaparmakov Date: Thu Sep 8 21:09:06 2005 +0100 NTFS: Fix cluster (de)allocators to work when the runlist is NULL and more importantly to take a locked runlist rather than them locking it which leads to lock reversal. Signed-off-by: Anton Altaparmakov commit 6fd60fa97b706e52abba7c9f810b148aa230817f Author: Russell King Date: Thu Sep 8 21:04:58 2005 +0100 [I2C] Clean up i2c-pxa debugging/printks Fix up comments made by review by gregkh. Signed-off-by: Russell King commit 807c453de7c5487d2e5eece76bafdea8f39d249e Author: Anton Altaparmakov Date: Thu Sep 8 21:01:17 2005 +0100 NTFS: Fix handling of sparse attributes in ntfs_attr_make_non_resident(). Also, add BUG() checks to ntfs_attr_make_non_resident() and ntfs_attr_set() to ensure that these functions are never called for compressed or encrypted attributes. Signed-off-by: Anton Altaparmakov commit 42ca89c18b75e1c4c3b02aa5589ad3aa916909a8 Author: Stephen Hemminger Date: Thu Sep 8 12:57:43 2005 -0700 [IPV6]: Need to use pskb_trim_rcsum(). Fix pskb_trim usage in ipv6. Only the udp one is really a bug, other places are just doing equivalent code. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 2983d1bd1a596e88cdddc0c2d45b9e97728f3f41 Author: Anton Altaparmakov Date: Thu Sep 8 20:56:09 2005 +0100 NTFS: Fix several bugs in fs/ntfs/attrib.c. - Fix a bug in ntfs_map_runlist_nolock() where we forgot to protect access to the allocated size in the ntfs inode with the size lock. - Fix ntfs_attr_vcn_to_lcn_nolock() and ntfs_attr_find_vcn_nolock() to return LCN_ENOENT when there is no runlist and the allocated size is zero. - Fix load_attribute_list() to handle the case of a NULL runlist. Signed-off-by: Anton Altaparmakov commit 0aacceacf35451ffb771ec825555e98c5dce8b01 Author: Anton Altaparmakov Date: Thu Sep 8 20:40:32 2005 +0100 NTFS: Add fs/ntfs/attrib.[hc]::ntfs_resident_attr_value_resize(). Signed-off-by: Anton Altaparmakov commit f25dfb5e44fa8641961780d681bc1871abcfb861 Author: Anton Altaparmakov Date: Thu Sep 8 20:35:33 2005 +0100 NTFS: Remove bogus setting of PageError in ntfs_read_compressed_block(). Signed-off-by: Anton Altaparmakov commit e50ef933e649a2b43aa10c8a60c491543b8b4c02 Author: David S. Miller Date: Thu Sep 8 12:32:46 2005 -0700 [NET]: Need struct sock forward decl in net/compat.h Else we get build failures like: CC arch/sparc64/kernel/sparc64_ksyms.o In file included from arch/sparc64/kernel/sparc64_ksyms.c:28: include/net/compat.h:37: warning: "struct sock" declared inside parameter list include/net/compat.h:37: warning: its scope is only this definition or declaration, which is probably not what you want Signed-off-by: David S. Miller commit e308e25c97f06cf704e65eeb773412f5460a3b93 Author: Stephen Hemminger Date: Thu Sep 8 12:32:21 2005 -0700 [IPV4] udp: trim forgets about CHECKSUM_HW A UDP packet may contain extra data that needs to be trimmed off. But when doing so, UDP forgets to fixup the skb checksum if CHECKSUM_HW is being used. I think this explains the case of a NFS receive using skge driver causing 'udp hw checksum failures' when interacting with a crufty settop box. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 0e4e4220f10bf8f58a8606f0cb28538088c64b1a Author: Stephen Hemminger Date: Thu Sep 8 12:32:03 2005 -0700 [NET]: Optimize pskb_trim_rcsum() Since packets almost never contain extra garbage at the end, it is worthwhile to optimize for that case. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller commit 8e08ceaeacd5d300aaad166f2eef8bfc37e09831 Author: Anton Altaparmakov Date: Thu Sep 8 20:29:50 2005 +0100 NTFS: Fix a bug in fs/ntfs/index.c::ntfs_index_lookup(). When the returned index entry is in the index root, we forgot to set the @ir pointer in the index context. Thanks for Yura Pakhuchiy for finding this bug. Signed-off-by: Anton Altaparmakov commit 6e48321a40610f7213e3ac75ba234f6f8b3ed5f5 Author: Anton Altaparmakov Date: Thu Sep 8 20:26:34 2005 +0100 NTFS: Add ntfs_rl_punch_nolock() which punches a caller specified hole into a runlist. Signed-off-by: Anton Altaparmakov commit 3ffc5a443824fcf426d8d35dc632acc4dd9fb6d1 Author: Anton Altaparmakov Date: Thu Sep 8 20:23:06 2005 +0100 NTFS: Change ntfs_rl_truncate_nolock() to throw away the runlist if the new length is zero. Signed-off-by: Anton Altaparmakov commit 8dc003359cc3996abad9e53a7b2280b272610283 Author: Richard Purdie Date: Thu Sep 8 17:53:01 2005 +0100 [MMC] Allow detection/removal to be delayed Change mmc_detect_change() to take a delay argument such that the detection of card insertions and removals can be delayed according to the requirements of the host driver or platform. Signed-off-by: Richard Purdie Signed-off-by: Russell King commit f94ad38e68e1623660fdbb063d0c580ba6661c29 Author: Anton Altaparmakov Date: Thu Sep 8 17:04:11 2005 +0100 NTFS: Report unrepresentable inodes during ntfs_readdir() as KERN_WARNING messages and include the inode number. Thanks to Yura Pakhuchiy for pointing this out. Signed-off-by: Anton Altaparmakov commit 2b0ada2b8e086c267dd116a39ad41ff0a717b665 Author: Anton Altaparmakov Date: Thu Sep 8 16:52:31 2005 +0100 NTFS: Fix handling of valid but empty mapping pairs array in fs/ntfs/runlist.c::ntfs_mapping_pairs_decompress(). Signed-off-by: Anton Altaparmakov commit 8bb735216a0675e247bbe8b8b92c09d6884d1a17 Author: Anton Altaparmakov Date: Thu Sep 8 16:48:28 2005 +0100 NTFS: Remove two bogus BUG_ON()s from fs/ntfs/mft.c. Signed-off-by: Anton Altaparmakov commit 84d6ebe63f50b6efd8be252b58a207132157c60f Author: Anton Altaparmakov Date: Thu Sep 8 16:46:55 2005 +0100 NTFS: Fix two nasty runlist merging bugs that had gone unnoticed so far. Thanks to Stefano Picerno for the bug report. Signed-off-by: Anton Altaparmakov commit 9529d461d0992959026264b8fc002ac01d226708 Author: Anton Altaparmakov Date: Thu Sep 8 16:33:12 2005 +0100 NTFS: Use ntfs_malloc_nofs_nofail() in runlist.c::ntfs_runlists_merge() in the two critical regions. This means we no longer need to panic() when the allocation fails as it now cannot fail. Signed-off-by: Anton Altaparmakov commit 06d0e3cf3d527f927681773c6ffbe697ccc5db7f Author: Anton Altaparmakov Date: Thu Sep 8 16:28:25 2005 +0100 NTFS: Allow highmem kmalloc() in ntfs_malloc_nofs() and add _nofail() version. - Modify fs/ntfs/malloc.h::ntfs_malloc_nofs() to do the kmalloc() based allocations with __GFP_HIGHMEM, analogous to how the vmalloc() based allocations are done. - Add fs/ntfs/malloc.h::ntfs_malloc_nofs_nofail() which is analogous to ntfs_malloc_nofs() but it performs allocations with __GFP_NOFAIL and hence cannot fail. Signed-off-by: Anton Altaparmakov commit 8920e8f94c44e31a73bdf923b04721e26e88cadd Author: Al Viro Date: Wed Sep 7 18:28:51 2005 -0700 [PATCH] Fix 32bit sendmsg() flaw When we copy 32bit ->msg_control contents to kernel, we walk the same userland data twice without sanity checks on the second pass. Second version of this patch: the original broke with 64-bit arches running 32-bit-compat-mode executables doing sendmsg() syscalls with unaligned CMSG data areas Another thing is that we use kmalloc() to allocate and sock_kfree_s() to free afterwards; less serious, but also needs fixing. Signed-off-by: Al Viro Signed-off-by: David Woodhouse Signed-off-by: Chris Wright Signed-off-by: Linus Torvalds commit e7a1033b946f4f2622f2b338ab107f559aad542c Author: Anton Altaparmakov Date: Thu Sep 8 16:12:28 2005 +0100 NTFS: Support more clean journal ($LogFile) states. - Support journals ($LogFile) which have been modified by chkdsk. This means users can boot into Windows after we marked the volume dirty. The Windows boot will run chkdsk and then reboot. The user can then immediately boot into Linux rather than having to do a full Windows boot first before rebooting into Linux and we will recognize such a journal and empty it as it is clean by definition. - Support journals ($LogFile) with only one restart page as well as journals with two different restart pages. We sanity check both and either use the only sane one or the more recent one of the two in the case that both are valid. Signed-off-by: Anton Altaparmakov commit 6df29debb7fc04ac3f92038c57437f40bab4e72d Author: Russell King Date: Thu Sep 8 16:04:41 2005 +0100 [SERIAL] Use an enum for serial8250 platform device IDs Rather than hard-coding the platform device IDs, enumerate them. We don't particularly care about the actual ID we get, just as long as they're unique. Signed-off-by: Russell King commit 5aa3b610a7330c3cd6f0cb264d2189a3a1dcf534 Author: Kumar Gala Date: Thu Sep 8 09:20:55 2005 -0500 [PATCH] ppc32: Fix head_4xx.S compile error head_4xx.S wasn't compiling due to a missing #endif Signed-off-by: Kumar Gala Signed-off-by: Linus Torvalds commit d7b6b3589471c3856f1e6dc9c77abc4af962ffdb Author: Russell King Date: Thu Sep 8 15:32:23 2005 +0100 [ARM] Fix ARMv6 VIPT cache >= 32K This adds the necessary changes to ensure that we flush the caches correctly with aliasing VIPT caches. Signed-off-by: Russell King commit b38d950d3aedf90c8b15b3c7c799b5eb53c47c45 Author: John Lenz Date: Thu Sep 8 14:41:54 2005 +0100 [ARM] Add suspend/resume support to locomo.c This adds low-level suspend/resume support to locomo.c. Signed-off-by: Pavel Machek Signed-off-by: Russell King commit 6a690df5c8b37d4a1c41df40770d42d44fac0e97 Author: Hannes Reinecke Date: Tue Jun 28 17:30:38 2005 -0700 [PATCH] scan all enabled ports on ata_piix ICH6 spec defines the PORT_ bits as: PORT_ENABLED (R/W): 0 = Disabled. The port is in the off state and cannot detect any devices. 1 = Enabled. The port can transition between the on, partial, and slumber states and can detect devices. PORT_PRESENT (R/O) The status of this bit may change at any time. This bit is cleared when the port is disabled via PORT_ENABLED. This bit is not cleared upon surprise removal of a device. So from a textual view it is not necessary that PORT_PRESENT _must_ be set, especially if a device detection has to be done anyway. And, in fact, this is the view that ACER has been taken with its new Laptops (e.g. Travelmate 4150). And the definition of PORT_ENABLED / PORT_PRESENT is mixed up, btw. Signed-off-by: Hannes Reinecke Signed-off-by: Jens Axboe Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik commit eccdfcd6f8265300380fa14a83aeb14e69830323 Author: Nathan Scott Date: Thu Sep 8 15:38:52 2005 +1000 [XFS] Fix modular XFS builds (Makefile botch). Signed-off-by: Nathan Scott commit 20ba02879bc78cdf1ed89a1c6a92ee55d31ee103 Author: Nathan Scott Date: Thu Sep 8 15:34:58 2005 +1000 [XFS] Remove special Kconfig XFS menu, make XFS options "inline". Signed-off-by: Eric Sandeen Signed-off-by: Nathan Scott commit f016bad6be720496b5582a59738bca00a26f876c Author: Nathan Scott Date: Thu Sep 8 15:30:05 2005 +1000 [XFS] Cleanup some -Wundef flag warnings in the endian macros (thanks Christoph). SGI-PV: 942400 SGI-Modid: xfs-linux-melb:xfs-kern:23771a Signed-off-by: Nathan Scott commit caf39e87cc1182f7dae84eefc43ca14d54c78ef9 Author: Linus Torvalds Date: Wed Sep 7 18:44:33 2005 -0700 [SCSI] Re-do "final klist fixes" With the previous commit that introduces the klist enhancements, we can now re-do 2b7d6a8cb9718fc1d9e826201b64909c44a915f4 again. commit 34bb61f9ddabd7a7f909cbfb05592eb775f6662a Author: James Bottomley Date: Tue Sep 6 16:56:51 2005 -0700 [PATCH] fix klist semantics for lists which have elements removed on traversal The problem is that klists claim to provide semantics for safe traversal of lists which are being modified. The failure case is when traversal of a list causes element removal (a fairly common case). The issue is that although the list node is refcounted, if it is embedded in an object (which is universally the case), then the object will be freed regardless of the klist refcount leading to slab corruption because the klist iterator refers to the prior element to get the next. The solution is to make the klist take and release references to the embedding object meaning that the embedding object won't be released until the list relinquishes the reference to it. (akpm: fast-track this because it's needed for the 2.6.13 scsi merge) Signed-off-by: James Bottomley Signed-off-by: Greg Kroah-Hartman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 41a1f8ea4fbfcdc4232f023732584aae2220de31 Author: YOSHIFUJI Hideaki Date: Thu Sep 8 10:19:03 2005 +0900 [IPV6]: Support IPV6_{RECV,}TCLASS socket options / ancillary data. Based on patch from David L Stevens Signed-off-by: David L Stevens Signed-off-by: YOSHIFUJI Hideaki commit 333fad5364d6b457c8d837f7d05802d2aaf8a961 Author: YOSHIFUJI Hideaki Date: Thu Sep 8 09:59:17 2005 +0900 [IPV6]: Support several new sockopt / ancillary data in Advanced API (RFC3542). Support several new socket options / ancillary data: IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR, IPV6_RTHDR, IPV6_RECVHOPOPTS, IPV6_HOPOPTS Old semantics are preserved as IPV6_2292xxxx so that we can maintain backward compatibility. Signed-off-by: YOSHIFUJI Hideaki commit df4edad1787bbfa3c9c10824e4f11e9f4a7ec5c6 Author: Linus Torvalds Date: Wed Sep 7 17:50:58 2005 -0700 [SCSI] Revert "final klist fixes" Revert commit 2b7d6a8cb9718fc1d9e826201b64909c44a915f4. The "fix" was known to not even compile. Duh. That's not a fix. That's just stupid. Signed-off-by: Linus Torvalds commit f2c853bca542f5ac0b036377637192a74f2091c2 Author: Arnaud Patard Date: Wed Sep 7 22:44:48 2005 +0200 [PATCH] sata_sis: Add support for SiS182 chipset This patch adds support for the SiS182 sata chipset. This is a minimalistic version of the patch from http://bugme.osdl.org/show_bug.cgi?id=4192. Basically, it add the PCI IDs and handles the change of the 2nd port adress register. Signed-Off-By: Arnaud Patard Signed-off-by: Jeff Garzik commit e72225d160a2529d6ce6d5898a267f7dae02aa6e Author: viro@ZenIV.linux.org.uk Date: Wed Sep 7 23:23:50 2005 +0100 [PATCH] bogus #if (simserial) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 3352ae5de4945242040d23e16b674d17ddc7ce15 Author: viro@ZenIV.linux.org.uk Date: Wed Sep 7 23:28:32 2005 +0100 [PATCH] CHECKFLAGS on ppc64 got broken Now that asm-powerpc/* is using ifdefs on __powerpc64__ we need to add it to CHECKFLAGS on ppc64. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 147a67f0107effad2b454b786228c97e429f654e Author: viro@ZenIV.linux.org.uk Date: Wed Sep 7 23:26:35 2005 +0100 [PATCH] bogus #if (ncr53c406) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 4c86b114a45361aa3b321fd24c53023c300566fc Author: viro@ZenIV.linux.org.uk Date: Wed Sep 7 23:25:15 2005 +0100 [PATCH] bogus #if (smc91x.h) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 9a0b3869bbf7cc66ee668515d4852c729158c0ca Author: viro@ZenIV.linux.org.uk Date: Wed Sep 7 23:21:11 2005 +0100 [PATCH] bogus #if (arch/um/kernel/mem.c) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit f718404aa939d2ae19efda8e71f7fa79cbdf1646 Author: viro@ZenIV.linux.org.uk Date: Wed Sep 7 23:19:41 2005 +0100 [PATCH] -Wundef fixes (hisax) CARD_... in hisax are all used with #if; CARD_FN_ENTERNOW_PCI lacks define to 0 if corresponding config option is not set. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 185a7a1cd79b9891e3c17abdb103ba1c98d6ca7a Author: viro@ZenIV.linux.org.uk Date: Wed Sep 7 23:18:24 2005 +0100 [PATCH] -Wundef fixes (ncr5380) NDEBUG and NDEBUG_ABORT are almost always used as integers in NCR5380; added define to 0 if they are not defined, switched lone ifdef NDEBUG into if. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit f20badbe1207bb10a8ad5fdadc2131c94344b5d9 Author: viro@ZenIV.linux.org.uk Date: Wed Sep 7 23:16:59 2005 +0100 [PATCH] -Wundef fixes (hamachi) All uses of ADDRLEN are comparisons with 64 (it's an address width). added define to 32 (again, we only care about comparisons with 64) if not defined. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 95608261dae863bc43292e6fbd946a3abd3aa49f Author: viro@ZenIV.linux.org.uk Date: Tue Sep 6 22:33:51 2005 +0100 [PATCH] bogus symbol used in arch/um/os-Linux/elf_aux.c elf_aux is userland code; it uses symbol (ELF_CLASS) that doesn't exist in userland headers; pulled into kernel-offsets.h, switched elf_aux to using it. Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 8412205838ae92489ab2f029687659b056dd96ff Author: viro@ZenIV.linux.org.uk Date: Tue Sep 6 19:35:49 2005 +0100 [PATCH] updated mail address parcelfarce is dead... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit e12ba644eefa9b8df4f961be91f1a0c5ea5038fa Author: viro@ZenIV.linux.org.uk Date: Tue Sep 6 02:06:57 2005 +0100 [PATCH] iomem annotations (sound/arm/aaci) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 90dffc03ca8caa0ea047f11c81fe61cd86d80568 Author: viro@ZenIV.linux.org.uk Date: Tue Sep 6 02:02:22 2005 +0100 [PATCH] lost chunk of "uml: build cleanups" A piece of the UML stubs patch got lost - it has Killed STUBS_CFLAGS - it's not needed and the only remaining use had been gratitious - it only polluted CFLAGS in description and does remove it in arch/um/Makefile-x86_64, but forgets to do the same in i386 counterpart. Lost chunk follows: Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit a08b6b7968e7a6afc75e365ac31830867275abdc Author: viro@ZenIV.linux.org.uk Date: Tue Sep 6 01:48:42 2005 +0100 [PATCH] Kconfig fix (BLK_DEV_FD dependencies) Sanitized and fixed floppy dependencies: split the messy dependencies for BLK_DEV_FD by introducing a new symbol (ARCH_MAY_HAVE_PC_FDC), making BLK_DEV_FD depend on that one and taking declarations of ARCH_MAY_HAVE_PC_FDC to arch/*/Kconfig. While we are at it, fixed several obvious cases when BLK_DEV_FD should have been excluded (architectures lacking asm/floppy.h are *not* going to have floppy.c compile, let alone work). If you can come up with better name for that ("this architecture might have working PC-compatible floppy disk controller"), you are more than welcome - just s/ARCH_MAY_HAVE_PC_FDC/your_prefered_name/g in the patch below... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit 8ae418cf85b92cae7bce3d810b6aaf354e77be84 Author: viro@zenIV.linux.org.uk Date: Fri Sep 2 20:15:29 2005 +0100 [PATCH] s2io u64 use for uintptr_t u64 is not uintptr_t; unsigned long is... Signed-off-by: Al Viro Signed-off-by: Linus Torvalds commit dc9ca2af4917ce4e545fa3eb1d845c555128cabc Author: Michael Krufky Date: Tue Sep 6 15:19:40 2005 -0700 [PATCH] DVB: lgdt330x check callback fix Most of the patch is whitespace cleanup, but more importantly, this patch checks to see whether a callback is set before calling it. On cx88 boards (currently the only boards using lgdt330x in 2.6.13) every callback is set. However, newer drivers currently in development leave a callback undefined, and lgdt330x must not call it if it isn't defined. Signed-off-by: Patrick Boettcher Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2684f5c74d5c2d3eb6ddbb599a8c89a06c5fa420 Author: Michael Krufky Date: Tue Sep 6 15:19:38 2005 -0700 [PATCH] DVB: Clarify description text for dvb-bt8xx in Kconfig Patrick Keene wrote to the linux-dvb list, asking where in menuconfig he can enable dvb-bt8xx for his AVerMedia DVB card. I pointed the following out to him: config DVB_BT8XX tristate "Nebula/Pinnacle PCTV/Twinhan PCI cards" It has been agreed upon that this description is extremely misleading. This patch changes the one-liner description text of dvb-bt8xx to something more meaningful, and adds AVerMedia to the detailed description. Signed-off-by: Michael Krufky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d203a7eca85101f0a8ce1dc139ee91196142da36 Author: Ralf Baechle Date: Tue Sep 6 15:19:37 2005 -0700 [PATCH] Indycam / VINO drivers Rewrite of the Indycam / VINO video v4l2 drivers for the SGI Indy. Signed-off-by: Ralf Baechle Signed-off-by: Mikael Nousiainen Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0bb6fcc13ae4fad98e0d610458975e47be0d2203 Author: Miklos Szeredi Date: Tue Sep 6 15:19:36 2005 -0700 [PATCH] pivot_root() circular reference fix Fix http://bugzilla.kernel.org/show_bug.cgi?id=4857 When pivot_root is called from an init script in an initramfs environment, it causes a circular reference in the mount tree. The cause of this is that pivot_root() is not prepared to handle pivoting an unattached mount. In an initramfs environment, rootfs is the root of the namespace, and so it is not attached. This patch fixes this and related problems, by returning -EINVAL if either the current root or the new root is detached. Signed-off-by: Miklos Szeredi Acked-by: Al Viro Cc: Cc: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit deac66ae454cacf942c051b86d9232af546fb187 Author: Keshavamurthy Anil S Date: Tue Sep 6 15:19:35 2005 -0700 [PATCH] kprobes: fix bug when probed on task and isr functions This patch fixes a race condition where in system used to hang or sometime crash within minutes when kprobes are inserted on ISR routine and a task routine. The fix has been stress tested on i386, ia64, pp64 and on x86_64. To reproduce the problem insert kprobes on schedule() and do_IRQ() functions and you should see hang or system crash. Signed-off-by: Anil S Keshavamurthy Signed-off-by: Ananth N Mavinakayanahalli Acked-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bce0649417d6e71f6df8ab7b11103d247913b142 Author: Jim Keniston Date: Tue Sep 6 15:19:34 2005 -0700 [PATCH] kprobes: fix handling of simultaneous probe hit/unregister This patch fixes a bug in kprobes's handling of a corner case on i386 and x86_64. On an SMP system, if one CPU unregisters a kprobe just after another CPU hits that probepoint, kprobe_handler() on the latter CPU sees that the kprobe has been unregistered, and attempts to let the CPU continue as if the probepoint hadn't been hit. The bug is that on i386 and x86_64, we were neglecting to set the IP back to the beginning of the probed instruction. This could cause an oops or crash. This bug doesn't exist on ppc64 and ia64, where a breakpoint instruction leaves the IP pointing to the beginning of the instruction. I don't know about sparc64. (Dave, could you please advise?) This fix has been tested on i386 and x86_64 SMP systems. To reproduce the problem, set one CPU to work registering and unregistering a kprobe repeatedly, and another CPU pounding the probepoint in a tight loop. Acked-by: Prasanna S Panchamukhi Signed-off-by: Jim Keniston Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 661e5a3d9958dc83d610992da85625c0ada9bb06 Author: Keshavamurthy Anil S Date: Tue Sep 6 15:19:32 2005 -0700 [PATCH] Kprobes/IA64: fix race when break hits and kprobe not found This patch addresses a potential race condition for a case where Kprobe has been removed right after another CPU has taken a break hit. The way this is addressed here is when the CPU that has taken a break hit does not find its corresponding kprobe, then we check to see if the original instruction got replaced with other than break. If it got replaced with other than break instruction, then we continue to execute from the replaced instruction, else if we find that it is still a break, then we let the kernel handle this, as this might be the break instruction inserted by other than kprobe(may be kernel debugger). Signed-off-by: Anil S Keshavamurthy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 83005161c84efa70f3d4dc193eb1024a40b650dc Author: Prasanna S Panchamukhi Date: Tue Sep 6 15:19:31 2005 -0700 [PATCH] kprobes-prevent-possible-race-conditions-sparc64-changes fix This patch adds flags "ax" to .kprobe.text section. Signed-off-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 05e14cb3bafabbf08216ab5566f3cd687eba9723 Author: Prasanna S Panchamukhi Date: Tue Sep 6 15:19:30 2005 -0700 [PATCH] Kprobes: prevent possible race conditions sparc64 changes This patch contains the sparc64 architecture specific changes to prevent the possible race conditions. Signed-off-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 1f7ad57b75ab0fba27455c7344a6ab7aa6bd90c5 Author: Prasanna S Panchamukhi Date: Tue Sep 6 15:19:30 2005 -0700 [PATCH] Kprobes: prevent possible race conditions ia64 changes This patch contains the ia64 architecture specific changes to prevent the possible race conditions. Signed-off-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit bb144a85c70a65730424ad1a9dc50fef66e5cafe Author: Prasanna S Panchamukhi Date: Tue Sep 6 15:19:29 2005 -0700 [PATCH] Kprobes: prevent possible race conditions ppc64 changes This patch contains the ppc64 architecture specific changes to prevent the possible race conditions. Signed-off-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0f2fbdcbb041f9087da42f8ac2e81f2817098d2a Author: Prasanna S Panchamukhi Date: Tue Sep 6 15:19:28 2005 -0700 [PATCH] kprobes: prevent possible race conditions x86_64 changes This patch contains the x86_64 architecture specific changes to prevent the possible race conditions. Signed-off-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3d97ae5b958855ac007b6f56a0f94ab8ade09e9e Author: Prasanna S Panchamukhi Date: Tue Sep 6 15:19:27 2005 -0700 [PATCH] kprobes: prevent possible race conditions i386 changes This patch contains the i386 architecture specific changes to prevent the possible race conditions. Signed-off-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d0aaff9796c3310326d10da44fc0faed352a1d29 Author: Prasanna S Panchamukhi Date: Tue Sep 6 15:19:26 2005 -0700 [PATCH] Kprobes: prevent possible race conditions generic There are possible race conditions if probes are placed on routines within the kprobes files and routines used by the kprobes. For example if you put probe on get_kprobe() routines, the system can hang while inserting probes on any routine such as do_fork(). Because while inserting probes on do_fork(), register_kprobes() routine grabs the kprobes spin lock and executes get_kprobe() routine and to handle probe of get_kprobe(), kprobes_handler() gets executed and tries to grab kprobes spin lock, and spins forever. This patch avoids such possible race conditions by preventing probes on routines within the kprobes file and routines used by kprobes. I have modified the patches as per Andi Kleen's suggestion to move kprobes routines and other routines used by kprobes to a seperate section .kprobes.text. Also moved page fault and exception handlers, general protection fault to .kprobes.text section. These patches have been tested on i386, x86_64 and ppc64 architectures, also compiled on ia64 and sparc64 architectures. Signed-off-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 505db03639db34ca2c64fe7ee27190d324281f2c Author: Brice Goglin Date: Tue Sep 6 15:19:25 2005 -0700 [PATCH] Fix smsc_ircc_init return value I noticed a strange return value in smsc_ircc_init in drivers/net/irda/smsc_ircc2.c in rc4-mm1. When reaching the line "if (ircc_fir > 0 && ircc_sir > 0)", ret is 0. So I don't see the point of setting it to 0 in the "else" case. >From what I see in 2.6.12 it should probably be set to -ENODEV at the begining of the "else" case. The attached patch does this. Note that I didn't actually see any breakage caused by this. Signed-off-by: Brice Goglin Cc: Dmitry Torokhov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 0fa2f491f0547ddb87fa3069afee3eda43b51057 Author: Dmitry Torokhov Date: Tue Sep 6 15:19:24 2005 -0700 [PATCH] smsc-ircc2: dont use void * where specific type will do IRDA: smsc-ircc2 - do not over-use void * pointers, use specific types wherever possible. Signed-off-by: Dmitry Torokhov Cc: Jean Tourrilhes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit da0841a09531818000f816b76374abaef7e4b9b9 Author: Dmitry Torokhov Date: Tue Sep 6 15:19:23 2005 -0700 [PATCH] smsc-ircc2: use netdev_priv() IRDA: smsc-ircc2 - use netdev_priv() instead of accessing pointer directly. Signed-off-by: Dmitry Torokhov Cc: Jean Tourrilhes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6bb3b2cd40973ca67c9c6ab26c34df61680f5f84 Author: Dmitry Torokhov Date: Tue Sep 6 15:19:22 2005 -0700 [PATCH] smsc-ircc2: add to sysfs as platform device, new PM IRDA: smsc-ircc2 - add sysfs support (platform device and driver) and switch power management to the new scheme. Signed-off-by: Dmitry Torokhov Cc: Jean Tourrilhes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80a9058924d66643b645dbf5ad92acdac6d1d134 Author: Dmitry Torokhov Date: Tue Sep 6 15:19:21 2005 -0700 [PATCH] smsc-ircc2: dont pass iobase around IRDA: smsc-ircc2 - cleanup - do not pass around iobase, it can be retrieved from smsc_ircc_cb structure. Signed-off-by: Dmitry Torokhov Cc: Jean Tourrilhes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6158d23a60ac32fc08316703266b6ab14d9dc00 Author: Dmitry Torokhov Date: Tue Sep 6 15:19:20 2005 -0700 [PATCH] smsc-ircc2: remove typedefs IRDA: smsc-ircc2 - remove excessive typedefs. Signed-off-by: Dmitry Torokhov Cc: Jean Tourrilhes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a956f4ca3ede0a77e307f504e4a98554047b44ff Author: Dmitry Torokhov Date: Tue Sep 6 15:19:20 2005 -0700 [PATCH] smsc-ircc2: drop DIM macro in favor of ARRAY_SIZE IRDA: smsc-ircc2 - remove home-grown DIM macro, use ARRAY_SIZE intead. Also fix out-of-bound array access. Signed-off-by: Dmitry Torokhov Cc: Jean Tourrilhes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 98b7777331d4344821e900040da5d1d3016d9e67 Author: Dmitry Torokhov Date: Tue Sep 6 15:19:19 2005 -0700 [PATCH] smsc-ircc2: formatting fixes IRDA: smsc-ircc2 - some formatting changes for better readability. Signed-off-by: Dmitry Torokhov Cc: Jean Tourrilhes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 527b6af4133f433542a875dea7a24d58f8871d4b Author: Dmitry Torokhov Date: Tue Sep 6 15:19:17 2005 -0700 [PATCH] smsc-ircc2: whitespace fixes IRDA: smsc-ircc2 - whitespace fixes. Signed-off-by: Dmitry Torokhov Cc: Jean Tourrilhes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4407c2b6b297339e296facf62e020cf66e55053d Author: Jan Kara Date: Tue Sep 6 15:19:17 2005 -0700 [PATCH] Fix race in do_get_write_access() attached patch should fix the following race: Proc 1 Proc 2 __flush_batch() ll_rw_block() do_get_write_access() lock_buffer jh is only waiting for checkpoint -> b_transaction == NULL -> do nothing unlock_buffer test_set_buffer_locked() test_clear_buffer_dirty() __journal_file_buffer() change the data submit_bh() and we have sent wrong data to disk... We now clean the dirty buffer flag under buffer lock in all cases and hence we know that whenever a buffer is starting to be journaled we either finish the pending write-out before attaching a buffer to a transaction or we won't write the buffer until the transaction is going to be committed. The test in jbd_unexpected_dirty_buffer() is redundant - remove it. Furthermore we have to clear the buffer dirty bit under the buffer lock to prevent races with buffer write-out (and hence prevent returning a buffer with IO happening). Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e39f07c83bac96850265b87a69dfc5c90ed4f1f5 Author: Jan Kara Date: Tue Sep 6 15:19:16 2005 -0700 [PATCH] Change HFS+ to not use ll_rw_block() Use block layer predefined function. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 096125f31ae3aa2c7271463b9986dd228e0da089 Author: Jan Kara Date: Tue Sep 6 15:19:15 2005 -0700 [PATCH] Change ll_rw_block() calls in UFS We need to be sure that current data are sent to disk. Hence we call ll_rw_block() with SWRITE. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 53778ffde601c962ad9250c4998df7de6f428246 Author: Jan Kara Date: Tue Sep 6 15:19:14 2005 -0700 [PATCH] Change ll_rw_block() calls in Reiser We need to be sure that current data in buffer are sent to disk. Hence we need to call ll_rw_block() with SWRITE. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 26707699b5337ea471ba1774447e8a1170c99e52 Author: Jan Kara Date: Tue Sep 6 15:19:12 2005 -0700 [PATCH] Change ll_rw_block() calls in JBD We must be sure that the current data in buffer are sent to disk. Hence we have to call ll_rw_block() with SWRITE. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a7662236253374012d364106b6dc9161bd929e2e Author: Jan Kara Date: Tue Sep 6 15:19:10 2005 -0700 [PATCH] Make ll_rw_block() wait for buffer lock Introduce new ll_rw_block() operation SWRITE meaning that block layer should wait for the buffer lock and write-out afterwards. Hence data in buffers at the time of call are guaranteed to be submitted to the disk. Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e6c9f5c1888097c936334bf9740024520ca47b8e Author: Jan Kara Date: Tue Sep 6 15:19:09 2005 -0700 [PATCH] Fix JBD race in t_forget list handling Fix race between journal_commit_transaction() and other places as journal_unmap_buffer() that are adding buffers to transaction's t_forget list. We have to protect against such places by holding j_list_lock even when traversing the t_forget list. The fact that other places can only add buffers to the list makes the locking easier. OTOH the lock ranking complicates the stuff... Signed-off-by: Jan Kara Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cbf0d27a131639f4f3e4faa94373c5c6f89f8f07 Author: Mark Fasheh Date: Tue Sep 6 15:19:08 2005 -0700 [PATCH] kjournald: missing JFS_UNMOUNT check It seems that kjournald() may be missing a check of the JFS_UNMOUNT flag before calling schedule(). This showed up in testing of OCFS2 recovery where our recovery thread would hang in journal_kill_thread() called from journal_destroy() because kjournald never got a chance to read the flag to shut down before the schedule(). Zach pointed out the missing check which led me to hack up this trivial patch. It's been tested many times now and I have yet to reproduce the hang, which was happening very regularly before. I'm guessing that we could really use some wait_event() calls with helper functions in, well, most of jbd these days which would make a ton of the wait code there vastly cleaner. As for why this doesn't happen in ext3 (or OCFS2 during normal mount/unmount of the local nodes journal), I think it may that the specific timing of events in the ocfs2 recovery thread exposes a race there. Because ocfs2_replay_journal() is only interested in playing back the journal, initialization and shutdown happen very quicky with no other metadata put into that specific journal. Acked-by: "Stephen C. Tweedie" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3870ee8c63d5e55aea990654dfeb231264e13134 Author: Richard Purdie Date: Tue Sep 6 15:19:07 2005 -0700 [PATCH] Corgi: Add MMC/SD write protection switch handling Add MMC/SD write protection switch handling for the Corgi platform Signed-off-by: Richard Purdie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f7ceff348bbd2ef35b5bc2ab47541dcac4b0b8ea Author: Richard Purdie Date: Tue Sep 6 15:19:07 2005 -0700 [PATCH] Corgi: Add keyboard and touchscreen device definitions Add keyboard and touchscreen device definitions for corgi. Signed-off-by: Richard Purdie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3158106685acac8f8d4e74a17b974f160fe77c0b Author: Richard Purdie Date: Tue Sep 6 15:19:06 2005 -0700 [PATCH] Input: Add a new switch event type The corgi keyboard has need of a switch event type with slightly type to the input system as recommended by the input maintainer. Signed-off-by: Richard Purdie Cc: Vojtech Pavlik Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 41b1bce80b43f7c6a6c64006b2abe3a8d52ab120 Author: Richard Purdie Date: Tue Sep 6 15:19:05 2005 -0700 [PATCH] w100fb: Update corgi platform code to match new driver This patch moves the platform specific Sharp SL-C7x0 LCD code from the w100fb driver into a more appropriate place and updates the Corgi code to match the new w100fb driver. It also updates the corgi touchscreen code to match the new simplified interface available from w100fb. Signed-off-by: Richard Purdie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit aac51f09d96a0acfb73c1d1c0796358bb47ea07b Author: Richard Purdie Date: Tue Sep 6 15:19:03 2005 -0700 [PATCH] w100fb: Rewrite for platform independence The code w100fb was based on was horribly Sharp SL-C7x0 specific and there was little else that could be done as I had no access to anything else with a w100 in it. There is no real documentation about this chipset available. Ian Molton has access to other platforms with the w100 (Toshiba e-series) and so between us, we've improved w100fb and made it platform independent. Ian Molton also added support for the very similar w3220 and w3200 chipsets. There are a lot of changes here and it nearly amounts to a rewrite of the driver but it has been extensively tested and is being used in preference to the original driver in the Zaurus community. I'd therefore like to update the mainline code to reflect thi