Re: How Kernel stack is used in case of different processor mode in ARM architecture?

2014-03-25 Thread Arun KS
Hello Rahul, On Tue, Mar 25, 2014 at 6:29 AM, Rahul Garg rahul.lnm...@gmail.com wrote: As I understand every process have a user stack and kernel stack. True. Apart from that there is a stack for every mode in ARM achitecture. So This is wrong. Only irq, abort and undefined modes have stacks

Re: How Kernel stack is used in case of different processor mode in ARM architecture?

2014-03-25 Thread Arun KS
On Tue, Mar 25, 2014 at 2:58 PM, Arun KS getaru...@gmail.com wrote: Hello Rahul, On Tue, Mar 25, 2014 at 6:29 AM, Rahul Garg rahul.lnm...@gmail.com wrote: As I understand every process have a user stack and kernel stack. True. Apart from that there is a stack for every mode in ARM

Re: Vmalloc Information Needed

2014-03-25 Thread Arun KS
Hello Anup, On Sun, Mar 23, 2014 at 9:54 AM, Anup Buchke anup.est...@gmail.com wrote: For a user/kernel configuration of 3/1GB and (0-16M DMA , 16-896 - Low , 896 - 1024 - High ) Q: Is amount of memory allocated to Vmalloc limited to 128MB? No. 128MB is the default vmalloc size. You can

Re: How Kernel stack is used in case of different processor mode in ARM architecture?

2014-03-25 Thread Rahul Garg
Hi Arun, Lines from Robert Love : Early in the 2.6 kernel process, an option was added to reduce the stack size from two pages down to one, providing only a 4KB stack on 32-bit systems.This reduced memory pressure because every process on the system previously needed two pages of contiguous,

Re: How Kernel stack is used in case of different processor mode in ARM architecture?

2014-03-25 Thread Arun KS
On Tue, Mar 25, 2014 at 4:40 PM, Arun KS getaru...@gmail.com wrote: Hello Rahul, On Tue, Mar 25, 2014 at 4:10 PM, Rahul Garg rahul.lnm...@gmail.com wrote: Hi Arun, Lines from Robert Love : Early in the 2.6 kernel process, an option was added to reduce the stack size from two pages down

Re: How Kernel stack is used in case of different processor mode in ARM architecture?

2014-03-25 Thread Arun KS
Hello Rahul, On Tue, Mar 25, 2014 at 4:10 PM, Rahul Garg rahul.lnm...@gmail.com wrote: Hi Arun, Lines from Robert Love : Early in the 2.6 kernel process, an option was added to reduce the stack size from two pages down to one, providing only a 4KB stack on 32-bit systems.This reduced

Re: Vmalloc Information Needed

2014-03-25 Thread pramod gurav
Hi Arun, On Tue, Mar 25, 2014 at 3:55 PM, Arun KS getaru...@gmail.com wrote: Hello Anup, On Sun, Mar 23, 2014 at 9:54 AM, Anup Buchke anup.est...@gmail.com wrote: For a user/kernel configuration of 3/1GB and (0-16M DMA , 16-896 - Low , 896 - 1024 - High ) Q: Is amount of memory

Re: How Kernel stack is used in case of different processor mode in ARM architecture?

2014-03-25 Thread Rahul Garg
Hi Arun, When I used word nested interrupt, I meant that in my interrupt handler I am enabling interrupts. and about what made you believe we need system mode to support nesting? I asked this question on SO, here is the link for its answer http://stackoverflow.com/a/22500017/769260 And thanks

Re: How Kernel stack is used in case of different processor mode in ARM architecture?

2014-03-25 Thread Arun KS
Hello Rahul, On Tue, Mar 25, 2014 at 5:01 PM, Rahul Garg rahul.lnm...@gmail.com wrote: Hi Arun, When I used word nested interrupt, I meant that in my interrupt handler I am enabling interrupts. and about what made you believe we need system mode to support nesting? I asked this question

Re: Vmalloc Information Needed

2014-03-25 Thread Arun KS
Hi Pramod, On Tue, Mar 25, 2014 at 5:08 PM, pramod gurav pramod.gurav@gmail.com wrote: Hi Arun, On Tue, Mar 25, 2014 at 3:55 PM, Arun KS getaru...@gmail.com wrote: Hello Anup, On Sun, Mar 23, 2014 at 9:54 AM, Anup Buchke anup.est...@gmail.com wrote: For a user/kernel configuration

Re: Managing kernel-updates in rpm

2014-03-25 Thread Greg KH
On Tue, Mar 25, 2014 at 12:54:12PM +0530, Saket Sinha wrote: Hi, We have a rpm which installs a linux kernel driver. Now this driver has some kernel-level dependencies especially Development Tools (kernel-headers etc) such that they depend on running kernel version. I'd ask you first

Re: Managing kernel-updates in rpm

2014-03-25 Thread Saket Sinha
Hi Greg, Please find my response inline- We have a rpm which installs a linux kernel driver. Now this driver has some kernel-level dependencies especially Development Tools (kernel-headers etc) such that they depend on running kernel version. I'd ask you first off, why is your

Re: Managing kernel-updates in rpm

2014-03-25 Thread Valdis . Kletnieks
On Tue, 25 Mar 2014 12:54:12 +0530, Saket Sinha said: Now this is very cumbersome and we plan to replace it with installing a yum plugin through our rpm which allows user to update the kernel level dependencies. dkms is your friend. Look to see how VirtualBox and NVidia use it for their

Re: Managing kernel-updates in rpm

2014-03-25 Thread Valdis . Kletnieks
On Tue, 25 Mar 2014 18:18:35 +0530, Saket Sinha said: Its a proprietary driver so its not meant to be the part of mainline kernel. :( Hey Greg - how long did Linux carry around an entire freaking *architecture* for the Voyager when there were only like 4 systems on the *planet* still in

Re: Managing kernel-updates in rpm

2014-03-25 Thread Greg KH
On Tue, Mar 25, 2014 at 06:18:35PM +0530, Saket Sinha wrote: Hi Greg, Please find my response inline- We have a rpm which installs a linux kernel driver. Now this driver has some kernel-level dependencies especially Development Tools (kernel-headers etc) such that they depend

Re: Managing kernel-updates in rpm

2014-03-25 Thread Greg KH
On Tue, Mar 25, 2014 at 09:32:11AM -0400, valdis.kletni...@vt.edu wrote: On Tue, 25 Mar 2014 18:18:35 +0530, Saket Sinha said: Its a proprietary driver so its not meant to be the part of mainline kernel. :( Hey Greg - how long did Linux carry around an entire freaking *architecture*

regarding ext3 and RDF sesisons

2014-03-25 Thread sham pavman
Hi all, I'm creating a RDF session and using ext3 as my FS type. What i've noticed is that once the synchronization has been initiated between R1 and R2 i am unable to mount the device on R2 site. I always get a Bad superblock error . However if the RDF session is stopped or split then i'm able

Re: Selecting a Linux Kernel Bug

2014-03-25 Thread Greg Freemyer
On March 24, 2014 9:23:01 AM EDT, valdis.kletni...@vt.edu wrote: On Mon, 24 Mar 2014 12:22:58 +0530, sanjeev sharma said: Thanks and Let me subscribe so that I can start working on Bugs. Subscribing to lkml almost guarantees you won't have enough time to actually work on bugs. Note that

[Audio Driver Low power state]

2014-03-25 Thread Gomathi Kumar
Hi all, I am new to kernel work and am trying to understand the low power state of audio driver. I am using ALC262 codec, hda_intel and 3.10 kernel code. In this codec, d3_stop_clk flag is not set. So in the code flow I was able to understand the following. if (!codec-pm_down_notified