when I use kgdb debugging kernel, I have added the "kgdbwait" to the kernel boot options, bug the system can't stop at booting for my gdb to connect

2015-01-09 Thread sizel
when I use kgdb debugging kernel, I have added the "kgdbwait" to the kernel boot options, bug the system can't stop at booting for my gdb to connect In gdb session , type continue . It outputs "The program is not run"___ Kernelnewbies mailing list Kern

Fwd: Question about kernel interfaces

2015-01-09 Thread Siddhartha De
Hi , Dear Kernel Newbies , I have had some discussions regarding this on the IRC but I thought it would be a better idea to post it to the mailing list as well just in case someone came up with any ideas/comments/suggestions later PS :- I am marking a copy to the main linux-kernel lis

Forward-porting

2015-01-09 Thread Matwey V. Kornilov
Hi. I hope this is right place to ask question on SubmittingPatches. I would like to ask how correctly give the credits in the patch when I do forward-porting. There is some downstream kernel git where support of the some ARM board is implemented for 3.12. What I did was to take dts, adopted it f

Re: Help needed to implement parameter in SCHED_DEADLINE policy

2015-01-09 Thread Henrik Austad
On Fri, Dec 26, 2014 at 09:14:22PM +0530, Chanchal Paul wrote: > Hi all, Hi Paul, > I am trying to implement my custom scheduling policy in rt patched > linux kernel. I am working with version 3.14.25-rt22. I have > successfully installed the kernel after patching with rt patch of same > version.

Re: How to understand the function of pskb_may_pull()?

2015-01-09 Thread Alberto Leiva
The code that handles the reception of a packet, before reaching the IP stack, runs in interrupt context (page 180 of http://it-ebooks.info/book/2195/). Interrupt context is a magical world where you work under serious pressure (http://www.makelinux.net/books/lkd2/ch06lev1sec5). Allocating memory

Re: Query regarding a IIO consumer touchscreen driver

2015-01-09 Thread Greg KH
On Fri, Jan 09, 2015 at 05:02:14PM +0530, Sanchayan Maity wrote: > Hello, > > I have been working on a IIO consumer touchscreen driver. On one of our > Vybrid modules we use the ADC channels for > the touchscreen. I ported an earlier driver in the 3.0 kernel done by my > colleague to the recent

Re: Fwd: Question about kernel interfaces

2015-01-09 Thread Valdis . Kletnieks
On Fri, 09 Jan 2015 18:00:07 +0530, Siddhartha De said: > In what timeframe should we migrate to "pure" sysfs and drop using > any ioctls (if a sysfs interface exists)? Pretty much the answer is "you don't", for the wsame reason that there's still a lot of non-process stuff in /proc - there's no

Fwd: Question about kernel interfaces

2015-01-09 Thread Siddhartha De
Looks like the last message bounced ... Thanks , Kernel Newbie :) -- Forwarded message -- From: Siddhartha De Date: Fri, Jan 9, 2015 at 5:50 PM Subject: Fwd: Question about kernel interfaces To: linux-kernel , Siddhartha De , kernelnewbies@kernelnewbies.org Hi , Dear Kern

Query regarding a IIO consumer touchscreen driver

2015-01-09 Thread Sanchayan Maity
Hello, I have been working on a IIO consumer touchscreen driver. On one of our Vybrid modules we use the ADC channels for the touchscreen. I ported an earlier driver in the 3.0 kernel done by my colleague to the recent 3.18/19 kernel to use the IIO based consumer interface. The touchscreen driv

Re: Paging - can i know the last owner(pid) of a given page?

2015-01-09 Thread Valdis . Kletnieks
On Thu, 08 Jan 2015 18:09:19 +0900, manty kuma said: > Suppose, I have a kernel virtual address. Can I know which is the process > that last used this address? In general, no. First off, there's no good definition of "used" - if an address is pointing to (for instance) the inode for /dev/null, w