Re: Use of SCHED_SOFTIRQ

2015-01-28 Thread Vignesh Radhakrishnan
using softirq's. Therefore __schedule() need not be called in this softirq context as such because these are independent operations. Hope this helps. Thanks and regards, Vignesh Radhakrishnan On Wed, Jan 28, 2015 at 10:25 PM, Sreejith M M sreejith...@gmail.com wrote: Hi, I was reading LKD

Re: Help regarding RT kernel on ARM v7

2015-01-13 Thread Vignesh Radhakrishnan
debug_show_all_locks() API inside the stall detection code to see who are holding the read locks and figure out why they are not releasing it 2. Enable RCU_DEBUGGING options from config and get data points from those to see what is happening using ftrace. Thanks and regards, Vignesh Radhakrishnan On Wed, Jan

Synchronize_rcu() and synchronize_sched() in _cpu_down path

2014-12-16 Thread Vignesh Radhakrishnan
() and wait in the cpu_down path while there is no write operations happening here in this code? Thanks and regards, Vignesh Radhakrishnan ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo

Re: ktime_get() equivalent from user space

2014-12-01 Thread Vignesh Radhakrishnan
An alternative that you can consider would be to expose the desired time or value from your driver, using a sysfs entry so that they can be synced to what you are doing in the driver level and user space can read it using 'cat' Thanks and regards, Vignesh Radhakrishnan On Monday, December 1

Re: Query on USB related debugging

2014-11-29 Thread Vignesh Radhakrishnan
that is attained by the particular h/w blocks. Generally during these modes some drivers choose to disable interrupts. Worthwile including dynamic debug on those code pieces as well. Thanks and regards, Vignesh Radhakrishnan On Thu, Nov 27, 2014 at 2:26 PM, Victor Ascroft victorascr...@gmail.com wrote

Diff between various CPU masks

2014-06-26 Thread Vignesh Radhakrishnan
Hi, I was going through the boot up code and came across the following masks . - CPU online mask : The number of CPU's available for getting scheduled on - CPU active mask : The number of CPU's on which some task can be migrated to (not very clear as to the difference between

Re: git merge issues

2014-06-11 Thread Vignesh Radhakrishnan
Hi Raghavendra , AFAIK , you need to solve it manually and do git commit after this. This happens when git tries to resolve it but does know how to solve the same. Git will record the conflict resolution that you have done and in case the same kind of conflict occurs, it will resolve the conflict

Re: Adding new board support

2014-06-09 Thread Vignesh Radhakrishnan
Adding to others If you are working on latest kernel versions, make sure to add Device tree file as well in arch/arm/boot/dts/ Thanks, Vignesh Radhakrishnan On Mon, Jun 9, 2014 at 11:16 AM, Sudip Mukherjee sudipm.mukher...@gmail.com wrote: On Mon, Jun 9, 2014 at 10:35 AM, Varka Bhadram var

Re: head.S

2014-06-02 Thread Vignesh Radhakrishnan
. Thanks and regards, Vignesh Radhakrishnan On Mon, Jun 2, 2014 at 11:32 PM, Augusto Mecking Caringi augustocari...@gmail.com wrote: On Mon, Jun 2, 2014 at 12:53 PM, Saurabh Jain saurabh4768j...@gmail.com wrote: hello every one ! I am trying to trace Linux kernel booting process for ARM

Re: Reset due to emergency remount r/o

2014-03-03 Thread Vignesh Radhakrishnan
Probably , adb reboot bootlooader command from the host to which the device is connected. Thanks and regards, Vignesh Radhakrishnan On Sat, Mar 1, 2014 at 9:56 AM, Subramaniam Appadodharana c.a.subraman...@gmail.com wrote: Seems like an android system and the reboot reason says boot loader

Questions on Call single data (CSD)

2014-01-27 Thread Vignesh Radhakrishnan
Hi, I have couple of questions on Call single data (CSD) . I am going through kernel/smp.c - From what i understand CSD struct is used to run a particular function on a another core (Not sure if i am right ) ? (csd - func) ( in function smp_call_function_many) - What do these

GPIO Muxing

2014-01-21 Thread Vignesh Radhakrishnan
Hi , I have one driver that calls gpio_request and holds on to it. When another driver requests for the same gpio, it failes giving EBUSY. Anyway i can force the gpio request in 2nd driver? Thanks and regards, Vignesh -- http://vigneshradhakrishnan.blogspot.com/