Re: [PATCH 28/30] r/o bind mounts: track numbers of writers to mounts

2008-02-20 Thread Dave Hansen
On Mon, 2008-02-18 at 17:10 +0100, Miklos Szeredi wrote: > > > + /* > > + * We don't have to hold all of the locks at the > > + * same time here because we know that we're the > > + * last reference to mnt and that no new writers > > + * can come in. > > + */ > > +

Re: [PATCH] x86: add the debugfs interface for the sysprof tool

2008-02-20 Thread Arjan van de Ven
On Wed, 20 Feb 2008 21:58:42 +0100 Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-02-20 at 11:26 -0800, Arjan van de Ven wrote: > > > feel free to reinvent a whole GUI just to avoid a 200 line kernel > > module. sysprof is here. it works. > > > the gui is REALLY nice. > > I guess

Re: [Bug 10030] Suspend doesn't work when SD card is inserted

2008-02-20 Thread Alan Stern
On Wed, 20 Feb 2008, Pierre Ossman wrote: > > And why not simply fail the suspend if the resume routine doesn't exist > > and the suspend routine does? Maybe with an error message in the > > system log. > > For the asymmetric case, I guess that would do. But I still want to remove > devices

[PATCH] redo locking of tty->pgrp

2008-02-20 Thread Alan Cox
Historically tty->pgrp and friends were pid_t and the code "knew" they were safe. The change to pid structs opened up a few races and the removal of the BKL in places made them quite hittable. We put tty->pgrp under the ctrl_lock for the tty. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u

Re: [PATCH] mmu notifiers #v6

2008-02-20 Thread Jack Steiner
On Wed, Feb 20, 2008 at 11:39:42AM +0100, Andrea Arcangeli wrote: > Given Nick's comments I ported my version of the mmu notifiers to > latest mainline. There are no known bugs AFIK and it's obviously safe > (nothing is allowed to schedule inside rcu_read_lock taken by > mmu_notifier() with my

[PATCH] nfs: fix sparse warnings

2008-02-20 Thread Harvey Harrison
fs/nfs/nfs4state.c:788:34: warning: Using plain integer as NULL pointer fs/nfs/delegation.c:52:34: warning: Using plain integer as NULL pointer fs/nfs/idmap.c:312:12: warning: Using plain integer as NULL pointer fs/nfs/callback_xdr.c:257:6: warning: Using plain integer as NULL pointer

Re: [Bug 10030] Suspend doesn't work when SD card is inserted

2008-02-20 Thread Rafael J. Wysocki
On Wednesday, 20 of February 2008, Pierre Ossman wrote: > On Wed, 20 Feb 2008 14:26:16 -0500 (EST) > Alan Stern <[EMAIL PROTECTED]> wrote: > > > > > Do I understand this correctly? You've got special handling for the > > case where a bus handler doesn't have a resume routine, but no special >

Re: [PATCH] x86: add the debugfs interface for the sysprof tool

2008-02-20 Thread Peter Zijlstra
On Wed, 2008-02-20 at 11:26 -0800, Arjan van de Ven wrote: > feel free to reinvent a whole GUI just to avoid a 200 line kernel module. > sysprof is here. it works. > the gui is REALLY nice. I guess we have to agree to disagree here. Its plain useless from my POV. > I think it's the wrong

[PATCH] fs: removing unused fops from struct char_device_struct

2008-02-20 Thread Jiri Olsa
Hi, seems struct char_device_struct::fops is no longer used, removing it. I checked with "make allyesconfig" and got proper compile. Signed-off-by: Jiri Olsa <[EMAIL PROTECTED]> --- fs/char_dev.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/fs/char_dev.c

Re: [rtc-linux] state of GEN_RTC vs rtc subsystem

2008-02-20 Thread woodys
Alessandro Zummo wrote: On Wed, 20 Feb 2008 10:11:23 -0600 Kumar Gala <[EMAIL PROTECTED]> wrote: Is the functionality provided by drivers/char/gen_rtc.c completely handled by the rtc subsystem in drivers/rtc? I ask for two reasons: 1. should we make it mutually exclusive in Kconfig 2.

Re: [Suspend-devel] 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.

2008-02-20 Thread Pablo Sanchez
On Wednesday 20 February 2008 at 3:29 pm, Linus Torvalds penned about "Re: [Suspend-devel] 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green." > Can we please get this fixed some day? I can't say I even come close to understand what's going on but getting s2ram

[PATCH] usb-serial: Prepare for BKL push down

2008-02-20 Thread Alan Cox
Take the lock in usb-serial instead. As it relies on the BKL internally we can't push it any deeper yet. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.25-rc2-mm1/drivers/usb/serial/usb-serial.c

[PATCH] serial_core: Prepare for BKL push down

2008-02-20 Thread Alan Cox
Instead of checking for the BKL in these methods, take it ourselves. That avoids propogating it into the serial drivers and we can then fix them later on. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude

[PATCH] uart_get_baud_rate: stop mangling termios

2008-02-20 Thread Alan Cox
Russell King noticed this one: We have to avoid replacing B0 when we pick a baud rate for a "hung up" port. Ugly but the proper fix is in the tty layer and means changing the tty<->serial interfaces so we will defer that for now. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file

Re: [Bug 10030] Suspend doesn't work when SD card is inserted

2008-02-20 Thread Pierre Ossman
On Wed, 20 Feb 2008 14:26:16 -0500 (EST) Alan Stern <[EMAIL PROTECTED]> wrote: > > Do I understand this correctly? You've got special handling for the > case where a bus handler doesn't have a resume routine, but no special > handling for the case where it doesn't have a suspend routine?

[PATCH] crisv10: prepare for BKL push down

2008-02-20 Thread Alan Cox
Just the modem bits this time Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.25-rc2-mm1/drivers/serial/crisv10.c linux-2.6.25-rc2-mm1/drivers/serial/crisv10.c --- linux.vanilla-2.6.25-rc2-mm1/drivers/serial/crisv10.c

[PATCH] Fix tty speed handling on 8250

2008-02-20 Thread Alan Cox
We try and write the correct speed back but the serial midlayer already mangles the speed on us and that means if we request B0 we report back B9600 when we should not. For now we'll hack around this in the drivers and serial code, pending a better long term solution. Signed-off-by: Alan Cox

Re: [Rt2400-devel] 2.6.25-rc2 regression in rt61pci wireless driver

2008-02-20 Thread Ivo van Doorn
On Wednesday 20 February 2008, Chris Vine wrote: > > On Wed, 2008-02-20 at 11:05 -0500, Dan Williams wrote: > > On Tue, 2008-02-19 at 23:04 +, Chris Vine wrote: > > > On Tue, 2008-02-19 at 20:46 +0100, Ivo van Doorn wrote: > > > > Hi, > > > > > > > > [added rt2400-devel (rt2x00 development

[PATCH 1/2] nfsd: fix sparse warnings

2008-02-20 Thread Harvey Harrison
Add extern to nfsd/nfsd.h fs/nfsd/nfssvc.c:146:5: warning: symbol 'nfsd_nrthreads' was not declared. Should it be static? fs/nfsd/nfssvc.c:261:5: warning: symbol 'nfsd_nrpools' was not declared. Should it be static? fs/nfsd/nfssvc.c:269:5: warning: symbol 'nfsd_get_nrthreads' was not declared.

[PATCH 2/2] nfsd: fix sparse warning in vfs.c

2008-02-20 Thread Harvey Harrison
fs/nfsd/vfs.c:991:27: warning: Using plain integer as NULL pointer Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> --- fs/nfsd/vfs.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/nfsd/vfs.c b/fs/nfsd/vfs.c index 0265310..17ac51b 100644 --- a/fs/nfsd/vfs.c +++

Re: [Suspend-devel] 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.

2008-02-20 Thread Rafael J. Wysocki
On Wednesday, 20 of February 2008, Linus Torvalds wrote: > > On Wed, 20 Feb 2008, Rafael J. Wysocki wrote: > > > > I think we should export the target sleep state somehow. > > Yeah. By *not* using "->suspend()" for freezing or hibernate. > > Please, Rafael - just make the f*cking

[PATCH] 68360serial: Note that there isn't any info->mcr locking

2008-02-20 Thread Alan Cox
Noticed while auditing the code for the BKL elimination project Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.25-rc2-mm1/drivers/serial/68360serial.c linux-2.6.25-rc2-mm1/drivers/serial/68360serial.c ---

[PATCH] isdn_tty: Prepare for BKL push down

2008-02-20 Thread Alan Cox
Three things here - Remove softcar handler - Correct termios change detection logic - Wrap break/ioctl in lock_kernel ready to drop it in the caller Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude

[PATCH] vt_ioctl: Prepare for BKL push down

2008-02-20 Thread Alan Cox
This one could do with some eyeballs on it. In theory it simply wraps the ioctl handler in lock/unlock_kernel ready for the lock/unlocks to be pushed into specific switch values. To do that means changing the code to return via a common exit path not all over the place as it does now, hence the

Re: [patch 1/3] x86_64: CPA, fix cache attribute inconsistency bug, v2.6.22 backport

2008-02-20 Thread Vivek Goyal
On Wed, Feb 20, 2008 at 03:30:18PM -0500, Vivek Goyal wrote: > On Fri, Feb 15, 2008 at 08:58:22PM +0100, Ingo Molnar wrote: > > > > fix CPA cache attribute bug in v2.6.23. When phys_base is nonzero > > (when CONFIG_RELOCATABLE=y) then change_page_attr_addr() miscalculates > > the secondary alias

Re: [PATCH 1/4] nfs: fix sparse warning in nfs4state.c

2008-02-20 Thread Trond Myklebust
On Wed, 2008-02-20 at 12:10 -0800, Harvey Harrison wrote: > fs/nfs/nfs4state.c:788:34: warning: Using plain integer as NULL pointer > > Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> > --- > fs/nfs/nfs4state.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git

Re: [PATCH] documentation: fix firmware_sample_firmware_class to build

2008-02-20 Thread Greg KH
On Wed, Feb 20, 2008 at 12:10:36PM -0800, Randy Dunlap wrote: > Greg KH wrote: >> On Mon, Feb 18, 2008 at 04:22:16PM -0800, Randy Dunlap wrote: >>> From: Randy Dunlap <[EMAIL PROTECTED]> >>> >>> Fix firmware_sample_firmware_class module to build without error. >>> sysfs.h already has the function

Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.

2008-02-20 Thread Jesse Barnes
On Wednesday, February 20, 2008 12:29 pm Linus Torvalds wrote: > On Wed, 20 Feb 2008, Rafael J. Wysocki wrote: > > I think we should export the target sleep state somehow. > > Yeah. By *not* using "->suspend()" for freezing or hibernate. > > Please, Rafael - just make the f*cking suspend-to-disk

[PATCH] synclink series: Prepare for BKL pushdown

2008-02-20 Thread Alan Cox
As these are quite complex I've simply pushed the BKL down into the ioctl handler not tried to do anything neater. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.25-rc2-mm1/drivers/char/synclink.c

[PATCH] viocons: BKL locking

2008-02-20 Thread Alan Cox
For some weird reason I can't ascertain (translation "I think its broken") the viocons driver calls directly into the n_tty ldisc code even if another ldisc is in use. It'll probably break if you do that but I'm just fixing the locking and adding a comment that its horked. Signed-off-by: Alan Cox

Re: [Linux-fbdev-devel] [PATCH 1/2] fb: add support for foreign endianness

2008-02-20 Thread Benjamin Herrenschmidt
On Wed, 2008-02-20 at 15:18 +0300, Anton Vorontsov wrote: > On Wed, Feb 20, 2008 at 11:56:35AM +1100, Paul Mackerras wrote: > > Andrew Morton writes: > > > > > Bizarrely, the original author of the patch (Anton) has fallen off the > > > cc. > > > Could whoever did that please thwap himself? >

[PATCH] sx: prepare for BKL pushdown

2008-02-20 Thread Alan Cox
Wrap the ioctl handler, and in this case the break handler also in the BKL. Remove bogus softcar handlers. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.25-rc2-mm1/drivers/char/sx.c

Re: [git patches] net driver updates

2008-02-20 Thread Jeff Garzik
Divy Le Ray wrote: Jeff Garzik wrote: Mostly fixes, a few cleanups (generally assisting fixes), and an exception for PS3 wireless because it had been posted, reviewed and acked for a while, just not committed. Please pull from 'upstream-davem' branch of

Re: [bug] Re: [PATCH 4/12] riscom8: fix SMP brokenness

2008-02-20 Thread Jeff Garzik
Ingo Molnar wrote: * Jeff Garzik <[EMAIL PROTECTED]> wrote: After analyzing the elements that save_flags/cli/sti/restore_flags were protecting, convert their usages to a global spinlock (the easiest and most obvious next-step). There were some usages of flags being intentionally cached,

[PATCH] stallion: Prepare for BKL push down

2008-02-20 Thread Alan Cox
Remove broken softcar functions, wrap ioctl handler in BKL Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.25-rc2-mm1/drivers/char/stallion.c linux-2.6.25-rc2-mm1/drivers/char/stallion.c ---

[PATCH] specialix: Prepare for BKL pushdown

2008-02-20 Thread Alan Cox
Lock the ioctl handlers and remove bogus softcar handling. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.25-rc2-mm1/drivers/char/specialix.c linux-2.6.25-rc2-mm1/drivers/char/specialix.c ---

[PATCH] serial167: prepare to push BKL down into drivers

2008-02-20 Thread Alan Cox
Kill the softcar handlers again, wrap the ioctl handler in the BKL Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.25-rc2-mm1/drivers/char/serial167.c linux-2.6.25-rc2-mm1/drivers/char/serial167.c ---

[PATCH] rocket: Prepare for BKL pushdown

2008-02-20 Thread Alan Cox
Wrap the ioctl code in lock_kernel calls Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.25-rc2-mm1/drivers/char/rocket.c linux-2.6.25-rc2-mm1/drivers/char/rocket.c ---

Re: USB OOPS 2.6.25-rc2-git1

2008-02-20 Thread Andre Tomt
David Brownell wrote: On Tuesday 19 February 2008, Andre Tomt wrote: Can you try this diagnostic patch, to see if it reports any messages about IAA and/or IAAD oddities? There's surely a quick workaround for this, but I'd rather understand the root cause before patching. Doesn't seem to have

Re: [PATCH 1/4] make dev_to_node return online node

2008-02-20 Thread Yinghai Lu
please use this one instead. this one is less intrusive, and pcibus_to_node will work too and don't need other changes. YH --- [PATCH] make dev_to_node return online node v2 some numa system ( with multi HT chains) may return node without ram. aka it is not online. try to get one online node,

Re: [Rt2400-devel] 2.6.25-rc2 regression in rt61pci wireless driver

2008-02-20 Thread Chris Vine
On Wed, 2008-02-20 at 11:05 -0500, Dan Williams wrote: > On Tue, 2008-02-19 at 23:04 +, Chris Vine wrote: > > On Tue, 2008-02-19 at 20:46 +0100, Ivo van Doorn wrote: > > > Hi, > > > > > > [added rt2400-devel (rt2x00 development mailinglist) to the CC list.] > > > > > > > > > > I have a

[PATCH] riscom8: Prepare for BKL pushdown

2008-02-20 Thread Alan Cox
Push the locking down into a couple of functions that need it and remove bogus TIOCG/SSOFTCAR handling Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.25-rc2-mm1/drivers/char/riscom8.c

Re: [patch 1/3] x86_64: CPA, fix cache attribute inconsistency bug, v2.6.22 backport

2008-02-20 Thread Vivek Goyal
On Fri, Feb 15, 2008 at 08:58:22PM +0100, Ingo Molnar wrote: > > fix CPA cache attribute bug in v2.6.23. When phys_base is nonzero > (when CONFIG_RELOCATABLE=y) then change_page_attr_addr() miscalculates > the secondary alias address by -14 MB (depending on the configured > offset). > > The

[PATCH] nozomi: Prepare for BKL pushdown

2008-02-20 Thread Alan Cox
We leave the BKL around the rts/dtr handler because there is *no* locking of any kind on this in the driver. It's not "right" with this change but it's the same wrong as before.. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude

Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.

2008-02-20 Thread Linus Torvalds
On Wed, 20 Feb 2008, Rafael J. Wysocki wrote: > > I think we should export the target sleep state somehow. Yeah. By *not* using "->suspend()" for freezing or hibernate. Please, Rafael - just make the f*cking suspend-to-disk use other routines already. 99% of all hardware needs to do exactly

[PATCH] mxser: prepare for BKL pushdown

2008-02-20 Thread Alan Cox
Push the BKL down into various internal routines in the driver ready to remove it from the break, ioctl and other call points. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.25-rc2-mm1/drivers/char/mxser.c

Re: 2.6.25-rc[1,2]: failed to setup dm-crypt key mapping

2008-02-20 Thread Michael S. Tsirkin
On Feb 20, 2008 7:58 PM, Herbert Xu <[EMAIL PROTECTED]> wrote: > On Wed, Feb 20, 2008 at 06:47:58PM +0100, Milan Broz wrote: > > > > I just tested one affected configuration and problem was in missing > > "chainiv.ko" module on ramdisk. > > Ah OK. We probably should merge chainiv into the

[PATCH] moxa: prepare for BKL pushdown

2008-02-20 Thread Alan Cox
Moxa needs a few routines wrapping with the BKL for now. It also snoops the TIOCG/SSOFTCAR function so needs its own implementation for now. That wants fixing by turning it into a termios set downcall into the drivers later. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file

[PATCH] isicom: istallion prepare for lock_kernel pushdown

2008-02-20 Thread Alan Cox
This is an ancient driver so just wrap it in lock_kernel internally and be done. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.25-rc2-mm1/drivers/char/istallion.c linux-2.6.25-rc2-mm1/drivers/char/istallion.c ---

Re: [BUG] 2.6.25-rc2-mm1 - Kernel panic while bootup caused by signal_group_exit()

2008-02-20 Thread Alan Cox
On Wed, 20 Feb 2008 14:34:17 -0500 Rik van Riel <[EMAIL PROTECTED]> wrote: > On Sun, 17 Feb 2008 09:40:33 +0530 > Kamalesh Babulal <[EMAIL PROTECTED]> wrote: > > > [ 25.512919] BUG: unable to handle kernel paging request at 9d74e37b > > [ 25.514926] IP: [] proc_flush_task+0x5b/0x223 > > I

[PATCH] isicom: prepare for lock_kernel push down

2008-02-20 Thread Alan Cox
Again lock the bits we can't trivially prove are safe without the BKL and remove the broken TIOCS/GSOFTCAR handler. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.25-rc2-mm1/drivers/char/isicom.c

[PATCH] epca: lock_kernel push down

2008-02-20 Thread Alan Cox
Prepare epca for removing the lock from above. Most of epca is internally locked so we can trivially push it down to a few bits of code. Drop the TIOCG/SSOFTCAR handling as that is done *properly* with locks by the mid layer. diff -u --new-file --recursive --exclude-from /usr/src/exclude

[PATCH] esp: lock_kernel push down

2008-02-20 Thread Alan Cox
Push the BKL down into a few internal bits of code in this driver. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.25-rc2-mm1/drivers/char/esp.c linux-2.6.25-rc2-mm1/drivers/char/esp.c ---

Re: [PATCH 00/37] Permit filesystem local caching

2008-02-20 Thread David Howells
Serge E. Hallyn <[EMAIL PROTECTED]> wrote: > Seems *really* weird that every time you send this, patch 6 doesn't seem > to reach me in any of my mailboxes... (did get it from the url > you listed) It's the largest of the patches, so that's not entirely surprising. Hence why I included the URL

[PATCH] lguest: fix undefined asm-offsets symbols

2008-02-20 Thread Kyle McMartin
lguest uses asm-offsets to generate ... offsets, obviously, for use in the lguest switcher code. When the hypervisor code is built as a module though, the asm offsets it needs won't be generated since CONFIG_LGUEST will be undefined. Signed-off-by: Kyle McMartin <[EMAIL PROTECTED]> --- diff

[PATCH] cyclades: Prepare for relaxed locking in callers

2008-02-20 Thread Alan Cox
Basically wrap it in lock_kernel where it is hard to prove the locking is ok. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.25-rc2-mm1/drivers/char/cyclades.c linux-2.6.25-rc2-mm1/drivers/char/cyclades.c ---

[PATCH 2/2] ide: remove IDE_HFLAG_CY82C693 host flag

2008-02-20 Thread Bartlomiej Zolnierkiewicz
Sergei suggested that it shouldn't be necessary + it had no effect anyway since ide_id_dma_bug() is called earlier in ide_tune_dma(). Cc: Sergei Shtylyov <[EMAIL PROTECTED]> Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> --- I went ahead since I urgently needed to re-cycle one host

[PATCH] amiserial: Prepare for locking relaxation in caller.

2008-02-20 Thread Alan Cox
Just wrap this one in a lock_kernel. As I understand it there is no M68K SMP anyway. Signed-off-by: Alan Cox <[EMAIL PROTECTED]> diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.25-rc2-mm1/drivers/char/amiserial.c linux-2.6.25-rc2-mm1/drivers/char/amiserial.c

[PATCH 1/2] ide: fix enabling DMA on it821x in "smart" mode

2008-02-20 Thread Bartlomiej Zolnierkiewicz
ide_tune_dma() should return '1' if IDE_HFLAG_NO_SET_MODE host flag is set. Cc: Sergei Shtylyov <[EMAIL PROTECTED]> Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]> --- I wonder how this could have slipped in :( Sergei, please double-check this patch. Thanks! drivers/ide/ide-dma.c

Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.

2008-02-20 Thread Rafael J. Wysocki
On Wednesday, 20 of February 2008, Jesse Barnes wrote: > On Wednesday, February 20, 2008 11:18 am Jesse Barnes wrote: > > On Wednesday, February 20, 2008 11:10 am Jeff Chua wrote: > > > On Feb 21, 2008 2:53 AM, Jesse Barnes <[EMAIL PROTECTED]> wrote: > > > > > So, next I'll try "shutdown" to see

[PATCH 4/4] nfs: fix sparse warnings in callback_xdr.c

2008-02-20 Thread Harvey Harrison
fs/nfs/callback_xdr.c:257:6: warning: Using plain integer as NULL pointer fs/nfs/callback_xdr.c:270:6: warning: Using plain integer as NULL pointer fs/nfs/callback_xdr.c:281:6: warning: Using plain integer as NULL pointer Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> ---

Re: [PATCH] documentation: fix firmware_sample_firmware_class to build

2008-02-20 Thread Randy Dunlap
Greg KH wrote: On Mon, Feb 18, 2008 at 04:22:16PM -0800, Randy Dunlap wrote: From: Randy Dunlap <[EMAIL PROTECTED]> Fix firmware_sample_firmware_class module to build without error. sysfs.h already has the function prototypes and has them correctly.

Re: [linux-kernel] Re: [PATCH] x86: use explicit timing delay for pit accesses in kernel and pcspkr driver

2008-02-20 Thread David P. Reed
Actually, disparaging things as "one idiotic system" doesn't seem like a long-term thoughtful process - it's not even accurate. There are more such systems that are running code today than the total number of 486 systems ever manufactured. The production rate is $1M/month. a) ENE chips are

[PATCH 3/4] nfs: fix sparse warning in idmap.c

2008-02-20 Thread Harvey Harrison
fs/nfs/idmap.c:312:12: warning: Using plain integer as NULL pointer Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> --- fs/nfs/idmap.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/nfs/idmap.c b/fs/nfs/idmap.c index 8ae5dba..86147b0 100644 --- a/fs/nfs/idmap.c

[PATCH] firewire: fix NULL pointer deref. and resource leak

2008-02-20 Thread Stefan Richter
By supplying ioctl()s in the wrong order, a userspace client was able to trigger NULL pointer dereferences. Furthermore, by calling ioctl_create_iso_context more than once, new contexts could be created without ever freeing the previously created contexts. Thanks to Anders Blomdell for the

[PATCH 2/4] nfs: fix sparse warning in delegation.c

2008-02-20 Thread Harvey Harrison
fs/nfs/delegation.c:52:34: warning: Using plain integer as NULL pointer Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> --- fs/nfs/delegation.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/nfs/delegation.c b/fs/nfs/delegation.c index b9eadd1..00a5e44 100644 ---

Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.

2008-02-20 Thread Jesse Barnes
On Wednesday, February 20, 2008 11:18 am Jesse Barnes wrote: > On Wednesday, February 20, 2008 11:10 am Jeff Chua wrote: > > On Feb 21, 2008 2:53 AM, Jesse Barnes <[EMAIL PROTECTED]> wrote: > > > > So, next I'll try "shutdown" to see if it work. I was using > > > > "platform". > > > > > > Ok, that

[PATCH 1/4] nfs: fix sparse warning in nfs4state.c

2008-02-20 Thread Harvey Harrison
fs/nfs/nfs4state.c:788:34: warning: Using plain integer as NULL pointer Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> --- fs/nfs/nfs4state.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c index 6233eb5..b962397 100644 ---

Re: [BUG] 2.6.25-rc2-mm1 - Kernel panic while bootup caused by signal_group_exit()

2008-02-20 Thread Oleg Nesterov
On 02/20, Rik van Riel wrote: > > On Sun, 17 Feb 2008 09:40:33 +0530 > Kamalesh Babulal <[EMAIL PROTECTED]> wrote: > > > [ 25.512919] BUG: unable to handle kernel paging request at 9d74e37b > > [ 25.514926] IP: [] proc_flush_task+0x5b/0x223 > > I wonder if this one is related. Also with

Re: [PATCH] (linus git 02/19/08) Smack update for file capabilities

2008-02-20 Thread Casey Schaufler
--- "Serge E. Hallyn" <[EMAIL PROTECTED]> wrote: > Quoting Casey Schaufler ([EMAIL PROTECTED]): > > From: Casey Schaufler <[EMAIL PROTECTED]> > > > > Update the Smack LSM to allow the registration of the capability > > "module" as a secondary LSM. Integrate the new hooks required for > > file

Re: [PATCH 00/37] Permit filesystem local caching

2008-02-20 Thread Serge E. Hallyn
Quoting David Howells ([EMAIL PROTECTED]): > > > These patches add local caching for network filesystems such as NFS. > > The patches can roughly be broken down into a number of sets: > > (*) 01-keys-inc-payload.diff > (*) 02-keys-search-keyring.diff > (*) 03-keys-callout-blob.diff > >

Re: [PATCH] falconide: fix resources reservation

2008-02-20 Thread Bartlomiej Zolnierkiewicz
On Wednesday 20 February 2008, Geert Uytterhoeven wrote: > On Wed, 20 Feb 2008, Bartlomiej Zolnierkiewicz wrote: > > * Tell IDE layer to not manage resources by setting > > hwif->mmio flag and request resources in falconide_init(). > > > > * Use request_mem_region() for resources reservation. >

[patch 2/3] mn10300: cleanup - drop .data.idt section in vmlinux.lds script

2008-02-20 Thread gorcunov
The section .data.idt is not used at all - so drop it. Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]> --- vmlinux.lds.S |3 --- 1 file changed, 3 deletions(-) Index: linux-2.6.git/arch/mn10300/kernel/vmlinux.lds.S === ---

[patch 3/3] s390: cleanup - drop .data.idt section in vmlinux.lds script

2008-02-20 Thread gorcunov
The section .data.idt is not used at all - so drop it. Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]> --- vmlinux.lds.S |5 - 1 file changed, 5 deletions(-) Index: linux-2.6.git/arch/s390/kernel/vmlinux.lds.S === ---

[patch 0/3] eliminate .data.idt section for the archs which do not use it

2008-02-20 Thread gorcunov
This patch series do a small clean up over vmlinux.lds script for several architectures where the section .data.idt is not used. Please review. Thanks. - Cyrill - -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

[patch 1/3] m32r: cleanup - drop .data.idt section in vmlinux.lds script

2008-02-20 Thread gorcunov
The section .data.idt is not used at all - so drop it. Signed-off-by: Cyrill Gorcunov <[EMAIL PROTECTED]> --- vmlinux.lds.S |3 --- 1 file changed, 3 deletions(-) Index: linux-2.6.git/arch/m32r/kernel/vmlinux.lds.S === ---

Re: [PATCH] Tasklets: Avoid duplicating __tasklet_{,hi_}schedule() code

2008-02-20 Thread Ahmed S. Darwish
On Wed, Feb 20, 2008 at 03:20:52PM +0100, Dmitry Adamushko wrote: > On 20/02/2008, Ahmed S. Darwish <[EMAIL PROTECTED]> wrote: > > On Wed, Feb 20, 2008 at 11:41:13AM +0100, Ingo Molnar wrote: > > > > > > * Ahmed S. Darwish <[EMAIL PROTECTED]> wrote: > > > > > > > > > -

Re: [RFC] [PATCH] Fix b43 driver build for arm

2008-02-20 Thread Sam Ravnborg
On Wed, Feb 20, 2008 at 03:44:04PM +0100, Michael Buesch wrote: > On Wednesday 20 February 2008 01:44:38 Gordon Farquharson wrote: > > Hi Michael > > > > On Feb 19, 2008 3:41 AM, Michael Buesch <[EMAIL PROTECTED]> wrote: > > > > > > [2] > > > >

[PATCH 3/3] kgdb: support for ARCH=arm

2008-02-20 Thread Jason Wessel
This patch adds the ARCH=arm specific a kgdb backend, originally written by Deepak Saxena <[EMAIL PROTECTED]> and George Davis <[EMAIL PROTECTED]>. Geoff Levand <[EMAIL PROTECTED]>, Nicolas Pitre, and Manish Lachwani have contributed various fixups here as well. The changes to setup the traps

Re: [BUG] 2.6.25-rc2-mm1 - Kernel panic while bootup caused by signal_group_exit()

2008-02-20 Thread Rik van Riel
On Sun, 17 Feb 2008 09:40:33 +0530 Kamalesh Babulal <[EMAIL PROTECTED]> wrote: > [ 25.512919] BUG: unable to handle kernel paging request at 9d74e37b > [ 25.514926] IP: [] proc_flush_task+0x5b/0x223 I wonder if this one is related. Also with 2.6.25-rc2-mm1 on x86_64: BUG: unable to handle

[PATCH 1/3] kgdb: fix optional arch functions and probe_kernel_*

2008-02-20 Thread Jason Wessel
Fix two regressions dealing with the kgdb core. 1) kgdb_skipexception and kgdb_post_primary_code are optional functions that are only required on archs that need special exception fixups. 2) The kernel address space scope must be set on any probe_kernel_* function or archs such as ARCH=arm will

[PATCH 2/3] kgdb: kgdboc pl011 I/O module

2008-02-20 Thread Jason Wessel
Implement the serial polling hooks for the pl011 uart for use with kgdboc. This patch was specifically tested on the ARM Versatile AB reference platform. Signed-off-by: Jason Wessel <[EMAIL PROTECTED]> Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]> Signed-off-by: Thomas Gleixner <[EMAIL

[PATCH 0/3] kgdb: fixes and ARCH=arm support

2008-02-20 Thread Jason Wessel
Here are 3 more patches against the kgdb-light. Porting kgdb-light to another arch has found 2 regressions, which are fixed in the first patch. The second patch adds hooks for an additional kgdboc uart driver which was required to complete the testing with real hardware. The third patch adds

Re: USB regression (and other failures) in 2.6.2[45]* - mostly resolved

2008-02-20 Thread Alan Stern
On Wed, 20 Feb 2008, Andrew Buehler wrote: > In other words: I don't think that's likely to be practical in the > present instance. If you have reason to believe otherwise (past positive > experience with Novell, for instance), I'd be glad to hear it. Greg KH may be able to help in that respect.

Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.

2008-02-20 Thread Jesse Barnes
On Wednesday, February 20, 2008 11:10 am Jeff Chua wrote: > On Feb 21, 2008 2:53 AM, Jesse Barnes <[EMAIL PROTECTED]> wrote: > > > So, next I'll try "shutdown" to see if it work. I was using "platform". > > > > Ok, that would be good to try. > > "shutdown" does power down properly. But still green

Re: [PATCH] x86: add the debugfs interface for the sysprof tool

2008-02-20 Thread Arjan van de Ven
On Wed, 20 Feb 2008 19:53:42 +0100 Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-02-20 at 10:39 -0800, Arjan van de Ven wrote: > > On Wed, 20 Feb 2008 19:16:15 +0100 > > Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > > > > > > > On Tue, 2008-02-19 at 12:37 -0800, Arjan van de Ven

Re: [Bug 10030] Suspend doesn't work when SD card is inserted

2008-02-20 Thread Alan Stern
On Wed, 20 Feb 2008, Pierre Ossman wrote: > Not really. But you have some things confused. What it checks is if > the mmc bus handler (not a proper driver model, just a way of > separating the MMC, SD and SDIO stuff) has a resume function. And if > it doesn't, it removes the card (since it cannot

Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.

2008-02-20 Thread Matthew Garrett
On Thu, Feb 21, 2008 at 02:49:39AM +0800, Jeff Chua wrote: > Here's an interesting discovery. After I found that "echo reboot > > /sys/power/disk" does reboot, I tried "echo shutdown > > /sys/power/disk", it does shutdown properly. > > With "platform" it refuses to shutdown. Both reboot and

Re: [QUESTION] FRV: linking error?

2008-02-20 Thread Cyrill Gorcunov
[Sam Ravnborg - Wed, Feb 20, 2008 at 08:19:38PM +0100] | On Wed, Feb 20, 2008 at 09:15:00PM +0300, Cyrill Gorcunov wrote: | > [David Howells - Wed, Feb 20, 2008 at 06:13:15PM +] | > | Cyrill Gorcunov <[EMAIL PROTECTED]> wrote: | > | | > | > Sam, maybe we should just eliminate this section at

Re: [QUESTION] FRV: linking error?

2008-02-20 Thread Sam Ravnborg
On Wed, Feb 20, 2008 at 09:15:00PM +0300, Cyrill Gorcunov wrote: > [David Howells - Wed, Feb 20, 2008 at 06:13:15PM +] > | Cyrill Gorcunov <[EMAIL PROTECTED]> wrote: > | > | > Sam, maybe we should just eliminate this section at least for FRV? > | > | You should have a patch in your inbox to

Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.

2008-02-20 Thread Jeff Chua
On Feb 21, 2008 2:53 AM, Jesse Barnes <[EMAIL PROTECTED]> wrote: > > So, next I'll try "shutdown" to see if it work. I was using "platform". > Ok, that would be good to try. "shutdown" does power down properly. But still green on resume. > Looks like the AR registers are hosed, which is what I

Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.

2008-02-20 Thread Jesse Barnes
On Wednesday, February 20, 2008 10:29 am Jeff Chua wrote: > > I know I fixed that problem in at least one configuration... Can you > > try: # echo test > /sys/power/disk > > # echo disk > /sys/power/state > > and see if that also turns your screen green? > > Yes, still green. But I got it to

Re: Plans for mISDN? Was: [PATCH 00/14] [ISDN] ...

2008-02-20 Thread Gregory Nietsky
did someone say interface/API documentation ooops ... seriously this is lacking and im sure as time goes on some volenteer (sucker) will get it up and running.this is not a show stoper but a nice to have.ill perhaps even help out a bit with things, i have some comments on useage and module

Re: tty && pid problems

2008-02-20 Thread Jiri Slaby
On 02/20/2008 05:28 PM, Oleg Nesterov wrote: I think you can revert the tty-bkl-pushdown.patch. Or, as Eric suggested, just revert this @@ -1222,7 +1221,7 @@ static const struct file_operations tty_ .read = tty_read, .write = tty_write,

Re: [PATCH] x86: add the debugfs interface for the sysprof tool

2008-02-20 Thread Peter Zijlstra
On Wed, 2008-02-20 at 19:53 +0100, Peter Zijlstra wrote: > On Wed, 2008-02-20 at 10:39 -0800, Arjan van de Ven wrote: > > On Wed, 20 Feb 2008 19:16:15 +0100 > > Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > > > > > > > On Tue, 2008-02-19 at 12:37 -0800, Arjan van de Ven wrote: > > > > From:

Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green.

2008-02-20 Thread Jesse Barnes
On Wednesday, February 20, 2008 10:37 am Linus Torvalds wrote: > This *sounds* like some part of the suspend-to-disk sequence is doing > something stupid like trying to access the screen after it has been turned > off, which doesn't surprise me at all. My oft-stated opinion has been that >

Re: [PATCH] x86: add the debugfs interface for the sysprof tool

2008-02-20 Thread Peter Zijlstra
On Wed, 2008-02-20 at 10:39 -0800, Arjan van de Ven wrote: > On Wed, 20 Feb 2008 19:16:15 +0100 > Peter Zijlstra <[EMAIL PROTECTED]> wrote: > > > > > On Tue, 2008-02-19 at 12:37 -0800, Arjan van de Ven wrote: > > > From: Soren Sandmann <[EMAIL PROTECTED]> > > > Subject: [PATCH] x86: add the

Re: [PATCH 1/2] x86_64: Fold pda into per cpu area v3

2008-02-20 Thread Mike Travis
Ingo Molnar wrote: > * Mike Travis <[EMAIL PROTECTED]> wrote: > >> * Declare the pda as a per cpu variable. This will move the pda area >> to an address accessible by the x86_64 per cpu macros. >> Subtraction of __per_cpu_start will make the offset based from the >> beginning of

Re: [PATCH] Document huge memory/cache overhead of memory controller in Kconfig

2008-02-20 Thread Pavel Machek
On Wed 2008-02-20 19:28:03, Jan Engelhardt wrote: > > On Feb 20 2008 18:19, Pavel Machek wrote: > >> > >> For ordinary desktop people, memory controller is what developers > >> know as MMU or sometimes even some other mysterious piece of silicon > >> inside the heavy box. > > > >Actually I'd

Re: Disk schedulers

2008-02-20 Thread Lukas Hejtmanek
On Sat, Feb 16, 2008 at 05:20:49PM +, Pavel Machek wrote: > Is cat /dev/zero > file enough to reproduce this? yes. > ext3 filesystem? yes. > Will cat /etc/passwd work while machine is unresponsive? yes. while find does not work: time find / / /etc /etc/manpath.config

<    1   2   3   4   5   6   7   8   9   10   >