[RFC] pstore-ram: remove superfluous memory size check

2015-02-10 Thread Kiran Raparthy
@vger.kernel.org Signed-off-by: Mark Salyzyn [Kiran: Added Context] Signed-off-by: Kiran Raparthy --- This is one of the number of patches from the Android AOSP common.git tree, which is used on Android devices. I wanted to submit it for review to see if it should go upstream. fs/pstore/ram.c | 9

[RFC] kbuild: make it possible to specify the module output dir

2015-02-09 Thread Kiran Raparthy
-kbu...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: Andrew Morton Cc: Android Kernel Team Signed-off-by: Rom Lemarchand [Kiran: Added context to commit message] Signed-off-by: Kiran Raparthy --- This is one of the number of patches from the Android AOSP common.git tree, which is used on

[RFC v5 - RESEND] debug: prevent entering debug mode on panic/exception.

2015-01-28 Thread Kiran Raparthy
-off-by: Colin Cross [Kiran: Added context to commit message. panic_timeout is used instead of break_on_panic and break_on_exception to honor CONFIG_PANIC_TIMEOUT Modified the commit as per community feedback] Signed-off-by: Kiran Raparthy Reviewed-by: Daniel Thompson --- kernel/debug/debug_core.c

[PATCH] debug: prevent entering debug mode on panic/exception.

2015-01-28 Thread Kiran Raparthy
-off-by: Colin Cross [Kiran: Added context to commit message. panic_timeout is used instead of break_on_panic and break_on_exception to honor CONFIG_PANIC_TIMEOUT Modified the commit as per community feedback] Signed-off-by: Kiran Raparthy Reviewed-by: Daniel Thompson --- PATCH: Upgraded to PATCH

Re: [Kgdb-bugreport] [RFC v5 - RESEND] debug: prevent entering debug mode on panic/exception.

2015-01-28 Thread Kiran Raparthy
On 28 January 2015 at 16:25, Daniel Thompson wrote: > On 28/01/15 10:39, Kiran Raparthy wrote: >> From: Colin Cross >> >> debug: prevent entering debug mode on panic/exception. >> >> On non-developer devices, kgdb prevents the device from rebooting >> af

Re: [RFC 1/2] misc: uidstat: Add uid stat driver to collect network statistics.

2015-01-19 Thread Kiran Raparthy
On 14 January 2015 at 00:04, Greg Kroah-Hartman wrote: > On Tue, Jan 13, 2015 at 04:44:01PM +0530, Kiran Raparthy wrote: >> From: Mike Chan >> >> misc: uidstat: Add uid stat driver to collect network statistics. >> >> To analyze application's network sta

Re: [RFC v5] debug: prevent entering debug mode on panic/exception.

2015-01-19 Thread Kiran Raparthy
On 13 January 2015 at 15:55, Kiran Raparthy wrote: > From: Colin Cross > > debug: prevent entering debug mode on panic/exception. > > On non-developer devices, kgdb prevents the device from rebooting > after a panic. > > Incase of panics and exceptions, to allow the d

[RFC 2/2] net: activity_stats: Add statistics for network transmission activity

2015-01-13 Thread Kiran Raparthy
c: net...@vger.kernel.org Cc: Android Kernel Team Cc: John Stultz Cc: Sumit Semwal Cc: Arve Hj�nnev�g Signed-off-by: Mike Chan [Kiran: Added context to commit message. included build fix from Arve,continued to use uid_t but used covnersion from kuid_t where ever necessary] Signed-off-by: Kiran Raparthy --- d

[RFC 1/2] misc: uidstat: Add uid stat driver to collect network statistics.

2015-01-13 Thread Kiran Raparthy
o use uid_t but used covnersion from kuid_t where ever necessary] Signed-off-by: Kiran Raparthy --- drivers/misc/Kconfig | 7 +++ drivers/misc/Makefile| 1 + drivers/misc/uid_stat.c | 157 +++ include/linux/uid_stat.h | 33 ++ net

Re: [PATCH v3 3/3] usb: phy: hold wakeupsource when USB is enumerated in peripheral mode

2015-01-13 Thread Kiran Raparthy
Hi Felipe, On 1 December 2014 at 11:09, Kiran Raparthy wrote: > Hi Felipe, > > On 25 November 2014 at 20:15, Felipe Balbi wrote: >> On Tue, Nov 25, 2014 at 07:06:18AM +, Peter Chen wrote: >>> >>> > >>> > usb: phy: hold wakeupsource when USB i

[RFC v5] debug: prevent entering debug mode on panic/exception.

2015-01-13 Thread Kiran Raparthy
[Kiran: Added context to commit message. panic_timeout is used instead of break_on_panic and break_on_exception to honor CONFIG_PANIC_TIMEOUT Modified the commit as per community feedback] Signed-off-by: Kiran Raparthy Reviewed-by: Daniel Thompson --- kernel/debug/debug_core.c | 17

Re: [RFC v4] debug: prevent entering debug mode on panic/exception.

2015-01-06 Thread Kiran Raparthy
On 7 January 2015 at 02:47, Andrew Morton wrote: > On Tue, 06 Jan 2015 15:25:51 + Daniel Thompson > wrote: > >> >> To avoid entering the debugger on panic/exception without any extra >> >> configuration, panic_timeout is being used which can be set via >> >> /proc/sys/kernel/panic at run tim

Re: [RFC v4] debug: prevent entering debug mode on panic/exception.

2015-01-05 Thread Kiran Raparthy
Hi Andrew, On 6 January 2015 at 05:44, Andrew Morton wrote: > On Tue, 23 Dec 2014 18:08:29 +0530 Kiran Raparthy > wrote: > >> From: Colin Cross >> >> debug: prevent entering debug mode on panic/exception. >> >> On non-developer devices, kgdb prevents the

[RFC v4] debug: prevent entering debug mode on panic/exception.

2014-12-23 Thread Kiran Raparthy
commit as per community feedback] Signed-off-by: Kiran Raparthy --- kernel/debug/debug_core.c | 17 + 1 file changed, 17 insertions(+) diff --git a/kernel/debug/debug_core.c b/kernel/debug/debug_core.c index 1adf62b..0012a1f 100644 --- a/kernel/debug/debug_core.c +++ b/kernel/debug

Re: [RFC v3] debug: prevent entering debug mode on errors

2014-12-07 Thread Kiran Raparthy
Hi Jason, On 1 December 2014 at 11:32, Kiran Raparthy wrote: > Hi Jason, > > On 27 November 2014 at 15:19, Daniel Thompson > wrote: >> On 26/11/14 17:45, Colin Cross wrote: >>> On Wed, Nov 26, 2014 at 1:14 AM, Kiran Raparthy >>> wrote: >>>> From

Re: [RFC v3] debug: prevent entering debug mode on errors

2014-11-30 Thread Kiran Raparthy
Hi Jason, On 27 November 2014 at 15:19, Daniel Thompson wrote: > On 26/11/14 17:45, Colin Cross wrote: >> On Wed, Nov 26, 2014 at 1:14 AM, Kiran Raparthy >> wrote: >>> From: Colin Cross >>> >>> debug: prevent entering debug mode on errors >

Re: [PATCH v3 3/3] usb: phy: hold wakeupsource when USB is enumerated in peripheral mode

2014-11-30 Thread Kiran Raparthy
Hi Felipe, On 25 November 2014 at 20:15, Felipe Balbi wrote: > On Tue, Nov 25, 2014 at 07:06:18AM +, Peter Chen wrote: >> >> > >> > usb: phy: hold wakeupsource when USB is enumerated in peripheral mode >> > >> > Some systems require a mechanism to prevent system to enter into suspend >> > sta

Re: [RFC v3] debug: prevent entering debug mode on errors

2014-11-26 Thread Kiran Raparthy
On 26 November 2014 at 14:56, Daniel Thompson wrote: > On 26/11/14 09:14, Kiran Raparthy wrote: >> From: Colin Cross >> >> debug: prevent entering debug mode on errors >> >> On non-developer devices kgdb prevents CONFIG_PANIC_TIMEOUT from rebooting >> the

[RFC v3] debug: prevent entering debug mode on errors

2014-11-26 Thread Kiran Raparthy
break_on_panic and break_on_exception to honor CONFIG_PANIC_TIMEOUT] Signed-off-by: Kiran Raparthy --- kernel/debug/debug_core.c | 17 + 1 file changed, 17 insertions(+) diff --git a/kernel/debug/debug_core.c b/kernel/debug/debug_core.c index 1adf62b..0012a1f 100644 --- a/kernel/debug

[PATCH v3 2/3] usb: phy: Handle per-PHY event for connect and disconnect events

2014-11-24 Thread Kiran Raparthy
-...@vger.kernel.org Cc: Android Kernel Team Cc: John Stultz Cc: Sumit Semwal Cc: Arve Hjønnevåg Cc: Benoit Goby [Original patch in Android from Todd] Cc: Todd Poynor Signed-off-by: Kiran Raparthy --- drivers/usb/phy/phy-ab8500-usb.c| 15 +++ drivers/usb/phy/phy-gpio-vbus

[PATCH v3 3/3] usb: phy: hold wakeupsource when USB is enumerated in peripheral mode

2014-11-24 Thread Kiran Raparthy
. Cc: Felipe Balbi Cc: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: Android Kernel Team Cc: John Stultz Cc: Sumit Semwal Cc: Arve Hjønnevåg Cc: Benoit Goby [Original patch in Android from Todd] Cc: Todd Poynor Signed-off-by: Kiran Raparthy --- drivers

[PATCH v3 1/3] usb: phy: introduce usb_phy_set_event interface

2014-11-24 Thread Kiran Raparthy
Team Cc: John Stultz Cc: Sumit Semwal Cc: Arve Hjønnevåg Cc: Benoit Goby [Original patch in Android from Todd] Cc: Todd Poynor Signed-off-by: Kiran Raparthy Signed-off-by: Felipe Balbi --- drivers/usb/phy/phy.c | 12 include/linux/usb/phy.h | 5 + 2 files changed, 17

[PATCH v2 2/3] usb: phy: Handle per-PHY event for connect and disconnect events

2014-11-21 Thread Kiran Raparthy
-...@vger.kernel.org Cc: Android Kernel Team Cc: John Stultz Cc: Sumit Semwal Cc: Arve Hjønnevåg Cc: Benoit Goby [Original patch in Android from Todd] Cc: Todd Poynor Signed-off-by: Kiran Raparthy --- drivers/usb/phy/phy-ab8500-usb.c| 15 +++ drivers/usb/phy/phy-gpio-vbus

[PATCH v2 3/3] usb: phy: hold wakeupsource when USB is enumerated in peripheral mode

2014-11-21 Thread Kiran Raparthy
. Cc: Felipe Balbi Cc: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: Android Kernel Team Cc: John Stultz Cc: Sumit Semwal Cc: Arve Hjønnevåg Cc: Benoit Goby [Original patch in Android from Todd] Cc: Todd Poynor Signed-off-by: Kiran Raparthy --- drivers

[PATCH v2 1/3] usb: phy: introduce usb_phy_set_event interface

2014-11-21 Thread Kiran Raparthy
Team Cc: John Stultz Cc: Sumit Semwal Cc: Arve Hjønnevåg Cc: Benoit Goby [Original patch in Android from Todd] Cc: Todd Poynor Signed-off-by: Kiran Raparthy Signed-off-by: Felipe Balbi --- drivers/usb/phy/phy.c | 12 include/linux/usb/phy.h | 5 + 2 files changed, 17

Re: [PATCH v1 2/3] usb: phy: Handle per-PHY event for connect and disconnect events

2014-11-21 Thread Kiran Raparthy
On 21 November 2014 20:41, Felipe Balbi wrote: > On Fri, Nov 21, 2014 at 11:31:21AM +0530, Kiran Raparthy wrote: >> usb: phy: Handle per-PHY event for connnect and disconnect events >> >> When usb is connected and enumerated in device mode or when usb is >> disconne

[PATCH v1 2/3] usb: phy: Handle per-PHY event for connect and disconnect events

2014-11-20 Thread Kiran Raparthy
-...@vger.kernel.org Cc: Android Kernel Team Cc: John Stultz Cc: Sumit Semwal Cc: Arve Hj�nnev�g Cc: Benoit Goby [Original patch in Android from Todd] Cc: Todd Poynor Signed-off-by: Kiran Raparthy --- drivers/usb/phy/phy-ab8500-usb.c| 15 +++ drivers/usb/phy/phy-gpio-vbus

[PATCH v1 1/3] usb: phy: introduce usb_phy_set_event interface

2014-11-20 Thread Kiran Raparthy
Cc: linux-...@vger.kernel.org Cc: Android Kernel Team Cc: John Stultz Cc: Sumit Semwal Cc: Arve Hj�nnev�g Cc: Benoit Goby [Original patch in Android from Todd] Cc: Todd Poynor Signed-off-by: Kiran Raparthy --- drivers/usb/phy/phy.c | 12 include/linux/usb/phy.h | 5 + 2

[PATCH v1 3/3] usb: phy: hold wakeupsource when USB is enumerated in peripheral mode

2014-11-20 Thread Kiran Raparthy
. Cc: Felipe Balbi Cc: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: Android Kernel Team Cc: John Stultz Cc: Sumit Semwal Cc: Arve Hj�nnev�g Cc: Benoit Goby [Original patch in Android from Todd] Cc: Todd Poynor Signed-off-by: Kiran Raparthy --- drivers

[PATCH v1 0/3] usb: phy: hold wakeupsource on usb phy events

2014-11-20 Thread Kiran Raparthy
peripheral mode and wakeupsource held temporarily on disconnect event(to allow other parts of the system react to disconnect event). PATCH v1: *Author/ownership changed to Kiran Raparthy as per Todd's suggestion. PATCH: * use USB_PHY_DEFAULT_WAKEUP_SRC_TIMEOUT instead of TEMPORARY_HOLD_TIME R

Re: [PATCH 1/3] usb: phy: introduce usb_phy_set_event interface

2014-11-20 Thread Kiran Raparthy
Hi Felipe, On 21 November 2014 01:24, Felipe Balbi wrote: > On Wed, Nov 19, 2014 at 08:36:22AM -0800, Todd Poynor wrote: >> On Wed, Nov 19, 2014 at 2:43 AM, Kiran Kumar Raparthy >> wrote: >> > From: Todd Poynor >> > >> > usb: phy: introduce usb_phy_set_event interface >> >> Hi Kiran, this is new

Re: [RFC] debug: add parameters to prevent entering debug mode on errors

2014-11-20 Thread Kiran Raparthy
Hi, On 20 November 2014 15:04, Daniel Thompson wrote: > On 20/11/14 08:18, Kiran Raparthy wrote: >> Hi Daniel, >> >> On 18 November 2014 22:43, Daniel Thompson >> wrote: >>> On 18/11/14 12:08, Kiran Kumar Raparthy wrote: >>>> From: Colin C

Re: [RFC] debug: add parameters to prevent entering debug mode on errors

2014-11-20 Thread Kiran Raparthy
rnel.org >> Cc: Android Kernel Team >> Cc: John Stultz >> Cc: Sumit Semwal >> Signed-off-by: Colin Cross >> [Kiran: Added context to commit message] >> Signed-off-by: Kiran Raparthy >> --- >> This is one of the number of patches from th

Re: [RFC v6 3/3] usb: phy: hold wakeupsource when USB is enumerated in peripheral mode

2014-11-18 Thread Kiran Raparthy
odd Poynor >> [kiran: Added context to commit message, squished build fixes >> from Benoit Goby and Arve Hjønnevåg, changed wakelocks usage >> to wakeupsource, merged Todd's refactoring logic and simplified >> the structures and code and addressed community feedback] >&

Re: [RFC] serial_core: Add wake_peer uart operation

2014-11-18 Thread Kiran Raparthy
n Stultz >> Cc: Sumit Semwal >> Signed-off-by: San Mehat >> [Kiran: Added context to commit message] >> Signed-off-by: Kiran Raparthy >> --- >> This is one of the number of patches from the Android AOSP common.git tree, >> which is used on almost all A

Re: [RFC v6 0/3] usb: phy: hold wakeupsource on usb phy events.

2014-11-17 Thread Kiran Raparthy
Hi Felipe, Just a gentle reminder. Could you please review/share your comments for the below v6 patches which i sent earlier. [RFC v6 1/3] usb: phy: introduce usb_phy_set_event interface [RFC v6 2/3] usb: phy: handle per-PHY connect and disconnect events [RFC v6 3/3] usb: phy: hold wakeupsource wh

Re: [RFC v5] usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode

2014-11-10 Thread Kiran Raparthy
Hi Felipe, On 10 November 2014 20:56, Felipe Balbi wrote: > Hi, > > On Tue, Nov 04, 2014 at 03:30:54PM +0530, Kiran Kumar Raparthy wrote: >> @@ -1469,6 +1484,7 @@ static int ab8500_usb_probe(struct platform_device >> *pdev) >> >> abx500_usb_link_status_update(ab); >> >> + usb_phy_wsour

Re: [RFC v5] usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode

2014-11-05 Thread Kiran Raparthy
oit Goby >> Signed-off-by: Todd Poynor >> [kiran: Added context to commit message, squished build fixes >> from Benoit Goby and Arve Hjønnevåg, changed wakelocks usage >> to wakeupsource, merged Todd's refactoring logic and simplified >> the structures and code and addr

Re: [RFC v4] usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode

2014-10-30 Thread Kiran Raparthy
HI Felipe, On 27 October 2014 15:06, Kiran Raparthy wrote: > Hi Felipe, > > On 10 October 2014 20:50, Felipe Balbi wrote: >> Hi, >> >> On Fri, Oct 10, 2014 at 11:37:31AM +0530, Kiran Raparthy wrote: >>> Hi Felipe, >>> Thank you very much for taking t

Re: [RFC v4] usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode

2014-10-12 Thread Kiran Raparthy
On 10 October 2014 20:50, Felipe Balbi wrote: > Hi, > > On Fri, Oct 10, 2014 at 11:37:31AM +0530, Kiran Raparthy wrote: >> Hi Felipe, >> Thank you very much for taking time in reviewing the patch. >> I will try to improve the patch as per your suggestions. >> h

Re: [RFC v4] usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode

2014-10-09 Thread Kiran Raparthy
Hi Felipe, Thank you very much for taking time in reviewing the patch. I will try to improve the patch as per your suggestions. however,i have few queries which i wanted to understand from you. On 7 October 2014 19:55, Felipe Balbi wrote: > Hi, > > On Tue, Oct 07, 2014 at 02:45:44PM +0530, Kiran