2.6.22-rc6 on Dreamcast (SH4)

2007-06-25 Thread Adrian McMenamin
Still getting this: MODPOST vmlinux WARNING: arch/sh/boards/dreamcast/built-in.o(.data+0x0): Section mismatch: reference to .init.text: (between 'mv_dreamcast' and 'systemasic_int') WARNING: drivers/built-in.o(.text+0x168e0): Section mismatch: reference to .init.data: (between 'pvr2fb_check_var'

Re: Patent or not patent a new idea

2007-06-25 Thread alan
On Tue, 26 Jun 2007, Graeme Sheppard wrote: alan wrote: On Tue, 26 Jun 2007, Graeme Sheppard wrote: Dear devs, In a moment of serendipity I thought of a concept which may be advantageous if incorporated into the kernel. I was going to offer it to the OIN but they responded they only

Re: Linux Kernel include files

2007-06-25 Thread Harald Arnesen
[EMAIL PROTECTED] (Joerg Schilling) writes: >> FYI, cdrtools also compile and link fine with Sun's C compiler. > > M, if you call "cdrecord -scanbus", what do you get? I may have misunderstood your make system. I cd-ed into the cdrtools directory, ran ./Gmake.linux clean (I had already

Re: [PATCH] trim memory not covered by WB MTRRs

2007-06-25 Thread Justin Piszcz
On Mon, 25 Jun 2007, Jesse Barnes wrote: On Monday, June 25, 2007 3:01:27 Andrew Morton wrote: On Mon, 25 Jun 2007 14:34:42 -0700 Jesse Barnes <[EMAIL PROTECTED]> wrote: akpm -- this one should replace all the mtrr patches currently in your tree. fear, uncertainty, doubt.

Re: Patent or not patent a new idea

2007-06-25 Thread Graeme Sheppard
alan wrote: On Tue, 26 Jun 2007, Graeme Sheppard wrote: Dear devs, In a moment of serendipity I thought of a concept which may be advantageous if incorporated into the kernel. I was going to offer it to the OIN but they responded they only consider existing patents and I don't have the money

Re: [PATCH] CIFS: make cifsd (more)

2007-06-25 Thread Steve French
Jeff, Not seeing any objections to your revised approach (to not allowing signals for cifsd kernel thread), I just merged something similar to your patch to the cifs-2.6.git tree (also fixed some nearby lines that went past 80 columns). Thanks Signed-off-by: Jeff Layton <[EMAIL PROTECTED]>

Re: [patch, v2.6.22-rc6] sys_time() speedup

2007-06-25 Thread Jesper Juhl
On 26/06/07, Roman Zippel <[EMAIL PROTECTED]> wrote: Hi, On Mon, 25 Jun 2007, Jesper Juhl wrote: > > On Monday 25 June 2007, Ingo Molnar wrote: > > > > > the patch improves the sysbench OLTP macrobenchmark significantly: > > > > Has that any real practical relevance? > > > It seems to me that

[PATCH 2.6.22] cxgb3 - fix register to stop bc/mc traffic

2007-06-25 Thread Divy Le Ray
From: Divy Le Ray <[EMAIL PROTECTED]> Use the right register to stop broadcast/multicast traffic. Signed-off-by: Divy Le Ray <[EMAIL PROTECTED]> --- drivers/net/cxgb3/xgmac.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/net/cxgb3/xgmac.c

Re: [PATCH -mm] PM: Prevent frozen user mode helpers from failing the freezing of tasks (rev. 2)

2007-06-25 Thread Rafael J. Wysocki
On Monday, 25 June 2007 23:55, Pavel Machek wrote: > Hi! > > > [I hope the ACKs still apply.] > > Uhuh, not 100% sure. > > > +static int usermodehelper_disabled; > > + > > > ... > > > case PM_HIBERNATION_PREPARE: > > case PM_SUSPEND_PREPARE: > > usermodehelper_disabled =

Re: [patch, v2.6.22-rc6] sys_time() speedup

2007-06-25 Thread Andrew Morton
On Mon, 25 Jun 2007 23:09:46 +0200 Roman Zippel <[EMAIL PROTECTED]> wrote: > Hi, > > On Monday 25 June 2007, Ingo Molnar wrote: > > > the patch improves the sysbench OLTP macrobenchmark significantly: > > Has that any real practical relevance? Interesting question. The patch adds a new

Re: [PATCH] RFC: have tcp_recvmsg() check kthread_should_stop() and treat it as if it were signalled

2007-06-25 Thread Satyam Sharma
Hi Jeff, [ Trimmed netdev from Cc: list, added Christoph. ] On 6/26/07, Jeff Layton <[EMAIL PROTECTED]> wrote: On Tue, 26 Jun 2007 01:11:20 +0530 "Satyam Sharma" <[EMAIL PROTECTED]> wrote: > [...] > Yes, why not embed a send_sig(SIGKILL) just before the wake_up_process() > in kthread_stop()

Re: [PATCH] trim memory not covered by WB MTRRs

2007-06-25 Thread Jesse Barnes
On Monday, June 25, 2007 3:01:27 Andrew Morton wrote: > On Mon, 25 Jun 2007 14:34:42 -0700 > > Jesse Barnes <[EMAIL PROTECTED]> wrote: > > akpm -- this one should replace all the mtrr patches currently > > in your tree. > > fear, uncertainty, doubt. > > box:/usr/src/25> grep mtrr series >

Re: Patent or not patent a new idea

2007-06-25 Thread alan
On Tue, 26 Jun 2007, Graeme Sheppard wrote: Dear devs, In a moment of serendipity I thought of a concept which may be advantageous if incorporated into the kernel. I was going to offer it to the OIN but they responded they only consider existing patents and I don't have the money to afford

Re: [PATCH] MTRR: Fix race causing set_mtrr to go into infinite loop

2007-06-25 Thread Chuck Ebbert
On 06/25/2007 05:38 PM, Loic Prylli wrote: [cc: Andi] > Processors synchronization in set_mtrr requires the .gate field > to be set after .count field is properly initialized. Without an explicit > barrier, the compiler was reordering those memory stores. That was sometimes > causing a processor

Re: [patch, v2.6.22-rc6] sys_time() speedup

2007-06-25 Thread Eric Dumazet
Ingo Molnar a écrit : Subject: [patch] sys_time() speedup From: Ingo Molnar <[EMAIL PROTECTED]> improve performance of sys_time(). sys_time() returns time in seconds, but it does so by calling do_gettimeofday() and then returning the tv_sec portion of the GTOD time. But the data structure

[RFC PATCH 1/1] VFS: Augment /proc/mount with subroot and shared-subtree

2007-06-25 Thread Ram Pai
Please check if the following modified patch meets the requirements. It augments /proc/mount with additional information to (1) disambiguate bind mounts with subroot information. (2) display shared-subtree information using which one can determine the propagation

Re: [PATCH] trim memory not covered by WB MTRRs

2007-06-25 Thread Andrew Morton
On Mon, 25 Jun 2007 14:34:42 -0700 Jesse Barnes <[EMAIL PROTECTED]> wrote: > akpm -- this one should replace all the mtrr patches currently > in your tree. fear, uncertainty, doubt. box:/usr/src/25> grep mtrr series x86_64-mm-bug-in-i386-mtrr-initialization.patch

Re: [patch, v2.6.22-rc6] sys_time() speedup

2007-06-25 Thread Roman Zippel
Hi, On Mon, 25 Jun 2007, Jesper Juhl wrote: > > On Monday 25 June 2007, Ingo Molnar wrote: > > > > > the patch improves the sysbench OLTP macrobenchmark significantly: > > > > Has that any real practical relevance? > > > It seems to me that Ingo's patch offers slightly improved performance >

Re: [PATCH] atl1: disable 64bit DMA

2007-06-25 Thread Chris Snook
Jay L. T. Cornwall wrote: Chris Snook wrote: What boards have we seen this on? It's quite possible this is: I can reproduce on an Asus P5K with a Core 2 Duo E6600. lspci identifies the controller as: 02:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter

Patent or not patent a new idea

2007-06-25 Thread Graeme Sheppard
Dear devs, In a moment of serendipity I thought of a concept which may be advantageous if incorporated into the kernel. I was going to offer it to the OIN but they responded they only consider existing patents and I don't have the money to afford one. I am seeking advice on how to proceed. It

Re: [PATCH 1/1] fs-sysfs bugfix of sysfs_hash_and_remove dereferencing before checking for NULL

2007-06-25 Thread Greg KH
On Fri, Jun 22, 2007 at 10:13:24AM -0700, Doug Thompson wrote: > From: Douglas Thompson <[EMAIL PROTECTED]> > > In tracking down one of my bugs in using sysfs, I found the kernel doing a > NULL de-reference > in function fs/sysfs/inode.c:sysfs_hash_and_remove(), when I (incorrectly) > passed >

Re: [PATCH 7/7][TAKE5] ext4: support new modes

2007-06-25 Thread Andreas Dilger
On Jun 25, 2007 19:20 +0530, Amit K. Arora wrote: > @@ -2499,7 +2500,8 @@ long ext4_fallocate(struct inode *inode, >* currently supporting (pre)allocate mode for extent-based >* files _only_ >*/ > - if (mode != FA_ALLOCATE || !(EXT4_I(inode)->i_flags &

Re: [PATCH] sysfs_buffer: use mutex

2007-06-25 Thread Greg KH
On Fri, Jun 22, 2007 at 11:14:44AM +0200, Johannes Berg wrote: > I don't see any reason why this is a semaphore, convert. > > Signed-off-by: Johannes Berg <[EMAIL PROTECTED]> There has been a _lot_ of work in this area and this patch doesn't apply at all to my tree. Can you respin it agains the

Re: [PATCH -mm] PM: Prevent frozen user mode helpers from failing the freezing of tasks (rev. 2)

2007-06-25 Thread Pavel Machek
Hi! > [I hope the ACKs still apply.] Uhuh, not 100% sure. > +static int usermodehelper_disabled; > + ... > case PM_HIBERNATION_PREPARE: > case PM_SUSPEND_PREPARE: > usermodehelper_disabled = 1; > - return NOTIFY_OK; > + smp_mb();

[PATCH] MTRR: Fix race causing set_mtrr to go into infinite loop

2007-06-25 Thread Loic Prylli
Processors synchronization in set_mtrr requires the .gate field to be set after .count field is properly initialized. Without an explicit barrier, the compiler was reordering those memory stores. That was sometimes causing a processor (in ipi_handler) to see the .gate change and decrement .count

Re: [PATCH 4/7][TAKE5] support new modes in fallocate

2007-06-25 Thread Andreas Dilger
On Jun 25, 2007 19:15 +0530, Amit K. Arora wrote: > +#define FA_FL_DEALLOC0x01 /* default is allocate */ > +#define FA_FL_KEEP_SIZE 0x02 /* default is extend/shrink size */ > +#define FA_FL_DEL_DATA 0x04 /* default is keep written data on DEALLOC > */ In XFS one of the (many)

Re: Linux Kernel include files

2007-06-25 Thread Joerg Schilling
Harald Arnesen <[EMAIL PROTECTED]> wrote: > Harald Arnesen <[EMAIL PROTECTED]> writes: > > > [EMAIL PROTECTED] (Joerg Schilling) writes: > > > >>> If I actually install smake, as Jörg recommends, the message becomes: > >>> smake: Can't find any source for 'CCOM_suncc'. > >>> smake: Couldn't make

Re: [PATCH] atl1: disable 64bit DMA

2007-06-25 Thread Jay L. T. Cornwall
Chris Snook wrote: > What boards have we seen this on? It's quite possible this is: I can reproduce on an Asus P5K with a Core 2 Duo E6600. lspci identifies the controller as: 02:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0) dmesg notes the

[PATCH] IOATDMA: fix section mismatches

2007-06-25 Thread Randy Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]> Rename struct pci_driver data so that false section mismatch warnings won't be produced. Sam, ISTM that depending on variable names is the weakest & worst part of modpost section checking. Should __init_refok work here? I got build errors when I tried to

Re: [PATCH -mm] PM: Prevent frozen user mode helpers from failing the freezing of tasks (rev. 2)

2007-06-25 Thread Nigel Cunningham
On Tuesday 26 June 2007 07:52:23 Rafael J. Wysocki wrote: > [I hope the ACKs still apply.] Mine does :> Nigel pgp9gRcYEcqWK.pgp Description: PGP signature

Re: Linux Kernel include files

2007-06-25 Thread Harald Arnesen
Harald Arnesen <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] (Joerg Schilling) writes: > >>> If I actually install smake, as J�rg recommends, the message becomes: >>> smake: Can't find any source for 'CCOM_suncc'. >>> smake: Couldn't make 'CCOM_suncc'. >> >> Well, I was in hope that a small

[PATCH 1/2] x86-64: disable the GART in shutdown

2007-06-25 Thread Yinghai Lu
[PATCH 1/2] x86-64: disable the GART in shutdown For K8 system: 4G RAM with memory hole remapping enabled, or more than 4G RAM installed. when using kexec to load second kernel. In the second kernel, when mem is allocated for GART, it will do the memset for clear, it will cause restart, because

[PATCH 2/2] x86_84: move iommu declaration from proto to iommu.h

2007-06-25 Thread Yinghai Lu
[PATCH 2/2] x86_84: move iommu declaration from proto to iommu.h Signed-off-by: Yinghai Lu <[EMAIL PROTECTED]> arch/x86_64/kernel/aperture.c |2 +- arch/x86_64/kernel/early-quirks.c |1 + arch/x86_64/kernel/pci-dma.c |2 +- arch/x86_64/kernel/pci-gart.c |1 +

Re: [PATCH 4/7][TAKE5] support new modes in fallocate

2007-06-25 Thread Andreas Dilger
On Jun 25, 2007 20:33 +0530, Amit K. Arora wrote: > I have not implemented FA_FL_FREE_ENOSPC and FA_ZERO_SPACE flags yet, as > *suggested* by Andreas in http://lkml.org/lkml/2007/6/14/323 post. > If it is decided that these flags are also needed, I will update this > patch. Thanks! Can you

Re: [PATCH] trim memory not covered by WB MTRRs

2007-06-25 Thread Justin Piszcz
Will try this patch shortly w/ 2.6.22-rc6. p34:/usr/src/linux-2.6.22-rc6# patch -p1 < ../mtrr-v3.patch patching file Documentation/kernel-parameters.txt patching file arch/i386/kernel/cpu/mtrr/generic.c patching file arch/i386/kernel/cpu/mtrr/if.c patching file arch/i386/kernel/cpu/mtrr/main.c

Re: Linux Kernel include files

2007-06-25 Thread Harald Arnesen
[EMAIL PROTECTED] (Joerg Schilling) writes: >> If I actually install smake, as J�rg recommends, the message becomes: >> smake: Can't find any source for 'CCOM_suncc'. >> smake: Couldn't make 'CCOM_suncc'. > > Well, I was in hope that a small typo (in special as the correct spelling is > in >

[PATCH -mm] PM: Prevent frozen user mode helpers from failing the freezing of tasks (rev. 2)

2007-06-25 Thread Rafael J. Wysocki
[I hope the ACKs still apply.] --- From: Rafael J. Wysocki <[EMAIL PROTECTED]> At present, if a user mode helper is running while usermodehelper_pm_callback() is executed, the helper may be frozen and the completion in call_usermodehelper_exec() won't be completed until user space processes are

Re: synchronize_qrcu_timeout()

2007-06-25 Thread Pavel Machek
On Mon 2007-06-25 19:49:57, Oleg Nesterov wrote: > On 06/25, Oleg Nesterov wrote: > > > > On 06/25, Paul E. McKenney wrote: > > > > > > On Mon, Jun 25, 2007 at 02:43:32PM +0400, Oleg Nesterov wrote: > > > > > > > > Sadly, you can't use srcu/qrcu because it doesn't handle timeouts. > > > >

Re: [PATCH] mtrr/cyrix: fix sections

2007-06-25 Thread Andrew Morton
On Mon, 25 Jun 2007 13:48:51 -0700 Randy Dunlap <[EMAIL PROTECTED]> wrote: > From: Randy Dunlap <[EMAIL PROTECTED]> > > Are there peculiarities about Cyrix that mean this isn't needed? > > main.c::mtrr_add() or mtrr_del() [exported] > calls main.c::mtrr_add_page() or mtrr_del_page() or

Re: [PATCH] atl1: disable 64bit DMA

2007-06-25 Thread Chris Snook
Luca Tettamanti wrote: Il Mon, Jun 25, 2007 at 07:42:44AM -0500, Jay Cliburn ha scritto: Jay L. T. Cornwall wrote: Jay Cliburn wrote: For reasons not yet clear to me, it appears the L1 driver has a bug or the device itself has trouble with DMA in high memory. This patch, drafted by Luca

[PATCH] trim memory not covered by WB MTRRs

2007-06-25 Thread Jesse Barnes
On some machines, buggy BIOSes don't properly setup WB MTRRs to cover all available RAM, meaning the last few megs (or even gigs) of memory will be marked uncached. Since Linux tends to allocate from high memory addresses first, this causes the machine to be unusably slow as soon as the kernel

Re: 2.6.22-rc5-yesterdaygit with VM debug: BUG in mm/rmap.c:66: anon_vma_link ?

2007-06-25 Thread Hugh Dickins
On Mon, 25 Jun 2007, Petr Vandrovec wrote: > Hello, > to catch some memory corruption bug in our code I've modified malloc to do > mmap + mprotect - which has unfortunate effect that it creates thousands and > thousands of VMAs. Everything works (though rather slowly on kernel with >

Re: [patch] Reporting the lid status using INPUT

2007-06-25 Thread Richard Hughes
On Mon, 2007-06-25 at 22:49 +0200, Bartók Albert wrote: > GMail On 16/06/07, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > > On Saturday 16 June 2007 13:11, Richard Hughes wrote: > > > On Fri, 2007-06-15 at 15:53 +0100, Richard Hughes wrote: > > > > On Fri, 2007-06-15 at 10:29 -0400, Dmitry

[PATCH] atl1: disable 64bit DMA

2007-06-25 Thread Luca Tettamanti
Il Mon, Jun 25, 2007 at 07:42:44AM -0500, Jay Cliburn ha scritto: > Jay L. T. Cornwall wrote: > >Jay Cliburn wrote: > > > >>For reasons not yet clear to me, it appears the L1 driver has a bug or > >>the device itself has trouble with DMA in high memory. This patch, > >>drafted by Luca

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Hannu Savolainen
Takashi Iwai kirjoitti: At Sun, 24 Jun 2007 19:51:38 +0200 (CEST), Tomasz Kłoczko wrote: Few dayas ago OSS source code was oppened uder CDDL for Solaris and GLPv2 for Linux: http://www.opensound.com/press/2007/oss-gpl-cddl.txt So this source without problems code can be integragrated in

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-25 Thread Ingo Molnar
* Kristian H?gsberg <[EMAIL PROTECTED]> wrote: > OK, here's a yell. I'm using tasklets in the new firewire stack for > all interrupt handling. All my interrupt handler does is read out the > event mask and schedule the appropriate tasklets. Most of these > tasklets typically just end up

Re: [patch, v2.6.22-rc6] sys_time() speedup

2007-06-25 Thread Jesper Juhl
On 25/06/07, Roman Zippel <[EMAIL PROTECTED]> wrote: Hi, On Monday 25 June 2007, Ingo Molnar wrote: > the patch improves the sysbench OLTP macrobenchmark significantly: Has that any real practical relevance? It seems to me that Ingo's patch offers slightly improved performance for any

Re: [PATCH try #2] security: Convert LSM into a static interface

2007-06-25 Thread James Morris
On Mon, 25 Jun 2007, Andreas Gruenbacher wrote: > It's useful for some LSMs to be modular, and LSMs which are y/n options won't > have any security architecture issues with unloading at all. Which LSMs? Upstream, there are SELinux and capabilty, and they're not safe as loadable modules. >

Re: 2.6.22-rc5-yesterdaygit with VM debug: BUG in mm/rmap.c:66: anon_vma_link ?

2007-06-25 Thread Andrea Arcangeli
On Mon, Jun 25, 2007 at 10:05:09PM +0100, Hugh Dickins wrote: > size of memory?); but I rather think validate_anon_vma has outlived its > usefulness, and is better just removed - which gives a magnificent Probably yes. But the most fundamental issue is that this code probably was never meant to

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-25 Thread Kristian Høgsberg
On Mon, 2007-06-25 at 16:31 -0400, Steven Rostedt wrote: > On Mon, 2007-06-25 at 16:07 -0400, Kristian Høgsberg wrote: > > > > Maybe we should be looking at something like GENERIC_SOFTIRQ to run > > > functions that a driver could add. But they would run only on the CPU > > > that scheduled them,

Re: [patch, v2.6.22-rc6] sys_time() speedup

2007-06-25 Thread Roman Zippel
Hi, On Monday 25 June 2007, Ingo Molnar wrote: > the patch improves the sysbench OLTP macrobenchmark significantly: Has that any real practical relevance? > @@ -373,6 +376,20 @@ void do_gettimeofday (struct timeval *tv > > tv->tv_sec = sec; > tv->tv_usec = usec; > + > + /* > +

[PATCH] ALSA: fix ensoniq section mismatch

2007-06-25 Thread Randy Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]> Fix ensoniq driver sections when HOTPLUG=n, but code is used during resume, so it cannot be discarded: WARNING: sound/pci/snd-ens1371.o(.text+0x5c0): Section mismatch: reference to .init.text: (between 'snd_ensoniq_chip_init' and 'snd_ensoniq_free')

Re: [PATCH 1/2] Always probe the NMI watchdog

2007-06-25 Thread Björn Steinbrink
On 2007.06.25 21:36:17 +0200, Andi Kleen wrote: > On Monday 25 June 2007 21:09, Andrew Morton wrote: > > On Wed, 20 Jun 2007 20:34:48 +0200 > > > > Bj__rn Steinbrink <[EMAIL PROTECTED]> wrote: > > > The performance counter allocator relies on the nmi watchdog being > > > probed, so we have to do

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-25 Thread Steven Rostedt
On Mon, 2007-06-25 at 22:50 +0200, Tilman Schmidt wrote: > Ok, I'm reassured. I'll look into converting these to a work queue > then, although I can't promise when I'll get around to it. > > In fact, if these timing requirements are so easy to meet, perhaps > it doesn't even need its own work

Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching

2007-06-25 Thread david
On Mon, 25 Jun 2007, Pavel Machek wrote: Hi! We've been over the "AA is different" discussion in threads about a billion times, and at the last kernel summit. I think Lars and others have done a pretty good job of describing the problems they are trying to solve, can we please move on to

[PATCH] serial: Clear proper MPSC interrupt cause bits

2007-06-25 Thread Mark A. Greer
From: Jay Lubomirski <[EMAIL PROTECTED]> The interrupt clearing code in mpsc_sdma_intr_ack() mistakenly clears the interrupt for both controllers instead of just the one its supposed to. This can result in the other controller appearing to hang because its interrupt was effectively lost. So,

Re: [PATCH 1/2] Always probe the NMI watchdog

2007-06-25 Thread Björn Steinbrink
On 2007.06.25 13:01:58 -0700, Stephane Eranian wrote: > Hi, > On Mon, Jun 25, 2007 at 09:36:17PM +0200, Andi Kleen wrote: > > On Monday 25 June 2007 21:09, Andrew Morton wrote: > > > On Wed, 20 Jun 2007 20:34:48 +0200 > > > > > > Bj__rn Steinbrink <[EMAIL PROTECTED]> wrote: > > > > The performance

Re: [BUG] Lockdep warning with XFS on 2.6.22-rc6

2007-06-25 Thread Ingo Molnar
* Satyam Sharma <[EMAIL PROTECTED]> wrote: > [ Ok, so we know that XFS wants to lock inodes in ascending inode > number order and not strictly the parent-first-child-second order that > rest of the fs/ code does, so that makes it difficult to teach lockdep > about this kind of lock ordering

Re: [PATCH] serial: Clear proper MPSC interrupt cause bits

2007-06-25 Thread Mark A. Greer
On Sat, Jun 23, 2007 at 09:51:44AM -0700, Andrew Morton wrote: > > On Thu, 21 Jun 2007 19:32:08 -0700 "Mark A. Greer" <[EMAIL PROTECTED]> > > wrote: > > From: Jay Lubomirski <[EMAIL PROTECTED]> > > > > Don't clobber the interrupt cause bits for both MPSC controllers when > > clearing the

Re: [patch] Reporting the lid status using INPUT

2007-06-25 Thread Bartók Albert
GMail On 16/06/07, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > On Saturday 16 June 2007 13:11, Richard Hughes wrote: > > On Fri, 2007-06-15 at 15:53 +0100, Richard Hughes wrote: > > > On Fri, 2007-06-15 at 10:29 -0400, Dmitry Torokhov wrote: > > > > On 6/15/07, Richard Hughes <[EMAIL

Re: [POSSIBLE BUG] use of tasklet_unlock in ipath_no_bufs_available

2007-06-25 Thread Steven Rostedt
On Mon, 2007-06-25 at 13:37 -0700, Ralph Campbell wrote: > This was fixed by a patch that Arthur Jones sent out to > [EMAIL PROTECTED] Great! > > Tue Jun 19 16:42:09 PDT 2007 > [PATCH 17/28] IB/ipath - wait for PIO available interrupt > > I imagine that it is working its way into Roland's git

Re: [GIT PULL] AVR32 fixes

2007-06-25 Thread Frank Bennett
Haavard Skinnemoen wrote: Hi Linus, Please pull the 'for-linus' branch of git://www.atmel.no/~hskinnemoen/linux/kernel/avr32.git for-linus to receive the following updates. The status of the various SL*B allocators on AVR32 is now as follows: * SLAB works, but debugging is effectively

[PATCH] mtrr/cyrix: fix sections

2007-06-25 Thread Randy Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]> Are there peculiarities about Cyrix that mean this isn't needed? main.c::mtrr_add() or mtrr_del() [exported] calls main.c::mtrr_add_page() or mtrr_del_page() or mtrr_restore() [resume] calls main.c::set_mtrr() calls main.c::ipi_handler() calls

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-25 Thread Tilman Schmidt
Am 25.06.2007 19:06 schrieb Steven Rostedt: > On Mon, 2007-06-25 at 18:50 +0200, Tilman Schmidt wrote: > >> The Siemens Gigaset ISDN base driver uses tasklets in its isochronous >> data paths. [...] >> Does that qualify as performance sensitive for the purpose of this >> discussion? > >

Re: [PATCH try #2] security: Convert LSM into a static interface

2007-06-25 Thread Andreas Gruenbacher
On Monday 25 June 2007 06:33, James Morris wrote: > Convert LSM into a static interface, as the ability to unload a security > module is not required by in-tree users and potentially complicates the > overall security architecture. It's useful for some LSMs to be modular, and LSMs which are y/n

Re: [ofa-general] [POSSIBLE BUG] use of tasklet_unlock in ipath_no_bufs_available

2007-06-25 Thread Ralph Campbell
This was fixed by a patch that Arthur Jones sent out to [EMAIL PROTECTED] Tue Jun 19 16:42:09 PDT 2007 [PATCH 17/28] IB/ipath - wait for PIO available interrupt I imagine that it is working its way into Roland's git tree for Linus. On Mon, 2007-06-25 at 15:33 -0400, Steven Rostedt wrote: > As

Re: [PATCH 1/2] Always probe the NMI watchdog

2007-06-25 Thread Andi Kleen
> I looked at the code I have in my tree coming from Bjon's patches and > I am a bit confused by the flow for probing as well. Yes, it's a little risky. Perhaps it's better to readd the separate CPU switch from .21 there again for 2.6.22. Ugly, but should be safe -Andi - To unsubscribe from

Re: [PATCH v2] pcmcia: CompactFlash driver for PA Semi Electra boards

2007-06-25 Thread Olof Johansson
On Mon, Jun 25, 2007 at 08:39:09PM +0100, Christoph Hellwig wrote: > On Mon, Jun 25, 2007 at 12:12:21PM -0500, Olof Johansson wrote: > > Driver for the CompactFlash slot on the PA Semi Electra eval board. It's > > a simple device sitting on localbus, with interrupts and detect/voltage > > control

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-25 Thread Steven Rostedt
On Mon, 2007-06-25 at 16:07 -0400, Kristian Høgsberg wrote: > > Maybe we should be looking at something like GENERIC_SOFTIRQ to run > > functions that a driver could add. But they would run only on the CPU > > that scheduled them, and do not guarantee non-reentrant as tasklets do > > today. > >

Re: Linux Kernel include files

2007-06-25 Thread David Woodhouse
On Mon, 2007-06-25 at 22:26 +0200, Joerg Schilling wrote: > Well, I was in hope that a small typo (in special as the correct > spelling is in the file README.compile) should not be a problem. > > You need to use CCOM=suncc No, I need someone else to use CCOM=suncc for me. Unless suncc works on

Re: Is it time for remove (crap) ALSA from kernel tree ?

2007-06-25 Thread Hannu Savolainen
Tomasz Kłoczko kirjoitti: On Sun, 24 Jun 2007, Jan Engelhardt wrote: On Jun 24 2007 21:24, Tomasz Kłoczko wrote: Try to answer on question "ALSA or OSS ?" using *only* technical arguments. Ok: The OSS cs46xx driver did not support the rear 2 channels. The cs46xx OSS driver in the kernel is

Re: Linux Kernel include files

2007-06-25 Thread Joerg Schilling
Harald Arnesen <[EMAIL PROTECTED]> wrote: > David Woodhouse <[EMAIL PROTECTED]> writes: > > >> > Can you be more specific about why this is a problem? Don't > >> > we mostly define those crappy types using arch-specific knowledge, as > >> > 'int', 'long', etc? > >> > >> I recommend you to

Re: how about mutual compatibility between Linux's GPLv2 and GPLv3?

2007-06-25 Thread Alexandre Oliva
On Jun 25, 2007, [EMAIL PROTECTED] (Lennart Sorensen) wrote: > On Fri, Jun 22, 2007 at 03:00:30AM -0300, Alexandre Oliva wrote: >> I was here to dispell the lies that were being spread about GPLv3, the >> spirit and the goals of the GPL, as far as I understood them. > Just because someone has a

Re: [RFC 1/7] cpuset write dirty map

2007-06-25 Thread Ethan Solomita
Christoph Lameter wrote: > > What testing was done? Would you include the results of tests in your next > post? Sorry for the delay in responding -- I was chasing phantom failures. I created a stress test which involved using cpusets and mems_allowed to split memory so that all

[RFC patch] firewire: add Kconfig help on building both stacks

2007-06-25 Thread Stefan Richter
Alas that won't work so good, because nobody reads help texts. I thought about adding some crude multiple choice selection (build the old stack, build the new stack, build both stacks). It's possible, but it would introduce awkward dummy config variables. Signed-off-by: Stefan Richter <[EMAIL

Handling xruns in OSS (was re:whatever)

2007-06-25 Thread Hannu Savolainen
Takashi Iwai kirjoitti: At Mon, 25 Jun 2007 10:06:18 +0100, Alan Cox wrote: If it is native ALSA driver then it will restart after each underrun and overrun. It is the applications job to do this, alsa-lib provides all support for this. I have no idea of OSS and OSS emulation in ALSA.

[PATCH] eventfd: clean compile when CONFIG_EVENTFD=n

2007-06-25 Thread Randy Dunlap
From: Randy Dunlap <[EMAIL PROTECTED]> Fix gcc warning and add parameter checking when CONFIG_EVENTFD=n: fs/aio.c: In function 'aio_complete': fs/aio.c:955: warning: statement with no effect Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> --- include/linux/eventfd.h |3 ++- 1 file changed,

Re: Linux Kernel include files

2007-06-25 Thread Sam Ravnborg
On Mon, Jun 25, 2007 at 04:53:55PM +0200, Joerg Schilling wrote: > > star needs "ext2_fs.h". This file is not usable at all on many Linux > distributions, even with GCC. I was curious so I did: $ mkdir ~/foo $ cd ~/kernel/linux-2.6 $ make INSTALL_HDR_PATH=~/foo $ cd ~/foo $ cat j.c #include

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-25 Thread Kristian Høgsberg
On Mon, 2007-06-25 at 15:11 -0400, Steven Rostedt wrote: > On Mon, 2007-06-25 at 14:48 -0400, Kristian Høgsberg wrote: > ... > > However, I don't really understand how you can discuss a wholesale > > replacing of tasklets with workqueues, given the very different > > execution sematics of the two

[patch, v2.6.22-rc6] sys_time() speedup

2007-06-25 Thread Ingo Molnar
Subject: [patch] sys_time() speedup From: Ingo Molnar <[EMAIL PROTECTED]> improve performance of sys_time(). sys_time() returns time in seconds, but it does so by calling do_gettimeofday() and then returning the tv_sec portion of the GTOD time. But the data structure "xtime", which is updated

Re: [PATCH 1/2] Always probe the NMI watchdog

2007-06-25 Thread Stephane Eranian
Hi, On Mon, Jun 25, 2007 at 09:36:17PM +0200, Andi Kleen wrote: > On Monday 25 June 2007 21:09, Andrew Morton wrote: > > On Wed, 20 Jun 2007 20:34:48 +0200 > > > > Bj__rn Steinbrink <[EMAIL PROTECTED]> wrote: > > > The performance counter allocator relies on the nmi watchdog being > > > probed, so

Re: [PATCH] x86-64: disable the GART in shutdown v2

2007-06-25 Thread Muli Ben-Yehuda
On Mon, Jun 25, 2007 at 12:52:48PM -0700, Yinghai Lu wrote: > >I suggest include/asm-x86_64/iommu.h for this. proto.h doesn't have > >anything to do with it. > > move iommu releated to iommu.h and add iommu_ops struct? That's how I would do it, to complement dma_mapping.h. Cheers, Muli - To

Re: [PATCH 16/16] fix handling of integer constant expressions

2007-06-25 Thread Al Viro
On Sun, Jun 24, 2007 at 10:31:06PM -0700, Josh Triplett wrote: > Al Viro wrote: > > Joy. OK, folks, disregard 16/16 in the current form; everything prior > > to it stands on its own. > > Acknowledged. The rest of the patches look good to me, so I'll merge 1-15 > soon, and ignore 16. > > Do you

Re: [PATCH] RFC: have tcp_recvmsg() check kthread_should_stop() and treat it as if it were signalled

2007-06-25 Thread Jeff Layton
On Tue, 26 Jun 2007 01:11:20 +0530 "Satyam Sharma" <[EMAIL PROTECTED]> wrote: > Hi, > > On 6/9/07, Jeff Layton <[EMAIL PROTECTED]> wrote: > > On Sat, 09 Jun 2007 11:30:04 +1000 > > Herbert Xu <[EMAIL PROTECTED]> wrote: > > > > > Please cc networking patches to [EMAIL PROTECTED] > > > > > > Jeff

Re: [PATCH] x86-64: disable the GART in shutdown v2

2007-06-25 Thread Yinghai Lu
Muli Ben-Yehuda wrote: diff --git a/arch/x86_64/kernel/pci-gart.c b/arch/x86_64/kernel/pci-gart.c index ae091cd..6c4fe16 100644 --- a/arch/x86_64/kernel/pci-gart.c +++ b/arch/x86_64/kernel/pci-gart.c @@ -571,6 +571,27 @@ static const struct dma_mapping_ops gart_dma_ops = { .unmap_sg =

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-25 Thread Stephen Hemminger
On Mon, 25 Jun 2007 18:50:03 +0200 Tilman Schmidt <[EMAIL PROTECTED]> wrote: > Ingo Molnar <[EMAIL PROTECTED]> wrote: > > so how about the following, different approach: anyone who has a tasklet > > in any performance-sensitive codepath, please yell now. Getting rid of tasklet's may seem like

Re: [PATCH 1/2] [RESEND] PCI: read revision ID by default

2007-06-25 Thread Arjan van de Ven
On Mon, 2007-06-25 at 11:49 -0700, Kok, Auke wrote: > Alan Cox wrote: > > On Sun, 24 Jun 2007 20:19:18 -0700 > > Auke Kok <[EMAIL PROTECTED]> wrote: > > > >> Currently there are 97 occurrences where drivers need the pci > >> revision ID. We can do this once for all devices. Even the pci > >>

Re: [PATCH] x86-64: disable the GART in shutdown v2

2007-06-25 Thread Muli Ben-Yehuda
On Mon, Jun 25, 2007 at 12:34:03PM -0700, Yinghai Lu wrote: > [PATCH] x86-64: disable the GART in shutdown > > For K8 system: 4G RAM with memory hole remapping enabled, or more than 4G RAM > installed. when using kexec to load second kernel. In the second kernel, > when mem is allocated for

Re: [PATCH] RFC: have tcp_recvmsg() check kthread_should_stop() and treat it as if it were signalled

2007-06-25 Thread Satyam Sharma
Hi, On 6/9/07, Jeff Layton <[EMAIL PROTECTED]> wrote: On Sat, 09 Jun 2007 11:30:04 +1000 Herbert Xu <[EMAIL PROTECTED]> wrote: > Please cc networking patches to [EMAIL PROTECTED] > > Jeff Layton <[EMAIL PROTECTED]> wrote: > > > > The following patch is a first stab at removing this need. It

Re: [PATCH 1/2] Always probe the NMI watchdog

2007-06-25 Thread Andi Kleen
On Monday 25 June 2007 21:09, Andrew Morton wrote: > On Wed, 20 Jun 2007 20:34:48 +0200 > > Bj__rn Steinbrink <[EMAIL PROTECTED]> wrote: > > The performance counter allocator relies on the nmi watchdog being > > probed, so we have to do that even if the watchdog is not enabled. > > So... what's

Re: [PATCH v2] pcmcia: CompactFlash driver for PA Semi Electra boards

2007-06-25 Thread Christoph Hellwig
On Mon, Jun 25, 2007 at 12:12:21PM -0500, Olof Johansson wrote: > Driver for the CompactFlash slot on the PA Semi Electra eval board. It's > a simple device sitting on localbus, with interrupts and detect/voltage > control over GPIO. > > The driver is implemented as an of_platform driver, and

Re: [PATCH] hwmon/coretemp: Fix a broken error path - microcode update fix

2007-06-25 Thread Soeren Sonnenburg
On Mon, 2007-06-25 at 20:20 +0200, Rudolf Marek wrote: > > Hi Rudolf, > > > > just one more update: > > > > When I put my machine into s2ram and make it resume, one of the coretemp > > sensors gets lost. Ahh and I am already rmmod coretemp / loading > > microcode after resume / insmod

[POSSIBLE BUG] use of tasklet_unlock in ipath_no_bufs_available

2007-06-25 Thread Steven Rostedt
As some of you know, lately I've been trying to get rid of tasklets. In doing so, I've come across this usage of tasklet_unlock. The only user of tasklet_unlock in the kernel outside of softirq.c is ipath_no_bufs_available in drivers/inifiniband/hw/ipath/ipath_ruc.c Here's the offending code:

[PATCH] x86-64: disable the GART in shutdown v2

2007-06-25 Thread Yinghai Lu
[PATCH] x86-64: disable the GART in shutdown For K8 system: 4G RAM with memory hole remapping enabled, or more than 4G RAM installed. when using kexec to load second kernel. In the second kernel, when mem is allocated for GART, it will do the memset for clear, it will cause restart, because some

[PATCH] update description in Documentation/filesystems/vfs.txt (typo fixed)

2007-06-25 Thread Borislav Petkov
On Mon, Jun 25, 2007 at 12:34:36PM +0300, Pekka Enberg wrote: > > Hi Borislav, > > On 6/24/2007, "Borislav Petkov" <[EMAIL PROTECTED]> wrote: > > @@ -3,7 +3,7 @@ > > > > Original author: Richard Gooch <[EMAIL PROTECTED]> > > > > - Last updated on October 28, 2005 > > +

Re: [RFC PATCH 0/6] Convert all tasklets to workqueues

2007-06-25 Thread Steven Rostedt
On Mon, 2007-06-25 at 14:48 -0400, Kristian Høgsberg wrote: > OK, here's a yell. I'm using tasklets in the new firewire stack for all Thanks for speaking up! > interrupt handling. All my interrupt handler does is read out the event > mask and schedule the appropriate tasklets. Most of these

[Fwd: Re: libata and legacy ide pcmcia failure]

2007-06-25 Thread Robert de Rooy
Oops had done a reply instead of a reply to all... --- Begin Message --- Albert Lee wrote: The patch just workarounds the "lost irq" problem by polling; not real fix. We still need to find out why irq is lost per Mark's comment: "This proves that the device does work correctly in most

Re: [PATCH 1/2] Always probe the NMI watchdog

2007-06-25 Thread Andrew Morton
On Wed, 20 Jun 2007 20:34:48 +0200 Bj__rn Steinbrink <[EMAIL PROTECTED]> wrote: > The performance counter allocator relies on the nmi watchdog being > probed, so we have to do that even if the watchdog is not enabled. > So... what's the status of this lot? I've just merged this patch and the

Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching

2007-06-25 Thread Pavel Machek
Hi! > We've been over the "AA is different" discussion in threads about a > billion times, and at the last kernel summit. I think Lars and others > have done a pretty good job of describing the problems they are trying > to solve, can we please move on to discussing technical issues around >

Re: Oops in a driver while using SLUB as a SLAB allocator

2007-06-25 Thread Hugh Dickins
On Mon, 25 Jun 2007, Christoph Lameter wrote: > On Mon, 25 Jun 2007, Hugh Dickins wrote: > > > > The "sometimes we have kmalloced buffers" locations need to be fixed. > > > > I've said enough, I'd better leave it to others to deter you or not > > from fiddling around pointlessly here. > > Are

<    1   2   3   4   5   6   7   8   9   >