commit b0825488a642cadcf39709961dde61440cb0731c tree cd73116cb0298a6333cbfda8ba2874b1ff180e05 parent b87a1e506115e7df4c6bfd266267ee0088cba3b7 author Matthew Garrett Fri, 29 Jul 2005 14:03:39 -0700 committer Linus Torvalds Fri, 29 Jul 2005 15:01:15 -0700 [PATCH] agp: restore APBASE after setting APSIZE When leaving S3 state, the AGP bridge may not have all PCI configuration registers set in the same way as they were at boot. This should be fixed by pci_restore_state - however, the APBASE register cannot be set to conflict with the APSIZE register. If APSIZE is larger than it was before suspend, pci_restore_state will not restore APBASE correctly. The attached patch adds an extra item to the agp_bridge_data structure and uses it to store the value of APBASE. On resume, this is then written after APSIZE has been set. This patch only touches the path used for Intel chipsets without integrated graphics, and may need to be extended to work with the others. Without this patch, I get the symptoms described in bug 4921 - APBASE ends up overlapping various PCI devices, and as a result they fail to work after resume. Signed-off-by: Matthew Garrett Acked-by: Dave Jones Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b87a1e506115e7df4c6bfd266267ee0088cba3b7 tree 1f5e16a6478aaf58db89cc889568e36accb00d5f parent 4ffa92340b22a59575afe60ea155195c43213120 author Gerald Schaefer Fri, 29 Jul 2005 14:03:38 -0700 committer Linus Torvalds Fri, 29 Jul 2005 15:01:15 -0700 [PATCH] s390: fix inline assembly in appldata Fix inline assembly that gets miscompiled by gcc 4. Signed-off-by: Gerald Schaefer Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4ffa92340b22a59575afe60ea155195c43213120 tree 2d3c5fd21760d791ed1704b194cf9596370185c0 parent 350e3ade9ed0809a94c51db6ee66883a35f0d6c9 author Cornelia Huck Fri, 29 Jul 2005 14:03:37 -0700 committer Linus Torvalds Fri, 29 Jul 2005 15:01:14 -0700 [PATCH] s390: device recognition Close a small window where a device may be not operational again after senseid finished and the "same device" check fails due to dev=0000 by checking for dnv after stsch() by then setting the device to not operational. (No need to check for dnv in ccw_device_handle_oper() again since we don't do stsch() into the subchannel's schib in the meantime and will get a crw anyway if the device becomes not oper again). Signed-off-by: Cornelia Huck Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 350e3ade9ed0809a94c51db6ee66883a35f0d6c9 tree 8c644bec7a82bdb2b4c0c9d30e65fce4b8c15f69 parent 5712f52e8c024c6b7b82ae5c7b5b3d0f3e6f711b author Heiko Carstens Fri, 29 Jul 2005 14:03:36 -0700 committer Linus Torvalds Fri, 29 Jul 2005 15:01:14 -0700 [PATCH] s390: check for interrupt before waiting The patch that introduced waiting for interrupts after resetting the reader can cause the boot to fail because the system is waiting for an interrupt that will never arrive. Add code to check if an interrupt is supposed to arrive before waiting endlessly. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5712f52e8c024c6b7b82ae5c7b5b3d0f3e6f711b tree 24da6505756aa5e62b3392ef9a5627189ed94ec0 parent a502a3593c7aa2aff99a61ed71e7cb828ee4da8b author Martin Schwidefsky Fri, 29 Jul 2005 14:03:35 -0700 committer Linus Torvalds Fri, 29 Jul 2005 15:01:14 -0700 [PATCH] s390: default configuration Update default configuration of s390. Signed-off-by: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a502a3593c7aa2aff99a61ed71e7cb828ee4da8b tree 5960bb8522d9ce4c677233b0cdc5453bf8aef2f5 parent e4c5c82024f5f292c0069cf40422b8f3bf5e684e author Jeff Dike Fri, 29 Jul 2005 14:03:33 -0700 committer Linus Torvalds Fri, 29 Jul 2005 15:01:14 -0700 [PATCH] uml: fix vsyscall brokenness The #if/#ifdef cleanup exposed a bug in UML's ELF header processing. With this bug fixed, UML recognizes the vsyscall info coming from the host. On FC4, there is a vsyscall page low in the address space, which UML doesn't provide. This causes an infinite page fault loop and a hang on boot. This patch works around that by making this look like a no-vsyscall system. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e4c5c82024f5f292c0069cf40422b8f3bf5e684e tree 09a6633c9a9d9ec388f90f1b12f2ea2553130ac3 parent e1afc3f522ed088405fc8932110d338330db82bb author Antonino A. Daplas Fri, 29 Jul 2005 14:03:33 -0700 committer Linus Torvalds Fri, 29 Jul 2005 15:01:14 -0700 [PATCH] fbdev: Replace memcpy with for-loop when preparing bitmap Do not use memcpy in fb_pad_aligned_buffer. It is suboptimal because only a few bytes are moved at a time. Replace with a for-loop. Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e1afc3f522ed088405fc8932110d338330db82bb tree 944b79bef5f73bfe1ea7fc5e89cb9e36562d0929 parent 80625942094b114d85811e5ff1fbc9e06dabe0ff author Natalie.Protasevich@unisys.com Fri, 29 Jul 2005 14:03:32 -0700 committer Linus Torvalds Fri, 29 Jul 2005 15:01:13 -0700 [PATCH] x86: avoid wasting IRQs patch update The patch addresses a problem with ACPI SCI interrupt entry, which gets re-used, and the IRQ is assigned to another unrelated device. The patch corrects the code such that SCI IRQ is skipped and duplicate entry is avoided. Second issue came up with VIA chipset, the problem was caused by original patch assigning IRQs starting 16 and up. The VIA chipset uses 4-bit IRQ register for internal interrupt routing, and therefore cannot handle IRQ numbers assigned to its devices. The patch corrects this problem by allowing PCI IRQs below 16. Signed-off by: Natalie Protasevich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 80625942094b114d85811e5ff1fbc9e06dabe0ff tree 66c6e49c4a24d7338d4510be449e4cc17dc95e29 parent 655a0a7799cddf9a469916c07ac22f1106abc2be author Antonino A. Daplas Fri, 29 Jul 2005 14:03:31 -0700 committer Linus Torvalds Fri, 29 Jul 2005 15:01:13 -0700 [PATCH] vesafb: Fix mtrr bugs >> vesafb: mode is 800x600x16, linelength=1600, pages=16 >> vesafb: scrolling: redraw >> vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0 >> mtrr: type mismatch for fc000000,1000000 old: write-back new: write- >> combining Range is already set to write-back, vesafb attempts to add a write-combining mtrr (default for vesafb). >> mtrr: size and base must be multiples of 4 kiB This is a bug, vesafb attempts to add a size < PAGE_SIZE triggering the messages below. To eliminate the warning messages, you can add the option mtrr:2 to add a write-back mtrr for vesafb. Or just use nomtrr option. 1. Fix algorithm for finding the best power of 2 size with mtrr_add(). 2. Add option to choose the mtrr type by extending the mtrr boot option: mtrr:n where n 0 = no mtrr (equivalent to using the nomtrr option) 1 = uncachable 2 = write back 3 = write combining (default) 4 = write through Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 655a0a7799cddf9a469916c07ac22f1106abc2be tree 68046518782408b540c41645ee75ac155f3b332a parent 3d483f47579461a4715db33c68ef8752e5a97a2d author Bjorn Helgaas Fri, 29 Jul 2005 14:03:30 -0700 committer Linus Torvalds Fri, 29 Jul 2005 15:01:13 -0700 [PATCH] serial: add MMIO support to 8250_pnp Add support for UARTs in MMIO space and clean up a little whitespace. HP legacy-free ia64 machines need this. Signed-off-by: Bjorn Helgaas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3d483f47579461a4715db33c68ef8752e5a97a2d tree 6a4c9022074426d3551ff1b47c95f2bfe3f41828 parent 94d2ac66c12397e2ca7988dbf59f24a966d275cb author Eric W. Biederman Fri, 29 Jul 2005 14:03:29 -0700 committer Linus Torvalds Fri, 29 Jul 2005 15:01:13 -0700 [PATCH] Fix sync_tsc hang sync_tsc was using smp_call_function to ask the boot processor to report it's tsc value. smp_call_function performs an IPI_send_allbutself which is a broadcast ipi. There is a window during processor startup during which the target cpu has started and before it has initialized it's interrupt vectors so it can properly process an interrupt. Receveing an interrupt during that window will triple fault the cpu and do other nasty things. Why cli does not protect us from that is beyond me. The simple fix is to match ia64 and provide a smp_call_function_single. Which avoids the broadcast and is more efficient. This certainly fixes the problem of getting stuck on boot which was very easy to trigger on my SMP Hyperthreaded Xeon, and I think it fixes it for the right reasons. Minor changes by AK Signed-off-by: Eric W. Biederman Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 94d2ac66c12397e2ca7988dbf59f24a966d275cb tree c0d7b9f7654bb83da63a28b2609b03c442ca09f8 parent 590f47a1d945c611530a85057e9ad7a3bbb50578 author Ravikiran G Thirumalai Fri, 29 Jul 2005 14:03:28 -0700 committer Linus Torvalds Fri, 29 Jul 2005 15:01:13 -0700 [PATCH] mm: Ensure proper alignment for node_remap_start_pfn While reserving KVA for lmem_maps of node, we have to make sure that node_remap_start_pfn[] is aligned to a proper pmd boundary. (node_remap_start_pfn[] gets its value from node_end_pfn[]) Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 590f47a1d945c611530a85057e9ad7a3bbb50578 tree 226626fbdb53f3a8fea19134100091be4aefc900 parent a9b2e9170bdf1dd27ca4aa9a63048065d252d116 parent 094ce7fde493a1196b8152f9f9e73c20e24a2b05 author Linus Torvalds Fri, 29 Jul 2005 14:40:08 -0700 committer Linus Torvalds Fri, 29 Jul 2005 14:40:08 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq commit a9b2e9170bdf1dd27ca4aa9a63048065d252d116 tree 048526305102fb981c5a2940bab99e872d6f78a1 parent 498f78e6fcf558d0dec31f5648f43426ae16433f author Pete Zaitcev Fri, 29 Jul 2005 12:18:34 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:54 -0700 [PATCH] USB: hidinput_hid_event() oops fix It seems that I see a bug in hidinput_hid_event. The check for NULL can never work, becaue &hidinput->input is nonzero at all times. Cc: Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 498f78e6fcf558d0dec31f5648f43426ae16433f tree 8f07affd9ffd2324e5dcfa665aed8cb68e0ef88d parent 6b216df87cb5f3bb7d47a33f1cd955ebc7b84dfd author Dan Streetman Fri, 29 Jul 2005 12:18:28 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:54 -0700 [PATCH] USB: fix in usb_calc_bus_time This patch does the same swap, i.e. use the ISO macro if (isoc). Additionally, it fixes the return value - the usb_calc_bus_time function returns the time in nanoseconds (I didn't notice that before) while the HS_USECS and HS_USECS_ISO are microseconds. This fixes the function to return nanoseconds always, and adjusts ehci-q.c (the only high-speed caller of the function) to wrap the call in NS_TO_US(). Signed-off-by: Dan Streetman Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 6b216df87cb5f3bb7d47a33f1cd955ebc7b84dfd tree 47be6973ba2f07151b742f49f1c859ed8a6bd901 parent 3eb0c5f4b539873ca88f8597db6a49e83ddfd7e2 author Conger, Chris A Fri, 29 Jul 2005 12:18:23 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:54 -0700 [PATCH] USB: fix Bug in usb-skeleton.c Compare endpoint address to USB_ENDPOINT_DIR_MASK to determine endpoint direction... From: "Conger, Chris A." Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 3eb0c5f4b539873ca88f8597db6a49e83ddfd7e2 tree 22b31e5bc049df465670ab03c44da8a4022a9c92 parent f29080976d109b6c08e42be8a1888f338785c502 author Ben Dooks Fri, 29 Jul 2005 12:18:03 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:53 -0700 [PATCH] USB: add S3C24XX USB Host driver support USB (OHCI) Host driver for S3C2410/S3C2440 based systems Signed-off-by: Ben Dooks Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit f29080976d109b6c08e42be8a1888f338785c502 tree 7a83d8b26e3bc3c6c8f65b16260c38a16842e651 parent 8753e65e34a7b02f8473e7c6ce1cf7e08db4c6e3 author Mathieu Fri, 29 Jul 2005 12:17:29 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:53 -0700 [PATCH] USB: drivers/net/usb/zd1201.c: Gigabyte GN-WLBZ201 dongle usbid Gigabyte GN-WLBZ201 wifi usb dongle works very well, using the zd1201 driver. the only missing part is that the corresponding usbid is not declared. The following patch should fix this. From: "Mathieu" Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 8753e65e34a7b02f8473e7c6ce1cf7e08db4c6e3 tree 1bb13f63d745fd2a7b775b4b03534766baeae994 parent a6db592e1624bb7ec62cf56629c9556442169ac5 author Masahito Omote Fri, 29 Jul 2005 12:17:25 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:53 -0700 [PATCH] USB: Patch for KYOCERA AH-K3001V support This patch enables a support of KYOCERA AH-K3001V, one of the most popular cell phone in Japan. This device has vendor specific ID but works with acm driver by adding USB ID. This device already works on FreeBSD and OS X by native USB ACM driver with USB ID added. This device is probed as NO_UNION_NORMAL not to hang up when probing. Signed-off-by: Masahito Omote Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit a6db592e1624bb7ec62cf56629c9556442169ac5 tree d9b6638f8999c6306d5eaad86f3cab5cf641a276 parent 86d30741e480f40676c2173e1153368a4846da48 author Michael Hund Fri, 29 Jul 2005 12:17:20 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:53 -0700 [PATCH] USB: ldusb fixes below you will find the forgotten kmalloc check (sorry). Signed-off-by: Michael Hund Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 86d30741e480f40676c2173e1153368a4846da48 tree a30c3e34a033f71b1fbf4b96b22555f85cb641a7 parent 4a0d73c463765ce34b22ac3924d0661caf2a7539 author Alan Stern Fri, 29 Jul 2005 12:17:16 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:53 -0700 [PATCH] USB: Usbcore: Don't try to delete unregistered interfaces This patch handles a rarely-encountered failure mode in usbcore. It's legal for device_add to fail (although now it happens even more rarely than before since failure to bind a driver is no longer fatal). So when we destroy the interfaces in a configuration, we shouldn't try to delete ones which weren't successfully registered. Also, failure to register an interface shouldn't be fatal either -- I think; you may disagree about this part of the patch. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 4a0d73c463765ce34b22ac3924d0661caf2a7539 tree 753fd069ce67d9a44ff4aab2b336536dc205bd30 parent fe0410c7f43e133e156e54e3156392e800bedc21 author Adrian Bunk Fri, 29 Jul 2005 12:17:11 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:52 -0700 [PATCH] USB: drivers/usb/net/: remove two unused multicast_filter_limit variables The only uses of both variables were recently removed. Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit fe0410c7f43e133e156e54e3156392e800bedc21 tree 0c082c02228d3ec92f7630f51e01f3b4085b5fd7 parent 279e1545a1350b9147ae884f848ffc8b7db18967 author Alan Stern Fri, 29 Jul 2005 12:16:58 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:52 -0700 [PATCH] USB: usbfs: Don't leak uninitialized data This patch fixes an information leak in the usbfs snoop facility: uninitialized data from __get_free_page can be returned to userspace and written to the system log. It also improves the snoop output by printing the wLength value. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 279e1545a1350b9147ae884f848ffc8b7db18967 tree 71fd44f8a3a8528a3865e45fb78e132643bde55d parent 74ede0ff59fb18787213ed979641624a2f234821 author Ian Abbott Fri, 29 Jul 2005 12:16:52 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:52 -0700 [PATCH] USB: ftdi_sio: fix a couple of timeouts ftdi_sio: Fix timeouts in a couple of usb_control_msg() calls due to change of units from jiffies to milliseconds in 2.6.12. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 74ede0ff59fb18787213ed979641624a2f234821 tree f3edc4df478c45684a856bbca6f90047ab457862 parent 9b1513d91e195af46b8e59626f74d3d41a7565af author Ian Abbott Fri, 29 Jul 2005 12:16:41 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:52 -0700 [PATCH] USB: ftdi_sio: Update RTS and DTR simultaneously ftdi_sio: Update RTS and DTR simultaneously, using a single control URB instead of separate control URBs for RTS and DTR. Reinhard Bergmann observed time differences of up to 680 ms with his application on a 2.4.22 kernel when RTS and DTR were updated using separate control URBs, which is unacceptable. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 9b1513d91e195af46b8e59626f74d3d41a7565af tree 1641fb53fb4fb3562fe44a3dd271b940147161f8 parent a46e812620bd7db457ce002544a1a6572c313d8a author Ian Abbott Fri, 29 Jul 2005 12:16:31 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:52 -0700 [PATCH] USB: ftdi_sio: new microHAM and Evolution Robotics devices The attached patch adds the following new devices to the ftdi_sio driver: * microHAM USB-Y6 and USB-Y8 devices submitted by Justin Burket (KL1RL). * Evolution Robotics ER1 Control Module submitted by Shawn M. Lavelle. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit a46e812620bd7db457ce002544a1a6572c313d8a tree d0612d80c5b7c1eab17c28c183e06906c9b1b7f3 parent 10f4338ca8534823bc6c843edbbe42fd4e73d258 author Kumar Gala Fri, 29 Jul 2005 12:16:27 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:52 -0700 [PATCH] PCI: fix up errors after dma bursting patch and CONFIG_PCI=n -- bug? In the patch from: http://www.uwsg.iu.edu/hypermail/linux/kernel/0506.3/0985.html Is the the following line suppose inside the if CONFIG_PCI=n #define pci_dma_burst_advice(pdev, strat, strategy_parameter) do { } while (0) Signed-off-by: Kumar Gala Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 10f4338ca8534823bc6c843edbbe42fd4e73d258 tree e0e94513f07166de7f45cfdc2b8c2199e5be7a3d parent 761a3ac08c63718dacde12aaf0ec6d6760e8c2b7 author Ivan Kokshaysky Fri, 29 Jul 2005 12:16:22 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:51 -0700 [PATCH] PCI: remove PCI_BRIDGE_CTL_VGA handling from setup-bus.c The setup-bus code doesn't work correctly for configurations with more than one display adapter in the same PCI domain. This stuff actually is a leftover of an early 2.4 PCI setup code and apparently it stopped working after some "bridge_ctl" changes. So the best thing we can do is just to remove it and rely on the fact that any firmware *has* to configure VGA port forwarding for the boot display device properly. But then we need to ensure that the bus->bridge_ctl will always contain valid information collected at the probe time, therefore the following change in pci_scan_bridge() is needed. Signed-off-by: Ivan Kokshaysky Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 761a3ac08c63718dacde12aaf0ec6d6760e8c2b7 tree 9e57362eea27c60a1a8870ed21767dbf89a37867 parent e96e2f148060330f6178b502574dcb81eb7318bf author Jon Smirl Fri, 29 Jul 2005 12:16:17 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:51 -0700 [PATCH] PCI: Adjust PCI rom code to handle more broken ROMs There are ROMs reporting that their size exceeds their PCI ROM resource window. This patch returns the minimum of the resource window size or the size in the ROM. An example of this breakage is the XGI Volari Z7. Signed-off-by: Jon Smirl Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit e96e2f148060330f6178b502574dcb81eb7318bf tree 58c03c33e68e4db69cb1284f4d53d057d37752ba parent ea5860d22b37b47c5023949edad2ec23e75169d1 author Daniele Gaffuri Fri, 29 Jul 2005 12:15:46 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:51 -0700 [PATCH] PCI: Hidden SMBus bridge on Toshiba Tecra M2 Patch against 2.6.12 to unhide SMBus on Toshiba Centrino laptops using Intel 82855PM chipset. Tested on Toshiba Tecra M2. Signed-off-by: Daniele Gaffuri Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit ea5860d22b37b47c5023949edad2ec23e75169d1 tree 8c05148f86bc187c95107295ba77cbd3502d1b2d parent 0d73adc14e239b05a9393c09c067a26a5ba86b6c author Evgeniy Polyakov Fri, 29 Jul 2005 12:15:38 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:51 -0700 [PATCH] w1: kconfig/Makefile fix. This patch was sent first time very long time ago, but magically was disapeared, it probably exists in your queue, but to be sure, I resend it. If can not be applied cleanly after your w1 queue is flushed into upstrem tree, just drop it. Thanks. Patch from Michael Farmbauer . Signed-off-by: Evgeniy Polyakov Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 0d73adc14e239b05a9393c09c067a26a5ba86b6c tree 2d37b52c21c02c4f7be2e2551abad3d4cbc69e73 parent 86749e8512d2c37618dc5814ef41abbf168f291b author Jean Delvare Fri, 29 Jul 2005 12:15:33 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:51 -0700 [PATCH] I2C: 24RF08 corruption prevention (again) The 24RF08 corruption prevention in the eeprom and max6875 drivers wasn't complete. For one thing, the additional quick write should happen as soon as possible and unconditionally, while both drivers had error paths before. For another, when a given chip is forced, the core does not emit a quick write, so a second quick write would cause the corruption rather than prevent it. I plan to move the corruption prevention in the core in the long run, so that individual drivers don't have to care anymore. But I need to merge i2c_probe and i2c_detect before I do (work in progress). Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 86749e8512d2c37618dc5814ef41abbf168f291b tree bbb3b986e90a234a26b46ba30807bf0b62722138 parent 0cacdf298211ec9e87354cf102f20d070e76e075 author Jean Delvare Fri, 29 Jul 2005 12:15:29 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:51 -0700 [PATCH] I2C: missing new lines in i2c-core messages Two log messages lack their trailing new line in i2c-core. I'd swear I had fixed them already, but it seems not. Bonus: improved coding style. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 0cacdf298211ec9e87354cf102f20d070e76e075 tree e1bf80422b3508d689210db3b0e1f3bbf075e2ec parent 368609c5a8bd75b77721e69726ddfd3c6a30f7d4 author Jean Delvare Fri, 29 Jul 2005 12:15:12 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:50 -0700 [PATCH] I2C: use time_after in 3 chip drivers A few i2c drivers were not updated to use time_after() yet. Signed-off-by: Marcelo Feitoza Parisi Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 368609c5a8bd75b77721e69726ddfd3c6a30f7d4 tree 8cff3da0479ff0e978db7f0c973bd1f5fd887b0d parent d91e16943fdaf02bf3459059abca1032589c0663 author Jean Delvare Fri, 29 Jul 2005 12:15:07 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:50 -0700 [PATCH] I2C: Missing space in split strings A few split string in i2c (and now hwmon) drivers lack a joining space, causing them to display incorrectly. This trivial patch fixes that up. Please apply, thanks. Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit d91e16943fdaf02bf3459059abca1032589c0663 tree d583c855984bc43f3b3c25c2b43a5dec5bf1fd75 parent cb14c3a13cb1e78acf54a9ddc9e5f3e2f023523e author Ladislav Michl Fri, 29 Jul 2005 12:15:00 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:50 -0700 [PATCH] I2C: ds1337 - fix 12/24 hour mode bug DS1339 manual, page 6, chapter Date and time operation: The DS1339 can be run in either 12-hour or 24-hour mode. Bit 6 of the hours register is defined as the 12-hour or 24-hour mode-select bit. When high, the 12-hour mode is selected. Patch below makes ds1337 driver work as documented in manual. Signed-off-by: Ladislav Michl Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit cb14c3a13cb1e78acf54a9ddc9e5f3e2f023523e tree 0e301855624c19d120eda907513012582d9bb157 parent fc185d95ecf3ca62fa9afb5214a69b39060ff537 author Kumar Gala Fri, 29 Jul 2005 12:14:40 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:50 -0700 [PATCH] I2C-MPC: Restore code removed I2C-MPC: Restore code removed A previous patch to remove support for the OCP device model was way to generious and moved some of the platform device model code, oops. Signed-off-by: Kumar Gala Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit fc185d95ecf3ca62fa9afb5214a69b39060ff537 tree 2624dfcf3e4ab1a557576ec5226ed663b5bd2509 parent 3348e05a4f25489908d9f7ed4e80ac291ead18f4 author Greg KH Fri, 29 Jul 2005 12:14:34 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:49 -0700 [PATCH] Add the rules about the -stable kernel releases to the Documentation directory This was the last agreed upon set of rules, it's probably time we actually add them to the kernel tree to make them "official". Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 3348e05a4f25489908d9f7ed4e80ac291ead18f4 tree 609f4e182548ebe2609262404b56b5fb07615c19 parent 9ca1eb3282b6050c295adb296761f8d26baf4ca5 author Adrian Bunk Fri, 29 Jul 2005 12:14:28 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:49 -0700 [PATCH] DEBUG_FS must depend on SYSFS CONFIG_DEBUG_FS=y and CONFIG_SYSFS=n results in the following compile error: <-- snip --> ... LD vmlinux fs/built-in.o: In function `debugfs_init': inode.c:(.init.text+0x31be): undefined reference to `kernel_subsys' make: *** [vmlinux] Error 1 <-- snip --> Signed-off-by: Adrian Bunk Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 9ca1eb3282b6050c295adb296761f8d26baf4ca5 tree 1750560628f01102186150f62791703ea3bde6e8 parent bc062b1b5c6bef4e3a29c7fda57967251d12beb0 author Maneesh Soni Fri, 29 Jul 2005 12:14:19 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:49 -0700 [PATCH] sysfs: fix sysfs_setattr o sysfs_dirent's s_mode field should also be updated in sysfs_setattr(), else there could be inconsistency in the two fields. s_mode is used while ->readdir so as not to bring in the inode to cache. Signed-off-by: Maneesh Soni Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit bc062b1b5c6bef4e3a29c7fda57967251d12beb0 tree 57dceb8371d0e83e7772b3deeb4a9e8dd2ae6b03 parent 30d07a22a19329c89628a2057b0120245c482c9e author Maneesh Soni Fri, 29 Jul 2005 12:13:35 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:49 -0700 [PATCH] sysfs: fix sysfs_chmod_file o sysfs_chmod_file() must update the new iattr field in sysfs_dirent else the mode change will not be persistent in case of inode evacuation from cache. Signed-off-by: Maneesh Soni Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 30d07a22a19329c89628a2057b0120245c482c9e tree 03185b5c5d970b40fe48aa2571ea65063208ae6e parent 8bf2755664bfe03a414e7ec02d9f16a3d5beb60d author Daniel Walker Fri, 29 Jul 2005 12:14:07 -0700 committer Linus Torvalds Fri, 29 Jul 2005 13:12:49 -0700 [PATCH] stable_api_nonsense.txt fixes Signed-off-by: Daniel Walker Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds commit 8bf2755664bfe03a414e7ec02d9f16a3d5beb60d tree 4cf707d59b69c153a29d93e90fa5dc53baec64a0 parent 36c4fd23cc06f81d68ee968c4c1bf1cebb3dcea5 author Eric W. Biederman Fri, 29 Jul 2005 13:25:28 -0600 committer Linus Torvalds Fri, 29 Jul 2005 13:12:49 -0700 [PATCH] x86_64 machine_kexec: Use standard pagetable helpers Use the standard hardware page table manipulation macros. This is possible now that linux works with all 4 levels of the page tables. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 094ce7fde493a1196b8152f9f9e73c20e24a2b05 tree 66398ddc7ee59460fe3313b626620907d9999731 parent 2bcad935a3bb149833bf249e6b159f22a90d6218 author Dave Jones Fri, 29 Jul 2005 12:55:40 -0700 committer Dave Jones Fri, 29 Jul 2005 12:55:40 -0700 arch/i386/kernel/cpu/cpufreq/powernow-k8.c: In function `powernow_k8_cpu_init_acpi': arch/i386/kernel/cpu/cpufreq/powernow-k8.c:740: warning: unused variable `vid' arch/i386/kernel/cpu/cpufreq/powernow-k8.c:739: warning: unused variable `fid' arch/i386/kernel/cpu/cpufreq/powernow-k8.c:743: warning: unused variable `vid' arch/i386/kernel/cpu/cpufreq/powernow-k8.c:742: warning: unused variable `fid' arch/i386/kernel/cpu/cpufreq/powernow-k8.c:746: `fid' undeclared (first use in this function) arch/i386/kernel/cpu/cpufreq/powernow-k8.c:746: `vid' undeclared (first use in this function) Signed-off-by: Andrew Morton Signed-off-by: Dave Jones commit 36c4fd23cc06f81d68ee968c4c1bf1cebb3dcea5 tree 53bbd9c8fef8b84e26e0ae0471eb6c912e7ba553 parent e7b47ccaf655cbaf336745a9b65cf7b22a536fca author Eric W. Biederman Fri, 29 Jul 2005 13:02:09 -0600 committer Linus Torvalds Fri, 29 Jul 2005 12:17:27 -0700 [PATCH] x86_64 machine_kexec: Cleanup inline assembly. In an uncensored copy of code from i386 to x86_64 I wound up with inline assembly with the wrong constraints. Use input constraints instead of output constraints. So I know the assembler will do the right thing specify the size of the operand lidtq and lgdtq instead of just lidt and lgdt. Make load_segments use an input constraint, and delete the macro fun. Without having to reload %cs like I do on i386 this code is noticeably simpler. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit e7b47ccaf655cbaf336745a9b65cf7b22a536fca tree e60c0850ffab179e4080c5deb718a7b9a76b0a5c parent 1108bae41e2ac596f46bc4cd8876b93063203d2b author Eric W. Biederman Fri, 29 Jul 2005 13:01:18 -0600 committer Linus Torvalds Fri, 29 Jul 2005 12:17:26 -0700 [PATCH] i386 machine_kexec: Cleanup inline assembly For some reason I was telling my inline assembly that the input argument was an output argument. Playing in the trampoline code I have seen a couple of instances where lgdt get the wrong size (because the trampolines run in 16bit mode) so use lgdtl and lidtl to be explicit. Additionally gcc-3.3 and gcc-3.4 want's an lvalue for a memory argument and it doesn't think an array of characters is an lvalue so use a packed structure instead. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 1108bae41e2ac596f46bc4cd8876b93063203d2b tree dafda7d00016ab17d34e7a83239c35b6b682812a parent d6d2a2ab05da6e44bd127fe375078bb7c36a0ad0 author Eric W. Biederman Fri, 29 Jul 2005 12:50:57 -0600 committer Linus Torvalds Fri, 29 Jul 2005 12:02:09 -0700 [PATCH] reboot: remove device_suspend(PMSG_FREEZE) from kernel_kexec If device_suspend(PMSG_FREEZE) is not ready to be called in kernel_restart it is definitely not ready to be called in the even more fickle kernel_kexec. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds commit 2bcad935a3bb149833bf249e6b159f22a90d6218 tree 0fc0da6d1bcfc68ef7918773d3c09b284a02bde2 parent 7153d9612fe5cefc29f9f17d7a6b9f0dcd07b20e author Dave Jones Fri, 29 Jul 2005 09:56:41 -0700 committer Dave Jones Fri, 29 Jul 2005 09:56:41 -0700 Fix up powernow-k8 compile. (Missing definitions). From: Mark Langsdorf Signed-off-by: Dave Jones commit d6d2a2ab05da6e44bd127fe375078bb7c36a0ad0 tree 7b4f2893d8c09fba67c83458efeea9396977bc70 parent 33ac02aa4cef417871e128ab4a6565e751e5f3b2 author Linus Torvalds Fri, 29 Jul 2005 11:01:22 -0400 committer Linus Torvalds Fri, 29 Jul 2005 11:01:22 -0400 x86: fix new find_first_bit() Some edge problems with the original C rewrite. Thanks go to Cal Peake, who pinpointed the breakage to the rewrite, and tested this fixed version. Signed-off-by: Linus Torvalds commit 33ac02aa4cef417871e128ab4a6565e751e5f3b2 tree 000243cf3b1477eafb09d86207fdf199ec7f142b parent e0d7ff168a71299919f01500b3d507aae0c67513 parent 2bcad935a3bb149833bf249e6b159f22a90d6218 author Linus Torvalds Fri, 29 Jul 2005 10:16:25 -0700 committer Linus Torvalds Fri, 29 Jul 2005 10:16:25 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq commit e0d7ff168a71299919f01500b3d507aae0c67513 tree de2a7807ec5642e7389191e66d8c5d6d1249096a parent ca49a601c2b4b74e5cf57fef62122204d1982372 parent 33fdfa97f2b3aab698ef849ec50dcc5102017f0a author Linus Torvalds Fri, 29 Jul 2005 09:48:34 -0700 committer Linus Torvalds Fri, 29 Jul 2005 09:48:34 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/dtor/input commit ca49a601c2b4b74e5cf57fef62122204d1982372 tree aac064c0dae4e7d1b2148b7b4b5d9595c624ca49 parent 5a90fa71f6d45054c78b2bd6dbc4feba1638e1d2 parent 7ac5ae4b122f9415948c642b945a26938aa8f347 author Linus Torvalds Fri, 29 Jul 2005 09:47:08 -0700 committer Linus Torvalds Fri, 29 Jul 2005 09:47:08 -0700 Merge master.kernel.org:/home/rmk/linux-2.6-arm-smp commit 5a90fa71f6d45054c78b2bd6dbc4feba1638e1d2 tree 2d6803ca2d8201500a203465d2afe54187ad0c52 parent dddf8f9e4b1af852bcd735d5f737c0d0e2ce6e76 parent 7b6dbd6872ca1d0c03dc0e0a7108d79c8dafa793 author Linus Torvalds Fri, 29 Jul 2005 09:04:47 -0700 committer Linus Torvalds Fri, 29 Jul 2005 09:04:47 -0700 Merge head 'upstream' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev commit 7ac5ae4b122f9415948c642b945a26938aa8f347 tree d925c9b022866bfac4e1e0ddaff76cbe158bdbbf parent e7ec02938dbe8ca35b750f29eaa4b12de0b52754 author Russell King Fri, 29 Jul 2005 16:36:48 +0100 committer Russell King Fri, 29 Jul 2005 16:36:48 +0100 [ARM SMP] Ensure secondary CPUs see their pen release Since the secondary CPUs will not be operating in symetric mode while they are held in the pen, we need to ensure that the write to pen_release is visible to them, by flushing the cache. Signed-off-by: Russell King commit dddf8f9e4b1af852bcd735d5f737c0d0e2ce6e76 tree c435c0d2e7d4420f4e2ffc2cb8ce36123303592b parent 911656f8a630e36b22c7e2bba3317dec9174209c parent 6192b54b845ed05cb838f86ca588cc625c703a09 author Linus Torvalds Thu, 28 Jul 2005 22:12:57 -0700 committer Linus Torvalds Thu, 28 Jul 2005 22:12:57 -0700 Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 commit 911656f8a630e36b22c7e2bba3317dec9174209c tree 2257dd4c04f4d234caf770a748b290b4d144fcf5 parent f0b9d796002d9d39575cf1beabfb625f68b507fa author Stephen Smalley Thu, 28 Jul 2005 21:16:21 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:05 -0700 [PATCH] selinux: Fix address length checks in connect hook This patch fixes the address length checks in the selinux_socket_connect hook to be no more restrictive than the underlying ipv4 and ipv6 code; otherwise, this hook can reject valid connect calls. This patch is in response to a bug report where an application was calling connect on an INET6 socket with an address that didn't include the optional scope id and failing due to these checks. Signed-off-by: Stephen Smalley Signed-off-by: James Morris Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f0b9d796002d9d39575cf1beabfb625f68b507fa tree 185905616555941f578fd0e8b7871477c3395f73 parent e1474e2d9dfb782e6c6517a180b5a8913c69dfad author Jon Smirl Thu, 28 Jul 2005 21:16:19 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:05 -0700 [PATCH] fbdev: colormap fixes fix Fix a buffer overflow vunerabilty in previous cmap patch Signed-off-by: Jon Smirl Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e1474e2d9dfb782e6c6517a180b5a8913c69dfad tree af1aa4912ce87cef01f358e7e658a066900f7770 parent 78fa74a23b16bdb0d944272b696915c4e0bb3ee1 author Dave Hansen Thu, 28 Jul 2005 21:16:18 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:05 -0700 [PATCH] re-disable TSC on NUMAQ Somewhere recently, the TSC got re-enabled for timekeeping on NUMAQ machines. However, the hardware makes these get unsynchronized quite badly. So badly, in fact, that the code to fix up the skew can just hang on boot. This patch re-disables them. It's nicely confined to the numaq.c file. It would be great if this could make it into 2.6.13, I think it counts as a bugfix. Tested on a 16-proc 4-node NUMAQ. Signed-off-by: Dave Hansen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 78fa74a23b16bdb0d944272b696915c4e0bb3ee1 tree 5f0d83021afeb7adffce9b41557e1d2e3c8c08bd parent a2d76bd8fa29f9b6dbf3ee8f6bc7bdda21bc5ce8 author George Anzinger Thu, 28 Jul 2005 21:16:16 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:05 -0700 [PATCH] posix timers: fix normalization problem (We found this (after a customer complained) and it is in the kernel.org kernel. Seems that for CLOCK_MONOTONIC absolute timers and clock_nanosleep calls both the request time and wall_to_monotonic are subtracted prior to the normalize resulting in an overflow in the existing normalize test. This causes the result to be shifted ~4 seconds ahead instead of ~2 seconds back in time.) The normalize code in posix-timers.c fails when the tv_nsec member is ~1.2 seconds negative. This can happen on absolute timers (and clock_nanosleeps) requested on CLOCK_MONOTONIC (both the request time and wall_to_monotonic are subtracted resulting in the possibility of a number close to -2 seconds.) This fix uses the set_normalized_timespec() (which does not have an overflow problem) to fix the problem and as a side effect makes the code cleaner. Signed-off-by: George Anzinger Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a2d76bd8fa29f9b6dbf3ee8f6bc7bdda21bc5ce8 tree 88387f513bb2c09b7195117b1d7bbf389dab5d52 parent 30f417c65e151dc96998a8ef721149a43998bc65 author Paolo 'Blaisorblade' Giarrusso Thu, 28 Jul 2005 21:16:15 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:05 -0700 [PATCH] uml: implement hostfs syncing Actually implement the hostfs "sync" method. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 30f417c65e151dc96998a8ef721149a43998bc65 tree 8830925e76a185a8ac7843789d87ab288a9e74f3 parent 201134ca168c27c1f895ecfd74f9ebf1129483d0 author Christophe Lucas Thu, 28 Jul 2005 21:16:12 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:05 -0700 [PATCH] uml: Clean up prink calls printk() calls should include appropriate KERN_* constant. Signed-off-by: Christophe Lucas Signed-off-by: Domen Puncer Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 201134ca168c27c1f895ecfd74f9ebf1129483d0 tree 55e7e826f92a5fa4e7e7234908085f8a199a176e parent 7e1f49da6881bbf938e502d99335ad5488eb93b4 author Bodo Stroesser Thu, 28 Jul 2005 21:16:11 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:04 -0700 [PATCH] uml: Fix typo Fix a typo in wait_stub_done. Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7e1f49da6881bbf938e502d99335ad5488eb93b4 tree 8ca765ab1f9ac081bd797b23c4355441b9f75966 parent d9b7cc84afc7f4ebcef27691279d557e13128818 author Jeff Dike Thu, 28 Jul 2005 21:16:09 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:04 -0700 [PATCH] uml: Fix load average >=1 update_process_times was missing its irq_enter/irq_exit wrapper. This caused ksoftirqd to be scheduled on every clock tick. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d9b7cc84afc7f4ebcef27691279d557e13128818 tree 524e4909a810dbf00f171c72a4b5fd83cf95c538 parent 9057e9deee648cb2824d83b9eb7058edb5442a21 author Jeff Dike Thu, 28 Jul 2005 21:16:08 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:04 -0700 [PATCH] uml: Fix redundant assignment By this point, .is_user has already been set, so this assignment is useless. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 9057e9deee648cb2824d83b9eb7058edb5442a21 tree 3068f40bdee9b5bae16615b51275bdbf7b978d4a parent 6f313b12335abf010802751c45249e7a0007a232 author Bodo Stroesser Thu, 28 Jul 2005 21:16:06 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:04 -0700 [PATCH] uml: Fix skas0 stub return It's wrong to pop a fixed number of words from stack before calling sigreturn, as the number depends on what code is generated by the compiler for the start of stub_segv_handler(). What we need is esp containing the address of sigcontext. So we explicitly load that pointer into esp. Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6f313b12335abf010802751c45249e7a0007a232 tree 9cbee37b5b09ec12424e7324845f805ea6c7b404 parent 8afe07ce0003d4c63b7d76b6f28264503cb80d71 author Jeff Dike Thu, 28 Jul 2005 21:16:05 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:03 -0700 [PATCH] uml: vm86 compile fix We added an include of asm/vm86.h in include/asm-i386/ptrace.h. Since UML includes the underlying arch's ptrace.h, it needs an asm/vm86.h in order to build. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8afe07ce0003d4c63b7d76b6f28264503cb80d71 tree c92d9bff9c4e94504f90a090b48ffc7eb7fbb99d parent b85e9680a33ae2df04bd493f220a76dcf183ce80 author Paolo 'Blaisorblade' Giarrusso Thu, 28 Jul 2005 21:16:03 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:03 -0700 [PATCH] uml: avoid unnecessary pcap rebuild Just a Kbuild subtlety, not listing a target file inside targets causes it to be rebuilt each time, and as a consequence everything depending on it is rebuilt. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b85e9680a33ae2df04bd493f220a76dcf183ce80 tree f6c405c80cc80d1e199cafe7867e91dd55da2b2a parent 2ca3310e78912a527d7d2c62c01da7cbf7346b8d author Jeff Dike Thu, 28 Jul 2005 21:16:01 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:03 -0700 [PATCH] uml: fix TT mode by reverting "use fork instead of clone" With Paolo 'Blaisorblade' Giarrusso Revert the following patch, because of miscompilation problems in different environments leading to UML not working *at all* in TT mode; it was merged lately in 2.6 development cycle, a little after being written, and has caused problems to lots of people; I know it's a bit too long, but it shouldn't have been merged in first place, so I still apply for inclusion in the -stable tree. Anyone using this feature currently is either using some older kernel (some reports even used 2.6.12-rc4-mm2) or using this patch, as included in my -bs patchset. For now there's not yet a fix for this patch, so for now the best thing is to drop it (which was widely reported to give a working kernel, and as such was even merged in -stable tree). "Convert the boot-time host ptrace testing from clone to fork. They were essentially doing fork anyway. This cleans up the code a bit, and makes valgrind a bit happier about grinding it." URL: http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=98fdffccea6cc3fe9dba32c0fcc310bcb5d71529 Signed-off-by: Jeff Dike Signed-off-by: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2ca3310e78912a527d7d2c62c01da7cbf7346b8d tree 3eb83a509487d5b85d346630e9d700d73d28e39e parent 4e90188be4a56f37fbb4ffb5b58745683526dcb9 author Alasdair G Kergon Thu, 28 Jul 2005 21:16:00 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:03 -0700 [PATCH] device-mapper: fix md->lock deadlocks in core This patch is an attempt to fix deadlocks discovered in the core dm. The problems boil down to md->lock having to be held in too many places, so I've split it into two: md->suspend_lock and md->io_lock. suspend_lock is now held throughout dm_suspended() as well as dm_resume() and dm_swap_table() so that these functions cannot run concurrently: there's no requirement for that and it added complexity. DMF_FS_LOCKED becomes redundant: DMF_SUSPENDED provides adequate protection. Signed-Off-By: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 4e90188be4a56f37fbb4ffb5b58745683526dcb9 tree dde381c2419cce6e529729fd361bf0b9b90392ac parent cf222b3769c3759488579441ab724ed33a2da5f4 author Alasdair G Kergon Thu, 28 Jul 2005 21:15:59 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:03 -0700 [PATCH] device-mapper: fix deadlocks in core Avoid another bdget_disk which can deadlock. Signed-Off-By: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit cf222b3769c3759488579441ab724ed33a2da5f4 tree b49e2a731a02cc9a280183232ecad5c165f121eb parent 8c56ac3f3b12936b03d2626c7572fed5977af515 author Alasdair G Kergon Thu, 28 Jul 2005 21:15:57 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:03 -0700 [PATCH] device-mapper: fix deadlocks in core (prep) Some code tidy-ups in preparation for the next patches. Change dm_table_pre/postsuspend_targets to accept NULL. Use dm_suspended() throughout. Signed-Off-By: Alasdair G Kergon Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8c56ac3f3b12936b03d2626c7572fed5977af515 tree 4cb1fa7e6e0a2830d99520f42c6624697d0194c7 parent 5a7b90137d9f05390cf953d756e1edda2ca88053 author Ravikiran G Thirumalai Thu, 28 Jul 2005 21:15:55 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:02 -0700 [PATCH] x86_64: fix cpu_to_node setup for sparse apic_ids While booting with SMT disabled in bios, when using acpi srat to setup cpu_to_node[], sparse apic_ids create problems. Without this patch, intel x86_64 boxes with hyperthreading disabled in the bios (and which rely on srat for numa setup) endup having incorrect values in cpu_to_node[] arrays, causing sched domains to be built incorrectly etc. Signed-off-by: Ravikiran Thirumalai Signed-off-by: Shai Fultheim Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5a7b90137d9f05390cf953d756e1edda2ca88053 tree 3df76398df406be443a4931b64afa3af522709b1 parent ef6e525393dbbab7e1dc42594d35a1dfd688d1d7 author Andi Kleen Thu, 28 Jul 2005 21:15:54 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:02 -0700 [PATCH] x86_64: Remove unused variable in k8-bus.c arch/x86_64/pci/k8-bus.c: In function `fill_mp_bus_to_cpumask': arch/x86_64/pci/k8-bus.c:32: warning: unused variable `printed' Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef6e525393dbbab7e1dc42594d35a1dfd688d1d7 tree 31dff5c27707f7c095cbc6cd9157ac2fa62d487f parent 8d224d32c28c165f7100a670d61d64dd15d49a1e author Nishanth Aravamudan Thu, 28 Jul 2005 21:15:53 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:02 -0700 [PATCH] x86_64: Use msleep in smpboot.c Replace schedule_timeout() with msleep() to guarantee the task delays as expected. Signed-off-by: Nishanth Aravamudan Signed-off-by: Domen Puncer Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 8d224d32c28c165f7100a670d61d64dd15d49a1e tree 7629d258137c67e395f471fccb846a7a421dab13 parent 07291d431ce6c6660c35dd4e5e980a406dc3629a author Jesse Millan Thu, 28 Jul 2005 21:15:51 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:02 -0700 [PATCH] x86_64: Fix gcc 4 warning in sched_find_first_bit This patch eliminates the GCC4 warning on the x86_64 platform: kernel/sched.c:1824: warning: control may reach end of non-void function 'sched_find_first_bit' being inlined. The change follows the lead of others, i.e. it is guaranteed that at least one of b[0], b[1], or b[2] will have a bit set and evaluate to true. That being said, GCC4.0.0 notices that the code flow does not return anything if b[0], b[1] and b[2] are not true. Since we know better, if it's not b[0] or b[1], it has to be b[2]. Signed-off-by: Jesse Millan Signed-off-by: Domen Puncer Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 07291d431ce6c6660c35dd4e5e980a406dc3629a tree 6238e9d5ef085b714b19d2261d6e860bbf967bca parent ed6b676ca8b50e0b538e61c283d52fd04f007abf author Andi Kleen Thu, 28 Jul 2005 21:15:50 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:02 -0700 [PATCH] x86_64: Fix SRAT handling on non dual core systems Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ed6b676ca8b50e0b538e61c283d52fd04f007abf tree 753ea613ce334c41f835f6aac21074b137d24713 parent 3829ee6b1be03d5aa3005fe7d19f30088b539836 author Andi Kleen Thu, 28 Jul 2005 21:15:49 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:02 -0700 [PATCH] x86_64: Switch to the interrupt stack when running a softirq in local_bh_enable() This avoids some potential stack overflows with very deep softirq callchains. i386 does this too. TOADD CFI annotation Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3829ee6b1be03d5aa3005fe7d19f30088b539836 tree be7a9f93c38662905509f1033ef935436d8b02a3 parent 3ba80e7595f3e308e5e7135445b513779fc0ba3b author Andi Kleen Thu, 28 Jul 2005 21:15:48 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:02 -0700 [PATCH] x86_64: Small assembly improvements Save a byte here and there. Ultimatively useless, but these things always catch my eyes when reading the code so just fix them for now. Also I got at least one patch fixing of them already, which gives a good excuse. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3ba80e7595f3e308e5e7135445b513779fc0ba3b tree 600e763635fd7b0639c0e0791f5328f0485a82f3 parent e2cac78935ff1705e1eb53be28da704d3482b4f5 author Andi Kleen Thu, 28 Jul 2005 21:15:47 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:01 -0700 [PATCH] x86_64: Remove unnecessary include in fault.c Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit e2cac78935ff1705e1eb53be28da704d3482b4f5 tree 1a32474c6a7a27a3b143c52d3864eb635453078e parent b6a68a16dc15c65fe76acb7502a806ae415cd3e4 author Andi Kleen Thu, 28 Jul 2005 21:15:46 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:01 -0700 [PATCH] x86_64: When running cpuid4 need to run on the correct CPU Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b6a68a16dc15c65fe76acb7502a806ae415cd3e4 tree 8e509a3818fe4670f2a1f5789a17e3ef12a9aab5 parent 2275cfa8bcb833cdac7dcc616d11306ca35eec58 author Andi Kleen Thu, 28 Jul 2005 21:15:45 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:01 -0700 [PATCH] x86_64: Turn BUG data into valid instruction This avoids confusing the disassembler. Costs 2 bytes per BUG. Thanks to Suresh Siddha and Jan Beulich for suggesting suitable instructions. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2275cfa8bcb833cdac7dcc616d11306ca35eec58 tree 079ad29faf7f05dbfe5235d322d741ea540ba29c parent f8d311939f9d2b2a5e935df8dceb98b7cbe08d43 author Andreas Gruenbacher Thu, 28 Jul 2005 21:15:44 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:01 -0700 [PATCH] x86_64: Icecream has no way of detecting assembler-level includes Icecream preprocesses c sources locally, and sends the result off to a remote host for compiling. It does not recognize includes at assembler level. The fix is to put the assemberincludes an a separate .s file, which will always be assembled locally. Signed-off-by: Andreas Gruenbacher Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit f8d311939f9d2b2a5e935df8dceb98b7cbe08d43 tree 02da12ff661ee3da44e29e4ca89df28dea8a4593 parent 37a47e65fa58d413a31f27ee88f6cb98583b6157 author Andi Kleen Thu, 28 Jul 2005 21:15:42 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:01 -0700 [PATCH] x86_64: Support more than 8 cores on AMD systems Use physical mode instead of logical mode to address more CPUs. This is also used in the CPU hotplug case to avoid a race. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 37a47e65fa58d413a31f27ee88f6cb98583b6157 tree 4c9cc88e9816f174d379d3c0f8066aa78163809f parent 5f68c1388ada34998c2902c289c6a6b625a73c4e author Andi Kleen Thu, 28 Jul 2005 21:15:41 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:01 -0700 [PATCH] x86_64: Remove the broadcast options that were added for cpuhotplug Will be obsolete with physflat. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5f68c1388ada34998c2902c289c6a6b625a73c4e tree 6f7f75698bb706e549d553843145de091b3fb745 parent 91c6d400940e97f2809c04fcf383517f7650dbd4 author Andi Kleen Thu, 28 Jul 2005 21:15:41 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:00 -0700 [PATCH] x86_64: Remove IA32_* build tools in Makefile Not used anymore since quite some time. Just uses -m32 instead. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 91c6d400940e97f2809c04fcf383517f7650dbd4 tree 15eb8b6b3d05e06ab33a125bf2cf7c5081d6848a parent 69cb62eb6dceb0da701e04395d3b412a0648c118 author Andi Kleen Thu, 28 Jul 2005 21:15:39 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:00 -0700 [PATCH] x86_64: Create per CPU machine check sysfs directories This patch will create machinecheck sysdev directories per CPU. All of the cpus still share the same ctl banks. When compiled with CONFIG_HOTPLUG_CPU, it will also bring up/down sysdev directories as cpus go up/down. I have tested the patch along with CONFIG_HOTPLUG_CPU option on in 2.6.13-rc1 kernel. Minor changes by AK: remove useless unload function Signed-off-by: Jacob Shin Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 69cb62eb6dceb0da701e04395d3b412a0648c118 tree 5ed6306e055dbfe30b4db4e7dd1c80439d762f25 parent b684664fd495fd640353c0f786751763db77dcfb author Andi Kleen Thu, 28 Jul 2005 21:15:39 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:00 -0700 [PATCH] x86_64: Print a boot message for hotplug memory zones From: Keith Manning Print a boot message for hotplug memory zones Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit b684664fd495fd640353c0f786751763db77dcfb tree 348f3d452f9d1a78ec1a3684ef53380d41ec9db8 parent 17158d17aa726142255050b407ad701a6f191aba author Keith Mannthey Thu, 28 Jul 2005 21:15:38 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:00 -0700 [PATCH] x86_64: Fix overflow in NUMA hash function setup Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 17158d17aa726142255050b407ad701a6f191aba tree 40256c4adc9eee2f504ab2ef7eea316f5a10fbe0 parent ca4e6b740206fc943cc1c90fd434d4d389da8f2b author Andi Kleen Thu, 28 Jul 2005 21:15:37 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:00 -0700 [PATCH] x86_64: Fix incorrectly defined MSR_K8_SYSCFG Harmless because the kernel didn't use it. Noticed by Travis Betak Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ca4e6b740206fc943cc1c90fd434d4d389da8f2b tree 9d0e4905f96a4fa029664f3ee0c5e1b338b01cb9 parent 6391ad0aa487e7b13588b1439d2462a320b07d0d author Andi Kleen Thu, 28 Jul 2005 21:15:36 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:46:00 -0700 [PATCH] x86_64: Fix some typos in system.h comments Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 6391ad0aa487e7b13588b1439d2462a320b07d0d tree 4d45938e7e62fd958985852b1fdeded35fa488f8 parent d970a5218088a856d80acd9da6c6742f55cb0a0d author Andi Kleen Thu, 28 Jul 2005 21:15:35 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:59 -0700 [PATCH] x86_64: Remove obsolete eat_key prototype Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit d970a5218088a856d80acd9da6c6742f55cb0a0d tree c0f8f7e7e774dd22d74553ce72ae1b8d8127fe39 parent ef4d7cbea773a77b36e732779cab4018ba2c037b author Andi Kleen Thu, 28 Jul 2005 21:15:35 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:59 -0700 [PATCH] x86_64: Fix some comments in tlbflush.h Were either outdated or misleading. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit ef4d7cbea773a77b36e732779cab4018ba2c037b tree c9aeb9e716ee2d83204724d6e2baa2b2e81caf0e parent a54649b801e5fe69755dc55e6589f7a65af25d79 author Andi Kleen Thu, 28 Jul 2005 21:15:34 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:59 -0700 [PATCH] x86_64: Some updates for boot-options.txt Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a54649b801e5fe69755dc55e6589f7a65af25d79 tree 77245e9b10077b63325972761a711adaa6fa9588 parent c853cc7e7940a2d6ad66cfe666192516fc06b0e3 author Andi Kleen Thu, 28 Jul 2005 21:15:32 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:59 -0700 [PATCH] x86_64: Improve CONFIG_GART_IOMMU description and make it default y Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit c853cc7e7940a2d6ad66cfe666192516fc06b0e3 tree 0c280f4db32264b0d89f38b990d085cbd0335a4a parent a940199f206dcf51c65fae27e2ce412f2c5a2b22 author Andi Kleen Thu, 28 Jul 2005 21:15:31 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:59 -0700 [PATCH] x86_64: Remove unused variable in delay.c Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit a940199f206dcf51c65fae27e2ce412f2c5a2b22 tree ada838ac347214d20fcb6003cba1c4938dc7ebae parent de04f3220b9789cc40fd6b1d151dfa0a7e3b03b9 author Andi Kleen Thu, 28 Jul 2005 21:15:30 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:58 -0700 [PATCH] x86_64: Some cleanup in setup64.c Minor cleanup. Move things into their include files, remove obsolete includes, fix indentation, remove obsolete special cases etc. I also added the per cpu section to asm-generic/sections.h and fixed init/main.c to use it. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit de04f3220b9789cc40fd6b1d151dfa0a7e3b03b9 tree aa2f1766c0bc340a8298c463f2138649a83a6177 parent 3019e8ebe6281843488250ee3a539106806da93a author Andi Kleen Thu, 28 Jul 2005 21:15:29 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:58 -0700 [PATCH] x86_64: Clarify Booting processor ... message No need to print kernel addresses there and clarify what the APIC-ID is. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 3019e8ebe6281843488250ee3a539106806da93a tree a40624eb7c152ffaab95c9fa65e99075eee11018 parent 61b1b2d0239da82c0bed8adaa1d070c6551d4afd author Andi Kleen Thu, 28 Jul 2005 21:15:28 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:58 -0700 [PATCH] x86_64: Minor clean up to CPU setup - use smp_processor_id instead of custom hack Does not change any semantics because numa_add_cpu checks for CPU 0 anyways. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 61b1b2d0239da82c0bed8adaa1d070c6551d4afd tree 121b652c8b6915d17beb622086e362a9e9c1733e parent 5b943fbfaf0dbdd3cd9ff2dda100f0b8c47a7d8c author Andi Kleen Thu, 28 Jul 2005 21:15:27 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:58 -0700 [PATCH] x86_64: Move cpu_present/possible_map parsing earlier Various code needs this information now before the actual SMP bootup. Instead of computing it on the fly while booting the other CPUs set it up now while initial MPtable/MADT parsing. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5b943fbfaf0dbdd3cd9ff2dda100f0b8c47a7d8c tree 5c6082a8aa0fca1f0459871f95d83177ce02943b parent 74f0629397cb435e144ff47c48f3bc39e879f196 author Andi Kleen Thu, 28 Jul 2005 21:15:26 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:58 -0700 [PATCH] x86_64: i386/x86_64: remove prototypes for not existing functions in smp.h Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 74f0629397cb435e144ff47c48f3bc39e879f196 tree a5e7a0c889304e3e56b54ea2c8006aa23589cd11 parent acc7b6f01c3d387faa34233a25949eaaf18e0753 author Andi Kleen Thu, 28 Jul 2005 21:15:25 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:57 -0700 [PATCH] x86_64: Use for_each_cpu_mask for clustered IPI flush Makes it slightly more efficient. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit acc7b6f01c3d387faa34233a25949eaaf18e0753 tree d30259bf8a9793c58439bc149cc140e77597678e parent 5df3574ec0eac0eb8d758e8e9b1ad95d909a9e1f author Andi Kleen Thu, 28 Jul 2005 21:15:23 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:57 -0700 [PATCH] x86_64: Update defconfig Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 5df3574ec0eac0eb8d758e8e9b1ad95d909a9e1f tree 0d8922d07d0d463b8a012143d38ca1dae73136ea parent 2a16a3007d5b5896ff62d149bb4dca1a29fd78c4 author Andi Kleen Thu, 28 Jul 2005 21:15:22 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:57 -0700 [PATCH] x86_64: Always ack IPIs even on errors Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 2a16a3007d5b5896ff62d149bb4dca1a29fd78c4 tree 503c4baf54a7be16e1dd40ba864a855b73f539e9 parent 63953523341bcafe5928bf6e99bffd7db94b471e author Alexander Nyberg Thu, 28 Jul 2005 21:15:20 -0700 committer Linus Torvalds Thu, 28 Jul 2005 21:45:57 -0700 [PATCH] x86_64: cpu hotplug changes kills nmi watchdog When the x86_64 cpu hotplug changes went in it added a check in default_do_nmi() which kills NMI delivery on any CPU but the BSP. The NMI watchdog is brought up quite some time before the online bit is set in num_online_cpus so this won't work very well. The nmi watchdogs on cpus that are not BSP will never be reprogrammed and no NMIs. Why was this check added? How does an offlined cpu receive an NMI? Signed-off-by: Alexander Nyberg Cc: Andi Kleen Cc: Andrew Morton Cc: Zwane Mwaikambo Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds commit 7b6dbd6872ca1d0c03dc0e0a7108d79c8dafa793 tree 54160c4c0aa0970d3daa8b9a8f40c7a31f9527fe parent 6b6a93c6876ea1c530d5d3f68e3678093a27fab0 author Greg Felix Thu, 28 Jul 2005 15:54:15 -0400 committer Jeff Garzik Thu, 28 Jul 2005 15:54:15 -0400 libata: Check PCI sub-class code before disabling AHCI This patch adds functionality to check the PCI sub-class code of an AHCI capable device before disabling AHCI. It fixes a bug where an ICH7 sata controller is being setup by the BIOS as sub-class 1 (ide) and the AHCI control registers weren't being initialized, thus causing an IO error in piix_disable_ahci(). Signed-off-by: Gregory Felix commit e7ec02938dbe8ca35b750f29eaa4b12de0b52754 tree fc053d9a21674b173dd61feac4b5a33cccd181d8 parent 505d7b193181be029f4f9aea59e6bdbfdd1e9e76 author Russell King Thu, 28 Jul 2005 20:36:26 +0100 committer Russell King Thu, 28 Jul 2005 20:36:26 +0100 [ARM SMP] Fix another ARMv6 bitop problem We sometimes forgot to check whether the exclusive store succeeded. Ensure that we always check. Also ensure that we always use the out of line versions, since the inline versions are not SMP safe. Signed-off-by: Russell King commit 505d7b193181be029f4f9aea59e6bdbfdd1e9e76 tree ffcdb1fe79171bb0e6e02c0c197541d1b73ad5b0 parent 41c018b7ecb60b1c2c4d5dee0cd37d32a94c45af author Russell King Thu, 28 Jul 2005 20:32:47 +0100 committer Russell King Thu, 28 Jul 2005 20:32:47 +0100 [ARM SMP] Ensure secondary CPUs have a clean TLB Since ARMv6 CPUs will not flush the TLB on context switches, it is possible that we may end up with some global TLB entries remaining present, eventually upsetting userspace. Explicitly flush the entire TLB on secondary CPUs as they startup, after we have switched to the init_mm page tables. Signed-off-by: Russell King commit 6192b54b845ed05cb838f86ca588cc625c703a09 tree b78a56cb70fe36f145821ac3c699abf3dc627256 parent 2ac6608c41f8c45371ea9dddae7f99bc2c15d5cf author David S. Miller Thu, 28 Jul 2005 12:12:58 -0700 committer David S. Miller Thu, 28 Jul 2005 12:12:58 -0700 [NET]: Fix busy waiting in dev_close(). If the current task has signal_pending(), the loop we have to wait for the __LINK_STATE_RX_SCHED bit to clear becomes a pure busy-loop. Fixed by using msleep() instead of the hand-crafted version. Noticed by Andrew Morton. Signed-off-by: David S. Miller commit 7153d9612fe5cefc29f9f17d7a6b9f0dcd07b20e tree 571f533262cd79dd1f2d990e3643a33eb0d18ef0 parent cc993cab0239cb07af329d2e18faac7888821075 author Dave Jones Thu, 28 Jul 2005 09:45:10 -0700 committer Dave Jones Thu, 28 Jul 2005 09:45:10 -0700 powernow-k8.c: In function `query_current_values_with_pending_wait': powernow-k8.c:110: warning: `hi' may be used uninitialized in this function Signed-off-by: Brian Gerst Signed-off-by: Dave Jones Signed-off-by: Andrew Morton commit cc993cab0239cb07af329d2e18faac7888821075 tree 7fc0a36406bed058c6405c9a286b63362777a4a5 parent 841e40b380a70933e8dc1184e0f9ba1c6cac48af author Dave Jones Thu, 28 Jul 2005 09:43:56 -0700 committer Dave Jones Thu, 28 Jul 2005 09:43:56 -0700 Here are two possible cleanups in cpufreq.c: * ret has no need to be unsigned in cpufreq_driver_target() * ret has no need to be initialized in __cpufreq_governor() Signed-off-by: Jean Delvare Signed-off-by: Dave Jones commit 841e40b380a70933e8dc1184e0f9ba1c6cac48af tree 2a975a06793c5cd8303f0e4c4d3b474d4ed7d5f6 parent 03938c3f1062b0f279a0ef937a471d4db83702ed author Dave Jones Thu, 28 Jul 2005 09:40:04 -0700 committer Dave Jones Thu, 28 Jul 2005 09:40:04 -0700 Opteron revision F will support higher frequencies than can be encoded in the current driver's 4 bit frequency field. This patch updates the driver to support Rev F including 6 bit FIDs and processor ID updates. This should apply cleanly whether or not the dual-core bugfix I sent out last week is applied. I'd prefer that both get applied, of course. Signed-off-by: David Keck Signed-off-by: Mark Langsdorf Signed-off-by: Dave Jones commit 03938c3f1062b0f279a0ef937a471d4db83702ed tree 12e7a40b6f6232d6ddd7b5bd475fe29722cd8f10 parent 8ed693d29b25bbd88471ec043cc01581419d0481 author Dave Jones Thu, 28 Jul 2005 09:38:21 -0700 committer Dave Jones Thu, 28 Jul 2005 09:38:21 -0700 powernow-k8 requires that a data structure for each core be created in the _cpu_init function call. The cpufreq infrastructure doesn't call _cpu_init for the second core in each processor. Some systems crashed when _get was called with an odd-numbered core because it tried to dereference a NULL pointer since the data structure had not been created. The attached patch solves the problem by initializing data structures for all shared cores in the _cpu_init function. It should apply to 2.6.12-rc6 and has been tested by AMD and Sun. Signed-off-by: Mark Langsdorf Signed-off-by: Dave Jones commit 33fdfa97f2b3aab698ef849ec50dcc5102017f0a tree bb0e672f87d4af1f196106cd69cbcdb83f75fc09 parent 5ac7ba3ff599d66ffde182676f2e4fbcac61a2fe author Sergey Vlasov Sun, 24 Jul 2005 00:53:32 -0500 committer Dmitry Torokhov Sun, 24 Jul 2005 00:53:32 -0500 Input: synaptics - fix setting packet size on passthrough port. Synaptics driver used child->type to select either 3-byte or 4-byte packet size for the pass-through port; this gives wrong results for the newer protocols. Change the check to use child->pktsize instead. Signed-off-by: Sergey Vlasov Signed-off-by: Dmitry Torokhov commit 5ac7ba3ff599d66ffde182676f2e4fbcac61a2fe tree 5c8e25dc2797cb0e063c38afda2dbbf292e34bd3 parent 463a4f76a79bce00ca8964e0b2ebf7f10f376965 author Vojtech Pavlik Sun, 24 Jul 2005 00:50:03 -0500 committer Dmitry Torokhov Sun, 24 Jul 2005 00:50:03 -0500 Input: check keycodesize when adjusting keymaps When changing key mappings we need to make sure that the new keycode value can be stored in dev->keycodesize bytes. Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit 463a4f76a79bce00ca8964e0b2ebf7f10f376965 tree 333f5dad75a76921ae88657377619a0b14ef1f67 parent 7b4019d04895de7407c9989895c3664c24ed01f7 author Dmitry Torokhov Fri, 15 Jul 2005 01:51:56 -0500 committer Dmitry Torokhov Fri, 15 Jul 2005 01:51:56 -0500 Input: i8042 - don't use negation to mark AUX data Currently i8042_command() negates data coming from the AUX port of keyboard controller; this is not a very reliable indicator. Change i8042_command() to fail if response to I8042_CMD_AUX_LOOP is not coming from AUX channel and get rid of negation. Based on patch by Vojtech Pavlik. Signed-off-by: Dmitry Torokhov commit 7b4019d04895de7407c9989895c3664c24ed01f7 tree 0bb113f175c7c4d977612955ef606ebe9f5a2f81 parent bc5d04822bd9f34ea93a681f05f5e5683935d574 author Vojtech Pavlik Fri, 15 Jul 2005 01:50:08 -0500 committer Dmitry Torokhov Fri, 15 Jul 2005 01:50:08 -0500 Input: psmouse - wheel mice (imps, exps) always have 3rd button There are wheel mice that respond to Logitech probes and report that they have only 2 buttons (such as e-Aser mouse) and this stops the wheel from being used as a middle button. Change the driver to always report BTN_MIDDLE capability if a wheel is present. Also, never reset BTN_RIGHT capability in logips2pp code - there are no Logitech mice that have only one button and if some other mice happen to respond to Logitech's query we could do the wrong thing. Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit bc5d04822bd9f34ea93a681f05f5e5683935d574 tree f0ebc97e220fbf9c7f104ade10bc93443aca40ef parent 153ab429cad3b585ddf1a5521cfaadb57402cd31 author Adam Kropelin Mon, 11 Jul 2005 01:09:32 -0500 committer Dmitry Torokhov Mon, 11 Jul 2005 01:09:32 -0500 Input: HID - only report events coming from interrupts to hiddev Currently hid-core follows the same code path for input reports regardless of whether they are a result of interrupt transfers or control transfers. That leads to interrupt events erroneously being reported to hiddev for regular control transfers. Prior to 2.6.12 the problem was mitigated by the fact that reporting to hiddev is supressed if the field value has not changed, which is often the case. Said filtering was removed in 2.6.12-rc1 which means any input reports fetched via control transfers result in hiddev interrupt events. This behavior can quickly lead to a feedback loop where a userspace app, in response to interrupt events, issues control transfers which in turn create more interrupt events. This patch prevents input reports that arrive via control transfers from being reported to hiddev as interrupt events. Signed-off-by: Adam Kropelin Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit 153ab429cad3b585ddf1a5521cfaadb57402cd31 tree a3c6426d2ae87d020cbf4f4dee9dd599bebe254a parent 6f5eacfc1e9a12ffca10b4abe8e9fddf1997da6f author Michael Prokop Mon, 11 Jul 2005 01:09:10 -0500 committer Dmitry Torokhov Mon, 11 Jul 2005 01:09:10 -0500 Input: elo - fix help in Kconfig (wrong module name) Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit 6f5eacfc1e9a12ffca10b4abe8e9fddf1997da6f tree 92fa84a1b03f4378b63a347dc758b0de555a0d9f parent 6345fdfd190659a2316d18065871245e3a1e0f84 author Tobias Klauser Mon, 11 Jul 2005 01:08:56 -0500 committer Dmitry Torokhov Mon, 11 Jul 2005 01:08:56 -0500 Input: joydev - remove custom conversion from jiffies to msecs Replace the MSECS() macro with the jiffies_to_msecs() function provided in jiffies.h Signed-off-by: Tobias Klauser Signed-off-by: Domen Puncer Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit 6345fdfd190659a2316d18065871245e3a1e0f84 tree 222a46503ee0e2d0206aef9a78d1c803f71a7890 parent 963f626d46d5caeeb3cff29998d8a64df5b25591 author Luca T Mon, 11 Jul 2005 01:08:40 -0500 committer Dmitry Torokhov Mon, 11 Jul 2005 01:08:40 -0500 Input: HID - add a quirk for Aashima Trust (06d6:0025) gamepad Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit 963f626d46d5caeeb3cff29998d8a64df5b25591 tree 9c25f99839548608428c60b7a3090753c1bf30b8 parent b30dc120a7471a961272aeca24ede1c0530e6455 author Peter Osterlund Mon, 11 Jul 2005 01:08:04 -0500 committer Dmitry Torokhov Mon, 11 Jul 2005 01:08:04 -0500 Input: ALPS - unconditionally enable tapping mode The condition in alps_init() was also inverted and the driver was enabling tapping mode only if it was already enabled. Signed-off-by: Peter Osterlund Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit b30dc120a7471a961272aeca24ede1c0530e6455 tree 752a323f4917f2b999c42af9059a3fcc1bdea1bb parent 9ba5eaafa1bff1d2dc7f6b9fb4cc6e313dcd6105 author David Moore Mon, 11 Jul 2005 01:07:48 -0500 committer Dmitry Torokhov Mon, 11 Jul 2005 01:07:48 -0500 Input: ALPS - fix resume (for DualPoints) The driver would not reset pass-through mode when performing resume of a DualPoint touchpad causing it to stop working until next reboot. Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit 9ba5eaafa1bff1d2dc7f6b9fb4cc6e313dcd6105 tree e11ac08e275609f6bea10fe551dc6064c9edbee3 parent 20f07944af80a2916b2f6ac1559c0a680c309c0e author Simon Horman Mon, 11 Jul 2005 01:07:20 -0500 committer Dmitry Torokhov Mon, 11 Jul 2005 01:07:20 -0500 Input: synaptics - limit rate to 40pps on Toshiba Dynabooks Toshiba Dynabooks require the same workaround as Satellites - Synaptics report rate should be lowered to 40pps (from 80), otherwise KBC starts losing keypresses. Signed-off-by: Simon Horman Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit 20f07944af80a2916b2f6ac1559c0a680c309c0e tree 7e91811a5b22beff49366dfcf676d73492fd9447 parent 865190cdbba995936700346c2daabbed97ac30ba author Vojtech Pavlik Mon, 11 Jul 2005 01:06:28 -0500 committer Dmitry Torokhov Mon, 11 Jul 2005 01:06:28 -0500 Input: i8042 - add Fujitsu T3010 to NOMUX blacklist. Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit 865190cdbba995936700346c2daabbed97ac30ba tree ac34b13ccce20961ecc8920a0be92d258e44198b parent bef5a66fd7fd8d606da5c9f210e2673f4e636f57 author Dmitry Torokhov Mon, 11 Jul 2005 01:06:06 -0500 committer Dmitry Torokhov Mon, 11 Jul 2005 01:06:06 -0500 Input: i8042 - add Alienware Sentia to NOMUX blacklist. Signed-off-by: Dmitry Torokhov commit bef5a66fd7fd8d606da5c9f210e2673f4e636f57 tree 98532bddf7d389a5c3e704671e973ee51866dd8e parent dc1e97b5eaed1921f421cf56fd233f064464b300 author Neil Brown Mon, 11 Jul 2005 01:05:47 -0500 committer Dmitry Torokhov Mon, 11 Jul 2005 01:05:47 -0500 Input: serio_raw - fix Kconfig help Signed-off-by: Neil Brown Signed-off-by: Vojtech Pavlik Signed-off-by: Dmitry Torokhov commit dc1e97b5eaed1921f421cf56fd233f064464b300 tree 72e9299cd9c23ba36f1a15ea0fc5712e76af30bc parent e0d21d9cca25f424f3129649be48a63c128ed42d author Dmitry Torokhov Mon, 11 Jul 2005 01:02:16 -0500 committer Dmitry Torokhov Mon, 11 Jul 2005 01:02:16 -0500 Input: serio_raw - link serio_raw misc device to corresponding serio port in sysfs. Signed-off-by: Dmitry Torokhov commit e0d21d9cca25f424f3129649be48a63c128ed42d tree 0a7d407639876e02deef1721817615eaa8c673a3 parent beffbdc2211826b174c68307b1b48c93c05d7ded parent 5c23804a0941a111752fdacefe0bea2db1b4d93f author Dmitry Torokhov Mon, 11 Jul 2005 00:58:04 -0500 committer Dmitry Torokhov Mon, 11 Jul 2005 00:58:04 -0500 Merge rsync://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 commit beffbdc2211826b174c68307b1b48c93c05d7ded tree 1af6e4b4dd3b9fc80e09129c67022ba32c03eaa7 parent 5b6271bda42be8edb77fbd588621cc09199fa7fb author Andrew Morton Fri, 01 Jul 2005 23:54:30 -0500 committer Dmitry Torokhov Fri, 01 Jul 2005 23:54:30 -0500 Input: cannot refer to __exit from within __init. Signed-off-by: Andrew Morton Signed-off-by: Dmitry Torokhov commit 5b6271bda42be8edb77fbd588621cc09199fa7fb tree e51dbf0bb79ead8c2a0df4c527d100c518c889ea parent f96b434d3bf70845a7541ab217f525918267281e author Dmitry Torokhov Thu, 30 Jun 2005 00:50:38 -0500 committer Dmitry Torokhov Thu, 30 Jun 2005 00:50:38 -0500 Input: make name, phys and uniq be 'const char *' because once set noone should attempt to change them. Signed-off-by: Dmitry Torokhov commit f96b434d3bf70845a7541ab217f525918267281e tree 161330811a0df751ded270c73e5ce076f1e383e6 parent fb2ce3c005ede30b65b891c58ff56398df6089f8 author Dmitry Torokhov Thu, 30 Jun 2005 00:50:29 -0500 committer Dmitry Torokhov Thu, 30 Jun 2005 00:50:29 -0500 Input: rearrange procfs code to reduce number of #ifdefs Signed-off-by: Dmitry Torokhov commit fb2ce3c005ede30b65b891c58ff56398df6089f8 tree be8eb5861c8a5f65d65cdfa0e4705e3b0b5db5b3 parent 16a334c0de5a94b1d10a1ac9a33f4dedac89a075 author Dmitry Torokhov Thu, 30 Jun 2005 00:50:10 -0500 committer Dmitry Torokhov Thu, 30 Jun 2005 00:50:10 -0500 Sonypi: make sure that input_work is not running when unloading the module; submit/retrieve key release data into/from input_fifo in one shot. Signed-off-by: Dmitry Torokhov commit 16a334c0de5a94b1d10a1ac9a33f4dedac89a075 tree bb01b1185d806994cd318a7af68a438a9e57c2a2 parent c27a748225fe5c7e485ea471178c26e43f9f7fbe author Dmitry Torokhov Thu, 30 Jun 2005 00:49:08 -0500 committer Dmitry Torokhov Thu, 30 Jun 2005 00:49:08 -0500 Input: introduce usb_to_input_id() to uniformly produce struct input_id for USB input devices. Signed-off-by: Dmitry Torokhov commit c27a748225fe5c7e485ea471178c26e43f9f7fbe tree 85ad56ffaf3cd0dbffe27770d87cd749e9349ccc parent ae87dff7ca2723a2428fb55dd57da1315878eb08 author Dmitry Torokhov Thu, 30 Jun 2005 00:48:51 -0500 committer Dmitry Torokhov Thu, 30 Jun 2005 00:48:51 -0500 Input: acecad - drop unneeded cast and couple unneeded spaces. Noticed by Joe Perches. Signed-off-by: Dmitry Torokhov Acked-by: Stephane VOLTZ commit ae87dff7ca2723a2428fb55dd57da1315878eb08 tree 6db7da985f3e48bad2c8d0db0d8cbeaf154f5f07 parent 0048e6030d41453c2f5ce0e9aead910d46cfd448 author Dmitry Torokhov Thu, 30 Jun 2005 00:48:34 -0500 committer Dmitry Torokhov Thu, 30 Jun 2005 00:48:34 -0500 Input: serio - add modalias attribute and environment variable to simplify hotplug scripts. Signed-off-by: Dmitry Torokhov commit 0048e6030d41453c2f5ce0e9aead910d46cfd448 tree f7d6ed2acdc2ee4db3ffba332ba629efc014c1ee parent 152c12f568d4fc6e9a7dfd42f2d51347fb41d9b7 author Dmitry Torokhov Thu, 30 Jun 2005 00:48:14 -0500 committer Dmitry Torokhov Thu, 30 Jun 2005 00:48:14 -0500 Input: uinput - use completions instead of events and manual wakeups in force feedback code. Signed-off-by: Dmitry Torokhov commit 152c12f568d4fc6e9a7dfd42f2d51347fb41d9b7 tree ec6b6e5825b0d320529b03d19fc767a81c3faf29 parent 9b4311eedb17fa88f02e4876cd6aa9a08e383cd6 author Dmitry Torokhov Thu, 30 Jun 2005 00:47:50 -0500 committer Dmitry Torokhov Thu, 30 Jun 2005 00:47:50 -0500 Input: clean up uinput driver (formatting, extra braces) Signed-off-by: Dmitry Torokhov