Re: [PATCH 02/10] Blackfin SPI driver: use new GPIO API and add error handling

2007-10-11 Thread Bryan Wu
On Thu, 2007-10-11 at 23:26 -0700, David Brownell wrote: > On Thursday 11 October 2007, Bryan Wu wrote: > > @@ -1182,12 +1198,9 @@ static int __init bfin5xx_spi_probe(struct > > platform_device *pdev) > > return -ENOMEM; > > } > > > > - if (peripheral_request(P_SPI0

Re: [PATCH] Make m68k cross compile like every other architecture.

2007-10-11 Thread Geert Uytterhoeven
On Thu, 11 Oct 2007, Rob Landley wrote: > On Thursday 11 October 2007 11:26:07 am Finn Thain wrote: > My toolchains override the default prefix to just the target, resulting > in "m68k-gcc". (It's shorter, and when you're creating a dozen toolchains > having them all say -linux- in the middle of

[PATCH] add missing parenthesis in cfe_writeblk() macro

2007-10-11 Thread Mariusz Kozlowski
Add missing parenthesis in cfe_writeblk() macro. Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> include/asm-mips/fw/cfe/cfe_api.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-2.6.23-mm1-a/include/asm-mips/fw/cfe/cfe_api.h2007-10-12 08:25:46.0 +0200 +

Re: 2.6.23-mm1

2007-10-11 Thread Cedric Le Goater
KAMEZAWA Hiroyuki wrote: > On Thu, 11 Oct 2007 21:31:26 -0700 > Andrew Morton <[EMAIL PROTECTED]> wrote: > >> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23/2.6.23-mm1/ >> >> - I've been largely avoiding applying anything since rc8-mm2 in an attempt >> to stabilise things f

Re: 2.6.23-mm1

2007-10-11 Thread Al Viro
On Thu, Oct 11, 2007 at 11:42:02PM -0700, Andrew Morton wrote: > On Fri, 12 Oct 2007 14:03:28 +0900 KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> > wrote: > > > On Thu, 11 Oct 2007 21:31:26 -0700 > > Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/a

Re: Linux 2.6.23

2007-10-11 Thread Nick Piggin
On Friday 12 October 2007 15:46, Ingo Molnar wrote: > * Nick Piggin <[EMAIL PROTECTED]> wrote: > > ;) I think you snipped the important bit: > > > > "the peak is terrible but it has virtually no dropoff and performs > > better under load than the default 2.6.21 scheduler." (verbatim) > > hm, i unde

Re: [PATCH] sched: Rationalize sys_sched_rr_get_interval()

2007-10-11 Thread Jarek Poplawski
On 12-10-2007 00:23, Peter Williams wrote: ... > The reason I was going that route was for modularity (which helps when > adding plugsched patches). I'll submit a revised patch for consideration. ... IMHO, it looks like modularity could suck here: > +static unsigned int default_timeslice_fair(s

Re: 2.6.23-mm1

2007-10-11 Thread Andrew Morton
On Fri, 12 Oct 2007 14:03:28 +0900 KAMEZAWA Hiroyuki <[EMAIL PROTECTED]> wrote: > On Thu, 11 Oct 2007 21:31:26 -0700 > Andrew Morton <[EMAIL PROTECTED]> wrote: > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23/2.6.23-mm1/ > > > > - I've been largely avoiding applyin

CPU speed after hibernation

2007-10-11 Thread Bhasker C V
Hi all, I have enable suspend-to-disk on myetch system K 2.6.21.1 I have enabled acpi cpu frequency scaling and using "convservative" governer. When I boot the system, the cpu frequency works switches fine based on the requirement. But when i go to hibernation and come back from hibernation, t

help for ip_nat_setup_info() in 2.6.22

2007-10-11 Thread xujinjin
Dear all, ip_nat_setup_info() has been moved from 2.6.22, I grep it in 2.6.12 what is the equally func. in 2.6.22 ,and why changed it ? Thanks! BR - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Mo

Re: [PATCH] Reserve N process to root

2007-10-11 Thread Al Boldi
Kyle Moffett wrote: > On Oct 12, 2007, at 01:37:23, Al Boldi wrote: > > You have a point, and resource-controllers can probably control DoS > > a lot better, but the they also incur more overhead. Think of this > > "lockout prevention" patch as a near zero overhead safety valve. > > But why do you

Re: [PATCH 02/10] Blackfin SPI driver: use new GPIO API and add error handling

2007-10-11 Thread David Brownell
On Thursday 11 October 2007, Bryan Wu wrote: > @@ -1182,12 +1198,9 @@ static int __init bfin5xx_spi_probe(struct > platform_device *pdev) > return -ENOMEM; > } >   > -   if (peripheral_request(P_SPI0_SCK, DRV_NAME) || > -    peripheral_request(P_SPI0_MISO, D

[PATCH] more bio fallout

2007-10-11 Thread Al Viro
Signed-off-by: Al Viro <[EMAIL PROTECTED]> --- diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index 2473e2a..a2da76b 100644 --- a/fs/gfs2/super.c +++ b/fs/gfs2/super.c @@ -169,7 +169,6 @@ static void end_bio_io_page(struct bio *bio, int error) else printk(KERN_WARNING "gfs2

Re: [Patch 002/002] Create/delete kmem_cache_node for SLUB on memory online callback

2007-10-11 Thread Yasunori Goto
> On Fri, 12 Oct 2007, Yasunori Goto wrote: > > > If pages on the new node available, slub can use it before making > > new kmem_cache_nodes. So, this callback should be called > > BEFORE pages on the node are available. > > If its called before pages on the node are available then it must > fa

Re: linux-2.6.23 - acting funny

2007-10-11 Thread Ingo Molnar
* poison <[EMAIL PROTECTED]> wrote: > Also the transfer rate didn't degrade too much for copying directly > from reiserfs to reiserfs and not using encfs: > > dd if=/mnt/.backup/2CpGkrxvz6wgA0b0xloz8PavzMLrMymOgi9 of=/mnt/.tdata/test > 1033+0 records in > 1033+0 records out > 1083179008 bytes (

[PATCH] missed bio_endio() in axonram

2007-10-11 Thread Al Viro
Signed-off-by: Al Viro <[EMAIL PROTECTED]> --- diff --git a/arch/powerpc/sysdev/axonram.c b/arch/powerpc/sysdev/axonram.c index ab037a3..46fd9c6 100644 --- a/arch/powerpc/sysdev/axonram.c +++ b/arch/powerpc/sysdev/axonram.c @@ -117,7 +117,7 @@ axon_ram_make_request(struct request_queue *queue, str

Re: sometimes very long response times on network interfaces since 2.6.22

2007-10-11 Thread Ingo Freund
On 10.10.2007 09:00, Eric Dumazet wrote (please find the answer below the original text): > Ingo Freund a écrit : >> Hello, >> >> since I switched to kernel 2.6.22 my dell 1750 server >> with the two onboard BCM5704 network interfaces doesn't >> work properly anymore. >> TCP requests sometimes nee

[PATCH -mm -v5 2/3] i386/x86_64 boot: boot parameters export via sysfs

2007-10-11 Thread Huang, Ying
This patch export the boot parameters via sysfs. This can be used for debugging and kexec. Signed-off-by: Huang Ying <[EMAIL PROTECTED]> --- i386/kernel/Makefile|1 i386/kernel/ksysfs.c| 267 i386/kernel/setup.c |2 x86_64/

[PATCH -mm -v5 3/3] i386/x86_64 boot: document for 32 bit boot protocol

2007-10-11 Thread Huang, Ying
This patch defines a 32-bit boot protocol and adds corresponding document. It is based on the proposal of Peter Anvin. Signed-off-by: Huang Ying <[EMAIL PROTECTED]> --- boot.txt | 70 +++ zero-page.txt | 129 +--

[PATCH -mm -v5 0/3] i386/x86_64 boot: 32-bit boot protocol

2007-10-11 Thread Huang, Ying
This patchset defines a 32-bit boot protocol for i386/x86_64 platform, adds an extensible boot parameter passing mechanism, export the boot parameters via sysfs. The patchset has been tested against 2.6.23-rc8-mm2 kernel on x86_64 and i386. This patchset is based on the proposal of Peter Anvin.

Re: [PATCH] Reserve N process to root

2007-10-11 Thread Kyle Moffett
On Oct 12, 2007, at 01:37:23, Al Boldi wrote: Kyle Moffett wrote: This isn't really necessary any more with the new CFS scheduler. If you want to prevent excess memory usage then you limit memory usage, not process count, so just set the system max process count to something absurdly high

[PATCH -mm -v5 1/3] i386/x86_64 boot: setup data

2007-10-11 Thread Huang, Ying
This patch add a field of 64-bit physical pointer to NULL terminated single linked list of struct setup_data to real-mode kernel header. This is used as a more extensible boot parameters passing mechanism. Signed-off-by: Huang Ying <[EMAIL PROTECTED]> --- arch/i386/Kconfig|3 -

Re: Linux 2.6.23

2007-10-11 Thread Ingo Molnar
* Nick Piggin <[EMAIL PROTECTED]> wrote: > ;) I think you snipped the important bit: > > "the peak is terrible but it has virtually no dropoff and performs > better under load than the default 2.6.21 scheduler." (verbatim) hm, i understood that peak remark to be in reference to FreeBSD's sche

Re: [GIT PULL] MMC updates

2007-10-11 Thread Pierre Ossman
On Thu, 11 Oct 2007 22:30:41 -0700 (PDT) Linus Torvalds <[EMAIL PROTECTED]> wrote: > > There seems to be some breakage here: > > drivers/mmc/core/host.c: In function ‘mmc_remove_host’: > drivers/mmc/core/host.c:146: error: implicit declaration of > function ‘led_trigger_unregister’ d

Re: [PATCH] Reserve N process to root

2007-10-11 Thread Al Boldi
Kyle Moffett wrote: > Please don't trim CC lists > > On Oct 11, 2007, at 17:02:37, Al Boldi wrote: > > David Newall wrote: > >> [EMAIL PROTECTED] wrote: > >>> What David meant was that "root will always have a slot" doesn't > >>> *actually* help unless you *also* have a way to actually *spawn* > >>

Re: [RFD] iptables: mangle table obsoletes filter table

2007-10-11 Thread Al Boldi
Patrick McHardy wrote: > Please send mails discussing netfilter to netfilter-devel. Ok. I just found out this changed to vger. But [EMAIL PROTECTED] is bouncing me. > Al Boldi wrote: > > With the existence of the mangle table, how useful is the filter table? > > > > Other than requiring the RE

Re: [GIT PULL] MMC updates

2007-10-11 Thread Linus Torvalds
On Wed, 10 Oct 2007, Pierre Ossman wrote: > > Linus, please pull from > > git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc.git for-linus > > Lot's of changes in here. There seems to be some breakage here: drivers/mmc/core/host.c: In function ‘mmc_remove_host’:

Re: hdparm standby timeout not working for WD raptors?

2007-10-11 Thread Mark Weber
On 10/11/07, Mark Lord <[EMAIL PROTECTED]> wrote: > > What do you get when you try this: > hdparm -S1 -C /dev/sda;sleep 6; hdparm -C /dev/sda > ?? Thanks for taking an interest. I ran the commands and got the result shown below. Anything else you want me to try? # hdparm -S1 -C /dev/sda; sleep

Re: 2.6.23-mm1

2007-10-11 Thread KAMEZAWA Hiroyuki
On Thu, 11 Oct 2007 21:31:26 -0700 Andrew Morton <[EMAIL PROTECTED]> wrote: > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23/2.6.23-mm1/ > > - I've been largely avoiding applying anything since rc8-mm2 in an attempt > to stabilise things for the 2.6.23 merge. > On RHEL

2.6.23.git build error

2007-10-11 Thread Mike Galbraith
Greetings, Freshly pulled 2.6.23.git failed to build: make[1]: *** No rule to make target `arch/x86/kernel/asm-offsets.c', needed by `arch/x86/kernel/asm-offsets.s'. Stop. make: *** [prepare0] Error 2 make: *** Waiting for unfinished jobs -Mike - To unsubscribe from this list: sen

Re: [Patch 001/002] extract kmem_cache_shrink

2007-10-11 Thread Yasunori Goto
> On Fri, 12 Oct 2007, Yasunori Goto wrote: > > > Make kmem_cache_shrink_node() for callback routine of memory hotplug > > notifier. This is just extract a part of kmem_cache_shrink(). > > Could we just call kmem_cache_shrink? It will do the shrink on every node > but memory hotplug is rare? Ye

Re: [RFD] iptables: mangle table obsoletes filter table

2007-10-11 Thread Patrick McHardy
Please send mails discussing netfilter to netfilter-devel. Al Boldi wrote: > With the existence of the mangle table, how useful is the filter table? > > Other than requiring the REJECT target to be ported to the mangle table, is > the filter table faster than the mangle table? There are some mi

Re: [Patch 001/002] Make description of memory hotplug notifier in document

2007-10-11 Thread Yasunori Goto
> Looks good. Some suggestions on improving the wording. Thanks! I'll fix them. Bye. > > On Fri, 12 Oct 2007, Yasunori Goto wrote: > > > +MEMORY_GOING_ONLINE > > + This is notified before memory online. If some structures must be > > prepared > > + for new memory, it should be done at this

2.6.23-mm1

2007-10-11 Thread Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23/2.6.23-mm1/ - I've been largely avoiding applying anything since rc8-mm2 in an attempt to stabilise things for the 2.6.23 merge. But that didn't stop all the subsystem maintainers from going nuts, with the usual accuracy.

Re: [v4l-dvb-maintainer] [PATCH 3/3] V4L: cinergyT2, remove bad usage of ERESTARTSYS

2007-10-11 Thread Randy Dunlap
On Wed, 10 Oct 2007 00:18:28 -0400 Michael Krufky wrote: > Mauro Carvalho Chehab wrote: > > Hi Jiri, > > > > Em Seg, 2007-10-08 às 13:41 +0100, Jiri Slaby escreveu: > > > >> cinergyT2, remove bad usage of ERESTARTSYS > >> > >> test of cinergyt2->disconnect_pending doesn't ensure pending signal

[git patch] libata critical fix

2007-10-11 Thread Jeff Garzik
There is a lingering corruption in sata_mv that took me several days to narrow down... the failure to mask off the lower 16 bits of the S/G length was leading to corruption, because this stomped on other important bits in that S/G entry. This should fix it (stable aka 2.6.23.1 needs this too):

Re: Help with rtc to hpet conversion of OSGPS driver

2007-10-11 Thread Robert Hancock
Rick Niles wrote: I'm the Linux maintainer for the OSGPS (open source GPS) project. Our last release version was based off Fedora 5 and since we have had some hardware issues with our on board interrupt line I was using the RTC interrupt to service the tracking loops. I've been trying to make

Re: ioremap_nocache and mem= parameter with k 2.6.18

2007-10-11 Thread Robert Hancock
[EMAIL PROTECTED] wrote: Hi, I'm using a driver for a framegrabber device that needs to alloc a huge buffer of ram for dma transfers So it works: 1) Having 2GB of ram installed, boot the kernel with mem=1024M parameter 2) remap the unmapped memory above first GB using ioremap_nocache function

Re: [Patch 001/002] Make description of memory hotplug notifier in document

2007-10-11 Thread Christoph Lameter
Looks good. Some suggestions on improving the wording. On Fri, 12 Oct 2007, Yasunori Goto wrote: > +MEMORY_GOING_ONLINE > + This is notified before memory online. If some structures must be prepared > + for new memory, it should be done at this event's callback. > + The new onlining memory can

Re: [GIT PULL] kbuild updates

2007-10-11 Thread Sam Ravnborg
On Thu, Oct 11, 2007 at 07:08:53PM -0700, Linus Torvalds wrote: > > > On Wed, 10 Oct 2007, Sam Ravnborg wrote: > > > > This set of commits are the kbuild stuff that does not > > conflict with the pending x86 merge. > > Hmm. It does for me, actually. I did not try it out obviously - I just remov

Re: [Patch 002/002] Create/delete kmem_cache_node for SLUB on memory online callback

2007-10-11 Thread Christoph Lameter
On Fri, 12 Oct 2007, Yasunori Goto wrote: > If pages on the new node available, slub can use it before making > new kmem_cache_nodes. So, this callback should be called > BEFORE pages on the node are available. If its called before pages on the node are available then it must fallback and canno

Re: [Patch 001/002] extract kmem_cache_shrink

2007-10-11 Thread Christoph Lameter
On Fri, 12 Oct 2007, Yasunori Goto wrote: > Make kmem_cache_shrink_node() for callback routine of memory hotplug > notifier. This is just extract a part of kmem_cache_shrink(). Could we just call kmem_cache_shrink? It will do the shrink on every node but memory hotplug is rare? - To unsubscribe

Re: [GIT PULL] please pull infiniband.git for-linus

2007-10-11 Thread Linus Torvalds
On Thu, 11 Oct 2007, Greg KH wrote: > On Thu, Oct 11, 2007 at 07:58:04PM -0700, Linus Torvalds wrote: > > > > So I merged it all, and I don't expect any problems, but I'm hoping > > somebody is thinking about that mod_devicetable.h/file2alias.c mess. > > > > I'm not entirely sure who to blame

[PATCH] JFS: fix bio-related build breakage

2007-10-11 Thread Jeff Garzik
Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]> diff --git a/fs/jfs/jfs_logmgr.c b/fs/jfs/jfs_logmgr.c index 57c3b8a..ccfd029 100644 --- a/fs/jfs/jfs_logmgr.c +++ b/fs/jfs/jfs_logmgr.c @@ -2162,7 +2162,7 @@ static void lbmStartIO(struct lbuf * bp) /* check if journaling to disk has been di

Re: [v4l-dvb-maintainer] [PATCH 3/3] V4L: cinergyT2, remove bad usage of ERESTARTSYS

2007-10-11 Thread Michael Krufky
Mauro Carvalho Chehab wrote: > Hi Jiri, > > Em Seg, 2007-10-08 às 13:41 +0100, Jiri Slaby escreveu: > >> cinergyT2, remove bad usage of ERESTARTSYS >> >> test of cinergyt2->disconnect_pending doesn't ensure pending signal and so >> ERESTARTSYS would reach userspace, which is not permitted. Chang

Re: [GIT PULL] please pull infiniband.git for-linus

2007-10-11 Thread Greg KH
On Thu, Oct 11, 2007 at 07:58:04PM -0700, Linus Torvalds wrote: > > So I merged it all, and I don't expect any problems, but I'm hoping > somebody is thinking about that mod_devicetable.h/file2alias.c mess. > > I'm not entirely sure who to blame on that thing. I'm adding Greg to the > Cc, on th

Re: [GIT PULL] please pull infiniband.git for-linus

2007-10-11 Thread David Miller
From: Linus Torvalds <[EMAIL PROTECTED]> Date: Thu, 11 Oct 2007 19:58:04 -0700 (PDT) > > > On Thu, 11 Oct 2007, David Miller wrote: > > > > Even if you're confident there won't be merge issues, could you just > > wait for the net-2.6 stuff to go in first? > > I pulled the net stuff first, and

Re: [PATCH 0/2 -mm] kexec based hibernation -v5

2007-10-11 Thread Huang, Ying
On Thu, 2007-10-11 at 12:17 +0200, Rafael J. Wysocki wrote: > On Thursday, 11 October 2007 04:13, Huang, Ying wrote: > > Kexec base hibernation has some potential advantages over uswsusp and > > TuxOnIce (suspend2). Some most obvious advantages are: > > Well, I have some doubts as far as the obvio

[PATCH 02/10] Blackfin SPI driver: use new GPIO API and add error handling

2007-10-11 Thread Bryan Wu
From: Michael Hennerich <[EMAIL PROTECTED]> Signed-off-by: Michael Hennerich <[EMAIL PROTECTED]> Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- drivers/spi/spi_bfin5xx.c | 29 +++-- include/asm-blackfin/mach-bf533/portmux.h |2 +- 2 files changed, 24

[PATCH 07/10] Blackfin SPI driver: Add SPI master controller platform device 1

2007-10-11 Thread Bryan Wu
From: Sonic Zhang <[EMAIL PROTECTED]> Signed-off-by: Sonic Zhang <[EMAIL PROTECTED]> Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- drivers/spi/spi_bfin5xx.c | 52 ++-- 1 files changed, 31 insertions(+), 21 deletions(-) diff --git a/drivers/spi/spi_bfin

[PATCH 08/10] Blackfin SPI driver: Move GPIO config to setup and cleanup

2007-10-11 Thread Bryan Wu
From: Sonic Zhang <[EMAIL PROTECTED]> Signed-off-by: Sonic Zhang <[EMAIL PROTECTED]> Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- drivers/spi/spi_bfin5xx.c | 52 +++- 1 files changed, 27 insertions(+), 25 deletions(-) diff --git a/drivers/spi/spi_bfin

[PATCH 09/10] Blackfin SPI driver: Fix SPI driver to work with SPI flash ST25P16 on bf548

2007-10-11 Thread Bryan Wu
From: Sonic Zhang <[EMAIL PROTECTED]> Current SPI driver enables SPI controller and set the SPI baud register for each SPI transfer. But, they should never be changed within a SPI message session, in which seveal SPI transfers are pumped. This patch move move SPI setting to the begining of a messa

[PATCH 10/10] Blackfin SPI driver: Clean up useless wait in bfin SPI driver

2007-10-11 Thread Bryan Wu
From: Sonic Zhang <[EMAIL PROTECTED]> Signed-off-by: Sonic Zhang <[EMAIL PROTECTED]> Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- drivers/spi/spi_bfin5xx.c | 84 - 1 files changed, 52 insertions(+), 32 deletions(-) diff --git a/drivers/spi/spi_bfi

[PATCH 06/10] Blackfin SPI driver: update spi driver to support multi-ports

2007-10-11 Thread Bryan Wu
update spi driver to support multi-ports by add platform_resource, tested on STAMP537+SPI_MMC, other boards need more testing Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- drivers/spi/spi_bfin5xx.c | 124 ++--- 1 files changed, 83 insertions(+), 41 delet

[PATCH 05/10] Blackfin SPI driver: prevent people from setting bits in ctl_reg

2007-10-11 Thread Bryan Wu
From: Mike Frysinger <[EMAIL PROTECTED]> Prevent people from setting bits in ctl_reg that the SPI framework already handles, hopefully we can one day drop ctl_reg completely Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]> Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- drivers/spi/spi_bfin5xx.

[PATCH 04/10] Blackfin SPI driver: Blackfin SPI driver does not respect the per-transfer cs_change field

2007-10-11 Thread Bryan Wu
Add cs_active/cs_deactive functions and try to catch the cs_change flag. Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- drivers/spi/spi_bfin5xx.c | 76 - 1 files changed, 54 insertions(+), 22 deletions(-) diff --git a/drivers/spi/spi_bfin5xx.c b/dri

[PATCH 01/10] Blackfin SPI driver: Initial supporting BF54x in SPI driver

2007-10-11 Thread Bryan Wu
- support BF54x SPI0 - clean up some code - will support multiports in the future Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- drivers/spi/spi_bfin5xx.c | 130 +++ include/asm-blackfin/mach-bf548/defBF54x_base.h | 17 +++ 2 files changed, 80 inse

[PATCH 03/10] Blackfin SPI driver: add error handing

2007-10-11 Thread Bryan Wu
- add error handling in SPI bus driver with selecting clients - use proper defines to access Blackfin MMRs - remove useless SSYNCs Signed-off-by: Michael Hennerich <[EMAIL PROTECTED]> Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- drivers/spi/spi_bfin5xx.c | 107 +++--

[PATCH 00/10] Blackfin SPI driver updates for 2.6.24

2007-10-11 Thread Bryan Wu
- add BF54x support - add multi SPI ports support - fixup some bugs - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.o

Re: 2.6.23 spinlock hang in kswapd under heavy disk write loads

2007-10-11 Thread Nick Piggin
On Friday 12 October 2007 02:23, Mr. Berkley Shands wrote: > With DEBUG_SLAB on, I can run only a very short time under 2.6.23 > before a kernel panic. > > [ 626.028180] eth0: too many iterations (6) in nv_nic_irq. > [ 626.167583] eth0: too many iterations (6) in nv_nic_irq. > [ 626.206729] eth0

Re: [PATCH 1/9] Blackfin SPI driver: use new GPIO API and add error handling

2007-10-11 Thread Bryan Wu
On Thu, 2007-10-11 at 14:46 -0700, David Brownell wrote: > On Thursday 11 October 2007, Bryan Wu wrote: > > @@ -1182,12 +1198,9 @@ static int __init bfin5xx_spi_probe(struct > > platform_device *pdev) > > return -ENOMEM; > > } > > > > - if (peripheral_request(P_SPI0

Re: [GIT PULL] please pull infiniband.git for-linus

2007-10-11 Thread Linus Torvalds
On Thu, 11 Oct 2007, David Miller wrote: > > Even if you're confident there won't be merge issues, could you just > wait for the net-2.6 stuff to go in first? I pulled the net stuff first, and merged the IB stuff afterwards. No conflicts in IB, but there *were* conflicts with the networking pu

Re: [PATCH 1/2] bug.h: Introduce HAVE_ARCH_WARN

2007-10-11 Thread Paul Mundt
On Thu, Oct 11, 2007 at 12:12:11PM -0500, Olof Johansson wrote: > HAVE_ARCH_WARN is used to determine if an arch already has a __WARN() > macro, or if a generic one is needed. > > With this, some of the arch-specific WARN_ON() implementations can be > made common instead (see follow-up patch for p

Re: [PATCH] Reserve N process to root

2007-10-11 Thread Kyle Moffett
Please don't trim CC lists On Oct 11, 2007, at 17:02:37, Al Boldi wrote: David Newall wrote: [EMAIL PROTECTED] wrote: What David meant was that "root will always have a slot" doesn't *actually* help unless you *also* have a way to actually *spawn* such a process. In order to do the ps, kil

[PATCH 1/2] [V3] Replace NT_PRXFPREG with ELF_CORE_XFPREG_TYPE #define

2007-10-11 Thread Mark Nelson
Replace NT_PRXFPREG with ELF_CORE_XFPREG_TYPE in the coredump code which allows for more flexibility in the note type for the state of 'extended floating point' implementations in coredumps. New note types can now be added with an appropriate #define. This does #define ELF_CORE_XFPREG_TYPE to be

Re: [ofa-general] Re: [GIT PULL] please pull infiniband.git for-linus

2007-10-11 Thread David Miller
From: Roland Dreier <[EMAIL PROTECTED]> Date: Thu, 11 Oct 2007 19:21:06 -0700 > I'm not sure what you mean. During the 2.6.23 cycle I've been sending > any patches that potentially could conflict with the net-2.6 tree to > you and Jeff so that you can merge them upstream via your tree. Or do > y

Re: [PATCH 1/2] [V2] Replace NT_PRXFPREG with ELF_CORE_XFPREG_TYPE #define

2007-10-11 Thread Mark Nelson
Sorry for the patch noise but please disregard this patch - a line is longer than 80 characters and I'd hate to be brought up on that... V3 will be the perfect version then :) Thanks and apologies again! Mark. Mark Nelson wrote: > Replace NT_PRXFPREG with ELF_CORE_XFPREG_TYPE in the coredump

Re: [PATCH 2/2] powerpc: Switch to generic WARN_ON()/BUG_ON()

2007-10-11 Thread Olof Johansson
On Thu, Oct 11, 2007 at 10:04:19PM -0400, Kyle McMartin wrote: > On Fri, Oct 12, 2007 at 11:23:39AM +1000, Paul Mackerras wrote: > > Olof Johansson writes: > > > > > Not using the ppc-specific WARN_ON/BUG_ON constructs actually saves about > > > 4K text on a ppc64_defconfig. The main reason seems

Re: [PATCH 2/2] powerpc: Switch to generic WARN_ON()/BUG_ON()

2007-10-11 Thread Olof Johansson
On Fri, Oct 12, 2007 at 11:23:39AM +1000, Paul Mackerras wrote: > Olof Johansson writes: > > > Not using the ppc-specific WARN_ON/BUG_ON constructs actually saves about > > 4K text on a ppc64_defconfig. The main reason seems to be that prepping > > the arguments to the conditional trap instruction

[Patch 002/002] Create/delete kmem_cache_node for SLUB on memory online callback

2007-10-11 Thread Yasunori Goto
This is to make kmem_cache_nodes of all SLUBs for new node when memory-hotadd is called. This fixes panic due to access NULL pointer at discard_slab() after memory hot-add. If pages on the new node available, slub can use it before making new kmem_cache_nodes. So, this callback should be called

Re: [PATCH] __do_softirq() loop cleanup

2007-10-11 Thread Steven Rostedt
On Wed, Oct 10, 2007 at 02:16:19PM +0200, Johannes Weiner wrote: > Hi, > > This changes __do_softirq() to use a C looping construct instead of > simulating one by means of goto. > > Signed-off-by: Johannes Weiner <[EMAIL PROTECTED]> > I've read over the logic three times and it seems to keep wi

[Patch 001/002] extract kmem_cache_shrink

2007-10-11 Thread Yasunori Goto
Make kmem_cache_shrink_node() for callback routine of memory hotplug notifier. This is just extract a part of kmem_cache_shrink(). Signed-off-by: Yasunori Goto <[EMAIL PROTECTED]> --- mm/slub.c | 111 ++ 1 file changed, 61 insertions(+

[Patch 000/002] Make kmem_cache_node for SLUB on memory online to avoid panic(take 2)

2007-10-11 Thread Yasunori Goto
This patch set is to fix panic due to access NULL pointer of SLUB. When new memory is hot-added on the new node (or memory less node), kmem_cache_node for the new node is not prepared, and panic occurs by it. So, kmem_cache_node should be created for the node before new memory is available on the

[Patch 002/002] rearrange patch for notifier of memory hotplug

2007-10-11 Thread Yasunori Goto
Current memory notifier has some defects yet. (Fortunately, nothing uses it.) This patch is to fix and rearrange for them. - Add information of start_pfn, nr_pages, and node id if node status is changes from/to memoryless node for callback functions. Callbacks can't do anything without

[Patch 001/002] Make description of memory hotplug notifier in document

2007-10-11 Thread Yasunori Goto
Add description about event notification callback routine to the document. Signed-off-by: Yasunori Goto <[EMAIL PROTECTED]> --- Documentation/memory-hotplug.txt | 56 --- 1 file changed, 53 insertions(+), 3 deletions(-) Index: current/Documentation/memory-

Re: [ofa-general] Re: [GIT PULL] please pull infiniband.git for-linus

2007-10-11 Thread Roland Dreier
> > This will get the batch of changes queued up for the 2.6.24 merge > > window (although I still have a few more things to merge later, once > > Dave Miller's networking tree has landed too): > > Roland are you absolutely sure this won't create merge conflicts with > my 8MB net-2.6 merge,

[Patch 000/002] Rearrange notifier of memory hotplug

2007-10-11 Thread Yasunori Goto
Hello. This patch set is to rearrange event notifier for memory hotplug, because the old notifier has some defects. For example, there is no information like new memory's pfn and # of pages for callback functions. Fortunately, nothing uses this notifier so far, there is no impact by this change.

[PATCH 1/2] [V2] Replace NT_PRXFPREG with ELF_CORE_XFPREG_TYPE #define

2007-10-11 Thread Mark Nelson
Replace NT_PRXFPREG with ELF_CORE_XFPREG_TYPE in the coredump code which allows for more flexibility in the note type for the state of 'extended floating point' implementations in coredumps. New note types can now be added with an appropriate #define. This does #define ELF_CORE_XFPREG_TYPE to be

Re: gigabit ethernet power consumption

2007-10-11 Thread Bodo Eggert
Kok, Auke <[EMAIL PROTECTED]> wrote: > K.Prasad wrote: >> Without the side-effect of experiencing a link-flap when switching to a >> lower-speed (with its toll in terms of down-time for auto-negotiation, >> STP, etc), the Interrupt Moderation Algorithm dynamically adjusts the >> number of interrup

Re: [GIT PULL] kbuild updates

2007-10-11 Thread Linus Torvalds
On Wed, 10 Oct 2007, Sam Ravnborg wrote: > > This set of commits are the kbuild stuff that does not > conflict with the pending x86 merge. Hmm. It does for me, actually. I fixed up the trivial conflict in the main Makefile, but that seems to leave $(ARCH) entirely undefined in my case, so the

2.6.23-rt1

2007-10-11 Thread Steven Rostedt
We are pleased to announce the 2.6.23-rt1 tree, which can be downloaded from the location: http://www.kernel.org/pub/linux/kernel/projects/rt/ Changes since 2.6.23-rc9-rt2 - updated to 2.6.23 - spin_trylock_irqsave macro fix (Sébastien Dugué) - move rcu_preempt_boost init earlier (Steve

Re: [PATCH 2/2] powerpc: Switch to generic WARN_ON()/BUG_ON()

2007-10-11 Thread Kyle McMartin
On Fri, Oct 12, 2007 at 11:23:39AM +1000, Paul Mackerras wrote: > Olof Johansson writes: > > > Not using the ppc-specific WARN_ON/BUG_ON constructs actually saves about > > 4K text on a ppc64_defconfig. The main reason seems to be that prepping > > the arguments to the conditional trap instruction

Re: Linux 2.6.23

2007-10-11 Thread Nick Piggin
On Wednesday 10 October 2007 20:14, Ingo Molnar wrote: > * Nicholas Miell <[EMAIL PROTECTED]> wrote: > > Does CFS still generate the following sysbench graphs with 2.6.23, or > > did that get fixed? > > > > http://people.freebsd.org/~kris/scaling/linux-pgsql.png > > http://people.freebsd.org/~kris/

Re: [patch 1/2] Replace NT_PRXFPREG with ELF_CORE_XFPREG_TYPE #define

2007-10-11 Thread Mark Nelson
Kumar Gala wrote: > > On Oct 11, 2007, at 2:15 AM, [EMAIL PROTECTED] wrote: > >> Replace NT_PRXFPREG with ELF_CORE_XFPREG_TYPE in the coredump code which >> allows for more flexibility in the note type for the state of 'extended >> floating point' implementations in coredumps. New note types can

Re: [PATCH 2/2] powerpc: Switch to generic WARN_ON()/BUG_ON()

2007-10-11 Thread Paul Mackerras
Olof Johansson writes: > Not using the ppc-specific WARN_ON/BUG_ON constructs actually saves about > 4K text on a ppc64_defconfig. The main reason seems to be that prepping > the arguments to the conditional trap instructions is more work than > just doing a compare and branch. It might be more i

Re: [PATCH] task containersv11 add tasks file interface fix for cpusets

2007-10-11 Thread Paul Jackson
> Since we know that the tasks are not running, and that we have > exclusive access to the tasks in the control group we can take action > as if we were the actual tasks themselves. Which should simplify > locking. The Big Kernel Lock (BKL), born again, as a Medium Sized Cgroup Lock ? This only

Re: [GIT PULL] please pull infiniband.git for-linus

2007-10-11 Thread David Miller
From: Roland Dreier <[EMAIL PROTECTED]> Date: Thu, 11 Oct 2007 18:08:52 -0700 > This will get the batch of changes queued up for the 2.6.24 merge > window (although I still have a few more things to merge later, once > Dave Miller's networking tree has landed too): Roland are you absolutely sure

[GIT PULL] please pull infiniband.git for-linus

2007-10-11 Thread Roland Dreier
Linus, please pull from master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This tree is also available from kernel.org mirrors at: git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This will get the batch of changes queued up for the

Re: [PATCH net-2.6.24] remove bogus qeth type check

2007-10-11 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Thu, 11 Oct 2007 17:52:24 -0700 > On Thu, 11 Oct 2007 17:24:54 -0700 (PDT) > David Miller <[EMAIL PROTECTED]> wrote: > > > With the way you set up headerops in the driver, the only way > > to preserve the ARPHRD_IEEE802_TR guard, is to keep the >

Re: [PATCH net-2.6.24] remove bogus qeth type check

2007-10-11 Thread Stephen Hemminger
On Thu, 11 Oct 2007 17:24:54 -0700 (PDT) David Miller <[EMAIL PROTECTED]> wrote: > From: Stephen Hemminger <[EMAIL PROTECTED]> > Date: Thu, 11 Oct 2007 13:24:58 -0700 > > > Not sure why this crept in with hard-header-ops change. > > Just kill it. Need to start doing cross-compiles for s390... > >

Re: msync(2) bug(?), returns AOP_WRITEPAGE_ACTIVATE to userland

2007-10-11 Thread Hugh Dickins
On Thu, 11 Oct 2007, Ryan Finnie wrote: > On 10/11/07, Andrew Morton <[EMAIL PROTECTED]> wrote: > > shit. That's a nasty bug. Really userspace should be testing for -1, but > > the msync() library function should only ever return 0 or -1. > > > > Does this fix it? > > > > --- a/mm/page-writeback.

Re: kernel panic when loading built-in E1000's driver.

2007-10-11 Thread Dafu
Thank you for your reply. As the commonsense, what is the difference between module and built-in driver? As I know, cleanup function of built-in driver will not be called. What is the other difference? Thanks! Dafu On 10/10/07, Jiri Kosina <[EMAIL PROTECTED]> wrote: > On Wed, 10 Oct 2007, Dafu

Re: [PATCH net-2.6.24] remove bogus qeth type check

2007-10-11 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Thu, 11 Oct 2007 13:24:58 -0700 > Not sure why this crept in with hard-header-ops change. > Just kill it. Need to start doing cross-compiles for s390... > > Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> > > --- a/drivers/s390/net/qeth_main

Re: Scsi on sparc build break in 2.6.23.

2007-10-11 Thread Randy Dunlap
On Fri, 12 Oct 2007 01:56:59 +0200 Adrian Bunk wrote: > On Thu, Oct 11, 2007 at 05:37:30PM -0500, Rob Landley wrote: > > On Thursday 11 October 2007 10:21:49 am Adrian Bunk wrote: > > > I assume you have the full .config in your build directory, and could > > > have taken it from there? > > > > A

Re: solved: 2.6.23 && fglrx && s2ram

2007-10-11 Thread Adrian Bunk
On Fri, Oct 12, 2007 at 01:49:07AM +0200, Michael Leun wrote: > On Fri, 12 Oct 2007 01:31:17 +0200 > "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > On Friday, 12 October 2007 00:07, Michael Leun wrote: > > > Hello, > > > > > > (please, don't blame me for using the binary only d

Re: Invalid PnP ACPI reserved MMIO areas on Supermicro boards

2007-10-11 Thread Robert Hancock
Len Brown wrote: On Tuesday 09 October 2007 20:01, Robert Hancock wrote: Some people with certain Supermicro boards (at least the H8DCE, it seems) have reported that the sata_nv driver fails to attach to some of the controllers due to resource conflicts: https://bugzilla.redhat.com/show_bug.c

Re: Scsi on sparc build break in 2.6.23.

2007-10-11 Thread Adrian Bunk
On Thu, Oct 11, 2007 at 05:37:30PM -0500, Rob Landley wrote: > On Thursday 11 October 2007 10:21:49 am Adrian Bunk wrote: > > I assume you have the full .config in your build directory, and could > > have taken it from there? > > Actually I don't. (The extracted source tree is in a temporary dire

Re: [PATCH] Add Documentation/RCU/00-Index

2007-10-11 Thread Paul E. McKenney
On Thu, Oct 11, 2007 at 06:23:27PM -0500, Rob Landley wrote: > From: Rob Landley <[EMAIL PROTECTED]> > > Add Documentation/RCU/00-INDEX Good addition!!! Acked-by: Paul E. McKenney <[EMAIL PROTECTED]> > Signed-off-by: Rob Landley <[EMAIL PROTECTED]> > --- > > Documentation/RCU/00-INDEX | 22

Re: solved: 2.6.23 && fglrx && s2ram

2007-10-11 Thread Michael Leun
On Fri, 12 Oct 2007 01:31:17 +0200 "Rafael J. Wysocki" <[EMAIL PROTECTED]> wrote: > Hi, > > On Friday, 12 October 2007 00:07, Michael Leun wrote: > > Hello, > > > > (please, don't blame me for using the binary only driver, I will > > happily switch to a open source one once it properly runs mpla

[patch] modpost problem when symbols move from one module to another

2007-10-11 Thread Trent Piepho
The v4l-dvb tree recently renamed a module and this caused some problems with modpost creating incorrect module dependencies. This patch fixes that problem. It should be explained thoroughly in the patch description.modpost: Fix problem with out of date Module.symvers When part of build an exter

  1   2   3   4   >