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()