[PATCH] Fix mmap error for perf data file. Not all file systems, e.g. JFFS2, support MAP_SHARED.

2015-09-04 Thread Kenth Eriksson
Signed-off-by: Kenth Eriksson --- tools/perf/util/session.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index 0c74012..c6617fe 100644 --- a/tools/perf/util/session.c +++ b/tools/perf/util/session.c @@ -1338,11 +1338,1

Re: [tip:perf/urgent] perf evlist: Open event on evsel cpus and threads

2015-09-04 Thread Jiri Olsa
On Thu, Sep 03, 2015 at 05:41:06PM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Sep 03, 2015 at 08:19:39PM +0200, Jiri Olsa escreveu: > > On Thu, Sep 03, 2015 at 01:41:09PM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Thu, Sep 03, 2015 at 07:23:43PM +0300, Adrian Hunter escreveu: > > > > On

Re: [PATCH 12/15] tools lib api: Add configured support for fs

2015-09-04 Thread Jiri Olsa
On Wed, Sep 02, 2015 at 01:52:28PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Sep 02, 2015 at 11:17:59AM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Wed, Sep 02, 2015 at 03:46:25PM +0200, Jiri Olsa escreveu: > > > On Wed, Sep 02, 2015 at 10:39:31AM -0300, Arnaldo Carvalho de Melo wrote:

Re: [PATCH] x86/headers: Fix (old) header file dependency bug in uapi/asm/sigcontext32.h

2015-09-04 Thread Mikko Rapeli
On Thu, Sep 03, 2015 at 09:42:32AM +0200, Ingo Molnar wrote: > > * Mikko Rapeli wrote: > > > Hi Ingo, Thomas and Peter, > > > > Do you have any pointers for me how arch/x86/include/uapi/asm/sigcontext32.h > > could be fixed to also compile in userspace? Is definition of _fpx_sw_bytes > > or _fp

Re: [4.2, Regression] Queued spinlocks cause major XFS performance regression

2015-09-04 Thread Dave Chinner
On Thu, Sep 03, 2015 at 11:39:21PM -0700, Linus Torvalds wrote: > On Thu, Sep 3, 2015 at 10:48 PM, Dave Chinner wrote: > > > > When I turned spinlock debugging off on 4.2 to get some perf numbers > > a request from Linus, I got this: > > [ ugly numbers deleted ] > > > And then a quick call graph

Re: [tip:perf/urgent] perf evlist: Open event on evsel cpus and threads

2015-09-04 Thread Adrian Hunter
On 04/09/15 10:05, Jiri Olsa wrote: > On Thu, Sep 03, 2015 at 05:41:06PM -0300, Arnaldo Carvalho de Melo wrote: >> Em Thu, Sep 03, 2015 at 08:19:39PM +0200, Jiri Olsa escreveu: >>> On Thu, Sep 03, 2015 at 01:41:09PM -0300, Arnaldo Carvalho de Melo wrote: Em Thu, Sep 03, 2015 at 07:23:43PM +030

Re: [PATCH v7 1/5] lightnvm: Support for Open-Channel SSDs

2015-09-04 Thread Dongsheng Yang
On 09/02/2015 06:48 PM, Matias Bjørling wrote: + +/* register with device with a supported BM */ +list_for_each_entry(bt, &nvm_bms, list) { +ret = bt->register_bm(dev); +if (ret < 0) +goto err; /* initialization failed */ +if (ret > 0) { +de

Re: [PATCH V2] clockevents/drivers/mtk: Fix spurious interrupt leading to crash

2015-09-04 Thread Yingjoe Chen
On Wed, 2015-08-26 at 16:25 +0200, Daniel Lezcano wrote: > On 08/25/2015 03:21 PM, Yingjoe Chen wrote: > > Tested-by: Yingjoe Chen > > Applied to my tree for 4.4. > >-- Daniel > Hi Daniel, I can't find this patch in https://git.linaro.org/people/daniel.lezcano/linux.git Is this tree public

Re: [PATCH] serial: core: prevent softlockups on slow consoles

2015-09-04 Thread Vitaly Kuznetsov
Greg Kroah-Hartman writes: > On Mon, Aug 31, 2015 at 04:34:16PM +0200, Vitaly Kuznetsov wrote: >> Hyper-V serial port is very slow on multi-vCPU guest, this causes >> soflockups on intensive console writes. Touch nmi watchdog after putting >> every char on port to avoid the issue for all serial d

Re: Possible deadlock related to CPU hotplug and kernfs

2015-09-04 Thread Jiang Liu
On 2015/9/4 4:08, Rafael J. Wysocki wrote: > Hi Tejun, > > On Thu, Sep 3, 2015 at 6:19 PM, Tejun Heo wrote: >> Hello, Rafael. >> >> On Thu, Sep 03, 2015 at 02:58:16AM +0200, Rafael J. Wysocki wrote: >>> So acpi_device_hotplug() calls lock_device_hotplug() which simply >>> acquires device_hotplug_

Re: [PATCH 2/6] sched/fair: Convert arch_scale_cpu_capacity() from weak function to #define

2015-09-04 Thread Vincent Guittot
On 3 September 2015 at 21:58, Dietmar Eggemann wrote: > Hi Vincent, > > On 02/09/15 10:31, Vincent Guittot wrote: >> Hi Morten, >> >> On 14 August 2015 at 18:23, Morten Rasmussen >> wrote: >>> Bring arch_scale_cpu_capacity() in line with the recent change of its >>> arch_scale_freq_capacity() si

Re: [4.2, Regression] Queued spinlocks cause major XFS performance regression

2015-09-04 Thread Juergen Gross
On 09/04/2015 09:11 AM, Dave Chinner wrote: On Thu, Sep 03, 2015 at 11:39:21PM -0700, Linus Torvalds wrote: On Thu, Sep 3, 2015 at 10:48 PM, Dave Chinner wrote: When I turned spinlock debugging off on 4.2 to get some perf numbers a request from Linus, I got this: [ ugly numbers deleted ]

Re: [PATCH V2] clockevents/drivers/mtk: Fix spurious interrupt leading to crash

2015-09-04 Thread Daniel Lezcano
On 09/04/2015 09:15 AM, Yingjoe Chen wrote: On Wed, 2015-08-26 at 16:25 +0200, Daniel Lezcano wrote: On 08/25/2015 03:21 PM, Yingjoe Chen wrote: Tested-by: Yingjoe Chen Applied to my tree for 4.4. -- Daniel Hi Daniel, I can't find this patch in https://git.linaro.org/people/daniel.le

Re: [Xen-devel] [PATCH] xen/p2m: fix extra memory regions accounting

2015-09-04 Thread Roger Pau Monné
Hello, El 04/09/15 a les 7.07, Juergen Gross ha escrit: > Could you try the attached patch? It should do the job. It is booting > fine on my laptop, but I think you should try it on the machine with > the memory ranges not at page boundary. > > > Juergen > > > extramem.patch > > > commit 3d0

Re: [4.2, Regression] Queued spinlocks cause major XFS performance regression

2015-09-04 Thread Peter Zijlstra
On Thu, Sep 03, 2015 at 11:39:21PM -0700, Linus Torvalds wrote: > On Thu, Sep 3, 2015 at 10:48 PM, Dave Chinner wrote: > > > > When I turned spinlock debugging off on 4.2 to get some perf numbers > > a request from Linus, I got this: > > To confirm that this is indeed caused by the queued spinloc

Re: [PATCH V5 1/1] perf,test: test cpu topology

2015-09-04 Thread Jiri Olsa
On Wed, Sep 02, 2015 at 02:23:02AM -0400, Kan Liang wrote: SNIP > + > +int test_session_topology(void) > +{ > + struct perf_session *session; > + char path[PATH_MAX]; > + struct cpu_map *map; > + struct perf_data_file file = { > + .path = path, > + .mode =

Re: [BUG 4.2-rc8] Interrupt occurs while apply_alternatives() is patching the handler

2015-09-04 Thread Richard W.M. Jones
On Thu, Sep 03, 2015 at 12:41:47PM +0200, Thomas Gleixner wrote: > On Thu, 3 Sep 2015, Borislav Petkov wrote: > > On Wed, Sep 02, 2015 at 11:11:55AM +0200, Thomas Gleixner wrote: > > > static void __init_or_module add_nops(void *insns, unsigned int len) > > > { > > > + unsigned long flags; > > >

[GIT PULL] sound updates for 4.3-rc1

2015-09-04 Thread Takashi Iwai
Linus, please pull sound updates for v4.3-rc1 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.3-rc1 The topmost commit is d5f362a7b977bdfaf8a955f3d604a29267bd5464 sound updates for 4.3-rc1 The

Re: [Xen-devel] [PATCH] xen/p2m: fix extra memory regions accounting

2015-09-04 Thread Juergen Gross
On 09/04/2015 09:37 AM, Roger Pau Monné wrote: Hello, El 04/09/15 a les 7.07, Juergen Gross ha escrit: Could you try the attached patch? It should do the job. It is booting fine on my laptop, but I think you should try it on the machine with the memory ranges not at page boundary. Juergen e

Re: [PATCH 3/6] sched/fair: Make utilization tracking cpu scale-invariant

2015-09-04 Thread Vincent Guittot
On 15 August 2015 at 01:04, Dietmar Eggemann wrote: > On 14/08/15 17:23, Morten Rasmussen wrote: >> From: Dietmar Eggemann > > [...] > >> @@ -2596,7 +2597,7 @@ __update_load_avg(u64 now, int cpu, struct sched_avg >> *sa, >> } >> } >> if (running)

[PATCH 4/5] perf probe: Split del_perf_probe_events()

2015-09-04 Thread Namhyung Kim
The del_perf_probe_events() does 2 things: 1. find existing events which match to filter 2. delete such trace events from kernel But sometimes we need to do something with the trace events. So split the funtion into two, so that it can access intermediate trace events name using strlist if neede

[PATCH 3/5] perf probe: Move print logic into cmd_probe()

2015-09-04 Thread Namhyung Kim
Showing actual trace event when adding perf events is only needed in perf probe command. But the add functionality itself can be used by other places. So move the printing code into the cmd_probe(). Also it combines the output if more than one event is added. Before: $ sudo perf probe -a do_f

RE: Re: [RFC/PATCH 2/3] perf probe: Rename __event_package to probe_event_package

2015-09-04 Thread 平松雅巳 / HIRAMATU,MASAMI
> From: Namhyung Kim [mailto:namhy...@gmail.com] On Behalf Of Namhyung Kim > > On Fri, Sep 04, 2015 at 02:11:09AM +, 平松雅巳 / HIRAMATU,MASAMI wrote: > > > From: Namhyung Kim [mailto:namhy...@gmail.com] On Behalf Of Namhyung Kim > > > > > > The struct __event_package can be accessed now from othe

Re: [4.2, Regression] Queued spinlocks cause major XFS performance regression

2015-09-04 Thread Peter Zijlstra
On Fri, Sep 04, 2015 at 05:11:43PM +1000, Dave Chinner wrote: > $ grep PARAVIRT .config > CONFIG_PARAVIRT=y > # CONFIG_PARAVIRT_DEBUG is not set > # CONFIG_PARAVIRT_SPINLOCKS is not set > CONFIG_PARAVIRT_TIME_ACCOUNTING=y > CONFIG_PARAVIRT_CLOCK=y > $ Curious, with PARAVIRT_SPINLOCKS=n we _should_

[PATCH 2/5] perf probe: Attach trace_probe_event with perf_probe_event

2015-09-04 Thread Namhyung Kim
This patch drops struct __event_package structure. Instead, it adds trace_probe_event into 'struct perf_probe_event'. trace_probe_event information gives further patches a chance to access actual probe points and actual arguments. Using them, perf probe can get whole list of added probes and pri

[PATCH 1/5] perf probe: Split add_perf_probe_events()

2015-09-04 Thread Namhyung Kim
The add_perf_probe_events() does 3 things: 1. convert all perf events to trace events 2. add all trace events to kernel 3. cleanup all trace events But sometimes we need to do something with the trace events. So split the funtion into three, so that it can access intermediate trace events via

[PATCH 5/5] perf probe: Print deleted events in cmd_probe()

2015-09-04 Thread Namhyung Kim
Showing actual trace event when deleteing perf events is only needed in perf probe command. But the add functionality itself can be used by other places. So move the printing code into the cmd_probe(). The output is not changed. Cc: Masami Hiramatsu Signed-off-by: Namhyung Kim --- tools/perf

Re: [Xen-devel] [PATCH] xen/p2m: fix extra memory regions accounting

2015-09-04 Thread Roger Pau Monné
El 04/09/15 a les 9.47, Juergen Gross ha escrit: > On 09/04/2015 09:37 AM, Roger Pau Monné wrote: >> Hello, >> >> El 04/09/15 a les 7.07, Juergen Gross ha escrit: >>> Could you try the attached patch? It should do the job. It is booting >>> fine on my laptop, but I think you should try it on the ma

[PATCH 0/3] staging: emxx_udc: Fix several coding style issues

2015-09-04 Thread Ravi Teja Darbha
Fix several coding style issue as suggested by checkpatch.pl with --strict option Ravi Teja Darbha (3): staging: emxx_udc: Remove FSF mailing address staging: emxx_udc: Avoid using multiple blank lines staging: emxx_udc: Fix NULL comparison style drivers/staging/emxx_udc/emxx_udc.c | 75 ++

[PATCH 1/3] staging: emxx_udc: Remove FSF mailing address

2015-09-04 Thread Ravi Teja Darbha
FSF mailing address is no longer required to be specified. Hence removed. Signed-off-by: Ravi Teja Darbha --- drivers/staging/emxx_udc/emxx_udc.c | 4 drivers/staging/emxx_udc/emxx_udc.h | 4 2 files changed, 8 deletions(-) diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/s

Re: [PATCH v3 01/18] platform: delay OF device-driver matches until late_initcall

2015-09-04 Thread Tomeu Vizoso
On 14 August 2015 at 21:09, Grygorii Strashko wrote: > Hi Tomeu, > > On 08/09/2015 04:03 PM, Tomeu Vizoso wrote: >> On 7 August 2015 at 19:06, Grygorii Strashko >> wrote: >>> On 08/07/2015 10:11 AM, Tomeu Vizoso wrote: On 6 August 2015 at 22:19, Rob Herring wrote: > On Thu, Aug 6, 2015

Re: [PATCH v7 1/5] lightnvm: Support for Open-Channel SSDs

2015-09-04 Thread Matias Bjørling
So here is a suggestion, register_bm again if we found nvm_dev->bm == NULL in create_target(). And if it is still NULL after that. return an error "nvm: no compatible bm was found" and stop target creating. Otherwise, there would be a NULL Pointer reference problem. That's a real problem I met i

Re: [RFC 08/14] sched/tune: add detailed documentation

2015-09-04 Thread Ricky Liang
Hi Patrick, Please find my replies inline. On Thu, Sep 3, 2015 at 5:18 PM, Patrick Bellasi wrote: > On Wed, Sep 02, 2015 at 07:49:58AM +0100, Ricky Liang wrote: >> Hi Patrick, > > Hi Ricky, > >> I wonder if this can replace the boost function in the interactive >> governor [0], which is widely u

Re: [Xen-devel] [PATCH] xen/p2m: fix extra memory regions accounting

2015-09-04 Thread Juergen Gross
On 09/04/2015 09:57 AM, Roger Pau Monné wrote: El 04/09/15 a les 9.47, Juergen Gross ha escrit: On 09/04/2015 09:37 AM, Roger Pau Monné wrote: Hello, El 04/09/15 a les 7.07, Juergen Gross ha escrit: Could you try the attached patch? It should do the job. It is booting fine on my laptop, but I

Re: [PATCH v3 1/4] Add correlated clocksource deriving system time from an auxiliary clocksource

2015-09-04 Thread Richard Cochran
On Thu, Sep 03, 2015 at 11:20:37PM +, Hall, Christopher S wrote: > In addition to the network interface, ART will be used in the audio interface > as well. > We need to support the case where an audio co-processor will control the > audio device. > In this case, the get_ts() function supplied

Re: [4.2, Regression] Queued spinlocks cause major XFS performance regression

2015-09-04 Thread Dave Chinner
On Fri, Sep 04, 2015 at 09:39:17AM +0200, Peter Zijlstra wrote: > On Thu, Sep 03, 2015 at 11:39:21PM -0700, Linus Torvalds wrote: > > On Thu, Sep 3, 2015 at 10:48 PM, Dave Chinner wrote: > > > > > > When I turned spinlock debugging off on 4.2 to get some perf numbers > > > a request from Linus, I

Re: __might_sleep in uio_read()?

2015-09-04 Thread Michal Hocko
On Thu 03-09-15 11:47:34, Andy Grover wrote: > On 09/03/2015 05:26 AM, Michal Hocko wrote: > >On Wed 02-09-15 15:45:10, Andy Grover wrote: > >>Hi Hans and Greg, > >> > >>Is this an issue with uio? I swear it didn't used to throw this warning... > >> > >>Thanks -- Andy > >> > >>[ 5174.883261] --

[PATCH 2/3] staging: emxx_udc: Avoid using multiple blank lines

2015-09-04 Thread Ravi Teja Darbha
Fixed multiple blank lines warning by checkpatch.pl Signed-off-by: Ravi Teja Darbha --- drivers/staging/emxx_udc/emxx_udc.c | 9 - drivers/staging/emxx_udc/emxx_udc.h | 26 -- 2 files changed, 35 deletions(-) diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/d

[PATCH V3 1/6] PM / OPP: reuse of_parse_phandle()

2015-09-04 Thread Viresh Kumar
We already have a better API to get the opp descriptor block's node from cpu-node. Lets reuse that instead of creating our own routines for the same stuff. That cleans the code a lot. This also kills a check we had earlier (as we are using the generic API now). Earlier we used to check if the oper

[PATCH V3 2/6] PM / OPP: Rename opp init/free table routines

2015-09-04 Thread Viresh Kumar
free-table routines are opposite of init-table ones, and must be named to make that clear. Opposite of 'init' is 'exit', but those doesn't suit really well. Replace 'init' with 'add' and 'free' with 'remove'. Reported-by: Pavel Machek Reviewed-by: Stephen Boyd Signed-off-by: Viresh Kumar ---

[PATCH V3 3/6] PM / OPP: Prefix exported opp routines with dev_pm_opp_

2015-09-04 Thread Viresh Kumar
That's the naming convention followed in most of opp core, but few routines didn't follow this, fix them. Reviewed-by: Stephen Boyd Signed-off-by: Viresh Kumar --- arch/arm/mach-imx/mach-imx6q.c | 2 +- drivers/base/power/opp.c | 41 ++-- drive

[PATCH V3 4/6] PM / OPP: Move opp core to its own directory

2015-09-04 Thread Viresh Kumar
OPP code is expanding and is already present in multiple directories (cpufreq and power). Lets move it to its own directory, to manage it better. This also moves/renames the cpufreq_opp file to cpu.c, as it will contain helpers for cpu device. Its not just about cpufreq, other frameworks can use O

[PATCH 3/3] staging: emxx_udc: Fix NULL comparison style

2015-09-04 Thread Ravi Teja Darbha
Fixed NULL comparison style as suggested by checkpatch.pl Signed-off-by: Ravi Teja Darbha --- drivers/staging/emxx_udc/emxx_udc.c | 62 ++--- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emx

[PATCH V3 5/6] PM / OPP: Move cpu specific code to opp/cpu.c

2015-09-04 Thread Viresh Kumar
Move cpu device specific code out of generic opp library, and add it to cpu.c. Along with that, create a core-internal opp.h header, which will be used to share structures and function prototypes within opp core. Reviewed-by: Stephen Boyd Signed-off-by: Viresh Kumar --- drivers/base/power/opp/

[PATCH v2 03/17] staging: sm750fb: rename hwI2CReadReg to sm750_hw_i2c_read_reg

2015-09-04 Thread Mike Rapoport
Fix the checkpatch warning about CamelCase Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 2 +- drivers/staging/sm750fb/ddk750_hwi2c.h | 2 +- drivers/staging/sm750fb/ddk750_sii164.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/stagi

[PATCH v2 00/17] staging: sm750fb: coding style fixes

2015-09-04 Thread Mike Rapoport
Hi, These patches are fixing coding style issues in ddk750_*i2c* files of the sm750fb driver v2 changes: * add changelog text * change patch 5 (staging: sm750fb: ddk750_hwi2c: rename CamelCase static functions) so that ut won't add sm750_ prefix to static functions Mike Rapoport (17): stagin

[PATCH v2 07/17] staging: sm750fb: rename swI2CReadReg to sm750_sw_i2c_read_reg

2015-09-04 Thread Mike Rapoport
Fix the checkpatch warning about CamelCase. Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_swi2c.c | 2 +- drivers/staging/sm750fb/ddk750_swi2c.h | 2 +- drivers/staging/sm750fb/sm750_hw.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging

[PATCH v2 04/17] staging: sm750fb: rename hwI2CWriteReg to sm750_hw_i2c_write_reg

2015-09-04 Thread Mike Rapoport
Fix the checkpatch warning about CamelCase Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 2 +- drivers/staging/sm750fb/ddk750_hwi2c.h | 2 +- drivers/staging/sm750fb/ddk750_sii164.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/stagi

[PATCH v2 08/17] staging: sm750fb: rename swI2CWriteReg to sm750_sw_i2c_write_reg

2015-09-04 Thread Mike Rapoport
Fix the checkpatch warning about CamelCase. Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_swi2c.c | 2 +- drivers/staging/sm750fb/ddk750_swi2c.h | 2 +- drivers/staging/sm750fb/sm750_hw.c | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/sta

[PATCH v2 05/17] staging: sm750fb: ddk750_hwi2c: rename CamelCase static functions

2015-09-04 Thread Mike Rapoport
Fix the checkpatch warning about CamelCase. Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_hwi2c.c b/drivers/staging/sm750fb/ddk750_hwi2c.c index e6d31db.

[PATCH v2 10/17] staging: sm750fb: ddk750_swi2c: rename CamelCase static functions

2015-09-04 Thread Mike Rapoport
Fix the checkpatch warning about CamelCase. Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_swi2c.c | 116 - 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_swi2c.c b/drivers/staging/sm750fb/ddk750_sw

[PATCH v2 14/17] staging: sm750fb: ddk750_swi2c: rename CamelCase static variables

2015-09-04 Thread Mike Rapoport
Rename static variables defining I2C GPIO pins and their control registers from CamelCase. Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_swi2c.c | 96 +- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/drivers/staging/sm750fb/ddk7

[PATCH v2 16/17] staging: sm750fb: ddk750_*i2c: remove multiple blank lines

2015-09-04 Thread Mike Rapoport
Fix the checkpatch warning about multiple blank lines Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 16 drivers/staging/sm750fb/ddk750_swi2c.c | 1 - 2 files changed, 17 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_hwi2c.c b/drivers/sta

[PATCH v2 17/17] staging: sm750fb: ddk750_*i2c: shorten lines to under 80 characters

2015-09-04 Thread Mike Rapoport
Fix some checkpatch warnings about long lines Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 19 ++- drivers/staging/sm750fb/ddk750_hwi2c.h | 3 ++- drivers/staging/sm750fb/ddk750_swi2c.c | 22 -- 3 files changed, 32 insertions(+),

Re: [PATCH v9 0/4] Implement OCOTP driver for Vybrid using NVMEM

2015-09-04 Thread Srinivas Kandagatla
Hi Sanchayan, On 04/09/15 06:50, maitysancha...@gmail.com wrote: Hello, Ping? Anything preventing this from being accepted? I can rework it then if so. Thanks for your patience, We are in the middle of merge window, I will pick the driver for 4.4 after 4.3-rc1 is released for linux-next test

[PATCH v2 13/17] staging: sm750fb: ddk750_hwi2c: reduce amount of CamelCase

2015-09-04 Thread Mike Rapoport
Rename camel case variables deviceAddress, pBuffer and totalBytes to addr, buf and total_bytes respectively in sm750_hw_i2c_{read,write}_data functions. Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 36 +- 1 file changed, 18 insertions(

[PATCH v2 12/17] staging: sm750fb: hw_i2c_{read,write}: rename CamelCase variables

2015-09-04 Thread Mike Rapoport
Rename longCamelCase variables deviceAddress and registerIndex to shorter addr and reg Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 16 drivers/staging/sm750fb/ddk750_hwi2c.h | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a

[PATCH v2 11/17] staging: sm750fb: ddk750_hw_i2c: rename busSpeedMode

2015-09-04 Thread Mike Rapoport
rename CamelCase parameter in sm750_hw_i2c_init() Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 4 ++-- drivers/staging/sm750fb/ddk750_hwi2c.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_hwi2c.c b/drivers/stag

[PATCH v2 15/17] staging: sm750fb: ddk750_swi2c: further reduce CamelCase

2015-09-04 Thread Mike Rapoport
Rename remaining CamelCase variables Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_swi2c.c | 122 - drivers/staging/sm750fb/ddk750_swi2c.h | 20 +++--- 2 files changed, 71 insertions(+), 71 deletions(-) diff --git a/drivers/staging/sm750fb/ddk7

[PATCH v2 09/17] staging: sm750fb: ddk750_swi2c: staticize swI2C{SCL,SDA}

2015-09-04 Thread Mike Rapoport
Fix the checkpatch warning about CamelCase. Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_swi2c.c | 4 ++-- drivers/staging/sm750fb/ddk750_swi2c.h | 21 - 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_swi2c.c

Re: [PATCH v9 0/4] Implement OCOTP driver for Vybrid using NVMEM

2015-09-04 Thread maitysanchayan
Hi, On 15-09-04 09:21:04, Srinivas Kandagatla wrote: > Hi Sanchayan, > > On 04/09/15 06:50, maitysancha...@gmail.com wrote: > > Hello, > > > > Ping? Anything preventing this from being accepted? I can rework it then if > > so. > Thanks for your patience, > > We are in the middle of merge window,

[PATCH v2 06/17] staging: sm750fb: rename swI2CInit to sm750_sw_i2c_init

2015-09-04 Thread Mike Rapoport
Fix the checkpatch warning about CamelCase. Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_sii164.c | 2 +- drivers/staging/sm750fb/ddk750_swi2c.c | 2 +- drivers/staging/sm750fb/ddk750_swi2c.h | 2 +- drivers/staging/sm750fb/sm750_hw.c | 2 +- 4 files changed, 4 insertio

Re: [PATCH 1/9] perf, tools, stat: Move sw clock metrics printout to stat-shadow

2015-09-04 Thread Jiri Olsa
On Wed, Sep 02, 2015 at 04:35:46PM -0700, Andi Kleen wrote: > From: Andi Kleen > > The sw clock metrics printing was missed in the earlier move to > stat-shadow of all the other metric printouts. Move it too. > > Signed-off-by: Andi Kleen > --- > tools/perf/builtin-stat.c | 9 - >

[PATCH V3 6/6] PM / OPP: Add debugfs support

2015-09-04 Thread Viresh Kumar
This patch adds debugfs support to OPP layer to export OPPs and their properties for all the devices. This creates a top level directory: /sys/kernel/debug/opp and then device specific directories (based on device names) inside it. For example: 'cpu0', 'cpu1', etc.. If multiple devices share the

Re: [PATCH v4 3/5] dt/bindings: bcm2835: add binding documentation for bcm2835-aux

2015-09-04 Thread Martin Sperl
> On 26.08.2015, at 03:44, Stephen Warren wrote: > > On 08/24/2015 02:40 AM, ker...@martin.sperl.org wrote: > >> +Example: >> + >> +aux_enable: aux_enable@0x7e215004 { >> +compatible = "bcrm,bcm2835-aux"; >> +reg = <0x7e215004 0x04>; > > I'd expect that to be <0x7e215000 0x8>; The rea

[PATCH v2 01/17] staging: sm750fb: rename hwI2CInit to sm750_hw_i2c_init

2015-09-04 Thread Mike Rapoport
Fix the checkpatch warning about CamelCase Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 2 +- drivers/staging/sm750fb/ddk750_hwi2c.h | 2 +- drivers/staging/sm750fb/ddk750_sii164.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/stagi

[PATCH v2 02/17] staging: sm750fb: rename hwI2CClose to sm750_hw_i2c_close

2015-09-04 Thread Mike Rapoport
Fix the checkpatch warning about CamelCase Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 2 +- drivers/staging/sm750fb/ddk750_hwi2c.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_hwi2c.c b/drivers/staging/sm750

Re: [PATCH] checkpatch: Fix perl 5.22 brace deprecation warnings

2015-09-04 Thread Stefan Tatschner
On Mi, 2015-07-08 at 21:22 +0200, Stefan Tatschner wrote: > This patch fixes four "Unescaped left brace in regex is > deprecated" (perl 5.22) warnings by escaping left braces > properly. > > Signed-off-by: Stefan Tatschner Are there any updates on this patch? It seems it got lost in the noise. I

Re: [PATCH v6 3/6] pci:host: Add Altera PCIe host controller driver

2015-09-04 Thread Ley Foon Tan
On Wed, Sep 2, 2015 at 12:33 AM, Lorenzo Pieralisi wrote: > > On Tue, Sep 01, 2015 at 11:30:05AM +0100, Ley Foon Tan wrote: > > [...] > > > +static void altera_pcie_retrain(struct pci_dev *dev) > > +{ > > + u16 linkcap, linkstat; > > + > > + /* > > +* Set the retrain bit if the

Re: [4.2, Regression] Queued spinlocks cause major XFS performance regression

2015-09-04 Thread Dave Chinner
On Fri, Sep 04, 2015 at 05:11:43PM +1000, Dave Chinner wrote: > On Thu, Sep 03, 2015 at 11:39:21PM -0700, Linus Torvalds wrote: > > There doesn't seem to be anything even remotely strange going on in that > > area. > > > > Is this a PARAVIRT configuration? There were issues with PV > > interactio

[PATCH 5/5] ARM: dts: AM4372: add entry for qspi mmap region

2015-09-04 Thread Vignesh R
Add qspi memory mapped region entries for AM43xx based SoCs. Also, update the binding documents for the controller to document this change. Signed-off-by: Vignesh R --- Documentation/devicetree/bindings/spi/ti_qspi.txt | 5 +++-- arch/arm/boot/dts/am4372.dtsi | 4 +++- 2 file

[PATCH 4/5] ARM: dts: DRA7: add entry for qspi mmap region

2015-09-04 Thread Vignesh R
Add qspi memory mapped region entries for DRA7xx based SoCs. Also, update the binding documents for the controller to document this change. Signed-off-by: Vignesh R --- Documentation/devicetree/bindings/spi/ti_qspi.txt | 13 + arch/arm/boot/dts/dra7.dtsi | 6 ++

Re: [PATCH v2 5/7] staging: board: Add support for devices with complex dependencies

2015-09-04 Thread Ulf Hansson
On 3 September 2015 at 15:35, Geert Uytterhoeven wrote: > Hi Ulf, > > On Thu, Sep 3, 2015 at 2:53 PM, Ulf Hansson wrote: >> On 17 June 2015 at 10:38, Geert Uytterhoeven wrote: >>> Add support for easy registering of one ore more platform devices that >>> may: >>> - need clocks that are describ

[PATCH 1/5] spi: introduce mmap read support for spi flash devices

2015-09-04 Thread Vignesh R
In addition to providing direct access to SPI bus, some spi controller hardwares (like ti-qspi) provide special memory mapped port to accesses SPI flash devices in order to increase read performance. This means the controller can automatically send the SPI signals required to read data from the SPI

[PATCH 3/5] mtd: devices: m25p80: add support for mmap read request

2015-09-04 Thread Vignesh R
Certain spi controllers may support memory mapped interface to read from m25p80 type flash devices. This interface provides better read performance than regular SPI interface. Call spi_mtd_mmap_read() function, if available, to make use of memory-mapped interface. Signed-off-by: Vignesh R --- dr

[PATCH 2/5] spi: spi-ti-qspi: add mmap mode read support

2015-09-04 Thread Vignesh R
ti-qspi controller provides mmap port to read data from SPI flashes. mmap port is enabled in QSPI_SPI_SWITCH_REG (ctrl module bits may also need to be updated for some SoCs). The QSPI_SPI_SETUP_REGx needs to be populated with flash specific information like read opcode, read mode(quad, dual, normal

Re: [PATCH v7 1/5] lightnvm: Support for Open-Channel SSDs

2015-09-04 Thread Dongsheng Yang
On 09/04/2015 04:05 PM, Matias Bjørling wrote: So here is a suggestion, register_bm again if we found nvm_dev->bm == NULL in create_target(). And if it is still NULL after that. return an error "nvm: no compatible bm was found" and stop target creating. Otherwise, there would be a NULL Pointer r

[PATCH 0/5] Add memory mapped read support for ti-qspi

2015-09-04 Thread Vignesh R
Hi, This patch series adds support for memory mapped read port of ti-qspi. ti-qspi has a special memory mapped port through which SPI flash memories can be accessed directly via SoC specific memory region. First patch adds a method to pass flash specific information like read opcode, dummy bytes

Re: [RFC PATCH 3/3] clocksource: mtk_timer: fix memleak in mtk_timer_init()

2015-09-04 Thread Matthias Brugger
On 04/09/15 05:21, Alexey Klimov wrote: Add error path to clear evt struct allocated by kzalloc() in the beginning of function mtk_timer_init(). Signed-off-by: Alexey Klimov --- drivers/clocksource/mtk_timer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/c

Re: [PATCH 2/9] perf, tools, stat: Abstract stat metrics printing

2015-09-04 Thread Jiri Olsa
On Wed, Sep 02, 2015 at 04:35:47PM -0700, Andi Kleen wrote: SNIP > > @@ -752,15 +796,7 @@ static void print_counter(struct perf_evsel *counter, > char *prefix) > } > > uval = val * counter->scale; > - > - if (nsec_counter(counter)) > -

Re: [PATCH v7 1/5] lightnvm: Support for Open-Channel SSDs

2015-09-04 Thread Matias Bjørling
On 09/04/2015 10:27 AM, Dongsheng Yang wrote: On 09/04/2015 04:05 PM, Matias Bjørling wrote: So here is a suggestion, register_bm again if we found nvm_dev->bm == NULL in create_target(). And if it is still NULL after that. return an error "nvm: no compatible bm was found" and stop target creat

Re: [PATCH 8/9] perf, tools, stat: Remove extra unsupported/not counted handling

2015-09-04 Thread Jiri Olsa
On Wed, Sep 02, 2015 at 04:35:53PM -0700, Andi Kleen wrote: > From: Andi Kleen > > printout now handles unsupported/not counted printing, so we can > remove one extra instance in the aggregated printing. > > Signed-off-by: Andi Kleen > --- > tools/perf/builtin-stat.c | 22 ++---

Re: [PATCH 8/9] perf, tools, stat: Remove extra unsupported/not counted handling

2015-09-04 Thread Jiri Olsa
On Wed, Sep 02, 2015 at 04:35:53PM -0700, Andi Kleen wrote: > From: Andi Kleen > > printout now handles unsupported/not counted printing, so we can > remove one extra instance in the aggregated printing. > > Signed-off-by: Andi Kleen > --- > tools/perf/builtin-stat.c | 22 ++---

Re: [RFC PATCH 2/3] clocksource: mtk_timer: change pr_warn()s to pr_err()s in mtk_timer_init

2015-09-04 Thread Matthias Brugger
On 04/09/15 05:21, Alexey Klimov wrote: These messages are actually errors and not warnings. Use pr_err() macro for them and add missing \n. Signed-off-by: Alexey Klimov Acked-by: Matthias Brugger --- drivers/clocksource/mtk_timer.c | 12 ++-- 1 file changed, 6 insertions(+),

Re: [RFC PATCH 1/3] clocksource: mtk_timer: add pr_fmt define

2015-09-04 Thread Matthias Brugger
On 04/09/15 05:21, Alexey Klimov wrote: It's a bit uncler what subsystem/driver emits some messages to dmesg in function mtk_init_timer(). Use pr_fmt to auto-prefix the messages appropriately. Signed-off-by: Alexey Klimov Acked-by: Matthias Brugger --- drivers/clocksource/mtk_timer.c |

Re: [PATCH] x86/headers: Fix (old) header file dependency bug in uapi/asm/sigcontext32.h

2015-09-04 Thread Ingo Molnar
* Mikko Rapeli wrote: > On Thu, Sep 03, 2015 at 09:42:32AM +0200, Ingo Molnar wrote: > > > > * Mikko Rapeli wrote: > > > > > Hi Ingo, Thomas and Peter, > > > > > > Do you have any pointers for me how > > > arch/x86/include/uapi/asm/sigcontext32.h > > > could be fixed to also compile in user

Re: [PATCH] clk_register_clkdev: remove format string interface

2015-09-04 Thread Russell King - ARM Linux
On Thu, Sep 03, 2015 at 01:54:07PM -0700, Kees Cook wrote: > Many callers either use NULL or const strings for the third argument of > clk_register_clkdev. For those that do not and use a non-const string, > this is a risk for format strings being accidentally processed (for > example in device nam

Re: [PATCH 2/9] perf, tools, stat: Abstract stat metrics printing

2015-09-04 Thread Jiri Olsa
On Wed, Sep 02, 2015 at 04:35:47PM -0700, Andi Kleen wrote: SNIP > diff --git a/tools/perf/util/stat.h b/tools/perf/util/stat.h > index 62448c8..bb07e46 100644 > --- a/tools/perf/util/stat.h > +++ b/tools/perf/util/stat.h > @@ -67,11 +67,21 @@ void perf_stat_evsel_id_init(struct perf_evsel *evsel

Re: [GIT PULL 0/2] perf/urgent fixes

2015-09-04 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit 5b923564ccf43f92969c9e0fd199c8c5db657039: > > Merge tag 'perf-urgent-for-mingo' of > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urge

thermal: mediatek: Add cpu power cooling model

2015-09-04 Thread Dawei Chien
Use Intelligent Power Allocation (IPA) technical to add static/dynamic power model for binding CPU thermal zone. The power allocator governor allocates power budget to control CPU temperature. Dawei.Chien (2): thermal: mediatek: Add cpu power cooling model. arm64: dts: mt8173: Add thermal zone

[PATCH 2/2] arm64: dts: mt8173: Add thermal zone node for mt8173.

2015-09-04 Thread Dawei Chien
Add thermal zone node to mt8173.dtsi. Signed-off-by: Dawei Chien --- This patch is base on following patches https://patchwork.kernel.org/patch/6969581/ https://patchwork.kernel.org/patch/6969571/ https://patchwork.kernel.org/patch/6969381/ --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 44 +++

[PATCH] kdbus: raise hard-coded limit of matches

2015-09-04 Thread David Herrmann
The current MATCH limit is far too low. We allow more bus-connections per user than peers to install matches. Raise the limit to a reasonable default of 4096. The current limit is exactly enough to run Gnome, but can be easily exceeded by starting some additional service providers. With the raised

[PATCH 1/2] thermal: mediatek: Add cpu power cooling model

2015-09-04 Thread Dawei Chien
Use Intelligent Power Allocation (IPA) technical to add static/dynamic power model for binding CPU thermal zone. The power allocator governor allocates power budget to control CPU temperature. Signed-off-by: Dawei Chien --- This patch is base on https://patchwork.kernel.org/patch/7034601/ --- dr

Re: [PATCH v4 1/9] usb: dwc3: add dual-role support

2015-09-04 Thread Roger Quadros
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Felipe, On 03/09/15 18:44, Felipe Balbi wrote: > Hi, > > On Thu, Sep 03, 2015 at 03:21:48PM +0300, Roger Quadros wrote: + dwc->fsm->id = id; + dwc->fsm->b_sess_vld = vbus; + usb_otg_sync_inputs(dwc->fsm); +} + +stat

RE: [GIT] Networking

2015-09-04 Thread David Laight
> I find them useful as syntactic sugar. We have not used them a lot, but there > are cases in our crypto > handling code where we have fixed size array inputs/outputs and there we > opted to use them. They make > it easy to remember what the expected sizes of input and output are without > havi

Re: [PATCH 4/6] sched/fair: Name utilization related data and functions consistently

2015-09-04 Thread Vincent Guittot
On 14 August 2015 at 18:23, Morten Rasmussen wrote: > From: Dietmar Eggemann > > Use the advent of the per-entity load tracking rewrite to streamline the > naming of utilization related data and functions by using > {prefix_}util{_suffix} consistently. Moreover call both signals > ({se,cfs}.avg.u

Re: [PATCH v4 4/9] usb: dwc3: core: Adapt to named interrupts

2015-09-04 Thread Roger Quadros
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, On 03/09/15 18:48, Felipe Balbi wrote: > Hi, > > On Thu, Sep 03, 2015 at 03:46:43PM +0300, Roger Quadros wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> On 02/09/15 17:34, Felipe Balbi wrote: >>> On Wed, Sep 02, 2015 at 05:24

Re: [PATCH v4 5/9] usb: dwc3: core: make dual-role work with OTG irq

2015-09-04 Thread Roger Quadros
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 03/09/15 18:51, Felipe Balbi wrote: > Hi, > > On Thu, Sep 03, 2015 at 04:52:02PM +0300, Roger Quadros wrote: if (on) { - dwc3_set_mode(dwc, DWC3_GCTL_PRTCAP_HOST); + /* OCTL.PeriMode = 0 */ + reg

[PATCH V1] audit: try harder to send to auditd upon netlink failure

2015-09-04 Thread Richard Guy Briggs
There are several reports of the kernel losing contact with auditd when it is, in fact, still running. When this happens, kernel syslogs show: "audit: *NO* daemon at audit_pid=" although auditd is still running, and is apparently happy, listening on the netlink socket. The pid in the "*NO*

deps: update in regard to parallel initialization of static linked drivers

2015-09-04 Thread Alexander Holler
Am 26.08.2015 um 14:28 schrieb Alexander Holler: Hello, (...) Some numbers (5 boots on each board, without and with ordering drivers), all times are seconds. (...) imx6q (armv7): unordered: 3.451998 3.418864 3.446952 3.429974 3.440996 (3.4377568) ordered: 3.538312 3.549019 3.538105 3.515

  1   2   3   4   5   6   7   8   >