[PATCH 23/24] perf tools: Add support for 32-bit compatibility VDSOs

2014-08-15 Thread Adrian Hunter
'perf record' post-processes the event stream to create a list of build-ids for object files for which sample events have been recorded. That results in those object files being recorded in the build-id cache. In the case of VDSO, perf tools reads it from memory and copies it into a temporary

[PATCH 21/24] perf tools: Add perf-with-kcore script

2014-08-15 Thread Adrian Hunter
Decoding an Intel PT trace of the kernel requires an accurate kernel object image. This is provided by making a copy of kcore. However the copy needs to be made under the same conditions as the original recording, and then it needs to be associated with the perf.data file. The perf-with-kcore

Re: [patch 0/4] prctl: set-mm -- Rework interface, v3

2014-08-15 Thread Cyrill Gorcunov
On Mon, Aug 04, 2014 at 09:22:55PM +0400, Cyrill Gorcunov wrote: > Hi! Here is (I hope) a final version of the series (i've had a typo > in check_data_rlimit helper, thanks serge.hallyn@ for spotting it). > > Please take a look once time permit (and drop previous two verisions > from mbox).

[PATCH 11/24] perf tools: Add a thread stack for synthesizing call chains

2014-08-15 Thread Adrian Hunter
Add a thread stack for synthesizing call chains from call and return events. Signed-off-by: Adrian Hunter --- tools/perf/Makefile.perf | 2 + tools/perf/util/event.h| 26 +++ tools/perf/util/thread-stack.c | 151 +

[PATCH 18/24] perf tools: Add call information to the database export API

2014-08-15 Thread Adrian Hunter
Make it possible for the database export API to use the enhanced thread stack and export detailed information about paired calls and returns. Signed-off-by: Adrian Hunter --- tools/perf/util/db-export.c | 52 - tools/perf/util/db-export.h | 12

[PATCH 10/24] perf session: Add perf_session__deliver_synth_event()

2014-08-15 Thread Adrian Hunter
Add a function to deliver synthesized events from within a session. Signed-off-by: Adrian Hunter --- tools/perf/util/session.c | 14 ++ tools/perf/util/session.h | 5 + 2 files changed, 19 insertions(+) diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index

[PATCH 16/24] perf tools: Add branch_type and in_tx to Python export

2014-08-15 Thread Adrian Hunter
Add branch_type and in_tx to Python db export and the export-to-postgresql.py script. Signed-off-by: Adrian Hunter --- tools/perf/scripts/python/export-to-postgresql.py | 32 ++ .../util/scripting-engines/trace-event-python.c| 30 +++- 2 files changed,

[PATCH 14/24] perf tools: Add Python script to export to postgresql

2014-08-15 Thread Adrian Hunter
Add a Python script to export to a postgresql database. The script requires the Python psycopg2 module. The caller of the script must be able to create postgresql databases. The script takes the database name as a parameter. The database and database tables are created. Data is written to flat

[PATCH 22/24] perf tools: Build programs to copy 32-bit compatibility VDSOs

2014-08-15 Thread Adrian Hunter
perf tools copy VDSO out of memory. However, on 64-bit machines there may be 32-bit compatibility VDOs also. To copy those requires separate 32-bit executables. This patch adds to the build additional programs perf-read-vdso32 and perf-read-vdsox32 for 32-bit and x32 respectively.

Re: [PATCH v7] 8250-core based serial driver for OMAP + DMA

2014-08-15 Thread Sebastian Andrzej Siewior
On 08/15/2014 08:17 PM, Lennart Sorensen wrote: > Are you saying that with the new driver you have to respond to the RX > irq faster than before to avoid overflows? It is not quite clear. Yes. The irq fires 46 bytes giving you 16 bytes buffer before overflow vs 63 bytes buffer the old one had.

[PATCH 24/24] perf tools: Add feature checks to .gitignore

2014-08-15 Thread Adrian Hunter
From: Alexander Shishkin Signed-off-by: Alexander Shishkin --- tools/perf/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/.gitignore b/tools/perf/.gitignore index 717221e..af50829 100644 --- a/tools/perf/.gitignore +++ b/tools/perf/.gitignore @@ -25,3 +25,4 @@

[PATCH 17/24] perf tools: Enhance the thread stack to output call/return data

2014-08-15 Thread Adrian Hunter
Enhance the thread stack to output detailed information about paired calls and returns. Signed-off-by: Adrian Hunter --- tools/perf/util/thread-stack.c | 547 - tools/perf/util/thread-stack.h | 47 2 files changed, 590 insertions(+), 4 deletions(-)

[PATCH 19/24] perf tools: Add call information to Python export

2014-08-15 Thread Adrian Hunter
Add the ability to export detailed information about paired calls and returns to Python db export and the export-to-postgresql.py script. Signed-off-by: Adrian Hunter --- .../scripts/python/bin/export-to-postgresql-report | 15 ++-- tools/perf/scripts/python/export-to-postgresql.py | 66

[PATCH 15/24] perf tools: Add branch type to db export

2014-08-15 Thread Adrian Hunter
Add the ability to export branch types through the database export facility. Signed-off-by: Adrian Hunter --- tools/perf/util/db-export.c | 48 + tools/perf/util/db-export.h | 6 ++ 2 files changed, 54 insertions(+) diff --git

Re: [PATCH] fs: Remove implicit nodev for new mounts in non-root userns

2014-08-15 Thread Andy Lutomirski
On Fri, Aug 15, 2014 at 12:05 PM, Serge Hallyn wrote: > Quoting Andy Lutomirski (l...@amacapital.net): >> Currently, creating a new mount (as opposed to bindmount) in a >> non-root userns will implicitly set nodev unless the fs is devpts. >> Something like this will be necessary for file systems

[PATCH 05/24] perf tools: Let a user specify a PMU event without any config terms

2014-08-15 Thread Adrian Hunter
This enables a PMU event to be specified in the form: pmu// which is effectively the same as: pmu/config=0/ This patch is a precursor to defining default config for a PMU. Signed-off-by: Adrian Hunter --- tools/perf/util/parse-events.c | 6 ++

[PATCH 08/24] perf tools: Add id index

2014-08-15 Thread Adrian Hunter
Add an index of the event identifiers. This is needed to queue Instruction Trace samples according to the mmap buffer from which they were recorded. Signed-off-by: Adrian Hunter --- tools/perf/builtin-inject.c | 1 + tools/perf/util/event.c | 1 + tools/perf/util/event.h | 15

[PATCH 04/24] perf tools: Add machine__kernel_ip()

2014-08-15 Thread Adrian Hunter
Add a function to determine if an address is in the kernel. This is based on the kernel function kernel_ip(). Signed-off-by: Adrian Hunter --- tools/perf/util/event.c | 6 +++--- tools/perf/util/machine.c | 23 +++ tools/perf/util/machine.h | 17 + 3

[PATCH 12/24] perf tools: Add facility to export data in database-friendly way

2014-08-15 Thread Adrian Hunter
This patch introduces an abstraction for exporting sample data in a database-friendly way. The abstraction does not implement the actual output. A subsequent patch takes this facility into use for extending the script interface. The abstraction is needed because static data like symbols, dsos,

Re: [PATCH RFC v4 net-next 17/26] tracing: allow eBPF programs to be attached to events

2014-08-15 Thread Andy Lutomirski
On Fri, Aug 15, 2014 at 12:07 PM, Alexei Starovoitov wrote: > On Fri, Aug 15, 2014 at 11:53 AM, Andy Lutomirski wrote: >> On Fri, Aug 15, 2014 at 10:51 AM, Alexei Starovoitov >> wrote: >>> On Fri, Aug 15, 2014 at 10:25 AM, Andy Lutomirski >>> wrote: On Wed, Aug 13, 2014 at 12:57 AM,

[PATCH 13/24] perf tools: Extend Python script interface to export data in a database-friendly way

2014-08-15 Thread Adrian Hunter
Use the new db_export facility to export data in a database-friendly way. A Python script selects the db_export mode by setting a global variable 'perf_db_export_mode' to True. The script then optionally implements functions to receive table rows. The functions are: evsel_table

[PATCH net-next,v3] hyperv: Increase the buffer length for netvsc_channel_cb()

2014-08-15 Thread Haiyang Zhang
When the buffer is too small for a packet from VMBus, a bigger buffer will be allocated in netvsc_channel_cb() and retry reading the packet from VMBus. Increasing this buffer size will reduce the retry overhead. Signed-off-by: Haiyang Zhang Reviewed-by: Dexuan Cui ---

Re: [PATCH RFC v4 net-next 17/26] tracing: allow eBPF programs to be attached to events

2014-08-15 Thread Andy Lutomirski
On Fri, Aug 15, 2014 at 12:16 PM, Alexei Starovoitov wrote: > On Fri, Aug 15, 2014 at 12:02 PM, Andy Lutomirski wrote: >>> >>> correct. eBPF program would be using 8-byte read on 64-bit kernel >>> and 4-byte read on 32-bit kernel. Same with access to ptrace fields >>> and pretty much all other

[PATCH 09/24] perf pmu: Let pmu's with no events show up on perf list

2014-08-15 Thread Adrian Hunter
perf list only lists PMUs with events. Add a flag to cause a PMU to be also listed separately. Signed-off-by: Adrian Hunter --- tools/perf/util/pmu.c | 13 +++-- tools/perf/util/pmu.h | 1 + 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/tools/perf/util/pmu.c

Re: [PATCH RFC v4 net-next 17/26] tracing: allow eBPF programs to be attached to events

2014-08-15 Thread Alexei Starovoitov
On Fri, Aug 15, 2014 at 12:02 PM, Andy Lutomirski wrote: >> >> correct. eBPF program would be using 8-byte read on 64-bit kernel >> and 4-byte read on 32-bit kernel. Same with access to ptrace fields >> and pretty much all other fields in the kernel. The program will be >> different on different

Re: [PATCH] scsi: Fix qemu boot hang problem

2014-08-15 Thread Christoph Hellwig
On Fri, Aug 15, 2014 at 12:34:22PM -0600, Jens Axboe wrote: > On 2014-08-15 12:22, Guenter Roeck wrote: >> ping ... the problem fixed by this patch still affects the upstream kernel >> (v3.16-11383-gc9d2642) as well as -next (20140815). > > James, could you upstream this

Re: [PATCH] module: Clean up ro/nx after early module load failures

2014-08-15 Thread Rusty Russell
Andy Lutomirski writes: > The commit > > 4982223e51e8 module: set nx before marking module MODULE_STATE_COMING. > > introduced a regression: if a module fails to parse its arguments or > if mod_sysfs_setup fails, then the module's memory will be freed > while still read-only. Anything that

Re: [PATCH] earlyprintk: re-enable earlyprintk calling early_param

2014-08-15 Thread Rusty Russell
kpark3...@gmail.com writes: > From: Sahara > > Although there are many obs_kernel_param and its names are > earlyprintk and also EARLY_PRINTK is also enabled, we could not > see the early_printk output properly until now. This patch > considers earlycon as well as earlyprintk. Hmm, the initial

[PULL] Module fixes

2014-08-15 Thread Rusty Russell
The following changes since commit c9d26423e56ce1ab4d786f92aebecf859d419293: Merge tag 'pm+acpi-3.17-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm (2014-08-14 18:13:46 -0600) are available in the git repository at:

Re: [ANNOUNCE] scsi patch queue tree updated

2014-08-15 Thread Christoph Hellwig
On Thu, Aug 14, 2014 at 10:47:08AM -0700, James Bottomley wrote: > So this is a bit late to get through linux-next and into a pull request. > I was planning on sending the final pull tomorrow (in case Linus planned > a surprise early release). Can we redo some of these as bug fixes and > send

[PATCH] gcc version 5: add basic definition header for latest gcc version

2014-08-15 Thread Paul Gortmaker
in place, what essentially amounts to what will be v3.17-rc1 (in a couple days) builds and boots defconfig on an older Dell dual core box without any oops or WARN or similar: $ cat /proc/version Linux version 3.16.0-11383-gc9d26423e56c (paul@yow-pgortmak-d2) (gcc version 5.0.0 20140815 (experiment

Re: [PATCH] scsi: Fix qemu boot hang problem

2014-08-15 Thread Guenter Roeck
On 08/15/2014 12:22 PM, Christoph Hellwig wrote: On Fri, Aug 15, 2014 at 12:34:22PM -0600, Jens Axboe wrote: On 2014-08-15 12:22, Guenter Roeck wrote: ping ... the problem fixed by this patch still affects the upstream kernel (v3.16-11383-gc9d2642) as well as -next (20140815). James, could

Re: [PATCH] module: Clean up ro/nx after early module load failures

2014-08-15 Thread Andy Lutomirski
On Fri, Aug 15, 2014 at 11:49 AM, Rusty Russell wrote: > Andy Lutomirski writes: >> The commit >> >> 4982223e51e8 module: set nx before marking module MODULE_STATE_COMING. >> >> introduced a regression: if a module fails to parse its arguments or >> if mod_sysfs_setup fails, then the

Re: [PATCH 05/15] tty: serial: Add 8250-core based omap driver

2014-08-15 Thread Sebastian Andrzej Siewior
On 08/15/2014 08:37 PM, Lennart Sorensen wrote: > On Fri, Aug 15, 2014 at 07:42:33PM +0200, Sebastian Andrzej Siewior wrote: >> This patch provides a 8250-core based UART driver for the internal OMAP >> UART. The long term goal is to provide the same functionality as the >> current OMAP uart

Re: [PATCH RFC v4 net-next 17/26] tracing: allow eBPF programs to be attached to events

2014-08-15 Thread Alexei Starovoitov
On Fri, Aug 15, 2014 at 12:20 PM, Andy Lutomirski wrote: >>> >>> I don't think that fixing this should be a prerequisite for merging, >>> since the risk is so small. Nonetheless, it would be nice. (This >>> family of attacks has lead to several root vulnerabilities in the >>> past.) >> >> Ok. I

Re: [PATCH] gcc version 5: add basic definition header for latest gcc version

2014-08-15 Thread Jakub Jelinek
On Fri, Aug 15, 2014 at 03:23:01PM -0400, Paul Gortmaker wrote: > --- /dev/null > +++ b/include/linux/compiler-gcc5.h > @@ -0,0 +1,52 @@ > +#ifndef __LINUX_COMPILER_H > +#error "Please don't include directly, include > instead." > +#endif > + > +#define __used

Re: [ANNOUNCE] scsi patch queue tree updated

2014-08-15 Thread James Bottomley
On Fri, 2014-08-15 at 12:25 -0700, Christoph Hellwig wrote: > On Thu, Aug 14, 2014 at 10:47:08AM -0700, James Bottomley wrote: > > So this is a bit late to get through linux-next and into a pull request. > > I was planning on sending the final pull tomorrow (in case Linus planned > > a surprise

Re: [PATCH RFC v4 net-next 17/26] tracing: allow eBPF programs to be attached to events

2014-08-15 Thread Andy Lutomirski
On Fri, Aug 15, 2014 at 12:29 PM, Alexei Starovoitov wrote: > On Fri, Aug 15, 2014 at 12:20 PM, Andy Lutomirski wrote: I don't think that fixing this should be a prerequisite for merging, since the risk is so small. Nonetheless, it would be nice. (This family of attacks has

Re: Overriding -Werror

2014-08-15 Thread Brian Norris
Hi, On Fri, Aug 15, 2014 at 02:30:49AM -0700, Jeff Kirsher wrote: > Funny that you bring this up because I have ~60 patches in my queue to > resolve several thousand of these warnings. Half of the patches > actually resolve warnings that can be resolved and the other half > implement compiler

Re: [PATCH 05/15] tty: serial: Add 8250-core based omap driver

2014-08-15 Thread Lennart Sorensen
On Fri, Aug 15, 2014 at 09:27:59PM +0200, Sebastian Andrzej Siewior wrote: > If you want to change this to reduce the gap, then you have first > change 8250 core code. Currently it waits until the shift register is > empty. Oh the 8250 normally works this way? I didn't know that. > On the other

Re: [PATCH v2] arch,locking: Ciao arch_mutex_cpu_relax()

2014-08-15 Thread Guenter Roeck
On Thu, Aug 07, 2014 at 06:18:34PM -0700, Davidlohr Bueso wrote: > On Tue, 2014-08-05 at 10:42 -0700, Davidlohr Bueso wrote: > > On Tue, 2014-08-05 at 15:04 +0200, Geert Uytterhoeven wrote: > > > It looks like you forgot to update frv? It's been failing on -next since > > > a > > > few days: >

Re: [PATCH RFC v4 net-next 17/26] tracing: allow eBPF programs to be attached to events

2014-08-15 Thread Alexei Starovoitov
On Fri, Aug 15, 2014 at 12:18 PM, Andy Lutomirski wrote: >> >> clang/llvm has no problem with u64 :) >> This bpf_context struct for tracing is trying to answer the question: >> 'what's the most convenient way to access tracepoint arguments >> from a script'. >> When kernel code has something

Re: [PATCH] fs: Remove implicit nodev for new mounts in non-root userns

2014-08-15 Thread Serge Hallyn
Quoting Andy Lutomirski (l...@amacapital.net): > On Fri, Aug 15, 2014 at 12:05 PM, Serge Hallyn > wrote: > > Quoting Andy Lutomirski (l...@amacapital.net): > >> Currently, creating a new mount (as opposed to bindmount) in a > >> non-root userns will implicitly set nodev unless the fs is devpts.

Re: [PATCH] unicore32: Fix build error

2014-08-15 Thread Guenter Roeck
On 08/10/2014 08:29 AM, Guenter Roeck wrote: unicore32 builds fail with arch/unicore32/kernel/signal.c: In function ‘setup_frame’: arch/unicore32/kernel/signal.c:257: error: ‘usig’ undeclared (first use in this function) arch/unicore32/kernel/signal.c:279: error:

[GIT PULL] Final round of SCSI updates for the 3.16+ merge window

2014-08-15 Thread James Bottomley
Just a note, we do have a couple of bug fixes coming under separate cover, but they don't have to be part of the merge window This is a small set of updates which missed the first pull. It's more msix updates, some iscsi and qla4xxx fixes, we also have some string null termination fixes a return

Re: [PATCH] i2c: i2c-tegra: Move clk_prepare/clk_set_rate to probe

2014-08-15 Thread Peter De Schrijver
On Fri, Aug 15, 2014 at 08:07:01PM +0200, Stephen Warren wrote: > >> However, the new code sets the clock rate after the clock is prepared. I > >> think the rate should be set first, then the clock prepared. While this > >> likely doesn't apply to the Tegra clock controller, prepare() is allowed >

Re: [PATCH 3/3] perf callchain: Prune misleading callchains for self entries

2014-08-15 Thread Jiri Olsa
On Fri, Aug 15, 2014 at 10:57:14AM +0900, Namhyung Kim wrote: > Hi Jiri, > > 2014-08-14 (목), 16:10 +0200, Jiri Olsa: > > On Thu, Aug 14, 2014 at 03:01:40PM +0900, Namhyung Kim wrote: > > > > SNIP > > > > > However, with --children feature added, it now can show all callees of > > > the entry.

Re: [PATCH] fs: Remove implicit nodev for new mounts in non-root userns

2014-08-15 Thread Andy Lutomirski
On Fri, Aug 15, 2014 at 12:37 PM, Serge Hallyn wrote: > Quoting Andy Lutomirski (l...@amacapital.net): >> On Fri, Aug 15, 2014 at 12:05 PM, Serge Hallyn >> wrote: >> > Quoting Andy Lutomirski (l...@amacapital.net): >> >> Currently, creating a new mount (as opposed to bindmount) in a >> >>

Re: location for new bus driver-- drivers/bus? drivers/misc?

2014-08-15 Thread Arnd Bergmann
On Monday 11 August 2014, gre...@linuxfoundation.org wrote: > On Mon, Aug 11, 2014 at 04:25:49PM +, Stuart Yoder wrote: > > Greg, > > > > We (Freescale) have a patch series nearly ready to send out > > for a new bus driver. It's for a block we call the Freescale > > 'Management Complex'

[PATCH 0/3] lockless sys_times and posix_cpu_clock_get

2014-08-15 Thread riel
Thanks to the feedback from Oleg, Peter, Mike, and Frederic, I seem to have a patch series that manages to do times() locklessly, and apparently correctly. Oleg points out that the monotonicity alone is not enough of a guarantee, but that should probably be attacked separately, since that issue

[PATCH 2/3] time,signal: protect resource use statistics with seqlock

2014-08-15 Thread riel
From: Rik van Riel Both times() and clock_gettime(CLOCK_PROCESS_CPUTIME_ID) have scalability issues on large systems, due to both functions being serialized with a lock. The lock protects against reporting a wrong value, due to a thread in the task group exiting, its statistics reporting up to

[PATCH 3/3] sched,time: atomically increment stime & utime

2014-08-15 Thread riel
From: Rik van Riel The functions task_cputime_adjusted and thread_group_cputime_adjusted can be called locklessly, as well as concurrently on many different CPUs. This can occasionally lead to the utime and stime reported by times(), and other syscalls like it, going backward. The cause for

[PATCH 1/3] exit: always reap resource stats in __exit_signal

2014-08-15 Thread riel
From: Rik van Riel Oleg pointed out that wait_task_zombie adds a task's usage statistics to the parent's signal struct, but the task's own signal struct should also propagate the statistics at exit time. This allows thread_group_cputime(reaped_zombie) to get the statistics after

[PATCH percpu/for-3.17-fixes 1/2] percpu: fix pcpu_alloc_pages() failure path

2014-08-15 Thread Tejun Heo
Fix for a sneaky bug which has been there for many years. Applied to percpu/for-3.17-fixes. Thanks. -- 8< -- >From f0d279654dea22b7a6ad34b9334aee80cda62cde Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Fri, 15 Aug 2014 16:06:06 -0400 When pcpu_alloc_pages() fails midway,

Re: [PATCH 1/1] GCD: add binary GCD algorithm

2014-08-15 Thread George Spelvin
> So I looked at wikipedia (I wasn't aware of this algorithm, clever > though), and am still somewhat puzzled by your 'r'. > > What's 'wrong' with their iterative version, or what's better about your > 'r' stuff? I need to look more carefully, but it looks nifty. Basically, it's avoiding the

[PATCH percpu/for-3.17-fixes 2/2] percpu: perform tlb flush after pcpu_map_pages() failure

2014-08-15 Thread Tejun Heo
This one is most likely harmless but best to be safe. Applied to percpu/for-3.17-fixes. Thanks. -- 8< -- >From 849f5169097e1ba35b90ac9df76b5bb6f9c0aabd Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Fri, 15 Aug 2014 16:06:10 -0400 If pcpu_map_pages() fails midway, it unmaps the already

Re: [PATCH] fs: Remove implicit nodev for new mounts in non-root userns

2014-08-15 Thread Serge Hallyn
Quoting Andy Lutomirski (l...@amacapital.net): > On Fri, Aug 15, 2014 at 12:37 PM, Serge Hallyn > wrote: > > Quoting Andy Lutomirski (l...@amacapital.net): > >> On Fri, Aug 15, 2014 at 12:05 PM, Serge Hallyn > >> wrote: > >> > Quoting Andy Lutomirski (l...@amacapital.net): > >> >> Currently,

Re: [PATCH] fs: Remove implicit nodev for new mounts in non-root userns

2014-08-15 Thread Serge Hallyn
Quoting Andy Lutomirski (l...@amacapital.net): > Currently, creating a new mount (as opposed to bindmount) in a > non-root userns will implicitly set nodev unless the fs is devpts. > Something like this will be necessary for file systems that allow > the mounter to create device nodes without

Re: [PATCH 05/15] tty: serial: Add 8250-core based omap driver

2014-08-15 Thread Sebastian Andrzej Siewior
On 08/15/2014 09:33 PM, Lennart Sorensen wrote: >> On the other hand if you use DMA then it can handle transfers > 64bytes >> in one go and you can start transfers while the FIFO is not completely >> empty. > > You can dma more than the fifo size? Yes. The UART asserts the DMA line as long as

Re: [PATCH v7] 8250-core based serial driver for OMAP + DMA

2014-08-15 Thread Tony Lindgren
* Sebastian Andrzej Siewior [140815 12:16]: > On 08/15/2014 08:17 PM, Lennart Sorensen wrote: > > > Are you saying that with the new driver you have to respond to the RX > > irq faster than before to avoid overflows? It is not quite clear. > > Yes. The irq fires 46 bytes giving you 16 bytes

Re: [PATCH 15/15] tty: serial: 8250: omap: add dma support

2014-08-15 Thread Tony Lindgren
* Sebastian Andrzej Siewior [140815 11:13]: > +#ifdef CONFIG_SERIAL_8250_DMA > + if (pdev->dev.of_node) { > + /* > + * Oh DMA support. If there are no DMA properties in the DT then > + * we will fall back to a generic DMA channel which does not > +

Re: [PATCH 05/15] tty: serial: Add 8250-core based omap driver

2014-08-15 Thread Tony Lindgren
* Sebastian Andrzej Siewior [140815 10:46]: > This patch provides a 8250-core based UART driver for the internal OMAP > UART. The long term goal is to provide the same functionality as the > current OMAP uart driver and DMA support. > I tried to merge omap-serial code together with the 8250-core

Re: Thunderbolt driver hotplug not working correctly

2014-08-15 Thread Andreas Noever
(apparently I hit "reply" instead of "reply all" sometime back, sorry for that. Readding ccs) On Fri, Aug 15, 2014 at 7:35 PM, Steven Noonan wrote: > On Fri, Aug 15, 2014 at 04:03:08PM +0200, Andreas Noever wrote: >> On Fri, Aug 15, 2014 at 2:48 PM, Steven Noonan wrote: >> > On Fri, Aug 15,

[tip:x86/urgent] x86_32, entry: Clean up sysenter_badsys declaration

2014-08-15 Thread tip-bot for Stefan Bader
Commit-ID: fb21b84e7f809ef04b1e5aed5d463cf0d4866638 Gitweb: http://git.kernel.org/tip/fb21b84e7f809ef04b1e5aed5d463cf0d4866638 Author: Stefan Bader AuthorDate: Fri, 15 Aug 2014 10:57:46 +0200 Committer: H. Peter Anvin CommitDate: Fri, 15 Aug 2014 13:45:32 -0700 x86_32, entry: Clean up

Re: [PATCH 1/1] GCD: add binary GCD algorithm

2014-08-15 Thread Peter Zijlstra
On Fri, Aug 15, 2014 at 04:16:01PM -0400, George Spelvin wrote: > What I'd like is a better way to automatically configure "divide is > slow" from an architecture. So the usual thing and have arch/*/Kconfig select the fancy one if it doesn't have a hardware divide instruction. For instance:

Re: [PATCH] i2c: i2c-tegra: Move clk_prepare/clk_set_rate to probe

2014-08-15 Thread Peter De Schrijver
On Fri, Aug 15, 2014 at 09:45:46PM +0200, Peter De Schrijver wrote: > On Fri, Aug 15, 2014 at 08:07:01PM +0200, Stephen Warren wrote: > > >> However, the new code sets the clock rate after the clock is prepared. I > > >> think the rate should be set first, then the clock prepared. While this > >

Re: [PATCH] i2c: i2c-tegra: Move clk_prepare/clk_set_rate to probe

2014-08-15 Thread Stephen Warren
On 08/15/2014 03:34 PM, Peter De Schrijver wrote: On Fri, Aug 15, 2014 at 09:45:46PM +0200, Peter De Schrijver wrote: On Fri, Aug 15, 2014 at 08:07:01PM +0200, Stephen Warren wrote: However, the new code sets the clock rate after the clock is prepared. I think the rate should be set first,

Re: [PATCH v2] memory-hotplug: add sysfs zones_online_to attribute

2014-08-15 Thread Toshi Kani
On Wed, 2014-08-13 at 12:10 +0800, Zhang Zhen wrote: > Currently memory-hotplug has two limits: > 1. If the memory block is in ZONE_NORMAL, you can change it to > ZONE_MOVABLE, but this memory block must be adjacent to ZONE_MOVABLE. > 2. If the memory block is in ZONE_MOVABLE, you can change it to

Re: [PATCH 1/1] GCD: add binary GCD algorithm

2014-08-15 Thread George Spelvin
Here's a variant using the even-odd speedup: (Feel free to add my S-o-b if you use it.) /* * This implements Brent & Kung's "even-odd" variant of the binary GCD * algorithm. (Often attributed to Stein, but as Knith has noted, appears * a first-century Chinese math text.) * * First, find

Re: [f2fs-dev] [PATCH 08/13] f2fs: do checkpoint at f2fs_put_super

2014-08-15 Thread Jaegeuk Kim
Hi Chao, On Thu, Aug 14, 2014 at 10:57:10AM +0800, Chao Yu wrote: > Hi Jaegeuk, > > > -Original Message- > > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > > Sent: Wednesday, August 13, 2014 3:49 AM > > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > >

power supply gating with ltc2978

2014-08-15 Thread atull
Hello, I am interested in adding functionality to be able to gate power supplies going through a ltc2978. I see that there is a hwmon driver already existing (hwmon/pmbus/ltc2978.c). I see some of the other hwmon drivers have MFD's. It looks like this ltc driver would need a MFD and a

GIT Pull: idle patches for Linux-3.17 merge

2014-08-15 Thread Len Brown
Hi Linus, Please pull these idle power patches. two Intel-platform-specific updates to intel_idle, and a cosmetic tweak to the turbostat utility. thanks! Len Brown, Intel Open Source Technology Center The following changes since commit 19583ca584d6f574384e17fe7613dfaeadcdc4a6: Linux 3.16

Re: [PATCH 08/13 v2] f2fs: do checkpoint at f2fs_put_super

2014-08-15 Thread Jaegeuk Kim
Change log from v1: o relocate F2FS_SET_SB_DIRT to avoid unnecessary checkpoints The generic_shutdown_super calls sync_filesystem, evict_inode, and then f2fs_put_super. In f2fs_evict_inode, we remain some dirty inode information so we should release them at f2fs_put_super. But normally, it's

Re: power supply gating with ltc2978

2014-08-15 Thread Guenter Roeck
On 08/15/2014 02:34 PM, atull wrote: Hello, I am interested in adding functionality to be able to gate power supplies going through a ltc2978. I see that there is a hwmon driver already existing (hwmon/pmbus/ltc2978.c). I see some of the other hwmon drivers have MFD's. It looks like this ltc

[PATCH 2/4] f2fs: prevent checkpoint during roll-forward

2014-08-15 Thread Jaegeuk Kim
Any checkpoint should not be done during the core roll-forward procedure. Especially, it includes error cases too. Signed-off-by: Jaegeuk Kim --- fs/f2fs/recovery.c | 8 1 file changed, 8 insertions(+) diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c index 7ca7aad..d36ef35 100644

[PATCH 1/4] f2fs: add WARN_ON in f2fs_bug_on

2014-08-15 Thread Jaegeuk Kim
This patch adds WARN_ON when f2fs_bug_on is disable to see kernel messages. Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 2d009ae..2723b2d 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h

[PATCH 4/4] f2fs: remove rewrite_node_page

2014-08-15 Thread Jaegeuk Kim
I think we need to let the dirty node pages remain in the page cache instead of rewriting them in their places. So, after done with successful recovery, write_checkpoint will flush all of them through the normal write path. Through this, we can avoid potential error cases in terms of block

[PATCH 3/4] f2fs: avoid double lock in truncate_blocks

2014-08-15 Thread Jaegeuk Kim
The init_inode_metadata calls truncate_blocks when error is occurred. The callers holds f2fs_lock_op, so we should not call it again in truncate_blocks. Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c | 2 +- fs/f2fs/dir.c| 2 +- fs/f2fs/f2fs.h | 2 +- fs/f2fs/file.c | 13

[RFC PATCH 0/4] drivers/bus: Freescale Management Complex bus driver patch series

2014-08-15 Thread J. German Rivera
This patch series introduces Linux support for the Freescale Management Complex (fsl-mc) hardware. The fsl-mc is a hardware resource manager that manages specialized hardware objects used in network-oriented packet processing applications. After the fsl-mc block is enabled, pools of hardware

[RFC PATCH 2/4] drivers/bus: Freescale Management Complex (fsl-mc) bus driver

2014-08-15 Thread J. German Rivera
From: "J. German Rivera" Platform device driver that sets up the basic bus infrastructure for the fsl-mc bus type, including support for adding/removing fsl-mc devices, register/unregister of fsl-mc drivers, and bus match support to bind devices to drivers. Signed-off-by: J. German Rivera ---

[RFC PATCH 3/4] drivers/bus: Device driver for FSL-MC DPRC devices

2014-08-15 Thread J. German Rivera
From: "J. German Rivera" A DPRC (Data Path Resource Container) is an isolation device that contains a set of DPAA networking devices to be assigned to an isolation domain (e.g., a virtual machine). Signed-off-by: J. German Rivera --- drivers/bus/fsl-mc/Makefile |3 +-

[RFC PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs

2014-08-15 Thread J. German Rivera
From: "J. German Rivera" APIs to access the Management Complex (MC) hardware module of Freescale LS2 SoCs. This patch includes APIs to check the MC firmware version and to manipulate DPRC objects in the MC. Signed-off-by: J. German Rivera --- drivers/bus/fsl-mc/dpmng.c | 93 +

Re: [RFC 0/3] Experimental patchset for CPPC

2014-08-15 Thread Len Brown
The Linux team at Intel did not implement ACPI CPPC support because we see no benefit to it over the native hardware interface on x86. cheers, Len Brown Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[RFC PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs

2014-08-15 Thread J. German Rivera
From: "J. German Rivera" APIs to access the Management Complex (MC) hardware module of Freescale LS2 SoCs. This patch includes APIs to check the MC firmware version and to manipulate DPRC objects in the MC. Signed-off-by: J. German Rivera --- drivers/bus/fsl-mc/dpmng.c | 93 +

[RFC PATCH 4/4] Update MAINTAINERS file

2014-08-15 Thread J. German Rivera
From: "J. German Rivera" Signed-off-by: J. German Rivera --- MAINTAINERS |8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7e2eb4c..eb8597d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3841,6 +3841,14 @@ S: Maintained F:

[RFC PATCH 0/4] drivers/bus: Freescale Management Complex bus driver patch series

2014-08-15 Thread J. German Rivera
This patch series introduces Linux support for the Freescale Management Complex (fsl-mc) hardware. The fsl-mc is a hardware resource manager that manages specialized hardware objects used in network-oriented packet processing applications. After the fsl-mc block is enabled, pools of hardware

[RFC PATCH 3/4] drivers/bus: Device driver for FSL-MC DPRC devices

2014-08-15 Thread J. German Rivera
From: "J. German Rivera" A DPRC (Data Path Resource Container) is an isolation device that contains a set of DPAA networking devices to be assigned to an isolation domain (e.g., a virtual machine). Signed-off-by: J. German Rivera --- drivers/bus/fsl-mc/Makefile |3 +-

[RFC PATCH 2/4] drivers/bus: Freescale Management Complex (fsl-mc) bus driver

2014-08-15 Thread J. German Rivera
From: "J. German Rivera" Platform device driver that sets up the basic bus infrastructure for the fsl-mc bus type, including support for adding/removing fsl-mc devices, register/unregister of fsl-mc drivers, and bus match support to bind devices to drivers. Signed-off-by: J. German Rivera ---

Re: [PATCH] i2c: i2c-tegra: Move clk_prepare/clk_set_rate to probe

2014-08-15 Thread Peter De Schrijver
On Fri, Aug 15, 2014 at 11:46:49PM +0200, Stephen Warren wrote: > On 08/15/2014 03:34 PM, Peter De Schrijver wrote: > > On Fri, Aug 15, 2014 at 09:45:46PM +0200, Peter De Schrijver wrote: > >> On Fri, Aug 15, 2014 at 08:07:01PM +0200, Stephen Warren wrote: > > However, the new code sets the

Re: [RFC 0/3] Experimental patchset for CPPC

2014-08-15 Thread Len Brown
> I verified that CPU freq requests were taken by reading out the PERF_STATUS > register. Don't use the x86 PERF_STATUS register -- it will not tell you what you want to know. If you want to see the actual frequency, you need to watch how many cycles elapse per a known time interval, which is

[RFC PATCH 4/4] Update MAINTAINERS file

2014-08-15 Thread J. German Rivera
From: "J. German Rivera" Signed-off-by: J. German Rivera --- MAINTAINERS |8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7e2eb4c..eb8597d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3841,6 +3841,14 @@ S: Maintained F:

Re: [PATCH 1/1] mmc: core: Use regulator_get_voltage() if OCR mask is empty.

2014-08-15 Thread Mark Brown
On Fri, Aug 15, 2014 at 07:19:41AM -0700, Tim Kryger wrote: > That is a little different from my suggestion where the constraints > check is skipped when the regulator output is fixed. It effectively > does this now when the regulator itself provides the fixed voltage. > However, the checks

Re: [PATCH RFC] time,signal: protect resource use statistics with seqlock

2014-08-15 Thread Frederic Weisbecker
On Fri, Aug 15, 2014 at 04:26:01PM +0200, Oleg Nesterov wrote: > On 08/15, Frederic Weisbecker wrote: > > > > 2014-08-14 16:39 GMT+02:00 Oleg Nesterov : > > > On 08/14, Frederic Weisbecker wrote: > > >> > > >> I mean the read side doesn't use a lock with seqlocks. It's only made > > >> of barriers

Re: [PATCH 19/19] Documentation: ACPI for ARM64

2014-08-15 Thread Len Brown
> Additional driver specific > +data should be passed in the appropriate _DSM (ACPI Section 9.14.1) method or > +_DSD (ACPI Section 6.2.5). Re: _DSD Yes. Re: _DSM No, not if it can be handled by _DSD. cheers, Len Brown, Intel Open Source Technology Center -- To unsubscribe from this list:

Re: [PATCH 05/15] tty: serial: Add 8250-core based omap driver

2014-08-15 Thread Tony Lindgren
* Tony Lindgren [140815 14:10]: > * Sebastian Andrzej Siewior [140815 10:46]: > > This patch provides a 8250-core based UART driver for the internal OMAP > > UART. The long term goal is to provide the same functionality as the > > current OMAP uart driver and DMA support. > > I tried to merge

Re: [PATCH 1/6] clk: tegra: don't abort clk init on error

2014-08-15 Thread Peter De Schrijver
On Tue, Jul 22, 2014 at 07:16:15PM +0200, Stephen Warren wrote: > On 07/15/2014 09:24 AM, Peter De Schrijver wrote: > > Just continue initializing clocks if there's an error on one of them. This > > is useful if there's a mistake in the inittable, because the system could > > hang if

[ANNOUNCE] Git v2.1.0

2014-08-15 Thread Junio C Hamano
The latest feature release Git v2.1.0 is now available at the usual places. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/ The following public repositories all have a copy of the 'v2.1.0' tag and the 'master' branch that the tag points at: url =

GREETINGS FROM DUBAI

2014-08-15 Thread Mr. Cedric Lizin
Good day Friend, I am Cedric Lizin,Managing Director of Barclays Bank in United Arab Emirates .I write you this proposal in good faith hoping that I will rely on you in a business transaction that require absolute confidentiality and of great interest and benefit to our both families. In

Re: [PATCH] arm64: smp: Update the topology masks before calling CPU_STARTING notifiers

2014-08-15 Thread Rohit Vaswani
On 8/15/2014 3:43 AM, Will Deacon wrote: On Wed, Aug 13, 2014 at 02:11:09AM +0100, Rohit Vaswani wrote: Currently, the CPU_STARTING notifiers would observe an incorrect sibling mask since the notifier chain is called before the topology masks are updated for the new cpu. Update the topology

Re: [PATCH] staging: lustre: lustre: libcfs: pr_warn instead printk

2014-08-15 Thread Greg KH
On Fri, Aug 15, 2014 at 11:48:05PM +0530, Hema Prathaban wrote: > This patch fixes the following warning using checkpatch.pl > WARNING: Prefer [subsystem eg: netdev]_warn([subsystem]dev, ... then > dev_warn(dev, ... then pr_warn(... to printk(KERN_WARNING ... > > Signed-off-by: Hema Prathaban >

<    5   6   7   8   9   10   11   >