Re: Port Newer Kernel to Android Device

2015-02-22 Thread Valdis . Kletnieks
On Sat, 21 Feb 2015 23:52:06 -0500, nick said: Greetings Fellow Kernel Developers, I was wondering if there is any way to port a newer kernel to my device without breaking the android user space. Yes. There is a way. pgpzS9yZaZKc6.pgp Description: PGP signature

Re: Kernelnewbies Digest, Vol 51, Issue 31

2015-02-22 Thread souri abdel
2015-02-21 17:00 GMT+00:00 kernelnewbies-requ...@kernelnewbies.org: Send Kernelnewbies mailing list submissions to kernelnewbies@kernelnewbies.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies or, via

Re: Port Newer Kernel to Android Device

2015-02-22 Thread Nicholas Krause
Validis, If that is the case , would you mind telling me how to do it. Thanks, Nick On February 22, 2015 8:04:15 AM EST, valdis.kletni...@vt.edu wrote: On Sat, 21 Feb 2015 23:52:06 -0500, nick said: Greetings Fellow Kernel Developers, I was wondering if there is any way to port a newer

Re: Port Newer Kernel to Android Device

2015-02-22 Thread Nicholas Krause
Validis, That was my concern. How much forward porting is required. Nick On February 22, 2015 12:46:04 PM EST, valdis.kletni...@vt.edu wrote: On Sun, 22 Feb 2015 08:40:59 -0500, Nicholas Krause said: Validis, If that is the case , would you mind telling me how to do it. Step 1: Get good

Re: Port Newer Kernel to Android Device

2015-02-22 Thread Valdis . Kletnieks
On Sun, 22 Feb 2015 08:40:59 -0500, Nicholas Krause said: Validis, If that is the case , would you mind telling me how to do it. Step 1: Get good enough at kernel hacking to forward-port all the Android-specific patches. Those should be available to you from Samsung as they are GPL. Step 2:

Re: Port Newer Kernel to Android Device

2015-02-22 Thread Valdis . Kletnieks
On Sun, 22 Feb 2015 20:02:14 -0500, nick said: This is just a idea for now I haven't have the idea to look at making the porting patch(es) yet. Then it really doesn't matter how long it will take, because it's not likely to actually happen. So why you bothering to ask? pgpAmvwShZCA0.pgp

Identify true error value for kernel API's like kmalloc() and ioremap()

2015-02-22 Thread manty kuma
Hi How to check for the error values for kernel API's like kmalloc() and ioremap(). If the call fails, the return value is NULL. So, how do I know what caused the failure? I have looked at examples in the kernel code. They are returning a hard-coded value of -ENOMEM if kmalloc() fails. Is there

Re: Identify true error value for kernel API's like kmalloc() and ioremap()

2015-02-22 Thread Valdis . Kletnieks
On Mon, 23 Feb 2015 15:37:52 +0900, manty kuma said: If the call fails, the return value is NULL. So, how do I know what caused the failure? I have looked at examples in the kernel code. They are returning a hard-coded value of -ENOMEM if kmalloc() fails. Well.. say you call kmalloc() and it

Re: Port Newer Kernel to Android Device

2015-02-22 Thread nick
On 2015-02-22 07:55 PM, valdis.kletni...@vt.edu wrote: On Sun, 22 Feb 2015 13:19:40 -0500, Nicholas Krause said: Validis, That was my concern. How much forward porting is required. That will depend on your actual skill level. That which is a long weekend's work for a master kernel

Re: Port Newer Kernel to Android Device

2015-02-22 Thread Valdis . Kletnieks
On Sun, 22 Feb 2015 13:19:40 -0500, Nicholas Krause said: Validis, That was my concern. How much forward porting is required. That will depend on your actual skill level. That which is a long weekend's work for a master kernel hacker will be several week's work for a journeyman, a summer's