ChangeSet@1.2061, 2004-10-05 18:51:53-07:00, torvalds@evo.osdl.org i386: mark do_test_wp_bit() noinline As reported by Zachary Amsden , some gcc versions will inline the function even when it is declared after the call-site. This particular function must not be inlined, since the exception recovery doesn't like __init sections (which the caller is in). ChangeSet@1.2060, 2004-10-05 18:18:28-07:00, torvalds@evo.osdl.org prism54: iomem annotations. sparse still complains about the games the driver plays with user pointers, though. ChangeSet@1.2059, 2004-10-05 18:01:31-07:00, torvalds@evo.osdl.org pcmcia: add iomem sparse annotations. It was pretty clean already, adding the proper annotations to the base pointers and a few functions was all it took to make sparse happy about the PCI accesses. ChangeSet@1.2057, 2004-10-05 17:29:04-07:00, torvalds@ppc970.osdl.org Fix up CHECKFLAGS definitions More recent versions of sparse do not define the Linux-specific default defines, so we make the main Makefile default to the regular Linux preprocessor defines (__linux__, linux, __STDC__ and unix, __unix__). Also, sparse has long since fixed the default empty define to be "1" as in regular C, so remove the unnecessary "=1" from the architecture-specific sparse CHECKFLAGS. ChangeSet@1.2056, 2004-10-05 16:44:44-07:00, mingo@redhat.com [PATCH] Fix task_hot() balancing This fixes the integer underflow in task_hot() noticed by Kenneth W Chen and makes use of p->last_ran to separate load-balancing timestamps (used by task_hot()) from interactivity timestamps. (which two interfered) compiled, booted on x86 SMP. Confirmed by Kenneth Chen to fix the db transaction processing workload that showed the balancing problem. Signed-off-by: Ingo Molnar Signed-off-by: Linus Torvalds ChangeSet@1.2050.3.1, 2004-10-05 16:37:30-07:00, torvalds@ppc970.osdl.org Remove test for __linux__ in auth_gss.h. It's not necessarily even true when cross-compiling the kernel, and the right thing to do is check for __KERNEL__ (which we already do, one line up). ChangeSet@1.2050.1.13, 2004-10-05 14:23:17-07:00, manfred@colorfullife.com [NET]: Fix secure tcp sequence number generation Ted's recent random.c update broke the periodic rekeying: schedule_work() doesn't provide synchronization. Additionally the first syn values after boot are generated with secret 0 - not good. Attached is a big cleanup. Linus asked me to send to to you for merging: The tcp sequence number generator needs a random seed that is reset every few minutes. Since the sequence numbers should be constantly increasing, for each rekey 2^24 is added to the sequence number. The actual use of the sequence number generator is lockless, synchronization is achieved by having two copies of the control structure. The attached patch: - fixes a race in rekey_seq_generator(): schedule_work doesn't provide synchronization. - Uses schedule_delayed_work() for the rekey: simplifies synchronization and speeds up the hot path. - Adds a late_initcall for the first initialization after boot. init_call would be too early, I've checked that the late_initcall runs before net/ipv4/ipconfig.c, i.e. the BOOTP/DHCP autoconfiguration. Signed-Off-By: Manfred Spraul Signed-off-by: David S. Miller ChangeSet@1.2050.2.2, 2004-10-05 22:06:38+01:00, rmk@flint.arm.linux.org.uk [ARM] Fix missing definition for OVERCOMMIT_ALWAYS ChangeSet@1.2050.1.12, 2004-10-05 13:44:51-07:00, tgraf@suug.ch [PKT_SCHED]: Make rate estimator work on all platforms. Fixes the existing rate estimator to compile cleanly on all platforms and avoids carrying on the variance on platforms with HZ%4 != 0. Signed-off-by: Thomas Graf Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller ChangeSet@1.2050.1.11, 2004-10-05 13:38:47-07:00, davem@nuts.davemloft.net [NET]: Generic network statistics/estimator Work done by Thomas Graf and Jamal Hadi Salim The following patchset introduces generic network statistics for netlink users. It uses nested TLV which prevents further compatibility problems when introducing new statistics. Backward compatibility to existing TLV types TCA_STATS and TCA_XSTATS is ensured but can be easly removed once it is no longer needed. Therefore prior users of struct tc_stats can be converted to this API and existing userspace applications will not notice a difference while converted applications can use the new extendable statistic interface. Changes: - Add generic network statistics API for netlink users. - Introduces a generic rate estimator based on timers. Patch is based on Jamals patch and adapted to the new generic network statistics API. - Add documentation of generic network statistics and estimator API. Signed-off-by: Thomas Graf Signed-off-by: Jamal Hadi Salim Signed-off-by: David S. Miller ChangeSet@1.2050.1.10, 2004-10-05 13:15:45-07:00, tgraf@suug.ch [PKT_SCHED]: Remove useless line in cbq_dump_class Remove useless line in cbq_dump_class probably introduced by copy&paste from cbq_dump. Signed-off-by: Thomas Graf Signed-off-by: David S. Miller ChangeSet@1.2050.1.9, 2004-10-05 12:36:01-07:00, patrick@tykepenguin.com [DECNET]: Mark myself as maintainer. Signed-off-by: Patrick Caulfield Signed-off-by: David S. Miller ChangeSet@1.2050.1.8, 2004-10-05 12:34:07-07:00, macro@linux-mips.org [IPV4]: Permit the official ARP hw type in SIOCSARP for FDDI. Signed-off-by; Maciej W. Rozycki Signed-off-by: David S. Miller ChangeSet@1.2050.1.7, 2004-10-05 12:32:21-07:00, macro@linux-mips.org [IPV4]: Set ARP hw type correctly for BOOTP over FDDI. Signed-off-by; Maciej W. Rozycki Signed-off-by: David S. Miller ChangeSet@1.2050.1.6, 2004-10-05 12:29:45-07:00, macro@linux-mips.org [NET]: Fix fddi_statistics for 64-bit There is a problem with "struct fddi_statistics" for 64-bit systems. The starting members of the struct are expected to correspond to the respective members of "struct net_device_stats" (drivers for FDDI devices return "struct fddi_statistics" in the response to the get_stats() call of "struct net_device"). Unfortunately, due to using different types (u32 vs ulong) they do not. "struct net_device_stats" is a public interface and as a result, bogus results are retrieved, e.g. for /proc/net/dev. Here is my proposal to address the problem. I think there is no point in duplicating the layout of "struct net_device_stats" in "struct fddi_statistics" as the former can simply be included as a member avoiding this problem and actually any possible discrepancy in the future. This also preserves the layout of the structure for 32-bit systems. Signed-off-by: Maciej W. Rozycki Signed-off-by: David S. Miller ChangeSet@1.2050.1.5, 2004-10-05 12:25:23-07:00, jmorris@redhat.com [CRYPTO]: Add __init and __initdata to aes.c This patch from Herbert V. Riedel adds __initdata to the generic AES code where appropriate. I also added __init to f_mult(). Signed-off-by: Herbert V. Riedel Signed-off-by: James Morris Signed-off-by: David S. Miller ChangeSet@1.2050.1.4, 2004-10-05 11:37:55-07:00, gnb@sgi.com [NET]: Fix race between neigh-timer_handler and neigh_event_send Fix a race between neigh_timer_handler() calling down to arp_solicit() with an sk_buff peeked from the head of the neigh->arp_queue, and neigh_event_send() unqueuing and freeing the head of the same queue because it's reached the maximum length of 3, by taking an extra sk_buff reference while holding neigh->lock. Signed-off-by: Greg Banks Signed-off-by: David S. Miller ChangeSet@1.2050.1.3, 2004-10-05 11:21:08-07:00, wensong@linux-vs.org [IPVS]: Fix endian problem on sync message size. Here is the patch from Justin Ossevoort to fix endian problem on IPVS sync message size. Signed-off-by: David S. Miller ChangeSet@1.2050.2.1, 2004-10-05 16:16:55+01:00, rmk@flint.arm.linux.org.uk [ARM] Add save_time_delta()/restore_time_delta() These two functions provide the infrastructure to manage time keeping across a suspend/resume cycle. ChangeSet@1.2050.1.2, 2004-10-05 07:54:19-07:00, hunold@linuxtv.org [PATCH] Fix error path in Video4Linux dpc7146 driver The I2C adapter wasn't de-registered correctly in case the video card wasn't found. When the I2C subsystem tried to speak with the dangling I2C adapter later on, usually an oops happened. ChangeSet@1.2052, 2004-10-05 11:08:39+01:00, rmk@flint.arm.linux.org.uk [SERIAL] Fix warning and remove mach-types.h include - s3c2410 doesn't use mach-types.h - remove unused 'ret' variable ChangeSet@1.2050.1.1, 2004-10-05 19:20:14+10:00, airlied@starflyer.(none) drm: Stop i830 and i915 both being build at same time Roman Zippel submitted this to lk but I missed it, it does what I tried to do badly before. Signed-off-by: Dave Airlie ChangeSet@1.2051, 2004-10-05 10:07:18+01:00, blofeldus@com.rmk.(none) [SERIAL] Pick nearest baud rate divider From: Roger Blofeld This patch modifies uart_get_divisor to select the nearest baud rate divider rather than the lowest. It minimizes baud rate errors. For example, if uartclk is 33000000 and baud is 115200 the ratio is about 17.9 The current code selects 17 (5% error) but should select 18 (0.5% error) Signed-off-by: Andrew Morton Signed-off-by: Russell King ChangeSet@1.2044.3.4, 2004-10-04 23:11:26+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2123/4: S3C2410 - GPIO IRQ IRQ Filtering and pin number patch Patch from Ben Dooks Fixed GPG pin numbering, and missing changelog Added code to setup the interrupt filtering on compatible Pins Signed-off-by: Ben Dooks ChangeSet@1.2044.3.3, 2004-10-04 22:53:09+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2124/1: S3C2410 - include/asm-arm/arch-s3c2410/regs-spi.h Patch from Ben Dooks Header file defining S3C2410 SPI registers Signed-off-by: Klaus Fetscher Signed-off-by: Ben Dooks ChangeSet@1.2044.3.2, 2004-10-04 22:48:28+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2122/1: S3C2410 - Documentation updates Patch from Ben Dooks Added documentation for the GPIO calls, updated the overview with more information on the supported core devices, and updated the state of the EB2410ITX Signed-off-by: Ben Dooks ChangeSet@1.2044.3.1, 2004-10-04 22:17:44+01:00, rmk@flint.arm.linux.org.uk [ARM] Fix params_phys with PIC decompressor builds. ChangeSet@1.2044.2.13, 2004-10-04 17:11:35-04:00, romieu@fr.zoreil.com [PATCH] via-velocity: comment fixes Comment fixes. Signed-off-by: Tejun Heo ChangeSet@1.2044.2.12, 2004-10-04 17:11:20-04:00, romieu@fr.zoreil.com [PATCH] via-velocity: wrong buffer offset in velocity_init_td_ring() Buffer offset calculation was incorrect in velocity_init_td_ring(). This didn't cause any trouble because we only use the first td ring. Signed-off-by: Tejun Heo ChangeSet@1.2044.2.11, 2004-10-04 17:11:05-04:00, romieu@fr.zoreil.com [PATCH] via-velocity: removal of incomplete endianness handling Removed cpu_to_le32 call on OWNED_BY_NIC. This will produce 0x01000000 on big endian machines while rdesc0.owner still evaluates to 0x00000000 or 0x00000001. BTW, unless we reorder bit fields on big endian machines or use u32's and cpu_to_le32'd bit mask macros, current code won't work on big endian machines. Signed-off-by: Tejun Heo ChangeSet@1.2044.2.10, 2004-10-04 17:10:51-04:00, romieu@fr.zoreil.com [PATCH] via-velocity: early invocation of init_cam_filter() In velocity_init_registers(), init_cam_filter() clears mCAMmask which might have been set by set_multi() (not sure if this can ever occur). Modified to invoke init_cam_filter() first. Also, clear_isr() is called twice. Removed the first invocation. In velocity_found1(), there was a unneeded assignment from vptr to dev->priv. Removed. Signed-off-by: Tejun Heo ChangeSet@1.2044.2.9, 2004-10-04 17:10:39-04:00, romieu@fr.zoreil.com [PATCH] via-velocity: received ring wrong index and missing barriers There were several receive ring related bugs. In velocity_give_many_rx_descs(), index calculation was incorrect. This and bugs in velocity_rx_srv() described in the following paragraph caused packet loss, truncation and infinite error interrupt generation. In velocity_rx_srv(), velocity_rx_refill() could be called without any dirty slot. With proper timing, This can result in refilling yet unreceived packets and pushing dirty pointer ahead of the current pointer. And vptr->rd_curr which is used by velocity_rx_refill() was updated after calling velocity_rx_refill() thus screwing receive descriptor ring. Also, between checking owner and reading the packet, rmb() is missing. Signed-off-by: Tejun Heo ChangeSet@1.2044.2.8, 2004-10-04 17:10:25-04:00, romieu@fr.zoreil.com [PATCH] via-velocity: velocity_give_rx_desc() removal In velocity_give_rx_desc(), there should be a wmb() between resetting the first four bytes of rdesc0 and setting owner. As resetting the first four bytes isn't necessary, I just removed the function and directly set owner. Another rationale for removing the function: The function doesn't handle synchronization. We should do wmb() before calling the function. So, I think using bare assignment makes the fact more explicit. Signed-off-by: Tejun Heo ChangeSet@1.2044.2.7, 2004-10-04 17:10:12-04:00, romieu@fr.zoreil.com [PATCH] via-velocity: removal of unused velocity_info.xmit_lock Removed unused velocity_info.xmit_lock. Signed-off-by: Tejun Heo ChangeSet@1.2044.2.6, 2004-10-04 17:09:58-04:00, romieu@fr.zoreil.com [PATCH] via-velocity: properly manage the count of adapters velocity_nics wasn't managed properly. Signed-off-by: Tejun Heo ChangeSet@1.2048, 2004-10-04 14:06:10-07:00, davem@nuts.davemloft.net [NET]: Kill typo in neighbour.c Signed-off-by: David S. Miller ChangeSet@1.2009.4.3, 2004-10-04 16:48:22-04:00, nhorman@redhat.com [PATCH] olympic driver: fix kernel oops on lobe fault It fixes an oops that results when a lobe fault is detected. The oops occurs because a lobe fault triggers an interrupt which is handled in the current version of the driver by effectively shutting down the card, and freeing its requisite irq. The former is fine, the latter is not, as its illegal to free an irq from within an interrupt context. I've fixed this bug by removing the call to free_irq from the interrupt handler (specifically the chunk around line 964 fixes that). While I was in there I noticed that there were several other conditions in the interrupt handler that contained the same condition, so I made the same fix there. I re-added. I also modified the contents of olympic_freemem (the chunk around line 898 to correct a misuse of a pointer after it requisite memory has been free in the case the the adapter is re-initalized after a fault to prevent that oops. And then I clean up the interrupt handler to simply use olympic_freemem from the close routine since the ring buffer doesn't need to be freed until the driver is closed. In addition to these changes I added a call to olympic init in olympic_open and reset the spinlock so the adapter can be reset and rejoin the ring without needing to rmmod/insmod the module. Lastly I cleaned up the wait queue code so that the close routine didn't have to wait 60 seconds to close the adapter if a fatal fault has closed the adapter. Signed-off-by: Neil Horman ChangeSet@1.2044.2.4, 2004-10-04 12:17:43-07:00, torvalds@ppc970.osdl.org ppc64: fix non-C99 named initializers Al suggested a sparse warning. And sure enough, it found these ones. ChangeSet@1.2044.2.2, 2004-10-03 17:03:46-07:00, bastian@waldi.eu.org [PATCH] s390: sclp compile fix The attached patch makes s390 sclp driver buildable again. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2046, 2004-10-03 15:03:28-07:00, davem@nuts.davemloft.net Merge bk://212.42.230.204/net-2.6 into nuts.davemloft.net:/disk1/BK/net-2.6 ChangeSet@1.2044.1.5, 2004-10-03 15:01:14-07:00, davem@nuts.davemloft.net [PKT_ACT]: Fixup tcf_result updating wrt. tcf_action_exec() calls. - Pass tcf_result into tcf_action_exec() - Update res->classid and res->class on non-zero skb->tc_classid, then reset skb->tc_classid - Update tcf_action_exec() callers in cls_u32.c and cls_fw.c Based upon a patch by Jamal Hadi Salim Signed-off-by: David S. Miller ChangeSet@1.2036.1.16, 2004-10-03 22:47:53+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2121/1: S3C2410 - add S3C2410_MISCCR definitions for power down config Patch from Ben Dooks Add definitions to the MISCCR register for configuration of the signal states in power down mode. Signed-off-by: Ben Dooks ChangeSet@1.2036.1.15, 2004-10-03 22:40:37+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2120/1: S3C2410 - include/asm-arm/arch-s3c2410/regs-iic.h Patch from Ben Dooks Include file include/asm-arm/arch-s3c2410/regs-iic.h, for the I2C controller on the S3C2410 Samsung SoC. Signed-off-by: Ben Dooks ChangeSet@1.2044.1.4, 2004-10-03 14:39:05-07:00, yoshfuji@linux-ipv6.org [IPV6]: Missing ip_rt_put() in SIT error path. Signed-off-by: Hideaki YOSHIFUJI Signed-off-by: David S. Miller ChangeSet@1.2044.1.3, 2004-10-03 14:37:39-07:00, herbert@gondor.apana.org.au [NET]: Remove neigh hash expansion into already locked section. Signed-off-by: Herbert Xu Signed-off-by: David S. Miller ChangeSet@1.2036.1.14, 2004-10-03 22:34:46+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2119/1: S3C2410 - include/asm-arm/arch-s3c2410/regs-mem.h Patch from Ben Dooks Header file include/asm-arm/arch-s3c2410/regs-mem.h containing definitions for the S3C2410 memory controller Signed-off-by: Ben Dooks ChangeSet@1.2044.1.2, 2004-10-03 14:32:14-07:00, davem@nuts.davemloft.net [TCP]: Rename tcp_skb_psize() to tcp_skb_mss(). On request from Herbert Xu. Signed-off-by: David S. Miller ChangeSet@1.2036.1.13, 2004-10-03 22:28:36+01:00, dave.jiang@com.rmk.(none) [ARM PATCH] 2117/1: Fix ATU config on IQ80331 to prevent master aborts, replace 2099/1 Patch from Dave Jiang Latest IQ80331 redboot changed value of ATU registers and is causing master aborts on the plugged in card. Changing value back to previous sane state for Linux. Signed-off-by: Dave Jiang (dave.jiang@gmail.com) Patch in replacement of 2099/1 due to formatting problems. ChangeSet@1.2044.1.1, 2004-10-03 14:26:22-07:00, davem@nuts.davemloft.net Merge bk://kernel.bkbits.net/acme/net-2.6 into nuts.davemloft.net:/disk1/BK/net-2.6 ChangeSet@1.2036.1.12, 2004-10-03 22:20:42+01:00, rmk@flint.arm.linux.org.uk [ARM] clk_* functions take frequencies in Hz not kHz ChangeSet@1.2036.1.11, 2004-10-03 21:58:34+01:00, rmk@flint.arm.linux.org.uk [ARM] Add POSIX message queue and waitid syscalls. ChangeSet@1.2036.1.10, 2004-10-03 21:46:48+01:00, rmk@flint.arm.linux.org.uk [ARM] mach-types update. ChangeSet@1.2036.1.9, 2004-10-03 21:09:31+01:00, rmk@flint.arm.linux.org.uk [ARM] Remove "%?" from within macros containing assembly. Some compilers seem to get "%?" wrong in macros. ChangeSet@1.2036.1.8, 2004-10-03 20:46:58+01:00, rmk@flint.arm.linux.org.uk [ARM] Check access permissions for whole of signal stack frame. We really need to check that we have access to the whole of the signal frame when we allocate it, rather than "most of it" when we have iWMMXt extensions selected. ChangeSet@1.2036.1.7, 2004-10-03 20:36:58+01:00, rmk@flint.arm.linux.org.uk [ARM] Fix consistent.c for DMA allocations. - Use ISA_DMA_THRESHOLD as the mask for GFP_DMA allocations. - Don't allow DMA allocations which are for a "smaller" mask than ISA_DMA_THRESHOLD. - Ensure that "handle" is initialised to our error value when returning an error. ChangeSet@1.2036.1.6, 2004-10-03 20:13:48+01:00, rmk@flint.arm.linux.org.uk [ARM] Add "noirqdebug" option to match x86 option. ChangeSet@1.2036.1.5, 2004-10-03 19:57:03+01:00, rmk@flint.arm.linux.org.uk [ARM] ecard.c locking and wait_event_interruptible() fix Add locking for use of kecardd services. Use wait_event_interruptible() rather htan interruptible_sleep_on(). ChangeSet@1.2043.1.7, 2004-10-03 20:44:53+02:00, kaber@coreworks.de [VLAN]: Missing rtnl_unlock in register_vlan_device error path Signed-off-by: Patrick McHardy ChangeSet@1.2043.1.6, 2004-10-03 20:43:32+02:00, kaber@coreworks.de [IPV6]: Fix free_netdev after failed alloc_netdev in sit_init Signed-off-by: Patrick McHardy ChangeSet@1.2043.1.5, 2004-10-03 20:42:17+02:00, kaber@coreworks.de [IPV4]: Fix ipip_fb_tunnel_dev leak in ipip_fini Signed-off-by: Patrick McHardy ChangeSet@1.2043.1.4, 2004-10-03 20:41:00+02:00, kaber@coreworks.de [IPV4]: Fix free_netdev after failed alloc_netdev in ipip_init Signed-off-by: Patrick McHardy ChangeSet@1.2043.1.3, 2004-10-03 20:39:25+02:00, kaber@coreworks.de [IPV4]: Fix free_netdev after failed alloc_netdev in ipgre_init Signed-off-by: Patrick McHardy ChangeSet@1.2043.1.2, 2004-10-03 20:29:51+02:00, kaber@coreworks.de [NET_SCHED]: Remove useless variable in tc_ctl_tfilter Signed-off-by: Patrick McHardy ChangeSet@1.2043.1.1, 2004-10-03 20:25:10+02:00, kaber@coreworks.de [NET_SCHED]: Fix module leak in tc_ctl_tfilter error path Signed-off-by: Patrick McHardy ChangeSet@1.2044, 2004-10-03 11:04:37-07:00, roland@topspin.com [PATCH] ppc64: fix cross-compilation After the "ppc64 monster cleanup," I get powerpc-750-linux-gnu-strip: vmlinux: File format not recognized from my ppc32 strip command when cross-compiling a ppc64 kernel, since vmlinux is a 64-bit ELF file. This patch fixes my build (and the resulting kernel boots fine). Signed-off-by: Roland Dreier Signed-off-by: Linus Torvalds ChangeSet@1.2043, 2004-10-03 09:51:43-07:00, davidel@xmailserver.org [PATCH] Avoid unnecessary copy for EPOLL_CTL_DEL Ulrich Drepper points out that EPOLL_CTL_DEL doesn't need to copy any of the hash events. Also, we should specify in the man pages that a NULL is allowed in EPOLL_CTL_DEL. Currently it does not say that. Also, starting from when epoll uses rbtrees instead of hashes, the 'size' hint passed to epoll_create(2) is no more used. But since an API change has clearly to be excluded, I guess it'll stay as is. Signed-off-by: Davide Libenzi Signed-off-by: Linus Torvalds ChangeSet@1.2042, 2004-10-03 09:51:31-07:00, jeffpc@optonline.net [PATCH] Add DEVPATH env variable to hotplug helper call Add $DEVPATH to the environmental variables during /sbin/hotplug call. Signed-off-by: Josef 'Jeff' Sipek Signed-off-by: Linus Torvalds ChangeSet@1.2041, 2004-10-03 09:51:20-07:00, jeffpc@optonline.net [PATCH] Use proper sysfs mount-point in documentation Signed-off-by: Josef "Jeff" Sipek Signed-off-by: Linus Torvalds ChangeSet@1.2040, 2004-10-03 09:41:05-07:00, schwab@suse.de [PATCH] Properly recognize PowerMac7,3 Make the PowerMac7,3 no longer unknown. Signed-off-by: Andreas Schwab Signed-off-by: Linus Torvalds ChangeSet@1.2039, 2004-10-03 09:35:52-07:00, alan@lxorguk.ukuu.org.uk [PATCH] usb: hcd locking fix Missing up() on an error path. Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.29, 2004-10-03 09:19:35-07:00, jonsmirl@gmail.com [PATCH] document DRM ioctl use Document DRM's usage of 'd' as its ioctl identifier. This can't be changed, it is in every X server. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.28, 2004-10-03 09:19:23-07:00, ecashin@coraid.com [PATCH] fix block layer ioctl bug If the blockdev doesn't implement BLKFLSBUF and returns -ENOTTY we should still go ahead and perform the VFS-level sync. We need to test for both ENOTTY and EINVAL because some SCSI drivers incorrectly return EINVAL. Signed-off-by: Ed L Cashin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.27, 2004-10-03 09:19:11-07:00, rddunlap@osdl.org [PATCH] doc: remove lingering PC-9800 param. Remove lingering PC-9800 doc. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.26, 2004-10-03 09:18:59-07:00, janitor@sternwelten.at [PATCH] msleep_interruptible(): fix whitespace thanks Xu for noticing, some whitespace found it's way there. clean that up. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.25, 2004-10-03 09:18:47-07:00, alan@redhat.com [PATCH] Fix up tty patch problem with pc300 and clean up braces Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.24, 2004-10-03 09:18:35-07:00, alan@redhat.com [PATCH] Fix Kconfig for EDD EDD fails with ACARD scsi devices present (hang on the 16bit bios call at boot) Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.23, 2004-10-03 09:18:23-07:00, alan@redhat.com [PATCH] scsi docs fix People have had a long time to change and be aware of the correct return. Some drivers now generate the correct return too. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.22, 2004-10-03 09:18:11-07:00, hugh@veritas.com [PATCH] overcommit documentation fix Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.21, 2004-10-03 09:17:59-07:00, dsaxena@plexity.net [PATCH] Updated IXP4xx MTD driver from CVS (v1.6) Following patch updates the IXP4xx MTD driver with the latest version from MTD CVS. Signed-Off-By: David Woodhouse Signed-off-by: Deepak Saxena Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.20, 2004-10-03 09:17:47-07:00, takata@linux-m32r.org [PATCH] m32r: change to use temporary register variables I made a patch to upgrade some header files for m32r. - Change to use temporary register variables allocated by the compiler, instead of fiexd register varialbes. - Change __inline__ to inline. Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.19, 2004-10-03 09:17:35-07:00, takata@linux-m32r.org [PATCH] m32r: architecture upgrade on 20040928 Miscellaneous upgrade for recent m32r kernel changes. * arch/m32r/kernel/entry.S: Add system calls; taken from asm-i386/unistd.h. - [PATCH][2/6] perfctr-2.7.3 for 2.6.7-rc1-mm1: i386 (05/31/2004) - [PATCH] Make key management use syscalls not prctls (09/06/2004) * arch/m32r/kernel/io_m32102.c: Remove. This file is no longer used. Please remove this file. * arch/m32r/kernel/irq.c: - Fix the unnecessary entropy call in the irq handler. * arch/m32r/kernel/signal.c: - Merge common signal handling fault handling in generic code; use force_sigsegv() instead of force_sig(). * arch/m32r/kernel/smp.c: - Just add brackets. * include/asm-m32r/hardirq.h: - factor out common code Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.18, 2004-10-03 09:17:24-07:00, takata@linux-m32r.org [PATCH] m32r: update comments for Renesas Here is a patch to update comments for Renesas. The M32R processor is a product of Renesas Technology Corporation now. * arch/m32r/kernel/setup.c: - Change from "MITSUBISHI" to "Renesas" - Remove RCS ID. * arch/m32r/kernel/setup_m32700ut.c: ditto. * arch/m32r/kernel/setup_mappi.c: ditto. * arch/m32r/kernel/setup_mappi2.c: - Remove RCS ID. * arch/m32r/kernel/setup_oaks32r.c: ditto. * arch/m32r/kernel/setup_opsput.c: ditto. * arch/m32r/kernel/setup_usrv.c: ditto. * include/asm-m32r/m32102.h: - Add copyright statement of Renesas - Remove RCS ID. * include/asm-m32r/m32r.h: ditto. * include/asm-m32r/m32r_mp_fpga.h: ditto. Signed-off-by: Hirokazu Takata Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.17, 2004-10-03 09:17:12-07:00, yuasa@hh.iij4u.or.jp [PATCH] mips: added interrupt control routines for vrc4173 This change had added interrupt control routines for vrc4173. Cc: Ralf Baechle Signed-off-by: Yoichi Yuasa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.16, 2004-10-03 09:17:00-07:00, yuasa@hh.iij4u.or.jp [PATCH] mips: added CPU type checking to interrupt control routines This change had added CPU type checking to interrupt control routines. Cc: Ralf Baechle Signed-off-by: Yoichi Yuasa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.15, 2004-10-03 09:16:48-07:00, nickpiggin@yahoo.com.au [PATCH] vm: prevent kswapd pageout priority windup Now that we are correctly kicking off kswapd early (before the synch reclaim watermark), it is really doing asynchronous pageout. This has exposed a latent problem where allocators running at the same time will make kswapd think it is getting into trouble, and cause too much swapping and suboptimal behaviour. This patch changes the kswapd scanning algorithm to use the same metrics for measuring pageout success as the synchronous reclaim path - namely, how much work is required to free SWAP_CLUSTER_MAX pages. This should make things less fragile all round, and has the added benefit that kswapd will continue running so long as memory is low and it is managing to free pages, rather than going through the full priority loop, then giving up. Should result in much better behaviour all round, especially when there are concurrent allocators. akpm: the patch was confirmed to fix up the excessive swapout which Ray Bryant has been reporting. Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.14, 2004-10-03 09:16:36-07:00, tpoynor@mvista.com [PATCH] JFFS2 mount options discarded Yoann Vandoorselaere noticed an attempt to mount a JFFS2 filesystem read-only mounts writeable instead. From: David Woodhouse and make it fix the memory leak on failure too: Signed-off-by: David Woodhouse Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.13, 2004-10-03 09:16:24-07:00, david@gibson.dropbear.id.au [PATCH] ppc64: EEH checks mistakenly became no-ops Recent changes which removed the use of IO tokens for EEH enabled devices had a bug, which mean we now never do EEH checks at all. This patch corrects the problem. Signed-off-by: David Gibson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.12, 2004-10-03 09:16:12-07:00, david@gibson.dropbear.id.au [PATCH] ppc64: squash childregs warnings Squash a couple of "pointer from integer" warnings recently introduced. Signed-off-by: David Gibson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.11, 2004-10-03 09:16:00-07:00, clameter@sgi.com [PATCH] ppc: time interpolator build fix Remove two leftover #includes from timex.h which may cause a build failure for ppc. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.10, 2004-10-03 09:15:48-07:00, linux@dominikbrodowski.de [PATCH] cpufreq: ondemand: account iowait as idle time From: "Pallipadi, Venkatesh" This patch changes the idle time accounting in ondemand governor. With this patch ondemand governor accounts cpu iowait time as idle time. Thanks to Stefan Seyfried for identifying this issue. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.9, 2004-10-03 09:15:36-07:00, linux@dominikbrodowski.de [PATCH] cpufreq: ondemand: prevent various divide underflows From: "Pallipadi, Venkatesh" Check for lower limit of latency / sampling rate, and fix divide underflows. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.8, 2004-10-03 09:15:24-07:00, ak@suse.de [PATCH] x86_64: Lindenhurst MSI build fix Fix the Lindenhurst MSI fix on x86-64 to compile again Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.7, 2004-10-03 09:15:12-07:00, seife@suse.de [PATCH] swsusp: fix highmem From: Pavel Machek This actually calls highmem_resume(), so swsusp has chance to work on highmem machines. It also adds comments about code flow, which is quite interesting at that point. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.6, 2004-10-03 09:15:00-07:00, akpm@osdl.org [PATCH] sparc64: time interpolator build fix We need io.h for readq(). Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.5, 2004-10-03 09:14:48-07:00, nickpiggin@yahoo.com.au [PATCH] document isolcpus= boot option Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.4, 2004-10-03 09:14:36-07:00, mingo@elte.hu [PATCH] random driver preempt robustness A certain codepath in the random driver relied on vt_ioctl() being under the BKL and implicitly disabling preemption. The code wasn't buggy upstream but it's slighly unrobust so I think we want the fix upstream too, independently of the remove-bkl patch. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.3, 2004-10-03 09:14:25-07:00, prasanna@in.ibm.com [PATCH] kprobes exception notifier fix This patch modifies the return value of kprobes exceptions notify handler. The kprobes exception notifier returns NOTIFY_STOP on handling notification. This patch helps other debuggers to co-exists with the Kprobes. Other debuggers registered for exceptions notification must return NOTIFY_STOP on handling the notification. Signed-off-by: Prasanna S Panchamukhi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.2, 2004-10-03 09:14:13-07:00, colin@colino.net [PATCH] use kthread_stop in therm_adt746x Use kthread_stop() and kthread_should_stop() instead of monitor_running and wait_completion(). Signed-off-by: Colin Leroy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.2.1, 2004-10-03 09:14:01-07:00, colin@colino.net [PATCH] therm_adt746x: don't change loadavg Use interruptible sleep rather than uninterruptible. Partially convert it to the kthread API so the kernel thread doesn't get accidentally signalled. Signed-off-by: Colin Leroy Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ChangeSet@1.2036.1.4, 2004-10-03 15:52:59+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2118/1: S3C2410 - gpio updates and header file fix Patch from Ben Dooks Fix missing changelog entries in , and erroneous EINT definitions in . Added s3c2410_gpio_getcfg(pin) and s3c2410_gpio_getirq(pin) to get the current configuration of an pin, and which IRQ (if any) maps to it. Signed-off-by: Ben Dooks ChangeSet@1.2036.1.3, 2004-10-03 15:47:46+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2103/1: BAST - USB power control Patch from Ben Dooks USB power control and over-current sense Signed-off-by: Ben Dooks ChangeSet@1.2036.1.2, 2004-10-03 15:42:39+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2101/1: S3C2410 - usb port management Patch from Ben Dooks Port power control and management for S3C2410 internal USB controller for different boards to interface their power control system to. Signed-off-by: Ben Dooks ChangeSet@1.2036.1.1, 2004-10-03 15:34:05+01:00, sascha@de.rmk.(none) [ARM PATCH] 2095/1: i.MX time keeping Patch from Sascha Hauer This patch fixes the i.MX timer functions: - imx_gettimeoffset() now returns proper values - fix timer interrupt frequency Signed-off-by: Sascha Hauer ChangeSet@1.2034.1.1, 2004-10-03 08:04:47+01:00, aia21@cantab.net NTFS: Fix another stupid bug in fs/ntfs/attrib.c::ntfs_external_attr_find() where we forgot to unmap the extent mft record when we had finished enumerating an attribute which caused a bug check to trigger when the VFS calls ->clear_inode. Signed-off-by: Anton Altaparmakov ChangeSet@1.2036, 2004-10-02 18:33:53-07:00, torvalds@ppc970.osdl.org tty locking fixups: remove unused "flags" variable It became obsolete when the termios locking was changed to use a per-tty semaphore. ChangeSet@1.2035, 2004-10-02 17:57:48-07:00, benh@kernel.crashing.org [PATCH] Fix booting on some recent G5s Some recent G5s have a problem with PCI/HT probing. They crash (machine check) during the probe of some slot numbers, it seems to be related to some functions beeing disabled by the firmware inside the K2 ASIC. This patch limits the config space accesses to devices that are present in the OF device-tree. This fixes the problem and shouldn't "add" any limitation. If you plug a "random" PCI card with no OF driver, the firmware will still build a node for it with the default set of properties created from the config space. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2031.1.1, 2004-10-03 01:08:14+01:00, aia21@cantab.net NTFS: Fix stupid bug in fs/ntfs/attrib.c::ntfs_attr_reinit_search_ctx() where we did not clear ctx->al_entry but it was still set due to changes in ntfs_attr_lookup() and ntfs_external_attr_find() in particular. Signed-off-by: Anton Altaparmakov ChangeSet@1.2033, 2004-10-02 15:54:05-07:00, torvalds@ppc970.osdl.org Fix close() vs posix lock race A threaded app that posix-locks and closes the same file in two threads concurrently may result in a posix lock that was never visible to the closer, and that thus needs cleanup on the final fput. Handle it together with the regular flocks. ChangeSet@1.2032, 2004-10-02 15:46:35-07:00, alan@lxorguk.ukuu.org.uk [PATCH] Update termios to use per tty semaphore This makes the agreed change of termios locking to be semaphore based sleep locking. This is needed for USB in particular as it has to use messaging to issue terminal mode changes. This code passes Torvalds test grades 0, 1 and 2 (it looks ok, it compiles and it booted). It does mean that a driver cannot take an atomic peek at termios data during an interrupt. Nobody seems to be doing this although some of the driver receive paths for line disciplines will eventually want to (n_tty currently doesn't do this locked on the receive path). Since the ldisc is given a chance to copy any essential bits on the ->set_termios path this seems not to be a problem. ChangeSet@1.2031, 2004-10-02 12:09:43-07:00, torvalds@ppc970.osdl.org Partially undo Alan's recent tty locking fixes: the termios lock must not be held across the driver/ldisc downcalls. Some drivers need to set device state (baudrate etc) and may need to sleep. ChangeSet@1.2030, 2004-10-02 10:59:55-07:00, viro@parcelfarce.linux.theplanet.co.uk [PATCH] Race with iput and umount Jeff Mahoney notes: "generic_shutdown_super() will happily call the ->put_super fs method, destroying data structures still in use by the iput (->delete_inode) in progress. The unlink path will call the ->unlink fs method, release the path (thus dropping the reference to the vfsmount, and then call iput. Since the vfsmount reference is dropped back to 1, a umount will succeed, causing the superblock to be cleaned up." Arrgh... Here's the trivial fix: do the final "iput()" a bit earlier in the unlink path. Note: all places that go to exit1: or exit: will have NULL inode, so we are not leaking anything here and it is OK do that iput() early; indeed, the goal of that kludge was to postpone the final iput() past the unlocking the parent for the sake of contention if a wunch of bankers is doing parallel unlink() on files in the same directory and normally it would happen on dput() after vfs_unlink()) ChangeSet@1.2028, 2004-10-01 16:34:56-07:00, chrisw@osdl.org [PATCH] mlockall() take mmap_sem a bit later In sys_mlockall(), flags validation and can_do_mlock() check don't require holding mmap_sem. Move down_write() down a bit, and adjust appropriately. Signed-off-by: Chris Wright Signed-off-by: Linus Torvalds ChangeSet@1.2027, 2004-10-01 16:34:43-07:00, chrisw@osdl.org [PATCH] make can_do_mlock useful for mlock/mlockall Move the simple can_do_mlock() check before the full rlimits based restriction checks for mlock() and mlockall(). As it is, the check adds nothing. This has a side-effect of eliminating an unnecessary call to can_do_mlock() on the munlockall() path. Signed-off-by: Chris Wright Signed-off-by: Linus Torvalds ChangeSet@1.2026, 2004-10-01 16:34:31-07:00, chrisw@osdl.org [PATCH] mlockall() check rlimit only when MCL_CURRENT is set Only check memlock rlimit against mm->total_vm when mlockall() flags include MCL_CURRENT. Signed-off-by: Chris Wright Signed-off-by: Linus Torvalds ChangeSet@1.2025, 2004-10-01 16:34:18-07:00, chrisw@osdl.org [PATCH] mlockall(MCL_FUTURE) unlocks currently locked mappings Calling mlockall(MCL_FUTURE) will erroneously unlock any currently locked mappings. Fix this up, and while we're at it, remove the essentially unused error variable. Signed-off-by: Chris Wright Signed-off-by: Linus Torvalds ChangeSet@1.2009.8.2, 2004-10-01 15:27:36-07:00, trini@kernel.crashing.org Merge bk://bkbits.246tNt.com/linux-2.5-mpc52xx-pending into kernel.crashing.org:/home/trini/work/kernel/pristine/for-linus-ppc ChangeSet@1.2021, 2004-10-01 15:11:57-07:00, laforge@netfilter.org [NETFILTER]: Fix NAT helper handling of TCP window tracking info. Fix NAT helper code to update TCP window tracking information if it resizes payload (and thus alrers sequence numbers). This patchlet was somehow lost during 2.4.x->2.6.x port of TCP window tracking :( Signed-off-by: Harald Welte Signed-off-by: David S. Miller ChangeSet@1.2009.6.4, 2004-10-01 15:03:41-07:00, Alexander.Stohr@gmx.de [SPARC64]: Fix solaris emul __set_utsfield offset calculation. Signed-off-by: David S. Miller ChangeSet@1.2020, 2004-10-01 15:01:32-07:00, yasuyuki.kozakai@toshiba.co.jp [IPV6]: Fix ntohs() --> htons() typo in reassembly.c Signed-off-by: Yasuyuki KOZAKAI Signed-off-by: David S. Miller ChangeSet@1.2019, 2004-10-01 14:58:40-07:00, yoshfuji@linux-ipv6.org [IPV6]: NEIGHBOUR: hold refcnt of net_device from proxy neighbor entries. Signed-off-by: Hideaki YOSHIFUJI Signed-off-by: David S. Miller ChangeSet@1.2018, 2004-10-01 14:50:39-07:00, davem@nuts.davemloft.net [ATM]: Use neigh_table_{init,clear}() in clip.c Signed-off-by: David S. Miller ChangeSet@1.2009.7.7, 2004-10-01 20:00:34+02:00, bzolnier@trik.(none) [ide] Simtec BAST (EB2410ITX) / Thorcom VR1000 driver Patch to provide support for the following two boards: - Simtec BAST (EB2410ITX) - Thorcom VR1000 Signed-off-by: Ben Dooks Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2009.7.6, 2004-10-01 19:58:49+02:00, bzolnier@trik.(none) [ide] piix: fix wrong DMA mode selected From: Carsten Haustein A bug in function piix_config_drive_xfer_rate() allows a call of hwif->ide_dma_on(drive) without prior call of piix_config_drive_for_dma(). This results in harddisk configured for UDMA (default?) whereas the highest DMA mode supported by PIIX3 is MWORD2. This bug is supposed to be present in any 2.6.x kernel release and any 2.4.x kernel release since 2.4.21. bart: this should also fix the same bug for PIIXa and PIIXb Fixes bugzilla bug #3473. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2009.7.5, 2004-10-01 19:58:27+02:00, bzolnier@trik.(none) [ide] aec62xx: remove dead DEBUG_AEC_REGS code Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2009.7.4, 2004-10-01 19:57:32+02:00, bzolnier@trik.(none) [ide] remove stale comment from ide-proc.c ide-default driver was added long time ago. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2009.7.3, 2004-10-01 19:56:49+02:00, bzolnier@trik.(none) [ide] remove dead debugging code from ide-taskfile.c - CONFIG_IDE_TASK_IOCTL_DEBUG cannot be defined - function declarations are used instead of calls Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2009.7.2, 2004-10-01 19:56:04+02:00, bzolnier@trik.(none) [ide] remove dead CMD640 debugging from ide-probe.c Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2009.7.1, 2004-10-01 19:54:54+02:00, bzolnier@trik.(none) [ide] triflex: kill /proc/ide/triflex Fixes OOPS on two single channel controllers. Signed-off-by: Bartlomiej Zolnierkiewicz ChangeSet@1.2009.6.2, 2004-10-01 08:08:23-07:00, david@gibson.dropbear.id.au [PATCH] ppc64: change bad choice of VSID_MULTIPLIER We recently changed the VSID allocation on PPC64 to use a new scheme based on a multiplicative hash. It turns out our choice of multiplier (the largest 28-bit prime) wasn't so great: with large contiguous mappings, we can get very poor hash scattering. In particular earlier machines (without 16M pages) which had a reasonable about of RAM (>2G or so) wouldn't boot, because the linear mapping overflowed some hash buckets. This patch changes the multiplier to something which seems to work better (it is, rather arbitrarily, the median of the primes between 2^27 and 2^28). Some more theory should almost certainly go into the choice of this constant, to avoid more pathological cases. But for now, this choice fixes a serious bug, and seems to do at least as well at scattering as the old choice on a handful of simple testcases. Signed-off-by: David Gibson Signed-off-by: Linus Torvalds ChangeSet@1.2009.6.1, 2004-10-01 08:04:06-07:00, geert@linux-m68k.org [PATCH] fix up tty fall-out The two patches below (compile)fix some fall-out from the tty cleanups. Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds ChangeSet@1.2009.5.1, 2004-10-01 14:52:48+01:00, rmk@flint.arm.linux.org.uk [PCMCIA] replace schedule_timeout() with msleep() From: Remove unnecessary cs_to_timeout() macro. Use msleep() instead of schedule_timeout() to guarantee the task delays for the desired time. Signed-off-by: Nishanth Aravamudan Signed-off-by: Maximilian Attems Signed-off-by: Andrew Morton Signed-off-by: Russell King ChangeSet@1.2009.2.5, 2004-10-01 13:37:13+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2116/1: S3C2410 - s3c2410_gpio_cfgpin() mask bug Patch from Ben Dooks Fixed bug where wrong bits where being masked in the configuration registers for the GPIO pins Signed-off-by: Ben Dooks ChangeSet@1.2009.2.4, 2004-10-01 13:11:37+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2102/1: BAST - incorrect IRQ for USB overcurrent Patch from Ben Dooks Fix IRQ number for USB over-current on Simtec BAST Signed-off-by: Ben Dooks ChangeSet@1.2009.1.26, 2004-10-01 12:46:48+01:00, ben-linux@org.rmk.(none) [ARM PATCH] 2107/1: BAST - additional serial port fixes Patch from Ben Dooks Added code to remove the serial ports registered when the module is unloaded. Cleaned up ifdef'd code, and added copyright header Signed-off-by: Ben Dooks ChangeSet@1.2009.2.3, 2004-10-01 12:37:59+01:00, catalin.marinas@com.rmk.(none) [ARM PATCH] 2106/1: Remove the "write" assumption for Jazelle in the early_abort handler Patch from Catalin Marinas On ARM926EJ-S, the "always assume write" for Jazelle data aborts causes Java code exit with segmentation fault every time it tries to access a read-only page. This patch puts some restrictions on what can be done in the Jazelle state but it allows it to run. Signed-off-by: Catalin Marinas ChangeSet@1.2009.1.25, 2004-09-30 21:28:12-07:00, torvalds@evo.osdl.org Fix up and type-annotate sis fb driver Some dual use type errors still exist, where the bios mapping is type-confused. ChangeSet@1.2017, 2004-09-30 20:58:53-07:00, davem@nuts.davemloft.net [TCP]: Kill tso_{factor,mss}. We can just use skb_shinfo(skb)->tso_{segs,size} directly. This also allows us to kill the hack zone code in ip_output.c The original impetus for thus change was a problem noted by John Heffner. We do not abide by the MSS of the connection for TCP segmentation, we were using the path MTU instead. This broke various local network setups with TSO enabled and is fixed as a side effect of these changes. Signed-off-by: David S. Miller ChangeSet@1.2016, 2004-09-30 20:09:28-07:00, davem@nuts.davemloft.net [TCP]: Add tcp_tso_win_divisor sysctl. This allows control over what percentage of the congestion window can be consumed by a single TSO frame. The setting of this parameter is a choice between burstiness and building larger TSO frames. Signed-off-by: David S. Miller ChangeSet@1.2009.1.24, 2004-09-30 19:58:07-07:00, torvalds@evo.osdl.org Do trivial __iomem annotations for tridentfb.c A few one-liners removed hundreds of lines of warnings. The driver was clean, just not using the proper types. ChangeSet@1.2009.4.2, 2004-09-30 22:57:11-04:00, alan@redhat.com [PATCH] 3c59x: add invalid MAC address check ChangeSet@1.2009.1.23, 2004-09-30 19:54:59-07:00, torvalds@evo.osdl.org Fix up MMIO pointer types and add __iomem annotations to radeonfb.c It was almost correct, apart from some silly details. The x86 ROM probing is still wrong, and doesn't use the proper PCI MMIO accessor functions. Sparse (correctly) warns about it. ChangeSet@1.2009.1.22, 2004-09-30 19:44:19-07:00, torvalds@evo.osdl.org Remove casts and add __iomem annotations to gdth driver ChangeSet@1.2009.1.21, 2004-09-30 18:35:01-07:00, torvalds@evo.osdl.org Fix cyclades driver types, and add __iomem annotations. Remove absolutely tons of totally unnecessary casts, once the types are done right in the first place. The driver is still ugly as hell and needs some serious indentation fixing, but this makes it not spew hundreds of warnings any more. ChangeSet@1.2009.1.20, 2004-09-30 17:04:11-07:00, greg@kroah.com [PATCH] USB: remove FIXME created from tty core changes in empeg driver. Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds ChangeSet@1.2009.1.19, 2004-09-30 17:03:59-07:00, greg@kroah.com [PATCH] USB: fix error in bluetty.c driver caused by tty core changes Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds ChangeSet@1.2009.1.18, 2004-09-30 16:23:12-07:00, torvalds@ppc970.osdl.org The hpet acpi driver is not __initdata. We register it with the ACPI layer, and it's alive long after init. Noted by Bjorn Helgaas. ChangeSet@1.2015, 2004-09-30 15:49:36-07:00, davem@nuts.davemloft.net [SUNGEM]: Fix build. ChangeSet@1.2009.1.17, 2004-09-30 14:18:32-07:00, torvalds@ppc970.osdl.org Wisdom passed down the ages on clay tablets. Only recently digitized for our edification. ChangeSet@1.2013, 2004-09-30 12:42:29-07:00, davem@nuts.davemloft.net [TCP]: Check correct sequence number for URG in tcp_tso_acked(). Noticed by Herbert Xu. Signed-off-by: David S. Miller ChangeSet@1.2012, 2004-09-30 12:31:23-07:00, davem@nuts.davemloft.net [SUNGEM]: Do not need two implementations of poll_controller, hehe. Signed-off-by: David S. Miller ChangeSet@1.2009.1.16, 2004-09-30 12:16:36-07:00, shemminger@osdl.org [PATCH] limit max jiffy of msecs_to_jiffies ChangeSet@1.2009.3.3, 2004-09-30 18:51:37+00:00, tony.luck@intel.com [IA64] mca.h, mca_drv.c: cleanup extern declarations Move extern declarations of ia64_{reg,unreg}_MCA_extension() to mca.h. Delete declaration of ia64_mca_ucmc_other_recover_fp() which doesn't exist. Patch supplied by Hidetoshi Seto. Signed-off-by: Tony Luck ChangeSet@1.2009.3.2, 2004-09-30 18:51:15+00:00, seto.hidetoshi@jp.fujitsu.com [IA64] Recovery from user-mode memory error This is the latest/Updated OS_MCA handler which try to do recovery from multibit-ECC/poisoned memory-read error on user-land. (Thank you very much for comments, Keith and Grant!) I'd still appreciate it if anyone having good test environment could apply my patch and could report how it works. (especially reports on non-Tiger/non-Intel platform are welcome.) Signed-off-by: Hidetoshi Seto Signed-off-by: Tony Luck ChangeSet@1.2009.1.15, 2004-09-30 11:25:46-07:00, torvalds@ppc970.osdl.org Fix up natsemi network driver IO accessor types. Basic cleanup - replace untyped/wrongly typed "dev->base_addr" with use of a strongly typed "ioaddr". Fixed up resulting mii_delay() search-and-replace error noticed by Andrey Klochko. Verified by Franz Pletz. ChangeSet@1.1946.7.11, 2004-09-30 16:31:06+00:00, eranian@hpl.hp.com [IA64] minor fix to perfmon change the return value of PFM_CREATE_CONTEXT from EAGAIN to ENOMEM when the sampling buffer size is larger than the RLIMIT_MEMLOCK limit of the task. signed-off-by: Stephane Eranian Signed-off-by: Tony Luck ChangeSet@1.1946.7.10, 2004-09-30 16:27:05+00:00, eranian@hpl.hp.com [IA64] perfmon2 fix for TASK_TRACED fix a problem in pfm_check_task_state() and pfm_task_incompatible() which was caused by the introduction of the new TASK_TRACED state. Tool would fail to attach to a process,i.e., PFM_LOAD_CONTEXT would fail. With the fix perfmon now accepts to operate on tasks which are in either TASK_STOPPED or TASK_TRACED state. The problem was tracked down by Alex Williamson from HP who also submitted the patch. signed-off-by: Stephane Eranian Signed-off-by: Tony Luck ChangeSet@1.2009.1.13, 2004-09-30 08:41:37-07:00, Andries.Brouwer@cwi.nl [PATCH] overcommit symbolic constants Played a bit with overcommit the past hour. Am not entirely satisfied with the no overcommit mode 2 - programs segfault when the system is close to that boundary. So, instead of the somewhat larger patch that I planned to send, just symbolic names for the modes. ChangeSet@1.2009.1.12, 2004-09-30 08:41:24-07:00, alan@redhat.com [PATCH] Fix typo in final changes to old i4l tty code ChangeSet@1.2009.1.11, 2004-09-30 08:41:12-07:00, alan@redhat.com [PATCH] fix typo in capi driver I didn't have ISDN builds on in my tree for some reason hence missing these two from the tidy ups at the end. Marcel Holtmann also came up with the same fixes although I didnt find that email until I did these. Signed-off-by: Alan Cox ChangeSet@1.2009.1.10, 2004-09-30 08:23:27-07:00, benh@kernel.crashing.org [PATCH] ppc64: Fix incorrect initialization of hash table on some pSeries The hash table wasn't fully initialized on some pSeries that had the workaround for no batching. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Linus Torvalds ChangeSet@1.2009.1.9, 2004-09-30 08:23:15-07:00, rddunlap@osdl.org [PATCH] pc300: remove extra paren. Remove an extra left-paren. Acked-by: Marcelo Tosatti Signed-off-by: Randy Dunlap Signed-off-by: Linus Torvalds ChangeSet@1.2009.2.2, 2004-09-30 14:54:06+01:00, icampbell@com.rmk.(none) [ARM PATCH] 2114/1: fix drivers/char/watchdog/sa1100-wdt.c on SA1100 Patch from Ian Campbell Patch 2113 broke drivers/char/watchdog/sa1100-wdt.c on SA1100. Signed-off-by: Ian Campbell ChangeSet@1.2009.2.1, 2004-09-30 13:31:59+01:00, icampbell@com.rmk.(none) [ARM PATCH] 2113/1: include asm/arch/pxa-regs.h where necessary Patch from Ian Campbell The include of asm/arch/pxa-regs.h has been removed from asm-arm/arch-pxa/hardware.h and now needs to be included from the relevant files. I have verified the fixes to arch/arm/mach-pxa/sleep.S and drivers/char/watchdog/sa1100_wdt.c myself. My local tree has other changes to include/asm-arm/arch-pxa/serial.h but I beleive that the attached is necessary and correct. Signed-off-by: Ian Campbell ChangeSet@1.2011, 2004-09-29 21:12:18-07:00, davem@nuts.davemloft.net [TCP]: Smooth out TSO ack clocking. - Export tcp_trim_head() and call it directly from tcp_tso_acked(). This also fixes URG handling. - Make tcp_trim_head() adjust the skb->truesize of the packet and liberate that space from the socket send buffer. - In tcp_current_mss(), limit TSO factor to 1/4 of snd_cwnd. The idea is from John Heffner. Signed-off-by: David S. Miller ChangeSet@1.2009.1.7, 2004-09-29 19:40:21-07:00, torvalds@ppc970.osdl.org Linux 2.6.9-rc3 TAG: v2.6.9-rc3