Re: PAT support for i386 and x86_64

2007-08-08 Thread Cédric Augonnet
[Apologize for the double-post, messed up with my mailer... ] 2007/8/8, Andi Kleen <[EMAIL PROTECTED]>: > > I don't see why we have to worry about cache corruption in the case at > > hand. Write-combining is needed to map io (typically pci-mem regions) > > which are never mapped cachable

Re: PAT support for i386 and x86_64

2007-08-08 Thread Cédric Augonnet
[Apologize for the double-post, messed up with my mailer... ] 2007/8/8, Andi Kleen [EMAIL PROTECTED]: I don't see why we have to worry about cache corruption in the case at hand. Write-combining is needed to map io (typically pci-mem regions) which are never mapped cachable anywhere,

[PATCH 2/2] PAT support for write combining in pci_mmap_page_range

2007-08-06 Thread Cédric Augonnet
Adds support for write-combining in pci_mmap_page_range using PAT6. Some distinction has to be made between huge pages and normal pages since the position of the bit encoding PAT depends on that. Signed-off-by: Cedric Augonnet <[EMAIL PROTECTED]> CC: Loic Prylli <[EMAIL PROTECTED]> CC: Brice

[PATCH 1/2] PAT setting write combining on PAT6 at boot time

2007-08-06 Thread Cédric Augonnet
This sets PAT6 to write combining during boot on i386 and x86_64 Signed-off-by: Cedric Augonnet <[EMAIL PROTECTED]> CC: Loic Prylli <[EMAIL PROTECTED]> CC: Brice Goglin <[EMAIL PROTECTED]> --- diff -urN 2.6.23-rc2/arch/i386/kernel/cpu/Makefile 2.6.23-rc2-pat/arch/i386/kernel/cpu/Makefile ---

[PATCH 0/2] PAT support for i386 and x86_64

2007-08-06 Thread Cédric Augonnet
Hi all, For quite a while now, there as been numerous attempt to introduce support for Page Attribute Table (PAT) in the Linux kernel, whereas most other OS already have some support for this feature. Such a proposition popping up periodically, perhaps it would be an opportunity to fix that lack

[PATCH 0/2] PAT support for i386 and x86_64

2007-08-06 Thread Cédric Augonnet
Hi all, For quite a while now, there as been numerous attempt to introduce support for Page Attribute Table (PAT) in the Linux kernel, whereas most other OS already have some support for this feature. Such a proposition popping up periodically, perhaps it would be an opportunity to fix that lack

[PATCH 1/2] PAT setting write combining on PAT6 at boot time

2007-08-06 Thread Cédric Augonnet
This sets PAT6 to write combining during boot on i386 and x86_64 Signed-off-by: Cedric Augonnet [EMAIL PROTECTED] CC: Loic Prylli [EMAIL PROTECTED] CC: Brice Goglin [EMAIL PROTECTED] --- diff -urN 2.6.23-rc2/arch/i386/kernel/cpu/Makefile 2.6.23-rc2-pat/arch/i386/kernel/cpu/Makefile ---

[PATCH 2/2] PAT support for write combining in pci_mmap_page_range

2007-08-06 Thread Cédric Augonnet
Adds support for write-combining in pci_mmap_page_range using PAT6. Some distinction has to be made between huge pages and normal pages since the position of the bit encoding PAT depends on that. Signed-off-by: Cedric Augonnet [EMAIL PROTECTED] CC: Loic Prylli [EMAIL PROTECTED] CC: Brice Goglin

Re: voyager_{thread,cat}.c compile warnings

2007-07-22 Thread Cédric Augonnet
2007/7/22, James Bottomley <[EMAIL PROTECTED]>: On Sun, 2007-07-22 at 18:49 -0400, Cédric Augonnet wrote: > iff -urN a/arch/i386/mach-voyager/voyager_cat.c > b/arch/i386/mach-voyager/voyager_cat.c > --- /home/gonnet/tmp/linux-2.6.22/arch/i386/mach-voyager/voyager_cat.c 2

Re: voyager_{thread,cat}.c compile warnings

2007-07-22 Thread Cédric Augonnet
2007/7/22, Cédric Augonnet <[EMAIL PROTECTED]>: Hi, 2007/7/21, Gabriel C <[EMAIL PROTECTED]>: > Hi, > > I noticed this warnings on current git: > > > ... > > arch/i386/mach-voyager/voyager_thread.c: In function 'thread': > arch/i386/mach-voyager/v

Re: voyager_{thread,cat}.c compile warnings

2007-07-22 Thread Cédric Augonnet
Hi, 2007/7/21, Gabriel C <[EMAIL PROTECTED]>: Hi, I noticed this warnings on current git: ... arch/i386/mach-voyager/voyager_thread.c: In function 'thread': arch/i386/mach-voyager/voyager_thread.c:113: warning: no return statement in function returning non-void ... I think return 0; is

Re: voyager_{thread,cat}.c compile warnings

2007-07-22 Thread Cédric Augonnet
Hi, 2007/7/21, Gabriel C [EMAIL PROTECTED]: Hi, I noticed this warnings on current git: ... arch/i386/mach-voyager/voyager_thread.c: In function 'thread': arch/i386/mach-voyager/voyager_thread.c:113: warning: no return statement in function returning non-void ... I think return 0; is

Re: voyager_{thread,cat}.c compile warnings

2007-07-22 Thread Cédric Augonnet
2007/7/22, Cédric Augonnet [EMAIL PROTECTED]: Hi, 2007/7/21, Gabriel C [EMAIL PROTECTED]: Hi, I noticed this warnings on current git: ... arch/i386/mach-voyager/voyager_thread.c: In function 'thread': arch/i386/mach-voyager/voyager_thread.c:113: warning: no return statement

Re: voyager_{thread,cat}.c compile warnings

2007-07-22 Thread Cédric Augonnet
2007/7/22, James Bottomley [EMAIL PROTECTED]: On Sun, 2007-07-22 at 18:49 -0400, Cédric Augonnet wrote: iff -urN a/arch/i386/mach-voyager/voyager_cat.c b/arch/i386/mach-voyager/voyager_cat.c --- /home/gonnet/tmp/linux-2.6.22/arch/i386/mach-voyager/voyager_cat.c 2007-07-20 11:50:17.0

Re: Linux Kernel Story

2007-07-12 Thread Cédric Augonnet
2007/7/12, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: On Thu, Jul 12, 2007 at 11:08:52AM -0300, Renato S. Yamane wrote: > Vijayakumar Subburaj escreveu: > >My first mail to lkml. > > Welcome :-) > > >I would like to know what happened to linux kernel from its 1.0. > > From 1.0 to 2.6.22.1? >

Re: Linux Kernel Story

2007-07-12 Thread Cédric Augonnet
2007/7/12, [EMAIL PROTECTED] [EMAIL PROTECTED]: On Thu, Jul 12, 2007 at 11:08:52AM -0300, Renato S. Yamane wrote: Vijayakumar Subburaj escreveu: My first mail to lkml. Welcome :-) I would like to know what happened to linux kernel from its 1.0. From 1.0 to 2.6.22.1? Wowww I

Re: [EXT4 set 6][PATCH 1/1]Export jbd stats through procfs

2007-07-10 Thread Cédric Augonnet
2007/7/10, Andrew Morton <[EMAIL PROTECTED]>: Hi all, > + size = sizeof(struct transaction_stats_s); > + s->stats = kmalloc(size, GFP_KERNEL); > + if (s == NULL) { > + kfree(s); > + return -EIO; ENOMEM I'm sorry if i missed some point, but i just don't

Re: [EXT4 set 6][PATCH 1/1]Export jbd stats through procfs

2007-07-10 Thread Cédric Augonnet
2007/7/10, Andrew Morton [EMAIL PROTECTED]: Hi all, + size = sizeof(struct transaction_stats_s); + s-stats = kmalloc(size, GFP_KERNEL); + if (s == NULL) { + kfree(s); + return -EIO; ENOMEM I'm sorry if i missed some point, but i just don't see the

Re: 2.6.21-mm2: HDAPS? BUG: at kernel/mutex.c:311

2007-05-26 Thread Cédric Augonnet
2007/5/14, Satyam Sharma <[EMAIL PROTECTED]>: On 5/14/07, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > Hi Satyam, > > On Saturday 12 May 2007 01:45, Satyam Sharma wrote: > > Seems to be good-looking code! > > Thanks. Do you have the hardware? Were you able to test the patch? Oh, sorry, no. I

Re: 2.6.21-mm2: HDAPS? BUG: at kernel/mutex.c:311

2007-05-26 Thread Cédric Augonnet
2007/5/14, Satyam Sharma [EMAIL PROTECTED]: On 5/14/07, Dmitry Torokhov [EMAIL PROTECTED] wrote: Hi Satyam, On Saturday 12 May 2007 01:45, Satyam Sharma wrote: Seems to be good-looking code! Thanks. Do you have the hardware? Were you able to test the patch? Oh, sorry, no. I was actually

Re: + timer_stats-slimmed-down-using-statistics-infrastucture.patch added to -mm tree

2007-05-13 Thread Cédric Augonnet
2007/5/13, Arjan van de Ven <[EMAIL PROTECTED]>: On Fri, 2007-04-20 at 17:18 -0700, [EMAIL PROTECTED] wrote: > The patch titled > timer_stats slimmed down: using statistics infrastucture > has been added to the -mm tree. Its filename is >

Re: + timer_stats-slimmed-down-using-statistics-infrastucture.patch added to -mm tree

2007-05-13 Thread Cédric Augonnet
2007/5/13, Arjan van de Ven [EMAIL PROTECTED]: On Fri, 2007-04-20 at 17:18 -0700, [EMAIL PROTECTED] wrote: The patch titled timer_stats slimmed down: using statistics infrastucture has been added to the -mm tree. Its filename is

Re: 2.6.20-mm1 - Oops using Minix 3 file system

2007-02-18 Thread Cédric Augonnet
2007/2/17, Cédric Augonnet <[EMAIL PROTECTED]>: 2007/2/17, Bill Davidsen <[EMAIL PROTECTED]>: > Cédric Augonnet wrote: That is my all point actually, i am not telling i have a valid partition. I'm just describing the fact that the minix fs driver is making too many assumptions o

Re: 2.6.20-mm1 - Oops using Minix 3 file system

2007-02-18 Thread Cédric Augonnet
2007/2/17, Cédric Augonnet [EMAIL PROTECTED]: 2007/2/17, Bill Davidsen [EMAIL PROTECTED]: Cédric Augonnet wrote: That is my all point actually, i am not telling i have a valid partition. I'm just describing the fact that the minix fs driver is making too many assumptions on the partition

Re: 2.6.20-mm1 - Oops using Minix 3 file system

2007-02-17 Thread Cédric Augonnet
2007/2/17, Bill Davidsen <[EMAIL PROTECTED]>: Cédric Augonnet wrote: > > Hi Daniel, > > On 2.6.20-rc6-mm3 and 2.6.20-mm1, i get an OOPS when using the minix 3 > file system. I enclose the dmesg and the .config to that mail. > > Here are the steps to reproduce this oo

Re: 2.6.20-mm1 - Oops using Minix 3 file system

2007-02-17 Thread Cédric Augonnet
2007/2/17, Daniel Aragonés <[EMAIL PROTECTED]>: On 2/17/07, Cédric Augonnet <[EMAIL PROTECTED]> wrote: > It appears that the trouble is in the count_free of file > fs/minix/bitmap.c . This procedure is actually called twice when we > issue a df command. > The point w

Re: 2.6.20-mm1 - Oops using Minix 3 file system

2007-02-17 Thread Cédric Augonnet
2007/2/17, Daniel Aragonés <[EMAIL PROTECTED]>: Well, a glance at your dmesg doesn' show that a minix partition was recognized. Otherwise it would sow it. So you have not such a partition within your drives. You are using an emulator to run minix. You will have the same problem if you run

Re: 2.6.20-mm1 - Oops using Minix 3 file system

2007-02-17 Thread Cédric Augonnet
2007/2/17, Daniel Aragonés [EMAIL PROTECTED]: Well, a glance at your dmesg doesn' show that a minix partition was recognized. Otherwise it would sow it. So you have not such a partition within your drives. You are using an emulator to run minix. You will have the same problem if you run minix2

Re: 2.6.20-mm1 - Oops using Minix 3 file system

2007-02-17 Thread Cédric Augonnet
2007/2/17, Daniel Aragonés [EMAIL PROTECTED]: On 2/17/07, Cédric Augonnet [EMAIL PROTECTED] wrote: It appears that the trouble is in the count_free of file fs/minix/bitmap.c . This procedure is actually called twice when we issue a df command. The point where things start to get strange

Re: 2.6.20-mm1 - Oops using Minix 3 file system

2007-02-17 Thread Cédric Augonnet
2007/2/17, Bill Davidsen [EMAIL PROTECTED]: Cédric Augonnet wrote: Hi Daniel, On 2.6.20-rc6-mm3 and 2.6.20-mm1, i get an OOPS when using the minix 3 file system. I enclose the dmesg and the .config to that mail. Here are the steps to reproduce this oops (they involve using qemu to run