[PATCH 06/16 v4] pramfs: Inode operations for directories

2010-11-20 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Inode operations for directories. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-2.6.36-orig/fs/pramfs/namei.c linux-2.6.36/fs/pramfs/namei.c --- linux-2.6.36-orig/fs/pramfs/namei.c 1970-01-01 01:00:00.0 +0100

[PATCH 07/16 v4] pramfs: symbolic links

2010-11-20 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Symlink operations. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-2.6.36-orig/fs/pramfs/symlink.c linux-2.6.36/fs/pramfs/symlink.c --- linux-2.6.36-orig/fs/pramfs/symlink.c 1970-01-01 01:00:00.0 +0100

[PATCH 08/16 v4] pramfs: headers

2010-11-20 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Definitions for the PRAMFS filesystem. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-2.6.36-orig/fs/pramfs/pram.h linux-2.6.36/fs/pramfs/pram.h --- linux-2.6.36-orig/fs/pramfs/pram.h 1970-01-01 01:00:00.0

[PATCH 09/16 v4] pramfs: dir operations

2010-11-20 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com File operations for directories. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-2.6.36-orig/fs/pramfs/dir.c linux-2.6.36/fs/pramfs/dir.c --- linux-2.6.36-orig/fs/pramfs/dir.c 1970-01-01 01:00:00.0 +0100

[PATCH 10/16 v4] pramfs: xip operations

2010-11-20 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com XIP operations. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-2.6.36-orig/fs/pramfs/xip.c linux-2.6.36/fs/pramfs/xip.c --- linux-2.6.36-orig/fs/pramfs/xip.c 1970-01-01 01:00:00.0 +0100 +++ linux-2.6.36/fs

[PATCH 11/16 v4] pramfs: ACL management

2010-11-20 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com ACL operations. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-2.6.36-orig/fs/pramfs/acl.c linux-2.6.36/fs/pramfs/acl.c --- linux-2.6.36-orig/fs/pramfs/acl.c 1970-01-01 01:00:00.0 +0100 +++ linux-2.6.36/fs

[PATCH 13/16 v4] pramfs: xattr block descriptors tree

2010-11-20 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Extended attributes block descriptors tree. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-2.6.36-orig/fs/pramfs/desctree.c linux-2.6.36/fs/pramfs/desctree.c --- linux-2.6.36-orig/fs/pramfs/desctree.c 1970-01-01

[PATCH 14/16 v4] pramfs: write protection

2010-11-20 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Memory write protection. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-2.6.36-orig/fs/pramfs/wprotect.c linux-2.6.36/fs/pramfs/wprotect.c --- linux-2.6.36-orig/fs/pramfs/wprotect.c 1970-01-01 01:00:00.0

[PATCH 15/16 v4] pramfs: test module

2010-11-20 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Test module. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-2.6.36-orig/fs/pramfs/pramfs_test.c linux-2.6.36/fs/pramfs/pramfs_test.c --- linux-2.6.36-orig/fs/pramfs/pramfs_test.c 1970-01-01 01:00:00.0

[PATCH 16/16 v4] pramfs: makefile and Kconfig

2010-11-20 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Makefile and Kconfig. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-2.6.36-orig/fs/Makefile linux-2.6.36/fs/Makefile --- linux-2.6.36-orig/fs/Makefile 2010-09-13 01:07:37.0 +0200 +++ linux-2.6.36/fs

Re: [PATCH 04/16 v4] pramfs: file operations

2010-11-24 Thread Marco Stornelli
2010/11/24 Paul Mundt let...@linux-sh.org: On Sat, Nov 20, 2010 at 10:58:40AM +0100, Marco Stornelli wrote: diff -Nurp linux-2.6.36-orig/fs/pramfs/file.c linux-2.6.36/fs/pramfs/file.c --- linux-2.6.36-orig/fs/pramfs/file.c        1970-01-01 01:00:00.0 +0100 +++ linux-2.6.36/fs/pramfs

Re: [PATCH 04/16 v4] pramfs: file operations

2010-11-25 Thread Marco Stornelli
2010/11/24 Paul Mundt let...@linux-sh.org: On Wed, Nov 24, 2010 at 09:11:13AM +0100, Marco Stornelli wrote: 2010/11/24 Paul Mundt let...@linux-sh.org: most of this from ext2, I'm curious why you opted to hardcode this instead of maintaining the flexibility that ext2 XIP has over

[PATCH 00/16 v5] pramfs: persistent and protected RAM filesystem

2010-12-16 Thread Marco Stornelli
Hi all, fifth round for the patch series. I summarize here the changes to improve the review: v5: - removed the changelog from documentation file - added the function pram_check_flags in the file operations - added a check when the user uses XIP and the blocksize is different from page size -

[PATCH 03/16 v5] pramfs: inode operations

2010-12-16 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Inode methods (allocate/free/read/write). Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-2.6.36-orig/fs/pramfs/inode.c linux-2.6.36/fs/pramfs/inode.c --- linux-2.6.36-orig/fs/pramfs/inode.c 1970-01-01 01:00

[PATCH 05/16 v5] pramfs: block allocation

2010-12-16 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Block allocation operations. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-2.6.36-orig/fs/pramfs/balloc.c linux-2.6.36/fs/pramfs/balloc.c --- linux-2.6.36-orig/fs/pramfs/balloc.c1970-01-01 01:00:00.0

[PATCH 12/16 v5] pramfs: extended attributes management

2010-12-16 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Extended attributes operations. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-2.6.36-orig/fs/pramfs/xattr.c linux-2.6.36/fs/pramfs/xattr.c --- linux-2.6.36-orig/fs/pramfs/xattr.c 1970-01-01 01:00:00.0 +0100

[PATCH 16/16 v5] pramfs: Makefile and Kconfig

2010-12-16 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Makefile and Kconfig. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-2.6.36-orig/fs/Makefile linux-2.6.36/fs/Makefile --- linux-2.6.36-orig/fs/Makefile 2010-09-13 01:07:37.0 +0200 +++ linux-2.6.36/fs

[PATCH 14/16 v5] pramfs: memory protection

2010-12-16 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Memory write protection. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-2.6.36-orig/fs/pramfs/wprotect.c linux-2.6.36/fs/pramfs/wprotect.c --- linux-2.6.36-orig/fs/pramfs/wprotect.c 1970-01-01 01:00:00.0

[PATCH 13/16 v5] pramfs: extended attributes block descriptors tree

2010-12-16 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Extended attributes block descriptors tree. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-2.6.36-orig/fs/pramfs/desctree.c linux-2.6.36/fs/pramfs/desctree.c --- linux-2.6.36-orig/fs/pramfs/desctree.c 1970-01-01

[PATCH 06/16 v5] pramfs: inode operations for dirs

2010-12-16 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Inode operations for directories. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-2.6.36-orig/fs/pramfs/namei.c linux-2.6.36/fs/pramfs/namei.c --- linux-2.6.36-orig/fs/pramfs/namei.c 1970-01-01 01:00:00.0 +0100

[PATCH 11/16 v5] pramfs: ACL management

2010-12-16 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com ACL operations. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-2.6.36-orig/fs/pramfs/acl.c linux-2.6.36/fs/pramfs/acl.c --- linux-2.6.36-orig/fs/pramfs/acl.c 1970-01-01 01:00:00.0 +0100 +++ linux-2.6.36/fs

[PATCH 00/17] pramfs: persistent and protected RAM filesystem

2011-01-06 Thread Marco Stornelli
Hi all, after several reviews is time to submit the code for mainline. Thanks to CELF to believe and support actively the project and thanks to Tim Bird. Here the stats: Documentation/filesystems/pramfs.txt | 179 ++ Documentation/filesystems/xip.txt|2 + arch/Kconfig

[PATCH 01/17] pramfs: documentation

2011-01-06 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Documentation for PRAMFS. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff --git a/Documentation/filesystems/pramfs.txt b/Documentation/filesystems/pramfs.txt new file mode 100644 index 000..2ad536f --- /dev/null +++ b

[PATCH 02/17] pramfs: super operations

2011-01-06 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Super block operations. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff --git a/fs/pramfs/super.c b/fs/pramfs/super.c new file mode 100644 index 000..0157b35 --- /dev/null +++ b/fs/pramfs/super.c @@ -0,0 +1,940

[PATCH 03/17] pramfs: inode operations

2011-01-06 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Inode methods (allocate/free/read/write). Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff --git a/fs/pramfs/inode.c b/fs/pramfs/inode.c new file mode 100644 index 000..e5ee072 --- /dev/null +++ b/fs/pramfs/inode.c @@ -0,0

[PATCH 04/17] pramfs: file operations

2011-01-06 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com File operations. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff --git a/fs/pramfs/file.c b/fs/pramfs/file.c new file mode 100644 index 000..05a4af4 --- /dev/null +++ b/fs/pramfs/file.c @@ -0,0 +1,326 @@ +/* + * BRIEF

[PATCH 06/17] pramfs: inode operations for directories

2011-01-06 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Inode operations for directories. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff --git a/fs/pramfs/namei.c b/fs/pramfs/namei.c new file mode 100644 index 000..bedc43a --- /dev/null +++ b/fs/pramfs/namei.c @@ -0,0 +1,371

[PATCH 08/17] pramfs: headers

2011-01-06 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Definitions for the PRAMFS filesystem. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff --git a/fs/pramfs/pram.h b/fs/pramfs/pram.h new file mode 100644 index 000..85169c4 --- /dev/null +++ b/fs/pramfs/pram.h @@ -0,0 +1,269

[PATCH 09/17] pramfs: dir operations

2011-01-06 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com File operations for directories. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff --git a/fs/pramfs/dir.c b/fs/pramfs/dir.c new file mode 100644 index 000..cf0bcba --- /dev/null +++ b/fs/pramfs/dir.c @@ -0,0 +1,208

[PATCH 11/17] pramfs: ACL management

2011-01-06 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com ACL operations. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff --git a/fs/pramfs/acl.c b/fs/pramfs/acl.c new file mode 100644 index 000..53090a5 --- /dev/null +++ b/fs/pramfs/acl.c @@ -0,0 +1,433 @@ +/* + * BRIEF DESCRIPTION

[PATCH 12/17] pramfs: extended attributes

2011-01-06 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Extended attributes operations. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff --git a/fs/pramfs/xattr.c b/fs/pramfs/xattr.c new file mode 100644 index 000..44d158e --- /dev/null +++ b/fs/pramfs/xattr.c @@ -0,0 +1,1104

[PATCH 13/17] pramfs: extended attributes block descriptors tree

2011-01-06 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Extended attributes block descriptors tree. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff --git a/fs/pramfs/desctree.c b/fs/pramfs/desctree.c new file mode 100644 index 000..4508e70 --- /dev/null +++ b/fs/pramfs/desctree.c

[PATCH 14/17] pramfs: memory protection

2011-01-06 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Memory write protection. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff --git a/fs/pramfs/wprotect.c b/fs/pramfs/wprotect.c new file mode 100644 index 000..d0f0508 --- /dev/null +++ b/fs/pramfs/wprotect.c @@ -0,0 +1,41

[PATCH 15/17] pramfs: test module

2011-01-06 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Test module. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff --git a/fs/pramfs/pramfs_test.c b/fs/pramfs/pramfs_test.c new file mode 100644 index 000..24e016f --- /dev/null +++ b/fs/pramfs/pramfs_test.c @@ -0,0 +1,47

Re: [PATCH 00/17] pramfs: persistent and protected RAM filesystem

2011-01-06 Thread Marco Stornelli
Il 06/01/2011 15:03, Peter Zijlstra ha scritto: On Thu, 2011-01-06 at 13:00 +0100, Marco Stornelli wrote: Hi all, after several reviews is time to submit the code for mainline. Thanks to CELF to believe and support actively the project and thanks to Tim Bird. Tony Luck was also playing

Re: [PATCH 00/17] pramfs: persistent and protected RAM filesystem

2011-01-06 Thread Marco Stornelli
Il 06/01/2011 19:22, Luck, Tony ha scritto: Errata corrige: maybe I used the wrong term, I meant volatile instead of temporary information, i.e. I'd like to save this info to re-read it later but I don't want to store it in flash, a simple log, run-time information for debug like a

Re: [PATCH 01/17] pramfs: documentation

2011-01-07 Thread Marco Stornelli
Il 07/01/2011 19:42, Tony Luck ha scritto: On Thu, Jan 6, 2011 at 4:01 AM, Marco Stornelli marco.storne...@gmail.com wrote: +accessed data that must survive system reboots and power cycles. An +example usage might be system logs under /var/log, or a user address +book in a cell phone or PDA

Re: [PATCH 01/17] pramfs: documentation

2011-01-08 Thread Marco Stornelli
On 07/01/2011 22:59, Tony Luck wrote: On Fri, Jan 7, 2011 at 12:30 PM, Marco Stornelli marco.storne...@gmail.com wrote: constraint). About the errors: pramfs does not maintain file data in the page caches for normal file I/O, so no writeback, the read/write operation are done with direct io

Re: [PATCH 01/17] pramfs: documentation

2011-01-10 Thread Marco Stornelli
2011/1/10 Pavel Machek pa...@ucw.cz: On 07/01/2011 22:59, Tony Luck wrote: On Fri, Jan 7, 2011 at 12:30 PM, Marco Stornelli marco.storne...@gmail.com wrote: constraint). About the errors: pramfs does not maintain file data in the page caches for normal file I/O, so no writeback, the read

Re: [PATCH 01/17] pramfs: documentation

2011-01-10 Thread Marco Stornelli
Il 10/01/2011 18:35, Luck, Tony ha scritto: You'd be better running ext2 over special block device, it is quite simple. Marco, You might want to spend some more time answering this question (it is a particularly good one). What are the reasons to use pramfs, rather than a ext2 over a

[PATCH] Kconfig: XIP doesn't depend on block

2011-02-06 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com XIP doesn't depend on block symbol, then we can reorder the Kconfig. For ext2 doesn't change the Kconfig behavior but if other fs will use FS_XIP it won't need to include block support if not needed. Signed-off-by: Marco Stornelli marco.storne

Re: [PATCH] Kconfig: XIP doesn't depend on block

2011-02-06 Thread Marco Stornelli
2011/2/6 Randy Dunlap rdun...@xenotime.net: On Sun, 06 Feb 2011 16:15:00 +0100 Marco Stornelli wrote: From: Marco Stornelli marco.storne...@gmail.com XIP doesn't depend on block symbol, then we can reorder the Kconfig. For ext2 doesn't change the Kconfig behavior but if other fs will use

Re: Super Fast Boot of Embedded Linux: 300 ms from boot loader to shell

2011-04-11 Thread Marco Stornelli
Il 11/04/2011 16:02, Constantine Shulyupin ha scritto: Hello all, Make Linux Software presents the fastest ever embedded Linux boot for 720 MHz ARM and NAND flash memory. Linux boot time is 300 milliseconds from boot loader to shell. The first goal of the project is to achieve a minimal boot

Re: Super Fast Boot of Embedded Linux: 300 ms from boot loader to shell

2011-04-13 Thread Marco Stornelli
Il 13/04/2011 16:53, Constantine Shulyupin ha scritto: Thank you Marco for your feedback. I've added summary of used optimization method: • Reduction of kernel and filesystem size • Kernel features: naked boot, initrd without compression • Optimization of NAND flash interface in boot loader •

Re: Expose system Serial Number to userspace.

2012-08-29 Thread Marco Stornelli
Il 29/08/2012 17:18, Brad Arnold ha scritto: Hi, I'm working on an embedded board which uses u-boot + linux. At manufacturing time, the device serial number will be programmed into OTP memory on NAND (probably from within u-boot). We'd like the linux kernel to make this serial number available

Re: Expose system Serial Number to userspace.

2012-08-29 Thread Marco Stornelli
Il 29/08/2012 18:57, Brad Arnold ha scritto: That'll help me move along. I'm currently storing the mac and serial in the u-boot environment, but I was thinking I might want to move those two to the OTP. But at least having some level of write protection in u-boot is nice. I wasn't aware that

Re: AMP on an SMP system

2013-08-02 Thread Marco Stornelli
Il 02/08/2013 14:13, Michael Schnell ha scritto: On 08/02/2013 01:42 PM, Robert Schwebel wrote: Before hacking around (which might also lead to interesting solutions), I would start using a kernel with preempt-rt support and play with the cpu affinity:

Re: AMP on an SMP system

2013-08-02 Thread Marco Stornelli
Il 02/08/2013 17:24, Michael Schnell ha scritto: On 08/02/2013 04:53 PM, Marco Stornelli wrote: - how to assign an interrupt (e.g. a dedicated timer) to the subsystem ? Interrupt handler are kernel thread, so you can schedule your kernel thread on your normal cpu. Sorry. I don't

Re: AMP on an SMP system

2013-08-02 Thread Marco Stornelli
Il 02/08/2013 18:00, Michael Schnell ha scritto: On 08/02/2013 05:37 PM, Marco Stornelli wrote: I don't know your hw so my consideration are really general. The hardware is not decided yet (it will be some A9 thingy). So for me really general is just fine. ISRs in rt kernel doesn't exist

<    1   2