[PATCH pm-qa] pm-qa: export variables and copy switch file in outdir

2013-06-19 Thread Sanjay Singh Rawat
- Export switch variables from a script file - Update Android.mk to copy the switch file to out directory. Currently switch file is missing in android. Signed-off-by: Sanjay Singh Rawat --- Android.mk | 10 ++ Switches | 11 --- Switches.sh |

[PATCH 1/7] uprobes: move function declarations out of arch

2013-06-19 Thread David Long
It seems odd to keep the function declarations in the arch header where they will need to be copy/pasted verbatim across arches. Move them to the common header. Signed-off-by: Rabin Vincent Signed-off-by: David A. Long --- arch/x86/include/asm/uprobes.h | 7 --- include/linux/uprobes.h

[PATCH 0/7] uprobes: Add uprobes support to ARM

2013-06-19 Thread David Long
This patch series adds basic uprobes support to ARM. It is based on patches developed earlier by Rabin Vincent. That approach of adding special cases into the kprobes instruction parsing code was not well received. This approach separates the ARM instruction parsing code in kprobes out into a

[PATCH 2/7] uprobes: allow ignoring of probe hits

2013-06-19 Thread David Long
Allow arches to decided to ignore a probe hit. ARM will use this to only call handlers if the conditions to execute a conditionally executed instruction are satisfied. Upleveled for v3.10. Signed-off-by: David A. Long --- include/linux/uprobes.h | 1 + kernel/events/uprobes.c | 17 ++

[PATCH 3/7] uprobes: allow arch access to xol slot

2013-06-19 Thread David Long
Allow arches to customize how the instruction is filled into the xol slot. ARM will use this to insert an undefined instruction after the real instruction in order to simulate a single step of the instruction without hardware support. Signed-off-by: Rabin Vincent Signed-off-by: David A. Long -

[PATCH 5/7] uprobes: add arch write opcode hook

2013-06-19 Thread David Long
Allow arches to write the opcode with a custom function. ARM needs to customize the swbp instruction depending on the condition code of the instruction it replaces. Signed-off-by: Rabin Vincent Signed-off-by: David A. Long --- include/linux/uprobes.h | 3 +++ kernel/events/uprobes.c | 16

[PATCH 4/7] uprobes: allow arch-specific initialization

2013-06-19 Thread David Long
Add a weak function for any architecture-specific initialization. ARM will use this to register the handlers for the undefined instructions it uses to implement uprobes. Signed-off-by: Rabin Vincent Signed-off-by: David A. Long --- include/linux/uprobes.h | 1 + kernel/events/uprobes.c | 10 +

[PATCH 7/7] ARM: add uprobes support

2013-06-19 Thread David Long
Using Rabin Vincent's ARM uprobes patches as a base, enable uprobes support on ARM. Caveats: - Thumb is not supported - XOL abort/trap handling is not implemented Signed-off-by: David A. Long --- arch/arm/Kconfig | 4 + arch/arm/include/asm/ptrace.h | 6 + arch/arm

Re: [PATCH V2 5/6] USB: OHCI: make ohci-at91 a separate driver

2013-06-19 Thread Alan Stern
On Wed, 12 Jun 2013, Manjunath Goudar wrote: > Separate the TI OHCI Atmel host controller driver from ohci-hcd > host code so that it can be built as a separate driver module. > This work is part of enabling multi-platform kernels on ARM; > it would be nice to have in 3.11. > > V2: > -Set non-s

Re: [PATCH V2 6/6] USB: OHCI: make ohci-s3c2410 a separate driver

2013-06-19 Thread Alan Stern
On Wed, 12 Jun 2013, Manjunath Goudar wrote: > Separate the Samsung OHCI S3C host controller driver from ohci-hcd > host code so that it can be built as a separate driver module. > This work is part of enabling multi-platform kernels on ARM; > it would be nice to have in 3.11. > > V2: > -Set

Re: Subject: [PATCH 0/7] uprobes: Add uprobes support to ARM

2013-06-19 Thread Naresh Kamboju
Hi Dave, > This patch series adds basic uprobes support to ARM. It is based on patches > developed earlier by Rabin Vincent. That approach of adding special cases > into the kprobes instruction parsing code was not well received. This > approach separates the ARM instruction parsing code in k

Re: [PATCH 0/7] uprobes: Add uprobes support to ARM

2013-06-19 Thread Viresh Kumar
On 20 June 2013 00:41, David Long wrote: > This patch series adds basic uprobes support to ARM. It is based on patches > developed earlier by Rabin Vincent. That approach of adding special cases > into the kprobes instruction parsing code was not well received. This > approach separates the A

Re: [PATCH V2 1/6] USB: OHCI: make ohci-exynos a separate driver

2013-06-19 Thread Jingoo Han
On Thursday, June 13, 2013 12:54 AM, Manjunath Goudar wrote: > > Separate the Samsung OHCI EXYNOS host controller driver from ohci-hcd > host code so that it can be built as a separate driver module. > This work is part of enabling multi-platform kernels on ARM; > it would be nice to have in 3.11

Re: [PATCH V2 1/6] USB: OHCI: make ohci-exynos a separate driver

2013-06-19 Thread Manjunath Goudar
On 20 June 2013 09:40, Jingoo Han wrote: > On Thursday, June 13, 2013 12:54 AM, Manjunath Goudar wrote: > > > > Separate the Samsung OHCI EXYNOS host controller driver from ohci-hcd > > host code so that it can be built as a separate driver module. > > This work is part of enabling multi-platfor