[patch 054/101] swsusp: Fix possible oops in userland interface

2007-03-07 Thread Greg KH
From: Stefan Seyfried <[EMAIL PROTECTED]> Fix the Oops occuring when SNAPSHOT_PMOPS or SNAPSHOT_S2RAM ioctl is called on a system without pm_ops defined (eg. a non-ACPI kernel on x86 PC). Signed-off-by: Stefan Seyfried <[EMAIL PROTECTED]> Signed-off-by: Rafael J. Wysocki <[EMAIL PROTECTED]> Acked

[patch 056/101] fix umask when noACL kernel meets extN tuned for ACLs

2007-03-07 Thread Greg KH
From: Hugh Dickins <[EMAIL PROTECTED]> Fix insecure default behaviour reported by Tigran Aivazian: if an ext2 or ext3 or ext4 filesystem is tuned to mount with "acl", but mounted by a kernel built without ACL support, then umask was ignored when creating inodes - though root or user has umask 022,

Re: [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-07 Thread Paul Menage
On 3/7/07, Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: > - when you do sys_unshare() or a clone that creates new namespaces, > then the task (or its child) will get a new nsproxy that has the rcfs > subsystem state associated with the old nsproxy, and one or more > namespace pointers cloned to

[patch 057/101] UML - Fix 2.6.20 hang

2007-03-07 Thread Greg KH
From: Jeff Dike <[EMAIL PROTECTED]> A previous cleanup misused need_poll, which had a fairly broken interface. It implemented a growable array, changing the used elements count itself, but leaving it up to the caller to fill in the actual elements, including the entire array if the array had to b

[patch 071/101] Fix reference counting (memory leak) problem in __nfulnl_send() and callers related to packet queueing.

2007-03-07 Thread Greg KH
Signed-off-by: Michał Mirosław <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- net/netfilter/nfnetlink_log.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) --- linux-2.6.20.1.orig/net/netfilter/nfnetlink_log.c +++ linux-2.6.20.1/net/netfi

Re: [patch] epoll use a single inode ...

2007-03-07 Thread Eric Dumazet
On Wednesday 07 March 2007 18:02, Linus Torvalds wrote: > On Wed, 7 Mar 2007, Eric Dumazet wrote: > > I would definitly *love* saving dentries for pipes (and sockets too), but > > how are you going to get the inode ? > > Don't use an inode at all. Lovely :) > > > pipes()/sockets() can use read()/

[patch 073/101] forcedeth: disable msix

2007-03-07 Thread Greg KH
From: Ayaz Abdulla <[EMAIL PROTECTED]> forcedeth: disable msix There seems to be an issue when both MSI-X is enabled and NAPI is configured. This patch disables MSI-X until the issue is root caused. Signed-off-by: Ayaz Abdulla <[EMAIL PROTECTED]> Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]> Cc

[patch 068/101] Fix TCP MD5 locking.

2007-03-07 Thread Greg KH
From: David Miller <[EMAIL PROTECTED]> [TCP]: Fix MD5 signature pool locking. The locking calls assumed that these code paths were only invoked in software interrupt context, but that isn't true. Therefore we need to use spin_{lock,unlock}_bh() throughout. Signed-off-by: David S. Miller <[EMAIL

[patch 075/101] sched: fix SMT scheduler bug

2007-03-07 Thread Greg KH
From: Ingo Molnar <[EMAIL PROTECTED]> [PATCH] sched: fix SMT scheduler bug The SMT scheduler incorrectly skips kernel threads even if they are runnable (but they are preempted by a higher-prio user-space task which got SMT-delayed by an even higher-priority task running on a sibling CPU). Fix th

[patch 070/101] Fix anycast procfs device leak

2007-03-07 Thread Greg KH
From: David Stevens <[EMAIL PROTECTED]> [IPV6]: /proc/net/anycast6 unbalanced inet6_dev refcnt From: David Stevens <[EMAIL PROTECTED]> Reading /proc/net/anycast6 when there is no anycast address on an interface results in an ever-increasing inet6_dev reference count, as well as a reference to th

Re: [patch 2/6 -rt] powerpc 2.6.20-rt8: to convert spinlocks to raw ones.

2007-03-07 Thread Sergei Shtylyov
Hello. Paul Mackerras wrote: I've already sent a patch fixing this one (along with many others) a month ago: http://ozlabs.org/pipermail/linuxppc-dev/2007-February/031164.html I wonder iof it was ever considered... :-/ The entire patch description was just this: Convert the sp

[patch 074/101] tty_io: fix race in master pty close/slave pty close path

2007-03-07 Thread Greg KH
From: Aristeu Sergio Rozanski Filho <[EMAIL PROTECTED]> [PATCH] tty_io: fix race in master pty close/slave pty close path This patch fixes a possible race that leads to double freeing an idr index. When the master begin to close, release_dev() is called and then pty_close() is called: i

[patch 083/101] ufs: restore back support of openstep

2007-03-07 Thread Greg KH
From: Evgeniy Dushistov <[EMAIL PROTECTED]> This is a fix of regression, which triggered by ~2.6.16. Patch with name ufs-directory-and-page-cache-from-blocks-to-pages.patch: in additional to conversation from block to page cache mechanism added new checks of directory integrity, one of them that

Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3

2007-03-07 Thread Linus Torvalds
On Wed, 7 Mar 2007, Kirk Kuchov wrote: > > I don't believe I'm wasting my time explaining this. They don't exist > as /dev/null, they are just fucking _LINKS_. I could even "ln -s > /proc/self/fd/0 sucker". A real /dev/stdout can/could even exist, but > that's not the point! Actually, one large

[patch 067/101] Fix %100 cpu spinning on sparc64

2007-03-07 Thread Greg KH
From: David Miller <[EMAIL PROTECTED]> [SPARC64] bbc_i2c: Fix kenvctrld eating %100 cpu. Based almost entirely upon a patch by Joerg Friedrich Signed-off-by: David S. Miller <[EMAIL PROTECTED]> --- drivers/sbus/char/bbc_i2c.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions

[patch 077/101] Backport of psmouse suspend/shutdown cleanups

2007-03-07 Thread Greg KH
From: Thomas Renninger <[EMAIL PROTECTED]> This patch works back to 2.6.17 (earlier kernels seem to need up/down operations on mutex/semaphore). psmouse - properly reset mouse on shutdown/suspend Some people report that they need psmouse module unloaded for suspend to ram/disk to work properly.

[patch 079/101] RPM: fix double free in portmapper code

2007-03-07 Thread Greg KH
From: Trond Myklebust <[EMAIL PROTECTED]> rpc_run_task is guaranteed to always call ->rpc_release. Signed-off-by: Trond Myklebust <[EMAIL PROTECTED]> Cc: Neil Brown <[EMAIL PROTECTED]> Cc: Jan "Yenya" Kasprzak <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Gr

[patch 080/101] NLM: Fix double free in __nlm_async_call

2007-03-07 Thread Greg KH
From: Trond Myklebust <[EMAIL PROTECTED]> rpc_call_async() will always call rpc_release_calldata(), so it is an error for __nlm_async_call() to do so as well. Addresses http://bugzilla.kernel.org/show_bug.cgi?id=7923 Signed-off-by: Trond Myklebust <[EMAIL PROTECTED]> Cc: Jan "Yenya" Kasprzak <[

Re: [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-07 Thread Srivatsa Vaddagiri
On Wed, Mar 07, 2007 at 11:00:31PM +0530, Srivatsa Vaddagiri wrote: > So we got several choices here. > > 1. Introduce the container abstraction as is in your patches > 2. Extend nsproxy somehow to represent hierarchies > 3. Let individual resource controllers that -actually- support >hierarch

[patch 076/101] USB: usbnet driver bugfix

2007-03-07 Thread Greg KH
From: David Brownell <[EMAIL PROTECTED]> The attached fixes an oops in the usbnet driver. The same patch is in 2.6.21-rc1, but that one has many whitespace changes. This is much smaller. Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> ---

[patch 085/101] enable mouse button 2+3 emulation for x86 macs

2007-03-07 Thread Greg KH
From: Soeren Sonnenburg <[EMAIL PROTECTED]> As macbook/macbook pro's also have to live with a single mouse button the following patch just enables the Macintosh device drivers menu in Kconfig + adds the macintosh dir to the obj-* to make macbook* users happy (who use exactly that since months

[patch 089/101] buffer: memorder fix

2007-03-07 Thread Greg KH
From: Nick Piggin <[EMAIL PROTECTED]> unlock_buffer(), like unlock_page(), must not clear the lock without ensuring that the critical section is closed. Mingming later sent the same patch, saying: We are running SDET benchmark and saw double free issue for ext3 extended attributes block, which

[patch 081/101] kexec: Fix CONFIG_SMP=n compilation V2 (ia64)

2007-03-07 Thread Greg KH
From: Magnus Damm <[EMAIL PROTECTED]> Kexec support for 2.6.20 on ia64 does not build properly using a config made up by CONFIG_SMP=n and CONFIG_HOTPLUG_CPU=n: CC arch/ia64/kernel/machine_kexec.o arch/ia64/kernel/machine_kexec.c: In function `machine_shutdown': arch/ia64/kernel/machine_ke

[patch 094/101] fix section mismatch warning in lockdep

2007-03-07 Thread Greg KH
From: Sam Ravnborg <[EMAIL PROTECTED]> lockdep_init() is marked __init but used in several places outside __init code. This causes following warnings: $ scripts/mod/modpost kernel/lockdep.o WARNING: kernel/built-in.o - Section mismatch: reference to .init.text:lockdep_init from .text.lockdep_ini

[patch 084/101] v9fs_vfs_mkdir(): fix a double free

2007-03-07 Thread Greg KH
From: Adrian Bunk <[EMAIL PROTECTED]> Fix a double free of "dfid" introduced by commit da977b2c7eb4d6312f063a7b486f2aad99809710 and spotted by the Coverity checker. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Cc: Eric Van Hensbergen <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PRO

Re: [PATCH 0/2] resource control file system - aka containers on top of nsproxy!

2007-03-07 Thread Srivatsa Vaddagiri
On Tue, Mar 06, 2007 at 06:32:07PM -0800, Paul Menage wrote: > I'm not really sure that I see the value of having this be part of > nsproxy rather than the previous independent container (and > container_group) structure. *shrug* I wrote the patch mainly to see whether the stuff container folks

[patch 097/101] revert "drivers/net/tulip/dmfe: support basic carrier detection"

2007-03-07 Thread Greg KH
From: Andrew Morton <[EMAIL PROTECTED]> Revert 7628b0a8c01a02966d2228bdf741ddedb128e8f8. Thomas Bachler reports: Commit 7628b0a8c01a02966d2228bdf741ddedb128e8f8 (drivers/net/tulip/dmfe: support basic carrier detection) breaks networking on my Davicom DM9009. ethtool always reports there

Re: [patch] epoll use a single inode ...

2007-03-07 Thread Linus Torvalds
On Wed, 7 Mar 2007, Eric Dumazet wrote: > > Crazy ideas : (some readers are going to kill me) First off, as noted earlier, you don't need crazy ideas. But: > 1) Use the low order bit of f_path.dentry to say : this pointer is not a > pointer to a dentry but the inode pointer (with the low ord

[patch 093/101] ueagle-atm.c needs sched.h

2007-03-07 Thread Greg KH
From: Randy Dunlap <[EMAIL PROTECTED]> Driver needs sched.h for try_to_freeze(). Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> Cc: Greg KH <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/atm/ueagle-atm

[patch 096/101] bug in gdth.c crashing machine

2007-03-07 Thread Greg KH
From: Joerg Dorchain <[EMAIL PROTECTED]> Undocumented... Signed-off-by: Joerg Dorchain <[EMAIL PROTECTED]> Acked-by: Achim Leubner <[EMAIL PROTECTED]> Cc: James Bottomley <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> -

[patch 091/101] lockdep: forward declare struct task_struct

2007-03-07 Thread Greg KH
From: Heiko Carstens <[EMAIL PROTECTED]> 3117df0453828bd045c16244e6f50e5714667a8a causes this: In file included from arch/s390/kernel/early.c:13: include/linux/lockdep.h:300: warning: "struct task_struct" declared inside parameter list include/linux/lockdep.h:300:

[patch 098/101] video/aty/mach64_ct.c: fix bogus delay loop

2007-03-07 Thread Greg KH
From: David Miller <[EMAIL PROTECTED]> [PATCH] video/aty/mach64_ct.c: fix bogus delay loop CT based mach64 cards were reported to hang on sparc64 boxes when compiled with gcc-4.1.x and later. Looking at this piece of code, it's no surprise. A critical delay was implemented as an empty for() loo

Re: [Linux-parport] Linux v2.6.21-rc3

2007-03-07 Thread Stephen Mollett
On Wednesday 07 Mar 2007, Michal Piotrowski wrote: > BTW. Does anyone care about parport console? > console=lp0 hangs since at least 2.6.18 For the record, I used console=lp0 quite recently (stock 2.6.19 according to the printout, running on i386) [to find out what was causing a panic that immed

[patch 092/101] kvm: Fix asm constraint for lldt instruction

2007-03-07 Thread Greg KH
From: S.Caglar Onur <[EMAIL PROTECTED]> lldt does not accept immediate operands, which "g" allows. Signed-off-by: S.Caglar Onur <[EMAIL PROTECTED]> Signed-off-by: Avi Kivity <[EMAIL PROTECTED]> Cc: Ingo Molnar <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Gr

[patch 099/101] pktcdvd: Correctly set cmd_len field in pkt_generic_packet

2007-03-07 Thread Greg KH
From: Gerhard Dirschl <[EMAIL PROTECTED]> Fixes http://bugzilla.kernel.org/show_bug.cgi?id=7810 - a silly copy-paste bug introduced by the latest change. Signed-off-by: Gerhard Dirschl <[EMAIL PROTECTED]> Cc: Peter Osterlund <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Si

Re: tiny tty driver sample

2007-03-07 Thread Alan Cox
> I guess something like > > tty_buffer_request_room(tty, data_size); > for (i = 0; i < data_size; ++i) > work += tty_insert_flip_char(tty, data[i], TTY_NORMAL); > if (work) > tty_flip_buffer_push(tty); Unless data_size can be very large and high spe

Re: [PATCH 2/2] xfs: stop using kmalloc in xfs_buf_get_noaddr

2007-03-07 Thread Christoph Hellwig
On Wed, Mar 07, 2007 at 09:04:53AM -0800, Michael Nishimoto wrote: > Incore log buffers are not always a power of two of the page size. > In particular, when xfs is running over software raid devices, the > log buffers are allocated to match the size of a stripe. > > However, they are always a mul

[patch 090/101] Char: specialix, isr have 2 params

2007-03-07 Thread Greg KH
From: Jiri Slaby <[EMAIL PROTECTED]> specialix, isr have 2 params pt_regs are no longer the third parameter of isr, call sx_interrupt without it. Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>

[patch 100/101] ATA: convert GSI to irq on ia64

2007-03-07 Thread Greg KH
From: "Zhang, Yanmin" <[EMAIL PROTECTED]> If an ATA drive uses legacy mode, ata driver will choose 14 and 15 as the fixed irq number. On ia64 platform, such numbers are GSI and should be converted to irq vector. Signed-off-by: Zhang Yanmin <[EMAIL PROTECTED]> Cc: Jeff Garzik <[EMAIL PROTECTED]>

[patch 101/101] gfs2: fix locking mistake

2007-03-07 Thread Greg KH
From: Josef Whiter <[EMAIL PROTECTED]> Fix a locking mistake in the quota code, we do a mutex_lock instead of a mutex_unlock. Signed-off-by: Josef Whiter <[EMAIL PROTECTED]> Cc: Steven Whitehouse <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartma

[patch 095/101] throttle_vm_writeout(): dont loop on GFP_NOFS and GFP_NOIO allocations

2007-03-07 Thread Greg KH
From: Andrew Morton <[EMAIL PROTECTED]> throttle_vm_writeout() is designed to wait for the dirty levels to subside. But if the caller holds IO or FS locks, we might be holding up that writeout. So change it to take a single nap to give other devices a chance to clean some memory, then return.

[patch 086/101] hugetlb: preserve hugetlb pte dirty state

2007-03-07 Thread Greg KH
From: "Ken Chen" <[EMAIL PROTECTED]> __unmap_hugepage_range() is buggy that it does not preserve dirty state of huge_pte when unmapping hugepage range. It causes data corruption in the event of dop_caches being used by sys admin. For example, an application creates a hugetlb file, modify pages,

[patch 087/101] m32r: build fix for processors without ISA_DSP_LEVEL2

2007-03-07 Thread Greg KH
From: Hirokazu Takata <[EMAIL PROTECTED]> Additional fixes for processors without ISA_DSP_LEVEL2. sigcontext_t does not have dummy_acc1h, dummy_acc1l members any longer. Signed-off-by: Hirokazu Takata <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah

[patch 088/101] kernel/time/clocksource.c needs struct task_struct on m68k

2007-03-07 Thread Greg KH
From: Mathieu Desnoyers <[EMAIL PROTECTED]> kernel/time/clocksource.c needs struct task_struct on m68k. Because it uses spin_unlock_irq(), which, on m68k, uses hardirq_count(), which uses preempt_count(), which needs to dereference struct task_struct, we have to include sched.h. Because it would

[patch 055/101] sata_sil: ignore and clear spurious IRQs while executing commands by polling

2007-03-07 Thread Greg KH
sata_sil used to trigger HSM error if IRQ occurs during polling command. This didn't matter because polling wasn't used in sata_sil. However, as of 2.6.20, all IDENTIFYs are performed by polling and device detection sometimes fails due to spurious IRQ. This patch makes sata_sil ignore and clear

[patch 069/101] Dont add anycast reference to device multiple times

2007-03-07 Thread Greg KH
From: Michal Wrobel <[EMAIL PROTECTED]> [IPV6]: anycast refcnt fix This patch fixes a bug in Linux IPv6 stack which caused anycast address to be added to a device prior DAD has been completed. This led to incorrect reference count which resulted in infinite wait for unregister_netdevice completio

[patch 082/101] Fix MTRR compat ioctl

2007-03-07 Thread Greg KH
From: Zwane Mwaikambo <[EMAIL PROTECTED]> The MTRR compat code wasn't calling the lowlevel MTRR setup due to a switch block not handling the compat case. Before: (WW) I810(0): Failed to set up write-combining range (0xd000,0x1000) After: reg00: base=0x ( 0MB), size=1024MB: wri

[patch 078/101] Revert "LOG2: Alter get_order() so that it can make use of ilog2() on a constant"

2007-03-07 Thread Greg KH
From: Linus Torvalds <[EMAIL PROTECTED]> Revert "[PATCH] LOG2: Alter get_order() so that it can make use of ilog2() on a constant" This reverts commit 39d61db0edb34d60b83c5e0d62d0e906578cc707. The commit was buggy in multiple ways: - the conversion to ilog2() was incorrect to begin with - it

[patch 060/101] libata: add missing PM callbacks

2007-03-07 Thread Greg KH
From: Tejun Heo <[EMAIL PROTECTED]> Some LLDs were missing scsi device PM callbacks while having host/port suspend support. Add missing ones. Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/ata/pata_jmicron.c |4 drivers/a

[patch 061/101] libata: add missing CONFIG_PM in LLDs

2007-03-07 Thread Greg KH
From: Tejun Heo <[EMAIL PROTECTED]> Add missing #ifdef CONFIG_PM conditionals around all PM related parts in libata LLDs. Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/ata/ahci.c | 14 ++ drivers/ata/ata

[patch 058/101] mmc: Power quirk for ENE controllers

2007-03-07 Thread Greg KH
From: Darren Salt <[EMAIL PROTECTED]> mmc: Power quirk for ENE controllers Support for these devices was broken for 2.6.18-rc1 and later by commit 146ad66eac836c0b976c98f428d73e1f6a75270d, which added voltage level support. This restores the previous behaviour for these devices by ensuring that

[patch 062/101] POWERPC: Fix performance monitor exception

2007-03-07 Thread Greg KH
From: Livio Soares <[EMAIL PROTECTED]> To the issue: some point during 2.6.20 development, Paul Mackerras introduced the "lazy IRQ disabling" patch (very cool work, BTW). In that patch, the performance monitor unit exception was marked as "maskable", in the sense that if interrupts were soft-di

[patch 059/101] bcm43xx: Fix assertion failures in interrupt handler

2007-03-07 Thread Greg KH
From: Pavel Roskin <[EMAIL PROTECTED]> In the bcm43xx interrupt handler, sanity checks are wrongly done before the verification that the interrupt is for the bcm43xx. Signed-off-by: Pavel Roskin <[EMAIL PROTECTED]> Signed-off-by: Larry Finger <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman

[patch 025/101] Fix null pointer dereference in appledisplay driver

2007-03-07 Thread Greg KH
From: Michael Hanselmann <[EMAIL PROTECTED]> Commit 40b20c257a13c5a526ac540bc5e43d0fdf29792a by Len Brown introduced a null pointer dereference in the appledisplay driver. This patch fixes it. Signed-off-by: Michael Hanselmann <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTE

[patch 035/101] Clear TCP segmentation offload state in ipt_REJECT

2007-03-07 Thread Greg KH
From: Herbert Xu <[EMAIL PROTECTED]> [NETFILTER]: Clear GSO bits for TCP reset packet The TCP reset packet is copied from the original. This includes all the GSO bits which do not apply to the new packet. So we should clear those bits. Spotted by Patrick McHardy. Signed-off-by: Herbert Xu <[E

[patch 031/101] Avoid using nfsd process pools on SMP machines.

2007-03-07 Thread Greg KH
From: NeilBrown <[EMAIL PROTECTED]> process-pools have real benefits for NUMA, but on SMP machines they only work if network interface interrupts go to all CPUs (via round-robin or multiple nics). This is not always the case, so disable the pools in this case until a better solution is developpe

[patch 027/101] Kconfig: FAULT_INJECTION can be selected only if LOCKDEP is enabled.

2007-03-07 Thread Greg KH
From: "Paolo 'Blaisorblade' Giarrusso" <[EMAIL PROTECTED]> There is no prompt for STACKTRACE, so it is enabled only when 'select'ed. FAULT_INJECTION depends on it, while LOCKDEP selects it. So FAULT_INJECTION becomes visible in Kconfig only when LOCKDEP is enabled. Signed-off-by: Paolo 'Blaisorbl

[patch 044/101] bcm43xx: fix for 4309

2007-03-07 Thread Greg KH
From: Stefano Brivio <[EMAIL PROTECTED]> BCM4309 devices aren't working properly as A PHYs aren't supported yet, but we probe 802.11a cores anyway. This fixes it, while still allowing for A PHY code to be developed in the future. Signed-off-by: Stefano Brivio <[EMAIL PROTECTED]> Cc: Michael Bues

[patch 045/101] md: Fix raid10 recovery problem.

2007-03-07 Thread Greg KH
From: NeilBrown <[EMAIL PROTECTED]> There are two errors that can lead to recovery problems with raid10 when used in 'far' more (not the default). Due to a '>' instead of '>=' the wrong block is located which would result in garbage being written to some random location, quite possible outside th

[patch 001/101] ocfs2: ocfs2_link() journal credits update

2007-03-07 Thread Greg KH
Commit 592282cf2eaa33409c6511ddd3f3ecaa57daeaaa fixed some missing directory c/mtime updates in part by introducing a dinode update in ocfs2_add_entry(). Unfortunately, ocfs2_link() (which didn't update the directory inode before) is now missing a single journal credit. Fix this by doubling the num

[patch 018/101] Fix ATM initcall ordering.

2007-03-07 Thread Greg KH
From: Daniel Walker <[EMAIL PROTECTED]> [ATM]: Fix for crash in adummy_init() This was reported by Ingo Molnar here, http://lkml.org/lkml/2006/12/18/119 The problem is that adummy_init() depends on atm_init() , but adummy_init() is called first. So I put atm_init() into subsys_initcall which s

[patch 015/101] USB audio fixes 2

2007-03-07 Thread Greg KH
From: Takashi Iwai <[EMAIL PROTECTED]> [PATCH] usbaudio - Fix Oops with unconventional sample rates The patch fixes the memory corruption by the support of unconventional sample rates. Also, it avoids the too restrictive constraints if any of usb descriptions contain continuous rates. Signed-of

[patch 008/101] ide: fix drive side 80c cable check

2007-03-07 Thread Greg KH
eighty_ninty_three() had word 93 validitity check but not the 80c bit test itself (bit 12). This increases the chance of incorrect wire detection especially because host side cable detection is often unreliable and we sometimes soley depend on drive side cable detection. Fix it. Signed-off-by:

Re: passing function pointers through platform devices?

2007-03-07 Thread Randy Dunlap
On Wed, 7 Mar 2007 10:37:00 -0600 NZG wrote: > > Once the generic GPIO framework migrates upstream from -mm > Thank you, but I've reorganized my system to pass platform resources to a > driver, which then registers simple gpio/pwm/quadencoder type devices as > standard classes declared in a sub

Re: passing function pointers through platform devices?

2007-03-07 Thread Paul Sokolovsky
Hello NZG, Tuesday, March 6, 2007, 8:46:29 PM, you wrote: > I'm developing an SPI- bus >MMC/SD block driver translation layer. > As part of this layer the write protect and card detect lines need to be read. > The method for determining the state of these lines will be board specific. > Is it ap

[patch] CPU hotplug: call check_tsc_sync_source() with irqs off

2007-03-07 Thread Ingo Molnar
* Linus Torvalds <[EMAIL PROTECTED]> wrote: > [ Ingo and Thomas added to Cc, because I think this is them.. ] > > Ingo, I think this came in during commit 95492e4646, "x86: rewrite SMP > TSC sync code". yeah. > > I get this while > > echo shutdown > /sys/power/disk; echo disk > /sys/power/sta

Re: qla2xxx BUG: workqueue leaked lock or atomic

2007-03-07 Thread Andre Noll
On 20:39, Andrew Morton wrote: > On Wed, 28 Feb 2007 16:37:22 +0100 Andre Noll <[EMAIL PROTECTED]> wrote: > > > On 16:18, Andre Noll wrote: > > > > > With 2.6.21-rc2 I am unable to reproduce this BUG message. However, > > > writing to both raid systems at the same time via lvm still locks up > >

Re: [lm-sensors] Could the k8temp driver be interfering with ACPI?

2007-03-07 Thread Bodo Eggert
On Wed, 7 Mar 2007, Jean Delvare wrote: > On Tue, 6 Mar 2007 21:40:19 +0100 (CET), Bodo Eggert wrote: > > 1) I asume port allocations or ACPI foreign port acces to be rare, so > >there would be little impact on (un)registering hardware. Off cause > >there are some long ACPI calls (like rea

Re: Linux v2.6.21-rc3

2007-03-07 Thread Thomas Gleixner
On Wed, 2007-03-07 at 15:22 +0100, Thomas Gleixner wrote: > On Tue, 2007-03-06 at 20:59 -0800, Linus Torvalds wrote: > > We've finally hopefully started to put a dent in the regressions, > > especially the suspend/resume problems introduced since 2.6.20. > > Still having SATA breakage on resume:

Re: [patch] epoll use a single inode ...

2007-03-07 Thread Linus Torvalds
On Wed, 7 Mar 2007, Eric Dumazet wrote: > > I would definitly *love* saving dentries for pipes (and sockets too), but how > are you going to get the inode ? Don't use an inode at all. > pipes()/sockets() can use read()/write()/rw_verify_area() and thus need > file->f_path.dentry->d_inode (so e

Re: [RFC] ARP notify option

2007-03-07 Thread Stephen Hemminger
On Wed, 7 Mar 2007 08:42:39 +0200 (EET) Pekka Savola <[EMAIL PROTECTED]> wrote: > On Tue, 6 Mar 2007, Chris Friesen wrote: > > Stephen Hemminger wrote: > >> +arp_notify - BOOLEAN > >> + Define mode for notification of address and device changes. > >> + 0 - (default): do nothing > >> + 1 - Gene

Re: [patch 1/4] signalfd v1 - signalfd core ...

2007-03-07 Thread Linus Torvalds
On Wed, 7 Mar 2007, Stephen Rothwell wrote: > > You probably need the queue anyway because the real time signals are > supposed to queue. Davide - the *real* problem is (I think) that you try to allow signals to be returned *both* by signalfd() and as a real signal. That's wrong, wrong, wrong

Re: 2.6.21-rc suspend regression: sysfs deadlock

2007-03-07 Thread Oliver Neukum
Am Mittwoch, 7. März 2007 17:52 schrieb Linus Torvalds: > > On Wed, 7 Mar 2007, Dmitry Torokhov wrote: > > > > ... with the exception that it will again make data associated with > > sysfs attributes accessible past the point of returning from > > sysfs_remove_file. And that was the point so driv

[RFC][PATCH] mm: fix page_mkclean() vs non-linear vmas

2007-03-07 Thread Peter Zijlstra
compile tested only so far --- Partial revert of commit: 204ec841fbea3e5138168edbc3a76d46747cc987 Non-linear vmas aren't properly handled by page_mkclean() and fixing that would result in linear scans of all related non-linear vmas per page_mkclean() invocation. This is deemed too costly, henc

Re: [patch 2/6 -rt] powerpc 2.6.20-rt8: to convert spinlocks to raw ones.

2007-03-07 Thread Paul Mackerras
Sergei Shtylyov writes: > I've already sent a patch fixing this one (along with many others) a > month > ago: > > http://ozlabs.org/pipermail/linuxppc-dev/2007-February/031164.html > > I wonder iof it was ever considered... :-/ The entire patch description was just this: > Convert th

Re: 2.6.21-rc suspend regression: sysfs deadlock

2007-03-07 Thread Linus Torvalds
On Wed, 7 Mar 2007, Dmitry Torokhov wrote: > > ... with the exception that it will again make data associated with > sysfs attributes accessible past the point of returning from > sysfs_remove_file. And that was the point so drivers would not have to > care about handling access to extra data (s

Re: [PATCH 1/1] Input: add sensable phantom driver

2007-03-07 Thread Dmitry Torokhov
On 3/7/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: Dmitry Torokhov napsal(a): > Hi Jiri, Hi. > On 3/7/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: >> add sensable phantom driver > ... > > General question - can this driver use force-feedback mecahnisms > already present in kernel instead of exportin

Re: tiny tty driver sample

2007-03-07 Thread Jiri Slaby
Jon Ringle napsal(a): Hello, I'm trying to write a tty driver and I'm using http://lwn.net/images/pdf/LDD3/ch18.pdf as a guide. The sample tiny tty driver includes the following code: for (i = 0; i < data_size; ++i) { if (tty->flip.count >= TTY_FLIPBUF_SIZE)

Re: [PATCH 1/1] Input: add sensable phantom driver

2007-03-07 Thread Greg KH
On Wed, Mar 07, 2007 at 05:38:59PM +0100, Jiri Slaby wrote: > Dmitry Torokhov napsal(a): > >>+static int __devinit phantom_probe(struct pci_dev *pdev, > >>+ const struct pci_device_id *pci_id) > >>+{ > >>+ struct phantom_device *pht; > >>+ unsigned int minor; > >>+ int retva

Re: [PATCH 1/1] Input: add sensable phantom driver

2007-03-07 Thread Jiri Slaby
Dmitry Torokhov napsal(a): Hi Jiri, Hi. On 3/7/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: add sensable phantom driver ... General question - can this driver use force-feedback mecahnisms already present in kernel instead of exporting raw datastream to userspace. What are shortcomings of ker

Re: Radeon xpress 200m and radeonfb kinda work

2007-03-07 Thread Chuck Ebbert
Johan Henriksson wrote: > Hi! > > I have gotten the radeon xpress 200m (the version without dedicated vmem) > to work with radeonfb. > The attached patch (against linux-2.6.20.1) works for me. > Since I don't have any docs for the card I am unsure if the patch is > 100% correct. > Can someone else

Re: SATA resume slowness, e1000 MSI warning

2007-03-07 Thread Kok, Auke
Kok, Auke wrote: Eric W. Biederman wrote: "Kok, Auke" <[EMAIL PROTECTED]> writes: Ingo Molnar wrote: * Kok, Auke <[EMAIL PROTECTED]> wrote: BUG: at drivers/pci/msi.c:611 pci_enable_msi() I would poke Eric Biederman(sp?) about this one. Maybe its even solved by the MSI-enable-related patch

Re: ALIGN via ilog2 without gccisms (Re: [PATCH] Fix get_order())

2007-03-07 Thread Linus Torvalds
On Wed, 7 Mar 2007, Oleg Verych wrote: > > Probably it can be used to get rid of gccisms and "type fluff" due to > bitwise arithmetics in ALIGN? Hell no. The typeof is there to make sure we have the right type, and it's simple. The current ALIGN() macro is efficient as hell (generating just a

Re: passing function pointers through platform devices?

2007-03-07 Thread NZG
> Once the generic GPIO framework migrates upstream from -mm Thank you, but I've reorganized my system to pass platform resources to a driver, which then registers simple gpio/pwm/quadencoder type devices as standard classes declared in a subdirectory. Specific methods are then simple exported

Re: tiny tty driver sample

2007-03-07 Thread Jiri Kosina
On Wed, 7 Mar 2007, Jon Ringle wrote: > I'm trying to write a tty driver and I'm using > http://lwn.net/images/pdf/LDD3/ch18.pdf as a guide. The sample tiny tty > driver includes the following code: > for (i = 0; i < data_size; ++i) { > if (tty->flip.count >=

Re: Linux v2.6.21-rc3

2007-03-07 Thread Linus Torvalds
[ Ingo and Thomas added to Cc, because I think this is them.. ] Ingo, I think this came in during commit 95492e4646, "x86: rewrite SMP TSC sync code". (Leaving the original message quoted in full for Ingo and Thomas, sorry for the waste of bandwidth) Linus --- On Wed, 7 Mar

Re: [RFC] div64_64 support

2007-03-07 Thread Chuck Ebbert
Sami Farin wrote: > On Tue, Mar 06, 2007 at 23:53:49 +0200, Sami Farin wrote: > ... >> And I found bug in gcc-4.1.2, it gave 0 for ncubic results >> when doing 1000 loops test... gcc-4.0.3 works. > > Found it. > > --- cbrt-test.c~ 2007-03-07 00:20:54.735248105 +0200 > +++ cbrt-test.c 2

Re: [linux-usb-devel] khubd and ent:sda1 sucking CPU with reiser4 + USB HD

2007-03-07 Thread Eric Buddington,,,
On Wed, Mar 07, 2007 at 11:03:21AM -0500, Alan Stern wrote: > On Tue, 6 Mar 2007, Eric Buddington wrote: > > > On Tue, Mar 06, 2007 at 01:34:41PM -0500, Alan Stern wrote: > > > The stack trace didn't include the khubd process at all. Probably that > > > means it had already died. > > > > No, it

Re: pxa.c cat problem

2007-03-07 Thread Lee Revell
On 3/7/07, Mockern <[EMAIL PROTECTED]> wrote: Hi, I have two PXA Linux boards, I connected them and tried cat myfile > /dev/ttyS0 on one board and cat < /dev/ttyS0 on another. But I can't see nothing. What is wrong with my pxa.c driver? Impossible to tell without seeing the driver source wh

Re: return negative number for unsigned long function in kernel

2007-03-07 Thread H. Peter Anvin
Chen, Dongliang wrote: Peter & Andreas, Thank you very much for your help. I understood that the kernel error numbers are limited. The largest error number for i386 (kernel 2.6) is 131 so far. Assume that the virtual address returned from do_mmap_pgoff will never exceed (unsigned long)(-1000

Re: SATA resume slowness, e1000 MSI warning

2007-03-07 Thread Kok, Auke
Eric W. Biederman wrote: "Kok, Auke" <[EMAIL PROTECTED]> writes: Ingo Molnar wrote: * Kok, Auke <[EMAIL PROTECTED]> wrote: BUG: at drivers/pci/msi.c:611 pci_enable_msi() I would poke Eric Biederman(sp?) about this one. Maybe its even solved by the MSI-enable-related patch he posted in the

Re: [ckrm-tech] [PATCH 2/7] containers (V7): Cpusets hooked into containers

2007-03-07 Thread Paul Menage
On 3/7/07, Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: It makes sense in the first cpuset patch (cpusets_using_containers.patch), but should be removed in the second cpuset patch (multiuser_container.patch). In the 2nd patch, we use this comparison: if (task_cs(p) != cs)

tiny tty driver sample

2007-03-07 Thread Jon Ringle
Hello, I'm trying to write a tty driver and I'm using http://lwn.net/images/pdf/LDD3/ch18.pdf as a guide. The sample tiny tty driver includes the following code: for (i = 0; i < data_size; ++i) { if (tty->flip.count >= TTY_FLIPBUF_SIZE)

Re: Linux v2.6.21-rc3

2007-03-07 Thread Linus Torvalds
On Wed, 7 Mar 2007, Michal Piotrowski wrote: > > BTW. Does anyone care about parport console? I do think we care, but I don't think anybody in particular feels singled out as a maintainer... > console=lp0 hangs since at least 2.6.18 Ok, that's not exactly new then, which implies that not a *

[GIT PULL] sh updates

2007-03-07 Thread Paul Mundt
Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6.git Which contains: Hideo Saito (1): sh: Fix kernel thread stack corruption with preempt. Paul Mundt (6): doc: Add SH to vdso and earlyprintk in kernel-parameters.txt sysctl: Support vdso_enabl

Re: [ckrm-tech] [PATCH 2/7] containers (V7): Cpusets hooked into containers

2007-03-07 Thread Srivatsa Vaddagiri
On Wed, Mar 07, 2007 at 08:01:32AM -0800, Paul Menage wrote: > > > @@ -913,12 +537,14 @@ static int update_nodemask(struct cpuset > > > int migrate; > > > int fudge; > > > int retval; > > > + struct container *cont; > > > > This seems to be redundant? > > It gets used in the

Re: [uml-devel] [PATCH 4/5] UML - driver formatting fixes

2007-03-07 Thread Jeff Dike
On Tue, Mar 06, 2007 at 08:07:16PM +0100, Blaisorblade wrote: > The second line should better say -err instead of err. Right, patch below. Jeff -- Work email - jdike at linux dot intel dot com My last formatting patch got the sign of an error wrong in a printk.

Re: [2/6] 2.6.21-rc2: known regressions

2007-03-07 Thread Linus Torvalds
On Wed, 7 Mar 2007, Jeff Garzik wrote: > > Adrian Bunk wrote: > > Subject: AT keyboard only works with pci=noacpi > > References : http://lkml.org/lkml/2007/3/3/68 > > Submitter : Ash Milsted <[EMAIL PROTECTED]> > > Status : unknown > > sounds like a BIOS bug, even though it appears to

Re: [PATCH 2/7] containers (V7): Cpusets hooked into containers

2007-03-07 Thread Paul Menage
On 3/7/07, Srivatsa Vaddagiri <[EMAIL PROTECTED]> wrote: On Mon, Feb 12, 2007 at 12:15:23AM -0800, [EMAIL PROTECTED] wrote: > - mutex_lock(&callback_mutex); > - list_add(&cs->sibling, &cs->parent->children); > + cont->cpuset = cs; > + cs->container = cont; > number_of_cpuset

[PATCH] pata_hpt366: Cable detect methods

2007-03-07 Thread Alan Cox
Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.21-rc2-mm2/drivers/ata/pata_hpt366.c linux-2.6.21-rc2-mm2/drivers/ata/pata_hpt366.c --- linux.vanilla-2.6.21-rc2-mm2/drivers/ata/pata_hpt366.c 2007-03-06 23:09:46.00

<    1   2   3   4   5   6   7   8   >