Looking for ARM SoC porting guidelines

2014-11-12 Thread Mike Thompson
I'm working on a port the latest Linux kernel to a Nuvoton N32905 - a very inexpensive ARM9 based SoC similar to the Freescale iMX23 in many respects. My hope is that my code for this SoC will eventually reach the mainline kernel, but the whole process a fairly daunting task to a kernel newbie suc

Re: mapping of inode and file structure in Open System call

2014-11-12 Thread Pranay Srivastava
Hi Lokesh On Wed, Nov 12, 2014 at 6:42 PM, lokesh kumar wrote: > Hi, > > I have a question regarding open systemcall > > "open(dev_name, O_RDWR, 0)"-->userspace > > suppose devname is /dev/my_device > > Now when we look into open file operation, we have prototype > "int (*open) (struct inode

hijacking threads (was Re: How to disable fault-around by debugfs?)

2014-11-12 Thread Valdis . Kletnieks
On Wed, 12 Nov 2014 18:39:08 +0530, lokesh kumar said: > Hi, > Sorry i forgot to change subject line :( Note that for people that use mail software that supports threading, even changing the subject line may not be sufficient - there's another E_mail header. For this note, it says: References: <

mapping of inode and file structure in Open System call

2014-11-12 Thread lokesh kumar
Hi, I have a question regarding open systemcall "open(dev_name, O_RDWR, 0)"-->userspace suppose devname is /dev/my_device Now when we look into open file operation, we have prototype "int (*open) (struct inode *, struct file *);" could anyone tell me how inode and file structure pointer a

Re: How to disable fault-around by debugfs?

2014-11-12 Thread lokesh kumar
Hi, Sorry i forgot to change subject line :( Please ignore previous mail On Wed, Nov 12, 2014 at 6:38 PM, lokesh kumar wrote: > Hi, > > I have a question regarding open systemcall > > "open(dev_name, O_RDWR, 0)"-->userspace > > suppose devname is /dev/my_device > > Now when we look into ope

Re: How to disable fault-around by debugfs?

2014-11-12 Thread lokesh kumar
Hi, I have a question regarding open systemcall "open(dev_name, O_RDWR, 0)"-->userspace suppose devname is /dev/my_device Now when we look into open file operation, we have prototype "int (*open) (struct inode *, struct file *);" could anyone tell me how inode and file structure pointer a

How to disable fault-around by debugfs?

2014-11-12 Thread 秦弋戈
Hi, I'm just the guy who asked a question about the page fault handler days ago. Thanks for telling me about the fault-around feature. You also told me that this feature could be disabled in debugfs, but I still don't know how to achieve it by debugfs. I only know that debugfs is something