Re: [RFA][PATCH 17/27] tile: ftrace: Remove check of obsolete variable function_trace_stop

2014-06-26 Thread Steven Rostedt
On Thu, 26 Jun 2014 12:52:38 -0400 Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > Nothing sets function_trace_stop to disable function tracing anymore. > Remove the check for it in the arch code. > > [ Please test this on your arch ] >From the cover letter (you were not Cc'd

[PATCH] HID: roccat: Drop cast

2014-06-26 Thread Himangi Saraogi
This patch removes the cast on data of type void* as it is not needed. The following Coccinelle semantic patch was used for making the change: @r@ expression x; void* e; type T; identifier f; @@ ( *((T *)e) | ((T *)x)[...] | ((T *)x)->f | - (T *) e ) Signed-off-by: Himangi Saraogi

Re: [PATCH v2 0/2] block,scsi: fixup blk_get_request dead queue scenarios

2014-06-26 Thread Jeff Moyer
Jens Axboe writes: > On 2014-06-26 10:08, Jeff Moyer wrote: >> Joe Lawrence writes: >> >>> v1->v2: incorporate Jeff's feedback in bsg_map_hdr() and Reviewed-by >>> tags. >>> >>> Joe Lawrence (2): >>>block,scsi: verify return pointer from blk_get_request >>>block,scsi: convert

[PATCH 1/1] drivers/usb/host/fhci-dbg.c: remove unnecessary null test before debugfs_remove

2014-06-26 Thread Fabian Frederick
This fixes checkpatch warning: "WARNING: debugfs_remove(NULL) is safe this check is probably not required" Cc: Greg Kroah-Hartman Cc: linux-...@vger.kernel.org Signed-off-by: Fabian Frederick --- drivers/usb/host/fhci-dbg.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff

[PATCH 1/1] kernel/gcov/fs.c: remove unnecessary null test before debugfs_remove

2014-06-26 Thread Fabian Frederick
This fixes checkpatch warning: "WARNING: debugfs_remove(NULL) is safe this check is probably not required" Cc: Peter Oberparleiter Cc: Andrew Morton Signed-off-by: Fabian Frederick --- kernel/gcov/fs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/gcov/fs.c

Re: [PATCH] RFC: Add signal command to trace events

2014-06-26 Thread Oleg Nesterov
On 06/26, Steven Rostedt wrote: > > On Thu, 26 Jun 2014 18:29:43 +0200 > Oleg Nesterov wrote: > > > On 06/26, Steven Rostedt wrote: > > > > > > [ Added Oleg who is the guru of signals ;-) ] > > > > Thanks, > > > > I didn't see the patch, so I can only guess what it does, > > > > I didn't crop the

[GIT PULL] Block changes for 3.16-rc

2014-06-26 Thread Jens Axboe
Hi Linus, A small collection of fixes/changes for the current series. The pull request contains: - Removal of dead code from Gu Zheng. - Revert of two bad fixes that went in earlier in this round, marking things as __init that were not purely used from init. - A fix for

[PATCH 1/1] kernel/trace/trace.c: remove unnecessary null test before debugfs_remove

2014-06-26 Thread Fabian Frederick
This fixes checkpatch warning: "WARNING: debugfs_remove(NULL) is safe this check is probably not required" Cc: Steven Rostedt Cc: Frederic Weisbecker Signed-off-by: Fabian Frederick --- kernel/trace/trace.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH 1/1] fs/dlm/debug_fs.c: remove unnecessary null test before debugfs_remove

2014-06-26 Thread Fabian Frederick
This fixes checkpatch warning: "WARNING: debugfs_remove(NULL) is safe this check is probably not required" Cc: Christine Caulfield Cc: cluster-de...@redhat.com Cc: Andrew Morton Signed-off-by: Fabian Frederick --- fs/dlm/debug_fs.c | 15 +-- 1 file changed, 5 insertions(+), 10

[PATCH v3] scsi: bnx2i: bnx2i_iscsi.c: Fix variable which was set to the wrong value

2014-06-26 Thread Rickard Strandqvist
After some discussion, all agreed that the previous value was incorrect. Signed-off-by: Rickard Strandqvist --- drivers/scsi/bnx2i/bnx2i_iscsi.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/bnx2i/bnx2i_iscsi.c b/drivers/scsi/bnx2i/bnx2i_iscsi.c index

[RFA][PATCH 02/27] PM / Sleep: Remove ftrace_stop/start() from suspend and hibernate

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" ftrace_stop() and ftrace_start() were added to the suspend and hibernate process because there was some function within the work flow that caused the system to reboot if it was traced. This function has recently been found (restore_processor_state()). Now there's

[RFA][PATCH 00/27] ftrace: Remove ftrace_start/stop() and friends

2014-06-26 Thread Steven Rostedt
* Request for Acks * >From the time I created the use of function_trace_stop, I hated it. There was two reasons to create this, one was to try to lower the function tracing overhead when debugfs file tracing_enable was set to zero (note, tracing_enable no longer exists), the other was a way to

[RFA][PATCH 05/27] ftrace/x86: Add call to ftrace_graph_is_dead() in function graph code

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" ftrace_stop() is going away as it disables parts of function tracing that affects users that should not be affected. But ftrace_graph_stop() is built on ftrace_stop(). Here's another example of killing all of function tracing because something went wrong with

[RFA][PATCH 09/27] powerpc/ftrace: Add call to ftrace_graph_is_dead() in function graph code

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" ftrace_stop() is going away as it disables parts of function tracing that affects users that should not be affected. But ftrace_graph_stop() is built on ftrace_stop(). Here's another example of killing all of function tracing because something went wrong with

[RFA][PATCH 01/27] x86, power, suspend: Annotate restore_processor_state() with notrace

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" ftrace_stop() is used to stop function tracing during suspend and resume which removes a lot of possible debugging opportunities with tracing. The reason was that some function in the resume path was causing a triple fault if it were to be traced. The issue I

[PATCH 1/1] FS/OMFS: block number sanity check during fill_super operation

2014-06-26 Thread Fabian Frederick
This patch defines maximum block number to 2^31. It also converts bitmap_size and array_size to unsigned int in omfs_get_imap. Suggested-By: Linus Torvalds Suggested-By: Bob Copeland Cc: Linus Torvalds Cc: Bob Copeland Cc: Andrew Morton Signed-off-by: Fabian Frederick --- This is untested.

[RFA][PATCH 07/27] MIPS: ftrace: Add call to ftrace_graph_is_dead() in function graph code

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" ftrace_stop() is going away as it disables parts of function tracing that affects users that should not be affected. But ftrace_graph_stop() is built on ftrace_stop(). Here's another example of killing all of function tracing because something went wrong with

[RFA][PATCH 11/27] ftrace-graph: Remove usage of ftrace_stop() in ftrace_graph_stop()

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" All archs now use ftrace_graph_is_dead() to stop function graph tracing. Remove the usage of ftrace_stop() as that is no longer needed. Cc: Frederic Weisbecker Signed-off-by: Steven Rostedt --- kernel/trace/trace_functions_graph.c | 5 - 1 file changed, 5

[RFA][PATCH 06/27] microblaze: ftrace: Add call to ftrace_graph_is_dead() in function graph code

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" ftrace_stop() is going away as it disables parts of function tracing that affects users that should not be affected. But ftrace_graph_stop() is built on ftrace_stop(). Here's another example of killing all of function tracing because something went wrong with

[RFA][PATCH 17/27] tile: ftrace: Remove check of obsolete variable function_trace_stop

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Nothing sets function_trace_stop to disable function tracing anymore. Remove the check for it in the arch code. [ Please test this on your arch ] Cc: Chris Metcalf Signed-off-by: Steven Rostedt --- arch/tile/Kconfig| 1 -

[PATCH 0/1] rcu: uninline rcu_lock_acquire() and rcu_lock_release()

2014-06-26 Thread Oleg Nesterov
Hello, sorry for delay with resend... The patch is simple and the numbers look good (and probably we can do more). But when I re-diffed this change I noticed that rcu_lockdep_assert() has the warn-once semantics, and this patch obviously changes the behaviour. So please ack/nack this part too.

[PATCH 1/1] rcu: uninline rcu_lock_acquire() and rcu_lock_release()

2014-06-26 Thread Oleg Nesterov
Uninline rcu_lock_acquire() and rcu_lock_release() to shrink .text/data. The difference in "size vmlinux" looks good, with CONFIG_DEBUG_LOCK_ALLOC - 5377829 3018320 14757888 23154037 + 5352229 3010160 14757888 23120277 33760 bytes saved. with CONFIG_DEBUG_LOCK_ALLOC +

[RFA][PATCH 18/27] sparc64,ftrace: Remove check of obsolete variable function_trace_stop

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Nothing sets function_trace_stop to disable function tracing anymore. Remove the check for it in the arch code. [ Please test this on your arch ] Cc: David S. Miller Signed-off-by: Steven Rostedt --- arch/sparc/Kconfig | 1 - arch/sparc/lib/mcount.S |

[RFA][PATCH 13/27] ftrace: Do no disable function tracing on enabling function tracing

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" When function tracing is being updated function_trace_stop is set to keep from tracing the updates. This was fine when function tracing was done from stop machine. But it is no longer done that way and this can cause real tracing to be missed. Remove it.

[RFA][PATCH 08/27] parisc: ftrace: Add call to ftrace_graph_is_dead() in function graph code

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" ftrace_stop() is going away as it disables parts of function tracing that affects users that should not be affected. But ftrace_graph_stop() is built on ftrace_stop(). Here's another example of killing all of function tracing because something went wrong with

[RFA][PATCH 12/27] ftrace: Remove ftrace_start/stop()

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" There are no more kernel users of ftrace_stop() and ftrace_start(). Remove them. Signed-off-by: Steven Rostedt --- include/linux/ftrace.h | 28 1 file changed, 28 deletions(-) diff --git a/include/linux/ftrace.h

Re: [PATCH] btrfs compression: reuse recently used workspace

2014-06-26 Thread David Sterba
On Wed, Jun 25, 2014 at 12:00:44AM +0900, Sergey Senozhatsky wrote: > Add compression `workspace' in free_workspace() to > `idle_workspace' list head, instead of tail. So we have > better chances to reuse most recently used `workspace'. > > Signed-off-by: Sergey Senozhatsky Makes sense to me,

[RFA][PATCH 21/27] MIPS: ftrace: Remove check of obsolete variable function_trace_stop

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Nothing sets function_trace_stop to disable function tracing anymore. Remove the check for it in the arch code. [ Please test this on your arch ] Signed-off-by: Steven Rostedt --- arch/mips/Kconfig | 1 - arch/mips/kernel/mcount.S | 7 --- 2 files

[RFA][PATCH 23/27] metag: ftrace: Remove check of obsolete variable function_trace_stop

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Nothing sets function_trace_stop to disable function tracing anymore. Remove the check for it in the arch code. [ Please test this on your arch ] Cc: James Hogan Signed-off-by: Steven Rostedt --- arch/metag/Kconfig | 1 -

[RFA][PATCH 19/27] sh: ftrace: Remove check of obsolete variable function_trace_stop

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Nothing sets function_trace_stop to disable function tracing anymore. Remove the check for it in the arch code. [ Please test this on your arch ] Cc: Matt Fleming Cc: Paul Mundt Signed-off-by: Steven Rostedt --- arch/sh/Kconfig | 1 -

[RFA][PATCH 20/27] parisc: ftrace: Remove check of obsolete variable function_trace_stop

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Nothing sets function_trace_stop to disable function tracing anymore. Remove the check for it in the arch code. Cc: Helge Deller Cc: Kyle McMartin Signed-off-by: Steven Rostedt --- arch/parisc/Kconfig | 1 - arch/parisc/kernel/ftrace.c | 3 --- 2

[RFA][PATCH 16/27] ftrace: x86: Remove check of obsolete variable function_trace_stop

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Nothing sets function_trace_stop to disable function tracing anymore. Remove the check for it in the arch code. Cc: H. Peter Anvin Signed-off-by: Steven Rostedt --- arch/x86/Kconfig| 1 - arch/x86/kernel/entry_32.S | 9 -

[RFA][PATCH 22/27] microblaze: ftrace: Remove check of obsolete variable function_trace_stop

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Nothing sets function_trace_stop to disable function tracing anymore. Remove the check for it in the arch code. [ Please test this on your arch ] Cc: Michal Simek Signed-off-by: Steven Rostedt --- arch/microblaze/Kconfig | 1 -

[RFA][PATCH 27/27] tracing: Remove function_trace_stop and HAVE_FUNCTION_TRACE_MCOUNT_TEST

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" All users of function_trace_stop and HAVE_FUNCTION_TRACE_MCOUNT_TEST have been removed. We can safely remove them from the kernel. Signed-off-by: Steven Rostedt --- include/linux/ftrace.h | 2 -- kernel/trace/Kconfig | 5 - kernel/trace/ftrace.c | 3 ---

[RFA][PATCH 24/27] Blackfin: ftrace: Remove check of obsolete variable function_trace_stop

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Nothing sets function_trace_stop to disable function tracing anymore. Remove the check for it in the arch code. [ Please test this on your arch ] Cc: Mike Frysinger Signed-off-by: Steven Rostedt --- arch/blackfin/Kconfig | 1 -

[RFA][PATCH 25/27] arm64, ftrace: Remove check of obsolete variable function_trace_stop

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Nothing sets function_trace_stop to disable function tracing anymore. Remove the check for it in the arch code. arm64 was broken anyway, as it had an ifdef testing CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST which is only set if the arch supports the code (which it

[RFA][PATCH 26/27] s390/ftrace: remove check of obsolete variable function_trace_stop

2014-06-26 Thread Steven Rostedt
From: Heiko Carstens Remove check of obsolete variable function_trace_stop as requested by Steven Rostedt. Signed-off-by: Heiko Carstens Signed-off-by: Steven Rostedt --- arch/s390/Kconfig | 1 - arch/s390/kernel/mcount.S | 10 +++--- arch/s390/kernel/mcount64.S | 3 --- 3

[RFA][PATCH 10/27] sh: ftrace: Add call to ftrace_graph_is_dead() in function graph code

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" ftrace_stop() is going away as it disables parts of function tracing that affects users that should not be affected. But ftrace_graph_stop() is built on ftrace_stop(). Here's another example of killing all of function tracing because something went wrong with

[RFA][PATCH 03/27] tracing: Remove ftrace_stop/start() from reading the trace file

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Disabling reading and writing to the trace file should not be able to disable all function tracing callbacks. There's other users today (like kprobes and perf). Reading a trace file should not stop those from happening. Cc: sta...@vger.kernel.org # 3.0+

[RFA][PATCH 14/27] ftrace: Remove function_trace_stop check from list func

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" function_trace_stop is no longer used to stop function tracing. Remove the check from __ftrace_ops_list_func(). Also, call FTRACE_WARN_ON() instead of setting function_trace_stop if a ops has no func to call. Signed-off-by: Steven Rostedt ---

[RFA][PATCH 15/27] ftrace: Remove check for HAVE_FUNCTION_TRACE_MCOUNT_TEST

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" function_trace_stop is no longer used to disable function tracing. This means that archs are no longer limited if it does not support checking this variable in the mcount trampoline. No need to use the list_func for archs that do not support this obsolete

[RFA][PATCH 04/27] ftrace-graph: Remove dependency of ftrace_stop() from ftrace_graph_stop()

2014-06-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" ftrace_stop() is going away as it disables parts of function tracing that affects users that should not be affected. But ftrace_graph_stop() is built on ftrace_stop(). Here's another example of killing all of function tracing because something went wrong with

[PATCH] pinctrl: pinctrl-single.c: Cleaning up wrong format string usage

2014-06-26 Thread Rickard Strandqvist
%d in format string used, but the type is unsigned int This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/pinctrl/pinctrl-single.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] pinctrl: pinctrl-adi2.c: Cleaning up wrong format string usage

2014-06-26 Thread Rickard Strandqvist
%d in format string used, but the type is unsigned int This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/pinctrl/pinctrl-adi2.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-adi2.c

Re: [PATCH 2/3] ARM: DTS: Add NTC thermistor nodes to Exynos5250 based Snow

2014-06-26 Thread Naveen Krishna Ch
Hello Doug and Kukjin, On 26 June 2014 21:16, Doug Anderson wrote: > Naveen, > > On Thu, Jun 26, 2014 at 5:19 AM, Naveen Krishna Chatradhi > wrote: >> Exynos5250 based Snow board has 4 NTC thermistors to measure >> temperatures at various points on the board. >> >> IIO based ADC becomes the

Re: [PATCH 6/6] cfq: Increase default value of target_latency

2014-06-26 Thread Jeff Moyer
Mel Gorman writes: > On Thu, Jun 26, 2014 at 11:36:50AM -0400, Jeff Moyer wrote: >> Right, and I guess I hadn't considered that case as I thought folks used >> more than one spinning disk for such workloads. >> > > They probably are but by and large my IO testing is based on simple > storage.

Re: [PATCH V7 1/6] power: reset: Add generic SYSCON register mapped reset

2014-06-26 Thread Feng Kan
On Wed, Jun 25, 2014 at 6:38 PM, Chen-Yu Tsai wrote: > On Thu, Jun 26, 2014 at 7:03 AM, Feng Kan wrote: >> Add a generic SYSCON register mapped reset mechanism. >> >> Signed-off-by: Feng Kan >> --- >> drivers/power/reset/Kconfig | 6 +++ >> drivers/power/reset/Makefile| 1 +

Re: [PATCH V2 2/2] irqchip: gic: preserve gic V2 bypass bits in cpu ctrl register

2014-06-26 Thread Feng Kan
On Wed, Jun 25, 2014 at 6:05 PM, Thomas Gleixner wrote: > On Wed, 25 Jun 2014, Feng Kan wrote: > >> This change is made to preserve the GIC v2 bypass bits in the >> GIC_CPU_CTRL register (also known as the GICC_CTLR register in spec). >> This code will preserve all bits configured by the

Re: [PATCH] RFC: Add signal command to trace events

2014-06-26 Thread Steven Rostedt
On Thu, 26 Jun 2014 18:29:43 +0200 Oleg Nesterov wrote: > On 06/26, Steven Rostedt wrote: > > > > [ Added Oleg who is the guru of signals ;-) ] > > Thanks, > > I didn't see the patch, so I can only guess what it does, > I didn't crop the patch on my reply. But if you want me to bounce it to

Re: [PATCH] RFC: Add signal command to trace events

2014-06-26 Thread Oleg Nesterov
On 06/26, Oleg Nesterov wrote: > > > > +//ifdef CONFIG_TRACER_SIGNAL > > > +static void > > > +signal_trigger(struct event_trigger_data *data) > > > +{ > > > + force_sig(SIGSTOP, current); > > Well, I don't like this. Imho, it would be nice to avoid signals here. > > And SIGSTOP in particular. It

Re: [RFC PATCH V2] rt/aio: fix rcu garbage collection might_sleep() splat

2014-06-26 Thread Benjamin LaHaise
On Thu, Jun 26, 2014 at 09:37:14AM +0200, Mike Galbraith wrote: > Hi Ben, > > On Wed, 2014-06-25 at 11:24 -0400, Benjamin LaHaise wrote: > > > I finally have some time to look at this patch in detail. I'd rather do > > the > > below variant that does what Kent suggested. Mike, can you

Re: [PATCH 0/3] ARM: DTS: create common dtsi for Peach pit and pi boards

2014-06-26 Thread Naveen Krishna Ch
Hello Javier, On 26 June 2014 20:51, Javier Martinez Canillas wrote: > Hello Naveen, > > On Thu, Jun 26, 2014 at 2:19 PM, Naveen Krishna Chatradhi > wrote: >> This patchset does the following >> 1. Create a common dtsi file cros-exynos-peach.dtsi for >>exynos5420-peach-pit.dts and

Re: [PATCH RESEND] clk: flatten clk tree in debugfs

2014-06-26 Thread Peter De Schrijver
On Fri, Jun 13, 2014 at 10:02:39AM +0200, Peter De Schrijver wrote: > On Fri, May 30, 2014 at 05:03:57PM +0200, Peter De Schrijver wrote: > > This patch flattens the clk tree in CCF debugfs. Instead of representing the > > clocks and their hierarchy as a directory structure under > >

Re: [PATCH] arm: mach-omap2: gpmc: ignore non-available nodes

2014-06-26 Thread Ezequiel García
On 26 Jun 12:02 PM, Guido Martínez wrote: > Currently, child nodes of the gpmc node are iterated and probed > regardless of their 'status' property. This means adding 'status = > "disabled";' has no effect. > > This patch changes the iteration to only probe nodes marked as > available. > >

Re: [PATCH v4 07/14] mfd: Add driver for Maxim 77802 Power Management IC

2014-06-26 Thread Javier Martinez Canillas
Hello Doug, On 06/26/2014 06:29 PM, Doug Anderson wrote: > Javier, > > On Thu, Jun 26, 2014 at 9:18 AM, Javier Martinez Canillas > wrote: >> Hello Doug, >> >> On 06/26/2014 06:12 PM, Doug Anderson wrote: >>> Javier, >>> >>> On Thu, Jun 26, 2014 at 4:13 AM, Javier Martinez Canillas >>> wrote:

Re: [PATCH] RFC: Add signal command to trace events

2014-06-26 Thread Oleg Nesterov
On 06/26, Steven Rostedt wrote: > > [ Added Oleg who is the guru of signals ;-) ] Thanks, I didn't see the patch, so I can only guess what it does, > On Thu, 26 Jun 2014 09:57:21 -0400 > Christopher Covington wrote: > > > This stops a process after an event has been triggered a given > >

Re: [PATCH v4 07/14] mfd: Add driver for Maxim 77802 Power Management IC

2014-06-26 Thread Doug Anderson
Javier, On Thu, Jun 26, 2014 at 9:18 AM, Javier Martinez Canillas wrote: > Hello Doug, > > On 06/26/2014 06:12 PM, Doug Anderson wrote: >> Javier, >> >> On Thu, Jun 26, 2014 at 4:13 AM, Javier Martinez Canillas >> wrote: > + > +#ifdef CONFIG_PM_SLEEP > +static int

[PATCH] trace-cmd: handle NULL comm name in .dat file

2014-06-26 Thread Josef Bacik
Sometimes the comm field in the trace.dat file can be empty which means that the event parsing stuff can pass a NULL into pevent_register_comm. To fix this just check if we are NULL and generate a bogus comm name for that PID. This keeps us from segfaulting. Thanks, Signed-off-by: Josef Bacik

Re: [PATCH 6/6] cfq: Increase default value of target_latency

2014-06-26 Thread Mel Gorman
On Thu, Jun 26, 2014 at 11:36:50AM -0400, Jeff Moyer wrote: > Mel Gorman writes: > > > The existing CFQ default target_latency results in very poor performance > > for larger numbers of threads doing sequential reads. While this can be > > easily described as a tuning problem for users, it is

Re: [PATCH v4 07/14] mfd: Add driver for Maxim 77802 Power Management IC

2014-06-26 Thread Javier Martinez Canillas
Hello Doug, On 06/26/2014 06:12 PM, Doug Anderson wrote: > Javier, > > On Thu, Jun 26, 2014 at 4:13 AM, Javier Martinez Canillas > wrote: + +#ifdef CONFIG_PM_SLEEP +static int max77802_suspend(struct device *dev) +{ +struct i2c_client *i2c = container_of(dev, struct

Re: [PATCH 0/3] drivers: expand usage of request_firmware_direct()

2014-06-26 Thread Takashi Iwai
At Tue, 24 Jun 2014 15:39:40 -0700, Luis R. Rodriguez wrote: > > From: "Luis R. Rodriguez" > > Takashi added request_firmware_direct() via bba3a87e9 through v3.14-rc1 > which avoids the unnecessary delay introduced by using the udev firmware > loader in case the first try failed when loading we

[PATCH] gpio: gpio-ucb1400.c: Cleaning up null pointer checks that could never happen

2014-06-26 Thread Rickard Strandqvist
Removal of null pointer checks that could never happen This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/gpio/gpio-ucb1400.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-ucb1400.c

[PATCH v3 0/5] perf trace pagefaults

2014-06-26 Thread Stanislav Fomichev
This patch series adds support for pagefaults tracing to 'perf trace' command. v3: - added trace format documentation and example - added mode detailed trace when --verbose specified v2: - added more info to the changelogs - reworked options (-f -> -F, --pgfaults -> --pf=[all|min|maj])

[PATCH 2/5] perf trace: add support for pagefault tracing

2014-06-26 Thread Stanislav Fomichev
This patch adds optional pagefault tracing support to 'perf trace'. Using -F/--pf option user can specify whether he wants minor, major or all pagefault events to be traced. This patch adds only live mode, record and replace will come in a separate patch. Example output: 1756272.905 ( 0.000 ms):

[PATCH] gpio: gpio-twl4030.c: Cleaning up null pointer checks that could never happen

2014-06-26 Thread Rickard Strandqvist
Removal of null pointer checks that could never happen This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist --- drivers/gpio/gpio-twl4030.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-twl4030.c

[PATCH 4/5] perf trace: add pagefault statistics

2014-06-26 Thread Stanislav Fomichev
'perf trace' can show summary of events using -S option. This commit also reports number of major/minor pagefault events in this summary. Signed-off-by: Stanislav Fomichev --- tools/perf/builtin-trace.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/tools/perf/builtin-trace.c

[PATCH 1/5] perf trace: add perf_event parameter to tracepoint_handler

2014-06-26 Thread Stanislav Fomichev
It will be used by next pagefault tracing patches in the series. Signed-off-by: Stanislav Fomichev --- tools/perf/builtin-trace.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index

[PATCH 3/5] perf trace: add pagefaults record and replay support

2014-06-26 Thread Stanislav Fomichev
Previous commit added live pagefault trace support, this one adds record and replay support. Signed-off-by: Stanislav Fomichev --- tools/perf/builtin-trace.c | 63 +- 1 file changed, 45 insertions(+), 18 deletions(-) diff --git

[PATCH 5/5] perf trace: add possibility to switch off syscall events

2014-06-26 Thread Stanislav Fomichev
Currently, we may either trace syscalls or syscalls+pagefaults. We'd like to be able to trace *only* pagefaults and this commit implements this feature. Signed-off-by: Stanislav Fomichev --- tools/perf/Documentation/perf-trace.txt | 7 tools/perf/builtin-trace.c | 58

[PATCH 3/4] perf timechart: conditionally update start_time on fork

2014-06-26 Thread Stanislav Fomichev
We don't need to overwrite current task start_time on fork, so update it only if it's zero. Signed-off-by: Stanislav Fomichev --- tools/perf/builtin-timechart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/builtin-timechart.c b/tools/perf/builtin-timechart.c

Re: [PATCH v4 07/14] mfd: Add driver for Maxim 77802 Power Management IC

2014-06-26 Thread Doug Anderson
Javier, On Thu, Jun 26, 2014 at 4:13 AM, Javier Martinez Canillas wrote: >>> + >>> +#ifdef CONFIG_PM_SLEEP >>> +static int max77802_suspend(struct device *dev) >>> +{ >>> +struct i2c_client *i2c = container_of(dev, struct i2c_client, dev); >>> +struct max77802_dev *max77802 =

[PATCH v5 0/4] perf timechart io mode

2014-06-26 Thread Stanislav Fomichev
This patchset adds IO mode: instead of process time we record io syscalls and then draw timechart of writes/reads/tx/rx/polls. v5: - converted consistency check errors to warnings so we can tolerate some perf.data errors - added more info to 'implement IO mode' changelog v4: - another

[PATCH 4/4] perf timechart: add more options to IO mode

2014-06-26 Thread Stanislav Fomichev
--io-skip-eagain - don't show EAGAIN errors --io-min-time- make small io bursts visible --io-merge-dist - merge adjacent events Signed-off-by: Stanislav Fomichev --- tools/perf/Documentation/perf-timechart.txt | 13 + tools/perf/builtin-timechart.c | 75

[PATCH 2/4] perf timechart: implement IO mode

2014-06-26 Thread Stanislav Fomichev
Currently, timechart records only scheduler and CPU events (task switches, running times, CPU power states, etc); this commit adds IO mode which makes it's possible to record IO (disk, network) activity. In this mode perf timechart will generate SVG with IO charts (writes, reads, tx, rx, polls).

[PATCH 1/4] perf timechart: fix rendering in Firefox

2014-06-26 Thread Stanislav Fomichev
Firefox doesn't correctly handle cases where we specify number in quotes and have some padding around the number, like the following: In this case, it doesn't draw the figure. This patch removes 'field width' component from fprintf strings to fix it. Signed-off-by: Stanislav Fomichev ---

Re: [Nouveau] [PATCH v2 2/3] drm/ttm: introduce dma cache sync helpers

2014-06-26 Thread Russell King - ARM Linux
On Thu, Jun 26, 2014 at 11:53:20PM +0900, Alexandre Courbot wrote: > We don't plan to rely on CMA for too long. IOMMU support is on the way > and should make our life easier, although no matter the source of > memory, we will still have the issue of the lowmem mappings. When it comes to DMA

Re: [PATCH v2 0/2] block,scsi: fixup blk_get_request dead queue scenarios

2014-06-26 Thread Jens Axboe
On 2014-06-26 10:08, Jeff Moyer wrote: Joe Lawrence writes: v1->v2: incorporate Jeff's feedback in bsg_map_hdr() and Reviewed-by tags. Joe Lawrence (2): block,scsi: verify return pointer from blk_get_request block,scsi: convert and handle ERR_PTR from blk_get_request Jens,

Re: [PATCH 2/3] ARM: dts: Update the parent for Audss clocks in Exynos5420

2014-06-26 Thread Kevin Hilman
Tushar Behera writes: > On Thu, Jun 26, 2014 at 4:51 AM, Kevin Hilman wrote: >> Doug Anderson writes: >> >>> Tushar, >>> >>> On Tue, Jun 10, 2014 at 10:32 PM, Tushar Behera >>> wrote: Currently CLK_FOUT_EPLL was set as one of the parents of AUDSS mux. As per the user manual, it

Re: [PATCH v2 0/2] block,scsi: fixup blk_get_request dead queue scenarios

2014-06-26 Thread Jeff Moyer
Joe Lawrence writes: > v1->v2: incorporate Jeff's feedback in bsg_map_hdr() and Reviewed-by > tags. > > Joe Lawrence (2): > block,scsi: verify return pointer from blk_get_request > block,scsi: convert and handle ERR_PTR from blk_get_request Jens, Can you pick this series up? It

[PATCH v4 2/6] clk: sunxi: move "ahb_sdram" to protected clock list

2014-06-26 Thread Chen-Yu Tsai
With sunxi_gates clocks registered with clkdev, we can use the protected clocks list to enable the "ahb_sdram" clock, instead of looking for it and adding CLK_IGNORE_UNUSED inline in the clock setup code. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard --- drivers/clk/sunxi/clk-sunxi.c | 8

Re: [PATCH] x86: numa: setup_node_data(): drop dead code and rename function

2014-06-26 Thread Rik van Riel
On 06/26/2014 11:05 AM, Luiz Capitulino wrote: > On Thu, 26 Jun 2014 10:51:11 -0400 > Rik van Riel wrote: > > On 06/19/2014 10:20 PM, Luiz Capitulino wrote: > @@ -523,8 +508,17 @@ static int __init numa_register_memblks(struct numa_meminfo *mi) end = max(mi->blk[i].end, end); }

Re: [PATCH] clk: tegra: export clock names for debugging

2014-06-26 Thread Stephen Warren
On 06/26/2014 09:48 AM, Peter De Schrijver wrote: > When writing a module for testing or debugging purposes, there is no way to > get hold of clk handles. This patch solves this by exposing all valid clocks > as clkdev's for the virtual device tegra-clk-debug. This is to support clk_get_sys()? I

[PATCH v4 3/6] clk: sunxi: Support factor clocks with N factor starting not from 0

2014-06-26 Thread Chen-Yu Tsai
The PLLs on newer Allwinner SoC's, such as the A31 and A23, have a N multiplier factor that starts from 1, not 0. This patch adds an option to the factor clk driver's config data structures to specify the base value of N. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard ---

[PATCH v4 0/6] clk: sunxi: fixes, cleanups and A23 basic clocks

2014-06-26 Thread Chen-Yu Tsai
Hi everyone, This is v4 of the sun8i clock series, which adds basic clock support for the A23 SoC. It is based on my initial sun8i bring up series [1]. This series was split up from the original A23 series [2]. Yet to come are more clocks, reset controllers, prcm, pinctrl, and mmc. The first

[PATCH v4 5/6] clk: sunxi: Add A23 clocks support

2014-06-26 Thread Chen-Yu Tsai
The clock control unit on the A23 is similar to the one found on the A31. The AHB1, APB1, APB2 gates on the A23 are almost identical to the ones on the A31, but some outputs are missing. The main CPU PLL (PLL1) however is like that on older Allwinner SoCs, such as the A10 or A20, but the N

Re: [RFC] CMA page migration failure due to buffers on bh_lru

2014-06-26 Thread Michal Nazarewicz
On Tue, Jun 24 2014, Gioh Kim wrote: > Hello, > > I am trying to apply CMA feature for my platform. > My kernel version, 3.10.x, is not allocating memory from CMA area so that I > applied > a Joonsoo Kim's patch (https://lkml.org/lkml/2014/5/28/64). > Now my platform can use CMA area

RE: linux-next: Tree for Jun 26 (crypto/qat)

2014-06-26 Thread Allan, Bruce W
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Randy Dunlap > Sent: Thursday, June 26, 2014 8:05 AM > To: Stephen Rothwell; linux-n...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; qat-linux > Subject: Re:

[PATCH v4 4/6] clk: sunxi: Add support for table-based divider clocks

2014-06-26 Thread Chen-Yu Tsai
A few of the clock modules have odd dividers, such as the 2 lowest dividers being the same (2), or have the same divider when the highest bit is set. This patch adds support for optional divider tables, so the clock framework will know about the odd values. Signed-off-by: Chen-Yu Tsai Acked-by:

[PATCH v4 1/6] clk: sunxi: register clock gates with clkdev

2014-06-26 Thread Chen-Yu Tsai
The new important clock protect code requires the clocks be registered with clkdev. This was missing for sunxi_gates type clocks. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard --- drivers/clk/sunxi/clk-sunxi.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v4 6/6] ARM: sun8i: Add basic clock nodes to the DTSI

2014-06-26 Thread Chen-Yu Tsai
Now that we have support for sun8i specific clocks in the driver, add the corresponding clock nodes to the DTSI. Also update the existing peripherals with the correct clocks. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a23.dtsi | 125 +-- 1 file

Re: [PATCH v2] clk: tegra124: init table updates

2014-06-26 Thread Stephen Warren
On 06/26/2014 09:26 AM, Peter De Schrijver wrote: > Ensure some clocks critical for system operation are always on. Also enable > csite for JTAG debugging and set the tsensor clock frequency for the upcoming > soctherm driver. Acked-by: Stephen Warren -- To unsubscribe from this list: send the

[PATCH] clk: tegra: export clock names for debugging

2014-06-26 Thread Peter De Schrijver
When writing a module for testing or debugging purposes, there is no way to get hold of clk handles. This patch solves this by exposing all valid clocks as clkdev's for the virtual device tegra-clk-debug. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk.c |6 ++ 1 files

Re: [PATCH 2/3] ARM: DTS: Add NTC thermistor nodes to Exynos5250 based Snow

2014-06-26 Thread Doug Anderson
Naveen, On Thu, Jun 26, 2014 at 5:19 AM, Naveen Krishna Chatradhi wrote: > Exynos5250 based Snow board has 4 NTC thermistors to measure > temperatures at various points on the board. > > IIO based ADC becomes the parent and NTC thermistors are the childs, > via the HWMON interface. > >

Re: [tip:perf/core] perf script/python: Print array argument as string

2014-06-26 Thread Sebastian Andrzej Siewior
On 06/12/2014 02:01 PM, tip-bot for Namhyung Kim wrote: > Commit-ID: e646fe730a324098a718f1c9b2f349efb99d5457 > Gitweb: http://git.kernel.org/tip/e646fe730a324098a718f1c9b2f349efb99d5457 > Author: Namhyung Kim > AuthorDate: Thu, 29 May 2014 13:44:55 +0900 > Committer: Jiri Olsa >

Re: [PATCH 6/6] cfq: Increase default value of target_latency

2014-06-26 Thread Jeff Moyer
Mel Gorman writes: > The existing CFQ default target_latency results in very poor performance > for larger numbers of threads doing sequential reads. While this can be > easily described as a tuning problem for users, it is one that is tricky > to detect. This patch updates the default to

Re: [regression] fix 32-bit breakage in block device read(2) (was Re: 32-bit bug in iovec iterator changes)

2014-06-26 Thread Bruno Wolff III
On Mon, Jun 23, 2014 at 08:44:40 +0100, Al Viro wrote: blkdev_read_iter() wants to cap the iov_iter by the amount of data remaining to the end of device. That's what iov_iter_truncate() is for (trim iter->count if it's above the given limit). So far, so good, but the argument of

[PATCH v2] clk: tegra124: init table updates

2014-06-26 Thread Peter De Schrijver
Ensure some clocks critical for system operation are always on. Also enable csite for JTAG debugging and set the tsensor clock frequency for the upcoming soctherm driver. Signed-off-by: Peter De Schrijver --- Changes in v2: * Fix missing word in description * Add hclk and pclk clocks ---

Re: [PATCH 0/3] ARM: DTS: create common dtsi for Peach pit and pi boards

2014-06-26 Thread Javier Martinez Canillas
Hello Naveen, On Thu, Jun 26, 2014 at 2:19 PM, Naveen Krishna Chatradhi wrote: > This patchset does the following > 1. Create a common dtsi file cros-exynos-peach.dtsi for >exynos5420-peach-pit.dts and exynos5800-peach-pi.dts There was some previous discussion in this list about what's the

Re: mm: shm: hang in shmem_fallocate

2014-06-26 Thread Vlastimil Babka
On 06/26/2014 11:14 AM, Vlastimil Babka wrote: On 06/26/2014 12:36 AM, Hugh Dickins wrote: On Tue, 24 Jun 2014, Vlastimil Babka wrote: On 06/16/2014 04:29 AM, Hugh Dickins wrote: On Thu, 12 Jun 2014, Sasha Levin wrote: On 02/09/2014 08:41 PM, Sasha Levin wrote: On 02/08/2014 10:25 PM, Hugh

Re: [PATCH] RFC: Add signal command to trace events

2014-06-26 Thread Steven Rostedt
[ Added Oleg who is the guru of signals ;-) ] On Thu, 26 Jun 2014 09:57:21 -0400 Christopher Covington wrote: > This stops a process after an event has been triggered a given > number of times. For example: > > [[ -d /sys/kernel/debug/tracing ]] || \ > mount -t debugfs none /sys/kernel/debug

<    1   2   3   4   5   6   7   8   9   10   >