Re: Use of SCHED_SOFTIRQ

2015-01-28 Thread Vignesh Radhakrishnan
it up 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 wrote: > Hi, > > I was reading LKD by

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

Re: hi about process_backlog()

2014-12-24 Thread Vignesh Radhakrishnan
changed the deletion location from process_backlog to here. Thanks and regards, Vignesh Radhakrishnan On Wed, Dec 24, 2014 at 8:22 AM, lx wrote: > hi : > How to find this commit: > # > Earlier we had deletion in process_backlog itself,

Synchronize_rcu() and synchronize_sched() in _cpu_down path

2014-12-16 Thread Vignesh Radhakrishnan
/synchronize_sched() 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.or

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,

Re: Query on USB related debugging

2014-11-29 Thread Vignesh Radhakrishnan
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 wrote: > Hello, > >

Re: Your editor/IDE settings for autocompletion and other easiness

2014-11-29 Thread Vignesh Radhakrishnan
and regards, Vignesh Radhakrishnan On Mon, Nov 24, 2014 at 9:30 PM, Austin S Hemmelgarn wrote: > On 2014-11-21 22:58, Andrey Utkin wrote: > >> (I was asked to research this topic to help students. So please ignore >> this topic if all you want to say is that it is OK to code in

Re: Not getting printk output

2014-11-29 Thread Vignesh Radhakrishnan
Use pr_info() or pr_err() for getting it printed definitely as suggested. The caveat with pr_debug() is that, messages will only be printed in case you have dynamic debug control for that file enabled.(same goes with printk(KERN_DEBUG ). On Sun, Nov 23, 2014 at 6:49 PM, karthik nayak wrote: >

Sched_clock() usage

2014-11-06 Thread Vignesh Radhakrishnan
Hi, Is there any place where sched_clock() usage might not be safe. Like lets say early in the boot during driver probe ? Or any things that i need to ensure before calling sched_clokc() ? Thanks and regards, Vignesh Radhakrishnan -- http://vigneshradhakrishnan.blogspot.com

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 online

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-08 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 wrote: > On Mon, Jun 9, 2014 at 10:35 AM, Varka Bhadram wrote: >> >>

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 wrote: > On Mon, Jun 2, 2014 at 12:53 PM, Saurabh Jain > wrote: >> >> hello every one ! >> >> I am trying to trace Linux kernel booting process for ARM architectu

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

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 csd_l

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/

Section Mismatch error

2013-07-30 Thread Vignesh Radhakrishnan
Hi, I am facing the following error when i am building the kernel. ERROR: modpost: Found 2 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' To build the kernel despite the mismatches, build with: 'make CONFIG_NO_ERROR_ON_MISMATCH=y' (NOTE: